From 5e7f3593d3050af9cc795c10c3288753482d55a5 Mon Sep 17 00:00:00 2001 From: elixirel Date: Tue, 29 Dec 2009 21:03:56 +0900 Subject: [PATCH] WYSIWYG editor change to YUI rich text editor. --- erbtemp/editentry.html.erb | 162 +- erbtemp/newentry.html.erb | 166 +- jquery/GPL-LICENSE.txt | 278 - jquery/MIT-LICENSE.txt | 20 - jquery/README | 67 - jquery/jquery.js | 11 - jquery/jquery.ui.draggable.js | 1 - jquery/jquery.ui.js | 1 - jquery/jquery.ui.resizable.js | 1 - jquery/jquery.ui.sortable.js | 1 - lbl-blockquote.png | Bin 196 -> 0 bytes lbl-h1.png | Bin 166 -> 0 bytes lbl-h2.png | Bin 172 -> 0 bytes lbl-h3.png | Bin 170 -> 0 bytes lbl-h4.png | Bin 172 -> 0 bytes lbl-h5.png | Bin 172 -> 0 bytes lbl-h6.png | Bin 171 -> 0 bytes lbl-p.png | Bin 3607 -> 0 bytes lbl-pre.png | Bin 177 -> 0 bytes main_wymiframe.html | 26 - openwysiwyg/addons/imagelibrary/changelog | 10 - openwysiwyg/addons/imagelibrary/config.inc.php | 76 - openwysiwyg/addons/imagelibrary/images/dirup.png | Bin 644 -> 0 bytes openwysiwyg/addons/imagelibrary/images/folder.png | Bin 410 -> 0 bytes openwysiwyg/addons/imagelibrary/images/gif.gif | Bin 596 -> 0 bytes openwysiwyg/addons/imagelibrary/images/jpg.gif | Bin 597 -> 0 bytes openwysiwyg/addons/imagelibrary/images/psd.gif | Bin 386 -> 0 bytes openwysiwyg/addons/imagelibrary/images/unknown.png | Bin 266 -> 0 bytes openwysiwyg/addons/imagelibrary/insert_image.php | 301 - openwysiwyg/addons/imagelibrary/select_image.php | 201 - openwysiwyg/changelog | 152 - openwysiwyg/docs/addons.html | 178 - openwysiwyg/docs/doc.html | 536 -- openwysiwyg/docs/images/logo.gif | Bin 2327 -> 0 bytes openwysiwyg/docs/style.css | 112 - openwysiwyg/example.html | 141 - openwysiwyg/images/backcolor.gif | Bin 138 -> 0 bytes openwysiwyg/images/backcolor_on.gif | Bin 185 -> 0 bytes openwysiwyg/images/background_silver.jpg | Bin 299 -> 0 bytes openwysiwyg/images/bold.gif | Bin 76 -> 0 bytes openwysiwyg/images/bold_on.gif | Bin 76 -> 0 bytes openwysiwyg/images/copy.gif | Bin 364 -> 0 bytes openwysiwyg/images/copy_on.gif | Bin 381 -> 0 bytes openwysiwyg/images/cut.gif | Bin 244 -> 0 bytes openwysiwyg/images/cut_on.gif | Bin 353 -> 0 bytes openwysiwyg/images/delete.gif | Bin 236 -> 0 bytes openwysiwyg/images/delete_on.gif | Bin 243 -> 0 bytes openwysiwyg/images/forecolor.gif | Bin 114 -> 0 bytes openwysiwyg/images/forecolor_on.gif | Bin 174 -> 0 bytes openwysiwyg/images/help.gif | Bin 683 -> 0 bytes openwysiwyg/images/help_on.gif | Bin 1090 -> 0 bytes openwysiwyg/images/indent_left.gif | Bin 90 -> 0 bytes openwysiwyg/images/indent_left_on.gif | Bin 90 -> 0 bytes openwysiwyg/images/indent_right.gif | Bin 90 -> 0 bytes openwysiwyg/images/indent_right_on.gif | Bin 90 -> 0 bytes openwysiwyg/images/insert_hyperlink.gif | Bin 304 -> 0 bytes openwysiwyg/images/insert_hyperlink_on.gif | Bin 309 -> 0 bytes openwysiwyg/images/insert_picture.gif | Bin 622 -> 0 bytes openwysiwyg/images/insert_picture_on.gif | Bin 625 -> 0 bytes openwysiwyg/images/insert_table.gif | Bin 626 -> 0 bytes openwysiwyg/images/insert_table_on.gif | Bin 1042 -> 0 bytes openwysiwyg/images/italics.gif | Bin 79 -> 0 bytes openwysiwyg/images/italics_on.gif | Bin 79 -> 0 bytes openwysiwyg/images/justify_center.gif | Bin 79 -> 0 bytes openwysiwyg/images/justify_center_on.gif | Bin 70 -> 0 bytes openwysiwyg/images/justify_justify.gif | Bin 80 -> 0 bytes openwysiwyg/images/justify_justify_on.gif | Bin 71 -> 0 bytes openwysiwyg/images/justify_left.gif | Bin 80 -> 0 bytes openwysiwyg/images/justify_left_on.gif | Bin 71 -> 0 bytes openwysiwyg/images/justify_right.gif | Bin 79 -> 0 bytes openwysiwyg/images/justify_right_on.gif | Bin 70 -> 0 bytes openwysiwyg/images/list_ordered.gif | Bin 84 -> 0 bytes openwysiwyg/images/list_ordered_on.gif | Bin 84 -> 0 bytes openwysiwyg/images/list_unordered.gif | Bin 83 -> 0 bytes openwysiwyg/images/list_unordered_on.gif | Bin 83 -> 0 bytes openwysiwyg/images/logo.gif | Bin 1459 -> 0 bytes openwysiwyg/images/maximize.gif | Bin 118 -> 0 bytes openwysiwyg/images/maximize_on.gif | Bin 118 -> 0 bytes openwysiwyg/images/paste.gif | Bin 289 -> 0 bytes openwysiwyg/images/paste_on.gif | Bin 618 -> 0 bytes openwysiwyg/images/preview.gif | Bin 372 -> 0 bytes openwysiwyg/images/preview_on.gif | Bin 587 -> 0 bytes openwysiwyg/images/print.gif | Bin 393 -> 0 bytes openwysiwyg/images/print_on.gif | Bin 612 -> 0 bytes openwysiwyg/images/redo.gif | Bin 336 -> 0 bytes openwysiwyg/images/redo_on.gif | Bin 339 -> 0 bytes openwysiwyg/images/remove_format.gif | Bin 292 -> 0 bytes openwysiwyg/images/remove_format_on.gif | Bin 604 -> 0 bytes openwysiwyg/images/return.gif | Bin 372 -> 0 bytes openwysiwyg/images/return_on.gif | Bin 581 -> 0 bytes openwysiwyg/images/save.gif | Bin 403 -> 0 bytes openwysiwyg/images/save_on.gif | Bin 403 -> 0 bytes openwysiwyg/images/select_font.gif | Bin 419 -> 0 bytes openwysiwyg/images/select_font_on.gif | Bin 424 -> 0 bytes openwysiwyg/images/select_heading.gif | Bin 313 -> 0 bytes openwysiwyg/images/select_heading_on.gif | Bin 317 -> 0 bytes openwysiwyg/images/select_size.gif | Bin 344 -> 0 bytes openwysiwyg/images/select_size_on.gif | Bin 350 -> 0 bytes openwysiwyg/images/seperator.gif | Bin 57 -> 0 bytes openwysiwyg/images/seperator2.gif | Bin 60 -> 0 bytes openwysiwyg/images/settings.gif | Bin 169 -> 0 bytes openwysiwyg/images/strikethrough.gif | Bin 91 -> 0 bytes openwysiwyg/images/strikethrough_on.gif | Bin 80 -> 0 bytes openwysiwyg/images/subscript.gif | Bin 79 -> 0 bytes openwysiwyg/images/subscript_on.gif | Bin 79 -> 0 bytes openwysiwyg/images/superscript.gif | Bin 79 -> 0 bytes openwysiwyg/images/superscript_on.gif | Bin 79 -> 0 bytes openwysiwyg/images/underline.gif | Bin 87 -> 0 bytes openwysiwyg/images/underline_on.gif | Bin 87 -> 0 bytes openwysiwyg/images/undo.gif | Bin 333 -> 0 bytes openwysiwyg/images/undo_on.gif | Bin 334 -> 0 bytes openwysiwyg/images/view_source.gif | Bin 79 -> 0 bytes openwysiwyg/images/view_source_on.gif | Bin 79 -> 0 bytes openwysiwyg/images/view_text.gif | Bin 78 -> 0 bytes openwysiwyg/images/view_text_on.gif | Bin 78 -> 0 bytes openwysiwyg/popups/about.html | 100 - openwysiwyg/popups/about_license.html | 75 - openwysiwyg/popups/create_table.html | 262 - openwysiwyg/popups/insert_hyperlink.html | 173 - openwysiwyg/popups/insert_image.html | 185 - openwysiwyg/popups/license.html | 166 - openwysiwyg/popups/preview.html | 28 - openwysiwyg/popups/select_color.html | 335 - openwysiwyg/scripts/wysiwyg-color.js | 137 - openwysiwyg/scripts/wysiwyg-popup.js | 38 - openwysiwyg/scripts/wysiwyg-settings.js | 36 - openwysiwyg/scripts/wysiwyg.js | 2892 ------ openwysiwyg/styles/wysiwyg.css | 53 - openwysiwyg/uploads/hagbard.jpg | Bin 4411 -> 0 bytes wymeditor/iframe/default/lbl-blockquote.png | Bin 196 -> 0 bytes wymeditor/iframe/default/lbl-h1.png | Bin 166 -> 0 bytes wymeditor/iframe/default/lbl-h2.png | Bin 172 -> 0 bytes wymeditor/iframe/default/lbl-h3.png | Bin 170 -> 0 bytes wymeditor/iframe/default/lbl-h4.png | Bin 172 -> 0 bytes wymeditor/iframe/default/lbl-h5.png | Bin 172 -> 0 bytes wymeditor/iframe/default/lbl-h6.png | Bin 171 -> 0 bytes wymeditor/iframe/default/lbl-p.png | Bin 3607 -> 0 bytes wymeditor/iframe/default/lbl-pre.png | Bin 177 -> 0 bytes wymeditor/iframe/default/wymiframe.css | 90 - wymeditor/iframe/default/wymiframe.html | 26 - wymeditor/jquery.wymeditor.back.js | 4707 ---------- wymeditor/jquery.wymeditor.js | 4735 ---------- wymeditor/jquery.wymeditor.min.js | 1 - wymeditor/jquery.wymeditor.pack.js | 1 - wymeditor/lang/bg.js | 45 - wymeditor/lang/ca.js | 45 - wymeditor/lang/cs.js | 45 - wymeditor/lang/de.js | 45 - wymeditor/lang/en.js | 45 - wymeditor/lang/es.js | 45 - wymeditor/lang/fa.js | 46 - wymeditor/lang/fi.js | 44 - wymeditor/lang/fr.js | 45 - wymeditor/lang/he.js | 45 - wymeditor/lang/hr.js | 45 - wymeditor/lang/hu.js | 45 - wymeditor/lang/it.js | 45 - wymeditor/lang/nb.js | 45 - wymeditor/lang/nl.js | 45 - wymeditor/lang/nn.js | 45 - wymeditor/lang/pl.js | 45 - wymeditor/lang/pt-br.js | 45 - wymeditor/lang/pt.js | 45 - wymeditor/lang/ru.js | 45 - wymeditor/lang/sv.js | 45 - wymeditor/lang/tr.js | 45 - wymeditor/lang/zh_cn.js | 47 - wymeditor/plugins/embed/jquery.wymeditor.embed.js | 52 - wymeditor/plugins/fullscreen/icon_fullscreen.gif | Bin 509 -> 0 bytes .../fullscreen/jquery.wymeditor.fullscreen.js | 48 - .../hovertools/jquery.wymeditor.hovertools.js | 57 - .../resizable/jquery.wymeditor.resizable.js | 91 - wymeditor/plugins/resizable/readme.txt | 124 - wymeditor/plugins/tidy/README | 19 - wymeditor/plugins/tidy/jquery.wymeditor.tidy.js | 82 - wymeditor/plugins/tidy/tidy.php | 36 - wymeditor/plugins/tidy/wand.png | Bin 715 -> 0 bytes wymeditor/skins/compact/icons.png | Bin 3651 -> 0 bytes wymeditor/skins/compact/skin.css | 134 - wymeditor/skins/compact/skin.js | 35 - wymeditor/skins/default/icons.png | Bin 3651 -> 0 bytes wymeditor/skins/default/skin.css | 133 - wymeditor/skins/default/skin.js | 40 - wymeditor/skins/minimal/images/bg.header.gif | Bin 781 -> 0 bytes .../skins/minimal/images/bg.selector.silver.gif | Bin 1621 -> 0 bytes wymeditor/skins/minimal/images/bg.wymeditor.png | Bin 498 -> 0 bytes wymeditor/skins/minimal/images/icons.silver.gif | Bin 15382 -> 0 bytes wymeditor/skins/minimal/skin.css | 131 - wymeditor/skins/minimal/skin.js | 30 - wymeditor/skins/silver/COPYING | 674 -- wymeditor/skins/silver/README | 27 - wymeditor/skins/silver/images/bg.header.gif | Bin 781 -> 0 bytes .../skins/silver/images/bg.selector.silver.gif | Bin 1621 -> 0 bytes wymeditor/skins/silver/images/bg.wymeditor.png | Bin 498 -> 0 bytes wymeditor/skins/silver/images/icons.silver.gif | Bin 15382 -> 0 bytes wymeditor/skins/silver/skin.css | 297 - wymeditor/skins/silver/skin.js | 61 - wymeditor/skins/twopanels/icons.png | Bin 3651 -> 0 bytes wymeditor/skins/twopanels/skin.css | 134 - wymeditor/skins/twopanels/skin.js | 39 - wymeditor/skins/wymeditor_icon.png | Bin 1028 -> 0 bytes wymiframe.css | 90 - yui/assets/YUIexamples.js | 32 + yui/assets/bg_hd.gif | Bin 0 -> 96 bytes yui/assets/dpSyntaxHighlighter.css | 190 + yui/assets/dpSyntaxHighlighter.js | 805 ++ yui/assets/example-hd-bg.gif | Bin 0 -> 1487 bytes yui/assets/html_editor.gif | Bin 0 -> 610 bytes yui/assets/yui-candy.jpg | Bin 0 -> 11389 bytes yui/assets/yui.css | 311 + yui/assets/yui.gif | Bin 0 -> 5901 bytes yui/assets/yuiDistribution.css | 0 yui/assets/yuilib.jpg | Bin 0 -> 9186 bytes yui/build/animation/animation-debug.js | 1396 +++ yui/build/animation/animation-min.js | 23 + yui/build/animation/animation.js | 1392 +++ yui/build/assets/skins/sam/ajax-loader.gif | Bin 0 -> 3208 bytes yui/build/assets/skins/sam/asc.gif | Bin 0 -> 177 bytes yui/build/assets/skins/sam/autocomplete.css | 7 + yui/build/assets/skins/sam/back-h.png | Bin 0 -> 334 bytes yui/build/assets/skins/sam/back-v.png | Bin 0 -> 338 bytes yui/build/assets/skins/sam/bar-h.png | Bin 0 -> 365 bytes yui/build/assets/skins/sam/bar-v.png | Bin 0 -> 387 bytes yui/build/assets/skins/sam/bg-h.gif | Bin 0 -> 212 bytes yui/build/assets/skins/sam/bg-v.gif | Bin 0 -> 481 bytes yui/build/assets/skins/sam/blankimage.png | Bin 0 -> 2314 bytes yui/build/assets/skins/sam/button.css | 7 + yui/build/assets/skins/sam/calendar.css | 8 + yui/build/assets/skins/sam/carousel.css | 7 + yui/build/assets/skins/sam/check0.gif | Bin 0 -> 608 bytes yui/build/assets/skins/sam/check1.gif | Bin 0 -> 622 bytes yui/build/assets/skins/sam/check2.gif | Bin 0 -> 609 bytes yui/build/assets/skins/sam/colorpicker.css | 7 + yui/build/assets/skins/sam/container.css | 7 + yui/build/assets/skins/sam/datatable.css | 8 + yui/build/assets/skins/sam/desc.gif | Bin 0 -> 177 bytes yui/build/assets/skins/sam/dt-arrow-dn.png | Bin 0 -> 116 bytes yui/build/assets/skins/sam/dt-arrow-up.png | Bin 0 -> 116 bytes yui/build/assets/skins/sam/editor-knob.gif | Bin 0 -> 138 bytes .../assets/skins/sam/editor-sprite-active.gif | Bin 0 -> 5614 bytes yui/build/assets/skins/sam/editor-sprite.gif | Bin 0 -> 5690 bytes yui/build/assets/skins/sam/editor.css | 10 + yui/build/assets/skins/sam/header_background.png | Bin 0 -> 158 bytes yui/build/assets/skins/sam/hue_bg.png | Bin 0 -> 1120 bytes yui/build/assets/skins/sam/imagecropper.css | 7 + yui/build/assets/skins/sam/layout.css | 7 + yui/build/assets/skins/sam/layout_sprite.png | Bin 0 -> 1409 bytes yui/build/assets/skins/sam/loading.gif | Bin 0 -> 2673 bytes yui/build/assets/skins/sam/logger.css | 7 + .../skins/sam/menu-button-arrow-disabled.png | Bin 0 -> 173 bytes yui/build/assets/skins/sam/menu-button-arrow.png | Bin 0 -> 173 bytes yui/build/assets/skins/sam/menu.css | 7 + .../skins/sam/menubaritem_submenuindicator.png | Bin 0 -> 3618 bytes .../sam/menubaritem_submenuindicator_disabled.png | Bin 0 -> 3618 bytes yui/build/assets/skins/sam/menuitem_checkbox.png | Bin 0 -> 3625 bytes .../skins/sam/menuitem_checkbox_disabled.png | Bin 0 -> 3625 bytes .../assets/skins/sam/menuitem_submenuindicator.png | Bin 0 -> 3617 bytes .../sam/menuitem_submenuindicator_disabled.png | Bin 0 -> 3617 bytes yui/build/assets/skins/sam/paginator.css | 7 + yui/build/assets/skins/sam/picker_mask.png | Bin 0 -> 12174 bytes yui/build/assets/skins/sam/profilerviewer.css | 7 + yui/build/assets/skins/sam/progressbar.css | 7 + yui/build/assets/skins/sam/resize.css | 7 + yui/build/assets/skins/sam/simpleeditor.css | 10 + yui/build/assets/skins/sam/skin.css | 36 + yui/build/assets/skins/sam/slider.css | 7 + .../assets/skins/sam/split-button-arrow-active.png | Bin 0 -> 280 bytes .../skins/sam/split-button-arrow-disabled.png | Bin 0 -> 185 bytes .../assets/skins/sam/split-button-arrow-focus.png | Bin 0 -> 185 bytes .../assets/skins/sam/split-button-arrow-hover.png | Bin 0 -> 185 bytes yui/build/assets/skins/sam/split-button-arrow.png | Bin 0 -> 185 bytes yui/build/assets/skins/sam/sprite.png | Bin 0 -> 3745 bytes yui/build/assets/skins/sam/sprite.psd | Bin 0 -> 118162 bytes yui/build/assets/skins/sam/tabview.css | 8 + yui/build/assets/skins/sam/treeview-loading.gif | Bin 0 -> 2673 bytes yui/build/assets/skins/sam/treeview-sprite.gif | Bin 0 -> 4326 bytes yui/build/assets/skins/sam/treeview.css | 7 + yui/build/assets/skins/sam/wait.gif | Bin 0 -> 1100 bytes yui/build/assets/skins/sam/yuitest.css | 7 + yui/build/button/assets/button-core.css | 44 + yui/build/button/assets/skins/sam/button-skin.css | 219 + yui/build/button/assets/skins/sam/button.css | 7 + .../skins/sam/menu-button-arrow-disabled.png | Bin 0 -> 173 bytes .../button/assets/skins/sam/menu-button-arrow.png | Bin 0 -> 173 bytes .../assets/skins/sam/split-button-arrow-active.png | Bin 0 -> 280 bytes .../skins/sam/split-button-arrow-disabled.png | Bin 0 -> 185 bytes .../assets/skins/sam/split-button-arrow-focus.png | Bin 0 -> 185 bytes .../assets/skins/sam/split-button-arrow-hover.png | Bin 0 -> 185 bytes .../button/assets/skins/sam/split-button-arrow.png | Bin 0 -> 185 bytes yui/build/button/button-debug.js | 4694 ++++++++++ yui/build/button/button-min.js | 11 + yui/build/button/button.js | 4633 +++++++++ yui/build/container/assets/alrt16_1.gif | Bin 0 -> 971 bytes yui/build/container/assets/blck16_1.gif | Bin 0 -> 591 bytes yui/build/container/assets/close12_1.gif | Bin 0 -> 85 bytes yui/build/container/assets/container-core.css | 176 + yui/build/container/assets/container.css | 324 + yui/build/container/assets/hlp16_1.gif | Bin 0 -> 928 bytes yui/build/container/assets/info16_1.gif | Bin 0 -> 601 bytes .../container/assets/skins/sam/container-skin.css | 242 + yui/build/container/assets/skins/sam/container.css | 7 + yui/build/container/assets/tip16_1.gif | Bin 0 -> 552 bytes yui/build/container/assets/warn16_1.gif | Bin 0 -> 580 bytes yui/build/container/container-debug.js | 9076 ++++++++++++++++++ yui/build/container/container-min.js | 19 + yui/build/container/container.js | 9052 ++++++++++++++++++ yui/build/container/container_core-debug.js | 5136 ++++++++++ yui/build/container/container_core-min.js | 14 + yui/build/container/container_core.js | 5126 ++++++++++ yui/build/editor/assets/editor-core.css | 602 ++ yui/build/editor/assets/simpleeditor-core.css | 602 ++ yui/build/editor/assets/skins/sam/blankimage.png | Bin 0 -> 2314 bytes yui/build/editor/assets/skins/sam/editor-knob.gif | Bin 0 -> 138 bytes yui/build/editor/assets/skins/sam/editor-skin.css | 711 ++ .../assets/skins/sam/editor-sprite-active.gif | Bin 0 -> 5614 bytes .../editor/assets/skins/sam/editor-sprite.gif | Bin 0 -> 5690 bytes yui/build/editor/assets/skins/sam/editor.css | 10 + .../editor/assets/skins/sam/simpleeditor-skin.css | 711 ++ yui/build/editor/assets/skins/sam/simpleeditor.css | 10 + yui/build/editor/editor-debug.js | 9557 +++++++++++++++++++ yui/build/editor/editor-min.js | 30 + yui/build/editor/editor.js | 9447 +++++++++++++++++++ yui/build/editor/simpleeditor-debug.js | 7493 +++++++++++++++ yui/build/editor/simpleeditor-min.js | 24 + yui/build/editor/simpleeditor.js | 7406 +++++++++++++++ yui/build/element/element-debug.js | 1106 +++ yui/build/element/element-min.js | 8 + yui/build/element/element.js | 1090 +++ yui/build/fonts/fonts-min.css | 7 + yui/build/fonts/fonts.css | 56 + yui/build/menu/assets/menu-core.css | 242 + yui/build/menu/assets/menu.css | 503 + yui/build/menu/assets/menu_down_arrow.png | Bin 0 -> 3624 bytes yui/build/menu/assets/menu_down_arrow_disabled.png | Bin 0 -> 3621 bytes yui/build/menu/assets/menu_up_arrow.png | Bin 0 -> 936 bytes yui/build/menu/assets/menu_up_arrow_disabled.png | Bin 0 -> 936 bytes .../menu/assets/menubaritem_submenuindicator.png | Bin 0 -> 3623 bytes .../menubaritem_submenuindicator_disabled.png | Bin 0 -> 3623 bytes .../menubaritem_submenuindicator_selected.png | Bin 0 -> 3623 bytes yui/build/menu/assets/menuitem_checkbox.png | Bin 0 -> 956 bytes .../menu/assets/menuitem_checkbox_disabled.png | Bin 0 -> 956 bytes .../menu/assets/menuitem_checkbox_selected.png | Bin 0 -> 956 bytes .../menu/assets/menuitem_submenuindicator.png | Bin 0 -> 942 bytes .../assets/menuitem_submenuindicator_disabled.png | Bin 0 -> 942 bytes .../assets/menuitem_submenuindicator_selected.png | Bin 0 -> 942 bytes yui/build/menu/assets/skins/sam/menu-skin.css | 339 + yui/build/menu/assets/skins/sam/menu.css | 7 + .../skins/sam/menubaritem_submenuindicator.png | Bin 0 -> 3618 bytes .../sam/menubaritem_submenuindicator_disabled.png | Bin 0 -> 3618 bytes .../menu/assets/skins/sam/menuitem_checkbox.png | Bin 0 -> 3625 bytes .../skins/sam/menuitem_checkbox_disabled.png | Bin 0 -> 3625 bytes .../assets/skins/sam/menuitem_submenuindicator.png | Bin 0 -> 3617 bytes .../sam/menuitem_submenuindicator_disabled.png | Bin 0 -> 3617 bytes yui/build/menu/menu-debug.js | 9870 ++++++++++++++++++++ yui/build/menu/menu-min.js | 16 + yui/build/menu/menu.js | 9823 +++++++++++++++++++ yui/build/yahoo-dom-event/yahoo-dom-event.js | 14 + yui/build/yahoo/yahoo-debug.js | 1075 +++ yui/build/yahoo/yahoo-min.js | 7 + yui/build/yahoo/yahoo.js | 1075 +++ yui/index.html | 177 + 361 files changed, 105413 insertions(+), 19578 deletions(-) delete mode 100644 jquery/GPL-LICENSE.txt delete mode 100644 jquery/MIT-LICENSE.txt delete mode 100644 jquery/README delete mode 100644 jquery/jquery.js delete mode 100644 jquery/jquery.ui.draggable.js delete mode 100644 jquery/jquery.ui.js delete mode 100644 jquery/jquery.ui.resizable.js delete mode 100644 jquery/jquery.ui.sortable.js delete mode 100644 lbl-blockquote.png delete mode 100644 lbl-h1.png delete mode 100644 lbl-h2.png delete mode 100644 lbl-h3.png delete mode 100644 lbl-h4.png delete mode 100644 lbl-h5.png delete mode 100644 lbl-h6.png delete mode 100644 lbl-p.png delete mode 100644 lbl-pre.png delete mode 100644 main_wymiframe.html delete mode 100644 openwysiwyg/addons/imagelibrary/changelog delete mode 100644 openwysiwyg/addons/imagelibrary/config.inc.php delete mode 100644 openwysiwyg/addons/imagelibrary/images/dirup.png delete mode 100644 openwysiwyg/addons/imagelibrary/images/folder.png delete mode 100644 openwysiwyg/addons/imagelibrary/images/gif.gif delete mode 100644 openwysiwyg/addons/imagelibrary/images/jpg.gif delete mode 100644 openwysiwyg/addons/imagelibrary/images/psd.gif delete mode 100644 openwysiwyg/addons/imagelibrary/images/unknown.png delete mode 100644 openwysiwyg/addons/imagelibrary/insert_image.php delete mode 100644 openwysiwyg/addons/imagelibrary/select_image.php delete mode 100644 openwysiwyg/changelog delete mode 100644 openwysiwyg/docs/addons.html delete mode 100644 openwysiwyg/docs/doc.html delete mode 100644 openwysiwyg/docs/images/logo.gif delete mode 100644 openwysiwyg/docs/style.css delete mode 100644 openwysiwyg/example.html delete mode 100644 openwysiwyg/images/backcolor.gif delete mode 100644 openwysiwyg/images/backcolor_on.gif delete mode 100644 openwysiwyg/images/background_silver.jpg delete mode 100644 openwysiwyg/images/bold.gif delete mode 100644 openwysiwyg/images/bold_on.gif delete mode 100644 openwysiwyg/images/copy.gif delete mode 100644 openwysiwyg/images/copy_on.gif delete mode 100644 openwysiwyg/images/cut.gif delete mode 100644 openwysiwyg/images/cut_on.gif delete mode 100644 openwysiwyg/images/delete.gif delete mode 100644 openwysiwyg/images/delete_on.gif delete mode 100644 openwysiwyg/images/forecolor.gif delete mode 100644 openwysiwyg/images/forecolor_on.gif delete mode 100644 openwysiwyg/images/help.gif delete mode 100644 openwysiwyg/images/help_on.gif delete mode 100644 openwysiwyg/images/indent_left.gif delete mode 100644 openwysiwyg/images/indent_left_on.gif delete mode 100644 openwysiwyg/images/indent_right.gif delete mode 100644 openwysiwyg/images/indent_right_on.gif delete mode 100644 openwysiwyg/images/insert_hyperlink.gif delete mode 100644 openwysiwyg/images/insert_hyperlink_on.gif delete mode 100644 openwysiwyg/images/insert_picture.gif delete mode 100644 openwysiwyg/images/insert_picture_on.gif delete mode 100644 openwysiwyg/images/insert_table.gif delete mode 100644 openwysiwyg/images/insert_table_on.gif delete mode 100644 openwysiwyg/images/italics.gif delete mode 100644 openwysiwyg/images/italics_on.gif delete mode 100644 openwysiwyg/images/justify_center.gif delete mode 100644 openwysiwyg/images/justify_center_on.gif delete mode 100644 openwysiwyg/images/justify_justify.gif delete mode 100644 openwysiwyg/images/justify_justify_on.gif delete mode 100644 openwysiwyg/images/justify_left.gif delete mode 100644 openwysiwyg/images/justify_left_on.gif delete mode 100644 openwysiwyg/images/justify_right.gif delete mode 100644 openwysiwyg/images/justify_right_on.gif delete mode 100644 openwysiwyg/images/list_ordered.gif delete mode 100644 openwysiwyg/images/list_ordered_on.gif delete mode 100644 openwysiwyg/images/list_unordered.gif delete mode 100644 openwysiwyg/images/list_unordered_on.gif delete mode 100644 openwysiwyg/images/logo.gif delete mode 100644 openwysiwyg/images/maximize.gif delete mode 100644 openwysiwyg/images/maximize_on.gif delete mode 100644 openwysiwyg/images/paste.gif delete mode 100644 openwysiwyg/images/paste_on.gif delete mode 100644 openwysiwyg/images/preview.gif delete mode 100644 openwysiwyg/images/preview_on.gif delete mode 100644 openwysiwyg/images/print.gif delete mode 100644 openwysiwyg/images/print_on.gif delete mode 100644 openwysiwyg/images/redo.gif delete mode 100644 openwysiwyg/images/redo_on.gif delete mode 100644 openwysiwyg/images/remove_format.gif delete mode 100644 openwysiwyg/images/remove_format_on.gif delete mode 100644 openwysiwyg/images/return.gif delete mode 100644 openwysiwyg/images/return_on.gif delete mode 100644 openwysiwyg/images/save.gif delete mode 100644 openwysiwyg/images/save_on.gif delete mode 100644 openwysiwyg/images/select_font.gif delete mode 100644 openwysiwyg/images/select_font_on.gif delete mode 100644 openwysiwyg/images/select_heading.gif delete mode 100644 openwysiwyg/images/select_heading_on.gif delete mode 100644 openwysiwyg/images/select_size.gif delete mode 100644 openwysiwyg/images/select_size_on.gif delete mode 100644 openwysiwyg/images/seperator.gif delete mode 100644 openwysiwyg/images/seperator2.gif delete mode 100644 openwysiwyg/images/settings.gif delete mode 100644 openwysiwyg/images/strikethrough.gif delete mode 100644 openwysiwyg/images/strikethrough_on.gif delete mode 100644 openwysiwyg/images/subscript.gif delete mode 100644 openwysiwyg/images/subscript_on.gif delete mode 100644 openwysiwyg/images/superscript.gif delete mode 100644 openwysiwyg/images/superscript_on.gif delete mode 100644 openwysiwyg/images/underline.gif delete mode 100644 openwysiwyg/images/underline_on.gif delete mode 100644 openwysiwyg/images/undo.gif delete mode 100644 openwysiwyg/images/undo_on.gif delete mode 100644 openwysiwyg/images/view_source.gif delete mode 100644 openwysiwyg/images/view_source_on.gif delete mode 100644 openwysiwyg/images/view_text.gif delete mode 100644 openwysiwyg/images/view_text_on.gif delete mode 100644 openwysiwyg/popups/about.html delete mode 100644 openwysiwyg/popups/about_license.html delete mode 100644 openwysiwyg/popups/create_table.html delete mode 100644 openwysiwyg/popups/insert_hyperlink.html delete mode 100644 openwysiwyg/popups/insert_image.html delete mode 100644 openwysiwyg/popups/license.html delete mode 100644 openwysiwyg/popups/preview.html delete mode 100644 openwysiwyg/popups/select_color.html delete mode 100644 openwysiwyg/scripts/wysiwyg-color.js delete mode 100644 openwysiwyg/scripts/wysiwyg-popup.js delete mode 100644 openwysiwyg/scripts/wysiwyg-settings.js delete mode 100644 openwysiwyg/scripts/wysiwyg.js delete mode 100644 openwysiwyg/styles/wysiwyg.css delete mode 100644 openwysiwyg/uploads/hagbard.jpg delete mode 100644 wymeditor/iframe/default/lbl-blockquote.png delete mode 100644 wymeditor/iframe/default/lbl-h1.png delete mode 100644 wymeditor/iframe/default/lbl-h2.png delete mode 100644 wymeditor/iframe/default/lbl-h3.png delete mode 100644 wymeditor/iframe/default/lbl-h4.png delete mode 100644 wymeditor/iframe/default/lbl-h5.png delete mode 100644 wymeditor/iframe/default/lbl-h6.png delete mode 100644 wymeditor/iframe/default/lbl-p.png delete mode 100644 wymeditor/iframe/default/lbl-pre.png delete mode 100644 wymeditor/iframe/default/wymiframe.css delete mode 100644 wymeditor/iframe/default/wymiframe.html delete mode 100644 wymeditor/jquery.wymeditor.back.js delete mode 100644 wymeditor/jquery.wymeditor.js delete mode 100644 wymeditor/jquery.wymeditor.min.js delete mode 100644 wymeditor/jquery.wymeditor.pack.js delete mode 100644 wymeditor/lang/bg.js delete mode 100644 wymeditor/lang/ca.js delete mode 100644 wymeditor/lang/cs.js delete mode 100644 wymeditor/lang/de.js delete mode 100644 wymeditor/lang/en.js delete mode 100644 wymeditor/lang/es.js delete mode 100644 wymeditor/lang/fa.js delete mode 100644 wymeditor/lang/fi.js delete mode 100644 wymeditor/lang/fr.js delete mode 100644 wymeditor/lang/he.js delete mode 100644 wymeditor/lang/hr.js delete mode 100644 wymeditor/lang/hu.js delete mode 100644 wymeditor/lang/it.js delete mode 100644 wymeditor/lang/nb.js delete mode 100644 wymeditor/lang/nl.js delete mode 100644 wymeditor/lang/nn.js delete mode 100644 wymeditor/lang/pl.js delete mode 100644 wymeditor/lang/pt-br.js delete mode 100644 wymeditor/lang/pt.js delete mode 100644 wymeditor/lang/ru.js delete mode 100644 wymeditor/lang/sv.js delete mode 100644 wymeditor/lang/tr.js delete mode 100644 wymeditor/lang/zh_cn.js delete mode 100644 wymeditor/plugins/embed/jquery.wymeditor.embed.js delete mode 100644 wymeditor/plugins/fullscreen/icon_fullscreen.gif delete mode 100644 wymeditor/plugins/fullscreen/jquery.wymeditor.fullscreen.js delete mode 100644 wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js delete mode 100644 wymeditor/plugins/resizable/jquery.wymeditor.resizable.js delete mode 100644 wymeditor/plugins/resizable/readme.txt delete mode 100644 wymeditor/plugins/tidy/README delete mode 100644 wymeditor/plugins/tidy/jquery.wymeditor.tidy.js delete mode 100644 wymeditor/plugins/tidy/tidy.php delete mode 100644 wymeditor/plugins/tidy/wand.png delete mode 100644 wymeditor/skins/compact/icons.png delete mode 100644 wymeditor/skins/compact/skin.css delete mode 100644 wymeditor/skins/compact/skin.js delete mode 100644 wymeditor/skins/default/icons.png delete mode 100644 wymeditor/skins/default/skin.css delete mode 100644 wymeditor/skins/default/skin.js delete mode 100644 wymeditor/skins/minimal/images/bg.header.gif delete mode 100644 wymeditor/skins/minimal/images/bg.selector.silver.gif delete mode 100644 wymeditor/skins/minimal/images/bg.wymeditor.png delete mode 100644 wymeditor/skins/minimal/images/icons.silver.gif delete mode 100644 wymeditor/skins/minimal/skin.css delete mode 100644 wymeditor/skins/minimal/skin.js delete mode 100644 wymeditor/skins/silver/COPYING delete mode 100644 wymeditor/skins/silver/README delete mode 100644 wymeditor/skins/silver/images/bg.header.gif delete mode 100644 wymeditor/skins/silver/images/bg.selector.silver.gif delete mode 100644 wymeditor/skins/silver/images/bg.wymeditor.png delete mode 100644 wymeditor/skins/silver/images/icons.silver.gif delete mode 100644 wymeditor/skins/silver/skin.css delete mode 100644 wymeditor/skins/silver/skin.js delete mode 100644 wymeditor/skins/twopanels/icons.png delete mode 100644 wymeditor/skins/twopanels/skin.css delete mode 100644 wymeditor/skins/twopanels/skin.js delete mode 100644 wymeditor/skins/wymeditor_icon.png delete mode 100644 wymiframe.css create mode 100644 yui/assets/YUIexamples.js create mode 100644 yui/assets/bg_hd.gif create mode 100644 yui/assets/dpSyntaxHighlighter.css create mode 100644 yui/assets/dpSyntaxHighlighter.js create mode 100644 yui/assets/example-hd-bg.gif create mode 100644 yui/assets/html_editor.gif create mode 100644 yui/assets/yui-candy.jpg create mode 100644 yui/assets/yui.css create mode 100644 yui/assets/yui.gif create mode 100644 yui/assets/yuiDistribution.css create mode 100644 yui/assets/yuilib.jpg create mode 100644 yui/build/animation/animation-debug.js create mode 100644 yui/build/animation/animation-min.js create mode 100644 yui/build/animation/animation.js create mode 100644 yui/build/assets/skins/sam/ajax-loader.gif create mode 100644 yui/build/assets/skins/sam/asc.gif create mode 100644 yui/build/assets/skins/sam/autocomplete.css create mode 100644 yui/build/assets/skins/sam/back-h.png create mode 100644 yui/build/assets/skins/sam/back-v.png create mode 100644 yui/build/assets/skins/sam/bar-h.png create mode 100644 yui/build/assets/skins/sam/bar-v.png create mode 100644 yui/build/assets/skins/sam/bg-h.gif create mode 100644 yui/build/assets/skins/sam/bg-v.gif create mode 100644 yui/build/assets/skins/sam/blankimage.png create mode 100644 yui/build/assets/skins/sam/button.css create mode 100644 yui/build/assets/skins/sam/calendar.css create mode 100644 yui/build/assets/skins/sam/carousel.css create mode 100644 yui/build/assets/skins/sam/check0.gif create mode 100644 yui/build/assets/skins/sam/check1.gif create mode 100644 yui/build/assets/skins/sam/check2.gif create mode 100644 yui/build/assets/skins/sam/colorpicker.css create mode 100644 yui/build/assets/skins/sam/container.css create mode 100644 yui/build/assets/skins/sam/datatable.css create mode 100644 yui/build/assets/skins/sam/desc.gif create mode 100644 yui/build/assets/skins/sam/dt-arrow-dn.png create mode 100644 yui/build/assets/skins/sam/dt-arrow-up.png create mode 100644 yui/build/assets/skins/sam/editor-knob.gif create mode 100644 yui/build/assets/skins/sam/editor-sprite-active.gif create mode 100644 yui/build/assets/skins/sam/editor-sprite.gif create mode 100644 yui/build/assets/skins/sam/editor.css create mode 100644 yui/build/assets/skins/sam/header_background.png create mode 100644 yui/build/assets/skins/sam/hue_bg.png create mode 100644 yui/build/assets/skins/sam/imagecropper.css create mode 100644 yui/build/assets/skins/sam/layout.css create mode 100644 yui/build/assets/skins/sam/layout_sprite.png create mode 100644 yui/build/assets/skins/sam/loading.gif create mode 100644 yui/build/assets/skins/sam/logger.css create mode 100644 yui/build/assets/skins/sam/menu-button-arrow-disabled.png create mode 100644 yui/build/assets/skins/sam/menu-button-arrow.png create mode 100644 yui/build/assets/skins/sam/menu.css create mode 100644 yui/build/assets/skins/sam/menubaritem_submenuindicator.png create mode 100644 yui/build/assets/skins/sam/menubaritem_submenuindicator_disabled.png create mode 100644 yui/build/assets/skins/sam/menuitem_checkbox.png create mode 100644 yui/build/assets/skins/sam/menuitem_checkbox_disabled.png create mode 100644 yui/build/assets/skins/sam/menuitem_submenuindicator.png create mode 100644 yui/build/assets/skins/sam/menuitem_submenuindicator_disabled.png create mode 100644 yui/build/assets/skins/sam/paginator.css create mode 100644 yui/build/assets/skins/sam/picker_mask.png create mode 100644 yui/build/assets/skins/sam/profilerviewer.css create mode 100644 yui/build/assets/skins/sam/progressbar.css create mode 100644 yui/build/assets/skins/sam/resize.css create mode 100644 yui/build/assets/skins/sam/simpleeditor.css create mode 100644 yui/build/assets/skins/sam/skin.css create mode 100644 yui/build/assets/skins/sam/slider.css create mode 100644 yui/build/assets/skins/sam/split-button-arrow-active.png create mode 100644 yui/build/assets/skins/sam/split-button-arrow-disabled.png create mode 100644 yui/build/assets/skins/sam/split-button-arrow-focus.png create mode 100644 yui/build/assets/skins/sam/split-button-arrow-hover.png create mode 100644 yui/build/assets/skins/sam/split-button-arrow.png create mode 100644 yui/build/assets/skins/sam/sprite.png create mode 100644 yui/build/assets/skins/sam/sprite.psd create mode 100644 yui/build/assets/skins/sam/tabview.css create mode 100644 yui/build/assets/skins/sam/treeview-loading.gif create mode 100644 yui/build/assets/skins/sam/treeview-sprite.gif create mode 100644 yui/build/assets/skins/sam/treeview.css create mode 100644 yui/build/assets/skins/sam/wait.gif create mode 100644 yui/build/assets/skins/sam/yuitest.css create mode 100644 yui/build/button/assets/button-core.css create mode 100644 yui/build/button/assets/skins/sam/button-skin.css create mode 100644 yui/build/button/assets/skins/sam/button.css create mode 100644 yui/build/button/assets/skins/sam/menu-button-arrow-disabled.png create mode 100644 yui/build/button/assets/skins/sam/menu-button-arrow.png create mode 100644 yui/build/button/assets/skins/sam/split-button-arrow-active.png create mode 100644 yui/build/button/assets/skins/sam/split-button-arrow-disabled.png create mode 100644 yui/build/button/assets/skins/sam/split-button-arrow-focus.png create mode 100644 yui/build/button/assets/skins/sam/split-button-arrow-hover.png create mode 100644 yui/build/button/assets/skins/sam/split-button-arrow.png create mode 100644 yui/build/button/button-debug.js create mode 100644 yui/build/button/button-min.js create mode 100644 yui/build/button/button.js create mode 100644 yui/build/container/assets/alrt16_1.gif create mode 100644 yui/build/container/assets/blck16_1.gif create mode 100644 yui/build/container/assets/close12_1.gif create mode 100644 yui/build/container/assets/container-core.css create mode 100644 yui/build/container/assets/container.css create mode 100644 yui/build/container/assets/hlp16_1.gif create mode 100644 yui/build/container/assets/info16_1.gif create mode 100644 yui/build/container/assets/skins/sam/container-skin.css create mode 100644 yui/build/container/assets/skins/sam/container.css create mode 100644 yui/build/container/assets/tip16_1.gif create mode 100644 yui/build/container/assets/warn16_1.gif create mode 100644 yui/build/container/container-debug.js create mode 100644 yui/build/container/container-min.js create mode 100644 yui/build/container/container.js create mode 100644 yui/build/container/container_core-debug.js create mode 100644 yui/build/container/container_core-min.js create mode 100644 yui/build/container/container_core.js create mode 100644 yui/build/editor/assets/editor-core.css create mode 100644 yui/build/editor/assets/simpleeditor-core.css create mode 100644 yui/build/editor/assets/skins/sam/blankimage.png create mode 100644 yui/build/editor/assets/skins/sam/editor-knob.gif create mode 100644 yui/build/editor/assets/skins/sam/editor-skin.css create mode 100644 yui/build/editor/assets/skins/sam/editor-sprite-active.gif create mode 100644 yui/build/editor/assets/skins/sam/editor-sprite.gif create mode 100644 yui/build/editor/assets/skins/sam/editor.css create mode 100644 yui/build/editor/assets/skins/sam/simpleeditor-skin.css create mode 100644 yui/build/editor/assets/skins/sam/simpleeditor.css create mode 100644 yui/build/editor/editor-debug.js create mode 100644 yui/build/editor/editor-min.js create mode 100644 yui/build/editor/editor.js create mode 100644 yui/build/editor/simpleeditor-debug.js create mode 100644 yui/build/editor/simpleeditor-min.js create mode 100644 yui/build/editor/simpleeditor.js create mode 100644 yui/build/element/element-debug.js create mode 100644 yui/build/element/element-min.js create mode 100644 yui/build/element/element.js create mode 100644 yui/build/fonts/fonts-min.css create mode 100644 yui/build/fonts/fonts.css create mode 100644 yui/build/menu/assets/menu-core.css create mode 100644 yui/build/menu/assets/menu.css create mode 100644 yui/build/menu/assets/menu_down_arrow.png create mode 100644 yui/build/menu/assets/menu_down_arrow_disabled.png create mode 100644 yui/build/menu/assets/menu_up_arrow.png create mode 100644 yui/build/menu/assets/menu_up_arrow_disabled.png create mode 100644 yui/build/menu/assets/menubaritem_submenuindicator.png create mode 100644 yui/build/menu/assets/menubaritem_submenuindicator_disabled.png create mode 100644 yui/build/menu/assets/menubaritem_submenuindicator_selected.png create mode 100644 yui/build/menu/assets/menuitem_checkbox.png create mode 100644 yui/build/menu/assets/menuitem_checkbox_disabled.png create mode 100644 yui/build/menu/assets/menuitem_checkbox_selected.png create mode 100644 yui/build/menu/assets/menuitem_submenuindicator.png create mode 100644 yui/build/menu/assets/menuitem_submenuindicator_disabled.png create mode 100644 yui/build/menu/assets/menuitem_submenuindicator_selected.png create mode 100644 yui/build/menu/assets/skins/sam/menu-skin.css create mode 100644 yui/build/menu/assets/skins/sam/menu.css create mode 100644 yui/build/menu/assets/skins/sam/menubaritem_submenuindicator.png create mode 100644 yui/build/menu/assets/skins/sam/menubaritem_submenuindicator_disabled.png create mode 100644 yui/build/menu/assets/skins/sam/menuitem_checkbox.png create mode 100644 yui/build/menu/assets/skins/sam/menuitem_checkbox_disabled.png create mode 100644 yui/build/menu/assets/skins/sam/menuitem_submenuindicator.png create mode 100644 yui/build/menu/assets/skins/sam/menuitem_submenuindicator_disabled.png create mode 100644 yui/build/menu/menu-debug.js create mode 100644 yui/build/menu/menu-min.js create mode 100644 yui/build/menu/menu.js create mode 100644 yui/build/yahoo-dom-event/yahoo-dom-event.js create mode 100644 yui/build/yahoo/yahoo-debug.js create mode 100644 yui/build/yahoo/yahoo-min.js create mode 100644 yui/build/yahoo/yahoo.js create mode 100644 yui/index.html diff --git a/erbtemp/editentry.html.erb b/erbtemp/editentry.html.erb index e3a3d71..e003726 100644 --- a/erbtemp/editentry.html.erb +++ b/erbtemp/editentry.html.erb @@ -3,37 +3,141 @@ <%= APPTITLE %> - <% if params["action"] == "edit" || params["action"] == "back" %> - <% end %> - - - - - - + + + + + + + + - +
<%= menu %>
@@ -95,7 +199,9 @@ <% if val == "content" %> - + <% elsif val == "updated" %> <% else %> <% end %> @@ -124,7 +230,9 @@ <% if val == "content" %> - + <% else %> <% end %> diff --git a/erbtemp/newentry.html.erb b/erbtemp/newentry.html.erb index 30bc160..9e9542e 100644 --- a/erbtemp/newentry.html.erb +++ b/erbtemp/newentry.html.erb @@ -3,37 +3,141 @@ <%= APPTITLE %> - <% if params["action"].blank? || params["action"] == "back" %> - <% end %> - - - - - - + + + + + + + + - +
<%= menu %>
@@ -98,7 +202,9 @@ <% if val != "content" %> <% else %> - + <% end %> @@ -130,7 +236,13 @@ <% date = Time.now.iso8601 %> <% if val == "content" %> - + <% elsif val == "entryid" %> ?<%= date %>" style="width: 100%"><% elsif val == "updated" || val == "published" %> <% elsif val == "url" %> diff --git a/jquery/GPL-LICENSE.txt b/jquery/GPL-LICENSE.txt deleted file mode 100644 index 11dddd0..0000000 --- a/jquery/GPL-LICENSE.txt +++ /dev/null @@ -1,278 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. diff --git a/jquery/MIT-LICENSE.txt b/jquery/MIT-LICENSE.txt deleted file mode 100644 index 965a831..0000000 --- a/jquery/MIT-LICENSE.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2007 John Resig, http://jquery.com/ - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/jquery/README b/jquery/README deleted file mode 100644 index cb93648..0000000 --- a/jquery/README +++ /dev/null @@ -1,67 +0,0 @@ - --------------------------------- -jQuery - New Wave Javascript -http://jquery.com/ --------------------------------- - -What you need to build your own jQuery: - - Make sure that you have Java installed. - - If not, go to this page and download "Java Runtime Environment (JRE) 5.0" - http://java.sun.com/javase/downloads/index.jsp - - - You now have two options for building jQuery, if you have access to - common UNIX commands (like 'make', 'mkdir', 'rm', 'cat', and 'echo') - then simply type 'make' to build all the components. - - - The other option is if you have Ant installed (or are on Windows and - don't have access to make). You can download Ant from here: - http://ant.apache.org/bindownload.cgi - - If you do have Ant, everytime (in this README) that I say 'make', do - 'ant' instead - it works identically (for all intents and purposes). - -How to build your own jQuery: - -In the main directory of the distribution (the one that this file is in), type -the following to make all versions of jQuery, the documentation, and the test suite: - make - -Here are each of the individual items that are buildable from the Makefile. - -make jquery - The standard, uncompressed, jQuery code. - Makes: ./dist/jquery.js - -make lite - jQuery without all the additional inline documentation and test cases. - Makes: ./dist/jquery.lite.js - -make pack - A compressed version of jQuery (made with Packer). - Makes: ./dist/jquery.pack.js - -make docs - Builds a complete copy of the documentation, based upon the jQuery source. - Makes ./docs/ - Open this file in your browser: - ./docs/index.xml - -make test - Builds a complete copy of the test suite, based upon the jQuery source. - Makes ./test/ - Open this file in your browser: - ./test/index.html - -Finally, you can remove all the built files using the command: - make clean - -Additionally, if you want to install jQuery to a location that is not this -directory, you can specify the PREFIX directory, for example: - make PREFIX=/home/john/test/ -OR - make PREFIX=~/www/ docs - -If you have any questions, please feel free to ask them on the jQuery -mailing list, which can be found here: - http://jquery.com/discuss/ diff --git a/jquery/jquery.js b/jquery/jquery.js deleted file mode 100644 index 95dd013..0000000 --- a/jquery/jquery.js +++ /dev/null @@ -1,11 +0,0 @@ -/* - * jQuery 1.2.6 - New Wave Javascript - * - * Copyright (c) 2008 John Resig (jquery.com) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $ - * $Rev: 5685 $ - */ -eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(H(){J w=1b.4M,3m$=1b.$;J D=1b.4M=1b.$=H(a,b){I 2B D.17.5j(a,b)};J u=/^[^<]*(<(.|\\s)+>)[^>]*$|^#(\\w+)$/,62=/^.[^:#\\[\\.]*$/,12;D.17=D.44={5j:H(d,b){d=d||S;G(d.16){7[0]=d;7.K=1;I 7}G(1j d=="23"){J c=u.2D(d);G(c&&(c[1]||!b)){G(c[1])d=D.4h([c[1]],b);N{J a=S.61(c[3]);G(a){G(a.2v!=c[3])I D().2q(d);I D(a)}d=[]}}N I D(b).2q(d)}N G(D.1D(d))I D(S)[D.17.27?"27":"43"](d);I 7.6Y(D.2d(d))},5w:"1.2.6",8G:H(){I 7.K},K:0,3p:H(a){I a==12?D.2d(7):7[a]},2I:H(b){J a=D(b);a.5n=7;I a},6Y:H(a){7.K=0;2p.44.1p.1w(7,a);I 7},P:H(a,b){I D.P(7,a,b)},5i:H(b){J a=-1;I D.2L(b&&b.5w?b[0]:b,7)},1K:H(c,a,b){J d=c;G(c.1q==56)G(a===12)I 7[0]&&D[b||"1K"](7[0],c);N{d={};d[c]=a}I 7.P(H(i){R(c 1n d)D.1K(b?7.V:7,c,D.1i(7,d[c],b,i,c))})},1g:H(b,a){G((b==\'2h\'||b==\'1Z\')&&3d(a)<0)a=12;I 7.1K(b,a,"2a")},1r:H(b){G(1j b!="49"&&b!=U)I 7.4E().3v((7[0]&&7[0].2z||S).5F(b));J a="";D.P(b||7,H(){D.P(7.3t,H(){G(7.16!=8)a+=7.16!=1?7.76:D.17.1r([7])})});I a},5z:H(b){G(7[0])D(b,7[0].2z).5y().39(7[0]).2l(H(){J a=7;1B(a.1x)a=a.1x;I a}).3v(7);I 7},8Y:H(a){I 7.P(H(){D(7).6Q().5z(a)})},8R:H(a){I 7.P(H(){D(7).5z(a)})},3v:H(){I 7.3W(19,M,Q,H(a){G(7.16==1)7.3U(a)})},6F:H(){I 7.3W(19,M,M,H(a){G(7.16==1)7.39(a,7.1x)})},6E:H(){I 7.3W(19,Q,Q,H(a){7.1d.39(a,7)})},5q:H(){I 7.3W(19,Q,M,H(a){7.1d.39(a,7.2H)})},3l:H(){I 7.5n||D([])},2q:H(b){J c=D.2l(7,H(a){I D.2q(b,a)});I 7.2I(/[^+>] [^+>]/.11(b)||b.1h("..")>-1?D.4r(c):c)},5y:H(e){J f=7.2l(H(){G(D.14.1f&&!D.4n(7)){J a=7.6o(M),5h=S.3h("1v");5h.3U(a);I D.4h([5h.4H])[0]}N I 7.6o(M)});J d=f.2q("*").5c().P(H(){G(7[E]!=12)7[E]=U});G(e===M)7.2q("*").5c().P(H(i){G(7.16==3)I;J c=D.L(7,"3w");R(J a 1n c)R(J b 1n c[a])D.W.1e(d[i],a,c[a][b],c[a][b].L)});I f},1E:H(b){I 7.2I(D.1D(b)&&D.3C(7,H(a,i){I b.1k(a,i)})||D.3g(b,7))},4Y:H(b){G(b.1q==56)G(62.11(b))I 7.2I(D.3g(b,7,M));N b=D.3g(b,7);J a=b.K&&b[b.K-1]!==12&&!b.16;I 7.1E(H(){I a?D.2L(7,b)<0:7!=b})},1e:H(a){I 7.2I(D.4r(D.2R(7.3p(),1j a==\'23\'?D(a):D.2d(a))))},3F:H(a){I!!a&&D.3g(a,7).K>0},7T:H(a){I 7.3F("."+a)},6e:H(b){G(b==12){G(7.K){J c=7[0];G(D.Y(c,"2A")){J e=c.64,63=[],15=c.15,2V=c.O=="2A-2V";G(e<0)I U;R(J i=2V?e:0,2f=2V?e+1:15.K;i<2f;i++){J d=15[i];G(d.2W){b=D.14.1f&&!d.at.2x.an?d.1r:d.2x;G(2V)I b;63.1p(b)}}I 63}N I(7[0].2x||"").1o(/\\r/g,"")}I 12}G(b.1q==4L)b+=\'\';I 7.P(H(){G(7.16!=1)I;G(b.1q==2p&&/5O|5L/.11(7.O))7.4J=(D.2L(7.2x,b)>=0||D.2L(7.34,b)>=0);N G(D.Y(7,"2A")){J a=D.2d(b);D("9R",7).P(H(){7.2W=(D.2L(7.2x,a)>=0||D.2L(7.1r,a)>=0)});G(!a.K)7.64=-1}N 7.2x=b})},2K:H(a){I a==12?(7[0]?7[0].4H:U):7.4E().3v(a)},7b:H(a){I 7.5q(a).21()},79:H(i){I 7.3s(i,i+1)},3s:H(){I 7.2I(2p.44.3s.1w(7,19))},2l:H(b){I 7.2I(D.2l(7,H(a,i){I b.1k(a,i,a)}))},5c:H(){I 7.1e(7.5n)},L:H(d,b){J a=d.1R(".");a[1]=a[1]?"."+a[1]:"";G(b===12){J c=7.5C("9z"+a[1]+"!",[a[0]]);G(c===12&&7.K)c=D.L(7[0],d);I c===12&&a[1]?7.L(a[0]):c}N I 7.1P("9u"+a[1]+"!",[a[0],b]).P(H(){D.L(7,d,b)})},3b:H(a){I 7.P(H(){D.3b(7,a)})},3W:H(g,f,h,d){J e=7.K>1,3x;I 7.P(H(){G(!3x){3x=D.4h(g,7.2z);G(h)3x.9o()}J b=7;G(f&&D.Y(7,"1T")&&D.Y(3x[0],"4F"))b=7.3H("22")[0]||7.3U(7.2z.3h("22"));J c=D([]);D.P(3x,H(){J a=e?D(7).5y(M)[0]:7;G(D.Y(a,"1m"))c=c.1e(a);N{G(a.16==1)c=c.1e(D("1m",a).21());d.1k(b,a)}});c.P(6T)})}};D.17.5j.44=D.17;H 6T(i,a){G(a.4d)D.3Y({1a:a.4d,31:Q,1O:"1m"});N D.5u(a.1r||a.6O||a.4H||"");G(a.1d)a.1d.37(a)}H 1z(){I+2B 8J}D.1l=D.17.1l=H(){J b=19[0]||{},i=1,K=19.K,4x=Q,15;G(b.1q==8I){4x=b;b=19[1]||{};i=2}G(1j b!="49"&&1j b!="H")b={};G(K==i){b=7;--i}R(;i-1}},6q:H(b,c,a){J e={};R(J d 1n c){e[d]=b.V[d];b.V[d]=c[d]}a.1k(b);R(J d 1n c)b.V[d]=e[d]},1g:H(d,e,c){G(e=="2h"||e=="1Z"){J b,3X={30:"5x",5g:"1G",18:"3I"},35=e=="2h"?["5e","6k"]:["5G","6i"];H 5b(){b=e=="2h"?d.8f:d.8c;J a=0,2C=0;D.P(35,H(){a+=3d(D.2a(d,"57"+7,M))||0;2C+=3d(D.2a(d,"2C"+7+"4b",M))||0});b-=29.83(a+2C)}G(D(d).3F(":4j"))5b();N D.6q(d,3X,5b);I 29.2f(0,b)}I D.2a(d,e,c)},2a:H(f,l,k){J e,V=f.V;H 3E(b){G(!D.14.2k)I Q;J a=3P.54(b,U);I!a||a.52("3E")==""}G(l=="1y"&&D.14.1f){e=D.1K(V,"1y");I e==""?"1":e}G(D.14.2G&&l=="18"){J d=V.50;V.50="0 7Y 7W";V.50=d}G(l.1I(/4i/i))l=y;G(!k&&V&&V[l])e=V[l];N G(3P.54){G(l.1I(/4i/i))l="4i";l=l.1o(/([A-Z])/g,"-$1").3y();J c=3P.54(f,U);G(c&&!3E(f))e=c.52(l);N{J g=[],2E=[],a=f,i=0;R(;a&&3E(a);a=a.1d)2E.6h(a);R(;i<2E.K;i++)G(3E(2E[i])){g[i]=2E[i].V.18;2E[i].V.18="3I"}e=l=="18"&&g[2E.K-1]!=U?"2F":(c&&c.52(l))||"";R(i=0;i]*?)\\/>/g,H(b,a,c){I c.1I(/^(aK|4f|7E|aG|4T|7A|aB|3n|az|ay|av)$/i)?b:a+">"});J f=D.3k(d).3y(),1v=h.3h("1v");J e=!f.1h("",""]||!f.1h("",""]||f.1I(/^<(aq|22|am|ak|ai)/)&&[1,"<1T>",""]||!f.1h("<4F")&&[2,"<1T><22>",""]||(!f.1h("<22><4F>",""]||!f.1h("<7E")&&[2,"<1T><22><7q>",""]||D.14.1f&&[1,"1v<1v>",""]||[0,"",""];1v.4H=e[1]+d+e[2];1B(e[0]--)1v=1v.5T;G(D.14.1f){J g=!f.1h("<1T")&&f.1h("<22")<0?1v.1x&&1v.1x.3t:e[1]=="<1T>"&&f.1h("<22")<0?1v.3t:[];R(J j=g.K-1;j>=0;--j)G(D.Y(g[j],"22")&&!g[j].3t.K)g[j].1d.37(g[j]);G(/^\\s/.11(d))1v.39(h.5F(d.1I(/^\\s*/)[0]),1v.1x)}d=D.2d(1v.3t)}G(d.K===0&&(!D.Y(d,"3V")&&!D.Y(d,"2A")))I;G(d[0]==12||D.Y(d,"3V")||d.15)k.1p(d);N k=D.2R(k,d)});I k},1K:H(d,f,c){G(!d||d.16==3||d.16==8)I 12;J e=!D.4n(d),40=c!==12,1f=D.14.1f;f=e&&D.3X[f]||f;G(d.2j){J g=/5Q|4d|V/.11(f);G(f=="2W"&&D.14.2k)d.1d.64;G(f 1n d&&e&&!g){G(40){G(f=="O"&&D.Y(d,"4T")&&d.1d)7p"O a3 a1\'t 9V 9U";d[f]=c}G(D.Y(d,"3V")&&d.7i(f))I d.7i(f).76;I d[f]}G(1f&&e&&f=="V")I D.1K(d.V,"9T",c);G(40)d.9Q(f,""+c);J h=1f&&e&&g?d.4G(f,2):d.4G(f);I h===U?12:h}G(1f&&f=="1y"){G(40){d.6B=1;d.1E=(d.1E||"").1o(/7f\\([^)]*\\)/,"")+(3r(c)+\'\'=="9L"?"":"7f(1y="+c*7a+")")}I d.1E&&d.1E.1h("1y=")>=0?(3d(d.1E.1I(/1y=([^)]*)/)[1])/7a)+\'\':""}f=f.1o(/-([a-z])/9H,H(a,b){I b.2r()});G(40)d[f]=c;I d[f]},3k:H(a){I(a||"").1o(/^\\s+|\\s+$/g,"")},2d:H(b){J a=[];G(b!=U){J i=b.K;G(i==U||b.1R||b.4I||b.1k)a[0]=b;N 1B(i)a[--i]=b[i]}I a},2L:H(b,a){R(J i=0,K=a.K;i*",7).21();1B(7.1x)7.37(7.1x)}},H(a,b){D.17[a]=H(){I 7.P(b,19)}});D.P(["6N","4b"],H(i,c){J b=c.3y();D.17[b]=H(a){I 7[0]==1b?D.14.2G&&S.1c["5t"+c]||D.14.2k&&1b["5s"+c]||S.70=="6Z"&&S.1C["5t"+c]||S.1c["5t"+c]:7[0]==S?29.2f(29.2f(S.1c["4y"+c],S.1C["4y"+c]),29.2f(S.1c["2i"+c],S.1C["2i"+c])):a==12?(7.K?D.1g(7[0],b):U):7.1g(b,a.1q==56?a:a+"2X")}});H 25(a,b){I a[0]&&3r(D.2a(a[0],b,M),10)||0}J C=D.14.2k&&3r(D.14.5B)<8H?"(?:[\\\\w*3m-]|\\\\\\\\.)":"(?:[\\\\w\\8F-\\8E*3m-]|\\\\\\\\.)",6L=2B 4v("^>\\\\s*("+C+"+)"),6J=2B 4v("^("+C+"+)(#)("+C+"+)"),6I=2B 4v("^([#.]?)("+C+"*)");D.1l({6H:{"":H(a,i,m){I m[2]=="*"||D.Y(a,m[2])},"#":H(a,i,m){I a.4G("2v")==m[2]},":":{8D:H(a,i,m){I im[3]-0},3a:H(a,i,m){I m[3]-0==i},79:H(a,i,m){I m[3]-0==i},3o:H(a,i){I i==0},3S:H(a,i,m,r){I i==r.K-1},6D:H(a,i){I i%2==0},6C:H(a,i){I i%2},"3o-4u":H(a){I a.1d.3H("*")[0]==a},"3S-4u":H(a){I D.3a(a.1d.5T,1,"4l")==a},"8z-4u":H(a){I!D.3a(a.1d.5T,2,"4l")},6W:H(a){I a.1x},4E:H(a){I!a.1x},8y:H(a,i,m){I(a.6O||a.8x||D(a).1r()||"").1h(m[3])>=0},4j:H(a){I"1G"!=a.O&&D.1g(a,"18")!="2F"&&D.1g(a,"5g")!="1G"},1G:H(a){I"1G"==a.O||D.1g(a,"18")=="2F"||D.1g(a,"5g")=="1G"},8w:H(a){I!a.3R},3R:H(a){I a.3R},4J:H(a){I a.4J},2W:H(a){I a.2W||D.1K(a,"2W")},1r:H(a){I"1r"==a.O},5O:H(a){I"5O"==a.O},5L:H(a){I"5L"==a.O},5p:H(a){I"5p"==a.O},3Q:H(a){I"3Q"==a.O},5o:H(a){I"5o"==a.O},6A:H(a){I"6A"==a.O},6z:H(a){I"6z"==a.O},2s:H(a){I"2s"==a.O||D.Y(a,"2s")},4T:H(a){I/4T|2A|6y|2s/i.11(a.Y)},3T:H(a,i,m){I D.2q(m[3],a).K},8t:H(a){I/h\\d/i.11(a.Y)},8s:H(a){I D.3C(D.3O,H(b){I a==b.T}).K}}},6x:[/^(\\[) *@?([\\w-]+) *([!*$^~=]*) *(\'?"?)(.*?)\\4 *\\]/,/^(:)([\\w-]+)\\("?\'?(.*?(\\(.*?\\))?[^(]*?)"?\'?\\)/,2B 4v("^([:.#]*)("+C+"+)")],3g:H(a,c,b){J d,1t=[];1B(a&&a!=d){d=a;J f=D.1E(a,c,b);a=f.t.1o(/^\\s*,\\s*/,"");1t=b?c=f.r:D.2R(1t,f.r)}I 1t},2q:H(t,o){G(1j t!="23")I[t];G(o&&o.16!=1&&o.16!=9)I[];o=o||S;J d=[o],2o=[],3S,Y;1B(t&&3S!=t){J r=[];3S=t;t=D.3k(t);J l=Q,3j=6L,m=3j.2D(t);G(m){Y=m[1].2r();R(J i=0;d[i];i++)R(J c=d[i].1x;c;c=c.2H)G(c.16==1&&(Y=="*"||c.Y.2r()==Y))r.1p(c);d=r;t=t.1o(3j,"");G(t.1h(" ")==0)6M;l=M}N{3j=/^([>+~])\\s*(\\w*)/i;G((m=3j.2D(t))!=U){r=[];J k={};Y=m[2].2r();m=m[1];R(J j=0,3i=d.K;j<3i;j++){J n=m=="~"||m=="+"?d[j].2H:d[j].1x;R(;n;n=n.2H)G(n.16==1){J g=D.L(n);G(m=="~"&&k[g])1X;G(!Y||n.Y.2r()==Y){G(m=="~")k[g]=M;r.1p(n)}G(m=="+")1X}}d=r;t=D.3k(t.1o(3j,""));l=M}}G(t&&!l){G(!t.1h(",")){G(o==d[0])d.4s();2o=D.2R(2o,d);r=d=[o];t=" "+t.6v(1,t.K)}N{J h=6J;J m=h.2D(t);G(m){m=[0,m[2],m[3],m[1]]}N{h=6I;m=h.2D(t)}m[2]=m[2].1o(/\\\\/g,"");J f=d[d.K-1];G(m[1]=="#"&&f&&f.61&&!D.4n(f)){J p=f.61(m[2]);G((D.14.1f||D.14.2G)&&p&&1j p.2v=="23"&&p.2v!=m[2])p=D(\'[@2v="\'+m[2]+\'"]\',f)[0];d=r=p&&(!m[3]||D.Y(p,m[3]))?[p]:[]}N{R(J i=0;d[i];i++){J a=m[1]=="#"&&m[3]?m[3]:m[1]!=""||m[0]==""?"*":m[2];G(a=="*"&&d[i].Y.3y()=="49")a="3n";r=D.2R(r,d[i].3H(a))}G(m[1]==".")r=D.5m(r,m[2]);G(m[1]=="#"){J e=[];R(J i=0;r[i];i++)G(r[i].4G("2v")==m[2]){e=[r[i]];1X}r=e}d=r}t=t.1o(h,"")}}G(t){J b=D.1E(t,r);d=r=b.r;t=D.3k(b.t)}}G(t)d=[];G(d&&o==d[0])d.4s();2o=D.2R(2o,d);I 2o},5m:H(r,m,a){m=" "+m+" ";J c=[];R(J i=0;r[i];i++){J b=(" "+r[i].1F+" ").1h(m)>=0;G(!a&&b||a&&!b)c.1p(r[i])}I c},1E:H(t,r,h){J d;1B(t&&t!=d){d=t;J p=D.6x,m;R(J i=0;p[i];i++){m=p[i].2D(t);G(m){t=t.8r(m[0].K);m[2]=m[2].1o(/\\\\/g,"");1X}}G(!m)1X;G(m[1]==":"&&m[2]=="4Y")r=62.11(m[3])?D.1E(m[3],r,M).r:D(r).4Y(m[3]);N G(m[1]==".")r=D.5m(r,m[2],h);N G(m[1]=="["){J g=[],O=m[3];R(J i=0,3i=r.K;i<3i;i++){J a=r[i],z=a[D.3X[m[2]]||m[2]];G(z==U||/5Q|4d|2W/.11(m[2]))z=D.1K(a,m[2])||\'\';G((O==""&&!!z||O=="="&&z==m[5]||O=="!="&&z!=m[5]||O=="^="&&z&&!z.1h(m[5])||O=="$="&&z.6v(z.K-m[5].K)==m[5]||(O=="*="||O=="~=")&&z.1h(m[5])>=0)^h)g.1p(a)}r=g}N G(m[1]==":"&&m[2]=="3a-4u"){J e={},g=[],11=/(-?)(\\d*)n((?:\\+|-)?\\d*)/.2D(m[3]=="6D"&&"2n"||m[3]=="6C"&&"2n+1"||!/\\D/.11(m[3])&&"8q+"+m[3]||m[3]),3o=(11[1]+(11[2]||1))-0,d=11[3]-0;R(J i=0,3i=r.K;i<3i;i++){J j=r[i],1d=j.1d,2v=D.L(1d);G(!e[2v]){J c=1;R(J n=1d.1x;n;n=n.2H)G(n.16==1)n.4q=c++;e[2v]=M}J b=Q;G(3o==0){G(j.4q==d)b=M}N G((j.4q-d)%3o==0&&(j.4q-d)/3o>=0)b=M;G(b^h)g.1p(j)}r=g}N{J f=D.6H[m[1]];G(1j f=="49")f=f[m[2]];G(1j f=="23")f=6u("Q||H(a,i){I "+f+";}");r=D.3C(r,H(a,i){I f(a,i,m,r)},h)}}I{r:r,t:t}},4S:H(b,c){J a=[],1t=b[c];1B(1t&&1t!=S){G(1t.16==1)a.1p(1t);1t=1t[c]}I a},3a:H(a,e,c,b){e=e||1;J d=0;R(;a;a=a[c])G(a.16==1&&++d==e)1X;I a},5v:H(n,a){J r=[];R(;n;n=n.2H){G(n.16==1&&n!=a)r.1p(n)}I r}});D.W={1e:H(f,i,g,e){G(f.16==3||f.16==8)I;G(D.14.1f&&f.4I)f=1b;G(!g.24)g.24=7.24++;G(e!=12){J h=g;g=7.3M(h,H(){I h.1w(7,19)});g.L=e}J j=D.L(f,"3w")||D.L(f,"3w",{}),1H=D.L(f,"1H")||D.L(f,"1H",H(){G(1j D!="12"&&!D.W.5k)I D.W.1H.1w(19.3L.T,19)});1H.T=f;D.P(i.1R(/\\s+/),H(c,b){J a=b.1R(".");b=a[0];g.O=a[1];J d=j[b];G(!d){d=j[b]={};G(!D.W.2t[b]||D.W.2t[b].4p.1k(f)===Q){G(f.3K)f.3K(b,1H,Q);N G(f.6t)f.6t("4o"+b,1H)}}d[g.24]=g;D.W.26[b]=M});f=U},24:1,26:{},21:H(e,h,f){G(e.16==3||e.16==8)I;J i=D.L(e,"3w"),1L,5i;G(i){G(h==12||(1j h=="23"&&h.8p(0)=="."))R(J g 1n i)7.21(e,g+(h||""));N{G(h.O){f=h.2y;h=h.O}D.P(h.1R(/\\s+/),H(b,a){J c=a.1R(".");a=c[0];G(i[a]){G(f)2U i[a][f.24];N R(f 1n i[a])G(!c[1]||i[a][f].O==c[1])2U i[a][f];R(1L 1n i[a])1X;G(!1L){G(!D.W.2t[a]||D.W.2t[a].4A.1k(e)===Q){G(e.6p)e.6p(a,D.L(e,"1H"),Q);N G(e.6n)e.6n("4o"+a,D.L(e,"1H"))}1L=U;2U i[a]}}})}R(1L 1n i)1X;G(!1L){J d=D.L(e,"1H");G(d)d.T=U;D.3b(e,"3w");D.3b(e,"1H")}}},1P:H(h,c,f,g,i){c=D.2d(c);G(h.1h("!")>=0){h=h.3s(0,-1);J a=M}G(!f){G(7.26[h])D("*").1e([1b,S]).1P(h,c)}N{G(f.16==3||f.16==8)I 12;J b,1L,17=D.1D(f[h]||U),W=!c[0]||!c[0].32;G(W){c.6h({O:h,2J:f,32:H(){},3J:H(){},4C:1z()});c[0][E]=M}c[0].O=h;G(a)c[0].6m=M;J d=D.L(f,"1H");G(d)b=d.1w(f,c);G((!17||(D.Y(f,\'a\')&&h=="4V"))&&f["4o"+h]&&f["4o"+h].1w(f,c)===Q)b=Q;G(W)c.4s();G(i&&D.1D(i)){1L=i.1w(f,b==U?c:c.7d(b));G(1L!==12)b=1L}G(17&&g!==Q&&b!==Q&&!(D.Y(f,\'a\')&&h=="4V")){7.5k=M;1U{f[h]()}1V(e){}}7.5k=Q}I b},1H:H(b){J a,1L,38,5f,4m;b=19[0]=D.W.6l(b||1b.W);38=b.O.1R(".");b.O=38[0];38=38[1];5f=!38&&!b.6m;4m=(D.L(7,"3w")||{})[b.O];R(J j 1n 4m){J c=4m[j];G(5f||c.O==38){b.2y=c;b.L=c.L;1L=c.1w(7,19);G(a!==Q)a=1L;G(1L===Q){b.32();b.3J()}}}I a},6l:H(b){G(b[E]==M)I b;J d=b;b={8o:d};J c="8n 8m 8l 8k 2s 8j 47 5d 6j 5E 8i L 8h 8g 4K 2y 5a 59 8e 8b 58 6f 8a 88 4k 87 86 84 6d 2J 4C 6c O 82 81 35".1R(" ");R(J i=c.K;i;i--)b[c[i]]=d[c[i]];b[E]=M;b.32=H(){G(d.32)d.32();d.80=Q};b.3J=H(){G(d.3J)d.3J();d.7Z=M};b.4C=b.4C||1z();G(!b.2J)b.2J=b.6d||S;G(b.2J.16==3)b.2J=b.2J.1d;G(!b.4k&&b.4K)b.4k=b.4K==b.2J?b.6c:b.4K;G(b.58==U&&b.5d!=U){J a=S.1C,1c=S.1c;b.58=b.5d+(a&&a.2e||1c&&1c.2e||0)-(a.6b||0);b.6f=b.6j+(a&&a.2c||1c&&1c.2c||0)-(a.6a||0)}G(!b.35&&((b.47||b.47===0)?b.47:b.5a))b.35=b.47||b.5a;G(!b.59&&b.5E)b.59=b.5E;G(!b.35&&b.2s)b.35=(b.2s&1?1:(b.2s&2?3:(b.2s&4?2:0)));I b},3M:H(a,b){b.24=a.24=a.24||b.24||7.24++;I b},2t:{27:{4p:H(){55();I},4A:H(){I}},3D:{4p:H(){G(D.14.1f)I Q;D(7).2O("53",D.W.2t.3D.2y);I M},4A:H(){G(D.14.1f)I Q;D(7).4e("53",D.W.2t.3D.2y);I M},2y:H(a){G(F(a,7))I M;a.O="3D";I D.W.1H.1w(7,19)}},3N:{4p:H(){G(D.14.1f)I Q;D(7).2O("51",D.W.2t.3N.2y);I M},4A:H(){G(D.14.1f)I Q;D(7).4e("51",D.W.2t.3N.2y);I M},2y:H(a){G(F(a,7))I M;a.O="3N";I D.W.1H.1w(7,19)}}}};D.17.1l({2O:H(c,a,b){I c=="4X"?7.2V(c,a,b):7.P(H(){D.W.1e(7,c,b||a,b&&a)})},2V:H(d,b,c){J e=D.W.3M(c||b,H(a){D(7).4e(a,e);I(c||b).1w(7,19)});I 7.P(H(){D.W.1e(7,d,e,c&&b)})},4e:H(a,b){I 7.P(H(){D.W.21(7,a,b)})},1P:H(c,a,b){I 7.P(H(){D.W.1P(c,a,7,M,b)})},5C:H(c,a,b){I 7[0]&&D.W.1P(c,a,7[0],Q,b)},2m:H(b){J c=19,i=1;1B(i=0){J i=g.3s(e,g.K);g=g.3s(0,e)}c=c||H(){};J f="2P";G(d)G(D.1D(d)){c=d;d=U}N{d=D.3n(d);f="6g"}J h=7;D.3Y({1a:g,O:f,1O:"2K",L:d,1J:H(a,b){G(b=="1W"||b=="7J")h.2K(i?D("<1v/>").3v(a.4U.1o(/<1m(.|\\s)*?\\/1m>/g,"")).2q(i):a.4U);h.P(c,[a.4U,b,a])}});I 7},aL:H(){I D.3n(7.7I())},7I:H(){I 7.2l(H(){I D.Y(7,"3V")?D.2d(7.aH):7}).1E(H(){I 7.34&&!7.3R&&(7.4J||/2A|6y/i.11(7.Y)||/1r|1G|3Q/i.11(7.O))}).2l(H(i,c){J b=D(7).6e();I b==U?U:b.1q==2p?D.2l(b,H(a,i){I{34:c.34,2x:a}}):{34:c.34,2x:b}}).3p()}});D.P("7H,7G,7F,7D,7C,7B".1R(","),H(i,o){D.17[o]=H(f){I 7.2O(o,f)}});J B=1z();D.1l({3p:H(d,b,a,c){G(D.1D(b)){a=b;b=U}I D.3Y({O:"2P",1a:d,L:b,1W:a,1O:c})},aE:H(b,a){I D.3p(b,U,a,"1m")},aD:H(c,b,a){I D.3p(c,b,a,"3z")},aC:H(d,b,a,c){G(D.1D(b)){a=b;b={}}I D.3Y({O:"6g",1a:d,L:b,1W:a,1O:c})},aA:H(a){D.1l(D.60,a)},60:{1a:5Z.5Q,26:M,O:"2P",2T:0,7z:"4R/x-ax-3V-aw",7x:M,31:M,L:U,5Y:U,3Q:U,4Q:{2N:"4R/2N, 1r/2N",2K:"1r/2K",1m:"1r/4t, 4R/4t",3z:"4R/3z, 1r/4t",1r:"1r/as",4w:"*/*"}},4z:{},3Y:H(s){s=D.1l(M,s,D.1l(M,{},D.60,s));J g,2Z=/=\\?(&|$)/g,1u,L,O=s.O.2r();G(s.L&&s.7x&&1j s.L!="23")s.L=D.3n(s.L);G(s.1O=="4P"){G(O=="2P"){G(!s.1a.1I(2Z))s.1a+=(s.1a.1I(/\\?/)?"&":"?")+(s.4P||"7u")+"=?"}N G(!s.L||!s.L.1I(2Z))s.L=(s.L?s.L+"&":"")+(s.4P||"7u")+"=?";s.1O="3z"}G(s.1O=="3z"&&(s.L&&s.L.1I(2Z)||s.1a.1I(2Z))){g="4P"+B++;G(s.L)s.L=(s.L+"").1o(2Z,"="+g+"$1");s.1a=s.1a.1o(2Z,"="+g+"$1");s.1O="1m";1b[g]=H(a){L=a;1W();1J();1b[g]=12;1U{2U 1b[g]}1V(e){}G(i)i.37(h)}}G(s.1O=="1m"&&s.1Y==U)s.1Y=Q;G(s.1Y===Q&&O=="2P"){J j=1z();J k=s.1a.1o(/(\\?|&)3m=.*?(&|$)/,"$ap="+j+"$2");s.1a=k+((k==s.1a)?(s.1a.1I(/\\?/)?"&":"?")+"3m="+j:"")}G(s.L&&O=="2P"){s.1a+=(s.1a.1I(/\\?/)?"&":"?")+s.L;s.L=U}G(s.26&&!D.4O++)D.W.1P("7H");J n=/^(?:\\w+:)?\\/\\/([^\\/?#]+)/;G(s.1O=="1m"&&O=="2P"&&n.11(s.1a)&&n.2D(s.1a)[1]!=5Z.al){J i=S.3H("6w")[0];J h=S.3h("1m");h.4d=s.1a;G(s.7t)h.aj=s.7t;G(!g){J l=Q;h.ah=h.ag=H(){G(!l&&(!7.3f||7.3f=="68"||7.3f=="1J")){l=M;1W();1J();i.37(h)}}}i.3U(h);I 12}J m=Q;J c=1b.7s?2B 7s("ae.ac"):2B 7r();G(s.5Y)c.6R(O,s.1a,s.31,s.5Y,s.3Q);N c.6R(O,s.1a,s.31);1U{G(s.L)c.4B("ab-aa",s.7z);G(s.5S)c.4B("a9-5R-a8",D.4z[s.1a]||"a7, a6 a5 a4 5N:5N:5N a2");c.4B("X-9Z-9Y","7r");c.4B("9W",s.1O&&s.4Q[s.1O]?s.4Q[s.1O]+", */*":s.4Q.4w)}1V(e){}G(s.7m&&s.7m(c,s)===Q){s.26&&D.4O--;c.7l();I Q}G(s.26)D.W.1P("7B",[c,s]);J d=H(a){G(!m&&c&&(c.3f==4||a=="2T")){m=M;G(f){7k(f);f=U}1u=a=="2T"&&"2T"||!D.7j(c)&&"3e"||s.5S&&D.7h(c,s.1a)&&"7J"||"1W";G(1u=="1W"){1U{L=D.6X(c,s.1O,s.9S)}1V(e){1u="5J"}}G(1u=="1W"){J b;1U{b=c.5I("7g-5R")}1V(e){}G(s.5S&&b)D.4z[s.1a]=b;G(!g)1W()}N D.5H(s,c,1u);1J();G(s.31)c=U}};G(s.31){J f=4I(d,13);G(s.2T>0)3B(H(){G(c){c.7l();G(!m)d("2T")}},s.2T)}1U{c.9P(s.L)}1V(e){D.5H(s,c,U,e)}G(!s.31)d();H 1W(){G(s.1W)s.1W(L,1u);G(s.26)D.W.1P("7C",[c,s])}H 1J(){G(s.1J)s.1J(c,1u);G(s.26)D.W.1P("7F",[c,s]);G(s.26&&!--D.4O)D.W.1P("7G")}I c},5H:H(s,a,b,e){G(s.3e)s.3e(a,b,e);G(s.26)D.W.1P("7D",[a,s,e])},4O:0,7j:H(a){1U{I!a.1u&&5Z.9O=="5p:"||(a.1u>=7e&&a.1u<9N)||a.1u==7c||a.1u==9K||D.14.2k&&a.1u==12}1V(e){}I Q},7h:H(a,c){1U{J b=a.5I("7g-5R");I a.1u==7c||b==D.4z[c]||D.14.2k&&a.1u==12}1V(e){}I Q},6X:H(a,c,b){J d=a.5I("9J-O"),2N=c=="2N"||!c&&d&&d.1h("2N")>=0,L=2N?a.9I:a.4U;G(2N&&L.1C.2j=="5J")7p"5J";G(b)L=b(L,c);G(c=="1m")D.5u(L);G(c=="3z")L=6u("("+L+")");I L},3n:H(a){J s=[];G(a.1q==2p||a.5w)D.P(a,H(){s.1p(3u(7.34)+"="+3u(7.2x))});N R(J j 1n a)G(a[j]&&a[j].1q==2p)D.P(a[j],H(){s.1p(3u(j)+"="+3u(7))});N s.1p(3u(j)+"="+3u(D.1D(a[j])?a[j]():a[j]));I s.6s("&").1o(/%20/g,"+")}});D.17.1l({1N:H(c,b){I c?7.2g({1Z:"1N",2h:"1N",1y:"1N"},c,b):7.1E(":1G").P(H(){7.V.18=7.5D||"";G(D.1g(7,"18")=="2F"){J a=D("<"+7.2j+" />").6P("1c");7.V.18=a.1g("18");G(7.V.18=="2F")7.V.18="3I";a.21()}}).3l()},1M:H(b,a){I b?7.2g({1Z:"1M",2h:"1M",1y:"1M"},b,a):7.1E(":4j").P(H(){7.5D=7.5D||D.1g(7,"18");7.V.18="2F"}).3l()},78:D.17.2m,2m:H(a,b){I D.1D(a)&&D.1D(b)?7.78.1w(7,19):a?7.2g({1Z:"2m",2h:"2m",1y:"2m"},a,b):7.P(H(){D(7)[D(7).3F(":1G")?"1N":"1M"]()})},9G:H(b,a){I 7.2g({1Z:"1N"},b,a)},9F:H(b,a){I 7.2g({1Z:"1M"},b,a)},9E:H(b,a){I 7.2g({1Z:"2m"},b,a)},9D:H(b,a){I 7.2g({1y:"1N"},b,a)},9M:H(b,a){I 7.2g({1y:"1M"},b,a)},9C:H(c,a,b){I 7.2g({1y:a},c,b)},2g:H(k,j,i,g){J h=D.77(j,i,g);I 7[h.36===Q?"P":"36"](H(){G(7.16!=1)I Q;J f=D.1l({},h),p,1G=D(7).3F(":1G"),46=7;R(p 1n k){G(k[p]=="1M"&&1G||k[p]=="1N"&&!1G)I f.1J.1k(7);G(p=="1Z"||p=="2h"){f.18=D.1g(7,"18");f.33=7.V.33}}G(f.33!=U)7.V.33="1G";f.45=D.1l({},k);D.P(k,H(c,a){J e=2B D.28(46,f,c);G(/2m|1N|1M/.11(a))e[a=="2m"?1G?"1N":"1M":a](k);N{J b=a.6r().1I(/^([+-]=)?([\\d+-.]+)(.*)$/),2b=e.1t(M)||0;G(b){J d=3d(b[2]),2M=b[3]||"2X";G(2M!="2X"){46.V[c]=(d||1)+2M;2b=((d||1)/e.1t(M))*2b;46.V[c]=2b+2M}G(b[1])d=((b[1]=="-="?-1:1)*d)+2b;e.3G(2b,d,2M)}N e.3G(2b,a,"")}});I M})},36:H(a,b){G(D.1D(a)||(a&&a.1q==2p)){b=a;a="28"}G(!a||(1j a=="23"&&!b))I A(7[0],a);I 7.P(H(){G(b.1q==2p)A(7,a,b);N{A(7,a).1p(b);G(A(7,a).K==1)b.1k(7)}})},9X:H(b,c){J a=D.3O;G(b)7.36([]);7.P(H(){R(J i=a.K-1;i>=0;i--)G(a[i].T==7){G(c)a[i](M);a.7n(i,1)}});G(!c)7.5A();I 7}});J A=H(b,c,a){G(b){c=c||"28";J q=D.L(b,c+"36");G(!q||a)q=D.L(b,c+"36",D.2d(a))}I q};D.17.5A=H(a){a=a||"28";I 7.P(H(){J q=A(7,a);q.4s();G(q.K)q[0].1k(7)})};D.1l({77:H(b,a,c){J d=b&&b.1q==a0?b:{1J:c||!c&&a||D.1D(b)&&b,2u:b,41:c&&a||a&&a.1q!=9t&&a};d.2u=(d.2u&&d.2u.1q==4L?d.2u:D.28.5K[d.2u])||D.28.5K.74;d.5M=d.1J;d.1J=H(){G(d.36!==Q)D(7).5A();G(D.1D(d.5M))d.5M.1k(7)};I d},41:{73:H(p,n,b,a){I b+a*p},5P:H(p,n,b,a){I((-29.9r(p*29.9q)/2)+0.5)*a+b}},3O:[],48:U,28:H(b,c,a){7.15=c;7.T=b;7.1i=a;G(!c.3Z)c.3Z={}}});D.28.44={4D:H(){G(7.15.2Y)7.15.2Y.1k(7.T,7.1z,7);(D.28.2Y[7.1i]||D.28.2Y.4w)(7);G(7.1i=="1Z"||7.1i=="2h")7.T.V.18="3I"},1t:H(a){G(7.T[7.1i]!=U&&7.T.V[7.1i]==U)I 7.T[7.1i];J r=3d(D.1g(7.T,7.1i,a));I r&&r>-9p?r:3d(D.2a(7.T,7.1i))||0},3G:H(c,b,d){7.5V=1z();7.2b=c;7.3l=b;7.2M=d||7.2M||"2X";7.1z=7.2b;7.2S=7.4N=0;7.4D();J e=7;H t(a){I e.2Y(a)}t.T=7.T;D.3O.1p(t);G(D.48==U){D.48=4I(H(){J a=D.3O;R(J i=0;i7.15.2u+7.5V){7.1z=7.3l;7.2S=7.4N=1;7.4D();7.15.45[7.1i]=M;J b=M;R(J i 1n 7.15.45)G(7.15.45[i]!==M)b=Q;G(b){G(7.15.18!=U){7.T.V.33=7.15.33;7.T.V.18=7.15.18;G(D.1g(7.T,"18")=="2F")7.T.V.18="3I"}G(7.15.1M)7.T.V.18="2F";G(7.15.1M||7.15.1N)R(J p 1n 7.15.45)D.1K(7.T.V,p,7.15.3Z[p])}G(b)7.15.1J.1k(7.T);I Q}N{J n=t-7.5V;7.4N=n/7.15.2u;7.2S=D.41[7.15.41||(D.41.5P?"5P":"73")](7.4N,n,0,1,7.15.2u);7.1z=7.2b+((7.3l-7.2b)*7.2S);7.4D()}I M}};D.1l(D.28,{5K:{9l:9j,9i:7e,74:9g},2Y:{2e:H(a){a.T.2e=a.1z},2c:H(a){a.T.2c=a.1z},1y:H(a){D.1K(a.T.V,"1y",a.1z)},4w:H(a){a.T.V[a.1i]=a.1z+a.2M}}});D.17.2i=H(){J b=0,1S=0,T=7[0],3q;G(T)ao(D.14){J d=T.1d,4a=T,1s=T.1s,1Q=T.2z,5U=2k&&3r(5B)<9c&&!/9a/i.11(v),1g=D.2a,3c=1g(T,"30")=="3c";G(T.7y){J c=T.7y();1e(c.1A+29.2f(1Q.1C.2e,1Q.1c.2e),c.1S+29.2f(1Q.1C.2c,1Q.1c.2c));1e(-1Q.1C.6b,-1Q.1C.6a)}N{1e(T.5X,T.5W);1B(1s){1e(1s.5X,1s.5W);G(42&&!/^t(98|d|h)$/i.11(1s.2j)||2k&&!5U)2C(1s);G(!3c&&1g(1s,"30")=="3c")3c=M;4a=/^1c$/i.11(1s.2j)?4a:1s;1s=1s.1s}1B(d&&d.2j&&!/^1c|2K$/i.11(d.2j)){G(!/^96|1T.*$/i.11(1g(d,"18")))1e(-d.2e,-d.2c);G(42&&1g(d,"33")!="4j")2C(d);d=d.1d}G((5U&&(3c||1g(4a,"30")=="5x"))||(42&&1g(4a,"30")!="5x"))1e(-1Q.1c.5X,-1Q.1c.5W);G(3c)1e(29.2f(1Q.1C.2e,1Q.1c.2e),29.2f(1Q.1C.2c,1Q.1c.2c))}3q={1S:1S,1A:b}}H 2C(a){1e(D.2a(a,"6V",M),D.2a(a,"6U",M))}H 1e(l,t){b+=3r(l,10)||0;1S+=3r(t,10)||0}I 3q};D.17.1l({30:H(){J a=0,1S=0,3q;G(7[0]){J b=7.1s(),2i=7.2i(),4c=/^1c|2K$/i.11(b[0].2j)?{1S:0,1A:0}:b.2i();2i.1S-=25(7,\'94\');2i.1A-=25(7,\'aF\');4c.1S+=25(b,\'6U\');4c.1A+=25(b,\'6V\');3q={1S:2i.1S-4c.1S,1A:2i.1A-4c.1A}}I 3q},1s:H(){J a=7[0].1s;1B(a&&(!/^1c|2K$/i.11(a.2j)&&D.1g(a,\'30\')==\'93\'))a=a.1s;I D(a)}});D.P([\'5e\',\'5G\'],H(i,b){J c=\'4y\'+b;D.17[c]=H(a){G(!7[0])I;I a!=12?7.P(H(){7==1b||7==S?1b.92(!i?a:D(1b).2e(),i?a:D(1b).2c()):7[c]=a}):7[0]==1b||7[0]==S?46[i?\'aI\':\'aJ\']||D.71&&S.1C[c]||S.1c[c]:7[0][c]}});D.P(["6N","4b"],H(i,b){J c=i?"5e":"5G",4f=i?"6k":"6i";D.17["5s"+b]=H(){I 7[b.3y()]()+25(7,"57"+c)+25(7,"57"+4f)};D.17["90"+b]=H(a){I 7["5s"+b]()+25(7,"2C"+c+"4b")+25(7,"2C"+4f+"4b")+(a?25(7,"6S"+c)+25(7,"6S"+4f):0)}})})();',62,669,'|||||||this|||||||||||||||||||||||||||||||||||if|function|return|var|length|data|true|else|type|each|false|for|document|elem|null|style|event||nodeName|||test|undefined||browser|options|nodeType|fn|display|arguments|url|window|body|parentNode|add|msie|css|indexOf|prop|typeof|call|extend|script|in|replace|push|constructor|text|offsetParent|cur|status|div|apply|firstChild|opacity|now|left|while|documentElement|isFunction|filter|className|hidden|handle|match|complete|attr|ret|hide|show|dataType|trigger|doc|split|top|table|try|catch|success|break|cache|height||remove|tbody|string|guid|num|global|ready|fx|Math|curCSS|start|scrollTop|makeArray|scrollLeft|max|animate|width|offset|tagName|safari|map|toggle||done|Array|find|toUpperCase|button|special|duration|id|copy|value|handler|ownerDocument|select|new|border|exec|stack|none|opera|nextSibling|pushStack|target|html|inArray|unit|xml|bind|GET|isReady|merge|pos|timeout|delete|one|selected|px|step|jsre|position|async|preventDefault|overflow|name|which|queue|removeChild|namespace|insertBefore|nth|removeData|fixed|parseFloat|error|readyState|multiFilter|createElement|rl|re|trim|end|_|param|first|get|results|parseInt|slice|childNodes|encodeURIComponent|append|events|elems|toLowerCase|json|readyList|setTimeout|grep|mouseenter|color|is|custom|getElementsByTagName|block|stopPropagation|addEventListener|callee|proxy|mouseleave|timers|defaultView|password|disabled|last|has|appendChild|form|domManip|props|ajax|orig|set|easing|mozilla|load|prototype|curAnim|self|charCode|timerId|object|offsetChild|Width|parentOffset|src|unbind|br|currentStyle|clean|float|visible|relatedTarget|previousSibling|handlers|isXMLDoc|on|setup|nodeIndex|unique|shift|javascript|child|RegExp|_default|deep|scroll|lastModified|teardown|setRequestHeader|timeStamp|update|empty|tr|getAttribute|innerHTML|setInterval|checked|fromElement|Number|jQuery|state|active|jsonp|accepts|application|dir|input|responseText|click|styleSheets|unload|not|lastToggle|outline|mouseout|getPropertyValue|mouseover|getComputedStyle|bindReady|String|padding|pageX|metaKey|keyCode|getWH|andSelf|clientX|Left|all|visibility|container|index|init|triggered|removeAttribute|classFilter|prevObject|submit|file|after|windowData|inner|client|globalEval|sibling|jquery|absolute|clone|wrapAll|dequeue|version|triggerHandler|oldblock|ctrlKey|createTextNode|Top|handleError|getResponseHeader|parsererror|speeds|checkbox|old|00|radio|swing|href|Modified|ifModified|lastChild|safari2|startTime|offsetTop|offsetLeft|username|location|ajaxSettings|getElementById|isSimple|values|selectedIndex|runtimeStyle|rsLeft|_load|loaded|DOMContentLoaded|clientTop|clientLeft|toElement|srcElement|val|pageY|POST|unshift|Bottom|clientY|Right|fix|exclusive|detachEvent|cloneNode|removeEventListener|swap|toString|join|attachEvent|eval|substr|head|parse|textarea|reset|image|zoom|odd|even|before|prepend|exclude|expr|quickClass|quickID|uuid|quickChild|continue|Height|textContent|appendTo|contents|open|margin|evalScript|borderTopWidth|borderLeftWidth|parent|httpData|setArray|CSS1Compat|compatMode|boxModel|cssFloat|linear|def|webkit|nodeValue|speed|_toggle|eq|100|replaceWith|304|concat|200|alpha|Last|httpNotModified|getAttributeNode|httpSuccess|clearInterval|abort|beforeSend|splice|styleFloat|throw|colgroup|XMLHttpRequest|ActiveXObject|scriptCharset|callback|fieldset|multiple|processData|getBoundingClientRect|contentType|link|ajaxSend|ajaxSuccess|ajaxError|col|ajaxComplete|ajaxStop|ajaxStart|serializeArray|notmodified|keypress|keydown|change|mouseup|mousedown|dblclick|focus|blur|stylesheet|hasClass|rel|doScroll|black|hover|solid|cancelBubble|returnValue|wheelDelta|view|round|shiftKey|resize|screenY|screenX|relatedNode|mousemove|prevValue|originalTarget|offsetHeight|keyup|newValue|offsetWidth|eventPhase|detail|currentTarget|cancelable|bubbles|attrName|attrChange|altKey|originalEvent|charAt|0n|substring|animated|header|noConflict|line|enabled|innerText|contains|only|weight|font|gt|lt|uFFFF|u0128|size|417|Boolean|Date|toggleClass|removeClass|addClass|removeAttr|replaceAll|insertAfter|prependTo|wrap|contentWindow|contentDocument|iframe|children|siblings|prevAll|wrapInner|nextAll|outer|prev|scrollTo|static|marginTop|next|inline|parents|able|cellSpacing|adobeair|cellspacing|522|maxLength|maxlength|readOnly|400|readonly|fast|600|class|slow|1px|htmlFor|reverse|10000|PI|cos|compatible|Function|setData|ie|ra|it|rv|getData|userAgent|navigator|fadeTo|fadeIn|slideToggle|slideUp|slideDown|ig|responseXML|content|1223|NaN|fadeOut|300|protocol|send|setAttribute|option|dataFilter|cssText|changed|be|Accept|stop|With|Requested|Object|can|GMT|property|1970|Jan|01|Thu|Since|If|Type|Content|XMLHTTP|th|Microsoft|td|onreadystatechange|onload|cap|charset|colg|host|tfoot|specified|with|1_|thead|leg|plain|attributes|opt|embed|urlencoded|www|area|hr|ajaxSetup|meta|post|getJSON|getScript|marginLeft|img|elements|pageYOffset|pageXOffset|abbr|serialize|pixelLeft'.split('|'),0,{})) \ No newline at end of file diff --git a/jquery/jquery.ui.draggable.js b/jquery/jquery.ui.draggable.js deleted file mode 100644 index 68decbd..0000000 --- a/jquery/jquery.ui.draggable.js +++ /dev/null @@ -1 +0,0 @@ -eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(c(A){A.2I("g.i",A.2c({},A.g.2L,{2G:c(){a B=4.9;7(B.d=="24"&&!(/(l|V|13)/).1h(4.j.e("m"))){4.j.e("m","l")}4.j.1M("g-i");(B.1O&&4.j.1M("g-i-1O"));4.2M()},2n:c(F){a H=4.9;7(4.d||H.1O||A(F.2a).2A(".g-2F-1G")){n 15}a C=!4.9.1G||!A(4.9.1G,4.j).1C?v:15;A(4.9.1G,4.j).2C("*").2E().1d(c(){7(4==F.2a){C=v}});7(!C){n 15}7(A.g.1b){A.g.1b.2Z=4}4.d=A.2P(H.d)?A(H.d.30(4.j[0],[F])):(H.d=="28"?4.j.28():4.j);7(!4.d.31("12").1C){4.d.1u((H.1u=="k"?4.j[0].1t:H.1u))}7(4.d[0]!=4.j[0]&&!(/(13|V)/).1h(4.d.e("m"))){4.d.e("m","V")}4.S={6:(o(4.j.e("33"),10)||0),5:(o(4.j.e("2S"),10)||0)};4.z=4.d.e("m");4.8=4.j.8();4.8={5:4.8.5-4.S.5,6:4.8.6-4.S.6};4.8.r={6:F.1r-4.8.6,5:F.1s-4.8.5};4.p=4.d.p();a B=4.p.8();7(4.p[0]==f.12&&A.2V.2Y){B={5:0,6:0}}4.8.k={5:B.5+(o(4.p.e("1N"),10)||0),6:B.6+(o(4.p.e("1T"),10)||0)};a E=4.j.m();4.8.l=4.z=="l"?{5:E.5-(o(4.d.e("5"),10)||0)+4.p[0].q,6:E.6-(o(4.d.e("6"),10)||0)+4.p[0].s}:{5:0,6:0};4.1g=4.1S(F);4.w={t:4.d.26(),u:4.d.1Q()};7(H.16){7(H.16.6!=1A){4.8.r.6=H.16.6+4.S.6}7(H.16.2s!=1A){4.8.r.6=4.w.t-H.16.2s+4.S.6}7(H.16.5!=1A){4.8.r.5=H.16.5+4.S.5}7(H.16.2k!=1A){4.8.r.5=4.w.u-H.16.2k+4.S.5}}7(H.h){7(H.h=="k"){H.h=4.d[0].1t}7(H.h=="f"||H.h=="1o"){4.h=[0-4.8.l.6-4.8.k.6,0-4.8.l.5-4.8.k.5,A(H.h=="f"?f:1o).t()-4.8.l.6-4.8.k.6-4.w.t-4.S.6-(o(4.j.e("2i"),10)||0),(A(H.h=="f"?f:1o).u()||f.12.1t.2u)-4.8.l.5-4.8.k.5-4.w.u-4.S.5-(o(4.j.e("2h"),10)||0)]}7(!(/^(f|1o|k)$/).1h(H.h)){a D=A(H.h)[0];a G=A(H.h).8();4.h=[G.6+(o(A(D).e("1T"),10)||0)-4.8.l.6-4.8.k.6,G.5+(o(A(D).e("1N"),10)||0)-4.8.l.5-4.8.k.5,G.6+T.2g(D.2U,D.1U)-(o(A(D).e("1T"),10)||0)-4.8.l.6-4.8.k.6-4.w.t-4.S.6-(o(4.j.e("2i"),10)||0),G.5+T.2g(D.2u,D.1V)-(o(A(D).e("1N"),10)||0)-4.8.l.5-4.8.k.5-4.w.u-4.S.5-(o(4.j.e("2h"),10)||0)]}}4.19("18",F);4.w={t:4.d.26(),u:4.d.1Q()};7(A.g.1b&&!H.2m){A.g.1b.2Q(4,F)}4.d.1M("g-i-2p");4.2d(F);n v},X:c(C,D){7(!D){D=4.m}a B=C=="V"?1:-1;n{5:(D.5+4.8.l.5*B+4.8.k.5*B-(4.z=="13"||(4.z=="V"&&4.p[0]==f.12)?0:4.p[0].q)*B+(4.z=="13"?A(f).q():0)*B+4.S.5*B),6:(D.6+4.8.l.6*B+4.8.k.6*B-(4.z=="13"||(4.z=="V"&&4.p[0]==f.12)?0:4.p[0].s)*B+(4.z=="13"?A(f).s():0)*B+4.S.6*B)}},1S:c(E){a F=4.9;a B={5:(E.1s-4.8.r.5-4.8.l.5-4.8.k.5+(4.z=="13"||(4.z=="V"&&4.p[0]==f.12)?0:4.p[0].q)-(4.z=="13"?A(f).q():0)),6:(E.1r-4.8.r.6-4.8.l.6-4.8.k.6+(4.z=="13"||(4.z=="V"&&4.p[0]==f.12)?0:4.p[0].s)-(4.z=="13"?A(f).s():0))};7(!4.1g){n B}7(4.h){7(B.6<4.h[0]){B.6=4.h[0]}7(B.5<4.h[1]){B.5=4.h[1]}7(B.6>4.h[2]){B.6=4.h[2]}7(B.5>4.h[3]){B.5=4.h[3]}}7(F.1a){a D=4.1g.5+T.2l((B.5-4.1g.5)/F.1a[1])*F.1a[1];B.5=4.h?(!(D<4.h[1]||D>4.h[3])?D:(!(D<4.h[1])?D-F.1a[1]:D+F.1a[1])):D;a C=4.1g.6+T.2l((B.6-4.1g.6)/F.1a[0])*F.1a[0];B.6=4.h?(!(C<4.h[0]||C>4.h[2])?C:(!(C<4.h[0])?C-F.1a[0]:C+F.1a[0])):C}n B},2d:c(B){4.m=4.1S(B);4.1j=4.X("V");4.m=4.19("1c",B)||4.m;7(!4.9.1w||4.9.1w!="y"){4.d[0].1x.6=4.m.6+"1J"}7(!4.9.1w||4.9.1w!="x"){4.d[0].1x.5=4.m.5+"1J"}7(A.g.1b){A.g.1b.1c(4,B)}n 15},2b:c(C){a D=15;7(A.g.1b&&!4.9.2m){a D=A.g.1b.34(4,C)}7((4.9.1m=="2N"&&!D)||(4.9.1m=="2D"&&D)||4.9.1m===v){a B=4;A(4.d).2B(4.1g,o(4.9.1m,10)||2O,c(){B.19("1k",C);B.22()})}1y{4.19("1k",C);4.22()}n 15},22:c(){4.d.2o("g-i-2p");7(4.9.d!="24"&&!4.1z){4.d.2e()}4.d=2K;4.1z=15},2H:{},23:c(B){n{d:4.d,m:4.m,1P:4.1j,9:4.9}},19:c(C,B){A.g.17.2t(4,C,[B,4.23()]);7(C=="1c"){4.1j=4.X("V")}n 4.j.2z(C=="1c"?C:"1c"+C,[B,4.23()],4.9[C])},2T:c(){7(!4.j.U("i")){n}4.j.3d("i").3x(".i").2o("g-i");4.35()}}));A.2c(A.g.i,{3l:{1u:"k",1w:15,3r:":3p",3q:0,3n:1,d:"24"}});A.g.17.1e("i","1p",{18:c(D,C){a B=A("12");7(B.e("1p")){C.9.21=B.e("1p")}B.e("1p",C.9.1p)},1k:c(C,B){7(B.9.21){A("12").e("1p",B.9.21)}}});A.g.17.1e("i","Z",{18:c(D,C){a B=A(C.d);7(B.e("Z")){C.9.1W=B.e("Z")}B.e("Z",C.9.Z)},1k:c(C,B){7(B.9.1W){A(B.d).e("Z",B.9.1W)}}});A.g.17.1e("i","1l",{18:c(D,C){a B=A(C.d);7(B.e("1l")){C.9.1X=B.e("1l")}B.e("1l",C.9.1l)},1k:c(C,B){7(B.9.1X){A(B.d).e("1l",B.9.1X)}}});A.g.17.1e("i","1K",{18:c(C,B){A(B.9.1K===v?"3v":B.9.1K).1d(c(){A(\'<1Y 3y="g-i-1K" 1x="3t: #3u;">\').e({t:4.1U+"1J",u:4.1V+"1J",m:"V",1l:"0.3a",Z:3k}).e(A(4).8()).1u("12")})},1k:c(C,B){A("1Y.37").1d(c(){4.1t.3c(4)})}});A.g.17.1e("i","1v",{18:c(D,C){a E=C.9;a B=A(4).U("i");E.14=E.14||20;E.11=E.11||20;B.W=c(F){2f{7(/1D|1v/.1h(F.e("1L"))||(/1D|1v/).1h(F.e("1L-y"))){n F}F=F.k()}2j(F[0].1t);n A(f)}(4);B.Y=c(F){2f{7(/1D|1v/.1h(F.e("1L"))||(/1D|1v/).1h(F.e("1L-x"))){n F}F=F.k()}2j(F[0].1t);n A(f)}(4);7(B.W[0]!=f&&B.W[0].1F!="1E"){B.1Z=B.W.8()}7(B.Y[0]!=f&&B.Y[0].1F!="1E"){B.25=B.Y.8()}},1c:c(D,C){a E=C.9;a B=A(4).U("i");7(B.W[0]!=f&&B.W[0].1F!="1E"){7((B.1Z.5+B.W[0].1V)-D.1s=0;H--){a E=I.1i[H].6,B=E+I.1i[H].t,R=I.1i[H].5,M=R+I.1i[H].u;7(!((E-L35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(3(C){C.a={1N:{19:3(E,F,H){6 G=C.a[E].j;1d(6 D 1O H){G.w[D]=G.w[D]||[];G.w[D].1P([F,H[D]])}},1b:3(D,F,E){6 H=D.w[F];5(!H){4}1d(6 G=0;G\').1i(D).f({1J:"1K",X:"-1f",1Q:"-1f",1R:"1X"}).1Y("13");C.a.n[D]=!!((!(/1Z|1W/).g(E.f("1V"))||(/^[1-9]/).g(E.f("1S"))||(/^[1-9]/).g(E.f("1G"))||!(/14/).g(E.f("1U"))||!(/20|1C\\(0, 0, 0, 0\\)/).g(E.f("1y"))));1w{C("13").1a(0).1z(E.1a(0))}1F(F){}4 C.a.n[D]},1A:3(D){D.l="1g";D.17=3(){4 7};5(D.r){D.r.15="14"}},1D:3(D){D.l="1B";D.17=3(){4 d};5(D.r){D.r.15=""}},1E:3(G,E){6 D=/X/.g(E||"X")?"23":"21",F=7;5(G[D]>0){4 d}G[D]=1;F=G[D]>0?d:7;G[D]=0;4 F}};6 B=C.P.p;C.P.p=3(){C("*",2).19(2).2m("p");4 B.q(2,1c)};3 A(E,F,G){6 D=C[E][F].2j||[];D=(R D=="N"?D.V(/,?\\s+/):D);4(C.2i(G,D)!=-1)}C.k=3(E,D){6 F=E.V(".")[0];E=E.V(".")[1];C.P[E]=3(J){6 H=(R J=="N"),I=2n.j.2o.1b(1c,1);5(H&&A(F,E,J)){6 G=C.M(2[0],E);4(G?G[J].q(G,I):2p)}4 2.2g(3(){6 K=C.M(2,E);5(H&&K&&C.2f(K[J])){K[J].q(K,I)}27{5(!H){C.M(2,E,24 C[F][E](2,J))}}})};C[F][E]=3(I,H){6 G=2;2.e=E;2.16=F+"-"+E;2.b=C.1e({},C.k.u,C[F][E].u,H);2.8=C(I).h("i."+E,3(L,J,K){4 G.i(J,K)}).h("O."+E,3(K,J){4 G.O(J)}).h("p",3(){4 G.1h()});2.18()};C[F][E].j=C.1e({},C.k.j,D)};C.k.j={18:3(){},1h:3(){2.8.2q(2.e)},O:3(D){4 2.b[D]},i:3(D,E){2.b[D]=E;5(D=="o"){2.8[E?"1i":"29"](2.16+"-o")}},22:3(){2.i("o",7)},25:3(){2.i("o",d)}};C.k.u={o:7};C.a.1n={2r:3(){6 D=2;2.8.h("2h."+2.e,3(E){4 D.1t(E)});5(C.z.y){2.1v=2.8.x("l");2.8.x("l","1g")}2.2l=7},2k:3(){2.8.S("."+2.e);(C.z.y&&2.8.x("l",2.1v))},1t:3(F){(2.c&&2.m(F));2.v=F;6 E=2,G=(F.26==1),D=(R 2.b.Y=="N"?C(F.28).2c(2.b.Y):7);5(!G||D||!2.1m(F)){4 d}2.t=!2.b.Q;5(!2.t){2.2b=2a(3(){E.t=d},2.b.Q)}5(2.T(F)&&2.U(F)){2.c=(2.Z(F)!==7);5(!2.c){F.2d();4 d}}2.10=3(H){4 E.1o(H)};2.12=3(H){4 E.m(H)};C(1q).h("1j."+2.e,2.10).h("1u."+2.e,2.12);4 7},1o:3(D){5(C.z.y&&!D.2s){4 2.m(D)}5(2.c){2.11(D);4 7}5(2.T(D)&&2.U(D)){2.c=(2.Z(2.v,D)!==7);(2.c?2.11(D):2.m(D))}4!2.c},m:3(D){C(1q).S("1j."+2.e,2.10).S("1u."+2.e,2.12);5(2.c){2.c=7;2.1k(D)}4 7},T:3(D){4(W.1T(W.1s(2.v.1r-D.1r),W.1s(2.v.1p-D.1p))>=2.b.1l)},U:3(D){4 2.t},Z:3(D){},11:3(D){},1k:3(D){},1m:3(D){4 d}};C.a.1n.u={Y:1x,1l:1,Q:0}})(2e);',62,153,'||this|function|return|if|var|false|element||ui|options|_mouseStarted|true|widgetName|css|test|bind|setData|prototype|widget|unselectable|mouseUp|cssCache|disabled|remove|apply|style||_mouseDelayMet|defaults|_mouseDownEvent|plugins|attr|msie|browser|||||||||||||data|string|getData|fn|delay|typeof|unbind|mouseDistanceMet|mouseDelayMet|split|Math|top|cancel|mouseStart|_mouseMoveDelegate|mouseDrag|_mouseUpDelegate|body|none|MozUserSelect|widgetBaseClass|onselectstart|init|add|get|call|arguments|for|extend|5000px|on|destroy|addClass|mousemove|mouseStop|distance|mouseCapture|mouse|mouseMove|pageY|document|pageX|abs|mouseDown|mouseup|_mouseUnselectable|try|null|backgroundColor|removeChild|disableSelection|off|rgba|enableSelection|hasScroll|catch|width|class|gen|position|absolute|div|length|plugin|in|push|left|display|height|max|backgroundImage|cursor|default|block|appendTo|auto|transparent|scrollLeft|enable|scrollTop|new|disable|which|else|target|removeClass|setTimeout|_mouseDelayTimer|is|preventDefault|jQuery|isFunction|each|mousedown|inArray|getter|mouseDestroy|started|trigger|Array|slice|undefined|removeData|mouseInit|button'.split('|'),0,{})) diff --git a/jquery/jquery.ui.resizable.js b/jquery/jquery.ui.resizable.js deleted file mode 100644 index 1c53ce3..0000000 --- a/jquery/jquery.ui.resizable.js +++ /dev/null @@ -1 +0,0 @@ -eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(h(A){A.3n("b.d",A.17(A.b.3w,{3u:h(){f M=4,N=4.m;f Q=4.j.c("g");4.2p=4.j;4.j.1j("b-d").c({g:/1W/.q(Q)?"1i":Q});A.17(N,{1J:!!(N.19),l:N.l||N.13||N.1q?N.l||"3p":1l,1k:N.1k===1x?"b-d-1N-11":N.1k});f H="2A 3a #3t";N.3h={"b-d":{22:"2H"},"b-d-11":{g:"1z",3j:"#3g",3v:"0.2A"},"b-d-n":{t:"n-o",8:"14",5:"p",1t:"p",2C:H},"b-d-s":{t:"s-o",8:"14",5:"p",1t:"p",2z:H},"b-d-e":{t:"e-o",6:"14",9:"p",1s:"p",2E:H},"b-d-w":{t:"w-o",6:"14",9:"p",1s:"p",2F:H},"b-d-y":{t:"y-o",6:"14",8:"14",2E:H,2z:H},"b-d-z":{t:"z-o",6:"14",8:"14",2z:H,2F:H},"b-d-Z":{t:"Z-o",6:"14",8:"14",2E:H,2C:H},"b-d-x":{t:"x-o",6:"14",8:"14",2F:H,2C:H}};N.2g={"b-d-11":{3j:"#3g",3G:"2A 3a #3F",8:"3c",6:"3c"},"b-d-n":{t:"n-o",9:"p",5:"45%"},"b-d-s":{t:"s-o",1s:"p",5:"45%"},"b-d-e":{t:"e-o",1t:"p",9:"45%"},"b-d-w":{t:"w-o",5:"p",9:"45%"},"b-d-y":{t:"y-o",1t:"p",1s:"p"},"b-d-z":{t:"z-o",5:"p",1s:"p"},"b-d-x":{t:"x-o",5:"p",9:"p"},"b-d-Z":{t:"Z-o",1t:"p",9:"p"}};N.2s=4.j[0].2B;a(N.2s.2l(/3L|29|2a|2N|2K|3D/i)){f B=4.j;a(/1i/.q(B.c("g"))&&A.1e.2Q){B.c({g:"1i",9:"1T",5:"1T"})}B.3E(A(\'<1B 3l="b-2n" 2t="2x: 2h;">\').c({g:B.c("g"),6:B.1u(),8:B.1v(),9:B.c("9"),5:B.c("5")}));f J=4.j;4.j=4.j.1G();4.j.12("d",4);4.j.c({2c:J.c("2c"),2b:J.c("2b"),2i:J.c("2i"),2e:J.c("2e")});J.c({2c:0,2b:0,2i:0,2e:0});a(A.1e.3C&&N.3b){J.c("o","36")}N.1g=J.c({g:"1W",3B:1,22:"2H"});4.j.c({2w:J.c("2w")});4.1Q()}a(!N.u){N.u=!A(".b-d-11",4.j).1H?"e,s,y":{n:".b-d-n",e:".b-d-e",s:".b-d-s",w:".b-d-w",y:".b-d-y",z:".b-d-z",Z:".b-d-Z",x:".b-d-x"}}a(N.u.2P==2R){N.1D=N.1D||3y;a(N.u=="3z"){N.u="n,e,s,w,y,z,Z,x"}f O=N.u.3A(",");N.u={};f G={11:"g: 1z; 22: 36; 2x:2h;",n:"9: 1o; 6:28%;",e:"1t: 1o; 8:28%;",s:"1s: 1o; 6:28%;",w:"5: 1o; 8:28%;",y:"1s: 1o; 1t: p;",z:"1s: 1o; 5: p;",Z:"9: 1o; 1t: p;",x:"9: 1o; 5: p;"};2m(f R=0;R\'].2o("")).c(K);N.u[S]=".b-d-"+S;4.j.35(E.c(C?T:{}).c(N.1k?D:{}).1j(N.1k?"b-d-1N-11":"").1j(N.1k))}a(N.1k){4.j.1j("b-d-1N").c(!A.b.c("b-d-1N")?{}:{})}}4.2V=h(Y){Y=Y||4.j;2m(f V 2L N.u){a(N.u[V].2P==2R){N.u[V]=A(N.u[V],4.j).2M()}a(N.2u){N.u[V].c({34:0})}a(4.j.2q(".b-2n")&&N.2s.2l(/29|2a|2N|2K/i)){f W=A(N.u[V],4.j),X=0;X=/z|Z|x|y|n|s/.q(V)?W.1v():W.1u();f U=["3O",/Z|x|n/.q(V)?"3M":/y|z|s/.q(V)?"3x":/^e$/.q(V)?"3I":"3J"].2o("");a(!N.2u){Y.c(U,X)}4.1Q()}a(!A(N.u[V]).1H){3K}}};4.2V(4.j);N.1y=A(".b-d-11",M.j);a(N.1L){N.1y.1E(h(U,V){A.b.1L(V)})}N.1y.3P(h(){a(!N.24){a(4.37){f U=4.37.2l(/b-d-(y|z|Z|x|n|e|s|w)/i)}M.1w=N.1w=U&&U[1]?U[1]:"y"}});a(N.3d){N.1y.38();A(M.j).1j("b-d-2k").3s(h(){A(4).3e("b-d-2k");N.1y.2M()},h(){a(!N.24){A(4).1j("b-d-2k");N.1y.38()}})}4.3r()},3q:{},b:h(){r{2p:4.2p,j:4.j,l:4.l,g:4.g,k:4.k,m:4.m,16:4.16,15:4.15}},1U:h(C,B){A.b.1F.3o(4,C,[B,4.b()]);a(C!="o"){4.j.33(["o",C].2o(""),[B,4.b()],4.m[C])}},3H:h(){f D=4.j,C=D.3V(".b-d").1d(0);4.4p();f B=h(E){A(E).3e("b-d b-d-3m").3f("d").4q(".d").4n(".b-d-11").2v()};B(D);a(D.2q(".b-2n")&&C){D.1G().35(A(C).c({g:D.c("g"),6:D.1u(),8:D.1v(),9:D.c("9"),5:D.c("5")})).4g().2v();B(C)}},4f:h(K){a(4.m.3m){r 1b}f J=1b;2m(f H 2L 4.m.u){a(A(4.m.u[H])[0]==K.4i){J=1x}}a(!J){r 1b}f C=4.m,B=4.j.g(),D=4.j,I=h(O){r v(O,10)||0},G=A.1e.20&&A.1e.2d<7;C.24=1x;C.2r={9:A(1n).4j(),5:A(1n).4h()};a(D.2q(".b-4k")||(/1z/).q(D.c("g"))){f M=A.1e.20&&!C.2G&&(/1z/).q(D.c("g"))&&!(/1i/).q(D.1G().c("g"));f L=M?C.2r.9:0,F=M?C.2r.5:0;D.c({g:"1z",9:(B.9+L),5:(B.5+F)})}a(A.1e.2Q&&/1i/.q(D.c("g"))){D.c({g:"1i",9:"1T",5:"1T"})}4.2Z();f N=I(4.l.c("5")),E=I(4.l.c("9"));4.1h=4.l.1h();4.g={5:N,9:E};4.k=C.l||G?{6:D.1u(),8:D.1v()}:{6:D.6(),8:D.8()};4.16=C.l||G?{6:D.1u(),8:D.1v()}:{6:D.6(),8:D.8()};4.15={5:N,9:E};4.1p={6:D.1u()-D.6(),8:D.1v()-D.8()};4.2O={5:K.2U,9:K.2X};C.19=(1R C.19=="2W")?C.19:((4.16.8/4.16.6)||1);a(C.2I){A("26").c("t",4.1w+"-o")}4.1U("1O",K);r 1x},3Q:h(I){f D=4.l,C=4.m,J={},M=4,F=4.2O,K=4.1w;f N=(I.2U-F.5)||0,L=(I.2X-F.9)||0;f E=4.1c[K];a(!E){r 1b}f H=E.1m(4,[I,N,L]),G=A.1e.20&&A.1e.2d<7,B=4.1p;a(C.1J||I.1Y){H=4.32(H,I)}H=4.31(H,I);4.1U("o",I);D.c({9:4.g.9+"1r",5:4.g.5+"1r",6:4.k.6+"1r",8:4.k.8+"1r"});a(!C.l&&C.1g){4.1Q()}4.2j(H);4.j.33("o",[I,4.b()],4.m.o);r 1b},4l:h(I){4.m.24=1b;f E=4.m,H=h(M){r v(M,10)||0},K=4;a(E.l){f D=E.1g,B=D&&(/29/i).q(D.1d(0).2B),C=B&&A.b.1X(D.1d(0),"5")?0:K.1p.8,G=B?0:K.1p.6;f L={6:(K.k.6-G),8:(K.k.8-C)},F=(v(K.j.c("5"),10)+(K.g.5-K.15.5))||1l,J=(v(K.j.c("9"),10)+(K.g.9-K.15.9))||1l;a(!E.1q){4.j.c(A.17(L,{9:J,5:F}))}a(E.l&&!E.1q){4.1Q()}}a(E.2I){A("26").c("t","1T")}4.1U("1P",I);a(E.l){4.l.2v()}r 1b},2j:h(B){f C=4.m;4.1h=4.l.1h();a(B.5){4.g.5=B.5}a(B.9){4.g.9=B.9}a(B.8){4.k.8=B.8}a(B.6){4.k.6=B.6}},32:h(D,E){f F=4.m,G=4.g,C=4.k,B=4.1w;a(D.8){D.6=(C.8/F.19)}1a{a(D.6){D.8=(C.6*F.19)}}a(B=="z"){D.5=G.5+(C.6-D.6);D.9=1l}a(B=="x"){D.9=G.9+(C.8-D.8);D.5=G.5+(C.6-D.6)}r D},31:h(H,I){f F=4.l,E=4.m,N=E.1J||I.1Y,M=4.1w,P=H.6&&E.1V&&E.1VH.6,O=H.8&&E.1S&&E.1S>H.8;a(D){H.6=E.1M}a(O){H.8=E.1S}a(P){H.6=E.1V}a(J){H.8=E.1Z}f C=4.15.5+4.16.6,L=4.g.9+4.k.8;f G=/z|x|w/.q(M),B=/x|Z|n/.q(M);a(D&&G){H.5=C-E.1M}a(P&&G){H.5=C-E.1V}a(O&&B){H.9=L-E.1S}a(J&&B){H.9=L-E.1Z}f K=!H.6&&!H.8;a(K&&!H.5&&H.9){H.9=1l}1a{a(K&&!H.9&&H.5){H.5=1l}}r H},1Q:h(){f F=4.m;a(!F.1g){r}f D=F.1g,C=4.l||4.j;a(!F.1C){f B=[D.c("4o"),D.c("4r"),D.c("4s"),D.c("4m")],E=[D.c("4d"),D.c("3X"),D.c("3Y"),D.c("3Z")];F.1C=A.40(B,h(G,I){f H=v(G,10)||0,J=v(E[I],10)||0;r H+J})}D.c({8:(C.8()-F.1C[0]-F.1C[2])+"1r",6:(C.6()-F.1C[1]-F.1C[3])+"1r"})},2Z:h(){f C=4.j,F=4.m;4.2f=C.1h();a(F.l){4.l=4.l||A(\'<1B 2t="2x:2h;">\');f B=A.1e.20&&A.1e.2d<7,D=(B?1:0),E=(B?2:-1);4.l.1j(F.l).c({6:C.1u()+E,8:C.1v()+E,g:"1z",5:4.2f.5-D+"1r",9:4.2f.9-D+"1r",1D:++F.1D});4.l.39("26");a(F.1L){A.b.1L(4.l.1d(0))}}1a{4.l=C}},1c:{e:h(D,C,B){r{6:4.16.6+C}},w:h(F,C,B){f G=4.m,D=4.16,E=4.15;r{5:E.5+C,6:D.6-C}},n:h(F,C,B){f G=4.m,D=4.16,E=4.15;r{9:E.9+B,8:D.8-B}},s:h(D,C,B){r{8:4.16.8+B}},y:h(D,C,B){r A.17(4.1c.s.1m(4,27),4.1c.e.1m(4,[D,C,B]))},z:h(D,C,B){r A.17(4.1c.s.1m(4,27),4.1c.w.1m(4,[D,C,B]))},Z:h(D,C,B){r A.17(4.1c.n.1m(4,27),4.1c.e.1m(4,[D,C,B]))},x:h(D,C,B){r A.17(4.1c.n.1m(4,27),4.1c.w.1m(4,[D,C,B]))}}}));A.17(A.b.d,{3S:{3T:":2a",3U:1,41:0,3b:1x,2u:1b,1M:10,1S:10,19:1b,1L:1x,2I:1x,3d:1b,1k:1b}});A.b.1F.1K("d","2G",{1O:h(I,K){f E=K.m,M=A(4).12("d"),G=M.j;f C=E.2G,F=(C 49 A)?C.1d(0):(/1G/.q(C))?G.1G().1d(0):C;a(!F){r}M.2D=A(F);a(/1n/.q(C)||C==1n){M.1I={5:0,9:0};M.23={5:0,9:0};M.1A={j:A(1n),5:0,9:0,6:A(1n).6(),8:A(1n).8()||1n.26.43.3k}}1a{M.1I=A(F).1h();M.23=A(F).g();M.21={8:A(F).30(),6:A(F).2T()};f J=M.1I,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=E.8+B}1a{a(/^(Z)$/.q(K)){L.k.6=E.6+C;L.k.8=E.8+B;L.g.9=F.9-B}1a{a(/^(z)$/.q(K)){L.k.6=E.6+C;L.k.8=E.8+B;L.g.5=F.5-C}1a{L.k.6=E.6+C;L.k.8=E.8+B;L.g.9=F.9-B;L.g.5=F.5-C}}}}});A.b.1F.1K("d","1q",{1P:h(I,K){f F=K.m,L=A(4).12("d");f E=F.1g,B=E&&(/29/i).q(E.1d(0).2B),C=B&&A.b.1X(E.1d(0),"5")?0:L.1p.8,H=B?0:L.1p.6;f D={6:(L.k.6-H),8:(L.k.8-C)},G=(v(L.j.c("5"),10)+(L.g.5-L.15.5))||1l,J=(v(L.j.c("9"),10)+(L.g.9-L.15.9))||1l;L.j.1q(A.17(D,J&&G?{9:J,5:G}:{}),{48:F.4c||"4b",4a:F.42||"4e",3W:h(){f M={6:v(L.j.c("6"),10),8:v(L.j.c("8"),10),9:v(L.j.c("9"),10),5:v(L.j.c("5"),10)};a(E){E.c({6:M.6,8:M.8})}L.2j(M);L.1U("1q",I)}})}});A.b.1F.1K("d","13",{1O:h(E,D){f F=D.m,B=A(4).12("d"),G=F.1g,C=B.k;a(!G){B.13=B.j.2Y()}1a{B.13=G.2Y()}B.13.c({34:0.25,22:"2H",g:"1i",8:C.8,6:C.6,2w:0,5:0,9:0}).1j("b-d-13").1j(1R F.13=="47"?F.13:"");B.13.39(B.l)},o:h(D,C){f E=C.m,B=A(4).12("d"),F=E.1g;a(B.13){B.13.c({g:"1i",8:B.k.8,6:B.k.6})}},1P:h(D,C){f E=C.m,B=A(4).12("d"),F=E.1g;a(B.13&&B.l){B.l.1d(0).46(B.13.1d(0))}}});A.b.1F.1K("d","18",{1O:h(E,C){f F=C.m,B=A(4).12("d"),D=h(G){A(G).1E(h(){A(4).12("d-2y",{6:v(A(4).6(),10),8:v(A(4).8(),10),5:v(A(4).c("5"),10),9:v(A(4).c("9"),10)})})};a(1R(F.18)=="3i"){a(F.18.1H){F.18=F.18[0];D(F.18)}1a{A.1E(F.18,h(G,H){D(G)})}}1a{D(F.18)}},o:h(F,E){f G=E.m,C=A(4).12("d"),D=C.16,I=C.15;f H={8:(C.k.8-D.8)||0,6:(C.k.6-D.6)||0,9:(C.g.9-I.9)||0,5:(C.g.5-I.5)||0},B=h(J,K){A(J).1E(h(){f N=A(4).12("d-2y"),M={},L=K&&K.1H?K:["6","8","9","5"];A.1E(L||["6","8","9","5"],h(O,Q){f P=(N[Q]||0)+(H[Q]||0);a(P&&P>=0){M[Q]=P||1l}});A(4).c(M)})};a(1R(G.18)=="3i"){A.1E(G.18,h(J,K){B(J,K)})}1a{B(G.18)}},1P:h(C,B){A(4).3f("d-2y-1O")}})})(3R);',62,277,'||||this|left|width||height|top|if|ui|css|resizable||var|position|function||element|size|helper|options||resize|0px|test|return||cursor|handles|parseInt||nw|se|sw||||||||||||||||||||||||||ne||handle|data|ghost|4px|originalPosition|originalSize|extend|alsoResize|aspectRatio|else|false|_change|get|browser|grid|proportionallyResize|offset|relative|addClass|knobHandles|null|apply|document|0pt|sizeDiff|animate|px|bottom|right|outerWidth|outerHeight|axis|true|_handles|absolute|parentData|div|borderDif|zIndex|each|plugin|parent|length|containerOffset|_aspectRatio|add|disableSelection|minWidth|knob|start|stop|_proportionallyResize|typeof|minHeight|auto|propagate|maxWidth|static|hasScroll|shiftKey|maxHeight|msie|containerSize|display|containerPosition|resizing||body|arguments|100|textarea|input|marginTop|marginLeft|version|marginBottom|elementOffset|knobTheme|hidden|marginRight|_updateCache|autohide|match|for|wrapper|join|originalElement|is|documentScroll|_nodeName|style|transparent|remove|margin|overflow|alsoresize|borderBottom|1px|nodeName|borderTop|containerElement|borderRight|borderLeft|containment|block|preserveCursor|Math|button|in|show|select|originalMousePosition|constructor|opera|String|round|innerWidth|pageX|_renderAxis|number|pageY|clone|_renderProxy|innerHeight|_respectSize|_updateRatio|triggerHandler|opacity|append|none|className|hide|appendTo|solid|preventDefault|8px|autoHide|removeClass|removeData|F2F2F2|defaultTheme|object|background|scrollHeight|class|disabled|widget|call|proxy|plugins|mouseInit|hover|DEDEDE|init|fontSize|mouse|Bottom|1000|all|split|zoom|safari|img|wrap|808080|border|destroy|Right|Left|continue|canvas|Top|trim|padding|mouseover|mouseDrag|jQuery|defaults|cancel|distance|children|step|paddingRight|paddingBottom|paddingLeft|map|delay|animateEasing|parentNode|scrollWidth||removeChild|string|duration|instanceof|easing|slow|animateDuration|paddingTop|swing|mouseStart|end|scrollLeft|target|scrollTop|draggable|mouseStop|borderLeftWidth|find|borderTopWidth|mouseDestroy|unbind|borderRightWidth|borderBottomWidth'.split('|'),0,{})) diff --git a/jquery/jquery.ui.sortable.js b/jquery/jquery.ui.sortable.js deleted file mode 100644 index 04c3f34..0000000 --- a/jquery/jquery.ui.sortable.js +++ /dev/null @@ -1 +0,0 @@ -eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(b(B){b A(E,D){9 C=B.2M.3e&&B.2M.3f<3g;5(E.2I&&!C){e E.2I(D)}5(E.2E){e!!(E.2E(D)&16)}1Q(D=D.1e){5(D==E){e V}}e L}B.3d("j.p",B.2r({},B.j.3c,{38:b(){9 C=4.8;4.R={};4.g.22("j-p");4.2B();4.Z=4.c.z?(/6|1Z/).1c(4.c[0].t.f("39")):L;5(!(/(2U|1j|3a)/).1c(4.g.f("Q"))){4.g.f("Q","2U")}4.a=4.g.a();4.3b()},3h:{},j:b(C){e{l:(C||4)["l"],r:(C||4)["r"]||B([]),Q:(C||4)["Q"],3i:(C||4)["17"],8:4.8,g:4.g,t:(C||4)["h"],3o:C?C.g:O}},v:b(F,E,C,D){B.j.1g.X(4,F,[E,4.j(C)]);5(!D){4.g.2Y(F=="1b"?F:"1b"+F,[E,4.j(C)],4.8[F])}},2F:b(E){9 C=(B.1E(4.8.c)?4.8.c.X(4.g):B(4.8.c,4.g)).2a(".j-p-l");9 D=[];E=E||{};C.1x(b(){9 F=(B(4).2f(E.3p||"2g")||"").3q(E.2j||(/(.+)[-=3n](.+)/));5(F){D.1u((E.2m||F[1])+"[]="+(E.2m&&E.2j?F[1]:F[2]))}});e D.37("&")},2V:b(C){9 D=(B.1E(4.8.c)?4.8.c.X(4.g):B(4.8.c,4.g)).2a(".j-p-l");9 E=[];D.1x(b(){E.1u(B(4).2f(C||"2g"))});e E},2R:b(J){9 E=4.17.6,D=E+4.s.n,I=4.17.7,H=I+4.s.o;9 F=J.6,C=F+J.n,K=J.7,G=K+J.o;5(4.8.1p=="2n"||4.8.3j||(4.8.1p=="2e"&&4.s[4.Z?"n":"o"]>J[4.Z?"n":"o"])){e(I+4.a.q.7>K&&I+4.a.q.7F&&E+4.a.q.6J[4.Z?"n":"o"])){5(!(I+4.a.q.7>K&&I+4.a.q.7F&&E+4.a.q.6F&&E+4.a.q.6F+J.n/2&&E+4.a.q.6K&&I+4.a.q.7K+J.o/2&&I+4.a.q.7F&&EC){e 1}}Y{5(H>K&&IG){e 2}}}e L},2B:b(){4.28();4.1I()},28:b(){4.c=[];4.d=[4];9 D=4.c;9 C=4;9 F=[[B.1E(4.8.c)?4.8.c.X(4.g,O,{8:4.8,t:4.h}):B(4.8.c,4.g),4]];5(4.8.1S){P(9 G=4.8.1S.z-1;G>=0;G--){9 I=B(4.8.1S[G]);P(9 E=I.z-1;E>=0;E--){9 H=B.1f(I[E],"p");5(H&&!H.8.26){F.1u([B.1E(H.8.c)?H.8.c.X(H.g):B(H.8.c,H.g),H]);4.d.1u(H)}}}}P(9 G=F.z-1;G>=0;G--){F[G][0].1x(b(){B.1f(4,"p-t",F[G][1]);D.1u({t:B(4),2y:F[G][1],n:0,o:0,6:0,7:0})})}},1I:b(D){5(4.u){9 C=4.u.a();4.a.m={7:C.7+4.1w.7,6:C.6+4.1w.6}}P(9 F=4.c.z-1;F>=0;F--){5(4.c[F].2y!=4.1q&&4.1q&&4.c[F].t[0]!=4.h[0]){1C}9 E=4.8.2z?B(4.8.2z,4.c[F].t):4.c[F].t;5(!D){4.c[F].n=E[0].24;4.c[F].o=E[0].1X}9 G=E.a();4.c[F].6=G.6;4.c[F].7=G.7}5(4.8.1O&&4.8.1O.2w){4.8.1O.2w.X(4)}Y{P(9 F=4.d.z-1;F>=0;F--){9 G=4.d[F].g.a();4.d[F].R.6=G.6;4.d[F].R.7=G.7;4.d[F].R.n=4.d[F].g.1z();4.d[F].R.o=4.d[F].g.1H()}}},3l:b(){4.g.3r("j-p j-p-26").2i("p").30(".p");4.34();P(9 C=4.c.z-1;C>=0;C--){4.c[C].t.2i("p-t")}},21:b(E){9 C=E||4,F=C.8;5(F.r.31==2Z){9 D=F.r;F.r={g:b(){e B("<2S>").22(D)[0]},1o:b(G,H){H.f(G.a()).f({n:G.1z(),o:G.1H()})}}}C.r=B(F.r.g.X(C.g,C.h)).1M("W").f({Q:"1j"});F.r.1o.X(C.g,C.h,C.r)},2X:b(F){P(9 D=4.d.z-1;D>=0;D--){5(4.2R(4.d[D].R)){5(!4.d[D].R.1d){5(4.1q!=4.d[D]){9 I=36;9 H=O;9 E=4.17[4.d[D].Z?"6":"7"];P(9 C=4.c.z-1;C>=0;C--){5(!A(4.d[D].g[0],4.c[C].t[0])){1C}9 G=4.c[C][4.d[D].Z?"6":"7"];5(1m.2D(G-E)=0;E--){4.d[E].v("3y",H,4)}}5(B.j.18){B.j.18.3z=4}5(B.j.18&&!J.2J){B.j.18.3u(4,H)}4.2N=V;4.2o(H);e V},1P:b(D,E){5(!E){E=4.Q}9 C=D=="1j"?1:-1;e{7:(E.7+4.a.m.7*C-(4.u[0]==i.W?0:4.u[0].N)*C+4.T.7*C),6:(E.6+4.a.m.6*C-(4.u[0]==i.W?0:4.u[0].M)*C+4.T.6*C)}},1R:b(F){9 G=4.8;9 C={7:(F.1k-4.a.q.7-4.a.m.7+(4.u[0]==i.W?0:4.u[0].N)),6:(F.1l-4.a.q.6-4.a.m.6+(4.u[0]==i.W?0:4.u[0].M))};5(!4.15){e C}5(4.k){5(C.6<4.k[0]){C.6=4.k[0]}5(C.7<4.k[1]){C.7=4.k[1]}5(C.6>4.k[2]){C.6=4.k[2]}5(C.7>4.k[3]){C.7=4.k[3]}}5(G.11){9 E=4.15.7+1m.2h((C.7-4.15.7)/G.11[1])*G.11[1];C.7=4.k?(!(E<4.k[1]||E>4.k[3])?E:(!(E<4.k[1])?E-G.11[1]:E+G.11[1])):E;9 D=4.15.6+1m.2h((C.6-4.15.6)/G.11[0])*G.11[0];C.6=4.k?(!(D<4.k[0]||D>4.k[2])?D:(!(D<4.k[0])?D-G.11[0]:D+G.11[0])):D}e C},2o:b(D){4.Q=4.1R(D);4.17=4.1P("1j");B.j.1g.X(4,"1b",[D,4.j()]);4.17=4.1P("1j");4.l[0].2l.6=4.Q.6+"2k";4.l[0].2l.7=4.Q.7+"2k";P(9 C=4.c.z-1;C>=0;C--){9 E=4.2x(4.c[C]);5(!E){1C}5(4.c[C].t[0]!=4.h[0]&&4.h[E==1?"3D":"1t"]()[0]!=4.c[C].t[0]&&!A(4.h[0],4.c[C].t[0])&&(4.8.2T=="3E-3J"?!A(4.g[0],4.c[C].t[0]):V)){4.2H=E==1?"2G":"3F";4.1B(D,4.c[C]);4.v("1T",D);3G}}4.2X(D);5(B.j.18){B.j.18.3I(4,D)}4.g.2Y("1b",[D,4.j()],4.8.1b);e L},1B:b(H,G,D,F){D?D[0].2O(4.h[0]):G.t[0].1e.3B(4.h[0],(4.2H=="2G"?G.t[0]:G.t[0].3t));4.1s=4.1s?++4.1s:1;9 E=4,C=4.1s;1h.3w(b(){5(C==E.1s){E.1I(!F)}},0);5(4.8.r){4.8.r.1o.X(4.g,4.h,4.r)}},3Y:b(E,D){5(B.j.18&&!4.8.2J){B.j.18.3O(4,E)}5(4.8.2b){9 C=4;9 F=C.h.a();5(C.r){C.r.2K({1a:"3R"},(w(4.8.2b,10)||2Q)-3Q)}B(4.l).2K({6:F.6-4.a.m.6-C.T.6+(4.u[0]==i.W?0:4.u[0].M),7:F.7-4.a.m.7-C.T.7+(4.u[0]==i.W?0:4.u[0].N)},w(4.8.2b,10)||2Q,b(){C.1F(E)})}Y{4.1F(E,D)}e L},1F:b(E,D){5(4.2d.1t!=4.h.1t().2a(".j-p-l")[0]||4.2d.m!=4.h.m()[0]){4.v("1o",E,O,D)}5(!A(4.g[0],4.h[0])){4.v("1A",E,O,D);P(9 C=4.d.z-1;C>=0;C--){5(A(4.d[C].g[0],4.h[0])){4.d[C].v("1o",E,4,D);4.d[C].v("3v",E,4,D)}}}P(9 C=4.d.z-1;C>=0;C--){4.d[C].v("3V",E,4,D);5(4.d[C].R.1d){4.d[C].v("2p",E,4);4.d[C].R.1d=0}}4.2N=L;5(4.32){4.v("1y",E,O,D);e L}B(4.h).f("2A","");5(4.r){4.r.1A()}4.l.1A();4.l=O;4.v("1y",E,O,D);e V}}));B.2r(B.j.p,{3k:"2F 2V",3s:{l:"2c",1p:"2e",3X:1,3H:0,1n:V,14:20,12:20,3C:":3U",c:"> *",19:3Z,2C:V,1M:"m"}});B.j.1g.1r("p","1i",{1v:b(E,D){9 C=B("W");5(C.f("1i")){D.8.1U=C.f("1i")}C.f("1i",D.8.1i)},1y:b(D,C){5(C.8.1U){B("W").f("1i",C.8.1U)}}});B.j.1g.1r("p","19",{1v:b(E,D){9 C=D.l;5(C.f("19")){D.8.1V=C.f("19")}C.f("19",D.8.19)},1y:b(D,C){5(C.8.1V){B(C.l).f("19",C.8.1V)}}});B.j.1g.1r("p","1a",{1v:b(E,D){9 C=D.l;5(C.f("1a")){D.8.1W=C.f("1a")}C.f("1a",D.8.1a)},1y:b(D,C){5(C.8.1W){B(C.l).f("1a",C.8.1W)}}});B.j.1g.1r("p","1n",{1v:b(E,D){9 F=D.8;9 C=B(4).1f("p");C.U=b(G){2W{5(/1L|1n/.1c(G.f("1K"))||(/1L|1n/).1c(G.f("1K-y"))){e G}G=G.m()}1Q(G[0].1e);e B(i)}(C.h);C.S=b(G){2W{5(/1L|1n/.1c(G.f("1K"))||(/1L|1n/).1c(G.f("1K-x"))){e G}G=G.m()}1Q(G[0].1e);e B(i)}(C.h);5(C.U[0]!=i&&C.U[0].1J!="1N"){C.1Y=C.U.a()}5(C.S[0]!=i&&C.S[0].1J!="1N"){C.23=C.S.a()}},1b:b(E,D){9 F=D.8;9 C=B(4).1f("p");5(C.U[0]!=i&&C.U[0].1J!="1N"){5((C.1Y.7+C.U[0].1X)-E.1k_E)Q!3-q#xv;$gQY`6?zK#qG>ra@ocD)4hB}-f* zN`mv#O3D+9QW+dm@{>{(JaZG%Q-e|yQz{EjrrH1%u?6^qxK3ZZ{?psnZx1J(1Bx(} z1o;L3XL!2ZzzfKe@N{tuskoJtkdVTn$YyYsfw91@iH*a6fw7oD=yGmo08kBsr>mdK II;Vst034VvFaQ7m diff --git a/lbl-h2.png b/lbl-h2.png deleted file mode 100644 index f4b4274dd51883be6fb82812435b785bddca1774..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^oIuRV!3-o9^qNHiDVB6cUq=Rp^(V|(yIunMk|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5X*aCb)T&FKy|LN`Pw}+F?0Y#Wf zg8YL2Gd$gH;05H#dAc};RNP8RNJvRZNMT?W;O1B$(;~qfA+U^3;Q#}Z5QB)}UTKgk O7(8A5T-G@yGywn}2rtzopr0N8Ud@&Et; diff --git a/lbl-h4.png b/lbl-h4.png deleted file mode 100644 index e06ab3d136ac9583ce1cabce264827f11c813f0c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^oIuRV!3-o9^qNHiDVB6cUq=Rp^(V|(yIunMk|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5X*aCb)T&FKy|LN`Pw}+F?0Y#Wf zg8YL2Gd$gH;05H#dAc};RNP8RNJvRZU=if;&=FwwYIJ$9NkPn^fsuhJkU`?if+k_0 ON(N6?KbLh*2~7Y!CoyyY diff --git a/lbl-h5.png b/lbl-h5.png deleted file mode 100644 index 360fc60004ae4b4e110c8f10cd527d8750e27466..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^oIuRV!3-o9^qNHiDVB6cUq=Rp^(V|(yIunMk|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5X*aCb)T&FKy|LN`Pw}+F?0Y#Wf zg8YL2Gd$gH;05H#dAc};RNP8RNJvRZNMT?$=$AqJ5(2Pa$r Ps$}qV^>bP0l+XkKVU{w{ diff --git a/lbl-h6.png b/lbl-h6.png deleted file mode 100644 index 73e644a0a1d9864e593feb1f2928d2d1d8cd8b89..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 171 zcmeAS@N?(olHy`uVBq!ia0vp^oIuRV!3-o9^qNHiDVB6cUq=Rp^(V|(yIunMk|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5X*aCb)T&FKy|LN`Pw}+F?0Y#Wf zg8YL2Gd$gH;05H#db&7`V*`W20R|=(2H|_!AFY52 O89ZJ6T-G@yGywoJqcVa3 diff --git a/lbl-p.png b/lbl-p.png deleted file mode 100644 index 7f2bf3415b2abefb7e12e9b35eafc859a5c3cd46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3607 zcmV+y4(RcTP)KLZ*U+5Lu!Sk^o_Z5E4Meg@_7P6crJiNL9pw)e1;Xm069{HJUZAPk55R%$-RIA z6-eL&AQ0xu!e<4=008gy@A0LT~suv4>S3ILP<0Bm`DLLvaF4FK%)Nj?Pt*r}7;7Xa9z9H|HZjR63e zC`Tj$K)V27Re@400>HumpsY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HWb8~cbbai!gc6N4mcXxPrczJnwdU|?$dwYC*e0_a=etv#`e}900fPsO5f`WpB zgM);GgoTBLhK7cRhlhxWh>3}bii(Phi;IkmjE#+rj*gCxkB^X$kdcv*l9G~>larK` zl$Dj0mX?;6mzS8Bn3Cf>sHv%`s;a81tE;T6tgWrBuCA`HudlGMu(7eRva+(Xv$M3cw6(Rhwzjsn zx3{>sxVgExy1Kf%ySu!+yuH1>zP`S{zrVo1z`?=6!otGC!^6bH#KpzM#>U3S$H&OX z$jQmc%F4>i%gfBn%+1Zs&d$!y&(F}%(9zM+($dn?)6>+{)YaA1*4Eb7*VowC*xA|H z+S=ON+uPjS+}+*X-rnBd-{0Wi;Njun;^N}tgww2 z>+9_7?CtIC?(XjI@9*&N@bU5S^78WY^Yird^!4@i_V)Jo_xJet`1$$y`uh6&`}_R- z{Qdp?{{H^||NneUQu_b^00MMUPE-E?<+m_O0000QNkl*$ diff --git a/main_wymiframe.html b/main_wymiframe.html deleted file mode 100644 index 91a690c..0000000 --- a/main_wymiframe.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - -WYMeditor iframe - - - - - diff --git a/openwysiwyg/addons/imagelibrary/changelog b/openwysiwyg/addons/imagelibrary/changelog deleted file mode 100644 index 59f8fd3..0000000 --- a/openwysiwyg/addons/imagelibrary/changelog +++ /dev/null @@ -1,10 +0,0 @@ -v0.2.2 - * changed - Using full php tags instead of => . - * These files must be located within the dlf directory. - */ -$filetypes = array ( - 'png' => 'jpg.gif', - 'jpeg' => 'jpg.gif', - 'bmp' => 'jpg.gif', - 'jpg' => 'jpg.gif', - 'gif' => 'gif.gif', - 'psd' => 'psd.gif', -); - -?> diff --git a/openwysiwyg/addons/imagelibrary/images/dirup.png b/openwysiwyg/addons/imagelibrary/images/dirup.png deleted file mode 100644 index c1186228d9fddca6df1c5312b9861facfcaf547b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 644 zcmV-~0(P)t-s|NsC0 z@{IrJgXq|#5qt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Jt%`sO0Cx;AWwt?I3wcK#`f1 zok>SS(_d0*7QZ3~8w(4gfi{c54eu)qN7(sfOfqg9n83{H%W7XSBV(b`q4rJ@gBvFj Yn40=I#3U}LsCJ#4tl_J~#lm0>0K`kzeEj(e;|7T!efRI22GEn@|zt@_SbJ!Vq&xKi1qOn7vN`NY4-Bb*N_)wVC-pWQ_@nC6Jp}-wQM!l z)Kb;flH*}t(8?(#uQf}Jmt&2$iILbwHTBqSW(EeT;^I-<=G#mSMReqa`J}zqXd0hp X6&989S-{17Pmfto&*I4wM+R#EY)zG* diff --git a/openwysiwyg/addons/imagelibrary/images/unknown.png b/openwysiwyg/addons/imagelibrary/images/unknown.png deleted file mode 100644 index 67f2fa19d6ffb7038228a8a32224bb1f0bccf59c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 266 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!aez;V>;M1%85$UX#DAa&kaNcP z^y$+a930P|UkeQlZEI@-iq4!l^URqu3=A`Y@(m0OC!OXj11e@L3GxeOaCmkj4a7EaktaVz#* zG~WRQ4wt|;-hr=o{J(lDDDc%^8%5!cM;enwny39_&XC;0V9ebkSYN7K BUz`8{ diff --git a/openwysiwyg/addons/imagelibrary/insert_image.php b/openwysiwyg/addons/imagelibrary/insert_image.php deleted file mode 100644 index 8811fd3..0000000 --- a/openwysiwyg/addons/imagelibrary/insert_image.php +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - -openWYSIWYG | Insert Image - - - - - - - - - - - - - - - - -
-Insert Image: - - - - - - - - - - - - - - - - - - - - - - - -
Upload:
 (Max Filesize: KB)
- File uploads are disabled in your php.ini file. Please enable them. -
Image URL:
Alternate Text:
- - - - - -
-Layout: - - - - - - - - - - - - - -
Width:
Height:
Border:
- -
  - -  - - - - - - - - - - - - - -
Alignment: - -
Horizontal Space:
Vertical Space:
- -
-
- Select Image: - -
- - - - - -
- - diff --git a/openwysiwyg/addons/imagelibrary/select_image.php b/openwysiwyg/addons/imagelibrary/select_image.php deleted file mode 100644 index 2b4c024..0000000 --- a/openwysiwyg/addons/imagelibrary/select_image.php +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - -openWYSIWYG | Select Image - - - - - - - 0) { - if(($bsize-1) > 0) { - echo ""; - } - } - ?> - - - - -
"; - $sofar = ''; - for($bi=0;$bi<($bsize-1);$bi++) { - $sofar = $sofar . $breadcrumbs[$bi] . '/'; - echo '» '.$breadcrumbs[$bi].'
'; - } - echo "
- - Folder ..
- - <?php echo $dir; ?>
- 43) { - $filename = substr($files[$i], 0, 40) . '...'; - } - $fileurl = $leadon . $files[$i]; - $filedir = str_replace($imagebasedir, "", $leadon); - ?> - <?php echo $files[$i]; ?>
- -
- - \ No newline at end of file diff --git a/openwysiwyg/changelog b/openwysiwyg/changelog deleted file mode 100644 index a52e39b..0000000 --- a/openwysiwyg/changelog +++ /dev/null @@ -1,152 +0,0 @@ -v1.4.7 - * added - Possibilty to maximize the editor window - * fixed - Correct relative image path on preview, now it works for all images - * added - Table highlighting possibility - * added - Possiblity to assign headings (crashed) - * changed - Code improvments to tons of functions - * changed - WYSIWYG.formatText() function renamed to WYSIWYG.execCommand() - * changed - WYSIWYG.findParentTag() renamed to WYSIWYG.findParent() - * added - WYSIWYG_Core.findParentNode(tagName, node) function which finds a parent node by tag name starts on the given node - * fixed - Implement function WYSIWYG_Core.getAttribute which solve the problem while getting the style attribute on IE - * changed - Getting style attribute while editing a link - * added - WYSIWYG_Table object, which is used for improving table editing - * changed - New icons print and preview (thx sweb) - * added - Save and return button on toolbar, the return button is disabled by default. (thx sweb) - * added - Table function improvments - * added - New WYSIWYG_Color object, which handels the color choosing - * added - Full justify text (code by tim) - -v1.4.6c - * fixed - Solved issue with backcolor command on IE - * changed - Add parameter value to WYSIWYG_Core.execCommand() function - -v1.4.6b - * changed - Debug code on context menu removed - * fixed - Add "px" to left and top style information on context menu - * changed - Correct comment of wyswiwyg-settings.js - -v1.4.6a - * fixed - bad class name on mouse over of toolbar buttons fixed - * changed - Rewritten function to get the current position of an element (iframe) - * fixed - Context menu position issue solved - * fixed - Wrong variable call fixed - * fixed - Problem while removing elements with the context menu solved - -v1.4.6 (2006-12-17) - * changed - Modification changed to be the official version of openWYSIWYG - * fixed - Child nodes will be copied to the parent if a node is removed - * changed - Complete rewritten context menu - * changed - Behaviours of the context menu dependents on selection - * added - Copy/Cut/Paste to context menu - * changed - Code structure changes - * added - wysiwyg-popup.js which holds popup specific functions - * added - new object WYSIWYG_Core added, which holds all core functions - * added - addEvent() and removeEvent() core function added - * added - attach() and attachAll() functions which used to attach the editor to textareas - * changed - Complete rewritten insertLink function, now it works with tags like img, h1 etc - * added - Override width and height of the editor with size given by the style attributes width and height of the textarea - * added - New function includeCSS() in Core object, which includes a given stylesheet file on the head tag of the current page - * fixed - Solved problem if you want to attach the editor to all textareas - * changed - Include of stylesheet files changed, now using the includeCSS function - * changed - Complete rewritten display function, now you can use it like like function attach() - -v0.4.5 (2006-11-12) - * added - openImageLibrary addon (for now PHP only) - * fixed - correct relative anchor and image path on preview - * changed - various javascript code changes - -v0.4.4 (2006-11-11) - * added - capability of using image library addons - * fixed - corrupt font + font size selection html - -v0.4.3 (2006-10-20) - * added - Possibility to invert the line break print outs of IE (ENTER =
, SHIFT + ENTER =

) - * fixed - Replace of

with
on carriage return prevented the IE to set ordered and unordered lists. - * added - Settings object to customize the Editor - * fixed - Solve javascript error on example.html - * fixed - Change html layout of the editor to solve the minimum width problem on dynamic editor size. - * added - Enable/disable possibilty of the context menu - * added - A general remove function, so it is possible to remove each html element - * added - Adding an option 'Remove Node' to the context menu - * added - Adding the possibilty to add the font + font size selection to toolbar2 or placing them where ever you want on the toolbars - * changed - Removing the vars EnableFontSelection and EnableFontSizeSelection because font + font size selection goes to ToolBar Array like all other buttons. - * changed - Removing vars EditorMinimumWidth and EditorMinimumHeight after solving the minimum width problem on IE. No more use. - * added - New Function addToolbarElement() and removeToolbarElement within the settings object - * added - Possibility to select a html node using the status bar node structure - * changed - Complete redesign of the toolbar implementation - * changed - Remove function removeImage() and removeLink(), because function removeNode() do it for all - * added - Two new functions getEditorOffsetY() and getEditorOffsetX() to get the offsets of the editor window to the body if the the page - * fixed - broken image path on toolbar button text view - * added - New function enable(), now you can enable/display the editor on the fly - -v0.4.2 (2006-10-16) - * added - Converting decimal colors to hex colors within style attributes - * changed - Rename getParentTag() to findParentTag(), the function finds a tag by a given tag name - * changed - Improving function findParentTag(), now it finds IMG tags and do not return #tags but the parent tag - * added - Reimplementing function getTag(). The function gets the current selected tag - * added - New Function getParent(). Returns the parent node of the given element - * added - New Function getNodeTree(). The function returns a tree of nodes as array, beginning with the current selected element (node) and ending with the HTML node (element). - * added - New status bar implemented. It's shown the element structure, beginning with the current selected element and ending with the HTML element. - * added - New Function updateStatusBar(). Updates the status bar with the element structure. - * changed - Possibility of setting dynamic width and height of the editor - * fixed - Solving bug while setting style attribute on links - -v0.4.1 (2006-10-14) - * added - Custom context menu for images and links - * added - Remove option for images and links on the context menu - * added - New functions removeLink() and removeImages() - * added - New function $() implemented, its a replacement for document.getElementById() - * changed - Some small other code changes - -v0.4 (2006-10-12) - * fixed - Dublicated id attribute in color chooser popup - * fixed - Preventing IE to insert

tags on carriage return. IE will insert a normal
instead. (Thx to richyrich) - * fixed - Crappy layout of hyperlink popup on IE (fields: class and name) - * fixed - With multiple editors on one form, the global var viewTextMode is not unique for each editor. Used an Array instead to set the var for each editor individually - * fixed - Submitting the editor while in text mode then it will submit escaped html (
-> submit -> <br>). Auto switch to HTML Mode if submit - * fixed - Validate objects on hideFonts() and hideFontSizes() function - * changed - Improvements on closing font + font size selection. Add a unique event listener for each selection. - -v0.3.2a (2006-10-11) - * added - Improvements on font and font size selection, now the drop downs will be closed if you go through the editor. - * fixed - Opera bug in insertNodeAtSelection() function solved. That's why the table popup won`t close if you submit it. - * fixed - CSS file problem in table popup. There was a hard coded path to the CSS file. I changed it so the path to the CSS file will be dynamically inserted. - * added - Improvements to the color selection menus on table popup, now the button "pick" has a toggle function (open/close the color selections). - * fixed - Font and font size selection fixed. I improved the closing a little bit, so if you choose font and then click an font size the font menue will be closed before. - * added - Added a select field to the hyperlink popup which holds the default targets _blank, _self, _parent, _top. On change the select field updates the 'target' text field. - - -v0.3.1 (2006-10-10) - * fixed - Solve the habit of IE to convert relative urls into absolute. Now you can set two vars AnchorPathToStrip and ImagePathToStrip which holds an url that will be stripped off the href and src attributes. If you set the vars to "auto" then the url will automatically get of the current document. I recommend that you use the "auto" methode. - -v0.3 (2006-10-09) - * added - Default style now also applies to the preview window - * added - Print button + function - * fixed - A little mistake within the function setAttribute, attr.toLowerCase -> attr.toLowerCase() it prevented the script to apply the styles in IE correctly - * fixed - Problem while replacing \n with
after submitting data in IE solved. - * fixed - Complete rewritten function insertLink + insertImage. Improving edit capabiltity on both links and images. - -v0.2 (2006-10-08) - * added - New function insertLink(), now you can insert and edit links. New available attributes are target, styleclass, name and style. (IE has some limitations, getting style attribute doesn`t work, hope i can solve this problem) - * fixed - Stripping MS Word HTML (removed some bugs within the regex) - * changed - Complete rewritten source code, now all functions + var are within a var WYSIWYG. (ex. WYSIWYG.generate('textarea1', 500, 200); ) - * fixed - Replace

with while insert html on none IE Browsers, this solve the new line problem after the
tag. - * added - New function insertImage(), now you can insert and editing images - * added - Validation of browser versions (thx to TIM) - -v0.1 (2006-10-06) - * added - Possibility to replace \n with
to be compatible with previous content coming from a database, for example. - * added - Button to strip any HTML added by word - * changed - Modified generate_wysiwyg() method (added width and height to customize size of each editor, width and height are optional parameter) - * added - Possibility to set the default font family, font size and font color of the editor area - * added - New function disable_wysiwyg() to disable a editor area - * changed - Some changes were made to toolbar1 and toolbar2. now toolbar2 is hidden if no elements are assigned. - * changed - Now you can add the viewSource button to toolbar1 - * added - A new function display_wysiwyg() only for displaying an iframe with content of a textarea (without any editable features) - * added - A style-class for the iframe to customize the background-color (useful in firefox, because firefox use the background of the parent element) - * added - Preview button + function (thx to Korvo), now it works in Firefox and use the innerHTML of the iframe instead of the texteare value - * fixed - Some code improvements for better compatibility with Firefox + IE - * changed - The var cssDir changed to cssFile, now it includes the complete file path (ex. styles/wysiwyg.css) - * added - new stylesheet classes, check the css file - * added - Possibility to enable/disable font + font size selection - * fixed - Firefox BackColor problem fixed (thx to Merk), no hilite button needed only solve the problem on firefox diff --git a/openwysiwyg/docs/addons.html b/openwysiwyg/docs/addons.html deleted file mode 100644 index 3b6ab61..0000000 --- a/openwysiwyg/docs/addons.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - openWYSIWYG - - - - - - - - - - - - - -
- - - - - - DOCUMENTATION | ADDONS | EXAMPLES - -
-
- - - - - - - - - - - - - - - -
-

Addons

-
- Copyright (c) 2006 openWebWare.com -
-
-

openImageLibrary addon (PHP)

-

- Here we want to explain how you can use the openImageLibrary addon (for now PHP only) to let your users uploading, browsing and selecting images on your webserver.
- First you have to download the latest version of the openWYSIWYG modification, which includes the openImageLibrary addon.
- You will find a directory called addons in the root of the openWYSIWYG directory. If it not there you do not have the latest version of the openWYSIWYG editor.

- To enable the openImageLibrary addon you have to customize the insert image popup implementation of the openWYSIWYG.
- The following shows how you change the implementation of the insert image popup. -

- var mysettings = new WYSIWYG.Settings(); -

- // define the location of the openImageLibrary addon
- mysettings.ImagePopupFile = "addons/imagelibrary/insert_image.php"; -
- // define the width of the insert image popup
- mysettings.ImagePopupWidth = 600; -
- // define the height of the insert image popup
- mysettings.ImagePopupHeight = 245; -
-
-
Attach the editor on the textarea with the previously defined mysettings object. -
- <script language="javascript1.2">
-    WYSIWYG.attach('textareaID', mysettings);
- </script> -
-
- Now try it out! -
-

-

-
-

- Customize the openImageLibrary addon -

- This section describe how you can customize the openImageLibrary addon.

- -

Settings of the openImageLibrary addon:

-
- The following settings can be modified within the config file (addons/imagelibrary/config.inc.php) -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- $imagebasedir = '../../uploads'; - - - Path to a directory which holds the images. - -
- $imagebaseurl = 'uploads'; - - - An absolute or relative URL to the image folder. - This url is used to generate the source of the image. - -
- $browsedirs = true; - - - Allow your users to browse the subdir of the defined basedir. - -
- $allowuploads = true; - - - If enabled users will be able to upload files to any viewable directory. - You should really only enable this if the area this script is in is already password protected. - -
- $overwrite = false; - - - If a user uploads a file with the same name as an existing - file do you want the existing file to be overwritten ? - -
- $supportedextentions = array(<file extensions>); - - - Define the extentions you want to show within the directory listing.
- The extensions also limit the files the user can upload to your image folders. -
-
- $filetypes = array (<extension> => <filename>) - - - If you want to add your own special file icons use this section below. - Each entry relates to the extension of the given file, in the form <extension> => <filename>.
- These files must be located within the dlf directory. -
-
-
-
-
- - diff --git a/openwysiwyg/docs/doc.html b/openwysiwyg/docs/doc.html deleted file mode 100644 index 2477538..0000000 --- a/openwysiwyg/docs/doc.html +++ /dev/null @@ -1,536 +0,0 @@ - - - - openWYSIWYG - - - - - - - - - - - - - -
- - - - - - DOCUMENTATION | ADDONS | EXAMPLES - -
-
- - - - - - - - - - - - - - - - - - -
-

Documentation

-
- Copyright (c) 2006 openWebWare.com -
-
-

Setup the openWYSIWYG editor

-

- Include the javascript files like the following: -
-

- <script language="JavaScript" type="text/javascript" src="scripts/wysiwyg.js"></script> -
- <script language="JavaScript" type="text/javascript" src="scripts/wysiwyg-settings.js"></script> // optional -
-
- Note: You might need to change the src path (red), depending on where you put the files. -

-

Now you have to attach the openWYSIWYG editor to all or to defined textareas of your page.
-

- <script language="javascript1.2">
  
// attach the editor to all textareas of your page.
-    WYSIWYG.attach('all');
  
   // attach the editor to the textarea with the identifier 'textarea1'.
   WYSIWYG.attach('textarea1');
- </script> -
-
- Now try it out! -

- If you don't see any images on the toolbar then you have to change the image path.
- Have a look at the customize section. -

- If you need to display contents of textarea's with HTML output support, but without the editing possibilities, you can use a function called display. -
- <script language="javascript1.2">
  
// display iframes instead of textareas. It apply's to all textareas of your page.
-    WYSIWYG.display('all');
  
   // display an iframe instead of the textarea with the identifier 'textarea1'
   WYSIWYG.display('textarea1');
- </script> -
-

-

-
-

- Customize the openWYSIWYG -

- This section describe how you can customize the openWYSIWYG editor.

-

The Settings object:


- You can create a new instance of the settings object. - This object will be used to customize your editor. -
- var mysettings = new WYSIWYG.Settings(); -
-
Now attach the editor to all or to defined textareas of your page.
-
- WYSIWYG.attach('all', mysettings);
-
-

-

Properties of the Settings object:

-
- Here is a list of all properties you can change to customize the look and feel of your editor. -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
mysettings.ImagesDir = "<path>";The path where your images are located (default: 'images/')
mysettings.PopupsDir = "<path>"; The path where your popup htmls are located (default: 'popups/')
mysettings.CSSFile = "<path>"; The path + file where your stylesheet file is located (default: 'styles/wysiwyg.css')
mysettings.Width = "<width>"; The width of the editor window (valid units are px and %) (default: '500px')
mysettings.Height = "<height>"; The height of the editor window (valid units are px and %) (default: '200px')
mysettings.DefaultStyle = "<stylesheet>"; The default stylesheet of the editor window
(default: 'font-family: Arial; font-size: 12px; background-color: #FFFFFF')
mysettings.DisabledStyle = "<stylesheet>"; The style which appears if the editor is disabled
(default: 'font-family: Arial; font-size: 12px; background-color: #EEEEEE')
mysettings.ReplaceLineBreaks = <true/false>; Replace line breaks (\n) with html line breaks <br> (used for none html content) (default: false)
mysettings.PreviewWidth = <width>; The width of the preview popup (default: 500)
mysettings.PreviewHeight = <height>; The height of the preview popup (default: 400)
mysettings.RemoveFormatConfMessage = "<text>"; Text which appears if the MS word clean up button is pressed (default: 'Clean HTML inserted by MS Word ?')
mysettings.NoValidBrowserMessage = "<text>"; Text which appears if the browser is not supported by openWYSIWYG (default: 'openWYSIWYG does not support your browser.')
mysettings.AnchorPathToStrip = "<url>"; The url which is striped off on anchors (only IE, recommended: auto) (default: 'auto')
mysettings.ImagePathToStrip = "<url>"; The url which is striped off on images (only IE, recommended: auto) (default: 'auto')
mysettings.ContextMenu = <true/false>;Enable / disable the custom context menu (default: true)
mysettings.StatusBarEnabled = <true/false>;Enable / disable the status bar (default: true)
mysettings.InvertIELineBreaks = <true/false>;Enable / disable invert of line break capability in IE (default: false)
mysettings.InsertImagePopup = <path/file>;If you use another implementation like an image library written in PHP, then you can use this setting to customize the location of the implementation file. No need to edit the main javascript file.
(It's used for future upcoming image library addons)
mysettings.InsertImageWith = <width>;Width of the image popup window. (Default: 400)
mysettings.InsertImageWith = <height>;Height of the image popup window. (Default: 210)
-
-

Methods of the Settings object:

-
- There are three methods to customize the toolbar elements. (Recommended if you newly to javascript) -
- - - - - - - - - - - - - - - - - - - -
mysettings.addToolbarElement("<element>", <toolbar>, <position>); - - Add the given <element> to the defined <toolbar> on the defined <position>.

- Valid elements are:
- font, fontsize, bold, italic, underline, forecolor, backcolor, justifyleft, justifycenter, justifyright, - unorderedlist, orderedlist, outdent, indent, subscript, superscript, cut, copy, paste, removeformat, - undo, redo, inserttable, insertimage, createlink, seperator, undo, redo, seperator, preview, print, - viewSource, help -

- The element seperator adds a line seperator between elements -

- <toolbar> is an integer starts with 1. -
- <position> is an integer starts with 1. -

- Example: -
- mysettings.addToolbarElement("bold", 1, 1); -

-
mysettings.removeToolbarElement("<element>"); - - Removes the given <element> on the toolbar.

- Valid elements are:
- font, fontsize, bold, italic, underline, forecolor, backcolor, justifyleft, justifycenter, justifyright, - unorderedlist, orderedlist, outdent, indent, subscript, superscript, cut, copy, paste, removeformat, - undo, redo, inserttable, insertimage, createlink, seperator, undo, redo, seperator, preview, print, - viewSource, help -

- You can not remove the element seperator only overriding with the function addToolbarElement() -

- Example: -
- mysettings.removeToolbarElement("bold"); -

-
mysettings.clearToolbar(<toolbar>); - - Clears the given <toolbar>. If the element <toolbar> is not defined then the functions clear all existing toolbars.

-

- <toolbar> is an integer starts with 1. -

- Example: -
- mysettings.clearToolbar(1); -
-

-
-

Array of the Settings object:

-
- There are some arrays within the Settings object you can define directly. So let`s show how does it works. -
-
- - - - - - - - - - - - - - - - - - - -
mysettings.Toolbar[<toolbar index>][<element index>] = "<element>"; - - The toolbar array is defined in two dimensions, the first dimension is the toolbar index, - the second the element index. If you want to define an element in toolbar 2 on position 3 - then you have to do this: - - - mysettings.Toolbar[1][2] = "bold"; - -

- - Valid elements can be found on addToolbarElement(). - -

-
mysettings.Fonts[<element index>] = "<element>"; - - You have the posibility to change the font families by setting the Fonts array - of the Settings object. If you want to add Arial on the second position then you have to do this: - - - mysettings.Fonts[1] = "Arial"; - -

- - Valid elements are:
- All font family elements (look at a stylesheet description of the tag font-family) -
-

-
mysettings.Fontsizes[<element index>] = "<size>"; - - You can also change the font size which you can use on the editor. - If you want to add the font size 5 on the first position of drop down box, - then you have to do this: - - - mysettings.Fontsizes[0] = "5"; - -

- - Valid sizes are:
- 1 - ... (i dont know if the size attribute is limit) - -
-
- -



-
-

- Change Log -

-

- v1.4.7 (Released: September 9, 2007)
- Addresses the following:

-
    -
  • added - Possibilty to maximize the editor window
  • -
  • fixed - Correct relative image path on preview, now it works for all images
  • -
  • added - Table highlighting possibility
  • -
  • added - Possiblity to assign headings (crashed)
  • -
  • changed - Code improvments to tons of functions
  • -
  • changed - WYSIWYG.formatText() function renamed to WYSIWYG.execCommand()
  • -
  • changed - WYSIWYG.findParentTag() renamed to WYSIWYG.findParent()
  • -
  • added - WYSIWYG_Core.findParentNode(tagName, node) function which finds a parent node by tag name starts on the given node
  • -
  • fixed - Implement function WYSIWYG_Core.getAttribute which solve the problem while getting the style attribute on IE
  • -
  • changed - Getting style attribute while editing a link
  • -
  • added - WYSIWYG_Table object, which is used for improving table editing
  • -
  • changed - New icons print and preview (thx sweb)
  • -
  • added - Save and return button on toolbar, the return button is disabled by default. (thx sweb)
  • -
  • added - Table function improvments
  • -
  • added - New WYSIWYG_Color object, which handels the color choosing
  • -
  • added - Full justify text (code by tim)
  • -
-

- v1.4.6c (Released: December 25, 2006)
- Addresses the following:

-
    -
  • fixed - Solved issue with backcolor command on IE
  • -
  • changed - Add parameter value to WYSIWYG_Core.execCommand() function
  • -
- v1.4.6b (Released: December 23, 2006)
- Addresses the following:

-
    -
  • changed - Debug code on context menu removed
  • -
  • fixed - Add "px" to left and top style information on context menu
  • -
  • changed - Correct comment of wyswiwyg-settings.js
  • -
- v1.4.6a (Released: December 21, 2006)
- Addresses the following:

-
    -
  • fixed - bad class name on mouse over of toolbar buttons fixed
  • -
  • changed - Rewritten function to get the current position of an element (iframe)
  • -
  • fixed - Context menu position issue solved
  • -
  • fixed - Wrong variable call fixed
  • -
  • fixed - Problem while removing elements with the context menu solved
  • -
- v1.4.6 (Released: December 17, 2006)
- Addresses the following:

-
    -
  • changed - Modification changed to be the official version of openWYSIWYG
  • -
  • fixed - Child nodes will be copied to the parent if a node is removed
  • -
  • changed - Complete rewritten context menu
  • -
  • changed - Behaviours of the context menu dependents on selection
  • -
  • added - Copy/Cut/Paste to context menu
  • -
  • changed - Code structure changes
  • -
  • added - wysiwyg-popup.js which holds popup specific functions
  • -
  • added - new object WYSIWYG_Core added, which holds all core functions
  • -
  • added - addEvent() and removeEvent() core function added
  • -
  • added - attach() and attachAll() functions which used to attach the editor to textareas
  • -
  • changed - Complete rewritten insertLink function, now it works with tags like img, h1 etc
  • -
  • added - Override width and height of the editor with size given by the style attributes width and height of the textarea
  • -
  • added - New function includeCSS() in Core object, which includes a given stylesheet file on the head tag of the current page
  • -
  • fixed - Solved problem if you want to attach the editor to all textareas
  • -
  • changed - Include of stylesheet files changed, now using the includeCSS function
  • -
  • changed - Complete rewritten display function, now you can use it like like function attach()
  • -
- Modification v0.4.5 (Released: November 12, 2006)
- Addresses the following: -

    -
  • added - openImageLibrary addon (for now PHP only)
  • -
  • fixed - correct relative anchor and image path on preview
  • -
  • changed - various javascript code changes
  • -
- Modification v0.4.4 (Released: November 11, 2006)
- Addresses the following: -
    -
  • added - capability of using image library addons
  • -
  • fixed - corrupt font + font size selection html
  • -
- Modification v0.4.3 (Released: October 20, 2006)
- Addresses the following: -
    -
  • added - Possibility to invert the line break print outs of IE (ENTER = <br>, SHIFT + ENTER = <p>)
  • -
  • fixed - Replace of <p> with <br> on carriage return prevented the IE to set ordered and unordered lists.
  • -
  • added - Settings object to customize the Editor
  • -
  • fixed - Solve javascript error on example.html
  • -
  • fixed - Change html layout of the editor to solve the minimum width problem on dynamic editor size.
  • -
  • added - Enable/disable possibilty of the context menu
  • -
  • added - A general remove function, so it is possible to remove each html element
  • -
  • added - Adding an option 'Remove Node' to the context menu
  • -
  • added - Adding the possibilty to add the font + font size selection to toolbar2 or placing them where ever you want on the toolbars
  • -
  • changed - Removing the vars EnableFontSelection and EnableFontSizeSelection because font + font size selection goes to ToolBar Array like all other buttons.
  • -
  • changed - Removing vars EditorMinimumWidth and EditorMinimumHeight after solving the minimum width problem on IE. No more use.
  • -
  • added - New Function addToolbarElement() and removeToolbarElement within the settings object
  • -
  • added - Possibility to select a html node using the status bar node structure
  • -
  • changed - Complete redesign of the toolbar implementation
  • -
  • changed - Remove function removeImage() and removeLink(), because function removeNode() do it for all
  • -
  • added - Two new functions getEditorOffsetY() and getEditorOffsetX() to get the offsets of the editor window to the body if the the page
  • -
  • fixed - broken image path on toolbar button text view
  • -
  • added - New function enable(), now you can enable/display the editor on the fly
  • -
- Modification v0.4.2 (Released: October 16, 2006)
- Addresses the following: -
    -
  • added - Converting decimal colors to hex colors within style attributes
  • -
  • changed - Rename getParentTag() to findParentTag(), the function finds a tag by a given tag name
  • -
  • changed - Improving function findParentTag(), now it finds IMG tags and do not return #tags but the parent tag
  • -
  • added - Reimplementing function getTag(). The function gets the current selected tag
  • -
  • added - New Function getParent(). Returns the parent node of the given element
  • -
  • added - New Function getNodeTree(). The function returns a tree of nodes as array, beginning with the current selected element (node) and ending with the HTML node (element).
  • -
  • added - New status bar implemented. It's shown the element structure, beginning with the current selected element and ending with the HTML element.
  • -
  • added - New Function updateStatusBar(). Updates the status bar with the element structure.
  • -
  • changed - Possibility of setting dynamic width and height of the editor
  • -
  • fixed - Solving bug while setting style attribute on links
  • -
-

Modification v0.4.1 (Released: October 14, 2006)
- Addresses the following: -

    -
  • added - Custom context menu for images and links
  • -
  • added - Remove option for images and links on the context menu
  • -
  • added - New functions removeLink() and removeImages() -
  • added - New function $() implemented, its a replacement for document.getElementById()
  • -
  • changed - Some small other code changes
  • -
-

Modification v0.4 (Released: October 12, 2006)
- Addresses the following: -

    -
  • fixed - Dublicated id attribute in color chooser popup
  • -
  • fixed - Preventing IE to insert <p> tags on carriage return. IE will insert a normal <br> instead. (Thx to richyrich)
  • -
  • fixed - Crappy layout of hyperlink popup on IE (fields: class and name)
  • -
  • fixed - With multiple editors on one form, the global var viewTextMode is not unique for each editor. Used an Array instead to set the var for each editor individually
  • -
  • fixed - Submitting the editor while in text mode then it will submit escaped html (<br> -> submit -> &lt;br&gt;). Auto switch to HTML Mode if submit
  • -
  • fixed - Validate objects on hideFonts() and hideFontSizes() function
  • -
  • changed - Improvements on closing font + font size selection. Add a unique event listener for each selection.
  • -
-

Modification v0.3.2a (Released: October 11, 2006)
- Addresses the following: -

    -
  • added - Improvements on font and font size selection, now the drop downs will be closed if you go through the editor.
  • -
  • fixed - Opera bug in insertNodeAtSelection() function solved. That's why the table popup won`t close if you submit it.
  • -
  • fixed - CSS file problem in table popup. There was a hard coded path to the CSS file. I changed it so the path to the CSS file will be dynamically inserted.
  • -
  • added - Improvements to the color selection menus on table popup, now the button "pick" has a toggle function (open/close the color selections).
  • -
-

Modification v0.3.2a (Released: October 11, 2006)
- Addresses the following: -

    -
  • fixed - Font and font size selection fixed. I improved the closing a little bit, so if you choose font and then click an font size the font menue will be closed before.
  • -
  • added - Added a select field to the hyperlink popup which holds the default targets _blank, _self, _parent, _top. On change the select field updates the 'target' text field.
  • -
-

Modification v0.3.1 (Released: October 10, 2006)
- Addresses the following: -

    -
  • fixed - Solve the habit of IE to convert relative urls into absolute. - Now you can set two vars AnchorPathToStrip and ImagePathToStrip - which holds an url that will be stripped off the href and src attributes. - If you set the vars to "auto" then the url will automatically get of the current document. I recommend that you use the "auto" methode.
  • -
-

Modification v0.3 (Released: October 9, 2006)
- Addresses the following: -

    -
  • added - Default style now also applies to the preview window
  • -
  • added - Print button + function
  • -
  • fixed - A little mistake within the function setAttribute, attr.toLowerCase -> attr.toLowerCase() it prevented the script to apply the styles in IE correctly
  • -
  • fixed - Problem while replacing \n with <br> after submitting data in IE solved.
  • -
  • fixed - Complete rewritten function insertLink + insertImage. Improving edit capabiltity on both links and images.
  • -
-

Modification v0.2 (Released: October 8, 2006)
- Addresses the following: -

    -
  • added - New function insertLink(), now you can insert and edit links. - New available attributes are target, styleclass, name and style. - (IE has some limitations, getting style attribute doesn`t work, hope i can solve this problem)
  • -
  • fixed - Stripping MS Word HTML (removed some bugs within the regex)
  • -
  • changed - Complete rewritten source code, now all functions + var are within a var WYSIWYG. (ex. WYSIWYG.generate('textarea1', 500, 200); )
  • -
  • fixed - Replace <div> with <span> while insert html on none IE Browsers, this solve the new line problem after the <div> tag.
  • -
  • added - New function insertImage(), now you can insert and editing images
  • -
  • added - Validation of browser versions (thx to TIM)
  • -
- -

Modification v0.1 (Released: October 6, 2006)
- Addresses the following: -

    -
  • added - Possibility to replace \n with <br> to be compatible with previous content coming from a database, for example.
  • -
  • added - Button to strip any HTML added by word
  • -
  • changed - Modified generate_wysiwyg() method (added width and height to customize size of each editor, width and height are optional parameter)
  • -
  • added - Possibility to set the default font family, font size and font color of the editor area
  • -
  • added - New function disable_wysiwyg() to disable a editor area
  • -
  • changed - Some changes were made to toolbar1 and toolbar2. now toolbar2 is hidden if no elements are assigned.
  • -
  • changed - Now you can add the viewSource button to toolbar1
  • -
  • added - A new function display_wysiwyg() only for displaying an iframe with content of a textarea (without any editable features)
  • -
  • added - A style-class for the iframe to customize the background-color (useful in firefox, because firefox use the background of the parent element)
  • -
  • added - Preview button + function (thx to Korvo), now it works in Firefox and use the innerHTML of the iframe instead of the texteare value
  • -
  • fixed - Some code improvements for better compatibility with Firefox + IE
  • -
  • changed - The var cssDir changed to cssFile, now it includes the complete file path (ex. styles/wysiwyg.css)
  • -
  • added - new stylesheet classes, check the css file
  • -
  • added - Possibility to enable/disable font + font size selection
  • -
  • fixed - Firefox BackColor problem fixed (thx to Merk), no hilite button needed only solve the problem on firefox
  • -
-

-
-
- - diff --git a/openwysiwyg/docs/images/logo.gif b/openwysiwyg/docs/images/logo.gif deleted file mode 100644 index 17daf94eef6a7c2a3714c7022cfb141de286f34b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2327 zcmV+y3F!7mNk%w1Vb%aD0OkMyGcz--t*z!#09smFnVFf_Z#IarCFbVl*we{#b90`z zWca~9IyySWwXChUk)))g&5C8Fwt?^O@0+z;N=izEgoL8JW3;xe|G+TeV;tkXWZvH1 zW@cvIy}t(3Jy$icDkzDobZI>xw` znVFfry}ir8rnI!Q(V~as#(~kxyzahFt-XlUyoBdi2(`SX`@lKM#lx_-oz#U`$&qr_ zdrH!>q0zgF$ee`Cy_=V_QTM${i?k}%-qzl~c&N3B)s%3av}uyHJio)X)^k1O#COHN zyVlgu`oci3x|O)StKPk9y}P&3wWi641ejE#Rny%*z@gvDDt* z;Ec#u*~?Bq8{z8f>Ki05<;yeN?Dh7<2VG6^%p~de00WlVkcA(!D_x)oT*xqz1S@n5 zGK=%Cp+$xVFm2elG2;O%*d+QoQc<7;kKIn99HjDq1Q3r}b~7ZCrAL=GGrs(`!3dZe zK!bvzB7%htcp@=0@uScrhXGJiyp%uyYSgI@tPTj)NJ0v$4`#A_dKCm!ty0ZqwaRtc zffqvm1mKuUcdic>c=jb7(^lYt0RRH4aQQc|VNVBA7zWUEQQ^Q9#0q*0VDL%6ixDd} z+}Ieh0&?rt&47YM2&4wD(8E|EGp5CX17N}oU_j?Ylq(#7S?ECP!>?h>-ay+nwGCvn zgceQL1dAx-3_2-O@{ie@I0;GE&K;%X>o>)6AHVXCgaC^JY|(015ur`>ob88}}{Iw6uz3(GM#mk=(n@Prcv%`?+U0el5j1yN)t z!2=bP$N~!%{b*Q_L&8?%k%m1$SQHhIH2?=CtVW}WS#gl$NlSj%WFbRi3GLM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|=Z5TA(_(u;@kh z>kVWGw!Xq#!EF)|)hqFqzX-m?27*9e0HdJ>t7!yu2v{(M08C*H3C?gakWm8%L_hR>vHWJJ{vg xILJuGM-2W;*bpcA$-_8+4jizCDqA@SKTs-^x9pi4a-?)z4zrlYY>_|!06We_I8Oio diff --git a/openwysiwyg/docs/style.css b/openwysiwyg/docs/style.css deleted file mode 100644 index d9c6774..0000000 --- a/openwysiwyg/docs/style.css +++ /dev/null @@ -1,112 +0,0 @@ -body { - font-family: Arial; - color: #000000; - font-weight: normal; - font-size: 13px; - background-color: #EEEEEE; -} - -td { - font-family: Arial; - color: #000000; - font-weight: normal; - font-size: 13px; -} - -h1 { - font-family: Tahoma; - color: #444444; - font-weight: bold; - font-size: 16px; - margin: 0px; -} - -h2 { - font-family: Tahoma; - color: #444444; - font-weight: bold; - font-size: 14px; - margin: 0px; - text-decoration: underline; -} - -h3 { - font-family: Tahoma; - color: #444444; - font-weight: bold; - font-size: 12px; - margin: 0px; - text-decoration: underline; -} - -.headline { - border-bottom: 1px solid #FF3300; - font-weight: bold; -} - -.naviblock { - width:280px; - text-align:center; - border: 1px solid #AAAAAA; - padding:5px; - background-color:#FFFFFF; -} - -a.navi { - font-family: Tahoma; - color: #444444; - font-weight: bold; - font-size: 13px; - text-decoration: none; -} - -a.navi:hover { - text-decoration: underline; -} - -a { - color: #333333; -} - -.codeblock { - background-color: #FFFFEE; - font-family: courier new; - font-size: 12px; - padding: 5px; - width: 90%; - border: 1px solid #AAAAAA; - margin-left: 10px; - margin-top: 5px; -} - - .codeblock td { - font-family: courier new; - font-size: 12px; - vertical-align: top; - color: #000088; - } - -.list { - line-height: 20px; -} - -.red { - color: #FF3300; -} - -.blue { - color: #0000FF; -} - -.green { - color: #008080; -} - -.darkblue { - color: #000088; -} - -.info { - color: #EE0000; - font-size:10px; -} \ No newline at end of file diff --git a/openwysiwyg/example.html b/openwysiwyg/example.html deleted file mode 100644 index 68373cd..0000000 --- a/openwysiwyg/example.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - openWYSIWYG - - - - - - - - - - - - - - - - - - - - -
- - - - - - DOCUMENTATION | ADDONS | EXAMPLES - -
-
- - - - - - - - - - - - -
-

Examples

-
- Copyright (c) 2006 openWebWare.com -
-
-
- -

- Default setup applied to this editor: -

-
- -
-
- - -

-Customized toolbar and openImageLibrary addon applied to this editor: -

-
- - -
-
- - -

- A really small setup applied to this editor: -

-
- - -
-
-
- - diff --git a/openwysiwyg/images/backcolor.gif b/openwysiwyg/images/backcolor.gif deleted file mode 100644 index fa177eeca03336f4bd74e917de4583146df01046..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 138 zcmZ?wbhEHb6k!lySj52a|NsA%mX_-3Y6dVHNJ4<(PZm}Y1{MY#5ErDDf!W_<*PVX` zlMJ7%zOrr3)>Q`tLZl>wm|Wvn7<`-rxJ}N^h~L2R`>o!hR=3FhbsgNp*tEkz&a>#+j`j&Fg!z7aOAYYn`M_Q! Q78-7)*51)6BFJD30D)#dpa1{> diff --git a/openwysiwyg/images/background_silver.jpg b/openwysiwyg/images/background_silver.jpg deleted file mode 100644 index efd475bf2965c59a3d920ef5d4b43a00da231705..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 299 zcma)1OAdlC5S@WiYAMpD#Sma&2yy8ZOf(_tu{e|NU3ddGel{+-MJ+4{?0l0+Uf#UC znXym%1$k~x4Im;MU4i|;0Vp9PAT$W*g1U|vr7RMhN1O{O21v0?WU>@m8>4ku6h*ln z(T89dhOvk9_ogS+-n?@U5%f cT~`>U!6bFFA+2)V%MPzkKG(nXiZECM0FIj*9{>OV diff --git a/openwysiwyg/images/copy.gif b/openwysiwyg/images/copy.gif deleted file mode 100644 index 3339c3f15a7f6d8cbdeb07a1750466e2c72177da..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 364 zcmZ?wbhEHb6k!lyxXQrr|NsBrzkh%K{{6#;5AWZ1ByRcSVb5V8FWB4fc(V3)_Gt;frpM%|A{3< zCv}_@CcSXE*ut=mp=;T}DG7|CCys6WA}7RlI*E6xO5c=hhk%G0_2lF^iVIuzi*U>E zyNWU}F|)G82?}P)$jG{iG1ZBR2}hK02v2gE!p4zZC_G(4V(w&x)vLwAnHF-3$a#x1 ih%H~f*;|rHc)v*97B8s@va)g~<$cebJ?G-cU=0A1(R^G0 diff --git a/openwysiwyg/images/copy_on.gif b/openwysiwyg/images/copy_on.gif deleted file mode 100644 index 296ffdf39ec06fb6bb67c39747b8ff838370f258..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 381 zcmWlUODIH99LE2RF({*GJQ~Hl@)!*67)>){yvpMuH5)Z{*G96sSy|q)k&Uy`G!{;w zCaV(`qbv?t+#wtxl*cJ4HaaV@x{hDJzP{!6jg5~+W3xW+!5x4j`Ei6)NF`tVLohDb zgOt+;=lbR`fBR0Epp2hgT%BJq!W?Szqx=)K8L`FD={>d`LIt6mP=;m6F`N@P$5Boo z;$Xrsp@;~JaGa$m%dM!gqLQ+THfZV4!eKSO(R+BbSy@>z5CIf_vapH()#-rLg6w2qEmTnGOUay< zv1;9$Oo`OOHLb=I{5JCW8mXCuF*z~_@O52VxPifdXY)0tgAN*bYacp2%* z#4bjkjT&+5C(T}y)wFTp($%~69uCM~-Pk$v%&Ehr4HM1MHZVr+-MnQhquc693wAA8 zwROR&y`2;1X#_5+?wNAs!ini~mq%4^)kxj4a?N_iz-_G)7ANF3Z`gjA(QAEnaZg?6 z90m%2;!hS<5e7yE9grCyKQXY?9cU=<(2?ptv83pv%_I+3o|I0-fDZLDlZ;;QSTBFQ z>9GTgK&Pj0P(ZlZzS@pDQvGHqAaV6JDB;%DP#W0&$_R~6@x(G*u@_Y#!k z7ZPV=U>DL9^ps&xU{_|8;}>L*@nn_cW#DJzXW->w^;{-4&53=lLd)TLM+R#EJ%nyN diff --git a/openwysiwyg/images/delete.gif b/openwysiwyg/images/delete.gif deleted file mode 100644 index a1390ce064a8aad1f6a6461e03dcc0330ef38931..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 236 zcmZ?wbhEHb6k!lyIKsei>C&aWd-v|#xpV8*t!vk=UAc1Q(xpr1%$YM|#*8Ubrc9VH zp{J*(qobpxrKO>vp}f32KR-V^JNy6t{|v+d#h)y!A`C(dIw0jBI~iCr7pU~5WX{W2 zwQdckfor4z!!M-|7LT_|8Za>`3wkiLGKMTPl#r2XPg9;|Wx)}#=JA0d4W5M7#a|<2 z&ULfDW^mkbS0Ha|Z-IkM!A|{0eKJh!H5`JTdV;)l%8ebiZB zkpD-Ih*PniCnMZG*aw~ra6aK~|IEzpse$EjTdVsz#%GL;Z)oWs*EBe)pnXhIv|o-v5;Ty6mXJ0%b)wEzGB diff --git a/openwysiwyg/images/forecolor_on.gif b/openwysiwyg/images/forecolor_on.gif deleted file mode 100644 index 61e0fb1ed745f768f8cc6c8b8b08df1f7a0d3094..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 174 zcmZ?wbhEHb6k!ly*v!E2|33(~w6s)LS2MIQFjO=A2a5qk89*{15*aA|WMLIy;9}4L z34+XEV2KVm>A8CEjb&%6!%lALjMwOW?!GYV=(Z$_GbX*ghZpiY+TSs{>v)0tkDf(i z!nT+wHd)35Ee!##<7X1MBw{!t&p24-afL9qR3&7z>ob`;T`=1-|LI1#WAA@!3Nly& E0QPe`fB*mh diff --git a/openwysiwyg/images/help.gif b/openwysiwyg/images/help.gif deleted file mode 100644 index c709559f78afe5723361e8613230ea88926f0f77..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 683 zcmZ?wbhEHb6k!lyc*el+|NsAg|Ni~``}fbEKfizf{`KqE&!0bk{P^+h+qbV@zkdGw z`O~LQA3uKl@ZrPz_wV1md-wM3+c$6Cyng-q)vH%8U%q_t;>ELP&z?Sg`uOqVM~@yo zeE9Ieg9rET-@kY7-mP1=u3x`??b@}=moJ|?ckb-jvuDnnIeq%{sZ*y;o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tFjQLB9ti)&6fq|Pv_+3oyu2aXJ?1ziGuT_r*nn^ zb0&hWh#3sVd)df5b?{SOOX4PjoGwiCtuob+&)1~| z>)1b9vIOx1=@T5EkM2Cp^e!Yws;OU}$3WhnR?VM@d(5mQWlr5dpunO|qZyf#i2PET z{-j2+eU9CEw|woMniW6QMdMsK5lCE4CO^X0)k|F_f%h1-B-}qH3H%ar?nA0&x&O-` GDCR$)e>da+ diff --git a/openwysiwyg/images/indent_left.gif b/openwysiwyg/images/indent_left.gif deleted file mode 100644 index 9ff7c2f40b6fcaee31ae716f015c51563d8c5099..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 90 zcmZ?wbhEHb6k!lyn8?5|bLLE6U*G@#|1&T!DE?$&6=7gv&;hc6vLXx&OxjcWSDx;D txJYE7Q}^pR4^n3{-2K?t-jUb#BJpfS&8uhAZr!;eaPIhD{t}>SYXCSsBMSfk diff --git a/openwysiwyg/images/indent_left_on.gif b/openwysiwyg/images/indent_left_on.gif deleted file mode 100644 index 18e7ea0ae6bc43b25ce8126221002699f3c6b5b3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 90 zcmZ?wbhEHb6k!lyn8?78HuJx)ukZi={}~t<6o0a?iZC!S=m6P3SrG;XChaNxD^K@6 tTqLs4sr&Vu2dT3e?tW}+@5pO=k$5(v=GC)lx9(gKICuOne+f{vH2_A)BR&8C diff --git a/openwysiwyg/images/indent_right.gif b/openwysiwyg/images/indent_right.gif deleted file mode 100644 index 90f70bc639db94b1f30ee580d2c88ded1f1eca37..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 90 zcmZ?wbhEHb6k!lyn8?5|bLLE6U*G@#|1&T!DE?$&6=7gv&;hc6vLXx&OxjcWSDx;D txJYE7Q}^pR4^me%%>CHd-jVm*BbE1d(kr#;x9(gKI5+t(e+f{vH2@jyAw~cI diff --git a/openwysiwyg/images/indent_right_on.gif b/openwysiwyg/images/indent_right_on.gif deleted file mode 100644 index 58ba3e5681879ffb98cd823e472a449fe7529101..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 90 zcmZ?wbhEHb6k!lyn8?78HuJx)ukZi={}~t<6o0a?iZC!S=m6P3SrG;XChaNxD^K@6 tTqLs4sr&Vu2dS$W=6-B!@5p=Zk;;2J>6O~_TX(JqoSXcYzXYh-8UQGGA$b4* diff --git a/openwysiwyg/images/insert_hyperlink.gif b/openwysiwyg/images/insert_hyperlink.gif deleted file mode 100644 index cd38888abf7ec1821ac72390ad0280296712d18f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 304 zcmZ?wbhEHb6k!lyIKsg2{rmSvj~-pScJ17`a|aI|+_`h-)~#DNZrr$X<;tZ?m(G|m zW5R?9Jv}`g9UTn~4b|1v`T6||hFyFj%sC39Xz7O(3hnHDRt_C$rg$vjyb6`Bv67Ytm&#>H+RAYmajk$Kew=Q}(+ zElQspR0Ss7XvNh>=ryi=fG?57V|Na<#TxvK2hVQ79J}YNt=GHG8cm=3+r?SCMJGnPNqzigEOK705XqM}KjiG3e$Y7F?K%kIRhTKD=RzQf*YJHC=olPi^kVSxd zD1bOgUvV5VPyhe_A^8La6aXIpEC2ui02BZe000HD;3tk`X`X2M5s0EBg*qaMVI0n+ z5GukPgTT+RX`~2^1uzg8OfH)Q3NdjUZiWY>lEI)95X)l0ct{|cOy>*1SS%CBHls!* zI>OBMkr^1qhq~0sh-n@C^#*J&&u3fx% z@#M*qhYug#w{PE`J$rWU+_`=G_RX6&Z``fIw1Fg z;)H?ybc1_Sb4zPmdq&PqShCPv zhHL$X4Fd84>(|I|aB%Ax^Y7fhe>)4G2?K*8FRz9yC(F6*?AphU*=ZirU}a+3uFA}O zjM?lc1Dg~hvt3B%#$k7*HeN+ds}6y})lO~v zU!xAJXiRPwXi>~d{9y3tNSC-t-isHCOFRS>wp;WVEIic8BW+p1pqR8oZMBR=@vA#0 OwI-gQ-@(MlU=09qr_5Ra diff --git a/openwysiwyg/images/insert_picture_on.gif b/openwysiwyg/images/insert_picture_on.gif deleted file mode 100644 index 9b2fcb34b449631bc0a135c56b955a9480c9677b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 625 zcmZ?wbhEHb6k!lyc*el+|NsBnZ~r}e`Q+k@eac1$`;~uY%dAvI6G4<5HB`2;fId)^$(Z$_I|IIpdqx0~;jeC}@*}7=; zmWAs!ty;5T<o3&{2+<9|m&R#TicK`I5(gb-(-rLjP+1J|I-rdwz-`3pQ($d!4($dgU*VNSB*wk3xR8wEm zQdwJ3SyNqJT~=0ET3l9KP+X8-Sd>?gpI4BVlb@59SCEmJk(!p4lA0PHpAZ`x9~~7N z78V&293B)H9^fDB?-%Un6XNR==<5^Y;}xLq)$if%8KxFoeCT+oG z%a`*r@Gn~&rOmx@(C;ZG$ z7_%@l@6=^tI>F@TdV*D%k#XmPHxGhXS*7*mxpwO4yk*kyw~$e=vMNfv(BLoME$_DE zipD}G*L6H{9(PVZZ04Ax8nons!^G9i9U=xfUnGiLJcTtQHn^M=ebmA&Y26^Ep+bA3l6||Ni~kw{PFPdGq@9>z6NIzIgHC`Sa&bpFVy3`0=Ahj~+gJ_~5~VJ9qBf zzJ2@Fty?#5-n@SO`qisfFJHcV>C&YO7cQJXfBxLLb7#(+Ieq%{sZ*y;o;-Qt#EIj_ zj~_dB?C{~khYlS&c<|tX0|)l+-@k9)zP)?*?%K6$$BrG_w{PFJZQItZTQ_gsykWzJ zb?erxS+i#K>eZ`Oty-~S#q#CL7cXACXwjmD3m49rGiT<^nKNe0m^yW8S65d@M@M^m zdtqT=a&mG=NJwySaA06yKtO<>pP#R30$chg^-P>Rsl|d}7PA)nJa%JVULlDI%`;h8IP^Kza+(Qm zTsmVmvmWaXE(;zWK0&`3vdV{b)zowitc}cVY=UNph+Z<1lDlT7qOPvHtjU7y0hcF)bllHzW?tYv~tj%em8$((Ebn?ZZRmq@u&^%Bo4zHngjBPEz%s@gjw3Y3F&h N*Fv1KT^a%m)&Qmi4xs=5 diff --git a/openwysiwyg/images/insert_table_on.gif b/openwysiwyg/images/insert_table_on.gif deleted file mode 100644 index dc126e967fd51a285838fa5d225e35a4d4340cf0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1042 zcmeH`{Yw*Z9LG;HnbgQiNI~e4sHl)I%cO|NoDUVQh=>RcD_ubrMnYjWBUFquhXq?kM- znt>nyz?|eiAPB&G5X{d4FayLnAV@g?e$4i1kAcAQT2qIvo!L$HG0dO4fO#kLN zz_VbA4@~i*Pne?x;NyVLFS`8m^v}TfBu`I*@hO4!akP)8CV9#yxR`mjhaL3=9NvJN z`RQU1G@aIm<ofW8+YQLkPZ?U@U|OCB{&kLvh+@W6(j$ zWToHXx`HN9@fI9 z`|Wro?5Jw9YV_Cx!$7$KE7fBaE!K)=th^b!+hQ$h#Ea?&)!N?Tr%2%wbKzs`T5VV1 zBXj;kQ$h8ItCgn9Rc6&a9_C9PS-?Wa^_>8Ee(J$@-k;@G7m<;5hWYL7&w zYUh#M_`?@=rRBvbvbLw3ksc2H*S`y_4Tdd_f|{YN3)?~`AekRJ8WF32wdN9;yyjFN z{LG>ZTb-5@eWm`O`X-dS0XlD1N33KE7ZBk_4Q8qGlaoIyeq9*05_CQk{QXCRi`gncji;Z6VTt#hlXfQT^|LbM4<+-ay zPks)Y+`LcjR?P~}w#yYea%6e#ny-~>Qw@=CUo>XKq^f?r@BC)ZsM}o-ITf-&5!raC zB0AYyd%NU9^0osVFsh5M>Dr?7=Zm^mRq5$xZ+U8U2@g`!G#P{HvL&l_0Zv9djl=K(IC-zMM diff --git a/openwysiwyg/images/italics.gif b/openwysiwyg/images/italics.gif deleted file mode 100644 index 8fd547ef8e8f24e03e32becb1bf4e0677ed33c13..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 79 zcmZ?wbhEHb6k!lyn8?7ebm>w*KfnL~|1&T!DE?$&6=7gv&;hc6vLXx&ObS!_SDt>$ izu0BrHBGGp50cJS3R{#iPGg;&68VDr_$MAw25SJ9t{E=? diff --git a/openwysiwyg/images/italics_on.gif b/openwysiwyg/images/italics_on.gif deleted file mode 100644 index c781bda7687bc11eca974df38b7aec1a312ec7d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 79 zcmZ?wbhEHb6k!lyn8?78HuHbl%rpQ0|7T!eQ2fclD#F0TpaWzBWknbmm=vb;uRQ&h if3eGgYnoXH9wwcw6t*a3n8r9eCGrLL@lQOW4AubFc^X;( diff --git a/openwysiwyg/images/justify_center.gif b/openwysiwyg/images/justify_center.gif deleted file mode 100644 index 6f1c340b6e85f9aecb00dd1ea9f586c93db4172d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 79 zcmZ?wbhEHb6k!lyn8?78mX>C0Z2bTKe+C8y#h)y!A`DCnIzTp1R)m3pNnuL=%F}Q8 ig*i4~vR*83KI diff --git a/openwysiwyg/images/justify_center_on.gif b/openwysiwyg/images/justify_center_on.gif deleted file mode 100644 index ef75d139ef6b046b102e3433aa05ffe05149c32c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 70 zcmZ?wbhEHb6k!lyXkcJSoB1CI6o0a?iZC!T=r8~QNQQw)wx@sP>9_pCGqzmoXx?i1 Wj=w~}qLcsROx{)7-f@dFSOWm?R2Lfn diff --git a/openwysiwyg/images/justify_justify.gif b/openwysiwyg/images/justify_justify.gif deleted file mode 100644 index 11b2af6b16192182c664e6f2beba3a3ebce380ad..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 80 zcmZ?wbhEHb6k!lyn8?78mX>C0Z2bTKe+C8y#h)yU3=B*RIzTp1Rs_gaoYKGY^jm&m ij?I^>lefsQ^Oinhw@MD5b#I2*^6SSw`N*>}SOWk{T^H~G diff --git a/openwysiwyg/images/justify_justify_on.gif b/openwysiwyg/images/justify_justify_on.gif deleted file mode 100644 index 1e06876f887ec406a9516d7eacfcd24ff6310c4b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 71 zcmZ?wbhEHb6k!lyXkcJSoB1CI6o0ZXGB7YQ=r8~QNQQw)uBU(H>9_pCGqzllSi4N( X-Cf)HVpfYo&7M!)_KsVcmBAVS3kny` diff --git a/openwysiwyg/images/justify_left.gif b/openwysiwyg/images/justify_left.gif deleted file mode 100644 index f2e6142c4e0009ed808c30389cc5b43eac78300e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 80 zcmZ?wbhEHb6k!lyn8?78mX>C0Z2bTKe+C8y#h)y!A`DCnIzTp1R)m3pNpVX5%F}Q8 jg*i4~vQFM&^FqI55xZG(n3KBOvQw{)ee#iJWv~VSShg4@ diff --git a/openwysiwyg/images/justify_left_on.gif b/openwysiwyg/images/justify_left_on.gif deleted file mode 100644 index 5f88cce51833d3b7738ac55c98d9bd19d30e78c4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 71 zcmZ?wbhEHb6k!lyXkcJSoB1CI6o0a?iZC!T=r8~QNQQw)uBU(H>9_pCGqzllSbNmw X1%C;jMWH_GFSru|0@=v diff --git a/openwysiwyg/images/justify_right.gif b/openwysiwyg/images/justify_right.gif deleted file mode 100644 index 5df6220a3a4974701c628c68f473acf56aa3bf4b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 79 zcmZ?wbhEHb6k!lyn8?78mX>C0Z2bTKe+C8y#h)y!A`DCnIzTp1R)m3pNnuL=%F}Q8 ig*i4~vR-Vrt^IGsBX+msFe7!hW#?WU`=lezU=09LJ{a`? diff --git a/openwysiwyg/images/justify_right_on.gif b/openwysiwyg/images/justify_right_on.gif deleted file mode 100644 index 854475517d4edf9112f830baf2012cda14d7fcae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 70 zcmZ?wbhEHb6k!lyXkcJSoB1CI6o0a?iZC!T=r8~QNQQw)wx@sP>9_pCGqzmo=->MD WEq{rGMJMmcnQ|+)y?ZUjU=08R8W`IE diff --git a/openwysiwyg/images/list_ordered.gif b/openwysiwyg/images/list_ordered.gif deleted file mode 100644 index 7e7acbc781ae1afeea84f7a4706d8009cdf28383..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 84 zcmZ?wbhEHb6k!lyn8?5|bLLE6U*G@#|1&T!DE?$&6=7gv&;hc6vLXx&OsZ4*SDt>$ odyna2OZUeqU15AiAu~d5?wr`Pd>h;9x^%T;^Shr1F)~;K05xkJ9smFU diff --git a/openwysiwyg/images/list_ordered_on.gif b/openwysiwyg/images/list_ordered_on.gif deleted file mode 100644 index a7a1c0a8e60ad4657effd804c6ef3f5f910db815..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 84 zcmZ?wbhEHb6k!lyn8?78HuJx)ukZi={}~t<6o0a?iZC!S=m6P3SrG;XCe$ m^C(zwMnmzkqF?+{p&C6+ZAD@ywr6Zwj!~U+mhI4tys3}Tdy%IgEasM9viFx diff --git a/openwysiwyg/images/logo.gif b/openwysiwyg/images/logo.gif deleted file mode 100644 index 50bedd4b70540f6d6cb661002b885d03c9bf9373..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1459 zcmV;k1x)%!Nk%w1VZQ((0J8u90001ge}6MGGrzyTW@cuYnVAm{56sNWPft(Z-`^h} zACHfZKR-XOudiliX8-^HA^8La6aWtZEC2ui0KWht000F4@X1N5y@@56!)#uK98|DO zfi@xA<-Tw%&vb3y_+&Iv0T>fT!2%di7J`WaaC!_Bxu|qXttJSJz^2i_h7u{l=1^!b zMh^r*q6Y9DfW!bHlrRwp-XZ?j6Os=B1P54XTxw2qLsg88jxY%Z1Ox^Q4-5d403Hlk z0tR3P2muCANOlJTYfl4`1eZ5X5(9B(61)vi z50M4D5)A;;anTP8P=W%B)&PqPYs%rZLvA71munB{fzrtJ_B2@&Mfpyf0RR7jS?VW2 zL6mT$RFTC!>v^rjWq2Y7VoFw4SgM zwC{WTehVK?d@R%A$dfBy&b+zv=g>dP2^OG13(z=UXTL5w`%2TNab6#=Aed1L+hO6J;{yn0g&-(&Hpr%(40iQnl1Uh;B&I>K#o=5Gws0jA(PsC`%asfd5ctB#JvRD@hpxnD(iWWAP_OL((=x?HkZ8 zD}hm_k;0!O8>s3Ll-D76V?hlu%ikgiP@CZf$TG+uWfkh{*p6a#%U@z|rl^1xyfxHO zfC3v-uVlJTz+|=ZrPo8TnHVVve!o)iDzj*MDGi+qQ}ScKeLWb$m2{dFV~n&t_``?? zz}b)i;r@6@m};VU9aU_8ixsd*4Vv&i)txkaz#Hn0+%8F5H&KrtOi zAj=Np>d|o=IJ+vdA)q{Vip7Wu&~ao#RP1ZhOf+Q9>x!Ynffb+#1-EttXljZ`2c|SE zm+@Cyig^FLkqZfQVe=55Htx~?&@R;uZ~u3PlUr^xSl^G-rwS1 z@F$JVd{po`3Z2CHOxc;2+gHMyk2JA+A$ON_0X93vFa?C@Y{bO^7-3aIm?vGXYDu5w z8OsA*S&Yr_I6H3;$A=xH=H#%ggh%CjbpGN6fBozn3i5JfLB0-Z#+7Sz0QUw zEDc0~`YVR4awoh+=q`O1Owk)MhofG>1t2!08V4yrIu13V6G61Wi1^|yUx^Kf6o^I> zf2X(@B5!IEpw@~a$iR1C#ind6#9}^&xs@^H@TdQ N0g{uTtU&|-06QPwdxHP~ diff --git a/openwysiwyg/images/maximize.gif b/openwysiwyg/images/maximize.gif deleted file mode 100644 index a3c138a24c3aea782c0a088d7359bea55b4190a4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 118 zcmZ?wbhEHb6k!lySj52a|NsA&FJIodbLaZ?>u3HmX&vO%BNgUjERPOG9ce+oyHdb3lK3gs& W(eH8Zk-{AroeL{UymD0-7_0$DAu%`r diff --git a/openwysiwyg/images/maximize_on.gif b/openwysiwyg/images/maximize_on.gif deleted file mode 100644 index a3c138a24c3aea782c0a088d7359bea55b4190a4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 118 zcmZ?wbhEHb6k!lySj52a|NsA&FJIodbLaZ?>u3HmX&vO%BNgUjERPOG9ce+oyHdb3lK3gs& W(eH8Zk-{AroeL{UymD0-7_0$DAu%`r diff --git a/openwysiwyg/images/paste.gif b/openwysiwyg/images/paste.gif deleted file mode 100644 index 5d4219dede51fdb7e9826a411f82ab643a011829..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 289 zcmV++0p9*cNk%w1VH5xq0K@0#X$jB|r%pm|f1*LNn diff --git a/openwysiwyg/images/paste_on.gif b/openwysiwyg/images/paste_on.gif deleted file mode 100644 index 111bb95d16c2dc4c4f0a7fd16a3475eae4021eea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 618 zcmchU&ubGw6vqeInkH!_X;Ve(k4(+Hsq9G}p7azq|Ae2zDexw8D2hk*c zpdr8}pgIsb;NVm69p!7)(a^D>lLD3U6_?6~Hj-`Mw2^8HC54elNv>r|N+G1uUP^mN zcuIO)c|>|l3nT@Xf^wmR%egCs%Y;h>XM$77?dHoTj7$1FT2Ri2U^ZofH3(~9(%_sr zj1m%=I$?E8>WtPgB^VP*s~A@a!48fnIoPqIub}@z_OCUNL7S-9zt-;r#Xj@RS6i>Q zn=NRN53e7`kg4GxVtU(c8IgVx2wq4eSWx!L(EHRjoUQQj) z=BDRSp>TSbjBji&jQy^4AdP=+CGUQu-zs6OIg;Pdg$eT^adhHQU@C>dcth__mb|Nb iZhAZ!e^JXNkK~3geEAW~tdCBYp6x%~`}EjGbN>KY7U}2! diff --git a/openwysiwyg/images/preview.gif b/openwysiwyg/images/preview.gif deleted file mode 100644 index dc34a7018a07b7ec98879999eb4f1bb4b7731a0c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 372 zcmZ?wbhEHb6k!lyxT?c&;>3v^J9d2k{{6s#0~01pc>n(Wix)3etXR>}(XnB}h8Z(v zWMpIz&!j0_AqKnMgNKQXXPbeLA)p(EArp`5T&hKFh45`hh?qJ&qqmn3YJW4NiZ zeYe-jb0;0b4+JQ1OxzMGAR)oi-pV+0gV8Z2R!z~GFfKN2rbY${5B4^;E>=E9B@fMT zMpjl8DFJnP_ZgvlEbRUQ()luOi)Gcsg}Eh_xmkob6kKO$?%k)!A;`<3sj)l##L0AC UEs-EMF;%(qSFT>W=Ez_T0NaX(iU0rr diff --git a/openwysiwyg/images/preview_on.gif b/openwysiwyg/images/preview_on.gif deleted file mode 100644 index 401890d651b10ea35e969f2d69b802c5367225a3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 587 zcmd7P&1(}u0LJ0jO`0@K(l#2f#a7b~Yt@RYD7KWARnTm5nq!Znhc>rPZ#^!lCc6Z2 zNXfDXBO|4{6k4W~Vo!GTVtSD|c*rST@Pi@4Q~wH|*`G2h`)l4DGZUBS=cQyX`G6ub`!;hes{H!_|31Fvf^WkfBk= z3DzlN2xHSC#HFGsg{h$hD4K$=>XJd;ly>PI!2DY}l}&pr9ZiAfUd!e#VR$6%`c;2?;lD z-1zq%D&vG4>l1>BrCj!>SA?8ep=h%qM_rvogRjMvNlt)8K$Js-Q-h0DQzXVk zlp#Evfk9B6Z=x%QKZ_;@pD-uuBw<#@#aXi%)Y;kDIJuZzWwa~|6gEatfs*#HT diff --git a/openwysiwyg/images/print_on.gif b/openwysiwyg/images/print_on.gif deleted file mode 100644 index 235c46c04de952e3ccf0b41d6e5ef45e87461e47..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 612 zcmZ?wbhEHb6k!lyc;?Dr;F0j)#fJ?$E-)-$`0(TZhY$Z3Y&dY>#07_lg8x7MI|LL6 z{AWnWXb4CsNGOB5Z<3l4nP@Sow?i;s66ygqdJ!hstf3OW`ULFh?4QuzrDW(b&4rVZ$*GIUMVOtPNsC`pt<#cmIwz~lY~v0qHW$W)Opf|I zPNvRnc5E6m)@TY!JDIS}X|b>smll^0FynLL6?IlU)hxj>eL4%PFr$?EttLrFCN^hD zDKWlX4q`kUtpcm=u`qITGxPB>aILL)u-1V^h}(f@!U6?_g|f050zVuNGWYW{8!0hd oSag9y!o00R##5+)+gV42V`UpdV^bRg!-)i!&C7gU8yOg^0TOq}o&W#< diff --git a/openwysiwyg/images/redo.gif b/openwysiwyg/images/redo.gif deleted file mode 100644 index 6e2b689c87556ea62cc7709f04613d7b0a8c5f19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 336 zcmZ?wbhEHb6k!lyxXQqAQ$>&tyr;Q!GZ-dX3Us8dGdq_6S}&(IyyR+ZIgh81>2V^$LPYi6i2PPJH z=t%XSSW1ttN5AOO#X(3?=5f4Ve1}6zAIR!-}PeHNZ5GO`qf%(p&!i-Ct#M)LW^Rceo KxXIU%!5RQi&1=a3 diff --git a/openwysiwyg/images/redo_on.gif b/openwysiwyg/images/redo_on.gif deleted file mode 100644 index a713be153519575117abd82a0fd55e3119443b0b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 339 zcmZ?wbhEHb6k!lyxXQqAp8O<)G8}@2sb*j8ptc_s(3KTH92YPo0?l#ddg}sggCP( aN-uI&RbpK3q^Y#VNt}DbmaV>y4AuY$5t#G< diff --git a/openwysiwyg/images/remove_format.gif b/openwysiwyg/images/remove_format.gif deleted file mode 100644 index 76617dedb050cce4b7167dbb04773647eb358bde..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 292 zcmZ?wbhEHb6k!lyI3mkXP*9MNkg#FHh6xiUR8&-SbaY(5e*MIW6A=*+2M!#VF=NJ# z9XnR6SP>8qaQ^)HqeqWgSXekXI9#}J;n=Zb1_lN$E-r3vZVMJH$jHcOXlQVCb^ZVU zKLZj_{K>+|z#z+@0}=z-$-ufWLA@^}b6&=(bvaeBUccjR7V3C}rMys;Y(La^;DCZe z>w%X^1_CUcjB5oCX!!cDGbZq|2ypm3USeResKG?Mxp5AgdFHW07q7f8yQFY%2al1A zbW?MaSQR%{J%ea@Pfw*XD^q>6OpkP_bXl9SB$K3MjMyyck{SFmDpol;jnm2(i>k6P k@(PMb&5{u=<)5LoZt*hdO`3~anpbMBFDdI&Qe?0O0Qh2T*#H0l diff --git a/openwysiwyg/images/remove_format_on.gif b/openwysiwyg/images/remove_format_on.gif deleted file mode 100644 index e2d05395eade3ee9b9ad293404440f943a976eed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 604 zcmdUsyKmD_7{x!QX`1wf+ot8&;I`r=L9q&y^bxouu?w4}c8JvFvQ=WaT@VrjmnPI{ z0qIIC9xq5p89kOQ1B$#L-32M4rMOFFwhxH`CX>Kl!5Mx!I%hf3S$SaR7anFI3&%G2 z4H2V{O%r{cQAgAnMiTe*R;#6?&Ney;N0gj7(&M;iG<_~O#ZaJPp#3$-@R<+X)Sp{s2NOvbX>M diff --git a/openwysiwyg/images/return.gif b/openwysiwyg/images/return.gif deleted file mode 100644 index 307d15529b41acd1b639139d64411bc3405a1613..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 372 zcmZ?wbhEHb6k!lyxN5{OVZwxnh=>gvHY`}MV8x0R2M!#_$jI2SW5@LA(=#(O&!0bk z?%cVAgoHI~)@PqAYjv`O*3cC zoH1j@(W6IKu3Wio+qU1of3I7&ET}~)qi4% z(a$V1?$+j{pIwpbnQk~m?ug^m&)xL8mp9?XlZ82=DOcZ2(U>DrA>Z&v!^rm5+6pZe z7HM8K0e6;g4pBon1|dUr9(U$&20j@>aYI>7#;Mc!RD}&i6z4BAlxNVxnrV3s`0iV{* zT(IH5{i=`$77Pgi2`h{R{wEmhJ8|#U(WCoM-g`8;bpM*I4;%zGuikOs%s>K2AA!)FU{>U@JRR%1`IEfL}ou9?osFQo%G)Cu@o$AY`vCiz|T5B!6 zuv2FqC);iZN#hRI>72~=0s>lU@-prG(+y=^q{Nh66y@3(r!(_tyC}H`^D*7H#iJ_j zBI@|)iHjAprk#t8i-f`Bwwo+0<_a#hdQk#`O$^bi6!rP8SQIp{v~pO8iEdO}pv1)@ Nq>^r= zY`!Qbm!O}hD8bp&)vUPJjYUuWM9ZfpVqg1iiD;>@Bv^Ov~_E3DSqxs!3ex|SRBY6dMuDb9Lz^+gAi y)@n&Had0qcGHUXIiiXGl diff --git a/openwysiwyg/images/save_on.gif b/openwysiwyg/images/save_on.gif deleted file mode 100644 index 81b1de057c025ff649549493bd846f7bba693c8d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 403 zcmZ?wbhEHb6k!lyxT?e8nmot9aMRokSE{ETowWS?<=d|xJp1_N+pnmqZJQ6?y>jQx z>-XPMn|H6+d9$GBfMrm_qAl0BoZ_cVUwyG`;^D@b$IX1JLd&+8 zc$FHu<)6L&a_6xJht54=U|`sE@UD)1%B;1QnBKyT?JT~Zqc|_gB zWQF)RIDqzOP2vYC76>_M)R?>n=%jMNe$7*TKxRdGTxuReEs6cU=0Ao7KSeX diff --git a/openwysiwyg/images/select_font.gif b/openwysiwyg/images/select_font.gif deleted file mode 100644 index c57b997d73da252a36df3f0e015233b545eccfb4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 419 zcmZ?wbhEHb3}p~uIKlt|*RI{0Idf)T-=uf%K0STd^Mu~L(`N7!JG0n1p}Zo=jG?{SsI#rBquadSpw2%tsH{1+)nsCq#l$)D(x#M5 z%b78=r&qtT-JnBY?KtLF}UAcMVnhi&f_RsG-c6`%W5#>HMsC|USfIurfo}BqwtQb z8Rm&cUhJ(_T+pXk`j0Q-v9qE3%3wi$kDTz0i)T7aR|vYiqHxji$-Jxzf1}(tsT`kd gz`8%GzraH`5JyTVxJv&?X(qyCP- z71Qn~%Sx@7C-&~$Y6d^KGmD)Q$}5u0nA)q2I@`KBy3P9y>ijc<%9?XqO(u3(Oq??> zZA!_soEbBFdi6Wo4LStZt}|Z0VarBC<^UFkJ$o6LXYf>R-neGN@#FpT`%awPv|#71 zefyhvt{pb5K67jRskw&Tx6Y?6ac1LU;1alc?a-_VXU}c={AKmyZx p-FKNR61a-R(jj2ObOYOSTOy1Xd1o6~>SZ`?S#fc(wi5$`H2{*JyVC#w diff --git a/openwysiwyg/images/select_heading.gif b/openwysiwyg/images/select_heading.gif deleted file mode 100644 index 7e91cf7c8a0541f3bc869c1bc58272ba5d122cfb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 313 zcmZ?wbhEHbbYl=<*v!E2|NsB*-@m_q|NZ&%_xJ8Szjp23-o3}>%$d{EGlheLg8>65 z{$ybl0gCE?WI$#xusr*4!gKXri`TJ@{}VL&QaI&YSBbHB?_n0?pOkt3NBg?B+^3rr z-cHb#^0%3;&%tx8FW^q!QWmq;^DCxpd9AzN(Z9_5T43#_Ed>k-{jOXAGUn!sF1#|m zZESLtvA!;#Jl@zT*UCk;zL=}DPrk2rvKo5^$E2BE)%l7uC-fFI$Q3SZRGKz@K6_3z z!`wv^8zwDTuw?VLsosWcoLro29qL^wJ&QLjUbaznWgGKemvx;@Cnjv2JmvVAgiFdB zQUj-*TYE_H{sZ?%*-!5sc@h08vF6OX_YZwOn?3&)WOV563JVUI9gK`@&5}wC4AuZp C2Zjy+ diff --git a/openwysiwyg/images/select_heading_on.gif b/openwysiwyg/images/select_heading_on.gif deleted file mode 100644 index e9ff50f9567045b30be624a88c9ce2f8b65bbf7a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 317 zcmZ?wbhEHbbYl=<*v!E2|NsB*-@m_q|NZ&%_xJ8Szjp23-o3}>%$bum^M6mz6b=p! z22`NfIEFlS2`M%!CYU~-D+%so!cU9*rPMXvp*RyzW?=sbC z(`V1gsb-j8w0Yr@2`jcXDyrn4fS-N!jl9i{GSGO_mbJ@_@G;!O+2@N-I zn@y{_eD-K+>b>xe2T6|}N8ign9P{dR;M>HSRUbdOv-^Cz`{SqU9$shhrsjjqGC~Of JGZdK^tO1kNikSca diff --git a/openwysiwyg/images/select_size.gif b/openwysiwyg/images/select_size.gif deleted file mode 100644 index 8e4bef8481d11045926cc9e27c435adadfcbcd0a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 344 zcmZ?wbhEHbG-MEAIKlt|_wPU5v*%!6-=uf%K7IfGGUsJPIpw_GS8zw7B$vga z?#&*F{|?vBl$~a+Xm7nFo^zyF=lgah;5nS945|^c8zmt)zp?P6*4ljR=z0t z@r&sOqrjgX2P@vMD#|L+t;%t#^DJ!4t}LxA)0tr8##}y)w~?!-zpAxj?&K-c7-nR0 zEuY=eyL#F}4<-%<4*sI$E1C`Fuiib`!OfI&g|=(^x?zj+qWORd-v)4_aE1;-Q(xy z|NsC0^XG5w-+u~Juy5ZXAQ!BUC_?ck3#$l&AcGD_HONi|*4qk-eJPpqGNRmaUhgaL z(J-mK1=(S{WlMI)CI1w*N_1%zyveOIvt{`<*Ez3NU1wXgv-aE`%MU^a z)uy+yluRm5-M)E!W1Yam>5tvxy|T-aD|GAfof|WolUmy>qZ zFmLL#+Ky!_^k>YRJ8!{4w#9libz7$d^x80SGjI#6->_-X*~6o0a?iZC!S=m6OaAbAERUX~Qag-z4Ls{IY! Im9-hH0qTwp$p8QV diff --git a/openwysiwyg/images/settings.gif b/openwysiwyg/images/settings.gif deleted file mode 100644 index f83b2e2f06c58c590bc7f19fbbaa27abc508952f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 169 zcmZ?wbhEHb6krfw*v!E2|NsB*-@m_q|NhytXZP;iyLRo`nKNfrty*o|ATt4k-Ek#z?qHOVd5svQC zommvs=C0Z2bTKe+C8y#h)y!A`DCnIzTp1R)m3pNoPv`%F}Q8 tWjTTyB7EyaVl8T&1R`ZUmL^7Ry5ZQ#SD7PZdy04Gw150OT#~E|)&M=L8DRhb diff --git a/openwysiwyg/images/strikethrough_on.gif b/openwysiwyg/images/strikethrough_on.gif deleted file mode 100644 index e876a85a2fb60b97d8b9a961fafebd052ddfa4a9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 80 zcmZ?wbhEHb6k!lyXkcJSoB1CI6o0a?iZC!T=r8~QNQQw)y{CWW>9_o{GZaEB{EuBP g*%>)ewCRdxZ|0S?=flks&xAbhc>e30F)M>L00K`Pi2wiq diff --git a/openwysiwyg/images/subscript.gif b/openwysiwyg/images/subscript.gif deleted file mode 100644 index 39f4c421b574a7b7b3830ea573ab67b7c0e17687..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 79 zcmZ?wbhEHb6k!lyn8?5|bLLD228RFt{{u%WQO3;`aQi>B?1(!cWbTmHp! gG+C0DpPlmhZ=yIufJf${DZ3^;<37GAn1R6>0Baf$+A^!Io7~4g{SjlZ1^_;87(M_1 diff --git a/openwysiwyg/images/superscript_on.gif b/openwysiwyg/images/superscript_on.gif deleted file mode 100644 index 14f20209d542939fd9558b51581255cc7a82525e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 79 zcmZ?wbhEHb6k!lyn8?78HuFCN1H=FSAX4!s3#$kN6N3(r4U`pOU|>?1(!cWbTmHoi f4y&?w&&>`NXK~ADO(~nU%&O}q_wi4E#2BmrO2`;- diff --git a/openwysiwyg/images/underline.gif b/openwysiwyg/images/underline.gif deleted file mode 100644 index e32b6e8ccbe928ded9674712c0fb7fe6147d0b5e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 87 zcmZ?wbhEHb6k!lyn8?7eY}qnjU*G@#|1&T!DE?$&6=7gv&;hc6vLXx&Od3=ASDt>$ qznI6QBTL>^`rGWxhtF$LlG~oHSj4Enusqt+tm*0ZbKlDu8LRO{Zz`&sRlZ91;fr&u}$Og)aFfcG_OzB^F`Yr!r p9+QqNd0Xjkvojw)uSrR6d%9u~qXNV7Xiu}Ir{B+gFK1-11^~rjA0Ge! diff --git a/openwysiwyg/images/undo.gif b/openwysiwyg/images/undo.gif deleted file mode 100644 index fe9afebe51e0d32597bdd03097415f3b64a39cea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 333 zcmZ?wbhEHb6k!lyxXQqAJ=+iELgB$#*7)0Cr_R*VM13|S4T%jb8~Y;LqkPH zMQLeiK|w)oZf-_KMnXbDL`1~@|Nj|i1{8m?u!=A!GU$M80Qrf5E$hI90uLRj{u4`z zPR1|^u`w@@w9-(BIHIspKxm!#S+=Gba?&mODvLKJSWI9s5~^Hd+9a^RIZ;7XsIUQR|*yhR`_gh5mw#92UShA*R#$Xq8O(PfIPe5=;24{>C$1_0Zc BXA1xT diff --git a/openwysiwyg/images/undo_on.gif b/openwysiwyg/images/undo_on.gif deleted file mode 100644 index 8885006e6b660830752c853bd51779fa2758b331..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 334 zcmZ?wbhEHb6k!lyxXQqA_|n@$m)>kT_I~a059cg+s?0dC%|C_~o-Y?tz zZpp5f6a>tD?T)=_|UcNM!|v)1v4I`PkEm(;X}fN2LT-)0vdqm zL3quDh?+g_HTMInw+2*PaHx3TP;kMa;DABF1BZ+Q4jCIP(>6IIEU=7QY>=?QAYy?* zzyt-43IG59XCNIY{$yblVbEjH0ci#KiGeNKVS0gwj#U4NB}FG=m?U_Z7rgYc(7EBN zC@CnkPU-T=OEctDn-7+zys8NhW7$-+FyaQ2xWdy$1w*M)wMr+|S`TTJ#%AX>eh*z8 oZ7o%$Ua_9_og=WH=bFu1|^ fyssi@S>{8tre)t7^|IwMR~23Bef}#>l))MR`Mw=o diff --git a/openwysiwyg/images/view_text.gif b/openwysiwyg/images/view_text.gif deleted file mode 100644 index 9d445c4e1b30ab09a5b0370922b8d60de5552b70..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 78 zcmZ?wbhEHb6k!lyXkY+=|Ns9h{$yblVPIs?0r5dH3{0v${VPwun+a diff --git a/openwysiwyg/images/view_text_on.gif b/openwysiwyg/images/view_text_on.gif deleted file mode 100644 index cc57b26f2e4a523c4e59dc74834a839d9893acef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 78 zcmZ?wbhEHb6k!lyXkcJSoB1CI6o0a?iZC!T=r8~QNQQw)wWojO>9_og=WH=+U}oEu ef3%cMyv;LnnRn%c$5v_UGOm8>eO}7QU=0AdgBy1M diff --git a/openwysiwyg/popups/about.html b/openwysiwyg/popups/about.html deleted file mode 100644 index 8c7676e..0000000 --- a/openwysiwyg/popups/about.html +++ /dev/null @@ -1,100 +0,0 @@ - - - openWYSIWYG | About - - - - - - - - -
- - - - - - - - - - - -
- - -   -
- - - - - -
- -
- -
-   - - - - - - -
- -
- -
-   -
- - - - - -
- An open source cross-browser WYSIWYG editor.

- Version 1.4.7
- - Copyright © 2006 - openWebWare.com -
- All Rights Reserved -
-
- -
- Resources: - - -
-
- - - diff --git a/openwysiwyg/popups/about_license.html b/openwysiwyg/popups/about_license.html deleted file mode 100644 index fa05365..0000000 --- a/openwysiwyg/popups/about_license.html +++ /dev/null @@ -1,75 +0,0 @@ - - - openWYSIWYG | About - - - - - - - - -
- - - - - - - - - - - -
- - -   -
- - - - -
- -
- -
-   - - - - - - -
- -
- -
-   -
- - - - - -
- -
-
- - - diff --git a/openwysiwyg/popups/create_table.html b/openwysiwyg/popups/create_table.html deleted file mode 100644 index 38d9ee4..0000000 --- a/openwysiwyg/popups/create_table.html +++ /dev/null @@ -1,262 +0,0 @@ - - - - - openWYSIWYG | Create or Modify Table - - - - - - - - - - - - - - - -
- Table Properties: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Rows: - - - - Width: - - - -
- Cols: - - - - Alignment: - - -
- Padding: - - - - Background-Color: - - - - - - -
- - - - -
- -
-
- -
-
- Border-Size: - - - - Border-Color: - - - - - - -
- - - - -
- -
-
- -
-
- Border-Style: - - - - Border-Collapse: - - -
-
-
- -   - -
- - - -
- - \ No newline at end of file diff --git a/openwysiwyg/popups/insert_hyperlink.html b/openwysiwyg/popups/insert_hyperlink.html deleted file mode 100644 index fe10263..0000000 --- a/openwysiwyg/popups/insert_hyperlink.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - openWYSIWYG | Create or Modify Link - - - - - - -
- -Insert Hyperlink: - - - - - - - - - - - - - - - - - - - - -
URL: - -
Target: - -   - -
Style: - -
Class: - - Name: - -
- -
 
- -
- - - diff --git a/openwysiwyg/popups/insert_image.html b/openwysiwyg/popups/insert_image.html deleted file mode 100644 index 5b68dd3..0000000 --- a/openwysiwyg/popups/insert_image.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - -openWYSIWYG | Insert or Modify Image - - - - - - -
- -Insert Image: - - - - - - - - - -
Image URL:
Alternate Text:
- - - - - -
- -Layout: - - - - - - - - - - - - - -
Width:
Height:
Border:
- -
  - -  - - - - - - - - - - - - - -
Alignment: - -
Horizontal Space:
Vertical Space:
- -
- -
 
- -
- - - diff --git a/openwysiwyg/popups/license.html b/openwysiwyg/popups/license.html deleted file mode 100644 index 49c89d2..0000000 --- a/openwysiwyg/popups/license.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -openWYSIWYG | License - - -

GNU Lesser General Public License

- -

Version 2.1, February 1999

- -
-

Copyright (C) 1991, 1999 Free Software Foundation, Inc. -59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed.

- -

[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.]

- -

Preamble

- -

The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.

- -

This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. -

-

When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things.

- -

To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. -

-

For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights.

- -

We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library.

- -

To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others.

-

- Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license.

- -

Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs.

- -

When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.

- -

We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances.

- -

For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. -

-

In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system.

- -

Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. -

-

The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run.

- -

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

- -

0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you".

- -

A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables.

- -

The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".)

- -

"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library.

- -

Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does.

- -

1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. -

-

You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.

- -

2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: -

- -
-

a) The modified work must itself be a software library.

-

b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change.

-

c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License.

-

d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful.

- - -

(For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) -

-

These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. -

-

Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. -

-

In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. -

-

3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices.

- -

Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. -

-

This option is useful when you wish to copy part of the code of the Library into a program that is not a library. -

-

4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. -

- -

If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.

- -

5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.

- -

However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables.

- -

When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law.

- -

If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.)

- -

Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself.

- -

6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications.

-

- You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things:

- -

a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.)

- -

b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with.

-

-c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution.

- -

d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place.

- -

e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy.

-
- -

For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.

- -

It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute.

- -

7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things:

- -
-

a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above.

- -

b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.

- -

8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.

-

-9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it.

-

-10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License.

- -

11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library.

-

-If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances.

- -

It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.

- -

This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.

-

-12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.

-

-13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

- -

Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation.

-

-14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.

-

-NO WARRANTY

-

-15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

-

-16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

- -

END OF TERMS AND CONDITIONS

- - - diff --git a/openwysiwyg/popups/preview.html b/openwysiwyg/popups/preview.html deleted file mode 100644 index 61a0127..0000000 --- a/openwysiwyg/popups/preview.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -Preview - - - - - - - diff --git a/openwysiwyg/popups/select_color.html b/openwysiwyg/popups/select_color.html deleted file mode 100644 index ca06bd8..0000000 --- a/openwysiwyg/popups/select_color.html +++ /dev/null @@ -1,335 +0,0 @@ - - - - - openWYSIWYG | Select Color - - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - diff --git a/openwysiwyg/scripts/wysiwyg-color.js b/openwysiwyg/scripts/wysiwyg-color.js deleted file mode 100644 index fbc2a9e..0000000 --- a/openwysiwyg/scripts/wysiwyg-color.js +++ /dev/null @@ -1,137 +0,0 @@ -/******************************************************************** - * openWYSIWYG color chooser Copyright (c) 2006 openWebWare.com - * Contact us at devs@openwebware.com - * This copyright notice MUST stay intact for use. - * - * $Id: wysiwyg-color.js,v 1.1 2007/01/29 19:19:49 xhaggi Exp $ - ********************************************************************/ -function WYSIWYG_Color() { - - // colors - var COLORS = new Array( - "#000000","#993300","#333300","#003300","#003366","#000080", - "#333399","#333333","#800000","#FF6600","#808000","#008000", - "#008080","#0000FF","#666699","#808080","#FF0000","#FF9900", - "#99CC00","#339966","#33CCCC","#3366FF","#800080","#999999", - "#FF00FF","#FFCC00","#FFFF00","#00FF00","#00CCFF","#993366", - "#C0C0C0","#FF99CC","#FFCC99","#FFFF99","#CCFFCC","#CCFFFF", - "#99CCFF","#666699","#777777","#999999","#EEEEEE","#FFFFFF" - ); - - // div id of the color table - var CHOOSER_DIV_ID = "colorpicker-div"; - - /** - * Init the color picker - */ - this.init = function() { - var div = document.createElement("DIV"); - div.id = CHOOSER_DIV_ID; - div.style.position = "absolute"; - div.style.visibility = "hidden"; - document.body.appendChild(div); - }; - - - /** - * Open the color chooser to choose a color. - * - * @param {String} element Element identifier - */ - this.choose = function(element) { - var div = document.getElementById(CHOOSER_DIV_ID); - if(div == null) { - alert("Initialisation of color picker failed."); - return; - } - - // writes the content of the color picker - write(element); - - // Display color picker - var x = window.event.clientX + document.body.scrollLeft; - var y = window.event.clientY + document.body.scrollTop; - var winsize = windowSize(); - if(x + div.offsetWidth > winsize.width) x = winsize.width - div.offsetWidth - 5; - if(y + div.offsetHeight > winsize.height) y = winsize.height - div.offsetHeight - 5; - div.style.left = x + "px"; - div.style.top = y + "px"; - div.style.visibility = "visible"; - }; - - /** - * Set the color in the given field - * - * @param {String} n Element identifier - * @param {String} color HexColor String - */ - this.select = function(n, color) { - var div = document.getElementById(CHOOSER_DIV_ID); - var elm = document.getElementById(n); - elm.value = color; - elm.style.color = color; - elm.style.backgroundColor = color; - div.style.visibility = "hidden"; - } - - - /** - * Write the color table - * @param {String} n Element identifier - * @private - */ - function write(n) { - - var div = document.getElementById(CHOOSER_DIV_ID); - - var output = ""; - output += ''; - for(var i = 0; i < COLORS.length;i++) { - var color = COLORS[i]; - output += ''; - - if(((i+1) % Math.round(Math.sqrt(COLORS.length))) == 0) { - output += ""; - } - } - - output += '
'; - output += '
 
'; - output += '
'; - - // write to div element - div.innerHTML = output; - }; - - /** - * Set the window.event on Mozilla Browser - * @private - */ - function _event_tracker(event) { - if (!document.all && document.getElementById) { - window.event = event; - } - } - document.onmousedown = _event_tracker; - - /** - * Get the window size - * @private - */ - function windowSize() { - if (window.innerWidth) { - return {width: window.innerWidth, height: window.innerHeight}; - } - else if (document.body && document.body.offsetWidth) { - return {width: document.body.offsetWidth, height: document.body.offsetHeight}; - } - else { - return {width: 0, height: 0}; - } - } -} - -var WYSIWYG_ColorInst = new WYSIWYG_Color(); \ No newline at end of file diff --git a/openwysiwyg/scripts/wysiwyg-popup.js b/openwysiwyg/scripts/wysiwyg-popup.js deleted file mode 100644 index 163731c..0000000 --- a/openwysiwyg/scripts/wysiwyg-popup.js +++ /dev/null @@ -1,38 +0,0 @@ -/******************************************************************** - * openWYSIWYG popup functions Copyright (c) 2006 openWebWare.com - * Contact us at devs@openwebware.com - * This copyright notice MUST stay intact for use. - * - * $Id: wysiwyg-popup.js,v 1.2 2007/01/22 23:45:30 xhaggi Exp $ - ********************************************************************/ -var WYSIWYG_Popup = { - - /** - * Return the value of an given URL parameter. - * - * @param param Parameter - * @return Value of the given parameter - */ - getParam: function(param) { - var query = window.location.search.substring(1); - var parms = query.split('&'); - for (var i=0; i 0) { - var key = parms[i].substring(0,pos).toLowerCase(); - var val = parms[i].substring(pos+1); - if(key == param.toLowerCase()) - return val; - } - } - return null; - } -} - -// close the popup if the opener does not hold the WYSIWYG object -if(!window.opener) window.close(); - -// bind objects on local vars -var WYSIWYG = window.opener.WYSIWYG; -var WYSIWYG_Core = window.opener.WYSIWYG_Core; -var WYSIWYG_Table = window.opener.WYSIWYG_Table; \ No newline at end of file diff --git a/openwysiwyg/scripts/wysiwyg-settings.js b/openwysiwyg/scripts/wysiwyg-settings.js deleted file mode 100644 index 993b67a..0000000 --- a/openwysiwyg/scripts/wysiwyg-settings.js +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************** - * openWYSIWYG settings file Copyright (c) 2006 openWebWare.com - * Contact us at devs@openwebware.com - * This copyright notice MUST stay intact for use. - * - * $Id: wysiwyg-settings.js,v 1.4 2007/01/22 23:05:57 xhaggi Exp $ - ********************************************************************/ - -/* - * Full featured setup used the openImageLibrary addon - */ -var full = new WYSIWYG.Settings(); -//full.ImagesDir = "images/"; -//full.PopupsDir = "popups/"; -//full.CSSFile = "styles/wysiwyg.css"; -full.Width = "85%"; -full.Height = "250px"; -// customize toolbar buttons -full.addToolbarElement("font", 3, 1); -full.addToolbarElement("fontsize", 3, 2); -full.addToolbarElement("headings", 3, 3); -// openImageLibrary addon implementation -full.ImagePopupFile = "addons/imagelibrary/insert_image.php"; -full.ImagePopupWidth = 600; -full.ImagePopupHeight = 245; - -/* - * Small Setup Example - */ -var small = new WYSIWYG.Settings(); -small.Width = "350px"; -small.Height = "100px"; -small.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #AA99AA"; -small.Toolbar[0] = new Array("font", "fontsize", "bold", "italic", "underline"); // small setup for toolbar 1 -small.Toolbar[1] = ""; // disable toolbar 2 -small.StatusBarEnabled = false; diff --git a/openwysiwyg/scripts/wysiwyg.js b/openwysiwyg/scripts/wysiwyg.js deleted file mode 100644 index 31d5d38..0000000 --- a/openwysiwyg/scripts/wysiwyg.js +++ /dev/null @@ -1,2892 +0,0 @@ -/******************************************************************** - * openWYSIWYG v1.47 Copyright (c) 2006 openWebWare.com - * Contact us at devs@openwebware.com - * This copyright notice MUST stay intact for use. - * - * $Id: wysiwyg.js,v 1.22 2007/09/08 21:45:57 xhaggi Exp $ - * $Revision: 1.22 $ - * - * An open source WYSIWYG editor for use in web based applications. - * For full source code and docs, visit http://www.openwebware.com - * - * This library is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public - * License for more details. - * - * You should have received a copy of the GNU Lesser General Public License along - * with this library; if not, write to the Free Software Foundation, Inc., 59 - * Temple Place, Suite 330, Boston, MA 02111-1307 USA - ********************************************************************/ -var WYSIWYG = { - - /** - * Settings class, holds all customizeable properties - */ - Settings: function(){ - - // Images Directory - this.ImagesDir = "./openwysiwyg/images/"; - - // Popups Directory - this.PopupsDir = "./openwysiwyg/popups/"; - - // CSS Directory File - this.CSSFile = "./openwysiwyg/styles/wysiwyg.css"; - - // Default WYSIWYG width and height (use px or %) - this.Width = "500px"; - this.Height = "300px"; - - // Default stylesheet of the WYSIWYG editor window - this.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #FFFFFF"; - - // Stylesheet if editor is disabled - this.DisabledStyle = "font-family: Arial; font-size: 12px; background-color: #EEEEEE"; - - // Width + Height of the preview window - this.PreviewWidth = 500; - this.PreviewHeight = 400; - - // Confirmation message if you strip any HTML added by word - this.RemoveFormatConfMessage = "Clean HTML inserted by MS Word ?"; - - // Nofication if browser is not supported by openWYSIWYG, leave it blank for no message output. - this.NoValidBrowserMessage = "openWYSIWYG does not support your browser."; - - // Anchor path to strip, leave it blank to ignore - // or define auto to strip the path where the editor is placed - // (only IE) - this.AnchorPathToStrip = "auto"; - - // Image path to strip, leave it blank to ignore - // or define auto to strip the path where the editor is placed - // (only IE) - this.ImagePathToStrip = "auto"; - - // Enable / Disable the custom context menu - this.ContextMenu = true; - - // Enabled the status bar update. Within the status bar - // node tree of the actually selected element will build - this.StatusBarEnabled = true; - - // If enabled than the capability of the IE inserting line breaks will be inverted. - // Normal: ENTER =

, SHIFT + ENTER =
- // Inverted: ENTER =
, SHIFT + ENTER =

- this.InvertIELineBreaks = false; - - // Replace line breaks with
tags - this.ReplaceLineBreaks = false; - - // Page that opened the WYSIWYG (Used for the return command) - this.Opener = "admin.asp"; - - // Insert image implementation - this.ImagePopupFile = ""; - this.ImagePopupWidth = 0; - this.ImagePopupHeight = 0; - - // Holds the available buttons displayed - // on the toolbar of the editor - this.Toolbar = new Array(); - this.Toolbar[0] = new Array("font", "fontsize", "headings", "bold", "italic", "underline", "strikethrough", "seperator", "forecolor", "backcolor", "seperator", "justifyfull", "justifyleft", "justifycenter", "justifyright", "seperator", "unorderedlist", "orderedlist", "outdent", "indent"); - this.Toolbar[1] = new Array("save", // "return", // return button disabled by default - "seperator", "subscript", "superscript", "seperator", "cut", "copy", "paste", "removeformat", "seperator", "undo", "redo", "seperator", "inserttable", "insertimage", "createlink", "seperator", "preview", "print", "seperator", "viewSource", "maximize", "seperator", "help"); - - // DropDowns - this.DropDowns = new Array(); - // Fonts - this.DropDowns['font'] = { - id: "fonts", - command: "FontName", - label: "{value}", - width: "90px", - elements: new Array("Arial", "Sans Serif", "Tahoma", "Verdana", "Courier New", "Georgia", "Times New Roman", "Impact", "Comic Sans MS") - }; - // Font sizes - this.DropDowns['fontsize'] = { - id: "fontsizes", - command: "FontSize", - label: "Size {value}", - width: "54px", - elements: new Array("1", "2", "3", "4", "5", "6", "7") - }; - // Headings - this.DropDowns['headings'] = { - id: "headings", - command: "FormatBlock", - label: "<{value} style=\"margin:0px;text-decoration:none;font-family:Arial\">{value}", - width: "74px", - elements: new Array("H1", "H2", "H3", "H4", "H5", "H6") - }; - - // Add the given element to the defined toolbar - // on the defined position - this.addToolbarElement = function(element, toolbar, position){ - if (element != "seperator") { - this.removeToolbarElement(element); - } - if (this.Toolbar[toolbar - 1] == null) { - this.Toolbar[toolbar - 1] = new Array(); - } - this.Toolbar[toolbar - 1].splice(position + 1, 1, element); - }; - - // Remove an element from the toolbar - this.removeToolbarElement = function(element){ - if (element == "seperator") { - return; - } // do not remove seperators - for (var i = 0; i < this.Toolbar.length; i++) { - if (this.Toolbar[i]) { - var toolbar = this.Toolbar[i]; - for (var j = 0; j < toolbar.length; j++) { - if (toolbar[j] != null && toolbar[j] == element) { - this.Toolbar[i].splice(j, 1); - } - } - } - } - }; - - // clear all or a given toolbar - this.clearToolbar = function(toolbar){ - if (typeof toolbar == "undefined") { - this.Toolbar = new Array(); - } - else { - this.Toolbar[toolbar + 1] = new Array(); - } - }; - - }, - - - /* ---------------------------------------------------------------------- *\ - !! Do not change something below or you know what you are doning !! - \* ---------------------------------------------------------------------- */ - // List of available block formats (not in use) - //BlockFormats: new Array("Address", "Bulleted List", "Definition", "Definition Term", "Directory List", "Formatted", "Heading 1", "Heading 2", "Heading 3", "Heading 4", "Heading 5", "Heading 6", "Menu List", "Normal", "Numbered List"), - - // List of available actions and their respective ID and images - ToolbarList: { - //Name buttonID buttonTitle buttonImage buttonImageRollover - "bold": ['Bold', 'Bold', 'bold.gif', 'bold_on.gif'], - "italic": ['Italic', 'Italic', 'italics.gif', 'italics_on.gif'], - "underline": ['Underline', 'Underline', 'underline.gif', 'underline_on.gif'], - "strikethrough": ['Strikethrough', 'Strikethrough', 'strikethrough.gif', 'strikethrough_on.gif'], - "seperator": ['', '', 'seperator.gif', 'seperator.gif'], - "subscript": ['Subscript', 'Subscript', 'subscript.gif', 'subscript_on.gif'], - "superscript": ['Superscript', 'Superscript', 'superscript.gif', 'superscript_on.gif'], - "justifyleft": ['Justifyleft', 'Justifyleft', 'justify_left.gif', 'justify_left_on.gif'], - "justifycenter": ['Justifycenter', 'Justifycenter', 'justify_center.gif', 'justify_center_on.gif'], - "justifyright": ['Justifyright', 'Justifyright', 'justify_right.gif', 'justify_right_on.gif'], - "justifyfull": ['Justifyfull', 'Justifyfull', 'justify_justify.gif', 'justify_justify_on.gif'], - "unorderedlist": ['InsertUnorderedList', 'Insert Unordered List', 'list_unordered.gif', 'list_unordered_on.gif'], - "orderedlist": ['InsertOrderedList', 'Insert Ordered List', 'list_ordered.gif', 'list_ordered_on.gif'], - "outdent": ['Outdent', 'Outdent', 'indent_left.gif', 'indent_left_on.gif'], - "indent": ['Indent', 'Indent', 'indent_right.gif', 'indent_right_on.gif'], - "cut": ['Cut', 'Cut', 'cut.gif', 'cut_on.gif'], - "copy": ['Copy', 'Copy', 'copy.gif', 'copy_on.gif'], - "paste": ['Paste', 'Paste', 'paste.gif', 'paste_on.gif'], - "forecolor": ['ForeColor', 'Fore Color', 'forecolor.gif', 'forecolor_on.gif'], - "backcolor": ['BackColor', 'Back Color', 'backcolor.gif', 'backcolor_on.gif'], - "undo": ['Undo', 'Undo', 'undo.gif', 'undo_on.gif'], - "redo": ['Redo', 'Redo', 'redo.gif', 'redo_on.gif'], - "inserttable": ['InsertTable', 'Insert Table', 'insert_table.gif', 'insert_table_on.gif'], - "insertimage": ['InsertImage', 'Insert Image', 'insert_picture.gif', 'insert_picture_on.gif'], - "createlink": ['CreateLink', 'Create Link', 'insert_hyperlink.gif', 'insert_hyperlink_on.gif'], - "viewSource": ['ViewSource', 'View Source', 'view_source.gif', 'view_source_on.gif'], - "viewText": ['ViewText', 'View Text', 'view_text.gif', 'view_text_on.gif'], - "help": ['Help', 'Help', 'help.gif', 'help_on.gif'], - "fonts": ['Fonts', 'Select Font', 'select_font.gif', 'select_font_on.gif'], - "fontsizes": ['Fontsizes', 'Select Size', 'select_size.gif', 'select_size_on.gif'], - "headings": ['Headings', 'Select Size', 'select_heading.gif', 'select_heading_on.gif'], - "preview": ['Preview', 'Preview', 'preview.gif', 'preview_on.gif'], - "print": ['Print', 'Print', 'print.gif', 'print_on.gif'], - "removeformat": ['RemoveFormat', 'Strip Word HTML', 'remove_format.gif', 'remove_format_on.gif'], - "delete": ['Delete', 'Delete', 'delete.gif', 'delete_on.gif'], - "save": ['Save', 'Save document', 'save.gif', 'save_on.gif'], - "return": ['Return', 'Return without saving', 'return.gif', 'return_on.gif'], - "maximize": ['Maximize', 'Maximize the editor', 'maximize.gif', 'maximize_on.gif'] - }, - - // stores the different settings for each textarea - // the textarea identifier is used to store the settings object - config: new Array(), - // Create viewTextMode global variable and set to 0 - // enabling all toolbar commands while in HTML mode - viewTextMode: new Array(), - // maximized - maximized: new Array(), - - /** - * Get the range of the given selection - * - * @param {Selection} sel Selection object - * @return {Range} Range object - */ - getRange: function(sel){ - return sel.createRange ? sel.createRange() : sel.getRangeAt(0); - }, - - /** - * Return the editor div element - * - * @param {String} n Editor identifier - * @return {HtmlDivElement} Iframe object - */ - getEditorDiv: function(n){ - return $("wysiwyg_div_" + n); - }, - - /** - * Return the editor table element - * - * @param {String} n Editor identifier - * @return {HtmlTableElement} Iframe object - */ - getEditorTable: function(n){ - return $("wysiwyg_table_" + n); - }, - - /** - * Get the iframe object of the WYSIWYG editor - * - * @param {String} n Editor identifier - * @return {HtmlIframeElement} Iframe object - */ - getEditor: function(n){ - return $("wysiwyg" + n); - }, - - /** - * Get editors window element - * - * @param {String} n Editor identifier - * @return {HtmlWindowElement} Html window object - */ - getEditorWindow: function(n){ - return this.getEditor(n).contentWindow; - }, - - /** - * Attach the WYSIWYG editor to the given textarea element - * - * @param {String} id Textarea identifier (all = all textareas) - * @param {Settings} settings the settings which will be applied to the textarea - */ - attach: function(id, settings){ - if (id != "all") { - this.setSettings(id, settings); - WYSIWYG_Core.includeCSS(this.config[id].CSSFile); - WYSIWYG_Core.addEvent(window, "load", function generateEditor(){ - WYSIWYG._generate(id, settings); - }); - } - else { - WYSIWYG_Core.addEvent(window, "load", function generateEditor(){ - WYSIWYG.attachAll(settings); - }); - } - }, - - /** - * Attach the WYSIWYG editor to all textarea elements - * - * @param {Settings} settings Settings to customize the look and feel - */ - attachAll: function(settings){ - var areas = document.getElementsByTagName("textarea"); - for (var i = 0; i < areas.length; i++) { - var id = areas[i].getAttribute("id"); - if (id == null || id == "") - continue; - this.setSettings(id, settings); - WYSIWYG_Core.includeCSS(this.config[id].CSSFile); - WYSIWYG._generate(id, settings); - } - }, - - /** - * Display an iframe instead of the textarea. - * It's used as textarea replacement to display HTML. - * - * @param id Textarea identifier (all = all textareas) - * @param settings the settings which will be applied to the textarea - */ - display: function(id, settings){ - if (id != "all") { - this.setSettings(id, settings); - WYSIWYG_Core.includeCSS(this.config[id].CSSFile); - WYSIWYG_Core.addEvent(window, "load", function displayIframe(){ - WYSIWYG._display(id, settings); - }); - } - else { - WYSIWYG_Core.addEvent(window, "load", function displayIframe(){ - WYSIWYG.displayAll(settings); - }); - } - }, - - /** - * Display an iframe instead of the textarea. - * It's apply the iframe to all textareas found in the current document. - * - * @param settings Settings to customize the look and feel - */ - displayAll: function(settings){ - var areas = document.getElementsByTagName("textarea"); - for (var i = 0; i < areas.length; i++) { - var id = areas[i].getAttribute("id"); - if (id == null || id == "") - continue; - this.setSettings(id, settings); - WYSIWYG_Core.includeCSS(this.config[id].CSSFile); - WYSIWYG._display(id, settings); - } - }, - - /** - * Set settings in config array, use the textarea id as identifier - * - * @param n Textarea identifier (all = all textareas) - * @param settings the settings which will be applied to the textarea - */ - setSettings: function(n, settings){ - if (typeof(settings) != "object") { - this.config[n] = new this.Settings(); - } - else { - this.config[n] = settings; - } - }, - - /** - * Insert or modify an image - * - * @param {String} src Source of the image - * @param {Integer} width Width - * @param {Integer} height Height - * @param {String} align Alignment of the image - * @param {String} border Border size - * @param {String} alt Alternativ Text - * @param {Integer} hspace Horizontal Space - * @param {Integer} vspace Vertical Space - * @param {String} n The editor identifier (the textarea's ID) - */ - insertImage: function(src, width, height, align, border, alt, hspace, vspace, n){ - - // get editor - var doc = this.getEditorWindow(n).document; - // get selection and range - var sel = this.getSelection(n); - var range = this.getRange(sel); - - // the current tag of range - var img = this.findParent("img", range); - - // element is not a link - var update = (img == null) ? false : true; - if (!update) { - img = doc.createElement("img"); - } - - // set the attributes - WYSIWYG_Core.setAttribute(img, "src", src); - WYSIWYG_Core.setAttribute(img, "style", "width:" + width + ";height:" + height); - if (align != "") { - WYSIWYG_Core.setAttribute(img, "align", align); - } - else { - img.removeAttribute("align"); - } - WYSIWYG_Core.setAttribute(img, "border", border); - WYSIWYG_Core.setAttribute(img, "alt", alt); - WYSIWYG_Core.setAttribute(img, "hspace", hspace); - WYSIWYG_Core.setAttribute(img, "vspace", vspace); - img.removeAttribute("width"); - img.removeAttribute("height"); - - // on update exit here - if (update) { - return; - } - - // Check if IE or Mozilla (other) - if (WYSIWYG_Core.isMSIE) { - range.pasteHTML(img.outerHTML); - } - else { - this.insertNodeAtSelection(img, n); - } - }, - - /** - * Insert or modify a link - * - * @param {String} href The url of the link - * @param {String} target Target of the link - * @param {String} style Stylesheet of the link - * @param {String} styleClass Stylesheet class of the link - * @param {String} name Name attribute of the link - * @param {String} n The editor identifier (the textarea's ID) - */ - insertLink: function(href, target, style, styleClass, name, n){ - - // get editor - var doc = this.getEditorWindow(n).document; - // get selection and range - var sel = this.getSelection(n); - var range = this.getRange(sel); - var lin = null; - - // get element from selection - if (WYSIWYG_Core.isMSIE) { - if (sel.type == "Control" && range.length == 1) { - range = this.getTextRange(range(0)); - range.select(); - } - } - - // find a as parent element - lin = this.findParent("a", range); - - // check if parent is found - var update = (lin == null) ? false : true; - if (!update) { - lin = doc.createElement("a"); - } - - // set the attributes - WYSIWYG_Core.setAttribute(lin, "href", href); - WYSIWYG_Core.setAttribute(lin, "class", styleClass); - WYSIWYG_Core.setAttribute(lin, "className", styleClass); - WYSIWYG_Core.setAttribute(lin, "target", target); - WYSIWYG_Core.setAttribute(lin, "name", name); - WYSIWYG_Core.setAttribute(lin, "style", style); - - // on update exit here - if (update) { - return; - } - - // Check if IE or Mozilla (other) - if (WYSIWYG_Core.isMSIE) { - range.select(); - lin.innerHTML = range.htmlText; - range.pasteHTML(lin.outerHTML); - } - else { - var node = range.startContainer; - var pos = range.startOffset; - if (node.nodeType != 3) { - node = node.childNodes[pos]; - } - if (node.tagName) - lin.appendChild(node); - else - lin.innerHTML = sel; - this.insertNodeAtSelection(lin, n); - } - }, - - /** - * Strips any HTML added by word - * - * @param {String} n The editor identifier (the textarea's ID) - */ - removeFormat: function(n){ - - if (!confirm(this.config[n].RemoveFormatConfMessage)) { - return; - } - var doc = this.getEditorWindow(n).document; - var str = doc.body.innerHTML; - - str = str.replace(/])*>( )*\s*<\/span>/gi, ''); - str = str.replace(/]*>/gi, ''); - str = str.replace(/<\/span[^>]*>/gi, ''); - str = str.replace(/])*>( )*\s*<\/p>/gi, ''); - str = str.replace(/]*>/gi, ''); - str = str.replace(/<\/p[^>]*>/gi, ''); - str = str.replace(/])[0-9]>( )*\s*<\/h>/gi, ''); - str = str.replace(/][0-9]>/gi, ''); - str = str.replace(/<\/h[^>][0-9]>/gi, ''); - str = str.replace(/]*>/ig, ''); - - // var repl_i1 = /]*>/ig; - // str = str.replace (repl_i1, ''); - - str = str.replace(/]*>/ig, ''); - str = str.replace(/<\/DIV>/gi, ''); - str = str.replace(/<[\/\w?]+:[^>]*>/ig, ''); - str = str.replace(/( ){2,}/ig, ' '); - str = str.replace(//ig, ''); - str = str.replace(/<\/STRONG>/ig, ''); - str = str.replace(//ig, ''); - str = str.replace(/<\/TT>/ig, ''); - str = str.replace(/]*>/ig, ''); - str = str.replace(/<\/FONT>/ig, ''); - str = str.replace(/STYLE=\"[^\"]*\"/ig, ''); - str = str.replace(/<([\w]+) class=([^ |>]*)([^>]*)/gi, '<$1$3'); - str = str.replace(/<([\w]+) style="([^"]*)"([^>]*)/gi, '<$1$3'); - str = str.replace(/width=([^ |>]*)([^>]*)/gi, ''); - str = str.replace(/classname=([^ |>]*)([^>]*)/gi, ''); - str = str.replace(/align=([^ |>]*)([^>]*)/gi, ''); - str = str.replace(/valign=([^ |>]*)([^>]*)/gi, ''); - str = str.replace(/<\\?\??xml[^>]>/gi, ''); - str = str.replace(/<\/?\w+:[^>]*>/gi, ''); - str = str.replace(//gi, ''); - str = str.replace(/o:/gi, ''); - - str = str.replace(//gi, ''); - str = str.replace(/ - - -WYMeditor iframe - - - - - diff --git a/wymeditor/jquery.wymeditor.back.js b/wymeditor/jquery.wymeditor.back.js deleted file mode 100644 index b13e2d0..0000000 --- a/wymeditor/jquery.wymeditor.back.js +++ /dev/null @@ -1,4707 +0,0 @@ -/** - * @version 0.5-rc1 - * - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File: jquery.wymeditor.js - * - * Main JS file with core classes and functions. - * See the documentation for more info. - * - * About: authors - * - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - * Volker Mische (vmx a-t gmx dotde) - * Scott Lewis (lewiscot a-t gmail dotcom) - * Bermi Ferrer (wymeditor a-t bermi dotorg) - * Daniel Reszka (d.reszka a-t wymeditor dotorg) - * Jonatan Lundin (jonatan.lundin _at_ gmail.com) - */ - -/* - Namespace: WYMeditor - Global WYMeditor namespace. -*/ -if(!WYMeditor) var WYMeditor = {}; - -//Wrap the Firebug console in WYMeditor.console -(function() { - if ( !window.console || !console.firebug ) { - var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", - "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; - - WYMeditor.console = {}; - for (var i = 0; i < names.length; ++i) - WYMeditor.console[names[i]] = function() {} - - } else WYMeditor.console = window.console; -})(); - -jQuery.extend(WYMeditor, { - -/* - Constants: Global WYMeditor constants. - - VERSION - Defines WYMeditor version. - INSTANCES - An array of loaded WYMeditor.editor instances. - STRINGS - An array of loaded WYMeditor language pairs/values. - SKINS - An array of loaded WYMeditor skins. - NAME - The "name" attribute. - INDEX - A string replaced by the instance index. - WYM_INDEX - A string used to get/set the instance index. - BASE_PATH - A string replaced by WYMeditor's base path. - SKIN_PATH - A string replaced by WYMeditor's skin path. - WYM_PATH - A string replaced by WYMeditor's main JS file path. - SKINS_DEFAULT_PATH - The skins default base path. - SKINS_DEFAULT_CSS - The skins default CSS file. - LANG_DEFAULT_PATH - The language files default path. - IFRAME_BASE_PATH - A string replaced by the designmode iframe's base path. - IFRAME_DEFAULT - The iframe's default base path. - JQUERY_PATH - A string replaced by the computed jQuery path. - DIRECTION - A string replaced by the text direction (rtl or ltr). - LOGO - A string replaced by WYMeditor logo. - TOOLS - A string replaced by the toolbar's HTML. - TOOLS_ITEMS - A string replaced by the toolbar items. - TOOL_NAME - A string replaced by a toolbar item's name. - TOOL_TITLE - A string replaced by a toolbar item's title. - TOOL_CLASS - A string replaced by a toolbar item's class. - CLASSES - A string replaced by the classes panel's HTML. - CLASSES_ITEMS - A string replaced by the classes items. - CLASS_NAME - A string replaced by a class item's name. - CLASS_TITLE - A string replaced by a class item's title. - CONTAINERS - A string replaced by the containers panel's HTML. - CONTAINERS_ITEMS - A string replaced by the containers items. - CONTAINER_NAME - A string replaced by a container item's name. - CONTAINER_TITLE - A string replaced by a container item's title. - CONTAINER_CLASS - A string replaced by a container item's class. - HTML - A string replaced by the HTML view panel's HTML. - IFRAME - A string replaced by the designmode iframe. - STATUS - A string replaced by the status panel's HTML. - DIALOG_TITLE - A string replaced by a dialog's title. - DIALOG_BODY - A string replaced by a dialog's HTML body. - BODY - The BODY element. - STRING - The "string" type. - BODY,DIV,P, - H1,H2,H3,H4,H5,H6, - PRE,BLOCKQUOTE, - A,BR,IMG, - TABLE,TD,TH, - UL,OL,LI - HTML elements string representation. - CLASS,HREF,SRC, - TITLE,ALT - HTML attributes string representation. - DIALOG_LINK - A link dialog type. - DIALOG_IMAGE - An image dialog type. - DIALOG_TABLE - A table dialog type. - DIALOG_PASTE - A 'Paste from Word' dialog type. - BOLD - Command: (un)set selection to . - ITALIC - Command: (un)set selection to . - CREATE_LINK - Command: open the link dialog or (un)set link. - INSERT_IMAGE - Command: open the image dialog or insert an image. - INSERT_TABLE - Command: open the table dialog. - PASTE - Command: open the paste dialog. - INDENT - Command: nest a list item. - OUTDENT - Command: unnest a list item. - TOGGLE_HTML - Command: display/hide the HTML view. - FORMAT_BLOCK - Command: set a block element to another type. - PREVIEW - Command: open the preview dialog. - UNLINK - Command: unset a link. - INSERT_UNORDEREDLIST- Command: insert an unordered list. - INSERT_ORDEREDLIST - Command: insert an ordered list. - MAIN_CONTAINERS - An array of the main HTML containers used in WYMeditor. - BLOCKS - An array of the HTML block elements. - KEY - Standard key codes. - NODE - Node types. - -*/ - - VERSION : "0.5-rc1", - INSTANCES : [], - STRINGS : [], - SKINS : [], - NAME : "name", - INDEX : "{Wym_Index}", - WYM_INDEX : "wym_index", - BASE_PATH : "{Wym_Base_Path}", - CSS_PATH : "{Wym_Css_Path}", - WYM_PATH : "{Wym_Wym_Path}", - SKINS_DEFAULT_PATH : "skins/", - SKINS_DEFAULT_CSS : "skin.css", - SKINS_DEFAULT_JS : "skin.js", - LANG_DEFAULT_PATH : "lang/", - IFRAME_BASE_PATH : "{Wym_Iframe_Base_Path}", - IFRAME_DEFAULT : "iframe/default/", - JQUERY_PATH : "{Wym_Jquery_Path}", - DIRECTION : "{Wym_Direction}", - LOGO : "{Wym_Logo}", - TOOLS : "{Wym_Tools}", - TOOLS_ITEMS : "{Wym_Tools_Items}", - TOOL_NAME : "{Wym_Tool_Name}", - TOOL_TITLE : "{Wym_Tool_Title}", - TOOL_CLASS : "{Wym_Tool_Class}", - CLASSES : "{Wym_Classes}", - CLASSES_ITEMS : "{Wym_Classes_Items}", - CLASS_NAME : "{Wym_Class_Name}", - CLASS_TITLE : "{Wym_Class_Title}", - CONTAINERS : "{Wym_Containers}", - CONTAINERS_ITEMS : "{Wym_Containers_Items}", - CONTAINER_NAME : "{Wym_Container_Name}", - CONTAINER_TITLE : "{Wym_Containers_Title}", - CONTAINER_CLASS : "{Wym_Container_Class}", - HTML : "{Wym_Html}", - IFRAME : "{Wym_Iframe}", - STATUS : "{Wym_Status}", - DIALOG_TITLE : "{Wym_Dialog_Title}", - DIALOG_BODY : "{Wym_Dialog_Body}", - STRING : "string", - BODY : "body", - DIV : "div", - P : "p", - H1 : "h1", - H2 : "h2", - H3 : "h3", - H4 : "h4", - H5 : "h5", - H6 : "h6", - PRE : "pre", - BLOCKQUOTE : "blockquote", - A : "a", - BR : "br", - IMG : "img", - TABLE : "table", - TD : "td", - TH : "th", - UL : "ul", - OL : "ol", - LI : "li", - CLASS : "class", - HREF : "href", - SRC : "src", - TITLE : "title", - ALT : "alt", - DIALOG_LINK : "Link", - DIALOG_IMAGE : "Image", - DIALOG_TABLE : "Table", - DIALOG_PASTE : "Paste_From_Word", - BOLD : "Bold", - ITALIC : "Italic", - CREATE_LINK : "CreateLink", - INSERT_IMAGE : "InsertImage", - INSERT_TABLE : "InsertTable", - INSERT_HTML : "InsertHTML", - PASTE : "Paste", - INDENT : "Indent", - OUTDENT : "Outdent", - TOGGLE_HTML : "ToggleHtml", - FORMAT_BLOCK : "FormatBlock", - PREVIEW : "Preview", - UNLINK : "Unlink", - INSERT_UNORDEREDLIST: "InsertUnorderedList", - INSERT_ORDEREDLIST : "InsertOrderedList", - - MAIN_CONTAINERS : new Array("p","h1","h2","h3","h4","h5","h6","pre","blockquote"), - - BLOCKS : new Array("address", "blockquote", "div", "dl", - "fieldset", "form", "h1", "h2", "h3", "h4", "h5", "h6", "hr", - "noscript", "ol", "p", "pre", "table", "ul", "dd", "dt", - "li", "tbody", "td", "tfoot", "th", "thead", "tr"), - - KEY : { - BACKSPACE: 8, - ENTER: 13, - END: 35, - HOME: 36, - LEFT: 37, - UP: 38, - RIGHT: 39, - DOWN: 40, - CURSOR: new Array(37, 38, 39, 40), - DELETE: 46 - }, - - NODE : { - ELEMENT: 1, - ATTRIBUTE: 2, - TEXT: 3 - }, - - /* - Class: WYMeditor.editor - WYMeditor editor main class, instanciated for each editor occurrence. - */ - - editor : function(elem, options) { - - /* - Constructor: WYMeditor.editor - - Initializes main values (index, elements, paths, ...) - and call WYMeditor.editor.init which initializes the editor. - - Parameters: - - elem - The HTML element to be replaced by the editor. - options - The hash of options. - - Returns: - - Nothing. - - See Also: - - - */ - - //store the instance in the INSTANCES array and store the index - this._index = WYMeditor.INSTANCES.push(this) - 1; - //store the element replaced by the editor - this._element = elem; - //store the options - this._options = options; - //store the element's inner value - this._html = jQuery(elem).val(); - - //store the HTML option, if any - if(this._options.html) this._html = this._options.html; - //get or compute the base path (where the main JS file is located) - this._options.basePath = this._options.basePath - || this.computeBasePath(); - //get or set the skin path (where the skin files are located) - this._options.skinPath = this._options.skinPath - || this._options.basePath + WYMeditor.SKINS_DEFAULT_PATH - + this._options.skin + '/'; - //get or compute the main JS file location - this._options.wymPath = this._options.wymPath - || this.computeWymPath(); - //get or set the language files path - this._options.langPath = this._options.langPath - || this._options.basePath + WYMeditor.LANG_DEFAULT_PATH; - //get or set the designmode iframe's base path - this._options.iframeBasePath = this._options.iframeBasePath - || this._options.basePath + WYMeditor.IFRAME_DEFAULT; - //get or compute the jQuery JS file location - this._options.jQueryPath = this._options.jQueryPath - || this.computeJqueryPath(); - - //initialize the editor instance - this.init(); - - } - -}); - - -/********** JQUERY **********/ - -/** - * Replace an HTML element by WYMeditor - * - * @example jQuery(".wymeditor").wymeditor( - * { - * - * } - * ); - * @desc Example description here - * - * @name WYMeditor - * @description WYMeditor is a web-based WYSIWYM XHTML editor - * @param Hash hash A hash of parameters - * @option Integer iExample Description here - * @option String sExample Description here - * - * @type jQuery - * @cat Plugins/WYMeditor - * @author Jean-Francois Hovinne - */ -jQuery.fn.wymeditor = function(options) { - - options = jQuery.extend({ - - html: "", - - basePath: false, - - skinPath: false, - - wymPath: false, - - iframeBasePath: false, - - jQueryPath: false, - - styles: false, - - stylesheet: false, - - skin: "default", - initSkin: true, - loadSkin: true, - - lang: "en", - - direction: "ltr", - - boxHtml: "

" - + "
" - + WYMeditor.TOOLS - + "
" - + "
" - + "
" - + WYMeditor.CONTAINERS - + WYMeditor.CLASSES - + "
" - + "
" - + WYMeditor.HTML - + WYMeditor.IFRAME - + WYMeditor.STATUS - + "
" - + "
" - + WYMeditor.LOGO - + "
" - + "
", - - logoHtml: "WYMeditor", - - iframeHtml:"
" - + "" - + "
", - - editorStyles: [], - - toolsHtml: "
" - + "

{Tools}

" - + "
    " - + WYMeditor.TOOLS_ITEMS - + "
" - + "
", - - toolsItemHtml: "
  • " - + WYMeditor.TOOL_TITLE - + "
  • ", - - toolsItems: [ - {'name': 'Bold', 'title': 'Strong', 'css': 'wym_tools_strong'}, - {'name': 'Italic', 'title': 'Emphasis', 'css': 'wym_tools_emphasis'}, - {'name': 'Superscript', 'title': 'Superscript', - 'css': 'wym_tools_superscript'}, - {'name': 'Subscript', 'title': 'Subscript', - 'css': 'wym_tools_subscript'}, - {'name': 'InsertOrderedList', 'title': 'Ordered_List', - 'css': 'wym_tools_ordered_list'}, - {'name': 'InsertUnorderedList', 'title': 'Unordered_List', - 'css': 'wym_tools_unordered_list'}, - {'name': 'Indent', 'title': 'Indent', 'css': 'wym_tools_indent'}, - {'name': 'Outdent', 'title': 'Outdent', 'css': 'wym_tools_outdent'}, - {'name': 'Undo', 'title': 'Undo', 'css': 'wym_tools_undo'}, - {'name': 'Redo', 'title': 'Redo', 'css': 'wym_tools_redo'}, - {'name': 'CreateLink', 'title': 'Link', 'css': 'wym_tools_link'}, - {'name': 'Unlink', 'title': 'Unlink', 'css': 'wym_tools_unlink'}, - {'name': 'InsertImage', 'title': 'Image', 'css': 'wym_tools_image'}, - {'name': 'InsertTable', 'title': 'Table', 'css': 'wym_tools_table'}, - {'name': 'Paste', 'title': 'Paste_From_Word', - 'css': 'wym_tools_paste'}, - {'name': 'ToggleHtml', 'title': 'HTML', 'css': 'wym_tools_html'}, - {'name': 'Preview', 'title': 'Preview', 'css': 'wym_tools_preview'} - ], - - containersHtml: "
    " - + "

    {Containers}

    " - + "
      " - + WYMeditor.CONTAINERS_ITEMS - + "
    " - + "
    ", - - containersItemHtml:"
  • " - + "" - + WYMeditor.CONTAINER_TITLE - + "
  • ", - - containersItems: [ - {'name': 'P', 'title': 'Paragraph', 'css': 'wym_containers_p'}, - {'name': 'H1', 'title': 'Heading_1', 'css': 'wym_containers_h1'}, - {'name': 'H2', 'title': 'Heading_2', 'css': 'wym_containers_h2'}, - {'name': 'H3', 'title': 'Heading_3', 'css': 'wym_containers_h3'}, - {'name': 'H4', 'title': 'Heading_4', 'css': 'wym_containers_h4'}, - {'name': 'H5', 'title': 'Heading_5', 'css': 'wym_containers_h5'}, - {'name': 'H6', 'title': 'Heading_6', 'css': 'wym_containers_h6'}, - {'name': 'PRE', 'title': 'Preformatted', 'css': 'wym_containers_pre'}, - {'name': 'BLOCKQUOTE', 'title': 'Blockquote', - 'css': 'wym_containers_blockquote'}, - {'name': 'TH', 'title': 'Table_Header', 'css': 'wym_containers_th'} - ], - - classesHtml: "
    " - + "

    {Classes}

      " - + WYMeditor.CLASSES_ITEMS - + "
    ", - - classesItemHtml: "
  • " - + WYMeditor.CLASS_TITLE - + "
  • ", - - classesItems: [], - - statusHtml: "
    " - + "

    {Status}

    " - + "
    ", - - htmlHtml: "
    " - + "

    {Source_Code}

    " - + "" - + "
    ", - - boxSelector: ".wym_box", - toolsSelector: ".wym_tools", - toolsListSelector: " ul", - containersSelector:".wym_containers", - classesSelector: ".wym_classes", - htmlSelector: ".wym_html", - iframeSelector: ".wym_iframe iframe", - iframeBodySelector:".wym_iframe", - statusSelector: ".wym_status", - toolSelector: ".wym_tools a", - containerSelector: ".wym_containers a", - classSelector: ".wym_classes a", - htmlValSelector: ".wym_html_val", - - hrefSelector: ".wym_href", - srcSelector: ".wym_src", - titleSelector: ".wym_title", - altSelector: ".wym_alt", - textSelector: ".wym_text", - - rowsSelector: ".wym_rows", - colsSelector: ".wym_cols", - captionSelector: ".wym_caption", - summarySelector: ".wym_summary", - - submitSelector: ".wym_submit", - cancelSelector: ".wym_cancel", - previewSelector: "", - - dialogTypeSelector: ".wym_dialog_type", - dialogLinkSelector: ".wym_dialog_link", - dialogImageSelector: ".wym_dialog_image", - dialogTableSelector: ".wym_dialog_table", - dialogPasteSelector: ".wym_dialog_paste", - dialogPreviewSelector: ".wym_dialog_preview", - - updateSelector: ".wymupdate", - updateEvent: "click", - - dialogFeatures: "menubar=no,titlebar=no,toolbar=no,resizable=no" - + ",width=560,height=300,top=0,left=0", - dialogFeaturesPreview: "menubar=no,titlebar=no,toolbar=no,resizable=no" - + ",scrollbars=yes,width=560,height=300,top=0,left=0", - - dialogHtml: "" - + "" - + "" - + "" - + WYMeditor.DIALOG_TITLE - + "" - + "" - + "" - + "" - + WYMeditor.DIALOG_BODY - + "", - - dialogLinkHtml: "" - + "
    " - + "
    " - + "" - + "{Link}" - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "
    " - + "", - - dialogImageHtml: "" - + "
    " - + "
    " - + "" - + "{Image}" - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "
    " - + "", - - dialogTableHtml: "" - + "
    " - + "
    " - + "" - + "{Table}" - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "
    " - + "", - - dialogPasteHtml: "" - + "
    " - + "" - + "
    " - + "{Paste_From_Word}" - + "
    " - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "
    " - + "", - - dialogPreviewHtml: "", - - dialogStyles: [], - - stringDelimiterLeft: "{", - stringDelimiterRight:"}", - - preInit: null, - preBind: null, - postInit: null, - - preInitDialog: null, - postInitDialog: null - - }, options); - - return this.each(function() { - - new WYMeditor.editor(jQuery(this),options); - }); -}; - -/* @name extend - * @description Returns the WYMeditor instance based on its index - */ -jQuery.extend({ - wymeditors: function(i) { - return (WYMeditor.INSTANCES[i]); - } -}); - - -/********** WYMeditor **********/ - -/* @name Wymeditor - * @description WYMeditor class - */ - -/* @name init - * @description Initializes a WYMeditor instance - */ -WYMeditor.editor.prototype.init = function() { - - //load subclass - browser specific - //unsupported browsers: do nothing - if (jQuery.browser.msie) { - var WymClass = new WYMeditor.WymClassExplorer(this); - } - else if (jQuery.browser.mozilla) { - var WymClass = new WYMeditor.WymClassMozilla(this); - } - else if (jQuery.browser.opera) { - var WymClass = new WYMeditor.WymClassOpera(this); - } - else if (jQuery.browser.safari) { - var WymClass = new WYMeditor.WymClassSafari(this); - } - - if(WymClass) { - - if(jQuery.isFunction(this._options.preInit)) this._options.preInit(this); - - var SaxListener = new WYMeditor.XhtmlSaxListener(); - jQuery.extend(SaxListener, WymClass); - this.parser = new WYMeditor.XhtmlParser(SaxListener); - - if(this._options.styles || this._options.stylesheet){ - this.configureEditorUsingRawCss(); - } - - this.helper = new WYMeditor.XmlHelper(); - - //extend the Wymeditor object - //don't use jQuery.extend since 1.1.4 - //jQuery.extend(this, WymClass); - for (var prop in WymClass) { this[prop] = WymClass[prop]; } - - //load wymbox - this._box = jQuery(this._element).hide().after(this._options.boxHtml).next().addClass('wym_box_' + this._index); - - //store the instance index in wymbox and element replaced by editor instance - //but keep it compatible with jQuery < 1.2.3, see #122 - if( jQuery.isFunction( jQuery.fn.data ) ) { - jQuery.data(this._box.get(0), WYMeditor.WYM_INDEX, this._index); - jQuery.data(this._element.get(0), WYMeditor.WYM_INDEX, this._index); - } - - var h = WYMeditor.Helper; - - //construct the iframe - var iframeHtml = this._options.iframeHtml; - iframeHtml = h.replaceAll(iframeHtml, WYMeditor.INDEX, this._index); - iframeHtml = h.replaceAll(iframeHtml, WYMeditor.IFRAME_BASE_PATH, this._options.iframeBasePath); - - //construct wymbox - var boxHtml = jQuery(this._box).html(); - - boxHtml = h.replaceAll(boxHtml, WYMeditor.LOGO, this._options.logoHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.TOOLS, this._options.toolsHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.CONTAINERS,this._options.containersHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.CLASSES, this._options.classesHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.HTML, this._options.htmlHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.IFRAME, iframeHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.STATUS, this._options.statusHtml); - - //construct tools list - var aTools = eval(this._options.toolsItems); - var sTools = ""; - - for(var i = 0; i < aTools.length; i++) { - var oTool = aTools[i]; - if(oTool.name && oTool.title) - var sTool = this._options.toolsItemHtml; - var sTool = h.replaceAll(sTool, WYMeditor.TOOL_NAME, oTool.name); - sTool = h.replaceAll(sTool, WYMeditor.TOOL_TITLE, this._options.stringDelimiterLeft - + oTool.title - + this._options.stringDelimiterRight); - sTool = h.replaceAll(sTool, WYMeditor.TOOL_CLASS, oTool.css); - sTools += sTool; - } - - boxHtml = h.replaceAll(boxHtml, WYMeditor.TOOLS_ITEMS, sTools); - - //construct classes list - var aClasses = eval(this._options.classesItems); - var sClasses = ""; - - for(var i = 0; i < aClasses.length; i++) { - var oClass = aClasses[i]; - if(oClass.name && oClass.title) - var sClass = this._options.classesItemHtml; - sClass = h.replaceAll(sClass, WYMeditor.CLASS_NAME, oClass.name); - sClass = h.replaceAll(sClass, WYMeditor.CLASS_TITLE, oClass.title); - sClasses += sClass; - } - - boxHtml = h.replaceAll(boxHtml, WYMeditor.CLASSES_ITEMS, sClasses); - - //construct containers list - var aContainers = eval(this._options.containersItems); - var sContainers = ""; - - for(var i = 0; i < aContainers.length; i++) { - var oContainer = aContainers[i]; - if(oContainer.name && oContainer.title) - var sContainer = this._options.containersItemHtml; - sContainer = h.replaceAll(sContainer, WYMeditor.CONTAINER_NAME, oContainer.name); - sContainer = h.replaceAll(sContainer, WYMeditor.CONTAINER_TITLE, - this._options.stringDelimiterLeft - + oContainer.title - + this._options.stringDelimiterRight); - sContainer = h.replaceAll(sContainer, WYMeditor.CONTAINER_CLASS, oContainer.css); - sContainers += sContainer; - } - - boxHtml = h.replaceAll(boxHtml, WYMeditor.CONTAINERS_ITEMS, sContainers); - - //l10n - boxHtml = this.replaceStrings(boxHtml); - - //load html in wymbox - jQuery(this._box).html(boxHtml); - - //hide the html value - jQuery(this._box).find(this._options.htmlSelector).hide(); - - //enable the skin - this.loadSkin(); - - } -}; - -WYMeditor.editor.prototype.bindEvents = function() { - - //copy the instance - var wym = this; - - //handle click event on tools buttons - jQuery(this._box).find(this._options.toolSelector).click(function() { - wym._iframe.contentWindow.focus(); //See #154 - wym.exec(jQuery(this).attr(WYMeditor.NAME)); - return(false); - }); - - //handle click event on containers buttons - jQuery(this._box).find(this._options.containerSelector).click(function() { - wym.container(jQuery(this).attr(WYMeditor.NAME)); - return(false); - }); - - //handle keyup event on html value: set the editor value - //handle focus/blur events to check if the element has focus, see #147 - jQuery(this._box).find(this._options.htmlValSelector) - .keyup(function() { jQuery(wym._doc.body).html(jQuery(this).val());}) - .focus(function() { jQuery(this).toggleClass('hasfocus'); }) - .blur(function() { jQuery(this).toggleClass('hasfocus'); }); - - //handle click event on classes buttons - jQuery(this._box).find(this._options.classSelector).click(function() { - - var aClasses = eval(wym._options.classesItems); - var sName = jQuery(this).attr(WYMeditor.NAME); - - var oClass = WYMeditor.Helper.findByName(aClasses, sName); - - if(oClass) { - var jqexpr = oClass.expr; - wym.toggleClass(sName, jqexpr); - } - wym._iframe.contentWindow.focus(); //See #154 - return(false); - }); - - //handle event on update element - jQuery(this._options.updateSelector) - .bind(this._options.updateEvent, function() { - wym.update(); - }); -}; - -WYMeditor.editor.prototype.ready = function() { - return(this._doc != null); -}; - - -/********** METHODS **********/ - -/* @name box - * @description Returns the WYMeditor container - */ -WYMeditor.editor.prototype.box = function() { - return(this._box); -}; - -/* @name html - * @description Get/Set the html value - */ -WYMeditor.editor.prototype.html = function(html) { - - if(typeof html === 'string') jQuery(this._doc.body).html(html); - else return(jQuery(this._doc.body).html()); -}; - -/* @name xhtml - * @description Cleans up the HTML - */ -WYMeditor.editor.prototype.xhtml = function() { - return this.parser.parse(this.html()); -}; - -/* @name exec - * @description Executes a button command - */ -WYMeditor.editor.prototype.exec = function(cmd) { - - //base function for execCommand - //open a dialog or exec - switch(cmd) { - case WYMeditor.CREATE_LINK: - var container = this.container(); - if(container || this._selected_image) this.dialog(WYMeditor.DIALOG_LINK); - break; - - case WYMeditor.INSERT_IMAGE: - this.dialog(WYMeditor.DIALOG_IMAGE); - break; - - case WYMeditor.INSERT_TABLE: - this.dialog(WYMeditor.DIALOG_TABLE); - break; - - case WYMeditor.PASTE: - this.dialog(WYMeditor.DIALOG_PASTE); - break; - - case WYMeditor.TOGGLE_HTML: - this.update(); - this.toggleHtml(); - - //partially fixes #121 when the user manually inserts an image - if(!jQuery(this._box).find(this._options.htmlSelector).is(':visible')) - this.listen(); - break; - - case WYMeditor.PREVIEW: - this.dialog(WYMeditor.PREVIEW, this._options.dialogFeaturesPreview); - break; - - default: - this._exec(cmd); - break; - } -}; - -/* @name container - * @description Get/Set the selected container - */ -WYMeditor.editor.prototype.container = function(sType) { - - if(sType) { - - var container = null; - - if(sType.toLowerCase() == WYMeditor.TH) { - - container = this.container(); - - //find the TD or TH container - switch(container.tagName.toLowerCase()) { - - case WYMeditor.TD: case WYMeditor.TH: - break; - default: - var aTypes = new Array(WYMeditor.TD,WYMeditor.TH); - container = this.findUp(this.container(), aTypes); - break; - } - - //if it exists, switch - if(container!=null) { - - sType = (container.tagName.toLowerCase() == WYMeditor.TD)? WYMeditor.TH: WYMeditor.TD; - this.switchTo(container,sType); - this.update(); - } - } else { - - //set the container type - var aTypes=new Array(WYMeditor.P,WYMeditor.H1,WYMeditor.H2,WYMeditor.H3,WYMeditor.H4,WYMeditor.H5, - WYMeditor.H6,WYMeditor.PRE,WYMeditor.BLOCKQUOTE); - container = this.findUp(this.container(), aTypes); - - if(container) { - - var newNode = null; - - //blockquotes must contain a block level element - if(sType.toLowerCase() == WYMeditor.BLOCKQUOTE) { - - var blockquote = this.findUp(this.container(), WYMeditor.BLOCKQUOTE); - - if(blockquote == null) { - - newNode = this._doc.createElement(sType); - container.parentNode.insertBefore(newNode,container); - newNode.appendChild(container); - this.setFocusToNode(newNode.firstChild); - - } else { - - var nodes = blockquote.childNodes; - var lgt = nodes.length; - var firstNode = null; - - if(lgt > 0) firstNode = nodes.item(0); - for(var x=0; x= 0; x--) { - sTmp = aP[x]; - //simple newlines are replaced by a break - sTmp = sTmp.replace(rExp, "
    "); - jQuery(container).after("

    " + sTmp + "

    "); - } - } else { - for(x = 0; x < aP.length; x++) { - sTmp = aP[x]; - //simple newlines are replaced by a break - sTmp = sTmp.replace(rExp, "
    "); - jQuery(this._doc.body).append("

    " + sTmp + "

    "); - } - - } -}; - -WYMeditor.editor.prototype.insert = function(html) { - // Do we have a selection? - if (this._iframe.contentWindow.getSelection().focusNode != null) { - // Overwrite selection with provided html - this._exec( WYMeditor.INSERT_HTML, html); - } else { - // Fall back to the internal paste function if there's no selection - this.paste(html) - } -}; - -WYMeditor.editor.prototype.wrap = function(left, right) { - // Do we have a selection? - if (this._iframe.contentWindow.getSelection().focusNode != null) { - // Wrap selection with provided html - this._exec( WYMeditor.INSERT_HTML, left + this._iframe.contentWindow.getSelection().toString() + right); - } -}; - -WYMeditor.editor.prototype.unwrap = function() { - // Do we have a selection? - if (this._iframe.contentWindow.getSelection().focusNode != null) { - // Unwrap selection - this._exec( WYMeditor.INSERT_HTML, this._iframe.contentWindow.getSelection().toString() ); - } -}; - -WYMeditor.editor.prototype.addCssRules = function(doc, aCss) { - var styles = doc.styleSheets[0]; - if(styles) { - for(var i = 0; i < aCss.length; i++) { - var oCss = aCss[i]; - if(oCss.name && oCss.css) this.addCssRule(styles, oCss); - } - } -}; - -/********** CONFIGURATION **********/ - -WYMeditor.editor.prototype.computeBasePath = function() { - return jQuery(jQuery.grep(jQuery('script'), function(s){ - return (s.src && s.src.match(/jquery\.wymeditor(\.pack|\.min|\.packed)?\.js(\?.*)?$/ )) - })).attr('src').replace(/jquery\.wymeditor(\.pack|\.min|\.packed)?\.js(\?.*)?$/, ''); -}; - -WYMeditor.editor.prototype.computeWymPath = function() { - return jQuery(jQuery.grep(jQuery('script'), function(s){ - return (s.src && s.src.match(/jquery\.wymeditor(\.pack|\.min|\.packed)?\.js(\?.*)?$/ )) - })).attr('src'); -}; - -WYMeditor.editor.prototype.computeJqueryPath = function() { - return jQuery(jQuery.grep(jQuery('script'), function(s){ - return (s.src && s.src.match(/jquery(-(.*)){0,1}(\.pack|\.min|\.packed)?\.js(\?.*)?$/ )) - })).attr('src'); -}; - -WYMeditor.editor.prototype.computeCssPath = function() { - return jQuery(jQuery.grep(jQuery('link'), function(s){ - return (s.href && s.href.match(/wymeditor\/skins\/(.*)screen\.css(\?.*)?$/ )) - })).attr('href'); -}; - -WYMeditor.editor.prototype.configureEditorUsingRawCss = function() { - - var CssParser = new WYMeditor.WymCssParser(); - if(this._options.stylesheet){ - CssParser.parse(jQuery.ajax({url: this._options.stylesheet,async:false}).responseText); - }else{ - CssParser.parse(this._options.styles, false); - } - - if(this._options.classesItems.length == 0) { - this._options.classesItems = CssParser.css_settings.classesItems; - } - if(this._options.editorStyles.length == 0) { - this._options.editorStyles = CssParser.css_settings.editorStyles; - } - if(this._options.dialogStyles.length == 0) { - this._options.dialogStyles = CssParser.css_settings.dialogStyles; - } -}; - -/********** EVENTS **********/ - -WYMeditor.editor.prototype.listen = function() { - - //don't use jQuery.find() on the iframe body - //because of MSIE + jQuery + expando issue (#JQ1143) - //jQuery(this._doc.body).find("*").bind("mouseup", this.mouseup); - - jQuery(this._doc.body).bind("mousedown", this.mousedown); - var images = this._doc.body.getElementsByTagName("img"); - for(var i=0; i < images.length; i++) { - jQuery(images[i]).bind("mousedown", this.mousedown); - } -}; - -WYMeditor.editor.prototype.mousedown = function(evt) { - - var wym = WYMeditor.INSTANCES[this.ownerDocument.title]; - wym._selected_image = (this.tagName.toLowerCase() == WYMeditor.IMG) ? this : null; - evt.stopPropagation(); -}; - -/********** SKINS **********/ - -/* - * Function: WYMeditor.loadCss - * Loads a stylesheet in the document. - * - * Parameters: - * href - The CSS path. - */ -WYMeditor.loadCss = function(href) { - - var link = document.createElement('link'); - link.rel = 'stylesheet'; - link.href = href; - - var head = jQuery('head').get(0); - head.appendChild(link); -}; - -/* - * Function: WYMeditor.editor.loadSkin - * Loads the skin CSS and initialization script (if needed). - */ -WYMeditor.editor.prototype.loadSkin = function() { - - //does the user want to automatically load the CSS (default: yes)? - //we also test if it hasn't been already loaded by another instance - //see below for a better (second) test - if(this._options.loadSkin && !WYMeditor.SKINS[this._options.skin]) { - - //check if it hasn't been already loaded - //so we don't load it more than once - //(we check the existing elements) - - var found = false; - var rExp = new RegExp(this._options.skin - + '\/' + WYMeditor.SKINS_DEFAULT_CSS + '$'); - - jQuery('link').each( function() { - if(this.href.match(rExp)) found = true; - }); - - //load it, using the skin path - if(!found) WYMeditor.loadCss( this._options.skinPath - + WYMeditor.SKINS_DEFAULT_CSS ); - } - - //put the classname (ex. wym_skin_default) on wym_box - jQuery(this._box).addClass( "wym_skin_" + this._options.skin ); - - //does the user want to use some JS to initialize the skin (default: yes)? - //also check if it hasn't already been loaded by another instance - if(this._options.initSkin && !WYMeditor.SKINS[this._options.skin]) { - - eval(jQuery.ajax({url:this._options.skinPath - + WYMeditor.SKINS_DEFAULT_JS, async:false}).responseText); - } - - //init the skin, if needed - if(WYMeditor.SKINS[this._options.skin] - && WYMeditor.SKINS[this._options.skin].init) - WYMeditor.SKINS[this._options.skin].init(this); - -}; - - -/********** DIALOGS **********/ - -WYMeditor.INIT_DIALOG = function(index) { - - var wym = window.opener.WYMeditor.INSTANCES[index]; - var doc = window.document; - var selected = wym.selected(); - var dialogType = jQuery(wym._options.dialogTypeSelector).val(); - var sStamp = wym.uniqueStamp(); - - switch(dialogType) { - - case WYMeditor.DIALOG_LINK: - //ensure that we select the link to populate the fields - if(selected && selected.tagName && selected.tagName.toLowerCase != WYMeditor.A) - selected = jQuery(selected).parentsOrSelf(WYMeditor.A); - - //fix MSIE selection if link image has been clicked - if(!selected && wym._selected_image) - selected = jQuery(wym._selected_image).parentsOrSelf(WYMeditor.A); - break; - - } - - //pre-init functions - if(jQuery.isFunction(wym._options.preInitDialog)) - wym._options.preInitDialog(wym,window); - - //add css rules from options - var styles = doc.styleSheets[0]; - var aCss = eval(wym._options.dialogStyles); - - wym.addCssRules(doc, aCss); - - //auto populate fields if selected container (e.g. A) - if(selected) { - jQuery(wym._options.hrefSelector).val(jQuery(selected).attr(WYMeditor.HREF)); - jQuery(wym._options.srcSelector).val(jQuery(selected).attr(WYMeditor.SRC)); - jQuery(wym._options.titleSelector).val(jQuery(selected).attr(WYMeditor.TITLE)); - jQuery(wym._options.altSelector).val(jQuery(selected).attr(WYMeditor.ALT)); - } - - //auto populate image fields if selected image - if(wym._selected_image) { - jQuery(wym._options.dialogImageSelector + " " + wym._options.srcSelector) - .val(jQuery(wym._selected_image).attr(WYMeditor.SRC)); - jQuery(wym._options.dialogImageSelector + " " + wym._options.titleSelector) - .val(jQuery(wym._selected_image).attr(WYMeditor.TITLE)); - jQuery(wym._options.dialogImageSelector + " " + wym._options.altSelector) - .val(jQuery(wym._selected_image).attr(WYMeditor.ALT)); - } - - jQuery(wym._options.dialogLinkSelector + " " - + wym._options.submitSelector).click(function() { - - var sUrl = jQuery(wym._options.hrefSelector).val(); - if(sUrl.length > 0) { - - wym._exec(WYMeditor.CREATE_LINK, sStamp); - - jQuery("a[href=" + sStamp + "]", wym._doc.body) - .attr(WYMeditor.HREF, sUrl) - .attr(WYMeditor.TITLE, jQuery(wym._options.titleSelector).val()); - - } - window.close(); - }); - - jQuery(wym._options.dialogImageSelector + " " - + wym._options.submitSelector).click(function() { - - var sUrl = jQuery(wym._options.srcSelector).val(); - if(sUrl.length > 0) { - - wym._exec(WYMeditor.INSERT_IMAGE, sStamp); - - jQuery("img[src$=" + sStamp + "]", wym._doc.body) - .attr(WYMeditor.SRC, sUrl) - .attr(WYMeditor.TITLE, jQuery(wym._options.titleSelector).val()) - .attr(WYMeditor.ALT, jQuery(wym._options.altSelector).val()); - } - window.close(); - }); - - jQuery(wym._options.dialogTableSelector + " " - + wym._options.submitSelector).click(function() { - - var iRows = jQuery(wym._options.rowsSelector).val(); - var iCols = jQuery(wym._options.colsSelector).val(); - - if(iRows > 0 && iCols > 0) { - - var table = wym._doc.createElement(WYMeditor.TABLE); - var newRow = null; - var newCol = null; - - var sCaption = jQuery(wym._options.captionSelector).val(); - - //we create the caption - var newCaption = table.createCaption(); - newCaption.innerHTML = sCaption; - - //we create the rows and cells - for(x=0; x
    -* this.tag ('br', false, true) -* # =>
    -* this.tag ('input', jQuery({type:'text',disabled:true }) ) -* # => -*/ -WYMeditor.XmlHelper.prototype.tag = function(name, options, open) -{ - options = options || false; - open = open || false; - return '<'+name+(options ? this.tagOptions(options) : '')+(open ? '>' : ' />'); -}; - -/* -* @name contentTag -* @description -* Returns a XML block tag of type *name* surrounding the *content*. Add -* XML attributes by passing an attributes array to *options*. For attributes -* with no value like (disabled and readonly), give it a value of true in -* the *options* array. You can use symbols or strings for the attribute names. -* -* this.contentTag ('p', 'Hello world!' ) -* # =>

    Hello world!

    -* this.contentTag('div', this.contentTag('p', "Hello world!"), jQuery({class : "strong"})) -* # =>

    Hello world!

    -* this.contentTag("select", options, jQuery({multiple : true})) -* # => -*/ -WYMeditor.XmlHelper.prototype.contentTag = function(name, content, options) -{ - options = options || false; - return '<'+name+(options ? this.tagOptions(options) : '')+'>'+content+''; -}; - -/* -* @name cdataSection -* @description -* Returns a CDATA section for the given +content+. CDATA sections -* are used to escape blocks of text containing characters which would -* otherwise be recognized as markup. CDATA sections begin with the string -* <![CDATA[ and } with (and may not contain) the string -* ]]>. -*/ -WYMeditor.XmlHelper.prototype.cdataSection = function(content) -{ - return ''; -}; - - -/* -* @name escapeOnce -* @description -* Returns the escaped +xml+ without affecting existing escaped entities. -* -* this.escapeOnce( "1 > 2 & 3") -* # => "1 > 2 & 3" -*/ -WYMeditor.XmlHelper.prototype.escapeOnce = function(xml) -{ - return this._fixDoubleEscape(this.escapeEntities(xml)); -}; - -/* -* @name _fixDoubleEscape -* @description -* Fix double-escaped entities, such as &amp;, &#123;, etc. -*/ -WYMeditor.XmlHelper.prototype._fixDoubleEscape = function(escaped) -{ - return escaped.replace(/&([a-z]+|(#\d+));/ig, "&$1;"); -}; - -/* -* @name tagOptions -* @description -* Takes an array like the one generated by Tag.parseAttributes -* [["src", "http://www.editam.com/?a=b&c=d&f=g"], ["title", "Editam, CMS"]] -* or an object like {src:"http://www.editam.com/?a=b&c=d&f=g", title:"Editam, CMS"} -* and returns a string properly escaped like -* ' src = "http://www.editam.com/?a=b&c=d&f=g" title = "Editam, <Simplified> CMS"' -* which is valid for strict XHTML -*/ -WYMeditor.XmlHelper.prototype.tagOptions = function(options) -{ - var xml = this; - xml._formated_options = ''; - - for (var key in options) { - var formated_options = ''; - var value = options[key]; - if(typeof value != 'function' && value.length > 0) { - - if(parseInt(key) == key && typeof value == 'object'){ - key = value.shift(); - value = value.pop(); - } - if(key != '' && value != ''){ - xml._formated_options += ' '+key+'="'+xml.escapeOnce(value)+'"'; - } - } - } - return xml._formated_options; -}; - -/* -* @name escapeEntities -* @description -* Escapes XML/HTML entities <, >, & and ". If seccond parameter is set to false it -* will not escape ". If set to true it will also escape ' -*/ -WYMeditor.XmlHelper.prototype.escapeEntities = function(string, escape_quotes) -{ - this._entitiesDiv.innerHTML = string; - this._entitiesDiv.textContent = string; - var result = this._entitiesDiv.innerHTML; - if(typeof escape_quotes == 'undefined'){ - if(escape_quotes != false) result = result.replace('"', '"'); - if(escape_quotes == true) result = result.replace('"', '''); - } - return result; -}; - -/* -* Parses a string conatining tag attributes and values an returns an array formated like -* [["src", "http://www.editam.com"], ["title", "Editam, Simplified CMS"]] -*/ -WYMeditor.XmlHelper.prototype.parseAttributes = function(tag_attributes) -{ - // Use a compounded regex to match single quoted, double quoted and unquoted attribute pairs - var result = []; - var matches = tag_attributes.split(/((=\s*")(")("))|((=\s*\')(\')(\'))|((=\s*[^>\s]*))/g); - if(matches.toString() != tag_attributes){ - for (var k in matches) { - var v = matches[k]; - if(typeof v != 'function' && v.length != 0){ - var re = new RegExp('(\\w+)\\s*'+v); - if(match = tag_attributes.match(re) ){ - var value = v.replace(/^[\s=]+/, ""); - var delimiter = value.charAt(0); - delimiter = delimiter == '"' ? '"' : (delimiter=="'"?"'":''); - if(delimiter != ''){ - value = delimiter == '"' ? value.replace(/^"|"+$/g, '') : value.replace(/^'|'+$/g, ''); - } - tag_attributes = tag_attributes.replace(match[0],''); - result.push([match[1] , value]); - } - } - } - } - return result; -}; - -/** -* XhtmlValidator for validating tag attributes -* -* @author Bermi Ferrer - http://bermi.org -*/ -WYMeditor.XhtmlValidator = { - "_attributes": - { - "core": - { - "except":[ - "base", - "head", - "html", - "meta", - "param", - "script", - "style", - "title" - ], - "attributes":[ - "class", - "id", - "style", - "title", - "accesskey", - "tabindex" - ] - }, - "language": - { - "except":[ - "base", - "br", - "hr", - "iframe", - "param", - "script" - ], - "attributes": - { - "dir":[ - "ltr", - "rtl" - ], - "0":"lang", - "1":"xml:lang" - } - }, - "keyboard": - { - "attributes": - { - "accesskey":/^(\w){1}$/, - "tabindex":/^(\d)+$/ - } - } - }, - "_events": - { - "window": - { - "only":[ - "body" - ], - "attributes":[ - "onload", - "onunload" - ] - }, - "form": - { - "only":[ - "form", - "input", - "textarea", - "select", - "a", - "label", - "button" - ], - "attributes":[ - "onchange", - "onsubmit", - "onreset", - "onselect", - "onblur", - "onfocus" - ] - }, - "keyboard": - { - "except":[ - "base", - "bdo", - "br", - "frame", - "frameset", - "head", - "html", - "iframe", - "meta", - "param", - "script", - "style", - "title" - ], - "attributes":[ - "onkeydown", - "onkeypress", - "onkeyup" - ] - }, - "mouse": - { - "except":[ - "base", - "bdo", - "br", - "head", - "html", - "meta", - "param", - "script", - "style", - "title" - ], - "attributes":[ - "onclick", - "ondblclick", - "onmousedown", - "onmousemove", - "onmouseover", - "onmouseout", - "onmouseup" - ] - } - }, - "_tags": - { - "a": - { - "attributes": - { - "0":"charset", - "1":"coords", - "2":"href", - "3":"hreflang", - "4":"name", - "rel":/^(alternate|designates|stylesheet|start|next|prev|contents|index|glossary|copyright|chapter|section|subsection|appendix|help|bookmark| |shortcut|icon)+$/, - "rev":/^(alternate|designates|stylesheet|start|next|prev|contents|index|glossary|copyright|chapter|section|subsection|appendix|help|bookmark| |shortcut|icon)+$/, - "shape":/^(rect|rectangle|circ|circle|poly|polygon)$/, - "5":"type" - } - }, - "0":"abbr", - "1":"acronym", - "2":"address", - "area": - { - "attributes": - { - "0":"alt", - "1":"coords", - "2":"href", - "nohref":/^(true|false)$/, - "shape":/^(rect|rectangle|circ|circle|poly|polygon)$/ - }, - "required":[ - "alt" - ] - }, - "3":"b", - "base": - { - "attributes":[ - "href" - ], - "required":[ - "href" - ] - }, - "bdo": - { - "attributes": - { - "dir":/^(ltr|rtl)$/ - }, - "required":[ - "dir" - ] - }, - "4":"big", - "blockquote": - { - "attributes":[ - "cite" - ] - }, - "5":"body", - "6":"br", - "button": - { - "attributes": - { - "disabled":/^(disabled)$/, - "type":/^(button|reset|submit)$/, - "0":"value" - }, - "inside":"form" - }, - "7":"caption", - "8":"cite", - "9":"code", - "col": - { - "attributes": - { - "align":/^(right|left|center|justify)$/, - "0":"char", - "1":"charoff", - "span":/^(\d)+$/, - "valign":/^(top|middle|bottom|baseline)$/, - "2":"width" - }, - "inside":"colgroup" - }, - "colgroup": - { - "attributes": - { - "align":/^(right|left|center|justify)$/, - "0":"char", - "1":"charoff", - "span":/^(\d)+$/, - "valign":/^(top|middle|bottom|baseline)$/, - "2":"width" - } - }, - "10":"dd", - "del": - { - "attributes": - { - "0":"cite", - "datetime":/^([0-9]){8}/ - } - }, - "11":"div", - "12":"dfn", - "13":"dl", - "14":"dt", - "15":"em", - "fieldset": - { - "inside":"form" - }, - "form": - { - "attributes": - { - "0":"action", - "1":"accept", - "2":"accept-charset", - "3":"enctype", - "method":/^(get|post)$/ - }, - "required":[ - "action" - ] - }, - "head": - { - "attributes":[ - "profile" - ] - }, - "16":"h1", - "17":"h2", - "18":"h3", - "19":"h4", - "20":"h5", - "21":"h6", - "22":"hr", - "html": - { - "attributes":[ - "xmlns" - ] - }, - "23":"i", - "img": - { - "attributes":[ - "alt", - "src", - "height", - "ismap", - "longdesc", - "usemap", - "width" - ], - "required":[ - "alt", - "src" - ] - }, - "input": - { - "attributes": - { - "0":"accept", - "1":"alt", - "checked":/^(checked)$/, - "disabled":/^(disabled)$/, - "maxlength":/^(\d)+$/, - "2":"name", - "readonly":/^(readonly)$/, - "size":/^(\d)+$/, - "3":"src", - "type":/^(button|checkbox|file|hidden|image|password|radio|reset|submit|text)$/, - "4":"value" - }, - "inside":"form" - }, - "ins": - { - "attributes": - { - "0":"cite", - "datetime":/^([0-9]){8}/ - } - }, - "24":"kbd", - "label": - { - "attributes":[ - "for" - ], - "inside":"form" - }, - "25":"legend", - "26":"li", - "link": - { - "attributes": - { - "0":"charset", - "1":"href", - "2":"hreflang", - "media":/^(all|braille|print|projection|screen|speech|,|;| )+$/i, - //next comment line required by Opera! - /*"rel":/^(alternate|appendix|bookmark|chapter|contents|copyright|glossary|help|home|index|next|prev|section|start|stylesheet|subsection| |shortcut|icon)+$/i,*/ - "rel":/^(alternate|appendix|bookmark|chapter|contents|copyright|glossary|help|home|index|next|prev|section|start|stylesheet|subsection| |shortcut|icon)+$/i, - "rev":/^(alternate|appendix|bookmark|chapter|contents|copyright|glossary|help|home|index|next|prev|section|start|stylesheet|subsection| |shortcut|icon)+$/i, - "3":"type" - }, - "inside":"head" - }, - "map": - { - "attributes":[ - "id", - "name" - ], - "required":[ - "id" - ] - }, - "meta": - { - "attributes": - { - "0":"content", - "http-equiv":/^(content\-type|expires|refresh|set\-cookie)$/i, - "1":"name", - "2":"scheme" - }, - "required":[ - "content" - ] - }, - "27":"noscript", - "object": - { - "attributes":[ - "archive", - "classid", - "codebase", - "codetype", - "data", - "declare", - "height", - "name", - "standby", - "type", - "usemap", - "width" - ] - }, - "28":"ol", - "optgroup": - { - "attributes": - { - "0":"label", - "disabled": /^(disabled)$/ - }, - "required":[ - "label" - ] - }, - "option": - { - "attributes": - { - "0":"label", - "disabled":/^(disabled)$/, - "selected":/^(selected)$/, - "1":"value" - }, - "inside":"select" - }, - "29":"p", - "param": - { - "attributes": - { - "0":"type", - "valuetype":/^(data|ref|object)$/, - "1":"valuetype", - "2":"value" - }, - "required":[ - "name" - ] - }, - "30":"pre", - "q": - { - "attributes":[ - "cite" - ] - }, - "31":"samp", - "script": - { - "attributes": - { - "type":/^(text\/ecmascript|text\/javascript|text\/jscript|text\/vbscript|text\/vbs|text\/xml)$/, - "0":"charset", - "defer":/^(defer)$/, - "1":"src" - }, - "required":[ - "type" - ] - }, - "select": - { - "attributes": - { - "disabled":/^(disabled)$/, - "multiple":/^(multiple)$/, - "0":"name", - "1":"size" - }, - "inside":"form" - }, - "32":"small", - "33":"span", - "34":"strong", - "style": - { - "attributes": - { - "0":"type", - "media":/^(screen|tty|tv|projection|handheld|print|braille|aural|all)$/ - }, - "required":[ - "type" - ] - }, - "35":"sub", - "36":"sup", - "table": - { - "attributes": - { - "0":"border", - "1":"cellpadding", - "2":"cellspacing", - "frame":/^(void|above|below|hsides|lhs|rhs|vsides|box|border)$/, - "rules":/^(none|groups|rows|cols|all)$/, - "3":"summary", - "4":"width" - } - }, - "tbody": - { - "attributes": - { - "align":/^(right|left|center|justify)$/, - "0":"char", - "1":"charoff", - "valign":/^(top|middle|bottom|baseline)$/ - } - }, - "td": - { - "attributes": - { - "0":"abbr", - "align":/^(left|right|center|justify|char)$/, - "1":"axis", - "2":"char", - "3":"charoff", - "colspan":/^(\d)+$/, - "4":"headers", - "rowspan":/^(\d)+$/, - "scope":/^(col|colgroup|row|rowgroup)$/, - "valign":/^(top|middle|bottom|baseline)$/ - } - }, - "textarea": - { - "attributes":[ - "cols", - "rows", - "disabled", - "name", - "readonly" - ], - "required":[ - "cols", - "rows" - ], - "inside":"form" - }, - "tfoot": - { - "attributes": - { - "align":/^(right|left|center|justify)$/, - "0":"char", - "1":"charoff", - "valign":/^(top|middle|bottom)$/, - "2":"baseline" - } - }, - "th": - { - "attributes": - { - "0":"abbr", - "align":/^(left|right|center|justify|char)$/, - "1":"axis", - "2":"char", - "3":"charoff", - "colspan":/^(\d)+$/, - "4":"headers", - "rowspan":/^(\d)+$/, - "scope":/^(col|colgroup|row|rowgroup)$/, - "valign":/^(top|middle|bottom|baseline)$/ - } - }, - "thead": - { - "attributes": - { - "align":/^(right|left|center|justify)$/, - "0":"char", - "1":"charoff", - "valign":/^(top|middle|bottom|baseline)$/ - } - }, - "37":"title", - "tr": - { - "attributes": - { - "align":/^(right|left|center|justify|char)$/, - "0":"char", - "1":"charoff", - "valign":/^(top|middle|bottom|baseline)$/ - } - }, - "38":"tt", - "39":"ul", - "40":"var" - }, - - // Temporary skiped attributes - skiped_attributes : [], - skiped_attribute_values : [], - - getValidTagAttributes: function(tag, attributes) - { - var valid_attributes = {}; - var possible_attributes = this.getPossibleTagAttributes(tag); - for(var attribute in attributes) { - var value = attributes[attribute]; - var h = WYMeditor.Helper; - if(!h.contains(this.skiped_attributes, attribute) && !h.contains(this.skiped_attribute_values, value)){ - if (typeof value != 'function' && h.contains(possible_attributes, attribute)) { - if (this.doesAttributeNeedsValidation(tag, attribute)) { - if(this.validateAttribute(tag, attribute, value)){ - valid_attributes[attribute] = value; - } - }else{ - valid_attributes[attribute] = value; - } - } - } - } - return valid_attributes; - }, - getUniqueAttributesAndEventsForTag : function(tag) - { - var result = []; - - if (this._tags[tag] && this._tags[tag]['attributes']) { - for (k in this._tags[tag]['attributes']) { - result.push(parseInt(k) == k ? this._tags[tag]['attributes'][k] : k); - } - } - return result; - }, - getDefaultAttributesAndEventsForTags : function() - { - var result = []; - for (var key in this._events){ - result.push(this._events[key]); - } - for (var key in this._attributes){ - result.push(this._attributes[key]); - } - return result; - }, - isValidTag : function(tag) - { - if(this._tags[tag]){ - return true; - } - for(var key in this._tags){ - if(this._tags[key] == tag){ - return true; - } - } - return false; - }, - getDefaultAttributesAndEventsForTag : function(tag) - { - var default_attributes = []; - if (this.isValidTag(tag)) { - var default_attributes_and_events = this.getDefaultAttributesAndEventsForTags(); - - for(var key in default_attributes_and_events) { - var defaults = default_attributes_and_events[key]; - if(typeof defaults == 'object'){ - var h = WYMeditor.Helper; - if ((defaults['except'] && h.contains(defaults['except'], tag)) || (defaults['only'] && !h.contains(defaults['only'], tag))) { - continue; - } - - var tag_defaults = defaults['attributes'] ? defaults['attributes'] : defaults['events']; - for(var k in tag_defaults) { - default_attributes.push(typeof tag_defaults[k] != 'string' ? k : tag_defaults[k]); - } - } - } - } - return default_attributes; - }, - doesAttributeNeedsValidation: function(tag, attribute) - { - return this._tags[tag] && ((this._tags[tag]['attributes'] && this._tags[tag]['attributes'][attribute]) || (this._tags[tag]['required'] && - WYMeditor.Helper.contains(this._tags[tag]['required'], attribute))); - }, - validateAttribute : function(tag, attribute, value) - { - if ( this._tags[tag] && - (this._tags[tag]['attributes'] && this._tags[tag]['attributes'][attribute] && value.length > 0 && !value.match(this._tags[tag]['attributes'][attribute])) || // invalid format - (this._tags[tag] && this._tags[tag]['required'] && WYMeditor.Helper.contains(this._tags[tag]['required'], attribute) && value.length == 0) // required attribute - ) { - return false; - } - return typeof this._tags[tag] != 'undefined'; - }, - getPossibleTagAttributes : function(tag) - { - if (!this._possible_tag_attributes) { - this._possible_tag_attributes = {}; - } - if (!this._possible_tag_attributes[tag]) { - this._possible_tag_attributes[tag] = this.getUniqueAttributesAndEventsForTag(tag).concat(this.getDefaultAttributesAndEventsForTag(tag)); - } - return this._possible_tag_attributes[tag]; - } -}; - - -/** -* Compounded regular expression. Any of -* the contained patterns could match and -* when one does, it's label is returned. -* -* Constructor. Starts with no patterns. -* @param boolean case True for case sensitive, false -* for insensitive. -* @access public -* @author Marcus Baker (http://lastcraft.com) -* @author Bermi Ferrer (http://bermi.org) -*/ -WYMeditor.ParallelRegex = function(case_sensitive) -{ - this._case = case_sensitive; - this._patterns = []; - this._labels = []; - this._regex = null; - return this; -}; - - -/** -* Adds a pattern with an optional label. -* @param string pattern Perl style regex, but ( and ) -* lose the usual meaning. -* @param string label Label of regex to be returned -* on a match. -* @access public -*/ -WYMeditor.ParallelRegex.prototype.addPattern = function(pattern, label) -{ - label = label || true; - var count = this._patterns.length; - this._patterns[count] = pattern; - this._labels[count] = label; - this._regex = null; -}; - -/** -* Attempts to match all patterns at once against -* a string. -* @param string subject String to match against. -* -* @return boolean True on success. -* @return string match First matched portion of -* subject. -* @access public -*/ -WYMeditor.ParallelRegex.prototype.match = function(subject) -{ - if (this._patterns.length == 0) { - return [false, '']; - } - var matches = subject.match(this._getCompoundedRegex()); - - if(!matches){ - return [false, '']; - } - var match = matches[0]; - for (var i = 1; i < matches.length; i++) { - if (matches[i]) { - return [this._labels[i-1], match]; - } - } - return [true, matches[0]]; -}; - -/** -* Compounds the patterns into a single -* regular expression separated with the -* "or" operator. Caches the regex. -* Will automatically escape (, ) and / tokens. -* @param array patterns List of patterns in order. -* @access private -*/ -WYMeditor.ParallelRegex.prototype._getCompoundedRegex = function() -{ - if (this._regex == null) { - for (var i = 0, count = this._patterns.length; i < count; i++) { - this._patterns[i] = '(' + this._untokenizeRegex(this._tokenizeRegex(this._patterns[i]).replace(/([\/\(\)])/g,'\\$1')) + ')'; - } - this._regex = new RegExp(this._patterns.join("|") ,this._getPerlMatchingFlags()); - } - return this._regex; -}; - -/** -* Escape lookahead/lookbehind blocks -*/ -WYMeditor.ParallelRegex.prototype._tokenizeRegex = function(regex) -{ - return regex. - replace(/\(\?(i|m|s|x|U)\)/, '~~~~~~Tk1\$1~~~~~~'). - replace(/\(\?(\-[i|m|s|x|U])\)/, '~~~~~~Tk2\$1~~~~~~'). - replace(/\(\?\=(.*)\)/, '~~~~~~Tk3\$1~~~~~~'). - replace(/\(\?\!(.*)\)/, '~~~~~~Tk4\$1~~~~~~'). - replace(/\(\?\<\=(.*)\)/, '~~~~~~Tk5\$1~~~~~~'). - replace(/\(\?\<\!(.*)\)/, '~~~~~~Tk6\$1~~~~~~'). - replace(/\(\?\:(.*)\)/, '~~~~~~Tk7\$1~~~~~~'); -}; - -/** -* Unscape lookahead/lookbehind blocks -*/ -WYMeditor.ParallelRegex.prototype._untokenizeRegex = function(regex) -{ - return regex. - replace(/~~~~~~Tk1(.{1})~~~~~~/, "(?\$1)"). - replace(/~~~~~~Tk2(.{2})~~~~~~/, "(?\$1)"). - replace(/~~~~~~Tk3(.*)~~~~~~/, "(?=\$1)"). - replace(/~~~~~~Tk4(.*)~~~~~~/, "(?!\$1)"). - replace(/~~~~~~Tk5(.*)~~~~~~/, "(?<=\$1)"). - replace(/~~~~~~Tk6(.*)~~~~~~/, "(?", 'Comment'); -}; - -WYMeditor.XhtmlLexer.prototype.addScriptTokens = function(scope) -{ - this.addEntryPattern("", 'Script'); -}; - -WYMeditor.XhtmlLexer.prototype.addCssTokens = function(scope) -{ - this.addEntryPattern("", 'Css'); -}; - -WYMeditor.XhtmlLexer.prototype.addTagTokens = function(scope) -{ - this.addSpecialPattern("<\\s*[a-z0-9:\-]+\\s*>", scope, 'OpeningTag'); - this.addEntryPattern("<[a-z0-9:\-]+"+'[\\\/ \\\>]+', scope, 'OpeningTag'); - this.addInTagDeclarationTokens('OpeningTag'); - - this.addSpecialPattern("", scope, 'ClosingTag'); - -}; - -WYMeditor.XhtmlLexer.prototype.addInTagDeclarationTokens = function(scope) -{ - this.addSpecialPattern('\\s+', scope, 'Ignore'); - - this.addAttributeTokens(scope); - - this.addExitPattern('/>', scope); - this.addExitPattern('>', scope); - -}; - -WYMeditor.XhtmlLexer.prototype.addAttributeTokens = function(scope) -{ - this.addSpecialPattern("\\s*[a-z-_0-9]*:?[a-z-_0-9]+\\s*(?=\=)\\s*", scope, 'TagAttributes'); - - this.addEntryPattern('=\\s*"', scope, 'DoubleQuotedAttribute'); - this.addPattern("\\\\\"", 'DoubleQuotedAttribute'); - this.addExitPattern('"', 'DoubleQuotedAttribute'); - - this.addEntryPattern("=\\s*'", scope, 'SingleQuotedAttribute'); - this.addPattern("\\\\'", 'SingleQuotedAttribute'); - this.addExitPattern("'", 'SingleQuotedAttribute'); - - this.addSpecialPattern('=\\s*[^>\\s]*', scope, 'UnquotedAttribute'); -}; - - - -/** -* XHTML Parser. -* -* This XHTML parser will trigger the events available on on -* current SaxListener -* -* @author Bermi Ferrer (http://bermi.org) -*/ -WYMeditor.XhtmlParser = function(Listener, mode) -{ - var mode = mode || 'Text'; - this._Lexer = new WYMeditor.XhtmlLexer(this); - this._Listener = Listener; - this._mode = mode; - this._matches = []; - this._last_match = ''; - this._current_match = ''; - - return this; -}; - -WYMeditor.XhtmlParser.prototype.parse = function(raw) -{ - this._Lexer.parse(this.beforeParsing(raw)); - return this.afterParsing(this._Listener.getResult()); -}; - -WYMeditor.XhtmlParser.prototype.beforeParsing = function(raw) -{ - if(raw.match(/class="MsoNormal"/) || raw.match(/ns = "urn:schemas-microsoft-com/)){ - // Usefull for cleaning up content pasted from other sources (MSWord) - this._Listener.avoidStylingTagsAndAttributes(); - } - return this._Listener.beforeParsing(raw); -}; - -WYMeditor.XhtmlParser.prototype.afterParsing = function(parsed) -{ - if(this._Listener._avoiding_tags_implicitly){ - this._Listener.allowStylingTagsAndAttributes(); - } - return this._Listener.afterParsing(parsed); -}; - - -WYMeditor.XhtmlParser.prototype.Ignore = function(match, state) -{ - return true; -}; - -WYMeditor.XhtmlParser.prototype.Text = function(text) -{ - this._Listener.addContent(text); - return true; -}; - -WYMeditor.XhtmlParser.prototype.Comment = function(match, status) -{ - return this._addNonTagBlock(match, status, 'addComment'); -}; - -WYMeditor.XhtmlParser.prototype.Script = function(match, status) -{ - return this._addNonTagBlock(match, status, 'addScript'); -}; - -WYMeditor.XhtmlParser.prototype.Css = function(match, status) -{ - return this._addNonTagBlock(match, status, 'addCss'); -}; - -WYMeditor.XhtmlParser.prototype._addNonTagBlock = function(match, state, type) -{ - switch (state){ - case WYMeditor.LEXER_ENTER: - this._non_tag = match; - break; - case WYMeditor.LEXER_UNMATCHED: - this._non_tag += match; - break; - case WYMeditor.LEXER_EXIT: - switch(type) { - case 'addComment': - this._Listener.addComment(this._non_tag+match); - break; - case 'addScript': - this._Listener.addScript(this._non_tag+match); - break; - case 'addCss': - this._Listener.addCss(this._non_tag+match); - break; - } - } - return true; -}; - -WYMeditor.XhtmlParser.prototype.OpeningTag = function(match, state) -{ - switch (state){ - case WYMeditor.LEXER_ENTER: - this._tag = this.normalizeTag(match); - this._tag_attributes = {}; - break; - case WYMeditor.LEXER_SPECIAL: - this._callOpenTagListener(this.normalizeTag(match)); - break; - case WYMeditor.LEXER_EXIT: - this._callOpenTagListener(this._tag, this._tag_attributes); - } - return true; -}; - -WYMeditor.XhtmlParser.prototype.ClosingTag = function(match, state) -{ - this._callCloseTagListener(this.normalizeTag(match)); - return true; -}; - -WYMeditor.XhtmlParser.prototype._callOpenTagListener = function(tag, attributes) -{ - var attributes = attributes || {}; - this.autoCloseUnclosedBeforeNewOpening(tag); - - if(this._Listener.isBlockTag(tag)){ - this._Listener._tag_stack.push(tag); - this._Listener.fixNestingBeforeOpeningBlockTag(tag, attributes); - this._Listener.openBlockTag(tag, attributes); - this._increaseOpenTagCounter(tag); - }else if(this._Listener.isInlineTag(tag)){ - this._Listener.inlineTag(tag, attributes); - }else{ - this._Listener.openUnknownTag(tag, attributes); - this._increaseOpenTagCounter(tag); - } - this._Listener.last_tag = tag; - this._Listener.last_tag_opened = true; - this._Listener.last_tag_attributes = attributes; -}; - -WYMeditor.XhtmlParser.prototype._callCloseTagListener = function(tag) -{ - if(this._decreaseOpenTagCounter(tag)){ - this.autoCloseUnclosedBeforeTagClosing(tag); - - if(this._Listener.isBlockTag(tag)){ - var expected_tag = this._Listener._tag_stack.pop(); - if(expected_tag == false){ - return; - }else if(expected_tag != tag){ - tag = expected_tag; - } - this._Listener.closeBlockTag(tag); - }else{ - this._Listener.closeUnknownTag(tag); - } - }else{ - this._Listener.closeUnopenedTag(tag); - } - this._Listener.last_tag = tag; - this._Listener.last_tag_opened = false; -}; - -WYMeditor.XhtmlParser.prototype._increaseOpenTagCounter = function(tag) -{ - this._Listener._open_tags[tag] = this._Listener._open_tags[tag] || 0; - this._Listener._open_tags[tag]++; -}; - -WYMeditor.XhtmlParser.prototype._decreaseOpenTagCounter = function(tag) -{ - if(this._Listener._open_tags[tag]){ - this._Listener._open_tags[tag]--; - if(this._Listener._open_tags[tag] == 0){ - this._Listener._open_tags[tag] = undefined; - } - return true; - } - return false; -}; - -WYMeditor.XhtmlParser.prototype.autoCloseUnclosedBeforeNewOpening = function(new_tag) -{ - this._autoCloseUnclosed(new_tag, false); -}; - -WYMeditor.XhtmlParser.prototype.autoCloseUnclosedBeforeTagClosing = function(tag) -{ - this._autoCloseUnclosed(tag, true); -}; - -WYMeditor.XhtmlParser.prototype._autoCloseUnclosed = function(new_tag, closing) -{ - var closing = closing || false; - if(this._Listener._open_tags){ - for (var tag in this._Listener._open_tags) { - var counter = this._Listener._open_tags[tag]; - if(counter > 0 && this._Listener.shouldCloseTagAutomatically(tag, new_tag, closing)){ - this._callCloseTagListener(tag, true); - } - } - } -}; - -WYMeditor.XhtmlParser.prototype.getTagReplacements = function() -{ - return this._Listener.getTagReplacements(); -}; - -WYMeditor.XhtmlParser.prototype.normalizeTag = function(tag) -{ - tag = tag.replace(/^([\s<\/>]*)|([\s<\/>]*)$/gm,'').toLowerCase(); - var tags = this._Listener.getTagReplacements(); - if(tags[tag]){ - return tags[tag]; - } - return tag; -}; - -WYMeditor.XhtmlParser.prototype.TagAttributes = function(match, state) -{ - if(WYMeditor.LEXER_SPECIAL == state){ - this._current_attribute = match; - } - return true; -}; - -WYMeditor.XhtmlParser.prototype.DoubleQuotedAttribute = function(match, state) -{ - if(WYMeditor.LEXER_UNMATCHED == state){ - this._tag_attributes[this._current_attribute] = match; - } - return true; -}; - -WYMeditor.XhtmlParser.prototype.SingleQuotedAttribute = function(match, state) -{ - if(WYMeditor.LEXER_UNMATCHED == state){ - this._tag_attributes[this._current_attribute] = match; - } - return true; -}; - -WYMeditor.XhtmlParser.prototype.UnquotedAttribute = function(match, state) -{ - this._tag_attributes[this._current_attribute] = match.replace(/^=/,''); - return true; -}; - - - -/** -* XHTML Sax parser. -* -* @author Bermi Ferrer (http://bermi.org) -*/ -WYMeditor.XhtmlSaxListener = function() -{ - this.output = ''; - this.helper = new WYMeditor.XmlHelper(); - this._open_tags = {}; - this.validator = WYMeditor.XhtmlValidator; - this._tag_stack = []; - this.avoided_tags = []; - - this.entities = { - ' ':' ','¡':'¡','¢':'¢', - '£':'£','¤':'¤','¥':'¥', - '¦':'¦','§':'§','¨':'¨', - '©':'©','ª':'ª','«':'«', - '¬':'¬','­':'­','®':'®', - '¯':'¯','°':'°','±':'±', - '²':'²','³':'³','´':'´', - 'µ':'µ','¶':'¶','·':'·', - '¸':'¸','¹':'¹','º':'º', - '»':'»','¼':'¼','½':'½', - '¾':'¾','¿':'¿','À':'À', - 'Á':'Á','Â':'Â','Ã':'Ã', - 'Ä':'Ä','Å':'Å','Æ':'Æ', - 'Ç':'Ç','È':'È','É':'É', - 'Ê':'Ê','Ë':'Ë','Ì':'Ì', - 'Í':'Í','Î':'Î','Ï':'Ï', - 'Ð':'Ð','Ñ':'Ñ','Ò':'Ò', - 'Ó':'Ó','Ô':'Ô','Õ':'Õ', - 'Ö':'Ö','×':'×','Ø':'Ø', - 'Ù':'Ù','Ú':'Ú','Û':'Û', - 'Ü':'Ü','Ý':'Ý','Þ':'Þ', - 'ß':'ß','à':'à','á':'á', - 'â':'â','ã':'ã','ä':'ä', - 'å':'å','æ':'æ','ç':'ç', - 'è':'è','é':'é','ê':'ê', - 'ë':'ë','ì':'ì','í':'í', - 'î':'î','ï':'ï','ð':'ð', - 'ñ':'ñ','ò':'ò','ó':'ó', - 'ô':'ô','õ':'õ','ö':'ö', - '÷':'÷','ø':'ø','ù':'ù', - 'ú':'ú','û':'û','ü':'ü', - 'ý':'ý','þ':'þ','ÿ':'ÿ', - 'Œ':'Œ','œ':'œ','Š':'Š', - 'š':'š','Ÿ':'Ÿ','ƒ':'ƒ', - 'ˆ':'ˆ','˜':'˜','Α':'Α', - 'Β':'Β','Γ':'Γ','Δ':'Δ', - 'Ε':'Ε','Ζ':'Ζ','Η':'Η', - 'Θ':'Θ','Ι':'Ι','Κ':'Κ', - 'Λ':'Λ','Μ':'Μ','Ν':'Ν', - 'Ξ':'Ξ','Ο':'Ο','Π':'Π', - 'Ρ':'Ρ','Σ':'Σ','Τ':'Τ', - 'Υ':'Υ','Φ':'Φ','Χ':'Χ', - 'Ψ':'Ψ','Ω':'Ω','α':'α', - 'β':'β','γ':'γ','δ':'δ', - 'ε':'ε','ζ':'ζ','η':'η', - 'θ':'θ','ι':'ι','κ':'κ', - 'λ':'λ','μ':'μ','ν':'ν', - 'ξ':'ξ','ο':'ο','π':'π', - 'ρ':'ρ','ς':'ς','σ':'σ', - 'τ':'τ','υ':'υ','φ':'φ', - 'χ':'χ','ψ':'ψ','ω':'ω', - 'ϑ':'ϑ','ϒ':'ϒ','ϖ':'ϖ', - ' ':' ',' ':' ',' ':' ', - '‌':'‌','‍':'‍','‎':'‎', - '‏':'‏','–':'–','—':'—', - '‘':'‘','’':'’','‚':'‚', - '“':'“','”':'”','„':'„', - '†':'†','‡':'‡','•':'•', - '…':'…','‰':'‰','′':'′', - '″':'″','‹':'‹','›':'›', - '‾':'‾','⁄':'⁄','€':'€', - 'ℑ':'ℑ','℘':'℘','ℜ':'ℜ', - '™':'™','ℵ':'ℵ','←':'←', - '↑':'↑','→':'→','↓':'↓', - '↔':'↔','↵':'↵','⇐':'⇐', - '⇑':'⇑','⇒':'⇒','⇓':'⇓', - '⇔':'⇔','∀':'∀','∂':'∂', - '∃':'∃','∅':'∅','∇':'∇', - '∈':'∈','∉':'∉','∋':'∋', - '∏':'∏','∑':'∑','−':'−', - '∗':'∗','√':'√','∝':'∝', - '∞':'∞','∠':'∠','∧':'∧', - '∨':'∨','∩':'∩','∪':'∪', - '∫':'∫','∴':'∴','∼':'∼', - '≅':'≅','≈':'≈','≠':'≠', - '≡':'≡','≤':'≤','≥':'≥', - '⊂':'⊂','⊃':'⊃','⊄':'⊄', - '⊆':'⊆','⊇':'⊇','⊕':'⊕', - '⊗':'⊗','⊥':'⊥','⋅':'⋅', - '⌈':'⌈','⌉':'⌉','⌊':'⌊', - '⌋':'⌋','⟨':'〈','⟩':'〉', - '◊':'◊','♠':'♠','♣':'♣', - '♥':'♥','♦':'♦'}; - - this.block_tags = ["a", "abbr", "acronym", "address", "area", "b", - "base", "bdo", "big", "blockquote", "body", "button", - "caption", "cite", "code", "col", "colgroup", "dd", "del", "div", - "dfn", "dl", "dt", "em", "fieldset", "form", "head", "h1", "h2", - "h3", "h4", "h5", "h6", "html", "i", "ins", - "kbd", "label", "legend", "li", "map", "noscript", - "object", "ol", "optgroup", "option", "p", "param", "pre", "q", - "samp", "script", "select", "small", "span", "strong", "style", - "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", - "thead", "title", "tr", "tt", "ul", "var", "extends"]; - - - this.inline_tags = ["br", "hr", "img", "input"]; - - return this; -}; - -WYMeditor.XhtmlSaxListener.prototype.shouldCloseTagAutomatically = function(tag, now_on_tag, closing) -{ - var closing = closing || false; - if(tag == 'td'){ - if((closing && now_on_tag == 'tr') || (!closing && now_on_tag == 'td')){ - return true; - } - } - if(tag == 'option'){ - if((closing && now_on_tag == 'select') || (!closing && now_on_tag == 'option')){ - return true; - } - } - return false; -}; - -WYMeditor.XhtmlSaxListener.prototype.beforeParsing = function(raw) -{ - this.output = ''; - return raw; -}; - -WYMeditor.XhtmlSaxListener.prototype.afterParsing = function(xhtml) -{ - xhtml = this.replaceNamedEntities(xhtml); - xhtml = this.joinRepeatedEntities(xhtml); - xhtml = this.removeEmptyTags(xhtml); - xhtml = this.removeBrInPre(xhtml); - return xhtml; -}; - -WYMeditor.XhtmlSaxListener.prototype.replaceNamedEntities = function(xhtml) -{ - for (var entity in this.entities) { - xhtml = xhtml.replace(new RegExp(entity, 'g'), this.entities[entity]); - } - return xhtml; -}; - -WYMeditor.XhtmlSaxListener.prototype.joinRepeatedEntities = function(xhtml) -{ - var tags = 'em|strong|sub|sup|acronym|pre|del|address'; - return xhtml.replace(new RegExp('<\/('+tags+')><\\1>' ,''),''). - replace(new RegExp('(\s*<('+tags+')>\s*){2}(.*)(\s*<\/\\2>\s*){2}' ,''),'<\$2>\$3<\$2>'); -}; - -WYMeditor.XhtmlSaxListener.prototype.removeEmptyTags = function(xhtml) -{ - return xhtml.replace(new RegExp('<('+this.block_tags.join("|").replace(/\|td/,'').replace(/\|th/, '')+')>(
    | | |\\s)*<\/\\1>' ,'g'),''); -}; - -WYMeditor.XhtmlSaxListener.prototype.removeBrInPre = function(xhtml) -{ - var matches = xhtml.match(new RegExp(']*>(.*?)<\/pre>','gmi')); - if(matches) { - for(var i=0; i', 'g'), String.fromCharCode(13,10))); - } - } - return xhtml; -}; - -WYMeditor.XhtmlSaxListener.prototype.getResult = function() -{ - return this.output; -}; - -WYMeditor.XhtmlSaxListener.prototype.getTagReplacements = function() -{ - return {'b':'strong', 'i':'em'}; -}; - -WYMeditor.XhtmlSaxListener.prototype.addContent = function(text) -{ - this.output += text; -}; - -WYMeditor.XhtmlSaxListener.prototype.addComment = function(text) -{ - if(this.remove_comments){ - this.output += text; - } -}; - -WYMeditor.XhtmlSaxListener.prototype.addScript = function(text) -{ - if(!this.remove_scripts){ - this.output += text; - } -}; - -WYMeditor.XhtmlSaxListener.prototype.addCss = function(text) -{ - if(!this.remove_embeded_styles){ - this.output += text; - } -}; - -WYMeditor.XhtmlSaxListener.prototype.openBlockTag = function(tag, attributes) -{ - this.output += this.helper.tag(tag, this.validator.getValidTagAttributes(tag, attributes), true); -}; - -WYMeditor.XhtmlSaxListener.prototype.inlineTag = function(tag, attributes) -{ - this.output += this.helper.tag(tag, this.validator.getValidTagAttributes(tag, attributes)); -}; - -WYMeditor.XhtmlSaxListener.prototype.openUnknownTag = function(tag, attributes) -{ - //this.output += this.helper.tag(tag, attributes, true); -}; - -WYMeditor.XhtmlSaxListener.prototype.closeBlockTag = function(tag) -{ - this.output = this.output.replace(/
    $/, '')+this._getClosingTagContent('before', tag)+""+this._getClosingTagContent('after', tag); -}; - -WYMeditor.XhtmlSaxListener.prototype.closeUnknownTag = function(tag) -{ - //this.output += ""; -}; - -WYMeditor.XhtmlSaxListener.prototype.closeUnopenedTag = function(tag) -{ - this.output += ""; -}; - -WYMeditor.XhtmlSaxListener.prototype.avoidStylingTagsAndAttributes = function() -{ - this.avoided_tags = ['div','span']; - this.validator.skiped_attributes = ['style']; - this.validator.skiped_attribute_values = ['MsoNormal','main1']; // MS Word attributes for class - this._avoiding_tags_implicitly = true; -}; - -WYMeditor.XhtmlSaxListener.prototype.allowStylingTagsAndAttributes = function() -{ - this.avoided_tags = []; - this.validator.skiped_attributes = []; - this.validator.skiped_attribute_values = []; - this._avoiding_tags_implicitly = false; -}; - -WYMeditor.XhtmlSaxListener.prototype.isBlockTag = function(tag) -{ - return !WYMeditor.Helper.contains(this.avoided_tags, tag) && WYMeditor.Helper.contains(this.block_tags, tag); -}; - -WYMeditor.XhtmlSaxListener.prototype.isInlineTag = function(tag) -{ - return !WYMeditor.Helper.contains(this.avoided_tags, tag) && WYMeditor.Helper.contains(this.inline_tags, tag); -}; - -WYMeditor.XhtmlSaxListener.prototype.insertContentAfterClosingTag = function(tag, content) -{ - this._insertContentWhenClosingTag('after', tag, content); -}; - -WYMeditor.XhtmlSaxListener.prototype.insertContentBeforeClosingTag = function(tag, content) -{ - this._insertContentWhenClosingTag('before', tag, content); -}; - -WYMeditor.XhtmlSaxListener.prototype.fixNestingBeforeOpeningBlockTag = function(tag, attributes) -{ - if(tag != 'li' && (tag == 'ul' || tag == 'ol') && this.last_tag && !this.last_tag_opened && this.last_tag == 'li'){ - this.output = this.output.replace(/<\/li>$/, ''); - this.insertContentAfterClosingTag(tag, ''); - } -}; - -WYMeditor.XhtmlSaxListener.prototype._insertContentWhenClosingTag = function(position, tag, content) -{ - if(!this['_insert_'+position+'_closing']){ - this['_insert_'+position+'_closing'] = []; - } - if(!this['_insert_'+position+'_closing'][tag]){ - this['_insert_'+position+'_closing'][tag] = []; - } - this['_insert_'+position+'_closing'][tag].push(content); -}; - -WYMeditor.XhtmlSaxListener.prototype._getClosingTagContent = function(position, tag) -{ - if( this['_insert_'+position+'_closing'] && - this['_insert_'+position+'_closing'][tag] && - this['_insert_'+position+'_closing'][tag].length > 0){ - return this['_insert_'+position+'_closing'][tag].pop(); - } - return ''; -}; - - -/********** CSS PARSER **********/ - - -WYMeditor.WymCssLexer = function(parser, only_wym_blocks) -{ - var only_wym_blocks = (typeof only_wym_blocks == 'undefined' ? true : only_wym_blocks); - - jQuery.extend(this, new WYMeditor.Lexer(parser, (only_wym_blocks?'Ignore':'WymCss'))); - - this.mapHandler('WymCss', 'Ignore'); - - if(only_wym_blocks == true){ - this.addEntryPattern("/\\\x2a[<\\s]*WYMeditor[>\\s]*\\\x2a/", 'Ignore', 'WymCss'); - this.addExitPattern("/\\\x2a[<\/\\s]*WYMeditor[>\\s]*\\\x2a/", 'WymCss'); - } - - this.addSpecialPattern("[\\sa-z1-6]*\\\x2e[a-z-_0-9]+", 'WymCss', 'WymCssStyleDeclaration'); - - this.addEntryPattern("/\\\x2a", 'WymCss', 'WymCssComment'); - this.addExitPattern("\\\x2a/", 'WymCssComment'); - - this.addEntryPattern("\x7b", 'WymCss', 'WymCssStyle'); - this.addExitPattern("\x7d", 'WymCssStyle'); - - this.addEntryPattern("/\\\x2a", 'WymCssStyle', 'WymCssFeedbackStyle'); - this.addExitPattern("\\\x2a/", 'WymCssFeedbackStyle'); - - return this; -}; - -WYMeditor.WymCssParser = function() -{ - this._in_style = false; - this._has_title = false; - this.only_wym_blocks = true; - this.css_settings = {'classesItems':[], 'editorStyles':[], 'dialogStyles':[]}; - return this; -}; - -WYMeditor.WymCssParser.prototype.parse = function(raw, only_wym_blocks) -{ - var only_wym_blocks = (typeof only_wym_blocks == 'undefined' ? this.only_wym_blocks : only_wym_blocks); - this._Lexer = new WYMeditor.WymCssLexer(this, only_wym_blocks); - this._Lexer.parse(raw); -}; - -WYMeditor.WymCssParser.prototype.Ignore = function(match, state) -{ - return true; -}; - -WYMeditor.WymCssParser.prototype.WymCssComment = function(text, status) -{ - if(text.match(/end[a-z0-9\s]*wym[a-z0-9\s]*/mi)){ - return false; - } - if(status == WYMeditor.LEXER_UNMATCHED){ - if(!this._in_style){ - this._has_title = true; - this._current_item = {'title':WYMeditor.Helper.trim(text)}; - }else{ - if(this._current_item[this._current_element]){ - if(!this._current_item[this._current_element].expressions){ - this._current_item[this._current_element].expressions = [text]; - }else{ - this._current_item[this._current_element].expressions.push(text); - } - } - } - this._in_style = true; - } - return true; -}; - -WYMeditor.WymCssParser.prototype.WymCssStyle = function(match, status) -{ - if(status == WYMeditor.LEXER_UNMATCHED){ - match = WYMeditor.Helper.trim(match); - if(match != ''){ - this._current_item[this._current_element].style = match; - } - }else if (status == WYMeditor.LEXER_EXIT){ - this._in_style = false; - this._has_title = false; - this.addStyleSetting(this._current_item); - } - return true; -}; - -WYMeditor.WymCssParser.prototype.WymCssFeedbackStyle = function(match, status) -{ - if(status == WYMeditor.LEXER_UNMATCHED){ - this._current_item[this._current_element].feedback_style = match.replace(/^([\s\/\*]*)|([\s\/\*]*)$/gm,''); - } - return true; -}; - -WYMeditor.WymCssParser.prototype.WymCssStyleDeclaration = function(match) -{ - match = match.replace(/^([\s\.]*)|([\s\.*]*)$/gm, ''); - - var tag = ''; - if(match.indexOf('.') > 0){ - var parts = match.split('.'); - this._current_element = parts[1]; - var tag = parts[0]; - }else{ - this._current_element = match; - } - - if(!this._has_title){ - this._current_item = {'title':(!tag?'':tag.toUpperCase()+': ')+this._current_element}; - this._has_title = true; - } - - if(!this._current_item[this._current_element]){ - this._current_item[this._current_element] = {'name':this._current_element}; - } - if(tag){ - if(!this._current_item[this._current_element].tags){ - this._current_item[this._current_element].tags = [tag]; - }else{ - this._current_item[this._current_element].tags.push(tag); - } - } - return true; -}; - -WYMeditor.WymCssParser.prototype.addStyleSetting = function(style_details) -{ - for (var name in style_details){ - var details = style_details[name]; - if(typeof details == 'object' && name != 'title'){ - - this.css_settings.classesItems.push({ - 'name': WYMeditor.Helper.trim(details.name), - 'title': style_details.title, - 'expr' : WYMeditor.Helper.trim((details.expressions||details.tags).join(', ')) - }); - if(details.feedback_style){ - this.css_settings.editorStyles.push({ - 'name': '.'+ WYMeditor.Helper.trim(details.name), - 'css': details.feedback_style - }); - } - if(details.style){ - this.css_settings.dialogStyles.push({ - 'name': '.'+ WYMeditor.Helper.trim(details.name), - 'css': details.style - }); - } - } - } -}; - -/********** HELPERS **********/ - -// Returns true if it is a text node with whitespaces only -jQuery.fn.isPhantomNode = function() { - if (this[0].nodeType == 3) - return !(/[^\t\n\r ]/.test(this[0].data)); - - return false; -}; - -WYMeditor.isPhantomNode = function(n) { - if (n.nodeType == 3) - return !(/[^\t\n\r ]/.test(n.data)); - - return false; -}; - -WYMeditor.isPhantomString = function(str) { - return !(/[^\t\n\r ]/.test(str)); -}; - -// Returns the Parents or the node itself -// jqexpr = a jQuery expression -jQuery.fn.parentsOrSelf = function(jqexpr) { - var n = this; - - if (n[0].nodeType == 3) - n = n.parents().slice(0,1); - -// if (n.is(jqexpr)) // XXX should work, but doesn't (probably a jQuery bug) - if (n.filter(jqexpr).size() == 1) - return n; - else - return n.parents(jqexpr).slice(0,1); -}; - -// String & array helpers - -WYMeditor.Helper = { - - //replace all instances of 'old' by 'rep' in 'str' string - replaceAll: function(str, old, rep) { - var rExp = new RegExp(old, "g"); - return(str.replace(rExp, rep)); - }, - - //insert 'inserted' at position 'pos' in 'str' string - insertAt: function(str, inserted, pos) { - return(str.substr(0,pos) + inserted + str.substring(pos)); - }, - - //trim 'str' string - trim: function(str) { - return str.replace(/^(\s*)|(\s*)$/gm,''); - }, - - //return true if 'arr' array contains 'elem', or false - contains: function(arr, elem) { - for (var i = 0; i < arr.length; i++) { - if (arr[i] === elem) return true; - } - return false; - }, - - //return 'item' position in 'arr' array, or -1 - indexOf: function(arr, item) { - var ret=-1; - for(var i = 0; i < arr.length; i++) { - if (arr[i] == item) { - ret = i; - break; - } - } - return(ret); - }, - - //return 'item' object in 'arr' array, checking its 'name' property, or null - findByName: function(arr, name) { - for(var i = 0; i < arr.length; i++) { - var item = arr[i]; - if(item.name == name) return(item); - } - return(null); - } -}; - - -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * jquery.wymeditor.explorer.js - * MSIE specific class and functions. - * See the documentation for more info. - * - * File Authors: - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - * Bermi Ferrer (wymeditor a-t bermi dotorg) - * Frédéric Palluel-Lafleur (fpalluel a-t gmail dotcom) - * Jonatan Lundin (jonatan.lundin _at_ gmail.com) - */ - -WYMeditor.WymClassExplorer = function(wym) { - - this._wym = wym; - this._class = "className"; - this._newLine = "\r\n"; - -}; - -WYMeditor.WymClassExplorer.prototype.initIframe = function(iframe) { - - //This function is executed twice, though it is called once! - //But MSIE needs that, otherwise designMode won't work. - //Weird. - - this._iframe = iframe; - this._doc = iframe.contentWindow.document; - - //add css rules from options - var styles = this._doc.styleSheets[0]; - var aCss = eval(this._options.editorStyles); - - this.addCssRules(this._doc, aCss); - - this._doc.title = this._wym._index; - - //set the text direction - jQuery('html', this._doc).attr('dir', this._options.direction); - - //init html value - jQuery(this._doc.body).html(this._wym._html); - - //handle events - var wym = this; - - this._doc.body.onfocus = function() - {wym._doc.designMode = "on"; wym._doc = iframe.contentWindow.document;}; - this._doc.onbeforedeactivate = function() {wym.saveCaret();}; - this._doc.onkeyup = function() { - wym.saveCaret(); - wym.keyup(); - }; - this._doc.onclick = function() {wym.saveCaret();}; - - this._doc.body.onbeforepaste = function() { - wym._iframe.contentWindow.event.returnValue = false; - }; - - this._doc.body.onpaste = function() { - wym._iframe.contentWindow.event.returnValue = false; - wym.paste(window.clipboardData.getData("Text")); - }; - - //callback can't be executed twice, so we check - if(this._initialized) { - - //pre-bind functions - if(jQuery.isFunction(this._options.preBind)) this._options.preBind(this); - - //bind external events - this._wym.bindEvents(); - - //post-init functions - if(jQuery.isFunction(this._options.postInit)) this._options.postInit(this); - - //add event listeners to doc elements, e.g. images - this.listen(); - } - - this._initialized = true; - - //init designMode - this._doc.designMode="on"; - try{ - // (bermi's note) noticed when running unit tests on IE6 - // Is this really needed, it trigger an unexisting property on IE6 - this._doc = iframe.contentWindow.document; - }catch(e){} -}; - -WYMeditor.WymClassExplorer.prototype._exec = function(cmd,param) { - - switch(cmd) { - - case WYMeditor.INDENT: case WYMeditor.OUTDENT: - - var container = this.findUp(this.container(), WYMeditor.LI); - if(container) { - var ancestor = container.parentNode.parentNode; - if(container.parentNode.childNodes.length>1 - || ancestor.tagName.toLowerCase() == WYMeditor.OL - || ancestor.tagName.toLowerCase() == WYMeditor.UL) - this._doc.execCommand(cmd); - } - break; - default: - if(param) this._doc.execCommand(cmd,false,param); - else this._doc.execCommand(cmd); - break; - } - - this.listen(); -}; - -WYMeditor.WymClassExplorer.prototype.selected = function() { - - var caretPos = this._iframe.contentWindow.document.caretPos; - if(caretPos!=null) { - if(caretPos.parentElement!=undefined) - return(caretPos.parentElement()); - } -}; - -WYMeditor.WymClassExplorer.prototype.saveCaret = function() { - - this._doc.caretPos = this._doc.selection.createRange(); -}; - -WYMeditor.WymClassExplorer.prototype.addCssRule = function(styles, oCss) { - - styles.addRule(oCss.name, oCss.css); -}; - -WYMeditor.WymClassExplorer.prototype.insert = function(html) { - - // Get the current selection - var range = this._doc.selection.createRange(); - - // Check if the current selection is inside the editor - if ( jQuery(range.parentElement()).parents( this._options.iframeBodySelector ).is('*') ) { - try { - // Overwrite selection with provided html - range.pasteHTML(html); - } catch (e) { } - } else { - // Fall back to the internal paste function if there's no selection - this.paste(html); - } -}; - -WYMeditor.WymClassExplorer.prototype.wrap = function(left, right) { - - // Get the current selection - var range = this._doc.selection.createRange(); - - // Check if the current selection is inside the editor - if ( jQuery(range.parentElement()).parents( this._options.iframeBodySelector ).is('*') ) { - try { - // Overwrite selection with provided html - range.pasteHTML(left + range.text + right); - } catch (e) { } - } -}; - -WYMeditor.WymClassExplorer.prototype.unwrap = function() { - - // Get the current selection - var range = this._doc.selection.createRange(); - - // Check if the current selection is inside the editor - if ( jQuery(range.parentElement()).parents( this._options.iframeBodySelector ).is('*') ) { - try { - // Unwrap selection - var text = range.text; - this._exec( 'Cut' ); - range.pasteHTML( text ); - } catch (e) { } - } -}; - -//keyup handler -WYMeditor.WymClassExplorer.prototype.keyup = function() { - this._selected_image = null; -}; - -WYMeditor.WymClassExplorer.prototype.setFocusToNode = function(node) { - var range = this._doc.selection.createRange(); - range.moveToElementText(node); - range.collapse(false); - range.move('character',-1); - range.select(); - node.focus(); -}; - -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * jquery.wymeditor.mozilla.js - * Gecko specific class and functions. - * See the documentation for more info. - * - * File Authors: - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - * Volker Mische (vmx a-t gmx dotde) - * Bermi Ferrer (wymeditor a-t bermi dotorg) - * Frédéric Palluel-Lafleur (fpalluel a-t gmail dotcom) - */ - -WYMeditor.WymClassMozilla = function(wym) { - - this._wym = wym; - this._class = "class"; - this._newLine = "\n"; -}; - -WYMeditor.WymClassMozilla.prototype.initIframe = function(iframe) { - - this._iframe = iframe; - this._doc = iframe.contentDocument; - - //add css rules from options - - var styles = this._doc.styleSheets[0]; - var aCss = eval(this._options.editorStyles); - - this.addCssRules(this._doc, aCss); - - this._doc.title = this._wym._index; - - //set the text direction - jQuery('html', this._doc).attr('dir', this._options.direction); - - //init html value - this.html(this._wym._html); - - //init designMode - this.enableDesignMode(); - - //pre-bind functions - if(jQuery.isFunction(this._options.preBind)) this._options.preBind(this); - - //bind external events - this._wym.bindEvents(); - - //bind editor keydown events - jQuery(this._doc).bind("keydown", this.keydown); - - //bind editor keyup events - jQuery(this._doc).bind("keyup", this.keyup); - - //bind editor focus events (used to reset designmode - Gecko bug) - jQuery(this._doc).bind("focus", this.enableDesignMode); - - //post-init functions - if(jQuery.isFunction(this._options.postInit)) this._options.postInit(this); - - //add event listeners to doc elements, e.g. images - this.listen(); -}; - -/* @name html - * @description Get/Set the html value - */ -WYMeditor.WymClassMozilla.prototype.html = function(html) { - - if(typeof html === 'string') { - - //disable designMode - try { this._doc.designMode = "off"; } catch(e) { }; - - //replace em by i and strong by bold - //(designMode issue) - html = html.replace(/]*)>/gi, "") - .replace(/<\/em>/gi, "
    ") - .replace(/]*)>/gi, "") - .replace(/<\/strong>/gi, "
    "); - - //update the html body - jQuery(this._doc.body).html(html); - - //re-init designMode - this.enableDesignMode(); - } - else return(jQuery(this._doc.body).html()); -}; - -WYMeditor.WymClassMozilla.prototype._exec = function(cmd,param) { - - if(!this.selected()) return(false); - - switch(cmd) { - - case WYMeditor.INDENT: case WYMeditor.OUTDENT: - - var focusNode = this.selected(); - var sel = this._iframe.contentWindow.getSelection(); - var anchorNode = sel.anchorNode; - if(anchorNode.nodeName == "#text") anchorNode = anchorNode.parentNode; - - focusNode = this.findUp(focusNode, WYMeditor.BLOCKS); - anchorNode = this.findUp(anchorNode, WYMeditor.BLOCKS); - - if(focusNode && focusNode == anchorNode - && focusNode.tagName.toLowerCase() == WYMeditor.LI) { - - var ancestor = focusNode.parentNode.parentNode; - - if(focusNode.parentNode.childNodes.length>1 - || ancestor.tagName.toLowerCase() == WYMeditor.OL - || ancestor.tagName.toLowerCase() == WYMeditor.UL) - this._doc.execCommand(cmd,'',null); - } - - break; - - default: - - if(param) this._doc.execCommand(cmd,'',param); - else this._doc.execCommand(cmd,'',null); - } - - //set to P if parent = BODY - var container = this.selected(); - if(container.tagName.toLowerCase() == WYMeditor.BODY) - this._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); - - //add event handlers on doc elements - - this.listen(); -}; - -/* @name selected - * @description Returns the selected container - */ -WYMeditor.WymClassMozilla.prototype.selected = function() { - - var sel = this._iframe.contentWindow.getSelection(); - var node = sel.focusNode; - if(node) { - if(node.nodeName == "#text") return(node.parentNode); - else return(node); - } else return(null); -}; - -WYMeditor.WymClassMozilla.prototype.addCssRule = function(styles, oCss) { - - styles.insertRule(oCss.name + " {" + oCss.css + "}", - styles.cssRules.length); -}; - - -//keydown handler, mainly used for keyboard shortcuts -WYMeditor.WymClassMozilla.prototype.keydown = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - var container = null; - - if(evt.ctrlKey){ - if(evt.keyCode == 66){ - //CTRL+b => STRONG - wym._exec(WYMeditor.BOLD); - return false; - } - if(evt.keyCode == 73){ - //CTRL+i => EMPHASIS - wym._exec(WYMeditor.ITALIC); - return false; - } - } - - else if(evt.keyCode == 13) { - if(!evt.shiftKey){ - //fix PRE bug #73 - container = wym.selected(); - if(container && container.tagName.toLowerCase() == WYMeditor.PRE) { - evt.preventDefault(); - wym.insert('

    '); - } - } - } -}; - -//keyup handler, mainly used for cleanups -WYMeditor.WymClassMozilla.prototype.keyup = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - - wym._selected_image = null; - var container = null; - - if(evt.keyCode == 13 && !evt.shiftKey) { - - //RETURN key - //cleanup

    between paragraphs - jQuery(wym._doc.body).children(WYMeditor.BR).remove(); - } - - else if(evt.keyCode != 8 - && evt.keyCode != 17 - && evt.keyCode != 46 - && evt.keyCode != 224 - && !evt.metaKey - && !evt.ctrlKey) { - - //NOT BACKSPACE, NOT DELETE, NOT CTRL, NOT COMMAND - //text nodes replaced by P - - container = wym.selected(); - var name = container.tagName.toLowerCase(); - - //fix forbidden main containers - if( - name == "strong" || - name == "b" || - name == "em" || - name == "i" || - name == "sub" || - name == "sup" || - name == "a" - - ) name = container.parentNode.tagName.toLowerCase(); - - if(name == WYMeditor.BODY) wym._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); - } -}; - -WYMeditor.WymClassMozilla.prototype.enableDesignMode = function() { - if(this.designMode == "off") { - try { - this.designMode = "on"; - this.execCommand("styleWithCSS", '', false); - } catch(e) { } - } -}; - -WYMeditor.WymClassMozilla.prototype.setFocusToNode = function(node) { - var range = document.createRange(); - range.selectNode(node); - var selected = this._iframe.contentWindow.getSelection(); - selected.addRange(range); - selected.collapse(node, node.childNodes.length); - this._iframe.contentWindow.focus(); -}; - -WYMeditor.WymClassMozilla.prototype.openBlockTag = function(tag, attributes) -{ - var attributes = this.validator.getValidTagAttributes(tag, attributes); - - // Handle Mozilla styled spans - if(tag == 'span' && attributes.style){ - var new_tag = this.getTagForStyle(attributes.style); - if(new_tag){ - this._tag_stack.pop(); - var tag = new_tag; - this._tag_stack.push(new_tag); - attributes.style = ''; - }else{ - return; - } - } - - this.output += this.helper.tag(tag, attributes, true); -}; - -WYMeditor.WymClassMozilla.prototype.getTagForStyle = function(style) { - - if(/bold/.test(style)) return 'strong'; - if(/italic/.test(style)) return 'em'; - if(/sub/.test(style)) return 'sub'; - if(/sub/.test(style)) return 'super'; - return false; -}; - -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * jquery.wymeditor.opera.js - * Opera specific class and functions. - * See the documentation for more info. - * - * File Authors: - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - */ - -WYMeditor.WymClassOpera = function(wym) { - - this._wym = wym; - this._class = "class"; - this._newLine = "\r\n"; -}; - -WYMeditor.WymClassOpera.prototype.initIframe = function(iframe) { - - this._iframe = iframe; - this._doc = iframe.contentWindow.document; - - //add css rules from options - var styles = this._doc.styleSheets[0]; - var aCss = eval(this._options.editorStyles); - - this.addCssRules(this._doc, aCss); - - this._doc.title = this._wym._index; - - //set the text direction - jQuery('html', this._doc).attr('dir', this._options.direction); - - //init designMode - this._doc.designMode = "on"; - - //init html value - this.html(this._wym._html); - - //pre-bind functions - if(jQuery.isFunction(this._options.preBind)) this._options.preBind(this); - - //bind external events - this._wym.bindEvents(); - - //bind editor keydown events - jQuery(this._doc).bind("keydown", this.keydown); - - //bind editor events - jQuery(this._doc).bind("keyup", this.keyup); - - //post-init functions - if(jQuery.isFunction(this._options.postInit)) this._options.postInit(this); - - //add event listeners to doc elements, e.g. images - this.listen(); -}; - -WYMeditor.WymClassOpera.prototype._exec = function(cmd,param) { - - if(param) this._doc.execCommand(cmd,false,param); - else this._doc.execCommand(cmd); - - this.listen(); -}; - -WYMeditor.WymClassOpera.prototype.selected = function() { - - var sel=this._iframe.contentWindow.getSelection(); - var node=sel.focusNode; - if(node) { - if(node.nodeName=="#text")return(node.parentNode); - else return(node); - } else return(null); -}; - -WYMeditor.WymClassOpera.prototype.addCssRule = function(styles, oCss) { - - styles.insertRule(oCss.name + " {" + oCss.css + "}", - styles.cssRules.length); -}; - -//keydown handler -WYMeditor.WymClassOpera.prototype.keydown = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - var sel = wym._iframe.contentWindow.getSelection(); - startNode = sel.getRangeAt(0).startContainer; - - //Get a P instead of no container - if(!jQuery(startNode).parentsOrSelf( - WYMeditor.MAIN_CONTAINERS.join(","))[0] - && !jQuery(startNode).parentsOrSelf('li') - && evt.keyCode != WYMeditor.KEY.ENTER - && evt.keyCode != WYMeditor.KEY.LEFT - && evt.keyCode != WYMeditor.KEY.UP - && evt.keyCode != WYMeditor.KEY.RIGHT - && evt.keyCode != WYMeditor.KEY.DOWN - && evt.keyCode != WYMeditor.KEY.BACKSPACE - && evt.keyCode != WYMeditor.KEY.DELETE) - wym._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); - -}; - -//keyup handler -WYMeditor.WymClassOpera.prototype.keyup = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - wym._selected_image = null; -}; - -// TODO: implement me -WYMeditor.WymClassOpera.prototype.setFocusToNode = function(node) { - -}; - -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * jquery.wymeditor.safari.js - * Safari specific class and functions. - * See the documentation for more info. - * - * File Authors: - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - * Scott Lewis (lewiscot a-t gmail dotcom) - */ - -WYMeditor.WymClassSafari = function(wym) { - - this._wym = wym; - this._class = "class"; - this._newLine = "\n"; -}; - -WYMeditor.WymClassSafari.prototype.initIframe = function(iframe) { - - this._iframe = iframe; - this._doc = iframe.contentDocument; - - //add css rules from options - - var styles = this._doc.styleSheets[0]; - var aCss = eval(this._options.editorStyles); - - this.addCssRules(this._doc, aCss); - - this._doc.title = this._wym._index; - - //set the text direction - jQuery('html', this._doc).attr('dir', this._options.direction); - - //init designMode - this._doc.designMode = "on"; - - //init html value - this.html(this._wym._html); - - //pre-bind functions - if(jQuery.isFunction(this._options.preBind)) this._options.preBind(this); - - //bind external events - this._wym.bindEvents(); - - //bind editor keydown events - jQuery(this._doc).bind("keydown", this.keydown); - - //bind editor keyup events - jQuery(this._doc).bind("keyup", this.keyup); - - //post-init functions - if(jQuery.isFunction(this._options.postInit)) this._options.postInit(this); - - //add event listeners to doc elements, e.g. images - this.listen(); -}; - -WYMeditor.WymClassSafari.prototype._exec = function(cmd,param) { - - if(!this.selected()) return(false); - - switch(cmd) { - - case WYMeditor.INDENT: case WYMeditor.OUTDENT: - - var focusNode = this.selected(); - var sel = this._iframe.contentWindow.getSelection(); - var anchorNode = sel.anchorNode; - if(anchorNode.nodeName == "#text") anchorNode = anchorNode.parentNode; - - focusNode = this.findUp(focusNode, WYMeditor.BLOCKS); - anchorNode = this.findUp(anchorNode, WYMeditor.BLOCKS); - - if(focusNode && focusNode == anchorNode - && focusNode.tagName.toLowerCase() == WYMeditor.LI) { - - var ancestor = focusNode.parentNode.parentNode; - - if(focusNode.parentNode.childNodes.length>1 - || ancestor.tagName.toLowerCase() == WYMeditor.OL - || ancestor.tagName.toLowerCase() == WYMeditor.UL) - this._doc.execCommand(cmd,'',null); - } - - break; - - case WYMeditor.INSERT_ORDEREDLIST: case WYMeditor.INSERT_UNORDEREDLIST: - - this._doc.execCommand(cmd,'',null); - - //Safari creates lists in e.g. paragraphs. - //Find the container, and remove it. - var focusNode = this.selected(); - var container = this.findUp(focusNode, WYMeditor.MAIN_CONTAINERS); - if(container) jQuery(container).replaceWith(jQuery(container).html()); - - break; - - default: - - if(param) this._doc.execCommand(cmd,'',param); - else this._doc.execCommand(cmd,'',null); - } - - //set to P if parent = BODY - var container = this.selected(); - if(container && container.tagName.toLowerCase() == WYMeditor.BODY) - this._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); - - //add event handlers on doc elements - this.listen(); -}; - -/* @name selected - * @description Returns the selected container - */ -WYMeditor.WymClassSafari.prototype.selected = function() { - - var sel = this._iframe.contentWindow.getSelection(); - var node = sel.focusNode; - if(node) { - if(node.nodeName == "#text") return(node.parentNode); - else return(node); - } else return(null); -}; - -WYMeditor.WymClassSafari.prototype.addCssRule = function(styles, oCss) { - - styles.insertRule(oCss.name + " {" + oCss.css + "}", - styles.cssRules.length); -}; - - -//keydown handler, mainly used for keyboard shortcuts -WYMeditor.WymClassSafari.prototype.keydown = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - - if(evt.ctrlKey){ - if(evt.keyCode == 66){ - //CTRL+b => STRONG - wym._exec(WYMeditor.BOLD); - return false; - } - if(evt.keyCode == 73){ - //CTRL+i => EMPHASIS - wym._exec(WYMeditor.ITALIC); - return false; - } - } -}; - -//keyup handler, mainly used for cleanups -WYMeditor.WymClassSafari.prototype.keyup = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - - wym._selected_image = null; - var container = null; - - if(evt.keyCode == 13 && !evt.shiftKey) { - - //RETURN key - //cleanup

    between paragraphs - jQuery(wym._doc.body).children(WYMeditor.BR).remove(); - - //fix PRE bug #73 - container = wym.selected(); - if(container && container.tagName.toLowerCase() == WYMeditor.PRE) - wym._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); //create P after PRE - } - - //fix #112 - if(evt.keyCode == 13 && evt.shiftKey) { - wym._exec('InsertLineBreak'); - } - - if(evt.keyCode != 8 - && evt.keyCode != 17 - && evt.keyCode != 46 - && evt.keyCode != 224 - && !evt.metaKey - && !evt.ctrlKey) { - - //NOT BACKSPACE, NOT DELETE, NOT CTRL, NOT COMMAND - //text nodes replaced by P - - container = wym.selected(); - var name = container.tagName.toLowerCase(); - - //fix forbidden main containers - if( - name == "strong" || - name == "b" || - name == "em" || - name == "i" || - name == "sub" || - name == "sup" || - name == "a" || - name == "span" //fix #110 - - ) name = container.parentNode.tagName.toLowerCase(); - - if(name == WYMeditor.BODY || name == WYMeditor.DIV) wym._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); //fix #110 for DIV - } -}; - -WYMeditor.WymClassSafari.prototype.setFocusToNode = function(node) { - var range = this._iframe.contentDocument.createRange(); - range.selectNode(node); - var selected = this._iframe.contentWindow.getSelection(); - selected.addRange(range); - selected.collapse(node, node.childNodes.length); - this._iframe.contentWindow.focus(); -}; - -WYMeditor.WymClassSafari.prototype.openBlockTag = function(tag, attributes) -{ - var attributes = this.validator.getValidTagAttributes(tag, attributes); - - // Handle Safari styled spans - if(tag == 'span' && attributes.style) { - var new_tag = this.getTagForStyle(attributes.style); - if(new_tag){ - this._tag_stack.pop(); - var tag = new_tag; - this._tag_stack.push(new_tag); - attributes.style = ''; - - //should fix #125 - also removed the xhtml() override - if(typeof attributes['class'] == 'string') - attributes['class'] = attributes['class'].replace(/apple-style-span/gi, ''); - - } else { - return; - } - } - - this.output += this.helper.tag(tag, attributes, true); -}; - -WYMeditor.WymClassSafari.prototype.getTagForStyle = function(style) { - - if(/bold/.test(style)) return 'strong'; - if(/italic/.test(style)) return 'em'; - if(/sub/.test(style)) return 'sub'; - if(/super/.test(style)) return 'sup'; - return false; -}; diff --git a/wymeditor/jquery.wymeditor.js b/wymeditor/jquery.wymeditor.js deleted file mode 100644 index 09409d8..0000000 --- a/wymeditor/jquery.wymeditor.js +++ /dev/null @@ -1,4735 +0,0 @@ -/** - * @version 0.5-rc1 - * - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File: jquery.wymeditor.js - * - * Main JS file with core classes and functions. - * See the documentation for more info. - * - * About: authors - * - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - * Volker Mische (vmx a-t gmx dotde) - * Scott Lewis (lewiscot a-t gmail dotcom) - * Bermi Ferrer (wymeditor a-t bermi dotorg) - * Daniel Reszka (d.reszka a-t wymeditor dotorg) - * Jonatan Lundin (jonatan.lundin _at_ gmail.com) - */ - -/* - Namespace: WYMeditor - Global WYMeditor namespace. -*/ -if(!WYMeditor) var WYMeditor = {}; - -//Wrap the Firebug console in WYMeditor.console -(function() { - if ( !window.console || !console.firebug ) { - var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", - "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; - - WYMeditor.console = {}; - for (var i = 0; i < names.length; ++i) - WYMeditor.console[names[i]] = function() {} - - } else WYMeditor.console = window.console; -})(); - -jQuery.extend(WYMeditor, { - -/* - Constants: Global WYMeditor constants. - - VERSION - Defines WYMeditor version. - INSTANCES - An array of loaded WYMeditor.editor instances. - STRINGS - An array of loaded WYMeditor language pairs/values. - SKINS - An array of loaded WYMeditor skins. - NAME - The "name" attribute. - INDEX - A string replaced by the instance index. - WYM_INDEX - A string used to get/set the instance index. - BASE_PATH - A string replaced by WYMeditor's base path. - SKIN_PATH - A string replaced by WYMeditor's skin path. - WYM_PATH - A string replaced by WYMeditor's main JS file path. - SKINS_DEFAULT_PATH - The skins default base path. - SKINS_DEFAULT_CSS - The skins default CSS file. - LANG_DEFAULT_PATH - The language files default path. - IFRAME_BASE_PATH - A string replaced by the designmode iframe's base path. - IFRAME_DEFAULT - The iframe's default base path. - JQUERY_PATH - A string replaced by the computed jQuery path. - DIRECTION - A string replaced by the text direction (rtl or ltr). - LOGO - A string replaced by WYMeditor logo. - TOOLS - A string replaced by the toolbar's HTML. - TOOLS_ITEMS - A string replaced by the toolbar items. - TOOL_NAME - A string replaced by a toolbar item's name. - TOOL_TITLE - A string replaced by a toolbar item's title. - TOOL_CLASS - A string replaced by a toolbar item's class. - CLASSES - A string replaced by the classes panel's HTML. - CLASSES_ITEMS - A string replaced by the classes items. - CLASS_NAME - A string replaced by a class item's name. - CLASS_TITLE - A string replaced by a class item's title. - CONTAINERS - A string replaced by the containers panel's HTML. - CONTAINERS_ITEMS - A string replaced by the containers items. - CONTAINER_NAME - A string replaced by a container item's name. - CONTAINER_TITLE - A string replaced by a container item's title. - CONTAINER_CLASS - A string replaced by a container item's class. - HTML - A string replaced by the HTML view panel's HTML. - IFRAME - A string replaced by the designmode iframe. - STATUS - A string replaced by the status panel's HTML. - DIALOG_TITLE - A string replaced by a dialog's title. - DIALOG_BODY - A string replaced by a dialog's HTML body. - BODY - The BODY element. - STRING - The "string" type. - BODY,DIV,P, - H1,H2,H3,H4,H5,H6, - PRE,BLOCKQUOTE, - A,BR,IMG, - TABLE,TD,TH, - UL,OL,LI - HTML elements string representation. - CLASS,HREF,SRC, - TITLE,ALT - HTML attributes string representation. - DIALOG_LINK - A link dialog type. - DIALOG_IMAGE - An image dialog type. - DIALOG_TABLE - A table dialog type. - DIALOG_PASTE - A 'Paste from Word' dialog type. - BOLD - Command: (un)set selection to . - ITALIC - Command: (un)set selection to . - CREATE_LINK - Command: open the link dialog or (un)set link. - INSERT_IMAGE - Command: open the image dialog or insert an image. - INSERT_TABLE - Command: open the table dialog. - PASTE - Command: open the paste dialog. - INDENT - Command: nest a list item. - OUTDENT - Command: unnest a list item. - TOGGLE_HTML - Command: display/hide the HTML view. - FORMAT_BLOCK - Command: set a block element to another type. - PREVIEW - Command: open the preview dialog. - UNLINK - Command: unset a link. - INSERT_UNORDEREDLIST- Command: insert an unordered list. - INSERT_ORDEREDLIST - Command: insert an ordered list. - MAIN_CONTAINERS - An array of the main HTML containers used in WYMeditor. - BLOCKS - An array of the HTML block elements. - KEY - Standard key codes. - NODE - Node types. - -*/ - - VERSION : "0.5-rc1", - INSTANCES : [], - STRINGS : [], - SKINS : [], - NAME : "name", - INDEX : "{Wym_Index}", - WYM_INDEX : "wym_index", - BASE_PATH : "{Wym_Base_Path}", - CSS_PATH : "{Wym_Css_Path}", - WYM_PATH : "{Wym_Wym_Path}", - SKINS_DEFAULT_PATH : "skins/", - SKINS_DEFAULT_CSS : "skin.css", - SKINS_DEFAULT_JS : "skin.js", - LANG_DEFAULT_PATH : "lang/", - IFRAME_BASE_PATH : "{Wym_Iframe_Base_Path}", - IFRAME_DEFAULT : "iframe/default/", - JQUERY_PATH : "{Wym_Jquery_Path}", - DIRECTION : "{Wym_Direction}", - LOGO : "{Wym_Logo}", - TOOLS : "{Wym_Tools}", - TOOLS_ITEMS : "{Wym_Tools_Items}", - TOOL_NAME : "{Wym_Tool_Name}", - TOOL_TITLE : "{Wym_Tool_Title}", - TOOL_CLASS : "{Wym_Tool_Class}", - CLASSES : "{Wym_Classes}", - CLASSES_ITEMS : "{Wym_Classes_Items}", - CLASS_NAME : "{Wym_Class_Name}", - CLASS_TITLE : "{Wym_Class_Title}", - CONTAINERS : "{Wym_Containers}", - CONTAINERS_ITEMS : "{Wym_Containers_Items}", - CONTAINER_NAME : "{Wym_Container_Name}", - CONTAINER_TITLE : "{Wym_Containers_Title}", - CONTAINER_CLASS : "{Wym_Container_Class}", - HTML : "{Wym_Html}", - IFRAME : "{Wym_Iframe}", - STATUS : "{Wym_Status}", - DIALOG_TITLE : "{Wym_Dialog_Title}", - DIALOG_BODY : "{Wym_Dialog_Body}", - STRING : "string", - BODY : "body", - DIV : "div", - P : "p", - H1 : "h1", - H2 : "h2", - H3 : "h3", - H4 : "h4", - H5 : "h5", - H6 : "h6", - PRE : "pre", - BLOCKQUOTE : "blockquote", - A : "a", - BR : "br", - IMG : "img", - TABLE : "table", - TD : "td", - TH : "th", - UL : "ul", - OL : "ol", - LI : "li", - CLASS : "class", - HREF : "href", - SRC : "src", - TITLE : "title", - ALT : "alt", - DIALOG_LINK : "Link", - DIALOG_IMAGE : "Image", - DIALOG_TABLE : "Table", - DIALOG_PASTE : "Paste_From_Word", - BOLD : "Bold", - ITALIC : "Italic", - CREATE_LINK : "CreateLink", - INSERT_IMAGE : "InsertImage", - INSERT_TABLE : "InsertTable", - INSERT_HTML : "InsertHTML", - PASTE : "Paste", - INDENT : "Indent", - OUTDENT : "Outdent", - TOGGLE_HTML : "ToggleHtml", - FORMAT_BLOCK : "FormatBlock", - PREVIEW : "Preview", - UNLINK : "Unlink", - INSERT_UNORDEREDLIST: "InsertUnorderedList", - INSERT_ORDEREDLIST : "InsertOrderedList", - // hack - TARGET : "target", - - MAIN_CONTAINERS : new Array("p","h1","h2","h3","h4","h5","h6","pre","blockquote"), - - BLOCKS : new Array("address", "blockquote", "div", "dl", - "fieldset", "form", "h1", "h2", "h3", "h4", "h5", "h6", "hr", - "noscript", "ol", "p", "pre", "table", "ul", "dd", "dt", - "li", "tbody", "td", "tfoot", "th", "thead", "tr"), - - KEY : { - BACKSPACE: 8, - ENTER: 13, - END: 35, - HOME: 36, - LEFT: 37, - UP: 38, - RIGHT: 39, - DOWN: 40, - CURSOR: new Array(37, 38, 39, 40), - DELETE: 46 - }, - - NODE : { - ELEMENT: 1, - ATTRIBUTE: 2, - TEXT: 3 - }, - - /* - Class: WYMeditor.editor - WYMeditor editor main class, instanciated for each editor occurrence. - */ - - editor : function(elem, options) { - - /* - Constructor: WYMeditor.editor - - Initializes main values (index, elements, paths, ...) - and call WYMeditor.editor.init which initializes the editor. - - Parameters: - - elem - The HTML element to be replaced by the editor. - options - The hash of options. - - Returns: - - Nothing. - - See Also: - - - */ - - //store the instance in the INSTANCES array and store the index - this._index = WYMeditor.INSTANCES.push(this) - 1; - //store the element replaced by the editor - this._element = elem; - //store the options - this._options = options; - //store the element's inner value - this._html = jQuery(elem).val(); - - //store the HTML option, if any - if(this._options.html) this._html = this._options.html; - //get or compute the base path (where the main JS file is located) - this._options.basePath = this._options.basePath - || this.computeBasePath(); - //get or set the skin path (where the skin files are located) - this._options.skinPath = this._options.skinPath - || this._options.basePath + WYMeditor.SKINS_DEFAULT_PATH - + this._options.skin + '/'; - //get or compute the main JS file location - this._options.wymPath = this._options.wymPath - || this.computeWymPath(); - //get or set the language files path - this._options.langPath = this._options.langPath - || this._options.basePath + WYMeditor.LANG_DEFAULT_PATH; - //get or set the designmode iframe's base path - this._options.iframeBasePath = this._options.iframeBasePath - || this._options.basePath + WYMeditor.IFRAME_DEFAULT; - //get or compute the jQuery JS file location - this._options.jQueryPath = this._options.jQueryPath - || this.computeJqueryPath(); - - //initialize the editor instance - this.init(); - - } - -}); - - -/********** JQUERY **********/ - -/** - * Replace an HTML element by WYMeditor - * - * @example jQuery(".wymeditor").wymeditor( - * { - * - * } - * ); - * @desc Example description here - * - * @name WYMeditor - * @description WYMeditor is a web-based WYSIWYM XHTML editor - * @param Hash hash A hash of parameters - * @option Integer iExample Description here - * @option String sExample Description here - * - * @type jQuery - * @cat Plugins/WYMeditor - * @author Jean-Francois Hovinne - */ -jQuery.fn.wymeditor = function(options) { - - options = jQuery.extend({ - - html: "", - - basePath: false, - - skinPath: false, - - wymPath: false, - - iframeBasePath: false, - - jQueryPath: false, - - styles: false, - - stylesheet: false, - - skin: "default", - initSkin: true, - loadSkin: true, - - lang: "en", - - direction: "ltr", - - boxHtml: "
    " - + "
    " - + WYMeditor.TOOLS - + "
    " - + "
    " - + "
    " - + WYMeditor.CONTAINERS - + WYMeditor.CLASSES - + "
    " - + "
    " - + WYMeditor.HTML - + WYMeditor.IFRAME - + WYMeditor.STATUS - + "
    " - + "
    " - + WYMeditor.LOGO - + "
    " - + "
    ", - - logoHtml: "WYMeditor", - - iframeHtml:"
    " - + "" - + "
    ", - - editorStyles: [], - - toolsHtml: "
    " - + "

    {Tools}

    " - + "
      " - + WYMeditor.TOOLS_ITEMS - + "
    " - + "
    ", - - toolsItemHtml: "
  • " - + WYMeditor.TOOL_TITLE - + "
  • ", - - toolsItems: [ - {'name': 'Bold', 'title': 'Strong', 'css': 'wym_tools_strong'}, - {'name': 'Italic', 'title': 'Emphasis', 'css': 'wym_tools_emphasis'}, - {'name': 'Superscript', 'title': 'Superscript', - 'css': 'wym_tools_superscript'}, - {'name': 'Subscript', 'title': 'Subscript', - 'css': 'wym_tools_subscript'}, - {'name': 'InsertOrderedList', 'title': 'Ordered_List', - 'css': 'wym_tools_ordered_list'}, - {'name': 'InsertUnorderedList', 'title': 'Unordered_List', - 'css': 'wym_tools_unordered_list'}, - {'name': 'Indent', 'title': 'Indent', 'css': 'wym_tools_indent'}, - {'name': 'Outdent', 'title': 'Outdent', 'css': 'wym_tools_outdent'}, - {'name': 'Undo', 'title': 'Undo', 'css': 'wym_tools_undo'}, - {'name': 'Redo', 'title': 'Redo', 'css': 'wym_tools_redo'}, - {'name': 'CreateLink', 'title': 'Link', 'css': 'wym_tools_link'}, - {'name': 'Unlink', 'title': 'Unlink', 'css': 'wym_tools_unlink'}, - {'name': 'InsertImage', 'title': 'Image', 'css': 'wym_tools_image'}, - {'name': 'InsertTable', 'title': 'Table', 'css': 'wym_tools_table'}, - {'name': 'Paste', 'title': 'Paste_From_Word', - 'css': 'wym_tools_paste'}, - {'name': 'ToggleHtml', 'title': 'HTML', 'css': 'wym_tools_html'}, - {'name': 'Preview', 'title': 'Preview', 'css': 'wym_tools_preview'} - ], - - containersHtml: "
    " - + "

    {Containers}

    " - + "
      " - + WYMeditor.CONTAINERS_ITEMS - + "
    " - + "
    ", - - containersItemHtml:"
  • " - + "" - + WYMeditor.CONTAINER_TITLE - + "
  • ", - - containersItems: [ - {'name': 'P', 'title': 'Paragraph', 'css': 'wym_containers_p'}, - {'name': 'H1', 'title': 'Heading_1', 'css': 'wym_containers_h1'}, - {'name': 'H2', 'title': 'Heading_2', 'css': 'wym_containers_h2'}, - {'name': 'H3', 'title': 'Heading_3', 'css': 'wym_containers_h3'}, - {'name': 'H4', 'title': 'Heading_4', 'css': 'wym_containers_h4'}, - {'name': 'H5', 'title': 'Heading_5', 'css': 'wym_containers_h5'}, - {'name': 'H6', 'title': 'Heading_6', 'css': 'wym_containers_h6'}, - {'name': 'PRE', 'title': 'Preformatted', 'css': 'wym_containers_pre'}, - {'name': 'BLOCKQUOTE', 'title': 'Blockquote', - 'css': 'wym_containers_blockquote'}, - {'name': 'TH', 'title': 'Table_Header', 'css': 'wym_containers_th'} - ], - - classesHtml: "
    " - + "

    {Classes}

      " - + WYMeditor.CLASSES_ITEMS - + "
    ", - - classesItemHtml: "
  • " - + WYMeditor.CLASS_TITLE - + "
  • ", - - classesItems: [], - - statusHtml: "
    " - + "

    {Status}

    " - + "
    ", - - htmlHtml: "
    " - + "

    {Source_Code}

    " - + "" - + "
    ", - - boxSelector: ".wym_box", - toolsSelector: ".wym_tools", - toolsListSelector: " ul", - containersSelector:".wym_containers", - classesSelector: ".wym_classes", - htmlSelector: ".wym_html", - iframeSelector: ".wym_iframe iframe", - iframeBodySelector:".wym_iframe", - statusSelector: ".wym_status", - toolSelector: ".wym_tools a", - containerSelector: ".wym_containers a", - classSelector: ".wym_classes a", - htmlValSelector: ".wym_html_val", - - hrefSelector: ".wym_href", - srcSelector: ".wym_src", - titleSelector: ".wym_title", - altSelector: ".wym_alt", - textSelector: ".wym_text", - - rowsSelector: ".wym_rows", - colsSelector: ".wym_cols", - captionSelector: ".wym_caption", - summarySelector: ".wym_summary", - - submitSelector: ".wym_submit", - cancelSelector: ".wym_cancel", - previewSelector: "", - - dialogTypeSelector: ".wym_dialog_type", - dialogLinkSelector: ".wym_dialog_link", - dialogImageSelector: ".wym_dialog_image", - dialogTableSelector: ".wym_dialog_table", - dialogPasteSelector: ".wym_dialog_paste", - dialogPreviewSelector: ".wym_dialog_preview", - - updateSelector: ".wymupdate", - updateEvent: "click", - - // hack - targetSelector: ".wym_target", - - dialogFeatures: "menubar=no,titlebar=no,toolbar=no,resizable=no" - + ",width=560,height=300,top=0,left=0", - dialogFeaturesPreview: "menubar=no,titlebar=no,toolbar=no,resizable=no" - + ",scrollbars=yes,width=560,height=300,top=0,left=0", - - dialogHtml: "" - + "" - + "" - + "" - + WYMeditor.DIALOG_TITLE - + "" - + "" - + "" - + "" - + WYMeditor.DIALOG_BODY - + "", - - dialogLinkHtml: "" - + "
    " - + "
    " - + "" - + "{Link}" - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - // hack - + "
    " - + "" - + " New window" - + "
    " - // hack end - + "
    " - + "" - + "" - + "
    " - + "
    " - + "
    " - + "", - - dialogImageHtml: "" - + "
    " - + "
    " - + "" - + "{Image}" - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "
    " - + "", - - dialogTableHtml: "" - + "
    " - + "
    " - + "" - + "{Table}" - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "
    " - + "", - - dialogPasteHtml: "" - + "
    " - + "" - + "
    " - + "{Paste_From_Word}" - + "
    " - + "" - + "
    " - + "
    " - + "" - + "" - + "
    " - + "
    " - + "
    " - + "", - - dialogPreviewHtml: "", - - dialogStyles: [], - - stringDelimiterLeft: "{", - stringDelimiterRight:"}", - - preInit: null, - preBind: null, - postInit: null, - - preInitDialog: null, - postInitDialog: null - - }, options); - - return this.each(function() { - - new WYMeditor.editor(jQuery(this),options); - }); -}; - -/* @name extend - * @description Returns the WYMeditor instance based on its index - */ -jQuery.extend({ - wymeditors: function(i) { - return (WYMeditor.INSTANCES[i]); - } -}); - - -/********** WYMeditor **********/ - -/* @name Wymeditor - * @description WYMeditor class - */ - -/* @name init - * @description Initializes a WYMeditor instance - */ -WYMeditor.editor.prototype.init = function() { - - //load subclass - browser specific - //unsupported browsers: do nothing - if (jQuery.browser.msie) { - var WymClass = new WYMeditor.WymClassExplorer(this); - } - else if (jQuery.browser.mozilla) { - var WymClass = new WYMeditor.WymClassMozilla(this); - } - else if (jQuery.browser.opera) { - var WymClass = new WYMeditor.WymClassOpera(this); - } - else if (jQuery.browser.safari) { - var WymClass = new WYMeditor.WymClassSafari(this); - } - - if(WymClass) { - - if(jQuery.isFunction(this._options.preInit)) this._options.preInit(this); - - var SaxListener = new WYMeditor.XhtmlSaxListener(); - jQuery.extend(SaxListener, WymClass); - this.parser = new WYMeditor.XhtmlParser(SaxListener); - - if(this._options.styles || this._options.stylesheet){ - this.configureEditorUsingRawCss(); - } - - this.helper = new WYMeditor.XmlHelper(); - - //extend the Wymeditor object - //don't use jQuery.extend since 1.1.4 - //jQuery.extend(this, WymClass); - for (var prop in WymClass) { this[prop] = WymClass[prop]; } - - //load wymbox - this._box = jQuery(this._element).hide().after(this._options.boxHtml).next().addClass('wym_box_' + this._index); - - //store the instance index in wymbox and element replaced by editor instance - //but keep it compatible with jQuery < 1.2.3, see #122 - if( jQuery.isFunction( jQuery.fn.data ) ) { - jQuery.data(this._box.get(0), WYMeditor.WYM_INDEX, this._index); - jQuery.data(this._element.get(0), WYMeditor.WYM_INDEX, this._index); - } - - var h = WYMeditor.Helper; - - //construct the iframe - var iframeHtml = this._options.iframeHtml; - iframeHtml = h.replaceAll(iframeHtml, WYMeditor.INDEX, this._index); - iframeHtml = h.replaceAll(iframeHtml, WYMeditor.IFRAME_BASE_PATH, this._options.iframeBasePath); - - //construct wymbox - var boxHtml = jQuery(this._box).html(); - - boxHtml = h.replaceAll(boxHtml, WYMeditor.LOGO, this._options.logoHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.TOOLS, this._options.toolsHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.CONTAINERS,this._options.containersHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.CLASSES, this._options.classesHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.HTML, this._options.htmlHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.IFRAME, iframeHtml); - boxHtml = h.replaceAll(boxHtml, WYMeditor.STATUS, this._options.statusHtml); - - //construct tools list - var aTools = eval(this._options.toolsItems); - var sTools = ""; - - for(var i = 0; i < aTools.length; i++) { - var oTool = aTools[i]; - if(oTool.name && oTool.title) - var sTool = this._options.toolsItemHtml; - var sTool = h.replaceAll(sTool, WYMeditor.TOOL_NAME, oTool.name); - sTool = h.replaceAll(sTool, WYMeditor.TOOL_TITLE, this._options.stringDelimiterLeft - + oTool.title - + this._options.stringDelimiterRight); - sTool = h.replaceAll(sTool, WYMeditor.TOOL_CLASS, oTool.css); - sTools += sTool; - } - - boxHtml = h.replaceAll(boxHtml, WYMeditor.TOOLS_ITEMS, sTools); - - //construct classes list - var aClasses = eval(this._options.classesItems); - var sClasses = ""; - - for(var i = 0; i < aClasses.length; i++) { - var oClass = aClasses[i]; - if(oClass.name && oClass.title) - var sClass = this._options.classesItemHtml; - sClass = h.replaceAll(sClass, WYMeditor.CLASS_NAME, oClass.name); - sClass = h.replaceAll(sClass, WYMeditor.CLASS_TITLE, oClass.title); - sClasses += sClass; - } - - boxHtml = h.replaceAll(boxHtml, WYMeditor.CLASSES_ITEMS, sClasses); - - //construct containers list - var aContainers = eval(this._options.containersItems); - var sContainers = ""; - - for(var i = 0; i < aContainers.length; i++) { - var oContainer = aContainers[i]; - if(oContainer.name && oContainer.title) - var sContainer = this._options.containersItemHtml; - sContainer = h.replaceAll(sContainer, WYMeditor.CONTAINER_NAME, oContainer.name); - sContainer = h.replaceAll(sContainer, WYMeditor.CONTAINER_TITLE, - this._options.stringDelimiterLeft - + oContainer.title - + this._options.stringDelimiterRight); - sContainer = h.replaceAll(sContainer, WYMeditor.CONTAINER_CLASS, oContainer.css); - sContainers += sContainer; - } - - boxHtml = h.replaceAll(boxHtml, WYMeditor.CONTAINERS_ITEMS, sContainers); - - //l10n - boxHtml = this.replaceStrings(boxHtml); - - //load html in wymbox - jQuery(this._box).html(boxHtml); - - //hide the html value - jQuery(this._box).find(this._options.htmlSelector).hide(); - - //enable the skin - this.loadSkin(); - - } -}; - -WYMeditor.editor.prototype.bindEvents = function() { - - //copy the instance - var wym = this; - - //handle click event on tools buttons - jQuery(this._box).find(this._options.toolSelector).click(function() { - wym._iframe.contentWindow.focus(); //See #154 - wym.exec(jQuery(this).attr(WYMeditor.NAME)); - return(false); - }); - - //handle click event on containers buttons - jQuery(this._box).find(this._options.containerSelector).click(function() { - wym.container(jQuery(this).attr(WYMeditor.NAME)); - return(false); - }); - - //handle keyup event on html value: set the editor value - //handle focus/blur events to check if the element has focus, see #147 - jQuery(this._box).find(this._options.htmlValSelector) - .keyup(function() { jQuery(wym._doc.body).html(jQuery(this).val());}) - .focus(function() { jQuery(this).toggleClass('hasfocus'); }) - .blur(function() { jQuery(this).toggleClass('hasfocus'); }); - - //handle click event on classes buttons - jQuery(this._box).find(this._options.classSelector).click(function() { - - var aClasses = eval(wym._options.classesItems); - var sName = jQuery(this).attr(WYMeditor.NAME); - - var oClass = WYMeditor.Helper.findByName(aClasses, sName); - - if(oClass) { - var jqexpr = oClass.expr; - wym.toggleClass(sName, jqexpr); - } - wym._iframe.contentWindow.focus(); //See #154 - return(false); - }); - - //handle event on update element - jQuery(this._options.updateSelector) - .bind(this._options.updateEvent, function() { - wym.update(); - }); -}; - -WYMeditor.editor.prototype.ready = function() { - return(this._doc != null); -}; - - -/********** METHODS **********/ - -/* @name box - * @description Returns the WYMeditor container - */ -WYMeditor.editor.prototype.box = function() { - return(this._box); -}; - -/* @name html - * @description Get/Set the html value - */ -WYMeditor.editor.prototype.html = function(html) { - - if(typeof html === 'string') jQuery(this._doc.body).html(html); - else return(jQuery(this._doc.body).html()); -}; - -/* @name xhtml - * @description Cleans up the HTML - */ -WYMeditor.editor.prototype.xhtml = function() { - return this.parser.parse(this.html()); -}; - -/* @name exec - * @description Executes a button command - */ -WYMeditor.editor.prototype.exec = function(cmd) { - - //base function for execCommand - //open a dialog or exec - switch(cmd) { - case WYMeditor.CREATE_LINK: - var container = this.container(); - if(container || this._selected_image) this.dialog(WYMeditor.DIALOG_LINK); - break; - - case WYMeditor.INSERT_IMAGE: - this.dialog(WYMeditor.DIALOG_IMAGE); - break; - - case WYMeditor.INSERT_TABLE: - this.dialog(WYMeditor.DIALOG_TABLE); - break; - - case WYMeditor.PASTE: - this.dialog(WYMeditor.DIALOG_PASTE); - break; - - case WYMeditor.TOGGLE_HTML: - this.update(); - this.toggleHtml(); - - //partially fixes #121 when the user manually inserts an image - if(!jQuery(this._box).find(this._options.htmlSelector).is(':visible')) - this.listen(); - break; - - case WYMeditor.PREVIEW: - this.dialog(WYMeditor.PREVIEW, this._options.dialogFeaturesPreview); - break; - - default: - this._exec(cmd); - break; - } -}; - -/* @name container - * @description Get/Set the selected container - */ -WYMeditor.editor.prototype.container = function(sType) { - - if(sType) { - - var container = null; - - if(sType.toLowerCase() == WYMeditor.TH) { - - container = this.container(); - - //find the TD or TH container - switch(container.tagName.toLowerCase()) { - - case WYMeditor.TD: case WYMeditor.TH: - break; - default: - var aTypes = new Array(WYMeditor.TD,WYMeditor.TH); - container = this.findUp(this.container(), aTypes); - break; - } - - //if it exists, switch - if(container!=null) { - - sType = (container.tagName.toLowerCase() == WYMeditor.TD)? WYMeditor.TH: WYMeditor.TD; - this.switchTo(container,sType); - this.update(); - } - } else { - - //set the container type - var aTypes=new Array(WYMeditor.P,WYMeditor.H1,WYMeditor.H2,WYMeditor.H3,WYMeditor.H4,WYMeditor.H5, - WYMeditor.H6,WYMeditor.PRE,WYMeditor.BLOCKQUOTE); - container = this.findUp(this.container(), aTypes); - - if(container) { - - var newNode = null; - - //blockquotes must contain a block level element - if(sType.toLowerCase() == WYMeditor.BLOCKQUOTE) { - - var blockquote = this.findUp(this.container(), WYMeditor.BLOCKQUOTE); - - if(blockquote == null) { - - newNode = this._doc.createElement(sType); - container.parentNode.insertBefore(newNode,container); - newNode.appendChild(container); - this.setFocusToNode(newNode.firstChild); - - } else { - - var nodes = blockquote.childNodes; - var lgt = nodes.length; - var firstNode = null; - - if(lgt > 0) firstNode = nodes.item(0); - for(var x=0; x= 0; x--) { - sTmp = aP[x]; - //simple newlines are replaced by a break - sTmp = sTmp.replace(rExp, "
    "); - jQuery(container).after("

    " + sTmp + "

    "); - } - } else { - for(x = 0; x < aP.length; x++) { - sTmp = aP[x]; - //simple newlines are replaced by a break - sTmp = sTmp.replace(rExp, "
    "); - jQuery(this._doc.body).append("

    " + sTmp + "

    "); - } - - } -}; - -WYMeditor.editor.prototype.insert = function(html) { - // Do we have a selection? - if (this._iframe.contentWindow.getSelection().focusNode != null) { - // Overwrite selection with provided html - this._exec( WYMeditor.INSERT_HTML, html); - } else { - // Fall back to the internal paste function if there's no selection - this.paste(html) - } -}; - -WYMeditor.editor.prototype.wrap = function(left, right) { - // Do we have a selection? - if (this._iframe.contentWindow.getSelection().focusNode != null) { - // Wrap selection with provided html - this._exec( WYMeditor.INSERT_HTML, left + this._iframe.contentWindow.getSelection().toString() + right); - } -}; - -WYMeditor.editor.prototype.unwrap = function() { - // Do we have a selection? - if (this._iframe.contentWindow.getSelection().focusNode != null) { - // Unwrap selection - this._exec( WYMeditor.INSERT_HTML, this._iframe.contentWindow.getSelection().toString() ); - } -}; - -WYMeditor.editor.prototype.addCssRules = function(doc, aCss) { - var styles = doc.styleSheets[0]; - if(styles) { - for(var i = 0; i < aCss.length; i++) { - var oCss = aCss[i]; - if(oCss.name && oCss.css) this.addCssRule(styles, oCss); - } - } -}; - -/********** CONFIGURATION **********/ - -WYMeditor.editor.prototype.computeBasePath = function() { - return jQuery(jQuery.grep(jQuery('script'), function(s){ - return (s.src && s.src.match(/jquery\.wymeditor(\.pack|\.min|\.packed)?\.js(\?.*)?$/ )) - })).attr('src').replace(/jquery\.wymeditor(\.pack|\.min|\.packed)?\.js(\?.*)?$/, ''); -}; - -WYMeditor.editor.prototype.computeWymPath = function() { - return jQuery(jQuery.grep(jQuery('script'), function(s){ - return (s.src && s.src.match(/jquery\.wymeditor(\.pack|\.min|\.packed)?\.js(\?.*)?$/ )) - })).attr('src'); -}; - -WYMeditor.editor.prototype.computeJqueryPath = function() { - return jQuery(jQuery.grep(jQuery('script'), function(s){ - return (s.src && s.src.match(/jquery(-(.*)){0,1}(\.pack|\.min|\.packed)?\.js(\?.*)?$/ )) - })).attr('src'); -}; - -WYMeditor.editor.prototype.computeCssPath = function() { - return jQuery(jQuery.grep(jQuery('link'), function(s){ - return (s.href && s.href.match(/wymeditor\/skins\/(.*)screen\.css(\?.*)?$/ )) - })).attr('href'); -}; - -WYMeditor.editor.prototype.configureEditorUsingRawCss = function() { - - var CssParser = new WYMeditor.WymCssParser(); - if(this._options.stylesheet){ - CssParser.parse(jQuery.ajax({url: this._options.stylesheet,async:false}).responseText); - }else{ - CssParser.parse(this._options.styles, false); - } - - if(this._options.classesItems.length == 0) { - this._options.classesItems = CssParser.css_settings.classesItems; - } - if(this._options.editorStyles.length == 0) { - this._options.editorStyles = CssParser.css_settings.editorStyles; - } - if(this._options.dialogStyles.length == 0) { - this._options.dialogStyles = CssParser.css_settings.dialogStyles; - } -}; - -/********** EVENTS **********/ - -WYMeditor.editor.prototype.listen = function() { - - //don't use jQuery.find() on the iframe body - //because of MSIE + jQuery + expando issue (#JQ1143) - //jQuery(this._doc.body).find("*").bind("mouseup", this.mouseup); - - jQuery(this._doc.body).bind("mousedown", this.mousedown); - var images = this._doc.body.getElementsByTagName("img"); - for(var i=0; i < images.length; i++) { - jQuery(images[i]).bind("mousedown", this.mousedown); - } -}; - -WYMeditor.editor.prototype.mousedown = function(evt) { - - var wym = WYMeditor.INSTANCES[this.ownerDocument.title]; - wym._selected_image = (this.tagName.toLowerCase() == WYMeditor.IMG) ? this : null; - evt.stopPropagation(); -}; - -/********** SKINS **********/ - -/* - * Function: WYMeditor.loadCss - * Loads a stylesheet in the document. - * - * Parameters: - * href - The CSS path. - */ -WYMeditor.loadCss = function(href) { - - var link = document.createElement('link'); - link.rel = 'stylesheet'; - link.href = href; - - var head = jQuery('head').get(0); - head.appendChild(link); -}; - -/* - * Function: WYMeditor.editor.loadSkin - * Loads the skin CSS and initialization script (if needed). - */ -WYMeditor.editor.prototype.loadSkin = function() { - - //does the user want to automatically load the CSS (default: yes)? - //we also test if it hasn't been already loaded by another instance - //see below for a better (second) test - if(this._options.loadSkin && !WYMeditor.SKINS[this._options.skin]) { - - //check if it hasn't been already loaded - //so we don't load it more than once - //(we check the existing elements) - - var found = false; - var rExp = new RegExp(this._options.skin - + '\/' + WYMeditor.SKINS_DEFAULT_CSS + '$'); - - jQuery('link').each( function() { - if(this.href.match(rExp)) found = true; - }); - - //load it, using the skin path - if(!found) WYMeditor.loadCss( this._options.skinPath - + WYMeditor.SKINS_DEFAULT_CSS ); - } - - //put the classname (ex. wym_skin_default) on wym_box - jQuery(this._box).addClass( "wym_skin_" + this._options.skin ); - - //does the user want to use some JS to initialize the skin (default: yes)? - //also check if it hasn't already been loaded by another instance - if(this._options.initSkin && !WYMeditor.SKINS[this._options.skin]) { - - eval(jQuery.ajax({url:this._options.skinPath - + WYMeditor.SKINS_DEFAULT_JS, async:false}).responseText); - } - - //init the skin, if needed - if(WYMeditor.SKINS[this._options.skin] - && WYMeditor.SKINS[this._options.skin].init) - WYMeditor.SKINS[this._options.skin].init(this); - -}; - - -/********** DIALOGS **********/ - -WYMeditor.INIT_DIALOG = function(index) { - - var wym = window.opener.WYMeditor.INSTANCES[index]; - var doc = window.document; - var selected = wym.selected(); - var dialogType = jQuery(wym._options.dialogTypeSelector).val(); - var sStamp = wym.uniqueStamp(); - - switch(dialogType) { - - case WYMeditor.DIALOG_LINK: - //ensure that we select the link to populate the fields - if(selected && selected.tagName && selected.tagName.toLowerCase != WYMeditor.A) - selected = jQuery(selected).parentsOrSelf(WYMeditor.A); - - //fix MSIE selection if link image has been clicked - if(!selected && wym._selected_image) - selected = jQuery(wym._selected_image).parentsOrSelf(WYMeditor.A); - - break; - - } - - //pre-init functions - if(jQuery.isFunction(wym._options.preInitDialog)) - wym._options.preInitDialog(wym,window); - - //add css rules from options - var styles = doc.styleSheets[0]; - var aCss = eval(wym._options.dialogStyles); - - wym.addCssRules(doc, aCss); - - //auto populate fields if selected container (e.g. A) - if(selected) { - jQuery(wym._options.hrefSelector).val(jQuery(selected).attr(WYMeditor.HREF)); - jQuery(wym._options.srcSelector).val(jQuery(selected).attr(WYMeditor.SRC)); - jQuery(wym._options.titleSelector).val(jQuery(selected).attr(WYMeditor.TITLE)); - jQuery(wym._options.altSelector).val(jQuery(selected).attr(WYMeditor.ALT)); - // hack - if (jQuery(selected).attr(WYMeditor.TARGET) == "_blank") - jQuery(wym._options.targetSelector).attr("checked", "checked"); - } - - //auto populate image fields if selected image - if(wym._selected_image) { - jQuery(wym._options.dialogImageSelector + " " + wym._options.srcSelector) - .val(jQuery(wym._selected_image).attr(WYMeditor.SRC)); - jQuery(wym._options.dialogImageSelector + " " + wym._options.titleSelector) - .val(jQuery(wym._selected_image).attr(WYMeditor.TITLE)); - jQuery(wym._options.dialogImageSelector + " " + wym._options.altSelector) - .val(jQuery(wym._selected_image).attr(WYMeditor.ALT)); - } - - jQuery(wym._options.dialogLinkSelector + " " - + wym._options.submitSelector).click(function() { - - // hack - var sUrl = jQuery(wym._options.hrefSelector).val(); - var target = jQuery(wym._options.targetSelector).attr('checked'); - if(sUrl.length > 0 && target) { - - wym._exec(WYMeditor.CREATE_LINK, sStamp); - jQuery("a[href=" + sStamp + "]", wym._doc.body) - .attr(WYMeditor.HREF, sUrl) - .attr(WYMeditor.TITLE, jQuery(wym._options.titleSelector).val()) - .attr(WYMeditor.TARGET, "_blank"); - - } else { - - wym._exec(WYMeditor.CREATE_LINK, sStamp); - jQuery("a[href=" + sStamp + "]", wym._doc.body) - .attr(WYMeditor.HREF, sUrl) - .attr(WYMeditor.TITLE, jQuery(wym._options.titleSelector).val()) - .removeAttr(WYMeditor.TARGET); - - } - // hack end - window.close(); - }); - - jQuery(wym._options.dialogImageSelector + " " - + wym._options.submitSelector).click(function() { - - var sUrl = jQuery(wym._options.srcSelector).val(); - if(sUrl.length > 0) { - - wym._exec(WYMeditor.INSERT_IMAGE, sStamp); - - jQuery("img[src$=" + sStamp + "]", wym._doc.body) - .attr(WYMeditor.SRC, sUrl) - .attr(WYMeditor.TITLE, jQuery(wym._options.titleSelector).val()) - .attr(WYMeditor.ALT, jQuery(wym._options.altSelector).val()); - } - window.close(); - }); - - jQuery(wym._options.dialogTableSelector + " " - + wym._options.submitSelector).click(function() { - - var iRows = jQuery(wym._options.rowsSelector).val(); - var iCols = jQuery(wym._options.colsSelector).val(); - - if(iRows > 0 && iCols > 0) { - - var table = wym._doc.createElement(WYMeditor.TABLE); - var newRow = null; - var newCol = null; - - var sCaption = jQuery(wym._options.captionSelector).val(); - - //we create the caption - var newCaption = table.createCaption(); - newCaption.innerHTML = sCaption; - - //we create the rows and cells - for(x=0; x
    -* this.tag ('br', false, true) -* # =>
    -* this.tag ('input', jQuery({type:'text',disabled:true }) ) -* # => -*/ -WYMeditor.XmlHelper.prototype.tag = function(name, options, open) -{ - options = options || false; - open = open || false; - return '<'+name+(options ? this.tagOptions(options) : '')+(open ? '>' : ' />'); -}; - -/* -* @name contentTag -* @description -* Returns a XML block tag of type *name* surrounding the *content*. Add -* XML attributes by passing an attributes array to *options*. For attributes -* with no value like (disabled and readonly), give it a value of true in -* the *options* array. You can use symbols or strings for the attribute names. -* -* this.contentTag ('p', 'Hello world!' ) -* # =>

    Hello world!

    -* this.contentTag('div', this.contentTag('p', "Hello world!"), jQuery({class : "strong"})) -* # =>

    Hello world!

    -* this.contentTag("select", options, jQuery({multiple : true})) -* # => -*/ -WYMeditor.XmlHelper.prototype.contentTag = function(name, content, options) -{ - options = options || false; - return '<'+name+(options ? this.tagOptions(options) : '')+'>'+content+''; -}; - -/* -* @name cdataSection -* @description -* Returns a CDATA section for the given +content+. CDATA sections -* are used to escape blocks of text containing characters which would -* otherwise be recognized as markup. CDATA sections begin with the string -* <![CDATA[ and } with (and may not contain) the string -* ]]>. -*/ -WYMeditor.XmlHelper.prototype.cdataSection = function(content) -{ - return ''; -}; - - -/* -* @name escapeOnce -* @description -* Returns the escaped +xml+ without affecting existing escaped entities. -* -* this.escapeOnce( "1 > 2 & 3") -* # => "1 > 2 & 3" -*/ -WYMeditor.XmlHelper.prototype.escapeOnce = function(xml) -{ - return this._fixDoubleEscape(this.escapeEntities(xml)); -}; - -/* -* @name _fixDoubleEscape -* @description -* Fix double-escaped entities, such as &amp;, &#123;, etc. -*/ -WYMeditor.XmlHelper.prototype._fixDoubleEscape = function(escaped) -{ - return escaped.replace(/&([a-z]+|(#\d+));/ig, "&$1;"); -}; - -/* -* @name tagOptions -* @description -* Takes an array like the one generated by Tag.parseAttributes -* [["src", "http://www.editam.com/?a=b&c=d&f=g"], ["title", "Editam, CMS"]] -* or an object like {src:"http://www.editam.com/?a=b&c=d&f=g", title:"Editam, CMS"} -* and returns a string properly escaped like -* ' src = "http://www.editam.com/?a=b&c=d&f=g" title = "Editam, <Simplified> CMS"' -* which is valid for strict XHTML -*/ -WYMeditor.XmlHelper.prototype.tagOptions = function(options) -{ - var xml = this; - xml._formated_options = ''; - - for (var key in options) { - var formated_options = ''; - var value = options[key]; - if(typeof value != 'function' && value.length > 0) { - - if(parseInt(key) == key && typeof value == 'object'){ - key = value.shift(); - value = value.pop(); - } - if(key != '' && value != ''){ - xml._formated_options += ' '+key+'="'+xml.escapeOnce(value)+'"'; - } - } - } - return xml._formated_options; -}; - -/* -* @name escapeEntities -* @description -* Escapes XML/HTML entities <, >, & and ". If seccond parameter is set to false it -* will not escape ". If set to true it will also escape ' -*/ -WYMeditor.XmlHelper.prototype.escapeEntities = function(string, escape_quotes) -{ - this._entitiesDiv.innerHTML = string; - this._entitiesDiv.textContent = string; - var result = this._entitiesDiv.innerHTML; - if(typeof escape_quotes == 'undefined'){ - if(escape_quotes != false) result = result.replace('"', '"'); - if(escape_quotes == true) result = result.replace('"', '''); - } - return result; -}; - -/* -* Parses a string conatining tag attributes and values an returns an array formated like -* [["src", "http://www.editam.com"], ["title", "Editam, Simplified CMS"]] -*/ -WYMeditor.XmlHelper.prototype.parseAttributes = function(tag_attributes) -{ - // Use a compounded regex to match single quoted, double quoted and unquoted attribute pairs - var result = []; - var matches = tag_attributes.split(/((=\s*")(")("))|((=\s*\')(\')(\'))|((=\s*[^>\s]*))/g); - if(matches.toString() != tag_attributes){ - for (var k in matches) { - var v = matches[k]; - if(typeof v != 'function' && v.length != 0){ - var re = new RegExp('(\\w+)\\s*'+v); - if(match = tag_attributes.match(re) ){ - var value = v.replace(/^[\s=]+/, ""); - var delimiter = value.charAt(0); - delimiter = delimiter == '"' ? '"' : (delimiter=="'"?"'":''); - if(delimiter != ''){ - value = delimiter == '"' ? value.replace(/^"|"+$/g, '') : value.replace(/^'|'+$/g, ''); - } - tag_attributes = tag_attributes.replace(match[0],''); - result.push([match[1] , value]); - } - } - } - } - return result; -}; - -/** -* XhtmlValidator for validating tag attributes -* -* @author Bermi Ferrer - http://bermi.org -*/ -WYMeditor.XhtmlValidator = { - "_attributes": - { - "core": - { - "except":[ - "base", - "head", - "html", - "meta", - "param", - "script", - "style", - "title" - ], - "attributes":[ - "class", - "id", - "style", - "title", - "accesskey", - "tabindex" - ] - }, - "language": - { - "except":[ - "base", - "br", - "hr", - "iframe", - "param", - "script" - ], - "attributes": - { - "dir":[ - "ltr", - "rtl" - ], - "0":"lang", - "1":"xml:lang" - } - }, - "keyboard": - { - "attributes": - { - "accesskey":/^(\w){1}$/, - "tabindex":/^(\d)+$/ - } - } - }, - "_events": - { - "window": - { - "only":[ - "body" - ], - "attributes":[ - "onload", - "onunload" - ] - }, - "form": - { - "only":[ - "form", - "input", - "textarea", - "select", - "a", - "label", - "button" - ], - "attributes":[ - "onchange", - "onsubmit", - "onreset", - "onselect", - "onblur", - "onfocus" - ] - }, - "keyboard": - { - "except":[ - "base", - "bdo", - "br", - "frame", - "frameset", - "head", - "html", - "iframe", - "meta", - "param", - "script", - "style", - "title" - ], - "attributes":[ - "onkeydown", - "onkeypress", - "onkeyup" - ] - }, - "mouse": - { - "except":[ - "base", - "bdo", - "br", - "head", - "html", - "meta", - "param", - "script", - "style", - "title" - ], - "attributes":[ - "onclick", - "ondblclick", - "onmousedown", - "onmousemove", - "onmouseover", - "onmouseout", - "onmouseup" - ] - } - }, - "_tags": - { - "a": - { - "attributes": - { - "0":"charset", - "1":"coords", - "2":"href", - "3":"hreflang", - "4":"name", - "rel":/^(alternate|designates|stylesheet|start|next|prev|contents|index|glossary|copyright|chapter|section|subsection|appendix|help|bookmark| |shortcut|icon)+$/, - "rev":/^(alternate|designates|stylesheet|start|next|prev|contents|index|glossary|copyright|chapter|section|subsection|appendix|help|bookmark| |shortcut|icon)+$/, - "shape":/^(rect|rectangle|circ|circle|poly|polygon)$/, - "5":"type", - // HACKING PARSER! - "6":"target" - } - }, - "0":"abbr", - "1":"acronym", - "2":"address", - "area": - { - "attributes": - { - "0":"alt", - "1":"coords", - "2":"href", - "nohref":/^(true|false)$/, - "shape":/^(rect|rectangle|circ|circle|poly|polygon)$/ - }, - "required":[ - "alt" - ] - }, - "3":"b", - "base": - { - "attributes":[ - "href" - ], - "required":[ - "href" - ] - }, - "bdo": - { - "attributes": - { - "dir":/^(ltr|rtl)$/ - }, - "required":[ - "dir" - ] - }, - "4":"big", - "blockquote": - { - "attributes":[ - "cite" - ] - }, - "5":"body", - "6":"br", - "button": - { - "attributes": - { - "disabled":/^(disabled)$/, - "type":/^(button|reset|submit)$/, - "0":"value" - }, - "inside":"form" - }, - "7":"caption", - "8":"cite", - "9":"code", - "col": - { - "attributes": - { - "align":/^(right|left|center|justify)$/, - "0":"char", - "1":"charoff", - "span":/^(\d)+$/, - "valign":/^(top|middle|bottom|baseline)$/, - "2":"width" - }, - "inside":"colgroup" - }, - "colgroup": - { - "attributes": - { - "align":/^(right|left|center|justify)$/, - "0":"char", - "1":"charoff", - "span":/^(\d)+$/, - "valign":/^(top|middle|bottom|baseline)$/, - "2":"width" - } - }, - "10":"dd", - "del": - { - "attributes": - { - "0":"cite", - "datetime":/^([0-9]){8}/ - } - }, - "11":"div", - "12":"dfn", - "13":"dl", - "14":"dt", - "15":"em", - "fieldset": - { - "inside":"form" - }, - "form": - { - "attributes": - { - "0":"action", - "1":"accept", - "2":"accept-charset", - "3":"enctype", - "method":/^(get|post)$/ - }, - "required":[ - "action" - ] - }, - "head": - { - "attributes":[ - "profile" - ] - }, - "16":"h1", - "17":"h2", - "18":"h3", - "19":"h4", - "20":"h5", - "21":"h6", - "22":"hr", - "html": - { - "attributes":[ - "xmlns" - ] - }, - "23":"i", - "img": - { - "attributes":[ - "alt", - "src", - "height", - "ismap", - "longdesc", - "usemap", - "width" - ], - "required":[ - "alt", - "src" - ] - }, - "input": - { - "attributes": - { - "0":"accept", - "1":"alt", - "checked":/^(checked)$/, - "disabled":/^(disabled)$/, - "maxlength":/^(\d)+$/, - "2":"name", - "readonly":/^(readonly)$/, - "size":/^(\d)+$/, - "3":"src", - "type":/^(button|checkbox|file|hidden|image|password|radio|reset|submit|text)$/, - "4":"value" - }, - "inside":"form" - }, - "ins": - { - "attributes": - { - "0":"cite", - "datetime":/^([0-9]){8}/ - } - }, - "24":"kbd", - "label": - { - "attributes":[ - "for" - ], - "inside":"form" - }, - "25":"legend", - "26":"li", - "link": - { - "attributes": - { - "0":"charset", - "1":"href", - "2":"hreflang", - "media":/^(all|braille|print|projection|screen|speech|,|;| )+$/i, - //next comment line required by Opera! - /*"rel":/^(alternate|appendix|bookmark|chapter|contents|copyright|glossary|help|home|index|next|prev|section|start|stylesheet|subsection| |shortcut|icon)+$/i,*/ - "rel":/^(alternate|appendix|bookmark|chapter|contents|copyright|glossary|help|home|index|next|prev|section|start|stylesheet|subsection| |shortcut|icon)+$/i, - "rev":/^(alternate|appendix|bookmark|chapter|contents|copyright|glossary|help|home|index|next|prev|section|start|stylesheet|subsection| |shortcut|icon)+$/i, - "3":"type" - }, - "inside":"head" - }, - "map": - { - "attributes":[ - "id", - "name" - ], - "required":[ - "id" - ] - }, - "meta": - { - "attributes": - { - "0":"content", - "http-equiv":/^(content\-type|expires|refresh|set\-cookie)$/i, - "1":"name", - "2":"scheme" - }, - "required":[ - "content" - ] - }, - "27":"noscript", - "object": - { - "attributes":[ - "archive", - "classid", - "codebase", - "codetype", - "data", - "declare", - "height", - "name", - "standby", - "type", - "usemap", - "width" - ] - }, - "28":"ol", - "optgroup": - { - "attributes": - { - "0":"label", - "disabled": /^(disabled)$/ - }, - "required":[ - "label" - ] - }, - "option": - { - "attributes": - { - "0":"label", - "disabled":/^(disabled)$/, - "selected":/^(selected)$/, - "1":"value" - }, - "inside":"select" - }, - "29":"p", - "param": - { - "attributes": - { - "0":"type", - "valuetype":/^(data|ref|object)$/, - "1":"valuetype", - "2":"value" - }, - "required":[ - "name" - ] - }, - "30":"pre", - "q": - { - "attributes":[ - "cite" - ] - }, - "31":"samp", - "script": - { - "attributes": - { - "type":/^(text\/ecmascript|text\/javascript|text\/jscript|text\/vbscript|text\/vbs|text\/xml)$/, - "0":"charset", - "defer":/^(defer)$/, - "1":"src" - }, - "required":[ - "type" - ] - }, - "select": - { - "attributes": - { - "disabled":/^(disabled)$/, - "multiple":/^(multiple)$/, - "0":"name", - "1":"size" - }, - "inside":"form" - }, - "32":"small", - "33":"span", - "34":"strong", - "style": - { - "attributes": - { - "0":"type", - "media":/^(screen|tty|tv|projection|handheld|print|braille|aural|all)$/ - }, - "required":[ - "type" - ] - }, - "35":"sub", - "36":"sup", - "table": - { - "attributes": - { - "0":"border", - "1":"cellpadding", - "2":"cellspacing", - "frame":/^(void|above|below|hsides|lhs|rhs|vsides|box|border)$/, - "rules":/^(none|groups|rows|cols|all)$/, - "3":"summary", - "4":"width" - } - }, - "tbody": - { - "attributes": - { - "align":/^(right|left|center|justify)$/, - "0":"char", - "1":"charoff", - "valign":/^(top|middle|bottom|baseline)$/ - } - }, - "td": - { - "attributes": - { - "0":"abbr", - "align":/^(left|right|center|justify|char)$/, - "1":"axis", - "2":"char", - "3":"charoff", - "colspan":/^(\d)+$/, - "4":"headers", - "rowspan":/^(\d)+$/, - "scope":/^(col|colgroup|row|rowgroup)$/, - "valign":/^(top|middle|bottom|baseline)$/ - } - }, - "textarea": - { - "attributes":[ - "cols", - "rows", - "disabled", - "name", - "readonly" - ], - "required":[ - "cols", - "rows" - ], - "inside":"form" - }, - "tfoot": - { - "attributes": - { - "align":/^(right|left|center|justify)$/, - "0":"char", - "1":"charoff", - "valign":/^(top|middle|bottom)$/, - "2":"baseline" - } - }, - "th": - { - "attributes": - { - "0":"abbr", - "align":/^(left|right|center|justify|char)$/, - "1":"axis", - "2":"char", - "3":"charoff", - "colspan":/^(\d)+$/, - "4":"headers", - "rowspan":/^(\d)+$/, - "scope":/^(col|colgroup|row|rowgroup)$/, - "valign":/^(top|middle|bottom|baseline)$/ - } - }, - "thead": - { - "attributes": - { - "align":/^(right|left|center|justify)$/, - "0":"char", - "1":"charoff", - "valign":/^(top|middle|bottom|baseline)$/ - } - }, - "37":"title", - "tr": - { - "attributes": - { - "align":/^(right|left|center|justify|char)$/, - "0":"char", - "1":"charoff", - "valign":/^(top|middle|bottom|baseline)$/ - } - }, - "38":"tt", - "39":"ul", - "40":"var" - }, - - // Temporary skiped attributes - skiped_attributes : [], - skiped_attribute_values : [], - - getValidTagAttributes: function(tag, attributes) - { - var valid_attributes = {}; - var possible_attributes = this.getPossibleTagAttributes(tag); - for(var attribute in attributes) { - var value = attributes[attribute]; - var h = WYMeditor.Helper; - if(!h.contains(this.skiped_attributes, attribute) && !h.contains(this.skiped_attribute_values, value)){ - if (typeof value != 'function' && h.contains(possible_attributes, attribute)) { - if (this.doesAttributeNeedsValidation(tag, attribute)) { - if(this.validateAttribute(tag, attribute, value)){ - valid_attributes[attribute] = value; - } - }else{ - valid_attributes[attribute] = value; - } - } - } - } - return valid_attributes; - }, - getUniqueAttributesAndEventsForTag : function(tag) - { - var result = []; - - if (this._tags[tag] && this._tags[tag]['attributes']) { - for (k in this._tags[tag]['attributes']) { - result.push(parseInt(k) == k ? this._tags[tag]['attributes'][k] : k); - } - } - return result; - }, - getDefaultAttributesAndEventsForTags : function() - { - var result = []; - for (var key in this._events){ - result.push(this._events[key]); - } - for (var key in this._attributes){ - result.push(this._attributes[key]); - } - return result; - }, - isValidTag : function(tag) - { - if(this._tags[tag]){ - return true; - } - for(var key in this._tags){ - if(this._tags[key] == tag){ - return true; - } - } - return false; - }, - getDefaultAttributesAndEventsForTag : function(tag) - { - var default_attributes = []; - if (this.isValidTag(tag)) { - var default_attributes_and_events = this.getDefaultAttributesAndEventsForTags(); - - for(var key in default_attributes_and_events) { - var defaults = default_attributes_and_events[key]; - if(typeof defaults == 'object'){ - var h = WYMeditor.Helper; - if ((defaults['except'] && h.contains(defaults['except'], tag)) || (defaults['only'] && !h.contains(defaults['only'], tag))) { - continue; - } - - var tag_defaults = defaults['attributes'] ? defaults['attributes'] : defaults['events']; - for(var k in tag_defaults) { - default_attributes.push(typeof tag_defaults[k] != 'string' ? k : tag_defaults[k]); - } - } - } - } - return default_attributes; - }, - doesAttributeNeedsValidation: function(tag, attribute) - { - return this._tags[tag] && ((this._tags[tag]['attributes'] && this._tags[tag]['attributes'][attribute]) || (this._tags[tag]['required'] && - WYMeditor.Helper.contains(this._tags[tag]['required'], attribute))); - }, - validateAttribute : function(tag, attribute, value) - { - if ( this._tags[tag] && - (this._tags[tag]['attributes'] && this._tags[tag]['attributes'][attribute] && value.length > 0 && !value.match(this._tags[tag]['attributes'][attribute])) || // invalid format - (this._tags[tag] && this._tags[tag]['required'] && WYMeditor.Helper.contains(this._tags[tag]['required'], attribute) && value.length == 0) // required attribute - ) { - return false; - } - return typeof this._tags[tag] != 'undefined'; - }, - getPossibleTagAttributes : function(tag) - { - if (!this._possible_tag_attributes) { - this._possible_tag_attributes = {}; - } - if (!this._possible_tag_attributes[tag]) { - this._possible_tag_attributes[tag] = this.getUniqueAttributesAndEventsForTag(tag).concat(this.getDefaultAttributesAndEventsForTag(tag)); - } - return this._possible_tag_attributes[tag]; - } -}; - - -/** -* Compounded regular expression. Any of -* the contained patterns could match and -* when one does, it's label is returned. -* -* Constructor. Starts with no patterns. -* @param boolean case True for case sensitive, false -* for insensitive. -* @access public -* @author Marcus Baker (http://lastcraft.com) -* @author Bermi Ferrer (http://bermi.org) -*/ -WYMeditor.ParallelRegex = function(case_sensitive) -{ - this._case = case_sensitive; - this._patterns = []; - this._labels = []; - this._regex = null; - return this; -}; - - -/** -* Adds a pattern with an optional label. -* @param string pattern Perl style regex, but ( and ) -* lose the usual meaning. -* @param string label Label of regex to be returned -* on a match. -* @access public -*/ -WYMeditor.ParallelRegex.prototype.addPattern = function(pattern, label) -{ - label = label || true; - var count = this._patterns.length; - this._patterns[count] = pattern; - this._labels[count] = label; - this._regex = null; -}; - -/** -* Attempts to match all patterns at once against -* a string. -* @param string subject String to match against. -* -* @return boolean True on success. -* @return string match First matched portion of -* subject. -* @access public -*/ -WYMeditor.ParallelRegex.prototype.match = function(subject) -{ - if (this._patterns.length == 0) { - return [false, '']; - } - var matches = subject.match(this._getCompoundedRegex()); - - if(!matches){ - return [false, '']; - } - var match = matches[0]; - for (var i = 1; i < matches.length; i++) { - if (matches[i]) { - return [this._labels[i-1], match]; - } - } - return [true, matches[0]]; -}; - -/** -* Compounds the patterns into a single -* regular expression separated with the -* "or" operator. Caches the regex. -* Will automatically escape (, ) and / tokens. -* @param array patterns List of patterns in order. -* @access private -*/ -WYMeditor.ParallelRegex.prototype._getCompoundedRegex = function() -{ - if (this._regex == null) { - for (var i = 0, count = this._patterns.length; i < count; i++) { - this._patterns[i] = '(' + this._untokenizeRegex(this._tokenizeRegex(this._patterns[i]).replace(/([\/\(\)])/g,'\\$1')) + ')'; - } - this._regex = new RegExp(this._patterns.join("|") ,this._getPerlMatchingFlags()); - } - return this._regex; -}; - -/** -* Escape lookahead/lookbehind blocks -*/ -WYMeditor.ParallelRegex.prototype._tokenizeRegex = function(regex) -{ - return regex. - replace(/\(\?(i|m|s|x|U)\)/, '~~~~~~Tk1\$1~~~~~~'). - replace(/\(\?(\-[i|m|s|x|U])\)/, '~~~~~~Tk2\$1~~~~~~'). - replace(/\(\?\=(.*)\)/, '~~~~~~Tk3\$1~~~~~~'). - replace(/\(\?\!(.*)\)/, '~~~~~~Tk4\$1~~~~~~'). - replace(/\(\?\<\=(.*)\)/, '~~~~~~Tk5\$1~~~~~~'). - replace(/\(\?\<\!(.*)\)/, '~~~~~~Tk6\$1~~~~~~'). - replace(/\(\?\:(.*)\)/, '~~~~~~Tk7\$1~~~~~~'); -}; - -/** -* Unscape lookahead/lookbehind blocks -*/ -WYMeditor.ParallelRegex.prototype._untokenizeRegex = function(regex) -{ - return regex. - replace(/~~~~~~Tk1(.{1})~~~~~~/, "(?\$1)"). - replace(/~~~~~~Tk2(.{2})~~~~~~/, "(?\$1)"). - replace(/~~~~~~Tk3(.*)~~~~~~/, "(?=\$1)"). - replace(/~~~~~~Tk4(.*)~~~~~~/, "(?!\$1)"). - replace(/~~~~~~Tk5(.*)~~~~~~/, "(?<=\$1)"). - replace(/~~~~~~Tk6(.*)~~~~~~/, "(?", 'Comment'); -}; - -WYMeditor.XhtmlLexer.prototype.addScriptTokens = function(scope) -{ - this.addEntryPattern("", 'Script'); -}; - -WYMeditor.XhtmlLexer.prototype.addCssTokens = function(scope) -{ - this.addEntryPattern("", 'Css'); -}; - -WYMeditor.XhtmlLexer.prototype.addTagTokens = function(scope) -{ - this.addSpecialPattern("<\\s*[a-z0-9:\-]+\\s*>", scope, 'OpeningTag'); - this.addEntryPattern("<[a-z0-9:\-]+"+'[\\\/ \\\>]+', scope, 'OpeningTag'); - this.addInTagDeclarationTokens('OpeningTag'); - - this.addSpecialPattern("", scope, 'ClosingTag'); - -}; - -WYMeditor.XhtmlLexer.prototype.addInTagDeclarationTokens = function(scope) -{ - this.addSpecialPattern('\\s+', scope, 'Ignore'); - - this.addAttributeTokens(scope); - - this.addExitPattern('/>', scope); - this.addExitPattern('>', scope); - -}; - -WYMeditor.XhtmlLexer.prototype.addAttributeTokens = function(scope) -{ - this.addSpecialPattern("\\s*[a-z-_0-9]*:?[a-z-_0-9]+\\s*(?=\=)\\s*", scope, 'TagAttributes'); - - this.addEntryPattern('=\\s*"', scope, 'DoubleQuotedAttribute'); - this.addPattern("\\\\\"", 'DoubleQuotedAttribute'); - this.addExitPattern('"', 'DoubleQuotedAttribute'); - - this.addEntryPattern("=\\s*'", scope, 'SingleQuotedAttribute'); - this.addPattern("\\\\'", 'SingleQuotedAttribute'); - this.addExitPattern("'", 'SingleQuotedAttribute'); - - this.addSpecialPattern('=\\s*[^>\\s]*', scope, 'UnquotedAttribute'); -}; - - - -/** -* XHTML Parser. -* -* This XHTML parser will trigger the events available on on -* current SaxListener -* -* @author Bermi Ferrer (http://bermi.org) -*/ -WYMeditor.XhtmlParser = function(Listener, mode) -{ - var mode = mode || 'Text'; - this._Lexer = new WYMeditor.XhtmlLexer(this); - this._Listener = Listener; - this._mode = mode; - this._matches = []; - this._last_match = ''; - this._current_match = ''; - - return this; -}; - -WYMeditor.XhtmlParser.prototype.parse = function(raw) -{ - this._Lexer.parse(this.beforeParsing(raw)); - return this.afterParsing(this._Listener.getResult()); -}; - -WYMeditor.XhtmlParser.prototype.beforeParsing = function(raw) -{ - if(raw.match(/class="MsoNormal"/) || raw.match(/ns = "urn:schemas-microsoft-com/)){ - // Usefull for cleaning up content pasted from other sources (MSWord) - this._Listener.avoidStylingTagsAndAttributes(); - } - return this._Listener.beforeParsing(raw); -}; - -WYMeditor.XhtmlParser.prototype.afterParsing = function(parsed) -{ - if(this._Listener._avoiding_tags_implicitly){ - this._Listener.allowStylingTagsAndAttributes(); - } - return this._Listener.afterParsing(parsed); -}; - - -WYMeditor.XhtmlParser.prototype.Ignore = function(match, state) -{ - return true; -}; - -WYMeditor.XhtmlParser.prototype.Text = function(text) -{ - this._Listener.addContent(text); - return true; -}; - -WYMeditor.XhtmlParser.prototype.Comment = function(match, status) -{ - return this._addNonTagBlock(match, status, 'addComment'); -}; - -WYMeditor.XhtmlParser.prototype.Script = function(match, status) -{ - return this._addNonTagBlock(match, status, 'addScript'); -}; - -WYMeditor.XhtmlParser.prototype.Css = function(match, status) -{ - return this._addNonTagBlock(match, status, 'addCss'); -}; - -WYMeditor.XhtmlParser.prototype._addNonTagBlock = function(match, state, type) -{ - switch (state){ - case WYMeditor.LEXER_ENTER: - this._non_tag = match; - break; - case WYMeditor.LEXER_UNMATCHED: - this._non_tag += match; - break; - case WYMeditor.LEXER_EXIT: - switch(type) { - case 'addComment': - this._Listener.addComment(this._non_tag+match); - break; - case 'addScript': - this._Listener.addScript(this._non_tag+match); - break; - case 'addCss': - this._Listener.addCss(this._non_tag+match); - break; - } - } - return true; -}; - -WYMeditor.XhtmlParser.prototype.OpeningTag = function(match, state) -{ - switch (state){ - case WYMeditor.LEXER_ENTER: - this._tag = this.normalizeTag(match); - this._tag_attributes = {}; - break; - case WYMeditor.LEXER_SPECIAL: - this._callOpenTagListener(this.normalizeTag(match)); - break; - case WYMeditor.LEXER_EXIT: - this._callOpenTagListener(this._tag, this._tag_attributes); - } - return true; -}; - -WYMeditor.XhtmlParser.prototype.ClosingTag = function(match, state) -{ - this._callCloseTagListener(this.normalizeTag(match)); - return true; -}; - -WYMeditor.XhtmlParser.prototype._callOpenTagListener = function(tag, attributes) -{ - var attributes = attributes || {}; - this.autoCloseUnclosedBeforeNewOpening(tag); - - if(this._Listener.isBlockTag(tag)){ - this._Listener._tag_stack.push(tag); - this._Listener.fixNestingBeforeOpeningBlockTag(tag, attributes); - this._Listener.openBlockTag(tag, attributes); - this._increaseOpenTagCounter(tag); - }else if(this._Listener.isInlineTag(tag)){ - this._Listener.inlineTag(tag, attributes); - }else{ - this._Listener.openUnknownTag(tag, attributes); - this._increaseOpenTagCounter(tag); - } - this._Listener.last_tag = tag; - this._Listener.last_tag_opened = true; - this._Listener.last_tag_attributes = attributes; -}; - -WYMeditor.XhtmlParser.prototype._callCloseTagListener = function(tag) -{ - if(this._decreaseOpenTagCounter(tag)){ - this.autoCloseUnclosedBeforeTagClosing(tag); - - if(this._Listener.isBlockTag(tag)){ - var expected_tag = this._Listener._tag_stack.pop(); - if(expected_tag == false){ - return; - }else if(expected_tag != tag){ - tag = expected_tag; - } - this._Listener.closeBlockTag(tag); - }else{ - this._Listener.closeUnknownTag(tag); - } - }else{ - this._Listener.closeUnopenedTag(tag); - } - this._Listener.last_tag = tag; - this._Listener.last_tag_opened = false; -}; - -WYMeditor.XhtmlParser.prototype._increaseOpenTagCounter = function(tag) -{ - this._Listener._open_tags[tag] = this._Listener._open_tags[tag] || 0; - this._Listener._open_tags[tag]++; -}; - -WYMeditor.XhtmlParser.prototype._decreaseOpenTagCounter = function(tag) -{ - if(this._Listener._open_tags[tag]){ - this._Listener._open_tags[tag]--; - if(this._Listener._open_tags[tag] == 0){ - this._Listener._open_tags[tag] = undefined; - } - return true; - } - return false; -}; - -WYMeditor.XhtmlParser.prototype.autoCloseUnclosedBeforeNewOpening = function(new_tag) -{ - this._autoCloseUnclosed(new_tag, false); -}; - -WYMeditor.XhtmlParser.prototype.autoCloseUnclosedBeforeTagClosing = function(tag) -{ - this._autoCloseUnclosed(tag, true); -}; - -WYMeditor.XhtmlParser.prototype._autoCloseUnclosed = function(new_tag, closing) -{ - var closing = closing || false; - if(this._Listener._open_tags){ - for (var tag in this._Listener._open_tags) { - var counter = this._Listener._open_tags[tag]; - if(counter > 0 && this._Listener.shouldCloseTagAutomatically(tag, new_tag, closing)){ - this._callCloseTagListener(tag, true); - } - } - } -}; - -WYMeditor.XhtmlParser.prototype.getTagReplacements = function() -{ - return this._Listener.getTagReplacements(); -}; - -WYMeditor.XhtmlParser.prototype.normalizeTag = function(tag) -{ - tag = tag.replace(/^([\s<\/>]*)|([\s<\/>]*)$/gm,'').toLowerCase(); - var tags = this._Listener.getTagReplacements(); - if(tags[tag]){ - return tags[tag]; - } - return tag; -}; - -WYMeditor.XhtmlParser.prototype.TagAttributes = function(match, state) -{ - if(WYMeditor.LEXER_SPECIAL == state){ - this._current_attribute = match; - } - return true; -}; - -WYMeditor.XhtmlParser.prototype.DoubleQuotedAttribute = function(match, state) -{ - if(WYMeditor.LEXER_UNMATCHED == state){ - this._tag_attributes[this._current_attribute] = match; - } - return true; -}; - -WYMeditor.XhtmlParser.prototype.SingleQuotedAttribute = function(match, state) -{ - if(WYMeditor.LEXER_UNMATCHED == state){ - this._tag_attributes[this._current_attribute] = match; - } - return true; -}; - -WYMeditor.XhtmlParser.prototype.UnquotedAttribute = function(match, state) -{ - this._tag_attributes[this._current_attribute] = match.replace(/^=/,''); - return true; -}; - - - -/** -* XHTML Sax parser. -* -* @author Bermi Ferrer (http://bermi.org) -*/ -WYMeditor.XhtmlSaxListener = function() -{ - this.output = ''; - this.helper = new WYMeditor.XmlHelper(); - this._open_tags = {}; - this.validator = WYMeditor.XhtmlValidator; - this._tag_stack = []; - this.avoided_tags = []; - - this.entities = { - ' ':' ','¡':'¡','¢':'¢', - '£':'£','¤':'¤','¥':'¥', - '¦':'¦','§':'§','¨':'¨', - '©':'©','ª':'ª','«':'«', - '¬':'¬','­':'­','®':'®', - '¯':'¯','°':'°','±':'±', - '²':'²','³':'³','´':'´', - 'µ':'µ','¶':'¶','·':'·', - '¸':'¸','¹':'¹','º':'º', - '»':'»','¼':'¼','½':'½', - '¾':'¾','¿':'¿','À':'À', - 'Á':'Á','Â':'Â','Ã':'Ã', - 'Ä':'Ä','Å':'Å','Æ':'Æ', - 'Ç':'Ç','È':'È','É':'É', - 'Ê':'Ê','Ë':'Ë','Ì':'Ì', - 'Í':'Í','Î':'Î','Ï':'Ï', - 'Ð':'Ð','Ñ':'Ñ','Ò':'Ò', - 'Ó':'Ó','Ô':'Ô','Õ':'Õ', - 'Ö':'Ö','×':'×','Ø':'Ø', - 'Ù':'Ù','Ú':'Ú','Û':'Û', - 'Ü':'Ü','Ý':'Ý','Þ':'Þ', - 'ß':'ß','à':'à','á':'á', - 'â':'â','ã':'ã','ä':'ä', - 'å':'å','æ':'æ','ç':'ç', - 'è':'è','é':'é','ê':'ê', - 'ë':'ë','ì':'ì','í':'í', - 'î':'î','ï':'ï','ð':'ð', - 'ñ':'ñ','ò':'ò','ó':'ó', - 'ô':'ô','õ':'õ','ö':'ö', - '÷':'÷','ø':'ø','ù':'ù', - 'ú':'ú','û':'û','ü':'ü', - 'ý':'ý','þ':'þ','ÿ':'ÿ', - 'Œ':'Œ','œ':'œ','Š':'Š', - 'š':'š','Ÿ':'Ÿ','ƒ':'ƒ', - 'ˆ':'ˆ','˜':'˜','Α':'Α', - 'Β':'Β','Γ':'Γ','Δ':'Δ', - 'Ε':'Ε','Ζ':'Ζ','Η':'Η', - 'Θ':'Θ','Ι':'Ι','Κ':'Κ', - 'Λ':'Λ','Μ':'Μ','Ν':'Ν', - 'Ξ':'Ξ','Ο':'Ο','Π':'Π', - 'Ρ':'Ρ','Σ':'Σ','Τ':'Τ', - 'Υ':'Υ','Φ':'Φ','Χ':'Χ', - 'Ψ':'Ψ','Ω':'Ω','α':'α', - 'β':'β','γ':'γ','δ':'δ', - 'ε':'ε','ζ':'ζ','η':'η', - 'θ':'θ','ι':'ι','κ':'κ', - 'λ':'λ','μ':'μ','ν':'ν', - 'ξ':'ξ','ο':'ο','π':'π', - 'ρ':'ρ','ς':'ς','σ':'σ', - 'τ':'τ','υ':'υ','φ':'φ', - 'χ':'χ','ψ':'ψ','ω':'ω', - 'ϑ':'ϑ','ϒ':'ϒ','ϖ':'ϖ', - ' ':' ',' ':' ',' ':' ', - '‌':'‌','‍':'‍','‎':'‎', - '‏':'‏','–':'–','—':'—', - '‘':'‘','’':'’','‚':'‚', - '“':'“','”':'”','„':'„', - '†':'†','‡':'‡','•':'•', - '…':'…','‰':'‰','′':'′', - '″':'″','‹':'‹','›':'›', - '‾':'‾','⁄':'⁄','€':'€', - 'ℑ':'ℑ','℘':'℘','ℜ':'ℜ', - '™':'™','ℵ':'ℵ','←':'←', - '↑':'↑','→':'→','↓':'↓', - '↔':'↔','↵':'↵','⇐':'⇐', - '⇑':'⇑','⇒':'⇒','⇓':'⇓', - '⇔':'⇔','∀':'∀','∂':'∂', - '∃':'∃','∅':'∅','∇':'∇', - '∈':'∈','∉':'∉','∋':'∋', - '∏':'∏','∑':'∑','−':'−', - '∗':'∗','√':'√','∝':'∝', - '∞':'∞','∠':'∠','∧':'∧', - '∨':'∨','∩':'∩','∪':'∪', - '∫':'∫','∴':'∴','∼':'∼', - '≅':'≅','≈':'≈','≠':'≠', - '≡':'≡','≤':'≤','≥':'≥', - '⊂':'⊂','⊃':'⊃','⊄':'⊄', - '⊆':'⊆','⊇':'⊇','⊕':'⊕', - '⊗':'⊗','⊥':'⊥','⋅':'⋅', - '⌈':'⌈','⌉':'⌉','⌊':'⌊', - '⌋':'⌋','⟨':'〈','⟩':'〉', - '◊':'◊','♠':'♠','♣':'♣', - '♥':'♥','♦':'♦'}; - - this.block_tags = ["a", "abbr", "acronym", "address", "area", "b", - "base", "bdo", "big", "blockquote", "body", "button", - "caption", "cite", "code", "col", "colgroup", "dd", "del", "div", - "dfn", "dl", "dt", "em", "fieldset", "form", "head", "h1", "h2", - "h3", "h4", "h5", "h6", "html", "i", "ins", - "kbd", "label", "legend", "li", "map", "noscript", - "object", "ol", "optgroup", "option", "p", "param", "pre", "q", - "samp", "script", "select", "small", "span", "strong", "style", - "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", - "thead", "title", "tr", "tt", "ul", "var", "extends"]; - - - this.inline_tags = ["br", "hr", "img", "input"]; - - return this; -}; - -WYMeditor.XhtmlSaxListener.prototype.shouldCloseTagAutomatically = function(tag, now_on_tag, closing) -{ - var closing = closing || false; - if(tag == 'td'){ - if((closing && now_on_tag == 'tr') || (!closing && now_on_tag == 'td')){ - return true; - } - } - if(tag == 'option'){ - if((closing && now_on_tag == 'select') || (!closing && now_on_tag == 'option')){ - return true; - } - } - return false; -}; - -WYMeditor.XhtmlSaxListener.prototype.beforeParsing = function(raw) -{ - this.output = ''; - return raw; -}; - -WYMeditor.XhtmlSaxListener.prototype.afterParsing = function(xhtml) -{ - xhtml = this.replaceNamedEntities(xhtml); - xhtml = this.joinRepeatedEntities(xhtml); - xhtml = this.removeEmptyTags(xhtml); - xhtml = this.removeBrInPre(xhtml); - return xhtml; -}; - -WYMeditor.XhtmlSaxListener.prototype.replaceNamedEntities = function(xhtml) -{ - for (var entity in this.entities) { - xhtml = xhtml.replace(new RegExp(entity, 'g'), this.entities[entity]); - } - return xhtml; -}; - -WYMeditor.XhtmlSaxListener.prototype.joinRepeatedEntities = function(xhtml) -{ - var tags = 'em|strong|sub|sup|acronym|pre|del|address'; - return xhtml.replace(new RegExp('<\/('+tags+')><\\1>' ,''),''). - replace(new RegExp('(\s*<('+tags+')>\s*){2}(.*)(\s*<\/\\2>\s*){2}' ,''),'<\$2>\$3<\$2>'); -}; - -WYMeditor.XhtmlSaxListener.prototype.removeEmptyTags = function(xhtml) -{ - return xhtml.replace(new RegExp('<('+this.block_tags.join("|").replace(/\|td/,'').replace(/\|th/, '')+')>(
    | | |\\s)*<\/\\1>' ,'g'),''); -}; - -WYMeditor.XhtmlSaxListener.prototype.removeBrInPre = function(xhtml) -{ - var matches = xhtml.match(new RegExp(']*>(.*?)<\/pre>','gmi')); - if(matches) { - for(var i=0; i', 'g'), String.fromCharCode(13,10))); - } - } - return xhtml; -}; - -WYMeditor.XhtmlSaxListener.prototype.getResult = function() -{ - return this.output; -}; - -WYMeditor.XhtmlSaxListener.prototype.getTagReplacements = function() -{ - return {'b':'strong', 'i':'em'}; -}; - -WYMeditor.XhtmlSaxListener.prototype.addContent = function(text) -{ - this.output += text; -}; - -WYMeditor.XhtmlSaxListener.prototype.addComment = function(text) -{ - if(this.remove_comments){ - this.output += text; - } -}; - -WYMeditor.XhtmlSaxListener.prototype.addScript = function(text) -{ - if(!this.remove_scripts){ - this.output += text; - } -}; - -WYMeditor.XhtmlSaxListener.prototype.addCss = function(text) -{ - if(!this.remove_embeded_styles){ - this.output += text; - } -}; - -WYMeditor.XhtmlSaxListener.prototype.openBlockTag = function(tag, attributes) -{ - this.output += this.helper.tag(tag, this.validator.getValidTagAttributes(tag, attributes), true); -}; - -WYMeditor.XhtmlSaxListener.prototype.inlineTag = function(tag, attributes) -{ - this.output += this.helper.tag(tag, this.validator.getValidTagAttributes(tag, attributes)); -}; - -WYMeditor.XhtmlSaxListener.prototype.openUnknownTag = function(tag, attributes) -{ - //this.output += this.helper.tag(tag, attributes, true); -}; - -WYMeditor.XhtmlSaxListener.prototype.closeBlockTag = function(tag) -{ - this.output = this.output.replace(/
    $/, '')+this._getClosingTagContent('before', tag)+""+this._getClosingTagContent('after', tag); -}; - -WYMeditor.XhtmlSaxListener.prototype.closeUnknownTag = function(tag) -{ - //this.output += ""; -}; - -WYMeditor.XhtmlSaxListener.prototype.closeUnopenedTag = function(tag) -{ - this.output += ""; -}; - -WYMeditor.XhtmlSaxListener.prototype.avoidStylingTagsAndAttributes = function() -{ - this.avoided_tags = ['div','span']; - this.validator.skiped_attributes = ['style']; - this.validator.skiped_attribute_values = ['MsoNormal','main1']; // MS Word attributes for class - this._avoiding_tags_implicitly = true; -}; - -WYMeditor.XhtmlSaxListener.prototype.allowStylingTagsAndAttributes = function() -{ - this.avoided_tags = []; - this.validator.skiped_attributes = []; - this.validator.skiped_attribute_values = []; - this._avoiding_tags_implicitly = false; -}; - -WYMeditor.XhtmlSaxListener.prototype.isBlockTag = function(tag) -{ - return !WYMeditor.Helper.contains(this.avoided_tags, tag) && WYMeditor.Helper.contains(this.block_tags, tag); -}; - -WYMeditor.XhtmlSaxListener.prototype.isInlineTag = function(tag) -{ - return !WYMeditor.Helper.contains(this.avoided_tags, tag) && WYMeditor.Helper.contains(this.inline_tags, tag); -}; - -WYMeditor.XhtmlSaxListener.prototype.insertContentAfterClosingTag = function(tag, content) -{ - this._insertContentWhenClosingTag('after', tag, content); -}; - -WYMeditor.XhtmlSaxListener.prototype.insertContentBeforeClosingTag = function(tag, content) -{ - this._insertContentWhenClosingTag('before', tag, content); -}; - -WYMeditor.XhtmlSaxListener.prototype.fixNestingBeforeOpeningBlockTag = function(tag, attributes) -{ - if(tag != 'li' && (tag == 'ul' || tag == 'ol') && this.last_tag && !this.last_tag_opened && this.last_tag == 'li'){ - this.output = this.output.replace(/<\/li>$/, ''); - this.insertContentAfterClosingTag(tag, ''); - } -}; - -WYMeditor.XhtmlSaxListener.prototype._insertContentWhenClosingTag = function(position, tag, content) -{ - if(!this['_insert_'+position+'_closing']){ - this['_insert_'+position+'_closing'] = []; - } - if(!this['_insert_'+position+'_closing'][tag]){ - this['_insert_'+position+'_closing'][tag] = []; - } - this['_insert_'+position+'_closing'][tag].push(content); -}; - -WYMeditor.XhtmlSaxListener.prototype._getClosingTagContent = function(position, tag) -{ - if( this['_insert_'+position+'_closing'] && - this['_insert_'+position+'_closing'][tag] && - this['_insert_'+position+'_closing'][tag].length > 0){ - return this['_insert_'+position+'_closing'][tag].pop(); - } - return ''; -}; - - -/********** CSS PARSER **********/ - - -WYMeditor.WymCssLexer = function(parser, only_wym_blocks) -{ - var only_wym_blocks = (typeof only_wym_blocks == 'undefined' ? true : only_wym_blocks); - - jQuery.extend(this, new WYMeditor.Lexer(parser, (only_wym_blocks?'Ignore':'WymCss'))); - - this.mapHandler('WymCss', 'Ignore'); - - if(only_wym_blocks == true){ - this.addEntryPattern("/\\\x2a[<\\s]*WYMeditor[>\\s]*\\\x2a/", 'Ignore', 'WymCss'); - this.addExitPattern("/\\\x2a[<\/\\s]*WYMeditor[>\\s]*\\\x2a/", 'WymCss'); - } - - this.addSpecialPattern("[\\sa-z1-6]*\\\x2e[a-z-_0-9]+", 'WymCss', 'WymCssStyleDeclaration'); - - this.addEntryPattern("/\\\x2a", 'WymCss', 'WymCssComment'); - this.addExitPattern("\\\x2a/", 'WymCssComment'); - - this.addEntryPattern("\x7b", 'WymCss', 'WymCssStyle'); - this.addExitPattern("\x7d", 'WymCssStyle'); - - this.addEntryPattern("/\\\x2a", 'WymCssStyle', 'WymCssFeedbackStyle'); - this.addExitPattern("\\\x2a/", 'WymCssFeedbackStyle'); - - return this; -}; - -WYMeditor.WymCssParser = function() -{ - this._in_style = false; - this._has_title = false; - this.only_wym_blocks = true; - this.css_settings = {'classesItems':[], 'editorStyles':[], 'dialogStyles':[]}; - return this; -}; - -WYMeditor.WymCssParser.prototype.parse = function(raw, only_wym_blocks) -{ - var only_wym_blocks = (typeof only_wym_blocks == 'undefined' ? this.only_wym_blocks : only_wym_blocks); - this._Lexer = new WYMeditor.WymCssLexer(this, only_wym_blocks); - this._Lexer.parse(raw); -}; - -WYMeditor.WymCssParser.prototype.Ignore = function(match, state) -{ - return true; -}; - -WYMeditor.WymCssParser.prototype.WymCssComment = function(text, status) -{ - if(text.match(/end[a-z0-9\s]*wym[a-z0-9\s]*/mi)){ - return false; - } - if(status == WYMeditor.LEXER_UNMATCHED){ - if(!this._in_style){ - this._has_title = true; - this._current_item = {'title':WYMeditor.Helper.trim(text)}; - }else{ - if(this._current_item[this._current_element]){ - if(!this._current_item[this._current_element].expressions){ - this._current_item[this._current_element].expressions = [text]; - }else{ - this._current_item[this._current_element].expressions.push(text); - } - } - } - this._in_style = true; - } - return true; -}; - -WYMeditor.WymCssParser.prototype.WymCssStyle = function(match, status) -{ - if(status == WYMeditor.LEXER_UNMATCHED){ - match = WYMeditor.Helper.trim(match); - if(match != ''){ - this._current_item[this._current_element].style = match; - } - }else if (status == WYMeditor.LEXER_EXIT){ - this._in_style = false; - this._has_title = false; - this.addStyleSetting(this._current_item); - } - return true; -}; - -WYMeditor.WymCssParser.prototype.WymCssFeedbackStyle = function(match, status) -{ - if(status == WYMeditor.LEXER_UNMATCHED){ - this._current_item[this._current_element].feedback_style = match.replace(/^([\s\/\*]*)|([\s\/\*]*)$/gm,''); - } - return true; -}; - -WYMeditor.WymCssParser.prototype.WymCssStyleDeclaration = function(match) -{ - match = match.replace(/^([\s\.]*)|([\s\.*]*)$/gm, ''); - - var tag = ''; - if(match.indexOf('.') > 0){ - var parts = match.split('.'); - this._current_element = parts[1]; - var tag = parts[0]; - }else{ - this._current_element = match; - } - - if(!this._has_title){ - this._current_item = {'title':(!tag?'':tag.toUpperCase()+': ')+this._current_element}; - this._has_title = true; - } - - if(!this._current_item[this._current_element]){ - this._current_item[this._current_element] = {'name':this._current_element}; - } - if(tag){ - if(!this._current_item[this._current_element].tags){ - this._current_item[this._current_element].tags = [tag]; - }else{ - this._current_item[this._current_element].tags.push(tag); - } - } - return true; -}; - -WYMeditor.WymCssParser.prototype.addStyleSetting = function(style_details) -{ - for (var name in style_details){ - var details = style_details[name]; - if(typeof details == 'object' && name != 'title'){ - - this.css_settings.classesItems.push({ - 'name': WYMeditor.Helper.trim(details.name), - 'title': style_details.title, - 'expr' : WYMeditor.Helper.trim((details.expressions||details.tags).join(', ')) - }); - if(details.feedback_style){ - this.css_settings.editorStyles.push({ - 'name': '.'+ WYMeditor.Helper.trim(details.name), - 'css': details.feedback_style - }); - } - if(details.style){ - this.css_settings.dialogStyles.push({ - 'name': '.'+ WYMeditor.Helper.trim(details.name), - 'css': details.style - }); - } - } - } -}; - -/********** HELPERS **********/ - -// Returns true if it is a text node with whitespaces only -jQuery.fn.isPhantomNode = function() { - if (this[0].nodeType == 3) - return !(/[^\t\n\r ]/.test(this[0].data)); - - return false; -}; - -WYMeditor.isPhantomNode = function(n) { - if (n.nodeType == 3) - return !(/[^\t\n\r ]/.test(n.data)); - - return false; -}; - -WYMeditor.isPhantomString = function(str) { - return !(/[^\t\n\r ]/.test(str)); -}; - -// Returns the Parents or the node itself -// jqexpr = a jQuery expression -jQuery.fn.parentsOrSelf = function(jqexpr) { - var n = this; - - if (n[0].nodeType == 3) - n = n.parents().slice(0,1); - -// if (n.is(jqexpr)) // XXX should work, but doesn't (probably a jQuery bug) - if (n.filter(jqexpr).size() == 1) - return n; - else - return n.parents(jqexpr).slice(0,1); -}; - -// String & array helpers - -WYMeditor.Helper = { - - //replace all instances of 'old' by 'rep' in 'str' string - replaceAll: function(str, old, rep) { - var rExp = new RegExp(old, "g"); - return(str.replace(rExp, rep)); - }, - - //insert 'inserted' at position 'pos' in 'str' string - insertAt: function(str, inserted, pos) { - return(str.substr(0,pos) + inserted + str.substring(pos)); - }, - - //trim 'str' string - trim: function(str) { - return str.replace(/^(\s*)|(\s*)$/gm,''); - }, - - //return true if 'arr' array contains 'elem', or false - contains: function(arr, elem) { - for (var i = 0; i < arr.length; i++) { - if (arr[i] === elem) return true; - } - return false; - }, - - //return 'item' position in 'arr' array, or -1 - indexOf: function(arr, item) { - var ret=-1; - for(var i = 0; i < arr.length; i++) { - if (arr[i] == item) { - ret = i; - break; - } - } - return(ret); - }, - - //return 'item' object in 'arr' array, checking its 'name' property, or null - findByName: function(arr, name) { - for(var i = 0; i < arr.length; i++) { - var item = arr[i]; - if(item.name == name) return(item); - } - return(null); - } -}; - - -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * jquery.wymeditor.explorer.js - * MSIE specific class and functions. - * See the documentation for more info. - * - * File Authors: - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - * Bermi Ferrer (wymeditor a-t bermi dotorg) - * Frédéric Palluel-Lafleur (fpalluel a-t gmail dotcom) - * Jonatan Lundin (jonatan.lundin _at_ gmail.com) - */ - -WYMeditor.WymClassExplorer = function(wym) { - - this._wym = wym; - this._class = "className"; - this._newLine = "\r\n"; - -}; - -WYMeditor.WymClassExplorer.prototype.initIframe = function(iframe) { - - //This function is executed twice, though it is called once! - //But MSIE needs that, otherwise designMode won't work. - //Weird. - - this._iframe = iframe; - this._doc = iframe.contentWindow.document; - - //add css rules from options - var styles = this._doc.styleSheets[0]; - var aCss = eval(this._options.editorStyles); - - this.addCssRules(this._doc, aCss); - - this._doc.title = this._wym._index; - - //set the text direction - jQuery('html', this._doc).attr('dir', this._options.direction); - - //init html value - jQuery(this._doc.body).html(this._wym._html); - - //handle events - var wym = this; - - this._doc.body.onfocus = function() - {wym._doc.designMode = "on"; wym._doc = iframe.contentWindow.document;}; - this._doc.onbeforedeactivate = function() {wym.saveCaret();}; - this._doc.onkeyup = function() { - wym.saveCaret(); - wym.keyup(); - }; - this._doc.onclick = function() {wym.saveCaret();}; - - this._doc.body.onbeforepaste = function() { - wym._iframe.contentWindow.event.returnValue = false; - }; - - this._doc.body.onpaste = function() { - wym._iframe.contentWindow.event.returnValue = false; - wym.paste(window.clipboardData.getData("Text")); - }; - - //callback can't be executed twice, so we check - if(this._initialized) { - - //pre-bind functions - if(jQuery.isFunction(this._options.preBind)) this._options.preBind(this); - - //bind external events - this._wym.bindEvents(); - - //post-init functions - if(jQuery.isFunction(this._options.postInit)) this._options.postInit(this); - - //add event listeners to doc elements, e.g. images - this.listen(); - } - - this._initialized = true; - - //init designMode - this._doc.designMode="on"; - try{ - // (bermi's note) noticed when running unit tests on IE6 - // Is this really needed, it trigger an unexisting property on IE6 - this._doc = iframe.contentWindow.document; - }catch(e){} -}; - -WYMeditor.WymClassExplorer.prototype._exec = function(cmd,param) { - - switch(cmd) { - - case WYMeditor.INDENT: case WYMeditor.OUTDENT: - - var container = this.findUp(this.container(), WYMeditor.LI); - if(container) { - var ancestor = container.parentNode.parentNode; - if(container.parentNode.childNodes.length>1 - || ancestor.tagName.toLowerCase() == WYMeditor.OL - || ancestor.tagName.toLowerCase() == WYMeditor.UL) - this._doc.execCommand(cmd); - } - break; - default: - if(param) this._doc.execCommand(cmd,false,param); - else this._doc.execCommand(cmd); - break; - } - - this.listen(); -}; - -WYMeditor.WymClassExplorer.prototype.selected = function() { - - var caretPos = this._iframe.contentWindow.document.caretPos; - if(caretPos!=null) { - if(caretPos.parentElement!=undefined) - return(caretPos.parentElement()); - } -}; - -WYMeditor.WymClassExplorer.prototype.saveCaret = function() { - - this._doc.caretPos = this._doc.selection.createRange(); -}; - -WYMeditor.WymClassExplorer.prototype.addCssRule = function(styles, oCss) { - - styles.addRule(oCss.name, oCss.css); -}; - -WYMeditor.WymClassExplorer.prototype.insert = function(html) { - - // Get the current selection - var range = this._doc.selection.createRange(); - - // Check if the current selection is inside the editor - if ( jQuery(range.parentElement()).parents( this._options.iframeBodySelector ).is('*') ) { - try { - // Overwrite selection with provided html - range.pasteHTML(html); - } catch (e) { } - } else { - // Fall back to the internal paste function if there's no selection - this.paste(html); - } -}; - -WYMeditor.WymClassExplorer.prototype.wrap = function(left, right) { - - // Get the current selection - var range = this._doc.selection.createRange(); - - // Check if the current selection is inside the editor - if ( jQuery(range.parentElement()).parents( this._options.iframeBodySelector ).is('*') ) { - try { - // Overwrite selection with provided html - range.pasteHTML(left + range.text + right); - } catch (e) { } - } -}; - -WYMeditor.WymClassExplorer.prototype.unwrap = function() { - - // Get the current selection - var range = this._doc.selection.createRange(); - - // Check if the current selection is inside the editor - if ( jQuery(range.parentElement()).parents( this._options.iframeBodySelector ).is('*') ) { - try { - // Unwrap selection - var text = range.text; - this._exec( 'Cut' ); - range.pasteHTML( text ); - } catch (e) { } - } -}; - -//keyup handler -WYMeditor.WymClassExplorer.prototype.keyup = function() { - this._selected_image = null; -}; - -WYMeditor.WymClassExplorer.prototype.setFocusToNode = function(node) { - var range = this._doc.selection.createRange(); - range.moveToElementText(node); - range.collapse(false); - range.move('character',-1); - range.select(); - node.focus(); -}; - -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * jquery.wymeditor.mozilla.js - * Gecko specific class and functions. - * See the documentation for more info. - * - * File Authors: - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - * Volker Mische (vmx a-t gmx dotde) - * Bermi Ferrer (wymeditor a-t bermi dotorg) - * Frédéric Palluel-Lafleur (fpalluel a-t gmail dotcom) - */ - -WYMeditor.WymClassMozilla = function(wym) { - - this._wym = wym; - this._class = "class"; - this._newLine = "\n"; -}; - -WYMeditor.WymClassMozilla.prototype.initIframe = function(iframe) { - - this._iframe = iframe; - this._doc = iframe.contentDocument; - - //add css rules from options - - var styles = this._doc.styleSheets[0]; - var aCss = eval(this._options.editorStyles); - - this.addCssRules(this._doc, aCss); - - this._doc.title = this._wym._index; - - //set the text direction - jQuery('html', this._doc).attr('dir', this._options.direction); - - //init html value - this.html(this._wym._html); - - //init designMode - this.enableDesignMode(); - - //pre-bind functions - if(jQuery.isFunction(this._options.preBind)) this._options.preBind(this); - - //bind external events - this._wym.bindEvents(); - - //bind editor keydown events - jQuery(this._doc).bind("keydown", this.keydown); - - //bind editor keyup events - jQuery(this._doc).bind("keyup", this.keyup); - - //bind editor focus events (used to reset designmode - Gecko bug) - jQuery(this._doc).bind("focus", this.enableDesignMode); - - //post-init functions - if(jQuery.isFunction(this._options.postInit)) this._options.postInit(this); - - //add event listeners to doc elements, e.g. images - this.listen(); -}; - -/* @name html - * @description Get/Set the html value - */ -WYMeditor.WymClassMozilla.prototype.html = function(html) { - - if(typeof html === 'string') { - - //disable designMode - try { this._doc.designMode = "off"; } catch(e) { }; - - //replace em by i and strong by bold - //(designMode issue) - html = html.replace(/]*)>/gi, "") - .replace(/<\/em>/gi, "") - .replace(/]*)>/gi, "") - .replace(/<\/strong>/gi, "
    "); - - //update the html body - jQuery(this._doc.body).html(html); - - //re-init designMode - this.enableDesignMode(); - } - else return(jQuery(this._doc.body).html()); -}; - -WYMeditor.WymClassMozilla.prototype._exec = function(cmd,param) { - - if(!this.selected()) return(false); - - switch(cmd) { - - case WYMeditor.INDENT: case WYMeditor.OUTDENT: - - var focusNode = this.selected(); - var sel = this._iframe.contentWindow.getSelection(); - var anchorNode = sel.anchorNode; - if(anchorNode.nodeName == "#text") anchorNode = anchorNode.parentNode; - - focusNode = this.findUp(focusNode, WYMeditor.BLOCKS); - anchorNode = this.findUp(anchorNode, WYMeditor.BLOCKS); - - if(focusNode && focusNode == anchorNode - && focusNode.tagName.toLowerCase() == WYMeditor.LI) { - - var ancestor = focusNode.parentNode.parentNode; - - if(focusNode.parentNode.childNodes.length>1 - || ancestor.tagName.toLowerCase() == WYMeditor.OL - || ancestor.tagName.toLowerCase() == WYMeditor.UL) - this._doc.execCommand(cmd,'',null); - } - - break; - - default: - - if(param) this._doc.execCommand(cmd,'',param); - else this._doc.execCommand(cmd,'',null); - } - - //set to P if parent = BODY - var container = this.selected(); - if(container.tagName.toLowerCase() == WYMeditor.BODY) - this._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); - - //add event handlers on doc elements - - this.listen(); -}; - -/* @name selected - * @description Returns the selected container - */ -WYMeditor.WymClassMozilla.prototype.selected = function() { - - var sel = this._iframe.contentWindow.getSelection(); - var node = sel.focusNode; - if(node) { - if(node.nodeName == "#text") return(node.parentNode); - else return(node); - } else return(null); -}; - -WYMeditor.WymClassMozilla.prototype.addCssRule = function(styles, oCss) { - - styles.insertRule(oCss.name + " {" + oCss.css + "}", - styles.cssRules.length); -}; - - -//keydown handler, mainly used for keyboard shortcuts -WYMeditor.WymClassMozilla.prototype.keydown = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - var container = null; - - if(evt.ctrlKey){ - if(evt.keyCode == 66){ - //CTRL+b => STRONG - wym._exec(WYMeditor.BOLD); - return false; - } - if(evt.keyCode == 73){ - //CTRL+i => EMPHASIS - wym._exec(WYMeditor.ITALIC); - return false; - } - } - - else if(evt.keyCode == 13) { - if(!evt.shiftKey){ - //fix PRE bug #73 - container = wym.selected(); - if(container && container.tagName.toLowerCase() == WYMeditor.PRE) { - evt.preventDefault(); - wym.insert('

    '); - } - } - } -}; - -//keyup handler, mainly used for cleanups -WYMeditor.WymClassMozilla.prototype.keyup = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - - wym._selected_image = null; - var container = null; - - if(evt.keyCode == 13 && !evt.shiftKey) { - - //RETURN key - //cleanup

    between paragraphs - jQuery(wym._doc.body).children(WYMeditor.BR).remove(); - } - - else if(evt.keyCode != 8 - && evt.keyCode != 17 - && evt.keyCode != 46 - && evt.keyCode != 224 - && !evt.metaKey - && !evt.ctrlKey) { - - //NOT BACKSPACE, NOT DELETE, NOT CTRL, NOT COMMAND - //text nodes replaced by P - - container = wym.selected(); - var name = container.tagName.toLowerCase(); - - //fix forbidden main containers - if( - name == "strong" || - name == "b" || - name == "em" || - name == "i" || - name == "sub" || - name == "sup" || - name == "a" - - ) name = container.parentNode.tagName.toLowerCase(); - - if(name == WYMeditor.BODY) wym._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); - } -}; - -WYMeditor.WymClassMozilla.prototype.enableDesignMode = function() { - if(this.designMode == "off") { - try { - this.designMode = "on"; - this.execCommand("styleWithCSS", '', false); - } catch(e) { } - } -}; - -WYMeditor.WymClassMozilla.prototype.setFocusToNode = function(node) { - var range = document.createRange(); - range.selectNode(node); - var selected = this._iframe.contentWindow.getSelection(); - selected.addRange(range); - selected.collapse(node, node.childNodes.length); - this._iframe.contentWindow.focus(); -}; - -WYMeditor.WymClassMozilla.prototype.openBlockTag = function(tag, attributes) -{ - var attributes = this.validator.getValidTagAttributes(tag, attributes); - - // Handle Mozilla styled spans - if(tag == 'span' && attributes.style){ - var new_tag = this.getTagForStyle(attributes.style); - if(new_tag){ - this._tag_stack.pop(); - var tag = new_tag; - this._tag_stack.push(new_tag); - attributes.style = ''; - }else{ - return; - } - } - - this.output += this.helper.tag(tag, attributes, true); -}; - -WYMeditor.WymClassMozilla.prototype.getTagForStyle = function(style) { - - if(/bold/.test(style)) return 'strong'; - if(/italic/.test(style)) return 'em'; - if(/sub/.test(style)) return 'sub'; - if(/sub/.test(style)) return 'super'; - return false; -}; - -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * jquery.wymeditor.opera.js - * Opera specific class and functions. - * See the documentation for more info. - * - * File Authors: - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - */ - -WYMeditor.WymClassOpera = function(wym) { - - this._wym = wym; - this._class = "class"; - this._newLine = "\r\n"; -}; - -WYMeditor.WymClassOpera.prototype.initIframe = function(iframe) { - - this._iframe = iframe; - this._doc = iframe.contentWindow.document; - - //add css rules from options - var styles = this._doc.styleSheets[0]; - var aCss = eval(this._options.editorStyles); - - this.addCssRules(this._doc, aCss); - - this._doc.title = this._wym._index; - - //set the text direction - jQuery('html', this._doc).attr('dir', this._options.direction); - - //init designMode - this._doc.designMode = "on"; - - //init html value - this.html(this._wym._html); - - //pre-bind functions - if(jQuery.isFunction(this._options.preBind)) this._options.preBind(this); - - //bind external events - this._wym.bindEvents(); - - //bind editor keydown events - jQuery(this._doc).bind("keydown", this.keydown); - - //bind editor events - jQuery(this._doc).bind("keyup", this.keyup); - - //post-init functions - if(jQuery.isFunction(this._options.postInit)) this._options.postInit(this); - - //add event listeners to doc elements, e.g. images - this.listen(); -}; - -WYMeditor.WymClassOpera.prototype._exec = function(cmd,param) { - - if(param) this._doc.execCommand(cmd,false,param); - else this._doc.execCommand(cmd); - - this.listen(); -}; - -WYMeditor.WymClassOpera.prototype.selected = function() { - - var sel=this._iframe.contentWindow.getSelection(); - var node=sel.focusNode; - if(node) { - if(node.nodeName=="#text")return(node.parentNode); - else return(node); - } else return(null); -}; - -WYMeditor.WymClassOpera.prototype.addCssRule = function(styles, oCss) { - - styles.insertRule(oCss.name + " {" + oCss.css + "}", - styles.cssRules.length); -}; - -//keydown handler -WYMeditor.WymClassOpera.prototype.keydown = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - var sel = wym._iframe.contentWindow.getSelection(); - startNode = sel.getRangeAt(0).startContainer; - - //Get a P instead of no container - if(!jQuery(startNode).parentsOrSelf( - WYMeditor.MAIN_CONTAINERS.join(","))[0] - && !jQuery(startNode).parentsOrSelf('li') - && evt.keyCode != WYMeditor.KEY.ENTER - && evt.keyCode != WYMeditor.KEY.LEFT - && evt.keyCode != WYMeditor.KEY.UP - && evt.keyCode != WYMeditor.KEY.RIGHT - && evt.keyCode != WYMeditor.KEY.DOWN - && evt.keyCode != WYMeditor.KEY.BACKSPACE - && evt.keyCode != WYMeditor.KEY.DELETE) - wym._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); - -}; - -//keyup handler -WYMeditor.WymClassOpera.prototype.keyup = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - wym._selected_image = null; -}; - -// TODO: implement me -WYMeditor.WymClassOpera.prototype.setFocusToNode = function(node) { - -}; - -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * jquery.wymeditor.safari.js - * Safari specific class and functions. - * See the documentation for more info. - * - * File Authors: - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - * Scott Lewis (lewiscot a-t gmail dotcom) - */ - -WYMeditor.WymClassSafari = function(wym) { - - this._wym = wym; - this._class = "class"; - this._newLine = "\n"; -}; - -WYMeditor.WymClassSafari.prototype.initIframe = function(iframe) { - - this._iframe = iframe; - this._doc = iframe.contentDocument; - - //add css rules from options - - var styles = this._doc.styleSheets[0]; - var aCss = eval(this._options.editorStyles); - - this.addCssRules(this._doc, aCss); - - this._doc.title = this._wym._index; - - //set the text direction - jQuery('html', this._doc).attr('dir', this._options.direction); - - //init designMode - this._doc.designMode = "on"; - - //init html value - this.html(this._wym._html); - - //pre-bind functions - if(jQuery.isFunction(this._options.preBind)) this._options.preBind(this); - - //bind external events - this._wym.bindEvents(); - - //bind editor keydown events - jQuery(this._doc).bind("keydown", this.keydown); - - //bind editor keyup events - jQuery(this._doc).bind("keyup", this.keyup); - - //post-init functions - if(jQuery.isFunction(this._options.postInit)) this._options.postInit(this); - - //add event listeners to doc elements, e.g. images - this.listen(); -}; - -WYMeditor.WymClassSafari.prototype._exec = function(cmd,param) { - - if(!this.selected()) return(false); - - switch(cmd) { - - case WYMeditor.INDENT: case WYMeditor.OUTDENT: - - var focusNode = this.selected(); - var sel = this._iframe.contentWindow.getSelection(); - var anchorNode = sel.anchorNode; - if(anchorNode.nodeName == "#text") anchorNode = anchorNode.parentNode; - - focusNode = this.findUp(focusNode, WYMeditor.BLOCKS); - anchorNode = this.findUp(anchorNode, WYMeditor.BLOCKS); - - if(focusNode && focusNode == anchorNode - && focusNode.tagName.toLowerCase() == WYMeditor.LI) { - - var ancestor = focusNode.parentNode.parentNode; - - if(focusNode.parentNode.childNodes.length>1 - || ancestor.tagName.toLowerCase() == WYMeditor.OL - || ancestor.tagName.toLowerCase() == WYMeditor.UL) - this._doc.execCommand(cmd,'',null); - } - - break; - - case WYMeditor.INSERT_ORDEREDLIST: case WYMeditor.INSERT_UNORDEREDLIST: - - this._doc.execCommand(cmd,'',null); - - //Safari creates lists in e.g. paragraphs. - //Find the container, and remove it. - var focusNode = this.selected(); - var container = this.findUp(focusNode, WYMeditor.MAIN_CONTAINERS); - if(container) jQuery(container).replaceWith(jQuery(container).html()); - - break; - - default: - - if(param) this._doc.execCommand(cmd,'',param); - else this._doc.execCommand(cmd,'',null); - } - - //set to P if parent = BODY - var container = this.selected(); - if(container && container.tagName.toLowerCase() == WYMeditor.BODY) - this._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); - - //add event handlers on doc elements - this.listen(); -}; - -/* @name selected - * @description Returns the selected container - */ -WYMeditor.WymClassSafari.prototype.selected = function() { - - var sel = this._iframe.contentWindow.getSelection(); - var node = sel.focusNode; - if(node) { - if(node.nodeName == "#text") return(node.parentNode); - else return(node); - } else return(null); -}; - -WYMeditor.WymClassSafari.prototype.addCssRule = function(styles, oCss) { - - styles.insertRule(oCss.name + " {" + oCss.css + "}", - styles.cssRules.length); -}; - - -//keydown handler, mainly used for keyboard shortcuts -WYMeditor.WymClassSafari.prototype.keydown = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - - if(evt.ctrlKey){ - if(evt.keyCode == 66){ - //CTRL+b => STRONG - wym._exec(WYMeditor.BOLD); - return false; - } - if(evt.keyCode == 73){ - //CTRL+i => EMPHASIS - wym._exec(WYMeditor.ITALIC); - return false; - } - } -}; - -//keyup handler, mainly used for cleanups -WYMeditor.WymClassSafari.prototype.keyup = function(evt) { - - //'this' is the doc - var wym = WYMeditor.INSTANCES[this.title]; - - wym._selected_image = null; - var container = null; - - if(evt.keyCode == 13 && !evt.shiftKey) { - - //RETURN key - //cleanup

    between paragraphs - jQuery(wym._doc.body).children(WYMeditor.BR).remove(); - - //fix PRE bug #73 - container = wym.selected(); - if(container && container.tagName.toLowerCase() == WYMeditor.PRE) - wym._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); //create P after PRE - } - - //fix #112 - if(evt.keyCode == 13 && evt.shiftKey) { - wym._exec('InsertLineBreak'); - } - - if(evt.keyCode != 8 - && evt.keyCode != 17 - && evt.keyCode != 46 - && evt.keyCode != 224 - && !evt.metaKey - && !evt.ctrlKey) { - - //NOT BACKSPACE, NOT DELETE, NOT CTRL, NOT COMMAND - //text nodes replaced by P - - container = wym.selected(); - var name = container.tagName.toLowerCase(); - - //fix forbidden main containers - if( - name == "strong" || - name == "b" || - name == "em" || - name == "i" || - name == "sub" || - name == "sup" || - name == "a" || - name == "span" //fix #110 - - ) name = container.parentNode.tagName.toLowerCase(); - - if(name == WYMeditor.BODY || name == WYMeditor.DIV) wym._exec(WYMeditor.FORMAT_BLOCK, WYMeditor.P); //fix #110 for DIV - } -}; - -WYMeditor.WymClassSafari.prototype.setFocusToNode = function(node) { - var range = this._iframe.contentDocument.createRange(); - range.selectNode(node); - var selected = this._iframe.contentWindow.getSelection(); - selected.addRange(range); - selected.collapse(node, node.childNodes.length); - this._iframe.contentWindow.focus(); -}; - -WYMeditor.WymClassSafari.prototype.openBlockTag = function(tag, attributes) -{ - var attributes = this.validator.getValidTagAttributes(tag, attributes); - - // Handle Safari styled spans - if(tag == 'span' && attributes.style) { - var new_tag = this.getTagForStyle(attributes.style); - if(new_tag){ - this._tag_stack.pop(); - var tag = new_tag; - this._tag_stack.push(new_tag); - attributes.style = ''; - - //should fix #125 - also removed the xhtml() override - if(typeof attributes['class'] == 'string') - attributes['class'] = attributes['class'].replace(/apple-style-span/gi, ''); - - } else { - return; - } - } - - this.output += this.helper.tag(tag, attributes, true); -}; - -WYMeditor.WymClassSafari.prototype.getTagForStyle = function(style) { - - if(/bold/.test(style)) return 'strong'; - if(/italic/.test(style)) return 'em'; - if(/sub/.test(style)) return 'sub'; - if(/super/.test(style)) return 'sup'; - return false; -}; diff --git a/wymeditor/jquery.wymeditor.min.js b/wymeditor/jquery.wymeditor.min.js deleted file mode 100644 index ec1bb60..0000000 --- a/wymeditor/jquery.wymeditor.min.js +++ /dev/null @@ -1 +0,0 @@ -if(!WYMeditor){var WYMeditor={}}(function(){if(!window.console||!console.firebug){var b=["log","debug","info","warn","error","assert","dir","dirxml","group","groupEnd","time","timeEnd","count","trace","profile","profileEnd"];WYMeditor.console={};for(var a=0;a
    "+WYMeditor.TOOLS+"
    "+WYMeditor.CONTAINERS+WYMeditor.CLASSES+"
    "+WYMeditor.HTML+WYMeditor.IFRAME+WYMeditor.STATUS+"
    "+WYMeditor.LOGO+"
    ",logoHtml:"WYMeditor",iframeHtml:"
    ",editorStyles:[],toolsHtml:"

    {Tools}

      "+WYMeditor.TOOLS_ITEMS+"
    ",toolsItemHtml:"
  • "+WYMeditor.TOOL_TITLE+"
  • ",toolsItems:[{name:"Bold",title:"Strong",css:"wym_tools_strong"},{name:"Italic",title:"Emphasis",css:"wym_tools_emphasis"},{name:"Superscript",title:"Superscript",css:"wym_tools_superscript"},{name:"Subscript",title:"Subscript",css:"wym_tools_subscript"},{name:"InsertOrderedList",title:"Ordered_List",css:"wym_tools_ordered_list"},{name:"InsertUnorderedList",title:"Unordered_List",css:"wym_tools_unordered_list"},{name:"Indent",title:"Indent",css:"wym_tools_indent"},{name:"Outdent",title:"Outdent",css:"wym_tools_outdent"},{name:"Undo",title:"Undo",css:"wym_tools_undo"},{name:"Redo",title:"Redo",css:"wym_tools_redo"},{name:"CreateLink",title:"Link",css:"wym_tools_link"},{name:"Unlink",title:"Unlink",css:"wym_tools_unlink"},{name:"InsertImage",title:"Image",css:"wym_tools_image"},{name:"InsertTable",title:"Table",css:"wym_tools_table"},{name:"Paste",title:"Paste_From_Word",css:"wym_tools_paste"},{name:"ToggleHtml",title:"HTML",css:"wym_tools_html"},{name:"Preview",title:"Preview",css:"wym_tools_preview"}],containersHtml:"

    {Containers}

      "+WYMeditor.CONTAINERS_ITEMS+"
    ",containersItemHtml:"
  • "+WYMeditor.CONTAINER_TITLE+"
  • ",containersItems:[{name:"P",title:"Paragraph",css:"wym_containers_p"},{name:"H1",title:"Heading_1",css:"wym_containers_h1"},{name:"H2",title:"Heading_2",css:"wym_containers_h2"},{name:"H3",title:"Heading_3",css:"wym_containers_h3"},{name:"H4",title:"Heading_4",css:"wym_containers_h4"},{name:"H5",title:"Heading_5",css:"wym_containers_h5"},{name:"H6",title:"Heading_6",css:"wym_containers_h6"},{name:"PRE",title:"Preformatted",css:"wym_containers_pre"},{name:"BLOCKQUOTE",title:"Blockquote",css:"wym_containers_blockquote"},{name:"TH",title:"Table_Header",css:"wym_containers_th"}],classesHtml:"

    {Classes}

      "+WYMeditor.CLASSES_ITEMS+"
    ",classesItemHtml:"
  • "+WYMeditor.CLASS_TITLE+"
  • ",classesItems:[],statusHtml:"

    {Status}

    ",htmlHtml:"

    {Source_Code}

    ",boxSelector:".wym_box",toolsSelector:".wym_tools",toolsListSelector:" ul",containersSelector:".wym_containers",classesSelector:".wym_classes",htmlSelector:".wym_html",iframeSelector:".wym_iframe iframe",iframeBodySelector:".wym_iframe",statusSelector:".wym_status",toolSelector:".wym_tools a",containerSelector:".wym_containers a",classSelector:".wym_classes a",htmlValSelector:".wym_html_val",hrefSelector:".wym_href",srcSelector:".wym_src",titleSelector:".wym_title",altSelector:".wym_alt",textSelector:".wym_text",rowsSelector:".wym_rows",colsSelector:".wym_cols",captionSelector:".wym_caption",summarySelector:".wym_summary",submitSelector:".wym_submit",cancelSelector:".wym_cancel",previewSelector:"",dialogTypeSelector:".wym_dialog_type",dialogLinkSelector:".wym_dialog_link",dialogImageSelector:".wym_dialog_image",dialogTableSelector:".wym_dialog_table",dialogPasteSelector:".wym_dialog_paste",dialogPreviewSelector:".wym_dialog_preview",updateSelector:".wymupdate",updateEvent:"click",dialogFeatures:"menubar=no,titlebar=no,toolbar=no,resizable=no,width=560,height=300,top=0,left=0",dialogFeaturesPreview:"menubar=no,titlebar=no,toolbar=no,resizable=no,scrollbars=yes,width=560,height=300,top=0,left=0",dialogHtml:""+WYMeditor.DIALOG_TITLE+" - -Make sure to adjust the ``src`` attribute to your needs, then initialize the -plugin in WYMeditor's ``postInit`` function:: - - wymeditor({postInit: function(wym) { - wym.hovertools(); // other plugins... - wym.resizable({handles: "s,e", - maxHeight: 600}); - } - }) - -The ``resizable`` plugin takes exactly one parameter, which is an object literal -containing the options of the plugin. The WYMeditor ``resizable`` plugin -supports all options of the jQuery UI ``resizable`` plugin. These are the -default values used by the plugin:: - - handles: "s,e,se", - minHeight: 250, - maxHeight: 600 - -See the `jQuery UI resizable plugin docs`_ for a list of all options. - -That's it! You are now able to resize the WYMeditor vertically, horizontally or -both, depending on your options. - -.. _jQuery UI resizable plugin docs: http://docs.jquery.com/UI/Resizables - -Internals -========= -The plugin takes care of loading the necessary jQuery UI files (``base`` and -``resizable``) from the same path the jQuery library was loaded. Here's how -it's done:: - - // Get the jQuery path from the editor, stripping away the jQuery file. - // see http://www.oreilly.com/catalog/regex/chapter/ch04.html - // The match result array contains the path and the filename. - var jQueryPath = wym.computeJqueryPath().match(/^(.*)\/(.*)$/)[1]; - - // Make an array of the external JavaScript files required by the plugin. - var jQueryPlugins = [jQueryPath + '/ui.base.js', - jQueryPath + '/ui.resizable.js']; - - // First get the jQuery UI base file - $.getScript(jQueryPlugins[0]); - - // Get the jQuery UI resizeable plugin and then init the wymeditor resizable - // plugin. It is import to do the initialisation after loading the - // necessary jQuery UI files has finished, otherwise the "resizable" method - // would not be available. - $.getScript(jQueryPlugins[1], function() { - jQuery(wym._box).resizable(final_options); - }); - -An alternative approach would be to use an AJAX queue when getting the script -files to ensure that all jQuery files are loaded before the initialisation code -of the plugin is executed. There is an `jQuery AJAX queue plugin`_ which does -that. - -.. _jQuery AJAX queue plugin: http://plugins.jquery.com/project/ajaxqueue - -Changelog -========= - -0.2 ---- -- Added full support for all jQuery UI resizable plugin options. -- Refactored and documented code. -- Now contains a packed version (775 bytes). - -0.1 ---- -- Initial release. - -.. _WYMeditor: http://www.wymeditor.org/ -.. _WYMeditor plugin page: http://trac.wymeditor.org/trac/wiki/0.4/Plugins diff --git a/wymeditor/plugins/tidy/README b/wymeditor/plugins/tidy/README deleted file mode 100644 index acc7ffd..0000000 --- a/wymeditor/plugins/tidy/README +++ /dev/null @@ -1,19 +0,0 @@ -WYMeditor : what you see is What You Mean web-based editor -Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ -Dual licensed under the MIT (MIT-license.txt) -and GPL (GPL-license.txt) licenses. - -For further information visit: - http://www.wymeditor.org/ - -File Name: - README - HTML Tidy plugin for WYMeditor - -File Authors: - Jean-François Hovinne (jf.hovinne a-t wymeditor dotorg) - -Credits: - 'HTML Tidy' by Dave Ragget - http://tidy.sourceforge.net/ - Icon 'wand' by Mark James - http://famfamfam.com/ - -WYMeditor documentation is available online at http://www.wymeditor.org/ diff --git a/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js b/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js deleted file mode 100644 index d685580..0000000 --- a/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js +++ /dev/null @@ -1,82 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * jquery.wymeditor.tidy.js - * HTML Tidy plugin for WYMeditor - * - * File Authors: - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) - */ - -//Extend WYMeditor -WYMeditor.editor.prototype.tidy = function(options) { - var tidy = new WymTidy(options, this); - return(tidy); -}; - -//WymTidy constructor -function WymTidy(options, wym) { - - options = jQuery.extend({ - - sUrl: "wymeditor/plugins/tidy/tidy.php", - sButtonHtml: "
  • " - + "" - + "Clean up HTML" - + "
  • ", - - sButtonSelector: "li.wym_tools_tidy a" - - }, options); - - this._options = options; - this._wym = wym; - -}; - -//WymTidy initialization -WymTidy.prototype.init = function() { - - var tidy = this; - - jQuery(this._wym._box).find( - this._wym._options.toolsSelector + this._wym._options.toolsListSelector) - .append(this._options.sButtonHtml); - - //handle click event - jQuery(this._wym._box).find(this._options.sButtonSelector).click(function() { - tidy.cleanup(); - return(false); - }); - -}; - -//WymTidy cleanup -WymTidy.prototype.cleanup = function() { - - var wym = this._wym; - var html = "" + wym.xhtml() + ""; - - jQuery.post(this._options.sUrl, { html: html}, function(data) { - - if(data.length > 0 && data != '0') { - if(data.indexOf(" 0) { - - // Specify configuration - $config = array( - 'bare' => true, - 'clean' => true, - 'doctype' => 'strict', - 'drop-empty-paras' => true, - 'drop-font-tags' => true, - 'drop-proprietary-attributes' => true, - 'enclose-block-text' => true, - 'indent' => false, - 'join-classes' => true, - 'join-styles' => true, - 'logical-emphasis' => true, - 'output-xhtml' => true, - 'show-body-only' => true, - 'wrap' => 0); - - // Tidy - $tidy = new tidy; - $tidy->parseString($html, $config, 'utf8'); - $tidy->cleanRepair(); - - // Output - echo $tidy; -} else { - -echo ('0'); -} -?> diff --git a/wymeditor/plugins/tidy/wand.png b/wymeditor/plugins/tidy/wand.png deleted file mode 100644 index bb55eeab4f028a986023fb0b027b011340db5075..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 715 zcmeAS@N?(olHy`uVBq!ia0vp^Vj#@H3?x5i&EW)6Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+AuIM8U^@-xQdF3nwy)ar>EQ5*@=mX z`T6U^zR{nan^w*2+AGa}o+QIYX zi1Dun6MkGt|8cY7`}vUX=YqeTa{Tk|;MA#8ot&JUot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vxuctrp_m4D{C2@nNb%vI`e=m8LAso5q!VuV^Z}GQ8?J5 zUn3xsa)#Z{`92^MaPjt#jx@+#6|L6DcW_lkh!1c<#1M<@MoMnmWbb{WQ_0HG#pems z-8z1(0SL17pM#$0LV-&$;!-icaAS`P>o1b6G@o@6nLls8GSYWO3R;T4j&aO%k}+Adbsr z9>E1A|8pb|et7XJV_Nns%2ard+C0Br20BloFVwz}Xp@K?)eUOL`L%x`N*O`SFF9-i zOOkvp?7fCgn_hWdjD(qO#jzXb2CJ*G!D2dnY$JV-WQ?gRd6v5t_Y?EbHU6wc-*7=% zA1FlTH{kM`^YmXwk0pIG6s`g6@{_FN;&}S{&gbDP@Zpq8J99#`-P) z#gU!do-HTD>8?5Z@Gi2lr_Y^=76VF6`Sh!xI!~{09b2YQuCs9h=L^YElz{ANKYK}8 z@Fq3pTf9f}EMOf)7IJS+Q5Pqpl%l|wg#0Lj4y*bd3p6CHKE(7^A8gbR5+NE9%v zO3Shq(ou={cpbpgG+&AIi9QyATo#R>6z*Na_l3MYcplIvMjc%K~v@W!6)r>zGc zf`s+K=0%=S(z{H7^VU2D{7hd`?XjrMdL{r?< z>gDbE%eOvZzhaT>LSuy$ZoE!gyrvEji&u0!3w0;hxni<|1Y#Hj_%`eo_i0N2_8LY1 zltcf5eGMqMc}4oDsJ!3@4w_m9rf#rTfB@`m$DCymhbNn9j>%4fuIjOYLB&%=0U@;B z=5&1GRHX^0s|tBdDB1DNqwfljg@d-uesRhIoTNE6mKcD>H7W%;x}#5?H^AK3%BaE+ G67^roH{M+U diff --git a/wymeditor/skins/compact/skin.css b/wymeditor/skins/compact/skin.css deleted file mode 100644 index 4a6a0c6..0000000 --- a/wymeditor/skins/compact/skin.css +++ /dev/null @@ -1,134 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * screen.css - * main stylesheet for the WYMeditor skin - * See the documentation for more info. - * - * File Authors: - * Daniel Reszka (d.reszka a-t wymeditor dotorg) - * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) -*/ - -/*TRYING TO RESET STYLES THAT MAY INTERFERE WITH WYMEDITOR*/ - .wym_skin_compact p, .wym_skin_compact h2, .wym_skin_compact h3, - .wym_skin_compact ul, .wym_skin_compact li { background: transparent url(); margin: 0; padding: 0; border-width:0; list-style: none; } - - -/*HIDDEN BY DEFAULT*/ - .wym_skin_compact .wym_area_left { display: none; } - .wym_skin_compact .wym_area_right { display: none; } - - -/*TYPO*/ - .wym_skin_compact { font-size: 10px; font-family: Verdana, Arial, sans-serif; } - .wym_skin_compact h2 { font-size: 110%; /* = 11px */} - .wym_skin_compact h3 { font-size: 100%; /* = 10px */} - .wym_skin_compact li { font-size: 100%; /* = 10px */} - - -/*WYM_BOX*/ - .wym_skin_compact { border: 1px solid gray; padding: 5px} - - /*auto-clear the wym_box*/ - .wym_skin_compact:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } - * html .wym_skin_compact { height: 1%;} - - -/*WYM_HTML*/ - .wym_skin_compact .wym_html { width: 98%;} - .wym_skin_compact .wym_html textarea { font-size: 120%; width: 100%; height: 200px; border: 1px solid gray; background: white; } - - -/*WYM_IFRAME*/ - .wym_skin_compact .wym_iframe { width: 98%;} - .wym_skin_compact .wym_iframe iframe { width: 100%; height: 200px; border: 1px solid gray; background: white } - - -/*AREAS*/ - .wym_skin_compact .wym_area_left { width: 100px; float: left;} - .wym_skin_compact .wym_area_right { width: 150px; float: right;} - .wym_skin_compact .wym_area_bottom { height: 1%; clear: both;} - * html .wym_skin_compact .wym_area_main { height: 1%;} - * html .wym_skin_compact .wym_area_top { height: 1%;} - *+html .wym_skin_compact .wym_area_top { height: 1%;} - -/*SECTIONS SYSTEM*/ - - /*common defaults for all sections*/ - .wym_skin_compact .wym_section { margin-bottom: 5px; } - .wym_skin_compact .wym_section h2, - .wym_skin_compact .wym_section h3 { padding: 1px 3px; margin: 0; } - .wym_skin_compact .wym_section a { padding: 0 3px; display: block; text-decoration: none; color: black; } - .wym_skin_compact .wym_section a:hover { background-color: yellow; } - /*hide section titles by default*/ - .wym_skin_compact .wym_section h2 { display: none; } - /*disable any margin-collapse*/ - .wym_skin_compact .wym_section { padding-top: 1px; padding-bottom: 1px; } - /*auto-clear sections*/ - .wym_skin_compact .wym_section ul:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } - * html .wym_skin_compact .wym_section ul { height: 1%;} - - /*option: add this class to a section to make it render as a panel*/ - .wym_skin_compact .wym_panel { } - .wym_skin_compact .wym_panel h2 { display: block; } - - /*option: add this class to a section to make it render as a dropdown menu*/ - .wym_skin_compact .wym_dropdown h2 { display: block; } - .wym_skin_compact .wym_dropdown ul { display: none; position: absolute; background: white; } - .wym_skin_compact .wym_dropdown:hover ul, - .wym_skin_compact .wym_dropdown.hover ul { display: block; } - - /*option: add this class to a section to make its elements render buttons (icons are only available for the wym_tools section for now)*/ - .wym_skin_compact .wym_buttons li { float:left;} - .wym_skin_compact .wym_buttons a { width: 20px; height: 20px; overflow: hidden; padding: 2px } - /*image replacements*/ - .wym_skin_compact .wym_buttons li a { background: url(icons.png) no-repeat; text-indent: -9999px;} - .wym_skin_compact .wym_buttons li.wym_tools_strong a { background-position: 0 -382px;} - .wym_skin_compact .wym_buttons li.wym_tools_emphasis a { background-position: 0 -22px;} - .wym_skin_compact .wym_buttons li.wym_tools_superscript a { background-position: 0 -430px;} - .wym_skin_compact .wym_buttons li.wym_tools_subscript a { background-position: 0 -454px;} - .wym_skin_compact .wym_buttons li.wym_tools_ordered_list a { background-position: 0 -48px;} - .wym_skin_compact .wym_buttons li.wym_tools_unordered_list a{ background-position: 0 -72px;} - .wym_skin_compact .wym_buttons li.wym_tools_indent a { background-position: 0 -574px;} - .wym_skin_compact .wym_buttons li.wym_tools_outdent a { background-position: 0 -598px;} - .wym_skin_compact .wym_buttons li.wym_tools_undo a { background-position: 0 -502px;} - .wym_skin_compact .wym_buttons li.wym_tools_redo a { background-position: 0 -526px;} - .wym_skin_compact .wym_buttons li.wym_tools_link a { background-position: 0 -96px;} - .wym_skin_compact .wym_buttons li.wym_tools_unlink a { background-position: 0 -168px;} - .wym_skin_compact .wym_buttons li.wym_tools_image a { background-position: 0 -121px;} - .wym_skin_compact .wym_buttons li.wym_tools_table a { background-position: 0 -144px;} - .wym_skin_compact .wym_buttons li.wym_tools_paste a { background-position: 0 -552px;} - .wym_skin_compact .wym_buttons li.wym_tools_html a { background-position: 0 -193px;} - .wym_skin_compact .wym_buttons li.wym_tools_preview a { background-position: 0 -408px;} - -/*DECORATION*/ - .wym_skin_compact .wym_section h2 { background: #f0f0f0; border: solid gray; border-width: 0 0 1px;} - .wym_skin_compact .wym_section h2 span { color: gray;} - .wym_skin_compact .wym_panel { padding: 0; border: solid gray; border-width: 1px; background: white;} - .wym_skin_compact .wym_panel ul { margin: 2px 0 5px; } - .wym_skin_compact .wym_dropdown { padding: 0; border: solid gray; border-width: 1px 1px 0 1px; } - .wym_skin_compact .wym_dropdown ul { border: solid gray; border-width: 0 1px 1px 1px; margin-left: -1px; padding: 5px 10px 5px 3px;} - -/*DIALOGS*/ - .wym_dialog div.row { margin-bottom: 5px;} - .wym_dialog div.row input { margin-right: 5px;} - .wym_dialog div.row label { float: left; width: 150px; display: block; text-align: right; margin-right: 10px; } - .wym_dialog div.row-indent { padding-left: 160px; } - /*autoclearing*/ - .wym_dialog div.row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } - .wym_dialog div.row { display: inline-block; } - /* Hides from IE-mac \*/ - * html .wym_dialog div.row { height: 1%; } - .wym_dialog div.row { display: block; } - /* End hide from IE-mac */ - -/*WYMEDITOR_LINK*/ - a.wym_wymeditor_link { text-indent: -9999px; float: right; display: block; width: 50px; height: 15px; background: url(../wymeditor_icon.png); overflow: hidden; text-decoration: none; } diff --git a/wymeditor/skins/compact/skin.js b/wymeditor/skins/compact/skin.js deleted file mode 100644 index cfb7cc1..0000000 --- a/wymeditor/skins/compact/skin.js +++ /dev/null @@ -1,35 +0,0 @@ -WYMeditor.SKINS['compact'] = { - - init: function(wym) { - - //move the containers panel to the top area - jQuery(wym._options.containersSelector + ', ' - + wym._options.classesSelector, wym._box) - .appendTo( jQuery("div.wym_area_top", wym._box) ) - .addClass("wym_dropdown") - .css({"margin-right": "10px", "width": "120px", "float": "left"}); - - //render following sections as buttons - jQuery(wym._options.toolsSelector, wym._box) - .addClass("wym_buttons") - .css({"margin-right": "10px", "float": "left"}); - - //make hover work under IE < 7 - jQuery(".wym_section", wym._box).hover(function(){ - jQuery(this).addClass("hover"); - },function(){ - jQuery(this).removeClass("hover"); - }); - - var postInit = wym._options.postInit; - wym._options.postInit = function(wym) { - - if(postInit) postInit.call(wym, wym); - var rule = { - name: 'body', - css: 'background-color: #f0f0f0;' - }; - wym.addCssRule( wym._doc.styleSheets[0], rule); - }; - } -}; diff --git a/wymeditor/skins/default/icons.png b/wymeditor/skins/default/icons.png deleted file mode 100644 index c6eb463f11754bd3ab5dedd05dd061a5039a0493..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3651 zcmd^C`8V5(692}|t*fOTEiGLvrPfkZt+lt5SX)I@t7^L`UDO&|tyN1R5?d54QHtW) zmy4E+{_4kf}#Mx zmdV3@5IVTkW$1?*<0|2Pjm*-ofoN!4GGq5E9yix{$ zw;}+r=K%o8ng9Sj1c0q|0MIM|0P#RUwL3!qzz$g7vok)?uvjb%03Zv$x_})}C>)K( z+TCTPre-ji$B698r1X-(30i6itsT#Tc)>_ZtcF&csoCAV{X+}?Zl9Ee)JoRl7n!-W z>vC>m=QUp0zwPr!(p(~XVI{2e^3|#zhuAjS=Wm0T3}8mDe|e%B_@tsu>fN`!_L2P-{^igtlD!`iUb9irz41P~ z_Dv+5OC?xP*3vk9#yXy48_^3%B{@d*ImhB4K^SO!W#hmGu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IJS+Q5Pqpl%l|wg#0Lj4y*bd3p6CHKE(7^A8gbR5+NE9%v zO3Shq(ou={cpbpgG+&AIi9QyATo#R>6z*Na_l3MYcplIvMjc%K~v@W!6)r>zGc zf`s+K=0%=S(z{H7^VU2D{7hd`?XjrMdL{r?< z>gDbE%eOvZzhaT>LSuy$ZoE!gyrvEji&u0!3w0;hxni<|1Y#Hj_%`eo_i0N2_8LY1 zltcf5eGMqMc}4oDsJ!3@4w_m9rf#rTfB@`m$DCymhbNn9j>%4fuIjOYLB&%=0U@;B z=5&1GRHX^0s|tBdDB1DNqwfljg@d-uesRhIoTNE6mKcD>H7W%;x}#5?H^AK3%BaE+ G67^roH{M+U diff --git a/wymeditor/skins/default/skin.css b/wymeditor/skins/default/skin.css deleted file mode 100644 index eb4680f..0000000 --- a/wymeditor/skins/default/skin.css +++ /dev/null @@ -1,133 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * skin.css - * main stylesheet for the default WYMeditor skin - * See the documentation for more info. - * - * File Authors: - * Daniel Reszka (d.reszka a-t wymeditor dotorg) -*/ - -/*TRYING TO RESET STYLES THAT MAY INTERFERE WITH WYMEDITOR*/ - .wym_skin_default p, .wym_skin_default h2, .wym_skin_default h3, - .wym_skin_default ul, .wym_skin_default li { background: transparent url(); margin: 0; padding: 0; border-width:0; list-style: none; } - - -/*HIDDEN BY DEFAULT*/ - .wym_skin_default .wym_area_left { display: none; } - .wym_skin_default .wym_area_right { display: block; } - - -/*TYPO*/ - .wym_skin_default { font-size: 62.5%; font-family: Verdana, Arial, sans-serif; } - .wym_skin_default h2 { font-size: 110%; /* = 11px */} - .wym_skin_default h3 { font-size: 100%; /* = 10px */} - .wym_skin_default li { font-size: 100%; /* = 10px */} - - -/*WYM_BOX*/ - .wym_skin_default { border: 1px solid gray; background: #f2f2f2; padding: 5px} - - /*auto-clear the wym_box*/ - .wym_skin_default:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } - * html .wym_skin_default { height: 1%;} - - -/*WYM_HTML*/ - .wym_skin_default .wym_html { width: 98%;} - .wym_skin_default .wym_html textarea { width: 100%; height: 200px; border: 1px solid gray; background: white; } - - -/*WYM_IFRAME*/ - .wym_skin_default .wym_iframe { width: 98%;} - .wym_skin_default .wym_iframe iframe { width: 100%; height: 200px; border: 1px solid gray; background: white } - - -/*AREAS*/ - .wym_skin_default .wym_area_left { width: 150px; float: left;} - .wym_skin_default .wym_area_right { width: 150px; float: right;} - .wym_skin_default .wym_area_bottom { height: 1%; clear: both;} - * html .wym_skin_default .wym_area_main { height: 1%;} - * html .wym_skin_default .wym_area_top { height: 1%;} - *+html .wym_skin_default .wym_area_top { height: 1%;} - -/*SECTIONS SYSTEM*/ - - /*common defaults for all sections*/ - .wym_skin_default .wym_section { margin-bottom: 5px; } - .wym_skin_default .wym_section h2, - .wym_skin_default .wym_section h3 { padding: 1px 3px; margin: 0; } - .wym_skin_default .wym_section a { padding: 0 3px; display: block; text-decoration: none; color: black; } - .wym_skin_default .wym_section a:hover { background-color: yellow; } - /*hide section titles by default*/ - .wym_skin_default .wym_section h2 { display: none; } - /*disable any margin-collapse*/ - .wym_skin_default .wym_section { padding-top: 1px; padding-bottom: 1px; } - /*auto-clear sections*/ - .wym_skin_default .wym_section ul:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } - * html .wym_skin_default .wym_section ul { height: 1%;} - - /*option: add this class to a section to make it render as a panel*/ - .wym_skin_default .wym_panel { } - .wym_skin_default .wym_panel h2 { display: block; } - - /*option: add this class to a section to make it render as a dropdown menu*/ - .wym_skin_default .wym_dropdown h2 { display: block; } - .wym_skin_default .wym_dropdown ul { display: none; position: absolute; background: white; } - .wym_skin_default .wym_dropdown:hover ul, - .wym_skin_default .wym_dropdown.hover ul { display: block; } - - /*option: add this class to a section to make its elements render buttons (icons are only available for the wym_tools section for now)*/ - .wym_skin_default .wym_buttons li { float:left;} - .wym_skin_default .wym_buttons a { width: 20px; height: 20px; overflow: hidden; padding: 2px } - /*image replacements*/ - .wym_skin_default .wym_buttons li a { background: url(icons.png) no-repeat; text-indent: -9999px;} - .wym_skin_default .wym_buttons li.wym_tools_strong a { background-position: 0 -382px;} - .wym_skin_default .wym_buttons li.wym_tools_emphasis a { background-position: 0 -22px;} - .wym_skin_default .wym_buttons li.wym_tools_superscript a { background-position: 0 -430px;} - .wym_skin_default .wym_buttons li.wym_tools_subscript a { background-position: 0 -454px;} - .wym_skin_default .wym_buttons li.wym_tools_ordered_list a { background-position: 0 -48px;} - .wym_skin_default .wym_buttons li.wym_tools_unordered_list a{ background-position: 0 -72px;} - .wym_skin_default .wym_buttons li.wym_tools_indent a { background-position: 0 -574px;} - .wym_skin_default .wym_buttons li.wym_tools_outdent a { background-position: 0 -598px;} - .wym_skin_default .wym_buttons li.wym_tools_undo a { background-position: 0 -502px;} - .wym_skin_default .wym_buttons li.wym_tools_redo a { background-position: 0 -526px;} - .wym_skin_default .wym_buttons li.wym_tools_link a { background-position: 0 -96px;} - .wym_skin_default .wym_buttons li.wym_tools_unlink a { background-position: 0 -168px;} - .wym_skin_default .wym_buttons li.wym_tools_image a { background-position: 0 -121px;} - .wym_skin_default .wym_buttons li.wym_tools_table a { background-position: 0 -144px;} - .wym_skin_default .wym_buttons li.wym_tools_paste a { background-position: 0 -552px;} - .wym_skin_default .wym_buttons li.wym_tools_html a { background-position: 0 -193px;} - .wym_skin_default .wym_buttons li.wym_tools_preview a { background-position: 0 -408px;} - -/*DECORATION*/ - .wym_skin_default .wym_section h2 { background: #ddd; border: solid gray; border-width: 0 0 1px;} - .wym_skin_default .wym_section h2 span { color: gray;} - .wym_skin_default .wym_panel { padding: 0; border: solid gray; border-width: 1px; background: white;} - .wym_skin_default .wym_panel ul { margin: 2px 0 5px; } - .wym_skin_default .wym_dropdown { padding: 0; border: solid gray; border-width: 1px 1px 0 1px; } - .wym_skin_default .wym_dropdown ul { border: solid gray; border-width: 0 1px 1px 1px; margin-left: -1px; padding: 5px 10px 5px 3px;} - -/*DIALOGS*/ - .wym_dialog div.row { margin-bottom: 5px;} - .wym_dialog div.row input { margin-right: 5px;} - .wym_dialog div.row label { float: left; width: 150px; display: block; text-align: right; margin-right: 10px; } - .wym_dialog div.row-indent { padding-left: 160px; } - /*autoclearing*/ - .wym_dialog div.row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } - .wym_dialog div.row { display: inline-block; } - /* Hides from IE-mac \*/ - * html .wym_dialog div.row { height: 1%; } - .wym_dialog div.row { display: block; } - /* End hide from IE-mac */ - -/*WYMEDITOR_LINK*/ - a.wym_wymeditor_link { text-indent: -9999px; float: right; display: block; width: 50px; height: 15px; background: url(../wymeditor_icon.png); overflow: hidden; text-decoration: none; } diff --git a/wymeditor/skins/default/skin.js b/wymeditor/skins/default/skin.js deleted file mode 100644 index 3d204e0..0000000 --- a/wymeditor/skins/default/skin.js +++ /dev/null @@ -1,40 +0,0 @@ -WYMeditor.SKINS['default'] = { - - init: function(wym) { - - //render following sections as panels - jQuery(wym._box).find(wym._options.classesSelector) - .addClass("wym_panel"); - - //render following sections as buttons - jQuery(wym._box).find(wym._options.toolsSelector) - .addClass("wym_buttons"); - - //render following sections as dropdown menus - jQuery(wym._box).find(wym._options.containersSelector) - .addClass("wym_dropdown") - .find(WYMeditor.H2) - .append(" >"); - - // auto add some margin to the main area sides if left area - // or right area are not empty (if they contain sections) - jQuery(wym._box).find("div.wym_area_right ul") - .parents("div.wym_area_right").show() - .parents(wym._options.boxSelector) - .find("div.wym_area_main") - .css({"margin-right": "155px"}); - - jQuery(wym._box).find("div.wym_area_left ul") - .parents("div.wym_area_left").show() - .parents(wym._options.boxSelector) - .find("div.wym_area_main") - .css({"margin-left": "155px"}); - - //make hover work under IE < 7 - jQuery(wym._box).find(".wym_section").hover(function(){ - jQuery(this).addClass("hover"); - },function(){ - jQuery(this).removeClass("hover"); - }); - } -}; diff --git a/wymeditor/skins/minimal/images/bg.header.gif b/wymeditor/skins/minimal/images/bg.header.gif deleted file mode 100644 index b2d2907bde67290e74ebc1573d3f535ac19123a2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 781 zcmd^+$xjn;07l1xF@iCO(US|rB?OS7y{qkLR-4b^f#S$rc68C7h4JyF>yg$isHZFcX;Rb@?B+KDY$sI2TF&c5ajjR zAqet#?0&x!ClCZ^Lm`(1GuUvGR;zG2tvC+5-9$L-CP~yz0=pepEP4ddsnzo;l}N8& zq$nJQwULM~8Vy>la4Z%w8W$Z7%~`iVP7E~PRix>;4~UI7Ye_RL|0>L>+ug8A2&b6z?m;!zioZr{_*qI@5Bz2 zl(M`P*u$V@re{}}_+z@(v{S6X62WVI$ASH6)h)%%#;%OZ?Z=qHahQ`;&aHqioTep% zgWY{h(K~dYpnly0izcv<;wD#7UBm4she|lvcM$OuF>(D3YltP`uDsowl3%EiOgrYP zb?wJX=VvIJL=}>_gI{aDg#z}5TUHZ}8nC*zXCrBLr8I4iX!p4!QrB!qagIPgm1G z36)$fQYa+t?F@}Z(bdIPtB0DKX-sB4m&>YcVc*LsFc=KN!M_Fu#NqL`qoOYUoBF?P z;}^64TpmC8;}d|n5fPD+nwE~t$jm}L&dxz&usPxR1%v)dHMKN)U426%<3)`Z(ci0)ObqMbaC!Wfon75M0%5O+?@s*1UC0gx%7=y(Bco$V z)wo)t)s1W;25uYKGBv$L7Cig@!`#PD^9!H9eEqig{i84Olz!MhCySeEvBK?KPu(+q zhMn`VQi`ODvU>M=E$3iuCj#Si80C1hfh5R>oS>c){6@+SJ9-)6=%sZQW44|Ry>*cA zyuaKp)oR@_24#R4knaXcj+SLP9Eh1OIL1l0j@=G~DTObphv<=f)Vjc?8b#yzyV-6$ zqI)oHyD>5}+Jrz;w!-HomA%dM@eYKkbyq}mLGD_3jOq$EWo);X{&h}kgF`($UF zN_2NePS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~#_r_?XCb6f8Z9uYUW(%f1L1PT{rI$76WBPIj?i(CKGSgPl*_d{ zzI^P$)e--eJ;p%$OjlM*3oMGG4@&RG>6B;Y-!(GmDF$mE+#vG0AgmT^H-3CM1?ABL zH=Kh$;${IzgL!d2UD+m8cyeS0gPnt!M*qOb@lNi7R%Z?*dvUqWETNXZJmRqk6DzU$ z+(I}@KpOGWj{x*4It;14TEfAt?dmnbW`|5&;KLUTF#r=6^ o&b~HK@)VYA%i!?QE%znB07&+mPEnX9+W-In07*qoM6N<$f>#IH@c;k- diff --git a/wymeditor/skins/minimal/images/icons.silver.gif b/wymeditor/skins/minimal/images/icons.silver.gif deleted file mode 100644 index 8c6a4fbfbe99081a58938c36300beca18b6c19a2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15382 zcmY+KWmwaX*T%o=(W4tiH;ir=9V(0->F88Ohr}4&9fIIUX(u3pf{qZxz|p9P6BSWW z5eqSRe*c%xoActlz0WzjJ$vUzKNS}TwI(-RD5o3F1N54{#+sshih$Z zrO{}&Zr$?o^2)DoZfk2(F+ZiLsrmi;k5i}4$Qzi^>Gaal(y96Ty}i8w0f8wgDYLV) zhK7cLNttj2vgA_R=Jrc7GxMUNqJe=ySy|b0q=K-t95!xVW)9Sa(wg4UoBZOEZ{NOs zw7PL}axykHmQq~x@ZrO?wYA>sH`B}OF82>Te*E~(ojW--O_`PT6B84u#nt2ExbPbQ)zI~fqeUVhzFgZC{)813v*1fvA+C4J< z=+UEshRYcl8OO)RA3uJ4{`|SSyL)VINmf=Ced9?(SAS(?<>BGshYuedgU>M-4BwcP z&d$zj6SNPXKCeF8E^p}+Q`V@ftFt>Bc7J(ocX#*3jT=dY6@51**4Nh)3d%=EM+e7m zZ)|J;03h)T`dDq60-|oHb=1ojhn1Ar)p27@&LW=hC`tKF(#cQU{&_C)_ zZ>$QKo9iL0!`cGP@mPCnhbn2AXzy(Mq%Nkts$9$^o~LJayGqFAe)H+^4w(l+O8%-- zI?}n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SI`pm!4EC0%?hu0^* z^r?%}kGz&mUCCXk<=^NO>}>bF-D=R3o%6;@Fjd{4aj9uCT;R|xHkK%S4PCe)-JM*;c^HE$^fa0T? zir*k5>NG^JqWo5@k~|uDdk1G!bm&-7vniJAvCR3ACk!s;t zBS+)Q#ErWMBDos+^@JXe&_*>?b`vH$HiK;8I3i9$0sc6BdRWNK~vv?-K4TE zlqn;pR_hmTm<=ansD+tVunp?3fJ0N z5mESS_rgVSb)q=;mN#_tuUMhcX1NQZ+Bgb9 zpU>oq)@igO{vHLe(G}CB*qiN1x8(5^_RY&TGFar_CdYmmD|0azldo6$+Fh>rwsT05 TJv>7BLrzzCsxmJM2^jt#VJT;& diff --git a/wymeditor/skins/minimal/skin.css b/wymeditor/skins/minimal/skin.css deleted file mode 100644 index cea8d84..0000000 --- a/wymeditor/skins/minimal/skin.css +++ /dev/null @@ -1,131 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * skin.css - * main stylesheet for the minimal WYMeditor skin - * See the documentation for more info. - * - * File Authors: - * Jean-Francois Hovinne - * Scott Lewis (see Silver skin) -*/ - -/* Set iframe */ -.wym_skin_minimal div.wym_iframe iframe { - width: 90%; - height: 200px; -} - -/* Hide h2 by default */ -.wym_skin_minimal h2 { - display: none; -} - -/* Show specific h2 */ -.wym_skin_minimal div.wym_tools h2, -.wym_skin_minimal div.wym_containers h2, -.wym_skin_minimal div.wym_classes h2 { - display: block; -} - -.wym_skin_minimal div.wym_section ul { - margin: 0; -} - -.wym_skin_minimal div.wym_section ul li { - float: left; - list-style-type: none; - margin-right: 5px; -} - -.wym_skin_minimal div.wym_area_top, -.wym_skin_minimal div.wym_area_right, -.wym_skin_minimal div.wym_containers, -.wym_skin_minimal div.wym_classes { - float: left; -} - -.wym_skin_minimal div.wym_area_main { - clear: both; -} - -.wym_skin_minimal div.wym_html { - width: 90%; -} - -.wym_skin_minimal textarea.wym_html_val { - width: 100%; - height: 100px; -} - -/* DROPDOWNS (see Silver skin) */ -.wym_skin_minimal div.wym_dropdown { - cursor: pointer; - margin: 0px 4px 10px 0px; - padding: 0px; - z-index: 1001; - display: block; -} - -.wym_skin_minimal div.wym_dropdown ul { - display: none; - width: 124px; - padding: 0px; - margin: 0px; - list-style-type: none; - list-style-image: none; - z-index: 1002; - position: absolute; - border-top: 1px solid #AAA; -} - -.wym_skin_minimal div.wym_dropdown ul li { - width: 146px; - height: 20px; - padding: 0px; - margin: 0px; - border: 1px solid #777; - border-top: none; - background: #EEE; - list-style-image: none; -} - -.wym_skin_minimal div.wym_dropdown h2 { - width: 138px; - height: 16px; - color: #000; - background-image: url(images/bg.selector.silver.gif); - background-position: 0px -18px; - background-repeat: no-repeat; - border: none; - font-family: "Trebuchet MS", Verdana, Arial, Helvetica, Sanserif; - font-size: 12px; - font-weight: bold; - padding: 2px 0px 0px 10px; - margin: 0px; -} - -.wym_skin_minimal div.wym_dropdown a { - text-decoration: none; - font-family: "Trebuchet MS", Verdana, Arial, Helvetica, Sanserif; - font-size: 12px; - padding: 5px 0px 0px 10px; - display: block; - width: 136px; - height: 15px; - color: #000; - text-align: left; - margin-left: 0px; -} - -.wym_skin_minimal div.wym_dropdown a:hover { - background: #BBB; - border-bottom: none; -} diff --git a/wymeditor/skins/minimal/skin.js b/wymeditor/skins/minimal/skin.js deleted file mode 100644 index af29ed4..0000000 --- a/wymeditor/skins/minimal/skin.js +++ /dev/null @@ -1,30 +0,0 @@ -jQuery.fn.selectify = function() { - return this.each(function() { - jQuery(this).hover( - function() { - jQuery("h2", this).css("background-position", "0px -18px"); - jQuery("ul", this).fadeIn("fast"); - }, - function() { - jQuery("h2", this).css("background-position", ""); - jQuery("ul", this).fadeOut("fast"); - } - ); - }); -}; - -WYMeditor.SKINS['minimal'] = { - //placeholder for the skin JS, if needed - - //init the skin - //wym is the WYMeditor.editor instance - init: function(wym) { - - //render following sections as dropdown menus - jQuery(wym._box).find(wym._options.toolsSelector + ', ' + wym._options.containersSelector + ', ' + wym._options.classesSelector) - .addClass("wym_dropdown") - .selectify(); - - - } -}; diff --git a/wymeditor/skins/silver/COPYING b/wymeditor/skins/silver/COPYING deleted file mode 100644 index 94a9ed0..0000000 --- a/wymeditor/skins/silver/COPYING +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. diff --git a/wymeditor/skins/silver/README b/wymeditor/skins/silver/README deleted file mode 100644 index 130dc46..0000000 --- a/wymeditor/skins/silver/README +++ /dev/null @@ -1,27 +0,0 @@ -/** -* @version Alpha 0.1 2008-05-10 23:28:43 $ -* @package Silver skin for WYMeditor -* @copyright Copyright (C) 2008 Scott Edwin Lewis. All rights reserved. -* @license GNU/GPL, see COPYING -* Silver skin for WYMeditor is free software and is licensed under the -* GNU General Public License. See COPYING for copyright notices and details. -*/ - -Adds custom buttons and color palette to the WYMeditor XHTML Editor. - -INSTALLATION: - -1. Copy the entire /silver/ directory to /wymeditor/skins/ -2. Initialize the WYMeditor 'skin' option as below: - - - -That's it. You're done. diff --git a/wymeditor/skins/silver/images/bg.header.gif b/wymeditor/skins/silver/images/bg.header.gif deleted file mode 100644 index b2d2907bde67290e74ebc1573d3f535ac19123a2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 781 zcmd^+$xjn;07l1xF@iCO(US|rB?OS7y{qkLR-4b^f#S$rc68C7h4JyF>yg$isHZFcX;Rb@?B+KDY$sI2TF&c5ajjR zAqet#?0&x!ClCZ^Lm`(1GuUvGR;zG2tvC+5-9$L-CP~yz0=pepEP4ddsnzo;l}N8& zq$nJQwULM~8Vy>la4Z%w8W$Z7%~`iVP7E~PRix>;4~UI7Ye_RL|0>L>+ug8A2&b6z?m;!zioZr{_*qI@5Bz2 zl(M`P*u$V@re{}}_+z@(v{S6X62WVI$ASH6)h)%%#;%OZ?Z=qHahQ`;&aHqioTep% zgWY{h(K~dYpnly0izcv<;wD#7UBm4she|lvcM$OuF>(D3YltP`uDsowl3%EiOgrYP zb?wJX=VvIJL=}>_gI{aDg#z}5TUHZ}8nC*zXCrBLr8I4iX!p4!QrB!qagIPgm1G z36)$fQYa+t?F@}Z(bdIPtB0DKX-sB4m&>YcVc*LsFc=KN!M_Fu#NqL`qoOYUoBF?P z;}^64TpmC8;}d|n5fPD+nwE~t$jm}L&dxz&usPxR1%v)dHMKN)U426%<3)`Z(ci0)ObqMbaC!Wfon75M0%5O+?@s*1UC0gx%7=y(Bco$V z)wo)t)s1W;25uYKGBv$L7Cig@!`#PD^9!H9eEqig{i84Olz!MhCySeEvBK?KPu(+q zhMn`VQi`ODvU>M=E$3iuCj#Si80C1hfh5R>oS>c){6@+SJ9-)6=%sZQW44|Ry>*cA zyuaKp)oR@_24#R4knaXcj+SLP9Eh1OIL1l0j@=G~DTObphv<=f)Vjc?8b#yzyV-6$ zqI)oHyD>5}+Jrz;w!-HomA%dM@eYKkbyq}mLGD_3jOq$EWo);X{&h}kgF`($UF zN_2NePS_C`tP)CQypd8)R9_IYUQ7+uMfZm6k6wvgQ&;7q5VtnZjB`@0H-xmcyw~+S zoB^j_&bS$Sq9U+7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GG4@&RG>6B;Y-!(GmDF$mE+#vG0AgmT^H-3CM1?ABL zH=Kh$;${IzgL!d2UD+m8cyeS0gPnt!M*qOb@lNi7R%Z?*dvUqWETNXZJmRqk6DzU$ z+(I}@KpOGWj{x*4It;14TEfAt?dmnbW`|5&;KLUTF#r=6^ o&b~HK@)VYA%i!?QE%znB07&+mPEnX9+W-In07*qoM6N<$f>#IH@c;k- diff --git a/wymeditor/skins/silver/images/icons.silver.gif b/wymeditor/skins/silver/images/icons.silver.gif deleted file mode 100644 index 8c6a4fbfbe99081a58938c36300beca18b6c19a2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15382 zcmY+KWmwaX*T%o=(W4tiH;ir=9V(0->F88Ohr}4&9fIIUX(u3pf{qZxz|p9P6BSWW z5eqSRe*c%xoActlz0WzjJ$vUzKNS}TwI(-RD5o3F1N54{#+sshih$Z zrO{}&Zr$?o^2)DoZfk2(F+ZiLsrmi;k5i}4$Qzi^>Gaal(y96Ty}i8w0f8wgDYLV) zhK7cLNttj2vgA_R=Jrc7GxMUNqJe=ySy|b0q=K-t95!xVW)9Sa(wg4UoBZOEZ{NOs zw7PL}axykHmQq~x@ZrO?wYA>sH`B}OF82>Te*E~(ojW--O_`PT6B84u#nt2ExbPbQ)zI~fqeUVhzFgZC{)813v*1fvA+C4J< z=+UEshRYcl8OO)RA3uJ4{`|SSyL)VINmf=Ced9?(SAS(?<>BGshYuedgU>M-4BwcP z&d$zj6SNPXKCeF8E^p}+Q`V@ftFt>Bc7J(ocX#*3jT=dY6@51**4Nh)3d%=EM+e7m zZ)|J;03h)T`dDq60-|oHb=1ojhn1Ar)p27@&LW=hC`tKF(#cQU{&_C)_ zZ>$QKo9iL0!`cGP@mPCnhbn2AXzy(Mq%Nkts$9$^o~LJayGqFAe)H+^4w(l+O8%-- zI?}nwrf27OClYa0ZeA!T|$Oz{IWk2Mv4a zjE^9MlY9Jqg~zlz}cC>N*NYI9tEyF2U43Z z^Y)$W4~wPK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)-JM*;c^HE$^fa0T? zir*k5>NG^JqWo5@k~|uDdk1G!bm&-7vniJAvCR3ACk!s;t zBS+)Q#ErWMBDos+^@JXe&_*>?b`vH$HiK;8I3i9$0sc6BdRWNK~vv?-K4TE zlqn;pR_hmTm<=ansD+tVunp?3fJ0N z5mESS_rgVSb)q=;mN#_tuUMhcX1NQZ+Bgb9 zpU>oq)@igO{vHLe(G}CB*qiN1x8(5^_RY&TGFar_CdYmmD|0azldo6$+Fh>rwsT05 TJv>7BLrzzCsxmJM2^jt#VJT;& diff --git a/wymeditor/skins/silver/skin.css b/wymeditor/skins/silver/skin.css deleted file mode 100644 index 8284d81..0000000 --- a/wymeditor/skins/silver/skin.css +++ /dev/null @@ -1,297 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * screen.css - * main stylesheet for the default WYMeditor skin - * See the documentation for more info. - * - * File Authors: - * Daniel Reszka (d.reszka a-t wymeditor dotorg) - * Scott Edwin Lewis -*/ - -/*TRYING TO RESET STYLES THAT MAY INTERFERE WITH WYMEDITOR*/ - .wym_skin_silver p, .wym_skin_silver h2, .wym_skin_silver h3, - .wym_skin_silver ul, .wym_skin_silver li { background: transparent url(); margin: 0; padding: 0; border-width:0; list-style: none; } - - -/*HIDDEN BY DEFAULT*/ - .wym_skin_silver .wym_area_left { display: none; } - .wym_skin_silver .wym_area_right { display: block; } - - -/*TYPO*/ - .wym_skin_silver { font-size: 62.5%; font-family: Verdana, Arial, sans-serif; } - .wym_skin_silver h2 { font-size: 110%; /* = 11px */} - .wym_skin_silver h3 { font-size: 100%; /* = 10px */} - .wym_skin_silver li { font-size: 100%; /* = 10px */} - - -/*WYM_BOX*/ - .wym_skin_silver { border: 1px solid gray; background: #f2f2f2; padding: 0px; margin: 0px;} - - /*auto-clear the wym_box*/ - .wym_skin_silver:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } - * html .wym_skin_silver { height: 1%;} - - -/*WYM_HTML*/ - .wym_skin_silver .wym_html { width: 98%;} - .wym_skin_silver .wym_html textarea { width: 100%; height: 200px; border: 1px solid gray; background: white; } - - -/*WYM_IFRAME*/ - .wym_skin_silver .wym_iframe { width: 98%;} - .wym_skin_silver .wym_iframe iframe { width: 100%; height: 200px; border: 1px solid gray; background: white } - - -/*AREAS*/ - .wym_skin_silver .wym_area_left { width: 150px; float: left;} - .wym_skin_silver .wym_area_right { width: 150px; float: right;} - .wym_skin_silver .wym_area_bottom { height: 1%; clear: both;} - * html .wym_skin_silver .wym_area_main { height: 1%;} - * html .wym_skin_silver .wym_area_top { height: 1%;} - *+html .wym_skin_silver .wym_area_top { height: 1%;} - -/*SECTIONS SYSTEM*/ - - /*common defaults for all sections*/ - .wym_skin_silver .wym_section { margin-bottom: 5px; } - .wym_skin_silver .wym_section h2, - .wym_skin_silver .wym_section h3 { padding: 1px 3px; margin: 0; cursor: pointer; } - .wym_skin_silver .wym_section a { padding: 5px 0px 0px 10px; display: block; text-decoration: none; color: black; } - .wym_skin_silver .wym_section a:hover { /*background-color: #DDD;*/} - /*hide section titles by default*/ - .wym_skin_silver .wym_section h2 { display: none; } - /*disable any margin-collapse*/ - .wym_skin_silver .wym_section { padding-top: 1px; padding-bottom: 1px; } - /*auto-clear sections*/ - .wym_skin_silver .wym_section ul:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; padding: 0px; } - * html .wym_skin_silver .wym_section ul { height: 1%;} - .wym_skin_silver .wym_section li {} - - /*option: add this class to a section to make it render as a panel*/ - .wym_skin_silver .wym_panel { } - .wym_skin_silver .wym_panel h2 { display: block; font-size: 11px; } - - /*option: add this class to a section to make it render as a dropdown menu*/ - .wym_skin_silver .wym_dropdown h2 { display: block; font-size: 11px;} - .wym_skin_silver .wym_dropdown ul { position: absolute; background: white; padding: 0px;} - .wym_skin_silver .wym_dropdown:hover ul, - .wym_skin_silver .wym_dropdown.hover ul { cursor: pointer;} - .wym_skin_silver .wym_dropdown ul li a {/*border-bottom: 1px solid #AAA;*/} - - /*option: add this class to a section to make its elements render buttons (icons are only available for the wym_tools section for now)*/ - .wym_skin_silver .wym_buttons li { float:left;} - .wym_skin_silver .wym_buttons a { width: 20px; height: 20px; overflow: hidden; padding: 2px; text-decoration: none !important; border: 1px solid #666; } - .wym_skin_silver .wym_buttons a:hover { text-decoration: none !important; border: 1px solid #000;} - /*image replacements*/ - .wym_skin_silver .wym_buttons li a { background: url(images/icons.silver.gif) no-repeat; text-indent: -9999px;} - .wym_skin_silver .wym_buttons li.wym_tools_strong a { background-position: 0 -384px;} - .wym_skin_silver .wym_buttons li.wym_tools_emphasis a { background-position: 0 -24px;} - .wym_skin_silver .wym_buttons li.wym_tools_superscript a { background-position: 0 -432px;} - .wym_skin_silver .wym_buttons li.wym_tools_subscript a { background-position: 0 -456px;} - .wym_skin_silver .wym_buttons li.wym_tools_ordered_list a { background-position: 0 -48px;} - .wym_skin_silver .wym_buttons li.wym_tools_unordered_list a{ background-position: 0 -72px;} - .wym_skin_silver .wym_buttons li.wym_tools_indent a { background-position: 0 -600px;} - .wym_skin_silver .wym_buttons li.wym_tools_outdent a { background-position: 0 -624px;} - .wym_skin_silver .wym_buttons li.wym_tools_undo a { background-position: 0 -504px;} - .wym_skin_silver .wym_buttons li.wym_tools_redo a { background-position: 0 -528px;} - .wym_skin_silver .wym_buttons li.wym_tools_link a { background-position: 0 -96px;} - .wym_skin_silver .wym_buttons li.wym_tools_unlink a { background-position: 0 -168px;} - .wym_skin_silver .wym_buttons li.wym_tools_image a { background-position: 0 -120px;} - .wym_skin_silver .wym_buttons li.wym_tools_table a { background-position: 0 -144px;} - .wym_skin_silver .wym_buttons li.wym_tools_paste a { background-position: 0 -552px;} - .wym_skin_silver .wym_buttons li.wym_tools_html a { background-position: 0 -192px;} - .wym_skin_silver .wym_buttons li.wym_tools_preview a { background-position: 0 -408px;} - .wym_skin_silver .wym_buttons li.wym_tools_gadget a { background-position: 0 -576px;} - - .wym_skin_silver .wym_buttons li.wym_tools_strong a:hover { background-position: -24px -384px;} - .wym_skin_silver .wym_buttons li.wym_tools_emphasis a:hover { background-position: -24px -24px;} - .wym_skin_silver .wym_buttons li.wym_tools_superscript a:hover { background-position: -24px -432px;} - .wym_skin_silver .wym_buttons li.wym_tools_subscript a:hover { background-position: -24px -456px;} - .wym_skin_silver .wym_buttons li.wym_tools_ordered_list a:hover { background-position: -24px -48px;} - .wym_skin_silver .wym_buttons li.wym_tools_unordered_list a:hover{ background-position: -24px -72px;} - .wym_skin_silver .wym_buttons li.wym_tools_indent a:hover { background-position: -24px -600px;} - .wym_skin_silver .wym_buttons li.wym_tools_outdent a:hover { background-position: -24px -624px;} - .wym_skin_silver .wym_buttons li.wym_tools_undo a:hover { background-position: -24px -504px;} - .wym_skin_silver .wym_buttons li.wym_tools_redo a:hover { background-position: -24px -528px;} - .wym_skin_silver .wym_buttons li.wym_tools_link a:hover { background-position: -24px -96px;} - .wym_skin_silver .wym_buttons li.wym_tools_unlink a:hover { background-position: -24px -168px;} - .wym_skin_silver .wym_buttons li.wym_tools_image a:hover { background-position: -24px -120px;} - .wym_skin_silver .wym_buttons li.wym_tools_table a:hover { background-position: -24px -144px;} - .wym_skin_silver .wym_buttons li.wym_tools_paste a:hover { background-position: -24px -552px;} - .wym_skin_silver .wym_buttons li.wym_tools_html a:hover { background-position: -24px -192px;} - .wym_skin_silver .wym_buttons li.wym_tools_preview a:hover { background-position: -24px -408px;} - .wym_skin_silver .wym_buttons li.wym_tools_gadget a:hover { background-position: -24px -576px;} - -/*DECORATION*/ - .wym_skin_silver .wym_section h2 { background: #ddd; border: none;} - .wym_skin_silver .wym_section h2 span { color: gray;} - .wym_skin_silver .wym_panel { padding: 0; border: solid gray; border-width: 0px;} - .wym_skin_silver .wym_panel ul { margin: 2px 0 5px; } - .wym_skin_silver .wym_dropdown { padding: 0; border: none; } - .wym_skin_silver .wym_dropdown ul { border: none; margin-left: -1px; padding: 0px;} - -/*DIALOGS*/ - .wym_dialog div.row { margin-bottom: 5px;} - .wym_dialog div.row input { margin-right: 5px;} - .wym_dialog div.row label { float: left; width: 150px; display: block; text-align: right; margin-right: 10px; } - .wym_dialog div.row-indent { padding-left: 160px; } - /*autoclearing*/ - .wym_dialog div.row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } - .wym_dialog div.row { display: inline-block; } - /* Hides from IE-mac \*/ - * html .wym_dialog div.row { height: 1%; } - .wym_dialog div.row { display: block; } - /* End hide from IE-mac */ - -/*WYMEDITOR_LINK*/ - a.wym_wymeditor_link - { - text-indent: -9999px; - float: right; - display: block; - width: 50px; - height: 15px; - background: url(../wymeditor_icon.png); - background-position: 1px 1px; - background-repeat: no-repeat; - overflow: hidden; - text-decoration: none; - padding: 1px !important; - border: 1px solid #333 !important; - background-color: #FFF !important; - } - -.wym_box -{ - padding: 0px !important; - margin: 0px; -} -.wym_inner -{ - border-left: 1px solid #FFF; - border-top: 1px solid #FFF; - border-right: 1px solid #FFF; - border-bottom: 1px solid #FFF; - padding: 5px; - background-color: #B8C1C4; - height: auto; -} - -.clear {clear: both;} - -div.wym_dropdown -{ - cursor: pointer; - width: 138px !important; - margin: 0px 4px 10px 0px !important; - padding: 0px; - z-index: 1001; - display: block; - border: 1px solid red; -} - -div.wym_dropdown ul -{ - display: none; - width: 124px; - padding: 0px !important; - margin: 0px !important; - list-style-type: none; - list-style-image: none; - z-index: 1002; - position: absolute; - border-top: 1px solid #AAA; -} - -div.wym_dropdown ul li -{ - width: 146px; - height: 20px; - padding: 0px !important; - margin: 0px; - border: 1px solid #777; - border-top: none; - background: #DDD; - list-style-image: none; -} - -div.wym_dropdown h2 -{ - width: 138px; - height: 16px; - color: #000 !important; - background-image: url(images/bg.selector.silver.gif) !important; - background-position: 0px -18px; - background-repeat: no-repeat; - border: none; - font-family: "Trebuchet MS", Verdana, Arial, Helvetica, Sanserif; - font-size: 12px !important; - font-weight: bold !important; - padding: 2px 0px 0px 10px !important; - margin: 0px !important; -} - -.wym_skin_silver .wym_panel h2 -{ - width: 138px; - height: 16px; - color: #000 !important; - background-image: url(images/bg.header.gif) !important; - background-position: 0px 0px; - background-repeat: no-repeat; - border: none; - font-family: "Trebuchet MS", Verdana, Arial, Helvetica, Sanserif; - font-size: 12px !important; - font-weight: bold !important; - padding: 2px 0px 0px 10px !important; - margin: 0px !important; -} - -.wym_skin_silver .wym_panel ul -{ - margin-top: 0px !important; -} - -.wym_skin_silver .wym_panel ul li -{ - width: 146px; - height: 20px; - padding: 0px !important; - margin: 0px; - border: 1px solid #777; - border-top: none; - background: #DDD; - list-style-image: none; -} - -.wym_skin_silver .wym_panel a, -div.wym_dropdown a -{ - text-decoration: none; - font-family: "Trebuchet MS", Verdana, Arial, Helvetica, Sanserif; - font-size: 12px; - padding: 5px 0px 0px 10px !important; - display: block; - width: 136px; - height: 15px; - color: #000; - text-align: left !important; - margin-left: 0px !important; -} - -div.wym_dropdown a:hover, -.wym_skin_silver .wym_panel a:hover -{ - background: #BBB; - border-bottom: none !important; -} diff --git a/wymeditor/skins/silver/skin.js b/wymeditor/skins/silver/skin.js deleted file mode 100644 index 948ed91..0000000 --- a/wymeditor/skins/silver/skin.js +++ /dev/null @@ -1,61 +0,0 @@ -/* This file is part of the Silver skin for WYMeditor by Scott Edwin Lewis */ - -jQuery.fn.selectify = function() { - return this.each(function() { - jQuery(this).hover( - function() { - jQuery("h2", this).css("background-position", "0px -18px"); - jQuery("ul", this).fadeIn("fast"); - }, - function() { - jQuery("h2", this).css("background-position", ""); - jQuery("ul", this).fadeOut("fast"); - } - ); - }); -}; - -WYMeditor.SKINS['silver'] = { - - init: function(wym) { - - //add some elements to improve the rendering - jQuery(wym._box) - .append('
    ') - .wrapInner('
    '); - - //render following sections as panels - jQuery(wym._box).find(wym._options.classesSelector) - .addClass("wym_panel"); - - //render following sections as buttons - jQuery(wym._box).find(wym._options.toolsSelector) - .addClass("wym_buttons"); - - //render following sections as dropdown menus - jQuery(wym._box).find(wym._options.containersSelector) - .addClass("wym_dropdown") - .selectify(); - - // auto add some margin to the main area sides if left area - // or right area are not empty (if they contain sections) - jQuery(wym._box).find("div.wym_area_right ul") - .parents("div.wym_area_right").show() - .parents(wym._options.boxSelector) - .find("div.wym_area_main") - .css({"margin-right": "155px"}); - - jQuery(wym._box).find("div.wym_area_left ul") - .parents("div.wym_area_left").show() - .parents(wym._options.boxSelector) - .find("div.wym_area_main") - .css({"margin-left": "155px"}); - - //make hover work under IE < 7 - jQuery(wym._box).find(".wym_section").hover(function(){ - jQuery(this).addClass("hover"); - },function(){ - jQuery(this).removeClass("hover"); - }); - } -}; diff --git a/wymeditor/skins/twopanels/icons.png b/wymeditor/skins/twopanels/icons.png deleted file mode 100644 index c6eb463f11754bd3ab5dedd05dd061a5039a0493..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3651 zcmd^C`8V5(692}|t*fOTEiGLvrPfkZt+lt5SX)I@t7^L`UDO&|tyN1R5?d54QHtW) zmy4E+{_4kf}#Mx zmdV3@5IVTkW$1?*<0|2Pjm*-ofoN!4GGq5E9yix{$ zw;}+r=K%o8ng9Sj1c0q|0MIM|0P#RUwL3!qzz$g7vok)?uvjb%03Zv$x_})}C>)K( z+TCTPre-ji$B698r1X-(30i6itsT#Tc)>_ZtcF&csoCAV{X+}?Zl9Ee)JoRl7n!-W z>vC>m=QUp0zwPr!(p(~XVI{2e^3|#zhuAjS=Wm0T3}8mDe|e%B_@tsu>fN`!_L2P-{^igtlD!`iUb9irz41P~ z_Dv+5OC?xP*3vk9#yXy48_^3%B{@d*ImhB4K^SO!W#hmGuXc>6iW4~Mr(H~+!#kX3 zO0O?s7*$6qYaG%%CMOSbeG$5>iQPAEXW$e=K*-C2obUG{^IuNJA|vq>;7X1mt6hTp#(F%scp0{SmZ1Hp2XCoE@R;WnJ21 zVpVVx%6|rKFq?gE2mvPc)#20b52oE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?< z>gDbE%eOvZzhaT>LSuy$ZoE!gyrvEji&u0!3w0;hxni<|1Y#Hj_%`eo_i0N2_8LY1 zltcf5eGMqMc}4oDsJ!3@4w_m9rf#rTfB@`m$DCymhbNn9j>%4fuIjOYLB&%=0U@;B z=5&1GRHX^0s|tBdDB1DNqwfljg@d-uesRhIoTNE6mKcD>H7W%;x}#5?H^AK3%BaE+ G67^roH{M+U diff --git a/wymeditor/skins/twopanels/skin.css b/wymeditor/skins/twopanels/skin.css deleted file mode 100644 index 7e6b8fd..0000000 --- a/wymeditor/skins/twopanels/skin.css +++ /dev/null @@ -1,134 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * screen.css - * main stylesheet for the WYMeditor skin - * See the documentation for more info. - * - * File Authors: - * Daniel Reszka (d.reszka a-t wymeditor dotorg) - * Jean-Francois Hovinne -*/ - -/*TRYING TO RESET STYLES THAT MAY INTERFERE WITH WYMEDITOR*/ - .wym_skin_twopanels p, .wym_skin_twopanels h2, .wym_skin_twopanels h3, - .wym_skin_twopanels ul, .wym_skin_twopanels li { background: transparent url(); margin: 0; padding: 0; border-width:0; list-style: none; } - - -/*HIDDEN BY DEFAULT*/ - .wym_skin_twopanels .wym_area_left { display: block; } - .wym_skin_twopanels .wym_area_right { display: block; } - - -/*TYPO*/ - .wym_skin_twopanels { font-size: 62.5%; font-family: Verdana, Arial, sans-serif; } - .wym_skin_twopanels h2 { font-size: 110%; /* = 11px */} - .wym_skin_twopanels h3 { font-size: 100%; /* = 10px */} - .wym_skin_twopanels li { font-size: 100%; /* = 10px */} - - -/*WYM_BOX*/ - .wym_skin_twopanels { border: 1px solid gray; background: #f2f2f2; padding: 5px} - - /*auto-clear the wym_box*/ - .wym_skin_twopanels:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } - * html .wym_skin_twopanels { height: 1%;} - - -/*WYM_HTML*/ - .wym_skin_twopanels .wym_html { width: 98%;} - .wym_skin_twopanels .wym_html textarea { width: 100%; height: 200px; border: 1px solid gray; background: white; } - - -/*WYM_IFRAME*/ - .wym_skin_twopanels .wym_iframe { width: 98%;} - .wym_skin_twopanels .wym_iframe iframe { width: 100%; height: 200px; border: 1px solid gray; background: white } - - -/*AREAS*/ - .wym_skin_twopanels .wym_area_left { width: 100px; float: left;} - .wym_skin_twopanels .wym_area_right { width: 150px; float: right;} - .wym_skin_twopanels .wym_area_bottom { height: 1%; clear: both;} - * html .wym_skin_twopanels .wym_area_main { height: 1%;} - * html .wym_skin_twopanels .wym_area_top { height: 1%;} - *+html .wym_skin_twopanels .wym_area_top { height: 1%;} - -/*SECTIONS SYSTEM*/ - - /*common defaults for all sections*/ - .wym_skin_twopanels .wym_section { margin-bottom: 5px; } - .wym_skin_twopanels .wym_section h2, - .wym_skin_twopanels .wym_section h3 { padding: 1px 3px; margin: 0; } - .wym_skin_twopanels .wym_section a { padding: 0 3px; display: block; text-decoration: none; color: black; } - .wym_skin_twopanels .wym_section a:hover { background-color: yellow; } - /*hide section titles by default*/ - .wym_skin_twopanels .wym_section h2 { display: none; } - /*disable any margin-collapse*/ - .wym_skin_twopanels .wym_section { padding-top: 1px; padding-bottom: 1px; } - /*auto-clear sections*/ - .wym_skin_twopanels .wym_section ul:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } - * html .wym_skin_twopanels .wym_section ul { height: 1%;} - - /*option: add this class to a section to make it render as a panel*/ - .wym_skin_twopanels .wym_panel { } - .wym_skin_twopanels .wym_panel h2 { display: block; } - - /*option: add this class to a section to make it render as a dropdown menu*/ - .wym_skin_twopanels .wym_dropdown h2 { display: block; } - .wym_skin_twopanels .wym_dropdown ul { display: none; position: absolute; background: white; } - .wym_skin_twopanels .wym_dropdown:hover ul, - .wym_skin_twopanels .wym_dropdown.hover ul { display: block; } - - /*option: add this class to a section to make its elements render buttons (icons are only available for the wym_tools section for now)*/ - .wym_skin_twopanels .wym_buttons li { float:left;} - .wym_skin_twopanels .wym_buttons a { width: 20px; height: 20px; overflow: hidden; padding: 2px } - /*image replacements*/ - .wym_skin_twopanels .wym_buttons li a { background: url(icons.png) no-repeat; text-indent: -9999px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_strong a { background-position: 0 -382px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_emphasis a { background-position: 0 -22px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_superscript a { background-position: 0 -430px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_subscript a { background-position: 0 -454px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_ordered_list a { background-position: 0 -48px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_unordered_list a{ background-position: 0 -72px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_indent a { background-position: 0 -574px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_outdent a { background-position: 0 -598px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_undo a { background-position: 0 -502px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_redo a { background-position: 0 -526px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_link a { background-position: 0 -96px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_unlink a { background-position: 0 -168px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_image a { background-position: 0 -121px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_table a { background-position: 0 -144px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_paste a { background-position: 0 -552px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_html a { background-position: 0 -193px;} - .wym_skin_twopanels .wym_buttons li.wym_tools_preview a { background-position: 0 -408px;} - -/*DECORATION*/ - .wym_skin_twopanels .wym_section h2 { background: #ddd; border: solid gray; border-width: 0 0 1px;} - .wym_skin_twopanels .wym_section h2 span { color: gray;} - .wym_skin_twopanels .wym_panel { padding: 0; border: solid gray; border-width: 1px; background: white;} - .wym_skin_twopanels .wym_panel ul { margin: 2px 0 5px; } - .wym_skin_twopanels .wym_dropdown { padding: 0; border: solid gray; border-width: 1px 1px 0 1px; } - .wym_skin_twopanels .wym_dropdown ul { border: solid gray; border-width: 0 1px 1px 1px; margin-left: -1px; padding: 5px 10px 5px 3px;} - -/*DIALOGS*/ - .wym_dialog div.row { margin-bottom: 5px;} - .wym_dialog div.row input { margin-right: 5px;} - .wym_dialog div.row label { float: left; width: 150px; display: block; text-align: right; margin-right: 10px; } - .wym_dialog div.row-indent { padding-left: 160px; } - /*autoclearing*/ - .wym_dialog div.row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } - .wym_dialog div.row { display: inline-block; } - /* Hides from IE-mac \*/ - * html .wym_dialog div.row { height: 1%; } - .wym_dialog div.row { display: block; } - /* End hide from IE-mac */ - -/*WYMEDITOR_LINK*/ - a.wym_wymeditor_link { text-indent: -9999px; float: right; display: block; width: 50px; height: 15px; background: url(../wymeditor_icon.png); overflow: hidden; text-decoration: none; } diff --git a/wymeditor/skins/twopanels/skin.js b/wymeditor/skins/twopanels/skin.js deleted file mode 100644 index e82efc5..0000000 --- a/wymeditor/skins/twopanels/skin.js +++ /dev/null @@ -1,39 +0,0 @@ -WYMeditor.SKINS['twopanels'] = { - - init: function(wym) { - - //move the containers panel to the left area - jQuery(wym._box).find(wym._options.containersSelector) - .appendTo("div.wym_area_left"); - - //render following sections as panels - jQuery(wym._box).find(wym._options.classesSelector + ', ' - + wym._options.containersSelector) - .addClass("wym_panel"); - - //render following sections as buttons - jQuery(wym._box).find(wym._options.toolsSelector) - .addClass("wym_buttons"); - - // auto add some margin to the main area sides if left area - // or right area are not empty (if they contain sections) - jQuery(wym._box).find("div.wym_area_right ul") - .parents("div.wym_area_right").show() - .parents(wym._options.boxSelector) - .find("div.wym_area_main") - .css({"margin-right": "155px"}); - - jQuery(wym._box).find("div.wym_area_left ul") - .parents("div.wym_area_left").show() - .parents(wym._options.boxSelector) - .find("div.wym_area_main") - .css({"margin-left": "115px"}); - - //make hover work under IE < 7 - jQuery(wym._box).find(".wym_section").hover(function(){ - jQuery(this).addClass("hover"); - },function(){ - jQuery(this).removeClass("hover"); - }); - } -}; diff --git a/wymeditor/skins/wymeditor_icon.png b/wymeditor/skins/wymeditor_icon.png deleted file mode 100644 index d4fc155fd9f3340c9b6b062775ee5c478fe925ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1028 zcmV+f1pE7mP)&r_pQr5Y@4Udpp{A~|wY%Be;Qjsm*xKFp_xQ=o(Za^ezrx3@vbn;>%A%;R z?(gyK?(e@|L*4f?A)Y;3;(!j&XyT8P^yuq`$y{oUbrmM2I zyTQT4$+^A5mYk%Qou#qp7gW&(oNkrpe9GlbNEA zm7c-H%DutH$;;4-lAFcI&AgCMga7~n3Q0skRCwByiu-%nP#nfj5KK%L5fx!>QKD@& z=2BX%tPw%osuy}iw^=u~Y&H|g)_=W+XMLXj>hrwk`+dLfdBNY60S_w!R7lCY)U_8{ z2%OjI6W)@yqYjwx1tHaf1oNr4nRk?bTrs6ntSdDrB zc|fLSC||p!s(h59C_vM6VlVJ!Yp>;g*JCD3LC>izPEQI%56j&+I=1XApLH`~117&@ zdY%|f13?gq+lJRR%%686JHs#%1KDUX6`k`U++#2FpSO+Z2wqtHL4}!j(_GEjb z>l(UTUnB2h9W|O6t?e{N%{AIl1!~)~55Biy9UurYW+TB@pX%EEcp@v*MJ%~{|=yVM0pi-$c8ic2Tn~Tbi58=7Muv6lWNf-+u%ONrXX9cN= zjPjHR93=M>PFM%Zf^u1LUjEAbout...

    dp.SyntaxHighlighter

    Version: {V}

    http://www.dreamprojections.com/SyntaxHighlighter

    ©2004-2005 Alex Gorbatchev. All right reserved.
    ', + + // tools + ExpandCode : '+ expand code', + ViewPlain : 'view plain', + Print : 'print', + CopyToClipboard : 'copy to clipboard', + About : '?', + + CopiedToClipboard : 'The code is in your clipboard now.' +}; + +dp.SyntaxHighlighter = dp.sh; + +// +// Dialog and toolbar functions +// + +dp.sh.Utils.Expand = function(sender) +{ + var table = sender; + var span = sender; + + // find the span in which the text label and pipe contained so we can hide it + while(span != null && span.tagName != 'SPAN') + span = span.parentNode; + + // find the table + while(table != null && table.tagName != 'TABLE') + table = table.parentNode; + + // remove the 'expand code' button + span.parentNode.removeChild(span); + + table.tBodies[0].className = 'show'; + table.parentNode.style.height = '100%'; // containing div isn't getting updated properly when the TBODY is shown +} + +// opens a new windows and puts the original unformatted source code inside. +dp.sh.Utils.ViewSource = function(sender) +{ + var code = sender.parentNode.originalCode; + var wnd = window.open('', '_blank', 'width=750, height=400, location=0, resizable=1, menubar=0, scrollbars=1'); + + code = code.replace(/' + code + ''); + wnd.document.close(); +} + +// copies the original source code in to the clipboard (IE only) +dp.sh.Utils.ToClipboard = function(sender) +{ + var code = sender.parentNode.originalCode; + + // This works only for IE. There's a way to make it work with Mozilla as well, + // but it requires security settings changed on the client, which isn't by + // default, so 99% of users won't have it working anyways. + if(window.clipboardData) + { + window.clipboardData.setData('text', code); + + alert(dp.sh.Strings.CopiedToClipboard); + } +} + +// creates an invisible iframe, puts the original source code inside and prints it +dp.sh.Utils.PrintSource = function(sender) +{ + var td = sender.parentNode; + var code = td.processedCode; + var iframe = document.createElement('IFRAME'); + var doc = null; + var wnd = + + // this hides the iframe + iframe.style.cssText = 'position:absolute; width:0px; height:0px; left:-5px; top:-5px;'; + + td.appendChild(iframe); + + doc = iframe.contentWindow.document; + code = code.replace(/' + code + ''); + doc.close(); + + iframe.contentWindow.focus(); + iframe.contentWindow.print(); + + td.removeChild(iframe); +} + +dp.sh.Utils.About = function() +{ + var wnd = window.open('', '_blank', 'dialog,width=320,height=150,scrollbars=0'); + var doc = wnd.document; + + var styles = document.getElementsByTagName('style'); + var links = document.getElementsByTagName('link'); + + doc.write(dp.sh.Strings.AboutDialog.replace('{V}', dp.sh.Version)); + + // copy over ALL the styles from the parent page + for(var i = 0; i < styles.length; i++) + doc.write(''); + + for(var i = 0; i < links.length; i++) + if(links[i].rel.toLowerCase() == 'stylesheet') + doc.write(''); + + doc.close(); + wnd.focus(); +} + +// +// Match object +// +dp.sh.Match = function(value, index, css) +{ + this.value = value; + this.index = index; + this.length = value.length; + this.css = css; +} + +// +// Highlighter object +// +dp.sh.Highlighter = function() +{ + this.addGutter = true; + this.addControls = true; + this.collapse = false; + this.tabsToSpaces = true; +} + +// static callback for the match sorting +dp.sh.Highlighter.SortCallback = function(m1, m2) +{ + // sort matches by index first + if(m1.index < m2.index) + return -1; + else if(m1.index > m2.index) + return 1; + else + { + // if index is the same, sort by length + if(m1.length < m2.length) + return -1; + else if(m1.length > m2.length) + return 1; + } + return 0; +} + +// gets a list of all matches for a given regular expression +dp.sh.Highlighter.prototype.GetMatches = function(regex, css) +{ + var index = 0; + var match = null; + + while((match = regex.exec(this.code)) != null) + { + this.matches[this.matches.length] = new dp.sh.Match(match[0], match.index, css); + } +} + +dp.sh.Highlighter.prototype.AddBit = function(str, css) +{ + var span = document.createElement('span'); + + str = str.replace(/&/g, '&'); + str = str.replace(/ /g, ' '); + str = str.replace(/'); + + // when adding a piece of code, check to see if it has line breaks in it + // and if it does, wrap individual line breaks with span tags + if(css != null) + { + var regex = new RegExp('
    ', 'gi'); + + if(regex.test(str)) + { + var lines = str.split(' 
    '); + + str = ''; + + for(var i = 0; i < lines.length; i++) + { + span = document.createElement('SPAN'); + span.className = css; + span.innerHTML = lines[i]; + + this.div.appendChild(span); + + // don't add a
    for the last line + if(i + 1 < lines.length) + this.div.appendChild(document.createElement('BR')); + } + } + else + { + span.className = css; + span.innerHTML = str; + this.div.appendChild(span); + } + } + else + { + span.innerHTML = str; + this.div.appendChild(span); + } +} + +// checks if one match is inside any other match +dp.sh.Highlighter.prototype.IsInside = function(match) +{ + if(match == null || match.length == 0) + return; + + for(var i = 0; i < this.matches.length; i++) + { + var c = this.matches[i]; + + if(c == null) + continue; + + if((match.index > c.index) && (match.index <= c.index + c.length)) + return true; + } + + return false; +} + +dp.sh.Highlighter.prototype.ProcessRegexList = function() +{ + for(var i = 0; i < this.regexList.length; i++) + this.GetMatches(this.regexList[i].regex, this.regexList[i].css); +} + +dp.sh.Highlighter.prototype.ProcessSmartTabs = function(code) +{ + var lines = code.split('\n'); + var result = ''; + var tabSize = 4; + var tab = '\t'; + + // This function inserts specified amount of spaces in the string + // where a tab is while removing that given tab. + function InsertSpaces(line, pos, count) + { + var left = line.substr(0, pos); + var right = line.substr(pos + 1, line.length); // pos + 1 will get rid of the tab + var spaces = ''; + + for(var i = 0; i < count; i++) + spaces += ' '; + + return left + spaces + right; + } + + // This function process one line for 'smart tabs' + function ProcessLine(line, tabSize) + { + if(line.indexOf(tab) == -1) + return line; + + var pos = 0; + + while((pos = line.indexOf(tab)) != -1) + { + // This is pretty much all there is to the 'smart tabs' logic. + // Based on the position within the line and size of a tab, + // calculate the amount of spaces we need to insert. + var spaces = tabSize - pos % tabSize; + + line = InsertSpaces(line, pos, spaces); + } + + return line; + } + + // Go through all the lines and do the 'smart tabs' magic. + for(var i = 0; i < lines.length; i++) + result += ProcessLine(lines[i], tabSize) + '\n'; + + return result; +} + +dp.sh.Highlighter.prototype.SwitchToTable = function() +{ + // thanks to Lachlan Donald from SitePoint.com for this
    tag fix. + var html = this.div.innerHTML.replace(/<(br)\/?>/gi, '\n'); + var lines = html.split('\n'); + var row = null; + var cell = null; + var tBody = null; + var html = ''; + var pipe = ' | '; + + // creates an anchor to a utility + function UtilHref(util, text) + { + return '' + text + ''; + } + + tBody = document.createElement('TBODY'); // can be created and all others go to tBodies collection. + + this.table.appendChild(tBody); + + if(this.addGutter == true) + { + row = tBody.insertRow(-1); + cell = row.insertCell(-1); + cell.className = 'tools-corner'; + } + + if(this.addControls == true) + { + var tHead = document.createElement('THEAD'); // controls will be placed in here + this.table.appendChild(tHead); + + row = tHead.insertRow(-1); + + // add corner if there's a gutter + if(this.addGutter == true) + { + cell = row.insertCell(-1); + cell.className = 'tools-corner'; + } + + cell = row.insertCell(-1); + + // preserve some variables for the controls + cell.originalCode = this.originalCode; + cell.processedCode = this.code; + cell.className = 'tools'; + + if(this.collapse == true) + { + tBody.className = 'hide'; + cell.innerHTML += '' + UtilHref('Expand', dp.sh.Strings.ExpandCode) + '' + pipe + ''; + } + + cell.innerHTML += UtilHref('ViewSource', dp.sh.Strings.ViewPlain) + pipe + UtilHref('PrintSource', dp.sh.Strings.Print); + + // IE has this clipboard object which is easy enough to use + if(window.clipboardData) + cell.innerHTML += pipe + UtilHref('ToClipboard', dp.sh.Strings.CopyToClipboard); + + cell.innerHTML += pipe + UtilHref('About', dp.sh.Strings.About); + } + + for(var i = 0, lineIndex = this.firstLine; i < lines.length - 1; i++, lineIndex++) + { + row = tBody.insertRow(-1); + + if(this.addGutter == true) + { + cell = row.insertCell(-1); + cell.className = 'gutter'; + cell.innerHTML = lineIndex; + } + + cell = row.insertCell(-1); + cell.className = 'line' + (i % 2 + 1); // uses .line1 and .line2 css styles for alternating lines + cell.innerHTML = lines[i]; + } + + this.div.innerHTML = ''; +} + +dp.sh.Highlighter.prototype.Highlight = function(code) +{ + function Trim(str) + { + return str.replace(/^\s*(.*?)[\s\n]*$/g, '$1'); + } + + function Chop(str) + { + return str.replace(/\n*$/, '').replace(/^\n*/, ''); + } + + function Unindent(str) + { + var lines = str.split('\n'); + var indents = new Array(); + var regex = new RegExp('^\\s*', 'g'); + var min = 1000; + + // go through every line and check for common number of indents + for(var i = 0; i < lines.length && min > 0; i++) + { + if(Trim(lines[i]).length == 0) + continue; + + var matches = regex.exec(lines[i]); + + if(matches != null && matches.length > 0) + min = Math.min(matches[0].length, min); + } + + // trim minimum common number of white space from the begining of every line + if(min > 0) + for(var i = 0; i < lines.length; i++) + lines[i] = lines[i].substr(min); + + return lines.join('\n'); + } + + // This function returns a portions of the string from pos1 to pos2 inclusive + function Copy(string, pos1, pos2) + { + return string.substr(pos1, pos2 - pos1); + } + + var pos = 0; + + this.originalCode = code; + this.code = Chop(Unindent(code)); + this.div = document.createElement('DIV'); + this.table = document.createElement('TABLE'); + this.matches = new Array(); + + if(this.CssClass != null) + this.table.className = this.CssClass; + + // replace tabs with spaces + if(this.tabsToSpaces == true) + this.code = this.ProcessSmartTabs(this.code); + + this.table.border = 0; + this.table.cellSpacing = 0; + this.table.cellPadding = 0; + + this.ProcessRegexList(); + + // if no matches found, add entire code as plain text + if(this.matches.length == 0) + { + this.AddBit(this.code, null); + this.SwitchToTable(); + return; + } + + // sort the matches + this.matches = this.matches.sort(dp.sh.Highlighter.SortCallback); + + // The following loop checks to see if any of the matches are inside + // of other matches. This process would get rid of highligting strings + // inside comments, keywords inside strings and so on. + for(var i = 0; i < this.matches.length; i++) + if(this.IsInside(this.matches[i])) + this.matches[i] = null; + + // Finally, go through the final list of matches and pull the all + // together adding everything in between that isn't a match. + for(var i = 0; i < this.matches.length; i++) + { + var match = this.matches[i]; + + if(match == null || match.length == 0) + continue; + + this.AddBit(Copy(this.code, pos, match.index), null); + this.AddBit(match.value, match.css); + + pos = match.index + match.length; + } + + this.AddBit(this.code.substr(pos), null); + + this.SwitchToTable(); +} + +dp.sh.Highlighter.prototype.GetKeywords = function(str) +{ + return '\\b' + str.replace(/ /g, '\\b|\\b') + '\\b'; +} + +// highlightes all elements identified by name and gets source code from specified property +dp.sh.HighlightAll = function(name, showGutter /* optional */, showControls /* optional */, collapseAll /* optional */, firstLine /* optional */) +{ + function FindValue() + { + var a = arguments; + + for(var i = 0; i < a.length; i++) + { + if(a[i] == null) + continue; + + if(typeof(a[i]) == 'string' && a[i] != '') + return a[i] + ''; + + if(typeof(a[i]) == 'object' && a[i].value != '') + return a[i].value + ''; + } + + return null; + } + + function IsOptionSet(value, list) + { + for(var i = 0; i < list.length; i++) + if(list[i] == value) + return true; + + return false; + } + + function GetOptionValue(name, list, defaultValue) + { + var regex = new RegExp('^' + name + '\\[(\\w+)\\]$', 'gi'); + var matches = null; + + for(var i = 0; i < list.length; i++) + if((matches = regex.exec(list[i])) != null) + return matches[1]; + + return defaultValue; + } + + var elements = document.getElementsByName(name); + var highlighter = null; + var registered = new Object(); + var propertyName = 'value'; + + // if no code blocks found, leave + if(elements == null) + return; + + // register all brushes + for(var brush in dp.sh.Brushes) + { + var aliases = dp.sh.Brushes[brush].Aliases; + + if(aliases == null) + continue; + + for(var i = 0; i < aliases.length; i++) + registered[aliases[i]] = brush; + } + + for(var i = 0; i < elements.length; i++) + { + var element = elements[i]; + var options = FindValue( + element.attributes['class'], element.className, + element.attributes['language'], element.language + ); + var language = ''; + + if(options == null) + continue; + + options = options.split(':'); + + language = options[0].toLowerCase(); + + if(registered[language] == null) + continue; + + // instantiate a brush + highlighter = new dp.sh.Brushes[registered[language]](); + + // hide the original element + element.style.display = 'none'; + + highlighter.addGutter = (showGutter == null) ? !IsOptionSet('nogutter', options) : showGutter; + highlighter.addControls = (showControls == null) ? !IsOptionSet('nocontrols', options) : showControls; + highlighter.collapse = (collapseAll == null) ? IsOptionSet('collapse', options) : collapseAll; + + // first line idea comes from Andrew Collington, thanks! + highlighter.firstLine = (firstLine == null) ? parseInt(GetOptionValue('firstline', options, 1)) : firstLine; + + highlighter.Highlight(element[propertyName]); + + // place the result table inside a div + var div = document.createElement('DIV'); + + div.className = 'dp-highlighter'; + div.appendChild(highlighter.table); + + element.parentNode.insertBefore(div, element); + } +} + + +dp.sh.Brushes.Xml = function() +{ + this.CssClass = 'dp-xml'; +} + +dp.sh.Brushes.Xml.prototype = new dp.sh.Highlighter(); +dp.sh.Brushes.Xml.Aliases = ['xml', 'xhtml', 'xslt', 'html', 'xhtml']; + +dp.sh.Brushes.Xml.prototype.ProcessRegexList = function() +{ + function push(array, value) + { + array[array.length] = value; + } + + /* If only there was a way to get index of a group within a match, the whole XML + could be matched with the expression looking something like that: + + () + | () + | (<)*(\w+)*\s*(\w+)\s*=\s*(".*?"|'.*?'|\w+)(/*>)* + | () + */ + var index = 0; + var match = null; + var regex = null; + + // Match CDATA in the following format + // <\!\[[\w\s]*?\[(.|\s)*?\]\]> + this.GetMatches(new RegExp('<\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\]>', 'gm'), 'cdata'); + + // Match comments + // + this.GetMatches(new RegExp('', 'gm'), 'comments'); + + // Match attributes and their values + // (\w+)\s*=\s*(".*?"|\'.*?\'|\w+)* + regex = new RegExp('([\\w-\.]+)\\s*=\\s*(".*?"|\'.*?\'|\\w+)*', 'gm'); + while((match = regex.exec(this.code)) != null) + { + push(this.matches, new dp.sh.Match(match[1], match.index, 'attribute')); + + // if xml is invalid and attribute has no property value, ignore it + if(match[2] != undefined) + { + push(this.matches, new dp.sh.Match(match[2], match.index + match[0].indexOf(match[2]), 'attribute-value')); + } + } + + // Match opening and closing tag brackets + // + this.GetMatches(new RegExp('', 'gm'), 'tag'); + + // Match tag names + // 2DMT7{-^frOVv~QkPP&Ewq->nsP|D1x-16aL6T+fS1y->At;?rCzDB|UT?Kn!l4k)^P(uaoX&VWPDLVS z3^V9-9LI%%!9*fqvszIE(P_0zD&=vzEoQSQ2rh>sl}cr^+0oI_$ml469m^7AOPfd(=_d{J75s9+iVaBkbZwW7K_qR%xHAj zZA^+0cp;Nc8x49<6f&7K%Vrbt1j8^{Hj8K=L<8$}Xgn5AC6gKeKwua}V6zDW0ky+n zPoiu?Rem84SSyDdxl|Me9*rCY$wnJQ@)2dcAg=HN`NnMuR|* zD2N=->(D$dS0plOHDk$SLWdv_09wr!r`?{fnB8U%1p_?KN&d%Fyp;aus(YhvenKL9 zEqOgl(J`p%+jYPBy@S-_&Etzpk|12+#`W#@(A zhTf0QpWXgq#MHZ=n9i*1S=FSyQZ&77VCc`5O}C1cxkIuU-T0K!2kk|dPt*-6I)~0* zlB4$nhWdWPi^}cyCsppkmsLccPjtVtW8L+i`<&LMi^Y*uYp2V*&V6w(iB9iyet-Ji zE^gtL*CQ=opLw|!>3FcY`%3@H8CC0#Ty`w{r0UeSCC481Kat;Ruc|?1ibbS9pwe&aT#R+%DO!J$i(uMa1rzv{|hT2OWx6~*_%5`JYm*@H#8hc!=^BT9m z+%&J7E#ACn?_jQQp?`4SYGp~Ms(0dE;PK_cq|z;$f2jHTPb(&=Mx1xf)WWVGo*X$> z*l@N>?i$%zR=R4|rAGz6xmzUTqzg_;#`$Eox|(stz^sBx^0xAdCkjR}PF8-fVWfY? z#2S~h^p|R&Tn)6wYt_;jHNEOO?9t)N6)U8{56g}{Rdu}G+fh+CC3FX^oA8yYynezC z+3NZgJ9al*D`EHc1PT{3@-?QnZqD&cuDSQBz+7{08!`Ee%vn@c&|TRww})9IX)1XB z>b&Gvnd;oK35u~c7pf?C7VjDBl2q-PvbcZT9;piP-Q0a-@m%tS+}ZfYi)XEp6Oyq) gN%dXecuDQ}@=FVLc0apP+!WuqblxeMyjZg0UuMopT>t<8 literal 0 HcmV?d00001 diff --git a/yui/assets/html_editor.gif b/yui/assets/html_editor.gif new file mode 100644 index 0000000000000000000000000000000000000000..67ed0d2029f8091dc1d4d6d9a316ca3bee901610 GIT binary patch literal 610 zcmZ?wbhEHb6krfwc$Um??b`JlZ@-;;_2u8cf2HM>mtKE4_2TpUAAeqd{TUV({`u!` z#l-(2-nwPW*5>9G#+sD|i_e~Z@wuX+ilJ%4 z*8A_fy1Fl4zS7XpWH9gOg;!r5ef-W?JonqTZ!1@=uBxdsSa)mJqmPVLOOHJJeB<4> zTkpQMb#(RhPl%3*O-M+}&dFoU=zaL{`-6|)^YZdvy?T|Fp84wQPsZG-CtrMSY-&0E z@-t)p^q82qo}NC&%B75{o!hqW2oI0=^!W=z<9g$b_Z1dhoIZU9WAU69FJG-#v67)> z3-9Ekj0H0pTDRPK|Lymmzpd>Z-+%qtwR;a^M&JIYpBQUbMMOmIdHnI{^UsVqlNjsQ z7_7L=m_3nU-Zh4&)k`N=Z~2`=KlTucN0JgRe~r1(9i(@>wgXK_XI$u;BDpT4?qK8 z0ssKjf2K14v7EK5r47Kk@1F(jFA5L=z(D^G|9T883=9k`EKCdxOe}1y|A38)jq?xK zxVU)u`1p9Zg#QEae<1z8K*PYq#Ky)Z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PT~90Z;g4Lgd|6QCF9W^;VsGHTqJ^Fg)zXfJ z{AJSv%&+BZo5Hy&lYF-n#kdPD%Mjc_$E{-A0n>^FR57kXr+l$pqR>4(xBbTD513A% z}@EzTWux(dSq__^1WWkhn(Fjl8ihb&~2UHZwae>!+X}U2JdM!pYPXeNePS z6SmqZaE`V@9(;Qh)Y(%msc`;2ZF)>im64A|f!FPZ46}E~H#?9}q-nj!Dl%jNSfZMQ z(0qIE_tA2tj_Sn?+3{`Ap`hDYc%2W*n*iorz^API zWUB^Vu__%VZTGuXZFi_~mwsy{9H?-YUT1}otC2g;F3B-)e9U9qrTd}T3@rqLRZJkn z;$#P&S)Y-B)T1=ckRg)x8^v-;DY5{}TOT{H*7sntu0;QvhRdh-UhK!nMM-5!o^|_L z{8IbY^o>fEG-W!^kgY1P;C!XM@ei<2gu0G}&*~fOVa<#pBKn|raj?Kux4!^f2?{j-$z@F#gZ%Nw zp{dDzTz$g{K9h^@6Ton$WGr4fnt#7n#((1MLv*~c%{(~S&up1On~`7q9!I;($lA~| z;?2|dzEv8Prq|h*H-o9KS-c`#*nNFJvP;n8;|B@>wq!_A# zY6Ae$2o>FhMa~8?jHzuiJUKY$&|+=Rx42KO8kk^b`3tHOcX`*(46nktDx)C5h?x#( zkNJAKd*`%~hguH4Nkey2@cg&x!cU(acF1)RwzI*9Zf_294OJdM5j=KJYluTKYt{mo z`L)3v$x?Y_0nFfkte8Nm^vjQiGo~8IKi2R+rv85!m_{WWqaIPXy7G800000 literal 0 HcmV?d00001 diff --git a/yui/assets/yui.css b/yui/assets/yui.css new file mode 100644 index 0000000..1e8e061 --- /dev/null +++ b/yui/assets/yui.css @@ -0,0 +1,311 @@ +/* +Copyright (c) 2007, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.4.0 +*/ +html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;font-variant:normal;}sup {vertical-align:text-top;}sub {vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}legend{color:#000;} + +body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;} + +body{text-align:center;}#ft{clear:both;}#doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.301em;min-width:750px;}#doc2{width:73.074em;*width:71.313em;}#doc3{margin:auto 10px;width:auto;}#doc4{width:74.923em;*width:73.117em;}.yui-b{position:relative;}.yui-b{_position:static;}#yui-main .yui-b{position:static;}#yui-main{width:100%;}.yui-t1 #yui-main,.yui-t2 #yui-main,.yui-t3 #yui-main{float:right;margin-left:-25em;}.yui-t4 #yui-main,.yui-t5 #yui-main,.yui-t6 #yui-main{float:left;margin-right:-25em;}.yui-t1 .yui-b{float:left;width:12.3207em;*width:12.0106em;}.yui-t1 #yui-main .yui-b{margin-left:13.3207em;*margin-left:13.0106em;}.yui-t2 .yui-b{float:left;width:13.8456em;*width:13.512em;}.yui-t2 #yui-main .yui-b{margin-left:14.8456em;*margin-left:14.512em;}.yui-t3 .yui-b{float:left;width:23.0759em;*width:22.52em;}.yui-t3 #yui-main .yui-b{margin-left:24.0759em;*margin-left:23.52em;}.yui-t4 .yui-b{float:right;width:13.8456em;*width:13.512em;}.yui-t4 #yui-main .yui-b{margin-right:14.8456em;*margin-right:14.512em;}.yui-t5 .yui-b{float:right;width:18.4608em;*width:18.016em;}.yui-t5 #yui-main .yui-b{margin-right:19.4608em;*margin-right:19.016em;}.yui-t6 .yui-b{float:right;width:23.0759em;*width:22.52em;}.yui-t6 #yui-main .yui-b{margin-right:24.0759em;*margin-right:23.52em;}.yui-t7 #yui-main .yui-b{display:block;margin:0 0 1em 0;}#yui-main .yui-b{float:none;width:auto;}.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gb .yui-u,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{float:left;margin-left:2%;width:32%;}.yui-gb .yui-gb .yui-u,.yui-gb .yui-gc .yui-u{*margin-left:1.8%;_margin-left:4%;}.yui-g .yui-gb .yui-u{_margin-left:.8%;}.yui-gb .yui-u{float:right;}.yui-gb div.first{margin-left:0;float:left;}.yui-g .yui-gb div.first,.yui-gb .yui-gb div.first{*margin-right:0;*width:32%;_width:31.7%;}.yui-gb .yui-gc div.first,.yui-gb .yui-gd div.first{*margin-right:0;}.yui-gb .yui-gd .yui-u{*width:66%;_width:61.2%;}.yui-gb .yui-gd div.first{*width:31%;_width:29.5%;}.yui-g .yui-gc .yui-u,.yui-gb .yui-gc .yui-u{width:32%;_float:right;margin-right:0;_margin-left:0;}.yui-gb .yui-gc div.first{width:66%;*float:left;*margin-left:0;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf .yui-u{margin:0;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf,.yui-gc .yui-u,.yui-gd .yui-g,.yui-g .yui-gc .yui-u,.yui-ge .yui-u,.yui-ge .yui-g,.yui-gf .yui-g,.yui-gf .yui-u{float:right;}.yui-g .yui-gc div.first,.yui-g .yui-ge div.first,.yui-g div.first,.yui-gc div.first,.yui-gc div.first div.first,.yui-gd div.first,.yui-ge div.first,.yui-gf div.first{float:left;}.yui-g .yui-g .yui-u,.yui-gb .yui-g .yui-u,.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u,.yui-ge .yui-g .yui-u,.yui-gf .yui-g .yui-u{width:49%;*width:48.1%;*margin-left:0;}.yui-g .yui-g div.first{*margin:0;}.yui-gb .yui-g div.first{*margin-right:4%;_margin-right:1.3%;}.yui-gb .yui-gb .yui-u{_margin-left:.7%;}.yui-gb .yui-g div.first,.yui-gb .yui-gb div.first{*margin-left:0;}.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u{*width:48.1%;*margin-left:0;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf{width:49.1%;}.yui-g .yui-gb div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}.yui-g .yui-gc div.first,.yui-gc div.first,.yui-gd .yui-g,.yui-gd .yui-u{width:66%;}.yui-gd div.first,.yui-gb .yui-gd div.first{width:32%;}.yui-g .yui-gd div.first{_width:29.9%;}.yui-ge .yui-u,.yui-ge .yui-g,.yui-gf div.first{width:24%;}.yui-gb .yui-ge div.yui-u,.yui-gb .yui-gf div.yui-u{float:right;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf div.first {float:left;}.yui-ge div.first,.yui-gf .yui-g,.yui-gf .yui-u{width:74.2%;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf div.first{*width:24%;_width:20%;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf .yui-u{*width:73.5%;_width:65.5%;}#bd:after,.yui-g:after,.yui-gb:after,.yui-gc:after,.yui-gd:after,.yui-ge:after,.yui-gf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}#bd,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf{zoom:1;}.yui-gb .yui-u{float:left;} + +blockquote,ul,ol,dl { + margin:1em; +} +ol,ul,dl { + margin-left:2em; +} +ol li { + list-style: decimal outside; +} +ul li { + list-style: disc outside; +} + +/*begin YDN/YUI styles*/ +#bd {padding-top:1em;} +.yui-gb:after{clear:none;} +#doc3 {min-width:950px;} +h1, h2, h3, h4, h5, h6 {font-weight:bold; color:#E76300;} +h1, h2, h3, h4, h5, h6, p {line-height:1.2em; font-size:100%; margin:1em 0 0 0;} +h1.first-content, h2.first-content, h3.first-content {margin-top:0; padding-top:0; border:none;} /*if an h is the first thing on the page or in a section, it should be flush with the top border of its content area; otherwise, its content area should be padded to create space.*/ +p { margin-bottom:1em } +h1 { font-size: 136%; padding:0; padding-top:18px} +.wiki h1 { font-size: 120%; padding:0; margin-bottom:1em} +h2 { font-size: 110%; margin-top:1.5em; margin-bottom:.2em; padding:1em 0 0 0; border-top:1px dashed #C3D2DC;} +h2.first { border-top:none; margin-top:0; margin-bottom:.2em;} +#doc3 h2.first { float:none; /*float specified to resolve conflict on generic float declaration for .first in grids*/} +h4 {margin-top:1em; color: #000;} +ul, ol, dl, dd {margin-left:30px;} +dt { font-weight:bold; } +ul, ol {margin-bottom:.7em;} +ul {list-style:disc;} +ol {list-style:decimal;} +strong {font-weight:bold;} +em {font-style:italic;} + +a, a code {color:#0000de;} +a:visited, a:visited code {color:#639;} +a:active, a:active code {color: #f00;} + +h1 a { color:#E76300; } +h1 a:visited {color:#E76300} + +#logo_pane { display: none; } + +#ygma { margin:.5em auto 1em auto; } + +#bd ol {} +#bd ol li p { margin-left:0} +#bd ol li ol {list-style:lower-alpha} +#bd ol li ol li {margin-bottom:1em} +#bd ol li ol li ol{list-style:lower-roman} +#bd ol li ol li ol li {margin-bottom:1em} + +#bd p.errormessage {background:url(http://l.yimg.com/a/i/us/search/gr/alertbubble.gif) 0 0 no-repeat; padding-left:30px; margin:2em 2em 2em 1em; font-weight:bold} + +/*formerly #bd targeting*/ +ul {margin-top:2px; } +ul.topspace { margin-top:1em } +ul li { margin:0 17px 0 7px; } +ul li ul { margin-top:0em } +ul.plain {margin-top: 0; list-style: none;} +ul.plain ul {margin-top: 0; list-style: none;} +ul.jump {list-style: none; margin-top: 1em;} +ul.jump li {margin-top: .5em;} + +/*#bd table { margin:10px 17px; width:720px; }*/ +/*#bd th { background:#B6CDE1; padding:2px; color:#fff; vertical-align:top} +#bd td { padding:2px; vertical-align:top} +#bd td.even { background:red; }*/ + +h2.classname { border-top:none; margin-top:0; margin-bottom:.2em; font-size: 130%; color:#000000} +h3.breadcrumb { border-top:none; margin-top:0; margin-bottom:.2em; font-size: 80%; color:#000000} +h3.methods { border-top:none; margin-top:0; margin-bottom:.2em; font-size: 100%; color:#000000} + +.screenshot {border:thin solid #999999; margin:8px;} + +#toc {background-color:#ecf5fa; padding:0; border:1px solid #89d } +#toc ul {margin:0; padding:0;} +#toc ul li {list-style:none; padding:0; margin:0; font-size:85%; } +#toc ul li.selected { font-weight:bold; color:#fff; background:#f82; padding:0; } +#toc ul li.selected a { color:#fff; } +#toc ul li a { display:block; padding:2px 2px 2px 10px; text-decoration:none; } +#toc ul li a:hover { color:#fff; background:#e60; } +#toc ul li em { display:none; } +#toc ul li.sect { font-weight:bold; color:#fff; background:#89d; padding:2px 0; text-indent:2px; margin-top:2px;} +#toc ul li.first {margin-top:0;} + +#ft { margin-top:4em } +#ft p { padding-bottom:2em; margin:0; text-align:center; font-size:80%; line-height:1.4em} +#ft p.first { padding:1em 0 0 0; margin:0; } + +#pagetitle {background: url(http://l.yimg.com/a/i/ydn/bg_hd.gif) 0 0 repeat-x #B6CDE1; border: 1px solid #93B2CC; } +#pagetitle h1 {text-indent:15px; padding:4px 0 2px 0; margin:0; color:#000; font-size:120%; font-weight:bold; position:relative; left:-1px; top:-1px; margin-right:-2px;} +#pagetitle h1 em {color:#FF9933; font-size:60%; font-weight:bold; font-style:normal; position:relative; top:-6px} + +#ygunav {background:#eee; border-bottom:2px solid #ccc; padding:0 10px;font-size:78%;text-align:right;margin-bottom:6px;height:2.5em;line-height:2.5em;} +html>body #ygunav {overflow:hidden;} +#ygunav strong {font-family:verdana;} +#ygunav p {display:inline;margin:0;padding:0;} +#ygunav p em {float:left;text-align:left;font-style:normal; padding-top:.7em} +* html #ygunav p em {margin-top:1px;} +#ygunav p em i {visibility:hidden;} +#ygunav a {color:#000;} +#ygunav form {display:inline;margin:0 0 0 1em;} +#ygsp {width:8em;font-size:110%;padding:0;vertical-align:middle;} +#ygunav .ygbt {background:#dcdcdc;font:110% verdana;position:relative;top:1px;} +* html #ygunav .ygbt {top:4px;} +* html>body #ygunav .ygbt {line-height:0;top:-4px;} +#ygunav label {color:#666;font-family:tahoma;top:1px;} + +#bd ol.getstarted { margin:0; padding:0; } +#bd ol.getstarted li { font-weight:bold; color:#668AA8; margin-bottom:1em; padding-left:20px; list-style-type:none;} +#bd ol.getstarted li p { color:#000; font-weight:normal; margin:0 0 0 20px; padding:0 } + +/* removing +#bd p {margin-bottom:8px;} +*/ + +#promo {zoom:1;border: 1px solid #B6CDE1; padding:1em; /*position:relative;*/ background-color:#FFF5DF;} +/*#promo ul {margin-bottom:0;}*/ +#promo h1 {margin-top:0; padding-top:0} +#promo h2 {line-height:1.2em; color:#668AA8; margin-top:0; padding-top:0; border:none; font-size:100%} +#promo p {line-height:1.2em; font-weight:400;} +#promo h1 em {float:right; top:0; right:0; font-style:normal; font-size:80%} +#promo h4 { color:#E76300; } +#promo.component div {width:48%; float:left;} +#promo:after {content:'.';visibility:hidden;clear:left;height:0;display:block;} +#promo p#api {margin-top:.2em;} +#promo #download img {float:left; padding:0 0.5em 0.5em 0;} +#promo #blog {clear:left;} + + +code {font-family:"Courier New"; font-size: 100%; font-weight:bolder;} + +div.apisummary {height:auto; margin:10px 0; width:auto; zoom:1;} +div.apisummary table {font-size:inherit;font:100%; border-collapse:separate; border:1px solid #666666; border-left:none;} +#doc3 div.apisummary table td, #doc3 div.apisummary table th {padding:.35em; vertical-align:top;} +div.apisummary table th { background:#B6CDE1; color:#fff; vertical-align:top; font-weight:bold;} +div.apisummary table td { border-top:1px solid #666666;} +div.apisummary table td, div.apisummary table th { border-left:1px solid #666666;} +div.apisummary table tr { background-color:#ddd;} +div.apisummary table tr.odd { background-color:#fff; } +div.apisummary table tfoot tr { background-color:#fff; } + +dl#menuwidgets dt {font-weight:bold;} +dl#menuwidgets {margin:0 0 0 1.5em;} +img.example {clear:right;margin-bottom:10px;margin-left:10px;border:0;float:right;border:1px solid #999;} + +/*YUI theater box on main page top right corner*/ +#yui-theater {width:316px; overflow:hidden;} +#yui-theater h3 {margin:0; padding:0; color:#E76300; font-size:100%; font-weight:bold; font-stretch:expanded;} +#yui-theater h2 {margin:0 0 10px 0; padding:0; border:none; color:#000; font-size:122%; font-weight:bold;} +#yui-theater p {margin:7px 0 0 0;} +#yui-theater div {float:right; font-size:85%;} + +/*rss reader styles*/ +p.loading-content {background-image:url(http://l.yimg.com/a/i/ydn/yuiweb/img/busy_arrow.gif); background-position:top left; background-repeat:no-repeat; height:20px;padding:4px 0 0 25px; margin:0;} +#doc3 ul.yuirssreader {margin:0; padding:0;} +#doc3 ul.yuirssreader li {list-style-type:none;padding:5px 0 0 12px; margin:0;} +#doc3 ul.yuirssreader li p {margin:0; padding:0;} +ul.yuirssreader cite {color:#666666; margin:0;} +span.yuirssreader-date {font-size:77%; color:#E76300;} +img.rssbadge {display:inline;border:none !important;} + +#index-secondary {width:316px;float:right;margin-left:10px;} +#index-main {margin-right:331px;} +#index-main #promo li {list-style-type:none;font-size:92%;margin-top:2px;} +#index-main #promo ul {margin:0;} + +/*styles for right gutter on component pages*/ +#cheatsheet h3 {margin-top:0;} +#cheatsheet img, #componentvideo img {margin:.5em 0 .2em 0; border:1px solid #999;} +#cheatsheet p {margin:0; font-size:77%;} +#cheatsheet h4, .example-container h4, #examples h4 {margin:0.2em 0 .1em 0; color:#668AA8; font-size:92%;} +#examples ul, #morereading ul, #module ul {font-size:85%; list-style:circle; margin:0 0 1em 10px;} +#examples p, #componentvideo p {font-size:85%; margin:0 0 .2em 0;} +#examples li.selected {font-weight:bold;} + +/*styles for example pages*/ +.example .promo {background-color:#89d;border-color:#666666; padding:1em;} +.example .promo h1, .example .promo h2, .example .promo h3 {color:#FFCC66;} +.example .promo h1 {font-size:159%; padding-top:0; margin-top:0;} +.exampleIntro, .exampleIntro p, .exampleIntro a, .exampleIntro a code {color:#fff;} +.example .promo p {margin-top:.7em;} + +.example cite.byline {display:block; padding:0.5em; background-color:#eee; border:1px solid #000;margin-bottom:5px} + +firstContent {margin-top:0; padding-top:0;} +#logger {margin-top:1em;} +.example-container {background-color:#F1F6F7;} + +.example-container .bd {padding:1em; position:relative; z-index:1; zoom:1;} +.example-container .bd .bd {padding:0; position:static;} /* Reset to defaults to ensure styles are only applied to the top-level .bd of .example-container */ +.example-container>.bd:after {content:'.';visibility:hidden;clear:left;height:0;display:block;} +.example-container .exampleHd {background: url(example-hd-bg.gif) 0 0 repeat-x #4E4D4C; } +.example-container h3 {margin:.2em 0 .4em 0;} +.example .example-container h1, .example .example-container h2, .example .example-container h3, .example .example-container h4, .example .example-container h5, .example .example-container h6 {color:#E76300; font-weight:bold;} +.example-container a {color:#000;} +.example-container a:visited, .example-container a:visited code {color:#000;} +.example-container a:active, .example-container a:active code {color: #000;} + +#loggerGloss {margin-top:.5em; font-size:85%;} +#loggerDiv {font-size:77%;text-align:left;margin-top:.5em; visibility:hidden; height:280px; } /*gets turned on by script when loaded */ +#loggerDiv.yui-log {padding:.4em;width:96%;background-color:#FBE7D9;border:1px solid #666;font-family:monospace;z-index:9000;} +#loggerDiv.yui-log p {margin:1px;padding:.1em;} +#loggerDiv.yui-log .yui-log-hd {margin:0; padding:0; background-color:#CECCCC;} +#loggerDiv.yui-log .yui-log-hd h4 {display:none;} +#loggerDiv.yui-log .yui-log-bd {width:100%;height:20em;background-color:#FFF;border:1px solid #ECECEC;overflow-y:auto;overflow-x:hidden;} +#loggerDiv.yui-log .yui-log-bd pre {border-top:1px solid #ECECEC;} +#loggerDiv.yui-log .yui-log-bd code p {margin:1px 0;} +#loggerDiv.yui-log .yui-log-ft .yui-log-categoryfilters {margin-top:.5em;clear:right;} +#loggerDiv.yui-log .yui-log-ft .yui-log-sourcefilters {margin-top:.5em;border:none; clear:both;} +#loggerDiv.yui-log .yui-log-btns {margin-top:.2em;padding:.2em;background: url(bg_hd.gif) 0 0 repeat-x #CECCCC; text-align:right; float:none; position:static;} +#loggerDiv.yui-log .yui-log-filtergrp {margin-right:.3em; float:left; display:block} +#loggerDiv.yui-log .yui-log-ft {margin-top:.3em;margin-bottom:.3em; font-family:verdana; zoom:1;} +/*bug in Safari when this is applied to .yui-log-ft:*/ +#loggerDiv.yui-log:after {content:'.';visibility:hidden;clear:both;height:0;display:block;} +.example-container.newWindow {text-align:center;} +p.newWindowButton {text-align:right; margin-top:0; padding:.5em;} +.bd p.newWindowButton {text-align:center;} /*when new window is required and button appears in middle of example body*/ +p.loggerButton {text-align:center;} +#loggerLink a, #newWindowLink a {font-size:115%; font-weight:bold; color:#000099;} +#newWindowLink a {font-size:107%;} +#loggerModule {padding-bottom:.2em;} + +/*right column navigation on example rosters*/ +#exampleToc {background-color:#ecf5fa; padding:0; border:1px solid #89d; margin-top:.5em;} +#exampleToc ul {margin:0; padding:0; font-size:85%; } +#exampleToc ul li {list-style:none; padding:0; margin:0; } +#exampleToc ul li.selected { font-weight:bold; color:#fff; background:#000099; padding:0; } +#exampleToc ul li.selected a { color:#fff; } +#exampleToc ul li a { display:block; padding:2px 2px 2px 10px; text-decoration:none; } +#exampleToc ul li a:hover { color:#fff; background:#e60; } +#exampleToc ul li.selected a code { color:#fff; } + +/*theater page styles*/ +.theater h1 {border-bottom:1px dashed #CCC; margin-bottom:1em;padding-bottom:.2em;} +.theater img {border:1px solid #666;} +.theater img.last {border:1px solid #666;} +.theater p.details {font-size:77%; color:#666; margin:.2em 0 0 0; padding:0;} +.theater p.description, #doc3 .theater ul li {font-size:85%; margin:0; padding:0; color:#333;} + +#readmePanel .hd { font-weight:bold; font-size:129%; color:#fff; background:#89d; } +#readmePanel .bd {text-align:left; overflow:auto;} +#readmePanel .ft {text-align:right; background-color:#E7E7E7; font-size:85%;} +/* Browser specific (not valid) styles to make preformatted text wrap */ +#readmePanel .bd pre { + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ + font-size: 100%; + color:#000033;} + +/*ed eliot's server-side delicious badge css*/ + #delicious-badge {margin-top:.6em; font: 85% Arial, sans-serif; border: 1px solid #b1b1b1; } +#delicious-badge .bookmark { background: url(http://images.del.icio.us/static/img/delicious.small.gif) no-repeat left center; padding-left: 15px; font-weight: bold; } +#delicious-badge p, #delicious-badge div { padding: 7px; margin: 0; text-align: center; } +#delicious-badge a { color: #00f; text-decoration: none; } +#delicious-badge div { background: #eee; } +#delicious-badge div span { font-weight: bold; color: #000; } +#delicious-badge ul, #delicious-badge li { display: inline; list-style: none; padding: 0; margin: 0; } +#delicious-badge li { margin-left: 5px; } +#delicious-badge li span { position: absolute; left: -999px; width: 999px; } +#delicious-badge .saved-by { color: #999; } +#delicious-badge .saved-by span { background: #00f; padding: 3px; color: #fff; } +#delicious-badge .be-first { font-size: 85%; color: #999; } +#delicious-badge .tag-size-1 { font-size: 100%; } +#delicious-badge .tag-size-2 { font-size: 107%; } +#delicious-badge .tag-size-3 { font-size: 114%; } +#delicious-badge .tag-size-4 { font-size: 122%; } +#delicious-badge .tag-size-5 { font-size: 129%; } + +/*faq page:*/ +.yui-ge .yui-g {width:98%;} +.yui-ge .yui-g .yui-u {width:48.1%;} +#questions {margin:1em 0 2em 0; padding:0.5em; border:1px solid #838383; background-color:#E6E6E6;} +#questions ul {margin:0; list-style:none;} +#yui-main #questions li {padding-bottom:.2em; font-size:85%; margin:0;} +#questions li a {display:block; padding:.6em; text-decoration:none;} +#questions li a:hover {background-color:#F6F6F6;} + +/*for notes on file includes*/ +#configuratorBadge {display:block; float:left; margin:0 .5em .5em 0;} +.include-notice {clear:left; border:1px solid #6F7EA1; background:#eee; font:77% verdana; padding:.7em;} +.include-notice p.firstP {margin-top:0;} +.include-notice p.lastP {margin-bottom:0;} +.include-notice strong {color:#990000;} +.configurator-notice p {font-size:85%;} + +/*for site search suggest via autocomplete*/ +#ygunav {overflow:visible !important;} +#sitesearch {float:right; width:40em; position:relative; text-align:right;} +#searchinput {width:15em; font-size:11px; font-weight:bold; position:relative; top:2px;} + +/*RSS links*/ +#yuiblogTitle a, #ydnJsTitle a, #delicious a, #yui-theater h3 a { color: #E76300; text-decoration: none; } +#yuiblogTitle a:hover, #ydnJsTitle a:hover, #delicious a:hover, #yui-theater h3 a:hover { text-decoration: underline; } diff --git a/yui/assets/yui.gif b/yui/assets/yui.gif new file mode 100644 index 0000000000000000000000000000000000000000..5033ff576c02636bc8bbe69addcf7751861bab20 GIT binary patch literal 5901 zcmV+o7xL&wNk%w1VaNbo0M!5hgR{ii?D6#Z`u+a?=IigO%-PlF>$B3^%H-?q_4wrR z^_|4hyw~CS{Qc|h@Y3n+eXqiy$kg%k^`ynt-0AL-xybGD_3-!k=kM|0?D50gzTmL&EVYV=uT=~K3GI5j z3kC*D#uiE6v^u#s@XAC6U|!->?yjAF&+q&He=Zev2UKua6bp2CfQ^oTf`fAl8HZ*E z0Cta?n=X+YC3ABOWf(4^b`^OG6EOt`3?V(Uw6(UkxU(S)F*~3(mQ|RUstXG-u(G+! z%so821rrN9k^l$6LpCK93k4cH&EdB^8V3b2($k-!E@M_0qIIe}tgZ(d6cjqOI{p6t z00ROvkWa&c3MDE9BQZzQu>&D8P;e&BmcV}oBr=G$K+qf#*fOXpz$1eJeiu`wq>!P9 zIgZora1aH+oe&TeP|d6NDg=f9XCZh9o#oGf(W6L{=39ESUj`mA5GJrR%po!z6hdg# zDs(6=l}Qck(~%(rM~~JlB^ar1tJfYy!^&Ms0qH)149un5A!z2D3Wk0ZfY5MftDaf8 zdhKU)X@WeKP=G<%-$ZpZ&IcO< z1|R50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@kEAH%j-OdZT|4XnFO=UHM~ zM(LY;Lo#*Az52=t`Z7{-0?~6R5hMC4e=S4~H_@qi=>tmdg(Q{v+&c}t89A13+9}0d zwNyUlbabIMo#eI$s2>ENz9a*uA$Wu5puk`G#-z$_CG>ahd#P&x1WM!{*yblDL#Mg# zy@3M)V47Ht36acgH5hCp{mVf7(%{yA%zi4X(>eZ<`>)M?s^b59FBCx7x7K|m7*1|a z6ID*#MKD+(Uy7KbP22wt_;*HDLHjT67Gwkx4|?k3e|?6TzFOz5nlY5SFEXbTpzP%~ zw^x7acJqdbfd5Y)K`6edVJ;i)pY^Aw!Qs7w->uaG!@gJj?Km?Qa?}e&y@OXd7U7@= z0fov6A&BCwsc>oSuE=s0(ap*F?Ue8)ed?|#Q{o4PZ&nPro7_i|1fVvz7Kw7lB61La zuM6@K_;=MWcK*%8UwZP3iEPky;^*84N?a|aTlPyJ`-6vbY$1{3kNpq$trh(-UB0Wx sw8D0OtCgf@@w3y2ziffY0@Bygsj~Y{Obg2+k?-cyZ>s-ikA%k literal 0 HcmV?d00001 diff --git a/yui/build/animation/animation-debug.js b/yui/build/animation/animation-debug.js new file mode 100644 index 0000000..58451e7 --- /dev/null +++ b/yui/build/animation/animation-debug.js @@ -0,0 +1,1396 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +(function() { + +var Y = YAHOO.util; + +/* +Copyright (c) 2006, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +*/ + +/** + * The animation module provides allows effects to be added to HTMLElements. + * @module animation + * @requires yahoo, event, dom + */ + +/** + * + * Base animation class that provides the interface for building animated effects. + *

    Usage: var myAnim = new YAHOO.util.Anim(el, { width: { from: 10, to: 100 } }, 1, YAHOO.util.Easing.easeOut);

    + * @class Anim + * @namespace YAHOO.util + * @requires YAHOO.util.AnimMgr + * @requires YAHOO.util.Easing + * @requires YAHOO.util.Dom + * @requires YAHOO.util.Event + * @requires YAHOO.util.CustomEvent + * @constructor + * @param {String | HTMLElement} el Reference to the element that will be animated + * @param {Object} attributes The attribute(s) to be animated. + * Each attribute is an object with at minimum a "to" or "by" member defined. + * Additional optional members are "from" (defaults to current value), "units" (defaults to "px"). + * All attribute names use camelCase. + * @param {Number} duration (optional, defaults to 1 second) Length of animation (frames or seconds), defaults to time-based + * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone) Computes the values that are applied to the attributes per frame (generally a YAHOO.util.Easing method) + */ + +var Anim = function(el, attributes, duration, method) { + if (!el) { + YAHOO.log('element required to create Anim instance', 'error', 'Anim'); + } + this.init(el, attributes, duration, method); +}; + +Anim.NAME = 'Anim'; + +Anim.prototype = { + /** + * Provides a readable name for the Anim instance. + * @method toString + * @return {String} + */ + toString: function() { + var el = this.getEl() || {}; + var id = el.id || el.tagName; + return (this.constructor.NAME + ': ' + id); + }, + + patterns: { // cached for performance + noNegatives: /width|height|opacity|padding/i, // keep at zero or above + offsetAttribute: /^((width|height)|(top|left))$/, // use offsetValue as default + defaultUnit: /width|height|top$|bottom$|left$|right$/i, // use 'px' by default + offsetUnit: /\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i // IE may return these, so convert these to offset + }, + + /** + * Returns the value computed by the animation's "method". + * @method doMethod + * @param {String} attr The name of the attribute. + * @param {Number} start The value this attribute should start from for this animation. + * @param {Number} end The value this attribute should end at for this animation. + * @return {Number} The Value to be applied to the attribute. + */ + doMethod: function(attr, start, end) { + return this.method(this.currentFrame, start, end - start, this.totalFrames); + }, + + /** + * Applies a value to an attribute. + * @method setAttribute + * @param {String} attr The name of the attribute. + * @param {Number} val The value to be applied to the attribute. + * @param {String} unit The unit ('px', '%', etc.) of the value. + */ + setAttribute: function(attr, val, unit) { + var el = this.getEl(); + if ( this.patterns.noNegatives.test(attr) ) { + val = (val > 0) ? val : 0; + } + + if (attr in el && !('style' in el && attr in el.style)) { + el[attr] = val; + } else { + Y.Dom.setStyle(el, attr, val + unit); + } + }, + + /** + * Returns current value of the attribute. + * @method getAttribute + * @param {String} attr The name of the attribute. + * @return {Number} val The current value of the attribute. + */ + getAttribute: function(attr) { + var el = this.getEl(); + var val = Y.Dom.getStyle(el, attr); + + if (val !== 'auto' && !this.patterns.offsetUnit.test(val)) { + return parseFloat(val); + } + + var a = this.patterns.offsetAttribute.exec(attr) || []; + var pos = !!( a[3] ); // top or left + var box = !!( a[2] ); // width or height + + if ('style' in el) { + // use offsets for width/height and abs pos top/left + if ( box || (Y.Dom.getStyle(el, 'position') == 'absolute' && pos) ) { + val = el['offset' + a[0].charAt(0).toUpperCase() + a[0].substr(1)]; + } else { // default to zero for other 'auto' + val = 0; + } + } else if (attr in el) { + val = el[attr]; + } + + return val; + }, + + /** + * Returns the unit to use when none is supplied. + * @method getDefaultUnit + * @param {attr} attr The name of the attribute. + * @return {String} The default unit to be used. + */ + getDefaultUnit: function(attr) { + if ( this.patterns.defaultUnit.test(attr) ) { + return 'px'; + } + + return ''; + }, + + /** + * Sets the actual values to be used during the animation. Should only be needed for subclass use. + * @method setRuntimeAttribute + * @param {Object} attr The attribute object + * @private + */ + setRuntimeAttribute: function(attr) { + var start; + var end; + var attributes = this.attributes; + + this.runtimeAttributes[attr] = {}; + + var isset = function(prop) { + return (typeof prop !== 'undefined'); + }; + + if ( !isset(attributes[attr]['to']) && !isset(attributes[attr]['by']) ) { + return false; // note return; nothing to animate to + } + + start = ( isset(attributes[attr]['from']) ) ? attributes[attr]['from'] : this.getAttribute(attr); + + // To beats by, per SMIL 2.1 spec + if ( isset(attributes[attr]['to']) ) { + end = attributes[attr]['to']; + } else if ( isset(attributes[attr]['by']) ) { + if (start.constructor == Array) { + end = []; + for (var i = 0, len = start.length; i < len; ++i) { + end[i] = start[i] + attributes[attr]['by'][i] * 1; // times 1 to cast "by" + } + } else { + end = start + attributes[attr]['by'] * 1; + } + } + + this.runtimeAttributes[attr].start = start; + this.runtimeAttributes[attr].end = end; + + // set units if needed + this.runtimeAttributes[attr].unit = ( isset(attributes[attr].unit) ) ? + attributes[attr]['unit'] : this.getDefaultUnit(attr); + return true; + }, + + /** + * Constructor for Anim instance. + * @method init + * @param {String | HTMLElement} el Reference to the element that will be animated + * @param {Object} attributes The attribute(s) to be animated. + * Each attribute is an object with at minimum a "to" or "by" member defined. + * Additional optional members are "from" (defaults to current value), "units" (defaults to "px"). + * All attribute names use camelCase. + * @param {Number} duration (optional, defaults to 1 second) Length of animation (frames or seconds), defaults to time-based + * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone) Computes the values that are applied to the attributes per frame (generally a YAHOO.util.Easing method) + */ + init: function(el, attributes, duration, method) { + /** + * Whether or not the animation is running. + * @property isAnimated + * @private + * @type Boolean + */ + var isAnimated = false; + + /** + * A Date object that is created when the animation begins. + * @property startTime + * @private + * @type Date + */ + var startTime = null; + + /** + * The number of frames this animation was able to execute. + * @property actualFrames + * @private + * @type Int + */ + var actualFrames = 0; + + /** + * The element to be animated. + * @property el + * @private + * @type HTMLElement + */ + el = Y.Dom.get(el); + + /** + * The collection of attributes to be animated. + * Each attribute must have at least a "to" or "by" defined in order to animate. + * If "to" is supplied, the animation will end with the attribute at that value. + * If "by" is supplied, the animation will end at that value plus its starting value. + * If both are supplied, "to" is used, and "by" is ignored. + * Optional additional member include "from" (the value the attribute should start animating from, defaults to current value), and "unit" (the units to apply to the values). + * @property attributes + * @type Object + */ + this.attributes = attributes || {}; + + /** + * The length of the animation. Defaults to "1" (second). + * @property duration + * @type Number + */ + this.duration = !YAHOO.lang.isUndefined(duration) ? duration : 1; + + /** + * The method that will provide values to the attribute(s) during the animation. + * Defaults to "YAHOO.util.Easing.easeNone". + * @property method + * @type Function + */ + this.method = method || Y.Easing.easeNone; + + /** + * Whether or not the duration should be treated as seconds. + * Defaults to true. + * @property useSeconds + * @type Boolean + */ + this.useSeconds = true; // default to seconds + + /** + * The location of the current animation on the timeline. + * In time-based animations, this is used by AnimMgr to ensure the animation finishes on time. + * @property currentFrame + * @type Int + */ + this.currentFrame = 0; + + /** + * The total number of frames to be executed. + * In time-based animations, this is used by AnimMgr to ensure the animation finishes on time. + * @property totalFrames + * @type Int + */ + this.totalFrames = Y.AnimMgr.fps; + + /** + * Changes the animated element + * @method setEl + */ + this.setEl = function(element) { + el = Y.Dom.get(element); + }; + + /** + * Returns a reference to the animated element. + * @method getEl + * @return {HTMLElement} + */ + this.getEl = function() { return el; }; + + /** + * Checks whether the element is currently animated. + * @method isAnimated + * @return {Boolean} current value of isAnimated. + */ + this.isAnimated = function() { + return isAnimated; + }; + + /** + * Returns the animation start time. + * @method getStartTime + * @return {Date} current value of startTime. + */ + this.getStartTime = function() { + return startTime; + }; + + this.runtimeAttributes = {}; + + var logger = {}; + logger.log = function() {YAHOO.log.apply(window, arguments)}; + + logger.log('creating new instance of ' + this); + + /** + * Starts the animation by registering it with the animation manager. + * @method animate + */ + this.animate = function() { + if ( this.isAnimated() ) { + return false; + } + + this.currentFrame = 0; + + this.totalFrames = ( this.useSeconds ) ? Math.ceil(Y.AnimMgr.fps * this.duration) : this.duration; + + if (this.duration === 0 && this.useSeconds) { // jump to last frame if zero second duration + this.totalFrames = 1; + } + Y.AnimMgr.registerElement(this); + return true; + }; + + /** + * Stops the animation. Normally called by AnimMgr when animation completes. + * @method stop + * @param {Boolean} finish (optional) If true, animation will jump to final frame. + */ + this.stop = function(finish) { + if (!this.isAnimated()) { // nothing to stop + return false; + } + + if (finish) { + this.currentFrame = this.totalFrames; + this._onTween.fire(); + } + Y.AnimMgr.stop(this); + }; + + var onStart = function() { + this.onStart.fire(); + + this.runtimeAttributes = {}; + for (var attr in this.attributes) { + this.setRuntimeAttribute(attr); + } + + isAnimated = true; + actualFrames = 0; + startTime = new Date(); + }; + + /** + * Feeds the starting and ending values for each animated attribute to doMethod once per frame, then applies the resulting value to the attribute(s). + * @private + */ + + var onTween = function() { + var data = { + duration: new Date() - this.getStartTime(), + currentFrame: this.currentFrame + }; + + data.toString = function() { + return ( + 'duration: ' + data.duration + + ', currentFrame: ' + data.currentFrame + ); + }; + + this.onTween.fire(data); + + var runtimeAttributes = this.runtimeAttributes; + + for (var attr in runtimeAttributes) { + this.setAttribute(attr, this.doMethod(attr, runtimeAttributes[attr].start, runtimeAttributes[attr].end), runtimeAttributes[attr].unit); + } + + actualFrames += 1; + }; + + var onComplete = function() { + var actual_duration = (new Date() - startTime) / 1000 ; + + var data = { + duration: actual_duration, + frames: actualFrames, + fps: actualFrames / actual_duration + }; + + data.toString = function() { + return ( + 'duration: ' + data.duration + + ', frames: ' + data.frames + + ', fps: ' + data.fps + ); + }; + + isAnimated = false; + actualFrames = 0; + this.onComplete.fire(data); + }; + + /** + * Custom event that fires after onStart, useful in subclassing + * @private + */ + this._onStart = new Y.CustomEvent('_start', this, true); + + /** + * Custom event that fires when animation begins + * Listen via subscribe method (e.g. myAnim.onStart.subscribe(someFunction) + * @event onStart + */ + this.onStart = new Y.CustomEvent('start', this); + + /** + * Custom event that fires between each frame + * Listen via subscribe method (e.g. myAnim.onTween.subscribe(someFunction) + * @event onTween + */ + this.onTween = new Y.CustomEvent('tween', this); + + /** + * Custom event that fires after onTween + * @private + */ + this._onTween = new Y.CustomEvent('_tween', this, true); + + /** + * Custom event that fires when animation ends + * Listen via subscribe method (e.g. myAnim.onComplete.subscribe(someFunction) + * @event onComplete + */ + this.onComplete = new Y.CustomEvent('complete', this); + /** + * Custom event that fires after onComplete + * @private + */ + this._onComplete = new Y.CustomEvent('_complete', this, true); + + this._onStart.subscribe(onStart); + this._onTween.subscribe(onTween); + this._onComplete.subscribe(onComplete); + } +}; + + Y.Anim = Anim; +})(); +/** + * Handles animation queueing and threading. + * Used by Anim and subclasses. + * @class AnimMgr + * @namespace YAHOO.util + */ +YAHOO.util.AnimMgr = new function() { + /** + * Reference to the animation Interval. + * @property thread + * @private + * @type Int + */ + var thread = null; + + /** + * The current queue of registered animation objects. + * @property queue + * @private + * @type Array + */ + var queue = []; + + /** + * The number of active animations. + * @property tweenCount + * @private + * @type Int + */ + var tweenCount = 0; + + /** + * Base frame rate (frames per second). + * Arbitrarily high for better x-browser calibration (slower browsers drop more frames). + * @property fps + * @type Int + * + */ + this.fps = 1000; + + /** + * Interval delay in milliseconds, defaults to fastest possible. + * @property delay + * @type Int + * + */ + this.delay = 1; + + /** + * Adds an animation instance to the animation queue. + * All animation instances must be registered in order to animate. + * @method registerElement + * @param {object} tween The Anim instance to be be registered + */ + this.registerElement = function(tween) { + queue[queue.length] = tween; + tweenCount += 1; + tween._onStart.fire(); + this.start(); + }; + + /** + * removes an animation instance from the animation queue. + * All animation instances must be registered in order to animate. + * @method unRegister + * @param {object} tween The Anim instance to be be registered + * @param {Int} index The index of the Anim instance + * @private + */ + this.unRegister = function(tween, index) { + index = index || getIndex(tween); + if (!tween.isAnimated() || index === -1) { + return false; + } + + tween._onComplete.fire(); + queue.splice(index, 1); + + tweenCount -= 1; + if (tweenCount <= 0) { + this.stop(); + } + + return true; + }; + + /** + * Starts the animation thread. + * Only one thread can run at a time. + * @method start + */ + this.start = function() { + if (thread === null) { + thread = setInterval(this.run, this.delay); + } + }; + + /** + * Stops the animation thread or a specific animation instance. + * @method stop + * @param {object} tween A specific Anim instance to stop (optional) + * If no instance given, Manager stops thread and all animations. + */ + this.stop = function(tween) { + if (!tween) { + clearInterval(thread); + + for (var i = 0, len = queue.length; i < len; ++i) { + this.unRegister(queue[0], 0); + } + + queue = []; + thread = null; + tweenCount = 0; + } + else { + this.unRegister(tween); + } + }; + + /** + * Called per Interval to handle each animation frame. + * @method run + */ + this.run = function() { + for (var i = 0, len = queue.length; i < len; ++i) { + var tween = queue[i]; + if ( !tween || !tween.isAnimated() ) { continue; } + + if (tween.currentFrame < tween.totalFrames || tween.totalFrames === null) + { + tween.currentFrame += 1; + + if (tween.useSeconds) { + correctFrame(tween); + } + tween._onTween.fire(); + } + else { YAHOO.util.AnimMgr.stop(tween, i); } + } + }; + + var getIndex = function(anim) { + for (var i = 0, len = queue.length; i < len; ++i) { + if (queue[i] === anim) { + return i; // note return; + } + } + return -1; + }; + + /** + * On the fly frame correction to keep animation on time. + * @method correctFrame + * @private + * @param {Object} tween The Anim instance being corrected. + */ + var correctFrame = function(tween) { + var frames = tween.totalFrames; + var frame = tween.currentFrame; + var expected = (tween.currentFrame * tween.duration * 1000 / tween.totalFrames); + var elapsed = (new Date() - tween.getStartTime()); + var tweak = 0; + + if (elapsed < tween.duration * 1000) { // check if falling behind + tweak = Math.round((elapsed / expected - 1) * tween.currentFrame); + } else { // went over duration, so jump to end + tweak = frames - (frame + 1); + } + if (tweak > 0 && isFinite(tweak)) { // adjust if needed + if (tween.currentFrame + tweak >= frames) {// dont go past last frame + tweak = frames - (frame + 1); + } + + tween.currentFrame += tweak; + } + }; + this._queue = queue; + this._getIndex = getIndex; +}; +/** + * Used to calculate Bezier splines for any number of control points. + * @class Bezier + * @namespace YAHOO.util + * + */ +YAHOO.util.Bezier = new function() { + /** + * Get the current position of the animated element based on t. + * Each point is an array of "x" and "y" values (0 = x, 1 = y) + * At least 2 points are required (start and end). + * First point is start. Last point is end. + * Additional control points are optional. + * @method getPosition + * @param {Array} points An array containing Bezier points + * @param {Number} t A number between 0 and 1 which is the basis for determining current position + * @return {Array} An array containing int x and y member data + */ + this.getPosition = function(points, t) { + var n = points.length; + var tmp = []; + + for (var i = 0; i < n; ++i){ + tmp[i] = [points[i][0], points[i][1]]; // save input + } + + for (var j = 1; j < n; ++j) { + for (i = 0; i < n - j; ++i) { + tmp[i][0] = (1 - t) * tmp[i][0] + t * tmp[parseInt(i + 1, 10)][0]; + tmp[i][1] = (1 - t) * tmp[i][1] + t * tmp[parseInt(i + 1, 10)][1]; + } + } + + return [ tmp[0][0], tmp[0][1] ]; + + }; +}; +(function() { +/** + * Anim subclass for color transitions. + *

    Usage: var myAnim = new Y.ColorAnim(el, { backgroundColor: { from: '#FF0000', to: '#FFFFFF' } }, 1, Y.Easing.easeOut); Color values can be specified with either 112233, #112233, + * [255,255,255], or rgb(255,255,255)

    + * @class ColorAnim + * @namespace YAHOO.util + * @requires YAHOO.util.Anim + * @requires YAHOO.util.AnimMgr + * @requires YAHOO.util.Easing + * @requires YAHOO.util.Bezier + * @requires YAHOO.util.Dom + * @requires YAHOO.util.Event + * @constructor + * @extends YAHOO.util.Anim + * @param {HTMLElement | String} el Reference to the element that will be animated + * @param {Object} attributes The attribute(s) to be animated. + * Each attribute is an object with at minimum a "to" or "by" member defined. + * Additional optional members are "from" (defaults to current value), "units" (defaults to "px"). + * All attribute names use camelCase. + * @param {Number} duration (optional, defaults to 1 second) Length of animation (frames or seconds), defaults to time-based + * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone) Computes the values that are applied to the attributes per frame (generally a YAHOO.util.Easing method) + */ + var ColorAnim = function(el, attributes, duration, method) { + ColorAnim.superclass.constructor.call(this, el, attributes, duration, method); + }; + + ColorAnim.NAME = 'ColorAnim'; + + ColorAnim.DEFAULT_BGCOLOR = '#fff'; + // shorthand + var Y = YAHOO.util; + YAHOO.extend(ColorAnim, Y.Anim); + + var superclass = ColorAnim.superclass; + var proto = ColorAnim.prototype; + + proto.patterns.color = /color$/i; + proto.patterns.rgb = /^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i; + proto.patterns.hex = /^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i; + proto.patterns.hex3 = /^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i; + proto.patterns.transparent = /^transparent|rgba\(0, 0, 0, 0\)$/; // need rgba for safari + + /** + * Attempts to parse the given string and return a 3-tuple. + * @method parseColor + * @param {String} s The string to parse. + * @return {Array} The 3-tuple of rgb values. + */ + proto.parseColor = function(s) { + if (s.length == 3) { return s; } + + var c = this.patterns.hex.exec(s); + if (c && c.length == 4) { + return [ parseInt(c[1], 16), parseInt(c[2], 16), parseInt(c[3], 16) ]; + } + + c = this.patterns.rgb.exec(s); + if (c && c.length == 4) { + return [ parseInt(c[1], 10), parseInt(c[2], 10), parseInt(c[3], 10) ]; + } + + c = this.patterns.hex3.exec(s); + if (c && c.length == 4) { + return [ parseInt(c[1] + c[1], 16), parseInt(c[2] + c[2], 16), parseInt(c[3] + c[3], 16) ]; + } + + return null; + }; + + proto.getAttribute = function(attr) { + var el = this.getEl(); + if (this.patterns.color.test(attr) ) { + var val = YAHOO.util.Dom.getStyle(el, attr); + + var that = this; + if (this.patterns.transparent.test(val)) { // bgcolor default + var parent = YAHOO.util.Dom.getAncestorBy(el, function(node) { + return !that.patterns.transparent.test(val); + }); + + if (parent) { + val = Y.Dom.getStyle(parent, attr); + } else { + val = ColorAnim.DEFAULT_BGCOLOR; + } + } + } else { + val = superclass.getAttribute.call(this, attr); + } + + return val; + }; + + proto.doMethod = function(attr, start, end) { + var val; + + if ( this.patterns.color.test(attr) ) { + val = []; + for (var i = 0, len = start.length; i < len; ++i) { + val[i] = superclass.doMethod.call(this, attr, start[i], end[i]); + } + + val = 'rgb('+Math.floor(val[0])+','+Math.floor(val[1])+','+Math.floor(val[2])+')'; + } + else { + val = superclass.doMethod.call(this, attr, start, end); + } + + return val; + }; + + proto.setRuntimeAttribute = function(attr) { + superclass.setRuntimeAttribute.call(this, attr); + + if ( this.patterns.color.test(attr) ) { + var attributes = this.attributes; + var start = this.parseColor(this.runtimeAttributes[attr].start); + var end = this.parseColor(this.runtimeAttributes[attr].end); + // fix colors if going "by" + if ( typeof attributes[attr]['to'] === 'undefined' && typeof attributes[attr]['by'] !== 'undefined' ) { + end = this.parseColor(attributes[attr].by); + + for (var i = 0, len = start.length; i < len; ++i) { + end[i] = start[i] + end[i]; + } + } + + this.runtimeAttributes[attr].start = start; + this.runtimeAttributes[attr].end = end; + } + }; + + Y.ColorAnim = ColorAnim; +})(); +/*! +TERMS OF USE - EASING EQUATIONS +Open source under the BSD License. +Copyright 2001 Robert Penner All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + * Neither the name of the author nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/** + * Singleton that determines how an animation proceeds from start to end. + * @class Easing + * @namespace YAHOO.util +*/ + +YAHOO.util.Easing = { + + /** + * Uniform speed between points. + * @method easeNone + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeNone: function (t, b, c, d) { + return c*t/d + b; + }, + + /** + * Begins slowly and accelerates towards end. + * @method easeIn + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeIn: function (t, b, c, d) { + return c*(t/=d)*t + b; + }, + + /** + * Begins quickly and decelerates towards end. + * @method easeOut + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeOut: function (t, b, c, d) { + return -c *(t/=d)*(t-2) + b; + }, + + /** + * Begins slowly and decelerates towards end. + * @method easeBoth + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeBoth: function (t, b, c, d) { + if ((t/=d/2) < 1) { + return c/2*t*t + b; + } + + return -c/2 * ((--t)*(t-2) - 1) + b; + }, + + /** + * Begins slowly and accelerates towards end. + * @method easeInStrong + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeInStrong: function (t, b, c, d) { + return c*(t/=d)*t*t*t + b; + }, + + /** + * Begins quickly and decelerates towards end. + * @method easeOutStrong + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeOutStrong: function (t, b, c, d) { + return -c * ((t=t/d-1)*t*t*t - 1) + b; + }, + + /** + * Begins slowly and decelerates towards end. + * @method easeBothStrong + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeBothStrong: function (t, b, c, d) { + if ((t/=d/2) < 1) { + return c/2*t*t*t*t + b; + } + + return -c/2 * ((t-=2)*t*t*t - 2) + b; + }, + + /** + * Snap in elastic effect. + * @method elasticIn + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} a Amplitude (optional) + * @param {Number} p Period (optional) + * @return {Number} The computed value for the current animation frame + */ + + elasticIn: function (t, b, c, d, a, p) { + if (t == 0) { + return b; + } + if ( (t /= d) == 1 ) { + return b+c; + } + if (!p) { + p=d*.3; + } + + if (!a || a < Math.abs(c)) { + a = c; + var s = p/4; + } + else { + var s = p/(2*Math.PI) * Math.asin (c/a); + } + + return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; + }, + + /** + * Snap out elastic effect. + * @method elasticOut + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} a Amplitude (optional) + * @param {Number} p Period (optional) + * @return {Number} The computed value for the current animation frame + */ + elasticOut: function (t, b, c, d, a, p) { + if (t == 0) { + return b; + } + if ( (t /= d) == 1 ) { + return b+c; + } + if (!p) { + p=d*.3; + } + + if (!a || a < Math.abs(c)) { + a = c; + var s = p / 4; + } + else { + var s = p/(2*Math.PI) * Math.asin (c/a); + } + + return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; + }, + + /** + * Snap both elastic effect. + * @method elasticBoth + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} a Amplitude (optional) + * @param {Number} p Period (optional) + * @return {Number} The computed value for the current animation frame + */ + elasticBoth: function (t, b, c, d, a, p) { + if (t == 0) { + return b; + } + + if ( (t /= d/2) == 2 ) { + return b+c; + } + + if (!p) { + p = d*(.3*1.5); + } + + if ( !a || a < Math.abs(c) ) { + a = c; + var s = p/4; + } + else { + var s = p/(2*Math.PI) * Math.asin (c/a); + } + + if (t < 1) { + return -.5*(a*Math.pow(2,10*(t-=1)) * + Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; + } + return a*Math.pow(2,-10*(t-=1)) * + Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; + }, + + + /** + * Backtracks slightly, then reverses direction and moves to end. + * @method backIn + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} s Overshoot (optional) + * @return {Number} The computed value for the current animation frame + */ + backIn: function (t, b, c, d, s) { + if (typeof s == 'undefined') { + s = 1.70158; + } + return c*(t/=d)*t*((s+1)*t - s) + b; + }, + + /** + * Overshoots end, then reverses and comes back to end. + * @method backOut + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} s Overshoot (optional) + * @return {Number} The computed value for the current animation frame + */ + backOut: function (t, b, c, d, s) { + if (typeof s == 'undefined') { + s = 1.70158; + } + return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; + }, + + /** + * Backtracks slightly, then reverses direction, overshoots end, + * then reverses and comes back to end. + * @method backBoth + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} s Overshoot (optional) + * @return {Number} The computed value for the current animation frame + */ + backBoth: function (t, b, c, d, s) { + if (typeof s == 'undefined') { + s = 1.70158; + } + + if ((t /= d/2 ) < 1) { + return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; + } + return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; + }, + + /** + * Bounce off of start. + * @method bounceIn + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + bounceIn: function (t, b, c, d) { + return c - YAHOO.util.Easing.bounceOut(d-t, 0, c, d) + b; + }, + + /** + * Bounces off end. + * @method bounceOut + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + bounceOut: function (t, b, c, d) { + if ((t/=d) < (1/2.75)) { + return c*(7.5625*t*t) + b; + } else if (t < (2/2.75)) { + return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; + } else if (t < (2.5/2.75)) { + return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; + } + return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; + }, + + /** + * Bounces off start and end. + * @method bounceBoth + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + bounceBoth: function (t, b, c, d) { + if (t < d/2) { + return YAHOO.util.Easing.bounceIn(t*2, 0, c, d) * .5 + b; + } + return YAHOO.util.Easing.bounceOut(t*2-d, 0, c, d) * .5 + c*.5 + b; + } +}; + +(function() { +/** + * Anim subclass for moving elements along a path defined by the "points" + * member of "attributes". All "points" are arrays with x, y coordinates. + *

    Usage: var myAnim = new YAHOO.util.Motion(el, { points: { to: [800, 800] } }, 1, YAHOO.util.Easing.easeOut);

    + * @class Motion + * @namespace YAHOO.util + * @requires YAHOO.util.Anim + * @requires YAHOO.util.AnimMgr + * @requires YAHOO.util.Easing + * @requires YAHOO.util.Bezier + * @requires YAHOO.util.Dom + * @requires YAHOO.util.Event + * @requires YAHOO.util.CustomEvent + * @constructor + * @extends YAHOO.util.ColorAnim + * @param {String | HTMLElement} el Reference to the element that will be animated + * @param {Object} attributes The attribute(s) to be animated. + * Each attribute is an object with at minimum a "to" or "by" member defined. + * Additional optional members are "from" (defaults to current value), "units" (defaults to "px"). + * All attribute names use camelCase. + * @param {Number} duration (optional, defaults to 1 second) Length of animation (frames or seconds), defaults to time-based + * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone) Computes the values that are applied to the attributes per frame (generally a YAHOO.util.Easing method) + */ + var Motion = function(el, attributes, duration, method) { + if (el) { // dont break existing subclasses not using YAHOO.extend + Motion.superclass.constructor.call(this, el, attributes, duration, method); + } + }; + + + Motion.NAME = 'Motion'; + + // shorthand + var Y = YAHOO.util; + YAHOO.extend(Motion, Y.ColorAnim); + + var superclass = Motion.superclass; + var proto = Motion.prototype; + + proto.patterns.points = /^points$/i; + + proto.setAttribute = function(attr, val, unit) { + if ( this.patterns.points.test(attr) ) { + unit = unit || 'px'; + superclass.setAttribute.call(this, 'left', val[0], unit); + superclass.setAttribute.call(this, 'top', val[1], unit); + } else { + superclass.setAttribute.call(this, attr, val, unit); + } + }; + + proto.getAttribute = function(attr) { + if ( this.patterns.points.test(attr) ) { + var val = [ + superclass.getAttribute.call(this, 'left'), + superclass.getAttribute.call(this, 'top') + ]; + } else { + val = superclass.getAttribute.call(this, attr); + } + + return val; + }; + + proto.doMethod = function(attr, start, end) { + var val = null; + + if ( this.patterns.points.test(attr) ) { + var t = this.method(this.currentFrame, 0, 100, this.totalFrames) / 100; + val = Y.Bezier.getPosition(this.runtimeAttributes[attr], t); + } else { + val = superclass.doMethod.call(this, attr, start, end); + } + return val; + }; + + proto.setRuntimeAttribute = function(attr) { + if ( this.patterns.points.test(attr) ) { + var el = this.getEl(); + var attributes = this.attributes; + var start; + var control = attributes['points']['control'] || []; + var end; + var i, len; + + if (control.length > 0 && !(control[0] instanceof Array) ) { // could be single point or array of points + control = [control]; + } else { // break reference to attributes.points.control + var tmp = []; + for (i = 0, len = control.length; i< len; ++i) { + tmp[i] = control[i]; + } + control = tmp; + } + + if (Y.Dom.getStyle(el, 'position') == 'static') { // default to relative + Y.Dom.setStyle(el, 'position', 'relative'); + } + + if ( isset(attributes['points']['from']) ) { + Y.Dom.setXY(el, attributes['points']['from']); // set position to from point + } + else { Y.Dom.setXY( el, Y.Dom.getXY(el) ); } // set it to current position + + start = this.getAttribute('points'); // get actual top & left + + // TO beats BY, per SMIL 2.1 spec + if ( isset(attributes['points']['to']) ) { + end = translateValues.call(this, attributes['points']['to'], start); + + var pageXY = Y.Dom.getXY(this.getEl()); + for (i = 0, len = control.length; i < len; ++i) { + control[i] = translateValues.call(this, control[i], start); + } + + + } else if ( isset(attributes['points']['by']) ) { + end = [ start[0] + attributes['points']['by'][0], start[1] + attributes['points']['by'][1] ]; + + for (i = 0, len = control.length; i < len; ++i) { + control[i] = [ start[0] + control[i][0], start[1] + control[i][1] ]; + } + } + + this.runtimeAttributes[attr] = [start]; + + if (control.length > 0) { + this.runtimeAttributes[attr] = this.runtimeAttributes[attr].concat(control); + } + + this.runtimeAttributes[attr][this.runtimeAttributes[attr].length] = end; + } + else { + superclass.setRuntimeAttribute.call(this, attr); + } + }; + + var translateValues = function(val, start) { + var pageXY = Y.Dom.getXY(this.getEl()); + val = [ val[0] - pageXY[0] + start[0], val[1] - pageXY[1] + start[1] ]; + + return val; + }; + + var isset = function(prop) { + return (typeof prop !== 'undefined'); + }; + + Y.Motion = Motion; +})(); +(function() { +/** + * Anim subclass for scrolling elements to a position defined by the "scroll" + * member of "attributes". All "scroll" members are arrays with x, y scroll positions. + *

    Usage: var myAnim = new YAHOO.util.Scroll(el, { scroll: { to: [0, 800] } }, 1, YAHOO.util.Easing.easeOut);

    + * @class Scroll + * @namespace YAHOO.util + * @requires YAHOO.util.Anim + * @requires YAHOO.util.AnimMgr + * @requires YAHOO.util.Easing + * @requires YAHOO.util.Bezier + * @requires YAHOO.util.Dom + * @requires YAHOO.util.Event + * @requires YAHOO.util.CustomEvent + * @extends YAHOO.util.ColorAnim + * @constructor + * @param {String or HTMLElement} el Reference to the element that will be animated + * @param {Object} attributes The attribute(s) to be animated. + * Each attribute is an object with at minimum a "to" or "by" member defined. + * Additional optional members are "from" (defaults to current value), "units" (defaults to "px"). + * All attribute names use camelCase. + * @param {Number} duration (optional, defaults to 1 second) Length of animation (frames or seconds), defaults to time-based + * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone) Computes the values that are applied to the attributes per frame (generally a YAHOO.util.Easing method) + */ + var Scroll = function(el, attributes, duration, method) { + if (el) { // dont break existing subclasses not using YAHOO.extend + Scroll.superclass.constructor.call(this, el, attributes, duration, method); + } + }; + + Scroll.NAME = 'Scroll'; + + // shorthand + var Y = YAHOO.util; + YAHOO.extend(Scroll, Y.ColorAnim); + + var superclass = Scroll.superclass; + var proto = Scroll.prototype; + + proto.doMethod = function(attr, start, end) { + var val = null; + + if (attr == 'scroll') { + val = [ + this.method(this.currentFrame, start[0], end[0] - start[0], this.totalFrames), + this.method(this.currentFrame, start[1], end[1] - start[1], this.totalFrames) + ]; + + } else { + val = superclass.doMethod.call(this, attr, start, end); + } + return val; + }; + + proto.getAttribute = function(attr) { + var val = null; + var el = this.getEl(); + + if (attr == 'scroll') { + val = [ el.scrollLeft, el.scrollTop ]; + } else { + val = superclass.getAttribute.call(this, attr); + } + + return val; + }; + + proto.setAttribute = function(attr, val, unit) { + var el = this.getEl(); + + if (attr == 'scroll') { + el.scrollLeft = val[0]; + el.scrollTop = val[1]; + } else { + superclass.setAttribute.call(this, attr, val, unit); + } + }; + + Y.Scroll = Scroll; +})(); +YAHOO.register("animation", YAHOO.util.Anim, {version: "2.8.0r4", build: "2449"}); diff --git a/yui/build/animation/animation-min.js b/yui/build/animation/animation-min.js new file mode 100644 index 0000000..9fe8c62 --- /dev/null +++ b/yui/build/animation/animation-min.js @@ -0,0 +1,23 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +(function(){var B=YAHOO.util;var A=function(D,C,E,F){if(!D){}this.init(D,C,E,F);};A.NAME="Anim";A.prototype={toString:function(){var C=this.getEl()||{};var D=C.id||C.tagName;return(this.constructor.NAME+": "+D);},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(C,E,D){return this.method(this.currentFrame,E,D-E,this.totalFrames);},setAttribute:function(C,F,E){var D=this.getEl();if(this.patterns.noNegatives.test(C)){F=(F>0)?F:0;}if(C in D&&!("style" in D&&C in D.style)){D[C]=F;}else{B.Dom.setStyle(D,C,F+E);}},getAttribute:function(C){var E=this.getEl();var G=B.Dom.getStyle(E,C);if(G!=="auto"&&!this.patterns.offsetUnit.test(G)){return parseFloat(G);}var D=this.patterns.offsetAttribute.exec(C)||[];var H=!!(D[3]);var F=!!(D[2]);if("style" in E){if(F||(B.Dom.getStyle(E,"position")=="absolute"&&H)){G=E["offset"+D[0].charAt(0).toUpperCase()+D[0].substr(1)];}else{G=0;}}else{if(C in E){G=E[C];}}return G;},getDefaultUnit:function(C){if(this.patterns.defaultUnit.test(C)){return"px";}return"";},setRuntimeAttribute:function(D){var I;var E;var F=this.attributes;this.runtimeAttributes[D]={};var H=function(J){return(typeof J!=="undefined");};if(!H(F[D]["to"])&&!H(F[D]["by"])){return false;}I=(H(F[D]["from"]))?F[D]["from"]:this.getAttribute(D);if(H(F[D]["to"])){E=F[D]["to"];}else{if(H(F[D]["by"])){if(I.constructor==Array){E=[];for(var G=0,C=I.length;G0&&isFinite(K)){if(G.currentFrame+K>=J){K=J-(I+1);}G.currentFrame+=K;}};this._queue=B;this._getIndex=E;};YAHOO.util.Bezier=new function(){this.getPosition=function(E,D){var F=E.length;var C=[];for(var B=0;B0&&!(L[0] instanceof Array)){L=[L];}else{var K=[];for(M=0,O=L.length;M0){this.runtimeAttributes[P]=this.runtimeAttributes[P].concat(L);}this.runtimeAttributes[P][this.runtimeAttributes[P].length]=I;}else{F.setRuntimeAttribute.call(this,P);}};var B=function(G,I){var H=E.Dom.getXY(this.getEl());G=[G[0]-H[0]+I[0],G[1]-H[1]+I[1]];return G;};var D=function(G){return(typeof G!=="undefined");};E.Motion=A;})();(function(){var D=function(F,E,G,H){if(F){D.superclass.constructor.call(this,F,E,G,H);}};D.NAME="Scroll";var B=YAHOO.util;YAHOO.extend(D,B.ColorAnim);var C=D.superclass;var A=D.prototype;A.doMethod=function(E,H,F){var G=null;if(E=="scroll"){G=[this.method(this.currentFrame,H[0],F[0]-H[0],this.totalFrames),this.method(this.currentFrame,H[1],F[1]-H[1],this.totalFrames)];}else{G=C.doMethod.call(this,E,H,F);}return G;};A.getAttribute=function(E){var G=null;var F=this.getEl();if(E=="scroll"){G=[F.scrollLeft,F.scrollTop];}else{G=C.getAttribute.call(this,E);}return G;};A.setAttribute=function(E,H,G){var F=this.getEl();if(E=="scroll"){F.scrollLeft=H[0];F.scrollTop=H[1];}else{C.setAttribute.call(this,E,H,G);}};B.Scroll=D;})();YAHOO.register("animation",YAHOO.util.Anim,{version:"2.8.0r4",build:"2449"}); \ No newline at end of file diff --git a/yui/build/animation/animation.js b/yui/build/animation/animation.js new file mode 100644 index 0000000..5737b68 --- /dev/null +++ b/yui/build/animation/animation.js @@ -0,0 +1,1392 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +(function() { + +var Y = YAHOO.util; + +/* +Copyright (c) 2006, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +*/ + +/** + * The animation module provides allows effects to be added to HTMLElements. + * @module animation + * @requires yahoo, event, dom + */ + +/** + * + * Base animation class that provides the interface for building animated effects. + *

    Usage: var myAnim = new YAHOO.util.Anim(el, { width: { from: 10, to: 100 } }, 1, YAHOO.util.Easing.easeOut);

    + * @class Anim + * @namespace YAHOO.util + * @requires YAHOO.util.AnimMgr + * @requires YAHOO.util.Easing + * @requires YAHOO.util.Dom + * @requires YAHOO.util.Event + * @requires YAHOO.util.CustomEvent + * @constructor + * @param {String | HTMLElement} el Reference to the element that will be animated + * @param {Object} attributes The attribute(s) to be animated. + * Each attribute is an object with at minimum a "to" or "by" member defined. + * Additional optional members are "from" (defaults to current value), "units" (defaults to "px"). + * All attribute names use camelCase. + * @param {Number} duration (optional, defaults to 1 second) Length of animation (frames or seconds), defaults to time-based + * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone) Computes the values that are applied to the attributes per frame (generally a YAHOO.util.Easing method) + */ + +var Anim = function(el, attributes, duration, method) { + if (!el) { + } + this.init(el, attributes, duration, method); +}; + +Anim.NAME = 'Anim'; + +Anim.prototype = { + /** + * Provides a readable name for the Anim instance. + * @method toString + * @return {String} + */ + toString: function() { + var el = this.getEl() || {}; + var id = el.id || el.tagName; + return (this.constructor.NAME + ': ' + id); + }, + + patterns: { // cached for performance + noNegatives: /width|height|opacity|padding/i, // keep at zero or above + offsetAttribute: /^((width|height)|(top|left))$/, // use offsetValue as default + defaultUnit: /width|height|top$|bottom$|left$|right$/i, // use 'px' by default + offsetUnit: /\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i // IE may return these, so convert these to offset + }, + + /** + * Returns the value computed by the animation's "method". + * @method doMethod + * @param {String} attr The name of the attribute. + * @param {Number} start The value this attribute should start from for this animation. + * @param {Number} end The value this attribute should end at for this animation. + * @return {Number} The Value to be applied to the attribute. + */ + doMethod: function(attr, start, end) { + return this.method(this.currentFrame, start, end - start, this.totalFrames); + }, + + /** + * Applies a value to an attribute. + * @method setAttribute + * @param {String} attr The name of the attribute. + * @param {Number} val The value to be applied to the attribute. + * @param {String} unit The unit ('px', '%', etc.) of the value. + */ + setAttribute: function(attr, val, unit) { + var el = this.getEl(); + if ( this.patterns.noNegatives.test(attr) ) { + val = (val > 0) ? val : 0; + } + + if (attr in el && !('style' in el && attr in el.style)) { + el[attr] = val; + } else { + Y.Dom.setStyle(el, attr, val + unit); + } + }, + + /** + * Returns current value of the attribute. + * @method getAttribute + * @param {String} attr The name of the attribute. + * @return {Number} val The current value of the attribute. + */ + getAttribute: function(attr) { + var el = this.getEl(); + var val = Y.Dom.getStyle(el, attr); + + if (val !== 'auto' && !this.patterns.offsetUnit.test(val)) { + return parseFloat(val); + } + + var a = this.patterns.offsetAttribute.exec(attr) || []; + var pos = !!( a[3] ); // top or left + var box = !!( a[2] ); // width or height + + if ('style' in el) { + // use offsets for width/height and abs pos top/left + if ( box || (Y.Dom.getStyle(el, 'position') == 'absolute' && pos) ) { + val = el['offset' + a[0].charAt(0).toUpperCase() + a[0].substr(1)]; + } else { // default to zero for other 'auto' + val = 0; + } + } else if (attr in el) { + val = el[attr]; + } + + return val; + }, + + /** + * Returns the unit to use when none is supplied. + * @method getDefaultUnit + * @param {attr} attr The name of the attribute. + * @return {String} The default unit to be used. + */ + getDefaultUnit: function(attr) { + if ( this.patterns.defaultUnit.test(attr) ) { + return 'px'; + } + + return ''; + }, + + /** + * Sets the actual values to be used during the animation. Should only be needed for subclass use. + * @method setRuntimeAttribute + * @param {Object} attr The attribute object + * @private + */ + setRuntimeAttribute: function(attr) { + var start; + var end; + var attributes = this.attributes; + + this.runtimeAttributes[attr] = {}; + + var isset = function(prop) { + return (typeof prop !== 'undefined'); + }; + + if ( !isset(attributes[attr]['to']) && !isset(attributes[attr]['by']) ) { + return false; // note return; nothing to animate to + } + + start = ( isset(attributes[attr]['from']) ) ? attributes[attr]['from'] : this.getAttribute(attr); + + // To beats by, per SMIL 2.1 spec + if ( isset(attributes[attr]['to']) ) { + end = attributes[attr]['to']; + } else if ( isset(attributes[attr]['by']) ) { + if (start.constructor == Array) { + end = []; + for (var i = 0, len = start.length; i < len; ++i) { + end[i] = start[i] + attributes[attr]['by'][i] * 1; // times 1 to cast "by" + } + } else { + end = start + attributes[attr]['by'] * 1; + } + } + + this.runtimeAttributes[attr].start = start; + this.runtimeAttributes[attr].end = end; + + // set units if needed + this.runtimeAttributes[attr].unit = ( isset(attributes[attr].unit) ) ? + attributes[attr]['unit'] : this.getDefaultUnit(attr); + return true; + }, + + /** + * Constructor for Anim instance. + * @method init + * @param {String | HTMLElement} el Reference to the element that will be animated + * @param {Object} attributes The attribute(s) to be animated. + * Each attribute is an object with at minimum a "to" or "by" member defined. + * Additional optional members are "from" (defaults to current value), "units" (defaults to "px"). + * All attribute names use camelCase. + * @param {Number} duration (optional, defaults to 1 second) Length of animation (frames or seconds), defaults to time-based + * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone) Computes the values that are applied to the attributes per frame (generally a YAHOO.util.Easing method) + */ + init: function(el, attributes, duration, method) { + /** + * Whether or not the animation is running. + * @property isAnimated + * @private + * @type Boolean + */ + var isAnimated = false; + + /** + * A Date object that is created when the animation begins. + * @property startTime + * @private + * @type Date + */ + var startTime = null; + + /** + * The number of frames this animation was able to execute. + * @property actualFrames + * @private + * @type Int + */ + var actualFrames = 0; + + /** + * The element to be animated. + * @property el + * @private + * @type HTMLElement + */ + el = Y.Dom.get(el); + + /** + * The collection of attributes to be animated. + * Each attribute must have at least a "to" or "by" defined in order to animate. + * If "to" is supplied, the animation will end with the attribute at that value. + * If "by" is supplied, the animation will end at that value plus its starting value. + * If both are supplied, "to" is used, and "by" is ignored. + * Optional additional member include "from" (the value the attribute should start animating from, defaults to current value), and "unit" (the units to apply to the values). + * @property attributes + * @type Object + */ + this.attributes = attributes || {}; + + /** + * The length of the animation. Defaults to "1" (second). + * @property duration + * @type Number + */ + this.duration = !YAHOO.lang.isUndefined(duration) ? duration : 1; + + /** + * The method that will provide values to the attribute(s) during the animation. + * Defaults to "YAHOO.util.Easing.easeNone". + * @property method + * @type Function + */ + this.method = method || Y.Easing.easeNone; + + /** + * Whether or not the duration should be treated as seconds. + * Defaults to true. + * @property useSeconds + * @type Boolean + */ + this.useSeconds = true; // default to seconds + + /** + * The location of the current animation on the timeline. + * In time-based animations, this is used by AnimMgr to ensure the animation finishes on time. + * @property currentFrame + * @type Int + */ + this.currentFrame = 0; + + /** + * The total number of frames to be executed. + * In time-based animations, this is used by AnimMgr to ensure the animation finishes on time. + * @property totalFrames + * @type Int + */ + this.totalFrames = Y.AnimMgr.fps; + + /** + * Changes the animated element + * @method setEl + */ + this.setEl = function(element) { + el = Y.Dom.get(element); + }; + + /** + * Returns a reference to the animated element. + * @method getEl + * @return {HTMLElement} + */ + this.getEl = function() { return el; }; + + /** + * Checks whether the element is currently animated. + * @method isAnimated + * @return {Boolean} current value of isAnimated. + */ + this.isAnimated = function() { + return isAnimated; + }; + + /** + * Returns the animation start time. + * @method getStartTime + * @return {Date} current value of startTime. + */ + this.getStartTime = function() { + return startTime; + }; + + this.runtimeAttributes = {}; + + + + /** + * Starts the animation by registering it with the animation manager. + * @method animate + */ + this.animate = function() { + if ( this.isAnimated() ) { + return false; + } + + this.currentFrame = 0; + + this.totalFrames = ( this.useSeconds ) ? Math.ceil(Y.AnimMgr.fps * this.duration) : this.duration; + + if (this.duration === 0 && this.useSeconds) { // jump to last frame if zero second duration + this.totalFrames = 1; + } + Y.AnimMgr.registerElement(this); + return true; + }; + + /** + * Stops the animation. Normally called by AnimMgr when animation completes. + * @method stop + * @param {Boolean} finish (optional) If true, animation will jump to final frame. + */ + this.stop = function(finish) { + if (!this.isAnimated()) { // nothing to stop + return false; + } + + if (finish) { + this.currentFrame = this.totalFrames; + this._onTween.fire(); + } + Y.AnimMgr.stop(this); + }; + + var onStart = function() { + this.onStart.fire(); + + this.runtimeAttributes = {}; + for (var attr in this.attributes) { + this.setRuntimeAttribute(attr); + } + + isAnimated = true; + actualFrames = 0; + startTime = new Date(); + }; + + /** + * Feeds the starting and ending values for each animated attribute to doMethod once per frame, then applies the resulting value to the attribute(s). + * @private + */ + + var onTween = function() { + var data = { + duration: new Date() - this.getStartTime(), + currentFrame: this.currentFrame + }; + + data.toString = function() { + return ( + 'duration: ' + data.duration + + ', currentFrame: ' + data.currentFrame + ); + }; + + this.onTween.fire(data); + + var runtimeAttributes = this.runtimeAttributes; + + for (var attr in runtimeAttributes) { + this.setAttribute(attr, this.doMethod(attr, runtimeAttributes[attr].start, runtimeAttributes[attr].end), runtimeAttributes[attr].unit); + } + + actualFrames += 1; + }; + + var onComplete = function() { + var actual_duration = (new Date() - startTime) / 1000 ; + + var data = { + duration: actual_duration, + frames: actualFrames, + fps: actualFrames / actual_duration + }; + + data.toString = function() { + return ( + 'duration: ' + data.duration + + ', frames: ' + data.frames + + ', fps: ' + data.fps + ); + }; + + isAnimated = false; + actualFrames = 0; + this.onComplete.fire(data); + }; + + /** + * Custom event that fires after onStart, useful in subclassing + * @private + */ + this._onStart = new Y.CustomEvent('_start', this, true); + + /** + * Custom event that fires when animation begins + * Listen via subscribe method (e.g. myAnim.onStart.subscribe(someFunction) + * @event onStart + */ + this.onStart = new Y.CustomEvent('start', this); + + /** + * Custom event that fires between each frame + * Listen via subscribe method (e.g. myAnim.onTween.subscribe(someFunction) + * @event onTween + */ + this.onTween = new Y.CustomEvent('tween', this); + + /** + * Custom event that fires after onTween + * @private + */ + this._onTween = new Y.CustomEvent('_tween', this, true); + + /** + * Custom event that fires when animation ends + * Listen via subscribe method (e.g. myAnim.onComplete.subscribe(someFunction) + * @event onComplete + */ + this.onComplete = new Y.CustomEvent('complete', this); + /** + * Custom event that fires after onComplete + * @private + */ + this._onComplete = new Y.CustomEvent('_complete', this, true); + + this._onStart.subscribe(onStart); + this._onTween.subscribe(onTween); + this._onComplete.subscribe(onComplete); + } +}; + + Y.Anim = Anim; +})(); +/** + * Handles animation queueing and threading. + * Used by Anim and subclasses. + * @class AnimMgr + * @namespace YAHOO.util + */ +YAHOO.util.AnimMgr = new function() { + /** + * Reference to the animation Interval. + * @property thread + * @private + * @type Int + */ + var thread = null; + + /** + * The current queue of registered animation objects. + * @property queue + * @private + * @type Array + */ + var queue = []; + + /** + * The number of active animations. + * @property tweenCount + * @private + * @type Int + */ + var tweenCount = 0; + + /** + * Base frame rate (frames per second). + * Arbitrarily high for better x-browser calibration (slower browsers drop more frames). + * @property fps + * @type Int + * + */ + this.fps = 1000; + + /** + * Interval delay in milliseconds, defaults to fastest possible. + * @property delay + * @type Int + * + */ + this.delay = 1; + + /** + * Adds an animation instance to the animation queue. + * All animation instances must be registered in order to animate. + * @method registerElement + * @param {object} tween The Anim instance to be be registered + */ + this.registerElement = function(tween) { + queue[queue.length] = tween; + tweenCount += 1; + tween._onStart.fire(); + this.start(); + }; + + /** + * removes an animation instance from the animation queue. + * All animation instances must be registered in order to animate. + * @method unRegister + * @param {object} tween The Anim instance to be be registered + * @param {Int} index The index of the Anim instance + * @private + */ + this.unRegister = function(tween, index) { + index = index || getIndex(tween); + if (!tween.isAnimated() || index === -1) { + return false; + } + + tween._onComplete.fire(); + queue.splice(index, 1); + + tweenCount -= 1; + if (tweenCount <= 0) { + this.stop(); + } + + return true; + }; + + /** + * Starts the animation thread. + * Only one thread can run at a time. + * @method start + */ + this.start = function() { + if (thread === null) { + thread = setInterval(this.run, this.delay); + } + }; + + /** + * Stops the animation thread or a specific animation instance. + * @method stop + * @param {object} tween A specific Anim instance to stop (optional) + * If no instance given, Manager stops thread and all animations. + */ + this.stop = function(tween) { + if (!tween) { + clearInterval(thread); + + for (var i = 0, len = queue.length; i < len; ++i) { + this.unRegister(queue[0], 0); + } + + queue = []; + thread = null; + tweenCount = 0; + } + else { + this.unRegister(tween); + } + }; + + /** + * Called per Interval to handle each animation frame. + * @method run + */ + this.run = function() { + for (var i = 0, len = queue.length; i < len; ++i) { + var tween = queue[i]; + if ( !tween || !tween.isAnimated() ) { continue; } + + if (tween.currentFrame < tween.totalFrames || tween.totalFrames === null) + { + tween.currentFrame += 1; + + if (tween.useSeconds) { + correctFrame(tween); + } + tween._onTween.fire(); + } + else { YAHOO.util.AnimMgr.stop(tween, i); } + } + }; + + var getIndex = function(anim) { + for (var i = 0, len = queue.length; i < len; ++i) { + if (queue[i] === anim) { + return i; // note return; + } + } + return -1; + }; + + /** + * On the fly frame correction to keep animation on time. + * @method correctFrame + * @private + * @param {Object} tween The Anim instance being corrected. + */ + var correctFrame = function(tween) { + var frames = tween.totalFrames; + var frame = tween.currentFrame; + var expected = (tween.currentFrame * tween.duration * 1000 / tween.totalFrames); + var elapsed = (new Date() - tween.getStartTime()); + var tweak = 0; + + if (elapsed < tween.duration * 1000) { // check if falling behind + tweak = Math.round((elapsed / expected - 1) * tween.currentFrame); + } else { // went over duration, so jump to end + tweak = frames - (frame + 1); + } + if (tweak > 0 && isFinite(tweak)) { // adjust if needed + if (tween.currentFrame + tweak >= frames) {// dont go past last frame + tweak = frames - (frame + 1); + } + + tween.currentFrame += tweak; + } + }; + this._queue = queue; + this._getIndex = getIndex; +}; +/** + * Used to calculate Bezier splines for any number of control points. + * @class Bezier + * @namespace YAHOO.util + * + */ +YAHOO.util.Bezier = new function() { + /** + * Get the current position of the animated element based on t. + * Each point is an array of "x" and "y" values (0 = x, 1 = y) + * At least 2 points are required (start and end). + * First point is start. Last point is end. + * Additional control points are optional. + * @method getPosition + * @param {Array} points An array containing Bezier points + * @param {Number} t A number between 0 and 1 which is the basis for determining current position + * @return {Array} An array containing int x and y member data + */ + this.getPosition = function(points, t) { + var n = points.length; + var tmp = []; + + for (var i = 0; i < n; ++i){ + tmp[i] = [points[i][0], points[i][1]]; // save input + } + + for (var j = 1; j < n; ++j) { + for (i = 0; i < n - j; ++i) { + tmp[i][0] = (1 - t) * tmp[i][0] + t * tmp[parseInt(i + 1, 10)][0]; + tmp[i][1] = (1 - t) * tmp[i][1] + t * tmp[parseInt(i + 1, 10)][1]; + } + } + + return [ tmp[0][0], tmp[0][1] ]; + + }; +}; +(function() { +/** + * Anim subclass for color transitions. + *

    Usage: var myAnim = new Y.ColorAnim(el, { backgroundColor: { from: '#FF0000', to: '#FFFFFF' } }, 1, Y.Easing.easeOut); Color values can be specified with either 112233, #112233, + * [255,255,255], or rgb(255,255,255)

    + * @class ColorAnim + * @namespace YAHOO.util + * @requires YAHOO.util.Anim + * @requires YAHOO.util.AnimMgr + * @requires YAHOO.util.Easing + * @requires YAHOO.util.Bezier + * @requires YAHOO.util.Dom + * @requires YAHOO.util.Event + * @constructor + * @extends YAHOO.util.Anim + * @param {HTMLElement | String} el Reference to the element that will be animated + * @param {Object} attributes The attribute(s) to be animated. + * Each attribute is an object with at minimum a "to" or "by" member defined. + * Additional optional members are "from" (defaults to current value), "units" (defaults to "px"). + * All attribute names use camelCase. + * @param {Number} duration (optional, defaults to 1 second) Length of animation (frames or seconds), defaults to time-based + * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone) Computes the values that are applied to the attributes per frame (generally a YAHOO.util.Easing method) + */ + var ColorAnim = function(el, attributes, duration, method) { + ColorAnim.superclass.constructor.call(this, el, attributes, duration, method); + }; + + ColorAnim.NAME = 'ColorAnim'; + + ColorAnim.DEFAULT_BGCOLOR = '#fff'; + // shorthand + var Y = YAHOO.util; + YAHOO.extend(ColorAnim, Y.Anim); + + var superclass = ColorAnim.superclass; + var proto = ColorAnim.prototype; + + proto.patterns.color = /color$/i; + proto.patterns.rgb = /^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i; + proto.patterns.hex = /^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i; + proto.patterns.hex3 = /^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i; + proto.patterns.transparent = /^transparent|rgba\(0, 0, 0, 0\)$/; // need rgba for safari + + /** + * Attempts to parse the given string and return a 3-tuple. + * @method parseColor + * @param {String} s The string to parse. + * @return {Array} The 3-tuple of rgb values. + */ + proto.parseColor = function(s) { + if (s.length == 3) { return s; } + + var c = this.patterns.hex.exec(s); + if (c && c.length == 4) { + return [ parseInt(c[1], 16), parseInt(c[2], 16), parseInt(c[3], 16) ]; + } + + c = this.patterns.rgb.exec(s); + if (c && c.length == 4) { + return [ parseInt(c[1], 10), parseInt(c[2], 10), parseInt(c[3], 10) ]; + } + + c = this.patterns.hex3.exec(s); + if (c && c.length == 4) { + return [ parseInt(c[1] + c[1], 16), parseInt(c[2] + c[2], 16), parseInt(c[3] + c[3], 16) ]; + } + + return null; + }; + + proto.getAttribute = function(attr) { + var el = this.getEl(); + if (this.patterns.color.test(attr) ) { + var val = YAHOO.util.Dom.getStyle(el, attr); + + var that = this; + if (this.patterns.transparent.test(val)) { // bgcolor default + var parent = YAHOO.util.Dom.getAncestorBy(el, function(node) { + return !that.patterns.transparent.test(val); + }); + + if (parent) { + val = Y.Dom.getStyle(parent, attr); + } else { + val = ColorAnim.DEFAULT_BGCOLOR; + } + } + } else { + val = superclass.getAttribute.call(this, attr); + } + + return val; + }; + + proto.doMethod = function(attr, start, end) { + var val; + + if ( this.patterns.color.test(attr) ) { + val = []; + for (var i = 0, len = start.length; i < len; ++i) { + val[i] = superclass.doMethod.call(this, attr, start[i], end[i]); + } + + val = 'rgb('+Math.floor(val[0])+','+Math.floor(val[1])+','+Math.floor(val[2])+')'; + } + else { + val = superclass.doMethod.call(this, attr, start, end); + } + + return val; + }; + + proto.setRuntimeAttribute = function(attr) { + superclass.setRuntimeAttribute.call(this, attr); + + if ( this.patterns.color.test(attr) ) { + var attributes = this.attributes; + var start = this.parseColor(this.runtimeAttributes[attr].start); + var end = this.parseColor(this.runtimeAttributes[attr].end); + // fix colors if going "by" + if ( typeof attributes[attr]['to'] === 'undefined' && typeof attributes[attr]['by'] !== 'undefined' ) { + end = this.parseColor(attributes[attr].by); + + for (var i = 0, len = start.length; i < len; ++i) { + end[i] = start[i] + end[i]; + } + } + + this.runtimeAttributes[attr].start = start; + this.runtimeAttributes[attr].end = end; + } + }; + + Y.ColorAnim = ColorAnim; +})(); +/*! +TERMS OF USE - EASING EQUATIONS +Open source under the BSD License. +Copyright 2001 Robert Penner All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + * Neither the name of the author nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/** + * Singleton that determines how an animation proceeds from start to end. + * @class Easing + * @namespace YAHOO.util +*/ + +YAHOO.util.Easing = { + + /** + * Uniform speed between points. + * @method easeNone + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeNone: function (t, b, c, d) { + return c*t/d + b; + }, + + /** + * Begins slowly and accelerates towards end. + * @method easeIn + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeIn: function (t, b, c, d) { + return c*(t/=d)*t + b; + }, + + /** + * Begins quickly and decelerates towards end. + * @method easeOut + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeOut: function (t, b, c, d) { + return -c *(t/=d)*(t-2) + b; + }, + + /** + * Begins slowly and decelerates towards end. + * @method easeBoth + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeBoth: function (t, b, c, d) { + if ((t/=d/2) < 1) { + return c/2*t*t + b; + } + + return -c/2 * ((--t)*(t-2) - 1) + b; + }, + + /** + * Begins slowly and accelerates towards end. + * @method easeInStrong + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeInStrong: function (t, b, c, d) { + return c*(t/=d)*t*t*t + b; + }, + + /** + * Begins quickly and decelerates towards end. + * @method easeOutStrong + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeOutStrong: function (t, b, c, d) { + return -c * ((t=t/d-1)*t*t*t - 1) + b; + }, + + /** + * Begins slowly and decelerates towards end. + * @method easeBothStrong + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + easeBothStrong: function (t, b, c, d) { + if ((t/=d/2) < 1) { + return c/2*t*t*t*t + b; + } + + return -c/2 * ((t-=2)*t*t*t - 2) + b; + }, + + /** + * Snap in elastic effect. + * @method elasticIn + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} a Amplitude (optional) + * @param {Number} p Period (optional) + * @return {Number} The computed value for the current animation frame + */ + + elasticIn: function (t, b, c, d, a, p) { + if (t == 0) { + return b; + } + if ( (t /= d) == 1 ) { + return b+c; + } + if (!p) { + p=d*.3; + } + + if (!a || a < Math.abs(c)) { + a = c; + var s = p/4; + } + else { + var s = p/(2*Math.PI) * Math.asin (c/a); + } + + return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; + }, + + /** + * Snap out elastic effect. + * @method elasticOut + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} a Amplitude (optional) + * @param {Number} p Period (optional) + * @return {Number} The computed value for the current animation frame + */ + elasticOut: function (t, b, c, d, a, p) { + if (t == 0) { + return b; + } + if ( (t /= d) == 1 ) { + return b+c; + } + if (!p) { + p=d*.3; + } + + if (!a || a < Math.abs(c)) { + a = c; + var s = p / 4; + } + else { + var s = p/(2*Math.PI) * Math.asin (c/a); + } + + return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; + }, + + /** + * Snap both elastic effect. + * @method elasticBoth + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} a Amplitude (optional) + * @param {Number} p Period (optional) + * @return {Number} The computed value for the current animation frame + */ + elasticBoth: function (t, b, c, d, a, p) { + if (t == 0) { + return b; + } + + if ( (t /= d/2) == 2 ) { + return b+c; + } + + if (!p) { + p = d*(.3*1.5); + } + + if ( !a || a < Math.abs(c) ) { + a = c; + var s = p/4; + } + else { + var s = p/(2*Math.PI) * Math.asin (c/a); + } + + if (t < 1) { + return -.5*(a*Math.pow(2,10*(t-=1)) * + Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; + } + return a*Math.pow(2,-10*(t-=1)) * + Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; + }, + + + /** + * Backtracks slightly, then reverses direction and moves to end. + * @method backIn + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} s Overshoot (optional) + * @return {Number} The computed value for the current animation frame + */ + backIn: function (t, b, c, d, s) { + if (typeof s == 'undefined') { + s = 1.70158; + } + return c*(t/=d)*t*((s+1)*t - s) + b; + }, + + /** + * Overshoots end, then reverses and comes back to end. + * @method backOut + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} s Overshoot (optional) + * @return {Number} The computed value for the current animation frame + */ + backOut: function (t, b, c, d, s) { + if (typeof s == 'undefined') { + s = 1.70158; + } + return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; + }, + + /** + * Backtracks slightly, then reverses direction, overshoots end, + * then reverses and comes back to end. + * @method backBoth + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @param {Number} s Overshoot (optional) + * @return {Number} The computed value for the current animation frame + */ + backBoth: function (t, b, c, d, s) { + if (typeof s == 'undefined') { + s = 1.70158; + } + + if ((t /= d/2 ) < 1) { + return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; + } + return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; + }, + + /** + * Bounce off of start. + * @method bounceIn + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + bounceIn: function (t, b, c, d) { + return c - YAHOO.util.Easing.bounceOut(d-t, 0, c, d) + b; + }, + + /** + * Bounces off end. + * @method bounceOut + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + bounceOut: function (t, b, c, d) { + if ((t/=d) < (1/2.75)) { + return c*(7.5625*t*t) + b; + } else if (t < (2/2.75)) { + return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; + } else if (t < (2.5/2.75)) { + return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; + } + return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; + }, + + /** + * Bounces off start and end. + * @method bounceBoth + * @param {Number} t Time value used to compute current value + * @param {Number} b Starting value + * @param {Number} c Delta between start and end values + * @param {Number} d Total length of animation + * @return {Number} The computed value for the current animation frame + */ + bounceBoth: function (t, b, c, d) { + if (t < d/2) { + return YAHOO.util.Easing.bounceIn(t*2, 0, c, d) * .5 + b; + } + return YAHOO.util.Easing.bounceOut(t*2-d, 0, c, d) * .5 + c*.5 + b; + } +}; + +(function() { +/** + * Anim subclass for moving elements along a path defined by the "points" + * member of "attributes". All "points" are arrays with x, y coordinates. + *

    Usage: var myAnim = new YAHOO.util.Motion(el, { points: { to: [800, 800] } }, 1, YAHOO.util.Easing.easeOut);

    + * @class Motion + * @namespace YAHOO.util + * @requires YAHOO.util.Anim + * @requires YAHOO.util.AnimMgr + * @requires YAHOO.util.Easing + * @requires YAHOO.util.Bezier + * @requires YAHOO.util.Dom + * @requires YAHOO.util.Event + * @requires YAHOO.util.CustomEvent + * @constructor + * @extends YAHOO.util.ColorAnim + * @param {String | HTMLElement} el Reference to the element that will be animated + * @param {Object} attributes The attribute(s) to be animated. + * Each attribute is an object with at minimum a "to" or "by" member defined. + * Additional optional members are "from" (defaults to current value), "units" (defaults to "px"). + * All attribute names use camelCase. + * @param {Number} duration (optional, defaults to 1 second) Length of animation (frames or seconds), defaults to time-based + * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone) Computes the values that are applied to the attributes per frame (generally a YAHOO.util.Easing method) + */ + var Motion = function(el, attributes, duration, method) { + if (el) { // dont break existing subclasses not using YAHOO.extend + Motion.superclass.constructor.call(this, el, attributes, duration, method); + } + }; + + + Motion.NAME = 'Motion'; + + // shorthand + var Y = YAHOO.util; + YAHOO.extend(Motion, Y.ColorAnim); + + var superclass = Motion.superclass; + var proto = Motion.prototype; + + proto.patterns.points = /^points$/i; + + proto.setAttribute = function(attr, val, unit) { + if ( this.patterns.points.test(attr) ) { + unit = unit || 'px'; + superclass.setAttribute.call(this, 'left', val[0], unit); + superclass.setAttribute.call(this, 'top', val[1], unit); + } else { + superclass.setAttribute.call(this, attr, val, unit); + } + }; + + proto.getAttribute = function(attr) { + if ( this.patterns.points.test(attr) ) { + var val = [ + superclass.getAttribute.call(this, 'left'), + superclass.getAttribute.call(this, 'top') + ]; + } else { + val = superclass.getAttribute.call(this, attr); + } + + return val; + }; + + proto.doMethod = function(attr, start, end) { + var val = null; + + if ( this.patterns.points.test(attr) ) { + var t = this.method(this.currentFrame, 0, 100, this.totalFrames) / 100; + val = Y.Bezier.getPosition(this.runtimeAttributes[attr], t); + } else { + val = superclass.doMethod.call(this, attr, start, end); + } + return val; + }; + + proto.setRuntimeAttribute = function(attr) { + if ( this.patterns.points.test(attr) ) { + var el = this.getEl(); + var attributes = this.attributes; + var start; + var control = attributes['points']['control'] || []; + var end; + var i, len; + + if (control.length > 0 && !(control[0] instanceof Array) ) { // could be single point or array of points + control = [control]; + } else { // break reference to attributes.points.control + var tmp = []; + for (i = 0, len = control.length; i< len; ++i) { + tmp[i] = control[i]; + } + control = tmp; + } + + if (Y.Dom.getStyle(el, 'position') == 'static') { // default to relative + Y.Dom.setStyle(el, 'position', 'relative'); + } + + if ( isset(attributes['points']['from']) ) { + Y.Dom.setXY(el, attributes['points']['from']); // set position to from point + } + else { Y.Dom.setXY( el, Y.Dom.getXY(el) ); } // set it to current position + + start = this.getAttribute('points'); // get actual top & left + + // TO beats BY, per SMIL 2.1 spec + if ( isset(attributes['points']['to']) ) { + end = translateValues.call(this, attributes['points']['to'], start); + + var pageXY = Y.Dom.getXY(this.getEl()); + for (i = 0, len = control.length; i < len; ++i) { + control[i] = translateValues.call(this, control[i], start); + } + + + } else if ( isset(attributes['points']['by']) ) { + end = [ start[0] + attributes['points']['by'][0], start[1] + attributes['points']['by'][1] ]; + + for (i = 0, len = control.length; i < len; ++i) { + control[i] = [ start[0] + control[i][0], start[1] + control[i][1] ]; + } + } + + this.runtimeAttributes[attr] = [start]; + + if (control.length > 0) { + this.runtimeAttributes[attr] = this.runtimeAttributes[attr].concat(control); + } + + this.runtimeAttributes[attr][this.runtimeAttributes[attr].length] = end; + } + else { + superclass.setRuntimeAttribute.call(this, attr); + } + }; + + var translateValues = function(val, start) { + var pageXY = Y.Dom.getXY(this.getEl()); + val = [ val[0] - pageXY[0] + start[0], val[1] - pageXY[1] + start[1] ]; + + return val; + }; + + var isset = function(prop) { + return (typeof prop !== 'undefined'); + }; + + Y.Motion = Motion; +})(); +(function() { +/** + * Anim subclass for scrolling elements to a position defined by the "scroll" + * member of "attributes". All "scroll" members are arrays with x, y scroll positions. + *

    Usage: var myAnim = new YAHOO.util.Scroll(el, { scroll: { to: [0, 800] } }, 1, YAHOO.util.Easing.easeOut);

    + * @class Scroll + * @namespace YAHOO.util + * @requires YAHOO.util.Anim + * @requires YAHOO.util.AnimMgr + * @requires YAHOO.util.Easing + * @requires YAHOO.util.Bezier + * @requires YAHOO.util.Dom + * @requires YAHOO.util.Event + * @requires YAHOO.util.CustomEvent + * @extends YAHOO.util.ColorAnim + * @constructor + * @param {String or HTMLElement} el Reference to the element that will be animated + * @param {Object} attributes The attribute(s) to be animated. + * Each attribute is an object with at minimum a "to" or "by" member defined. + * Additional optional members are "from" (defaults to current value), "units" (defaults to "px"). + * All attribute names use camelCase. + * @param {Number} duration (optional, defaults to 1 second) Length of animation (frames or seconds), defaults to time-based + * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone) Computes the values that are applied to the attributes per frame (generally a YAHOO.util.Easing method) + */ + var Scroll = function(el, attributes, duration, method) { + if (el) { // dont break existing subclasses not using YAHOO.extend + Scroll.superclass.constructor.call(this, el, attributes, duration, method); + } + }; + + Scroll.NAME = 'Scroll'; + + // shorthand + var Y = YAHOO.util; + YAHOO.extend(Scroll, Y.ColorAnim); + + var superclass = Scroll.superclass; + var proto = Scroll.prototype; + + proto.doMethod = function(attr, start, end) { + var val = null; + + if (attr == 'scroll') { + val = [ + this.method(this.currentFrame, start[0], end[0] - start[0], this.totalFrames), + this.method(this.currentFrame, start[1], end[1] - start[1], this.totalFrames) + ]; + + } else { + val = superclass.doMethod.call(this, attr, start, end); + } + return val; + }; + + proto.getAttribute = function(attr) { + var val = null; + var el = this.getEl(); + + if (attr == 'scroll') { + val = [ el.scrollLeft, el.scrollTop ]; + } else { + val = superclass.getAttribute.call(this, attr); + } + + return val; + }; + + proto.setAttribute = function(attr, val, unit) { + var el = this.getEl(); + + if (attr == 'scroll') { + el.scrollLeft = val[0]; + el.scrollTop = val[1]; + } else { + superclass.setAttribute.call(this, attr, val, unit); + } + }; + + Y.Scroll = Scroll; +})(); +YAHOO.register("animation", YAHOO.util.Anim, {version: "2.8.0r4", build: "2449"}); diff --git a/yui/build/assets/skins/sam/ajax-loader.gif b/yui/build/assets/skins/sam/ajax-loader.gif new file mode 100644 index 0000000000000000000000000000000000000000..fe2cd23b3a3c017ae6acfd291135a998e2f8ee74 GIT binary patch literal 3208 zcmc(iX;4#H9>pJdFE7h`I{03&1A#Fh5ut4eDm1GK0RjYM5fB7KV#MGsi$D+vOBRqd zgf*ZfkQkyZBB-FP%_0qIW8nsBs{?emDDG|9WA}8815QoVR1F`dYN~qf$6L4Vt>5{d zbE+;kz|X}skqIz?cL4D54JR>7R zC=>$!T9zM?jlL0^I9{Q?tL@pK(cHe}-_1BFI}+1&2$&hkX+mb=uEfke`x6EB$@`M_ z1D3x+6zbfmRr5E@KMFuI#v=jAiQ3uG89q;9-Ry^&w1yMBlo4lEk+iEfP1~`Z92~Ch z)f})CRri0#HYFIlTMw~0MospF06WXy{W&YWHZ0k11QlAYagA`g5O>qXR=-HrvaSDB z_Zb0=l#$8xjDe^-X;5K?KVNEb2=?++uqjb-O>uH}3V{f=X`7C@YYi%YeTnA8$>uJL zdiJ@qX{;*$)Z!y4F&_ST_WAfw@%dWHWd;8me2W=>IK+3S8&sdijfuDK^L*g-myocg zROu67HjY0iw0C{snY#0R-qG!)?{-XEVE62>ig9TY@TJe3GXKdwJI@}|HamJe#?Oh? z>{oe56Alk5BlvXgg+R&0z85Eh49$Wmvo|XwF?%x^Ps^2qs0qZ3Lus@P^`@A3w%??Y zNrp~Cj`ZJGgco)yaDR-t*2poe`}@ODuqlfmf)3H3yyd&tGHN+(Pbqh2HaizA_Q?03 z6vb*{Wx}dVt(w~oQM1}L?Z-Q0t>x+_$09~DhU4QV>^p8+p>pT`ODnb?l<*T8U_yyX3gn$N3RHXr@+ zyvwBNh$Uem{8w}MwvKc7Gmcy*LA+#TjXHezj51<%sd86PQTE_%4<;Tv<}?{hyF5u{ zkD1y^OsUMEo~3O81nHZ-l2Kp%@HSdEL_C0LBdJI}v^9ywA{T7!B#!)OL4eaycbp&+ z5pvi?(F_W;coQ4kkztVq?e-uwu_(tvT3d^&DOEaAn;~2A)k(wQ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qtVG8F%5|iZw;3Bpv1e2bB;w=q)j57RxDTznFZ z3W@4K+O`crTxg*teEmo8b4BzyV0nd0j;L5srpzr-v7(E31Q2w!D0I{4^VvCVEDBK% z66eVw*qhwhwuinQ1=3A&0r@@%}|u!GftRru!rq=CeZOe*qn zn9DxM$)PhKM5mLc$Kh}X3U@IGpfHE8)geTm0W$~$2jiD{5_Niam1Aa-u?l5?(>BA6sZK>V=uqv=_H!;GRk>u*v_2IuH5uz@LJl! zo%n|YVa^Cd1g)$p7CBL?>dp$T>v@mAeRdBQ ze9w4I`#JtYzxS8wKA@n*nM@x$;j>^6p8iiJAfw-kO+FQYF`K+*DbdiS6yEK@3ss4I zb-S367!k?l1nf57%jYeZZRb@fFtH1zC_7P6K-5qzuxPfqlC^Y+Rkn zbFQFvs!+j^0Aulpi7jGEH4eJxe|oc;i#k&X*FNJ#({)(kiy|YGeTF=NOz@lp5 z{Q(*&J)M-|;LMD6f(rxO6Qt&82r*>2FC{xfrINcwkzh@0(^1z}{o3ZEbV%La)Tyd- zkE-Q3P(e`K>r7{mFAmn{+FinI28ktR!TXo>U>7bD#rtjy^Or>rfNofB{O3`2qkBz$ zf=qb{lOZ=#c);7PjT`KNS=CL!uR!jNgJZfMm*M&5n2(0!J$?isJIy7)ef}TtY5fE2 C|Ftdv literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/asc.gif b/yui/build/assets/skins/sam/asc.gif new file mode 100644 index 0000000000000000000000000000000000000000..a1fe7385d5ac940629233f0dc4bbd61f20959c3b GIT binary patch literal 177 zcmZ?wbhEHbU}|FG@8_44nAqLjosyCg9vmZ){{V zVZwy=_I7V?@1UTd{Jgy0-d;-!i@3Nr8*A&jy1Ge|CjI~ap8*F@{K>+|z#z_`1Cj^X z$-t`jKsD}w@w|)+IvTGc!Y=lCF}Yu=Q8eH=%k0e0mLc1=fuZY=!y%64o~d4Qx%?Cv FtO0P~GlKvC literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/autocomplete.css b/yui/build/assets/skins/sam/autocomplete.css new file mode 100644 index 0000000..07fc030 --- /dev/null +++ b/yui/build/assets/skins/sam/autocomplete.css @@ -0,0 +1,7 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +.yui-skin-sam .yui-ac{position:relative;font-family:arial;font-size:100%;}.yui-skin-sam .yui-ac-input{position:absolute;width:100%;}.yui-skin-sam .yui-ac-container{position:absolute;top:1.6em;width:100%;}.yui-skin-sam .yui-ac-content{position:absolute;width:100%;border:1px solid #808080;background:#fff;overflow:hidden;z-index:9050;}.yui-skin-sam .yui-ac-shadow{position:absolute;margin:.3em;width:100%;background:#000;-moz-opacity:.10;opacity:.10;filter:alpha(opacity=10);z-index:9049;}.yui-skin-sam .yui-ac iframe{opacity:0;filter:alpha(opacity=0);padding-right:.3em;padding-bottom:.3em;}.yui-skin-sam .yui-ac-content ul{margin:0;padding:0;width:100%;}.yui-skin-sam .yui-ac-content li{margin:0;padding:2px 5px;cursor:default;white-space:nowrap;list-style:none;zoom:1;}.yui-skin-sam .yui-ac-content li.yui-ac-prehighlight{background:#B3D4FF;}.yui-skin-sam .yui-ac-content li.yui-ac-highlight{background:#426FD9;color:#FFF;} diff --git a/yui/build/assets/skins/sam/back-h.png b/yui/build/assets/skins/sam/back-h.png new file mode 100644 index 0000000000000000000000000000000000000000..5f69f4e2564357c83eddcecd5f104e14ecf09d49 GIT binary patch literal 334 zcmeAS@N?(olHy`uVBq!ia0vp^8bBP#!2~4rHx?TMDaPU;cPEB*=VV?2IV|apzK#qG z8~eHcB(ehe3dtTpz6=aiY77hwEes65fIoOOtf|Nms9M{<~TG{NqzV`0JLv$@3}2r!1e&d7^!S-DO!ayYtzu zlYbXZdwJtvz~-c)`W2~GWd>K)%(x?;HM38a$5dPGdwUdyvi-fkSZmx?=65Sx>H+$T N!PC{xWt~$(695Wxh_(O# literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/back-v.png b/yui/build/assets/skins/sam/back-v.png new file mode 100644 index 0000000000000000000000000000000000000000..658574a9d560febf6f58a6a005e602ae734f97da GIT binary patch literal 338 zcmeAS@N?(olHy`uVBq!ia0vp^fk3Rm!2~2Z4>V?gr~;43Vg?4j!ywFfJby(BP>``W z$lZxy-8q?;Kn_c~qpu?a!^VE@KZ&eBzCyA`kS_y6l^O#>Lkk1LFQ8Dv3kHT#0|tgy z2@DKYGZ+}e3+C(!v;j)&_H=O!$#8xetNtMognoD1W&+apvb;IkbSm6HPD+>;$YzUet;PS1vwR5kn@U@xAZc*X`bN{qf6~>%I#YFG@c*bNAWmV~4vw71T)EP4+yI zm~wtolli{h{KvO{m;tHh|I%4jCy1_T3f;gJc5v07ee4g7Yue6#khD9T{)1zz`*b-fq}tl1_Oh5!JJ)zHb9Bj zo-U3d8P0E~+HyA*iX83NS6;e=XVR0zjVBT|NT_&L{`FGpKAL2Fa>10KxKFts1mAI{ zTl(++c+cBw&>1Hg`q?f)-lTL;*t$N(e z5?hd3GOgj$2NlMp2LqYB{x-9SR9ACql#~mV9Q=7MjH&2tFH1^vHs=YGaG?o#I;s{w z@^7uZwW|JFk^J=j)5pJVtzYr_iPcWOb;5U<>=m}`da)?fz4zkhFyGbPdQqiUBy97q c5+S&cLBv9~EU0~*E702vp00i_>zopr03oxJMgRZ+ literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/bar-v.png b/yui/build/assets/skins/sam/bar-v.png new file mode 100644 index 0000000000000000000000000000000000000000..2efd664d9abdddff7e06ec512e0198f5fcaf1a56 GIT binary patch literal 387 zcmeAS@N?(olHy`uVBq!ia0vp^0YI$5!2~3qF}(@{Qk(@Ik;M!Qe1}1p@p%4<6rdnu zage(c!@6@aFM%AEbVpxD28NCO+{4xi!)|R=d;J&iHZ8yvVO_gGSA|3s-364JloT@b e|NoWUGS9D3dxyvWMZl0`VDNPHb6Mw<&;$VKhMGhG literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/bg-h.gif b/yui/build/assets/skins/sam/bg-h.gif new file mode 100644 index 0000000000000000000000000000000000000000..996288916e82bf2972bb4b8097f1b4a0869955d2 GIT binary patch literal 212 zcmV;_04x7TNk%w1VbK5_0HOu};o;%Q$;qdur-_M)x3{;~*Vq65{{R30A^8LW000I6 zEC2ui0MP&(000A-Xu90~Fv>}*y*TU5yZ>M)j$~<`XsWJk>%MR-&vb3yc&_h!@BhG{ za7Zi~kI1BQ$!t1BgQ#>$ty-_xtai)odcWYXI4gJ*&gisy&2GEj@VIs;jK6uCK7M Ova__cwzs%A2>?48g>Yp6 literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/bg-v.gif b/yui/build/assets/skins/sam/bg-v.gif new file mode 100644 index 0000000000000000000000000000000000000000..8e287cd52222c75c8f921cfdd4b4ae02b783c0e4 GIT binary patch literal 481 zcmV<70UrKGNk%w1VI%+9?F_4V!T?c3Yi)6>)G>FKw(x2LD4*Voto|Nj60 z00000000000000000000A^8LW000R9EC2ui03-n5000F4Fv&@)y*TU5yZ>M)1%db# z2qKu>ks2)LB5`naUe$Rb%^?jF5?t^_yflh-^g;Ix9iB^kPjarXfkzSKvm137eG4lFF3Kmd=>a zn$n!qo;kDDqu96FtKO~LyW+j%zvjW{!|KKC$L`7S%ks_i&-T&y)B4r?*Pu#pof4P| zTr7Xv0HRt$kfFg^2){)Pr?BA>i=iIons~6H#(^J>3vz_$apcC5C`(}s7}B9hkS|51 zeAV(|&5SW!&diq6W>1_uyZvN2bfM3n002t}0{{R350Hx300004XF*Lt007q5 z)K6G40000PbVXQnQ*UN;cVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUzfKW_SMepzL z*?5)vnXr^-@mq~v#Is<_TJv!tH9IQe$@Xx30Dl4m?CIp{=H9&7-_qpj z@$&Na_V>}=-P_s8t;X5r<>9oxu=V))t;fI5&dBfV=di}q&Ctl)z^}#1!s6l2^YQNR z_4fPy{pIZK+vn}2t)%$)_toO#;n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CDV)h*M_W5O-6I^ zL?8rB&V;tNuN?bn1f}hMwYen95?IsymMq;u*q~)LN$27Z%ZlT}hgTuT?)!Qs9B$j` zgJRKfeJYExuV7lxqE&?1e{`%aFGmI}i`gU@j)%|Al&f{!0waQoXeKxtSzcSc=lJLY zYXVg^ZH!*rXx>|0jYJ~1;VRVWv$_`xBA>}7|7fET?R99Lt{%b>#H8%gO_B=Uv2 zEZr;OVLH8+?g$J?!XH~++cT_UbLr`l3|9xAPn1NT3|sX&7z{>cA%k_9O)_L-@4W|< zR;$G@Dz;|L6tAUISrR2!1W~qb$W})LQ?s{UYyQtI+$4M+`FW=0_tP{y=53kUUc{s# zj)J%$iGRI26*pvgbU}c}Bv|dpn337yda&vH^B^dlvL7Yi z@mSG(V{GAdZNNf>0fr$@qv3(QOWMNm!`ZQ3CJP5+#k*3l*t}Kjy}A=0vY@brM-Tu) zpX+wmyQJ-?{;c0BBEdO{9*y-|@c|18>k#HI2%TyNO^>vt!|h)Na{HGz1Fvj_hb{D5 zJ%*wsV*087z%uTCq5yIDOd+dU>g5^AA;fan9>~#P zUFIDp*E^prm1K-f+YNrkz>AFelrhp8wtB(G0M676;-~cnG0H;6K!E*vgTNlL6VXu? z+HC^fZvPTp7aBxoqy?Xu1lqCx9<&{!C2rKcXsJrvG#yNhy03)|QoT{41~uw_oBM|R k{QsPv*4L~bm;VVc0HT!-jb!e$TmS$707*qoM6N<$g7zKgCjbBd literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/button.css b/yui/build/assets/skins/sam/button.css new file mode 100644 index 0000000..9d63c61 --- /dev/null +++ b/yui/build/assets/skins/sam/button.css @@ -0,0 +1,7 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +.yui-button{display:-moz-inline-box;display:inline-block;vertical-align:text-bottom;}.yui-button .first-child{display:block;*display:inline-block;}.yui-button button,.yui-button a{display:block;*display:inline-block;border:none;margin:0;}.yui-button button{background-color:transparent;*overflow:visible;cursor:pointer;}.yui-button a{text-decoration:none;}.yui-skin-sam .yui-button{border-width:1px 0;border-style:solid;border-color:#808080;background:url(sprite.png) repeat-x 0 0;margin:auto .25em;}.yui-skin-sam .yui-button .first-child{border-width:0 1px;border-style:solid;border-color:#808080;margin:0 -1px;_margin:0;}.yui-skin-sam .yui-button button,.yui-skin-sam .yui-button a,.yui-skin-sam .yui-button a:visited{padding:0 10px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto;color:#000;}.yui-skin-sam .yui-button a{*line-height:1.875;*padding-bottom:1px;}.yui-skin-sam .yui-split-button button,.yui-skin-sam .yui-menu-button button{padding-right:20px;background-position:right center;background-repeat:no-repeat;}.yui-skin-sam .yui-menu-button button{background-image:url(menu-button-arrow.png);}.yui-skin-sam .yui-split-button button{background-image:url(split-button-arrow.png);}.yui-skin-sam .yui-button-focus{border-color:#7D98B8;background-position:0 -1300px;}.yui-skin-sam .yui-button-focus .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-split-button-focus button{background-image:url(split-button-arrow-focus.png);}.yui-skin-sam .yui-button-hover{border-color:#7D98B8;background-position:0 -1300px;}.yui-skin-sam .yui-button-hover .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-split-button-hover button{background-image:url(split-button-arrow-hover.png);}.yui-skin-sam .yui-button-active{border-color:#7D98B8;background-position:0 -1700px;}.yui-skin-sam .yui-button-active .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-split-button-activeoption{border-color:#808080;background-position:0 0;}.yui-skin-sam .yui-split-button-activeoption .first-child{border-color:#808080;}.yui-skin-sam .yui-split-button-activeoption button{background-image:url(split-button-arrow-active.png);}.yui-skin-sam .yui-radio-button-checked,.yui-skin-sam .yui-checkbox-button-checked{border-color:#304369;background-position:0 -1400px;}.yui-skin-sam .yui-radio-button-checked .first-child,.yui-skin-sam .yui-checkbox-button-checked .first-child{border-color:#304369;}.yui-skin-sam .yui-radio-button-checked button,.yui-skin-sam .yui-checkbox-button-checked button{color:#fff;}.yui-skin-sam .yui-button-disabled{border-color:#ccc;background-position:0 -1500px;}.yui-skin-sam .yui-button-disabled .first-child{border-color:#ccc;}.yui-skin-sam .yui-button-disabled button,.yui-skin-sam .yui-button-disabled a,.yui-skin-sam .yui-button-disabled a:visited{color:#A6A6A6;cursor:default;}.yui-skin-sam .yui-menu-button-disabled button{background-image:url(menu-button-arrow-disabled.png);}.yui-skin-sam .yui-split-button-disabled button{background-image:url(split-button-arrow-disabled.png);} diff --git a/yui/build/assets/skins/sam/calendar.css b/yui/build/assets/skins/sam/calendar.css new file mode 100644 index 0000000..b01c7e6 --- /dev/null +++ b/yui/build/assets/skins/sam/calendar.css @@ -0,0 +1,8 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +.yui-calcontainer{position:relative;float:left;_overflow:hidden;}.yui-calcontainer iframe{position:absolute;border:none;margin:0;padding:0;z-index:0;width:100%;height:100%;left:0;top:0;}.yui-calcontainer iframe.fixedsize{width:50em;height:50em;top:-1px;left:-1px;}.yui-calcontainer.multi .groupcal{z-index:1;float:left;position:relative;}.yui-calcontainer .title{position:relative;z-index:1;}.yui-calcontainer .close-icon{position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}.yui-calendar{position:relative;}.yui-calendar .calnavleft{position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}.yui-calendar .calnavright{position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}.yui-calendar .calheader{position:relative;width:100%;text-align:center;}.yui-calcontainer .yui-cal-nav-mask{position:absolute;z-index:2;margin:0;padding:0;width:100%;height:100%;_width:0;_height:0;left:0;top:0;display:none;}.yui-calcontainer .yui-cal-nav{position:absolute;z-index:3;top:0;display:none;}.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn{display:-moz-inline-box;display:inline-block;}.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button{display:block;*display:inline-block;*overflow:visible;border:none;background-color:transparent;cursor:pointer;}.yui-calendar .calbody a:hover{background:inherit;}p#clear{clear:left;padding-top:10px;}.yui-skin-sam .yui-calcontainer{background-color:#f2f2f2;border:1px solid #808080;padding:10px;}.yui-skin-sam .yui-calcontainer.multi{padding:0 5px 0 5px;}.yui-skin-sam .yui-calcontainer.multi .groupcal{background-color:transparent;border:none;padding:10px 5px 10px 5px;margin:0;}.yui-skin-sam .yui-calcontainer .title{background:url(sprite.png) repeat-x 0 0;border-bottom:1px solid #ccc;font:100% sans-serif;color:#000;font-weight:bold;height:auto;padding:.4em;margin:0 -10px 10px -10px;top:0;left:0;text-align:left;}.yui-skin-sam .yui-calcontainer.multi .title{margin:0 -5px 0 -5px;}.yui-skin-sam .yui-calcontainer.withtitle{padding-top:0;}.yui-skin-sam .yui-calcontainer .calclose{background:url(sprite.png) no-repeat 0 -300px;width:25px;height:15px;top:.4em;right:.4em;cursor:pointer;}.yui-skin-sam .yui-calendar{border-spacing:0;border-collapse:collapse;font:100% sans-serif;text-align:center;margin:0;}.yui-skin-sam .yui-calendar .calhead{background:transparent;border:none;vertical-align:middle;padding:0;}.yui-skin-sam .yui-calendar .calheader{background:transparent;font-weight:bold;padding:0 0 .6em 0;text-align:center;}.yui-skin-sam .yui-calendar .calheader img{border:none;}.yui-skin-sam .yui-calendar .calnavleft{background:url(sprite.png) no-repeat 0 -450px;width:25px;height:15px;top:0;bottom:0;left:-10px;margin-left:.4em;cursor:pointer;}.yui-skin-sam .yui-calendar .calnavright{background:url(sprite.png) no-repeat 0 -500px;width:25px;height:15px;top:0;bottom:0;right:-10px;margin-right:.4em;cursor:pointer;}.yui-skin-sam .yui-calendar .calweekdayrow{height:2em;}.yui-skin-sam .yui-calendar .calweekdayrow th{padding:0;border:none;}.yui-skin-sam .yui-calendar .calweekdaycell{color:#000;font-weight:bold;text-align:center;width:2em;}.yui-skin-sam .yui-calendar .calfoot{background-color:#f2f2f2;}.yui-skin-sam .yui-calendar .calrowhead,.yui-skin-sam .yui-calendar .calrowfoot{color:#a6a6a6;font-size:85%;font-style:normal;font-weight:normal;border:none;}.yui-skin-sam .yui-calendar .calrowhead{text-align:right;padding:0 2px 0 0;}.yui-skin-sam .yui-calendar .calrowfoot{text-align:left;padding:0 0 0 2px;}.yui-skin-sam .yui-calendar td.calcell{border:1px solid #ccc;background:#fff;padding:1px;height:1.6em;line-height:1.6em;text-align:center;white-space:nowrap;}.yui-skin-sam .yui-calendar td.calcell a{color:#06c;display:block;height:100%;text-decoration:none;}.yui-skin-sam .yui-calendar td.calcell.today{background-color:#000;}.yui-skin-sam .yui-calendar td.calcell.today a{background-color:#fff;}.yui-skin-sam .yui-calendar td.calcell.oom{background-color:#ccc;color:#a6a6a6;cursor:default;}.yui-skin-sam .yui-calendar td.calcell.selected{background-color:#fff;color:#000;}.yui-skin-sam .yui-calendar td.calcell.selected a{background-color:#b3d4ff;color:#000;}.yui-skin-sam .yui-calendar td.calcell.calcellhover{background-color:#426fd9;color:#fff;cursor:pointer;}.yui-skin-sam .yui-calendar td.calcell.calcellhover a{background-color:#426fd9;color:#fff;}.yui-skin-sam .yui-calendar td.calcell.previous{color:#e0e0e0;}.yui-skin-sam .yui-calendar td.calcell.restricted{text-decoration:line-through;}.yui-skin-sam .yui-calendar td.calcell.highlight1{background-color:#cf9;}.yui-skin-sam .yui-calendar td.calcell.highlight2{background-color:#9cf;}.yui-skin-sam .yui-calendar td.calcell.highlight3{background-color:#fcc;}.yui-skin-sam .yui-calendar td.calcell.highlight4{background-color:#cf9;}.yui-skin-sam .yui-calendar a.calnav{border:1px solid #f2f2f2;padding:0 4px;text-decoration:none;color:#000;zoom:1;}.yui-skin-sam .yui-calendar a.calnav:hover{background:url(sprite.png) repeat-x 0 0;border-color:#A0A0A0;cursor:pointer;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-mask{background-color:#000;opacity:.25;filter:alpha(opacity=25);}.yui-skin-sam .yui-calcontainer .yui-cal-nav{font-family:arial,helvetica,clean,sans-serif;font-size:93%;border:1px solid #808080;left:50%;margin-left:-7em;width:14em;padding:0;top:2.5em;background-color:#f2f2f2;}.yui-skin-sam .yui-calcontainer.withtitle .yui-cal-nav{top:4.5em;}.yui-skin-sam .yui-calcontainer.multi .yui-cal-nav{width:16em;margin-left:-8em;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-y,.yui-skin-sam .yui-calcontainer .yui-cal-nav-m,.yui-skin-sam .yui-calcontainer .yui-cal-nav-b{padding:5px 10px 5px 10px;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-b{text-align:center;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-e{margin-top:5px;padding:5px;background-color:#EDF5FF;border-top:1px solid black;display:none;}.yui-skin-sam .yui-calcontainer .yui-cal-nav label{display:block;font-weight:bold;} +.yui-skin-sam .yui-calcontainer .yui-cal-nav-mc{width:100%;_width:auto;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-y input.yui-invalid{background-color:#FFEE69;border:1px solid #000;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-yc{width:4em;}.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn{border:1px solid #808080;background:url(sprite.png) repeat-x 0 0;background-color:#ccc;margin:auto .15em;}.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button{padding:0 8px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto;color:#000;}.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default{border:1px solid #304369;background-color:#426fd9;background:url(sprite.png) repeat-x 0 -1400px;}.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default button{color:#fff;} diff --git a/yui/build/assets/skins/sam/carousel.css b/yui/build/assets/skins/sam/carousel.css new file mode 100644 index 0000000..dc1f978 --- /dev/null +++ b/yui/build/assets/skins/sam/carousel.css @@ -0,0 +1,7 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +.yui-carousel{visibility:hidden;overflow:hidden;position:relative;text-align:left;zoom:1;}.yui-carousel.yui-carousel-visible{visibility:visible;}.yui-carousel-content{overflow:hidden;position:relative;text-align:center;}.yui-carousel-element li{border:1px solid #ccc;list-style:none;margin:1px;overflow:hidden;padding:0;position:absolute;text-align:center;}.yui-carousel-vertical .yui-carousel-element li{display:block;float:none;}.yui-log .carousel{background:#f2e886;}.yui-carousel-nav{zoom:1;}.yui-carousel-nav:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.yui-carousel-button-focus{outline:1px dotted #000;}.yui-carousel-min-width{min-width:115px;}.yui-carousel-element{overflow:hidden;position:relative;margin:0 auto;padding:0;text-align:left;*margin:0;}.yui-carousel-horizontal .yui-carousel-element{width:320000px;}.yui-carousel-vertical .yui-carousel-element{height:320000px;}.yui-skin-sam .yui-carousel-nav select{position:static;}.yui-carousel .yui-carousel-item-selected{border:1px dashed #000;margin:1px;}.yui-skin-sam .yui-carousel,.yui-skin-sam .yui-carousel-vertical{border:1px solid #808080;}.yui-skin-sam .yui-carousel-nav{background:url(sprite.png) repeat-x 0 0;padding:3px;text-align:right;}.yui-skin-sam .yui-carousel-button{background:url(sprite.png) no-repeat 0 -600px;float:right;height:19px;margin:5px;overflow:hidden;width:40px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button{background-position:0 -800px;}.yui-skin-sam .yui-carousel-button-disabled{background-position:0 -2000px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button-disabled{background-position:0 -2100px;}.yui-skin-sam .yui-carousel-button input,.yui-skin-sam .yui-carousel-button button{background-color:transparent;border:0;cursor:pointer;display:block;height:44px;margin:-2px 0 0 -2px;padding:0 0 0 50px;}.yui-skin-sam span.yui-carousel-first-button{background-position:0 -550px;margin-left:-100px;margin-right:50px;*margin:5px 5px 5px -90px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button{background-position:0 -750px;}.yui-skin-sam span.yui-carousel-first-button-disabled{background-position:0 -1950px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button-disabled{background-position:0 -2050px;}.yui-skin-sam .yui-carousel-nav ul{float:right;height:19px;margin:0;margin-left:-220px;margin-right:100px;*margin-left:-160px;*margin-right:0;padding:0;}.yui-skin-sam .yui-carousel-min-width .yui-carousel-nav ul{*margin-left:-170px;}.yui-skin-sam .yui-carousel-nav select{position:relative;*right:50px;top:4px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav select{position:static;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav ul,.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav select{float:none;margin:0;*zoom:1;}.yui-skin-sam .yui-carousel-nav ul li{background:url(sprite.png) no-repeat 0 -650px;cursor:pointer;float:left;height:9px;list-style:none;margin:10px 0 0 5px;overflow:hidden;padding:0;width:9px;}.yui-skin-sam .yui-carousel-nav ul:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.yui-skin-sam .yui-carousel-nav ul li a{display:block;width:100%;height:100%;text-indent:-10000px;text-align:left;overflow:hidden;}.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-focus{outline:1px dotted #000;}.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-selected{background-position:0 -700px;}.yui-skin-sam .yui-carousel-item-loading{background:url(ajax-loader.gif) no-repeat 50% 50%;position:absolute;text-indent:-150px;} diff --git a/yui/build/assets/skins/sam/check0.gif b/yui/build/assets/skins/sam/check0.gif new file mode 100644 index 0000000000000000000000000000000000000000..193028b99361c6527f17a9056037f3d8729fada7 GIT binary patch literal 608 zcmZ?wbhEHb6krfzc;>|L^y$-=FJFHD{{8v$=l}lwYiw-%_U+rNSFb*Q{ycHwL|t9o z4nyho27-Mo48_U+qq=FHi!VMBd=eR6X0+O=zU@7{g=`t?<-R$aV!QBO~=si|q# zu3gWbJ!@`mzI^%e$A3uKV-Me@C^y%BTZ(p%u#nr1TIw0qR;)H>HZ-Y})b4zPm zdq-zicTcmUtRf$uChJr_107k%CMHe`N0x;P`5omrrJC4T89CNEtasp8#oolg$!xcC z*G^_mh9((lImRPL*@bMRWts#ebZswOyr3>2&}6S{Yk&KWy@0BkeG`wFo;Jga7tBID z3Or5XCSs!Nxxa8b*r|v&i3p1^@tiSGSg@dh)kuRwD&VlggmwY>tRDsr6B@;pN)`kN kI5!@bwak+c_`=}P#wi$N7O_%^c>;TH(y2L>8UhT~0GYwkU;qFB literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/check1.gif b/yui/build/assets/skins/sam/check1.gif new file mode 100644 index 0000000000000000000000000000000000000000..7d9ceba3847ffb41864626de755147cf2e0ccc41 GIT binary patch literal 622 zcmZ?wbhEHb6krfzcoxU7ckkYV2M?Y-d-m9|V>@>2*tTt3LPEl(O`BR;T8=%(xpqq#l;5>99Xq#)&2YTYiepbIy&0g+AOW@ zckS9Guc-F@`}d~imPLyeZQs6~fsu`YfvK{pX2F65U0q$Rt*sL$O-@Ws1A@}h((LT) z?(XjO>(?(?vSiJgH4`UJK6B=bk&)5y`M-)|l9Y<;$0E z*|Mdlr)S-|b(NKs3l=PFZf@Sadv|qB-H{_lmMvRWUS2+J+H@9n9wt`q{DLAwL&J0D z&M`1B06hgHX$=&AvM@3*#4+fAECR&|1N-TQIAB<`wzYS3c6IkOiz~=+aJchM|1mCdzDLXw4hE#vxNR(VN@CJ{DPhF!b7VuM)OM4A+ZRauU+7{|s2 zcnd2w$tde{Md^hbMtE?UD9bddsdKr+>S#rp``L#2t2OayvU`dd#ftf`8raM6HSzlj zc(5=uIVZF*Fl5;XgfOzUFmkr3NH`Qau*iwBl%AN_(0#mLZsnU73LZ^-il>A0j5i(a fVsVr<>G*MA!L!EM+AbM4F05F7ettU>BZD;n{1fhr literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/check2.gif b/yui/build/assets/skins/sam/check2.gif new file mode 100644 index 0000000000000000000000000000000000000000..181317599bfd45f03a7a69784b232509171d98e9 GIT binary patch literal 609 zcmZ?wbhEHb6krfzc;?HnW5@{Q2|Z;^P1R|37;4=+mc9 z2M!#ludjdl^y!^DcW&Oi`QX8Wd-v|GTD9u_{rlg(eY<=2?(*f!7cE+}Zr!@3rlz#C zw93lLty{Ntbad?6wX3|me9f9QU0q#_jEvpg-8D5erKP3o*RL-ssmjjIK6B=bk&#hr zYwM9CN4|dj+Sb-)XlVHT`}dxnp5w=lFIlo=!GZ+|z~IZE19BTEP8ittHTX6)x3spkcXW1j_cTk$%W!aLa!=*3 zc9)lEa$s@xW?Hz=(p!newn>g(hVaPYrXndu(oIuG-2?s&?!;%&%Yb2pGtyHpw{(Nw4Sq&gU}|FG@8_44nAqLjosyCg9vmZ){{V zVZwy=_I7V?@1UTd{Jgy0-d;-!i@3Nr8*A&jy1Ge|CjI~ap8*F@{K>+|z#z_`1Cj^X z$-t_&AfWe&MeGaLh@5Q0kS;d8>Ju6P(#(BMdM*5_og0L@6jvQ6(g^H!doZ(#VTvMy FH2`14Gspk{ literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/dt-arrow-dn.png b/yui/build/assets/skins/sam/dt-arrow-dn.png new file mode 100644 index 0000000000000000000000000000000000000000..85fda0bbca21cefc6b8cf1726bc83e43bff993c4 GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp@K+M9#3?wzWV%32ZXMj(L>;M1%fy~Ir2;r~IJAo|5 zk|4ie28U-i(tsREPZ!6Kid)Guq>ddput17Y#X`7&C779+nL(zFDdZjVkv^az22WQ% Jmvv4FO#tWt9i9LH literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/dt-arrow-up.png b/yui/build/assets/skins/sam/dt-arrow-up.png new file mode 100644 index 0000000000000000000000000000000000000000..1c674316aed41943dae79b01583956db63c8be08 GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp@K+M9#3?wzWV%32ZXMj(L>;M1%fy}VT__niwAVJ2G zAirP+hi5m^fE-Cr7srr_TgeGo2?+@gd>DjQ2|6TYNiZ`ri2h~@(drDS1}b9kboFyt I=akR{0KC>mi#>Q#WroDds`uzFx3^1VhlZBCift5iABmh#&!0aEf z>&{2rQ#+d!lrGr5WpF;$+r>U-p%#pf7j6C(;=#aR4FLK*IpF{R literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/editor-sprite-active.gif b/yui/build/assets/skins/sam/editor-sprite-active.gif new file mode 100644 index 0000000000000000000000000000000000000000..3e9d4200b3e6b124354f12d6c5f90513587315d1 GIT binary patch literal 5614 zcmWlacRbXO1I9o1xjo!{lubD$*{)PZ%E{hmB%^eSjHD|nE1g~Dp{$g<5<)o*8pfR! zLZ>29I-@cghx!`H{rWxsKCkEXdj5IdkF~9pp^@JPz#q9J2HuV@E>Cw=KWalD5brf5 z7wc(%{`^^vGTB!-Q^43kwVXjh56;{r((;NP8t1yuEj})vselgDp zJdb?taWtcvjSfDm=L^V}ZaKLe+_P)9)^>Fo%@uYsXOf}WU+182uy=&5+)M5H!WD-ChUT{vHz`j|Ar-IaI6Ki=Ci-5_eN1`t zGqh`>W~8@LxVW^o{`Ze4xRy(OI#qR0ZT}u!^=kFkuV44|^-VW(Btz1iyzMM)obKr> z>@hSMnO{|4D;zrHm3QOF{rmP4zL>DnXU2Ik4*81aZ0)6&J^|4uvxY=&&B9M@S3dQW ziUtc7dFj7_X7>i-p#Fn&xWUm|4n#*PAbQtP4XXWN4UG`BF5d}9aGRG0^~ zpr!1S43WLO09;BRC&b4t#FN_%}!gCj3UT>=B=4=;^zgX%MjIHDJvZzd?tgq9xj6grWkcJ-Pm!MfLLe zLB-PMcU$GY14L+B-Bd(V_WFAfe6a+CrdtErg- zJ60cq6b0_jPrO9DvQy)e`N=NHS*(n`bM+-dRv|u(=E#jZDelV+9VN?ncp-JgW~V52 zwIVT{rMFy#iB_M(Mw>~mXBU^-bBK=;wyjfDo5?#^YSF?}mRd7wq62j@gZG{qXc5HU zVDB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2PpC2-&&B3E$ECE>>39M1!!af3gV;41R5Qf z-41OaAmKthWWsNz0Mbf)IVHXlBcquI+t$ceBJ;N@@g+rkHxYlk_P+>pl+k9e)~Yyx zmt?jXgtqNpL*kfH`;^*2NsLWNdpsM!vDjycgq@m#`nNf}eZ1f3*h6f&@yCfKZ1trop_}aB&Hw!~#wUP{v$j*pA)z z4iDVB152V}6a+F6RE&fGNTQ+%E+{4s?#;pla3M)521(n)q+-sLKpMiEGh#I6E*p>K z!0u9D-n2J*O#>)1^xnS%x)K--7IDiFXp9AJ1Tah?2_}5YWDz$wLYqFmb=m~{CJ$=R z(Y88J0OgJA-+{xY&}_;-3pg$T`;P^NeIG*bVD!I3VHZg=*6*wx0WgOcc?0~9MvAH`;JfA9xZDO0c8ahywf2S^%-iCJ`B^Rh~qv==q;<0+CI6 z0wBWx#0LQJyzhc8^8<1>_yq!2X_-eNP+>wO_>zNNWun7v{++XCF$5OV!U#EVs%Yz} z9dH^8j=BX!Lqt4#44(rlVx7o7;%*2vVh5VmE<*MIf10VD@T8115_s7MT8>? zfpNh&2!ks@U_WC+2!Lo$hisT1TNYrC$s=Mi5WlQd%$r2yAS88L2=VY*HmafqdI%sV RDPx!cToE9&k%xf2{{!Lm*)sqD literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/editor-sprite.gif b/yui/build/assets/skins/sam/editor-sprite.gif new file mode 100644 index 0000000000000000000000000000000000000000..02042fa1474cd62d7de63588ae536f5495d45be2 GIT binary patch literal 5690 zcmWlc`9D;R!-mf}b7mjrAf%KTkv*d#OKL2MR7O!K8KEpaHR35eVysz;lYJBhC87)o zNg7L8q9!etQe%sx3@ubL@Atiby8eOd^SSQb4tAzy-tvGic2Np^|NaAp;hCA4+S=M- zUAeFK4*dD^XDMRGFF)tw$9*iT2m8w%ty0T!pRs@DFe)ST&@i`OGY$5)F!R^V2D+-9 zZg@L7IKIBEcWPj{KW+DxeB5?3i?Ok>0|yQ^#2W?%p8E2{I7SB+wq81kGr`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n#~Wr85`}GUO@1R+u9U4#pkD?BRgQ=>GuQ&P9Y$zQxd8>^3p9uCjc`5${7v zb&-kZ4<-89Rr=w){S3H-3Y1tWCJ||X%^#{d0(YQ5g@9@yBzkfE9Q1%95m+LI+X2}c z7F^F(3DW|SPl9_n1XUs2j@ElQ>RI9%Y8efIj&|xoET~Bit8DNJBF{;nS_U9S8$vA_ zubKc2{Ko$r?c7d~FFpu}{SP_35eN^upL(_Ka8AP@aG&VymvXh?SgM0MjVxl`7t!vK zuH3i#+_cl;0bir;pd(Ta$OIS56mc}jMoWP$oQRt47zK9UHBX}(e><|aTM zuzs+bFX!0=_C17-PhiA=PtJveJ8IUqf1heKdc@Q zeMp+emMtso64I-dmD&Wqq2sU-mNz1u|w~9K|>q6X(l^3C?(5)~zN!nXnEQg(74@A9Wwj zTLhD90B4EFSqxG@k~5>}Wdv&`74#FWuv7%+jbc^- z%5HIeOv@vi8Tb$y=8QKkL=4C>@F#?bjRaS5kZ2=7f*E+MnCdFQg&=s+73hoz^KlWE zjY32^CYuEuK;E1|WbOVz%vr=eUjVnixHBj;igaOvsX7cW^b6IIIS_OKkBxa1xo^Oc zL**7g0istJBUncaaAk&)3vg)+#NJ@&j2K8nsX8chTQmeSvC!yX!N|}uJL<;B&?pmt z3ZS#5x!16zbxQ-=BmHa6goY>S2K9gb`pje_A2 zyttS_PBZjErjiA>Nr-9!(i9i7`YZy8pdtp~V@$rofxVcRysbbnpeIFTybw4f3>o2E z9^$}5+((pRM(Lsw6O|GDReBB(CE`&s9WX(*wOJl9L48PaB#C&8>fo~Bov2KqPd7VLZet6gcnf2 zToyJFQKuxtZ*K5KkpkYCWWj+eX$nL(^d%K}C=^3+I(?`97aHUd8bb}3#CnrUIdHQw cR{5z6xrwa2TLKn}Th16kCL#yxH3(qwf7i6=Gynhq literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/editor.css b/yui/build/assets/skins/sam/editor.css new file mode 100644 index 0000000..00451d8 --- /dev/null +++ b/yui/build/assets/skins/sam/editor.css @@ -0,0 +1,10 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +.yui-busy{cursor:wait!important;}.yui-toolbar-container fieldset,.yui-editor-container fieldset{padding:0;margin:0;border:0;}.yui-toolbar-container legend{display:none;}.yui-skin-sam .yui-toolbar-container .yui-button button,.yui-skin-sam .yui-toolbar-container .yui-button a,.yui-skin-sam .yui-toolbar-container .yui-button a:visited{font-size:0;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-select button,.yui-skin-sam .yui-toolbar-container .yui-toolbar-select a,.yui-skin-sam .yui-toolbar-container .yui-toolbar-select a:visited,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton button,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a:visited{font-size:12px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.up,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.down{font-size:0;line-height:0;padding:0;}.yui-toolbar-container .yui-toolbar-subcont{padding:.25em 0;zoom:1;}.yui-toolbar-container-collapsed .yui-toolbar-subcont{display:none;}.yui-toolbar-container .yui-toolbar-subcont:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-toolbar-container span.yui-toolbar-draghandle{cursor:move;border-left:1px solid #999;border-right:1px solid #999;overflow:hidden;text-indent:77777px;width:2px;height:20px;display:block;clear:none;float:left;margin:0 0 0 .2em;}.yui-toolbar-container .yui-toolbar-titlebar.draggable{cursor:move;}.yui-toolbar-container .yui-toolbar-titlebar{position:relative;}.yui-toolbar-container .yui-toolbar-titlebar h2{font-weight:bold;letter-spacing:0;border:none;color:#000;margin:0;padding:.2em;}.yui-toolbar-container .yui-toolbar-titlebar h2 a{text-decoration:none;color:#000;cursor:default;}.yui-toolbar-container.yui-toolbar-grouped span.yui-toolbar-draghandle{height:40px;}.yui-toolbar-container .yui-toolbar-group{float:left;margin-right:.5em;zoom:1;}.yui-toolbar-container .yui-toolbar-group:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-toolbar-container .yui-toolbar-group h3{font-size:75%;padding:0 0 0 .25em;margin:0;}.yui-toolbar-container span.yui-toolbar-separator{width:2px;padding:0;height:18px;margin:.2em 0 .2em .1em;display:none;float:left;}.yui-toolbar-container.yui-toolbar-grouped span.yui-toolbar-separator{height:45px;*height:50px;}.yui-toolbar-container.yui-toolbar-grouped .yui-toolbar-group span.yui-toolbar-separator{height:18px;display:block;}.yui-toolbar-container ul li{margin:0;padding:0;list-style-type:none;}.yui-toolbar-container .yui-toolbar-nogrouplabels h3{display:none;}.yui-toolbar-container .yui-push-button,.yui-toolbar-container .yui-color-button,.yui-toolbar-container .yui-menu-button{position:relative;cursor:pointer;}.yui-toolbar-container .yui-button .first-child,.yui-toolbar-container .yui-button .first-child a{height:100%;width:100%;overflow:hidden;font-size:0;}.yui-toolbar-container .yui-button-disabled{cursor:default;}.yui-toolbar-container .yui-button-disabled .yui-toolbar-icon{opacity:.5;filter:alpha(opacity=50);}.yui-toolbar-container .yui-button-disabled .up,.yui-toolbar-container .yui-button-disabled .down{opacity:.5;filter:alpha(opacity=50);}.yui-toolbar-container .yui-button a{overflow:hidden;}.yui-toolbar-container .yui-toolbar-select .first-child a{cursor:pointer;}.yui-toolbar-fontname-arial{font-family:Arial;}.yui-toolbar-fontname-arial-black{font-family:Arial Black;}.yui-toolbar-fontname-comic-sans-ms{font-family:Comic Sans MS;}.yui-toolbar-fontname-courier-new{font-family:Courier New;}.yui-toolbar-fontname-times-new-roman{font-family:Times New Roman;}.yui-toolbar-fontname-verdana{font-family:Verdana;}.yui-toolbar-fontname-impact{font-family:Impact;}.yui-toolbar-fontname-lucida-console{font-family:Lucida Console;}.yui-toolbar-fontname-tahoma{font-family:Tahoma;}.yui-toolbar-fontname-trebuchet-ms{font-family:Trebuchet MS;}.yui-toolbar-container .yui-toolbar-spinbutton{position:relative;}.yui-toolbar-container .yui-toolbar-spinbutton .first-child a{z-index:0;opacity:1;}.yui-toolbar-container .yui-toolbar-spinbutton a.up,.yui-toolbar-container .yui-toolbar-spinbutton a.down{position:absolute;display:block;right:0;cursor:pointer;z-index:1;padding:0;margin:0;}.yui-toolbar-container .yui-overlay{position:absolute;}.yui-toolbar-container .yui-overlay ul li{margin:0;list-style-type:none;}.yui-toolbar-container{z-index:1;}.yui-editor-container .yui-editor-editable-container{position:relative;z-index:0;width:100%;}.yui-editor-container .yui-editor-masked{background-color:#CCC;height:100%;width:100%;position:absolute;top:0;left:0;opacity:.5;filter:alpha(opacity=50);}.yui-editor-container iframe{border:0;padding:0;margin:0;zoom:1;display:block;}.yui-editor-container .yui-editor-editable{padding:0;margin:0;}.yui-editor-container .dompath{font-size:85%;}.yui-editor-panel .hd{text-align:left;position:relative;}.yui-editor-panel .hd h3{font-weight:bold;padding:.25em 0 .25em .25em;margin:0;}.yui-editor-panel .bd{width:100%;zoom:1;position:relative;}.yui-editor-panel .bd div.yui-editor-body-cont{padding:.25em .1em;zoom:1;}.yui-editor-panel .bd .gecko form{overflow:auto;}.yui-editor-panel .bd div.yui-editor-body-cont:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-editor-panel .ft{text-align:right;width:99%;float:left;clear:both;}.yui-editor-panel .ft span.tip{display:block;position:relative;padding:.5em .5em .5em 23px;text-align:left;zoom:1;}.yui-editor-panel label{clear:both;float:left;padding:0;width:100%;text-align:left;zoom:1;}.yui-editor-panel .gecko label{overflow:auto;}.yui-editor-panel label strong{float:left;width:6em;}.yui-editor-panel .removeLink{width:80%;text-align:right;}.yui-editor-panel label input{margin-left:.25em;float:left;}.yui-editor-panel .yui-toolbar-group{margin-bottom:.75em;}.yui-editor-panel .height-width{float:left;}.yui-editor-panel .height-width span{font-style:italic;display:block;float:left;overflow:visible;}.yui-editor-panel .height-width span.info{font-size:70%;margin-top:3px;float:none;} +.yui-editor-panel .yui-toolbar-bordersize,.yui-editor-panel .yui-toolbar-bordertype{font-size:75%;}.yui-editor-panel .yui-toolbar-container span.yui-toolbar-separator{border:none;}.yui-editor-panel .yui-toolbar-bordersize span a span,.yui-editor-panel .yui-toolbar-bordertype span a span{display:block;height:8px;left:4px;position:absolute;top:3px;_top:-5px;width:24px;text-indent:52px;font-size:0;}.yui-editor-panel .yui-toolbar-bordertype span a span.yui-toolbar-bordertype-solid{border-bottom:1px solid black;}.yui-editor-panel .yui-toolbar-bordertype span a span.yui-toolbar-bordertype-dotted{border-bottom:1px dotted black;}.yui-editor-panel .yui-toolbar-bordertype span a span.yui-toolbar-bordertype-dashed{border-bottom:1px dashed black;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-0{*top:0;text-indent:0;font-size:75%;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-1{border-bottom:1px solid black;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-2{border-bottom:2px solid black;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-3{top:2px;*top:-5px;border-bottom:3px solid black;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-4{top:1px;*top:-5px;border-bottom:4px solid black;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-5{top:1px;*top:-5px;border-bottom:5px solid black;}.yui-toolbar-container .yui-toolbar-bordersize-menu,.yui-toolbar-container .yui-toolbar-bordertype-menu{width:95px!important;}.yui-toolbar-bordersize-menu .yuimenuitemlabel,.yui-toolbar-bordertype-menu .yuimenuitemlabel,.yui-toolbar-bordersize-menu .yuimenuitemlabel,.yui-toolbar-bordertype-menu .yuimenuitemlabel:hover{margin:0 3px 7px 17px;}.yui-toolbar-bordersize-menu .yuimenuitemlabel .checkedindicator,.yui-toolbar-bordertype-menu .yuimenuitemlabel .checkedindicator{position:absolute;left:-12px;*top:14px;*left:0;}.yui-toolbar-bordersize-menu li.yui-toolbar-bordersize-1 a{border-bottom:1px solid black;height:14px;}.yui-toolbar-bordersize-menu li.yui-toolbar-bordersize-2 a{border-bottom:2px solid black;height:14px;}.yui-toolbar-bordersize-menu li.yui-toolbar-bordersize-3 a{border-bottom:3px solid black;height:14px;}.yui-toolbar-bordersize-menu li.yui-toolbar-bordersize-4 a{border-bottom:4px solid black;height:14px;}.yui-toolbar-bordersize-menu li.yui-toolbar-bordersize-5 a{border-bottom:5px solid black;height:14px;}.yui-toolbar-bordertype-menu li.yui-toolbar-bordertype-solid a{border-bottom:1px solid black;height:14px;}.yui-toolbar-bordertype-menu li.yui-toolbar-bordertype-dashed a{border-bottom:1px dashed black;height:14px;}.yui-toolbar-bordertype-menu li.yui-toolbar-bordertype-dotted a{border-bottom:1px dotted black;height:14px;}h2.yui-editor-skipheader,h3.yui-editor-skipheader{height:0;margin:0;padding:0;border:none;width:0;overflow:hidden;position:absolute;}.yui-toolbar-colors{width:133px;zoom:1;display:none;z-index:100;overflow:hidden;}.yui-toolbar-colors:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-toolbar-colors a{height:9px;width:9px;float:left;display:block;overflow:hidden;text-indent:999px;margin:0;cursor:pointer;border:1px solid #F6F7EE;}.yui-toolbar-colors a:hover{border:1px solid black;}.yui-color-button-menu{overflow:visible;background-color:transparent;}.yui-toolbar-colors span{position:relative;display:block;padding:3px;overflow:hidden;float:left;width:100%;zoom:1;}.yui-toolbar-colors span:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-toolbar-colors span em{height:35px;width:30px;float:left;display:block;overflow:hidden;text-indent:999px;margin:.75px;border:1px solid black;}.yui-toolbar-colors span strong{font-weight:normal;padding-left:3px;display:block;font-size:85%;float:left;width:65%;}.yui-toolbar-group-undoredo h3,.yui-toolbar-group-insertitem h3,.yui-toolbar-group-indentlist h3{width:68px;}.yui-toolbar-group-indentlist2 h3{width:122px;}.yui-toolbar-group-alignment h3{width:130px;}.yui-skin-sam .yui-editor-container{border:1px solid #808080;}.yui-skin-sam .yui-toolbar-container{zoom:1;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-titlebar{background:url(sprite.png) repeat-x 0 -200px;position:relative;}.yui-skin-sam .yui-editor-container .draggable .yui-toolbar-titlebar{cursor:move;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-titlebar h2{color:#000;font-weight:bold;margin:0;padding:.3em 1em;font-size:100%;text-align:left;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-group h3{color:#808080;font-size:75%;margin:1em 0 0;padding-bottom:0;padding-left:.25em;text-align:left;}.yui-toolbar-container span.yui-toolbar-separator{border:none;text-indent:33px;overflow:hidden;margin:0 .25em;}.yui-skin-sam .yui-toolbar-container{background-color:#F2F2F2;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-subcont{padding:0 1em .35em;border-bottom:1px solid #808080;}.yui-skin-sam .yui-toolbar-container-collapsed .yui-toolbar-titlebar{border-bottom:1px solid #808080;}.yui-skin-sam .yui-editor-container .visible .yui-menu-shadow,.yui-skin-sam .yui-editor-panel .visible .yui-menu-shadow{display:none;}.yui-skin-sam .yui-editor-container ul{list-style-type:none;margin:0;padding:0;}.yui-skin-sam .yui-editor-container ul li{list-style-type:none;margin:0;padding:0;}.yui-skin-sam .yui-toolbar-group ul li.yui-toolbar-groupitem{float:left;}.yui-skin-sam .yui-editor-container .dompath{background-color:#F2F2F2;border-top:1px solid #808080;color:#999;text-align:left;padding:.25em;}.yui-skin-sam .yui-toolbar-container .collapse{background:url(sprite.png) no-repeat 0 -400px;}.yui-skin-sam .yui-toolbar-container .collapsed{background:url(sprite.png) no-repeat 0 -350px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-titlebar span.collapse{cursor:pointer;position:absolute;top:4px;right:2px;display:block;overflow:hidden;height:15px;width:15px;text-indent:9999px;} +.yui-skin-sam .yui-toolbar-container .yui-push-button,.yui-skin-sam .yui-toolbar-container .yui-color-button,.yui-skin-sam .yui-toolbar-container .yui-menu-button{background:url(sprite.png) repeat-x 0 0;position:relative;display:block;height:22px;width:30px;_font-size:0;margin:0;border-color:#808080;color:#f2f2f2;border-style:solid;border-width:1px 0;zoom:1;}.yui-skin-sam .yui-toolbar-container .yui-push-button a,.yui-skin-sam .yui-toolbar-container .yui-color-button a,.yui-skin-sam .yui-toolbar-container .yui-menu-button a{padding-left:35px;height:20px;text-decoration:none;font-size:0;line-height:2;display:block;color:#000;overflow:hidden;white-space:nowrap;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a,.yui-skin-sam .yui-toolbar-container .yui-toolbar-select a{font-size:12px;}.yui-skin-sam .yui-toolbar-container .yui-push-button .first-child,.yui-skin-sam .yui-toolbar-container .yui-color-button .first-child,.yui-skin-sam .yui-toolbar-container .yui-menu-button .first-child{border-color:#808080;border-style:solid;border-width:0 1px;margin:0 -1px;display:block;position:relative;}.yui-skin-sam .yui-toolbar-container .yui-push-button-disabled .first-child,.yui-skin-sam .yui-toolbar-container .yui-color-button-disabled .first-child,.yui-skin-sam .yui-toolbar-container .yui-menu-button-disabled .first-child{border-color:#ccc;}.yui-skin-sam .yui-toolbar-container .yui-push-button-disabled a,.yui-skin-sam .yui-toolbar-container .yui-color-button-disabled a,.yui-skin-sam .yui-toolbar-container .yui-menu-button-disabled a{color:#A6A6A6;cursor:default;}.yui-skin-sam .yui-toolbar-container .yui-push-button-disabled,.yui-skin-sam .yui-toolbar-container .yui-color-button-disabled,.yui-skin-sam .yui-toolbar-container .yui-menu-button-disabled{border-color:#ccc;}.yui-skin-sam .yui-toolbar-container .yui-button .first-child{*left:0;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-fontname{width:135px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-heading{width:92px;}.yui-skin-sam .yui-toolbar-container .yui-button-hover{background:url(sprite.png) repeat-x 0 -1300px;border-color:#808080;}.yui-skin-sam .yui-toolbar-container .yui-button-selected{background:url(sprite.png) repeat-x 0 -1700px;border-color:#808080;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-nogrouplabels h3{display:none;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-nogrouplabels .yui-toolbar-group{margin-top:.75em;}.yui-skin-sam .yui-toolbar-container .yui-push-button span.yui-toolbar-icon,.yui-skin-sam .yui-toolbar-container .yui-color-button span.yui-toolbar-icon,.yui-skin-sam .yui-toolbar-container .yui-menu-button span.yui-toolbar-icon{display:block;position:absolute;top:2px;height:18px;width:18px;overflow:hidden;background:url(editor-sprite.gif) no-repeat 30px 30px;}.yui-skin-sam .yui-toolbar-container .yui-button-selected span.yui-toolbar-icon,.yui-skin-sam .yui-toolbar-container .yui-button-hover span.yui-toolbar-icon{background-image:url(editor-sprite-active.gif);}.yui-skin-sam .yui-toolbar-container .visible .yuimenuitemlabel{cursor:pointer;color:#000;*position:relative;}.yui-skin-sam .yui-toolbar-container .yui-button-menu{background-color:#fff;}.yui-skin-sam .yui-toolbar-container .yui-button-menu .yui-menu-body-scrolled{position:relative;}.yui-skin-sam div.yuimenu li.selected{background-color:#B3D4FF;}.yui-skin-sam div.yuimenu li.selected a.selected{color:#000;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-bold span.yui-toolbar-icon{background-position:0 0;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-strikethrough span.yui-toolbar-icon{background-position:0 -108px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-italic span.yui-toolbar-icon{background-position:0 -36px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-undo span.yui-toolbar-icon{background-position:0 -1326px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-redo span.yui-toolbar-icon{background-position:0 -1355px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-underline span.yui-toolbar-icon{background-position:0 -72px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-subscript span.yui-toolbar-icon{background-position:0 -180px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-superscript span.yui-toolbar-icon{background-position:0 -144px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-forecolor span.yui-toolbar-icon{background-position:0 -216px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-backcolor span.yui-toolbar-icon{background-position:0 -288px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-justifyleft span.yui-toolbar-icon{background-position:0 -324px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-justifycenter span.yui-toolbar-icon{background-position:0 -360px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-justifyright span.yui-toolbar-icon{background-position:0 -396px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-justifyfull span.yui-toolbar-icon{background-position:0 -432px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-indent span.yui-toolbar-icon{background-position:0 -720px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-outdent span.yui-toolbar-icon{background-position:0 -684px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-createlink span.yui-toolbar-icon{background-position:0 -792px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-insertimage span.yui-toolbar-icon{background-position:1px -756px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-left span.yui-toolbar-icon{background-position:0 -972px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-right span.yui-toolbar-icon{background-position:0 -936px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-inline span.yui-toolbar-icon{background-position:0 -900px;left:5px;} +.yui-skin-sam .yui-toolbar-container .yui-toolbar-block span.yui-toolbar-icon{background-position:0 -864px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-bordercolor span.yui-toolbar-icon{background-position:0 -252px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-removeformat span.yui-toolbar-icon{background-position:0 -1080px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-hiddenelements span.yui-toolbar-icon{background-position:0 -1044px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-insertunorderedlist span.yui-toolbar-icon{background-position:0 -468px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-insertorderedlist span.yui-toolbar-icon{background-position:0 -504px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton .first-child{width:35px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton .first-child a{padding-left:2px;text-align:left;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton span.yui-toolbar-icon{display:none;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.up,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.down{right:2px;background:url(editor-sprite.gif) no-repeat 0 -1222px;overflow:hidden;height:6px;width:7px;min-height:0;padding:0;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.up{top:2px;background-position:0 -1222px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.down{bottom:2px;background-position:0 -1187px;}.yui-skin-sam .yui-toolbar-container select{height:22px;border:1px solid #808080;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-select .first-child a{padding-left:5px;text-align:left;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-select span.yui-toolbar-icon{background:url(editor-sprite.gif) no-repeat 0 -1144px;overflow:hidden;right:-2px;top:0;height:20px;}.yui-skin-sam .yui-editor-panel .yui-color-button-menu .bd{background-color:transparent;border:none;width:135px;}.yui-skin-sam .yui-color-button-menu .yui-toolbar-colors{border:1px solid #808080;}.yui-skin-sam .yui-editor-panel{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;position:absolute;}.yui-skin-sam .yui-editor-panel .hd{margin:10px 0 0;padding:0;border:none;}.yui-skin-sam .yui-editor-panel .hd h3{color:#000;border:1px solid #808080;background:url(sprite.png) repeat-x 0 -200px;width:99%;position:relative;margin:0;padding:3px 0 0 0;font-size:93%;text-indent:5px;height:20px;}.yui-skin-sam .yui-editor-panel .bd{background-color:#F2F2F2;border-left:1px solid #808080;border-right:1px solid #808080;width:99%;margin:0;padding:0;overflow:visible;}.yui-skin-sam .yui-editor-panel ul{list-style-type:none;margin:0;padding:0;}.yui-skin-sam .yui-editor-panel ul li{margin:0;padding:0;}.yui-skin-sam .yui-editor-panel .yui-toolbar-container .yui-toolbar-subcont{padding:0;border:none;margin-top:.35em;}.yui-skin-sam .yui-editor-panel .yui-toolbar-bordersize,.yui-skin-sam .yui-editor-panel .yui-toolbar-bordertype{width:50px;}.yui-skin-sam .yui-editor-panel label{display:block;float:none;padding:4px 0;margin-bottom:7px;}.yui-skin-sam .yui-editor-panel label strong{font-weight:normal;font-size:93%;text-align:right;padding-top:2px;}.yui-skin-sam .yui-editor-panel label input{width:75%;}.yui-skin-sam .yui-editor-panel .createlink_target,.yui-skin-sam .yui-editor-panel .insertimage_target{width:auto;margin-right:5px;}.yui-skin-sam .yui-editor-panel .removeLink{width:98%;}.yui-skin-sam .yui-editor-panel label input.warning{background-color:#FFEE69;}.yui-skin-sam .yui-editor-panel .yui-toolbar-group h3{color:#000;float:left;font-weight:normal;font-size:93%;margin:5px 0 0 0;padding:0 3px 0 0;text-align:right;}.yui-skin-sam .yui-editor-panel .height-width h3{margin:3px 0 0 10px;}.yui-skin-sam .yui-editor-panel .height-width{margin:3px 0 0 35px;*margin-left:14px;width:42%;*width:44%;}.yui-skin-sam .yui-editor-panel .yui-toolbar-group-border{width:190px;}.yui-skin-sam .yui-editor-panel .no-button .yui-toolbar-group-border{width:210px;}.yui-skin-sam .yui-editor-panel .yui-toolbar-group-padding{width:203px;_width:198px;}.yui-skin-sam .yui-editor-panel .no-button .yui-toolbar-group-padding{width:172px;}.yui-skin-sam .yui-editor-panel .yui-toolbar-group-padding h3{margin-left:25px;*margin-left:12px;}.yui-skin-sam .yui-editor-panel .yui-toolbar-group-textflow{width:182px;}.yui-skin-sam .yui-editor-panel .hd{background:none;}.yui-skin-sam .yui-editor-panel .ft{background-color:#F2F2F2;border:1px solid #808080;border-top:none;padding:0;margin:0 0 2px 0;}.yui-skin-sam .yui-editor-panel .hd span.close{background:url(sprite.png) no-repeat 0 -300px;cursor:pointer;display:block;height:16px;overflow:hidden;position:absolute;right:5px;text-indent:500px;top:2px;width:26px;}.yui-skin-sam .yui-editor-panel .ft span.tip{background-color:#EDF5FF;border-top:1px solid #808080;font-size:85%;}.yui-skin-sam .yui-editor-panel .ft span.tip strong{display:block;float:left;margin:0 2px 8px 0;}.yui-skin-sam .yui-editor-panel .ft span.tip span.icon{background:url(editor-sprite.gif) no-repeat 0 -1260px;display:block;height:20px;left:2px;position:absolute;top:8px;width:20px;}.yui-skin-sam .yui-editor-panel .ft span.tip span.icon-info{background-position:2px -1260px;}.yui-skin-sam .yui-editor-panel .ft span.tip span.icon-warn{background-position:2px -1296px;}.yui-skin-sam .yui-editor-panel .hd span.knob{position:absolute;height:10px;width:28px;top:-10px;left:25px;text-indent:9999px;overflow:hidden;background:url(editor-knob.gif) no-repeat 0 0;}.yui-skin-sam .yui-editor-panel .yui-toolbar-container{float:left;width:100%;background-image:none;border:none;}.yui-skin-sam .yui-editor-panel .yui-toolbar-container .bd{background-color:#fff;}.yui-editor-blankimage{background-image:url(blankimage.png);}.yui-skin-sam .yui-editor-container .yui-resize-handle-br{height:11px;width:11px;background-position:-20px -60px;background-color:transparent;} diff --git a/yui/build/assets/skins/sam/header_background.png b/yui/build/assets/skins/sam/header_background.png new file mode 100644 index 0000000000000000000000000000000000000000..3ef7909d3ed04956a06c5d9017076ea30e0ced27 GIT binary patch literal 158 zcmeAS@N?(olHy`uVBq!ia0vp^j6kf+!2~3434ebKq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6*+jiIEGZ*s_F9NI$*%V9Q*UX`TlF!Ldi}q7dA02yr`^X zu-PrN{%75tzwegsKk4J*;_R|w)xBe%IT`Nt9oJ`MW0-m*yz~E_s%D^B44$rjF6*2U FngH9xIDh~E literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/hue_bg.png b/yui/build/assets/skins/sam/hue_bg.png new file mode 100644 index 0000000000000000000000000000000000000000..d9bcdeb5c49910d5c32c9ebbb134200bf138b7b4 GIT binary patch literal 1120 zcmWkuZA?>V6h6*nD|EKy_G>T#efd;-TcIEZRG=3KG$^eF2Q{FAMV4*KY}f{qh`QSV zerz}DmTbC_Y|fEr#w0P0=t#CW_qsTZ+oCcxM!nmzgkYx0y)F9Qv+IxZJb6w|&dGC5 zaz;Z<^@~z7QUPF5prJObvq_J$hJ`xXo5wcl^n8zhtsmg}%|C)|K3%8x)wT6C_ipWb zw=>oa{%CJkw=1x%v!^@U-5DL&ajAP1z;mggH7#{nz-rJ$faL=7qA45La$rShQh@N! zu%sTCvXE1t{K=eCf%*<$g}~m_lTbYf%#DuhOcn)}oyL+UY!^T)N0SIlg&q}p70^Bg z#v`A*ftBD@6%H#L*N*0!pas#aR&fdVH33r!@M?%V4H}RB^=Q5i+Cy}fVbYD}B4EjH z?P{0x>Acg883%Oa|AzJ?B#N%FVmw`fKNY;g=C3&BXB;Z@Kam~dpydSE;!)KoPs+}MGZ#35TL&dgu1t8ZJCOzunMR5)=3wB`6<04>Wd>fEGNt=fUO7S z2UdorB;0d<%}W2%DB8|}rj&7Bd@G600GiIAl}DfA(T~fGjEtPSpMM-+!RdW!t0gq&tGw>1(Ck!bL+QCwfHM zFSfg6C%J1(_sXrL%2?h=Gs#tB`jY5~^n-B4=5yiEV7#4=o|0Az*Nu@}Ih_Oz$pHOG zC`&0{EO(L#V`PcEmKepS-spt1Gd{>irzEF%o|nyJB4uhF{YR*@P1evnVor$^%6<|| znF`WIVUCMc(=ZuIiR8<#kjLU}uWTnbQf7F06KORJtfO9XHgzgQe;2kI(+lL6NRM$K zObK})t}2X5(vY~u9{XN8DGugG$E0mSB^Mi(>V!GlYlD8E#--~|}G|8JkdYdiH90fD-v+HZu-d;bSJ8}W_+ literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/imagecropper.css b/yui/build/assets/skins/sam/imagecropper.css new file mode 100644 index 0000000..0e8d36f --- /dev/null +++ b/yui/build/assets/skins/sam/imagecropper.css @@ -0,0 +1,7 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +.yui-crop{position:relative;}.yui-crop .yui-crop-mask{position:absolute;top:0;left:0;height:100%;width:100%;}.yui-crop .yui-resize{position:absolute;top:10px;left:10px;border:0;}.yui-crop .yui-crop-resize-mask{position:absolute;top:0;left:0;height:100%;width:100%;background-position:-10px -10px;overflow:hidden;}.yui-skin-sam .yui-crop .yui-crop-mask{background-color:#000;opacity:.5;filter:alpha(opacity=50);}.yui-skin-sam .yui-crop .yui-resize{border:1px dashed #fff;} diff --git a/yui/build/assets/skins/sam/layout.css b/yui/build/assets/skins/sam/layout.css new file mode 100644 index 0000000..aa5545f --- /dev/null +++ b/yui/build/assets/skins/sam/layout.css @@ -0,0 +1,7 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +.yui-layout-loading{visibility:hidden;}body.yui-layout{overflow:hidden;position:relative;padding:0;margin:0;}.yui-layout-doc{position:relative;overflow:hidden;padding:0;margin:0;}.yui-layout-unit{height:50px;width:50px;padding:0;margin:0;float:none;z-index:0;}.yui-layout-unit-top{position:absolute;top:0;left:0;width:100%;}.yui-layout-unit-left{position:absolute;top:0;left:0;}.yui-layout-unit-right{position:absolute;top:0;right:0;}.yui-layout-unit-bottom{position:absolute;bottom:0;left:0;width:100%;}.yui-layout-unit-center{position:absolute;top:0;left:0;width:100%;}.yui-layout div.yui-layout-hd{position:absolute;top:0;left:0;zoom:1;width:100%;}.yui-layout div.yui-layout-bd{position:absolute;top:0;left:0;zoom:1;width:100%;}.yui-layout .yui-layout-noscroll div.yui-layout-bd{overflow:hidden;}.yui-layout .yui-layout-scroll div.yui-layout-bd{overflow:auto;}.yui-layout div.yui-layout-ft{position:absolute;bottom:0;left:0;width:100%;zoom:1;}.yui-layout .yui-layout-unit div.yui-layout-hd h2{text-align:left;}.yui-layout .yui-layout-unit div.yui-layout-hd .collapse{cursor:pointer;height:13px;position:absolute;right:2px;top:2px;width:17px;font-size:0;}.yui-layout .yui-layout-unit div.yui-layout-hd .close{cursor:pointer;height:13px;position:absolute;right:2px;top:2px;width:17px;font-size:0;}.yui-layout .yui-layout-unit div.yui-layout-hd .collapse-close{right:25px;}.yui-layout .yui-layout-clip{position:absolute;height:20px;background-color:#c0c0c0;display:none;}.yui-layout .yui-layout-clip .collapse{cursor:pointer;height:13px;position:absolute;right:2px;top:2px;width:17px;font-size:0;}.yui-layout .yui-layout-wrap{height:100%;width:100%;position:absolute;left:0;}.yui-skin-sam .yui-layout .yui-resize-proxy{border:none;font-size:0;margin:0;padding:0;}.yui-skin-sam .yui-layout .yui-resize-resizing .yui-resize-handle{display:none;zoom:1;}.yui-skin-sam .yui-layout .yui-resize-proxy div{position:absolute;border:1px solid #808080;background-color:#EDF5FF;}.yui-skin-sam .yui-layout .yui-resize .yui-resize-handle-active{zoom:1;}.yui-skin-sam .yui-layout .yui-resize-proxy .yui-layout-handle-l{width:5px;height:100%;top:0;left:0;zoom:1;}.yui-skin-sam .yui-layout .yui-resize-proxy .yui-layout-handle-r{width:5px;top:0;right:0;height:100%;position:absolute;zoom:1;}.yui-skin-sam .yui-layout .yui-resize-proxy .yui-layout-handle-b{width:100%;bottom:0;left:0;height:5px;}.yui-skin-sam .yui-layout .yui-resize-proxy .yui-layout-handle-t{width:100%;top:0;left:0;height:5px;}.yui-skin-sam .yui-layout .yui-layout-unit-left div.yui-layout-hd .collapse{background:transparent url(layout_sprite.png) no-repeat -20px -160px;border:1px solid #808080;}.yui-skin-sam .yui-layout .yui-layout-clip-left .collapse{background:transparent url(layout_sprite.png) no-repeat -20px -140px;border:1px solid #808080;}.yui-skin-sam .yui-layout .yui-layout-unit-right div.yui-layout-hd .collapse{background:transparent url(layout_sprite.png) no-repeat -20px -200px;border:1px solid #808080;}.yui-skin-sam .yui-layout .yui-layout-clip-right .collapse{background:transparent url(layout_sprite.png) no-repeat -20px -120px;border:1px solid #808080;}.yui-skin-sam .yui-layout .yui-layout-unit-top div.yui-layout-hd .collapse{background:transparent url(layout_sprite.png) no-repeat -20px -220px;border:1px solid #808080;}.yui-skin-sam .yui-layout .yui-layout-clip-top .collapse{background:transparent url(layout_sprite.png) no-repeat -20px -240px;border:1px solid #808080;}.yui-skin-sam .yui-layout .yui-layout-unit-bottom div.yui-layout-hd .collapse{background:transparent url(layout_sprite.png) no-repeat -20px -260px;border:1px solid #808080;}.yui-skin-sam .yui-layout .yui-layout-clip-bottom .collapse{background:transparent url(layout_sprite.png) no-repeat -20px -180px;border:1px solid #808080;}.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-hd .close{background:transparent url(layout_sprite.png) no-repeat -20px -100px;border:1px solid #808080;}.yui-skin-sam .yui-layout .yui-layout-hd{background:url(sprite.png) repeat-x 0 -1400px;border:1px solid #808080;}.yui-skin-sam .yui-layout{background-color:#EDF5FF;}.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-hd h2{font-weight:bold;color:#fff;padding:3px;margin:0;}.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd{border:1px solid #808080;border-bottom:none;border-top:none;*border-bottom-width:0;*border-top-width:0;background-color:#f2f2f2;text-align:left;}.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd-noft{border-bottom:1px solid #808080;}.yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd-nohd{border-top:1px solid #808080;}.yui-skin-sam .yui-layout .yui-layout-clip{position:absolute;height:20px;background-color:#EDF5FF;display:none;border:1px solid #808080;}.yui-skin-sam .yui-layout div.yui-layout-ft{border:1px solid #808080;border-top:none;*border-top-width:0;background-color:#f2f2f2;}.yui-skin-sam .yui-layout-unit .yui-resize-handle{background-color:transparent;zoom:1;}.yui-skin-sam .yui-layout-unit .yui-resize-handle-r{right:0;top:0;background-image:none;zoom:1;}.yui-skin-sam .yui-layout-unit .yui-resize-handle-l{left:0;top:0;background-image:none;zoom:1;}.yui-skin-sam .yui-layout-unit .yui-resize-handle-b{right:0;bottom:0;background-image:none;}.yui-skin-sam .yui-layout-unit .yui-resize-handle-t{right:0;top:0;background-image:none;}.yui-skin-sam .yui-layout-unit .yui-resize-handle-r .yui-layout-resize-knob,.yui-skin-sam .yui-layout-unit .yui-resize-handle-l .yui-layout-resize-knob{position:absolute;height:16px;width:6px;top:45%;left:0;display:block;background:transparent url(layout_sprite.png) no-repeat 0 -5px;}.yui-skin-sam .yui-layout-unit .yui-resize-handle-t .yui-layout-resize-knob,.yui-skin-sam .yui-layout-unit .yui-resize-handle-b .yui-layout-resize-knob{position:absolute;height:6px;width:16px;left:45%;background:transparent url(layout_sprite.png) no-repeat -20px 0;zoom:1;} diff --git a/yui/build/assets/skins/sam/layout_sprite.png b/yui/build/assets/skins/sam/layout_sprite.png new file mode 100644 index 0000000000000000000000000000000000000000..d6fce3c7a5bec2e266531e2b921f6a3bc3572bcb GIT binary patch literal 1409 zcmV-{1%CR8P)Foc7fVkN9ZLH|iPzfUuN*G~E00Ia|@iPD+ScV@e5BCj%&595~Az9JYb1HE%fJ|lvg&G4W z6xqeu5wao}vOGw#oOoq zdC>F%1Q0?EEY*Rd3zq4SGax3LA2VLCrA$0(SkZGRe)Txn3^>fhp`Mk2G^wZ|DoEi^P%kHvUUm}of|3c`UUt&-f|52O4U_0*PV)UriM_~rMM%_(97pUF zgq4T@9=!koXf2}^3PBhQEBt~NN?sh$J8ydbXFQt)$8tiP<$_ov{Q4FXyL>Z8Y{z2V zkaSb@Mp@4L)cu~!F2?_5njt5??aV6VWbNsf=#lQ+PR7RWs~T&qO?1)0;8OP9mr&?_ zEd!{i70@B06_L@4$jDGFl7UgQB&=k~SS7Maj>slCBAcYPu^a+2hmVBJ&?9G-+}TBz zXWWq~l#nFk3zof330q|P#FdpMx?{=@e9y*0nRuG?)9dbIA?=7Zn<-7Ogy z%rLzw;Z+H4qs~_O26Js?Gu0GVXL}YV+@i`mTQ6efT|4_N8}^c}3;8Lx-qSp(>c5yP zv+!2uj`O5iUE1Gh?d8?|Hp~2qjUgL*#Kz|yu(3mIobhzo0%%W3w;50B)}I;aHsc}P zSeq@=3AQYoV9T-zwk(^Ikvv-Un*@E(FC%n|1lUfINU{yq26f#+*Q{GQ%4Xe0YxQpu zv2_#y8&Nz-w%~RHx=DSu0s3URv(}ru4{F`oY^bw)ANJd!RX0b`Dd=_+pdGVqaS#TA zaC#8o%*J|#2HI+&(EtA%Z`Y=G+9q~V=ogzs#Fs&WPiD*-y?Scqb$UUo8r5tsP!;V9 z+So;%!C1xB@h9l0TBW5A>O>nFRjUhLtI#SPHmr5mvtO=H#t?b%!g$d!L~pK&n|i}L z!&%^r^XATaJ(Q)5hg3QzAHz@KF_|6%p4ElhboHes%dnJo?C(gon^x1UVMu9>l+$EM zyYYBITTA&JYj=J;UeH!t2igzSu&1+}ENH*(>w~#T?}~D>R>)!8tQB$?H*0yv+zy3X zp5FpK#BWTE@nL>rYK#x`TfkSiVcaHeL%A7)bE^@*P25(v!8sWU;bx5QQEo#=#9l_Y z9jWsb&xxPHEyHgiDKT#F_ig65r+y1bS-53z`*yvmBxe`^)OW4foqs1^G=pWW+-Vx8O~1UE+HGF@F06NmG=W!zJbw P00000NkvXXu0mjf;Dg73 literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/loading.gif b/yui/build/assets/skins/sam/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..0bbf3bc0c0e5e635553e8d1bf9ceddefbc402396 GIT binary patch literal 2673 zcmchY_gj;P7RTSb83YJ1>=8y5ONL=ZcEgk+C?FydumNNz8c=c6`n&|fmMu_HHG%^w zNLVjHyfy)hAgHK_K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*s; z14}4q0y6`s8DL?uo-~*R@5tnFsC1DR#BGxT8fA20u_o?`0iDNI6lf;^$@AkR1dPTz z>XF1ZAqNjU95c@Vn59Wo;Z6b(YG+L$xy3(?j2I*vQ>PmzMEdh`yw3=)E}JYMDG|*x mDkGVJ;D)fXhxDI?kcM(ish)C#5QQ<|d}62BjvZR2H60wE-$(3-AeXt*@{D|Np;u@pDC#5QQ<|d}62BjvZR2H60wE-$(3-AeX1=9cj|6h7@{#_u8sU*lR z_&>wb?FL>zp1h}vV@SoVq=W_rH;IG.bd>ul:after{content:".";display:block;clear:both;visibility:hidden;height:0;line-height:0;}.yuimenubaritem{float:left;}.yuimenubaritemlabel,.yuimenuitemlabel{display:block;}.yuimenuitemlabel .helptext{font-style:normal;display:block;margin:-1em 0 0 10em;}.yui-menu-shadow{position:absolute;visibility:hidden;z-index:-1;}.yui-menu-shadow-visible{top:2px;right:-3px;left:-3px;bottom:-3px;visibility:visible;}.hide-scrollbars *{overflow:hidden;}.hide-scrollbars select{display:none;}.yuimenu.show-scrollbars,.yuimenubar.show-scrollbars{overflow:visible;}.yuimenu.hide-scrollbars .yui-menu-shadow,.yuimenubar.hide-scrollbars .yui-menu-shadow{overflow:hidden;}.yuimenu.show-scrollbars .yui-menu-shadow,.yuimenubar.show-scrollbars .yui-menu-shadow{overflow:auto;}.yui-overlay.yui-force-redraw{margin-bottom:1px;}.yui-skin-sam .yuimenubar{font-size:93%;line-height:2;*line-height:1.9;border:solid 1px #808080;background:url(sprite.png) repeat-x 0 0;}.yui-skin-sam .yuimenubarnav .yuimenubaritem{border-right:solid 1px #ccc;}.yui-skin-sam .yuimenubaritemlabel{padding:0 10px;color:#000;text-decoration:none;cursor:default;border-style:solid;border-color:#808080;border-width:1px 0;*position:relative;margin:-1px 0;}.yui-skin-sam .yuimenubaritemlabel:visited{color:#000;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel{padding-right:20px;*display:inline-block;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu{background:url(menubaritem_submenuindicator.png) right center no-repeat;}.yui-skin-sam .yuimenubaritem-selected{background:url(sprite.png) repeat-x 0 -1700px;}.yui-skin-sam .yuimenubaritemlabel-selected{border-color:#7D98B8;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-selected{border-left-width:1px;margin-left:-1px;*left:-1px;}.yui-skin-sam .yuimenubaritemlabel-disabled,.yui-skin-sam .yuimenubaritemlabel-disabled:visited{cursor:default;color:#A6A6A6;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu-disabled{background-image:url(menubaritem_submenuindicator_disabled.png);}.yui-skin-sam .yuimenu{font-size:93%;line-height:1.5;*line-height:1.45;}.yui-skin-sam .yuimenubar .yuimenu,.yui-skin-sam .yuimenu .yuimenu{font-size:100%;}.yui-skin-sam .yuimenu .bd{*zoom:1;_zoom:normal;border:solid 1px #808080;background-color:#fff;}.yui-skin-sam .yuimenu .yuimenu .bd{*zoom:normal;}.yui-skin-sam .yuimenu ul{padding:3px 0;border-width:1px 0 0 0;border-color:#ccc;border-style:solid;}.yui-skin-sam .yuimenu ul.first-of-type{border-width:0;}.yui-skin-sam .yuimenu h6{font-weight:bold;border-style:solid;border-color:#ccc;border-width:1px 0 0 0;color:#a4a4a4;padding:3px 10px 0 10px;}.yui-skin-sam .yuimenu ul.hastitle,.yui-skin-sam .yuimenu h6.first-of-type{border-width:0;}.yui-skin-sam .yuimenu .yui-menu-body-scrolled{border-color:#ccc #808080;overflow:hidden;}.yui-skin-sam .yuimenu .topscrollbar,.yui-skin-sam .yuimenu .bottomscrollbar{height:16px;border:solid 1px #808080;background:#fff url(sprite.png) no-repeat 0 0;}.yui-skin-sam .yuimenu .topscrollbar{border-bottom-width:0;background-position:center -950px;}.yui-skin-sam .yuimenu .topscrollbar_disabled{background-position:center -975px;}.yui-skin-sam .yuimenu .bottomscrollbar{border-top-width:0;background-position:center -850px;}.yui-skin-sam .yuimenu .bottomscrollbar_disabled{background-position:center -875px;}.yui-skin-sam .yuimenuitem{_border-bottom:solid 1px #fff;}.yui-skin-sam .yuimenuitemlabel{padding:0 20px;color:#000;text-decoration:none;cursor:default;}.yui-skin-sam .yuimenuitemlabel:visited{color:#000;}.yui-skin-sam .yuimenuitemlabel .helptext{margin-top:-1.5em;*margin-top:-1.45em;}.yui-skin-sam .yuimenuitem-hassubmenu{background-image:url(menuitem_submenuindicator.png);background-position:right center;background-repeat:no-repeat;}.yui-skin-sam .yuimenuitem-checked{background-image:url(menuitem_checkbox.png);background-position:left center;background-repeat:no-repeat;}.yui-skin-sam .yui-menu-shadow-visible{background-color:#000;opacity:.12;filter:alpha(opacity=12);}.yui-skin-sam .yuimenuitem-selected{background-color:#B3D4FF;}.yui-skin-sam .yuimenuitemlabel-disabled,.yui-skin-sam .yuimenuitemlabel-disabled:visited{cursor:default;color:#A6A6A6;}.yui-skin-sam .yuimenuitem-hassubmenu-disabled{background-image:url(menuitem_submenuindicator_disabled.png);}.yui-skin-sam .yuimenuitem-checked-disabled{background-image:url(menuitem_checkbox_disabled.png);} diff --git a/yui/build/assets/skins/sam/menubaritem_submenuindicator.png b/yui/build/assets/skins/sam/menubaritem_submenuindicator.png new file mode 100644 index 0000000000000000000000000000000000000000..030941c9cffc064276813d7eaab03d8c667ed700 GIT binary patch literal 3618 zcmV+-4&CvIP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h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vOYNl8jdN=r*iOiWBoO-)Wt zPESuyP*6}&QBhJ-Qd3h?R8&+|RaI72R##V7SXfwDSy@_IT3cINTwGjTU0q&YUSD5d zU|?WjVPRroVq;@tWMpJzWo2e&W@l$-XlQ6@X=!R|YHMq2Y;0_8ZEbFDZf|dIaBy&O zadC2Ta&vQYbaZreb#-=jc6WDoczAeud3kzzdV70&e0+R;eSLm@et&;|fPjF3fq{a8 zf`fyDgoK2Jg@uNOhKGlTh=_=ZiHVAeii?YjjEszpjg5|uj*pLzkdTm(k&%*;l9Q8@ zl$4Z}m6ev3mY0{8n3$NEnVFiJnwy)OoSdAUot>VZo}ZteprD|kp`oIpqNAguq@<*! zrKP5(rl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dk zwzs#pxVX5vxw*Q!y1To(yu7@dCU z$jHda$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~ z>g((4?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF) z{QUg={r&#_{{R2~`6RjA00002bW%=J{{ZE;FiHRb03%66K~#9!Vqky(Mi^jVMCCIw oFfyX>85y7$4gdfE0RR6300puDFk literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/menubaritem_submenuindicator_disabled.png b/yui/build/assets/skins/sam/menubaritem_submenuindicator_disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..6c1612230550ef09678a38a2e3374585055a07eb GIT binary patch literal 3618 zcmV+-4&CvIP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV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 zEG#T7EiEoCE-x=HFfcGNF)=bSGBYzXG&D3dH8nOiHa9mnI5;>tIXOByIy*Z%JUl!- zJv}}?K0iM{KtMo2K|w-7LPJACL_|bIMMXwNMn^|SNJvOYNl8jdN=r*iOiWBoO-)Wt zPESuyP*6}&QBhJ-Qd3h?R8&+|RaI72R##V7SXfwDSy@_IT3cINTwGjTU0q&YUSD5d zU|?WjVPRroVq;@tWMpJzWo2e&W@l$-XlQ6@X=!R|YHMq2Y;0_8ZEbFDZf|dIaBy&O zadC2Ta&vQYbaZreb#-=jc6WDoczAeud3kzzdV70&e0+R;eSLm@et&;|fPjF3fq{a8 zf`fyDgoK2Jg@uNOhKGlTh=_=ZiHVAeii?YjjEszpjg5|uj*pLzkdTm(k&%*;l9Q8@ zl$4Z}m6ev3mY0{8n3$NEnVFiJnwy)OoSdAUot>VZo}ZteprD|kp`oIpqNAguq@<*! zrKP5(rl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dk zwzs#pxVX5vxw*Q!y1To(yu7@dCU z$jHda$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~ z>g((4?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF) z{QUg={r&#_{{R2~`6RjA00002bW%=J{{ZE;FiHRb03u05K~#9!VqjoI00ssI6b=Il nhXI!ivK}PU00000|NjF33?~3ZGNlzM00000NkvXXu0mjf(Ym^p literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/menuitem_submenuindicator_disabled.png b/yui/build/assets/skins/sam/menuitem_submenuindicator_disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..427d60a38af14ac7b530a266dc2e969555d287c7 GIT binary patch literal 3617 zcmV++4&L#JP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*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/sam/paginator.css b/yui/build/assets/skins/sam/paginator.css new file mode 100644 index 0000000..31f0d33 --- /dev/null +++ b/yui/build/assets/skins/sam/paginator.css @@ -0,0 +1,7 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +.yui-skin-sam .yui-pg-container{display:block;margin:6px 0;white-space:nowrap;}.yui-skin-sam .yui-pg-first,.yui-skin-sam .yui-pg-previous,.yui-skin-sam .yui-pg-next,.yui-skin-sam .yui-pg-last,.yui-skin-sam .yui-pg-current,.yui-skin-sam .yui-pg-pages,.yui-skin-sam .yui-pg-page{display:inline-block;font-family:arial,helvetica,clean,sans-serif;padding:3px 6px;zoom:1;}.yui-skin-sam .yui-pg-pages{padding:0;}.yui-skin-sam .yui-pg-current{padding:3px 0;}.yui-skin-sam a.yui-pg-first:link,.yui-skin-sam a.yui-pg-first:visited,.yui-skin-sam a.yui-pg-first:active,.yui-skin-sam a.yui-pg-first:hover,.yui-skin-sam a.yui-pg-previous:link,.yui-skin-sam a.yui-pg-previous:visited,.yui-skin-sam a.yui-pg-previous:active,.yui-skin-sam a.yui-pg-previous:hover,.yui-skin-sam a.yui-pg-next:link,.yui-skin-sam a.yui-pg-next:visited,.yui-skin-sam a.yui-pg-next:active,.yui-skin-sam a.yui-pg-next:hover,.yui-skin-sam a.yui-pg-last:link,.yui-skin-sam a.yui-pg-last:visited,.yui-skin-sam a.yui-pg-last:active,.yui-skin-sam a.yui-pg-last:hover,.yui-skin-sam a.yui-pg-page:link,.yui-skin-sam a.yui-pg-page:visited,.yui-skin-sam a.yui-pg-page:active,.yui-skin-sam a.yui-pg-page:hover{color:#06c;text-decoration:underline;outline:0;}.yui-skin-sam span.yui-pg-first,.yui-skin-sam span.yui-pg-previous,.yui-skin-sam span.yui-pg-next,.yui-skin-sam span.yui-pg-last{color:#a6a6a6;}.yui-skin-sam .yui-pg-page{background-color:#fff;border:1px solid #CBCBCB;padding:2px 6px;text-decoration:none;}.yui-skin-sam .yui-pg-current-page{background-color:transparent;border:none;font-weight:bold;padding:3px 6px;}.yui-skin-sam .yui-pg-page{margin-left:1px;margin-right:1px;}.yui-skin-sam .yui-pg-first,.yui-skin-sam .yui-pg-previous{padding-left:0;}.yui-skin-sam .yui-pg-next,.yui-skin-sam .yui-pg-last{padding-right:0;}.yui-skin-sam .yui-pg-current,.yui-skin-sam .yui-pg-rpp-options{margin-left:1em;margin-right:1em;} diff --git a/yui/build/assets/skins/sam/picker_mask.png b/yui/build/assets/skins/sam/picker_mask.png new file mode 100644 index 0000000000000000000000000000000000000000..f8d91932b376af76ccfac030c12eb9fec7ee4c63 GIT binary patch literal 12174 zcmV;9FLBU`P)_6|b&%Dfjpyv}j54LBIXFZqhE-_t{2r7|?ya1%Cs>h{sswI&ir4|Fh z$jAgxe*E!Arq9Rc<1hC3+xpMn|Ni&&sREphKX2dqw+!rCg4fvHA{v>|sAOH9VUq1Wx=i{&V_yqRn;}h7QkI%<-7fW_4(VkZ}j!+ z*W3A4Q2+7AAN1S*{zm`&=RfJ^|M;1H`st@nDf0RFlp-IAiA&;HZ{w3b`^>wEDMb|H zcWo7$YKZ}V2ee&$PJPY#JEPa?S+a1^5~E@1g&W3xW#A&D$3t?w{=G7DSsA*r_4-%Y z`s|z_E&o@}NSYWQ_Q@Xg&3d|Ou zW&0J1V(Gn21@Ok$tl7ApUjkd|>Gf{~b_Mkc=*rd-*uVe&`%Pc}`s=SZK(DV?u$Q+4 zw*GP77{rl7z$bi8N=|4%dgnzQK{K@X9=v7^ctch^o|!a57b!8M)R5bd+^DZB*f)2h zXi(pP{pA7dU4m@DUcq}~?BDNws-MON*}ARvB9}^yYkUl^^T(x&iy;x&pXVP)oMH zG4>x1DYCNm`n+yi_f;$KX~32?&=bL&3KR!`?Ad)hXq&kbL*FF~DPi6Lgmfs6L(D+0 zND0vbo2}RNnI*FeDS>21aabAxyE61@^}W7lp{p^l|7WGkjF52;svSZcA8su7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^cRpazg{)2P zn8^slCiA+?NR(!+NuZ1{S-MkuZF%6gv9{}!d*XLgzfH?4N!?6zAmK9F0seNx-8fs1 zXDviP*JZL(3;|+<;j`Pb3|s~}q7~H5vaL6j*f~=voG(jG12zp0Lhxjb*#NQD5r-zc z8>nBrJig*G4d%vKNVex5w1@9RM?K}U<_D?ky?<0-r@?(R`7p`ot`?H2s#>^rZ4^=FlN|z7;uANn-1>IN}N2Cr3Zk`BP^T*Bp+h=GXQ?n zq4@~xH~`i&0DT(!&VYJ`-9wFiKyS}TnG}0}0I747b%*zVRH^Xn>CK)NJe~mTrv#t_ zcabwXLIlFM0P-}L$AMa&#=dX$_}d`x3eTZ?RLY=?o8@$7*!k>srvp9PW)jSU?U;_9 z^Qe?K+IdESZGby%u+M1qd$#NeEItDAvw?m9$ftmLQX9{>7*l{gdPf)rHlFHin8at8 zf231nfja`;X`qjQ{TPtT2$-J+=#L;%GCuZM%zFe-GoTq|EqXG0J-rjFA!)YD@D%G+(%jVtWGl1QAU{d2%u&<<*Zbo86f4@e+txxnf@rS&tmU0L4FkI zvtVzu0H1hQIRnIJ0C_feJe#F6_kc5iO=q3M`0__VKFhGvjLYYO_Y5XJ1jJ{7c^Yep zHW&J!52nA`qtNH$?S3o4*oSLk&tTSPNrW?X?<5;9naK^$U}fVxx$Ap|$u2f@bg3gWkxHK%Fp4+8RMf$}i0&g=*$e&(C#qxaD0ZvpHl zv+I6`Mm!BUmxWOUFGBaUp^pXA9e5eL-vl3cNcl?@AS6vgTG5D@?CMq zTi=Sx2mN33JO2+a9~-FUJu&myl|RHap8Fr(82g7GfB2M~pO3%P.bd>ul:after{content:".";display:block;clear:both;visibility:hidden;height:0;line-height:0;}.yuimenubaritem{float:left;}.yuimenubaritemlabel,.yuimenuitemlabel{display:block;}.yuimenuitemlabel .helptext{font-style:normal;display:block;margin:-1em 0 0 10em;}.yui-menu-shadow{position:absolute;visibility:hidden;z-index:-1;}.yui-menu-shadow-visible{top:2px;right:-3px;left:-3px;bottom:-3px;visibility:visible;}.hide-scrollbars *{overflow:hidden;}.hide-scrollbars select{display:none;}.yuimenu.show-scrollbars,.yuimenubar.show-scrollbars{overflow:visible;}.yuimenu.hide-scrollbars .yui-menu-shadow,.yuimenubar.hide-scrollbars .yui-menu-shadow{overflow:hidden;}.yuimenu.show-scrollbars .yui-menu-shadow,.yuimenubar.show-scrollbars .yui-menu-shadow{overflow:auto;}.yui-overlay.yui-force-redraw{margin-bottom:1px;}.yui-skin-sam .yuimenubar{font-size:93%;line-height:2;*line-height:1.9;border:solid 1px #808080;background:url(sprite.png) repeat-x 0 0;}.yui-skin-sam .yuimenubarnav .yuimenubaritem{border-right:solid 1px #ccc;}.yui-skin-sam .yuimenubaritemlabel{padding:0 10px;color:#000;text-decoration:none;cursor:default;border-style:solid;border-color:#808080;border-width:1px 0;*position:relative;margin:-1px 0;}.yui-skin-sam .yuimenubaritemlabel:visited{color:#000;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel{padding-right:20px;*display:inline-block;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu{background:url(menubaritem_submenuindicator.png) right center no-repeat;}.yui-skin-sam .yuimenubaritem-selected{background:url(sprite.png) repeat-x 0 -1700px;}.yui-skin-sam .yuimenubaritemlabel-selected{border-color:#7D98B8;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-selected{border-left-width:1px;margin-left:-1px;*left:-1px;}.yui-skin-sam .yuimenubaritemlabel-disabled,.yui-skin-sam .yuimenubaritemlabel-disabled:visited{cursor:default;color:#A6A6A6;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu-disabled{background-image:url(menubaritem_submenuindicator_disabled.png);}.yui-skin-sam .yuimenu{font-size:93%;line-height:1.5;*line-height:1.45;}.yui-skin-sam .yuimenubar .yuimenu,.yui-skin-sam .yuimenu .yuimenu{font-size:100%;}.yui-skin-sam .yuimenu .bd{*zoom:1;_zoom:normal;border:solid 1px #808080;background-color:#fff;}.yui-skin-sam .yuimenu .yuimenu .bd{*zoom:normal;}.yui-skin-sam .yuimenu ul{padding:3px 0;border-width:1px 0 0 0;border-color:#ccc;border-style:solid;}.yui-skin-sam .yuimenu ul.first-of-type{border-width:0;}.yui-skin-sam .yuimenu h6{font-weight:bold;border-style:solid;border-color:#ccc;border-width:1px 0 0 0;color:#a4a4a4;padding:3px 10px 0 10px;}.yui-skin-sam .yuimenu ul.hastitle,.yui-skin-sam .yuimenu h6.first-of-type{border-width:0;}.yui-skin-sam .yuimenu .yui-menu-body-scrolled{border-color:#ccc #808080;overflow:hidden;}.yui-skin-sam .yuimenu .topscrollbar,.yui-skin-sam .yuimenu .bottomscrollbar{height:16px;border:solid 1px #808080;background:#fff url(sprite.png) no-repeat 0 0;}.yui-skin-sam .yuimenu .topscrollbar{border-bottom-width:0;background-position:center -950px;}.yui-skin-sam .yuimenu .topscrollbar_disabled{background-position:center -975px;}.yui-skin-sam .yuimenu .bottomscrollbar{border-top-width:0;background-position:center -850px;}.yui-skin-sam .yuimenu .bottomscrollbar_disabled{background-position:center -875px;}.yui-skin-sam .yuimenuitem{_border-bottom:solid 1px #fff;}.yui-skin-sam .yuimenuitemlabel{padding:0 20px;color:#000;text-decoration:none;cursor:default;}.yui-skin-sam .yuimenuitemlabel:visited{color:#000;}.yui-skin-sam .yuimenuitemlabel .helptext{margin-top:-1.5em;*margin-top:-1.45em;}.yui-skin-sam .yuimenuitem-hassubmenu{background-image:url(menuitem_submenuindicator.png);background-position:right center;background-repeat:no-repeat;}.yui-skin-sam .yuimenuitem-checked{background-image:url(menuitem_checkbox.png);background-position:left center;background-repeat:no-repeat;}.yui-skin-sam .yui-menu-shadow-visible{background-color:#000;opacity:.12;filter:alpha(opacity=12);}.yui-skin-sam .yuimenuitem-selected{background-color:#B3D4FF;}.yui-skin-sam .yuimenuitemlabel-disabled,.yui-skin-sam .yuimenuitemlabel-disabled:visited{cursor:default;color:#A6A6A6;}.yui-skin-sam .yuimenuitem-hassubmenu-disabled{background-image:url(menuitem_submenuindicator_disabled.png);}.yui-skin-sam .yuimenuitem-checked-disabled{background-image:url(menuitem_checkbox_disabled.png);} +.yui-skin-sam .yui-pg-container{display:block;margin:6px 0;white-space:nowrap;}.yui-skin-sam .yui-pg-first,.yui-skin-sam .yui-pg-previous,.yui-skin-sam .yui-pg-next,.yui-skin-sam .yui-pg-last,.yui-skin-sam .yui-pg-current,.yui-skin-sam .yui-pg-pages,.yui-skin-sam .yui-pg-page{display:inline-block;font-family:arial,helvetica,clean,sans-serif;padding:3px 6px;zoom:1;}.yui-skin-sam .yui-pg-pages{padding:0;}.yui-skin-sam .yui-pg-current{padding:3px 0;}.yui-skin-sam a.yui-pg-first:link,.yui-skin-sam a.yui-pg-first:visited,.yui-skin-sam a.yui-pg-first:active,.yui-skin-sam a.yui-pg-first:hover,.yui-skin-sam a.yui-pg-previous:link,.yui-skin-sam a.yui-pg-previous:visited,.yui-skin-sam a.yui-pg-previous:active,.yui-skin-sam a.yui-pg-previous:hover,.yui-skin-sam a.yui-pg-next:link,.yui-skin-sam a.yui-pg-next:visited,.yui-skin-sam a.yui-pg-next:active,.yui-skin-sam a.yui-pg-next:hover,.yui-skin-sam a.yui-pg-last:link,.yui-skin-sam a.yui-pg-last:visited,.yui-skin-sam a.yui-pg-last:active,.yui-skin-sam a.yui-pg-last:hover,.yui-skin-sam a.yui-pg-page:link,.yui-skin-sam a.yui-pg-page:visited,.yui-skin-sam a.yui-pg-page:active,.yui-skin-sam a.yui-pg-page:hover{color:#06c;text-decoration:underline;outline:0;}.yui-skin-sam span.yui-pg-first,.yui-skin-sam span.yui-pg-previous,.yui-skin-sam span.yui-pg-next,.yui-skin-sam span.yui-pg-last{color:#a6a6a6;}.yui-skin-sam .yui-pg-page{background-color:#fff;border:1px solid #CBCBCB;padding:2px 6px;text-decoration:none;}.yui-skin-sam .yui-pg-current-page{background-color:transparent;border:none;font-weight:bold;padding:3px 6px;}.yui-skin-sam .yui-pg-page{margin-left:1px;margin-right:1px;}.yui-skin-sam .yui-pg-first,.yui-skin-sam .yui-pg-previous{padding-left:0;}.yui-skin-sam .yui-pg-next,.yui-skin-sam .yui-pg-last{padding-right:0;}.yui-skin-sam .yui-pg-current,.yui-skin-sam .yui-pg-rpp-options{margin-left:1em;margin-right:1em;} +.yui-skin-sam .yui-pv{background-color:#4a4a4a;font:arial;position:relative;width:99%;z-index:1000;margin-bottom:1em;overflow:hidden;}.yui-skin-sam .yui-pv .hd{background:url(header_background.png) repeat-x;min-height:30px;overflow:hidden;zoom:1;padding:2px 0;}.yui-skin-sam .yui-pv .hd h4{padding:8px 10px;margin:0;font:bold 14px arial;color:#fff;}.yui-skin-sam .yui-pv .hd a{background:#3f6bc3;font:bold 11px arial;color:#fff;padding:4px;margin:3px 10px 0 0;border:1px solid #3f567d;cursor:pointer;display:block;float:right;}.yui-skin-sam .yui-pv .hd span{display:none;}.yui-skin-sam .yui-pv .hd span.yui-pv-busy{height:18px;width:18px;background:url(wait.gif) no-repeat;overflow:hidden;display:block;float:right;margin:4px 10px 0 0;}.yui-skin-sam .yui-pv .hd:after,.yui-pv .bd:after,.yui-skin-sam .yui-pv-chartlegend dl:after{content:'.';visibility:hidden;clear:left;height:0;display:block;}.yui-skin-sam .yui-pv .bd{position:relative;zoom:1;overflow-x:auto;overflow-y:hidden;}.yui-skin-sam .yui-pv .yui-pv-table{padding:0 10px;margin:5px 0 10px 0;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-bd td{color:#eeee5c;font:12px arial;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd{background:#929292;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even{background:#58637a;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even td.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even td.yui-dt-desc{background:#384970;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd td.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd td.yui-dt-desc{background:#6F6E6E;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th{background-image:none;background:#2E2D2D;}.yui-skin-sam .yui-pv th.yui-dt-asc .yui-dt-liner{background:transparent url(asc.gif) no-repeat scroll right center;}.yui-skin-sam .yui-pv th.yui-dt-desc .yui-dt-liner{background:transparent url(desc.gif) no-repeat scroll right center;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th a{color:#fff;font:bold 12px arial;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th.yui-dt-desc{background:#333;}.yui-skin-sam .yui-pv-chartcontainer{padding:0 10px;}.yui-skin-sam .yui-pv-chart{height:250px;clear:right;margin:5px 0 0 0;color:#fff;}.yui-skin-sam .yui-pv-chartlegend div{float:right;margin:0 0 0 10px;_width:250px;}.yui-skin-sam .yui-pv-chartlegend dl{border:1px solid #999;padding:.2em 0 .2em .5em;zoom:1;margin:5px 0;}.yui-skin-sam .yui-pv-chartlegend dt{float:left;display:block;height:.7em;width:.7em;padding:0;}.yui-skin-sam .yui-pv-chartlegend dd{float:left;display:block;color:#fff;margin:0 1em 0 .5em;padding:0;font:11px arial;}.yui-skin-sam .yui-pv-minimized{height:35px;}.yui-skin-sam .yui-pv-minimized .bd{top:-3000px;}.yui-skin-sam .yui-pv-minimized .hd a.yui-pv-refresh{display:none;} +.yui-pb-bar,.yui-pb-mask{width:100%;height:100%;}.yui-pb{position:relative;top:0;left:0;width:200px;height:20px;padding:0;border:none;margin:0;text-align:left;}.yui-pb-mask{position:absolute;top:0;left:0;z-index:2;}.yui-pb-mask div{width:50%;height:50%;background-repeat:no-repeat;padding:0;position:absolute;}.yui-pb-tl{background-position:top left;}.yui-pb-tr{background-position:top right;left:50%;}.yui-pb-bl{background-position:bottom left;top:50%;}.yui-pb-br{background-position:bottom right;left:50%;top:50%;}.yui-pb-bar{margin:0;position:absolute;left:0;top:0;z-index:1;}.yui-pb-ltr .yui-pb-bar{_position:static;}.yui-pb-rtl .yui-pb-bar{background-position:right;}.yui-pb-btt .yui-pb-bar{background-position:left bottom;}.yui-pb-bar{background-color:blue;}.yui-pb{border:thin solid #808080;}.yui-skin-sam .yui-pb{background-color:transparent;border:solid #808080;border-width:1px 0;}.yui-skin-sam .yui-pb-rtl,.yui-skin-sam .yui-pb-ltr{background-image:url(back-h.png);background-repeat:repeat-x;}.yui-skin-sam .yui-pb-ttb,.yui-skin-sam .yui-pb-btt{background-image:url(back-v.png);background-repeat:repeat-y;}.yui-skin-sam .yui-pb-bar{background-color:transparent;}.yui-skin-sam .yui-pb-ltr .yui-pb-bar,.yui-skin-sam .yui-pb-rtl .yui-pb-bar{background-image:url(bar-h.png);background-repeat:repeat-x;}.yui-skin-sam .yui-pb-ttb .yui-pb-bar,.yui-skin-sam .yui-pb-btt .yui-pb-bar{background-image:url(bar-v.png);background-repeat:repeat-y;}.yui-skin-sam .yui-pb-mask{border:solid #808080;border-width:0 1px;margin:0 -1px;}.yui-skin-sam .yui-pb-caption{color:#000;text-align:center;margin:0 auto;}.yui-skin-sam .yui-pb-range{color:#a6a6a6;} +.yui-resize{position:relative;zoom:1;z-index:0;}.yui-resize-wrap{zoom:1;}.yui-draggable{cursor:move;}.yui-resize .yui-resize-handle{position:absolute;z-index:1;font-size:0;margin:0;padding:0;zoom:1;height:1px;width:1px;}.yui-resize .yui-resize-handle-br{height:5px;width:5px;bottom:0;right:0;cursor:se-resize;z-index:2;zoom:1;}.yui-resize .yui-resize-handle-bl{height:5px;width:5px;bottom:0;left:0;cursor:sw-resize;z-index:2;zoom:1;}.yui-resize .yui-resize-handle-tl{height:5px;width:5px;top:0;left:0;cursor:nw-resize;z-index:2;zoom:1;}.yui-resize .yui-resize-handle-tr{height:5px;width:5px;top:0;right:0;cursor:ne-resize;z-index:2;zoom:1;}.yui-resize .yui-resize-handle-r{width:5px;height:100%;top:0;right:0;cursor:e-resize;zoom:1;}.yui-resize .yui-resize-handle-l{height:100%;width:5px;top:0;left:0;cursor:w-resize;zoom:1;}.yui-resize .yui-resize-handle-b{width:100%;height:5px;bottom:0;right:0;cursor:s-resize;zoom:1;}.yui-resize .yui-resize-handle-t{width:100%;height:5px;top:0;right:0;cursor:n-resize;zoom:1;}.yui-resize-proxy{position:absolute;border:1px dashed #000;visibility:hidden;z-index:1000;}.yui-resize-hover .yui-resize-handle,.yui-resize-hidden .yui-resize-handle{opacity:0;filter:alpha(opacity=0);}.yui-resize-ghost{opacity:.5;filter:alpha(opacity=50);}.yui-resize-knob .yui-resize-handle{height:6px;width:6px;}.yui-resize-knob .yui-resize-handle-tr{right:-3px;top:-3px;}.yui-resize-knob .yui-resize-handle-tl{left:-3px;top:-3px;}.yui-resize-knob .yui-resize-handle-bl{left:-3px;bottom:-3px;}.yui-resize-knob .yui-resize-handle-br{right:-3px;bottom:-3px;}.yui-resize-knob .yui-resize-handle-t{left:45%;top:-3px;}.yui-resize-knob .yui-resize-handle-r{right:-3px;top:45%;}.yui-resize-knob .yui-resize-handle-l{left:-3px;top:45%;}.yui-resize-knob .yui-resize-handle-b{left:45%;bottom:-3px;}.yui-resize-status{position:absolute;top:-999px;left:-999px;padding:2px;font-size:80%;display:none;zoom:1;z-index:9999;}.yui-resize-status strong,.yui-resize-status em{font-weight:normal;font-style:normal;padding:1px;zoom:1;}.yui-skin-sam .yui-resize .yui-resize-handle{background-color:#F2F2F2;zoom:1;}.yui-skin-sam .yui-resize .yui-resize-handle-active{background-color:#7D98B8;zoom:1;}.yui-skin-sam .yui-resize .yui-resize-handle-l,.yui-skin-sam .yui-resize .yui-resize-handle-r,.yui-skin-sam .yui-resize .yui-resize-handle-l-active,.yui-skin-sam .yui-resize .yui-resize-handle-r-active{height:100%;zoom:1;}.yui-skin-sam .yui-resize-knob .yui-resize-handle{border:1px solid #808080;}.yui-skin-sam .yui-resize-hover .yui-resize-handle-active{opacity:1;filter:alpha(opacity=100);}.yui-skin-sam .yui-resize-proxy{border:1px dashed #426FD9;}.yui-skin-sam .yui-resize-status{border:1px solid #A6982B;border-top:1px solid #D4C237;background-color:#FFEE69;color:#000;}.yui-skin-sam .yui-resize-status strong,.yui-skin-sam .yui-resize-status em{float:left;display:block;clear:both;padding:1px;text-align:center;}.yui-skin-sam .yui-resize .yui-resize-handle-inner-r,.yui-skin-sam .yui-resize .yui-resize-handle-inner-l{background:transparent url(layout_sprite.png) no-repeat 0 -5px;height:16px;width:5px;position:absolute;top:45%;}.yui-skin-sam .yui-resize .yui-resize-handle-inner-t,.yui-skin-sam .yui-resize .yui-resize-handle-inner-b{background:transparent url(layout_sprite.png) no-repeat -20px 0;height:5px;width:16px;position:absolute;left:50%;}.yui-skin-sam .yui-resize .yui-resize-handle-br{background-image:url(layout_sprite.png);background-repeat:no-repeat;background-position:-22px -62px;}.yui-skin-sam .yui-resize .yui-resize-handle-tr{background-image:url(layout_sprite.png);background-repeat:no-repeat;background-position:-22px -42px;}.yui-skin-sam .yui-resize .yui-resize-handle-tl{background-image:url(layout_sprite.png);background-repeat:no-repeat;background-position:-22px -82px;}.yui-skin-sam .yui-resize .yui-resize-handle-bl{background-image:url(layout_sprite.png);background-repeat:no-repeat;background-position:-22px -23px;}.yui-skin-sam .yui-resize-knob .yui-resize-handle-t,.yui-skin-sam .yui-resize-knob .yui-resize-handle-r,.yui-skin-sam .yui-resize-knob .yui-resize-handle-b,.yui-skin-sam .yui-resize-knob .yui-resize-handle-l,.yui-skin-sam .yui-resize-knob .yui-resize-handle-tl,.yui-skin-sam .yui-resize-knob .yui-resize-handle-tr,.yui-skin-sam .yui-resize-knob .yui-resize-handle-bl,.yui-skin-sam .yui-resize-knob .yui-resize-handle-br,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-t,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-r,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-b,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-l,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-tl,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-tr,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-bl,.yui-skin-sam .yui-resize-knob .yui-resize-handle-inner-br{background-image:none;}.yui-skin-sam .yui-resize-knob .yui-resize-handle-l,.yui-skin-sam .yui-resize-knob .yui-resize-handle-r,.yui-skin-sam .yui-resize-knob .yui-resize-handle-l-active,.yui-skin-sam .yui-resize-knob .yui-resize-handle-r-active{height:6px;width:6px;}.yui-skin-sam .yui-resize-textarea .yui-resize-handle-r{right:-8px;}.yui-skin-sam .yui-resize-textarea .yui-resize-handle-b{bottom:-8px;}.yui-skin-sam .yui-resize-textarea .yui-resize-handle-br{right:-8px;bottom:-8px;} +.yui-busy{cursor:wait!important;}.yui-toolbar-container fieldset,.yui-editor-container fieldset{padding:0;margin:0;border:0;}.yui-toolbar-container legend{display:none;}.yui-skin-sam .yui-toolbar-container .yui-button button,.yui-skin-sam .yui-toolbar-container .yui-button a,.yui-skin-sam .yui-toolbar-container .yui-button a:visited{font-size:0;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-select button,.yui-skin-sam .yui-toolbar-container .yui-toolbar-select a,.yui-skin-sam .yui-toolbar-container .yui-toolbar-select a:visited,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton button,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a:visited{font-size:12px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.up,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.down{font-size:0;line-height:0;padding:0;}.yui-toolbar-container .yui-toolbar-subcont{padding:.25em 0;zoom:1;}.yui-toolbar-container-collapsed .yui-toolbar-subcont{display:none;}.yui-toolbar-container .yui-toolbar-subcont:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-toolbar-container span.yui-toolbar-draghandle{cursor:move;border-left:1px solid #999;border-right:1px solid #999;overflow:hidden;text-indent:77777px;width:2px;height:20px;display:block;clear:none;float:left;margin:0 0 0 .2em;}.yui-toolbar-container .yui-toolbar-titlebar.draggable{cursor:move;}.yui-toolbar-container .yui-toolbar-titlebar{position:relative;}.yui-toolbar-container .yui-toolbar-titlebar h2{font-weight:bold;letter-spacing:0;border:none;color:#000;margin:0;padding:.2em;}.yui-toolbar-container .yui-toolbar-titlebar h2 a{text-decoration:none;color:#000;cursor:default;}.yui-toolbar-container.yui-toolbar-grouped span.yui-toolbar-draghandle{height:40px;}.yui-toolbar-container .yui-toolbar-group{float:left;margin-right:.5em;zoom:1;}.yui-toolbar-container .yui-toolbar-group:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-toolbar-container .yui-toolbar-group h3{font-size:75%;padding:0 0 0 .25em;margin:0;}.yui-toolbar-container span.yui-toolbar-separator{width:2px;padding:0;height:18px;margin:.2em 0 .2em .1em;display:none;float:left;}.yui-toolbar-container.yui-toolbar-grouped span.yui-toolbar-separator{height:45px;*height:50px;}.yui-toolbar-container.yui-toolbar-grouped .yui-toolbar-group span.yui-toolbar-separator{height:18px;display:block;}.yui-toolbar-container ul li{margin:0;padding:0;list-style-type:none;}.yui-toolbar-container .yui-toolbar-nogrouplabels h3{display:none;}.yui-toolbar-container .yui-push-button,.yui-toolbar-container .yui-color-button,.yui-toolbar-container .yui-menu-button{position:relative;cursor:pointer;}.yui-toolbar-container .yui-button .first-child,.yui-toolbar-container .yui-button .first-child a{height:100%;width:100%;overflow:hidden;font-size:0;}.yui-toolbar-container .yui-button-disabled{cursor:default;}.yui-toolbar-container .yui-button-disabled .yui-toolbar-icon{opacity:.5;filter:alpha(opacity=50);}.yui-toolbar-container .yui-button-disabled .up,.yui-toolbar-container .yui-button-disabled .down{opacity:.5;filter:alpha(opacity=50);}.yui-toolbar-container .yui-button a{overflow:hidden;}.yui-toolbar-container .yui-toolbar-select .first-child a{cursor:pointer;}.yui-toolbar-fontname-arial{font-family:Arial;}.yui-toolbar-fontname-arial-black{font-family:Arial Black;}.yui-toolbar-fontname-comic-sans-ms{font-family:Comic Sans MS;}.yui-toolbar-fontname-courier-new{font-family:Courier New;}.yui-toolbar-fontname-times-new-roman{font-family:Times New Roman;}.yui-toolbar-fontname-verdana{font-family:Verdana;}.yui-toolbar-fontname-impact{font-family:Impact;}.yui-toolbar-fontname-lucida-console{font-family:Lucida Console;}.yui-toolbar-fontname-tahoma{font-family:Tahoma;}.yui-toolbar-fontname-trebuchet-ms{font-family:Trebuchet MS;}.yui-toolbar-container .yui-toolbar-spinbutton{position:relative;}.yui-toolbar-container .yui-toolbar-spinbutton .first-child a{z-index:0;opacity:1;}.yui-toolbar-container .yui-toolbar-spinbutton a.up,.yui-toolbar-container .yui-toolbar-spinbutton a.down{position:absolute;display:block;right:0;cursor:pointer;z-index:1;padding:0;margin:0;}.yui-toolbar-container .yui-overlay{position:absolute;}.yui-toolbar-container .yui-overlay ul li{margin:0;list-style-type:none;}.yui-toolbar-container{z-index:1;}.yui-editor-container .yui-editor-editable-container{position:relative;z-index:0;width:100%;}.yui-editor-container .yui-editor-masked{background-color:#CCC;height:100%;width:100%;position:absolute;top:0;left:0;opacity:.5;filter:alpha(opacity=50);}.yui-editor-container iframe{border:0;padding:0;margin:0;zoom:1;display:block;}.yui-editor-container .yui-editor-editable{padding:0;margin:0;}.yui-editor-container .dompath{font-size:85%;}.yui-editor-panel .hd{text-align:left;position:relative;}.yui-editor-panel .hd h3{font-weight:bold;padding:.25em 0 .25em .25em;margin:0;}.yui-editor-panel .bd{width:100%;zoom:1;position:relative;}.yui-editor-panel .bd div.yui-editor-body-cont{padding:.25em .1em;zoom:1;}.yui-editor-panel .bd .gecko form{overflow:auto;}.yui-editor-panel .bd div.yui-editor-body-cont:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-editor-panel .ft{text-align:right;width:99%;float:left;clear:both;}.yui-editor-panel .ft span.tip{display:block;position:relative;padding:.5em .5em .5em 23px;text-align:left;zoom:1;}.yui-editor-panel label{clear:both;float:left;padding:0;width:100%;text-align:left;zoom:1;}.yui-editor-panel .gecko label{overflow:auto;}.yui-editor-panel label strong{float:left;width:6em;}.yui-editor-panel .removeLink{width:80%;text-align:right;}.yui-editor-panel label input{margin-left:.25em;float:left;}.yui-editor-panel .yui-toolbar-group{margin-bottom:.75em;}.yui-editor-panel .height-width{float:left;}.yui-editor-panel .height-width span{font-style:italic;display:block;float:left;overflow:visible;}.yui-editor-panel .height-width span.info{font-size:70%;margin-top:3px;float:none;} +.yui-editor-panel .yui-toolbar-bordersize,.yui-editor-panel .yui-toolbar-bordertype{font-size:75%;}.yui-editor-panel .yui-toolbar-container span.yui-toolbar-separator{border:none;}.yui-editor-panel .yui-toolbar-bordersize span a span,.yui-editor-panel .yui-toolbar-bordertype span a span{display:block;height:8px;left:4px;position:absolute;top:3px;_top:-5px;width:24px;text-indent:52px;font-size:0;}.yui-editor-panel .yui-toolbar-bordertype span a span.yui-toolbar-bordertype-solid{border-bottom:1px solid black;}.yui-editor-panel .yui-toolbar-bordertype span a span.yui-toolbar-bordertype-dotted{border-bottom:1px dotted black;}.yui-editor-panel .yui-toolbar-bordertype span a span.yui-toolbar-bordertype-dashed{border-bottom:1px dashed black;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-0{*top:0;text-indent:0;font-size:75%;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-1{border-bottom:1px solid black;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-2{border-bottom:2px solid black;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-3{top:2px;*top:-5px;border-bottom:3px solid black;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-4{top:1px;*top:-5px;border-bottom:4px solid black;}.yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-5{top:1px;*top:-5px;border-bottom:5px solid black;}.yui-toolbar-container .yui-toolbar-bordersize-menu,.yui-toolbar-container .yui-toolbar-bordertype-menu{width:95px!important;}.yui-toolbar-bordersize-menu .yuimenuitemlabel,.yui-toolbar-bordertype-menu .yuimenuitemlabel,.yui-toolbar-bordersize-menu .yuimenuitemlabel,.yui-toolbar-bordertype-menu .yuimenuitemlabel:hover{margin:0 3px 7px 17px;}.yui-toolbar-bordersize-menu .yuimenuitemlabel .checkedindicator,.yui-toolbar-bordertype-menu .yuimenuitemlabel .checkedindicator{position:absolute;left:-12px;*top:14px;*left:0;}.yui-toolbar-bordersize-menu li.yui-toolbar-bordersize-1 a{border-bottom:1px solid black;height:14px;}.yui-toolbar-bordersize-menu li.yui-toolbar-bordersize-2 a{border-bottom:2px solid black;height:14px;}.yui-toolbar-bordersize-menu li.yui-toolbar-bordersize-3 a{border-bottom:3px solid black;height:14px;}.yui-toolbar-bordersize-menu li.yui-toolbar-bordersize-4 a{border-bottom:4px solid black;height:14px;}.yui-toolbar-bordersize-menu li.yui-toolbar-bordersize-5 a{border-bottom:5px solid black;height:14px;}.yui-toolbar-bordertype-menu li.yui-toolbar-bordertype-solid a{border-bottom:1px solid black;height:14px;}.yui-toolbar-bordertype-menu li.yui-toolbar-bordertype-dashed a{border-bottom:1px dashed black;height:14px;}.yui-toolbar-bordertype-menu li.yui-toolbar-bordertype-dotted a{border-bottom:1px dotted black;height:14px;}h2.yui-editor-skipheader,h3.yui-editor-skipheader{height:0;margin:0;padding:0;border:none;width:0;overflow:hidden;position:absolute;}.yui-toolbar-colors{width:133px;zoom:1;display:none;z-index:100;overflow:hidden;}.yui-toolbar-colors:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-toolbar-colors a{height:9px;width:9px;float:left;display:block;overflow:hidden;text-indent:999px;margin:0;cursor:pointer;border:1px solid #F6F7EE;}.yui-toolbar-colors a:hover{border:1px solid black;}.yui-color-button-menu{overflow:visible;background-color:transparent;}.yui-toolbar-colors span{position:relative;display:block;padding:3px;overflow:hidden;float:left;width:100%;zoom:1;}.yui-toolbar-colors span:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-toolbar-colors span em{height:35px;width:30px;float:left;display:block;overflow:hidden;text-indent:999px;margin:.75px;border:1px solid black;}.yui-toolbar-colors span strong{font-weight:normal;padding-left:3px;display:block;font-size:85%;float:left;width:65%;}.yui-toolbar-group-undoredo h3,.yui-toolbar-group-insertitem h3,.yui-toolbar-group-indentlist h3{width:68px;}.yui-toolbar-group-indentlist2 h3{width:122px;}.yui-toolbar-group-alignment h3{width:130px;}.yui-skin-sam .yui-editor-container{border:1px solid #808080;}.yui-skin-sam .yui-toolbar-container{zoom:1;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-titlebar{background:url(sprite.png) repeat-x 0 -200px;position:relative;}.yui-skin-sam .yui-editor-container .draggable .yui-toolbar-titlebar{cursor:move;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-titlebar h2{color:#000;font-weight:bold;margin:0;padding:.3em 1em;font-size:100%;text-align:left;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-group h3{color:#808080;font-size:75%;margin:1em 0 0;padding-bottom:0;padding-left:.25em;text-align:left;}.yui-toolbar-container span.yui-toolbar-separator{border:none;text-indent:33px;overflow:hidden;margin:0 .25em;}.yui-skin-sam .yui-toolbar-container{background-color:#F2F2F2;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-subcont{padding:0 1em .35em;border-bottom:1px solid #808080;}.yui-skin-sam .yui-toolbar-container-collapsed .yui-toolbar-titlebar{border-bottom:1px solid #808080;}.yui-skin-sam .yui-editor-container .visible .yui-menu-shadow,.yui-skin-sam .yui-editor-panel .visible .yui-menu-shadow{display:none;}.yui-skin-sam .yui-editor-container ul{list-style-type:none;margin:0;padding:0;}.yui-skin-sam .yui-editor-container ul li{list-style-type:none;margin:0;padding:0;}.yui-skin-sam .yui-toolbar-group ul li.yui-toolbar-groupitem{float:left;}.yui-skin-sam .yui-editor-container .dompath{background-color:#F2F2F2;border-top:1px solid #808080;color:#999;text-align:left;padding:.25em;}.yui-skin-sam .yui-toolbar-container .collapse{background:url(sprite.png) no-repeat 0 -400px;}.yui-skin-sam .yui-toolbar-container .collapsed{background:url(sprite.png) no-repeat 0 -350px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-titlebar span.collapse{cursor:pointer;position:absolute;top:4px;right:2px;display:block;overflow:hidden;height:15px;width:15px;text-indent:9999px;} +.yui-skin-sam .yui-toolbar-container .yui-push-button,.yui-skin-sam .yui-toolbar-container .yui-color-button,.yui-skin-sam .yui-toolbar-container .yui-menu-button{background:url(sprite.png) repeat-x 0 0;position:relative;display:block;height:22px;width:30px;_font-size:0;margin:0;border-color:#808080;color:#f2f2f2;border-style:solid;border-width:1px 0;zoom:1;}.yui-skin-sam .yui-toolbar-container .yui-push-button a,.yui-skin-sam .yui-toolbar-container .yui-color-button a,.yui-skin-sam .yui-toolbar-container .yui-menu-button a{padding-left:35px;height:20px;text-decoration:none;font-size:0;line-height:2;display:block;color:#000;overflow:hidden;white-space:nowrap;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a,.yui-skin-sam .yui-toolbar-container .yui-toolbar-select a{font-size:12px;}.yui-skin-sam .yui-toolbar-container .yui-push-button .first-child,.yui-skin-sam .yui-toolbar-container .yui-color-button .first-child,.yui-skin-sam .yui-toolbar-container .yui-menu-button .first-child{border-color:#808080;border-style:solid;border-width:0 1px;margin:0 -1px;display:block;position:relative;}.yui-skin-sam .yui-toolbar-container .yui-push-button-disabled .first-child,.yui-skin-sam .yui-toolbar-container .yui-color-button-disabled .first-child,.yui-skin-sam .yui-toolbar-container .yui-menu-button-disabled .first-child{border-color:#ccc;}.yui-skin-sam .yui-toolbar-container .yui-push-button-disabled a,.yui-skin-sam .yui-toolbar-container .yui-color-button-disabled a,.yui-skin-sam .yui-toolbar-container .yui-menu-button-disabled a{color:#A6A6A6;cursor:default;}.yui-skin-sam .yui-toolbar-container .yui-push-button-disabled,.yui-skin-sam .yui-toolbar-container .yui-color-button-disabled,.yui-skin-sam .yui-toolbar-container .yui-menu-button-disabled{border-color:#ccc;}.yui-skin-sam .yui-toolbar-container .yui-button .first-child{*left:0;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-fontname{width:135px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-heading{width:92px;}.yui-skin-sam .yui-toolbar-container .yui-button-hover{background:url(sprite.png) repeat-x 0 -1300px;border-color:#808080;}.yui-skin-sam .yui-toolbar-container .yui-button-selected{background:url(sprite.png) repeat-x 0 -1700px;border-color:#808080;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-nogrouplabels h3{display:none;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-nogrouplabels .yui-toolbar-group{margin-top:.75em;}.yui-skin-sam .yui-toolbar-container .yui-push-button span.yui-toolbar-icon,.yui-skin-sam .yui-toolbar-container .yui-color-button span.yui-toolbar-icon,.yui-skin-sam .yui-toolbar-container .yui-menu-button span.yui-toolbar-icon{display:block;position:absolute;top:2px;height:18px;width:18px;overflow:hidden;background:url(editor-sprite.gif) no-repeat 30px 30px;}.yui-skin-sam .yui-toolbar-container .yui-button-selected span.yui-toolbar-icon,.yui-skin-sam .yui-toolbar-container .yui-button-hover span.yui-toolbar-icon{background-image:url(editor-sprite-active.gif);}.yui-skin-sam .yui-toolbar-container .visible .yuimenuitemlabel{cursor:pointer;color:#000;*position:relative;}.yui-skin-sam .yui-toolbar-container .yui-button-menu{background-color:#fff;}.yui-skin-sam .yui-toolbar-container .yui-button-menu .yui-menu-body-scrolled{position:relative;}.yui-skin-sam div.yuimenu li.selected{background-color:#B3D4FF;}.yui-skin-sam div.yuimenu li.selected a.selected{color:#000;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-bold span.yui-toolbar-icon{background-position:0 0;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-strikethrough span.yui-toolbar-icon{background-position:0 -108px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-italic span.yui-toolbar-icon{background-position:0 -36px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-undo span.yui-toolbar-icon{background-position:0 -1326px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-redo span.yui-toolbar-icon{background-position:0 -1355px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-underline span.yui-toolbar-icon{background-position:0 -72px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-subscript span.yui-toolbar-icon{background-position:0 -180px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-superscript span.yui-toolbar-icon{background-position:0 -144px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-forecolor span.yui-toolbar-icon{background-position:0 -216px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-backcolor span.yui-toolbar-icon{background-position:0 -288px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-justifyleft span.yui-toolbar-icon{background-position:0 -324px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-justifycenter span.yui-toolbar-icon{background-position:0 -360px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-justifyright span.yui-toolbar-icon{background-position:0 -396px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-justifyfull span.yui-toolbar-icon{background-position:0 -432px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-indent span.yui-toolbar-icon{background-position:0 -720px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-outdent span.yui-toolbar-icon{background-position:0 -684px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-createlink span.yui-toolbar-icon{background-position:0 -792px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-insertimage span.yui-toolbar-icon{background-position:1px -756px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-left span.yui-toolbar-icon{background-position:0 -972px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-right span.yui-toolbar-icon{background-position:0 -936px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-inline span.yui-toolbar-icon{background-position:0 -900px;left:5px;} +.yui-skin-sam .yui-toolbar-container .yui-toolbar-block span.yui-toolbar-icon{background-position:0 -864px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-bordercolor span.yui-toolbar-icon{background-position:0 -252px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-removeformat span.yui-toolbar-icon{background-position:0 -1080px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-hiddenelements span.yui-toolbar-icon{background-position:0 -1044px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-insertunorderedlist span.yui-toolbar-icon{background-position:0 -468px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-insertorderedlist span.yui-toolbar-icon{background-position:0 -504px;left:5px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton .first-child{width:35px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton .first-child a{padding-left:2px;text-align:left;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton span.yui-toolbar-icon{display:none;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.up,.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.down{right:2px;background:url(editor-sprite.gif) no-repeat 0 -1222px;overflow:hidden;height:6px;width:7px;min-height:0;padding:0;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.up{top:2px;background-position:0 -1222px;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-spinbutton a.down{bottom:2px;background-position:0 -1187px;}.yui-skin-sam .yui-toolbar-container select{height:22px;border:1px solid #808080;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-select .first-child a{padding-left:5px;text-align:left;}.yui-skin-sam .yui-toolbar-container .yui-toolbar-select span.yui-toolbar-icon{background:url(editor-sprite.gif) no-repeat 0 -1144px;overflow:hidden;right:-2px;top:0;height:20px;}.yui-skin-sam .yui-editor-panel .yui-color-button-menu .bd{background-color:transparent;border:none;width:135px;}.yui-skin-sam .yui-color-button-menu .yui-toolbar-colors{border:1px solid #808080;}.yui-skin-sam .yui-editor-panel{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;position:absolute;}.yui-skin-sam .yui-editor-panel .hd{margin:10px 0 0;padding:0;border:none;}.yui-skin-sam .yui-editor-panel .hd h3{color:#000;border:1px solid #808080;background:url(sprite.png) repeat-x 0 -200px;width:99%;position:relative;margin:0;padding:3px 0 0 0;font-size:93%;text-indent:5px;height:20px;}.yui-skin-sam .yui-editor-panel .bd{background-color:#F2F2F2;border-left:1px solid #808080;border-right:1px solid #808080;width:99%;margin:0;padding:0;overflow:visible;}.yui-skin-sam .yui-editor-panel ul{list-style-type:none;margin:0;padding:0;}.yui-skin-sam .yui-editor-panel ul li{margin:0;padding:0;}.yui-skin-sam .yui-editor-panel .yui-toolbar-container .yui-toolbar-subcont{padding:0;border:none;margin-top:.35em;}.yui-skin-sam .yui-editor-panel .yui-toolbar-bordersize,.yui-skin-sam .yui-editor-panel .yui-toolbar-bordertype{width:50px;}.yui-skin-sam .yui-editor-panel label{display:block;float:none;padding:4px 0;margin-bottom:7px;}.yui-skin-sam .yui-editor-panel label strong{font-weight:normal;font-size:93%;text-align:right;padding-top:2px;}.yui-skin-sam .yui-editor-panel label input{width:75%;}.yui-skin-sam .yui-editor-panel .createlink_target,.yui-skin-sam .yui-editor-panel .insertimage_target{width:auto;margin-right:5px;}.yui-skin-sam .yui-editor-panel .removeLink{width:98%;}.yui-skin-sam .yui-editor-panel label input.warning{background-color:#FFEE69;}.yui-skin-sam .yui-editor-panel .yui-toolbar-group h3{color:#000;float:left;font-weight:normal;font-size:93%;margin:5px 0 0 0;padding:0 3px 0 0;text-align:right;}.yui-skin-sam .yui-editor-panel .height-width h3{margin:3px 0 0 10px;}.yui-skin-sam .yui-editor-panel .height-width{margin:3px 0 0 35px;*margin-left:14px;width:42%;*width:44%;}.yui-skin-sam .yui-editor-panel .yui-toolbar-group-border{width:190px;}.yui-skin-sam .yui-editor-panel .no-button .yui-toolbar-group-border{width:210px;}.yui-skin-sam .yui-editor-panel .yui-toolbar-group-padding{width:203px;_width:198px;}.yui-skin-sam .yui-editor-panel .no-button .yui-toolbar-group-padding{width:172px;}.yui-skin-sam .yui-editor-panel .yui-toolbar-group-padding h3{margin-left:25px;*margin-left:12px;}.yui-skin-sam .yui-editor-panel .yui-toolbar-group-textflow{width:182px;}.yui-skin-sam .yui-editor-panel .hd{background:none;}.yui-skin-sam .yui-editor-panel .ft{background-color:#F2F2F2;border:1px solid #808080;border-top:none;padding:0;margin:0 0 2px 0;}.yui-skin-sam .yui-editor-panel .hd span.close{background:url(sprite.png) no-repeat 0 -300px;cursor:pointer;display:block;height:16px;overflow:hidden;position:absolute;right:5px;text-indent:500px;top:2px;width:26px;}.yui-skin-sam .yui-editor-panel .ft span.tip{background-color:#EDF5FF;border-top:1px solid #808080;font-size:85%;}.yui-skin-sam .yui-editor-panel .ft span.tip strong{display:block;float:left;margin:0 2px 8px 0;}.yui-skin-sam .yui-editor-panel .ft span.tip span.icon{background:url(editor-sprite.gif) no-repeat 0 -1260px;display:block;height:20px;left:2px;position:absolute;top:8px;width:20px;}.yui-skin-sam .yui-editor-panel .ft span.tip span.icon-info{background-position:2px -1260px;}.yui-skin-sam .yui-editor-panel .ft span.tip span.icon-warn{background-position:2px -1296px;}.yui-skin-sam .yui-editor-panel .hd span.knob{position:absolute;height:10px;width:28px;top:-10px;left:25px;text-indent:9999px;overflow:hidden;background:url(editor-knob.gif) no-repeat 0 0;}.yui-skin-sam .yui-editor-panel .yui-toolbar-container{float:left;width:100%;background-image:none;border:none;}.yui-skin-sam .yui-editor-panel .yui-toolbar-container .bd{background-color:#fff;}.yui-editor-blankimage{background-image:url(blankimage.png);}.yui-skin-sam .yui-editor-container .yui-resize-handle-br{height:11px;width:11px;background-position:-20px -60px;background-color:transparent;} +.yui-h-slider,.yui-v-slider,.yui-region-slider{position:relative;}.yui-h-slider .yui-slider-thumb,.yui-v-slider .yui-slider-thumb,.yui-region-slider .yui-slider-thumb{position:absolute;cursor:default;}.yui-skin-sam .yui-h-slider{background:url(bg-h.gif) no-repeat 5px 0;height:28px;width:228px;}.yui-skin-sam .yui-h-slider .yui-slider-thumb{top:4px;}.yui-skin-sam .yui-v-slider{background:url(bg-v.gif) no-repeat 12px 0;height:228px;width:48px;}.yui-skin-sam .yui-region-slider{height:228px;width:228px;} +.yui-navset .yui-nav li,.yui-navset .yui-navset-top .yui-nav li,.yui-navset .yui-navset-bottom .yui-nav li{margin:0 .5em 0 0;}.yui-navset-left .yui-nav li,.yui-navset-right .yui-nav li{margin:0 0 .5em;}.yui-navset .yui-content .yui-hidden{border:0;height:0;width:0;padding:0;position:absolute;left:-999999px;overflow:hidden;visibility:hidden;}.yui-navset .yui-navset-left .yui-nav,.yui-navset .yui-navset-right .yui-nav,.yui-navset-left .yui-nav,.yui-navset-right .yui-nav{width:6em;}.yui-navset-top .yui-nav,.yui-navset-bottom .yui-nav{width:auto;}.yui-navset .yui-navset-left,.yui-navset-left{padding:0 0 0 6em;}.yui-navset-right{padding:0 6em 0 0;}.yui-navset-top,.yui-navset-bottom{padding:auto;}.yui-nav,.yui-nav li{margin:0;padding:0;list-style:none;}.yui-navset li em{font-style:normal;}.yui-navset{position:relative;zoom:1;}.yui-navset .yui-content,.yui-navset .yui-content div{zoom:1;}.yui-navset .yui-content:after{content:'';display:block;clear:both;}.yui-navset .yui-nav li,.yui-navset .yui-navset-top .yui-nav li,.yui-navset .yui-navset-bottom .yui-nav li{display:inline-block;display:-moz-inline-stack;*display:inline;vertical-align:bottom;cursor:pointer;zoom:1;}.yui-navset-left .yui-nav li,.yui-navset-right .yui-nav li{display:block;}.yui-navset .yui-nav a{position:relative;}.yui-navset .yui-nav li a,.yui-navset-top .yui-nav li a,.yui-navset-bottom .yui-nav li a{display:block;display:inline-block;vertical-align:bottom;zoom:1;}.yui-navset-left .yui-nav li a,.yui-navset-right .yui-nav li a{display:block;}.yui-navset-bottom .yui-nav li a{vertical-align:text-top;}.yui-navset .yui-nav li a em,.yui-navset-top .yui-nav li a em,.yui-navset-bottom .yui-nav li a em{display:block;}.yui-navset .yui-navset-left .yui-nav,.yui-navset .yui-navset-right .yui-nav,.yui-navset-left .yui-nav,.yui-navset-right .yui-nav{position:absolute;z-index:1;}.yui-navset-top .yui-nav,.yui-navset-bottom .yui-nav{position:static;}.yui-navset .yui-navset-left .yui-nav,.yui-navset-left .yui-nav{left:0;right:auto;}.yui-navset .yui-navset-right .yui-nav,.yui-navset-right .yui-nav{right:0;left:auto;}.yui-skin-sam .yui-navset .yui-nav,.yui-skin-sam .yui-navset .yui-navset-top .yui-nav{border:solid #2647a0;border-width:0 0 5px;zoom:1;}.yui-skin-sam .yui-navset .yui-nav li,.yui-skin-sam .yui-navset .yui-navset-top .yui-nav li{margin:0 .16em 0 0;padding:1px 0 0;zoom:1;}.yui-skin-sam .yui-navset .yui-nav .selected,.yui-skin-sam .yui-navset .yui-navset-top .yui-nav .selected{margin:0 .16em -1px 0;}.yui-skin-sam .yui-navset .yui-nav a,.yui-skin-sam .yui-navset .yui-navset-top .yui-nav a{background:#d8d8d8 url(sprite.png) repeat-x;border:solid #a3a3a3;border-width:0 1px;color:#000;position:relative;text-decoration:none;}.yui-skin-sam .yui-navset .yui-nav a em,.yui-skin-sam .yui-navset .yui-navset-top .yui-nav a em{border:solid #a3a3a3;border-width:1px 0 0;cursor:hand;padding:.25em .75em;left:0;right:0;bottom:0;top:-1px;position:relative;}.yui-skin-sam .yui-navset .yui-nav .selected a,.yui-skin-sam .yui-navset .yui-nav .selected a:focus,.yui-skin-sam .yui-navset .yui-nav .selected a:hover{background:#2647a0 url(sprite.png) repeat-x left -1400px;color:#fff;}.yui-skin-sam .yui-navset .yui-nav a:hover,.yui-skin-sam .yui-navset .yui-nav a:focus{background:#bfdaff url(sprite.png) repeat-x left -1300px;outline:0;}.yui-skin-sam .yui-navset .yui-nav .selected a em{padding:.35em .75em;}.yui-skin-sam .yui-navset .yui-nav .selected a,.yui-skin-sam .yui-navset .yui-nav .selected a em{border-color:#243356;}.yui-skin-sam .yui-navset .yui-content{background:#edf5ff;}.yui-skin-sam .yui-navset .yui-content,.yui-skin-sam .yui-navset .yui-navset-top .yui-content{border:1px solid #808080;border-top-color:#243356;padding:.25em .5em;}.yui-skin-sam .yui-navset-left .yui-nav,.yui-skin-sam .yui-navset .yui-navset-left .yui-nav,.yui-skin-sam .yui-navset .yui-navset-right .yui-nav,.yui-skin-sam .yui-navset-right .yui-nav{border-width:0 5px 0 0;Xposition:absolute;top:0;bottom:0;}.yui-skin-sam .yui-navset .yui-navset-right .yui-nav,.yui-skin-sam .yui-navset-right .yui-nav{border-width:0 0 0 5px;}.yui-skin-sam .yui-navset-left .yui-nav li,.yui-skin-sam .yui-navset .yui-navset-left .yui-nav li,.yui-skin-sam .yui-navset-right .yui-nav li{margin:0 0 .16em;padding:0 0 0 1px;}.yui-skin-sam .yui-navset-right .yui-nav li{padding:0 1px 0 0;}.yui-skin-sam .yui-navset-left .yui-nav .selected,.yui-skin-sam .yui-navset .yui-navset-left .yui-nav .selected{margin:0 -1px .16em 0;}.yui-skin-sam .yui-navset-right .yui-nav .selected{margin:0 0 .16em -1px;}.yui-skin-sam .yui-navset-left .yui-nav a,.yui-skin-sam .yui-navset-right .yui-nav a{border-width:1px 0;}.yui-skin-sam .yui-navset-left .yui-nav a em,.yui-skin-sam .yui-navset .yui-navset-left .yui-nav a em,.yui-skin-sam .yui-navset-right .yui-nav a em{border-width:0 0 0 1px;padding:.2em .75em;top:auto;left:-1px;}.yui-skin-sam .yui-navset-right .yui-nav a em{border-width:0 1px 0 0;left:auto;right:-1px;}.yui-skin-sam .yui-navset-left .yui-nav a,.yui-skin-sam .yui-navset-left .yui-nav .selected a,.yui-skin-sam .yui-navset-left .yui-nav a:hover,.yui-skin-sam .yui-navset-right .yui-nav a,.yui-skin-sam .yui-navset-right .yui-nav .selected a,.yui-skin-sam .yui-navset-right .yui-nav a:hover,.yui-skin-sam .yui-navset-bottom .yui-nav a,.yui-skin-sam .yui-navset-bottom .yui-nav .selected a,.yui-skin-sam .yui-navset-bottom .yui-nav a:hover{background-image:none;}.yui-skin-sam .yui-navset-left .yui-content{border:1px solid #808080;border-left-color:#243356;}.yui-skin-sam .yui-navset-bottom .yui-nav,.yui-skin-sam .yui-navset .yui-navset-bottom .yui-nav{border-width:5px 0 0;}.yui-skin-sam .yui-navset .yui-navset-bottom .yui-nav .selected,.yui-skin-sam .yui-navset-bottom .yui-nav .selected{margin:-1px .16em 0 0;}.yui-skin-sam .yui-navset .yui-navset-bottom .yui-nav li,.yui-skin-sam .yui-navset-bottom .yui-nav li{padding:0 0 1px 0;vertical-align:top;}.yui-skin-sam .yui-navset .yui-navset-bottom .yui-nav a em,.yui-skin-sam .yui-navset-bottom .yui-nav a em{border-width:0 0 1px;top:auto;bottom:-1px;} +.yui-skin-sam .yui-navset-bottom .yui-content,.yui-skin-sam .yui-navset .yui-navset-bottom .yui-content{border:1px solid #808080;border-bottom-color:#243356;} +table.ygtvtable{margin-bottom:0;border:none;border-collapse:collapse;}td.ygtvcell{border:none;padding:0;}a.ygtvspacer{text-decoration:none;outline-style:none;display:block;}.ygtvtn{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -5600px no-repeat;cursor:pointer;}.ygtvtm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4000px no-repeat;}.ygtvtmh,.ygtvtmhh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4800px no-repeat;}.ygtvtp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -6400px no-repeat;}.ygtvtph,.ygtvtphh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -7200px no-repeat;}.ygtvln{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -1600px no-repeat;cursor:pointer;}.ygtvlm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 0 no-repeat;}.ygtvlmh,.ygtvlmhh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -800px no-repeat;}.ygtvlp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -2400px no-repeat;}.ygtvlph,.ygtvlphh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -3200px no-repeat;cursor:pointer;}.ygtvloading{width:18px;height:22px;background:url(treeview-loading.gif) 0 0 no-repeat;}.ygtvdepthcell{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8000px no-repeat;}.ygtvblankdepthcell{width:18px;height:22px;}* html .ygtvchildren{height:2%;}.ygtvlabel,.ygtvlabel:link,.ygtvlabel:visited,.ygtvlabel:hover{margin-left:2px;text-decoration:none;background-color:white;cursor:pointer;}.ygtvcontent{cursor:default;}.ygtvspacer{height:22px;width:18px;}.ygtvfocus{background-color:#c0e0e0;border:none;}.ygtvfocus .ygtvlabel,.ygtvfocus .ygtvlabel:link,.ygtvfocus .ygtvlabel:visited,.ygtvfocus .ygtvlabel:hover{background-color:#c0e0e0;}.ygtvfocus a{outline-style:none;}.ygtvok{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8800px no-repeat;}.ygtvok:hover{background:url(treeview-sprite.gif) 0 -8844px no-repeat;}.ygtvcancel{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8822px no-repeat;}.ygtvcancel:hover{background:url(treeview-sprite.gif) 0 -8866px no-repeat;}.ygtv-label-editor{background-color:#f2f2f2;border:1px solid silver;position:absolute;display:none;overflow:hidden;margin:auto;z-index:9000;}.ygtv-edit-TextNode{width:190px;}.ygtv-edit-TextNode .ygtvcancel,.ygtv-edit-TextNode .ygtvok{border:none;}.ygtv-edit-TextNode .ygtv-button-container{float:right;}.ygtv-edit-TextNode .ygtv-input input{width:140px;}.ygtv-edit-DateNode .ygtvcancel{border:none;}.ygtv-edit-DateNode .ygtvok{display:none;}.ygtv-edit-DateNode .ygtv-button-container{text-align:right;margin:auto;}.ygtv-highlight .ygtv-highlight1,.ygtv-highlight .ygtv-highlight1 .ygtvlabel{background-color:blue;color:white;}.ygtv-highlight .ygtv-highlight2,.ygtv-highlight .ygtv-highlight2 .ygtvlabel{background-color:silver;}.ygtv-highlight .ygtv-highlight0 .ygtvfocus .ygtvlabel,.ygtv-highlight .ygtv-highlight1 .ygtvfocus .ygtvlabel,.ygtv-highlight .ygtv-highlight2 .ygtvfocus .ygtvlabel{background-color:#c0e0e0;}.ygtv-highlight .ygtvcontent{padding-right:1em;}.ygtv-checkbox .ygtv-highlight0 .ygtvcontent{padding-left:1em;background:url(check0.gif) no-repeat;}.ygtv-checkbox .ygtv-highlight0 .ygtvfocus.ygtvcontent,.ygtv-checkbox .ygtv-highlight1 .ygtvfocus.ygtvcontent,.ygtv-checkbox .ygtv-highlight2 .ygtvfocus.ygtvcontent{background-color:#c0e0e0;}.ygtv-checkbox .ygtv-highlight1 .ygtvcontent{padding-left:1em;background:url(check1.gif) no-repeat;}.ygtv-checkbox .ygtv-highlight2 .ygtvcontent{padding-left:1em;background:url(check2.gif) no-repeat;} + diff --git a/yui/build/assets/skins/sam/slider.css b/yui/build/assets/skins/sam/slider.css new file mode 100644 index 0000000..9450e3b --- /dev/null +++ b/yui/build/assets/skins/sam/slider.css @@ -0,0 +1,7 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +.yui-h-slider,.yui-v-slider,.yui-region-slider{position:relative;}.yui-h-slider .yui-slider-thumb,.yui-v-slider .yui-slider-thumb,.yui-region-slider .yui-slider-thumb{position:absolute;cursor:default;}.yui-skin-sam .yui-h-slider{background:url(bg-h.gif) no-repeat 5px 0;height:28px;width:228px;}.yui-skin-sam .yui-h-slider .yui-slider-thumb{top:4px;}.yui-skin-sam .yui-v-slider{background:url(bg-v.gif) no-repeat 12px 0;height:228px;width:48px;}.yui-skin-sam .yui-region-slider{height:228px;width:228px;} diff --git a/yui/build/assets/skins/sam/split-button-arrow-active.png b/yui/build/assets/skins/sam/split-button-arrow-active.png new file mode 100644 index 0000000000000000000000000000000000000000..fa58c5030e76082c84e38342cf6722c723ad2fd2 GIT binary patch literal 280 zcmV+z0q6dSP)N~-|K;%i-0c73 z@c-iO|KRQa-|hd~QeFE1003M`L_t(|+U&?l5`sVg1i`WZK}Epr|6dhmytLs92=mel z9uoULP6;mwyM%qhIpHzkHQ|(SNO(*5TD8?y@wq9xG<+26t_AN^`$=39HtEMPCOjwP e%l`;(0R{kdKn;SADLBOd00006$Gh9E#3p9{H-P6S}q~camLV^=3&tj%#_Xa_x2_Xl57U&w-9pX85Q9;Im dv4Me^VIeE)+1pK9I)PdkJYD@<);T3K0RYcxInw|D literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/split-button-arrow-focus.png b/yui/build/assets/skins/sam/split-button-arrow-focus.png new file mode 100644 index 0000000000000000000000000000000000000000..167d71eb721ba9b85c6601f9077d5c39faa4ebd2 GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^0zhoU!3-pmJXhxdDVB6cUq=RpYd5a=M;HP5k|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5XI0Jk_Tx)0S05bpo|DSu#^)isf zToU9L{Qp10^;5h+0~ypkT^vIyZY3ooII;39W@>hC5M-JVa^Poyu7TYlo?{mkWE>b9 b7?>Frva+7N-L$0>sD;7P)z4*}Q$iB}D9ShR literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/split-button-arrow-hover.png b/yui/build/assets/skins/sam/split-button-arrow-hover.png new file mode 100644 index 0000000000000000000000000000000000000000..167d71eb721ba9b85c6601f9077d5c39faa4ebd2 GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^0zhoU!3-pmJXhxdDVB6cUq=RpYd5a=M;HP5k|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5XI0Jk_Tx)0S05bpo|DSu#^)isf zToU9L{Qp10^;5h+0~ypkT^vIyZY3ooII;39W@>hC5M-JVa^Poyu7TYlo?{mkWE>b9 b7?>Frva+7N-L$0>sD;7P)z4*}Q$iB}D9ShR literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/split-button-arrow.png b/yui/build/assets/skins/sam/split-button-arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..b33a93ff2dc2039bd24e4ea3b75ecf4bb3295f84 GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^0zhoU!3-pmJXhxdDVB6cUq=RpYd5a=M;HP5k|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5XI0Jk_TpJo1fXx5@|JyBHuocK+ zE(!7r{{Nrh`YB$Zfeh-NE{-7;w~`VPoLG4lGc~(62r^9wIqgTe~DWM4f1sXSq literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/sprite.png b/yui/build/assets/skins/sam/sprite.png new file mode 100644 index 0000000000000000000000000000000000000000..73634d6a22c4377060f49217b63f31b59fe22d51 GIT binary patch literal 3745 zcmd^C`B&0g_x=DPilSwrm^nqWnUq#eWm--*^_u07bqmX(Ow1J2va6=14V2nkPNmhY z>pbKX8aQGaYNeQ>fCJzZNCKiJFLv*Dec%7#eSXEiNvKM52X-1&Ks5Iy%nf@%RFP{l#ybSs9bX znx39!vqywNp;#-n3j!vm-TRDQt5)(2~rzV*2|SO56Nspdahr;-Zd(t^W+rlQGslR&tF(rp5JW>HfmW$*F;XK?Y-}yXP~PH%X`W*Y(S$r)L@{ zjk7{I|6FrR>(CIh;$1b5Hz{3Mz<9sg;aNH-5*-Nb{o31i0M}>f-(2&)zWrl|NG#ra zy0NgNbYC#dIlJ#$lc_OtJno%dgL$k5BoeQ{`qAG_A88ZZm-{BkTPN%HPSkCrS8SPA zQHhLkVaRw*@`G^hMGD1Q^X1_Xi zUWE&unOh&s6s4t^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FPQ(JPC&`gyA}9;2nEFqdMPkPuV#mOk5qYfyp&ut?@Dno(k}@Bb;(yn( zzhaY<@5iXhwGuOnwIR+>4o308=v)P}oP$xe0GbIw^A*sKuVr*lSl2nKn23$2%Wxt_ zwFx6;%MbAaTB4Z5%z!Wz5KM0b^9_QzfMB|+F>}n%$G&w-RGl`sHbqp235x$P&5;k)YU@q zX~|W0i~~FFP(c5lWc2I#uITH5^p)tlV8!RdP9>4uKJAn2xd_I#4K1pNO?5X7eS$$g zh- z3`S&i*Iv?T3X*;?B0=v2-|IE^hO&gQTJLW{5jDf@y-#Ph^7@Q^F70D{FSTsU*EW4i=9hj%JltBYw_d$-48>? zj67G@+QG#0!q)P?`BuOGf9?&FMG;WsvPY65^mUaonrGoX-b8F za^G3nBtU5zoGYm>j(H>Y1+6GqIoRSXPk7}IEELd7aSKMHpI@$Yce!a3;6(Pgqj8z0 zFYS5p_vVr3*$;S`>A$)NBjbd!Bwi14|EVS+`9BbFad1CWY>!R+4|+`f{{R30 literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/sprite.psd b/yui/build/assets/skins/sam/sprite.psd new file mode 100644 index 0000000000000000000000000000000000000000..fff2c3471308fed4c93ef4961ea1cd729b41bdca GIT binary patch literal 118162 zcmeHw2|yG_)^PRAa0+;!CWb_jV8ja;4!IPfAjk@dK}|H9F9`x7%3(M}-9+PVqMs)J zy2>uQ@yNy_my%?KjYd|Jc;wQ2L|F}Kj|doG02Kxph8dg{HZ@|`(%9%2yxr$ESZ2{>JlC6e=~WyQWT!y^^rC^Uq}bv&t`GlBilw4hZh zqGOiFr8_Q;i%&?N?o{)iFPt0`Vy8Pj;~nW9xgt1jX~OI^sd4kxJTX6J&GHz(Sf`*s z>uIa}S0$}Tic61nT$PlVoaVo3x>Iy)%HlYGa1*qflOqk1zI?jV4C3LqFmkSAa7t>N zqnE34N{qYbR7bC=t{y&9eLUPJJ4U7?JBG$Bc2xQ~dbqp$IC^;aD?R?r!ZVL&Rx-^b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G(#ze2@`_q!iIT9B0|9NQ28! zJ?sHy%+1H@Ep0>n?+qI6joP?3sDKg6fOduu4QFV(?KYf{Mz3wUFYE87jMmha1@3?2eUV-(P*8&8Bv(*FK-T3*2Cru7u0RY%uzVfCFi0F_ zdY@f~Dn8-v$i5vM2NeAx_GGBcQkf+!)*y;HRbU zR(NXx7UT1&@ulN)xgGkt#=($dDO70_zJ?lsb}i7+25*k$Pu_(7UqBpMi7z~_!LtqG z5c*1Vo~#bU`*+RJc#IZkBwTHTT1Th>xWYf{U^7#Fw=^6dlTXF?+`Ef`fe$4>MKkc> z7I38V&HM17dVXp_u&)}_jJl(v6Ry``cz{2?4K3&WQVs(?!b~;NCmb+LvhEkTx=+f{ z3M0rhVPp}z>% literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/tabview.css b/yui/build/assets/skins/sam/tabview.css new file mode 100644 index 0000000..eb79574 --- /dev/null +++ b/yui/build/assets/skins/sam/tabview.css @@ -0,0 +1,8 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +.yui-navset .yui-nav li,.yui-navset .yui-navset-top .yui-nav li,.yui-navset .yui-navset-bottom .yui-nav li{margin:0 .5em 0 0;}.yui-navset-left .yui-nav li,.yui-navset-right .yui-nav li{margin:0 0 .5em;}.yui-navset .yui-content .yui-hidden{border:0;height:0;width:0;padding:0;position:absolute;left:-999999px;overflow:hidden;visibility:hidden;}.yui-navset .yui-navset-left .yui-nav,.yui-navset .yui-navset-right .yui-nav,.yui-navset-left .yui-nav,.yui-navset-right .yui-nav{width:6em;}.yui-navset-top .yui-nav,.yui-navset-bottom .yui-nav{width:auto;}.yui-navset .yui-navset-left,.yui-navset-left{padding:0 0 0 6em;}.yui-navset-right{padding:0 6em 0 0;}.yui-navset-top,.yui-navset-bottom{padding:auto;}.yui-nav,.yui-nav li{margin:0;padding:0;list-style:none;}.yui-navset li em{font-style:normal;}.yui-navset{position:relative;zoom:1;}.yui-navset .yui-content,.yui-navset .yui-content div{zoom:1;}.yui-navset .yui-content:after{content:'';display:block;clear:both;}.yui-navset .yui-nav li,.yui-navset .yui-navset-top .yui-nav li,.yui-navset .yui-navset-bottom .yui-nav li{display:inline-block;display:-moz-inline-stack;*display:inline;vertical-align:bottom;cursor:pointer;zoom:1;}.yui-navset-left .yui-nav li,.yui-navset-right .yui-nav li{display:block;}.yui-navset .yui-nav a{position:relative;}.yui-navset .yui-nav li a,.yui-navset-top .yui-nav li a,.yui-navset-bottom .yui-nav li a{display:block;display:inline-block;vertical-align:bottom;zoom:1;}.yui-navset-left .yui-nav li a,.yui-navset-right .yui-nav li a{display:block;}.yui-navset-bottom .yui-nav li a{vertical-align:text-top;}.yui-navset .yui-nav li a em,.yui-navset-top .yui-nav li a em,.yui-navset-bottom .yui-nav li a em{display:block;}.yui-navset .yui-navset-left .yui-nav,.yui-navset .yui-navset-right .yui-nav,.yui-navset-left .yui-nav,.yui-navset-right .yui-nav{position:absolute;z-index:1;}.yui-navset-top .yui-nav,.yui-navset-bottom .yui-nav{position:static;}.yui-navset .yui-navset-left .yui-nav,.yui-navset-left .yui-nav{left:0;right:auto;}.yui-navset .yui-navset-right .yui-nav,.yui-navset-right .yui-nav{right:0;left:auto;}.yui-skin-sam .yui-navset .yui-nav,.yui-skin-sam .yui-navset .yui-navset-top .yui-nav{border:solid #2647a0;border-width:0 0 5px;zoom:1;}.yui-skin-sam .yui-navset .yui-nav li,.yui-skin-sam .yui-navset .yui-navset-top .yui-nav li{margin:0 .16em 0 0;padding:1px 0 0;zoom:1;}.yui-skin-sam .yui-navset .yui-nav .selected,.yui-skin-sam .yui-navset .yui-navset-top .yui-nav .selected{margin:0 .16em -1px 0;}.yui-skin-sam .yui-navset .yui-nav a,.yui-skin-sam .yui-navset .yui-navset-top .yui-nav a{background:#d8d8d8 url(sprite.png) repeat-x;border:solid #a3a3a3;border-width:0 1px;color:#000;position:relative;text-decoration:none;}.yui-skin-sam .yui-navset .yui-nav a em,.yui-skin-sam .yui-navset .yui-navset-top .yui-nav a em{border:solid #a3a3a3;border-width:1px 0 0;cursor:hand;padding:.25em .75em;left:0;right:0;bottom:0;top:-1px;position:relative;}.yui-skin-sam .yui-navset .yui-nav .selected a,.yui-skin-sam .yui-navset .yui-nav .selected a:focus,.yui-skin-sam .yui-navset .yui-nav .selected a:hover{background:#2647a0 url(sprite.png) repeat-x left -1400px;color:#fff;}.yui-skin-sam .yui-navset .yui-nav a:hover,.yui-skin-sam .yui-navset .yui-nav a:focus{background:#bfdaff url(sprite.png) repeat-x left -1300px;outline:0;}.yui-skin-sam .yui-navset .yui-nav .selected a em{padding:.35em .75em;}.yui-skin-sam .yui-navset .yui-nav .selected a,.yui-skin-sam .yui-navset .yui-nav .selected a em{border-color:#243356;}.yui-skin-sam .yui-navset .yui-content{background:#edf5ff;}.yui-skin-sam .yui-navset .yui-content,.yui-skin-sam .yui-navset .yui-navset-top .yui-content{border:1px solid #808080;border-top-color:#243356;padding:.25em .5em;}.yui-skin-sam .yui-navset-left .yui-nav,.yui-skin-sam .yui-navset .yui-navset-left .yui-nav,.yui-skin-sam .yui-navset .yui-navset-right .yui-nav,.yui-skin-sam .yui-navset-right .yui-nav{border-width:0 5px 0 0;Xposition:absolute;top:0;bottom:0;}.yui-skin-sam .yui-navset .yui-navset-right .yui-nav,.yui-skin-sam .yui-navset-right .yui-nav{border-width:0 0 0 5px;}.yui-skin-sam .yui-navset-left .yui-nav li,.yui-skin-sam .yui-navset .yui-navset-left .yui-nav li,.yui-skin-sam .yui-navset-right .yui-nav li{margin:0 0 .16em;padding:0 0 0 1px;}.yui-skin-sam .yui-navset-right .yui-nav li{padding:0 1px 0 0;}.yui-skin-sam .yui-navset-left .yui-nav .selected,.yui-skin-sam .yui-navset .yui-navset-left .yui-nav .selected{margin:0 -1px .16em 0;}.yui-skin-sam .yui-navset-right .yui-nav .selected{margin:0 0 .16em -1px;}.yui-skin-sam .yui-navset-left .yui-nav a,.yui-skin-sam .yui-navset-right .yui-nav a{border-width:1px 0;}.yui-skin-sam .yui-navset-left .yui-nav a em,.yui-skin-sam .yui-navset .yui-navset-left .yui-nav a em,.yui-skin-sam .yui-navset-right .yui-nav a em{border-width:0 0 0 1px;padding:.2em .75em;top:auto;left:-1px;}.yui-skin-sam .yui-navset-right .yui-nav a em{border-width:0 1px 0 0;left:auto;right:-1px;}.yui-skin-sam .yui-navset-left .yui-nav a,.yui-skin-sam .yui-navset-left .yui-nav .selected a,.yui-skin-sam .yui-navset-left .yui-nav a:hover,.yui-skin-sam .yui-navset-right .yui-nav a,.yui-skin-sam .yui-navset-right .yui-nav .selected a,.yui-skin-sam .yui-navset-right .yui-nav a:hover,.yui-skin-sam .yui-navset-bottom .yui-nav a,.yui-skin-sam .yui-navset-bottom .yui-nav .selected a,.yui-skin-sam .yui-navset-bottom .yui-nav a:hover{background-image:none;}.yui-skin-sam .yui-navset-left .yui-content{border:1px solid #808080;border-left-color:#243356;}.yui-skin-sam .yui-navset-bottom .yui-nav,.yui-skin-sam .yui-navset .yui-navset-bottom .yui-nav{border-width:5px 0 0;}.yui-skin-sam .yui-navset .yui-navset-bottom .yui-nav .selected,.yui-skin-sam .yui-navset-bottom .yui-nav .selected{margin:-1px .16em 0 0;}.yui-skin-sam .yui-navset .yui-navset-bottom .yui-nav li,.yui-skin-sam .yui-navset-bottom .yui-nav li{padding:0 0 1px 0;vertical-align:top;}.yui-skin-sam .yui-navset .yui-navset-bottom .yui-nav a em,.yui-skin-sam .yui-navset-bottom .yui-nav a em{border-width:0 0 1px;top:auto;bottom:-1px;} +.yui-skin-sam .yui-navset-bottom .yui-content,.yui-skin-sam .yui-navset .yui-navset-bottom .yui-content{border:1px solid #808080;border-bottom-color:#243356;} diff --git a/yui/build/assets/skins/sam/treeview-loading.gif b/yui/build/assets/skins/sam/treeview-loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..0bbf3bc0c0e5e635553e8d1bf9ceddefbc402396 GIT binary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AVq5uk` z0vezSNuvyDqYf#fHL9aG%A+}oq8AFJ87ib3N~9fXq#w$n35ujI%A_&sq%-QH6e*=P ziK9~rr8|nHJ*uTYs-zXlrB~{uAu6ULN~R@hrYDM~DcYVZ%BC#}rd3L%IH{&VN~c3= zr$vgVM_Ng!22OwZgMC?l-E^mJx}Any0V2r?HBtt!k*V%BZ*MsJRNM zr5dKYDyqLqs=;ciwW_GY>Z`>{smW@o%ZjPZs;SS)sRrt*(Tb|os;bj!tJeyv+bXNw zN~_swtlx^OuMx|y6YH#_vvvDC`4CkwL(YqJWAvkWV<0IRbh>$4*Zv?WWk>e{PC z+pZ1Sr=|9%{_vBRF0_}&2nHL!OSV?)wP*{sZL0-VJGOEQwrX3od&{?O`?Yi1w}RUF7eEFUAToD=26qs;P;!Q(3ju2A1A%Y` zt*a$76NiQ{C3Yw#bO;GPfQLMzhlfiN0PwrO8@#_;0sx?dH~;`7P`phT1jsuA${R6C z5HZaw0svq!Q}DYOFuffB02!k(zk3DR3jmz^1-}cr;R^x3dk5)j2NrO?=nDYv8zm1A zzJdUAyfG8LhyVaJ;{f4%yNnRNx;qKlyS>6&z$H<@2AsUcy8+>=0}ZnS4a~p*U?abK z1mVjBz>C4yo4v{F1qJNE$veKm`?+M`zIG72rE9_ktTOaFzrPy@_B+4HYY4xazX0$D U{p-H~9KZ}Pzz8h7+YkZ(JNT^25dZ)H literal 0 HcmV?d00001 diff --git a/yui/build/assets/skins/sam/treeview.css b/yui/build/assets/skins/sam/treeview.css new file mode 100644 index 0000000..3843d4b --- /dev/null +++ b/yui/build/assets/skins/sam/treeview.css @@ -0,0 +1,7 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +table.ygtvtable{margin-bottom:0;border:none;border-collapse:collapse;}td.ygtvcell{border:none;padding:0;}a.ygtvspacer{text-decoration:none;outline-style:none;display:block;}.ygtvtn{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -5600px no-repeat;cursor:pointer;}.ygtvtm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4000px no-repeat;}.ygtvtmh,.ygtvtmhh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4800px no-repeat;}.ygtvtp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -6400px no-repeat;}.ygtvtph,.ygtvtphh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -7200px no-repeat;}.ygtvln{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -1600px no-repeat;cursor:pointer;}.ygtvlm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 0 no-repeat;}.ygtvlmh,.ygtvlmhh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -800px no-repeat;}.ygtvlp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -2400px no-repeat;}.ygtvlph,.ygtvlphh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -3200px no-repeat;cursor:pointer;}.ygtvloading{width:18px;height:22px;background:url(treeview-loading.gif) 0 0 no-repeat;}.ygtvdepthcell{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8000px no-repeat;}.ygtvblankdepthcell{width:18px;height:22px;}* html .ygtvchildren{height:2%;}.ygtvlabel,.ygtvlabel:link,.ygtvlabel:visited,.ygtvlabel:hover{margin-left:2px;text-decoration:none;background-color:white;cursor:pointer;}.ygtvcontent{cursor:default;}.ygtvspacer{height:22px;width:18px;}.ygtvfocus{background-color:#c0e0e0;border:none;}.ygtvfocus .ygtvlabel,.ygtvfocus .ygtvlabel:link,.ygtvfocus .ygtvlabel:visited,.ygtvfocus .ygtvlabel:hover{background-color:#c0e0e0;}.ygtvfocus a{outline-style:none;}.ygtvok{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8800px no-repeat;}.ygtvok:hover{background:url(treeview-sprite.gif) 0 -8844px no-repeat;}.ygtvcancel{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8822px no-repeat;}.ygtvcancel:hover{background:url(treeview-sprite.gif) 0 -8866px no-repeat;}.ygtv-label-editor{background-color:#f2f2f2;border:1px solid silver;position:absolute;display:none;overflow:hidden;margin:auto;z-index:9000;}.ygtv-edit-TextNode{width:190px;}.ygtv-edit-TextNode .ygtvcancel,.ygtv-edit-TextNode .ygtvok{border:none;}.ygtv-edit-TextNode .ygtv-button-container{float:right;}.ygtv-edit-TextNode .ygtv-input input{width:140px;}.ygtv-edit-DateNode .ygtvcancel{border:none;}.ygtv-edit-DateNode .ygtvok{display:none;}.ygtv-edit-DateNode .ygtv-button-container{text-align:right;margin:auto;}.ygtv-highlight .ygtv-highlight1,.ygtv-highlight .ygtv-highlight1 .ygtvlabel{background-color:blue;color:white;}.ygtv-highlight .ygtv-highlight2,.ygtv-highlight .ygtv-highlight2 .ygtvlabel{background-color:silver;}.ygtv-highlight .ygtv-highlight0 .ygtvfocus .ygtvlabel,.ygtv-highlight .ygtv-highlight1 .ygtvfocus .ygtvlabel,.ygtv-highlight .ygtv-highlight2 .ygtvfocus .ygtvlabel{background-color:#c0e0e0;}.ygtv-highlight .ygtvcontent{padding-right:1em;}.ygtv-checkbox .ygtv-highlight0 .ygtvcontent{padding-left:1em;background:url(check0.gif) no-repeat;}.ygtv-checkbox .ygtv-highlight0 .ygtvfocus.ygtvcontent,.ygtv-checkbox .ygtv-highlight1 .ygtvfocus.ygtvcontent,.ygtv-checkbox .ygtv-highlight2 .ygtvfocus.ygtvcontent{background-color:#c0e0e0;}.ygtv-checkbox .ygtv-highlight1 .ygtvcontent{padding-left:1em;background:url(check1.gif) no-repeat;}.ygtv-checkbox .ygtv-highlight2 .ygtvcontent{padding-left:1em;background:url(check2.gif) no-repeat;} diff --git a/yui/build/assets/skins/sam/wait.gif b/yui/build/assets/skins/sam/wait.gif new file mode 100644 index 0000000000000000000000000000000000000000..471c1a4f93f2cabf0b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IpHzkHQ|(SNO(*5TD8?y@wq9xG<+26t_AN^`$=39HtEMPCOjwP e%l`;(0R{kdKn;SADLBOd00006$Gh9E#3p9{H-P6S}q~camLV^=3&tj%#_Xa_x2_Xl57U&w-9pX85Q9;Im dv4Me^VIeE)+1pK9I)PdkJYD@<);T3K0RYcxInw|D literal 0 HcmV?d00001 diff --git a/yui/build/button/assets/skins/sam/split-button-arrow-focus.png b/yui/build/button/assets/skins/sam/split-button-arrow-focus.png new file mode 100644 index 0000000000000000000000000000000000000000..167d71eb721ba9b85c6601f9077d5c39faa4ebd2 GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^0zhoU!3-pmJXhxdDVB6cUq=RpYd5a=M;HP5k|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5XI0Jk_Tx)0S05bpo|DSu#^)isf zToU9L{Qp10^;5h+0~ypkT^vIyZY3ooII;39W@>hC5M-JVa^Poyu7TYlo?{mkWE>b9 b7?>Frva+7N-L$0>sD;7P)z4*}Q$iB}D9ShR literal 0 HcmV?d00001 diff --git a/yui/build/button/assets/skins/sam/split-button-arrow-hover.png b/yui/build/button/assets/skins/sam/split-button-arrow-hover.png new file mode 100644 index 0000000000000000000000000000000000000000..167d71eb721ba9b85c6601f9077d5c39faa4ebd2 GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^0zhoU!3-pmJXhxdDVB6cUq=RpYd5a=M;HP5k|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5XI0Jk_Tx)0S05bpo|DSu#^)isf zToU9L{Qp10^;5h+0~ypkT^vIyZY3ooII;39W@>hC5M-JVa^Poyu7TYlo?{mkWE>b9 b7?>Frva+7N-L$0>sD;7P)z4*}Q$iB}D9ShR literal 0 HcmV?d00001 diff --git a/yui/build/button/assets/skins/sam/split-button-arrow.png b/yui/build/button/assets/skins/sam/split-button-arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..b33a93ff2dc2039bd24e4ea3b75ecf4bb3295f84 GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^0zhoU!3-pmJXhxdDVB6cUq=RpYd5a=M;HP5k|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5XI0Jk_TpJo1fXx5@|JyBHuocK+ zE(!7r{{Nrh`YB$Zfeh-NE{-7;w~`VPoLG4lGc~(62r^9wIqgTe~DWM4f1sXSq literal 0 HcmV?d00001 diff --git a/yui/build/button/button-debug.js b/yui/build/button/button-debug.js new file mode 100644 index 0000000..a79ce3b --- /dev/null +++ b/yui/build/button/button-debug.js @@ -0,0 +1,4694 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.8.0r4 +*/ +/** +* @module button +* @description

    The Button Control enables the creation of rich, graphical +* buttons that function like traditional HTML form buttons. Unlike +* traditional HTML form buttons, buttons created with the Button Control can have +* a label that is different from its value. With the inclusion of the optional +* Menu Control, the Button Control can also be +* used to create menu buttons and split buttons, controls that are not +* available natively in HTML. The Button Control can also be thought of as a +* way to create more visually engaging implementations of the browser's +* default radio-button and check-box controls.

    +*

    The Button Control supports the following types:

    +*
    +*
    push
    +*
    Basic push button that can execute a user-specified command when +* pressed.
    +*
    link
    +*
    Navigates to a specified url when pressed.
    +*
    submit
    +*
    Submits the parent form when pressed.
    +*
    reset
    +*
    Resets the parent form when pressed.
    +*
    checkbox
    +*
    Maintains a "checked" state that can be toggled on and off.
    +*
    radio
    +*
    Maintains a "checked" state that can be toggled on and off. Use with +* the ButtonGroup class to create a set of controls that are mutually +* exclusive; checking one button in the set will uncheck all others in +* the group.
    +*
    menu
    +*
    When pressed will show/hide a menu.
    +*
    split
    +*
    Can execute a user-specified command or display a menu when pressed.
    +*
    +* @title Button +* @namespace YAHOO.widget +* @requires yahoo, dom, element, event +* @optional container, menu +*/ + + +(function () { + + + /** + * The Button class creates a rich, graphical button. + * @param {String} p_oElement String specifying the id attribute of the + * <input>, <button>, + * <a>, or <span> element to + * be used to create the button. + * @param {HTMLInputElement| + * HTMLButtonElement|HTMLElement} p_oElement Object reference for the + * <input>, <button>, + * <a>, or <span> element to be + * used to create the button. + * @param {Object} p_oElement Object literal specifying a set of + * configuration attributes used to create the button. + * @param {Object} p_oAttributes Optional. Object literal specifying a set + * of configuration attributes used to create the button. + * @namespace YAHOO.widget + * @class Button + * @constructor + * @extends YAHOO.util.Element + */ + + + + // Shorthard for utilities + + var Dom = YAHOO.util.Dom, + Event = YAHOO.util.Event, + Lang = YAHOO.lang, + UA = YAHOO.env.ua, + Overlay = YAHOO.widget.Overlay, + Menu = YAHOO.widget.Menu, + + + // Private member variables + + m_oButtons = {}, // Collection of all Button instances + m_oOverlayManager = null, // YAHOO.widget.OverlayManager instance + m_oSubmitTrigger = null, // The button that submitted the form + m_oFocusedButton = null; // The button that has focus + + + + // Private methods + + + + /** + * @method createInputElement + * @description Creates an <input> element of the + * specified type. + * @private + * @param {String} p_sType String specifying the type of + * <input> element to create. + * @param {String} p_sName String specifying the name of + * <input> element to create. + * @param {String} p_sValue String specifying the value of + * <input> element to create. + * @param {String} p_bChecked Boolean specifying if the + * <input> element is to be checked. + * @return {HTMLInputElement} + */ + function createInputElement(p_sType, p_sName, p_sValue, p_bChecked) { + + var oInput, + sInput; + + if (Lang.isString(p_sType) && Lang.isString(p_sName)) { + + if (UA.ie) { + + /* + For IE it is necessary to create the element with the + "type," "name," "value," and "checked" properties set all + at once. + */ + + sInput = "<input> or <a>) that + * map to Button configuration attributes and sets them into a collection + * that is passed to the Button constructor. + * @private + * @param {HTMLInputElement|HTMLAnchorElement} p_oElement Object reference to the HTML + * element (either <input> or <span> + * ) used to create the button. + * @param {Object} p_oAttributes Object reference for the collection of + * configuration attributes used to create the button. + */ + function setAttributesFromSrcElement(p_oElement, p_oAttributes) { + + var sSrcElementNodeName = p_oElement.nodeName.toUpperCase(), + sClass = (this.CLASS_NAME_PREFIX + this.CSS_CLASS_NAME), + me = this, + oAttribute, + oRootNode, + sText; + + + /** + * @method setAttributeFromDOMAttribute + * @description Gets the value of the specified DOM attribute and sets it + * into the collection of configuration attributes used to configure + * the button. + * @private + * @param {String} p_sAttribute String representing the name of the + * attribute to retrieve from the DOM element. + */ + function setAttributeFromDOMAttribute(p_sAttribute) { + + if (!(p_sAttribute in p_oAttributes)) { + + /* + Need to use "getAttributeNode" instead of "getAttribute" + because using "getAttribute," IE will return the innerText + of a <button> for the value attribute + rather than the value of the "value" attribute. + */ + + oAttribute = p_oElement.getAttributeNode(p_sAttribute); + + + if (oAttribute && ("value" in oAttribute)) { + + YAHOO.log("Setting attribute \"" + p_sAttribute + + "\" using source element's attribute value of \"" + + oAttribute.value + "\"", "info", me.toString()); + + p_oAttributes[p_sAttribute] = oAttribute.value; + + } + + } + + } + + + /** + * @method setFormElementProperties + * @description Gets the value of the attributes from the form element + * and sets them into the collection of configuration attributes used to + * configure the button. + * @private + */ + function setFormElementProperties() { + + setAttributeFromDOMAttribute("type"); + + if (p_oAttributes.type == "button") { + + p_oAttributes.type = "push"; + + } + + if (!("disabled" in p_oAttributes)) { + + p_oAttributes.disabled = p_oElement.disabled; + + } + + setAttributeFromDOMAttribute("name"); + setAttributeFromDOMAttribute("value"); + setAttributeFromDOMAttribute("title"); + + } + + + switch (sSrcElementNodeName) { + + case "A": + + p_oAttributes.type = "link"; + + setAttributeFromDOMAttribute("href"); + setAttributeFromDOMAttribute("target"); + + break; + + case "INPUT": + + setFormElementProperties(); + + if (!("checked" in p_oAttributes)) { + + p_oAttributes.checked = p_oElement.checked; + + } + + break; + + case "BUTTON": + + setFormElementProperties(); + + oRootNode = p_oElement.parentNode.parentNode; + + if (Dom.hasClass(oRootNode, sClass + "-checked")) { + + p_oAttributes.checked = true; + + } + + if (Dom.hasClass(oRootNode, sClass + "-disabled")) { + + p_oAttributes.disabled = true; + + } + + p_oElement.removeAttribute("value"); + + p_oElement.setAttribute("type", "button"); + + break; + + } + + p_oElement.removeAttribute("id"); + p_oElement.removeAttribute("name"); + + if (!("tabindex" in p_oAttributes)) { + + p_oAttributes.tabindex = p_oElement.tabIndex; + + } + + if (!("label" in p_oAttributes)) { + + // Set the "label" property + + sText = sSrcElementNodeName == "INPUT" ? + p_oElement.value : p_oElement.innerHTML; + + + if (sText && sText.length > 0) { + + p_oAttributes.label = sText; + + } + + } + + } + + + /** + * @method initConfig + * @description Initializes the set of configuration attributes that are + * used to instantiate the button. + * @private + * @param {Object} Object representing the button's set of + * configuration attributes. + */ + function initConfig(p_oConfig) { + + var oAttributes = p_oConfig.attributes, + oSrcElement = oAttributes.srcelement, + sSrcElementNodeName = oSrcElement.nodeName.toUpperCase(), + me = this; + + + if (sSrcElementNodeName == this.NODE_NAME) { + + p_oConfig.element = oSrcElement; + p_oConfig.id = oSrcElement.id; + + Dom.getElementsBy(function (p_oElement) { + + switch (p_oElement.nodeName.toUpperCase()) { + + case "BUTTON": + case "A": + case "INPUT": + + setAttributesFromSrcElement.call(me, p_oElement, + oAttributes); + + break; + + } + + }, "*", oSrcElement); + + } + else { + + switch (sSrcElementNodeName) { + + case "BUTTON": + case "A": + case "INPUT": + + setAttributesFromSrcElement.call(this, oSrcElement, + oAttributes); + + break; + + } + + } + + } + + + + // Constructor + + YAHOO.widget.Button = function (p_oElement, p_oAttributes) { + + if (!Overlay && YAHOO.widget.Overlay) { + + Overlay = YAHOO.widget.Overlay; + + } + + + if (!Menu && YAHOO.widget.Menu) { + + Menu = YAHOO.widget.Menu; + + } + + + var fnSuperClass = YAHOO.widget.Button.superclass.constructor, + oConfig, + oElement; + + + if (arguments.length == 1 && !Lang.isString(p_oElement) && !p_oElement.nodeName) { + + if (!p_oElement.id) { + + p_oElement.id = Dom.generateId(); + + YAHOO.log("No value specified for the button's \"id\" " + + "attribute. Setting button id to \"" + p_oElement.id + + "\".", "info", this.toString()); + + } + + YAHOO.log("No source HTML element. Building the button " + + "using the set of configuration attributes.", "info", this.toString()); + + fnSuperClass.call(this, (this.createButtonElement(p_oElement.type)), p_oElement); + + } + else { + + oConfig = { element: null, attributes: (p_oAttributes || {}) }; + + + if (Lang.isString(p_oElement)) { + + oElement = Dom.get(p_oElement); + + if (oElement) { + + if (!oConfig.attributes.id) { + + oConfig.attributes.id = p_oElement; + + } + + YAHOO.log("Building the button using an existing " + + "HTML element as a source element.", "info", this.toString()); + + + oConfig.attributes.srcelement = oElement; + + initConfig.call(this, oConfig); + + + if (!oConfig.element) { + + YAHOO.log("Source element could not be used " + + "as is. Creating a new HTML element for " + + "the button.", "info", this.toString()); + + oConfig.element = this.createButtonElement(oConfig.attributes.type); + + } + + fnSuperClass.call(this, oConfig.element, oConfig.attributes); + + } + + } + else if (p_oElement.nodeName) { + + if (!oConfig.attributes.id) { + + if (p_oElement.id) { + + oConfig.attributes.id = p_oElement.id; + + } + else { + + oConfig.attributes.id = Dom.generateId(); + + YAHOO.log("No value specified for the button's " + + "\"id\" attribute. Setting button id to \"" + + oConfig.attributes.id + "\".", "info", this.toString()); + + } + + } + + YAHOO.log("Building the button using an existing HTML " + + "element as a source element.", "info", this.toString()); + + + oConfig.attributes.srcelement = p_oElement; + + initConfig.call(this, oConfig); + + + if (!oConfig.element) { + + YAHOO.log("Source element could not be used as is." + + " Creating a new HTML element for the button.", + "info", this.toString()); + + oConfig.element = this.createButtonElement(oConfig.attributes.type); + + } + + fnSuperClass.call(this, oConfig.element, oConfig.attributes); + + } + + } + + }; + + + + YAHOO.extend(YAHOO.widget.Button, YAHOO.util.Element, { + + + // Protected properties + + + /** + * @property _button + * @description Object reference to the button's internal + * <a> or <button> element. + * @default null + * @protected + * @type HTMLAnchorElement|HTMLButtonElement + */ + _button: null, + + + /** + * @property _menu + * @description Object reference to the button's menu. + * @default null + * @protected + * @type {YAHOO.widget.Overlay| + * YAHOO.widget.Menu} + */ + _menu: null, + + + /** + * @property _hiddenFields + * @description Object reference to the <input> + * element, or array of HTML form elements used to represent the button + * when its parent form is submitted. + * @default null + * @protected + * @type HTMLInputElement|Array + */ + _hiddenFields: null, + + + /** + * @property _onclickAttributeValue + * @description Object reference to the button's current value for the + * "onclick" configuration attribute. + * @default null + * @protected + * @type Object + */ + _onclickAttributeValue: null, + + + /** + * @property _activationKeyPressed + * @description Boolean indicating if the key(s) that toggle the button's + * "active" state have been pressed. + * @default false + * @protected + * @type Boolean + */ + _activationKeyPressed: false, + + + /** + * @property _activationButtonPressed + * @description Boolean indicating if the mouse button that toggles + * the button's "active" state has been pressed. + * @default false + * @protected + * @type Boolean + */ + _activationButtonPressed: false, + + + /** + * @property _hasKeyEventHandlers + * @description Boolean indicating if the button's "blur", "keydown" and + * "keyup" event handlers are assigned + * @default false + * @protected + * @type Boolean + */ + _hasKeyEventHandlers: false, + + + /** + * @property _hasMouseEventHandlers + * @description Boolean indicating if the button's "mouseout," + * "mousedown," and "mouseup" event handlers are assigned + * @default false + * @protected + * @type Boolean + */ + _hasMouseEventHandlers: false, + + + /** + * @property _nOptionRegionX + * @description Number representing the X coordinate of the leftmost edge of the Button's + * option region. Applies only to Buttons of type "split". + * @default 0 + * @protected + * @type Number + */ + _nOptionRegionX: 0, + + + + // Constants + + /** + * @property CLASS_NAME_PREFIX + * @description Prefix used for all class names applied to a Button. + * @default "yui-" + * @final + * @type String + */ + CLASS_NAME_PREFIX: "yui-", + + + /** + * @property NODE_NAME + * @description The name of the node to be used for the button's + * root element. + * @default "SPAN" + * @final + * @type String + */ + NODE_NAME: "SPAN", + + + /** + * @property CHECK_ACTIVATION_KEYS + * @description Array of numbers representing keys that (when pressed) + * toggle the button's "checked" attribute. + * @default [32] + * @final + * @type Array + */ + CHECK_ACTIVATION_KEYS: [32], + + + /** + * @property ACTIVATION_KEYS + * @description Array of numbers representing keys that (when presed) + * toggle the button's "active" state. + * @default [13, 32] + * @final + * @type Array + */ + ACTIVATION_KEYS: [13, 32], + + + /** + * @property OPTION_AREA_WIDTH + * @description Width (in pixels) of the area of a split button that + * when pressed will display a menu. + * @default 20 + * @final + * @type Number + */ + OPTION_AREA_WIDTH: 20, + + + /** + * @property CSS_CLASS_NAME + * @description String representing the CSS class(es) to be applied to + * the button's root element. + * @default "button" + * @final + * @type String + */ + CSS_CLASS_NAME: "button", + + + + // Protected attribute setter methods + + + /** + * @method _setType + * @description Sets the value of the button's "type" attribute. + * @protected + * @param {String} p_sType String indicating the value for the button's + * "type" attribute. + */ + _setType: function (p_sType) { + + if (p_sType == "split") { + + this.on("option", this._onOption); + + } + + }, + + + /** + * @method _setLabel + * @description Sets the value of the button's "label" attribute. + * @protected + * @param {String} p_sLabel String indicating the value for the button's + * "label" attribute. + */ + _setLabel: function (p_sLabel) { + + this._button.innerHTML = p_sLabel; + + + /* + Remove and add the default class name from the root element + for Gecko to ensure that the button shrinkwraps to the label. + Without this the button will not be rendered at the correct + width when the label changes. The most likely cause for this + bug is button's use of the Gecko-specific CSS display type of + "-moz-inline-box" to simulate "inline-block" supported by IE, + Safari and Opera. + */ + + var sClass, + nGeckoVersion = UA.gecko; + + + if (nGeckoVersion && nGeckoVersion < 1.9 && Dom.inDocument(this.get("element"))) { + + sClass = (this.CLASS_NAME_PREFIX + this.CSS_CLASS_NAME); + + this.removeClass(sClass); + + Lang.later(0, this, this.addClass, sClass); + + } + + }, + + + /** + * @method _setTabIndex + * @description Sets the value of the button's "tabindex" attribute. + * @protected + * @param {Number} p_nTabIndex Number indicating the value for the + * button's "tabindex" attribute. + */ + _setTabIndex: function (p_nTabIndex) { + + this._button.tabIndex = p_nTabIndex; + + }, + + + /** + * @method _setTitle + * @description Sets the value of the button's "title" attribute. + * @protected + * @param {String} p_nTabIndex Number indicating the value for + * the button's "title" attribute. + */ + _setTitle: function (p_sTitle) { + + if (this.get("type") != "link") { + + this._button.title = p_sTitle; + + } + + }, + + + /** + * @method _setDisabled + * @description Sets the value of the button's "disabled" attribute. + * @protected + * @param {Boolean} p_bDisabled Boolean indicating the value for + * the button's "disabled" attribute. + */ + _setDisabled: function (p_bDisabled) { + + if (this.get("type") != "link") { + + if (p_bDisabled) { + + if (this._menu) { + + this._menu.hide(); + + } + + if (this.hasFocus()) { + + this.blur(); + + } + + this._button.setAttribute("disabled", "disabled"); + + this.addStateCSSClasses("disabled"); + + this.removeStateCSSClasses("hover"); + this.removeStateCSSClasses("active"); + this.removeStateCSSClasses("focus"); + + } + else { + + this._button.removeAttribute("disabled"); + + this.removeStateCSSClasses("disabled"); + + } + + } + + }, + + + /** + * @method _setHref + * @description Sets the value of the button's "href" attribute. + * @protected + * @param {String} p_sHref String indicating the value for the button's + * "href" attribute. + */ + _setHref: function (p_sHref) { + + if (this.get("type") == "link") { + + this._button.href = p_sHref; + + } + + }, + + + /** + * @method _setTarget + * @description Sets the value of the button's "target" attribute. + * @protected + * @param {String} p_sTarget String indicating the value for the button's + * "target" attribute. + */ + _setTarget: function (p_sTarget) { + + if (this.get("type") == "link") { + + this._button.setAttribute("target", p_sTarget); + + } + + }, + + + /** + * @method _setChecked + * @description Sets the value of the button's "target" attribute. + * @protected + * @param {Boolean} p_bChecked Boolean indicating the value for + * the button's "checked" attribute. + */ + _setChecked: function (p_bChecked) { + + var sType = this.get("type"); + + if (sType == "checkbox" || sType == "radio") { + + if (p_bChecked) { + this.addStateCSSClasses("checked"); + } + else { + this.removeStateCSSClasses("checked"); + } + + } + + }, + + + /** + * @method _setMenu + * @description Sets the value of the button's "menu" attribute. + * @protected + * @param {Object} p_oMenu Object indicating the value for the button's + * "menu" attribute. + */ + _setMenu: function (p_oMenu) { + + var bLazyLoad = this.get("lazyloadmenu"), + oButtonElement = this.get("element"), + sMenuCSSClassName, + + /* + Boolean indicating if the value of p_oMenu is an instance + of YAHOO.widget.Menu or YAHOO.widget.Overlay. + */ + + bInstance = false, + oMenu, + oMenuElement, + oSrcElement; + + + function onAppendTo() { + + oMenu.render(oButtonElement.parentNode); + + this.removeListener("appendTo", onAppendTo); + + } + + + function setMenuContainer() { + + oMenu.cfg.queueProperty("container", oButtonElement.parentNode); + + this.removeListener("appendTo", setMenuContainer); + + } + + + function initMenu() { + + var oContainer; + + if (oMenu) { + + Dom.addClass(oMenu.element, this.get("menuclassname")); + Dom.addClass(oMenu.element, this.CLASS_NAME_PREFIX + this.get("type") + "-button-menu"); + + oMenu.showEvent.subscribe(this._onMenuShow, null, this); + oMenu.hideEvent.subscribe(this._onMenuHide, null, this); + oMenu.renderEvent.subscribe(this._onMenuRender, null, this); + + + if (Menu && oMenu instanceof Menu) { + + if (bLazyLoad) { + + oContainer = this.get("container"); + + if (oContainer) { + + oMenu.cfg.queueProperty("container", oContainer); + + } + else { + + this.on("appendTo", setMenuContainer); + + } + + } + + oMenu.cfg.queueProperty("clicktohide", false); + + oMenu.keyDownEvent.subscribe(this._onMenuKeyDown, this, true); + oMenu.subscribe("click", this._onMenuClick, this, true); + + this.on("selectedMenuItemChange", this._onSelectedMenuItemChange); + + oSrcElement = oMenu.srcElement; + + if (oSrcElement && oSrcElement.nodeName.toUpperCase() == "SELECT") { + + oSrcElement.style.display = "none"; + oSrcElement.parentNode.removeChild(oSrcElement); + + } + + } + else if (Overlay && oMenu instanceof Overlay) { + + if (!m_oOverlayManager) { + + m_oOverlayManager = new YAHOO.widget.OverlayManager(); + + } + + m_oOverlayManager.register(oMenu); + + } + + + this._menu = oMenu; + + + if (!bInstance && !bLazyLoad) { + + if (Dom.inDocument(oButtonElement)) { + + oMenu.render(oButtonElement.parentNode); + + } + else { + + this.on("appendTo", onAppendTo); + + } + + } + + } + + } + + + if (Overlay) { + + if (Menu) { + + sMenuCSSClassName = Menu.prototype.CSS_CLASS_NAME; + + } + + if (p_oMenu && Menu && (p_oMenu instanceof Menu)) { + + oMenu = p_oMenu; + bInstance = true; + + initMenu.call(this); + + } + else if (Overlay && p_oMenu && (p_oMenu instanceof Overlay)) { + + oMenu = p_oMenu; + bInstance = true; + + oMenu.cfg.queueProperty("visible", false); + + initMenu.call(this); + + } + else if (Menu && Lang.isArray(p_oMenu)) { + + oMenu = new Menu(Dom.generateId(), { lazyload: bLazyLoad, itemdata: p_oMenu }); + + this._menu = oMenu; + + this.on("appendTo", initMenu); + + } + else if (Lang.isString(p_oMenu)) { + + oMenuElement = Dom.get(p_oMenu); + + if (oMenuElement) { + + if (Menu && Dom.hasClass(oMenuElement, sMenuCSSClassName) || + oMenuElement.nodeName.toUpperCase() == "SELECT") { + + oMenu = new Menu(p_oMenu, { lazyload: bLazyLoad }); + + initMenu.call(this); + + } + else if (Overlay) { + + oMenu = new Overlay(p_oMenu, { visible: false }); + + initMenu.call(this); + + } + + } + + } + else if (p_oMenu && p_oMenu.nodeName) { + + if (Menu && Dom.hasClass(p_oMenu, sMenuCSSClassName) || + p_oMenu.nodeName.toUpperCase() == "SELECT") { + + oMenu = new Menu(p_oMenu, { lazyload: bLazyLoad }); + + initMenu.call(this); + + } + else if (Overlay) { + + if (!p_oMenu.id) { + + Dom.generateId(p_oMenu); + + } + + oMenu = new Overlay(p_oMenu, { visible: false }); + + initMenu.call(this); + + } + + } + + } + + }, + + + /** + * @method _setOnClick + * @description Sets the value of the button's "onclick" attribute. + * @protected + * @param {Object} p_oObject Object indicating the value for the button's + * "onclick" attribute. + */ + _setOnClick: function (p_oObject) { + + /* + Remove any existing listeners if a "click" event handler + has already been specified. + */ + + if (this._onclickAttributeValue && + (this._onclickAttributeValue != p_oObject)) { + + this.removeListener("click", this._onclickAttributeValue.fn); + + this._onclickAttributeValue = null; + + } + + + if (!this._onclickAttributeValue && + Lang.isObject(p_oObject) && + Lang.isFunction(p_oObject.fn)) { + + this.on("click", p_oObject.fn, p_oObject.obj, p_oObject.scope); + + this._onclickAttributeValue = p_oObject; + + } + + }, + + + + // Protected methods + + + + /** + * @method _isActivationKey + * @description Determines if the specified keycode is one that toggles + * the button's "active" state. + * @protected + * @param {Number} p_nKeyCode Number representing the keycode to + * be evaluated. + * @return {Boolean} + */ + _isActivationKey: function (p_nKeyCode) { + + var sType = this.get("type"), + aKeyCodes = (sType == "checkbox" || sType == "radio") ? + this.CHECK_ACTIVATION_KEYS : this.ACTIVATION_KEYS, + + nKeyCodes = aKeyCodes.length, + bReturnVal = false, + i; + + + if (nKeyCodes > 0) { + + i = nKeyCodes - 1; + + do { + + if (p_nKeyCode == aKeyCodes[i]) { + + bReturnVal = true; + break; + + } + + } + while (i--); + + } + + return bReturnVal; + + }, + + + /** + * @method _isSplitButtonOptionKey + * @description Determines if the specified keycode is one that toggles + * the display of the split button's menu. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + * @return {Boolean} + */ + _isSplitButtonOptionKey: function (p_oEvent) { + + var bShowMenu = (Event.getCharCode(p_oEvent) == 40); + + + var onKeyPress = function (p_oEvent) { + + Event.preventDefault(p_oEvent); + + this.removeListener("keypress", onKeyPress); + + }; + + + // Prevent the browser from scrolling the window + if (bShowMenu) { + + if (UA.opera) { + + this.on("keypress", onKeyPress); + + } + + Event.preventDefault(p_oEvent); + } + + return bShowMenu; + + }, + + + /** + * @method _addListenersToForm + * @description Adds event handlers to the button's form. + * @protected + */ + _addListenersToForm: function () { + + var oForm = this.getForm(), + onFormKeyPress = YAHOO.widget.Button.onFormKeyPress, + bHasKeyPressListener, + oSrcElement, + aListeners, + nListeners, + i; + + + if (oForm) { + + Event.on(oForm, "reset", this._onFormReset, null, this); + Event.on(oForm, "submit", this._onFormSubmit, null, this); + + oSrcElement = this.get("srcelement"); + + + if (this.get("type") == "submit" || + (oSrcElement && oSrcElement.type == "submit")) + { + + aListeners = Event.getListeners(oForm, "keypress"); + bHasKeyPressListener = false; + + if (aListeners) { + + nListeners = aListeners.length; + + if (nListeners > 0) { + + i = nListeners - 1; + + do { + + if (aListeners[i].fn == onFormKeyPress) { + + bHasKeyPressListener = true; + break; + + } + + } + while (i--); + + } + + } + + + if (!bHasKeyPressListener) { + + Event.on(oForm, "keypress", onFormKeyPress); + + } + + } + + } + + }, + + + + /** + * @method _showMenu + * @description Shows the button's menu. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event) that triggered + * the display of the menu. + */ + _showMenu: function (p_oEvent) { + + if (YAHOO.widget.MenuManager) { + YAHOO.widget.MenuManager.hideVisible(); + } + + + if (m_oOverlayManager) { + m_oOverlayManager.hideAll(); + } + + + var oMenu = this._menu, + aMenuAlignment = this.get("menualignment"), + bFocusMenu = this.get("focusmenu"), + fnFocusMethod; + + + if (this._renderedMenu) { + + oMenu.cfg.setProperty("context", + [this.get("element"), aMenuAlignment[0], aMenuAlignment[1]]); + + oMenu.cfg.setProperty("preventcontextoverlap", true); + oMenu.cfg.setProperty("constraintoviewport", true); + + } + else { + + oMenu.cfg.queueProperty("context", + [this.get("element"), aMenuAlignment[0], aMenuAlignment[1]]); + + oMenu.cfg.queueProperty("preventcontextoverlap", true); + oMenu.cfg.queueProperty("constraintoviewport", true); + + } + + + /* + Refocus the Button before showing its Menu in case the call to + YAHOO.widget.MenuManager.hideVisible() resulted in another element in the + DOM being focused after another Menu was hidden. + */ + + this.focus(); + + + if (Menu && oMenu && (oMenu instanceof Menu)) { + + // Since Menus automatically focus themselves when made visible, temporarily + // replace the Menu focus method so that the value of the Button's "focusmenu" + // attribute determines if the Menu should be focus when made visible. + + fnFocusMethod = oMenu.focus; + + oMenu.focus = function () {}; + + if (this._renderedMenu) { + + oMenu.cfg.setProperty("minscrollheight", this.get("menuminscrollheight")); + oMenu.cfg.setProperty("maxheight", this.get("menumaxheight")); + + } + else { + + oMenu.cfg.queueProperty("minscrollheight", this.get("menuminscrollheight")); + oMenu.cfg.queueProperty("maxheight", this.get("menumaxheight")); + + } + + + oMenu.show(); + + oMenu.focus = fnFocusMethod; + + oMenu.align(); + + + /* + Stop the propagation of the event so that the MenuManager + doesn't blur the menu after it gets focus. + */ + + if (p_oEvent.type == "mousedown") { + Event.stopPropagation(p_oEvent); + } + + + if (bFocusMenu) { + oMenu.focus(); + } + + } + else if (Overlay && oMenu && (oMenu instanceof Overlay)) { + + if (!this._renderedMenu) { + oMenu.render(this.get("element").parentNode); + } + + oMenu.show(); + oMenu.align(); + + } + + }, + + + /** + * @method _hideMenu + * @description Hides the button's menu. + * @protected + */ + _hideMenu: function () { + + var oMenu = this._menu; + + if (oMenu) { + + oMenu.hide(); + + } + + }, + + + + + // Protected event handlers + + + /** + * @method _onMouseOver + * @description "mouseover" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onMouseOver: function (p_oEvent) { + + var sType = this.get("type"), + oElement, + nOptionRegionX; + + + if (sType === "split") { + + oElement = this.get("element"); + nOptionRegionX = + (Dom.getX(oElement) + (oElement.offsetWidth - this.OPTION_AREA_WIDTH)); + + this._nOptionRegionX = nOptionRegionX; + + } + + + if (!this._hasMouseEventHandlers) { + + if (sType === "split") { + + this.on("mousemove", this._onMouseMove); + + } + + this.on("mouseout", this._onMouseOut); + + this._hasMouseEventHandlers = true; + + } + + + this.addStateCSSClasses("hover"); + + + if (sType === "split" && (Event.getPageX(p_oEvent) > nOptionRegionX)) { + + this.addStateCSSClasses("hoveroption"); + + } + + + if (this._activationButtonPressed) { + + this.addStateCSSClasses("active"); + + } + + + if (this._bOptionPressed) { + + this.addStateCSSClasses("activeoption"); + + } + + + if (this._activationButtonPressed || this._bOptionPressed) { + + Event.removeListener(document, "mouseup", this._onDocumentMouseUp); + + } + + }, + + + /** + * @method _onMouseMove + * @description "mousemove" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onMouseMove: function (p_oEvent) { + + var nOptionRegionX = this._nOptionRegionX; + + if (nOptionRegionX) { + + if (Event.getPageX(p_oEvent) > nOptionRegionX) { + + this.addStateCSSClasses("hoveroption"); + + } + else { + + this.removeStateCSSClasses("hoveroption"); + + } + + } + + }, + + /** + * @method _onMouseOut + * @description "mouseout" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onMouseOut: function (p_oEvent) { + + var sType = this.get("type"); + + this.removeStateCSSClasses("hover"); + + + if (sType != "menu") { + + this.removeStateCSSClasses("active"); + + } + + + if (this._activationButtonPressed || this._bOptionPressed) { + + Event.on(document, "mouseup", this._onDocumentMouseUp, null, this); + + } + + + if (sType === "split" && (Event.getPageX(p_oEvent) > this._nOptionRegionX)) { + + this.removeStateCSSClasses("hoveroption"); + + } + + }, + + + /** + * @method _onDocumentMouseUp + * @description "mouseup" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onDocumentMouseUp: function (p_oEvent) { + + this._activationButtonPressed = false; + this._bOptionPressed = false; + + var sType = this.get("type"), + oTarget, + oMenuElement; + + if (sType == "menu" || sType == "split") { + + oTarget = Event.getTarget(p_oEvent); + oMenuElement = this._menu.element; + + if (oTarget != oMenuElement && + !Dom.isAncestor(oMenuElement, oTarget)) { + + this.removeStateCSSClasses((sType == "menu" ? + "active" : "activeoption")); + + this._hideMenu(); + + } + + } + + Event.removeListener(document, "mouseup", this._onDocumentMouseUp); + + }, + + + /** + * @method _onMouseDown + * @description "mousedown" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onMouseDown: function (p_oEvent) { + + var sType, + bReturnVal = true; + + + function onMouseUp() { + + this._hideMenu(); + this.removeListener("mouseup", onMouseUp); + + } + + + if ((p_oEvent.which || p_oEvent.button) == 1) { + + + if (!this.hasFocus()) { + + this.focus(); + + } + + + sType = this.get("type"); + + + if (sType == "split") { + + if (Event.getPageX(p_oEvent) > this._nOptionRegionX) { + + this.fireEvent("option", p_oEvent); + bReturnVal = false; + + } + else { + + this.addStateCSSClasses("active"); + + this._activationButtonPressed = true; + + } + + } + else if (sType == "menu") { + + if (this.isActive()) { + + this._hideMenu(); + + this._activationButtonPressed = false; + + } + else { + + this._showMenu(p_oEvent); + + this._activationButtonPressed = true; + + } + + } + else { + + this.addStateCSSClasses("active"); + + this._activationButtonPressed = true; + + } + + + + if (sType == "split" || sType == "menu") { + + this._hideMenuTimer = Lang.later(250, this, this.on, ["mouseup", onMouseUp]); + + } + + } + + return bReturnVal; + + }, + + + /** + * @method _onMouseUp + * @description "mouseup" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onMouseUp: function (p_oEvent) { + + var sType = this.get("type"), + oHideMenuTimer = this._hideMenuTimer, + bReturnVal = true; + + + if (oHideMenuTimer) { + + oHideMenuTimer.cancel(); + + } + + + if (sType == "checkbox" || sType == "radio") { + + this.set("checked", !(this.get("checked"))); + + } + + + this._activationButtonPressed = false; + + + if (sType != "menu") { + + this.removeStateCSSClasses("active"); + + } + + + if (sType == "split" && Event.getPageX(p_oEvent) > this._nOptionRegionX) { + + bReturnVal = false; + + } + + return bReturnVal; + + }, + + + /** + * @method _onFocus + * @description "focus" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onFocus: function (p_oEvent) { + + var oElement; + + this.addStateCSSClasses("focus"); + + if (this._activationKeyPressed) { + + this.addStateCSSClasses("active"); + + } + + m_oFocusedButton = this; + + + if (!this._hasKeyEventHandlers) { + + oElement = this._button; + + Event.on(oElement, "blur", this._onBlur, null, this); + Event.on(oElement, "keydown", this._onKeyDown, null, this); + Event.on(oElement, "keyup", this._onKeyUp, null, this); + + this._hasKeyEventHandlers = true; + + } + + + this.fireEvent("focus", p_oEvent); + + }, + + + /** + * @method _onBlur + * @description "blur" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onBlur: function (p_oEvent) { + + this.removeStateCSSClasses("focus"); + + if (this.get("type") != "menu") { + + this.removeStateCSSClasses("active"); + + } + + if (this._activationKeyPressed) { + + Event.on(document, "keyup", this._onDocumentKeyUp, null, this); + + } + + + m_oFocusedButton = null; + + this.fireEvent("blur", p_oEvent); + + }, + + + /** + * @method _onDocumentKeyUp + * @description "keyup" event handler for the document. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onDocumentKeyUp: function (p_oEvent) { + + if (this._isActivationKey(Event.getCharCode(p_oEvent))) { + + this._activationKeyPressed = false; + + Event.removeListener(document, "keyup", this._onDocumentKeyUp); + + } + + }, + + + /** + * @method _onKeyDown + * @description "keydown" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onKeyDown: function (p_oEvent) { + + var oMenu = this._menu; + + + if (this.get("type") == "split" && + this._isSplitButtonOptionKey(p_oEvent)) { + + this.fireEvent("option", p_oEvent); + + } + else if (this._isActivationKey(Event.getCharCode(p_oEvent))) { + + if (this.get("type") == "menu") { + + this._showMenu(p_oEvent); + + } + else { + + this._activationKeyPressed = true; + + this.addStateCSSClasses("active"); + + } + + } + + + if (oMenu && oMenu.cfg.getProperty("visible") && + Event.getCharCode(p_oEvent) == 27) { + + oMenu.hide(); + this.focus(); + + } + + }, + + + /** + * @method _onKeyUp + * @description "keyup" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onKeyUp: function (p_oEvent) { + + var sType; + + if (this._isActivationKey(Event.getCharCode(p_oEvent))) { + + sType = this.get("type"); + + if (sType == "checkbox" || sType == "radio") { + + this.set("checked", !(this.get("checked"))); + + } + + this._activationKeyPressed = false; + + if (this.get("type") != "menu") { + + this.removeStateCSSClasses("active"); + + } + + } + + }, + + + /** + * @method _onClick + * @description "click" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onClick: function (p_oEvent) { + + var sType = this.get("type"), + oForm, + oSrcElement, + bReturnVal; + + + switch (sType) { + + case "submit": + + if (p_oEvent.returnValue !== false) { + + this.submitForm(); + + } + + break; + + case "reset": + + oForm = this.getForm(); + + if (oForm) { + + oForm.reset(); + + } + + break; + + + case "split": + + if (this._nOptionRegionX > 0 && + (Event.getPageX(p_oEvent) > this._nOptionRegionX)) { + + bReturnVal = false; + + } + else { + + this._hideMenu(); + + oSrcElement = this.get("srcelement"); + + if (oSrcElement && oSrcElement.type == "submit" && + p_oEvent.returnValue !== false) { + + this.submitForm(); + + } + + } + + break; + + } + + return bReturnVal; + + }, + + + /** + * @method _onDblClick + * @description "dblclick" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onDblClick: function (p_oEvent) { + + var bReturnVal = true; + + if (this.get("type") == "split" && Event.getPageX(p_oEvent) > this._nOptionRegionX) { + + bReturnVal = false; + + } + + return bReturnVal; + + }, + + + /** + * @method _onAppendTo + * @description "appendTo" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onAppendTo: function (p_oEvent) { + + /* + It is necessary to call "_addListenersToForm" using + "setTimeout" to make sure that the button's "form" property + returns a node reference. Sometimes, if you try to get the + reference immediately after appending the field, it is null. + */ + + Lang.later(0, this, this._addListenersToForm); + + }, + + + /** + * @method _onFormReset + * @description "reset" event handler for the button's form. + * @protected + * @param {Event} p_oEvent Object representing the DOM event + * object passed back by the event utility (YAHOO.util.Event). + */ + _onFormReset: function (p_oEvent) { + + var sType = this.get("type"), + oMenu = this._menu; + + if (sType == "checkbox" || sType == "radio") { + + this.resetValue("checked"); + + } + + + if (Menu && oMenu && (oMenu instanceof Menu)) { + + this.resetValue("selectedMenuItem"); + + } + + }, + + + /** + * @method _onFormSubmit + * @description "submit" event handler for the button's form. + * @protected + * @param {Event} p_oEvent Object representing the DOM event + * object passed back by the event utility (YAHOO.util.Event). + */ + _onFormSubmit: function (p_oEvent) { + + this.createHiddenFields(); + + }, + + + /** + * @method _onDocumentMouseDown + * @description "mousedown" event handler for the document. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onDocumentMouseDown: function (p_oEvent) { + + var oTarget = Event.getTarget(p_oEvent), + oButtonElement = this.get("element"), + oMenuElement = this._menu.element; + + + if (oTarget != oButtonElement && + !Dom.isAncestor(oButtonElement, oTarget) && + oTarget != oMenuElement && + !Dom.isAncestor(oMenuElement, oTarget)) { + + this._hideMenu(); + + // In IE when the user mouses down on a focusable element + // that element will be focused and become the "activeElement". + // (http://msdn.microsoft.com/en-us/library/ms533065(VS.85).aspx) + // However, there is a bug in IE where if there is a + // positioned element with a focused descendant that is + // hidden in response to the mousedown event, the target of + // the mousedown event will appear to have focus, but will + // not be set as the activeElement. This will result + // in the element not firing key events, even though it + // appears to have focus. The following call to "setActive" + // fixes this bug. + + if (UA.ie && oTarget.focus) { + oTarget.setActive(); + } + + Event.removeListener(document, "mousedown", + this._onDocumentMouseDown); + + } + + }, + + + /** + * @method _onOption + * @description "option" event handler for the button. + * @protected + * @param {Event} p_oEvent Object representing the DOM event object + * passed back by the event utility (YAHOO.util.Event). + */ + _onOption: function (p_oEvent) { + + if (this.hasClass(this.CLASS_NAME_PREFIX + "split-button-activeoption")) { + + this._hideMenu(); + + this._bOptionPressed = false; + + } + else { + + this._showMenu(p_oEvent); + + this._bOptionPressed = true; + + } + + }, + + + /** + * @method _onMenuShow + * @description "show" event handler for the button's menu. + * @private + * @param {String} p_sType String representing the name of the event + * that was fired. + */ + _onMenuShow: function (p_sType) { + + Event.on(document, "mousedown", this._onDocumentMouseDown, + null, this); + + var sState = (this.get("type") == "split") ? "activeoption" : "active"; + + this.addStateCSSClasses(sState); + + }, + + + /** + * @method _onMenuHide + * @description "hide" event handler for the button's menu. + * @private + * @param {String} p_sType String representing the name of the event + * that was fired. + */ + _onMenuHide: function (p_sType) { + + var sState = (this.get("type") == "split") ? "activeoption" : "active"; + + this.removeStateCSSClasses(sState); + + + if (this.get("type") == "split") { + + this._bOptionPressed = false; + + } + + }, + + + /** + * @method _onMenuKeyDown + * @description "keydown" event handler for the button's menu. + * @private + * @param {String} p_sType String representing the name of the event + * that was fired. + * @param {Array} p_aArgs Array of arguments sent when the event + * was fired. + */ + _onMenuKeyDown: function (p_sType, p_aArgs) { + + var oEvent = p_aArgs[0]; + + if (Event.getCharCode(oEvent) == 27) { + + this.focus(); + + if (this.get("type") == "split") { + + this._bOptionPressed = false; + + } + + } + + }, + + + /** + * @method _onMenuRender + * @description "render" event handler for the button's menu. + * @private + * @param {String} p_sType String representing the name of the + * event thatwas fired. + */ + _onMenuRender: function (p_sType) { + + var oButtonElement = this.get("element"), + oButtonParent = oButtonElement.parentNode, + oMenu = this._menu, + oMenuElement = oMenu.element, + oSrcElement = oMenu.srcElement, + oItem; + + + if (oButtonParent != oMenuElement.parentNode) { + + oButtonParent.appendChild(oMenuElement); + + } + + this._renderedMenu = true; + + // If the user has designated an