From 1c5685d68f1b73270fb814fe04cbb490eb90ba5f Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 14 Nov 2008 15:39:19 +0000 Subject: Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dijit/ColorPalette.js | 292 - includes/js/dijit/Declaration.js | 76 - includes/js/dijit/Dialog.js | 480 - includes/js/dijit/Editor.js | 373 - includes/js/dijit/InlineEditBox.js | 422 - includes/js/dijit/LICENSE | 195 - includes/js/dijit/Menu.js | 487 - includes/js/dijit/ProgressBar.js | 95 - includes/js/dijit/TitlePane.js | 157 - includes/js/dijit/Toolbar.js | 54 - includes/js/dijit/Tooltip.js | 292 - includes/js/dijit/Tree.js | 1336 -- includes/js/dijit/_Calendar.js | 239 - includes/js/dijit/_Container.js | 346 - includes/js/dijit/_Templated.js | 329 - includes/js/dijit/_TimePicker.js | 249 - includes/js/dijit/_Widget.js | 407 - includes/js/dijit/_base.js | 27 - includes/js/dijit/_base/bidi.js | 13 - includes/js/dijit/_base/focus.js | 342 - includes/js/dijit/_base/manager.js | 194 - includes/js/dijit/_base/place.js | 213 - includes/js/dijit/_base/popup.js | 269 - includes/js/dijit/_base/scroll.js | 29 - includes/js/dijit/_base/sniff.js | 45 - includes/js/dijit/_base/typematic.js | 139 - includes/js/dijit/_base/wai.js | 143 - includes/js/dijit/_base/window.js | 47 - includes/js/dijit/_editor/RichText.js | 1449 -- includes/js/dijit/_editor/_Plugin.js | 101 - includes/js/dijit/_editor/html.js | 106 - includes/js/dijit/_editor/nls/FontChoice.js | 1 - includes/js/dijit/_editor/nls/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/ar/FontChoice.js | 1 - includes/js/dijit/_editor/nls/ar/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/ar/commands.js | 1 - includes/js/dijit/_editor/nls/commands.js | 1 - includes/js/dijit/_editor/nls/cs/FontChoice.js | 1 - includes/js/dijit/_editor/nls/cs/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/cs/commands.js | 1 - includes/js/dijit/_editor/nls/da/FontChoice.js | 1 - includes/js/dijit/_editor/nls/da/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/da/commands.js | 1 - includes/js/dijit/_editor/nls/de/FontChoice.js | 1 - includes/js/dijit/_editor/nls/de/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/de/commands.js | 1 - includes/js/dijit/_editor/nls/el/FontChoice.js | 1 - includes/js/dijit/_editor/nls/el/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/el/commands.js | 1 - includes/js/dijit/_editor/nls/es/FontChoice.js | 1 - includes/js/dijit/_editor/nls/es/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/es/commands.js | 1 - includes/js/dijit/_editor/nls/fi/FontChoice.js | 1 - includes/js/dijit/_editor/nls/fi/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/fi/commands.js | 1 - includes/js/dijit/_editor/nls/fr/FontChoice.js | 1 - includes/js/dijit/_editor/nls/fr/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/fr/commands.js | 1 - includes/js/dijit/_editor/nls/he/FontChoice.js | 1 - includes/js/dijit/_editor/nls/he/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/he/commands.js | 1 - includes/js/dijit/_editor/nls/hu/FontChoice.js | 1 - includes/js/dijit/_editor/nls/hu/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/hu/commands.js | 1 - includes/js/dijit/_editor/nls/it/FontChoice.js | 1 - includes/js/dijit/_editor/nls/it/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/it/commands.js | 1 - includes/js/dijit/_editor/nls/ja/FontChoice.js | 1 - includes/js/dijit/_editor/nls/ja/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/ja/commands.js | 1 - includes/js/dijit/_editor/nls/ko/FontChoice.js | 1 - includes/js/dijit/_editor/nls/ko/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/ko/commands.js | 1 - includes/js/dijit/_editor/nls/nb/FontChoice.js | 1 - includes/js/dijit/_editor/nls/nb/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/nb/commands.js | 1 - includes/js/dijit/_editor/nls/nl/FontChoice.js | 1 - includes/js/dijit/_editor/nls/nl/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/nl/commands.js | 1 - includes/js/dijit/_editor/nls/pl/FontChoice.js | 1 - includes/js/dijit/_editor/nls/pl/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/pl/commands.js | 1 - includes/js/dijit/_editor/nls/pt-pt/FontChoice.js | 1 - includes/js/dijit/_editor/nls/pt-pt/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/pt-pt/commands.js | 1 - includes/js/dijit/_editor/nls/pt/FontChoice.js | 1 - includes/js/dijit/_editor/nls/pt/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/pt/commands.js | 1 - includes/js/dijit/_editor/nls/ru/FontChoice.js | 1 - includes/js/dijit/_editor/nls/ru/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/ru/commands.js | 1 - includes/js/dijit/_editor/nls/sv/FontChoice.js | 1 - includes/js/dijit/_editor/nls/sv/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/sv/commands.js | 1 - includes/js/dijit/_editor/nls/tr/FontChoice.js | 1 - includes/js/dijit/_editor/nls/tr/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/tr/commands.js | 1 - includes/js/dijit/_editor/nls/zh-tw/FontChoice.js | 1 - includes/js/dijit/_editor/nls/zh-tw/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/zh-tw/commands.js | 1 - includes/js/dijit/_editor/nls/zh/FontChoice.js | 1 - includes/js/dijit/_editor/nls/zh/LinkDialog.js | 1 - includes/js/dijit/_editor/nls/zh/commands.js | 1 - .../js/dijit/_editor/plugins/AlwaysShowToolbar.js | 140 - .../js/dijit/_editor/plugins/EnterKeyHandling.js | 416 - includes/js/dijit/_editor/plugins/FontChoice.js | 167 - includes/js/dijit/_editor/plugins/LinkDialog.js | 147 - includes/js/dijit/_editor/plugins/TextColor.js | 40 - includes/js/dijit/_editor/plugins/ToggleDir.js | 40 - includes/js/dijit/_editor/range.js | 570 - includes/js/dijit/_editor/selection.js | 246 - includes/js/dijit/_tree/Node.html | 12 - includes/js/dijit/_tree/Tree.html | 3 - includes/js/dijit/_tree/dndContainer.js | 150 - includes/js/dijit/_tree/dndSelector.js | 171 - includes/js/dijit/_tree/dndSource.js | 373 - includes/js/dijit/_tree/model.js | 84 - includes/js/dijit/bench/benchReceive.php | 129 - includes/js/dijit/bench/benchTool.html | 189 - includes/js/dijit/bench/create_widgets.html | 73 - .../js/dijit/bench/test_Button-programmatic.html | 75 - includes/js/dijit/bench/test_button-results.html | 66 - .../js/dijit/bench/widget_construction_test.php | 186 - includes/js/dijit/changes.txt | 93 - includes/js/dijit/demos/chat.html | 86 - includes/js/dijit/demos/chat/chat.css | 40 - .../js/dijit/demos/chat/chat.css.commented.css | 46 - includes/js/dijit/demos/chat/client.html | 65 - includes/js/dijit/demos/chat/community.html | 114 - includes/js/dijit/demos/chat/operator.html | 83 - includes/js/dijit/demos/chat/room.js | 127 - includes/js/dijit/demos/form.html | 243 - includes/js/dijit/demos/i18n.html | 158 - includes/js/dijit/demos/i18n/continents.json | 9 - includes/js/dijit/demos/i18n/data.json | 8646 ---------- includes/js/dijit/demos/i18n/flags.css | 1223 -- .../js/dijit/demos/i18n/flags.css.commented.css | 1224 -- includes/js/dijit/demos/i18n/flags.png | Bin 47275 -> 0 bytes includes/js/dijit/demos/i18n/generate.html | 2353 --- includes/js/dijit/demos/i18n/langCountryMap.json | 215 - includes/js/dijit/demos/i18n/languages.json | 7045 -------- includes/js/dijit/demos/i18n/languages.sh | 18 - includes/js/dijit/demos/i18n/sprite.html | 2319 --- includes/js/dijit/demos/mail.html | 426 - includes/js/dijit/demos/mail/icons.gif | Bin 1757 -> 0 bytes includes/js/dijit/demos/mail/icons.png | Bin 2908 -> 0 bytes includes/js/dijit/demos/mail/mail.css | 133 - .../js/dijit/demos/mail/mail.css.commented.css | 157 - includes/js/dijit/demos/mail/mail.json | 75 - includes/js/dijit/demos/mail/newMail.html | 8 - includes/js/dijit/demos/nihao.html | 91 - includes/js/dijit/demos/nihao/nls/en/helloworld.js | 1 - includes/js/dijit/demos/nihao/nls/fr/helloworld.js | 1 - includes/js/dijit/demos/nihao/nls/helloworld.js | 1 - includes/js/dijit/demos/nihao/nls/zh/helloworld.js | 1 - includes/js/dijit/dijit-all.js | 20 - includes/js/dijit/dijit-all.js.uncompressed.js | 16235 ------------------- includes/js/dijit/dijit.js | 20 - includes/js/dijit/dijit.js.uncompressed.js | 3641 ----- includes/js/dijit/form/Button.js | 425 - includes/js/dijit/form/CheckBox.js | 133 - includes/js/dijit/form/ComboBox.js | 1060 -- includes/js/dijit/form/CurrencyTextBox.js | 51 - includes/js/dijit/form/DateTextBox.js | 20 - includes/js/dijit/form/FilteringSelect.js | 241 - includes/js/dijit/form/Form.js | 384 - includes/js/dijit/form/MultiSelect.js | 84 - includes/js/dijit/form/NumberSpinner.js | 31 - includes/js/dijit/form/NumberTextBox.js | 79 - includes/js/dijit/form/SimpleTextarea.js | 50 - includes/js/dijit/form/Slider.js | 481 - includes/js/dijit/form/TextBox.js | 185 - includes/js/dijit/form/Textarea.js | 261 - includes/js/dijit/form/TimeTextBox.js | 33 - includes/js/dijit/form/ValidationTextBox.js | 308 - includes/js/dijit/form/_DateTimeTextBox.js | 175 - includes/js/dijit/form/_FormWidget.js | 340 - includes/js/dijit/form/_Spinner.js | 117 - includes/js/dijit/form/nls/ComboBox.js | 1 - includes/js/dijit/form/nls/Textarea.js | 1 - includes/js/dijit/form/nls/ar/ComboBox.js | 1 - includes/js/dijit/form/nls/ar/Textarea.js | 1 - includes/js/dijit/form/nls/ar/validate.js | 1 - includes/js/dijit/form/nls/cs/ComboBox.js | 1 - includes/js/dijit/form/nls/cs/Textarea.js | 1 - includes/js/dijit/form/nls/cs/validate.js | 1 - includes/js/dijit/form/nls/da/ComboBox.js | 1 - includes/js/dijit/form/nls/da/Textarea.js | 1 - includes/js/dijit/form/nls/da/validate.js | 1 - includes/js/dijit/form/nls/de/ComboBox.js | 1 - includes/js/dijit/form/nls/de/Textarea.js | 1 - includes/js/dijit/form/nls/de/validate.js | 1 - includes/js/dijit/form/nls/el/ComboBox.js | 1 - includes/js/dijit/form/nls/el/Textarea.js | 1 - includes/js/dijit/form/nls/el/validate.js | 1 - includes/js/dijit/form/nls/es/ComboBox.js | 1 - includes/js/dijit/form/nls/es/Textarea.js | 1 - includes/js/dijit/form/nls/es/validate.js | 1 - includes/js/dijit/form/nls/fi/ComboBox.js | 1 - includes/js/dijit/form/nls/fi/Textarea.js | 1 - includes/js/dijit/form/nls/fi/validate.js | 1 - includes/js/dijit/form/nls/fr/ComboBox.js | 1 - includes/js/dijit/form/nls/fr/Textarea.js | 1 - includes/js/dijit/form/nls/fr/validate.js | 1 - includes/js/dijit/form/nls/he/ComboBox.js | 1 - includes/js/dijit/form/nls/he/Textarea.js | 1 - includes/js/dijit/form/nls/he/validate.js | 1 - includes/js/dijit/form/nls/hu/ComboBox.js | 1 - includes/js/dijit/form/nls/hu/Textarea.js | 1 - includes/js/dijit/form/nls/hu/validate.js | 1 - includes/js/dijit/form/nls/it/ComboBox.js | 1 - includes/js/dijit/form/nls/it/Textarea.js | 1 - includes/js/dijit/form/nls/it/validate.js | 1 - includes/js/dijit/form/nls/ja/ComboBox.js | 1 - includes/js/dijit/form/nls/ja/Textarea.js | 1 - includes/js/dijit/form/nls/ja/validate.js | 1 - includes/js/dijit/form/nls/ko/ComboBox.js | 1 - includes/js/dijit/form/nls/ko/Textarea.js | 1 - includes/js/dijit/form/nls/ko/validate.js | 1 - includes/js/dijit/form/nls/nb/ComboBox.js | 1 - includes/js/dijit/form/nls/nb/Textarea.js | 1 - includes/js/dijit/form/nls/nb/validate.js | 1 - includes/js/dijit/form/nls/nl/ComboBox.js | 1 - includes/js/dijit/form/nls/nl/Textarea.js | 1 - includes/js/dijit/form/nls/nl/validate.js | 1 - includes/js/dijit/form/nls/pl/ComboBox.js | 1 - includes/js/dijit/form/nls/pl/Textarea.js | 1 - includes/js/dijit/form/nls/pl/validate.js | 1 - includes/js/dijit/form/nls/pt-pt/ComboBox.js | 1 - includes/js/dijit/form/nls/pt-pt/Textarea.js | 1 - includes/js/dijit/form/nls/pt-pt/validate.js | 1 - includes/js/dijit/form/nls/pt/ComboBox.js | 1 - includes/js/dijit/form/nls/pt/Textarea.js | 1 - includes/js/dijit/form/nls/pt/validate.js | 1 - includes/js/dijit/form/nls/ru/ComboBox.js | 1 - includes/js/dijit/form/nls/ru/Textarea.js | 1 - includes/js/dijit/form/nls/ru/validate.js | 1 - includes/js/dijit/form/nls/sv/ComboBox.js | 1 - includes/js/dijit/form/nls/sv/Textarea.js | 1 - includes/js/dijit/form/nls/sv/validate.js | 1 - includes/js/dijit/form/nls/tr/ComboBox.js | 1 - includes/js/dijit/form/nls/tr/Textarea.js | 1 - includes/js/dijit/form/nls/tr/validate.js | 1 - includes/js/dijit/form/nls/validate.js | 1 - includes/js/dijit/form/nls/zh-tw/ComboBox.js | 1 - includes/js/dijit/form/nls/zh-tw/Textarea.js | 1 - includes/js/dijit/form/nls/zh-tw/validate.js | 1 - includes/js/dijit/form/nls/zh/ComboBox.js | 1 - includes/js/dijit/form/nls/zh/Textarea.js | 1 - includes/js/dijit/form/nls/zh/validate.js | 1 - includes/js/dijit/form/templates/Button.html | 11 - includes/js/dijit/form/templates/CheckBox.html | 7 - includes/js/dijit/form/templates/ComboBox.html | 19 - includes/js/dijit/form/templates/ComboButton.html | 21 - .../js/dijit/form/templates/DropDownButton.html | 13 - .../js/dijit/form/templates/HorizontalSlider.html | 37 - .../js/dijit/form/templates/InlineEditBox.html | 12 - includes/js/dijit/form/templates/Spinner.html | 28 - includes/js/dijit/form/templates/TextBox.html | 4 - includes/js/dijit/form/templates/TimePicker.html | 5 - .../js/dijit/form/templates/ValidationTextBox.html | 12 - .../js/dijit/form/templates/VerticalSlider.html | 46 - includes/js/dijit/layout/AccordionContainer.js | 229 - includes/js/dijit/layout/BorderContainer.js | 515 - includes/js/dijit/layout/ContentPane.js | 445 - includes/js/dijit/layout/LayoutContainer.js | 74 - includes/js/dijit/layout/LinkPane.js | 36 - includes/js/dijit/layout/SplitContainer.js | 553 - includes/js/dijit/layout/StackContainer.js | 493 - includes/js/dijit/layout/TabContainer.js | 184 - includes/js/dijit/layout/_LayoutWidget.js | 188 - .../js/dijit/layout/templates/AccordionPane.html | 11 - .../js/dijit/layout/templates/TabContainer.html | 4 - .../js/dijit/layout/templates/TooltipDialog.html | 6 - includes/js/dijit/layout/templates/_TabButton.html | 10 - includes/js/dijit/nls/ar/common.js | 1 - includes/js/dijit/nls/ar/loading.js | 1 - includes/js/dijit/nls/common.js | 1 - includes/js/dijit/nls/cs/common.js | 1 - includes/js/dijit/nls/cs/loading.js | 1 - includes/js/dijit/nls/da/common.js | 1 - includes/js/dijit/nls/da/loading.js | 1 - includes/js/dijit/nls/de/common.js | 1 - includes/js/dijit/nls/de/loading.js | 1 - includes/js/dijit/nls/dijit-all_ROOT.js | 1 - includes/js/dijit/nls/dijit-all_ar.js | 1 - includes/js/dijit/nls/dijit-all_cs.js | 1 - includes/js/dijit/nls/dijit-all_da.js | 1 - includes/js/dijit/nls/dijit-all_de-de.js | 1 - includes/js/dijit/nls/dijit-all_de.js | 1 - includes/js/dijit/nls/dijit-all_el.js | 1 - includes/js/dijit/nls/dijit-all_en-gb.js | 1 - includes/js/dijit/nls/dijit-all_en-us.js | 1 - includes/js/dijit/nls/dijit-all_en.js | 1 - includes/js/dijit/nls/dijit-all_es-es.js | 1 - includes/js/dijit/nls/dijit-all_es.js | 1 - includes/js/dijit/nls/dijit-all_fi-fi.js | 1 - includes/js/dijit/nls/dijit-all_fi.js | 1 - includes/js/dijit/nls/dijit-all_fr-fr.js | 1 - includes/js/dijit/nls/dijit-all_fr.js | 1 - includes/js/dijit/nls/dijit-all_he-il.js | 1 - includes/js/dijit/nls/dijit-all_he.js | 1 - includes/js/dijit/nls/dijit-all_hu.js | 1 - includes/js/dijit/nls/dijit-all_it-it.js | 1 - includes/js/dijit/nls/dijit-all_it.js | 1 - includes/js/dijit/nls/dijit-all_ja-jp.js | 1 - includes/js/dijit/nls/dijit-all_ja.js | 1 - includes/js/dijit/nls/dijit-all_ko-kr.js | 1 - includes/js/dijit/nls/dijit-all_ko.js | 1 - includes/js/dijit/nls/dijit-all_nl-nl.js | 1 - includes/js/dijit/nls/dijit-all_nl.js | 1 - includes/js/dijit/nls/dijit-all_no.js | 1 - includes/js/dijit/nls/dijit-all_pl.js | 1 - includes/js/dijit/nls/dijit-all_pt-br.js | 1 - includes/js/dijit/nls/dijit-all_pt-pt.js | 1 - includes/js/dijit/nls/dijit-all_pt.js | 1 - includes/js/dijit/nls/dijit-all_ru.js | 1 - includes/js/dijit/nls/dijit-all_sv.js | 1 - includes/js/dijit/nls/dijit-all_tr.js | 1 - includes/js/dijit/nls/dijit-all_xx.js | 1 - includes/js/dijit/nls/dijit-all_zh-cn.js | 1 - includes/js/dijit/nls/dijit-all_zh-tw.js | 1 - includes/js/dijit/nls/dijit-all_zh.js | 1 - includes/js/dijit/nls/el/common.js | 1 - includes/js/dijit/nls/el/loading.js | 1 - includes/js/dijit/nls/es/common.js | 1 - includes/js/dijit/nls/es/loading.js | 1 - includes/js/dijit/nls/fi/common.js | 1 - includes/js/dijit/nls/fi/loading.js | 1 - includes/js/dijit/nls/fr/common.js | 1 - includes/js/dijit/nls/fr/loading.js | 1 - includes/js/dijit/nls/he/common.js | 1 - includes/js/dijit/nls/he/loading.js | 1 - includes/js/dijit/nls/hu/common.js | 1 - includes/js/dijit/nls/hu/loading.js | 1 - includes/js/dijit/nls/it/common.js | 1 - includes/js/dijit/nls/it/loading.js | 1 - includes/js/dijit/nls/ja/common.js | 1 - includes/js/dijit/nls/ja/loading.js | 1 - includes/js/dijit/nls/ko/common.js | 1 - includes/js/dijit/nls/ko/loading.js | 1 - includes/js/dijit/nls/loading.js | 1 - includes/js/dijit/nls/nb/common.js | 1 - includes/js/dijit/nls/nb/loading.js | 1 - includes/js/dijit/nls/nl/common.js | 1 - includes/js/dijit/nls/nl/loading.js | 1 - includes/js/dijit/nls/pl/common.js | 1 - includes/js/dijit/nls/pl/loading.js | 1 - includes/js/dijit/nls/pt-pt/common.js | 1 - includes/js/dijit/nls/pt-pt/loading.js | 1 - includes/js/dijit/nls/pt/common.js | 1 - includes/js/dijit/nls/pt/loading.js | 1 - includes/js/dijit/nls/ru/common.js | 1 - includes/js/dijit/nls/ru/loading.js | 1 - includes/js/dijit/nls/sv/common.js | 1 - includes/js/dijit/nls/sv/loading.js | 1 - includes/js/dijit/nls/tr/common.js | 1 - includes/js/dijit/nls/tr/loading.js | 1 - includes/js/dijit/nls/zh-tw/common.js | 1 - includes/js/dijit/nls/zh-tw/loading.js | 1 - includes/js/dijit/nls/zh/common.js | 1 - includes/js/dijit/nls/zh/loading.js | 1 - includes/js/dijit/resources/_modules.js | 15 - includes/js/dijit/templates/Calendar.html | 35 - includes/js/dijit/templates/ColorPalette.html | 5 - includes/js/dijit/templates/Dialog.html | 9 - includes/js/dijit/templates/InlineEditBox.html | 8 - includes/js/dijit/templates/ProgressBar.html | 9 - includes/js/dijit/templates/TitlePane.html | 14 - includes/js/dijit/templates/Tooltip.html | 4 - includes/js/dijit/templates/buttons/bg-fade.png | Bin 177 -> 0 bytes includes/js/dijit/templates/colors3x4.png | Bin 786 -> 0 bytes includes/js/dijit/templates/colors7x10.png | Bin 2641 -> 0 bytes includes/js/dijit/tests/Container.html | 63 - includes/js/dijit/tests/Container.js | 9 - includes/js/dijit/tests/_Templated.html | 164 - includes/js/dijit/tests/_Templated.js | 9 - includes/js/dijit/tests/_altCalendar.html | 36 - includes/js/dijit/tests/_base/manager.html | 322 - includes/js/dijit/tests/_base/manager.js | 9 - .../js/dijit/tests/_base/test_FocusManager.html | 46 - .../js/dijit/tests/_base/test_focusWidget.html | 130 - .../js/dijit/tests/_base/test_placeStrict.html | 400 - includes/js/dijit/tests/_base/test_typematic.html | 56 - includes/js/dijit/tests/_base/viewport.html | 79 - includes/js/dijit/tests/_base/viewport.js | 10 - includes/js/dijit/tests/_base/viewportStrict.html | 81 - includes/js/dijit/tests/_base/wai.html | 115 - includes/js/dijit/tests/_base/wai.js | 9 - includes/js/dijit/tests/_data/categories.json | 12 - .../js/dijit/tests/_data/categoriesNested.json | 13 - includes/js/dijit/tests/_data/countries.json | 45 - includes/js/dijit/tests/_data/dijits.json | 1 - includes/js/dijit/tests/_data/states.json | 64 - includes/js/dijit/tests/_data/treeTest.json | 22 - includes/js/dijit/tests/_editor/test_6112.html | 745 - .../js/dijit/tests/_editor/test_CustomPlugin.html | 151 - includes/js/dijit/tests/_editor/test_RichText.html | 59 - .../js/dijit/tests/_editor/test_ToggleDir.html | 37 - includes/js/dijit/tests/_editor/test_richtext.css | 4 - .../tests/_editor/test_richtext.css.commented.css | 4 - includes/js/dijit/tests/_programaticTest.html | 109 - includes/js/dijit/tests/_testCommon.js | 103 - includes/js/dijit/tests/css/dijitTests.css | 69 - .../dijit/tests/css/dijitTests.css.commented.css | 78 - includes/js/dijit/tests/form/Form.html | 354 - includes/js/dijit/tests/form/Form.js | 9 - includes/js/dijit/tests/form/images/Alabama.jpg | Bin 4585 -> 0 bytes includes/js/dijit/tests/form/test_Button.html | 286 - includes/js/dijit/tests/form/test_CheckBox.html | 127 - includes/js/dijit/tests/form/test_ComboBox.html | 289 - .../js/dijit/tests/form/test_ComboBox_destroy.html | 58 - includes/js/dijit/tests/form/test_DateTextBox.html | 156 - .../js/dijit/tests/form/test_FilteringSelect.html | 296 - .../js/dijit/tests/form/test_Form_onsubmit.html | 87 - includes/js/dijit/tests/form/test_MultiSelect.html | 138 - .../js/dijit/tests/form/test_SimpleTextarea.html | 62 - includes/js/dijit/tests/form/test_Slider.html | 208 - includes/js/dijit/tests/form/test_Spinner.html | 92 - includes/js/dijit/tests/form/test_Textarea.html | 106 - includes/js/dijit/tests/form/test_TimeTextBox.html | 143 - includes/js/dijit/tests/form/test_validate.html | 428 - includes/js/dijit/tests/i18n/README | 4 - includes/js/dijit/tests/i18n/currency.html | 210 - includes/js/dijit/tests/i18n/date.html | 155 - includes/js/dijit/tests/i18n/digit.html | 294 - includes/js/dijit/tests/i18n/module.js | 18 - includes/js/dijit/tests/i18n/number.html | 136 - includes/js/dijit/tests/i18n/test_i18n.js | 206 - includes/js/dijit/tests/i18n/textbox.html | 173 - includes/js/dijit/tests/i18n/time.html | 207 - includes/js/dijit/tests/images/arrowSmall.gif | Bin 54 -> 0 bytes includes/js/dijit/tests/images/copy.gif | Bin 210 -> 0 bytes includes/js/dijit/tests/images/cut.gif | Bin 112 -> 0 bytes includes/js/dijit/tests/images/flatScreen.gif | Bin 824 -> 0 bytes includes/js/dijit/tests/images/note.gif | Bin 617 -> 0 bytes includes/js/dijit/tests/images/paste.gif | Bin 241 -> 0 bytes includes/js/dijit/tests/images/plus.gif | Bin 151 -> 0 bytes includes/js/dijit/tests/images/testsBodyBg.gif | Bin 753 -> 0 bytes includes/js/dijit/tests/images/tube.gif | Bin 147 -> 0 bytes includes/js/dijit/tests/images/tubeTall.gif | Bin 256 -> 0 bytes includes/js/dijit/tests/layout/ContentPane.html | 577 - includes/js/dijit/tests/layout/ContentPane.js | 9 - includes/js/dijit/tests/layout/combotab.html | 11 - includes/js/dijit/tests/layout/doc0.html | 12 - includes/js/dijit/tests/layout/doc1.html | 13 - includes/js/dijit/tests/layout/doc2.html | 13 - includes/js/dijit/tests/layout/getResponse.php | 57 - includes/js/dijit/tests/layout/tab1.html | 6 - includes/js/dijit/tests/layout/tab2.html | 3 - includes/js/dijit/tests/layout/tab3.html | 39 - includes/js/dijit/tests/layout/tab4.html | 40 - .../tests/layout/test_AccordionContainer.html | 195 - .../dijit/tests/layout/test_BorderContainer.html | 163 - .../tests/layout/test_BorderContainer_complex.html | 178 - .../layout/test_BorderContainer_experimental.html | 253 - .../tests/layout/test_BorderContainer_full.html | 56 - .../tests/layout/test_BorderContainer_nested.html | 70 - .../js/dijit/tests/layout/test_ContentPane.html | 94 - .../js/dijit/tests/layout/test_LayoutCode.html | 383 - .../dijit/tests/layout/test_LayoutContainer.html | 174 - .../js/dijit/tests/layout/test_SplitContainer.html | 116 - .../js/dijit/tests/layout/test_StackContainer.html | 62 - .../tests/layout/test_StackContainer_code.html | 64 - .../js/dijit/tests/layout/test_TabContainer.html | 183 - .../tests/layout/test_TabContainerTitlePane.html | 75 - .../tests/layout/test_TabContainer_noLayout.html | 104 - .../tests/layout/test_TabContainer_remote.html | 109 - includes/js/dijit/tests/manualTests.html | 12 - includes/js/dijit/tests/manualTests.js | 85 - includes/js/dijit/tests/module.js | 21 - includes/js/dijit/tests/ondijitclick.html | 95 - includes/js/dijit/tests/ondijitclick.js | 9 - includes/js/dijit/tests/runTests.html | 9 - includes/js/dijit/tests/test.html | 37 - includes/js/dijit/tests/test_Calendar.html | 81 - includes/js/dijit/tests/test_ColorPalette.html | 53 - includes/js/dijit/tests/test_Declaration.html | 66 - includes/js/dijit/tests/test_Dialog.html | 408 - .../js/dijit/tests/test_Dialog_focusDestroy.html | 61 - includes/js/dijit/tests/test_Editor.html | 153 - includes/js/dijit/tests/test_InlineEditBox.html | 231 - includes/js/dijit/tests/test_Menu.html | 270 - includes/js/dijit/tests/test_ProgressBar.html | 165 - includes/js/dijit/tests/test_TitlePane.html | 126 - includes/js/dijit/tests/test_Toolbar.html | 186 - includes/js/dijit/tests/test_Tooltip.html | 117 - includes/js/dijit/tests/test_TooltipDialog.html | 349 - includes/js/dijit/tests/test_Tree.html | 115 - .../tests/test_Tree_Notification_API_Support.html | 287 - includes/js/dijit/tests/test_instantiate.html | 111 - includes/js/dijit/tests/tree/test_Tree_DnD.html | 194 - .../dijit/tests/tree/test_Tree_Programmatic.html | 40 - includes/js/dijit/tests/tree/test_Tree_v1.html | 111 - includes/js/dijit/tests/widgetsInTemplate.html | 112 - includes/js/dijit/tests/widgetsInTemplate.js | 9 - includes/js/dijit/themes/a11y/README.txt | 3 - .../dijit/themes/a11y/indeterminate_progress.gif | Bin 2907 -> 0 bytes includes/js/dijit/themes/dijit.css | 1205 -- includes/js/dijit/themes/dijit.css.commented.css | 1535 -- includes/js/dijit/themes/dijit_rtl.css | 140 - .../js/dijit/themes/dijit_rtl.css.commented.css | 194 - includes/js/dijit/themes/nihilo/Calendar.css | 136 - .../dijit/themes/nihilo/Calendar.css.commented.css | 159 - includes/js/dijit/themes/nihilo/Calendar_rtl.css | 13 - .../themes/nihilo/Calendar_rtl.css.commented.css | 16 - includes/js/dijit/themes/nihilo/ColorPalette.css | 5 - .../themes/nihilo/ColorPalette.css.commented.css | 5 - includes/js/dijit/themes/nihilo/Common.css | 29 - .../dijit/themes/nihilo/Common.css.commented.css | 37 - includes/js/dijit/themes/nihilo/Dialog.css | 138 - .../dijit/themes/nihilo/Dialog.css.commented.css | 175 - includes/js/dijit/themes/nihilo/Dialog_rtl.css | 21 - .../themes/nihilo/Dialog_rtl.css.commented.css | 29 - includes/js/dijit/themes/nihilo/Editor.css | 55 - .../dijit/themes/nihilo/Editor.css.commented.css | 60 - includes/js/dijit/themes/nihilo/Editor_rtl.css | 7 - .../themes/nihilo/Editor_rtl.css.commented.css | 11 - includes/js/dijit/themes/nihilo/Menu.css | 54 - .../js/dijit/themes/nihilo/Menu.css.commented.css | 63 - includes/js/dijit/themes/nihilo/Menu_rtl.css | 11 - .../dijit/themes/nihilo/Menu_rtl.css.commented.css | 15 - includes/js/dijit/themes/nihilo/ProgressBar.css | 24 - .../themes/nihilo/ProgressBar.css.commented.css | 33 - includes/js/dijit/themes/nihilo/TitlePane.css | 64 - .../themes/nihilo/TitlePane.css.commented.css | 77 - includes/js/dijit/themes/nihilo/TitlePane_rtl.css | 6 - .../themes/nihilo/TitlePane_rtl.css.commented.css | 6 - includes/js/dijit/themes/nihilo/Toolbar.css | 83 - .../dijit/themes/nihilo/Toolbar.css.commented.css | 95 - includes/js/dijit/themes/nihilo/Tree.css | 68 - .../js/dijit/themes/nihilo/Tree.css.commented.css | 90 - includes/js/dijit/themes/nihilo/Tree_rtl.css | 30 - .../dijit/themes/nihilo/Tree_rtl.css.commented.css | 38 - includes/js/dijit/themes/nihilo/form/Button.css | 90 - .../themes/nihilo/form/Button.css.commented.css | 109 - .../js/dijit/themes/nihilo/form/Button_rtl.css | 3 - .../nihilo/form/Button_rtl.css.commented.css | 3 - includes/js/dijit/themes/nihilo/form/Checkbox.css | 42 - .../themes/nihilo/form/Checkbox.css.commented.css | 69 - includes/js/dijit/themes/nihilo/form/ComboBox.css | 7 - .../themes/nihilo/form/ComboBox.css.commented.css | 7 - includes/js/dijit/themes/nihilo/form/Common.css | 61 - .../themes/nihilo/form/Common.css.commented.css | 82 - .../js/dijit/themes/nihilo/form/Common_rtl.css | 7 - .../nihilo/form/Common_rtl.css.commented.css | 7 - .../js/dijit/themes/nihilo/form/RadioButton.css | 42 - .../nihilo/form/RadioButton.css.commented.css | 68 - includes/js/dijit/themes/nihilo/form/Slider.css | 112 - .../themes/nihilo/form/Slider.css.commented.css | 136 - .../js/dijit/themes/nihilo/form/Slider_rtl.css | 27 - .../nihilo/form/Slider_rtl.css.commented.css | 34 - includes/js/dijit/themes/nihilo/form/Textarea.css | 11 - .../themes/nihilo/form/Textarea.css.commented.css | 15 - .../js/dijit/themes/nihilo/form/TimeTextBox.css | 1 - .../nihilo/form/TimeTextBox.css.commented.css | 1 - .../themes/nihilo/images/accordionItemActive.png | Bin 148 -> 0 bytes .../js/dijit/themes/nihilo/images/buttonActive.png | Bin 139 -> 0 bytes .../dijit/themes/nihilo/images/buttonDisabled.png | Bin 139 -> 0 bytes .../dijit/themes/nihilo/images/buttonEnabled.png | Bin 135 -> 0 bytes .../js/dijit/themes/nihilo/images/buttonHover.png | Bin 134 -> 0 bytes includes/js/dijit/themes/nihilo/images/dndCopy.png | Bin 777 -> 0 bytes includes/js/dijit/themes/nihilo/images/dndMove.png | Bin 726 -> 0 bytes .../js/dijit/themes/nihilo/images/dndNoCopy.png | Bin 699 -> 0 bytes .../js/dijit/themes/nihilo/images/dndNoMove.png | Bin 677 -> 0 bytes includes/js/dijit/themes/nihilo/images/editor.gif | Bin 3570 -> 0 bytes .../js/dijit/themes/nihilo/images/editor_rtl.gif | Bin 3570 -> 0 bytes includes/js/dijit/themes/nihilo/images/no.gif | Bin 179 -> 0 bytes .../themes/nihilo/images/preciseSliderThumb.gif | Bin 258 -> 0 bytes .../themes/nihilo/images/preciseSliderThumb.png | Bin 413 -> 0 bytes .../nihilo/images/preciseSliderThumbFocus.gif | Bin 258 -> 0 bytes .../nihilo/images/preciseSliderThumbFocus.png | Bin 434 -> 0 bytes .../dijit/themes/nihilo/images/progressBarAnim.gif | Bin 7064 -> 0 bytes .../themes/nihilo/images/progressBarEmpty.png | Bin 314 -> 0 bytes .../dijit/themes/nihilo/images/progressBarFull.png | Bin 746 -> 0 bytes .../js/dijit/themes/nihilo/images/sliderEmpty.png | Bin 114 -> 0 bytes .../themes/nihilo/images/sliderEmptyVertical.png | Bin 114 -> 0 bytes .../js/dijit/themes/nihilo/images/sliderFull.png | Bin 130 -> 0 bytes .../dijit/themes/nihilo/images/sliderFullFocus.png | Bin 132 -> 0 bytes .../themes/nihilo/images/sliderFullVertical.png | Bin 126 -> 0 bytes .../nihilo/images/sliderFullVerticalFocus.png | Bin 126 -> 0 bytes .../js/dijit/themes/nihilo/images/sliderThumb.png | Bin 413 -> 0 bytes .../themes/nihilo/images/sliderThumbFocus.gif | Bin 238 -> 0 bytes .../themes/nihilo/images/sliderThumbFocus.png | Bin 421 -> 0 bytes .../nihilo/images/splitContainerSizerH-thumb.png | Bin 127 -> 0 bytes .../themes/nihilo/images/splitContainerSizerH.png | Bin 121 -> 0 bytes .../nihilo/images/splitContainerSizerV-thumb.png | Bin 129 -> 0 bytes .../themes/nihilo/images/splitContainerSizerV.png | Bin 116 -> 0 bytes .../js/dijit/themes/nihilo/images/spriteArrows.gif | Bin 446 -> 0 bytes .../js/dijit/themes/nihilo/images/spriteArrows.png | Bin 720 -> 0 bytes .../dijit/themes/nihilo/images/spriteCheckbox.gif | Bin 774 -> 0 bytes .../dijit/themes/nihilo/images/spriteCheckbox.png | Bin 707 -> 0 bytes .../dijit/themes/nihilo/images/spriteDivIcons.gif | Bin 875 -> 0 bytes .../dijit/themes/nihilo/images/spriteDivIcons.png | Bin 1062 -> 0 bytes .../js/dijit/themes/nihilo/images/spriteRadio.gif | Bin 1137 -> 0 bytes .../js/dijit/themes/nihilo/images/spriteRadio.png | Bin 1073 -> 0 bytes .../nihilo/images/spriteRoundedIconsSmall.gif | Bin 1863 -> 0 bytes .../nihilo/images/spriteRoundedIconsSmall.png | Bin 2195 -> 0 bytes .../js/dijit/themes/nihilo/images/spriteTree.gif | Bin 233 -> 0 bytes .../js/dijit/themes/nihilo/images/spriteTree.png | Bin 337 -> 0 bytes .../dijit/themes/nihilo/images/spriteTree_rtl.gif | Bin 233 -> 0 bytes .../dijit/themes/nihilo/images/spriteTree_rtl.png | Bin 335 -> 0 bytes .../themes/nihilo/images/tabBottomActiveC.gif | Bin 518 -> 0 bytes .../nihilo/images/tabBottomActiveSpriteLR.gif | Bin 291 -> 0 bytes .../themes/nihilo/images/tabBottomEnabledC.gif | Bin 511 -> 0 bytes .../nihilo/images/tabBottomEnabledSpriteLR.gif | Bin 266 -> 0 bytes .../dijit/themes/nihilo/images/tabBottomHoverC.gif | Bin 542 -> 0 bytes .../nihilo/images/tabBottomHoverSpriteLR.gif | Bin 388 -> 0 bytes .../themes/nihilo/images/tabContainerSprite.gif | Bin 1285 -> 0 bytes .../dijit/themes/nihilo/images/tabLeftChecked.gif | Bin 303 -> 0 bytes .../dijit/themes/nihilo/images/tabRightChecked.gif | Bin 300 -> 0 bytes .../js/dijit/themes/nihilo/images/tabStripe.gif | Bin 54 -> 0 bytes .../dijit/themes/nihilo/images/tabStripeBottom.gif | Bin 432 -> 0 bytes .../dijit/themes/nihilo/images/tabStripeLeft.gif | Bin 432 -> 0 bytes .../dijit/themes/nihilo/images/tabStripeRight.gif | Bin 432 -> 0 bytes .../js/dijit/themes/nihilo/images/titleBar.png | Bin 136 -> 0 bytes .../dijit/themes/nihilo/images/titleBarActive.png | Bin 148 -> 0 bytes .../themes/nihilo/images/tooltipConnectorDown.gif | Bin 205 -> 0 bytes .../themes/nihilo/images/tooltipConnectorDown.png | Bin 342 -> 0 bytes .../themes/nihilo/images/tooltipConnectorLeft.gif | Bin 205 -> 0 bytes .../themes/nihilo/images/tooltipConnectorLeft.png | Bin 361 -> 0 bytes .../themes/nihilo/images/tooltipConnectorRight.gif | Bin 204 -> 0 bytes .../themes/nihilo/images/tooltipConnectorRight.png | Bin 205 -> 0 bytes .../themes/nihilo/images/tooltipConnectorUp.gif | Bin 205 -> 0 bytes .../themes/nihilo/images/tooltipConnectorUp.png | Bin 319 -> 0 bytes .../themes/nihilo/images/treeExpand_loading.gif | Bin 662 -> 0 bytes includes/js/dijit/themes/nihilo/images/treeI.gif | Bin 71 -> 0 bytes .../js/dijit/themes/nihilo/images/treeI_half.gif | Bin 65 -> 0 bytes .../dijit/themes/nihilo/images/treeI_half_rtl.gif | Bin 66 -> 0 bytes .../js/dijit/themes/nihilo/images/treeI_rtl.gif | Bin 72 -> 0 bytes .../themes/nihilo/images/validationInputBg.gif | Bin 93 -> 0 bytes .../themes/nihilo/images/validationInputBg.png | Bin 126 -> 0 bytes includes/js/dijit/themes/nihilo/images/warning.png | Bin 1275 -> 0 bytes .../themes/nihilo/layout/AccordionContainer.css | 35 - .../layout/AccordionContainer.css.commented.css | 44 - .../nihilo/layout/AccordionContainer_rtl.css | 3 - .../AccordionContainer_rtl.css.commented.css | 3 - .../dijit/themes/nihilo/layout/BorderContainer.css | 27 - .../layout/BorderContainer.css.commented.css | 34 - .../dijit/themes/nihilo/layout/SplitContainer.css | 27 - .../nihilo/layout/SplitContainer.css.commented.css | 34 - .../js/dijit/themes/nihilo/layout/TabContainer.css | 277 - .../nihilo/layout/TabContainer.css.commented.css | 369 - .../themes/nihilo/layout/TabContainer_rtl.css | 55 - .../layout/TabContainer_rtl.css.commented.css | 69 - includes/js/dijit/themes/nihilo/nihilo.css | 1378 -- .../dijit/themes/nihilo/nihilo.css.commented.css | 39 - includes/js/dijit/themes/nihilo/nihilo_rtl.css | 317 - .../themes/nihilo/nihilo_rtl.css.commented.css | 28 - includes/js/dijit/themes/soria/Calendar.css | 136 - .../dijit/themes/soria/Calendar.css.commented.css | 159 - includes/js/dijit/themes/soria/Calendar_rtl.css | 13 - .../themes/soria/Calendar_rtl.css.commented.css | 16 - includes/js/dijit/themes/soria/ColorPalette.css | 5 - .../themes/soria/ColorPalette.css.commented.css | 5 - includes/js/dijit/themes/soria/Common.css | 29 - .../js/dijit/themes/soria/Common.css.commented.css | 36 - includes/js/dijit/themes/soria/Dialog.css | 138 - .../js/dijit/themes/soria/Dialog.css.commented.css | 175 - includes/js/dijit/themes/soria/Dialog_rtl.css | 21 - .../themes/soria/Dialog_rtl.css.commented.css | 29 - includes/js/dijit/themes/soria/Editor.css | 55 - .../js/dijit/themes/soria/Editor.css.commented.css | 60 - includes/js/dijit/themes/soria/Editor_rtl.css | 7 - .../themes/soria/Editor_rtl.css.commented.css | 9 - includes/js/dijit/themes/soria/Menu.css | 54 - .../js/dijit/themes/soria/Menu.css.commented.css | 63 - includes/js/dijit/themes/soria/Menu_rtl.css | 11 - .../dijit/themes/soria/Menu_rtl.css.commented.css | 15 - includes/js/dijit/themes/soria/ProgressBar.css | 24 - .../themes/soria/ProgressBar.css.commented.css | 33 - includes/js/dijit/themes/soria/TitlePane.css | 64 - .../dijit/themes/soria/TitlePane.css.commented.css | 77 - includes/js/dijit/themes/soria/TitlePane_rtl.css | 6 - .../themes/soria/TitlePane_rtl.css.commented.css | 6 - includes/js/dijit/themes/soria/Toolbar.css | 83 - .../dijit/themes/soria/Toolbar.css.commented.css | 95 - includes/js/dijit/themes/soria/Tree.css | 68 - .../js/dijit/themes/soria/Tree.css.commented.css | 90 - includes/js/dijit/themes/soria/Tree_rtl.css | 30 - .../dijit/themes/soria/Tree_rtl.css.commented.css | 38 - includes/js/dijit/themes/soria/form/Button.css | 90 - .../themes/soria/form/Button.css.commented.css | 109 - includes/js/dijit/themes/soria/form/Button_rtl.css | 3 - .../themes/soria/form/Button_rtl.css.commented.css | 3 - includes/js/dijit/themes/soria/form/Checkbox.css | 42 - .../themes/soria/form/Checkbox.css.commented.css | 69 - includes/js/dijit/themes/soria/form/ComboBox.css | 7 - .../themes/soria/form/ComboBox.css.commented.css | 7 - includes/js/dijit/themes/soria/form/Common.css | 61 - .../themes/soria/form/Common.css.commented.css | 82 - includes/js/dijit/themes/soria/form/Common_rtl.css | 7 - .../themes/soria/form/Common_rtl.css.commented.css | 7 - .../js/dijit/themes/soria/form/RadioButton.css | 42 - .../soria/form/RadioButton.css.commented.css | 68 - includes/js/dijit/themes/soria/form/Slider.css | 112 - .../themes/soria/form/Slider.css.commented.css | 136 - includes/js/dijit/themes/soria/form/Slider_rtl.css | 27 - .../themes/soria/form/Slider_rtl.css.commented.css | 34 - includes/js/dijit/themes/soria/form/Textarea.css | 11 - .../themes/soria/form/Textarea.css.commented.css | 15 - .../js/dijit/themes/soria/form/TimeTextBox.css | 1 - .../soria/form/TimeTextBox.css.commented.css | 1 - .../themes/soria/images/accordionItemActive.gif | Bin 174 -> 0 bytes .../themes/soria/images/accordionItemActive.png | Bin 171 -> 0 bytes .../js/dijit/themes/soria/images/buttonActive.png | Bin 187 -> 0 bytes .../dijit/themes/soria/images/buttonDisabled.png | Bin 187 -> 0 bytes .../js/dijit/themes/soria/images/buttonEnabled.png | Bin 174 -> 0 bytes .../js/dijit/themes/soria/images/buttonHover.png | Bin 160 -> 0 bytes includes/js/dijit/themes/soria/images/dndCopy.png | Bin 777 -> 0 bytes includes/js/dijit/themes/soria/images/dndMove.png | Bin 726 -> 0 bytes .../js/dijit/themes/soria/images/dndNoCopy.png | Bin 699 -> 0 bytes .../js/dijit/themes/soria/images/dndNoMove.png | Bin 677 -> 0 bytes includes/js/dijit/themes/soria/images/editor.gif | Bin 3570 -> 0 bytes .../js/dijit/themes/soria/images/editor_rtl.gif | Bin 3570 -> 0 bytes .../themes/soria/images/preciseSliderThumb.gif | Bin 258 -> 0 bytes .../themes/soria/images/preciseSliderThumb.png | Bin 413 -> 0 bytes .../soria/images/preciseSliderThumbFocus.gif | Bin 258 -> 0 bytes .../soria/images/preciseSliderThumbFocus.png | Bin 434 -> 0 bytes .../dijit/themes/soria/images/progressBarAnim.gif | Bin 9304 -> 0 bytes .../dijit/themes/soria/images/progressBarEmpty.png | Bin 232 -> 0 bytes .../dijit/themes/soria/images/progressBarFull.png | Bin 251 -> 0 bytes .../js/dijit/themes/soria/images/sliderEmpty.png | Bin 114 -> 0 bytes .../themes/soria/images/sliderEmptyVertical.png | Bin 114 -> 0 bytes .../js/dijit/themes/soria/images/sliderFull.png | Bin 131 -> 0 bytes .../dijit/themes/soria/images/sliderFullFocus.png | Bin 146 -> 0 bytes .../themes/soria/images/sliderFullVertical.png | Bin 127 -> 0 bytes .../soria/images/sliderFullVerticalFocus.png | Bin 143 -> 0 bytes .../js/dijit/themes/soria/images/sliderThumb.png | Bin 413 -> 0 bytes .../dijit/themes/soria/images/sliderThumbFocus.gif | Bin 238 -> 0 bytes .../dijit/themes/soria/images/sliderThumbFocus.png | Bin 421 -> 0 bytes .../soria/images/splitContainerSizerH-thumb.png | Bin 125 -> 0 bytes .../themes/soria/images/splitContainerSizerH.png | Bin 127 -> 0 bytes .../soria/images/splitContainerSizerV-thumb.png | Bin 121 -> 0 bytes .../themes/soria/images/splitContainerSizerV.png | Bin 124 -> 0 bytes .../js/dijit/themes/soria/images/spriteArrows.gif | Bin 446 -> 0 bytes .../js/dijit/themes/soria/images/spriteArrows.png | Bin 720 -> 0 bytes .../dijit/themes/soria/images/spriteCheckbox.gif | Bin 774 -> 0 bytes .../dijit/themes/soria/images/spriteCheckbox.png | Bin 707 -> 0 bytes .../dijit/themes/soria/images/spriteDivIcons.gif | Bin 884 -> 0 bytes .../dijit/themes/soria/images/spriteDivIcons.png | Bin 1114 -> 0 bytes .../js/dijit/themes/soria/images/spriteRadio.gif | Bin 1137 -> 0 bytes .../js/dijit/themes/soria/images/spriteRadio.png | Bin 1073 -> 0 bytes .../soria/images/spriteRoundedIconsSmall.gif | Bin 1937 -> 0 bytes .../soria/images/spriteRoundedIconsSmall.png | Bin 3187 -> 0 bytes .../soria/images/spriteRoundedIconsSmallBl.gif | Bin 1907 -> 0 bytes .../soria/images/spriteRoundedIconsSmallBl.png | Bin 3010 -> 0 bytes .../js/dijit/themes/soria/images/spriteTree.gif | Bin 233 -> 0 bytes .../js/dijit/themes/soria/images/spriteTree.png | Bin 337 -> 0 bytes .../dijit/themes/soria/images/spriteTree_rtl.gif | Bin 233 -> 0 bytes .../dijit/themes/soria/images/spriteTree_rtl.png | Bin 335 -> 0 bytes .../dijit/themes/soria/images/tabBottomActiveC.gif | Bin 482 -> 0 bytes .../soria/images/tabBottomActiveSpriteLR.gif | Bin 741 -> 0 bytes .../themes/soria/images/tabBottomEnabledC.gif | Bin 337 -> 0 bytes .../soria/images/tabBottomEnabledSpriteLR.gif | Bin 676 -> 0 bytes .../dijit/themes/soria/images/tabBottomHoverC.gif | Bin 280 -> 0 bytes .../themes/soria/images/tabBottomHoverSpriteLR.gif | Bin 569 -> 0 bytes .../themes/soria/images/tabContainerSprite.gif | Bin 2570 -> 0 bytes .../dijit/themes/soria/images/tabLeftChecked.gif | Bin 795 -> 0 bytes .../dijit/themes/soria/images/tabRightChecked.gif | Bin 793 -> 0 bytes .../js/dijit/themes/soria/images/tabStripe.gif | Bin 54 -> 0 bytes .../dijit/themes/soria/images/tabStripeBottom.gif | Bin 54 -> 0 bytes .../js/dijit/themes/soria/images/tabStripeLeft.gif | Bin 54 -> 0 bytes .../dijit/themes/soria/images/tabStripeRight.gif | Bin 54 -> 0 bytes includes/js/dijit/themes/soria/images/titleBar.png | Bin 175 -> 0 bytes .../dijit/themes/soria/images/titleBarActive.png | Bin 171 -> 0 bytes .../themes/soria/images/tooltipConnectorDown.gif | Bin 205 -> 0 bytes .../themes/soria/images/tooltipConnectorDown.png | Bin 342 -> 0 bytes .../themes/soria/images/tooltipConnectorLeft.gif | Bin 205 -> 0 bytes .../themes/soria/images/tooltipConnectorLeft.png | Bin 361 -> 0 bytes .../themes/soria/images/tooltipConnectorRight.gif | Bin 204 -> 0 bytes .../themes/soria/images/tooltipConnectorRight.png | Bin 205 -> 0 bytes .../themes/soria/images/tooltipConnectorUp.gif | Bin 205 -> 0 bytes .../themes/soria/images/tooltipConnectorUp.png | Bin 319 -> 0 bytes .../themes/soria/images/treeExpand_loading.gif | Bin 662 -> 0 bytes includes/js/dijit/themes/soria/images/treeI.gif | Bin 71 -> 0 bytes .../js/dijit/themes/soria/images/treeI_half.gif | Bin 65 -> 0 bytes .../dijit/themes/soria/images/treeI_half_rtl.gif | Bin 66 -> 0 bytes .../js/dijit/themes/soria/images/treeI_rtl.gif | Bin 72 -> 0 bytes .../themes/soria/images/validationInputBg.gif | Bin 93 -> 0 bytes .../themes/soria/images/validationInputBg.png | Bin 126 -> 0 bytes includes/js/dijit/themes/soria/images/warning.png | Bin 1275 -> 0 bytes .../themes/soria/layout/AccordionContainer.css | 39 - .../layout/AccordionContainer.css.commented.css | 48 - .../themes/soria/layout/AccordionContainer_rtl.css | 3 - .../AccordionContainer_rtl.css.commented.css | 3 - .../dijit/themes/soria/layout/BorderContainer.css | 27 - .../soria/layout/BorderContainer.css.commented.css | 34 - .../dijit/themes/soria/layout/SplitContainer.css | 27 - .../soria/layout/SplitContainer.css.commented.css | 34 - .../js/dijit/themes/soria/layout/TabContainer.css | 281 - .../soria/layout/TabContainer.css.commented.css | 372 - .../dijit/themes/soria/layout/TabContainer_rtl.css | 55 - .../layout/TabContainer_rtl.css.commented.css | 69 - includes/js/dijit/themes/soria/soria.css | 1386 -- .../js/dijit/themes/soria/soria.css.commented.css | 39 - includes/js/dijit/themes/soria/soria_rtl.css | 317 - .../dijit/themes/soria/soria_rtl.css.commented.css | 28 - includes/js/dijit/themes/templateThemeTest.html | 184 - includes/js/dijit/themes/themeTester.html | 745 - .../themeTesterImages/blackButtonEnabled.gif | Bin 151 -> 0 bytes .../themes/themeTesterImages/blackButtonHover.gif | Bin 99 -> 0 bytes includes/js/dijit/themes/themeTesterQuirk.html | 743 - includes/js/dijit/themes/tundra/Calendar.css | 132 - .../dijit/themes/tundra/Calendar.css.commented.css | 154 - includes/js/dijit/themes/tundra/Calendar_rtl.css | 13 - .../themes/tundra/Calendar_rtl.css.commented.css | 16 - includes/js/dijit/themes/tundra/ColorPalette.css | 5 - .../themes/tundra/ColorPalette.css.commented.css | 5 - includes/js/dijit/themes/tundra/Common.css | 37 - .../dijit/themes/tundra/Common.css.commented.css | 45 - includes/js/dijit/themes/tundra/Dialog.css | 145 - .../dijit/themes/tundra/Dialog.css.commented.css | 179 - includes/js/dijit/themes/tundra/Dialog_rtl.css | 21 - .../themes/tundra/Dialog_rtl.css.commented.css | 29 - includes/js/dijit/themes/tundra/Editor.css | 55 - .../dijit/themes/tundra/Editor.css.commented.css | 58 - includes/js/dijit/themes/tundra/Editor_rtl.css | 7 - .../themes/tundra/Editor_rtl.css.commented.css | 9 - includes/js/dijit/themes/tundra/Menu.css | 45 - .../js/dijit/themes/tundra/Menu.css.commented.css | 54 - includes/js/dijit/themes/tundra/Menu_rtl.css | 7 - .../dijit/themes/tundra/Menu_rtl.css.commented.css | 8 - includes/js/dijit/themes/tundra/ProgressBar.css | 23 - .../themes/tundra/ProgressBar.css.commented.css | 28 - includes/js/dijit/themes/tundra/TitlePane.css | 55 - .../themes/tundra/TitlePane.css.commented.css | 63 - includes/js/dijit/themes/tundra/TitlePane_rtl.css | 6 - .../themes/tundra/TitlePane_rtl.css.commented.css | 6 - includes/js/dijit/themes/tundra/Toolbar.css | 83 - .../dijit/themes/tundra/Toolbar.css.commented.css | 95 - includes/js/dijit/themes/tundra/Tree.css | 65 - .../js/dijit/themes/tundra/Tree.css.commented.css | 86 - includes/js/dijit/themes/tundra/Tree_rtl.css | 30 - .../dijit/themes/tundra/Tree_rtl.css.commented.css | 37 - includes/js/dijit/themes/tundra/form/Button.css | 93 - .../themes/tundra/form/Button.css.commented.css | 113 - includes/js/dijit/themes/tundra/form/Checkbox.css | 40 - .../themes/tundra/form/Checkbox.css.commented.css | 47 - includes/js/dijit/themes/tundra/form/Common.css | 83 - .../themes/tundra/form/Common.css.commented.css | 126 - .../js/dijit/themes/tundra/form/RadioButton.css | 41 - .../tundra/form/RadioButton.css.commented.css | 49 - includes/js/dijit/themes/tundra/form/Slider.css | 113 - .../themes/tundra/form/Slider.css.commented.css | 134 - .../js/dijit/themes/tundra/form/Slider_rtl.css | 26 - .../tundra/form/Slider_rtl.css.commented.css | 31 - includes/js/dijit/themes/tundra/form/TextArea.css | 7 - .../themes/tundra/form/TextArea.css.commented.css | 10 - .../themes/tundra/images/accordionItemActive.gif | Bin 168 -> 0 bytes .../js/dijit/themes/tundra/images/arrowDown.gif | Bin 49 -> 0 bytes .../js/dijit/themes/tundra/images/arrowDown.png | Bin 149 -> 0 bytes .../js/dijit/themes/tundra/images/arrowLeft.gif | Bin 49 -> 0 bytes .../js/dijit/themes/tundra/images/arrowLeft.png | Bin 126 -> 0 bytes .../js/dijit/themes/tundra/images/arrowRight.gif | Bin 49 -> 0 bytes .../js/dijit/themes/tundra/images/arrowRight.png | Bin 129 -> 0 bytes includes/js/dijit/themes/tundra/images/arrowUp.gif | Bin 48 -> 0 bytes includes/js/dijit/themes/tundra/images/arrowUp.png | Bin 152 -> 0 bytes .../js/dijit/themes/tundra/images/buttonActive.png | Bin 129 -> 0 bytes .../dijit/themes/tundra/images/buttonDisabled.png | Bin 135 -> 0 bytes .../dijit/themes/tundra/images/buttonEnabled.png | Bin 137 -> 0 bytes .../js/dijit/themes/tundra/images/buttonHover.png | Bin 144 -> 0 bytes .../themes/tundra/images/calendarDayLabel.png | Bin 161 -> 0 bytes .../themes/tundra/images/calendarMonthLabel.png | Bin 162 -> 0 bytes .../themes/tundra/images/calendarYearLabel.png | Bin 172 -> 0 bytes .../dijit/themes/tundra/images/checkboxActive.png | Bin 306 -> 0 bytes .../themes/tundra/images/checkboxDisabled.png | Bin 156 -> 0 bytes .../dijit/themes/tundra/images/checkboxEnabled.png | Bin 160 -> 0 bytes .../dijit/themes/tundra/images/checkboxHover.png | Bin 164 -> 0 bytes .../js/dijit/themes/tundra/images/checkmark.gif | Bin 2436 -> 0 bytes .../js/dijit/themes/tundra/images/checkmark.png | Bin 2555 -> 0 bytes .../themes/tundra/images/checkmarkNoBorder.gif | Bin 2028 -> 0 bytes .../themes/tundra/images/checkmarkNoBorder.png | Bin 2222 -> 0 bytes .../js/dijit/themes/tundra/images/circleIcon.gif | Bin 204 -> 0 bytes .../js/dijit/themes/tundra/images/circleIcon.png | Bin 2975 -> 0 bytes .../dijit/themes/tundra/images/comboArrowDown.gif | Bin 49 -> 0 bytes .../themes/tundra/images/dijitProgressBarAnim.gif | Bin 1676 -> 0 bytes .../themes/tundra/images/dijitProgressBarAnim.psd | Bin 40142 -> 0 bytes includes/js/dijit/themes/tundra/images/dndCopy.png | Bin 777 -> 0 bytes includes/js/dijit/themes/tundra/images/dndMove.png | Bin 726 -> 0 bytes .../js/dijit/themes/tundra/images/dndNoCopy.png | Bin 699 -> 0 bytes .../js/dijit/themes/tundra/images/dndNoMove.png | Bin 677 -> 0 bytes .../themes/tundra/images/dojoTundraGradientBg.gif | Bin 65 -> 0 bytes .../themes/tundra/images/dojoTundraGradientBg.png | Bin 135 -> 0 bytes .../dijit/themes/tundra/images/doubleArrowDown.png | Bin 152 -> 0 bytes .../dijit/themes/tundra/images/doubleArrowUp.png | Bin 158 -> 0 bytes includes/js/dijit/themes/tundra/images/editor.gif | Bin 3570 -> 0 bytes .../js/dijit/themes/tundra/images/editor_rtl.gif | Bin 3570 -> 0 bytes .../js/dijit/themes/tundra/images/folderClosed.gif | Bin 230 -> 0 bytes .../js/dijit/themes/tundra/images/folderOpened.gif | Bin 339 -> 0 bytes includes/js/dijit/themes/tundra/images/i.gif | Bin 48 -> 0 bytes includes/js/dijit/themes/tundra/images/i_half.gif | Bin 63 -> 0 bytes .../js/dijit/themes/tundra/images/i_half_rtl.gif | Bin 61 -> 0 bytes includes/js/dijit/themes/tundra/images/i_rtl.gif | Bin 48 -> 0 bytes includes/js/dijit/themes/tundra/images/leaf.gif | Bin 403 -> 0 bytes includes/js/dijit/themes/tundra/images/loading.gif | Bin 751 -> 0 bytes includes/js/dijit/themes/tundra/images/menu.png | Bin 140 -> 0 bytes .../js/dijit/themes/tundra/images/minusButton.gif | Bin 148 -> 0 bytes includes/js/dijit/themes/tundra/images/no.gif | Bin 179 -> 0 bytes includes/js/dijit/themes/tundra/images/noX.gif | Bin 80 -> 0 bytes .../js/dijit/themes/tundra/images/plusButton.gif | Bin 212 -> 0 bytes .../js/dijit/themes/tundra/images/popupMenuBg.gif | Bin 151 -> 0 bytes .../themes/tundra/images/preciseSliderThumb.gif | Bin 212 -> 0 bytes .../themes/tundra/images/preciseSliderThumb.png | Bin 248 -> 0 bytes .../tundra/images/preciseSliderThumbFocus.gif | Bin 212 -> 0 bytes .../tundra/images/preciseSliderThumbFocus.png | Bin 281 -> 0 bytes .../themes/tundra/images/progressBarAnim-1.png | Bin 288 -> 0 bytes .../themes/tundra/images/progressBarAnim-2.png | Bin 289 -> 0 bytes .../themes/tundra/images/progressBarAnim-3.png | Bin 288 -> 0 bytes .../themes/tundra/images/progressBarAnim-4.png | Bin 287 -> 0 bytes .../themes/tundra/images/progressBarAnim-5.png | Bin 283 -> 0 bytes .../themes/tundra/images/progressBarAnim-6.png | Bin 283 -> 0 bytes .../themes/tundra/images/progressBarAnim-7.png | Bin 284 -> 0 bytes .../themes/tundra/images/progressBarAnim-8.png | Bin 286 -> 0 bytes .../themes/tundra/images/progressBarAnim-9.png | Bin 289 -> 0 bytes .../dijit/themes/tundra/images/progressBarAnim.gif | Bin 2624 -> 0 bytes .../dijit/themes/tundra/images/progressBarAnim.psd | Bin 40142 -> 0 bytes .../themes/tundra/images/progressBarEmpty.png | Bin 144 -> 0 bytes .../dijit/themes/tundra/images/progressBarFull.png | Bin 160 -> 0 bytes .../themes/tundra/images/radioButtonActive.png | Bin 550 -> 0 bytes .../tundra/images/radioButtonActiveDisabled.png | Bin 517 -> 0 bytes .../tundra/images/radioButtonActiveHover.png | Bin 646 -> 0 bytes .../themes/tundra/images/radioButtonDisabled.png | Bin 403 -> 0 bytes .../themes/tundra/images/radioButtonEnabled.png | Bin 487 -> 0 bytes .../themes/tundra/images/radioButtonHover.png | Bin 497 -> 0 bytes .../js/dijit/themes/tundra/images/sliderEmpty.png | Bin 124 -> 0 bytes .../themes/tundra/images/sliderEmptyVertical.png | Bin 88 -> 0 bytes .../js/dijit/themes/tundra/images/sliderFull.png | Bin 135 -> 0 bytes .../dijit/themes/tundra/images/sliderFullFocus.png | Bin 163 -> 0 bytes .../themes/tundra/images/sliderFullVertical.png | Bin 99 -> 0 bytes .../tundra/images/sliderFullVerticalFocus.png | Bin 164 -> 0 bytes .../js/dijit/themes/tundra/images/sliderThumb.png | Bin 241 -> 0 bytes .../themes/tundra/images/sliderThumbFocus.gif | Bin 216 -> 0 bytes .../themes/tundra/images/sliderThumbFocus.png | Bin 288 -> 0 bytes .../dijit/themes/tundra/images/smallArrowDown.png | Bin 134 -> 0 bytes .../js/dijit/themes/tundra/images/smallArrowUp.png | Bin 134 -> 0 bytes .../tundra/images/splitContainerSizerH-thumb.png | Bin 127 -> 0 bytes .../themes/tundra/images/splitContainerSizerH.png | Bin 140 -> 0 bytes .../tundra/images/splitContainerSizerV-thumb.png | Bin 129 -> 0 bytes .../themes/tundra/images/splitContainerSizerV.png | Bin 135 -> 0 bytes .../tundra/images/spriteRoundedIconsSmall.gif | Bin 1863 -> 0 bytes .../tundra/images/spriteRoundedIconsSmall.png | Bin 2195 -> 0 bytes .../js/dijit/themes/tundra/images/tabActive.png | Bin 155 -> 0 bytes .../js/dijit/themes/tundra/images/tabClose.gif | Bin 193 -> 0 bytes .../js/dijit/themes/tundra/images/tabClose.png | Bin 220 -> 0 bytes .../dijit/themes/tundra/images/tabCloseHover.gif | Bin 193 -> 0 bytes .../dijit/themes/tundra/images/tabCloseHover.png | Bin 220 -> 0 bytes .../js/dijit/themes/tundra/images/tabDisabled.png | Bin 139 -> 0 bytes .../js/dijit/themes/tundra/images/tabEnabled.png | Bin 142 -> 0 bytes .../js/dijit/themes/tundra/images/tabHover.gif | Bin 156 -> 0 bytes .../js/dijit/themes/tundra/images/tabHover.png | Bin 154 -> 0 bytes .../js/dijit/themes/tundra/images/titleBar.png | Bin 143 -> 0 bytes .../js/dijit/themes/tundra/images/titleBarBg.gif | Bin 97 -> 0 bytes .../themes/tundra/images/tooltipConnectorDown.gif | Bin 324 -> 0 bytes .../themes/tundra/images/tooltipConnectorDown.png | Bin 365 -> 0 bytes .../themes/tundra/images/tooltipConnectorLeft.gif | Bin 325 -> 0 bytes .../themes/tundra/images/tooltipConnectorLeft.png | Bin 356 -> 0 bytes .../themes/tundra/images/tooltipConnectorRight.gif | Bin 327 -> 0 bytes .../themes/tundra/images/tooltipConnectorRight.png | Bin 375 -> 0 bytes .../themes/tundra/images/tooltipConnectorUp.gif | Bin 323 -> 0 bytes .../themes/tundra/images/tooltipConnectorUp.png | Bin 344 -> 0 bytes .../dijit/themes/tundra/images/treeExpand_leaf.gif | Bin 839 -> 0 bytes .../themes/tundra/images/treeExpand_leaf_rtl.gif | Bin 841 -> 0 bytes .../themes/tundra/images/treeExpand_loading.gif | Bin 1944 -> 0 bytes .../themes/tundra/images/treeExpand_minus.gif | Bin 211 -> 0 bytes .../themes/tundra/images/treeExpand_minus_rtl.gif | Bin 210 -> 0 bytes .../dijit/themes/tundra/images/treeExpand_mius.gif | Bin 211 -> 0 bytes .../dijit/themes/tundra/images/treeExpand_plus.gif | Bin 216 -> 0 bytes .../themes/tundra/images/treeExpand_plus_rtl.gif | Bin 215 -> 0 bytes .../themes/tundra/images/validationInputBg.gif | Bin 109 -> 0 bytes .../themes/tundra/images/validationInputBg.png | Bin 165 -> 0 bytes includes/js/dijit/themes/tundra/images/warning.png | Bin 1275 -> 0 bytes .../themes/tundra/layout/AccordionContainer.css | 31 - .../layout/AccordionContainer.css.commented.css | 37 - .../dijit/themes/tundra/layout/BorderContainer.css | 27 - .../layout/BorderContainer.css.commented.css | 31 - .../dijit/themes/tundra/layout/SplitContainer.css | 31 - .../tundra/layout/SplitContainer.css.commented.css | 35 - .../js/dijit/themes/tundra/layout/TabContainer.css | 109 - .../tundra/layout/TabContainer.css.commented.css | 138 - .../themes/tundra/layout/TabContainer_rtl.css | 71 - .../layout/TabContainer_rtl.css.commented.css | 89 - includes/js/dijit/themes/tundra/tundra.css | 1213 -- .../dijit/themes/tundra/tundra.css.commented.css | 37 - includes/js/dijit/themes/tundra/tundra_rtl.css | 317 - .../themes/tundra/tundra_rtl.css.commented.css | 9 - includes/js/dojo/AdapterRegistry.js | 99 - includes/js/dojo/DeferredList.js | 88 - includes/js/dojo/LICENSE | 195 - includes/js/dojo/NodeList-fx.js | 137 - includes/js/dojo/OpenAjax.js | 194 - includes/js/dojo/_base.js | 13 - includes/js/dojo/_base/Color.js | 156 - includes/js/dojo/_base/Deferred.js | 408 - includes/js/dojo/_base/NodeList.js | 532 - includes/js/dojo/_base/_loader/bootstrap.js | 436 - includes/js/dojo/_base/_loader/hostenv_browser.js | 379 - includes/js/dojo/_base/_loader/hostenv_rhino.js | 238 - .../js/dojo/_base/_loader/hostenv_spidermonkey.js | 80 - includes/js/dojo/_base/_loader/loader.js | 690 - includes/js/dojo/_base/_loader/loader_debug.js | 61 - includes/js/dojo/_base/_loader/loader_xd.js | 631 - includes/js/dojo/_base/array.js | 182 - includes/js/dojo/_base/browser.js | 21 - includes/js/dojo/_base/connect.js | 285 - includes/js/dojo/_base/declare.js | 178 - includes/js/dojo/_base/event.js | 529 - includes/js/dojo/_base/fx.js | 584 - includes/js/dojo/_base/html.js | 1227 -- includes/js/dojo/_base/json.js | 137 - includes/js/dojo/_base/lang.js | 257 - includes/js/dojo/_base/query.js | 1191 -- includes/js/dojo/_base/window.js | 145 - includes/js/dojo/_base/xhr.js | 730 - includes/js/dojo/_firebug/LICENSE | 37 - includes/js/dojo/_firebug/errorIcon.png | Bin 457 -> 0 bytes includes/js/dojo/_firebug/firebug.css | 176 - .../js/dojo/_firebug/firebug.css.commented.css | 222 - includes/js/dojo/_firebug/firebug.js | 1103 -- includes/js/dojo/_firebug/infoIcon.png | Bin 524 -> 0 bytes includes/js/dojo/_firebug/warningIcon.png | Bin 516 -> 0 bytes includes/js/dojo/back.js | 394 - includes/js/dojo/behavior.js | 185 - includes/js/dojo/build.txt | 126 - includes/js/dojo/cldr/LICENSE | 29 - includes/js/dojo/cldr/README | 18 - includes/js/dojo/cldr/monetary.js | 27 - includes/js/dojo/cldr/nls/currency.js | 1 - includes/js/dojo/cldr/nls/de-de/number.js | 1 - includes/js/dojo/cldr/nls/de/currency.js | 1 - includes/js/dojo/cldr/nls/de/gregorian.js | 1 - includes/js/dojo/cldr/nls/de/number.js | 1 - includes/js/dojo/cldr/nls/en-au/currency.js | 1 - includes/js/dojo/cldr/nls/en-au/gregorian.js | 1 - includes/js/dojo/cldr/nls/en-au/number.js | 1 - includes/js/dojo/cldr/nls/en-ca/currency.js | 1 - includes/js/dojo/cldr/nls/en-ca/gregorian.js | 1 - includes/js/dojo/cldr/nls/en-gb/gregorian.js | 1 - includes/js/dojo/cldr/nls/en-gb/number.js | 1 - includes/js/dojo/cldr/nls/en-us/currency.js | 1 - includes/js/dojo/cldr/nls/en-us/number.js | 1 - includes/js/dojo/cldr/nls/en/currency.js | 1 - includes/js/dojo/cldr/nls/en/gregorian.js | 1 - includes/js/dojo/cldr/nls/en/number.js | 1 - includes/js/dojo/cldr/nls/es-es/gregorian.js | 1 - includes/js/dojo/cldr/nls/es-es/number.js | 1 - includes/js/dojo/cldr/nls/es/currency.js | 1 - includes/js/dojo/cldr/nls/es/gregorian.js | 1 - includes/js/dojo/cldr/nls/es/number.js | 1 - includes/js/dojo/cldr/nls/fr/currency.js | 1 - includes/js/dojo/cldr/nls/fr/gregorian.js | 1 - includes/js/dojo/cldr/nls/fr/number.js | 1 - includes/js/dojo/cldr/nls/gregorian.js | 1 - includes/js/dojo/cldr/nls/it-it/gregorian.js | 1 - includes/js/dojo/cldr/nls/it/currency.js | 1 - includes/js/dojo/cldr/nls/it/gregorian.js | 1 - includes/js/dojo/cldr/nls/it/number.js | 1 - includes/js/dojo/cldr/nls/ja-jp/number.js | 1 - includes/js/dojo/cldr/nls/ja/currency.js | 1 - includes/js/dojo/cldr/nls/ja/gregorian.js | 1 - includes/js/dojo/cldr/nls/ja/number.js | 1 - includes/js/dojo/cldr/nls/ko-kr/gregorian.js | 1 - includes/js/dojo/cldr/nls/ko-kr/number.js | 1 - includes/js/dojo/cldr/nls/ko/currency.js | 1 - includes/js/dojo/cldr/nls/ko/gregorian.js | 1 - includes/js/dojo/cldr/nls/ko/number.js | 1 - includes/js/dojo/cldr/nls/number.js | 1 - includes/js/dojo/cldr/nls/pt-br/gregorian.js | 1 - includes/js/dojo/cldr/nls/pt/currency.js | 1 - includes/js/dojo/cldr/nls/pt/gregorian.js | 1 - includes/js/dojo/cldr/nls/pt/number.js | 1 - includes/js/dojo/cldr/nls/zh-cn/gregorian.js | 1 - includes/js/dojo/cldr/nls/zh-cn/number.js | 1 - includes/js/dojo/cldr/nls/zh-tw/currency.js | 1 - includes/js/dojo/cldr/nls/zh-tw/gregorian.js | 1 - includes/js/dojo/cldr/nls/zh-tw/number.js | 1 - includes/js/dojo/cldr/nls/zh/currency.js | 1 - includes/js/dojo/cldr/nls/zh/gregorian.js | 1 - includes/js/dojo/cldr/nls/zh/number.js | 1 - includes/js/dojo/cldr/supplemental.js | 74 - includes/js/dojo/colors.js | 225 - includes/js/dojo/cookie.js | 95 - includes/js/dojo/currency.js | 97 - includes/js/dojo/data/ItemFileReadStore.js | 765 - includes/js/dojo/data/ItemFileWriteStore.js | 804 - includes/js/dojo/data/api/Identity.js | 107 - includes/js/dojo/data/api/Notification.js | 119 - includes/js/dojo/data/api/Read.js | 506 - includes/js/dojo/data/api/Request.js | 32 - includes/js/dojo/data/api/Write.js | 226 - includes/js/dojo/data/util/filter.js | 69 - includes/js/dojo/data/util/simpleFetch.js | 90 - includes/js/dojo/data/util/sorter.js | 81 - includes/js/dojo/date.js | 343 - includes/js/dojo/date/locale.js | 656 - includes/js/dojo/date/stamp.js | 141 - includes/js/dojo/dnd/Avatar.js | 82 - includes/js/dojo/dnd/Container.js | 311 - includes/js/dojo/dnd/Manager.js | 180 - includes/js/dojo/dnd/Moveable.js | 130 - includes/js/dojo/dnd/Mover.js | 84 - includes/js/dojo/dnd/Selector.js | 244 - includes/js/dojo/dnd/Source.js | 393 - includes/js/dojo/dnd/TimedMoveable.js | 66 - includes/js/dojo/dnd/autoscroll.js | 103 - includes/js/dojo/dnd/common.js | 35 - includes/js/dojo/dnd/move.js | 202 - includes/js/dojo/dojo.js | 20 - includes/js/dojo/dojo.js.uncompressed.js | 8165 ---------- includes/js/dojo/fx.js | 415 - includes/js/dojo/i18n.js | 249 - includes/js/dojo/io/iframe.js | 358 - includes/js/dojo/io/script.js | 211 - includes/js/dojo/jaxer.js | 15 - includes/js/dojo/nls/ar/colors.js | 1 - includes/js/dojo/nls/colors.js | 1 - includes/js/dojo/nls/cs/colors.js | 1 - includes/js/dojo/nls/da/colors.js | 1 - includes/js/dojo/nls/de/colors.js | 1 - includes/js/dojo/nls/el/colors.js | 1 - includes/js/dojo/nls/es/colors.js | 1 - includes/js/dojo/nls/fi/colors.js | 1 - includes/js/dojo/nls/fr/colors.js | 1 - includes/js/dojo/nls/he/colors.js | 1 - includes/js/dojo/nls/hu/colors.js | 1 - includes/js/dojo/nls/it/colors.js | 1 - includes/js/dojo/nls/ja/colors.js | 1 - includes/js/dojo/nls/ko/colors.js | 1 - includes/js/dojo/nls/nb/colors.js | 1 - includes/js/dojo/nls/nl/colors.js | 1 - includes/js/dojo/nls/pl/colors.js | 1 - includes/js/dojo/nls/pt-pt/colors.js | 1 - includes/js/dojo/nls/pt/colors.js | 1 - includes/js/dojo/nls/ru/colors.js | 1 - includes/js/dojo/nls/sv/colors.js | 1 - includes/js/dojo/nls/tr/colors.js | 1 - includes/js/dojo/nls/zh-tw/colors.js | 1 - includes/js/dojo/nls/zh/colors.js | 1 - includes/js/dojo/number.js | 551 - includes/js/dojo/parser.js | 277 - includes/js/dojo/regexp.js | 69 - includes/js/dojo/resources/LICENSE | 30 - includes/js/dojo/resources/_modules.js | 36 - includes/js/dojo/resources/blank.gif | Bin 43 -> 0 bytes includes/js/dojo/resources/blank.html | 1 - includes/js/dojo/resources/dnd.css | 9 - includes/js/dojo/resources/dnd.css.commented.css | 9 - includes/js/dojo/resources/dojo.css | 100 - includes/js/dojo/resources/dojo.css.commented.css | 198 - includes/js/dojo/resources/iframe_history.html | 79 - includes/js/dojo/resources/images/dndCopy.png | Bin 814 -> 0 bytes includes/js/dojo/resources/images/dndMove.png | Bin 785 -> 0 bytes includes/js/dojo/resources/images/dndNoCopy.png | Bin 756 -> 0 bytes includes/js/dojo/resources/images/dndNoMove.png | Bin 750 -> 0 bytes includes/js/dojo/rpc/JsonService.js | 83 - includes/js/dojo/rpc/JsonpService.js | 65 - includes/js/dojo/rpc/RpcService.js | 172 - includes/js/dojo/string.js | 84 - includes/js/dojo/tests.js | 12 - includes/js/dojo/tests/AdapterRegistry.js | 75 - includes/js/dojo/tests/DeferredList.js | 206 - includes/js/dojo/tests/NodeList-fx.html | 150 - includes/js/dojo/tests/TODO | 11 - includes/js/dojo/tests/_base.js | 136 - includes/js/dojo/tests/_base/Color.js | 32 - includes/js/dojo/tests/_base/Deferred.js | 76 - includes/js/dojo/tests/_base/NodeList.html | 370 - .../js/dojo/tests/_base/_loader/addLoadEvents.html | 37 - .../js/dojo/tests/_base/_loader/afterOnLoad.html | 56 - includes/js/dojo/tests/_base/_loader/bootstrap.js | 86 - includes/js/dojo/tests/_base/_loader/getText.txt | 1 - .../js/dojo/tests/_base/_loader/hostenv_browser.js | 15 - .../js/dojo/tests/_base/_loader/hostenv_rhino.js | 17 - .../tests/_base/_loader/hostenv_spidermonkey.js | 15 - includes/js/dojo/tests/_base/_loader/loader.js | 52 - .../js/dojo/tests/_base/_loader/scope/scope04.html | 80 - .../tests/_base/_loader/scope/scopeContained.html | 71 - .../_base/_loader/scope/scopeContainedXd.html | 84 - .../tests/_base/_loader/scope/scopeDjConfig.html | 64 - .../tests/_base/_loader/scope/scopeSingle.html | 62 - .../tests/_base/_loader/scope/scopeSingleDaac.html | 63 - includes/js/dojo/tests/_base/array.js | 301 - includes/js/dojo/tests/_base/connect.js | 225 - includes/js/dojo/tests/_base/declare.js | 197 - includes/js/dojo/tests/_base/fx.html | 342 - includes/js/dojo/tests/_base/fx.js | 8 - includes/js/dojo/tests/_base/fx_delay.html | 22 - includes/js/dojo/tests/_base/html.html | 556 - includes/js/dojo/tests/_base/html.js | 12 - includes/js/dojo/tests/_base/html_box.html | 207 - includes/js/dojo/tests/_base/html_box_quirks.html | 205 - includes/js/dojo/tests/_base/html_quirks.html | 322 - includes/js/dojo/tests/_base/html_rtl.html | 110 - includes/js/dojo/tests/_base/json.js | 37 - includes/js/dojo/tests/_base/lang.js | 180 - includes/js/dojo/tests/_base/query.html | 154 - includes/js/dojo/tests/_base/query.js | 9 - includes/js/dojo/tests/_base/timeout.php | 7 - includes/js/dojo/tests/_base/xhr.html | 404 - includes/js/dojo/tests/_base/xhr.js | 8 - includes/js/dojo/tests/_base/xhrDummyMethod.php | 7 - includes/js/dojo/tests/back-hash.js | 33 - includes/js/dojo/tests/back.html | 107 - includes/js/dojo/tests/back.js | 8 - includes/js/dojo/tests/behavior.html | 106 - includes/js/dojo/tests/behavior.js | 8 - includes/js/dojo/tests/cldr.js | 19 - includes/js/dojo/tests/colors.js | 48 - includes/js/dojo/tests/cookie.html | 84 - includes/js/dojo/tests/cookie.js | 8 - includes/js/dojo/tests/currency.js | 48 - includes/js/dojo/tests/data.js | 12 - includes/js/dojo/tests/data/ItemFileReadStore.js | 10 - includes/js/dojo/tests/data/ItemFileWriteStore.js | 1402 -- includes/js/dojo/tests/data/countries.json | 11 - .../dojo/tests/data/countries_commentFiltered.json | 12 - .../js/dojo/tests/data/countries_idcollision.json | 10 - .../js/dojo/tests/data/countries_references.json | 44 - .../js/dojo/tests/data/countries_withBoolean.json | 11 - .../js/dojo/tests/data/countries_withDates.json | 21 - .../js/dojo/tests/data/countries_withNull.json | 10 - .../js/dojo/tests/data/countries_withoutid.json | 10 - includes/js/dojo/tests/data/data_multitype.json | 18 - .../dojo/tests/data/geography_hierarchy_large.json | 44 - .../dojo/tests/data/geography_hierarchy_small.json | 19 - .../tests/data/readOnlyItemFileTestTemplates.js | 2260 --- .../js/dojo/tests/data/reference_integrity.json | 27 - includes/js/dojo/tests/data/runTests.html | 9 - includes/js/dojo/tests/data/utils.js | 203 - includes/js/dojo/tests/date.js | 716 - includes/js/dojo/tests/date/locale.js | 398 - includes/js/dojo/tests/date/stamp.js | 94 - includes/js/dojo/tests/dnd/dndDefault.css | 52 - .../js/dojo/tests/dnd/dndDefault.css.commented.css | 69 - includes/js/dojo/tests/dnd/flickr_viewer.html | 168 - .../js/dojo/tests/dnd/test_box_constraints.html | 61 - includes/js/dojo/tests/dnd/test_container.html | 74 - .../js/dojo/tests/dnd/test_container_markup.html | 67 - .../js/dojo/tests/dnd/test_custom_constraints.html | 51 - includes/js/dojo/tests/dnd/test_dnd.html | 130 - includes/js/dojo/tests/dnd/test_dnd_handles.html | 65 - includes/js/dojo/tests/dnd/test_form.html | 103 - includes/js/dojo/tests/dnd/test_moveable.html | 106 - .../js/dojo/tests/dnd/test_moveable_markup.html | 83 - includes/js/dojo/tests/dnd/test_params.html | 61 - .../js/dojo/tests/dnd/test_parent_constraints.html | 53 - .../tests/dnd/test_parent_constraints_margins.html | 51 - includes/js/dojo/tests/dnd/test_selector.html | 80 - .../js/dojo/tests/dnd/test_selector_markup.html | 71 - .../js/dojo/tests/dnd/test_timed_moveable.html | 112 - includes/js/dojo/tests/fx.html | 310 - includes/js/dojo/tests/fx.js | 9 - includes/js/dojo/tests/i18n.js | 88 - includes/js/dojo/tests/io/iframe.html | 124 - includes/js/dojo/tests/io/iframe.js | 8 - includes/js/dojo/tests/io/iframeResponse.html | 8 - includes/js/dojo/tests/io/iframeResponse.js.html | 7 - includes/js/dojo/tests/io/iframeResponse.json.html | 7 - includes/js/dojo/tests/io/iframeResponse.text.html | 7 - includes/js/dojo/tests/io/iframeUploadTest.html | 50 - includes/js/dojo/tests/io/script.html | 101 - includes/js/dojo/tests/io/script.js | 8 - includes/js/dojo/tests/io/scriptJsonp.js | 57 - includes/js/dojo/tests/io/scriptSimple.js | 5 - includes/js/dojo/tests/io/scriptTimeout.html | 67 - includes/js/dojo/tests/io/upload.cgi | 60 - includes/js/dojo/tests/manualTests.html | 12 - includes/js/dojo/tests/manualTests.js | 45 - includes/js/dojo/tests/module.js | 29 - includes/js/dojo/tests/nls/ar/salutations.js | 1 - includes/js/dojo/tests/nls/cs/salutations.js | 1 - includes/js/dojo/tests/nls/de/salutations.js | 1 - includes/js/dojo/tests/nls/el/salutations.js | 1 - includes/js/dojo/tests/nls/en-au/salutations.js | 1 - .../js/dojo/tests/nls/en-us-hawaii/salutations.js | 1 - .../nls/en-us-new_york-brooklyn/salutations.js | 1 - .../js/dojo/tests/nls/en-us-texas/salutations.js | 1 - includes/js/dojo/tests/nls/es/salutations.js | 1 - includes/js/dojo/tests/nls/fa/salutations.js | 1 - includes/js/dojo/tests/nls/fr/salutations.js | 1 - includes/js/dojo/tests/nls/he/salutations.js | 1 - includes/js/dojo/tests/nls/hi/salutations.js | 1 - includes/js/dojo/tests/nls/it/salutations.js | 1 - includes/js/dojo/tests/nls/ja/salutations.js | 1 - includes/js/dojo/tests/nls/ko/salutations.js | 1 - includes/js/dojo/tests/nls/pl/salutations.js | 1 - includes/js/dojo/tests/nls/pt/salutations.js | 1 - includes/js/dojo/tests/nls/ru/salutations.js | 1 - includes/js/dojo/tests/nls/salutations.js | 1 - includes/js/dojo/tests/nls/sw/salutations.js | 1 - includes/js/dojo/tests/nls/th/salutations.js | 1 - includes/js/dojo/tests/nls/tr/salutations.js | 1 - includes/js/dojo/tests/nls/yi/salutations.js | 1 - includes/js/dojo/tests/nls/zh-cn/salutations.js | 1 - includes/js/dojo/tests/nls/zh-tw/salutations.js | 1 - includes/js/dojo/tests/number.js | 966 -- includes/js/dojo/tests/parser.html | 241 - includes/js/dojo/tests/parser.js | 8 - .../js/dojo/tests/resources/ApplicationState.js | 28 - includes/js/dojo/tests/resources/JSON.php | 724 - includes/js/dojo/tests/resources/testClass.php | 20 - includes/js/dojo/tests/resources/testClass.smd | 40 - .../dojo/tests/resources/test_JsonRPCMediator.php | 43 - includes/js/dojo/tests/resources/test_css.html | 100 - includes/js/dojo/tests/resources/yahoo_smd_v1.smd | 268 - includes/js/dojo/tests/rpc.js | 151 - includes/js/dojo/tests/runTests.html | 9 - includes/js/dojo/tests/string.js | 31 - includes/js/dojo/tests/test_FirebugLite.html | 100 - includes/js/dojo/tests/test_FirebugLitePopup.html | 101 - includes/js/dojo/tests/test_fx.html | 107 - includes/js/dojox/LICENSE | 195 - includes/js/dojox/_sql/LICENSE | 9 - includes/js/dojox/_sql/_crypto.js | 443 - includes/js/dojox/_sql/common.js | 538 - .../js/dojox/_sql/demos/customers/customers.html | 292 - includes/js/dojox/analytics.js | 16 - includes/js/dojox/analytics/README | 134 - includes/js/dojox/analytics/_base.js | 127 - includes/js/dojox/analytics/logger/JSON.php | 724 - .../js/dojox/analytics/logger/dojoxAnalytics.php | 31 - .../js/dojox/analytics/plugins/consoleMessages.js | 24 - includes/js/dojox/analytics/plugins/dojo.js | 22 - includes/js/dojox/analytics/plugins/idle.js | 34 - includes/js/dojox/analytics/plugins/mouseClick.js | 49 - includes/js/dojox/analytics/plugins/mouseOver.js | 90 - includes/js/dojox/analytics/plugins/window.js | 34 - .../dojox/analytics/profiles/analytics.profile.js | 21 - .../analytics/profiles/analyticsInBase.profile.js | 22 - .../js/dojox/analytics/tests/test_analytics.html | 93 - includes/js/dojox/av.js | 7 - includes/js/dojox/av/README | 40 - includes/js/dojox/av/_base.js | 8 - includes/js/dojox/av/_base/_ieFlash.js | 17 - includes/js/dojox/av/_base/flash.js | 186 - includes/js/dojox/av/_base/quicktime.js | 161 - includes/js/dojox/av/resources/version.mov | Bin 1667 -> 0 bytes includes/js/dojox/av/tests/flash.html | 39 - includes/js/dojox/av/tests/quicktime.html | 24 - includes/js/dojox/av/tests/resources/hfp.swf | Bin 13671 -> 0 bytes includes/js/dojox/charting/Chart2D.js | 341 - includes/js/dojox/charting/Chart3D.js | 86 - includes/js/dojox/charting/Element.js | 49 - includes/js/dojox/charting/README | 31 - includes/js/dojox/charting/Series.js | 20 - includes/js/dojox/charting/Theme.js | 256 - includes/js/dojox/charting/_color.js | 62 - includes/js/dojox/charting/axis2d/Base.js | 31 - includes/js/dojox/charting/axis2d/Default.js | 323 - includes/js/dojox/charting/axis2d/common.js | 75 - includes/js/dojox/charting/plot2d/Areas.js | 14 - includes/js/dojox/charting/plot2d/Bars.js | 89 - includes/js/dojox/charting/plot2d/Base.js | 60 - includes/js/dojox/charting/plot2d/ClusteredBars.js | 63 - .../js/dojox/charting/plot2d/ClusteredColumns.js | 63 - includes/js/dojox/charting/plot2d/Columns.js | 88 - includes/js/dojox/charting/plot2d/Default.js | 173 - includes/js/dojox/charting/plot2d/Grid.js | 116 - includes/js/dojox/charting/plot2d/Lines.js | 13 - includes/js/dojox/charting/plot2d/Markers.js | 13 - includes/js/dojox/charting/plot2d/MarkersOnly.js | 14 - includes/js/dojox/charting/plot2d/Pie.js | 199 - includes/js/dojox/charting/plot2d/Scatter.js | 14 - includes/js/dojox/charting/plot2d/Stacked.js | 160 - includes/js/dojox/charting/plot2d/StackedAreas.js | 14 - includes/js/dojox/charting/plot2d/StackedBars.js | 85 - .../js/dojox/charting/plot2d/StackedColumns.js | 83 - includes/js/dojox/charting/plot2d/StackedLines.js | 13 - includes/js/dojox/charting/plot2d/common.js | 113 - includes/js/dojox/charting/plot3d/Bars.js | 66 - includes/js/dojox/charting/plot3d/Base.js | 23 - includes/js/dojox/charting/plot3d/Cylinders.js | 69 - includes/js/dojox/charting/scaler.js | 161 - includes/js/dojox/charting/tests/Theme.js | 71 - includes/js/dojox/charting/tests/_color.js | 82 - includes/js/dojox/charting/tests/charting.js | 12 - .../js/dojox/charting/tests/data/goog_prices.csv | 796 - .../js/dojox/charting/tests/data/msft_prices.csv | 796 - .../js/dojox/charting/tests/data/yahoo_prices.csv | 796 - includes/js/dojox/charting/tests/runTests.html | 9 - includes/js/dojox/charting/tests/test_bars.html | 65 - includes/js/dojox/charting/tests/test_chart2d.html | 353 - .../charting/tests/test_chart2d_updating.html | 80 - .../js/dojox/charting/tests/test_cylinders.html | 65 - .../js/dojox/charting/tests/test_labels2d.html | 90 - includes/js/dojox/charting/tests/test_pie2d.html | 128 - includes/js/dojox/charting/tests/test_scaler.html | 97 - .../js/dojox/charting/tests/test_sparklines.html | 180 - .../js/dojox/charting/tests/test_widget2d.html | 98 - includes/js/dojox/charting/themes/ET/greys.js | 63 - includes/js/dojox/charting/themes/GreySkies.js | 11 - includes/js/dojox/charting/themes/PlotKit/README | 11 - includes/js/dojox/charting/themes/PlotKit/blue.js | 43 - includes/js/dojox/charting/themes/PlotKit/cyan.js | 43 - includes/js/dojox/charting/themes/PlotKit/green.js | 43 - .../js/dojox/charting/themes/PlotKit/orange.js | 43 - .../js/dojox/charting/themes/PlotKit/purple.js | 43 - includes/js/dojox/charting/themes/PlotKit/red.js | 43 - includes/js/dojox/charting/widget/Chart2D.js | 215 - includes/js/dojox/collections.js | 6 - includes/js/dojox/collections/ArrayList.js | 133 - includes/js/dojox/collections/BinaryTree.js | 211 - includes/js/dojox/collections/Dictionary.js | 116 - includes/js/dojox/collections/Queue.js | 74 - includes/js/dojox/collections/README | 39 - includes/js/dojox/collections/Set.js | 89 - includes/js/dojox/collections/SortedList.js | 198 - includes/js/dojox/collections/Stack.js | 72 - includes/js/dojox/collections/_base.js | 100 - includes/js/dojox/collections/tests/ArrayList.js | 83 - includes/js/dojox/collections/tests/BinaryTree.js | 83 - includes/js/dojox/collections/tests/Dictionary.js | 82 - includes/js/dojox/collections/tests/Queue.js | 49 - includes/js/dojox/collections/tests/Set.js | 35 - includes/js/dojox/collections/tests/SortedList.js | 168 - includes/js/dojox/collections/tests/Stack.js | 49 - includes/js/dojox/collections/tests/_base.js | 84 - includes/js/dojox/collections/tests/collections.js | 19 - includes/js/dojox/collections/tests/runTests.html | 9 - includes/js/dojox/color.js | 6 - includes/js/dojox/color/Colorspace.js | 556 - includes/js/dojox/color/Generator.js | 261 - includes/js/dojox/color/README | 41 - includes/js/dojox/color/_base.js | 197 - includes/js/dojox/color/tests/Generator.js | 128 - includes/js/dojox/color/tests/_base.js | 82 - includes/js/dojox/color/tests/color.js | 14 - includes/js/dojox/color/tests/runTests.html | 9 - includes/js/dojox/cometd.js | 7 - includes/js/dojox/cometd/README | 29 - includes/js/dojox/cometd/_base.js | 950 -- includes/js/dojox/cometd/timestamp.js | 9 - includes/js/dojox/cometd/timesync.js | 126 - includes/js/dojox/crypto.js | 6 - includes/js/dojox/crypto/Blowfish.js | 10 - includes/js/dojox/crypto/MD5.js | 10 - includes/js/dojox/crypto/README | 12 - includes/js/dojox/crypto/_base.js | 14 - includes/js/dojox/data/AtomReadStore.js | 543 - includes/js/dojox/data/CsvStore.js | 561 - includes/js/dojox/data/FlickrRestStore.js | 471 - includes/js/dojox/data/FlickrStore.js | 257 - includes/js/dojox/data/HtmlStore.js | 531 - includes/js/dojox/data/HtmlTableStore.js | 469 - includes/js/dojox/data/KeyValueStore.js | 381 - includes/js/dojox/data/OpmlStore.js | 515 - includes/js/dojox/data/PicasaStore.js | 254 - includes/js/dojox/data/QueryReadStore.js | 513 - includes/js/dojox/data/README | 89 - includes/js/dojox/data/SnapLogicStore.js | 332 - includes/js/dojox/data/XmlStore.js | 1141 -- .../js/dojox/data/demos/demo_DataDemoTable.html | 130 - .../js/dojox/data/demos/demo_FlickrRestStore.html | 275 - includes/js/dojox/data/demos/demo_FlickrStore.html | 199 - includes/js/dojox/data/demos/demo_LazyLoad.html | 66 - includes/js/dojox/data/demos/demo_MultiStores.html | 72 - includes/js/dojox/data/demos/demo_PicasaStore.html | 188 - .../data/demos/demo_QueryReadStore_ComboBox.html | 56 - .../demos/demo_QueryReadStore_FilteringSelect.html | 56 - .../dojox/data/demos/demo_QueryReadStore_grid.html | 129 - includes/js/dojox/data/demos/flickrDemo.css | 29 - .../dojox/data/demos/flickrDemo.css.commented.css | 35 - includes/js/dojox/data/demos/geography.json | 45 - includes/js/dojox/data/demos/geography.xml | 51 - .../dojox/data/demos/geography/Argentina/data.json | 5 - .../js/dojox/data/demos/geography/Brazil/data.json | 5 - .../data/demos/geography/Canada/Ottawa/data.json | 6 - .../data/demos/geography/Canada/Toronto/data.json | 6 - .../js/dojox/data/demos/geography/Canada/data.json | 10 - .../js/dojox/data/demos/geography/China/data.json | 4 - .../geography/Commonwealth of Australia/data.json | 5 - .../js/dojox/data/demos/geography/Egypt/data.json | 5 - .../js/dojox/data/demos/geography/France/data.json | 4 - .../dojox/data/demos/geography/Germany/data.json | 4 - .../js/dojox/data/demos/geography/India/data.json | 4 - .../js/dojox/data/demos/geography/Italy/data.json | 4 - .../data/demos/geography/Kenya/Mombasa/data.json | 5 - .../data/demos/geography/Kenya/Nairobi/data.json | 5 - .../js/dojox/data/demos/geography/Kenya/data.json | 9 - .../demos/geography/Mexico/Guadalajara/data.json | 7 - .../demos/geography/Mexico/Mexico City/data.json | 6 - .../js/dojox/data/demos/geography/Mexico/data.json | 10 - .../dojox/data/demos/geography/Mongolia/data.json | 4 - .../js/dojox/data/demos/geography/Russia/data.json | 4 - .../js/dojox/data/demos/geography/Spain/data.json | 4 - .../data/demos/geography/Sudan/Khartoum/data.json | 5 - .../js/dojox/data/demos/geography/Sudan/data.json | 6 - .../geography/United States of America/data.json | 4 - includes/js/dojox/data/demos/geography/root.json | 39 - includes/js/dojox/data/demos/picasaDemo.css | 37 - .../dojox/data/demos/picasaDemo.css.commented.css | 44 - .../js/dojox/data/demos/stores/LazyLoadJSIStore.js | 142 - includes/js/dojox/data/demos/widgets/FlickrView.js | 36 - .../js/dojox/data/demos/widgets/FlickrViewList.js | 37 - includes/js/dojox/data/demos/widgets/PicasaView.js | 37 - .../js/dojox/data/demos/widgets/PicasaViewList.js | 37 - .../data/demos/widgets/templates/FlickrView.html | 34 - .../demos/widgets/templates/FlickrViewList.html | 2 - .../data/demos/widgets/templates/PicasaView.html | 35 - .../demos/widgets/templates/PicasaViewList.html | 2 - includes/js/dojox/data/dom.js | 187 - includes/js/dojox/data/jsonPathStore.js | 1191 -- includes/js/dojox/data/tests/QueryReadStore.html | 220 - includes/js/dojox/data/tests/dom.js | 133 - includes/js/dojox/data/tests/ml/divList.html | 14 - includes/js/dojox/data/tests/ml/orderedList.html | 16 - includes/js/dojox/data/tests/ml/table.html | 46 - .../tests/ml/test_HtmlStore_declaratively.html | 172 - .../dojox/data/tests/ml/test_HtmlStore_remote.html | 115 - .../ml/test_HtmlTableStore_declaratively.html | 120 - includes/js/dojox/data/tests/ml/unorderedList.html | 17 - includes/js/dojox/data/tests/module.js | 30 - includes/js/dojox/data/tests/runTests.html | 9 - .../js/dojox/data/tests/stores/AtomReadStore.js | 641 - includes/js/dojox/data/tests/stores/CsvStore.js | 1127 -- .../js/dojox/data/tests/stores/FlickrRestStore.js | 476 - includes/js/dojox/data/tests/stores/FlickrStore.js | 410 - includes/js/dojox/data/tests/stores/HtmlStore.js | 804 - .../js/dojox/data/tests/stores/HtmlTableStore.js | 702 - .../js/dojox/data/tests/stores/KeyValueStore.js | 1002 -- includes/js/dojox/data/tests/stores/OpmlStore.js | 1075 -- .../js/dojox/data/tests/stores/QueryReadStore.js | 442 - .../js/dojox/data/tests/stores/QueryReadStore.php | 114 - .../js/dojox/data/tests/stores/SnapLogicStore.js | 438 - includes/js/dojox/data/tests/stores/XmlStore.js | 881 - includes/js/dojox/data/tests/stores/atom1.xml | 848 - includes/js/dojox/data/tests/stores/books.html | 118 - includes/js/dojox/data/tests/stores/books.xml | 103 - includes/js/dojox/data/tests/stores/books2.html | 43 - includes/js/dojox/data/tests/stores/books2.xml | 28 - includes/js/dojox/data/tests/stores/books3.html | 14 - includes/js/dojox/data/tests/stores/books3.xml | 31 - .../js/dojox/data/tests/stores/books_isbnAttr.xml | 23 - .../js/dojox/data/tests/stores/books_isbnAttr2.xml | 23 - includes/js/dojox/data/tests/stores/geography.xml | 51 - .../tests/stores/geography_withspeciallabel.xml | 51 - .../js/dojox/data/tests/stores/jsonPathStore.js | 604 - includes/js/dojox/data/tests/stores/movies.csv | 9 - includes/js/dojox/data/tests/stores/movies2.csv | 9 - includes/js/dojox/data/tests/stores/patterns.csv | 11 - includes/js/dojox/data/tests/stores/properties.js | 10 - .../js/dojox/data/tests/stores/snap_pipeline.php | 72 - .../data/tests/test_Tree_vs_jsonPathStore.html | 105 - includes/js/dojox/data/tests/treeTest.json | 10 - includes/js/dojox/date/README | 36 - includes/js/dojox/date/php.js | 312 - includes/js/dojox/date/posix.js | 293 - includes/js/dojox/date/tests/module.js | 12 - includes/js/dojox/date/tests/posix.js | 236 - includes/js/dojox/date/tests/runTests.html | 9 - includes/js/dojox/dtl.js | 6 - includes/js/dojox/dtl/Context.js | 87 - includes/js/dojox/dtl/README | 207 - includes/js/dojox/dtl/_HtmlTemplated.js | 72 - includes/js/dojox/dtl/_Templated.js | 93 - includes/js/dojox/dtl/_base.js | 570 - includes/js/dojox/dtl/contrib/data.js | 89 - includes/js/dojox/dtl/contrib/dijit.js | 220 - includes/js/dojox/dtl/contrib/html.js | 107 - includes/js/dojox/dtl/contrib/objects.js | 15 - includes/js/dojox/dtl/demos/demo_Animation.html | 45 - includes/js/dojox/dtl/demos/demo_Blog.html | 96 - includes/js/dojox/dtl/demos/demo_Data.html | 58 - includes/js/dojox/dtl/demos/demo_Dijitless.html | 50 - includes/js/dojox/dtl/demos/demo_Events.html | 46 - .../js/dojox/dtl/demos/demo_HtmlTemplated.html | 40 - includes/js/dojox/dtl/demos/demo_Inline.html | 48 - includes/js/dojox/dtl/demos/demo_NodeList.html | 37 - includes/js/dojox/dtl/demos/demo_Table.html | 4072 ----- includes/js/dojox/dtl/demos/demo_Templated.html | 36 - includes/js/dojox/dtl/demos/demo_Tree.html | 33 - .../js/dojox/dtl/demos/json/blog/get_blog_1.json | 1 - .../js/dojox/dtl/demos/json/blog/get_blog_3.json | 1 - .../dojox/dtl/demos/json/blog/get_blog_list.json | 1 - .../dojox/dtl/demos/json/blog/get_page_about.json | 1 - includes/js/dojox/dtl/demos/json/fruit.json | 1 - includes/js/dojox/dtl/demos/json/morefruit.json | 1 - .../js/dojox/dtl/demos/templates/animation.html | 5 - .../js/dojox/dtl/demos/templates/blog_base.html | 8 - .../js/dojox/dtl/demos/templates/blog_detail.html | 10 - .../js/dojox/dtl/demos/templates/blog_list.html | 9 - .../js/dojox/dtl/demos/templates/blog_page.html | 7 - .../dojox/dtl/demos/templates/countrychildren.html | 1 - includes/js/dojox/dtl/demos/templates/gallery.html | 16 - .../js/dojox/dtl/demos/templates/nodelist.html | 5 - includes/js/dojox/dtl/ext-dojo/NodeList.js | 33 - includes/js/dojox/dtl/filter/dates.js | 54 - includes/js/dojox/dtl/filter/htmlstrings.js | 59 - includes/js/dojox/dtl/filter/integers.js | 32 - includes/js/dojox/dtl/filter/lists.js | 137 - includes/js/dojox/dtl/filter/logic.js | 34 - includes/js/dojox/dtl/filter/misc.js | 59 - includes/js/dojox/dtl/filter/strings.js | 327 - includes/js/dojox/dtl/html.js | 818 - includes/js/dojox/dtl/render/html.js | 76 - includes/js/dojox/dtl/tag/date.js | 29 - includes/js/dojox/dtl/tag/loader.js | 277 - includes/js/dojox/dtl/tag/logic.js | 272 - includes/js/dojox/dtl/tag/loop.js | 196 - includes/js/dojox/dtl/tag/misc.js | 291 - includes/js/dojox/dtl/tests/context.js | 79 - .../js/dojox/dtl/tests/demo_Templated_Jaxer.html | 87 - includes/js/dojox/dtl/tests/html/buffer.js | 35 - includes/js/dojox/dtl/tests/html/tag.js | 233 - includes/js/dojox/dtl/tests/html/util.js | 160 - includes/js/dojox/dtl/tests/module.js | 15 - includes/js/dojox/dtl/tests/runTests.html | 9 - includes/js/dojox/dtl/tests/templates/hello.html | 1 - includes/js/dojox/dtl/tests/templates/pocket.html | 1 - includes/js/dojox/dtl/tests/templates/pocket2.html | 1 - includes/js/dojox/dtl/tests/text/filter.js | 740 - includes/js/dojox/dtl/tests/text/load.js | 6 - includes/js/dojox/dtl/tests/text/tag.js | 480 - includes/js/dojox/dtl/utils/date.js | 72 - includes/js/dojox/encoding/LICENSE | 9 - includes/js/dojox/encoding/README | 35 - includes/js/dojox/encoding/_base.js | 7 - includes/js/dojox/encoding/ascii85.js | 63 - includes/js/dojox/encoding/base64.js | 66 - includes/js/dojox/encoding/bits.js | 68 - includes/js/dojox/encoding/compression/lzw.js | 91 - includes/js/dojox/encoding/compression/splay.js | 64 - includes/js/dojox/encoding/crypto/Blowfish.js | 481 - includes/js/dojox/encoding/crypto/_base.js | 19 - includes/js/dojox/encoding/digests/MD5.js | 177 - includes/js/dojox/encoding/digests/_base.js | 78 - includes/js/dojox/encoding/easy64.js | 50 - includes/js/dojox/encoding/tests/ascii85.js | 35 - includes/js/dojox/encoding/tests/bits.js | 74 - .../js/dojox/encoding/tests/compression/_base.js | 12 - .../js/dojox/encoding/tests/compression/colors.js | 156 - .../dojox/encoding/tests/compression/colors2.html | 104 - .../js/dojox/encoding/tests/compression/colors2.js | 64 - .../dojox/encoding/tests/compression/colors3.html | 104 - .../js/dojox/encoding/tests/compression/colors3.js | 53 - .../js/dojox/encoding/tests/compression/lzw.js | 54 - .../dojox/encoding/tests/compression/runTests.html | 9 - .../js/dojox/encoding/tests/compression/splay.js | 49 - .../js/dojox/encoding/tests/compression/test.html | 61 - .../js/dojox/encoding/tests/compression/vq.html | 185 - .../js/dojox/encoding/tests/crypto/Blowfish.js | 35 - includes/js/dojox/encoding/tests/crypto/_base.js | 12 - .../js/dojox/encoding/tests/crypto/runTests.html | 9 - includes/js/dojox/encoding/tests/digests/MD5.js | 26 - includes/js/dojox/encoding/tests/digests/_base.js | 12 - .../js/dojox/encoding/tests/digests/runTests.html | 9 - includes/js/dojox/encoding/tests/easy64.js | 35 - includes/js/dojox/encoding/tests/encoding.js | 13 - includes/js/dojox/encoding/tests/runTests.html | 9 - includes/js/dojox/flash.js | 6 - includes/js/dojox/flash/DojoExternalInterface.as | 168 - includes/js/dojox/flash/ExpressInstall.as | 71 - includes/js/dojox/flash/README | 31 - includes/js/dojox/flash/_base.js | 762 - includes/js/dojox/flash/tests/TestFlash.as | 36 - includes/js/dojox/flash/tests/TestFlash.swf | Bin 1863 -> 0 bytes includes/js/dojox/flash/tests/buildFlashTest.sh | 4 - includes/js/dojox/flash/tests/test_flash.html | 15 - includes/js/dojox/flash/tests/test_flash.js | 155 - includes/js/dojox/form/CheckedMultiSelect.js | 223 - includes/js/dojox/form/DropDownSelect.js | 267 - includes/js/dojox/form/PasswordValidator.js | 280 - includes/js/dojox/form/README | 39 - includes/js/dojox/form/nls/PasswordValidator.js | 1 - .../js/dojox/form/resources/CheckedMultiSelect.css | 65 - .../resources/CheckedMultiSelect.css.commented.css | 99 - .../dojox/form/resources/CheckedMultiSelect.html | 4 - .../js/dojox/form/resources/DropDownSelect.css | 137 - .../resources/DropDownSelect.css.commented.css | 209 - .../js/dojox/form/resources/PasswordValidator.html | 3 - .../form/resources/_CheckedMultiSelectItem.html | 4 - .../dojox/form/tests/test_CheckedMultiSelect.html | 91 - .../js/dojox/form/tests/test_DropDownSelect.html | 128 - .../dojox/form/tests/test_PasswordValidator.html | 216 - includes/js/dojox/fx.js | 7 - includes/js/dojox/fx/README | 77 - includes/js/dojox/fx/Shadow.js | 151 - includes/js/dojox/fx/_arg.js | 27 - includes/js/dojox/fx/_base.js | 240 - includes/js/dojox/fx/_core.js | 60 - includes/js/dojox/fx/easing.js | 223 - includes/js/dojox/fx/ext-dojo/NodeList.js | 66 - includes/js/dojox/fx/resources/shadowB.png | Bin 470 -> 0 bytes includes/js/dojox/fx/resources/shadowBL.png | Bin 272 -> 0 bytes includes/js/dojox/fx/resources/shadowBR.png | Bin 271 -> 0 bytes includes/js/dojox/fx/resources/shadowL.png | Bin 148 -> 0 bytes includes/js/dojox/fx/resources/shadowR.png | Bin 149 -> 0 bytes includes/js/dojox/fx/resources/shadowT.png | Bin 152 -> 0 bytes includes/js/dojox/fx/resources/shadowTL.png | Bin 271 -> 0 bytes includes/js/dojox/fx/resources/shadowTR.png | Bin 287 -> 0 bytes includes/js/dojox/fx/scroll.js | 40 - includes/js/dojox/fx/style.js | 219 - includes/js/dojox/fx/tests/_animation.css | 97 - .../js/dojox/fx/tests/_animation.css.commented.css | 113 - includes/js/dojox/fx/tests/example_Line.html | 80 - .../dojox/fx/tests/example_backgroundPosition.html | 59 - .../js/dojox/fx/tests/example_dojoAnimations.html | 442 - .../js/dojox/fx/tests/example_easingChart2D.html | 147 - includes/js/dojox/fx/tests/images/averycutedog.jpg | Bin 40879 -> 0 bytes includes/js/dojox/fx/tests/images/dot.png | Bin 4064 -> 0 bytes includes/js/dojox/fx/tests/images/longBg.png | Bin 12217 -> 0 bytes includes/js/dojox/fx/tests/test_Nodelist-fx.html | 282 - includes/js/dojox/fx/tests/test_Shadow.html | 93 - includes/js/dojox/fx/tests/test_animateClass.html | 222 - includes/js/dojox/fx/tests/test_crossFade.html | 145 - includes/js/dojox/fx/tests/test_easing.html | 142 - includes/js/dojox/fx/tests/test_highlight.html | 45 - includes/js/dojox/fx/tests/test_scroll.html | 98 - includes/js/dojox/fx/tests/test_sizeTo.html | 142 - includes/js/dojox/fx/tests/test_slideBy.html | 75 - includes/js/dojox/fx/tests/test_wipeTo.html | 109 - includes/js/dojox/gfx.js | 40 - includes/js/dojox/gfx/Moveable.js | 101 - includes/js/dojox/gfx/Mover.js | 62 - includes/js/dojox/gfx/README | 102 - includes/js/dojox/gfx/_base.js | 288 - includes/js/dojox/gfx/arc.js | 122 - includes/js/dojox/gfx/attach.js | 7 - includes/js/dojox/gfx/canvas.js | 687 - includes/js/dojox/gfx/canvas_attach.js | 8 - includes/js/dojox/gfx/decompose.js | 139 - includes/js/dojox/gfx/demos/beautify.html | 48 - includes/js/dojox/gfx/demos/butterfly.html | 88 - includes/js/dojox/gfx/demos/career_test.html | 467 - includes/js/dojox/gfx/demos/circles.html | 90 - includes/js/dojox/gfx/demos/clock.html | 253 - includes/js/dojox/gfx/demos/clockWidget.html | 332 - includes/js/dojox/gfx/demos/clock_black.html | 253 - includes/js/dojox/gfx/demos/creator.html | 123 - includes/js/dojox/gfx/demos/data/Lars.json | 1823 --- includes/js/dojox/gfx/demos/data/Lars.svg | 531 - includes/js/dojox/gfx/demos/data/LarsDreaming.json | 1823 --- includes/js/dojox/gfx/demos/data/LarsDreaming.svg | 536 - includes/js/dojox/gfx/demos/data/Nils.json | 717 - includes/js/dojox/gfx/demos/data/Nils.svg | 188 - includes/js/dojox/gfx/demos/data/buratino-bg.png | Bin 27507 -> 0 bytes includes/js/dojox/gfx/demos/data/buratino-head.png | Bin 30696 -> 0 bytes .../js/dojox/gfx/demos/data/buratino-left-arm.png | Bin 9631 -> 0 bytes .../js/dojox/gfx/demos/data/buratino-left-leg.png | Bin 21682 -> 0 bytes .../js/dojox/gfx/demos/data/buratino-lollipop.png | Bin 21976 -> 0 bytes .../dojox/gfx/demos/data/buratino-nose-large.png | Bin 4182 -> 0 bytes .../dojox/gfx/demos/data/buratino-nose-medium.png | Bin 2587 -> 0 bytes .../js/dojox/gfx/demos/data/buratino-right-arm.png | Bin 13033 -> 0 bytes .../js/dojox/gfx/demos/data/buratino-right-leg.png | Bin 23025 -> 0 bytes .../js/dojox/gfx/demos/data/buratino-torso.png | Bin 23405 -> 0 bytes includes/js/dojox/gfx/demos/data/buratino.jpg | Bin 33344 -> 0 bytes includes/js/dojox/gfx/demos/data/buratino.json | 12 - includes/js/dojox/gfx/demos/data/svg2gfx.xsl | 72 - includes/js/dojox/gfx/demos/data/transform.json | 1567 -- includes/js/dojox/gfx/demos/images/clock_face.jpg | Bin 31088 -> 0 bytes .../js/dojox/gfx/demos/images/clock_face_black.jpg | Bin 17347 -> 0 bytes includes/js/dojox/gfx/demos/inspector.html | 165 - includes/js/dojox/gfx/demos/lion.html | 235 - includes/js/dojox/gfx/demos/roundedPane.html | 191 - includes/js/dojox/gfx/demos/tiger.html | 566 - includes/js/dojox/gfx/demos/tooltip.html | 238 - includes/js/dojox/gfx/fx.js | 281 - includes/js/dojox/gfx/matrix.js | 444 - includes/js/dojox/gfx/move.js | 8 - includes/js/dojox/gfx/path.js | 361 - includes/js/dojox/gfx/shape.js | 691 - includes/js/dojox/gfx/silverlight.js | 693 - includes/js/dojox/gfx/silverlight_attach.js | 87 - includes/js/dojox/gfx/svg.js | 638 - includes/js/dojox/gfx/svg_attach.js | 224 - includes/js/dojox/gfx/tests/decompose.js | 114 - includes/js/dojox/gfx/tests/matrix.js | 228 - includes/js/dojox/gfx/tests/module.js | 13 - includes/js/dojox/gfx/tests/runTests.html | 9 - includes/js/dojox/gfx/tests/test_arc.html | 71 - includes/js/dojox/gfx/tests/test_bezier.html | 85 - includes/js/dojox/gfx/tests/test_decompose.html | 54 - includes/js/dojox/gfx/tests/test_fill.html | 47 - includes/js/dojox/gfx/tests/test_fx.html | 113 - includes/js/dojox/gfx/tests/test_gfx.html | 489 - includes/js/dojox/gfx/tests/test_gradient.html | 70 - includes/js/dojox/gfx/tests/test_group.html | 73 - includes/js/dojox/gfx/tests/test_image1.html | 74 - includes/js/dojox/gfx/tests/test_image2.html | 50 - .../js/dojox/gfx/tests/test_linearGradient.html | 80 - includes/js/dojox/gfx/tests/test_linestyle.html | 45 - includes/js/dojox/gfx/tests/test_pattern.html | 44 - includes/js/dojox/gfx/tests/test_poly.html | 53 - includes/js/dojox/gfx/tests/test_resize.html | 61 - includes/js/dojox/gfx/tests/test_setPath.html | 76 - includes/js/dojox/gfx/tests/test_tbbox.html | 117 - includes/js/dojox/gfx/tests/test_text.html | 88 - includes/js/dojox/gfx/tests/test_textpath.html | 76 - includes/js/dojox/gfx/tests/test_transform.html | 98 - includes/js/dojox/gfx/utils.js | 87 - includes/js/dojox/gfx/vml.js | 1165 -- includes/js/dojox/gfx/vml_attach.js | 362 - includes/js/dojox/gfx3d.js | 11 - includes/js/dojox/gfx3d/README | 36 - includes/js/dojox/gfx3d/_base.js | 19 - includes/js/dojox/gfx3d/gradient.js | 41 - includes/js/dojox/gfx3d/lighting.js | 241 - includes/js/dojox/gfx3d/matrix.js | 339 - includes/js/dojox/gfx3d/object.js | 1092 -- includes/js/dojox/gfx3d/scheduler.js | 126 - .../js/dojox/gfx3d/tests/test_camerarotate.html | 93 - .../gfx3d/tests/test_camerarotate_shaded.html | 97 - includes/js/dojox/gfx3d/tests/test_cube.html | 50 - includes/js/dojox/gfx3d/tests/test_cylinder.html | 66 - includes/js/dojox/gfx3d/tests/test_drawer.html | 92 - includes/js/dojox/gfx3d/tests/test_edges.html | 73 - includes/js/dojox/gfx3d/tests/test_matrix.html | 89 - includes/js/dojox/gfx3d/tests/test_orbit.html | 50 - includes/js/dojox/gfx3d/tests/test_overlap.html | 69 - includes/js/dojox/gfx3d/tests/test_polygon.html | 44 - includes/js/dojox/gfx3d/tests/test_quads.html | 78 - includes/js/dojox/gfx3d/tests/test_rotate.html | 123 - includes/js/dojox/gfx3d/tests/test_scene.html | 66 - includes/js/dojox/gfx3d/tests/test_triangles.html | 82 - includes/js/dojox/gfx3d/tests/test_vector.html | 59 - includes/js/dojox/gfx3d/vector.js | 110 - includes/js/dojox/grid/Grid.js | 363 - includes/js/dojox/grid/README | 39 - includes/js/dojox/grid/VirtualGrid.js | 779 - includes/js/dojox/grid/_data/dijitEditors.js | 170 - includes/js/dojox/grid/_data/editors.js | 239 - includes/js/dojox/grid/_data/fields.js | 104 - includes/js/dojox/grid/_data/model.js | 762 - includes/js/dojox/grid/_grid/Grid.css | 201 - .../js/dojox/grid/_grid/Grid.css.commented.css | 258 - includes/js/dojox/grid/_grid/Grid_rtl.css | 8 - .../js/dojox/grid/_grid/Grid_rtl.css.commented.css | 10 - includes/js/dojox/grid/_grid/builder.js | 522 - includes/js/dojox/grid/_grid/cell.js | 66 - includes/js/dojox/grid/_grid/drag.js | 113 - includes/js/dojox/grid/_grid/edit.js | 238 - includes/js/dojox/grid/_grid/focus.js | 207 - .../dojox/grid/_grid/images/grid_dx_gradient.gif | Bin 267 -> 0 bytes .../js/dojox/grid/_grid/images/grid_sort_down.gif | Bin 49 -> 0 bytes .../js/dojox/grid/_grid/images/grid_sort_up.gif | Bin 48 -> 0 bytes .../dojox/grid/_grid/images/tabEnabled_rotated.png | Bin 94 -> 0 bytes .../dojox/grid/_grid/images/tabHover_rotated.png | Bin 106 -> 0 bytes includes/js/dojox/grid/_grid/layout.js | 75 - includes/js/dojox/grid/_grid/lib.js | 254 - includes/js/dojox/grid/_grid/nihiloGrid.css | 211 - .../dojox/grid/_grid/nihiloGrid.css.commented.css | 275 - includes/js/dojox/grid/_grid/publicEvents.js | 451 - includes/js/dojox/grid/_grid/rowbar.js | 53 - includes/js/dojox/grid/_grid/rows.js | 66 - includes/js/dojox/grid/_grid/scroller.js | 489 - includes/js/dojox/grid/_grid/selection.js | 215 - includes/js/dojox/grid/_grid/soriaGrid.css | 212 - .../dojox/grid/_grid/soriaGrid.css.commented.css | 276 - includes/js/dojox/grid/_grid/tundraGrid.css | 215 - .../dojox/grid/_grid/tundraGrid.css.commented.css | 281 - includes/js/dojox/grid/_grid/view.js | 336 - includes/js/dojox/grid/_grid/views.js | 277 - includes/js/dojox/grid/resources/GridView.html | 12 - includes/js/dojox/grid/resources/VirtualGrid.html | 5 - includes/js/dojox/grid/tests/databaseModel.js | 337 - includes/js/dojox/grid/tests/images/closed.gif | Bin 907 -> 0 bytes includes/js/dojox/grid/tests/images/flatScreen.gif | Bin 824 -> 0 bytes includes/js/dojox/grid/tests/images/open.gif | Bin 907 -> 0 bytes includes/js/dojox/grid/tests/support/books.xml | 103 - includes/js/dojox/grid/tests/support/data.php | 379 - includes/js/dojox/grid/tests/support/geography.xml | 51 - includes/js/dojox/grid/tests/support/json.php | 794 - includes/js/dojox/grid/tests/support/movies.csv | 9 - includes/js/dojox/grid/tests/support/test_data.js | 30 - .../dojox/grid/tests/support/test_data_objects.js | 31 - includes/js/dojox/grid/tests/support/testtbl.sql | 944 -- .../js/dojox/grid/tests/support/yahoo_search.js | 131 - .../js/dojox/grid/tests/test_change_structure.html | 124 - includes/js/dojox/grid/tests/test_custom_sort.html | 86 - .../js/dojox/grid/tests/test_dojo_data_edit.html | 124 - .../js/dojox/grid/tests/test_dojo_data_empty.html | 63 - .../js/dojox/grid/tests/test_dojo_data_model.html | 84 - .../tests/test_dojo_data_model_EmptyResultSet.html | 57 - .../tests/test_dojo_data_model_multiStores.html | 291 - .../tests/test_dojo_data_model_processError.html | 65 - .../grid/tests/test_dojo_data_notification.html | 114 - includes/js/dojox/grid/tests/test_edit.html | 149 - .../js/dojox/grid/tests/test_edit_canEdit.html | 156 - includes/js/dojox/grid/tests/test_edit_dijit.html | 137 - includes/js/dojox/grid/tests/test_events.html | 174 - includes/js/dojox/grid/tests/test_expand.html | 107 - includes/js/dojox/grid/tests/test_grid.html | 69 - includes/js/dojox/grid/tests/test_grid_dlg.html | 88 - .../dojox/grid/tests/test_grid_headerHeight.html | 84 - includes/js/dojox/grid/tests/test_grid_layout.html | 112 - .../tests/test_grid_layout_LayoutContainer.html | 87 - .../tests/test_grid_layout_borderContainer.html | 98 - .../grid/tests/test_grid_object_model_change.html | 86 - .../dojox/grid/tests/test_grid_programmatic.html | 65 - .../grid/tests/test_grid_programmatic_layout.html | 74 - includes/js/dojox/grid/tests/test_grid_rtl.html | 71 - includes/js/dojox/grid/tests/test_grid_themes.html | 118 - .../dojox/grid/tests/test_grid_tooltip_menu.html | 161 - includes/js/dojox/grid/tests/test_keyboard.html | 90 - includes/js/dojox/grid/tests/test_markup.html | 112 - includes/js/dojox/grid/tests/test_mysql_edit.html | 155 - includes/js/dojox/grid/tests/test_sizing.html | 175 - .../js/dojox/grid/tests/test_sizing_100rows.html | 168 - .../dojox/grid/tests/test_sizing_ResizeHandle.html | 113 - includes/js/dojox/grid/tests/test_styling.html | 131 - includes/js/dojox/grid/tests/test_subgrid.html | 179 - includes/js/dojox/grid/tests/test_tundra_edit.html | 139 - .../js/dojox/grid/tests/test_yahoo_images.html | 148 - .../js/dojox/grid/tests/test_yahoo_search.html | 141 - includes/js/dojox/grid/tests/yahooSearch.js | 137 - includes/js/dojox/help/README | 35 - includes/js/dojox/help/_base.js | 473 - includes/js/dojox/help/console.js | 80 - includes/js/dojox/help/demos/demo_Console.html | 33 - includes/js/dojox/highlight.js | 6 - includes/js/dojox/highlight/README | 31 - includes/js/dojox/highlight/_base.js | 406 - includes/js/dojox/highlight/languages/_all.js | 11 - includes/js/dojox/highlight/languages/_dynamic.js | 11 - includes/js/dojox/highlight/languages/_static.js | 10 - includes/js/dojox/highlight/languages/_www.js | 12 - includes/js/dojox/highlight/languages/cpp.js | 53 - includes/js/dojox/highlight/languages/css.js | 96 - includes/js/dojox/highlight/languages/delphi.js | 122 - includes/js/dojox/highlight/languages/django.js | 97 - includes/js/dojox/highlight/languages/html.js | 70 - .../js/dojox/highlight/languages/javascript.js | 55 - .../js/dojox/highlight/languages/pygments/_html.js | 25 - .../js/dojox/highlight/languages/pygments/_www.js | 12 - .../js/dojox/highlight/languages/pygments/css.js | 211 - .../js/dojox/highlight/languages/pygments/html.js | 101 - .../highlight/languages/pygments/javascript.js | 152 - .../js/dojox/highlight/languages/pygments/xml.js | 79 - includes/js/dojox/highlight/languages/python.js | 102 - includes/js/dojox/highlight/languages/sql.js | 101 - includes/js/dojox/highlight/languages/xml.js | 69 - .../js/dojox/highlight/resources/highlight.css | 51 - .../resources/highlight.css.commented.css | 58 - .../dojox/highlight/resources/pygments/autumn.css | 22 - .../resources/pygments/autumn.css.commented.css | 28 - .../dojox/highlight/resources/pygments/borland.css | 11 - .../resources/pygments/borland.css.commented.css | 17 - .../highlight/resources/pygments/colorful.css | 37 - .../resources/pygments/colorful.css.commented.css | 43 - .../dojox/highlight/resources/pygments/default.css | 28 - .../resources/pygments/default.css.commented.css | 35 - .../dojox/highlight/resources/pygments/emacs.css | 29 - .../resources/pygments/emacs.css.commented.css | 36 - .../highlight/resources/pygments/friendly.css | 29 - .../resources/pygments/friendly.css.commented.css | 36 - .../dojox/highlight/resources/pygments/fruity.css | 14 - .../resources/pygments/fruity.css.commented.css | 20 - .../dojox/highlight/resources/pygments/manni.css | 30 - .../resources/pygments/manni.css.commented.css | 37 - .../dojox/highlight/resources/pygments/murphy.css | 37 - .../resources/pygments/murphy.css.commented.css | 43 - .../dojox/highlight/resources/pygments/native.css | 21 - .../resources/pygments/native.css.commented.css | 28 - .../dojox/highlight/resources/pygments/pastie.css | 30 - .../resources/pygments/pastie.css.commented.css | 36 - .../dojox/highlight/resources/pygments/perldoc.css | 23 - .../resources/pygments/perldoc.css.commented.css | 30 - .../js/dojox/highlight/resources/pygments/trac.css | 20 - .../resources/pygments/trac.css.commented.css | 26 - .../js/dojox/highlight/tests/test_highlight.html | 327 - .../js/dojox/highlight/tests/test_pygments.html | 142 - includes/js/dojox/image/Gallery.js | 182 - includes/js/dojox/image/Lightbox.js | 451 - includes/js/dojox/image/Magnifier.js | 75 - includes/js/dojox/image/MagnifierLite.js | 126 - includes/js/dojox/image/README | 66 - includes/js/dojox/image/SlideShow.js | 598 - includes/js/dojox/image/ThumbnailPicker.js | 535 - includes/js/dojox/image/resources/Gallery.html | 4 - includes/js/dojox/image/resources/Lightbox.html | 15 - includes/js/dojox/image/resources/Magnifier.css | 5 - .../image/resources/Magnifier.css.commented.css | 5 - includes/js/dojox/image/resources/SlideShow.html | 14 - .../js/dojox/image/resources/ThumbnailPicker.html | 11 - includes/js/dojox/image/resources/image.css | 283 - .../dojox/image/resources/image.css.commented.css | 345 - .../js/dojox/image/resources/images/buttons.gif | Bin 4620 -> 0 bytes .../js/dojox/image/resources/images/buttons.png | Bin 9259 -> 0 bytes includes/js/dojox/image/resources/images/close.png | Bin 675 -> 0 bytes .../js/dojox/image/resources/images/close_dark.png | Bin 711 -> 0 bytes includes/js/dojox/image/resources/images/left.png | Bin 626 -> 0 bytes .../js/dojox/image/resources/images/loading.gif | Bin 4178 -> 0 bytes includes/js/dojox/image/resources/images/right.png | Bin 621 -> 0 bytes .../js/dojox/image/resources/images/warning.png | Bin 995 -> 0 bytes includes/js/dojox/image/tests/images.json | 32 - includes/js/dojox/image/tests/images/extraWide.jpg | Bin 49250 -> 0 bytes includes/js/dojox/image/tests/images/huuuge.png | Bin 37958 -> 0 bytes .../js/dojox/image/tests/images/imageHoriz.jpg | Bin 47693 -> 0 bytes .../js/dojox/image/tests/images/imageHoriz2.jpg | Bin 77176 -> 0 bytes includes/js/dojox/image/tests/images/imageVert.jpg | Bin 71533 -> 0 bytes includes/js/dojox/image/tests/images/spanke.jpg | Bin 302741 -> 0 bytes includes/js/dojox/image/tests/images/square.jpg | Bin 82010 -> 0 bytes includes/js/dojox/image/tests/test_Gallery.html | 67 - includes/js/dojox/image/tests/test_Lightbox.html | 105 - includes/js/dojox/image/tests/test_Magnifier.html | 98 - .../js/dojox/image/tests/test_MagnifierLite.html | 91 - includes/js/dojox/image/tests/test_SlideShow.html | 68 - .../js/dojox/image/tests/test_ThumbnailPicker.html | 134 - includes/js/dojox/io/README | 45 - includes/js/dojox/io/proxy/README | 82 - includes/js/dojox/io/proxy/tests/frag.xml | 4 - includes/js/dojox/io/proxy/tests/xip.html | 62 - includes/js/dojox/io/proxy/xip.js | 441 - includes/js/dojox/io/proxy/xip_client.html | 102 - includes/js/dojox/io/proxy/xip_server.html | 382 - includes/js/dojox/io/xhrMultiPart.js | 81 - includes/js/dojox/jsonPath.js | 6 - includes/js/dojox/jsonPath/README | 125 - includes/js/dojox/jsonPath/query.js | 163 - includes/js/dojox/jsonPath/tests/jsonPath.js | 211 - includes/js/dojox/jsonPath/tests/module.js | 12 - includes/js/dojox/jsonPath/tests/runTests.html | 9 - includes/js/dojox/lang/LICENSE | 21 - includes/js/dojox/lang/README | 37 - includes/js/dojox/lang/functional.js | 9 - includes/js/dojox/lang/functional/array.js | 113 - includes/js/dojox/lang/functional/curry.js | 96 - includes/js/dojox/lang/functional/fold.js | 87 - includes/js/dojox/lang/functional/lambda.js | 110 - includes/js/dojox/lang/functional/listcomp.js | 54 - includes/js/dojox/lang/functional/object.js | 48 - includes/js/dojox/lang/functional/reversed.js | 79 - includes/js/dojox/lang/functional/scan.js | 84 - includes/js/dojox/lang/functional/sequence.js | 38 - includes/js/dojox/lang/functional/zip.js | 45 - includes/js/dojox/lang/tests/array.js | 84 - includes/js/dojox/lang/tests/curry.js | 31 - includes/js/dojox/lang/tests/fold.js | 64 - includes/js/dojox/lang/tests/fun_perf.html | 176 - includes/js/dojox/lang/tests/lambda.js | 24 - includes/js/dojox/lang/tests/listcomp.js | 28 - includes/js/dojox/lang/tests/main.js | 17 - includes/js/dojox/lang/tests/misc.js | 31 - includes/js/dojox/lang/tests/runTests.html | 9 - includes/js/dojox/lang/utils.js | 54 - includes/js/dojox/layout/BorderContainer.js | 7 - includes/js/dojox/layout/ContentPane.js | 479 - includes/js/dojox/layout/DragPane.js | 65 - includes/js/dojox/layout/ExpandoPane.js | 208 - includes/js/dojox/layout/FloatingPane.js | 394 - includes/js/dojox/layout/README | 75 - includes/js/dojox/layout/RadioGroup.js | 233 - includes/js/dojox/layout/ResizeHandle.js | 271 - includes/js/dojox/layout/ScrollPane.js | 114 - includes/js/dojox/layout/resources/ExpandoPane.css | 99 - .../layout/resources/ExpandoPane.css.commented.css | 116 - .../js/dojox/layout/resources/ExpandoPane.html | 9 - .../js/dojox/layout/resources/FloatingPane.css | 152 - .../resources/FloatingPane.css.commented.css | 183 - .../js/dojox/layout/resources/FloatingPane.html | 14 - includes/js/dojox/layout/resources/RadioGroup.css | 40 - .../layout/resources/RadioGroup.css.commented.css | 45 - .../js/dojox/layout/resources/ResizeHandle.css | 28 - .../resources/ResizeHandle.css.commented.css | 34 - includes/js/dojox/layout/resources/ScrollPane.css | 21 - .../layout/resources/ScrollPane.css.commented.css | 24 - includes/js/dojox/layout/resources/ScrollPane.html | 6 - .../js/dojox/layout/resources/icons/resize.png | Bin 319 -> 0 bytes includes/js/dojox/layout/tests/ContentPane.html | 1059 -- includes/js/dojox/layout/tests/_bottomPane.html | 53 - includes/js/dojox/layout/tests/_expando.css | 477 - .../dojox/layout/tests/_expando.css.commented.css | 64 - includes/js/dojox/layout/tests/_floating.html | 48 - includes/js/dojox/layout/tests/_lorem.html | 11 - includes/js/dojox/layout/tests/_script.html | 9 - includes/js/dojox/layout/tests/doc0.html | 14 - includes/js/dojox/layout/tests/images/blank.gif | Bin 43 -> 0 bytes includes/js/dojox/layout/tests/images/dojoLogo.png | Bin 14712 -> 0 bytes .../js/dojox/layout/tests/images/gridUnderlay.png | Bin 915 -> 0 bytes .../js/dojox/layout/tests/images/testImage.gif | Bin 14171 -> 0 bytes .../js/dojox/layout/tests/remote/getResponse.php | 108 - includes/js/dojox/layout/tests/test_DragPane.html | 93 - .../js/dojox/layout/tests/test_ExpandoPane.html | 307 - .../dojox/layout/tests/test_ExpandoPane_code.html | 98 - .../dojox/layout/tests/test_ExpandoPane_more.html | 114 - .../js/dojox/layout/tests/test_FloatingPane.html | 167 - .../js/dojox/layout/tests/test_RadioGroup.html | 61 - .../js/dojox/layout/tests/test_ResizeHandle.html | 134 - .../js/dojox/layout/tests/test_ScrollPane.html | 129 - .../dojox/layout/tests/test_ScrollPaneSingle.html | 71 - .../js/dojox/layout/tests/test_SizingPane.html | 170 - includes/js/dojox/math.js | 6 - includes/js/dojox/math/README | 38 - includes/js/dojox/math/_base.js | 122 - includes/js/dojox/math/curves.js | 193 - includes/js/dojox/math/matrix.js | 294 - includes/js/dojox/off.js | 6 - includes/js/dojox/off/README | 28 - includes/js/dojox/off/_common.js | 559 - includes/js/dojox/off/docs/bookmarklets.html | 10 - includes/js/dojox/off/files.js | 454 - includes/js/dojox/off/network_check.txt | 1 - includes/js/dojox/off/offline.js | 20 - includes/js/dojox/off/offline.js.uncompressed.js | 5910 ------- includes/js/dojox/off/resources/checkmark.png | Bin 27329 -> 0 bytes includes/js/dojox/off/resources/greenball.png | Bin 27414 -> 0 bytes includes/js/dojox/off/resources/learnhow.html | 43 - includes/js/dojox/off/resources/learnhow.js | 43 - includes/js/dojox/off/resources/offline-widget.css | 88 - .../off/resources/offline-widget.css.commented.css | 112 - .../js/dojox/off/resources/offline-widget.html | 40 - includes/js/dojox/off/resources/redball.png | Bin 27409 -> 0 bytes includes/js/dojox/off/resources/roller.gif | Bin 7462 -> 0 bytes includes/js/dojox/off/sync.js | 690 - includes/js/dojox/off/ui.js | 622 - includes/js/dojox/presentation.js | 6 - includes/js/dojox/presentation/README | 72 - includes/js/dojox/presentation/_base.js | 557 - includes/js/dojox/presentation/resources/Show.css | 100 - .../presentation/resources/Show.css.commented.css | 110 - includes/js/dojox/presentation/resources/Show.html | 12 - .../js/dojox/presentation/resources/Slide.html | 4 - .../js/dojox/presentation/resources/icons/down.png | Bin 469 -> 0 bytes .../js/dojox/presentation/resources/icons/next.png | Bin 470 -> 0 bytes .../js/dojox/presentation/resources/icons/prev.png | Bin 460 -> 0 bytes .../js/dojox/presentation/resources/icons/up.png | Bin 464 -> 0 bytes includes/js/dojox/presentation/tests/_ext1.html | 21 - .../presentation/tests/test_presentation.html | 162 - includes/js/dojox/resources/README.template | 36 - includes/js/dojox/resources/_modules.js | 204 - includes/js/dojox/resources/manualTests.html | 12 - includes/js/dojox/resources/manualTests.js | 211 - includes/js/dojox/rpc/CouchDBRestStore.js | 87 - includes/js/dojox/rpc/JsonRPC.js | 58 - includes/js/dojox/rpc/JsonReferencing.js | 265 - includes/js/dojox/rpc/JsonRestStore.js | 661 - includes/js/dojox/rpc/PersevereRestStore.js | 39 - includes/js/dojox/rpc/README | 52 - includes/js/dojox/rpc/Rest.js | 90 - includes/js/dojox/rpc/SMDLibrary/yahoo.smd | 493 - includes/js/dojox/rpc/Service.js | 293 - .../rpc/demos/demo_JsonRestStore_CouchDB.html | 125 - .../rpc/demos/demo_JsonRestStore_Persevere.html | 65 - includes/js/dojox/rpc/demos/documentation.html | 33 - .../dojox/rpc/demos/templates/documentation.html | 8 - includes/js/dojox/rpc/demos/templates/yahoo.html | 31 - includes/js/dojox/rpc/demos/yahoo.html | 39 - includes/js/dojox/rpc/documentation.smd | 30 - includes/js/dojox/rpc/test.txt | 0 includes/js/dojox/rpc/tests/JsonReferencing.js | 30 - includes/js/dojox/rpc/tests/Service.js | 702 - includes/js/dojox/rpc/tests/Yahoo.js | 317 - includes/js/dojox/rpc/tests/libraryTests.js | 12 - includes/js/dojox/rpc/tests/module.js | 13 - includes/js/dojox/rpc/tests/resources/JSON.php | 724 - includes/js/dojox/rpc/tests/resources/bigQuery | 1 - includes/js/dojox/rpc/tests/resources/bigQuery5 | 1 - includes/js/dojox/rpc/tests/resources/echo.php | 7 - includes/js/dojox/rpc/tests/resources/echoJson.php | 8 - .../js/dojox/rpc/tests/resources/fakestore.php | 36 - .../js/dojox/rpc/tests/resources/jsonRpc10.php | 47 - .../js/dojox/rpc/tests/resources/jsonRpc11.php | 52 - .../js/dojox/rpc/tests/resources/jsonRpc12.php | 53 - .../rpc/tests/resources/jsonRpcPostGetEcho.php | 38 - .../js/dojox/rpc/tests/resources/jsonpEcho.php | 23 - .../js/dojox/rpc/tests/resources/jsonpEcho.phps | 23 - .../dojox/rpc/tests/resources/jsonpJsonRpcEcho.php | 37 - includes/js/dojox/rpc/tests/resources/obj1 | 1 - .../js/dojox/rpc/tests/resources/obj1testArray | 1 - includes/js/dojox/rpc/tests/resources/obj3 | 1 - includes/js/dojox/rpc/tests/resources/obj4 | 1 - includes/js/dojox/rpc/tests/resources/query | 6 - includes/js/dojox/rpc/tests/resources/rawEcho.php | 5 - includes/js/dojox/rpc/tests/resources/res | 1 - includes/js/dojox/rpc/tests/resources/store.php | 24 - includes/js/dojox/rpc/tests/resources/test.smd | 189 - includes/js/dojox/rpc/tests/runLibraryTests.html | 9 - includes/js/dojox/rpc/tests/runTests.html | 9 - .../js/dojox/rpc/tests/stores/JsonRestStore.js | 237 - .../rpc/tests/test_dojo_data_model_persevere.html | 146 - includes/js/dojox/sketch.js | 13 - includes/js/dojox/sketch/Anchor.js | 61 - includes/js/dojox/sketch/Annotation.js | 223 - includes/js/dojox/sketch/DoubleArrowAnnotation.js | 200 - includes/js/dojox/sketch/Figure.js | 493 - includes/js/dojox/sketch/LeadAnnotation.js | 141 - includes/js/dojox/sketch/PreexistingAnnotation.js | 121 - includes/js/dojox/sketch/README | 58 - includes/js/dojox/sketch/SingleArrowAnnotation.js | 183 - includes/js/dojox/sketch/Slider.js | 31 - includes/js/dojox/sketch/Toolbar.js | 96 - includes/js/dojox/sketch/UnderlineAnnotation.js | 82 - includes/js/dojox/sketch/UndoStack.js | 104 - includes/js/dojox/sketch/_Plugin.js | 83 - .../js/dojox/sketch/resources/images/icons.gif | Bin 600 -> 0 bytes includes/js/dojox/sketch/resources/sketch.css | 17 - .../sketch/resources/sketch.css.commented.css | 17 - includes/js/dojox/sketch/tests/annotation.svg | 1 - includes/js/dojox/sketch/tests/images/figure2.gif | Bin 40349 -> 0 bytes .../js/dojox/sketch/tests/images/testsBodyBg.gif | Bin 753 -> 0 bytes includes/js/dojox/sketch/tests/test_full.html | 66 - includes/js/dojox/sql.js | 6 - includes/js/dojox/storage.js | 6 - includes/js/dojox/storage/AirDBStorageProvider.js | 252 - .../storage/AirEncryptedLocalStorageProvider.js | 221 - .../js/dojox/storage/AirFileStorageProvider.js | 232 - includes/js/dojox/storage/FlashStorageProvider.js | 346 - includes/js/dojox/storage/GearsStorageProvider.js | 320 - includes/js/dojox/storage/Provider.js | 331 - includes/js/dojox/storage/README | 76 - includes/js/dojox/storage/Storage.as | 399 - includes/js/dojox/storage/Storage.swf | Bin 3256 -> 0 bytes includes/js/dojox/storage/WhatWGStorageProvider.js | 278 - includes/js/dojox/storage/_common.js | 20 - includes/js/dojox/storage/buildFlashStorage.sh | 4 - includes/js/dojox/storage/demos/helloworld.html | 90 - includes/js/dojox/storage/manager.js | 261 - includes/js/dojox/storage/storage_dialog.fla | Bin 344064 -> 0 bytes .../js/dojox/storage/tests/resources/testBook.txt | 7104 -------- .../js/dojox/storage/tests/resources/testXML.xml | 203 - includes/js/dojox/storage/tests/test_storage.html | 189 - includes/js/dojox/storage/tests/test_storage.js | 493 - includes/js/dojox/string/Builder.js | 101 - includes/js/dojox/string/README | 39 - includes/js/dojox/string/sprintf.js | 406 - includes/js/dojox/string/tests/Builder.js | 91 - includes/js/dojox/string/tests/BuilderPerf.html | 403 - includes/js/dojox/string/tests/PerfFun.html | 260 - includes/js/dojox/string/tests/lipsum.js | 133 - includes/js/dojox/string/tests/notes.txt | 153 - includes/js/dojox/string/tests/peller.html | 78 - includes/js/dojox/string/tests/runTests.html | 9 - includes/js/dojox/string/tests/sprintf.js | 277 - includes/js/dojox/string/tests/string.js | 10 - includes/js/dojox/string/tokenize.js | 42 - includes/js/dojox/timing.js | 6 - includes/js/dojox/timing/README | 58 - includes/js/dojox/timing/Sequence.js | 145 - includes/js/dojox/timing/Streamer.js | 94 - includes/js/dojox/timing/ThreadPool.js | 157 - includes/js/dojox/timing/_base.js | 58 - includes/js/dojox/timing/tests/test_Sequence.html | 80 - .../js/dojox/timing/tests/test_ThreadPool.html | 16 - includes/js/dojox/uuid.js | 6 - includes/js/dojox/uuid/README | 43 - includes/js/dojox/uuid/Uuid.js | 200 - includes/js/dojox/uuid/_base.js | 245 - includes/js/dojox/uuid/generateRandomUuid.js | 56 - includes/js/dojox/uuid/generateTimeBasedUuid.js | 290 - includes/js/dojox/uuid/tests/runTests.html | 10 - includes/js/dojox/uuid/tests/uuid.js | 377 - includes/js/dojox/validate.js | 6 - includes/js/dojox/validate/README | 37 - includes/js/dojox/validate/_base.js | 183 - includes/js/dojox/validate/ca.js | 44 - includes/js/dojox/validate/check.js | 261 - includes/js/dojox/validate/creditCard.js | 92 - includes/js/dojox/validate/isbn.js | 37 - includes/js/dojox/validate/regexp.js | 331 - includes/js/dojox/validate/tests/creditcard.js | 119 - includes/js/dojox/validate/tests/module.js | 14 - includes/js/dojox/validate/tests/runTests.html | 9 - includes/js/dojox/validate/tests/validate.js | 316 - includes/js/dojox/validate/us.js | 67 - includes/js/dojox/validate/web.js | 89 - includes/js/dojox/widget/ColorPicker.js | 284 - .../js/dojox/widget/ColorPicker/ColorPicker.css | 78 - .../ColorPicker/ColorPicker.css.commented.css | 89 - .../js/dojox/widget/ColorPicker/ColorPicker.html | 31 - .../js/dojox/widget/ColorPicker/images/hue.png | Bin 1991 -> 0 bytes .../dojox/widget/ColorPicker/images/hueHandle.png | Bin 280 -> 0 bytes .../widget/ColorPicker/images/pickerPointer.png | Bin 228 -> 0 bytes .../dojox/widget/ColorPicker/images/underlay.png | Bin 10788 -> 0 bytes includes/js/dojox/widget/FileInput.js | 75 - includes/js/dojox/widget/FileInput/FileInput.css | 70 - .../widget/FileInput/FileInput.css.commented.css | 79 - includes/js/dojox/widget/FileInput/FileInput.html | 9 - .../js/dojox/widget/FileInput/FileInputAuto.html | 9 - includes/js/dojox/widget/FileInput/ReceiveFile.php | 37 - includes/js/dojox/widget/FileInputAuto.js | 185 - includes/js/dojox/widget/FisheyeList.js | 708 - .../js/dojox/widget/FisheyeList/FisheyeList.css | 24 - .../FisheyeList/FisheyeList.css.commented.css | 28 - includes/js/dojox/widget/FisheyeLite.js | 135 - includes/js/dojox/widget/Iterator.js | 177 - includes/js/dojox/widget/Loader.js | 103 - includes/js/dojox/widget/Loader/Loader.css | 24 - .../dojox/widget/Loader/Loader.css.commented.css | 27 - includes/js/dojox/widget/Loader/README | 39 - includes/js/dojox/widget/Loader/honey.php | 27 - includes/js/dojox/widget/Loader/icons/loading.gif | Bin 751 -> 0 bytes includes/js/dojox/widget/MultiComboBox.js | 61 - includes/js/dojox/widget/README | 84 - includes/js/dojox/widget/Rating.js | 90 - includes/js/dojox/widget/Rating/Rating.css | 20 - .../dojox/widget/Rating/Rating.css.commented.css | 24 - includes/js/dojox/widget/Rating/rating_empty.gif | Bin 934 -> 0 bytes includes/js/dojox/widget/Rating/rating_empty.png | Bin 482 -> 0 bytes includes/js/dojox/widget/Rating/rating_full.gif | Bin 936 -> 0 bytes includes/js/dojox/widget/Rating/rating_full.png | Bin 483 -> 0 bytes includes/js/dojox/widget/Rating/rating_half.png | Bin 541 -> 0 bytes includes/js/dojox/widget/SortList.js | 151 - includes/js/dojox/widget/SortList/SortList.css | 57 - .../widget/SortList/SortList.css.commented.css | 64 - includes/js/dojox/widget/SortList/SortList.html | 9 - includes/js/dojox/widget/TimeSpinner.js | 48 - includes/js/dojox/widget/Toaster.js | 268 - includes/js/dojox/widget/Toaster/Toaster.css | 39 - .../dojox/widget/Toaster/Toaster.css.commented.css | 47 - includes/js/dojox/widget/Wizard.js | 192 - includes/js/dojox/widget/Wizard/Wizard.css | 19 - .../dojox/widget/Wizard/Wizard.css.commented.css | 22 - includes/js/dojox/widget/Wizard/Wizard.html | 9 - includes/js/dojox/widget/nls/Wizard.js | 1 - includes/js/dojox/widget/nls/ar/Wizard.js | 1 - includes/js/dojox/widget/nls/cs/Wizard.js | 1 - includes/js/dojox/widget/nls/da/Wizard.js | 1 - includes/js/dojox/widget/nls/de/Wizard.js | 1 - includes/js/dojox/widget/nls/el/Wizard.js | 1 - includes/js/dojox/widget/nls/es/Wizard.js | 1 - includes/js/dojox/widget/nls/fi/Wizard.js | 1 - includes/js/dojox/widget/nls/fr/Wizard.js | 1 - includes/js/dojox/widget/nls/he/Wizard.js | 1 - includes/js/dojox/widget/nls/hu/Wizard.js | 1 - includes/js/dojox/widget/nls/it/Wizard.js | 1 - includes/js/dojox/widget/nls/ja/Wizard.js | 1 - includes/js/dojox/widget/nls/ko/Wizard.js | 1 - includes/js/dojox/widget/nls/nb/Wizard.js | 1 - includes/js/dojox/widget/nls/nl/Wizard.js | 1 - includes/js/dojox/widget/nls/pl/Wizard.js | 1 - includes/js/dojox/widget/nls/pt-pt/Wizard.js | 1 - includes/js/dojox/widget/nls/pt/Wizard.js | 1 - includes/js/dojox/widget/nls/ru/Wizard.js | 1 - includes/js/dojox/widget/nls/sv/Wizard.js | 1 - includes/js/dojox/widget/nls/tr/Wizard.js | 1 - includes/js/dojox/widget/nls/zh-tw/Wizard.js | 1 - includes/js/dojox/widget/nls/zh/Wizard.js | 1 - includes/js/dojox/widget/tests/_tags.json | 100 - .../dojox/widget/tests/demo_FisheyeList-orig.html | 111 - .../js/dojox/widget/tests/demo_FisheyeList.html | 117 - .../js/dojox/widget/tests/demo_FisheyeLite.html | 175 - .../js/dojox/widget/tests/images/fisheye_1.png | Bin 3799 -> 0 bytes .../js/dojox/widget/tests/images/fisheye_2.png | Bin 4479 -> 0 bytes .../js/dojox/widget/tests/images/fisheye_3.png | Bin 4321 -> 0 bytes .../js/dojox/widget/tests/images/fisheye_4.png | Bin 4389 -> 0 bytes .../js/dojox/widget/tests/images/icon_browser.png | Bin 18619 -> 0 bytes .../js/dojox/widget/tests/images/icon_calendar.png | Bin 10822 -> 0 bytes .../js/dojox/widget/tests/images/icon_email.png | Bin 17133 -> 0 bytes .../dojox/widget/tests/images/icon_texteditor.png | Bin 25271 -> 0 bytes .../js/dojox/widget/tests/images/icon_update.png | Bin 21984 -> 0 bytes .../js/dojox/widget/tests/images/icon_users.png | Bin 24802 -> 0 bytes .../js/dojox/widget/tests/images/rating_empty.gif | Bin 1277 -> 0 bytes .../js/dojox/widget/tests/images/rating_empty.png | Bin 2031 -> 0 bytes .../js/dojox/widget/tests/images/rating_full.gif | Bin 1314 -> 0 bytes .../js/dojox/widget/tests/images/rating_full.png | Bin 2241 -> 0 bytes .../js/dojox/widget/tests/test_ColorPicker.html | 41 - includes/js/dojox/widget/tests/test_FileInput.html | 115 - .../js/dojox/widget/tests/test_FisheyeList.html | 144 - .../js/dojox/widget/tests/test_FisheyeLite.html | 257 - includes/js/dojox/widget/tests/test_Iterator.html | 73 - includes/js/dojox/widget/tests/test_Loader.html | 81 - .../js/dojox/widget/tests/test_MultiComboBox.html | 70 - includes/js/dojox/widget/tests/test_Rating.html | 91 - includes/js/dojox/widget/tests/test_SortList.html | 74 - .../js/dojox/widget/tests/test_TimeSpinner.html | 87 - includes/js/dojox/widget/tests/test_Toaster.html | 147 - includes/js/dojox/widget/tests/test_Wizard.html | 118 - includes/js/dojox/wire.js | 7 - includes/js/dojox/wire/CompositeWire.js | 103 - includes/js/dojox/wire/DataWire.js | 179 - includes/js/dojox/wire/README | 53 - includes/js/dojox/wire/TableAdapter.js | 88 - includes/js/dojox/wire/TextAdapter.js | 88 - includes/js/dojox/wire/TreeAdapter.js | 188 - includes/js/dojox/wire/Wire.js | 336 - includes/js/dojox/wire/XmlWire.js | 244 - includes/js/dojox/wire/_base.js | 195 - includes/js/dojox/wire/demos/TableContainer.css | 25 - .../wire/demos/TableContainer.css.commented.css | 30 - includes/js/dojox/wire/demos/TableContainer.js | 68 - includes/js/dojox/wire/demos/WidgetRepeater.js | 33 - includes/js/dojox/wire/demos/markup/countries.json | 43 - .../wire/demos/markup/demo_ActionChaining.html | 108 - .../dojox/wire/demos/markup/demo_ActionWiring.html | 142 - .../wire/demos/markup/demo_BasicChildWire.html | 78 - .../wire/demos/markup/demo_BasicColumnWiring.html | 90 - .../wire/demos/markup/demo_ConditionalActions.html | 221 - .../wire/demos/markup/demo_FlickrStoreWire.html | 281 - .../dojox/wire/demos/markup/demo_TopicWiring.html | 78 - includes/js/dojox/wire/demos/markup/flickrDemo.css | 29 - .../wire/demos/markup/flickrDemo.css.commented.css | 35 - includes/js/dojox/wire/demos/markup/states.json | 56 - includes/js/dojox/wire/ml/Action.js | 225 - includes/js/dojox/wire/ml/Data.js | 143 - includes/js/dojox/wire/ml/DataStore.js | 116 - includes/js/dojox/wire/ml/Invocation.js | 171 - includes/js/dojox/wire/ml/Service.js | 340 - includes/js/dojox/wire/ml/Transfer.js | 359 - includes/js/dojox/wire/ml/util.js | 295 - includes/js/dojox/wire/tests/markup/Action.html | 147 - includes/js/dojox/wire/tests/markup/Data.html | 105 - includes/js/dojox/wire/tests/markup/DataStore.html | 66 - includes/js/dojox/wire/tests/markup/DataStore.xml | 18 - .../js/dojox/wire/tests/markup/Invocation.html | 53 - includes/js/dojox/wire/tests/markup/Service.html | 84 - .../js/dojox/wire/tests/markup/Service/JSON.smd | 11 - .../js/dojox/wire/tests/markup/Service/XML.smd | 11 - includes/js/dojox/wire/tests/markup/Service/a.json | 5 - includes/js/dojox/wire/tests/markup/Service/a.xml | 5 - includes/js/dojox/wire/tests/markup/Transfer.html | 157 - includes/js/dojox/wire/tests/module.js | 13 - .../dojox/wire/tests/programmatic/CompositeWire.js | 51 - .../wire/tests/programmatic/ConverterDynamic.js | 12 - .../js/dojox/wire/tests/programmatic/DataWire.js | 25 - .../dojox/wire/tests/programmatic/TableAdapter.js | 24 - .../dojox/wire/tests/programmatic/TextAdapter.js | 25 - .../dojox/wire/tests/programmatic/TreeAdapter.js | 29 - includes/js/dojox/wire/tests/programmatic/Wire.js | 123 - .../js/dojox/wire/tests/programmatic/XmlWire.js | 32 - includes/js/dojox/wire/tests/programmatic/_base.js | 111 - includes/js/dojox/wire/tests/runTests.html | 9 - includes/js/dojox/wire/tests/wire.js | 18 - includes/js/dojox/wire/tests/wireml.js | 18 - includes/js/dojox/xml/DomParser.js | 379 - includes/js/dojox/xml/README | 40 - includes/js/util/doh/LICENSE | 195 - includes/js/util/doh/README | 12 - includes/js/util/doh/_browserRunner.js | 465 - includes/js/util/doh/_rhinoRunner.js | 17 - includes/js/util/doh/_sounds/LICENSE | 10 - includes/js/util/doh/_sounds/doh.wav | Bin 2878 -> 0 bytes includes/js/util/doh/_sounds/dohaaa.wav | Bin 14318 -> 0 bytes includes/js/util/doh/_sounds/woohoo.wav | Bin 3814 -> 0 bytes includes/js/util/doh/runner.html | 283 - includes/js/util/doh/runner.js | 948 -- includes/js/util/doh/runner.sh | 3 - includes/js/util/doh/small_logo.png | Bin 1893 -> 0 bytes 2427 files changed, 301296 deletions(-) delete mode 100644 includes/js/dijit/ColorPalette.js delete mode 100644 includes/js/dijit/Declaration.js delete mode 100644 includes/js/dijit/Dialog.js delete mode 100644 includes/js/dijit/Editor.js delete mode 100644 includes/js/dijit/InlineEditBox.js delete mode 100644 includes/js/dijit/LICENSE delete mode 100644 includes/js/dijit/Menu.js delete mode 100644 includes/js/dijit/ProgressBar.js delete mode 100644 includes/js/dijit/TitlePane.js delete mode 100644 includes/js/dijit/Toolbar.js delete mode 100644 includes/js/dijit/Tooltip.js delete mode 100644 includes/js/dijit/Tree.js delete mode 100644 includes/js/dijit/_Calendar.js delete mode 100644 includes/js/dijit/_Container.js delete mode 100644 includes/js/dijit/_Templated.js delete mode 100644 includes/js/dijit/_TimePicker.js delete mode 100644 includes/js/dijit/_Widget.js delete mode 100644 includes/js/dijit/_base.js delete mode 100644 includes/js/dijit/_base/bidi.js delete mode 100644 includes/js/dijit/_base/focus.js delete mode 100644 includes/js/dijit/_base/manager.js delete mode 100644 includes/js/dijit/_base/place.js delete mode 100644 includes/js/dijit/_base/popup.js delete mode 100644 includes/js/dijit/_base/scroll.js delete mode 100644 includes/js/dijit/_base/sniff.js delete mode 100644 includes/js/dijit/_base/typematic.js delete mode 100644 includes/js/dijit/_base/wai.js delete mode 100644 includes/js/dijit/_base/window.js delete mode 100644 includes/js/dijit/_editor/RichText.js delete mode 100644 includes/js/dijit/_editor/_Plugin.js delete mode 100644 includes/js/dijit/_editor/html.js delete mode 100644 includes/js/dijit/_editor/nls/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/ar/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/ar/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/ar/commands.js delete mode 100644 includes/js/dijit/_editor/nls/commands.js delete mode 100644 includes/js/dijit/_editor/nls/cs/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/cs/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/cs/commands.js delete mode 100644 includes/js/dijit/_editor/nls/da/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/da/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/da/commands.js delete mode 100644 includes/js/dijit/_editor/nls/de/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/de/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/de/commands.js delete mode 100644 includes/js/dijit/_editor/nls/el/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/el/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/el/commands.js delete mode 100644 includes/js/dijit/_editor/nls/es/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/es/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/es/commands.js delete mode 100644 includes/js/dijit/_editor/nls/fi/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/fi/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/fi/commands.js delete mode 100644 includes/js/dijit/_editor/nls/fr/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/fr/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/fr/commands.js delete mode 100644 includes/js/dijit/_editor/nls/he/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/he/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/he/commands.js delete mode 100644 includes/js/dijit/_editor/nls/hu/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/hu/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/hu/commands.js delete mode 100644 includes/js/dijit/_editor/nls/it/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/it/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/it/commands.js delete mode 100644 includes/js/dijit/_editor/nls/ja/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/ja/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/ja/commands.js delete mode 100644 includes/js/dijit/_editor/nls/ko/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/ko/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/ko/commands.js delete mode 100644 includes/js/dijit/_editor/nls/nb/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/nb/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/nb/commands.js delete mode 100644 includes/js/dijit/_editor/nls/nl/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/nl/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/nl/commands.js delete mode 100644 includes/js/dijit/_editor/nls/pl/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/pl/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/pl/commands.js delete mode 100644 includes/js/dijit/_editor/nls/pt-pt/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/pt-pt/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/pt-pt/commands.js delete mode 100644 includes/js/dijit/_editor/nls/pt/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/pt/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/pt/commands.js delete mode 100644 includes/js/dijit/_editor/nls/ru/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/ru/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/ru/commands.js delete mode 100644 includes/js/dijit/_editor/nls/sv/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/sv/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/sv/commands.js delete mode 100644 includes/js/dijit/_editor/nls/tr/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/tr/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/tr/commands.js delete mode 100644 includes/js/dijit/_editor/nls/zh-tw/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/zh-tw/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/zh-tw/commands.js delete mode 100644 includes/js/dijit/_editor/nls/zh/FontChoice.js delete mode 100644 includes/js/dijit/_editor/nls/zh/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/nls/zh/commands.js delete mode 100644 includes/js/dijit/_editor/plugins/AlwaysShowToolbar.js delete mode 100644 includes/js/dijit/_editor/plugins/EnterKeyHandling.js delete mode 100644 includes/js/dijit/_editor/plugins/FontChoice.js delete mode 100644 includes/js/dijit/_editor/plugins/LinkDialog.js delete mode 100644 includes/js/dijit/_editor/plugins/TextColor.js delete mode 100644 includes/js/dijit/_editor/plugins/ToggleDir.js delete mode 100644 includes/js/dijit/_editor/range.js delete mode 100644 includes/js/dijit/_editor/selection.js delete mode 100644 includes/js/dijit/_tree/Node.html delete mode 100644 includes/js/dijit/_tree/Tree.html delete mode 100644 includes/js/dijit/_tree/dndContainer.js delete mode 100644 includes/js/dijit/_tree/dndSelector.js delete mode 100644 includes/js/dijit/_tree/dndSource.js delete mode 100644 includes/js/dijit/_tree/model.js delete mode 100644 includes/js/dijit/bench/benchReceive.php delete mode 100644 includes/js/dijit/bench/benchTool.html delete mode 100644 includes/js/dijit/bench/create_widgets.html delete mode 100644 includes/js/dijit/bench/test_Button-programmatic.html delete mode 100644 includes/js/dijit/bench/test_button-results.html delete mode 100644 includes/js/dijit/bench/widget_construction_test.php delete mode 100644 includes/js/dijit/changes.txt delete mode 100644 includes/js/dijit/demos/chat.html delete mode 100644 includes/js/dijit/demos/chat/chat.css delete mode 100644 includes/js/dijit/demos/chat/chat.css.commented.css delete mode 100644 includes/js/dijit/demos/chat/client.html delete mode 100644 includes/js/dijit/demos/chat/community.html delete mode 100644 includes/js/dijit/demos/chat/operator.html delete mode 100644 includes/js/dijit/demos/chat/room.js delete mode 100644 includes/js/dijit/demos/form.html delete mode 100644 includes/js/dijit/demos/i18n.html delete mode 100644 includes/js/dijit/demos/i18n/continents.json delete mode 100644 includes/js/dijit/demos/i18n/data.json delete mode 100644 includes/js/dijit/demos/i18n/flags.css delete mode 100644 includes/js/dijit/demos/i18n/flags.css.commented.css delete mode 100644 includes/js/dijit/demos/i18n/flags.png delete mode 100644 includes/js/dijit/demos/i18n/generate.html delete mode 100644 includes/js/dijit/demos/i18n/langCountryMap.json delete mode 100644 includes/js/dijit/demos/i18n/languages.json delete mode 100644 includes/js/dijit/demos/i18n/languages.sh delete mode 100644 includes/js/dijit/demos/i18n/sprite.html delete mode 100644 includes/js/dijit/demos/mail.html delete mode 100644 includes/js/dijit/demos/mail/icons.gif delete mode 100644 includes/js/dijit/demos/mail/icons.png delete mode 100644 includes/js/dijit/demos/mail/mail.css delete mode 100644 includes/js/dijit/demos/mail/mail.css.commented.css delete mode 100644 includes/js/dijit/demos/mail/mail.json delete mode 100644 includes/js/dijit/demos/mail/newMail.html delete mode 100644 includes/js/dijit/demos/nihao.html delete mode 100644 includes/js/dijit/demos/nihao/nls/en/helloworld.js delete mode 100644 includes/js/dijit/demos/nihao/nls/fr/helloworld.js delete mode 100644 includes/js/dijit/demos/nihao/nls/helloworld.js delete mode 100644 includes/js/dijit/demos/nihao/nls/zh/helloworld.js delete mode 100644 includes/js/dijit/dijit-all.js delete mode 100644 includes/js/dijit/dijit-all.js.uncompressed.js delete mode 100644 includes/js/dijit/dijit.js delete mode 100644 includes/js/dijit/dijit.js.uncompressed.js delete mode 100644 includes/js/dijit/form/Button.js delete mode 100644 includes/js/dijit/form/CheckBox.js delete mode 100644 includes/js/dijit/form/ComboBox.js delete mode 100644 includes/js/dijit/form/CurrencyTextBox.js delete mode 100644 includes/js/dijit/form/DateTextBox.js delete mode 100644 includes/js/dijit/form/FilteringSelect.js delete mode 100644 includes/js/dijit/form/Form.js delete mode 100644 includes/js/dijit/form/MultiSelect.js delete mode 100644 includes/js/dijit/form/NumberSpinner.js delete mode 100644 includes/js/dijit/form/NumberTextBox.js delete mode 100644 includes/js/dijit/form/SimpleTextarea.js delete mode 100644 includes/js/dijit/form/Slider.js delete mode 100644 includes/js/dijit/form/TextBox.js delete mode 100644 includes/js/dijit/form/Textarea.js delete mode 100644 includes/js/dijit/form/TimeTextBox.js delete mode 100644 includes/js/dijit/form/ValidationTextBox.js delete mode 100644 includes/js/dijit/form/_DateTimeTextBox.js delete mode 100644 includes/js/dijit/form/_FormWidget.js delete mode 100644 includes/js/dijit/form/_Spinner.js delete mode 100644 includes/js/dijit/form/nls/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/Textarea.js delete mode 100644 includes/js/dijit/form/nls/ar/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/ar/Textarea.js delete mode 100644 includes/js/dijit/form/nls/ar/validate.js delete mode 100644 includes/js/dijit/form/nls/cs/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/cs/Textarea.js delete mode 100644 includes/js/dijit/form/nls/cs/validate.js delete mode 100644 includes/js/dijit/form/nls/da/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/da/Textarea.js delete mode 100644 includes/js/dijit/form/nls/da/validate.js delete mode 100644 includes/js/dijit/form/nls/de/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/de/Textarea.js delete mode 100644 includes/js/dijit/form/nls/de/validate.js delete mode 100644 includes/js/dijit/form/nls/el/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/el/Textarea.js delete mode 100644 includes/js/dijit/form/nls/el/validate.js delete mode 100644 includes/js/dijit/form/nls/es/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/es/Textarea.js delete mode 100644 includes/js/dijit/form/nls/es/validate.js delete mode 100644 includes/js/dijit/form/nls/fi/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/fi/Textarea.js delete mode 100644 includes/js/dijit/form/nls/fi/validate.js delete mode 100644 includes/js/dijit/form/nls/fr/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/fr/Textarea.js delete mode 100644 includes/js/dijit/form/nls/fr/validate.js delete mode 100644 includes/js/dijit/form/nls/he/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/he/Textarea.js delete mode 100644 includes/js/dijit/form/nls/he/validate.js delete mode 100644 includes/js/dijit/form/nls/hu/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/hu/Textarea.js delete mode 100644 includes/js/dijit/form/nls/hu/validate.js delete mode 100644 includes/js/dijit/form/nls/it/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/it/Textarea.js delete mode 100644 includes/js/dijit/form/nls/it/validate.js delete mode 100644 includes/js/dijit/form/nls/ja/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/ja/Textarea.js delete mode 100644 includes/js/dijit/form/nls/ja/validate.js delete mode 100644 includes/js/dijit/form/nls/ko/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/ko/Textarea.js delete mode 100644 includes/js/dijit/form/nls/ko/validate.js delete mode 100644 includes/js/dijit/form/nls/nb/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/nb/Textarea.js delete mode 100644 includes/js/dijit/form/nls/nb/validate.js delete mode 100644 includes/js/dijit/form/nls/nl/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/nl/Textarea.js delete mode 100644 includes/js/dijit/form/nls/nl/validate.js delete mode 100644 includes/js/dijit/form/nls/pl/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/pl/Textarea.js delete mode 100644 includes/js/dijit/form/nls/pl/validate.js delete mode 100644 includes/js/dijit/form/nls/pt-pt/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/pt-pt/Textarea.js delete mode 100644 includes/js/dijit/form/nls/pt-pt/validate.js delete mode 100644 includes/js/dijit/form/nls/pt/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/pt/Textarea.js delete mode 100644 includes/js/dijit/form/nls/pt/validate.js delete mode 100644 includes/js/dijit/form/nls/ru/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/ru/Textarea.js delete mode 100644 includes/js/dijit/form/nls/ru/validate.js delete mode 100644 includes/js/dijit/form/nls/sv/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/sv/Textarea.js delete mode 100644 includes/js/dijit/form/nls/sv/validate.js delete mode 100644 includes/js/dijit/form/nls/tr/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/tr/Textarea.js delete mode 100644 includes/js/dijit/form/nls/tr/validate.js delete mode 100644 includes/js/dijit/form/nls/validate.js delete mode 100644 includes/js/dijit/form/nls/zh-tw/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/zh-tw/Textarea.js delete mode 100644 includes/js/dijit/form/nls/zh-tw/validate.js delete mode 100644 includes/js/dijit/form/nls/zh/ComboBox.js delete mode 100644 includes/js/dijit/form/nls/zh/Textarea.js delete mode 100644 includes/js/dijit/form/nls/zh/validate.js delete mode 100644 includes/js/dijit/form/templates/Button.html delete mode 100644 includes/js/dijit/form/templates/CheckBox.html delete mode 100644 includes/js/dijit/form/templates/ComboBox.html delete mode 100644 includes/js/dijit/form/templates/ComboButton.html delete mode 100644 includes/js/dijit/form/templates/DropDownButton.html delete mode 100644 includes/js/dijit/form/templates/HorizontalSlider.html delete mode 100644 includes/js/dijit/form/templates/InlineEditBox.html delete mode 100644 includes/js/dijit/form/templates/Spinner.html delete mode 100644 includes/js/dijit/form/templates/TextBox.html delete mode 100644 includes/js/dijit/form/templates/TimePicker.html delete mode 100644 includes/js/dijit/form/templates/ValidationTextBox.html delete mode 100644 includes/js/dijit/form/templates/VerticalSlider.html delete mode 100644 includes/js/dijit/layout/AccordionContainer.js delete mode 100644 includes/js/dijit/layout/BorderContainer.js delete mode 100644 includes/js/dijit/layout/ContentPane.js delete mode 100644 includes/js/dijit/layout/LayoutContainer.js delete mode 100644 includes/js/dijit/layout/LinkPane.js delete mode 100644 includes/js/dijit/layout/SplitContainer.js delete mode 100644 includes/js/dijit/layout/StackContainer.js delete mode 100644 includes/js/dijit/layout/TabContainer.js delete mode 100644 includes/js/dijit/layout/_LayoutWidget.js delete mode 100644 includes/js/dijit/layout/templates/AccordionPane.html delete mode 100644 includes/js/dijit/layout/templates/TabContainer.html delete mode 100644 includes/js/dijit/layout/templates/TooltipDialog.html delete mode 100644 includes/js/dijit/layout/templates/_TabButton.html delete mode 100644 includes/js/dijit/nls/ar/common.js delete mode 100644 includes/js/dijit/nls/ar/loading.js delete mode 100644 includes/js/dijit/nls/common.js delete mode 100644 includes/js/dijit/nls/cs/common.js delete mode 100644 includes/js/dijit/nls/cs/loading.js delete mode 100644 includes/js/dijit/nls/da/common.js delete mode 100644 includes/js/dijit/nls/da/loading.js delete mode 100644 includes/js/dijit/nls/de/common.js delete mode 100644 includes/js/dijit/nls/de/loading.js delete mode 100644 includes/js/dijit/nls/dijit-all_ROOT.js delete mode 100644 includes/js/dijit/nls/dijit-all_ar.js delete mode 100644 includes/js/dijit/nls/dijit-all_cs.js delete mode 100644 includes/js/dijit/nls/dijit-all_da.js delete mode 100644 includes/js/dijit/nls/dijit-all_de-de.js delete mode 100644 includes/js/dijit/nls/dijit-all_de.js delete mode 100644 includes/js/dijit/nls/dijit-all_el.js delete mode 100644 includes/js/dijit/nls/dijit-all_en-gb.js delete mode 100644 includes/js/dijit/nls/dijit-all_en-us.js delete mode 100644 includes/js/dijit/nls/dijit-all_en.js delete mode 100644 includes/js/dijit/nls/dijit-all_es-es.js delete mode 100644 includes/js/dijit/nls/dijit-all_es.js delete mode 100644 includes/js/dijit/nls/dijit-all_fi-fi.js delete mode 100644 includes/js/dijit/nls/dijit-all_fi.js delete mode 100644 includes/js/dijit/nls/dijit-all_fr-fr.js delete mode 100644 includes/js/dijit/nls/dijit-all_fr.js delete mode 100644 includes/js/dijit/nls/dijit-all_he-il.js delete mode 100644 includes/js/dijit/nls/dijit-all_he.js delete mode 100644 includes/js/dijit/nls/dijit-all_hu.js delete mode 100644 includes/js/dijit/nls/dijit-all_it-it.js delete mode 100644 includes/js/dijit/nls/dijit-all_it.js delete mode 100644 includes/js/dijit/nls/dijit-all_ja-jp.js delete mode 100644 includes/js/dijit/nls/dijit-all_ja.js delete mode 100644 includes/js/dijit/nls/dijit-all_ko-kr.js delete mode 100644 includes/js/dijit/nls/dijit-all_ko.js delete mode 100644 includes/js/dijit/nls/dijit-all_nl-nl.js delete mode 100644 includes/js/dijit/nls/dijit-all_nl.js delete mode 100644 includes/js/dijit/nls/dijit-all_no.js delete mode 100644 includes/js/dijit/nls/dijit-all_pl.js delete mode 100644 includes/js/dijit/nls/dijit-all_pt-br.js delete mode 100644 includes/js/dijit/nls/dijit-all_pt-pt.js delete mode 100644 includes/js/dijit/nls/dijit-all_pt.js delete mode 100644 includes/js/dijit/nls/dijit-all_ru.js delete mode 100644 includes/js/dijit/nls/dijit-all_sv.js delete mode 100644 includes/js/dijit/nls/dijit-all_tr.js delete mode 100644 includes/js/dijit/nls/dijit-all_xx.js delete mode 100644 includes/js/dijit/nls/dijit-all_zh-cn.js delete mode 100644 includes/js/dijit/nls/dijit-all_zh-tw.js delete mode 100644 includes/js/dijit/nls/dijit-all_zh.js delete mode 100644 includes/js/dijit/nls/el/common.js delete mode 100644 includes/js/dijit/nls/el/loading.js delete mode 100644 includes/js/dijit/nls/es/common.js delete mode 100644 includes/js/dijit/nls/es/loading.js delete mode 100644 includes/js/dijit/nls/fi/common.js delete mode 100644 includes/js/dijit/nls/fi/loading.js delete mode 100644 includes/js/dijit/nls/fr/common.js delete mode 100644 includes/js/dijit/nls/fr/loading.js delete mode 100644 includes/js/dijit/nls/he/common.js delete mode 100644 includes/js/dijit/nls/he/loading.js delete mode 100644 includes/js/dijit/nls/hu/common.js delete mode 100644 includes/js/dijit/nls/hu/loading.js delete mode 100644 includes/js/dijit/nls/it/common.js delete mode 100644 includes/js/dijit/nls/it/loading.js delete mode 100644 includes/js/dijit/nls/ja/common.js delete mode 100644 includes/js/dijit/nls/ja/loading.js delete mode 100644 includes/js/dijit/nls/ko/common.js delete mode 100644 includes/js/dijit/nls/ko/loading.js delete mode 100644 includes/js/dijit/nls/loading.js delete mode 100644 includes/js/dijit/nls/nb/common.js delete mode 100644 includes/js/dijit/nls/nb/loading.js delete mode 100644 includes/js/dijit/nls/nl/common.js delete mode 100644 includes/js/dijit/nls/nl/loading.js delete mode 100644 includes/js/dijit/nls/pl/common.js delete mode 100644 includes/js/dijit/nls/pl/loading.js delete mode 100644 includes/js/dijit/nls/pt-pt/common.js delete mode 100644 includes/js/dijit/nls/pt-pt/loading.js delete mode 100644 includes/js/dijit/nls/pt/common.js delete mode 100644 includes/js/dijit/nls/pt/loading.js delete mode 100644 includes/js/dijit/nls/ru/common.js delete mode 100644 includes/js/dijit/nls/ru/loading.js delete mode 100644 includes/js/dijit/nls/sv/common.js delete mode 100644 includes/js/dijit/nls/sv/loading.js delete mode 100644 includes/js/dijit/nls/tr/common.js delete mode 100644 includes/js/dijit/nls/tr/loading.js delete mode 100644 includes/js/dijit/nls/zh-tw/common.js delete mode 100644 includes/js/dijit/nls/zh-tw/loading.js delete mode 100644 includes/js/dijit/nls/zh/common.js delete mode 100644 includes/js/dijit/nls/zh/loading.js delete mode 100644 includes/js/dijit/resources/_modules.js delete mode 100644 includes/js/dijit/templates/Calendar.html delete mode 100644 includes/js/dijit/templates/ColorPalette.html delete mode 100644 includes/js/dijit/templates/Dialog.html delete mode 100644 includes/js/dijit/templates/InlineEditBox.html delete mode 100644 includes/js/dijit/templates/ProgressBar.html delete mode 100644 includes/js/dijit/templates/TitlePane.html delete mode 100644 includes/js/dijit/templates/Tooltip.html delete mode 100644 includes/js/dijit/templates/buttons/bg-fade.png delete mode 100644 includes/js/dijit/templates/colors3x4.png delete mode 100644 includes/js/dijit/templates/colors7x10.png delete mode 100644 includes/js/dijit/tests/Container.html delete mode 100644 includes/js/dijit/tests/Container.js delete mode 100644 includes/js/dijit/tests/_Templated.html delete mode 100644 includes/js/dijit/tests/_Templated.js delete mode 100644 includes/js/dijit/tests/_altCalendar.html delete mode 100644 includes/js/dijit/tests/_base/manager.html delete mode 100644 includes/js/dijit/tests/_base/manager.js delete mode 100644 includes/js/dijit/tests/_base/test_FocusManager.html delete mode 100644 includes/js/dijit/tests/_base/test_focusWidget.html delete mode 100644 includes/js/dijit/tests/_base/test_placeStrict.html delete mode 100644 includes/js/dijit/tests/_base/test_typematic.html delete mode 100644 includes/js/dijit/tests/_base/viewport.html delete mode 100644 includes/js/dijit/tests/_base/viewport.js delete mode 100644 includes/js/dijit/tests/_base/viewportStrict.html delete mode 100644 includes/js/dijit/tests/_base/wai.html delete mode 100644 includes/js/dijit/tests/_base/wai.js delete mode 100644 includes/js/dijit/tests/_data/categories.json delete mode 100644 includes/js/dijit/tests/_data/categoriesNested.json delete mode 100644 includes/js/dijit/tests/_data/countries.json delete mode 100644 includes/js/dijit/tests/_data/dijits.json delete mode 100644 includes/js/dijit/tests/_data/states.json delete mode 100644 includes/js/dijit/tests/_data/treeTest.json delete mode 100644 includes/js/dijit/tests/_editor/test_6112.html delete mode 100644 includes/js/dijit/tests/_editor/test_CustomPlugin.html delete mode 100644 includes/js/dijit/tests/_editor/test_RichText.html delete mode 100644 includes/js/dijit/tests/_editor/test_ToggleDir.html delete mode 100644 includes/js/dijit/tests/_editor/test_richtext.css delete mode 100644 includes/js/dijit/tests/_editor/test_richtext.css.commented.css delete mode 100644 includes/js/dijit/tests/_programaticTest.html delete mode 100644 includes/js/dijit/tests/_testCommon.js delete mode 100644 includes/js/dijit/tests/css/dijitTests.css delete mode 100644 includes/js/dijit/tests/css/dijitTests.css.commented.css delete mode 100644 includes/js/dijit/tests/form/Form.html delete mode 100644 includes/js/dijit/tests/form/Form.js delete mode 100644 includes/js/dijit/tests/form/images/Alabama.jpg delete mode 100644 includes/js/dijit/tests/form/test_Button.html delete mode 100644 includes/js/dijit/tests/form/test_CheckBox.html delete mode 100644 includes/js/dijit/tests/form/test_ComboBox.html delete mode 100644 includes/js/dijit/tests/form/test_ComboBox_destroy.html delete mode 100644 includes/js/dijit/tests/form/test_DateTextBox.html delete mode 100644 includes/js/dijit/tests/form/test_FilteringSelect.html delete mode 100644 includes/js/dijit/tests/form/test_Form_onsubmit.html delete mode 100644 includes/js/dijit/tests/form/test_MultiSelect.html delete mode 100644 includes/js/dijit/tests/form/test_SimpleTextarea.html delete mode 100644 includes/js/dijit/tests/form/test_Slider.html delete mode 100644 includes/js/dijit/tests/form/test_Spinner.html delete mode 100644 includes/js/dijit/tests/form/test_Textarea.html delete mode 100644 includes/js/dijit/tests/form/test_TimeTextBox.html delete mode 100644 includes/js/dijit/tests/form/test_validate.html delete mode 100644 includes/js/dijit/tests/i18n/README delete mode 100644 includes/js/dijit/tests/i18n/currency.html delete mode 100644 includes/js/dijit/tests/i18n/date.html delete mode 100644 includes/js/dijit/tests/i18n/digit.html delete mode 100644 includes/js/dijit/tests/i18n/module.js delete mode 100644 includes/js/dijit/tests/i18n/number.html delete mode 100644 includes/js/dijit/tests/i18n/test_i18n.js delete mode 100644 includes/js/dijit/tests/i18n/textbox.html delete mode 100644 includes/js/dijit/tests/i18n/time.html delete mode 100644 includes/js/dijit/tests/images/arrowSmall.gif delete mode 100644 includes/js/dijit/tests/images/copy.gif delete mode 100644 includes/js/dijit/tests/images/cut.gif delete mode 100644 includes/js/dijit/tests/images/flatScreen.gif delete mode 100644 includes/js/dijit/tests/images/note.gif delete mode 100644 includes/js/dijit/tests/images/paste.gif delete mode 100644 includes/js/dijit/tests/images/plus.gif delete mode 100644 includes/js/dijit/tests/images/testsBodyBg.gif delete mode 100644 includes/js/dijit/tests/images/tube.gif delete mode 100644 includes/js/dijit/tests/images/tubeTall.gif delete mode 100644 includes/js/dijit/tests/layout/ContentPane.html delete mode 100644 includes/js/dijit/tests/layout/ContentPane.js delete mode 100644 includes/js/dijit/tests/layout/combotab.html delete mode 100644 includes/js/dijit/tests/layout/doc0.html delete mode 100644 includes/js/dijit/tests/layout/doc1.html delete mode 100644 includes/js/dijit/tests/layout/doc2.html delete mode 100644 includes/js/dijit/tests/layout/getResponse.php delete mode 100644 includes/js/dijit/tests/layout/tab1.html delete mode 100644 includes/js/dijit/tests/layout/tab2.html delete mode 100644 includes/js/dijit/tests/layout/tab3.html delete mode 100644 includes/js/dijit/tests/layout/tab4.html delete mode 100644 includes/js/dijit/tests/layout/test_AccordionContainer.html delete mode 100644 includes/js/dijit/tests/layout/test_BorderContainer.html delete mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_complex.html delete mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_experimental.html delete mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_full.html delete mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_nested.html delete mode 100644 includes/js/dijit/tests/layout/test_ContentPane.html delete mode 100644 includes/js/dijit/tests/layout/test_LayoutCode.html delete mode 100644 includes/js/dijit/tests/layout/test_LayoutContainer.html delete mode 100644 includes/js/dijit/tests/layout/test_SplitContainer.html delete mode 100644 includes/js/dijit/tests/layout/test_StackContainer.html delete mode 100644 includes/js/dijit/tests/layout/test_StackContainer_code.html delete mode 100644 includes/js/dijit/tests/layout/test_TabContainer.html delete mode 100644 includes/js/dijit/tests/layout/test_TabContainerTitlePane.html delete mode 100644 includes/js/dijit/tests/layout/test_TabContainer_noLayout.html delete mode 100644 includes/js/dijit/tests/layout/test_TabContainer_remote.html delete mode 100644 includes/js/dijit/tests/manualTests.html delete mode 100644 includes/js/dijit/tests/manualTests.js delete mode 100644 includes/js/dijit/tests/module.js delete mode 100644 includes/js/dijit/tests/ondijitclick.html delete mode 100644 includes/js/dijit/tests/ondijitclick.js delete mode 100644 includes/js/dijit/tests/runTests.html delete mode 100644 includes/js/dijit/tests/test.html delete mode 100644 includes/js/dijit/tests/test_Calendar.html delete mode 100644 includes/js/dijit/tests/test_ColorPalette.html delete mode 100644 includes/js/dijit/tests/test_Declaration.html delete mode 100644 includes/js/dijit/tests/test_Dialog.html delete mode 100644 includes/js/dijit/tests/test_Dialog_focusDestroy.html delete mode 100644 includes/js/dijit/tests/test_Editor.html delete mode 100644 includes/js/dijit/tests/test_InlineEditBox.html delete mode 100644 includes/js/dijit/tests/test_Menu.html delete mode 100644 includes/js/dijit/tests/test_ProgressBar.html delete mode 100644 includes/js/dijit/tests/test_TitlePane.html delete mode 100644 includes/js/dijit/tests/test_Toolbar.html delete mode 100644 includes/js/dijit/tests/test_Tooltip.html delete mode 100644 includes/js/dijit/tests/test_TooltipDialog.html delete mode 100644 includes/js/dijit/tests/test_Tree.html delete mode 100644 includes/js/dijit/tests/test_Tree_Notification_API_Support.html delete mode 100644 includes/js/dijit/tests/test_instantiate.html delete mode 100644 includes/js/dijit/tests/tree/test_Tree_DnD.html delete mode 100644 includes/js/dijit/tests/tree/test_Tree_Programmatic.html delete mode 100644 includes/js/dijit/tests/tree/test_Tree_v1.html delete mode 100644 includes/js/dijit/tests/widgetsInTemplate.html delete mode 100644 includes/js/dijit/tests/widgetsInTemplate.js delete mode 100644 includes/js/dijit/themes/a11y/README.txt delete mode 100644 includes/js/dijit/themes/a11y/indeterminate_progress.gif delete mode 100644 includes/js/dijit/themes/dijit.css delete mode 100644 includes/js/dijit/themes/dijit.css.commented.css delete mode 100644 includes/js/dijit/themes/dijit_rtl.css delete mode 100644 includes/js/dijit/themes/dijit_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Calendar.css delete mode 100644 includes/js/dijit/themes/nihilo/Calendar.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Calendar_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/Calendar_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/ColorPalette.css delete mode 100644 includes/js/dijit/themes/nihilo/ColorPalette.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Common.css delete mode 100644 includes/js/dijit/themes/nihilo/Common.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Dialog.css delete mode 100644 includes/js/dijit/themes/nihilo/Dialog.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Dialog_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/Dialog_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Editor.css delete mode 100644 includes/js/dijit/themes/nihilo/Editor.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Editor_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/Editor_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Menu.css delete mode 100644 includes/js/dijit/themes/nihilo/Menu.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Menu_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/Menu_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/ProgressBar.css delete mode 100644 includes/js/dijit/themes/nihilo/ProgressBar.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/TitlePane.css delete mode 100644 includes/js/dijit/themes/nihilo/TitlePane.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/TitlePane_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/TitlePane_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Toolbar.css delete mode 100644 includes/js/dijit/themes/nihilo/Toolbar.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Tree.css delete mode 100644 includes/js/dijit/themes/nihilo/Tree.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/Tree_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/Tree_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Button.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Button.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Button_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Button_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Checkbox.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Checkbox.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/form/ComboBox.css delete mode 100644 includes/js/dijit/themes/nihilo/form/ComboBox.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Common.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Common.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Common_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Common_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/form/RadioButton.css delete mode 100644 includes/js/dijit/themes/nihilo/form/RadioButton.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Slider.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Slider.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Slider_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Slider_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Textarea.css delete mode 100644 includes/js/dijit/themes/nihilo/form/Textarea.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/form/TimeTextBox.css delete mode 100644 includes/js/dijit/themes/nihilo/form/TimeTextBox.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/images/accordionItemActive.png delete mode 100644 includes/js/dijit/themes/nihilo/images/buttonActive.png delete mode 100644 includes/js/dijit/themes/nihilo/images/buttonDisabled.png delete mode 100644 includes/js/dijit/themes/nihilo/images/buttonEnabled.png delete mode 100644 includes/js/dijit/themes/nihilo/images/buttonHover.png delete mode 100644 includes/js/dijit/themes/nihilo/images/dndCopy.png delete mode 100644 includes/js/dijit/themes/nihilo/images/dndMove.png delete mode 100644 includes/js/dijit/themes/nihilo/images/dndNoCopy.png delete mode 100644 includes/js/dijit/themes/nihilo/images/dndNoMove.png delete mode 100644 includes/js/dijit/themes/nihilo/images/editor.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/editor_rtl.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/no.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/preciseSliderThumb.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/preciseSliderThumb.png delete mode 100644 includes/js/dijit/themes/nihilo/images/preciseSliderThumbFocus.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/preciseSliderThumbFocus.png delete mode 100644 includes/js/dijit/themes/nihilo/images/progressBarAnim.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/progressBarEmpty.png delete mode 100644 includes/js/dijit/themes/nihilo/images/progressBarFull.png delete mode 100644 includes/js/dijit/themes/nihilo/images/sliderEmpty.png delete mode 100644 includes/js/dijit/themes/nihilo/images/sliderEmptyVertical.png delete mode 100644 includes/js/dijit/themes/nihilo/images/sliderFull.png delete mode 100644 includes/js/dijit/themes/nihilo/images/sliderFullFocus.png delete mode 100644 includes/js/dijit/themes/nihilo/images/sliderFullVertical.png delete mode 100644 includes/js/dijit/themes/nihilo/images/sliderFullVerticalFocus.png delete mode 100644 includes/js/dijit/themes/nihilo/images/sliderThumb.png delete mode 100644 includes/js/dijit/themes/nihilo/images/sliderThumbFocus.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/sliderThumbFocus.png delete mode 100644 includes/js/dijit/themes/nihilo/images/splitContainerSizerH-thumb.png delete mode 100644 includes/js/dijit/themes/nihilo/images/splitContainerSizerH.png delete mode 100644 includes/js/dijit/themes/nihilo/images/splitContainerSizerV-thumb.png delete mode 100644 includes/js/dijit/themes/nihilo/images/splitContainerSizerV.png delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteArrows.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteArrows.png delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteCheckbox.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteCheckbox.png delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteDivIcons.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteDivIcons.png delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteRadio.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteRadio.png delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteRoundedIconsSmall.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteRoundedIconsSmall.png delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteTree.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteTree.png delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteTree_rtl.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/spriteTree_rtl.png delete mode 100644 includes/js/dijit/themes/nihilo/images/tabBottomActiveC.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabBottomActiveSpriteLR.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabBottomEnabledC.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabBottomEnabledSpriteLR.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabBottomHoverC.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabBottomHoverSpriteLR.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabContainerSprite.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabLeftChecked.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabRightChecked.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabStripe.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabStripeBottom.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabStripeLeft.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tabStripeRight.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/titleBar.png delete mode 100644 includes/js/dijit/themes/nihilo/images/titleBarActive.png delete mode 100644 includes/js/dijit/themes/nihilo/images/tooltipConnectorDown.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tooltipConnectorDown.png delete mode 100644 includes/js/dijit/themes/nihilo/images/tooltipConnectorLeft.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tooltipConnectorLeft.png delete mode 100644 includes/js/dijit/themes/nihilo/images/tooltipConnectorRight.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tooltipConnectorRight.png delete mode 100644 includes/js/dijit/themes/nihilo/images/tooltipConnectorUp.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/tooltipConnectorUp.png delete mode 100644 includes/js/dijit/themes/nihilo/images/treeExpand_loading.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/treeI.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/treeI_half.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/treeI_half_rtl.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/treeI_rtl.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/validationInputBg.gif delete mode 100644 includes/js/dijit/themes/nihilo/images/validationInputBg.png delete mode 100644 includes/js/dijit/themes/nihilo/images/warning.png delete mode 100644 includes/js/dijit/themes/nihilo/layout/AccordionContainer.css delete mode 100644 includes/js/dijit/themes/nihilo/layout/AccordionContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/layout/AccordionContainer_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/layout/AccordionContainer_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/layout/BorderContainer.css delete mode 100644 includes/js/dijit/themes/nihilo/layout/BorderContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/layout/SplitContainer.css delete mode 100644 includes/js/dijit/themes/nihilo/layout/SplitContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/layout/TabContainer.css delete mode 100644 includes/js/dijit/themes/nihilo/layout/TabContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/layout/TabContainer_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/layout/TabContainer_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/nihilo.css delete mode 100644 includes/js/dijit/themes/nihilo/nihilo.css.commented.css delete mode 100644 includes/js/dijit/themes/nihilo/nihilo_rtl.css delete mode 100644 includes/js/dijit/themes/nihilo/nihilo_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Calendar.css delete mode 100644 includes/js/dijit/themes/soria/Calendar.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Calendar_rtl.css delete mode 100644 includes/js/dijit/themes/soria/Calendar_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/ColorPalette.css delete mode 100644 includes/js/dijit/themes/soria/ColorPalette.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Common.css delete mode 100644 includes/js/dijit/themes/soria/Common.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Dialog.css delete mode 100644 includes/js/dijit/themes/soria/Dialog.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Dialog_rtl.css delete mode 100644 includes/js/dijit/themes/soria/Dialog_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Editor.css delete mode 100644 includes/js/dijit/themes/soria/Editor.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Editor_rtl.css delete mode 100644 includes/js/dijit/themes/soria/Editor_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Menu.css delete mode 100644 includes/js/dijit/themes/soria/Menu.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Menu_rtl.css delete mode 100644 includes/js/dijit/themes/soria/Menu_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/ProgressBar.css delete mode 100644 includes/js/dijit/themes/soria/ProgressBar.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/TitlePane.css delete mode 100644 includes/js/dijit/themes/soria/TitlePane.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/TitlePane_rtl.css delete mode 100644 includes/js/dijit/themes/soria/TitlePane_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Toolbar.css delete mode 100644 includes/js/dijit/themes/soria/Toolbar.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Tree.css delete mode 100644 includes/js/dijit/themes/soria/Tree.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/Tree_rtl.css delete mode 100644 includes/js/dijit/themes/soria/Tree_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/form/Button.css delete mode 100644 includes/js/dijit/themes/soria/form/Button.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/form/Button_rtl.css delete mode 100644 includes/js/dijit/themes/soria/form/Button_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/form/Checkbox.css delete mode 100644 includes/js/dijit/themes/soria/form/Checkbox.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/form/ComboBox.css delete mode 100644 includes/js/dijit/themes/soria/form/ComboBox.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/form/Common.css delete mode 100644 includes/js/dijit/themes/soria/form/Common.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/form/Common_rtl.css delete mode 100644 includes/js/dijit/themes/soria/form/Common_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/form/RadioButton.css delete mode 100644 includes/js/dijit/themes/soria/form/RadioButton.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/form/Slider.css delete mode 100644 includes/js/dijit/themes/soria/form/Slider.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/form/Slider_rtl.css delete mode 100644 includes/js/dijit/themes/soria/form/Slider_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/form/Textarea.css delete mode 100644 includes/js/dijit/themes/soria/form/Textarea.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/form/TimeTextBox.css delete mode 100644 includes/js/dijit/themes/soria/form/TimeTextBox.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/images/accordionItemActive.gif delete mode 100644 includes/js/dijit/themes/soria/images/accordionItemActive.png delete mode 100644 includes/js/dijit/themes/soria/images/buttonActive.png delete mode 100644 includes/js/dijit/themes/soria/images/buttonDisabled.png delete mode 100644 includes/js/dijit/themes/soria/images/buttonEnabled.png delete mode 100644 includes/js/dijit/themes/soria/images/buttonHover.png delete mode 100644 includes/js/dijit/themes/soria/images/dndCopy.png delete mode 100644 includes/js/dijit/themes/soria/images/dndMove.png delete mode 100644 includes/js/dijit/themes/soria/images/dndNoCopy.png delete mode 100644 includes/js/dijit/themes/soria/images/dndNoMove.png delete mode 100644 includes/js/dijit/themes/soria/images/editor.gif delete mode 100644 includes/js/dijit/themes/soria/images/editor_rtl.gif delete mode 100644 includes/js/dijit/themes/soria/images/preciseSliderThumb.gif delete mode 100644 includes/js/dijit/themes/soria/images/preciseSliderThumb.png delete mode 100644 includes/js/dijit/themes/soria/images/preciseSliderThumbFocus.gif delete mode 100644 includes/js/dijit/themes/soria/images/preciseSliderThumbFocus.png delete mode 100644 includes/js/dijit/themes/soria/images/progressBarAnim.gif delete mode 100644 includes/js/dijit/themes/soria/images/progressBarEmpty.png delete mode 100644 includes/js/dijit/themes/soria/images/progressBarFull.png delete mode 100644 includes/js/dijit/themes/soria/images/sliderEmpty.png delete mode 100644 includes/js/dijit/themes/soria/images/sliderEmptyVertical.png delete mode 100644 includes/js/dijit/themes/soria/images/sliderFull.png delete mode 100644 includes/js/dijit/themes/soria/images/sliderFullFocus.png delete mode 100644 includes/js/dijit/themes/soria/images/sliderFullVertical.png delete mode 100644 includes/js/dijit/themes/soria/images/sliderFullVerticalFocus.png delete mode 100644 includes/js/dijit/themes/soria/images/sliderThumb.png delete mode 100644 includes/js/dijit/themes/soria/images/sliderThumbFocus.gif delete mode 100644 includes/js/dijit/themes/soria/images/sliderThumbFocus.png delete mode 100644 includes/js/dijit/themes/soria/images/splitContainerSizerH-thumb.png delete mode 100644 includes/js/dijit/themes/soria/images/splitContainerSizerH.png delete mode 100644 includes/js/dijit/themes/soria/images/splitContainerSizerV-thumb.png delete mode 100644 includes/js/dijit/themes/soria/images/splitContainerSizerV.png delete mode 100644 includes/js/dijit/themes/soria/images/spriteArrows.gif delete mode 100644 includes/js/dijit/themes/soria/images/spriteArrows.png delete mode 100644 includes/js/dijit/themes/soria/images/spriteCheckbox.gif delete mode 100644 includes/js/dijit/themes/soria/images/spriteCheckbox.png delete mode 100644 includes/js/dijit/themes/soria/images/spriteDivIcons.gif delete mode 100644 includes/js/dijit/themes/soria/images/spriteDivIcons.png delete mode 100644 includes/js/dijit/themes/soria/images/spriteRadio.gif delete mode 100644 includes/js/dijit/themes/soria/images/spriteRadio.png delete mode 100644 includes/js/dijit/themes/soria/images/spriteRoundedIconsSmall.gif delete mode 100644 includes/js/dijit/themes/soria/images/spriteRoundedIconsSmall.png delete mode 100644 includes/js/dijit/themes/soria/images/spriteRoundedIconsSmallBl.gif delete mode 100644 includes/js/dijit/themes/soria/images/spriteRoundedIconsSmallBl.png delete mode 100644 includes/js/dijit/themes/soria/images/spriteTree.gif delete mode 100644 includes/js/dijit/themes/soria/images/spriteTree.png delete mode 100644 includes/js/dijit/themes/soria/images/spriteTree_rtl.gif delete mode 100644 includes/js/dijit/themes/soria/images/spriteTree_rtl.png delete mode 100644 includes/js/dijit/themes/soria/images/tabBottomActiveC.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabBottomActiveSpriteLR.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabBottomEnabledC.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabBottomEnabledSpriteLR.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabBottomHoverC.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabBottomHoverSpriteLR.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabContainerSprite.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabLeftChecked.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabRightChecked.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabStripe.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabStripeBottom.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabStripeLeft.gif delete mode 100644 includes/js/dijit/themes/soria/images/tabStripeRight.gif delete mode 100644 includes/js/dijit/themes/soria/images/titleBar.png delete mode 100644 includes/js/dijit/themes/soria/images/titleBarActive.png delete mode 100644 includes/js/dijit/themes/soria/images/tooltipConnectorDown.gif delete mode 100644 includes/js/dijit/themes/soria/images/tooltipConnectorDown.png delete mode 100644 includes/js/dijit/themes/soria/images/tooltipConnectorLeft.gif delete mode 100644 includes/js/dijit/themes/soria/images/tooltipConnectorLeft.png delete mode 100644 includes/js/dijit/themes/soria/images/tooltipConnectorRight.gif delete mode 100644 includes/js/dijit/themes/soria/images/tooltipConnectorRight.png delete mode 100644 includes/js/dijit/themes/soria/images/tooltipConnectorUp.gif delete mode 100644 includes/js/dijit/themes/soria/images/tooltipConnectorUp.png delete mode 100644 includes/js/dijit/themes/soria/images/treeExpand_loading.gif delete mode 100644 includes/js/dijit/themes/soria/images/treeI.gif delete mode 100644 includes/js/dijit/themes/soria/images/treeI_half.gif delete mode 100644 includes/js/dijit/themes/soria/images/treeI_half_rtl.gif delete mode 100644 includes/js/dijit/themes/soria/images/treeI_rtl.gif delete mode 100644 includes/js/dijit/themes/soria/images/validationInputBg.gif delete mode 100644 includes/js/dijit/themes/soria/images/validationInputBg.png delete mode 100644 includes/js/dijit/themes/soria/images/warning.png delete mode 100644 includes/js/dijit/themes/soria/layout/AccordionContainer.css delete mode 100644 includes/js/dijit/themes/soria/layout/AccordionContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/layout/AccordionContainer_rtl.css delete mode 100644 includes/js/dijit/themes/soria/layout/AccordionContainer_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/layout/BorderContainer.css delete mode 100644 includes/js/dijit/themes/soria/layout/BorderContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/layout/SplitContainer.css delete mode 100644 includes/js/dijit/themes/soria/layout/SplitContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/layout/TabContainer.css delete mode 100644 includes/js/dijit/themes/soria/layout/TabContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/layout/TabContainer_rtl.css delete mode 100644 includes/js/dijit/themes/soria/layout/TabContainer_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/soria.css delete mode 100644 includes/js/dijit/themes/soria/soria.css.commented.css delete mode 100644 includes/js/dijit/themes/soria/soria_rtl.css delete mode 100644 includes/js/dijit/themes/soria/soria_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/templateThemeTest.html delete mode 100644 includes/js/dijit/themes/themeTester.html delete mode 100644 includes/js/dijit/themes/themeTesterImages/blackButtonEnabled.gif delete mode 100644 includes/js/dijit/themes/themeTesterImages/blackButtonHover.gif delete mode 100644 includes/js/dijit/themes/themeTesterQuirk.html delete mode 100644 includes/js/dijit/themes/tundra/Calendar.css delete mode 100644 includes/js/dijit/themes/tundra/Calendar.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/Calendar_rtl.css delete mode 100644 includes/js/dijit/themes/tundra/Calendar_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/ColorPalette.css delete mode 100644 includes/js/dijit/themes/tundra/ColorPalette.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/Common.css delete mode 100644 includes/js/dijit/themes/tundra/Common.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/Dialog.css delete mode 100644 includes/js/dijit/themes/tundra/Dialog.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/Dialog_rtl.css delete mode 100644 includes/js/dijit/themes/tundra/Dialog_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/Editor.css delete mode 100644 includes/js/dijit/themes/tundra/Editor.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/Editor_rtl.css delete mode 100644 includes/js/dijit/themes/tundra/Editor_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/Menu.css delete mode 100644 includes/js/dijit/themes/tundra/Menu.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/Menu_rtl.css delete mode 100644 includes/js/dijit/themes/tundra/Menu_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/ProgressBar.css delete mode 100644 includes/js/dijit/themes/tundra/ProgressBar.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/TitlePane.css delete mode 100644 includes/js/dijit/themes/tundra/TitlePane.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/TitlePane_rtl.css delete mode 100644 includes/js/dijit/themes/tundra/TitlePane_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/Toolbar.css delete mode 100644 includes/js/dijit/themes/tundra/Toolbar.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/Tree.css delete mode 100644 includes/js/dijit/themes/tundra/Tree.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/Tree_rtl.css delete mode 100644 includes/js/dijit/themes/tundra/Tree_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/form/Button.css delete mode 100644 includes/js/dijit/themes/tundra/form/Button.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/form/Checkbox.css delete mode 100644 includes/js/dijit/themes/tundra/form/Checkbox.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/form/Common.css delete mode 100644 includes/js/dijit/themes/tundra/form/Common.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/form/RadioButton.css delete mode 100644 includes/js/dijit/themes/tundra/form/RadioButton.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/form/Slider.css delete mode 100644 includes/js/dijit/themes/tundra/form/Slider.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/form/Slider_rtl.css delete mode 100644 includes/js/dijit/themes/tundra/form/Slider_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/form/TextArea.css delete mode 100644 includes/js/dijit/themes/tundra/form/TextArea.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/images/accordionItemActive.gif delete mode 100644 includes/js/dijit/themes/tundra/images/arrowDown.gif delete mode 100644 includes/js/dijit/themes/tundra/images/arrowDown.png delete mode 100644 includes/js/dijit/themes/tundra/images/arrowLeft.gif delete mode 100644 includes/js/dijit/themes/tundra/images/arrowLeft.png delete mode 100644 includes/js/dijit/themes/tundra/images/arrowRight.gif delete mode 100644 includes/js/dijit/themes/tundra/images/arrowRight.png delete mode 100644 includes/js/dijit/themes/tundra/images/arrowUp.gif delete mode 100644 includes/js/dijit/themes/tundra/images/arrowUp.png delete mode 100644 includes/js/dijit/themes/tundra/images/buttonActive.png delete mode 100644 includes/js/dijit/themes/tundra/images/buttonDisabled.png delete mode 100644 includes/js/dijit/themes/tundra/images/buttonEnabled.png delete mode 100644 includes/js/dijit/themes/tundra/images/buttonHover.png delete mode 100644 includes/js/dijit/themes/tundra/images/calendarDayLabel.png delete mode 100644 includes/js/dijit/themes/tundra/images/calendarMonthLabel.png delete mode 100644 includes/js/dijit/themes/tundra/images/calendarYearLabel.png delete mode 100644 includes/js/dijit/themes/tundra/images/checkboxActive.png delete mode 100644 includes/js/dijit/themes/tundra/images/checkboxDisabled.png delete mode 100644 includes/js/dijit/themes/tundra/images/checkboxEnabled.png delete mode 100644 includes/js/dijit/themes/tundra/images/checkboxHover.png delete mode 100644 includes/js/dijit/themes/tundra/images/checkmark.gif delete mode 100644 includes/js/dijit/themes/tundra/images/checkmark.png delete mode 100644 includes/js/dijit/themes/tundra/images/checkmarkNoBorder.gif delete mode 100644 includes/js/dijit/themes/tundra/images/checkmarkNoBorder.png delete mode 100644 includes/js/dijit/themes/tundra/images/circleIcon.gif delete mode 100644 includes/js/dijit/themes/tundra/images/circleIcon.png delete mode 100644 includes/js/dijit/themes/tundra/images/comboArrowDown.gif delete mode 100644 includes/js/dijit/themes/tundra/images/dijitProgressBarAnim.gif delete mode 100644 includes/js/dijit/themes/tundra/images/dijitProgressBarAnim.psd delete mode 100644 includes/js/dijit/themes/tundra/images/dndCopy.png delete mode 100644 includes/js/dijit/themes/tundra/images/dndMove.png delete mode 100644 includes/js/dijit/themes/tundra/images/dndNoCopy.png delete mode 100644 includes/js/dijit/themes/tundra/images/dndNoMove.png delete mode 100644 includes/js/dijit/themes/tundra/images/dojoTundraGradientBg.gif delete mode 100644 includes/js/dijit/themes/tundra/images/dojoTundraGradientBg.png delete mode 100644 includes/js/dijit/themes/tundra/images/doubleArrowDown.png delete mode 100644 includes/js/dijit/themes/tundra/images/doubleArrowUp.png delete mode 100644 includes/js/dijit/themes/tundra/images/editor.gif delete mode 100644 includes/js/dijit/themes/tundra/images/editor_rtl.gif delete mode 100644 includes/js/dijit/themes/tundra/images/folderClosed.gif delete mode 100644 includes/js/dijit/themes/tundra/images/folderOpened.gif delete mode 100644 includes/js/dijit/themes/tundra/images/i.gif delete mode 100644 includes/js/dijit/themes/tundra/images/i_half.gif delete mode 100644 includes/js/dijit/themes/tundra/images/i_half_rtl.gif delete mode 100644 includes/js/dijit/themes/tundra/images/i_rtl.gif delete mode 100644 includes/js/dijit/themes/tundra/images/leaf.gif delete mode 100644 includes/js/dijit/themes/tundra/images/loading.gif delete mode 100644 includes/js/dijit/themes/tundra/images/menu.png delete mode 100644 includes/js/dijit/themes/tundra/images/minusButton.gif delete mode 100644 includes/js/dijit/themes/tundra/images/no.gif delete mode 100644 includes/js/dijit/themes/tundra/images/noX.gif delete mode 100644 includes/js/dijit/themes/tundra/images/plusButton.gif delete mode 100644 includes/js/dijit/themes/tundra/images/popupMenuBg.gif delete mode 100644 includes/js/dijit/themes/tundra/images/preciseSliderThumb.gif delete mode 100644 includes/js/dijit/themes/tundra/images/preciseSliderThumb.png delete mode 100644 includes/js/dijit/themes/tundra/images/preciseSliderThumbFocus.gif delete mode 100644 includes/js/dijit/themes/tundra/images/preciseSliderThumbFocus.png delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarAnim-1.png delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarAnim-2.png delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarAnim-3.png delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarAnim-4.png delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarAnim-5.png delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarAnim-6.png delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarAnim-7.png delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarAnim-8.png delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarAnim-9.png delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarAnim.gif delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarAnim.psd delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarEmpty.png delete mode 100644 includes/js/dijit/themes/tundra/images/progressBarFull.png delete mode 100644 includes/js/dijit/themes/tundra/images/radioButtonActive.png delete mode 100644 includes/js/dijit/themes/tundra/images/radioButtonActiveDisabled.png delete mode 100644 includes/js/dijit/themes/tundra/images/radioButtonActiveHover.png delete mode 100644 includes/js/dijit/themes/tundra/images/radioButtonDisabled.png delete mode 100644 includes/js/dijit/themes/tundra/images/radioButtonEnabled.png delete mode 100644 includes/js/dijit/themes/tundra/images/radioButtonHover.png delete mode 100644 includes/js/dijit/themes/tundra/images/sliderEmpty.png delete mode 100644 includes/js/dijit/themes/tundra/images/sliderEmptyVertical.png delete mode 100644 includes/js/dijit/themes/tundra/images/sliderFull.png delete mode 100644 includes/js/dijit/themes/tundra/images/sliderFullFocus.png delete mode 100644 includes/js/dijit/themes/tundra/images/sliderFullVertical.png delete mode 100644 includes/js/dijit/themes/tundra/images/sliderFullVerticalFocus.png delete mode 100644 includes/js/dijit/themes/tundra/images/sliderThumb.png delete mode 100644 includes/js/dijit/themes/tundra/images/sliderThumbFocus.gif delete mode 100644 includes/js/dijit/themes/tundra/images/sliderThumbFocus.png delete mode 100644 includes/js/dijit/themes/tundra/images/smallArrowDown.png delete mode 100644 includes/js/dijit/themes/tundra/images/smallArrowUp.png delete mode 100644 includes/js/dijit/themes/tundra/images/splitContainerSizerH-thumb.png delete mode 100644 includes/js/dijit/themes/tundra/images/splitContainerSizerH.png delete mode 100644 includes/js/dijit/themes/tundra/images/splitContainerSizerV-thumb.png delete mode 100644 includes/js/dijit/themes/tundra/images/splitContainerSizerV.png delete mode 100644 includes/js/dijit/themes/tundra/images/spriteRoundedIconsSmall.gif delete mode 100644 includes/js/dijit/themes/tundra/images/spriteRoundedIconsSmall.png delete mode 100644 includes/js/dijit/themes/tundra/images/tabActive.png delete mode 100644 includes/js/dijit/themes/tundra/images/tabClose.gif delete mode 100644 includes/js/dijit/themes/tundra/images/tabClose.png delete mode 100644 includes/js/dijit/themes/tundra/images/tabCloseHover.gif delete mode 100644 includes/js/dijit/themes/tundra/images/tabCloseHover.png delete mode 100644 includes/js/dijit/themes/tundra/images/tabDisabled.png delete mode 100644 includes/js/dijit/themes/tundra/images/tabEnabled.png delete mode 100644 includes/js/dijit/themes/tundra/images/tabHover.gif delete mode 100644 includes/js/dijit/themes/tundra/images/tabHover.png delete mode 100644 includes/js/dijit/themes/tundra/images/titleBar.png delete mode 100644 includes/js/dijit/themes/tundra/images/titleBarBg.gif delete mode 100644 includes/js/dijit/themes/tundra/images/tooltipConnectorDown.gif delete mode 100644 includes/js/dijit/themes/tundra/images/tooltipConnectorDown.png delete mode 100644 includes/js/dijit/themes/tundra/images/tooltipConnectorLeft.gif delete mode 100644 includes/js/dijit/themes/tundra/images/tooltipConnectorLeft.png delete mode 100644 includes/js/dijit/themes/tundra/images/tooltipConnectorRight.gif delete mode 100644 includes/js/dijit/themes/tundra/images/tooltipConnectorRight.png delete mode 100644 includes/js/dijit/themes/tundra/images/tooltipConnectorUp.gif delete mode 100644 includes/js/dijit/themes/tundra/images/tooltipConnectorUp.png delete mode 100644 includes/js/dijit/themes/tundra/images/treeExpand_leaf.gif delete mode 100644 includes/js/dijit/themes/tundra/images/treeExpand_leaf_rtl.gif delete mode 100644 includes/js/dijit/themes/tundra/images/treeExpand_loading.gif delete mode 100644 includes/js/dijit/themes/tundra/images/treeExpand_minus.gif delete mode 100644 includes/js/dijit/themes/tundra/images/treeExpand_minus_rtl.gif delete mode 100644 includes/js/dijit/themes/tundra/images/treeExpand_mius.gif delete mode 100644 includes/js/dijit/themes/tundra/images/treeExpand_plus.gif delete mode 100644 includes/js/dijit/themes/tundra/images/treeExpand_plus_rtl.gif delete mode 100644 includes/js/dijit/themes/tundra/images/validationInputBg.gif delete mode 100644 includes/js/dijit/themes/tundra/images/validationInputBg.png delete mode 100644 includes/js/dijit/themes/tundra/images/warning.png delete mode 100644 includes/js/dijit/themes/tundra/layout/AccordionContainer.css delete mode 100644 includes/js/dijit/themes/tundra/layout/AccordionContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/layout/BorderContainer.css delete mode 100644 includes/js/dijit/themes/tundra/layout/BorderContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/layout/SplitContainer.css delete mode 100644 includes/js/dijit/themes/tundra/layout/SplitContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/layout/TabContainer.css delete mode 100644 includes/js/dijit/themes/tundra/layout/TabContainer.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/layout/TabContainer_rtl.css delete mode 100644 includes/js/dijit/themes/tundra/layout/TabContainer_rtl.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/tundra.css delete mode 100644 includes/js/dijit/themes/tundra/tundra.css.commented.css delete mode 100644 includes/js/dijit/themes/tundra/tundra_rtl.css delete mode 100644 includes/js/dijit/themes/tundra/tundra_rtl.css.commented.css delete mode 100644 includes/js/dojo/AdapterRegistry.js delete mode 100644 includes/js/dojo/DeferredList.js delete mode 100644 includes/js/dojo/LICENSE delete mode 100644 includes/js/dojo/NodeList-fx.js delete mode 100644 includes/js/dojo/OpenAjax.js delete mode 100644 includes/js/dojo/_base.js delete mode 100644 includes/js/dojo/_base/Color.js delete mode 100644 includes/js/dojo/_base/Deferred.js delete mode 100644 includes/js/dojo/_base/NodeList.js delete mode 100644 includes/js/dojo/_base/_loader/bootstrap.js delete mode 100644 includes/js/dojo/_base/_loader/hostenv_browser.js delete mode 100644 includes/js/dojo/_base/_loader/hostenv_rhino.js delete mode 100644 includes/js/dojo/_base/_loader/hostenv_spidermonkey.js delete mode 100644 includes/js/dojo/_base/_loader/loader.js delete mode 100644 includes/js/dojo/_base/_loader/loader_debug.js delete mode 100644 includes/js/dojo/_base/_loader/loader_xd.js delete mode 100644 includes/js/dojo/_base/array.js delete mode 100644 includes/js/dojo/_base/browser.js delete mode 100644 includes/js/dojo/_base/connect.js delete mode 100644 includes/js/dojo/_base/declare.js delete mode 100644 includes/js/dojo/_base/event.js delete mode 100644 includes/js/dojo/_base/fx.js delete mode 100644 includes/js/dojo/_base/html.js delete mode 100644 includes/js/dojo/_base/json.js delete mode 100644 includes/js/dojo/_base/lang.js delete mode 100644 includes/js/dojo/_base/query.js delete mode 100644 includes/js/dojo/_base/window.js delete mode 100644 includes/js/dojo/_base/xhr.js delete mode 100644 includes/js/dojo/_firebug/LICENSE delete mode 100644 includes/js/dojo/_firebug/errorIcon.png delete mode 100644 includes/js/dojo/_firebug/firebug.css delete mode 100644 includes/js/dojo/_firebug/firebug.css.commented.css delete mode 100644 includes/js/dojo/_firebug/firebug.js delete mode 100644 includes/js/dojo/_firebug/infoIcon.png delete mode 100644 includes/js/dojo/_firebug/warningIcon.png delete mode 100644 includes/js/dojo/back.js delete mode 100644 includes/js/dojo/behavior.js delete mode 100644 includes/js/dojo/build.txt delete mode 100644 includes/js/dojo/cldr/LICENSE delete mode 100644 includes/js/dojo/cldr/README delete mode 100644 includes/js/dojo/cldr/monetary.js delete mode 100644 includes/js/dojo/cldr/nls/currency.js delete mode 100644 includes/js/dojo/cldr/nls/de-de/number.js delete mode 100644 includes/js/dojo/cldr/nls/de/currency.js delete mode 100644 includes/js/dojo/cldr/nls/de/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/de/number.js delete mode 100644 includes/js/dojo/cldr/nls/en-au/currency.js delete mode 100644 includes/js/dojo/cldr/nls/en-au/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/en-au/number.js delete mode 100644 includes/js/dojo/cldr/nls/en-ca/currency.js delete mode 100644 includes/js/dojo/cldr/nls/en-ca/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/en-gb/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/en-gb/number.js delete mode 100644 includes/js/dojo/cldr/nls/en-us/currency.js delete mode 100644 includes/js/dojo/cldr/nls/en-us/number.js delete mode 100644 includes/js/dojo/cldr/nls/en/currency.js delete mode 100644 includes/js/dojo/cldr/nls/en/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/en/number.js delete mode 100644 includes/js/dojo/cldr/nls/es-es/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/es-es/number.js delete mode 100644 includes/js/dojo/cldr/nls/es/currency.js delete mode 100644 includes/js/dojo/cldr/nls/es/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/es/number.js delete mode 100644 includes/js/dojo/cldr/nls/fr/currency.js delete mode 100644 includes/js/dojo/cldr/nls/fr/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/fr/number.js delete mode 100644 includes/js/dojo/cldr/nls/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/it-it/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/it/currency.js delete mode 100644 includes/js/dojo/cldr/nls/it/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/it/number.js delete mode 100644 includes/js/dojo/cldr/nls/ja-jp/number.js delete mode 100644 includes/js/dojo/cldr/nls/ja/currency.js delete mode 100644 includes/js/dojo/cldr/nls/ja/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/ja/number.js delete mode 100644 includes/js/dojo/cldr/nls/ko-kr/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/ko-kr/number.js delete mode 100644 includes/js/dojo/cldr/nls/ko/currency.js delete mode 100644 includes/js/dojo/cldr/nls/ko/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/ko/number.js delete mode 100644 includes/js/dojo/cldr/nls/number.js delete mode 100644 includes/js/dojo/cldr/nls/pt-br/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/pt/currency.js delete mode 100644 includes/js/dojo/cldr/nls/pt/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/pt/number.js delete mode 100644 includes/js/dojo/cldr/nls/zh-cn/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/zh-cn/number.js delete mode 100644 includes/js/dojo/cldr/nls/zh-tw/currency.js delete mode 100644 includes/js/dojo/cldr/nls/zh-tw/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/zh-tw/number.js delete mode 100644 includes/js/dojo/cldr/nls/zh/currency.js delete mode 100644 includes/js/dojo/cldr/nls/zh/gregorian.js delete mode 100644 includes/js/dojo/cldr/nls/zh/number.js delete mode 100644 includes/js/dojo/cldr/supplemental.js delete mode 100644 includes/js/dojo/colors.js delete mode 100644 includes/js/dojo/cookie.js delete mode 100644 includes/js/dojo/currency.js delete mode 100644 includes/js/dojo/data/ItemFileReadStore.js delete mode 100644 includes/js/dojo/data/ItemFileWriteStore.js delete mode 100644 includes/js/dojo/data/api/Identity.js delete mode 100644 includes/js/dojo/data/api/Notification.js delete mode 100644 includes/js/dojo/data/api/Read.js delete mode 100644 includes/js/dojo/data/api/Request.js delete mode 100644 includes/js/dojo/data/api/Write.js delete mode 100644 includes/js/dojo/data/util/filter.js delete mode 100644 includes/js/dojo/data/util/simpleFetch.js delete mode 100644 includes/js/dojo/data/util/sorter.js delete mode 100644 includes/js/dojo/date.js delete mode 100644 includes/js/dojo/date/locale.js delete mode 100644 includes/js/dojo/date/stamp.js delete mode 100644 includes/js/dojo/dnd/Avatar.js delete mode 100644 includes/js/dojo/dnd/Container.js delete mode 100644 includes/js/dojo/dnd/Manager.js delete mode 100644 includes/js/dojo/dnd/Moveable.js delete mode 100644 includes/js/dojo/dnd/Mover.js delete mode 100644 includes/js/dojo/dnd/Selector.js delete mode 100644 includes/js/dojo/dnd/Source.js delete mode 100644 includes/js/dojo/dnd/TimedMoveable.js delete mode 100644 includes/js/dojo/dnd/autoscroll.js delete mode 100644 includes/js/dojo/dnd/common.js delete mode 100644 includes/js/dojo/dnd/move.js delete mode 100644 includes/js/dojo/dojo.js delete mode 100644 includes/js/dojo/dojo.js.uncompressed.js delete mode 100644 includes/js/dojo/fx.js delete mode 100644 includes/js/dojo/i18n.js delete mode 100644 includes/js/dojo/io/iframe.js delete mode 100644 includes/js/dojo/io/script.js delete mode 100644 includes/js/dojo/jaxer.js delete mode 100644 includes/js/dojo/nls/ar/colors.js delete mode 100644 includes/js/dojo/nls/colors.js delete mode 100644 includes/js/dojo/nls/cs/colors.js delete mode 100644 includes/js/dojo/nls/da/colors.js delete mode 100644 includes/js/dojo/nls/de/colors.js delete mode 100644 includes/js/dojo/nls/el/colors.js delete mode 100644 includes/js/dojo/nls/es/colors.js delete mode 100644 includes/js/dojo/nls/fi/colors.js delete mode 100644 includes/js/dojo/nls/fr/colors.js delete mode 100644 includes/js/dojo/nls/he/colors.js delete mode 100644 includes/js/dojo/nls/hu/colors.js delete mode 100644 includes/js/dojo/nls/it/colors.js delete mode 100644 includes/js/dojo/nls/ja/colors.js delete mode 100644 includes/js/dojo/nls/ko/colors.js delete mode 100644 includes/js/dojo/nls/nb/colors.js delete mode 100644 includes/js/dojo/nls/nl/colors.js delete mode 100644 includes/js/dojo/nls/pl/colors.js delete mode 100644 includes/js/dojo/nls/pt-pt/colors.js delete mode 100644 includes/js/dojo/nls/pt/colors.js delete mode 100644 includes/js/dojo/nls/ru/colors.js delete mode 100644 includes/js/dojo/nls/sv/colors.js delete mode 100644 includes/js/dojo/nls/tr/colors.js delete mode 100644 includes/js/dojo/nls/zh-tw/colors.js delete mode 100644 includes/js/dojo/nls/zh/colors.js delete mode 100644 includes/js/dojo/number.js delete mode 100644 includes/js/dojo/parser.js delete mode 100644 includes/js/dojo/regexp.js delete mode 100644 includes/js/dojo/resources/LICENSE delete mode 100644 includes/js/dojo/resources/_modules.js delete mode 100644 includes/js/dojo/resources/blank.gif delete mode 100644 includes/js/dojo/resources/blank.html delete mode 100644 includes/js/dojo/resources/dnd.css delete mode 100644 includes/js/dojo/resources/dnd.css.commented.css delete mode 100644 includes/js/dojo/resources/dojo.css delete mode 100644 includes/js/dojo/resources/dojo.css.commented.css delete mode 100644 includes/js/dojo/resources/iframe_history.html delete mode 100644 includes/js/dojo/resources/images/dndCopy.png delete mode 100644 includes/js/dojo/resources/images/dndMove.png delete mode 100644 includes/js/dojo/resources/images/dndNoCopy.png delete mode 100644 includes/js/dojo/resources/images/dndNoMove.png delete mode 100644 includes/js/dojo/rpc/JsonService.js delete mode 100644 includes/js/dojo/rpc/JsonpService.js delete mode 100644 includes/js/dojo/rpc/RpcService.js delete mode 100644 includes/js/dojo/string.js delete mode 100644 includes/js/dojo/tests.js delete mode 100644 includes/js/dojo/tests/AdapterRegistry.js delete mode 100644 includes/js/dojo/tests/DeferredList.js delete mode 100644 includes/js/dojo/tests/NodeList-fx.html delete mode 100644 includes/js/dojo/tests/TODO delete mode 100644 includes/js/dojo/tests/_base.js delete mode 100644 includes/js/dojo/tests/_base/Color.js delete mode 100644 includes/js/dojo/tests/_base/Deferred.js delete mode 100644 includes/js/dojo/tests/_base/NodeList.html delete mode 100644 includes/js/dojo/tests/_base/_loader/addLoadEvents.html delete mode 100644 includes/js/dojo/tests/_base/_loader/afterOnLoad.html delete mode 100644 includes/js/dojo/tests/_base/_loader/bootstrap.js delete mode 100644 includes/js/dojo/tests/_base/_loader/getText.txt delete mode 100644 includes/js/dojo/tests/_base/_loader/hostenv_browser.js delete mode 100644 includes/js/dojo/tests/_base/_loader/hostenv_rhino.js delete mode 100644 includes/js/dojo/tests/_base/_loader/hostenv_spidermonkey.js delete mode 100644 includes/js/dojo/tests/_base/_loader/loader.js delete mode 100644 includes/js/dojo/tests/_base/_loader/scope/scope04.html delete mode 100644 includes/js/dojo/tests/_base/_loader/scope/scopeContained.html delete mode 100644 includes/js/dojo/tests/_base/_loader/scope/scopeContainedXd.html delete mode 100644 includes/js/dojo/tests/_base/_loader/scope/scopeDjConfig.html delete mode 100644 includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html delete mode 100644 includes/js/dojo/tests/_base/_loader/scope/scopeSingleDaac.html delete mode 100644 includes/js/dojo/tests/_base/array.js delete mode 100644 includes/js/dojo/tests/_base/connect.js delete mode 100644 includes/js/dojo/tests/_base/declare.js delete mode 100644 includes/js/dojo/tests/_base/fx.html delete mode 100644 includes/js/dojo/tests/_base/fx.js delete mode 100644 includes/js/dojo/tests/_base/fx_delay.html delete mode 100644 includes/js/dojo/tests/_base/html.html delete mode 100644 includes/js/dojo/tests/_base/html.js delete mode 100644 includes/js/dojo/tests/_base/html_box.html delete mode 100644 includes/js/dojo/tests/_base/html_box_quirks.html delete mode 100644 includes/js/dojo/tests/_base/html_quirks.html delete mode 100644 includes/js/dojo/tests/_base/html_rtl.html delete mode 100644 includes/js/dojo/tests/_base/json.js delete mode 100644 includes/js/dojo/tests/_base/lang.js delete mode 100644 includes/js/dojo/tests/_base/query.html delete mode 100644 includes/js/dojo/tests/_base/query.js delete mode 100644 includes/js/dojo/tests/_base/timeout.php delete mode 100644 includes/js/dojo/tests/_base/xhr.html delete mode 100644 includes/js/dojo/tests/_base/xhr.js delete mode 100644 includes/js/dojo/tests/_base/xhrDummyMethod.php delete mode 100644 includes/js/dojo/tests/back-hash.js delete mode 100644 includes/js/dojo/tests/back.html delete mode 100644 includes/js/dojo/tests/back.js delete mode 100644 includes/js/dojo/tests/behavior.html delete mode 100644 includes/js/dojo/tests/behavior.js delete mode 100644 includes/js/dojo/tests/cldr.js delete mode 100644 includes/js/dojo/tests/colors.js delete mode 100644 includes/js/dojo/tests/cookie.html delete mode 100644 includes/js/dojo/tests/cookie.js delete mode 100644 includes/js/dojo/tests/currency.js delete mode 100644 includes/js/dojo/tests/data.js delete mode 100644 includes/js/dojo/tests/data/ItemFileReadStore.js delete mode 100644 includes/js/dojo/tests/data/ItemFileWriteStore.js delete mode 100644 includes/js/dojo/tests/data/countries.json delete mode 100644 includes/js/dojo/tests/data/countries_commentFiltered.json delete mode 100644 includes/js/dojo/tests/data/countries_idcollision.json delete mode 100644 includes/js/dojo/tests/data/countries_references.json delete mode 100644 includes/js/dojo/tests/data/countries_withBoolean.json delete mode 100644 includes/js/dojo/tests/data/countries_withDates.json delete mode 100644 includes/js/dojo/tests/data/countries_withNull.json delete mode 100644 includes/js/dojo/tests/data/countries_withoutid.json delete mode 100644 includes/js/dojo/tests/data/data_multitype.json delete mode 100644 includes/js/dojo/tests/data/geography_hierarchy_large.json delete mode 100644 includes/js/dojo/tests/data/geography_hierarchy_small.json delete mode 100644 includes/js/dojo/tests/data/readOnlyItemFileTestTemplates.js delete mode 100644 includes/js/dojo/tests/data/reference_integrity.json delete mode 100644 includes/js/dojo/tests/data/runTests.html delete mode 100644 includes/js/dojo/tests/data/utils.js delete mode 100644 includes/js/dojo/tests/date.js delete mode 100644 includes/js/dojo/tests/date/locale.js delete mode 100644 includes/js/dojo/tests/date/stamp.js delete mode 100644 includes/js/dojo/tests/dnd/dndDefault.css delete mode 100644 includes/js/dojo/tests/dnd/dndDefault.css.commented.css delete mode 100644 includes/js/dojo/tests/dnd/flickr_viewer.html delete mode 100644 includes/js/dojo/tests/dnd/test_box_constraints.html delete mode 100644 includes/js/dojo/tests/dnd/test_container.html delete mode 100644 includes/js/dojo/tests/dnd/test_container_markup.html delete mode 100644 includes/js/dojo/tests/dnd/test_custom_constraints.html delete mode 100644 includes/js/dojo/tests/dnd/test_dnd.html delete mode 100644 includes/js/dojo/tests/dnd/test_dnd_handles.html delete mode 100644 includes/js/dojo/tests/dnd/test_form.html delete mode 100644 includes/js/dojo/tests/dnd/test_moveable.html delete mode 100644 includes/js/dojo/tests/dnd/test_moveable_markup.html delete mode 100644 includes/js/dojo/tests/dnd/test_params.html delete mode 100644 includes/js/dojo/tests/dnd/test_parent_constraints.html delete mode 100644 includes/js/dojo/tests/dnd/test_parent_constraints_margins.html delete mode 100644 includes/js/dojo/tests/dnd/test_selector.html delete mode 100644 includes/js/dojo/tests/dnd/test_selector_markup.html delete mode 100644 includes/js/dojo/tests/dnd/test_timed_moveable.html delete mode 100644 includes/js/dojo/tests/fx.html delete mode 100644 includes/js/dojo/tests/fx.js delete mode 100644 includes/js/dojo/tests/i18n.js delete mode 100644 includes/js/dojo/tests/io/iframe.html delete mode 100644 includes/js/dojo/tests/io/iframe.js delete mode 100644 includes/js/dojo/tests/io/iframeResponse.html delete mode 100644 includes/js/dojo/tests/io/iframeResponse.js.html delete mode 100644 includes/js/dojo/tests/io/iframeResponse.json.html delete mode 100644 includes/js/dojo/tests/io/iframeResponse.text.html delete mode 100644 includes/js/dojo/tests/io/iframeUploadTest.html delete mode 100644 includes/js/dojo/tests/io/script.html delete mode 100644 includes/js/dojo/tests/io/script.js delete mode 100644 includes/js/dojo/tests/io/scriptJsonp.js delete mode 100644 includes/js/dojo/tests/io/scriptSimple.js delete mode 100644 includes/js/dojo/tests/io/scriptTimeout.html delete mode 100644 includes/js/dojo/tests/io/upload.cgi delete mode 100644 includes/js/dojo/tests/manualTests.html delete mode 100644 includes/js/dojo/tests/manualTests.js delete mode 100644 includes/js/dojo/tests/module.js delete mode 100644 includes/js/dojo/tests/nls/ar/salutations.js delete mode 100644 includes/js/dojo/tests/nls/cs/salutations.js delete mode 100644 includes/js/dojo/tests/nls/de/salutations.js delete mode 100644 includes/js/dojo/tests/nls/el/salutations.js delete mode 100644 includes/js/dojo/tests/nls/en-au/salutations.js delete mode 100644 includes/js/dojo/tests/nls/en-us-hawaii/salutations.js delete mode 100644 includes/js/dojo/tests/nls/en-us-new_york-brooklyn/salutations.js delete mode 100644 includes/js/dojo/tests/nls/en-us-texas/salutations.js delete mode 100644 includes/js/dojo/tests/nls/es/salutations.js delete mode 100644 includes/js/dojo/tests/nls/fa/salutations.js delete mode 100644 includes/js/dojo/tests/nls/fr/salutations.js delete mode 100644 includes/js/dojo/tests/nls/he/salutations.js delete mode 100644 includes/js/dojo/tests/nls/hi/salutations.js delete mode 100644 includes/js/dojo/tests/nls/it/salutations.js delete mode 100644 includes/js/dojo/tests/nls/ja/salutations.js delete mode 100644 includes/js/dojo/tests/nls/ko/salutations.js delete mode 100644 includes/js/dojo/tests/nls/pl/salutations.js delete mode 100644 includes/js/dojo/tests/nls/pt/salutations.js delete mode 100644 includes/js/dojo/tests/nls/ru/salutations.js delete mode 100644 includes/js/dojo/tests/nls/salutations.js delete mode 100644 includes/js/dojo/tests/nls/sw/salutations.js delete mode 100644 includes/js/dojo/tests/nls/th/salutations.js delete mode 100644 includes/js/dojo/tests/nls/tr/salutations.js delete mode 100644 includes/js/dojo/tests/nls/yi/salutations.js delete mode 100644 includes/js/dojo/tests/nls/zh-cn/salutations.js delete mode 100644 includes/js/dojo/tests/nls/zh-tw/salutations.js delete mode 100644 includes/js/dojo/tests/number.js delete mode 100644 includes/js/dojo/tests/parser.html delete mode 100644 includes/js/dojo/tests/parser.js delete mode 100644 includes/js/dojo/tests/resources/ApplicationState.js delete mode 100644 includes/js/dojo/tests/resources/JSON.php delete mode 100644 includes/js/dojo/tests/resources/testClass.php delete mode 100644 includes/js/dojo/tests/resources/testClass.smd delete mode 100644 includes/js/dojo/tests/resources/test_JsonRPCMediator.php delete mode 100644 includes/js/dojo/tests/resources/test_css.html delete mode 100644 includes/js/dojo/tests/resources/yahoo_smd_v1.smd delete mode 100644 includes/js/dojo/tests/rpc.js delete mode 100644 includes/js/dojo/tests/runTests.html delete mode 100644 includes/js/dojo/tests/string.js delete mode 100644 includes/js/dojo/tests/test_FirebugLite.html delete mode 100644 includes/js/dojo/tests/test_FirebugLitePopup.html delete mode 100644 includes/js/dojo/tests/test_fx.html delete mode 100644 includes/js/dojox/LICENSE delete mode 100644 includes/js/dojox/_sql/LICENSE delete mode 100644 includes/js/dojox/_sql/_crypto.js delete mode 100644 includes/js/dojox/_sql/common.js delete mode 100644 includes/js/dojox/_sql/demos/customers/customers.html delete mode 100644 includes/js/dojox/analytics.js delete mode 100644 includes/js/dojox/analytics/README delete mode 100644 includes/js/dojox/analytics/_base.js delete mode 100644 includes/js/dojox/analytics/logger/JSON.php delete mode 100644 includes/js/dojox/analytics/logger/dojoxAnalytics.php delete mode 100644 includes/js/dojox/analytics/plugins/consoleMessages.js delete mode 100644 includes/js/dojox/analytics/plugins/dojo.js delete mode 100644 includes/js/dojox/analytics/plugins/idle.js delete mode 100644 includes/js/dojox/analytics/plugins/mouseClick.js delete mode 100644 includes/js/dojox/analytics/plugins/mouseOver.js delete mode 100644 includes/js/dojox/analytics/plugins/window.js delete mode 100644 includes/js/dojox/analytics/profiles/analytics.profile.js delete mode 100644 includes/js/dojox/analytics/profiles/analyticsInBase.profile.js delete mode 100644 includes/js/dojox/analytics/tests/test_analytics.html delete mode 100644 includes/js/dojox/av.js delete mode 100644 includes/js/dojox/av/README delete mode 100644 includes/js/dojox/av/_base.js delete mode 100644 includes/js/dojox/av/_base/_ieFlash.js delete mode 100644 includes/js/dojox/av/_base/flash.js delete mode 100644 includes/js/dojox/av/_base/quicktime.js delete mode 100644 includes/js/dojox/av/resources/version.mov delete mode 100644 includes/js/dojox/av/tests/flash.html delete mode 100644 includes/js/dojox/av/tests/quicktime.html delete mode 100644 includes/js/dojox/av/tests/resources/hfp.swf delete mode 100644 includes/js/dojox/charting/Chart2D.js delete mode 100644 includes/js/dojox/charting/Chart3D.js delete mode 100644 includes/js/dojox/charting/Element.js delete mode 100644 includes/js/dojox/charting/README delete mode 100644 includes/js/dojox/charting/Series.js delete mode 100644 includes/js/dojox/charting/Theme.js delete mode 100644 includes/js/dojox/charting/_color.js delete mode 100644 includes/js/dojox/charting/axis2d/Base.js delete mode 100644 includes/js/dojox/charting/axis2d/Default.js delete mode 100644 includes/js/dojox/charting/axis2d/common.js delete mode 100644 includes/js/dojox/charting/plot2d/Areas.js delete mode 100644 includes/js/dojox/charting/plot2d/Bars.js delete mode 100644 includes/js/dojox/charting/plot2d/Base.js delete mode 100644 includes/js/dojox/charting/plot2d/ClusteredBars.js delete mode 100644 includes/js/dojox/charting/plot2d/ClusteredColumns.js delete mode 100644 includes/js/dojox/charting/plot2d/Columns.js delete mode 100644 includes/js/dojox/charting/plot2d/Default.js delete mode 100644 includes/js/dojox/charting/plot2d/Grid.js delete mode 100644 includes/js/dojox/charting/plot2d/Lines.js delete mode 100644 includes/js/dojox/charting/plot2d/Markers.js delete mode 100644 includes/js/dojox/charting/plot2d/MarkersOnly.js delete mode 100644 includes/js/dojox/charting/plot2d/Pie.js delete mode 100644 includes/js/dojox/charting/plot2d/Scatter.js delete mode 100644 includes/js/dojox/charting/plot2d/Stacked.js delete mode 100644 includes/js/dojox/charting/plot2d/StackedAreas.js delete mode 100644 includes/js/dojox/charting/plot2d/StackedBars.js delete mode 100644 includes/js/dojox/charting/plot2d/StackedColumns.js delete mode 100644 includes/js/dojox/charting/plot2d/StackedLines.js delete mode 100644 includes/js/dojox/charting/plot2d/common.js delete mode 100644 includes/js/dojox/charting/plot3d/Bars.js delete mode 100644 includes/js/dojox/charting/plot3d/Base.js delete mode 100644 includes/js/dojox/charting/plot3d/Cylinders.js delete mode 100644 includes/js/dojox/charting/scaler.js delete mode 100644 includes/js/dojox/charting/tests/Theme.js delete mode 100644 includes/js/dojox/charting/tests/_color.js delete mode 100644 includes/js/dojox/charting/tests/charting.js delete mode 100644 includes/js/dojox/charting/tests/data/goog_prices.csv delete mode 100644 includes/js/dojox/charting/tests/data/msft_prices.csv delete mode 100644 includes/js/dojox/charting/tests/data/yahoo_prices.csv delete mode 100644 includes/js/dojox/charting/tests/runTests.html delete mode 100644 includes/js/dojox/charting/tests/test_bars.html delete mode 100644 includes/js/dojox/charting/tests/test_chart2d.html delete mode 100644 includes/js/dojox/charting/tests/test_chart2d_updating.html delete mode 100644 includes/js/dojox/charting/tests/test_cylinders.html delete mode 100644 includes/js/dojox/charting/tests/test_labels2d.html delete mode 100644 includes/js/dojox/charting/tests/test_pie2d.html delete mode 100644 includes/js/dojox/charting/tests/test_scaler.html delete mode 100644 includes/js/dojox/charting/tests/test_sparklines.html delete mode 100644 includes/js/dojox/charting/tests/test_widget2d.html delete mode 100644 includes/js/dojox/charting/themes/ET/greys.js delete mode 100644 includes/js/dojox/charting/themes/GreySkies.js delete mode 100644 includes/js/dojox/charting/themes/PlotKit/README delete mode 100644 includes/js/dojox/charting/themes/PlotKit/blue.js delete mode 100644 includes/js/dojox/charting/themes/PlotKit/cyan.js delete mode 100644 includes/js/dojox/charting/themes/PlotKit/green.js delete mode 100644 includes/js/dojox/charting/themes/PlotKit/orange.js delete mode 100644 includes/js/dojox/charting/themes/PlotKit/purple.js delete mode 100644 includes/js/dojox/charting/themes/PlotKit/red.js delete mode 100644 includes/js/dojox/charting/widget/Chart2D.js delete mode 100644 includes/js/dojox/collections.js delete mode 100644 includes/js/dojox/collections/ArrayList.js delete mode 100644 includes/js/dojox/collections/BinaryTree.js delete mode 100644 includes/js/dojox/collections/Dictionary.js delete mode 100644 includes/js/dojox/collections/Queue.js delete mode 100644 includes/js/dojox/collections/README delete mode 100644 includes/js/dojox/collections/Set.js delete mode 100644 includes/js/dojox/collections/SortedList.js delete mode 100644 includes/js/dojox/collections/Stack.js delete mode 100644 includes/js/dojox/collections/_base.js delete mode 100644 includes/js/dojox/collections/tests/ArrayList.js delete mode 100644 includes/js/dojox/collections/tests/BinaryTree.js delete mode 100644 includes/js/dojox/collections/tests/Dictionary.js delete mode 100644 includes/js/dojox/collections/tests/Queue.js delete mode 100644 includes/js/dojox/collections/tests/Set.js delete mode 100644 includes/js/dojox/collections/tests/SortedList.js delete mode 100644 includes/js/dojox/collections/tests/Stack.js delete mode 100644 includes/js/dojox/collections/tests/_base.js delete mode 100644 includes/js/dojox/collections/tests/collections.js delete mode 100644 includes/js/dojox/collections/tests/runTests.html delete mode 100644 includes/js/dojox/color.js delete mode 100644 includes/js/dojox/color/Colorspace.js delete mode 100644 includes/js/dojox/color/Generator.js delete mode 100644 includes/js/dojox/color/README delete mode 100644 includes/js/dojox/color/_base.js delete mode 100644 includes/js/dojox/color/tests/Generator.js delete mode 100644 includes/js/dojox/color/tests/_base.js delete mode 100644 includes/js/dojox/color/tests/color.js delete mode 100644 includes/js/dojox/color/tests/runTests.html delete mode 100644 includes/js/dojox/cometd.js delete mode 100644 includes/js/dojox/cometd/README delete mode 100644 includes/js/dojox/cometd/_base.js delete mode 100644 includes/js/dojox/cometd/timestamp.js delete mode 100644 includes/js/dojox/cometd/timesync.js delete mode 100644 includes/js/dojox/crypto.js delete mode 100644 includes/js/dojox/crypto/Blowfish.js delete mode 100644 includes/js/dojox/crypto/MD5.js delete mode 100644 includes/js/dojox/crypto/README delete mode 100644 includes/js/dojox/crypto/_base.js delete mode 100644 includes/js/dojox/data/AtomReadStore.js delete mode 100644 includes/js/dojox/data/CsvStore.js delete mode 100644 includes/js/dojox/data/FlickrRestStore.js delete mode 100644 includes/js/dojox/data/FlickrStore.js delete mode 100644 includes/js/dojox/data/HtmlStore.js delete mode 100644 includes/js/dojox/data/HtmlTableStore.js delete mode 100644 includes/js/dojox/data/KeyValueStore.js delete mode 100644 includes/js/dojox/data/OpmlStore.js delete mode 100644 includes/js/dojox/data/PicasaStore.js delete mode 100644 includes/js/dojox/data/QueryReadStore.js delete mode 100644 includes/js/dojox/data/README delete mode 100644 includes/js/dojox/data/SnapLogicStore.js delete mode 100644 includes/js/dojox/data/XmlStore.js delete mode 100644 includes/js/dojox/data/demos/demo_DataDemoTable.html delete mode 100644 includes/js/dojox/data/demos/demo_FlickrRestStore.html delete mode 100644 includes/js/dojox/data/demos/demo_FlickrStore.html delete mode 100644 includes/js/dojox/data/demos/demo_LazyLoad.html delete mode 100644 includes/js/dojox/data/demos/demo_MultiStores.html delete mode 100644 includes/js/dojox/data/demos/demo_PicasaStore.html delete mode 100644 includes/js/dojox/data/demos/demo_QueryReadStore_ComboBox.html delete mode 100644 includes/js/dojox/data/demos/demo_QueryReadStore_FilteringSelect.html delete mode 100644 includes/js/dojox/data/demos/demo_QueryReadStore_grid.html delete mode 100644 includes/js/dojox/data/demos/flickrDemo.css delete mode 100644 includes/js/dojox/data/demos/flickrDemo.css.commented.css delete mode 100644 includes/js/dojox/data/demos/geography.json delete mode 100644 includes/js/dojox/data/demos/geography.xml delete mode 100644 includes/js/dojox/data/demos/geography/Argentina/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Brazil/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Canada/Ottawa/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Canada/Toronto/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Canada/data.json delete mode 100644 includes/js/dojox/data/demos/geography/China/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Commonwealth of Australia/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Egypt/data.json delete mode 100644 includes/js/dojox/data/demos/geography/France/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Germany/data.json delete mode 100644 includes/js/dojox/data/demos/geography/India/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Italy/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Kenya/Mombasa/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Kenya/Nairobi/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Kenya/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Mexico/Guadalajara/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Mexico/Mexico City/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Mexico/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Mongolia/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Russia/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Spain/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Sudan/Khartoum/data.json delete mode 100644 includes/js/dojox/data/demos/geography/Sudan/data.json delete mode 100644 includes/js/dojox/data/demos/geography/United States of America/data.json delete mode 100644 includes/js/dojox/data/demos/geography/root.json delete mode 100644 includes/js/dojox/data/demos/picasaDemo.css delete mode 100644 includes/js/dojox/data/demos/picasaDemo.css.commented.css delete mode 100644 includes/js/dojox/data/demos/stores/LazyLoadJSIStore.js delete mode 100644 includes/js/dojox/data/demos/widgets/FlickrView.js delete mode 100644 includes/js/dojox/data/demos/widgets/FlickrViewList.js delete mode 100644 includes/js/dojox/data/demos/widgets/PicasaView.js delete mode 100644 includes/js/dojox/data/demos/widgets/PicasaViewList.js delete mode 100644 includes/js/dojox/data/demos/widgets/templates/FlickrView.html delete mode 100644 includes/js/dojox/data/demos/widgets/templates/FlickrViewList.html delete mode 100644 includes/js/dojox/data/demos/widgets/templates/PicasaView.html delete mode 100644 includes/js/dojox/data/demos/widgets/templates/PicasaViewList.html delete mode 100644 includes/js/dojox/data/dom.js delete mode 100644 includes/js/dojox/data/jsonPathStore.js delete mode 100644 includes/js/dojox/data/tests/QueryReadStore.html delete mode 100644 includes/js/dojox/data/tests/dom.js delete mode 100644 includes/js/dojox/data/tests/ml/divList.html delete mode 100644 includes/js/dojox/data/tests/ml/orderedList.html delete mode 100644 includes/js/dojox/data/tests/ml/table.html delete mode 100644 includes/js/dojox/data/tests/ml/test_HtmlStore_declaratively.html delete mode 100644 includes/js/dojox/data/tests/ml/test_HtmlStore_remote.html delete mode 100644 includes/js/dojox/data/tests/ml/test_HtmlTableStore_declaratively.html delete mode 100644 includes/js/dojox/data/tests/ml/unorderedList.html delete mode 100644 includes/js/dojox/data/tests/module.js delete mode 100644 includes/js/dojox/data/tests/runTests.html delete mode 100644 includes/js/dojox/data/tests/stores/AtomReadStore.js delete mode 100644 includes/js/dojox/data/tests/stores/CsvStore.js delete mode 100644 includes/js/dojox/data/tests/stores/FlickrRestStore.js delete mode 100644 includes/js/dojox/data/tests/stores/FlickrStore.js delete mode 100644 includes/js/dojox/data/tests/stores/HtmlStore.js delete mode 100644 includes/js/dojox/data/tests/stores/HtmlTableStore.js delete mode 100644 includes/js/dojox/data/tests/stores/KeyValueStore.js delete mode 100644 includes/js/dojox/data/tests/stores/OpmlStore.js delete mode 100644 includes/js/dojox/data/tests/stores/QueryReadStore.js delete mode 100644 includes/js/dojox/data/tests/stores/QueryReadStore.php delete mode 100644 includes/js/dojox/data/tests/stores/SnapLogicStore.js delete mode 100644 includes/js/dojox/data/tests/stores/XmlStore.js delete mode 100644 includes/js/dojox/data/tests/stores/atom1.xml delete mode 100644 includes/js/dojox/data/tests/stores/books.html delete mode 100644 includes/js/dojox/data/tests/stores/books.xml delete mode 100644 includes/js/dojox/data/tests/stores/books2.html delete mode 100644 includes/js/dojox/data/tests/stores/books2.xml delete mode 100644 includes/js/dojox/data/tests/stores/books3.html delete mode 100644 includes/js/dojox/data/tests/stores/books3.xml delete mode 100644 includes/js/dojox/data/tests/stores/books_isbnAttr.xml delete mode 100644 includes/js/dojox/data/tests/stores/books_isbnAttr2.xml delete mode 100644 includes/js/dojox/data/tests/stores/geography.xml delete mode 100644 includes/js/dojox/data/tests/stores/geography_withspeciallabel.xml delete mode 100644 includes/js/dojox/data/tests/stores/jsonPathStore.js delete mode 100644 includes/js/dojox/data/tests/stores/movies.csv delete mode 100644 includes/js/dojox/data/tests/stores/movies2.csv delete mode 100644 includes/js/dojox/data/tests/stores/patterns.csv delete mode 100644 includes/js/dojox/data/tests/stores/properties.js delete mode 100644 includes/js/dojox/data/tests/stores/snap_pipeline.php delete mode 100644 includes/js/dojox/data/tests/test_Tree_vs_jsonPathStore.html delete mode 100644 includes/js/dojox/data/tests/treeTest.json delete mode 100644 includes/js/dojox/date/README delete mode 100644 includes/js/dojox/date/php.js delete mode 100644 includes/js/dojox/date/posix.js delete mode 100644 includes/js/dojox/date/tests/module.js delete mode 100644 includes/js/dojox/date/tests/posix.js delete mode 100644 includes/js/dojox/date/tests/runTests.html delete mode 100644 includes/js/dojox/dtl.js delete mode 100644 includes/js/dojox/dtl/Context.js delete mode 100644 includes/js/dojox/dtl/README delete mode 100644 includes/js/dojox/dtl/_HtmlTemplated.js delete mode 100644 includes/js/dojox/dtl/_Templated.js delete mode 100644 includes/js/dojox/dtl/_base.js delete mode 100644 includes/js/dojox/dtl/contrib/data.js delete mode 100644 includes/js/dojox/dtl/contrib/dijit.js delete mode 100644 includes/js/dojox/dtl/contrib/html.js delete mode 100644 includes/js/dojox/dtl/contrib/objects.js delete mode 100644 includes/js/dojox/dtl/demos/demo_Animation.html delete mode 100644 includes/js/dojox/dtl/demos/demo_Blog.html delete mode 100644 includes/js/dojox/dtl/demos/demo_Data.html delete mode 100644 includes/js/dojox/dtl/demos/demo_Dijitless.html delete mode 100644 includes/js/dojox/dtl/demos/demo_Events.html delete mode 100644 includes/js/dojox/dtl/demos/demo_HtmlTemplated.html delete mode 100644 includes/js/dojox/dtl/demos/demo_Inline.html delete mode 100644 includes/js/dojox/dtl/demos/demo_NodeList.html delete mode 100644 includes/js/dojox/dtl/demos/demo_Table.html delete mode 100644 includes/js/dojox/dtl/demos/demo_Templated.html delete mode 100644 includes/js/dojox/dtl/demos/demo_Tree.html delete mode 100644 includes/js/dojox/dtl/demos/json/blog/get_blog_1.json delete mode 100644 includes/js/dojox/dtl/demos/json/blog/get_blog_3.json delete mode 100644 includes/js/dojox/dtl/demos/json/blog/get_blog_list.json delete mode 100644 includes/js/dojox/dtl/demos/json/blog/get_page_about.json delete mode 100644 includes/js/dojox/dtl/demos/json/fruit.json delete mode 100644 includes/js/dojox/dtl/demos/json/morefruit.json delete mode 100644 includes/js/dojox/dtl/demos/templates/animation.html delete mode 100644 includes/js/dojox/dtl/demos/templates/blog_base.html delete mode 100644 includes/js/dojox/dtl/demos/templates/blog_detail.html delete mode 100644 includes/js/dojox/dtl/demos/templates/blog_list.html delete mode 100644 includes/js/dojox/dtl/demos/templates/blog_page.html delete mode 100644 includes/js/dojox/dtl/demos/templates/countrychildren.html delete mode 100644 includes/js/dojox/dtl/demos/templates/gallery.html delete mode 100644 includes/js/dojox/dtl/demos/templates/nodelist.html delete mode 100644 includes/js/dojox/dtl/ext-dojo/NodeList.js delete mode 100644 includes/js/dojox/dtl/filter/dates.js delete mode 100644 includes/js/dojox/dtl/filter/htmlstrings.js delete mode 100644 includes/js/dojox/dtl/filter/integers.js delete mode 100644 includes/js/dojox/dtl/filter/lists.js delete mode 100644 includes/js/dojox/dtl/filter/logic.js delete mode 100644 includes/js/dojox/dtl/filter/misc.js delete mode 100644 includes/js/dojox/dtl/filter/strings.js delete mode 100644 includes/js/dojox/dtl/html.js delete mode 100644 includes/js/dojox/dtl/render/html.js delete mode 100644 includes/js/dojox/dtl/tag/date.js delete mode 100644 includes/js/dojox/dtl/tag/loader.js delete mode 100644 includes/js/dojox/dtl/tag/logic.js delete mode 100644 includes/js/dojox/dtl/tag/loop.js delete mode 100644 includes/js/dojox/dtl/tag/misc.js delete mode 100644 includes/js/dojox/dtl/tests/context.js delete mode 100644 includes/js/dojox/dtl/tests/demo_Templated_Jaxer.html delete mode 100644 includes/js/dojox/dtl/tests/html/buffer.js delete mode 100644 includes/js/dojox/dtl/tests/html/tag.js delete mode 100644 includes/js/dojox/dtl/tests/html/util.js delete mode 100644 includes/js/dojox/dtl/tests/module.js delete mode 100644 includes/js/dojox/dtl/tests/runTests.html delete mode 100644 includes/js/dojox/dtl/tests/templates/hello.html delete mode 100644 includes/js/dojox/dtl/tests/templates/pocket.html delete mode 100644 includes/js/dojox/dtl/tests/templates/pocket2.html delete mode 100644 includes/js/dojox/dtl/tests/text/filter.js delete mode 100644 includes/js/dojox/dtl/tests/text/load.js delete mode 100644 includes/js/dojox/dtl/tests/text/tag.js delete mode 100644 includes/js/dojox/dtl/utils/date.js delete mode 100644 includes/js/dojox/encoding/LICENSE delete mode 100644 includes/js/dojox/encoding/README delete mode 100644 includes/js/dojox/encoding/_base.js delete mode 100644 includes/js/dojox/encoding/ascii85.js delete mode 100644 includes/js/dojox/encoding/base64.js delete mode 100644 includes/js/dojox/encoding/bits.js delete mode 100644 includes/js/dojox/encoding/compression/lzw.js delete mode 100644 includes/js/dojox/encoding/compression/splay.js delete mode 100644 includes/js/dojox/encoding/crypto/Blowfish.js delete mode 100644 includes/js/dojox/encoding/crypto/_base.js delete mode 100644 includes/js/dojox/encoding/digests/MD5.js delete mode 100644 includes/js/dojox/encoding/digests/_base.js delete mode 100644 includes/js/dojox/encoding/easy64.js delete mode 100644 includes/js/dojox/encoding/tests/ascii85.js delete mode 100644 includes/js/dojox/encoding/tests/bits.js delete mode 100644 includes/js/dojox/encoding/tests/compression/_base.js delete mode 100644 includes/js/dojox/encoding/tests/compression/colors.js delete mode 100644 includes/js/dojox/encoding/tests/compression/colors2.html delete mode 100644 includes/js/dojox/encoding/tests/compression/colors2.js delete mode 100644 includes/js/dojox/encoding/tests/compression/colors3.html delete mode 100644 includes/js/dojox/encoding/tests/compression/colors3.js delete mode 100644 includes/js/dojox/encoding/tests/compression/lzw.js delete mode 100644 includes/js/dojox/encoding/tests/compression/runTests.html delete mode 100644 includes/js/dojox/encoding/tests/compression/splay.js delete mode 100644 includes/js/dojox/encoding/tests/compression/test.html delete mode 100644 includes/js/dojox/encoding/tests/compression/vq.html delete mode 100644 includes/js/dojox/encoding/tests/crypto/Blowfish.js delete mode 100644 includes/js/dojox/encoding/tests/crypto/_base.js delete mode 100644 includes/js/dojox/encoding/tests/crypto/runTests.html delete mode 100644 includes/js/dojox/encoding/tests/digests/MD5.js delete mode 100644 includes/js/dojox/encoding/tests/digests/_base.js delete mode 100644 includes/js/dojox/encoding/tests/digests/runTests.html delete mode 100644 includes/js/dojox/encoding/tests/easy64.js delete mode 100644 includes/js/dojox/encoding/tests/encoding.js delete mode 100644 includes/js/dojox/encoding/tests/runTests.html delete mode 100644 includes/js/dojox/flash.js delete mode 100644 includes/js/dojox/flash/DojoExternalInterface.as delete mode 100644 includes/js/dojox/flash/ExpressInstall.as delete mode 100644 includes/js/dojox/flash/README delete mode 100644 includes/js/dojox/flash/_base.js delete mode 100644 includes/js/dojox/flash/tests/TestFlash.as delete mode 100644 includes/js/dojox/flash/tests/TestFlash.swf delete mode 100644 includes/js/dojox/flash/tests/buildFlashTest.sh delete mode 100644 includes/js/dojox/flash/tests/test_flash.html delete mode 100644 includes/js/dojox/flash/tests/test_flash.js delete mode 100644 includes/js/dojox/form/CheckedMultiSelect.js delete mode 100644 includes/js/dojox/form/DropDownSelect.js delete mode 100644 includes/js/dojox/form/PasswordValidator.js delete mode 100644 includes/js/dojox/form/README delete mode 100644 includes/js/dojox/form/nls/PasswordValidator.js delete mode 100644 includes/js/dojox/form/resources/CheckedMultiSelect.css delete mode 100644 includes/js/dojox/form/resources/CheckedMultiSelect.css.commented.css delete mode 100644 includes/js/dojox/form/resources/CheckedMultiSelect.html delete mode 100644 includes/js/dojox/form/resources/DropDownSelect.css delete mode 100644 includes/js/dojox/form/resources/DropDownSelect.css.commented.css delete mode 100644 includes/js/dojox/form/resources/PasswordValidator.html delete mode 100644 includes/js/dojox/form/resources/_CheckedMultiSelectItem.html delete mode 100644 includes/js/dojox/form/tests/test_CheckedMultiSelect.html delete mode 100644 includes/js/dojox/form/tests/test_DropDownSelect.html delete mode 100644 includes/js/dojox/form/tests/test_PasswordValidator.html delete mode 100644 includes/js/dojox/fx.js delete mode 100644 includes/js/dojox/fx/README delete mode 100644 includes/js/dojox/fx/Shadow.js delete mode 100644 includes/js/dojox/fx/_arg.js delete mode 100644 includes/js/dojox/fx/_base.js delete mode 100644 includes/js/dojox/fx/_core.js delete mode 100644 includes/js/dojox/fx/easing.js delete mode 100644 includes/js/dojox/fx/ext-dojo/NodeList.js delete mode 100644 includes/js/dojox/fx/resources/shadowB.png delete mode 100644 includes/js/dojox/fx/resources/shadowBL.png delete mode 100644 includes/js/dojox/fx/resources/shadowBR.png delete mode 100644 includes/js/dojox/fx/resources/shadowL.png delete mode 100644 includes/js/dojox/fx/resources/shadowR.png delete mode 100644 includes/js/dojox/fx/resources/shadowT.png delete mode 100644 includes/js/dojox/fx/resources/shadowTL.png delete mode 100644 includes/js/dojox/fx/resources/shadowTR.png delete mode 100644 includes/js/dojox/fx/scroll.js delete mode 100644 includes/js/dojox/fx/style.js delete mode 100644 includes/js/dojox/fx/tests/_animation.css delete mode 100644 includes/js/dojox/fx/tests/_animation.css.commented.css delete mode 100644 includes/js/dojox/fx/tests/example_Line.html delete mode 100644 includes/js/dojox/fx/tests/example_backgroundPosition.html delete mode 100644 includes/js/dojox/fx/tests/example_dojoAnimations.html delete mode 100644 includes/js/dojox/fx/tests/example_easingChart2D.html delete mode 100644 includes/js/dojox/fx/tests/images/averycutedog.jpg delete mode 100644 includes/js/dojox/fx/tests/images/dot.png delete mode 100644 includes/js/dojox/fx/tests/images/longBg.png delete mode 100644 includes/js/dojox/fx/tests/test_Nodelist-fx.html delete mode 100644 includes/js/dojox/fx/tests/test_Shadow.html delete mode 100644 includes/js/dojox/fx/tests/test_animateClass.html delete mode 100644 includes/js/dojox/fx/tests/test_crossFade.html delete mode 100644 includes/js/dojox/fx/tests/test_easing.html delete mode 100644 includes/js/dojox/fx/tests/test_highlight.html delete mode 100644 includes/js/dojox/fx/tests/test_scroll.html delete mode 100644 includes/js/dojox/fx/tests/test_sizeTo.html delete mode 100644 includes/js/dojox/fx/tests/test_slideBy.html delete mode 100644 includes/js/dojox/fx/tests/test_wipeTo.html delete mode 100644 includes/js/dojox/gfx.js delete mode 100644 includes/js/dojox/gfx/Moveable.js delete mode 100644 includes/js/dojox/gfx/Mover.js delete mode 100644 includes/js/dojox/gfx/README delete mode 100644 includes/js/dojox/gfx/_base.js delete mode 100644 includes/js/dojox/gfx/arc.js delete mode 100644 includes/js/dojox/gfx/attach.js delete mode 100644 includes/js/dojox/gfx/canvas.js delete mode 100644 includes/js/dojox/gfx/canvas_attach.js delete mode 100644 includes/js/dojox/gfx/decompose.js delete mode 100644 includes/js/dojox/gfx/demos/beautify.html delete mode 100644 includes/js/dojox/gfx/demos/butterfly.html delete mode 100644 includes/js/dojox/gfx/demos/career_test.html delete mode 100644 includes/js/dojox/gfx/demos/circles.html delete mode 100644 includes/js/dojox/gfx/demos/clock.html delete mode 100644 includes/js/dojox/gfx/demos/clockWidget.html delete mode 100644 includes/js/dojox/gfx/demos/clock_black.html delete mode 100644 includes/js/dojox/gfx/demos/creator.html delete mode 100644 includes/js/dojox/gfx/demos/data/Lars.json delete mode 100644 includes/js/dojox/gfx/demos/data/Lars.svg delete mode 100644 includes/js/dojox/gfx/demos/data/LarsDreaming.json delete mode 100644 includes/js/dojox/gfx/demos/data/LarsDreaming.svg delete mode 100644 includes/js/dojox/gfx/demos/data/Nils.json delete mode 100644 includes/js/dojox/gfx/demos/data/Nils.svg delete mode 100644 includes/js/dojox/gfx/demos/data/buratino-bg.png delete mode 100644 includes/js/dojox/gfx/demos/data/buratino-head.png delete mode 100644 includes/js/dojox/gfx/demos/data/buratino-left-arm.png delete mode 100644 includes/js/dojox/gfx/demos/data/buratino-left-leg.png delete mode 100644 includes/js/dojox/gfx/demos/data/buratino-lollipop.png delete mode 100644 includes/js/dojox/gfx/demos/data/buratino-nose-large.png delete mode 100644 includes/js/dojox/gfx/demos/data/buratino-nose-medium.png delete mode 100644 includes/js/dojox/gfx/demos/data/buratino-right-arm.png delete mode 100644 includes/js/dojox/gfx/demos/data/buratino-right-leg.png delete mode 100644 includes/js/dojox/gfx/demos/data/buratino-torso.png delete mode 100644 includes/js/dojox/gfx/demos/data/buratino.jpg delete mode 100644 includes/js/dojox/gfx/demos/data/buratino.json delete mode 100644 includes/js/dojox/gfx/demos/data/svg2gfx.xsl delete mode 100644 includes/js/dojox/gfx/demos/data/transform.json delete mode 100644 includes/js/dojox/gfx/demos/images/clock_face.jpg delete mode 100644 includes/js/dojox/gfx/demos/images/clock_face_black.jpg delete mode 100644 includes/js/dojox/gfx/demos/inspector.html delete mode 100644 includes/js/dojox/gfx/demos/lion.html delete mode 100644 includes/js/dojox/gfx/demos/roundedPane.html delete mode 100644 includes/js/dojox/gfx/demos/tiger.html delete mode 100644 includes/js/dojox/gfx/demos/tooltip.html delete mode 100644 includes/js/dojox/gfx/fx.js delete mode 100644 includes/js/dojox/gfx/matrix.js delete mode 100644 includes/js/dojox/gfx/move.js delete mode 100644 includes/js/dojox/gfx/path.js delete mode 100644 includes/js/dojox/gfx/shape.js delete mode 100644 includes/js/dojox/gfx/silverlight.js delete mode 100644 includes/js/dojox/gfx/silverlight_attach.js delete mode 100644 includes/js/dojox/gfx/svg.js delete mode 100644 includes/js/dojox/gfx/svg_attach.js delete mode 100644 includes/js/dojox/gfx/tests/decompose.js delete mode 100644 includes/js/dojox/gfx/tests/matrix.js delete mode 100644 includes/js/dojox/gfx/tests/module.js delete mode 100644 includes/js/dojox/gfx/tests/runTests.html delete mode 100644 includes/js/dojox/gfx/tests/test_arc.html delete mode 100644 includes/js/dojox/gfx/tests/test_bezier.html delete mode 100644 includes/js/dojox/gfx/tests/test_decompose.html delete mode 100644 includes/js/dojox/gfx/tests/test_fill.html delete mode 100644 includes/js/dojox/gfx/tests/test_fx.html delete mode 100644 includes/js/dojox/gfx/tests/test_gfx.html delete mode 100644 includes/js/dojox/gfx/tests/test_gradient.html delete mode 100644 includes/js/dojox/gfx/tests/test_group.html delete mode 100644 includes/js/dojox/gfx/tests/test_image1.html delete mode 100644 includes/js/dojox/gfx/tests/test_image2.html delete mode 100644 includes/js/dojox/gfx/tests/test_linearGradient.html delete mode 100644 includes/js/dojox/gfx/tests/test_linestyle.html delete mode 100644 includes/js/dojox/gfx/tests/test_pattern.html delete mode 100644 includes/js/dojox/gfx/tests/test_poly.html delete mode 100644 includes/js/dojox/gfx/tests/test_resize.html delete mode 100644 includes/js/dojox/gfx/tests/test_setPath.html delete mode 100644 includes/js/dojox/gfx/tests/test_tbbox.html delete mode 100644 includes/js/dojox/gfx/tests/test_text.html delete mode 100644 includes/js/dojox/gfx/tests/test_textpath.html delete mode 100644 includes/js/dojox/gfx/tests/test_transform.html delete mode 100644 includes/js/dojox/gfx/utils.js delete mode 100644 includes/js/dojox/gfx/vml.js delete mode 100644 includes/js/dojox/gfx/vml_attach.js delete mode 100644 includes/js/dojox/gfx3d.js delete mode 100644 includes/js/dojox/gfx3d/README delete mode 100644 includes/js/dojox/gfx3d/_base.js delete mode 100644 includes/js/dojox/gfx3d/gradient.js delete mode 100644 includes/js/dojox/gfx3d/lighting.js delete mode 100644 includes/js/dojox/gfx3d/matrix.js delete mode 100644 includes/js/dojox/gfx3d/object.js delete mode 100644 includes/js/dojox/gfx3d/scheduler.js delete mode 100644 includes/js/dojox/gfx3d/tests/test_camerarotate.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_camerarotate_shaded.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_cube.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_cylinder.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_drawer.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_edges.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_matrix.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_orbit.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_overlap.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_polygon.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_quads.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_rotate.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_scene.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_triangles.html delete mode 100644 includes/js/dojox/gfx3d/tests/test_vector.html delete mode 100644 includes/js/dojox/gfx3d/vector.js delete mode 100644 includes/js/dojox/grid/Grid.js delete mode 100644 includes/js/dojox/grid/README delete mode 100644 includes/js/dojox/grid/VirtualGrid.js delete mode 100644 includes/js/dojox/grid/_data/dijitEditors.js delete mode 100644 includes/js/dojox/grid/_data/editors.js delete mode 100644 includes/js/dojox/grid/_data/fields.js delete mode 100644 includes/js/dojox/grid/_data/model.js delete mode 100644 includes/js/dojox/grid/_grid/Grid.css delete mode 100644 includes/js/dojox/grid/_grid/Grid.css.commented.css delete mode 100644 includes/js/dojox/grid/_grid/Grid_rtl.css delete mode 100644 includes/js/dojox/grid/_grid/Grid_rtl.css.commented.css delete mode 100644 includes/js/dojox/grid/_grid/builder.js delete mode 100644 includes/js/dojox/grid/_grid/cell.js delete mode 100644 includes/js/dojox/grid/_grid/drag.js delete mode 100644 includes/js/dojox/grid/_grid/edit.js delete mode 100644 includes/js/dojox/grid/_grid/focus.js delete mode 100644 includes/js/dojox/grid/_grid/images/grid_dx_gradient.gif delete mode 100644 includes/js/dojox/grid/_grid/images/grid_sort_down.gif delete mode 100644 includes/js/dojox/grid/_grid/images/grid_sort_up.gif delete mode 100644 includes/js/dojox/grid/_grid/images/tabEnabled_rotated.png delete mode 100644 includes/js/dojox/grid/_grid/images/tabHover_rotated.png delete mode 100644 includes/js/dojox/grid/_grid/layout.js delete mode 100644 includes/js/dojox/grid/_grid/lib.js delete mode 100644 includes/js/dojox/grid/_grid/nihiloGrid.css delete mode 100644 includes/js/dojox/grid/_grid/nihiloGrid.css.commented.css delete mode 100644 includes/js/dojox/grid/_grid/publicEvents.js delete mode 100644 includes/js/dojox/grid/_grid/rowbar.js delete mode 100644 includes/js/dojox/grid/_grid/rows.js delete mode 100644 includes/js/dojox/grid/_grid/scroller.js delete mode 100644 includes/js/dojox/grid/_grid/selection.js delete mode 100644 includes/js/dojox/grid/_grid/soriaGrid.css delete mode 100644 includes/js/dojox/grid/_grid/soriaGrid.css.commented.css delete mode 100644 includes/js/dojox/grid/_grid/tundraGrid.css delete mode 100644 includes/js/dojox/grid/_grid/tundraGrid.css.commented.css delete mode 100644 includes/js/dojox/grid/_grid/view.js delete mode 100644 includes/js/dojox/grid/_grid/views.js delete mode 100644 includes/js/dojox/grid/resources/GridView.html delete mode 100644 includes/js/dojox/grid/resources/VirtualGrid.html delete mode 100644 includes/js/dojox/grid/tests/databaseModel.js delete mode 100644 includes/js/dojox/grid/tests/images/closed.gif delete mode 100644 includes/js/dojox/grid/tests/images/flatScreen.gif delete mode 100644 includes/js/dojox/grid/tests/images/open.gif delete mode 100644 includes/js/dojox/grid/tests/support/books.xml delete mode 100644 includes/js/dojox/grid/tests/support/data.php delete mode 100644 includes/js/dojox/grid/tests/support/geography.xml delete mode 100644 includes/js/dojox/grid/tests/support/json.php delete mode 100644 includes/js/dojox/grid/tests/support/movies.csv delete mode 100644 includes/js/dojox/grid/tests/support/test_data.js delete mode 100644 includes/js/dojox/grid/tests/support/test_data_objects.js delete mode 100644 includes/js/dojox/grid/tests/support/testtbl.sql delete mode 100644 includes/js/dojox/grid/tests/support/yahoo_search.js delete mode 100644 includes/js/dojox/grid/tests/test_change_structure.html delete mode 100644 includes/js/dojox/grid/tests/test_custom_sort.html delete mode 100644 includes/js/dojox/grid/tests/test_dojo_data_edit.html delete mode 100644 includes/js/dojox/grid/tests/test_dojo_data_empty.html delete mode 100644 includes/js/dojox/grid/tests/test_dojo_data_model.html delete mode 100644 includes/js/dojox/grid/tests/test_dojo_data_model_EmptyResultSet.html delete mode 100644 includes/js/dojox/grid/tests/test_dojo_data_model_multiStores.html delete mode 100644 includes/js/dojox/grid/tests/test_dojo_data_model_processError.html delete mode 100644 includes/js/dojox/grid/tests/test_dojo_data_notification.html delete mode 100644 includes/js/dojox/grid/tests/test_edit.html delete mode 100644 includes/js/dojox/grid/tests/test_edit_canEdit.html delete mode 100644 includes/js/dojox/grid/tests/test_edit_dijit.html delete mode 100644 includes/js/dojox/grid/tests/test_events.html delete mode 100644 includes/js/dojox/grid/tests/test_expand.html delete mode 100644 includes/js/dojox/grid/tests/test_grid.html delete mode 100644 includes/js/dojox/grid/tests/test_grid_dlg.html delete mode 100644 includes/js/dojox/grid/tests/test_grid_headerHeight.html delete mode 100644 includes/js/dojox/grid/tests/test_grid_layout.html delete mode 100644 includes/js/dojox/grid/tests/test_grid_layout_LayoutContainer.html delete mode 100644 includes/js/dojox/grid/tests/test_grid_layout_borderContainer.html delete mode 100644 includes/js/dojox/grid/tests/test_grid_object_model_change.html delete mode 100644 includes/js/dojox/grid/tests/test_grid_programmatic.html delete mode 100644 includes/js/dojox/grid/tests/test_grid_programmatic_layout.html delete mode 100644 includes/js/dojox/grid/tests/test_grid_rtl.html delete mode 100644 includes/js/dojox/grid/tests/test_grid_themes.html delete mode 100644 includes/js/dojox/grid/tests/test_grid_tooltip_menu.html delete mode 100644 includes/js/dojox/grid/tests/test_keyboard.html delete mode 100644 includes/js/dojox/grid/tests/test_markup.html delete mode 100644 includes/js/dojox/grid/tests/test_mysql_edit.html delete mode 100644 includes/js/dojox/grid/tests/test_sizing.html delete mode 100644 includes/js/dojox/grid/tests/test_sizing_100rows.html delete mode 100644 includes/js/dojox/grid/tests/test_sizing_ResizeHandle.html delete mode 100644 includes/js/dojox/grid/tests/test_styling.html delete mode 100644 includes/js/dojox/grid/tests/test_subgrid.html delete mode 100644 includes/js/dojox/grid/tests/test_tundra_edit.html delete mode 100644 includes/js/dojox/grid/tests/test_yahoo_images.html delete mode 100644 includes/js/dojox/grid/tests/test_yahoo_search.html delete mode 100644 includes/js/dojox/grid/tests/yahooSearch.js delete mode 100644 includes/js/dojox/help/README delete mode 100644 includes/js/dojox/help/_base.js delete mode 100644 includes/js/dojox/help/console.js delete mode 100644 includes/js/dojox/help/demos/demo_Console.html delete mode 100644 includes/js/dojox/highlight.js delete mode 100644 includes/js/dojox/highlight/README delete mode 100644 includes/js/dojox/highlight/_base.js delete mode 100644 includes/js/dojox/highlight/languages/_all.js delete mode 100644 includes/js/dojox/highlight/languages/_dynamic.js delete mode 100644 includes/js/dojox/highlight/languages/_static.js delete mode 100644 includes/js/dojox/highlight/languages/_www.js delete mode 100644 includes/js/dojox/highlight/languages/cpp.js delete mode 100644 includes/js/dojox/highlight/languages/css.js delete mode 100644 includes/js/dojox/highlight/languages/delphi.js delete mode 100644 includes/js/dojox/highlight/languages/django.js delete mode 100644 includes/js/dojox/highlight/languages/html.js delete mode 100644 includes/js/dojox/highlight/languages/javascript.js delete mode 100644 includes/js/dojox/highlight/languages/pygments/_html.js delete mode 100644 includes/js/dojox/highlight/languages/pygments/_www.js delete mode 100644 includes/js/dojox/highlight/languages/pygments/css.js delete mode 100644 includes/js/dojox/highlight/languages/pygments/html.js delete mode 100644 includes/js/dojox/highlight/languages/pygments/javascript.js delete mode 100644 includes/js/dojox/highlight/languages/pygments/xml.js delete mode 100644 includes/js/dojox/highlight/languages/python.js delete mode 100644 includes/js/dojox/highlight/languages/sql.js delete mode 100644 includes/js/dojox/highlight/languages/xml.js delete mode 100644 includes/js/dojox/highlight/resources/highlight.css delete mode 100644 includes/js/dojox/highlight/resources/highlight.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/autumn.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/autumn.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/borland.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/borland.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/colorful.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/colorful.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/default.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/default.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/emacs.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/emacs.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/friendly.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/friendly.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/fruity.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/fruity.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/manni.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/manni.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/murphy.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/murphy.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/native.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/native.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/pastie.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/pastie.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/perldoc.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/perldoc.css.commented.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/trac.css delete mode 100644 includes/js/dojox/highlight/resources/pygments/trac.css.commented.css delete mode 100644 includes/js/dojox/highlight/tests/test_highlight.html delete mode 100644 includes/js/dojox/highlight/tests/test_pygments.html delete mode 100644 includes/js/dojox/image/Gallery.js delete mode 100644 includes/js/dojox/image/Lightbox.js delete mode 100644 includes/js/dojox/image/Magnifier.js delete mode 100644 includes/js/dojox/image/MagnifierLite.js delete mode 100644 includes/js/dojox/image/README delete mode 100644 includes/js/dojox/image/SlideShow.js delete mode 100644 includes/js/dojox/image/ThumbnailPicker.js delete mode 100644 includes/js/dojox/image/resources/Gallery.html delete mode 100644 includes/js/dojox/image/resources/Lightbox.html delete mode 100644 includes/js/dojox/image/resources/Magnifier.css delete mode 100644 includes/js/dojox/image/resources/Magnifier.css.commented.css delete mode 100644 includes/js/dojox/image/resources/SlideShow.html delete mode 100644 includes/js/dojox/image/resources/ThumbnailPicker.html delete mode 100644 includes/js/dojox/image/resources/image.css delete mode 100644 includes/js/dojox/image/resources/image.css.commented.css delete mode 100644 includes/js/dojox/image/resources/images/buttons.gif delete mode 100644 includes/js/dojox/image/resources/images/buttons.png delete mode 100644 includes/js/dojox/image/resources/images/close.png delete mode 100644 includes/js/dojox/image/resources/images/close_dark.png delete mode 100644 includes/js/dojox/image/resources/images/left.png delete mode 100644 includes/js/dojox/image/resources/images/loading.gif delete mode 100644 includes/js/dojox/image/resources/images/right.png delete mode 100644 includes/js/dojox/image/resources/images/warning.png delete mode 100644 includes/js/dojox/image/tests/images.json delete mode 100644 includes/js/dojox/image/tests/images/extraWide.jpg delete mode 100644 includes/js/dojox/image/tests/images/huuuge.png delete mode 100644 includes/js/dojox/image/tests/images/imageHoriz.jpg delete mode 100644 includes/js/dojox/image/tests/images/imageHoriz2.jpg delete mode 100644 includes/js/dojox/image/tests/images/imageVert.jpg delete mode 100644 includes/js/dojox/image/tests/images/spanke.jpg delete mode 100644 includes/js/dojox/image/tests/images/square.jpg delete mode 100644 includes/js/dojox/image/tests/test_Gallery.html delete mode 100644 includes/js/dojox/image/tests/test_Lightbox.html delete mode 100644 includes/js/dojox/image/tests/test_Magnifier.html delete mode 100644 includes/js/dojox/image/tests/test_MagnifierLite.html delete mode 100644 includes/js/dojox/image/tests/test_SlideShow.html delete mode 100644 includes/js/dojox/image/tests/test_ThumbnailPicker.html delete mode 100644 includes/js/dojox/io/README delete mode 100644 includes/js/dojox/io/proxy/README delete mode 100644 includes/js/dojox/io/proxy/tests/frag.xml delete mode 100644 includes/js/dojox/io/proxy/tests/xip.html delete mode 100644 includes/js/dojox/io/proxy/xip.js delete mode 100644 includes/js/dojox/io/proxy/xip_client.html delete mode 100644 includes/js/dojox/io/proxy/xip_server.html delete mode 100644 includes/js/dojox/io/xhrMultiPart.js delete mode 100644 includes/js/dojox/jsonPath.js delete mode 100644 includes/js/dojox/jsonPath/README delete mode 100644 includes/js/dojox/jsonPath/query.js delete mode 100644 includes/js/dojox/jsonPath/tests/jsonPath.js delete mode 100644 includes/js/dojox/jsonPath/tests/module.js delete mode 100644 includes/js/dojox/jsonPath/tests/runTests.html delete mode 100644 includes/js/dojox/lang/LICENSE delete mode 100644 includes/js/dojox/lang/README delete mode 100644 includes/js/dojox/lang/functional.js delete mode 100644 includes/js/dojox/lang/functional/array.js delete mode 100644 includes/js/dojox/lang/functional/curry.js delete mode 100644 includes/js/dojox/lang/functional/fold.js delete mode 100644 includes/js/dojox/lang/functional/lambda.js delete mode 100644 includes/js/dojox/lang/functional/listcomp.js delete mode 100644 includes/js/dojox/lang/functional/object.js delete mode 100644 includes/js/dojox/lang/functional/reversed.js delete mode 100644 includes/js/dojox/lang/functional/scan.js delete mode 100644 includes/js/dojox/lang/functional/sequence.js delete mode 100644 includes/js/dojox/lang/functional/zip.js delete mode 100644 includes/js/dojox/lang/tests/array.js delete mode 100644 includes/js/dojox/lang/tests/curry.js delete mode 100644 includes/js/dojox/lang/tests/fold.js delete mode 100644 includes/js/dojox/lang/tests/fun_perf.html delete mode 100644 includes/js/dojox/lang/tests/lambda.js delete mode 100644 includes/js/dojox/lang/tests/listcomp.js delete mode 100644 includes/js/dojox/lang/tests/main.js delete mode 100644 includes/js/dojox/lang/tests/misc.js delete mode 100644 includes/js/dojox/lang/tests/runTests.html delete mode 100644 includes/js/dojox/lang/utils.js delete mode 100644 includes/js/dojox/layout/BorderContainer.js delete mode 100644 includes/js/dojox/layout/ContentPane.js delete mode 100644 includes/js/dojox/layout/DragPane.js delete mode 100644 includes/js/dojox/layout/ExpandoPane.js delete mode 100644 includes/js/dojox/layout/FloatingPane.js delete mode 100644 includes/js/dojox/layout/README delete mode 100644 includes/js/dojox/layout/RadioGroup.js delete mode 100644 includes/js/dojox/layout/ResizeHandle.js delete mode 100644 includes/js/dojox/layout/ScrollPane.js delete mode 100644 includes/js/dojox/layout/resources/ExpandoPane.css delete mode 100644 includes/js/dojox/layout/resources/ExpandoPane.css.commented.css delete mode 100644 includes/js/dojox/layout/resources/ExpandoPane.html delete mode 100644 includes/js/dojox/layout/resources/FloatingPane.css delete mode 100644 includes/js/dojox/layout/resources/FloatingPane.css.commented.css delete mode 100644 includes/js/dojox/layout/resources/FloatingPane.html delete mode 100644 includes/js/dojox/layout/resources/RadioGroup.css delete mode 100644 includes/js/dojox/layout/resources/RadioGroup.css.commented.css delete mode 100644 includes/js/dojox/layout/resources/ResizeHandle.css delete mode 100644 includes/js/dojox/layout/resources/ResizeHandle.css.commented.css delete mode 100644 includes/js/dojox/layout/resources/ScrollPane.css delete mode 100644 includes/js/dojox/layout/resources/ScrollPane.css.commented.css delete mode 100644 includes/js/dojox/layout/resources/ScrollPane.html delete mode 100644 includes/js/dojox/layout/resources/icons/resize.png delete mode 100644 includes/js/dojox/layout/tests/ContentPane.html delete mode 100644 includes/js/dojox/layout/tests/_bottomPane.html delete mode 100644 includes/js/dojox/layout/tests/_expando.css delete mode 100644 includes/js/dojox/layout/tests/_expando.css.commented.css delete mode 100644 includes/js/dojox/layout/tests/_floating.html delete mode 100644 includes/js/dojox/layout/tests/_lorem.html delete mode 100644 includes/js/dojox/layout/tests/_script.html delete mode 100644 includes/js/dojox/layout/tests/doc0.html delete mode 100644 includes/js/dojox/layout/tests/images/blank.gif delete mode 100644 includes/js/dojox/layout/tests/images/dojoLogo.png delete mode 100644 includes/js/dojox/layout/tests/images/gridUnderlay.png delete mode 100644 includes/js/dojox/layout/tests/images/testImage.gif delete mode 100644 includes/js/dojox/layout/tests/remote/getResponse.php delete mode 100644 includes/js/dojox/layout/tests/test_DragPane.html delete mode 100644 includes/js/dojox/layout/tests/test_ExpandoPane.html delete mode 100644 includes/js/dojox/layout/tests/test_ExpandoPane_code.html delete mode 100644 includes/js/dojox/layout/tests/test_ExpandoPane_more.html delete mode 100644 includes/js/dojox/layout/tests/test_FloatingPane.html delete mode 100644 includes/js/dojox/layout/tests/test_RadioGroup.html delete mode 100644 includes/js/dojox/layout/tests/test_ResizeHandle.html delete mode 100644 includes/js/dojox/layout/tests/test_ScrollPane.html delete mode 100644 includes/js/dojox/layout/tests/test_ScrollPaneSingle.html delete mode 100644 includes/js/dojox/layout/tests/test_SizingPane.html delete mode 100644 includes/js/dojox/math.js delete mode 100644 includes/js/dojox/math/README delete mode 100644 includes/js/dojox/math/_base.js delete mode 100644 includes/js/dojox/math/curves.js delete mode 100644 includes/js/dojox/math/matrix.js delete mode 100644 includes/js/dojox/off.js delete mode 100644 includes/js/dojox/off/README delete mode 100644 includes/js/dojox/off/_common.js delete mode 100644 includes/js/dojox/off/docs/bookmarklets.html delete mode 100644 includes/js/dojox/off/files.js delete mode 100644 includes/js/dojox/off/network_check.txt delete mode 100644 includes/js/dojox/off/offline.js delete mode 100644 includes/js/dojox/off/offline.js.uncompressed.js delete mode 100644 includes/js/dojox/off/resources/checkmark.png delete mode 100644 includes/js/dojox/off/resources/greenball.png delete mode 100644 includes/js/dojox/off/resources/learnhow.html delete mode 100644 includes/js/dojox/off/resources/learnhow.js delete mode 100644 includes/js/dojox/off/resources/offline-widget.css delete mode 100644 includes/js/dojox/off/resources/offline-widget.css.commented.css delete mode 100644 includes/js/dojox/off/resources/offline-widget.html delete mode 100644 includes/js/dojox/off/resources/redball.png delete mode 100644 includes/js/dojox/off/resources/roller.gif delete mode 100644 includes/js/dojox/off/sync.js delete mode 100644 includes/js/dojox/off/ui.js delete mode 100644 includes/js/dojox/presentation.js delete mode 100644 includes/js/dojox/presentation/README delete mode 100644 includes/js/dojox/presentation/_base.js delete mode 100644 includes/js/dojox/presentation/resources/Show.css delete mode 100644 includes/js/dojox/presentation/resources/Show.css.commented.css delete mode 100644 includes/js/dojox/presentation/resources/Show.html delete mode 100644 includes/js/dojox/presentation/resources/Slide.html delete mode 100644 includes/js/dojox/presentation/resources/icons/down.png delete mode 100644 includes/js/dojox/presentation/resources/icons/next.png delete mode 100644 includes/js/dojox/presentation/resources/icons/prev.png delete mode 100644 includes/js/dojox/presentation/resources/icons/up.png delete mode 100644 includes/js/dojox/presentation/tests/_ext1.html delete mode 100644 includes/js/dojox/presentation/tests/test_presentation.html delete mode 100644 includes/js/dojox/resources/README.template delete mode 100644 includes/js/dojox/resources/_modules.js delete mode 100644 includes/js/dojox/resources/manualTests.html delete mode 100644 includes/js/dojox/resources/manualTests.js delete mode 100644 includes/js/dojox/rpc/CouchDBRestStore.js delete mode 100644 includes/js/dojox/rpc/JsonRPC.js delete mode 100644 includes/js/dojox/rpc/JsonReferencing.js delete mode 100644 includes/js/dojox/rpc/JsonRestStore.js delete mode 100644 includes/js/dojox/rpc/PersevereRestStore.js delete mode 100644 includes/js/dojox/rpc/README delete mode 100644 includes/js/dojox/rpc/Rest.js delete mode 100644 includes/js/dojox/rpc/SMDLibrary/yahoo.smd delete mode 100644 includes/js/dojox/rpc/Service.js delete mode 100644 includes/js/dojox/rpc/demos/demo_JsonRestStore_CouchDB.html delete mode 100644 includes/js/dojox/rpc/demos/demo_JsonRestStore_Persevere.html delete mode 100644 includes/js/dojox/rpc/demos/documentation.html delete mode 100644 includes/js/dojox/rpc/demos/templates/documentation.html delete mode 100644 includes/js/dojox/rpc/demos/templates/yahoo.html delete mode 100644 includes/js/dojox/rpc/demos/yahoo.html delete mode 100644 includes/js/dojox/rpc/documentation.smd delete mode 100644 includes/js/dojox/rpc/test.txt delete mode 100644 includes/js/dojox/rpc/tests/JsonReferencing.js delete mode 100644 includes/js/dojox/rpc/tests/Service.js delete mode 100644 includes/js/dojox/rpc/tests/Yahoo.js delete mode 100644 includes/js/dojox/rpc/tests/libraryTests.js delete mode 100644 includes/js/dojox/rpc/tests/module.js delete mode 100644 includes/js/dojox/rpc/tests/resources/JSON.php delete mode 100644 includes/js/dojox/rpc/tests/resources/bigQuery delete mode 100644 includes/js/dojox/rpc/tests/resources/bigQuery5 delete mode 100644 includes/js/dojox/rpc/tests/resources/echo.php delete mode 100644 includes/js/dojox/rpc/tests/resources/echoJson.php delete mode 100644 includes/js/dojox/rpc/tests/resources/fakestore.php delete mode 100644 includes/js/dojox/rpc/tests/resources/jsonRpc10.php delete mode 100644 includes/js/dojox/rpc/tests/resources/jsonRpc11.php delete mode 100644 includes/js/dojox/rpc/tests/resources/jsonRpc12.php delete mode 100644 includes/js/dojox/rpc/tests/resources/jsonRpcPostGetEcho.php delete mode 100644 includes/js/dojox/rpc/tests/resources/jsonpEcho.php delete mode 100644 includes/js/dojox/rpc/tests/resources/jsonpEcho.phps delete mode 100644 includes/js/dojox/rpc/tests/resources/jsonpJsonRpcEcho.php delete mode 100644 includes/js/dojox/rpc/tests/resources/obj1 delete mode 100644 includes/js/dojox/rpc/tests/resources/obj1testArray delete mode 100644 includes/js/dojox/rpc/tests/resources/obj3 delete mode 100644 includes/js/dojox/rpc/tests/resources/obj4 delete mode 100644 includes/js/dojox/rpc/tests/resources/query delete mode 100644 includes/js/dojox/rpc/tests/resources/rawEcho.php delete mode 100644 includes/js/dojox/rpc/tests/resources/res delete mode 100644 includes/js/dojox/rpc/tests/resources/store.php delete mode 100644 includes/js/dojox/rpc/tests/resources/test.smd delete mode 100644 includes/js/dojox/rpc/tests/runLibraryTests.html delete mode 100644 includes/js/dojox/rpc/tests/runTests.html delete mode 100644 includes/js/dojox/rpc/tests/stores/JsonRestStore.js delete mode 100644 includes/js/dojox/rpc/tests/test_dojo_data_model_persevere.html delete mode 100644 includes/js/dojox/sketch.js delete mode 100644 includes/js/dojox/sketch/Anchor.js delete mode 100644 includes/js/dojox/sketch/Annotation.js delete mode 100644 includes/js/dojox/sketch/DoubleArrowAnnotation.js delete mode 100644 includes/js/dojox/sketch/Figure.js delete mode 100644 includes/js/dojox/sketch/LeadAnnotation.js delete mode 100644 includes/js/dojox/sketch/PreexistingAnnotation.js delete mode 100644 includes/js/dojox/sketch/README delete mode 100644 includes/js/dojox/sketch/SingleArrowAnnotation.js delete mode 100644 includes/js/dojox/sketch/Slider.js delete mode 100644 includes/js/dojox/sketch/Toolbar.js delete mode 100644 includes/js/dojox/sketch/UnderlineAnnotation.js delete mode 100644 includes/js/dojox/sketch/UndoStack.js delete mode 100644 includes/js/dojox/sketch/_Plugin.js delete mode 100644 includes/js/dojox/sketch/resources/images/icons.gif delete mode 100644 includes/js/dojox/sketch/resources/sketch.css delete mode 100644 includes/js/dojox/sketch/resources/sketch.css.commented.css delete mode 100644 includes/js/dojox/sketch/tests/annotation.svg delete mode 100644 includes/js/dojox/sketch/tests/images/figure2.gif delete mode 100644 includes/js/dojox/sketch/tests/images/testsBodyBg.gif delete mode 100644 includes/js/dojox/sketch/tests/test_full.html delete mode 100644 includes/js/dojox/sql.js delete mode 100644 includes/js/dojox/storage.js delete mode 100644 includes/js/dojox/storage/AirDBStorageProvider.js delete mode 100644 includes/js/dojox/storage/AirEncryptedLocalStorageProvider.js delete mode 100644 includes/js/dojox/storage/AirFileStorageProvider.js delete mode 100644 includes/js/dojox/storage/FlashStorageProvider.js delete mode 100644 includes/js/dojox/storage/GearsStorageProvider.js delete mode 100644 includes/js/dojox/storage/Provider.js delete mode 100644 includes/js/dojox/storage/README delete mode 100644 includes/js/dojox/storage/Storage.as delete mode 100644 includes/js/dojox/storage/Storage.swf delete mode 100644 includes/js/dojox/storage/WhatWGStorageProvider.js delete mode 100644 includes/js/dojox/storage/_common.js delete mode 100644 includes/js/dojox/storage/buildFlashStorage.sh delete mode 100644 includes/js/dojox/storage/demos/helloworld.html delete mode 100644 includes/js/dojox/storage/manager.js delete mode 100644 includes/js/dojox/storage/storage_dialog.fla delete mode 100644 includes/js/dojox/storage/tests/resources/testBook.txt delete mode 100644 includes/js/dojox/storage/tests/resources/testXML.xml delete mode 100644 includes/js/dojox/storage/tests/test_storage.html delete mode 100644 includes/js/dojox/storage/tests/test_storage.js delete mode 100644 includes/js/dojox/string/Builder.js delete mode 100644 includes/js/dojox/string/README delete mode 100644 includes/js/dojox/string/sprintf.js delete mode 100644 includes/js/dojox/string/tests/Builder.js delete mode 100644 includes/js/dojox/string/tests/BuilderPerf.html delete mode 100644 includes/js/dojox/string/tests/PerfFun.html delete mode 100644 includes/js/dojox/string/tests/lipsum.js delete mode 100644 includes/js/dojox/string/tests/notes.txt delete mode 100644 includes/js/dojox/string/tests/peller.html delete mode 100644 includes/js/dojox/string/tests/runTests.html delete mode 100644 includes/js/dojox/string/tests/sprintf.js delete mode 100644 includes/js/dojox/string/tests/string.js delete mode 100644 includes/js/dojox/string/tokenize.js delete mode 100644 includes/js/dojox/timing.js delete mode 100644 includes/js/dojox/timing/README delete mode 100644 includes/js/dojox/timing/Sequence.js delete mode 100644 includes/js/dojox/timing/Streamer.js delete mode 100644 includes/js/dojox/timing/ThreadPool.js delete mode 100644 includes/js/dojox/timing/_base.js delete mode 100644 includes/js/dojox/timing/tests/test_Sequence.html delete mode 100644 includes/js/dojox/timing/tests/test_ThreadPool.html delete mode 100644 includes/js/dojox/uuid.js delete mode 100644 includes/js/dojox/uuid/README delete mode 100644 includes/js/dojox/uuid/Uuid.js delete mode 100644 includes/js/dojox/uuid/_base.js delete mode 100644 includes/js/dojox/uuid/generateRandomUuid.js delete mode 100644 includes/js/dojox/uuid/generateTimeBasedUuid.js delete mode 100644 includes/js/dojox/uuid/tests/runTests.html delete mode 100644 includes/js/dojox/uuid/tests/uuid.js delete mode 100644 includes/js/dojox/validate.js delete mode 100644 includes/js/dojox/validate/README delete mode 100644 includes/js/dojox/validate/_base.js delete mode 100644 includes/js/dojox/validate/ca.js delete mode 100644 includes/js/dojox/validate/check.js delete mode 100644 includes/js/dojox/validate/creditCard.js delete mode 100644 includes/js/dojox/validate/isbn.js delete mode 100644 includes/js/dojox/validate/regexp.js delete mode 100644 includes/js/dojox/validate/tests/creditcard.js delete mode 100644 includes/js/dojox/validate/tests/module.js delete mode 100644 includes/js/dojox/validate/tests/runTests.html delete mode 100644 includes/js/dojox/validate/tests/validate.js delete mode 100644 includes/js/dojox/validate/us.js delete mode 100644 includes/js/dojox/validate/web.js delete mode 100644 includes/js/dojox/widget/ColorPicker.js delete mode 100644 includes/js/dojox/widget/ColorPicker/ColorPicker.css delete mode 100644 includes/js/dojox/widget/ColorPicker/ColorPicker.css.commented.css delete mode 100644 includes/js/dojox/widget/ColorPicker/ColorPicker.html delete mode 100644 includes/js/dojox/widget/ColorPicker/images/hue.png delete mode 100644 includes/js/dojox/widget/ColorPicker/images/hueHandle.png delete mode 100644 includes/js/dojox/widget/ColorPicker/images/pickerPointer.png delete mode 100644 includes/js/dojox/widget/ColorPicker/images/underlay.png delete mode 100644 includes/js/dojox/widget/FileInput.js delete mode 100644 includes/js/dojox/widget/FileInput/FileInput.css delete mode 100644 includes/js/dojox/widget/FileInput/FileInput.css.commented.css delete mode 100644 includes/js/dojox/widget/FileInput/FileInput.html delete mode 100644 includes/js/dojox/widget/FileInput/FileInputAuto.html delete mode 100644 includes/js/dojox/widget/FileInput/ReceiveFile.php delete mode 100644 includes/js/dojox/widget/FileInputAuto.js delete mode 100644 includes/js/dojox/widget/FisheyeList.js delete mode 100644 includes/js/dojox/widget/FisheyeList/FisheyeList.css delete mode 100644 includes/js/dojox/widget/FisheyeList/FisheyeList.css.commented.css delete mode 100644 includes/js/dojox/widget/FisheyeLite.js delete mode 100644 includes/js/dojox/widget/Iterator.js delete mode 100644 includes/js/dojox/widget/Loader.js delete mode 100644 includes/js/dojox/widget/Loader/Loader.css delete mode 100644 includes/js/dojox/widget/Loader/Loader.css.commented.css delete mode 100644 includes/js/dojox/widget/Loader/README delete mode 100644 includes/js/dojox/widget/Loader/honey.php delete mode 100644 includes/js/dojox/widget/Loader/icons/loading.gif delete mode 100644 includes/js/dojox/widget/MultiComboBox.js delete mode 100644 includes/js/dojox/widget/README delete mode 100644 includes/js/dojox/widget/Rating.js delete mode 100644 includes/js/dojox/widget/Rating/Rating.css delete mode 100644 includes/js/dojox/widget/Rating/Rating.css.commented.css delete mode 100644 includes/js/dojox/widget/Rating/rating_empty.gif delete mode 100644 includes/js/dojox/widget/Rating/rating_empty.png delete mode 100644 includes/js/dojox/widget/Rating/rating_full.gif delete mode 100644 includes/js/dojox/widget/Rating/rating_full.png delete mode 100644 includes/js/dojox/widget/Rating/rating_half.png delete mode 100644 includes/js/dojox/widget/SortList.js delete mode 100644 includes/js/dojox/widget/SortList/SortList.css delete mode 100644 includes/js/dojox/widget/SortList/SortList.css.commented.css delete mode 100644 includes/js/dojox/widget/SortList/SortList.html delete mode 100644 includes/js/dojox/widget/TimeSpinner.js delete mode 100644 includes/js/dojox/widget/Toaster.js delete mode 100644 includes/js/dojox/widget/Toaster/Toaster.css delete mode 100644 includes/js/dojox/widget/Toaster/Toaster.css.commented.css delete mode 100644 includes/js/dojox/widget/Wizard.js delete mode 100644 includes/js/dojox/widget/Wizard/Wizard.css delete mode 100644 includes/js/dojox/widget/Wizard/Wizard.css.commented.css delete mode 100644 includes/js/dojox/widget/Wizard/Wizard.html delete mode 100644 includes/js/dojox/widget/nls/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/ar/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/cs/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/da/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/de/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/el/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/es/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/fi/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/fr/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/he/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/hu/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/it/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/ja/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/ko/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/nb/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/nl/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/pl/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/pt-pt/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/pt/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/ru/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/sv/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/tr/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/zh-tw/Wizard.js delete mode 100644 includes/js/dojox/widget/nls/zh/Wizard.js delete mode 100644 includes/js/dojox/widget/tests/_tags.json delete mode 100644 includes/js/dojox/widget/tests/demo_FisheyeList-orig.html delete mode 100644 includes/js/dojox/widget/tests/demo_FisheyeList.html delete mode 100644 includes/js/dojox/widget/tests/demo_FisheyeLite.html delete mode 100644 includes/js/dojox/widget/tests/images/fisheye_1.png delete mode 100644 includes/js/dojox/widget/tests/images/fisheye_2.png delete mode 100644 includes/js/dojox/widget/tests/images/fisheye_3.png delete mode 100644 includes/js/dojox/widget/tests/images/fisheye_4.png delete mode 100644 includes/js/dojox/widget/tests/images/icon_browser.png delete mode 100644 includes/js/dojox/widget/tests/images/icon_calendar.png delete mode 100644 includes/js/dojox/widget/tests/images/icon_email.png delete mode 100644 includes/js/dojox/widget/tests/images/icon_texteditor.png delete mode 100644 includes/js/dojox/widget/tests/images/icon_update.png delete mode 100644 includes/js/dojox/widget/tests/images/icon_users.png delete mode 100644 includes/js/dojox/widget/tests/images/rating_empty.gif delete mode 100644 includes/js/dojox/widget/tests/images/rating_empty.png delete mode 100644 includes/js/dojox/widget/tests/images/rating_full.gif delete mode 100644 includes/js/dojox/widget/tests/images/rating_full.png delete mode 100644 includes/js/dojox/widget/tests/test_ColorPicker.html delete mode 100644 includes/js/dojox/widget/tests/test_FileInput.html delete mode 100644 includes/js/dojox/widget/tests/test_FisheyeList.html delete mode 100644 includes/js/dojox/widget/tests/test_FisheyeLite.html delete mode 100644 includes/js/dojox/widget/tests/test_Iterator.html delete mode 100644 includes/js/dojox/widget/tests/test_Loader.html delete mode 100644 includes/js/dojox/widget/tests/test_MultiComboBox.html delete mode 100644 includes/js/dojox/widget/tests/test_Rating.html delete mode 100644 includes/js/dojox/widget/tests/test_SortList.html delete mode 100644 includes/js/dojox/widget/tests/test_TimeSpinner.html delete mode 100644 includes/js/dojox/widget/tests/test_Toaster.html delete mode 100644 includes/js/dojox/widget/tests/test_Wizard.html delete mode 100644 includes/js/dojox/wire.js delete mode 100644 includes/js/dojox/wire/CompositeWire.js delete mode 100644 includes/js/dojox/wire/DataWire.js delete mode 100644 includes/js/dojox/wire/README delete mode 100644 includes/js/dojox/wire/TableAdapter.js delete mode 100644 includes/js/dojox/wire/TextAdapter.js delete mode 100644 includes/js/dojox/wire/TreeAdapter.js delete mode 100644 includes/js/dojox/wire/Wire.js delete mode 100644 includes/js/dojox/wire/XmlWire.js delete mode 100644 includes/js/dojox/wire/_base.js delete mode 100644 includes/js/dojox/wire/demos/TableContainer.css delete mode 100644 includes/js/dojox/wire/demos/TableContainer.css.commented.css delete mode 100644 includes/js/dojox/wire/demos/TableContainer.js delete mode 100644 includes/js/dojox/wire/demos/WidgetRepeater.js delete mode 100644 includes/js/dojox/wire/demos/markup/countries.json delete mode 100644 includes/js/dojox/wire/demos/markup/demo_ActionChaining.html delete mode 100644 includes/js/dojox/wire/demos/markup/demo_ActionWiring.html delete mode 100644 includes/js/dojox/wire/demos/markup/demo_BasicChildWire.html delete mode 100644 includes/js/dojox/wire/demos/markup/demo_BasicColumnWiring.html delete mode 100644 includes/js/dojox/wire/demos/markup/demo_ConditionalActions.html delete mode 100644 includes/js/dojox/wire/demos/markup/demo_FlickrStoreWire.html delete mode 100644 includes/js/dojox/wire/demos/markup/demo_TopicWiring.html delete mode 100644 includes/js/dojox/wire/demos/markup/flickrDemo.css delete mode 100644 includes/js/dojox/wire/demos/markup/flickrDemo.css.commented.css delete mode 100644 includes/js/dojox/wire/demos/markup/states.json delete mode 100644 includes/js/dojox/wire/ml/Action.js delete mode 100644 includes/js/dojox/wire/ml/Data.js delete mode 100644 includes/js/dojox/wire/ml/DataStore.js delete mode 100644 includes/js/dojox/wire/ml/Invocation.js delete mode 100644 includes/js/dojox/wire/ml/Service.js delete mode 100644 includes/js/dojox/wire/ml/Transfer.js delete mode 100644 includes/js/dojox/wire/ml/util.js delete mode 100644 includes/js/dojox/wire/tests/markup/Action.html delete mode 100644 includes/js/dojox/wire/tests/markup/Data.html delete mode 100644 includes/js/dojox/wire/tests/markup/DataStore.html delete mode 100644 includes/js/dojox/wire/tests/markup/DataStore.xml delete mode 100644 includes/js/dojox/wire/tests/markup/Invocation.html delete mode 100644 includes/js/dojox/wire/tests/markup/Service.html delete mode 100644 includes/js/dojox/wire/tests/markup/Service/JSON.smd delete mode 100644 includes/js/dojox/wire/tests/markup/Service/XML.smd delete mode 100644 includes/js/dojox/wire/tests/markup/Service/a.json delete mode 100644 includes/js/dojox/wire/tests/markup/Service/a.xml delete mode 100644 includes/js/dojox/wire/tests/markup/Transfer.html delete mode 100644 includes/js/dojox/wire/tests/module.js delete mode 100644 includes/js/dojox/wire/tests/programmatic/CompositeWire.js delete mode 100644 includes/js/dojox/wire/tests/programmatic/ConverterDynamic.js delete mode 100644 includes/js/dojox/wire/tests/programmatic/DataWire.js delete mode 100644 includes/js/dojox/wire/tests/programmatic/TableAdapter.js delete mode 100644 includes/js/dojox/wire/tests/programmatic/TextAdapter.js delete mode 100644 includes/js/dojox/wire/tests/programmatic/TreeAdapter.js delete mode 100644 includes/js/dojox/wire/tests/programmatic/Wire.js delete mode 100644 includes/js/dojox/wire/tests/programmatic/XmlWire.js delete mode 100644 includes/js/dojox/wire/tests/programmatic/_base.js delete mode 100644 includes/js/dojox/wire/tests/runTests.html delete mode 100644 includes/js/dojox/wire/tests/wire.js delete mode 100644 includes/js/dojox/wire/tests/wireml.js delete mode 100644 includes/js/dojox/xml/DomParser.js delete mode 100644 includes/js/dojox/xml/README delete mode 100644 includes/js/util/doh/LICENSE delete mode 100644 includes/js/util/doh/README delete mode 100644 includes/js/util/doh/_browserRunner.js delete mode 100644 includes/js/util/doh/_rhinoRunner.js delete mode 100644 includes/js/util/doh/_sounds/LICENSE delete mode 100644 includes/js/util/doh/_sounds/doh.wav delete mode 100644 includes/js/util/doh/_sounds/dohaaa.wav delete mode 100644 includes/js/util/doh/_sounds/woohoo.wav delete mode 100644 includes/js/util/doh/runner.html delete mode 100644 includes/js/util/doh/runner.js delete mode 100644 includes/js/util/doh/runner.sh delete mode 100644 includes/js/util/doh/small_logo.png (limited to 'includes') diff --git a/includes/js/dijit/ColorPalette.js b/includes/js/dijit/ColorPalette.js deleted file mode 100644 index ad0553d..0000000 --- a/includes/js/dijit/ColorPalette.js +++ /dev/null @@ -1,292 +0,0 @@ -if(!dojo._hasResource["dijit.ColorPalette"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.ColorPalette"] = true; -dojo.provide("dijit.ColorPalette"); - -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); -dojo.require("dojo.colors"); -dojo.require("dojo.i18n"); -dojo.requireLocalization("dojo", "colors", null, "zh,pt,da,tr,ru,de,sv,ja,he,fi,nb,el,ar,pt-pt,cs,fr,es,nl,ko,zh-tw,pl,it,hu,ROOT"); - -dojo.declare("dijit.ColorPalette", - [dijit._Widget, dijit._Templated], - { - // summary: A keyboard accessible color-picking widget - // description: - // Grid showing various colors, so the user can pick a certain color - // Can be used standalone, or as a popup. - // - // example: - // |
- // - // example: - // | var picker = new dijit.ColorPalette({ },srcNode); - // | picker.startup(); - // - // defaultTimeout: Number - // number of milliseconds before a held key or button becomes typematic - defaultTimeout: 500, - - // timeoutChangeRate: Number - // fraction of time used to change the typematic timer between events - // 1.0 means that each typematic event fires at defaultTimeout intervals - // < 1.0 means that each typematic event fires at an increasing faster rate - timeoutChangeRate: 0.90, - - // palette: String - // Size of grid, either "7x10" or "3x4". - palette: "7x10", - - //_value: String - // The value of the selected color. - value: null, - - //_currentFocus: Integer - // Index of the currently focused color. - _currentFocus: 0, - - // _xDim: Integer - // This is the number of colors horizontally across. - _xDim: null, - - // _yDim: Integer - /// This is the number of colors vertically down. - _yDim: null, - - // _palettes: Map - // This represents the value of the colors. - // The first level is a hashmap of the different arrays available - // The next two dimensions represent the columns and rows of colors. - _palettes: { - - "7x10": [["white", "seashell", "cornsilk", "lemonchiffon","lightyellow", "palegreen", "paleturquoise", "lightcyan", "lavender", "plum"], - ["lightgray", "pink", "bisque", "moccasin", "khaki", "lightgreen", "lightseagreen", "lightskyblue", "cornflowerblue", "violet"], - ["silver", "lightcoral", "sandybrown", "orange", "palegoldenrod", "chartreuse", "mediumturquoise", "skyblue", "mediumslateblue","orchid"], - ["gray", "red", "orangered", "darkorange", "yellow", "limegreen", "darkseagreen", "royalblue", "slateblue", "mediumorchid"], - ["dimgray", "crimson", "chocolate", "coral", "gold", "forestgreen", "seagreen", "blue", "blueviolet", "darkorchid"], - ["darkslategray","firebrick","saddlebrown", "sienna", "olive", "green", "darkcyan", "mediumblue","darkslateblue", "darkmagenta" ], - ["black", "darkred", "maroon", "brown", "darkolivegreen", "darkgreen", "midnightblue", "navy", "indigo", "purple"]], - - "3x4": [["white", "lime", "green", "blue"], - ["silver", "yellow", "fuchsia", "navy"], - ["gray", "red", "purple", "black"]] - - }, - - // _imagePaths: Map - // This is stores the path to the palette images - _imagePaths: { - "7x10": dojo.moduleUrl("dijit", "templates/colors7x10.png"), - "3x4": dojo.moduleUrl("dijit", "templates/colors3x4.png") - }, - - // _paletteCoords: Map - // This is a map that is used to calculate the coordinates of the - // images that make up the palette. - _paletteCoords: { - "leftOffset": 3, "topOffset": 3, - "cWidth": 20, "cHeight": 20 - - }, - - // templatePath: String - // Path to the template of this widget. - templateString:"
\n\t
\n\t\t\n\t
\t\n
\n", - - // _paletteDims: Object - // Size of the supported palettes for alignment purposes. - _paletteDims: { - "7x10": {"width": "206px", "height": "145px"}, - "3x4": {"width": "86px", "height": "64px"} - }, - - // tabIndex: String - // Widget tabindex. - tabIndex: "0", - - postCreate: function(){ - // A name has to be given to the colorMap, this needs to be unique per Palette. - dojo.mixin(this.divNode.style, this._paletteDims[this.palette]); - this.imageNode.setAttribute("src", this._imagePaths[this.palette]); - var choices = this._palettes[this.palette]; - this.domNode.style.position = "relative"; - this._cellNodes = []; - this.colorNames = dojo.i18n.getLocalization("dojo", "colors", this.lang); - var url = dojo.moduleUrl("dojo", "resources/blank.gif"), - colorObject = new dojo.Color(), - coords = this._paletteCoords; - for(var row=0; row < choices.length; row++){ - for(var col=0; col < choices[row].length; col++) { - var imgNode = dojo.doc.createElement("img"); - imgNode.src = url; - dojo.addClass(imgNode, "dijitPaletteImg"); - var color = choices[row][col], - colorValue = colorObject.setColor(dojo.Color.named[color]); - imgNode.alt = this.colorNames[color]; - imgNode.color = colorValue.toHex(); - var imgStyle = imgNode.style; - imgStyle.color = imgStyle.backgroundColor = imgNode.color; - var cellNode = dojo.doc.createElement("span"); - cellNode.appendChild(imgNode); - dojo.forEach(["Dijitclick", "MouseEnter", "Focus", "Blur"], function(handler) { - this.connect(cellNode, "on" + handler.toLowerCase(), "_onCell" + handler); - }, this); - this.divNode.appendChild(cellNode); - var cellStyle = cellNode.style; - cellStyle.top = coords.topOffset + (row * coords.cHeight) + "px"; - cellStyle.left = coords.leftOffset + (col * coords.cWidth) + "px"; - dojo.attr(cellNode, "tabindex", "-1"); - cellNode.title = this.colorNames[color]; - dojo.addClass(cellNode, "dijitPaletteCell"); - dijit.setWaiRole(cellNode, "gridcell"); - cellNode.index = this._cellNodes.length; - this._cellNodes.push(cellNode); - } - } - this._xDim = choices[0].length; - this._yDim = choices.length; - this.connect(this.divNode, "onfocus", "_onDivNodeFocus"); - - // Now set all events - // The palette itself is navigated to with the tab key on the keyboard - // Keyboard navigation within the Palette is with the arrow keys - // Spacebar selects the color. - // For the up key the index is changed by negative the x dimension. - - var keyIncrementMap = { - UP_ARROW: -this._xDim, - // The down key the index is increase by the x dimension. - DOWN_ARROW: this._xDim, - // Right and left move the index by 1. - RIGHT_ARROW: 1, - LEFT_ARROW: -1 - }; - for(var key in keyIncrementMap){ - this._connects.push(dijit.typematic.addKeyListener(this.domNode, - {keyCode:dojo.keys[key], ctrlKey:false, altKey:false, shiftKey:false}, - this, - function(){ - var increment = keyIncrementMap[key]; - return function(count){ this._navigateByKey(increment, count); }; - }(), - this.timeoutChangeRate, this.defaultTimeout)); - } - }, - - focus: function(){ - // summary: - // Focus this ColorPalette. Puts focus on the first swatch. - this._focusFirst(); - }, - - onChange: function(color){ - // summary: - // Callback when a color is selected. - // color: String - // Hex value corresponding to color. -// console.debug("Color selected is: "+color); - }, - - _focusFirst: function(){ - this._currentFocus = 0; - var cellNode = this._cellNodes[this._currentFocus]; - window.setTimeout(function(){dijit.focus(cellNode)}, 0); - }, - - _onDivNodeFocus: function(evt){ - // focus bubbles on Firefox 2, so just make sure that focus has really - // gone to the container - if(evt.target === this.divNode){ - this._focusFirst(); - } - }, - - _onFocus: function(){ - // while focus is on the palette, set its tabindex to -1 so that on a - // shift-tab from a cell, the container is not in the tab order - dojo.attr(this.divNode, "tabindex", "-1"); - }, - - _onBlur: function(){ - this._removeCellHighlight(this._currentFocus); - // when focus leaves the palette, restore its tabindex, since it was - // modified by _onFocus(). - dojo.attr(this.divNode, "tabindex", this.tabIndex); - }, - - _onCellDijitclick: function(/*Event*/ evt){ - // summary: - // Handler for click, enter key & space key. Selects the color. - // evt: - // The event. - var target = evt.currentTarget; - if (this._currentFocus != target.index){ - this._currentFocus = target.index; - window.setTimeout(function(){dijit.focus(target)}, 0); - } - this._selectColor(target); - dojo.stopEvent(evt); - }, - - _onCellMouseEnter: function(/*Event*/ evt){ - // summary: - // Handler for onMouseOver. Put focus on the color under the mouse. - // evt: - // The mouse event. - var target = evt.currentTarget; - window.setTimeout(function(){dijit.focus(target)}, 0); - }, - - _onCellFocus: function(/*Event*/ evt){ - // summary: - // Handler for onFocus. Removes highlight of - // the color that just lost focus, and highlights - // the new color. - // evt: - // The focus event. - this._removeCellHighlight(this._currentFocus); - this._currentFocus = evt.currentTarget.index; - dojo.addClass(evt.currentTarget, "dijitPaletteCellHighlight"); - }, - - _onCellBlur: function(/*Event*/ evt){ - // summary: - // needed for Firefox 2 on Mac OS X - this._removeCellHighlight(this._currentFocus); - }, - - _removeCellHighlight: function(index){ - dojo.removeClass(this._cellNodes[index], "dijitPaletteCellHighlight"); - }, - - _selectColor: function(selectNode){ - // summary: - // This selects a color. It triggers the onChange event - // area: - // The area node that covers the color being selected. - var img = selectNode.getElementsByTagName("img")[0]; - this.onChange(this.value = img.color); - }, - - _navigateByKey: function(increment, typeCount){ - // summary: - // This is the callback for typematic. - // It changes the focus and the highlighed color. - // increment: - // How much the key is navigated. - // typeCount: - // How many times typematic has fired. - - // typecount == -1 means the key is released. - if(typeCount == -1){ return; } - - var newFocusIndex = this._currentFocus + increment; - if(newFocusIndex < this._cellNodes.length && newFocusIndex > -1) - { - var focusNode = this._cellNodes[newFocusIndex]; - focusNode.focus(); - } - } -}); - -} diff --git a/includes/js/dijit/Declaration.js b/includes/js/dijit/Declaration.js deleted file mode 100644 index 2b18cfe..0000000 --- a/includes/js/dijit/Declaration.js +++ /dev/null @@ -1,76 +0,0 @@ -if(!dojo._hasResource["dijit.Declaration"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.Declaration"] = true; -dojo.provide("dijit.Declaration"); -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); - -dojo.declare( - "dijit.Declaration", - dijit._Widget, - { - // summary: - // The Declaration widget allows a user to declare new widget - // classes directly from a snippet of markup. - - _noScript: true, - widgetClass: "", - replaceVars: true, - defaults: null, - mixins: [], - buildRendering: function(){ - var src = this.srcNodeRef.parentNode.removeChild(this.srcNodeRef); - var preambles = dojo.query("> script[type='dojo/method'][event='preamble']", src).orphan(); - var scripts = dojo.query("> script[type^='dojo/']", src).orphan(); - var srcType = src.nodeName; - - var propList = this.defaults||{}; - - // map array of strings like [ "dijit.form.Button" ] to array of mixin objects - // (note that dojo.map(this.mixins, dojo.getObject) doesn't work because it passes - // a bogus third argument to getObject(), confusing it) - this.mixins = this.mixins.length ? - dojo.map(this.mixins, function(name){ return dojo.getObject(name); } ) : - [ dijit._Widget, dijit._Templated ]; - - if(preambles.length){ - // we only support one preamble. So be it. - propList.preamble = dojo.parser._functionFromScript(preambles[0]); - } - - var parsedScripts = dojo.map(scripts, function(s){ - var evt = s.getAttribute("event")||"postscript"; - return { - event: evt, - func: dojo.parser._functionFromScript(s) - }; - }); - - // do the connects for each - - - - -
-

Dojo Benchmark Tool

- -
-
- - Class:

- Count:

- - Method: - - -

- Run Test - -
- -
- -
-

- * The results of these tests are important to us. Please feel free to submit your dataSet - to Dojotoolkit.org. Your privacy will be respected. - -

-
-
- - -
-
-
-
- -

Results:

- - - diff --git a/includes/js/dijit/bench/create_widgets.html b/includes/js/dijit/bench/create_widgets.html deleted file mode 100644 index 9a6f78a..0000000 --- a/includes/js/dijit/bench/create_widgets.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - PROGRAMMATIC - Dojo Widget Creation Test - - - - - - - - Pass ?count=100 in the query string to change the number of widgets.
- Pass ?class=form.Button in the query string to change the widget class. -

- -
-
- - - diff --git a/includes/js/dijit/bench/test_Button-programmatic.html b/includes/js/dijit/bench/test_Button-programmatic.html deleted file mode 100644 index a9d0cd1..0000000 --- a/includes/js/dijit/bench/test_Button-programmatic.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - PROGRAMMATIC - Dojo Button 100 Test - - - - - - -

Creating dojot.form.buttons programmatically

-

- -
- -
-Pass "?count=n" in the query string to change the number of buttons. - - - - - diff --git a/includes/js/dijit/bench/test_button-results.html b/includes/js/dijit/bench/test_button-results.html deleted file mode 100644 index c9fa520..0000000 --- a/includes/js/dijit/bench/test_button-results.html +++ /dev/null @@ -1,66 +0,0 @@ - - - -

Widget instantiation timing test results

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Computer/OSBrowserParsingProgrammatic
10050010001005001000
MacBook Pro 2.16
OS 10.4 2GB RAM
FF (2.0.0.3)3031724350519510062266
Safari (2.04)192146044631428952403
WebKit Nightly (21223)110540109685458940
Dell Precision 2.13 PPro
XP SP 2 - 2GB RAM
FF (2.0.0.3)282126624842508901766
IE7 (7.0.5730.11)3032079517220311402422
- - -

If you want to play:

-

-
    -
  1. Run the following tests: - -
    - Change the "count=" to 100, 500, 1000 for each. -

    - Restart the browser between each test/count. Run each test 3 times and record the smallest number. -
  2. -
  3. Record your tests in the copy of this file in SVN: dijit/bench/test_Button-results.html and check it in. Reference ticket #2968.
  4. -
- diff --git a/includes/js/dijit/bench/widget_construction_test.php b/includes/js/dijit/bench/widget_construction_test.php deleted file mode 100644 index 4718c9c..0000000 --- a/includes/js/dijit/bench/widget_construction_test.php +++ /dev/null @@ -1,186 +0,0 @@ - - - - - test of various synchronous page searching methods - - - - - -

This page contains a huge number of nodes, most of which are "chaff".

-

Here's the relative timings for this page

-
- - - - - -
var dlg = new blah.ext.LayoutDialog(config.id || blah.util.Dom.generateId(), {
-				autoCreate : true,
-				minWidth:400,
-				minHeight:300,
-				
-				syncHeightBeforeShow: true,
-				shadow:true,
-				fixedcenter: true,
-				center:{autoScroll:false},
-				east:{split:true,initialSize:150,minSize:150,maxSize:250}
-			});
-			dlg.setTitle('Choose an Image');
-			dlg.getEl().addClass('ychooser-dlg');

-
var animated = new blah.ext.Resizable('animated', {
-			    width: 200,
-			    height: 100,
-			    minWidth:100,
-			    minHeight:50,
-			    animate:true,
-			    easing: YAHOO.util.Easing.backIn,
-			    duration:.6
-			});
-

The standard Lorem Ipsum passage, used since the 1500s

-

- "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do - eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim - ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in - reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla - pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum." -

- -

Section 1.10.32 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC

- -

- "Sed ut perspiciatis unde omnis iste natus error sit voluptatem - accusantium doloremque laudantium, totam rem aperiam, eaque ipsa - quae ab illo inventore veritatis et quasi architecto beatae vitae - dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit - aspernatur aut odit aut fugit, sed quia consequuntur magni dolores - eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam - est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci - velit, sed quia non numquam eius modi tempora incidunt ut labore et - dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, - quis nostrum exercitationem ullam corporis suscipit laboriosam, - nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure - reprehenderit qui in ea voluptate velit esse quam nihil molestiae - consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla - pariatur?" -

- -

1914 translation by H. Rackham

- -

- "But I must explain to you how all this mistaken idea of denouncing - pleasure and praising pain was born and I will give you a complete - account of the system, and expound the actual teachings of the - great explorer of the truth, the master-builder of human happiness. - No one rejects, dislikes, or avoids pleasure itself, because it is - pleasure, but because those who do not know how to pursue pleasure - rationally encounter consequences that are extremely painful. Nor - again is there anyone who loves or pursues or desires to obtain - pain of itself, because it is pain, but because occasionally - circumstances occur in which toil and pain can procure him some - great pleasure. To take a trivial example, which of us ever - undertakes laborious physical exercise, except to obtain some - advantage from it? But who has any right to find fault with a man - who chooses to enjoy a pleasure that has no annoying consequences, - or one who avoids a pain that produces no resultant pleasure?" -

- - -
- - - - - - -
-
- chaff! -
- - -
item2
- - -
- - - -
item
- - - - - - diff --git a/includes/js/dijit/changes.txt b/includes/js/dijit/changes.txt deleted file mode 100644 index 525305b..0000000 --- a/includes/js/dijit/changes.txt +++ /dev/null @@ -1,93 +0,0 @@ -Changes from Dojo 0.4 dojo.widgets to new dijit project -======================================================= - -The widgets and widget infrastructure have been separated into separate project, -vastly streamlined and with a new directory structure. There are many other changes. - -Markup ------- - -dojoType="button" replaced by dojoType="dijit.Button" Must use fully qualified class name, -and it's case-sensitive. - -Need to manually dojo.require("dojo.parser") to get parsing - -Widget namespaces and widget auto-loading are desupported. - -onClick="foo" now overrides (ie, replaces) the default onClick() function rather than attaching to it, -so widget designers should make empty onClick() functions (when appropriate). - -Programmatic creation ---------------------- -Create widgets via - - new dijit.Button(params, srcNodeRef) - -createWidget() call removed since multiple renderers are no longer supported (see next section). - -At least for the dijit widgets, all widgets are guaranteed to work programmatically, which in -effect means that all widgets must have templates, unless the default
works. - -Renderers ---------- -Removed support for multiple renderers (svg & vml & a11y) for a single widget. -If a widget wants to render differently on different platforms, there must be -branching code inside the widget, or it needs to call a library that branches -based on the browser type (like dojo.gfx or dojo.charting). - - -Templates ---------- -"this." is no longer used within ${} substitution notation. See ticket #2905. -dojoRoot,buildScriptBase,dojoModuleUrl are no longer supported, but -any JavaScript properties on the widget's 'this' may be referenced with dotted notation. -The attributes dojoOn* are desupported (including dojoOnBuild); -also can't use id attribute to affect a dojoAttachPoint. - -dojoAttachEvent is case sensitive, so capitalization matters. You will probably have -to change - -dojoAttachEvent="onClick" - -to - -dojoAttachEvent="onclick: onClick" - -(given that the event name is lowercase, and assuming that the method name is camel case) - -lists within dojoAttachPoint, dojoAttachEvent, waiRole, and waiState are now comma-separated -(not separated by semi-colons) - -Standard HTML attributes like 'id', 'name', 'lang', etc. are carried over programmatically -by the _Widget constructor and do not need to be declared in the template (see _Widget.attributeMap) - -Parent/Child relationships --------------------------- -By default widgets exist as islands, not knowing about their parent widget or children widgets. -The exception is the destroy() function which will also delete all descendant widgets. -Some widgets like Tree and SplitContainer will know about their children, but those widgets -will use the special mixins in Container.js / Layout.js. - -Widget.js base class --------------------- - - - Widget.js, Domwidget.js, HtmlWidget.js combined into dijit.base.Widget, with TemplatedWidget mixin -for widgets with templates - - - on widget creation, postMixInProperties(), buildRendering() and postCreate() is called. - fillInTemplate() is no longer called. In addition, those functions call signatures have changed. - No arguments are passed. To get the source dom Node, just reference this.srcDomNode. -When postCreate() is called the widget children don't yet exist. - - - The TemplatedWidget mixin defines buildRendering(). widgetsInTemplate not ported yet. - - - onResized() removed - - - the whole parent/child relationship thing is gone - - - extraArgs[] is gone - - - postCreate() called but child widgets don't exist yet - - - templateCssPath ignored. User must manually include tundra.css file - diff --git a/includes/js/dijit/demos/chat.html b/includes/js/dijit/demos/chat.html deleted file mode 100644 index bd599f9..0000000 --- a/includes/js/dijit/demos/chat.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - Chat Demo Starter - - - - - - - - - - -
-

Dojo chat demo preabmle ...

-

- There are two examples of chat, using cometd as a backend and Dojo's - dojox.cometd client as a transport. -

-

- The first, a simple public chat room, that any live participants - that happen to be online will be able to communicate. -

-
Join Group Chat
-

The other: the example from the Dojo Book - an example of a - client / operator relationship, where the client chats from an - 'existing' page, and the operator has a TabContainer view of - open client chats, and can communicate privately and directly - to the client. The client page demonstrates how this can be used in existing - pages for real-time support. You will need two people for this, or you - are welcome to talk to yourself ... -

-
-
Client Page
-
Operator Page
-
-

the Chatroom widget source can be found here.

-
- - diff --git a/includes/js/dijit/demos/chat/chat.css b/includes/js/dijit/demos/chat/chat.css deleted file mode 100644 index 9dde485..0000000 --- a/includes/js/dijit/demos/chat/chat.css +++ /dev/null @@ -1,40 +0,0 @@ -.chatroom -{ - position:relative; - height:240px; - background-color: #e0e0e0; - border: 0px solid black; -} -.chat -{ - height: 200px; - overflow: auto; - background-color: #fff; - padding: 4px; - border: 0px solid black; -} -.dijitTabContainer .chat { - height:auto; -} -.input { - position:absolute; - bottom:0px; - display:block; - padding: 4px; - border: 0px solid black; - border-top: 1px solid black; -} -.phrase -{ - width:200px; - background-color:#ededed; -} -.username -{ - width:145px; - background-color: #ededed; -} -.hidden { display: none; } -.from { font-weight: bold; } -.alert { font-style: italic; } -.dijitTitlePaneContentInner { padding:0px !important; } diff --git a/includes/js/dijit/demos/chat/chat.css.commented.css b/includes/js/dijit/demos/chat/chat.css.commented.css deleted file mode 100644 index 0874a53..0000000 --- a/includes/js/dijit/demos/chat/chat.css.commented.css +++ /dev/null @@ -1,46 +0,0 @@ -.chatroom -{ - position:relative; - height:240px; - background-color: #e0e0e0; - border: 0px solid black; -} - -.chat -{ - height: 200px; - overflow: auto; - background-color: #fff; - padding: 4px; - border: 0px solid black; -} -.dijitTabContainer .chat { - height:auto; -} - -.input { - position:absolute; - bottom:0px; - display:block; - padding: 4px; - border: 0px solid black; - border-top: 1px solid black; -} - -.phrase -{ - width:200px; - background-color:#ededed; -} - -.username -{ - width:145px; - background-color: #ededed; -} - -.hidden { display: none; } -.from { font-weight: bold; } -.alert { font-style: italic; } -.dijitTitlePaneContentInner { padding:0px !important; } - diff --git a/includes/js/dijit/demos/chat/client.html b/includes/js/dijit/demos/chat/client.html deleted file mode 100644 index 5471272..0000000 --- a/includes/js/dijit/demos/chat/client.html +++ /dev/null @@ -1,65 +0,0 @@ - - - Sample built in tech-support demonstration | The Dojo Toolkit - - - - - - - -

I am a Sample page

-

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam facilisis enim. Pellentesque in elit et lacus euismod dignissim. Aliquam dolor pede, convallis eget, dictum a, blandit ac, urna. Pellentesque sed nunc ut justo volutpat egestas. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. In erat. Suspendisse potenti. Fusce faucibus nibh sed nisi. Phasellus faucibus, dui a cursus dapibus, mauris nulla euismod velit, a lobortis turpis arcu vel dui. Pellentesque fermentum ultrices pede. Donec auctor lectus eu arcu. Curabitur non orci eget est porta gravida. Aliquam pretium orci id nisi. Duis faucibus, mi non adipiscing venenatis, erat urna aliquet elit, eu fringilla lacus tellus quis erat. Nam tempus ornare lorem. Nullam feugiat.

- -

Need help?

- - - -

Sed congue. Aenean blandit sollicitudin mi. Maecenas pellentesque. Vivamus ac urna. Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia ac, vehicula laoreet, elit. Sed interdum augue sit amet quam dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec quam.

-

Sed arcu magna, molestie at, fringilla in, sodales eu, elit. Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus ut elit convallis eleifend. Fusce tincidunt, justo quis tempus euismod, magna nulla viverra libero, sit amet lacinia odio diam id risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, consequat quis, varius interdum, nulla. Donec neque tortor, sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean ut eros sit amet ante pharetra interdum.

-

Fusce rutrum pede eget quam. Praesent purus. Aenean at elit in sem volutpat facilisis. Nunc est augue, commodo at, pretium a, fermentum at, quam. Nam sit amet enim. Suspendisse potenti. Cras hendrerit rhoncus justo. Integer libero. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam erat volutpat. Sed adipiscing mi vel ipsum.

- - - - - diff --git a/includes/js/dijit/demos/chat/community.html b/includes/js/dijit/demos/chat/community.html deleted file mode 100644 index 4c208a0..0000000 --- a/includes/js/dijit/demos/chat/community.html +++ /dev/null @@ -1,114 +0,0 @@ - - - Cometd chat / Operator Page - - - - - - - - - -
-
-
-
-

Dojo community chat demo

-

NON-WORKING PROTOTYPE

- - - -
-
-
-
- bottom. (input area) -
-
-
-
- Name: - -
- - diff --git a/includes/js/dijit/demos/chat/operator.html b/includes/js/dijit/demos/chat/operator.html deleted file mode 100644 index 594fc6e..0000000 --- a/includes/js/dijit/demos/chat/operator.html +++ /dev/null @@ -1,83 +0,0 @@ - - - Cometd chat / Operator Page - - - - - - - -

Tech Support Operator Page:

- -
- -
-

Welcome Operator

-

It is your job to respond to incoming Support Requests. Sit here, and watch the screen.

-

Please Login as an operator: -

- Name: -

-
- -
-
- - diff --git a/includes/js/dijit/demos/chat/room.js b/includes/js/dijit/demos/chat/room.js deleted file mode 100644 index b1847f4..0000000 --- a/includes/js/dijit/demos/chat/room.js +++ /dev/null @@ -1,127 +0,0 @@ -if(!dojo._hasResource["dijit.demos.chat.room"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.demos.chat.room"] = true; -dojo.provide("dijit.demos.chat.room"); - -dojo.require("dojox.cometd"); -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); - -dojo.declare("dijit.demos.chat.Room", - [dijit._Widget,dijit._Templated], - { - - _last: "", - _username: null, - roomId: "public", - isPrivate: false, - prompt: "Name:", - - templateString: '
' - +'
' - +'
' - +'
' - +'${prompt} ' - +'
' - +'' - +'
' - +'
', - - join: function(name){ - if(name == null || name.length==0){ - alert('Please enter a username!'); - }else{ - if(this.isPrivate){ this.roomId = name; } - this._username=name; - this.joining.className='hidden'; - this.joined.className=''; - this.phrase.focus(); - console.log(this.roomId); - dojox.cometd.subscribe("/chat/demo/" + this.roomId, this, "_chat"); - dojox.cometd.publish("/chat/demo/" + this.roomId, { user: this._username, join: true, chat : this._username+" has joined the room."}); - dojox.cometd.publish("/chat/demo", { user: this._username, joined: this.roomId }); - } - }, - - _join: function(/* Event */e){ - var key = (e.charCode == dojo.keys.SPACE ? dojo.keys.SPACE : e.keyCode); - if (key == dojo.keys.ENTER || e.type=="click"){ - this.join(this.username.value); - } - }, - - leave: function(){ - dojox.cometd.unsubscribe("/chat/demo/" + this.roomId, this, "_chat"); - dojox.cometd.publish("/chat/demo/" + this.roomId, { user: this._username, leave: true, chat : this._username+" has left the chat."}); - - // switch the input form back to login mode - this.joining.className=''; - this.joined.className='hidden'; - this.username.focus(); - this._username=null; - }, - - chat: function(text){ - // summary: publish a text message to the room - if(text != null && text.length>0){ - // lame attempt to prevent markup - text=text.replace(//g,'>'); - dojox.cometd.publish("/chat/demo/" + this.roomId, { user: this._username, chat: text}); - } - }, - - _chat: function(message){ - // summary: process an incoming message - if (!message.data){ - console.warn("bad message format "+message); - return; - } - var from=message.data.user; - var special=message.data.join || message.data.leave; - var text=message.data.chat; - if(text!=null){ - if(!special && from == this._last ){ from="..."; - }else{ - this._last=from; - from+=":"; - } - - if(special){ - this.chatNode.innerHTML += ""+from+" "+text+"
"; - this._last=""; - }else{ - this.chatNode.innerHTML += ""+from+" "+text+"
"; - this.chatNode.scrollTop = this.chatNode.scrollHeight - this.chatNode.clientHeight; - } - } - }, - - startup: function(){ - this.joining.className=''; - this.joined.className='hidden'; - //this.username.focus(); - this.username.setAttribute("autocomplete","OFF"); - if (this.registeredAs) { this.join(this.registeredAs); } - this.inherited("startup",arguments); - }, - - _cleanInput: function(/* Event */e){ - var key = (e.charCode == dojo.keys.SPACE ? dojo.keys.SPACE : e.keyCode); - if(key == dojo.keys.ENTER || key == 13){ - this.chat(this.phrase.value); - this.phrase.value=''; - } - }, - - _sendPhrase: function(/* Event */e){ - if (this.phrase.value){ - this.chat(this.phrase.value); - this.phrase.value=''; - } - } -}); - -} diff --git a/includes/js/dijit/demos/form.html b/includes/js/dijit/demos/form.html deleted file mode 100644 index e8b238d..0000000 --- a/includes/js/dijit/demos/form.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - Dojo Form Widgets Test - - - - - - - -
- -

Job Application Form

-

This is just a little demo of dijit's form widgets

-
-
- - As you type in the text below, notice how your input is auto - corrected and also the auto completion on the state field. - - Name And Address -
-
- - -
- - - -
- - - - - - - - - -
- - - - -
- -
- Custom checkboxes and radio buttons... - Desired position -
-
- -
- - - -
- - -
- - -
-
- -
- slider and spinner ... - Education and Experience -
-
- - - - - - - -
- - - - -
    -
  1. high school
  2. -
  3. college
  4. -
  5. masters
  6. -
  7. PhD
  8. -
-
-
- - - -
-
- -
- Rich text editor that expands as you type in text - -
-
- -
- -
- Text area that expands as you type in text - -
-
- -
- -
- -
-
- - - diff --git a/includes/js/dijit/demos/i18n.html b/includes/js/dijit/demos/i18n.html deleted file mode 100644 index b99f6b9..0000000 --- a/includes/js/dijit/demos/i18n.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - Dijit I18N Demo - - - - - - - - - - -
-
- - - -
- -

Dijit I18N Demo (locale= dir=)

- - - - - - -
-
- - - - - - -
-
-

- Use the tree to select a language or a language/country combo; the page will reload - in the specified locale. Note that tree is also rerendered using the specified language for top level tree items. - Arabic and Hebrew display right-to-left so be sure to try those. -

- - -

Some form controls:

- - - -
- - -
- - -
- - - -
- - -
- - diff --git a/includes/js/dijit/demos/i18n/continents.json b/includes/js/dijit/demos/i18n/continents.json deleted file mode 100644 index 994842b..0000000 --- a/includes/js/dijit/demos/i18n/continents.json +++ /dev/null @@ -1,9 +0,0 @@ -[ -{ type: "continent", name: "Africa", iso: "Africa" }, -{ type: "continent", name: "Asia", iso: "Asia" }, -{ type: "continent", name: "Europe", iso: "Europe" }, -{ type: "continent", name: "North America", iso: "North America" }, -{ type: "continent", name: "South America", iso: "South America" }, -{ type: "continent", name: "Oceania", iso: "Oceania" }, -{ type: "continent", name: "Antarctica", iso: "Antarctica" } -] diff --git a/includes/js/dijit/demos/i18n/data.json b/includes/js/dijit/demos/i18n/data.json deleted file mode 100644 index f46855b..0000000 --- a/includes/js/dijit/demos/i18n/data.json +++ /dev/null @@ -1,8646 +0,0 @@ -{ "identifier": 'iso', - "label": 'name', - "items": -[ - { - "type": "language", - "iso": "aa", - "name": "Qafar", - "countries": [ - { - "_reference": "DJ" - }, - { - "_reference": "ER" - }, - { - "_reference": "ET" - } - ], - "am": "አፋርኛ", - "ar": "الأفارية", - "ca": "àfar", - "cs": "Afarština", - "da": "afar", - "de": "Afar", - "en": "Afar", - "es": "afar", - "fi": "afar", - "fr": "afar", - "ga": "Afar", - "he": "אתיופית", - "hi": "अफ़ार", - "hu": "afar", - "id": "Afar", - "it": "afar", - "ja": "アファル語", - "km": "ភាសាអាហ្វារ", - "ko": "아파르어", - "mr": "अफार", - "mt": "Afar", - "nb": "afar", - "nl": "Afar", - "nn": "afar", - "pt": "afar", - "ru": "афар", - "sv": "afar", - "ta": "அபார்", - "th": "อาฟา", - "tr": "Afar", - "uk": "Афарська", - "zh": "阿法文" - }, - { - "type": "language", - "iso": "af", - "name": "Afrikaans", - "countries": [ - { - "_reference": "NA" - }, - { - "_reference": "ZA" - } - ], - "af": "Afrikaans", - "am": "አፍሪቃንስኛ", - "ar": "الأفريقية", - "bg": "Африканс", - "ca": "afrikaans", - "cs": "Afrikánština", - "da": "afrikaans", - "de": "Afrikaans", - "en": "Afrikaans", - "es": "afrikaans", - "fi": "afrikaans", - "fr": "afrikaans", - "ga": "Afracáinis", - "he": "אפריקנית", - "hi": "अफ्रीकी", - "hu": "afrikai", - "id": "Afrikaans", - "is": "Afríkanska", - "it": "afrikaans", - "ja": "アフリカーンス語", - "km": "ភាសាអាហ្វ្រីកាអាន", - "ko": "남아공 공용어", - "mr": "अफ्रिकान्स", - "mt": "Afrikans", - "nb": "afrikaans", - "nl": "Afrikaans", - "nn": "afrikaans", - "pt": "africâner", - "ru": "африкаанс", - "sr": "Африканерски", - "sv": "afrikaans", - "ta": "ஆப்ரிகன்ஸ்", - "th": "แอฟริกัน", - "tr": "Afrikaan Dili", - "uk": "Африканс", - "zh": "南非荷兰文" - }, - { - "type": "language", - "iso": "am", - "name": "አማርኛ", - "countries": [ - { - "_reference": "ET" - } - ], - "am": "አማርኛ", - "ar": "الأمهرية", - "bg": "Амхарски", - "ca": "amhàric", - "cs": "Amharština", - "da": "amharisk", - "de": "Amharisch", - "en": "Amharic", - "es": "amárico", - "fi": "amhara", - "fr": "amharique", - "he": "אמהרית", - "hi": "अम्हारिक्", - "hu": "amhara", - "id": "Amharik", - "is": "Amharíska", - "it": "amarico", - "ja": "アムハラ語", - "ko": "암하라어", - "mr": "अमहारिक", - "mt": "Amħariku", - "nb": "amharisk", - "nl": "Amhaars", - "nn": "amharisk", - "pt": "amárico", - "ru": "амхарский", - "sv": "amhariska", - "ta": "அம்ஹாரிக்", - "th": "อัมฮาริค", - "tr": "Amharik", - "uk": "Амхарік", - "zh": "阿姆哈拉文" - }, - { - "type": "language", - "iso": "ar", - "name": "العربية", - "countries": [ - { - "_reference": "AE" - }, - { - "_reference": "BH" - }, - { - "_reference": "DZ" - }, - { - "_reference": "EG" - }, - { - "_reference": "IQ" - }, - { - "_reference": "JO" - }, - { - "_reference": "KW" - }, - { - "_reference": "LB" - }, - { - "_reference": "LY" - }, - { - "_reference": "MA" - }, - { - "_reference": "OM" - }, - { - "_reference": "QA" - }, - { - "_reference": "SA" - }, - { - "_reference": "SD" - }, - { - "_reference": "SY" - }, - { - "_reference": "TN" - }, - { - "_reference": "YE" - } - ], - "am": "ዐርቢኛ", - "ar": "العربية", - "be": "арабскі", - "bg": "Арабски", - "ca": "àrab", - "cs": "Arabština", - "cy": "Arabeg", - "da": "arabisk", - "de": "Arabisch", - "el": "Αραβικά", - "en": "Arabic", - "es": "árabe", - "et": "Araabia", - "fi": "arabia", - "fr": "arabe", - "ga": "Araibis", - "he": "ערבית", - "hi": "अरबी", - "hr": "arapski", - "hu": "arab", - "id": "Arab", - "is": "Arabíska", - "it": "arabo", - "ja": "アラビア語", - "km": "ភាសាអារ៉ាប់", - "ko": "아랍어", - "lt": "Arabų", - "lv": "arābu", - "mr": "अरेबिक", - "mt": "Għarbi", - "nb": "arabisk", - "nl": "Arabisch", - "nn": "arabisk", - "pl": "arabski", - "ps": "عربي", - "pt": "árabe", - "ro": "Arabă", - "ru": "арабский", - "sk": "arabský", - "sl": "Arabščina", - "sq": "Arabisht", - "sr": "Арапски", - "sv": "arabiska", - "ta": "அரபு", - "te": "అరబిక్", - "tr": "Arapça", - "uk": "Арабська", - "vi": "Tiếng A-rập", - "zh": "阿拉伯文" - }, - { - "type": "language", - "iso": "as", - "name": "অসমীয়া", - "countries": [ - { - "_reference": "IN" - } - ], - "am": "አሳሜዛዊ", - "ar": "الأسامية", - "as": "অসমীয়া", - "ca": "assamès", - "cs": "Assaméština", - "da": "assamesisk", - "de": "Assamesisch", - "en": "Assamese", - "es": "asamés", - "fi": "assami", - "fr": "assamais", - "ga": "Asaimis", - "he": "אסאמית", - "hi": "असामी", - "hu": "asszámi", - "id": "Assam", - "is": "Assamska", - "it": "assamese", - "ja": "アッサム語", - "ko": "아샘어", - "mr": "असामी", - "mt": "Assamese", - "nb": "assamisk", - "nl": "Assamees", - "nn": "assamisk", - "pt": "assamês", - "ru": "ассамский", - "sv": "assamesiska", - "ta": "அஸ்ஸாமி", - "th": "อัสสัมมิส", - "uk": "Ассамська", - "zh": "阿萨姆文" - }, - { - "type": "language", - "iso": "az", - "name": "azərbaycanca", - "countries": [ - { - "_reference": "AZ" - } - ], - "am": "አዜርባይጃንኛ", - "ar": "الأذرية", - "az": "azərbaycanca", - "bg": "Азърбайджански", - "ca": "àzeri", - "cs": "Azerbajdžánština", - "da": "aserbajdsjansk", - "de": "Aserbaidschanisch", - "en": "Azerbaijani", - "es": "azerí", - "fa": "ترکی آذربایجانی", - "fi": "azeri", - "fr": "azéri", - "ga": "Asarbaiseáinis", - "he": "אזרית", - "hi": "अज़रबैंजानी", - "hu": "azerbajdzsáni", - "id": "Azerbaijan", - "is": "Aserska", - "it": "azerbaigiano", - "ja": "アゼルバイジャン語", - "km": "ភាសាអាហ៊្សែរបែហ្សង់", - "ko": "아제르바이잔어", - "mr": "अज़रबाइजानी", - "mt": "Ażerbajġani", - "nb": "aserbajdsjansk", - "nl": "Azerbeidzjaans", - "nn": "aserbajdsjansk", - "pt": "azerbaijano", - "ru": "азербайджанский", - "sv": "azerbajdzjanska", - "ta": "அசர்பாய்ஜானி", - "th": "อาเซอร์ไบจานี", - "tr": "Azerice", - "uk": "Азербайджанська", - "vi": "Tiếng Ai-déc-bai-gian", - "zh": "阿塞拜疆文" - }, - { - "type": "language", - "iso": "be", - "name": "Беларускі", - "countries": [ - { - "_reference": "BY" - } - ], - "am": "ቤላራሻኛ", - "ar": "البيلوروسية", - "be": "Беларускі", - "bg": "Беларуски", - "ca": "bielorús", - "cs": "Běloruština", - "da": "hviderussisk", - "de": "Weißrussisch", - "el": "Λευκορωσικά", - "en": "Belarusian", - "es": "bielorruso", - "fi": "valkovenäjä", - "fr": "biélorusse", - "ga": "Bealarúisis", - "he": "בלארוסית", - "hi": "बैलोरूशियन्", - "hr": "bjeloruski", - "hu": "belorusz", - "id": "Belarusia", - "is": "Hvítrússneska", - "it": "bielorusso", - "ja": "ベラルーシ語", - "km": "ភាសាបេឡារុស្ស", - "ko": "벨로루시어", - "mr": "बैलोरुसियन", - "mt": "Belarussu", - "nb": "hviterussisk", - "nl": "Wit-Russisch", - "nn": "kviterussisk", - "pt": "bielo-russo", - "ru": "белорусский", - "sr": "Белоруски", - "sv": "vitryska", - "ta": "பைலோருஷ்ன்", - "th": "บายโลรัสเซีย", - "tr": "Beyaz Rusça", - "uk": "Білоруська", - "vi": "Tiếng Bê-la-rút", - "zh": "白俄罗斯文" - }, - { - "type": "language", - "iso": "bg", - "name": "Български", - "countries": [ - { - "_reference": "BG" - } - ], - "am": "ቡልጋሪኛ", - "ar": "البلغارية", - "bg": "Български", - "ca": "búlgar", - "cs": "Bulharština", - "da": "bulgarsk", - "de": "Bulgarisch", - "el": "Βουλγαρικά", - "en": "Bulgarian", - "es": "búlgaro", - "et": "Bulgaaria", - "fi": "bulgaria", - "fr": "bulgare", - "ga": "Bulgáiris", - "he": "בולגרית", - "hi": "बल्गेरियन्", - "hr": "bugarski", - "hu": "bolgár", - "id": "Bulgaria", - "is": "Búlgarska", - "it": "bulgaro", - "ja": "ブルガリア語", - "km": "ភាសាប៊ុលហ្ការី", - "ko": "불가리아어", - "lt": "Bulgarų", - "lv": "bulgāru", - "mr": "बल्गेरियन", - "mt": "Bulgaru", - "nb": "bulgarsk", - "nl": "Bulgaars", - "nn": "bulgarsk", - "pl": "bułgarski", - "pt": "búlgaro", - "ro": "Bulgară", - "ru": "болгарский", - "sk": "bulharský", - "sl": "Bolgarščina", - "sr": "Бугарски", - "sv": "bulgariska", - "ta": "பல்கேரியன்", - "th": "บัลแกเรีย", - "tr": "Bulgarca", - "uk": "Болгарська", - "vi": "Tiếng Bun-ga-ri", - "zh": "保加利亚文" - }, - { - "type": "language", - "iso": "bn", - "name": "বাংলা", - "countries": [ - { - "_reference": "BD" - }, - { - "_reference": "IN" - } - ], - "am": "በንጋሊኛ", - "ar": "البنغالية", - "bg": "Бенгалски", - "bn": "বাংলা", - "ca": "bengalí", - "cs": "Bengálština", - "da": "bengalsk", - "de": "Bengalisch", - "el": "Μπενγκάλι", - "en": "Bengali", - "es": "bengalí", - "fi": "bengali", - "fr": "bengali", - "ga": "Beangálais", - "he": "בנגלית", - "hi": "बँगाली", - "hu": "bengáli", - "id": "Bengal", - "is": "Bengalska", - "it": "bengalese", - "ja": "ベンガル語", - "km": "ភាសាបេន្កាលី", - "ko": "벵골어", - "lt": "Bengalų", - "mr": "बंगाली", - "mt": "Bengali", - "nb": "bengali", - "nl": "Bengalees", - "nn": "bengali", - "pl": "bengalski", - "pt": "bengali", - "ru": "бенгальский", - "sv": "bengali", - "ta": "வங்காளம்", - "tr": "Bengal Dili", - "uk": "Бенгальська", - "zh": "孟加拉文" - }, - { - "type": "language", - "iso": "ca", - "name": "català", - "countries": [ - { - "_reference": "ES" - } - ], - "am": "ካታላንኛ", - "ar": "الكاتالوينية", - "bg": "Каталонски", - "ca": "català", - "cs": "Katalánština", - "da": "katalansk", - "de": "Katalanisch", - "el": "Καταλανικά", - "en": "Catalan", - "es": "catalán", - "fi": "katalaani", - "fr": "catalan", - "ga": "Catalóinis", - "he": "קטלונית", - "hi": "कातालान", - "hu": "katalán", - "id": "Catalan", - "is": "Katalónska", - "it": "catalano", - "ja": "カタロニア語", - "km": "ភាសាកាតាឡាន", - "ko": "카탈로니아어", - "mr": "कटलन", - "mt": "Katalan", - "nb": "katalansk", - "nl": "Catalaans", - "nn": "katalansk", - "pl": "kataloński", - "pt": "catalão", - "ru": "каталанский", - "sr": "Каталонски", - "sv": "katalanska", - "ta": "காடலான்", - "th": "แคตาแลน", - "tr": "Katalan Dili", - "uk": "Каталонська", - "vi": "Tiếng Ca-ta-lăng", - "zh": "加泰罗尼亚文" - }, - { - "type": "language", - "iso": "cs", - "name": "Čeština", - "countries": [ - { - "_reference": "CZ" - } - ], - "am": "ቼክኛ", - "ar": "التشيكية", - "bg": "Чешки", - "ca": "txec", - "cs": "Čeština", - "da": "Tjekkisk", - "de": "Tschechisch", - "el": "Τσεχικά", - "en": "Czech", - "es": "checo", - "et": "Tiehhi", - "fi": "tšekki", - "fr": "tchèque", - "ga": "Seicis", - "he": "צ׳כית", - "hi": "चेक", - "hr": "češki", - "hu": "cseh", - "id": "Ceko", - "is": "Tékkneska", - "it": "ceco", - "ja": "チェコ語", - "km": "ភាសាឆេក", - "ko": "체코어", - "lt": "Čekų", - "lv": "čehu", - "mr": "ज़ेक", - "mt": "Ċek", - "nb": "tsjekkisk", - "nl": "Tsjechisch", - "nn": "tsjekkisk", - "pl": "czeski", - "pt": "tcheco", - "ro": "Cehă", - "ru": "чешский", - "sk": "český", - "sl": "Češčina", - "sr": "Чешки", - "sv": "tjeckiska", - "ta": "செக்", - "tr": "Çekçe", - "uk": "Чеська", - "vi": "Tiếng Séc", - "zh": "捷克文" - }, - { - "type": "language", - "iso": "cy", - "name": "Cymraeg", - "countries": [ - { - "_reference": "GB" - } - ], - "am": "ወልሽ", - "ar": "الولزية", - "bg": "Уелски", - "ca": "gal·lès", - "cs": "Velština", - "cy": "Cymraeg", - "da": "Walisisk", - "de": "Kymrisch", - "el": "Ουαλικά", - "en": "Welsh", - "es": "galés", - "fi": "kymri", - "fr": "gallois", - "ga": "Breatnais", - "he": "וולשית", - "hi": "वेल्श", - "hr": "velški", - "hu": "walesi", - "id": "Welsh", - "is": "Velska", - "it": "gallese", - "ja": "ウェールズ語", - "ko": "웨일스어", - "mr": "वेल्ष", - "mt": "Welx", - "nb": "walisisk", - "nl": "Welsh", - "nn": "walisisk", - "pl": "walijski", - "pt": "galês", - "ru": "валлийский", - "sv": "walesiska", - "ta": "வெல்ஷ்", - "th": "เวลส์", - "tr": "Gal Dili", - "uk": "Валлійська", - "zh": "威尔士文" - }, - { - "type": "language", - "iso": "da", - "name": "Dansk", - "countries": [ - { - "_reference": "DK" - } - ], - "am": "ዴኒሽ", - "ar": "الدانماركية", - "bg": "Датски", - "ca": "danès", - "cs": "Dánština", - "da": "Dansk", - "de": "Dänisch", - "el": "Δανικά", - "en": "Danish", - "es": "danés", - "et": "Taani", - "fi": "tanska", - "fr": "danois", - "ga": "Danmhairgis", - "he": "דנית", - "hi": "डैनीश", - "hr": "danski", - "hu": "dán", - "id": "Denmark", - "is": "Danska", - "it": "danese", - "ja": "デンマーク語", - "km": "ភាសាដាណឺម៉ាក", - "ko": "덴마크어", - "lt": "Danų", - "lv": "dāņu", - "mr": "डानिष", - "mt": "Daniż", - "nb": "dansk", - "nl": "Deens", - "nn": "dansk", - "pl": "duński", - "pt": "dinamarquês", - "ro": "Daneză", - "ru": "датский", - "sk": "dánsky", - "sl": "Danščina", - "sr": "Дански", - "sv": "danska", - "ta": "டானிஷ்", - "th": "เดนมาร์ก", - "tr": "Danca", - "uk": "Датська", - "vi": "Tiếng Đan Mạch", - "zh": "丹麦文" - }, - { - "type": "language", - "iso": "de", - "name": "Deutsch", - "countries": [ - { - "_reference": "AT" - }, - { - "_reference": "BE" - }, - { - "_reference": "CH" - }, - { - "_reference": "DE" - }, - { - "_reference": "LI" - }, - { - "_reference": "LU" - } - ], - "am": "ጀርመን", - "ar": "الألمانية", - "be": "нямецкі", - "bg": "Немски", - "ca": "alemany", - "cs": "Němčina", - "cy": "Almaeneg", - "da": "Tysk", - "de": "Deutsch", - "el": "Γερμανικά", - "en": "German", - "es": "alemán", - "et": "Saksa", - "eu": "alemanera", - "fi": "saksa", - "fr": "allemand", - "ga": "Gearmáinis", - "he": "גרמנית", - "hi": "ज़र्मन", - "hr": "njemački", - "hu": "német", - "id": "Jerman", - "is": "Þýska", - "it": "tedesco", - "ja": "ドイツ語", - "ka": "გერმანული", - "km": "ភាសាអាល្លឺម៉ង់", - "ko": "독일어", - "ky": "немисче", - "lt": "Vokiečių", - "lv": "vācu", - "mk": "германски", - "mn": "герман", - "mr": "जर्मन", - "mt": "Ġermaniż", - "nb": "tysk", - "nl": "Duits", - "nn": "tysk", - "pl": "niemiecki", - "ps": "الماني", - "pt": "alemão", - "ro": "Germană", - "ru": "немецкий", - "sk": "nemecký", - "sl": "Nemščina", - "sq": "Gjermanisht", - "sr": "Немачки", - "sv": "tyska", - "sw": "kijerumani", - "ta": "ஜெர்மன்", - "te": "ఙర్మన్", - "th": "เยอรมัน", - "tr": "Almanca", - "uk": "Німецька", - "vi": "Tiếng Đức", - "zh": "德文" - }, - { - "type": "language", - "iso": "dv", - "name": "ދިވެހިބަސް", - "countries": [ - { - "_reference": "MV" - } - ], - "ar": "المالديفية", - "bg": "Дивехи", - "da": "Divehi", - "de": "Maledivisch", - "en": "Divehi", - "es": "divehi", - "fi": "divehi", - "fr": "maldivien", - "he": "דיבהי", - "id": "Divehi", - "is": "Dívehí", - "it": "divehi", - "ja": "ディベヒ語", - "ko": "디베히어", - "mt": "Diveħi", - "nb": "divehi", - "nl": "Divehi", - "nn": "divehi", - "pt": "divehi", - "sv": "divehi", - "th": "ดิเวฮิ", - "zh": "迪维希文" - }, - { - "type": "language", - "iso": "dz", - "name": "རྫོང་ཁ", - "countries": [ - { - "_reference": "BT" - } - ], - "am": "ድዞንግኻኛ", - "ar": "الزونخاية", - "ca": "bhutanès", - "cs": "Bhútánština", - "da": "Dzongkha", - "de": "Bhutanisch", - "en": "Dzongkha", - "fi": "dzongkha", - "fr": "dzongkha", - "hi": "भुटानी", - "hu": "butáni", - "id": "Dzongkha", - "is": "Dsongka", - "it": "dzongkha", - "ja": "ゾンカ語", - "km": "ភាសាប៊ូតាន", - "ko": "부탄어", - "mr": "भूटानी", - "mt": "Dżongka", - "nb": "dzongkha", - "nl": "Dzongkha", - "nn": "dzongkha", - "pt": "dzonga", - "ru": "дзонг-кэ", - "sv": "bhutanesiska", - "ta": "புடானி", - "th": "ดซองคา", - "tr": "Bhutan Dili", - "uk": "Дзонг-ке", - "zh": "不丹文" - }, - { - "type": "language", - "iso": "el", - "name": "Ελληνικά", - "countries": [ - { - "_reference": "CY" - }, - { - "_reference": "GR" - } - ], - "am": "ግሪክኛ", - "ar": "اليونانية", - "bg": "Гръцки", - "ca": "grec", - "cs": "Řečtina", - "da": "Græsk", - "de": "Griechisch", - "el": "Ελληνικά", - "en": "Greek", - "es": "griego", - "et": "Kreeka", - "fi": "kreikka", - "fr": "grec", - "ga": "Gréigis", - "he": "יוונית", - "hi": "ग्रीक", - "hr": "grčki", - "hu": "görög", - "id": "Yunani", - "is": "Nýgríska (1453-)", - "it": "greco", - "ja": "ギリシャ語", - "km": "ភាសាក្រិច", - "ko": "그리스어", - "lt": "Graikų", - "lv": "grieķu", - "mr": "ग्रीक", - "mt": "Grieg", - "nb": "gresk", - "nl": "Grieks", - "nn": "gresk", - "pl": "grecki", - "ps": "یوناني", - "pt": "grego", - "ro": "Greacă", - "ru": "греческий", - "sk": "grécky", - "sl": "Grščina", - "sr": "Грчки", - "sv": "grekiska", - "ta": "கிரேக்கம்", - "th": "กรีก", - "tr": "Yunanca", - "uk": "Грецька", - "vi": "Tiếng Hy Lạp", - "zh": "希腊文" - }, - { - "type": "language", - "iso": "en", - "name": "English", - "countries": [ - { - "_reference": "AS" - }, - { - "_reference": "AU" - }, - { - "_reference": "BE" - }, - { - "_reference": "BW" - }, - { - "_reference": "BZ" - }, - { - "_reference": "CA" - }, - { - "_reference": "GB" - }, - { - "_reference": "GU" - }, - { - "_reference": "HK" - }, - { - "_reference": "IE" - }, - { - "_reference": "IN" - }, - { - "_reference": "JM" - }, - { - "_reference": "MH" - }, - { - "_reference": "MP" - }, - { - "_reference": "MT" - }, - { - "_reference": "NA" - }, - { - "_reference": "NZ" - }, - { - "_reference": "PH" - }, - { - "_reference": "PK" - }, - { - "_reference": "SG" - }, - { - "_reference": "TT" - }, - { - "_reference": "UM" - }, - { - "_reference": "US" - }, - { - "_reference": "VI" - }, - { - "_reference": "ZA" - }, - { - "_reference": "ZW" - } - ], - "am": "እንግሊዝኛ", - "ar": "الانجليزية", - "be": "англійскі", - "bg": "Английски", - "ca": "anglès", - "cs": "Angličtina", - "cy": "Saesneg", - "da": "Engelsk", - "de": "Englisch", - "el": "Αγγλικά", - "en": "English", - "es": "inglés", - "et": "Inglise", - "eu": "ingelera", - "fi": "englanti", - "fr": "anglais", - "ga": "Béarla", - "he": "אנגלית", - "hi": "अंग्रेजी", - "hr": "engleski", - "hu": "angol", - "id": "Inggris", - "is": "Enska", - "it": "inglese", - "ja": "英語", - "ka": "ინგლისური", - "km": "ភាសាអង់គ្លេស", - "ko": "영어", - "ky": "англисче", - "lt": "Anglų", - "lv": "angļu", - "mk": "англиски", - "mn": "англи", - "mr": "इंग्रेजी", - "mt": "Ingliż", - "nb": "engelsk", - "nl": "Engels", - "nn": "engelsk", - "pl": "angielski", - "ps": "انګلیسي", - "pt": "inglês", - "ro": "Engleză", - "ru": "английский", - "sk": "anglický", - "sl": "Angleščina", - "sq": "Anglisht", - "sr": "Енглески", - "sv": "engelska", - "sw": "kiingereza", - "ta": "ஆங்கிலம்", - "te": "ఆంగ్లం", - "th": "อังกฤษ", - "tr": "İngilizce", - "uk": "Англійська", - "vi": "Tiếng Anh", - "zh": "英文" - }, - { - "type": "language", - "iso": "es", - "name": "español", - "countries": [ - { - "_reference": "AR" - }, - { - "_reference": "BO" - }, - { - "_reference": "CL" - }, - { - "_reference": "CO" - }, - { - "_reference": "CR" - }, - { - "_reference": "DO" - }, - { - "_reference": "EC" - }, - { - "_reference": "ES" - }, - { - "_reference": "GT" - }, - { - "_reference": "HN" - }, - { - "_reference": "MX" - }, - { - "_reference": "NI" - }, - { - "_reference": "PA" - }, - { - "_reference": "PE" - }, - { - "_reference": "PR" - }, - { - "_reference": "PY" - }, - { - "_reference": "SV" - }, - { - "_reference": "US" - }, - { - "_reference": "UY" - }, - { - "_reference": "VE" - } - ], - "af": "Spaans", - "am": "ስፓኒሽ", - "ar": "الأسبانية", - "be": "іспанскі", - "bg": "Испански", - "ca": "espanyol", - "cs": "Španělština", - "cy": "Sbaeneg", - "da": "Spansk", - "de": "Spanisch", - "el": "Ισπανικά", - "en": "Spanish", - "es": "español", - "et": "Hispaania", - "eu": "espainiera", - "fi": "espanja", - "fr": "espagnol", - "ga": "Spáinnis", - "he": "ספרדית", - "hi": "स्पेनिश", - "hr": "španjolski", - "hu": "spanyol", - "id": "Spanyol", - "is": "Spænska", - "it": "spagnolo", - "ja": "スペイン語", - "ka": "ესპანური", - "km": "ភាសាអេស្ប៉ាញ", - "ko": "스페인어", - "ky": "испанча", - "lt": "Ispanų", - "lv": "spāņu", - "mk": "шпански", - "mn": "испани", - "mr": "स्पानिष", - "mt": "Spanjol", - "nb": "spansk", - "nl": "Spaans", - "nn": "spansk", - "pl": "hiszpański", - "pt": "espanhol", - "ro": "Spaniolă", - "ru": "испанский", - "sk": "španielsky", - "sl": "Španščina", - "sq": "Spanjisht", - "sr": "Шпански", - "sv": "spanska", - "sw": "kihispania", - "ta": "ஸ்பேனிஷ்", - "te": "స్పానిష్", - "th": "สเปน", - "tr": "İspanyolca", - "uk": "Іспанська", - "vi": "Tiếng Tây Ban Nha", - "zh": "西班牙文" - }, - { - "type": "language", - "iso": "et", - "name": "Eesti", - "countries": [ - { - "_reference": "EE" - } - ], - "am": "ኤስቶኒአን", - "ar": "الأستونية", - "bg": "Естонски", - "ca": "estonià", - "cs": "Estonština", - "da": "Estisk", - "de": "Estnisch", - "el": "Εσθονικά", - "en": "Estonian", - "es": "estonio", - "et": "Eesti", - "fi": "viro", - "fr": "estonien", - "ga": "Eastóinis", - "he": "אסטונית", - "hi": "ऐस्तोनियन्", - "hr": "estonijski", - "hu": "észt", - "id": "Estonian", - "is": "Eistneska", - "it": "estone", - "ja": "エストニア語", - "km": "ភាសាអេស្តូនី", - "ko": "에스토니아어", - "lt": "Estų", - "lv": "igauņu", - "mr": "इस्टोनियन्", - "mt": "Estonjan", - "nb": "estisk", - "nl": "Estlands", - "nn": "estisk", - "pl": "estoński", - "ps": "حبشي", - "pt": "estoniano", - "ro": "Estoniană", - "ru": "эстонский", - "sk": "estónsky", - "sl": "Estonščina", - "sr": "Естонски", - "sv": "estniska", - "ta": "எஸ்டோனியன்", - "th": "เอสโตเนีย", - "tr": "Estonya Dili", - "uk": "Естонська", - "vi": "Tiếng E-xtô-ni-a", - "zh": "爱沙尼亚文" - }, - { - "type": "language", - "iso": "eu", - "name": "euskara", - "countries": [ - { - "_reference": "ES" - } - ], - "am": "ባስክኛ", - "ar": "لغة الباسك", - "bg": "Баски", - "ca": "basc", - "cs": "Baskičtina", - "da": "baskisk", - "de": "Baskisch", - "el": "Βασκικά", - "en": "Basque", - "es": "vasco", - "eu": "euskara", - "fi": "baski", - "fr": "basque", - "ga": "Bascais", - "he": "בסקית", - "hi": "बास्क्", - "hu": "baszk", - "id": "Basque", - "is": "Baskneska", - "it": "basco", - "ja": "バスク語", - "km": "ភាសាបាស្កេ", - "ko": "바스크어", - "mr": "बास्क", - "mt": "Bask", - "nb": "baskisk", - "nl": "Baskisch", - "nn": "baskisk", - "pl": "baskijski", - "pt": "basco", - "ru": "баскский", - "sr": "Баскијски", - "sv": "baskiska", - "ta": "பஸ்க்", - "th": "แบสก์", - "tr": "Bask Dili", - "uk": "Басків", - "zh": "巴斯克文" - }, - { - "type": "language", - "iso": "fa", - "name": "فارسی", - "countries": [ - { - "_reference": "AF" - }, - { - "_reference": "IR" - } - ], - "am": "ፐርሲያኛ", - "ar": "الفارسية", - "bg": "Персийски", - "ca": "persa", - "cs": "Perština", - "da": "Persisk", - "de": "Persisch", - "el": "Περσικά", - "en": "Persian", - "es": "farsi", - "fr": "persan", - "ga": "Peirsis", - "he": "פרסית", - "hi": "पर्शियन्", - "hr": "perzijski", - "hu": "perzsa", - "id": "Persia", - "is": "Persneska", - "it": "persiano", - "ja": "ペルシア語", - "ko": "이란어", - "mr": "पर्षियन्", - "mt": "Persjan", - "nb": "persisk", - "nl": "Perzisch", - "nn": "persisk", - "ps": "فارسي", - "pt": "persa", - "ru": "персидский", - "sr": "Персијски", - "sv": "persiska", - "ta": "பர்ஸியன்", - "th": "เปอร์เซีย", - "tr": "Farsça", - "uk": "Перська", - "vi": "Tiếng Ba Tư", - "zh": "波斯文" - }, - { - "type": "language", - "iso": "fi", - "name": "suomi", - "countries": [ - { - "_reference": "FI" - } - ], - "am": "ፊኒሽ", - "ar": "الفنلندية", - "bg": "Фински", - "ca": "finès", - "cs": "Finština", - "da": "Finsk", - "de": "Finnisch", - "el": "Φινλανδικά", - "en": "Finnish", - "es": "finés", - "et": "Soome", - "fi": "suomi", - "fr": "finnois", - "ga": "Fionnlainnis", - "he": "פינית", - "hi": "फिनिश", - "hr": "finski", - "hu": "finn", - "id": "Finlandia", - "is": "Finnska", - "it": "finlandese", - "ja": "フィンランド語", - "km": "ភាសាហ្វាំងឡង់", - "ko": "핀란드어", - "lt": "Suomių", - "lv": "somu", - "mr": "फिन्निष", - "mt": "Finlandiż", - "nb": "finsk", - "nl": "Fins", - "nn": "finsk", - "pl": "fiński", - "ps": "فینلنډي", - "pt": "finlandês", - "ro": "Finlandeză", - "ru": "финский", - "sk": "fínsky", - "sl": "Finščina", - "sr": "Фински", - "sv": "finska", - "ta": "பின்னிஷ்", - "th": "ฟิน", - "tr": "Fince", - "uk": "Фінська", - "vi": "Tiếng Phần Lan", - "zh": "芬兰文" - }, - { - "type": "language", - "iso": "fo", - "name": "føroyskt", - "countries": [ - { - "_reference": "FO" - } - ], - "am": "ፋሮኛ", - "ar": "الفارويز", - "ca": "feroès", - "cs": "Faerština", - "da": "Færøsk", - "de": "Färöisch", - "en": "Faroese", - "es": "feroés", - "fi": "fääri", - "fo": "føroyskt", - "fr": "féroïen", - "ga": "Faróis", - "he": "פארואזית", - "hi": "फिरोज़ी", - "hu": "feröeri", - "id": "Faro", - "is": "Færeyska", - "it": "faroese", - "ja": "フェロー語", - "ko": "페로스어", - "mr": "फेरोस्", - "mt": "Fawriż", - "nb": "færøysk", - "nl": "Faeröers", - "nn": "færøysk", - "pt": "feroês", - "ru": "фарерский", - "sv": "färöiska", - "ta": "பைரோஸி", - "th": "ฟาโรส", - "tr": "Faroe Dili", - "uk": "Фарерська", - "zh": "法罗文" - }, - { - "type": "language", - "iso": "fr", - "name": "français", - "countries": [ - { - "_reference": "BE" - }, - { - "_reference": "CA" - }, - { - "_reference": "CH" - }, - { - "_reference": "FR" - }, - { - "_reference": "LU" - }, - { - "_reference": "MC" - } - ], - "am": "ፈረንሳይኛ", - "ar": "الفرنسية", - "be": "французскі", - "bg": "Френски", - "ca": "francès", - "cs": "Francouzština", - "cy": "Ffrangeg", - "da": "Fransk", - "de": "Französisch", - "el": "Γαλλικά", - "en": "French", - "es": "francés", - "et": "Prantsuse", - "eu": "frantsesera", - "fi": "ranska", - "fr": "français", - "ga": "Fraincis", - "he": "צרפתית", - "hi": "फ्रेंच", - "hr": "francuski", - "hu": "francia", - "id": "Perancis", - "is": "Franska", - "it": "francese", - "ja": "フランス語", - "ka": "ფრანგული", - "km": "ភាសាបារាំង", - "ko": "프랑스어", - "ky": "французча", - "lt": "Prancūzų", - "lv": "franču", - "mk": "француски", - "mn": "франц", - "mr": "फ्रेन्च", - "mt": "Franċiż", - "nb": "fransk", - "nl": "Frans", - "nn": "fransk", - "pl": "francuski", - "ps": "فرانسوي", - "pt": "francês", - "ro": "Franceză", - "ru": "французский", - "sk": "francúzsky", - "sl": "Francoščina", - "sq": "Frengjisht", - "sr": "Француски", - "sv": "franska", - "sw": "kifaransa", - "ta": "பிரெஞ்சு", - "te": "ఫ్రెంచ్", - "th": "ฝรั่งเศส", - "tr": "Fransızca", - "uk": "Французька", - "vi": "Tiếng Pháp", - "zh": "法文" - }, - { - "type": "language", - "iso": "ga", - "name": "Gaeilge", - "countries": [ - { - "_reference": "IE" - } - ], - "am": "አይሪሽ", - "ar": "الأيرلندية", - "bg": "Ирландски", - "ca": "irlandès", - "cs": "Irština", - "da": "Irsk", - "de": "Irisch", - "el": "Ιρλανδικά", - "en": "Irish", - "es": "irlandés", - "fi": "iiri", - "fr": "irlandais", - "ga": "Gaeilge", - "he": "אירית", - "hi": "आईरिश", - "hr": "irski", - "hu": "ír", - "id": "Irlandia", - "is": "Írska", - "it": "irlandese", - "ja": "アイルランド語", - "km": "ភាសាហ្កែលិគ", - "ko": "아일랜드어", - "mr": "ऐरिष", - "mt": "Irlandiż", - "nb": "irsk", - "nl": "Iers", - "nn": "irsk", - "pt": "irlandês", - "ru": "ирландский", - "sr": "Ирски", - "ta": "ஐரிஷ்", - "th": "ไอริช", - "tr": "İrlanda Dili", - "uk": "Ірландська", - "vi": "Tiếng Ai-len", - "zh": "爱尔兰文" - }, - { - "type": "language", - "iso": "gl", - "name": "galego", - "countries": [ - { - "_reference": "ES" - } - ], - "am": "ጋለጋኛ", - "ar": "الجاليكية", - "ca": "gallec", - "cs": "Haličština", - "da": "Galicisk", - "de": "Galizisch", - "en": "Galician", - "es": "gallego", - "fi": "galicia", - "fr": "galicien", - "gl": "galego", - "he": "גליציאנית", - "hi": "गैलिशियन्", - "hu": "galíciai", - "id": "Gallegan", - "is": "Gallegska", - "it": "galiziano", - "ja": "ガリシア語", - "km": "ភាសាហ្កាលីស៉ី", - "ko": "갈리시아어", - "mr": "गेलीशियन", - "mt": "Gallegjan", - "nb": "galicisk", - "nl": "Galicisch", - "nn": "galicisk", - "pt": "galego", - "ru": "галисийский", - "sv": "galiciska", - "ta": "கெலிஸியன்", - "th": "กะลีเชีย", - "tr": "Galiçya Dili", - "uk": "Галісійська", - "zh": "加利西亚文" - }, - { - "type": "language", - "iso": "gu", - "name": "ગુજરાતી", - "countries": [ - { - "_reference": "IN" - } - ], - "am": "ጉጃርቲኛ", - "ar": "الغوجاراتية", - "bg": "Гуджарати", - "ca": "gujarati", - "cs": "Gujaratština", - "da": "Gujaratisk", - "de": "Gujarati", - "en": "Gujarati", - "es": "gujarati", - "fr": "goudjrati", - "ga": "Gúisearáitis", - "gu": "ગુજરાતી", - "he": "גוג'ראטית", - "hi": "गुज़राती", - "hu": "gudzsaráti", - "id": "Gujarati", - "is": "Gújaratí", - "it": "gujarati", - "ja": "グジャラート語", - "km": "ភាសាហ្កុយ៉ារាទី", - "ko": "구자라트어", - "mr": "गुजराती", - "mt": "Guġarati", - "nb": "gujarati", - "nl": "Gujarati", - "nn": "gujarati", - "pt": "guzerate", - "ru": "гуджарати", - "sv": "gujarati", - "ta": "குஜராத்தி", - "th": "กูจาราติ", - "tr": "Gujarati", - "uk": "Гуяраті", - "zh": "古加拉提文" - }, - { - "type": "language", - "iso": "gv", - "name": "Gaelg", - "countries": [ - { - "_reference": "GB" - } - ], - "ar": "المنكية", - "cs": "Manština", - "da": "Manx", - "de": "Manx", - "en": "Manx", - "es": "gaélico manés", - "fi": "manx", - "fr": "manx", - "ga": "Mannainis", - "gv": "Gaelg", - "id": "Manx", - "is": "Manx", - "it": "manx", - "ja": "マン島語", - "ko": "맹크스어", - "mt": "Manks", - "nb": "manx", - "nl": "Manx", - "nn": "manx", - "pt": "manx", - "ru": "мэнский", - "sv": "manx", - "th": "มานซ์", - "zh": "马恩岛文" - }, - { - "type": "language", - "iso": "he", - "name": "עברית", - "countries": [ - { - "_reference": "IL" - } - ], - "am": "ዕብራስጥ", - "ar": "العبرية", - "bg": "Иврит", - "ca": "hebreu", - "cs": "Hebrejština", - "da": "Hebraisk", - "de": "Hebräisch", - "el": "Εβραϊκά", - "en": "Hebrew", - "es": "hebreo", - "et": "Heebrea", - "fi": "heprea", - "fr": "hébreu", - "ga": "Eabhrais", - "he": "עברית", - "hi": "हिब्रीऊ", - "hr": "hebrejski", - "hu": "héber", - "id": "Ibrani", - "is": "Hebreska", - "it": "ebraico", - "ja": "ヘブライ語", - "km": "ភាសាហេប្រិ", - "ko": "히브리어", - "lt": "Hebrajų", - "lv": "ivrits", - "mr": "हेबृ", - "mt": "Ebrajk", - "nb": "hebraisk", - "nl": "Hebreeuws", - "nn": "hebraisk", - "pl": "hebrajski", - "ps": "عبري", - "pt": "hebraico", - "ro": "Ebraică", - "ru": "иврит", - "sk": "hebrejský", - "sl": "Hebrejščina", - "sr": "Хебрејски", - "sv": "hebreiska", - "ta": "ஹுப்ரு", - "th": "ฮิบรู", - "tr": "İbranice", - "uk": "Іврит", - "vi": "Tiếng Hê-brơ", - "zh": "希伯来文" - }, - { - "type": "language", - "iso": "hi", - "name": "हिंदी", - "countries": [ - { - "_reference": "IN" - } - ], - "am": "ሐንድኛ", - "ar": "الهندية", - "be": "хіндзі", - "bg": "Хинди", - "ca": "hindi", - "cs": "Hindština", - "cy": "Hindi", - "da": "Hindi", - "de": "Hindi", - "el": "Χίντι", - "en": "Hindi", - "es": "hindi", - "fi": "hindi", - "fr": "hindi", - "ga": "Hiondúis", - "he": "הינדית", - "hi": "हिंदी", - "hu": "hindi", - "id": "Hindi", - "is": "Hindí", - "it": "hindi", - "ja": "ヒンディー語", - "km": "ភាសាហ៉ិនឌី", - "ko": "힌디어", - "lt": "Hindi", - "mr": "हिन्दी", - "mt": "Ħindi", - "nb": "hindi", - "nl": "Hindi", - "nn": "hindi", - "pl": "hindi", - "ps": "هندي", - "pt": "hindi", - "ru": "хинди", - "sq": "Hindi", - "sr": "Хинди", - "sv": "hindi", - "ta": "இந்தி", - "te": "హిందీ", - "th": "ฮินดี", - "tr": "Hint Dili", - "uk": "Гінді", - "vi": "Tiếng Hin-đi", - "zh": "印地文" - }, - { - "type": "language", - "iso": "hr", - "name": "hrvatski", - "countries": [ - { - "_reference": "HR" - } - ], - "am": "ክሮሽያንኛ", - "ar": "الكرواتية", - "bg": "Хърватски", - "ca": "croat", - "cs": "Chorvatština", - "da": "Kroatisk", - "de": "Kroatisch", - "el": "Κροατικά", - "en": "Croatian", - "es": "croata", - "et": "Horvaadi", - "fi": "kroatia", - "fr": "croate", - "ga": "Cróitis", - "he": "קרואטית", - "hi": "क्रोएशन्", - "hr": "hrvatski", - "hu": "horvát", - "id": "Kroasia", - "is": "Króatíska", - "it": "croato", - "ja": "クロアチア語", - "ko": "크로아티아어", - "lt": "Kroatų", - "lv": "horvātu", - "mr": "क्रोयेषियन्", - "mt": "Kroat", - "nb": "kroatisk", - "nl": "Kroatisch", - "nn": "kroatisk", - "pl": "chorwacki", - "pt": "croata", - "ro": "Croată", - "ru": "хорватский", - "sk": "chorvátsky", - "sl": "Hrvaščina", - "sr": "Хрватски", - "sv": "kroatiska", - "ta": "கரோஷியன்", - "th": "โครเอเทีย", - "tr": "Hırvatça", - "uk": "Хорватська", - "vi": "Tiếng Crô-a-ti-a", - "zh": "克罗地亚文" - }, - { - "type": "language", - "iso": "hu", - "name": "magyar", - "countries": [ - { - "_reference": "HU" - } - ], - "am": "ሀንጋሪኛ", - "ar": "الهنغارية", - "bg": "Унгарски", - "ca": "hongarès", - "cs": "Maďarština", - "da": "Ungarsk", - "de": "Ungarisch", - "el": "Ουγγρικά", - "en": "Hungarian", - "es": "húngaro", - "et": "Ungari", - "fi": "unkari", - "fr": "hongrois", - "ga": "Ungáiris", - "he": "הונגרית", - "hi": "हंगेरी", - "hr": "mađarski", - "hu": "magyar", - "id": "Hungaria", - "is": "Ungverska", - "it": "ungherese", - "ja": "ハンガリー語", - "km": "ភាសាហុងគ្រី", - "ko": "헝가리어", - "lt": "Vengrų", - "lv": "ungāru", - "mr": "हंगेरियन्", - "mt": "Ungeriż", - "nb": "ungarsk", - "nl": "Hongaars", - "nn": "ungarsk", - "pl": "węgierski", - "pt": "húngaro", - "ro": "Maghiară", - "ru": "венгерский", - "sk": "maďarský", - "sl": "Madžarščina", - "sr": "Мађарски", - "sv": "ungerska", - "ta": "ஹங்கேரியன்", - "th": "ฮังการี", - "tr": "Macarca", - "uk": "Угорська", - "vi": "Tiếng Hung-ga-ri", - "zh": "匈牙利文" - }, - { - "type": "language", - "iso": "hy", - "name": "Հայերէն", - "countries": [ - { - "_reference": "AM" - } - ], - "am": "አርመናዊ", - "ar": "الأرمينية", - "bg": "Арменски", - "ca": "armeni", - "cs": "Arménština", - "da": "armensk", - "de": "Armenisch", - "el": "Αρμενικά", - "en": "Armenian", - "es": "armenio", - "fi": "armenia", - "fr": "arménien", - "ga": "Airméinis", - "he": "ארמנית", - "hi": "अरमेनियन्", - "hr": "armenski", - "hu": "örmény", - "hy": "Հայերէն", - "id": "Armenia", - "is": "Armenska", - "it": "armeno", - "ja": "アルメニア語", - "km": "ភាសាអារមេនី", - "ko": "아르메니아어", - "mr": "आर्मीनियन्", - "mt": "Armenjan", - "nb": "armensk", - "nl": "Armeens", - "nn": "armensk", - "ps": "ارمني", - "pt": "armênio", - "ru": "армянский", - "sr": "Арменски", - "sv": "armeniska", - "ta": "ஆர்மேனியன்", - "th": "อาร์มีเนีย", - "tr": "Ermenice", - "uk": "Вірменська", - "vi": "Tiếng Ác-mê-ni", - "zh": "亚美尼亚文" - }, - { - "type": "language", - "iso": "id", - "name": "Bahasa Indonesia", - "countries": [ - { - "_reference": "ID" - } - ], - "am": "እንዶኒሲኛ", - "ar": "الأندونيسية", - "bg": "Индонезийски", - "ca": "indonesi", - "cs": "Indonéština", - "da": "Indonesisk", - "de": "Indonesisch", - "el": "Ινδονησιακά", - "en": "Indonesian", - "es": "indonesio", - "fi": "indonesia", - "fr": "indonésien", - "ga": "Indinéisis", - "he": "אינדונזית", - "hi": "इन्डोनेशियन्", - "hu": "indonéz", - "id": "Bahasa Indonesia", - "is": "Indónesíska", - "it": "indonesiano", - "ja": "インドネシア語", - "km": "ភាសាឥណ្ឌូនេស៊ី", - "ko": "인도네시아어", - "mr": "इन्डोनेषियन", - "mt": "Indoneżjan", - "nb": "indonesisk", - "nl": "Indonesisch", - "nn": "indonesisk", - "pt": "indonésio", - "ru": "индонезийский", - "sr": "Индонезијски", - "sv": "indonesiska", - "ta": "இந்தோனேஷியன்", - "th": "อินโดนีเชีย", - "tr": "Endonezya Dili", - "uk": "Індонезійська", - "vi": "Tiếng In-đô-nê-xia", - "zh": "印度尼西亚文" - }, - { - "type": "language", - "iso": "is", - "name": "Íslenska", - "countries": [ - { - "_reference": "IS" - } - ], - "am": "አይስላንድኛ", - "ar": "الأيسلاندية", - "bg": "Исландски", - "ca": "islandès", - "cs": "Islandština", - "da": "Islandsk", - "de": "Isländisch", - "el": "Ισλανδικά", - "en": "Icelandic", - "es": "islandés", - "fi": "islanti", - "fr": "islandais", - "ga": "Íoslainnais", - "he": "איסלנדית", - "hi": "आईस्लैंडिक्", - "hr": "islandski", - "hu": "izlandi", - "id": "Icelandic", - "is": "Íslenska", - "it": "islandese", - "ja": "アイスランド語", - "km": "ភាសាអ៉ីស្លង់", - "ko": "아이슬란드어", - "mr": "आईसलान्डिक", - "mt": "Iżlandiż", - "nb": "islandsk", - "nl": "IJslands", - "nn": "islandsk", - "pt": "islandês", - "ru": "исландский", - "sr": "Исландски", - "sv": "isländska", - "ta": "ஐஸ்லென்டிக்", - "th": "ไอซ์แลนด์ดิค", - "tr": "İzlandaca", - "uk": "Ісландська", - "vi": "Tiếng Ai-xơ-len", - "zh": "冰岛文" - }, - { - "type": "language", - "iso": "it", - "name": "italiano", - "countries": [ - { - "_reference": "CH" - }, - { - "_reference": "IT" - } - ], - "am": "ጣሊያንኛ", - "ar": "الايطالية", - "be": "італьянскі", - "bg": "Италиански", - "ca": "italià", - "cs": "Italština", - "cy": "Eidaleg", - "da": "Italiensk", - "de": "Italienisch", - "el": "Ιταλικά", - "en": "Italian", - "es": "italiano", - "et": "Itaalia", - "eu": "italiera", - "fi": "italia", - "fr": "italien", - "ga": "Iodáilis", - "he": "איטלקית", - "hi": "ईटालियन्", - "hr": "talijanski", - "hu": "olasz", - "id": "Italian", - "is": "Ítalska", - "it": "italiano", - "ja": "イタリア語", - "ka": "იტალიური", - "km": "ភាសាអ៊ីតាលី", - "ko": "이탈리아어", - "ky": "италиянча", - "lt": "Italų", - "lv": "itāliešu", - "mk": "италијански", - "mn": "итали", - "mr": "इटालियन", - "mt": "Taljan", - "nb": "italiensk", - "nl": "Italiaans", - "nn": "italiensk", - "pl": "włoski", - "ps": "ایټالوي", - "pt": "italiano", - "ro": "Italiană", - "ru": "итальянский", - "sk": "taliansky", - "sl": "Italijanščina", - "sq": "Italisht", - "sr": "Италијански", - "sv": "italienska", - "sw": "kiitaliano", - "ta": "இத்தாலியன்", - "te": "ఇటాలియన్ భాష", - "th": "อิตาลี", - "tr": "İtalyanca", - "uk": "Італійська", - "vi": "Tiếng Ý", - "zh": "意大利文" - }, - { - "type": "language", - "iso": "ja", - "name": "日本語", - "countries": [ - { - "_reference": "JP" - } - ], - "am": "ጃፓንኛ", - "ar": "اليابانية", - "be": "японскі", - "bg": "Японски", - "ca": "japonès", - "cs": "Japonština", - "cy": "Siapaneeg", - "da": "Japansk", - "de": "Japanisch", - "el": "Ιαπωνικά", - "en": "Japanese", - "es": "japonés", - "et": "Jaapani", - "eu": "japoniera", - "fi": "japani", - "fr": "japonais", - "ga": "Seapáinis", - "he": "יפנית", - "hi": "जापानी", - "hr": "japanski", - "hu": "japán", - "id": "Japanese", - "is": "Japanska", - "it": "giapponese", - "ja": "日本語", - "ka": "იაპონური", - "km": "ភាសាជប៉ុន", - "ko": "일본어", - "ky": "япончо", - "lt": "Japonų", - "lv": "japāņu", - "mk": "јапонски", - "mn": "япон", - "mr": "जापनीस्", - "mt": "Ġappuniż", - "nb": "japansk", - "nl": "Japans", - "nn": "japansk", - "pl": "japoński", - "ps": "جاپانی", - "pt": "japonês", - "ro": "Japoneză", - "ru": "японский", - "sk": "japonský", - "sl": "Japonščina", - "sq": "Japanisht", - "sr": "Јапански", - "sv": "japanska", - "sw": "kijapani", - "ta": "ஜப்பானீஸ்", - "te": "జపాను భాష", - "th": "ญี่ปุ่น", - "tr": "Japonca", - "uk": "Японська", - "vi": "Tiếng Nhật", - "zh": "日文" - }, - { - "type": "language", - "iso": "ka", - "name": "ქართული", - "countries": [ - { - "_reference": "GE" - } - ], - "am": "ጊዮርጊያን", - "ar": "الجورجية", - "bg": "Грузински", - "ca": "georgià", - "cs": "Gruzínština", - "da": "Georgisk", - "de": "Georgisch", - "el": "Γεωργιανά", - "en": "Georgian", - "es": "georgiano", - "fi": "georgia", - "fr": "géorgien", - "ga": "Seoirsis", - "he": "גרוזינית", - "hi": "जॉर्जीयन्", - "hu": "grúz", - "id": "Georgian", - "is": "Georgíska", - "it": "georgiano", - "ja": "グルジア語", - "ka": "ქართული", - "km": "ភាសាហ្សកហ្ស៉ី", - "ko": "그루지야어", - "mr": "जार्जियन्", - "mt": "Ġorġjan", - "nb": "georgisk", - "nl": "Georgisch", - "nn": "georgisk", - "pt": "georgiano", - "ru": "грузинский", - "sr": "Грузијски", - "sv": "georgiska", - "ta": "கன்னடம்", - "th": "จอร์เจียน", - "tr": "Gürcüce", - "uk": "Грузинська", - "zh": "格鲁吉亚文" - }, - { - "type": "language", - "iso": "kk", - "name": "Қазақ", - "countries": [ - { - "_reference": "KZ" - } - ], - "am": "ካዛክኛ", - "ar": "الكازاخستانية", - "bg": "Казахски", - "ca": "kazakh", - "cs": "Kazachština", - "da": "Kasakhisk", - "de": "Kasachisch", - "en": "Kazakh", - "es": "kazajo", - "fi": "kazakki", - "fr": "kazakh", - "ga": "Casachais", - "he": "קזחית", - "hi": "कज़ाख", - "hu": "kazah", - "id": "Kazakh", - "is": "Kasakska", - "it": "kazako", - "ja": "カザフ語", - "kk": "Қазақ", - "km": "ភាសាកាហ្សាក់ស្តង់់", - "ko": "카자흐어", - "mr": "कज़क", - "mt": "Każak", - "nb": "kasakhisk", - "nl": "Kazachs", - "nn": "kasakhisk", - "pt": "cazaque", - "ru": "казахский", - "sv": "kazakstanska", - "ta": "கசாக்", - "th": "คาซัค", - "tr": "Kazak Dili", - "uk": "Казахська", - "zh": "哈萨克文" - }, - { - "type": "language", - "iso": "kl", - "name": "kalaallisut", - "countries": [ - { - "_reference": "GL" - } - ], - "am": "ካላሊሱትኛ", - "ar": "الكالاليست", - "ca": "greenlandès", - "cs": "Grónština", - "da": "Kalaallisut", - "de": "Grönländisch", - "en": "Kalaallisut", - "es": "groenlandés", - "fi": "kalaallisut; grönlanti", - "fr": "groenlandais", - "hi": "ग्रीनलैंडिक", - "hu": "grönlandi", - "id": "Kalaallisut", - "is": "Grænlenska", - "it": "kalaallisut", - "ja": "グリーンランド語", - "kl": "kalaallisut", - "ko": "그린랜드어", - "mr": "ग्रीनलान्डिक", - "mt": "Kalallisut", - "nl": "Kalaallisut", - "nn": "kalaallisut; grønlandsk", - "pt": "groenlandês", - "ru": "эскимосский (гренландский)", - "sv": "grönländska", - "ta": "கிரின்லென்டிக்", - "th": "กรีนแลนด์ดิค", - "tr": "Grönland Dili", - "uk": "Калааллісут", - "zh": "格陵兰文" - }, - { - "type": "language", - "iso": "km", - "name": "ភាសាខ្មែរ", - "countries": [ - { - "_reference": "KH" - } - ], - "am": "ክመርኛ", - "ar": "الخميرية", - "bg": "Кхмерски", - "ca": "cambodjà", - "cs": "Kambodžština", - "da": "Khmer", - "de": "Kambodschanisch", - "en": "Khmer", - "es": "jemer", - "fi": "khmer", - "fr": "khmer", - "hi": "कैम्बोडियन्", - "hr": "kmerski", - "hu": "kambodzsai", - "id": "Khmer", - "is": "Kmer", - "it": "khmer", - "ja": "クメール語", - "km": "ភាសាខ្មែរ", - "ko": "캄보디아어", - "mr": "कंबोडियन", - "mt": "Kmer", - "nb": "khmer", - "nl": "Khmer", - "nn": "khmer", - "pt": "cmer", - "ru": "кхмерский", - "sr": "Кмерски", - "sv": "kambodjanska; khmeriska", - "ta": "கம்போடியன்", - "th": "เขมร", - "tr": "Kamboçya Dili", - "uk": "Кхмерська", - "vi": "Tiếng Campuchia", - "zh": "柬埔寨文" - }, - { - "type": "language", - "iso": "kn", - "name": "ಕನ್ನಡ", - "countries": [ - { - "_reference": "IN" - } - ], - "am": "ካናዳኛ", - "ar": "الكانادا", - "ca": "kannada", - "cs": "Kannadština", - "da": "Kannaresisk", - "de": "Kannada", - "en": "Kannada", - "es": "canarés", - "fi": "kannada", - "fr": "kannada", - "ga": "Cannadais", - "hi": "कन्नड़", - "hu": "kannada", - "id": "Kannada", - "is": "Kannada", - "it": "kannada", - "ja": "カンナダ語", - "km": "ភាសាកិណាដា", - "kn": "ಕನ್ನಡ", - "ko": "카나다어", - "mr": "कन्नड", - "mt": "Kannada", - "nb": "kannada", - "nl": "Kannada", - "nn": "kannada", - "pt": "canarês", - "ru": "каннада", - "sv": "kanaresiska; kannada", - "ta": "கன்னடா", - "th": "กานาดา", - "tr": "Kannada", - "uk": "Каннада", - "vi": "Tiếng Kan-na-đa", - "zh": "埃纳德文" - }, - { - "type": "language", - "iso": "ko", - "name": "한국어", - "countries": [ - { - "_reference": "KR" - } - ], - "am": "ኮሪያኛ", - "ar": "الكورية", - "bg": "Корейски", - "ca": "coreà", - "cs": "Korejština", - "da": "Koreansk", - "de": "Koreanisch", - "el": "Κορεατικά", - "en": "Korean", - "es": "coreano", - "et": "Korea", - "fi": "korea", - "fr": "coréen", - "ga": "Cóiréis", - "he": "קוריאנית", - "hi": "कोरीयन्", - "hr": "korejski", - "hu": "koreai", - "id": "Korea", - "is": "Kóreska", - "it": "coreano", - "ja": "韓国語", - "km": "ភាសាកូរ៉េ", - "ko": "한국어", - "lt": "Korėjiečių", - "lv": "korejiešu", - "mr": "कोरियन्", - "mt": "Korejan", - "nb": "koreansk", - "nl": "Koreaans", - "nn": "koreansk", - "pl": "koreański", - "pt": "coreano", - "ro": "Coreeană", - "ru": "корейский", - "sk": "kórejský", - "sl": "Korejščina", - "sr": "Корејски", - "sv": "koreanska", - "ta": "கொரியன்", - "th": "เกาหลี", - "tr": "Korece", - "uk": "Корейська", - "vi": "Tiếng Hàn Quốc", - "zh": "韩文" - }, - { - "type": "language", - "iso": "ku", - "name": "kurdî", - "countries": [ - { - "_reference": "IQ" - }, - { - "_reference": "IR" - }, - { - "_reference": "SY" - }, - { - "_reference": "TR" - } - ], - "am": "ኩርድሽኛ", - "ar": "الكردية", - "bg": "Кюрдски", - "ca": "kurd", - "cs": "Kurdština", - "da": "Kurdisk", - "de": "Kurdisch", - "en": "Kurdish", - "es": "kurdo", - "fi": "kurdi", - "fr": "kurde", - "he": "כורדית", - "hi": "कुरदीश", - "hu": "kurd", - "id": "Kurdi", - "is": "Kúrdneska", - "it": "curdo", - "ja": "クルド語", - "km": "ភាសាឃឺដ", - "ko": "크르드어", - "mr": "कुर्दिष", - "mt": "Kurdiż", - "nb": "kurdisk", - "nl": "Koerdisch", - "nn": "kurdisk", - "ps": "کردي", - "pt": "curdo", - "ru": "курдский", - "sr": "Курдски", - "sv": "kurdiska", - "ta": "குர்திஷ்", - "th": "เคิด", - "tr": "Kürtçe", - "uk": "Курдська", - "zh": "库尔德文" - }, - { - "type": "language", - "iso": "kw", - "name": "kernewek", - "countries": [ - { - "_reference": "GB" - } - ], - "ar": "الكورنية", - "da": "Cornisk", - "de": "Kornisch", - "en": "Cornish", - "es": "córnico", - "fi": "korni", - "fr": "cornique", - "ga": "Cornais", - "id": "Cornish", - "is": "Korníska", - "it": "cornico", - "ja": "コーンウォール語", - "ko": "콘월어", - "kw": "kernewek", - "mt": "Korniku", - "nb": "kornisk", - "nl": "Cornish", - "nn": "kornisk", - "pt": "córnico", - "ru": "корнийский", - "sv": "korniska", - "th": "คอร์นิส", - "zh": "凯尔特文" - }, - { - "type": "language", - "iso": "ky", - "name": "Кыргыз", - "countries": [ - { - "_reference": "KG" - } - ], - "am": "ኪርጊዝኛ", - "ar": "القيرغستانية", - "bg": "Киргизски", - "ca": "kirguís", - "cs": "Kirgizština", - "da": "Kirgisisk", - "de": "Kirgisisch", - "en": "Kirghiz", - "es": "kirghiz", - "fi": "kirgiisi", - "fr": "kirghize", - "ga": "Cirgeasais", - "hi": "किरघिज़", - "hu": "kirgiz", - "id": "Kirghiz", - "is": "Kirgiska", - "it": "kirghiso", - "ja": "キルギス語", - "km": "ភាសាគៀរហ្គីស្តង់", - "ko": "키르기스어", - "mr": "किर्गिज़", - "mt": "Kirgiż", - "nb": "kirgisisk", - "nl": "Kirgizisch", - "nn": "kirgisisk", - "pt": "quirguiz", - "ru": "киргизский", - "sr": "Киргиски", - "sv": "kirgisiska", - "ta": "கிர்கிஷ்", - "th": "เคอร์กิซ", - "tr": "Kırgızca", - "uk": "Киргизька", - "zh": "吉尔吉斯文" - }, - { - "type": "language", - "iso": "ln", - "name": "lingála", - "countries": [ - { - "_reference": "CD" - }, - { - "_reference": "CG" - } - ], - "am": "ሊንጋላኛ", - "ar": "اللينجالا", - "ca": "lingala", - "cs": "Lingalština", - "da": "Lingala", - "de": "Lingala", - "en": "Lingala", - "es": "lingala", - "fi": "lingala", - "fr": "lingala", - "hi": "लिंगाला", - "hu": "lingala", - "id": "Lingala", - "is": "Lingala", - "it": "lingala", - "ja": "リンガラ語", - "ko": "링갈라어", - "mr": "लिंगाला", - "mt": "Lingaljan", - "nb": "lingala", - "nl": "Lingala", - "nn": "lingala", - "pt": "lingala", - "ru": "лингала", - "sv": "lingala", - "ta": "லிங்காலா", - "th": "ลิงกาลา", - "tr": "Lingala", - "uk": "Лінгала", - "zh": "林加拉文" - }, - { - "type": "language", - "iso": "lo", - "name": "ລາວ", - "countries": [ - { - "_reference": "LA" - } - ], - "am": "ላውስኛ", - "ar": "اللاوية", - "bg": "Лаоски", - "ca": "laosià", - "cs": "Laoština", - "da": "Lao", - "de": "Laotisch", - "en": "Lao", - "es": "laosiano", - "fi": "lao", - "fr": "lao", - "ga": "Laosais", - "hi": "लाओथीयन्", - "hu": "laoszi", - "id": "Lao", - "is": "Laó", - "it": "lao", - "ja": "ラオ語", - "km": "ភាសាឡាវ", - "ko": "라오어", - "mr": "लाओतियन्", - "mt": "Lao", - "nb": "laotisk", - "nl": "Lao", - "nn": "laotisk", - "pt": "laosiano", - "ru": "лаосский", - "sv": "laotiska", - "ta": "லோத்தியன்", - "th": "ลาว", - "tr": "Laos Dili", - "uk": "Лаоська", - "vi": "Tiếng Lào", - "zh": "老挝文" - }, - { - "type": "language", - "iso": "lt", - "name": "Lietuvių", - "countries": [ - { - "_reference": "LT" - } - ], - "am": "ሊቱአኒያን", - "ar": "اللتوانية", - "bg": "Литовски", - "ca": "lituà", - "cs": "Litevština", - "da": "Litauisk", - "de": "Litauisch", - "el": "Λιθουανικά", - "en": "Lithuanian", - "es": "lituano", - "et": "Leedu", - "fi": "liettua", - "fr": "lituanien", - "ga": "Liotuáinis", - "he": "ליטאית", - "hi": "लिथुनियन्", - "hr": "litvanski", - "hu": "litván", - "id": "Lithuania", - "is": "Litháíska", - "it": "lituano", - "ja": "リトアニア語", - "km": "ភាសាលីទុយអានី", - "ko": "리투아니아어", - "lt": "Lietuvių", - "lv": "lietuviešu", - "mr": "लिथुआनियन्", - "mt": "Litwanjan", - "nb": "litauisk", - "nl": "Litouws", - "nn": "litauisk", - "pl": "litewski", - "pt": "lituano", - "ro": "Lituaniană", - "ru": "литовский", - "sk": "litovský", - "sl": "Litovščina", - "sr": "Литвански", - "sv": "litauiska", - "ta": "லுத்தேனியன்", - "th": "ลิธัวเนีย", - "tr": "Litvanya Dili", - "uk": "Литовська", - "vi": "Tiếng Lít-va", - "zh": "立陶宛文" - }, - { - "type": "language", - "iso": "lv", - "name": "latviešu", - "countries": [ - { - "_reference": "LV" - } - ], - "am": "ላትቪያን", - "ar": "اللاتفية", - "bg": "Латвийски", - "ca": "letó", - "cs": "Lotyština", - "da": "Lettisk", - "de": "Lettisch", - "el": "Λετονικά", - "en": "Latvian", - "es": "letón", - "et": "Läti", - "fi": "latvia", - "fr": "letton", - "ga": "Laitvis", - "he": "לטבית", - "hi": "लाटवियन् (लेट्टीश)", - "hr": "latvijski", - "hu": "lett", - "id": "Latvian", - "is": "Lettneska", - "it": "lettone", - "ja": "ラトビア語", - "km": "ភាសាឡាតវីយ៉ា", - "ko": "라트비아어", - "lt": "Latvių", - "lv": "latviešu", - "mr": "लाट्वियन् (लेट्टिष)", - "mt": "Latvjan (Lettix)", - "nb": "latvisk", - "nl": "Letlands", - "nn": "latvisk", - "pl": "łotewski", - "pt": "letão", - "ro": "Letonă", - "ru": "латышский", - "sk": "lotyšský", - "sl": "Letonščina", - "sr": "Летонски", - "sv": "lettiska", - "ta": "லேட்வியன் (லேட்டிஷ்)", - "th": "แลตเวีย (เลททิสช์)", - "tr": "Letonya Dili", - "uk": "Латвійська", - "vi": "Tiếng Lát-vi-a", - "zh": "拉脫維亞文" - }, - { - "type": "language", - "iso": "mk", - "name": "македонски", - "countries": [ - { - "_reference": "MK" - } - ], - "am": "ማከዶኒኛ", - "ar": "المقدونية", - "bg": "Македонски", - "ca": "macedoni", - "cs": "Makedonština", - "da": "Makedonsk", - "de": "Mazedonisch", - "el": "Σλαβομακεδονικά", - "en": "Macedonian", - "es": "macedonio", - "fi": "makedonia", - "fr": "macédonien", - "ga": "Macadóinis", - "he": "מקדונית", - "hi": "मैसेडोनियन्", - "hr": "makedonski", - "hu": "macedón", - "id": "Macedonian", - "is": "Makedónska", - "it": "macedone", - "ja": "マケドニア語", - "km": "ភាសាម៉ាសេដូនី", - "ko": "마케도니아어", - "mk": "македонски", - "mr": "मसीडोनियन्", - "mt": "Maċedonjan", - "nb": "makedonsk", - "nl": "Macedonisch", - "nn": "makedonsk", - "ps": "مقدوني", - "pt": "macedônio", - "ru": "македонский", - "sr": "Македонски", - "sv": "makedonska", - "ta": "மெக்கடோனியன்", - "th": "แมซีโดเนีย", - "tr": "Makedonca", - "uk": "Македонська", - "vi": "Tiếng Ma-xê-đô-ni-a", - "zh": "马其顿文" - }, - { - "type": "language", - "iso": "ml", - "name": "മലയാളം", - "countries": [ - { - "_reference": "IN" - } - ], - "am": "ማላያላምኛ", - "ar": "الماليالام", - "bg": "Малаялам", - "ca": "malaialam", - "cs": "Malabarština", - "da": "Malayalam", - "de": "Malayalam", - "en": "Malayalam", - "es": "malayalam", - "fi": "malajalam", - "fr": "malayalam", - "ga": "Mailéalaimis", - "hi": "मलयालम", - "hu": "malajalam", - "id": "Malayalam", - "is": "Malajalam", - "it": "malayalam", - "ja": "マラヤーラム語", - "km": "ភាសាម៉ាឡាឡាយ៉ាន", - "ko": "말라얄람어", - "mr": "मलियालम", - "mt": "Malajalam", - "nb": "malayalam", - "nl": "Malayalam", - "nn": "malayalam", - "pt": "malaiala", - "ru": "малаялам", - "sv": "malayalam", - "ta": "மலையாளம்", - "th": "มาลายาลัม", - "tr": "Malayalam", - "uk": "Малайялам", - "zh": "马来亚拉姆文" - }, - { - "type": "language", - "iso": "mn", - "name": "Монгол хэл", - "countries": [ - { - "_reference": "MN" - } - ], - "am": "ሞንጎላዊኛ", - "ar": "المنغولية", - "bg": "Монголски", - "ca": "mongol", - "cs": "Mongolština", - "da": "Mongolsk", - "de": "Mongolisch", - "el": "Μογγολικά", - "en": "Mongolian", - "es": "mongol", - "fi": "mongoli", - "fr": "mongol", - "ga": "Mongóilis", - "he": "מונגולית", - "hi": "मोंगोलियन", - "hr": "mongolski", - "hu": "mongol", - "id": "Mongolian", - "is": "Mongólska", - "it": "mongolo", - "ja": "モンゴル語", - "km": "ភាសាម៉ុងហ្គោលី", - "ko": "몽골어", - "mr": "मंगोलियन्", - "mt": "Mongoljan", - "nb": "mongolsk", - "nl": "Mongools", - "nn": "mongolsk", - "ps": "مغولي", - "pt": "mongol", - "ru": "монгольский", - "sr": "Монголски", - "sv": "mongoliska", - "ta": "மங்கோலியன்", - "th": "มองโกล", - "tr": "Moğol Dili", - "uk": "Монгольська", - "vi": "Tiếng Mông Cổ", - "zh": "蒙古文" - }, - { - "type": "language", - "iso": "mr", - "name": "मराठी", - "countries": [ - { - "_reference": "IN" - } - ], - "am": "ማራዚኛ", - "ar": "الماراثى", - "ca": "marathi", - "cs": "Marathi", - "da": "Marathisk", - "de": "Marathi", - "en": "Marathi", - "es": "marathi", - "fi": "marathi", - "fr": "marathe", - "ga": "Maraitis", - "he": "מארתית", - "hi": "मराठी", - "hu": "marati", - "id": "Marathi", - "is": "Maratí", - "it": "marathi", - "ja": "マラーティー語", - "km": "ភាសាម៉ារាធី", - "ko": "마라티어", - "mr": "मराठी", - "mt": "Marati", - "nb": "marathi", - "nl": "Marathi", - "nn": "marathi", - "pt": "marata", - "ru": "маратхи", - "sv": "marathi", - "ta": "மராத்தி", - "th": "มาราที", - "tr": "Marathi", - "uk": "Маратхі", - "zh": "马拉地文" - }, - { - "type": "language", - "iso": "ms", - "name": "Bahasa Melayu", - "countries": [ - { - "_reference": "BN" - }, - { - "_reference": "MY" - } - ], - "am": "ማላይኛ", - "ar": "لغة الملايو", - "bg": "Малайски", - "ca": "malai", - "cs": "Malajština", - "da": "Malay", - "de": "Malaiisch", - "en": "Malay", - "es": "malayo", - "fi": "malaiji", - "fr": "malais", - "hi": "मलय", - "hu": "maláj", - "id": "Malay", - "is": "Malaíska", - "it": "malese", - "ja": "マレー語", - "km": "ភាសាម៉ាលេស៉ី", - "ko": "말레이어", - "mr": "मलय", - "ms": "Bahasa Melayu", - "mt": "Malajan", - "nb": "malayisk", - "nl": "Maleis", - "nn": "malayisk", - "ps": "ملایا", - "pt": "malaio", - "ru": "малайский", - "sv": "malajiska", - "ta": "மலாய்", - "th": "มลายู", - "tr": "Malay", - "uk": "Малайська", - "vi": "Tiếng Ma-lay-xi-a", - "zh": "马来文" - }, - { - "type": "language", - "iso": "mt", - "name": "Malti", - "countries": [ - { - "_reference": "MT" - } - ], - "am": "ማልቲስኛ", - "ar": "المالطية", - "bg": "Малтийски", - "ca": "maltès", - "cs": "Maltština", - "da": "Maltesisk", - "de": "Maltesisch", - "el": "Μαλτεζικά", - "en": "Maltese", - "es": "maltés", - "fi": "malta", - "fr": "maltais", - "ga": "Maltais", - "he": "מלטזית", - "hi": "मालटिस्", - "hr": "malteški", - "hu": "máltai", - "id": "Maltese", - "is": "Maltneska", - "it": "maltese", - "ja": "マルタ語", - "km": "ភាសាម៉ាល់តា", - "ko": "몰타어", - "mr": "मालतीस्", - "mt": "Malti", - "nb": "maltesisk", - "nl": "Maltees", - "nn": "maltesisk", - "pl": "maltański", - "pt": "maltês", - "ru": "мальтийский", - "sv": "maltesiska", - "ta": "மால்டிஸ்", - "th": "มอลตา", - "tr": "Malta Dili", - "uk": "Мальтійська", - "zh": "马耳他文" - }, - { - "type": "language", - "iso": "nb", - "name": "bokmål", - "countries": [ - { - "_reference": "NO" - } - ], - "ar": "البوكمالية النرويجية", - "da": "Norsk Bokmål", - "de": "Norwegisch Bokmål", - "en": "Norwegian Bokmål", - "es": "bokmal noruego", - "fi": "norja (bokmål)", - "fr": "bokmål norvégien", - "ga": "Ioruais Bokmål", - "he": "נורבגית שפת הספר (בוקמול)", - "id": "Norwegian Bokmål", - "is": "Norskt bókmál", - "ja": "ノルウェー語 (ブークモール)", - "ko": "보크말 노르웨이어", - "mt": "Bokmahal Norveġiż", - "nb": "bokmål", - "nl": "Noors - Bokmål", - "nn": "bokmål", - "pt": "bokmål norueguês", - "ru": "норвежский", - "sv": "norska (bokmål)", - "th": "นอร์เวย์บอกมอล", - "tr": "Norveç Kitap Dili", - "zh": "挪威博克马尔文" - }, - { - "type": "language", - "iso": "nl", - "name": "Nederlands", - "countries": [ - { - "_reference": "BE" - }, - { - "_reference": "NL" - } - ], - "am": "ደች", - "ar": "الهولندية", - "bg": "Холандски", - "ca": "neerlandès", - "da": "Hollandsk", - "de": "Niederländisch", - "el": "Ολλανδικά", - "en": "Dutch", - "et": "Hollandi", - "fi": "hollanti", - "fr": "néerlandais", - "ga": "Ollainnais", - "he": "הולנדית", - "hi": "डच्", - "hr": "nizozemski", - "hu": "holland", - "id": "Belanda", - "is": "Hollenska", - "it": "olandese", - "ja": "オランダ語", - "km": "ភាសាហុល្លង់", - "ko": "네덜란드어", - "lt": "Olandų", - "lv": "holandiešu", - "mr": "डच", - "mt": "Olandiż", - "nb": "nederlandsk", - "nl": "Nederlands", - "nn": "nederlandsk", - "pl": "niderlandzki", - "pt": "holandês", - "ro": "Olandeză", - "ru": "голландский", - "sk": "holandský", - "sl": "Nizozemščina", - "sr": "Холандски", - "ta": "டச்சு", - "th": "ฮอลันดา", - "tr": "Hollanda Dili", - "uk": "Голландська", - "vi": "Tiếng Hà Lan", - "zh": "荷兰文" - }, - { - "type": "language", - "iso": "nn", - "name": "nynorsk", - "countries": [ - { - "_reference": "NO" - } - ], - "ar": "النينورسك النرويجي", - "da": "Nynorsk", - "de": "Norwegisch Nynorsk", - "en": "Norwegian Nynorsk", - "es": "nynorsk noruego", - "fi": "norja (nynorsk)", - "fr": "nynorsk norvégien", - "ga": "Ioruais Nynorsk", - "he": "נורבגית חדשה (נינורשק)", - "id": "Norwegian Nynorsk", - "is": "Nýnorska", - "it": "norvegese nynorsk", - "ja": "ノルウェー語 (ニーノシュク)", - "ko": "뉘노르스크 노르웨이어", - "mt": "Ninorsk Norveġiż", - "nb": "nynorsk", - "nl": "Noors - Nynorsk", - "nn": "nynorsk", - "pt": "nynorsk norueguês", - "ru": "новонорвежский", - "sv": "nynorska", - "th": "นอร์เวย์ไนนอรส์ก", - "tr": "Norveççe Nynorsk", - "zh": "挪威尼诺斯克文" - }, - { - "type": "language", - "iso": "om", - "name": "Oromoo", - "countries": [ - { - "_reference": "ET" - }, - { - "_reference": "KE" - } - ], - "am": "ኦሮምኛ", - "ar": "الأورومو", - "ca": "oromo (afan)", - "cs": "Oromo (Afan)", - "da": "Oromo", - "de": "Oromo", - "en": "Oromo", - "es": "oromo", - "fi": "oromo", - "fr": "galla", - "hi": "ओरोमो (अफ़ान)", - "hu": "oromói", - "id": "Oromo", - "is": "Órómó", - "it": "oromo", - "ja": "オロモ語", - "ko": "오로모어 (아판)", - "mr": "ओरोमो (अफान)", - "mt": "Oromo (Afan)", - "nb": "oromo", - "nl": "Oromo", - "nn": "oromo", - "om": "Oromoo", - "pt": "oromo", - "ru": "оромо", - "sv": "oromo", - "ta": "ஒரோம (அபன்)", - "th": "โอโรโม (อาฟาน)", - "tr": "Oromo (Afan)", - "uk": "Оромо", - "zh": "阿曼文" - }, - { - "type": "language", - "iso": "or", - "name": "ଓଡ଼ିଆ", - "countries": [ - { - "_reference": "IN" - } - ], - "am": "ኦሪያኛ", - "ar": "الأورييا", - "ca": "oriya", - "cs": "Oriya", - "da": "Oriya", - "de": "Orija", - "en": "Oriya", - "es": "oriya", - "fi": "orija", - "fr": "oriya", - "hi": "उड़िया", - "hu": "orija", - "id": "Oriya", - "is": "Óría", - "it": "oriya", - "ja": "オリヤー語", - "km": "ភាសាអូរីយ៉ា", - "ko": "오리야어", - "mr": "ओरिया", - "mt": "Orija", - "nb": "oriya", - "nl": "Oriya", - "nn": "oriya", - "pt": "oriya", - "ru": "ория", - "sv": "oriya", - "ta": "ஒரியா", - "th": "โอริยา", - "tr": "Oriya", - "uk": "Орія", - "zh": "欧里亚文" - }, - { - "type": "language", - "iso": "pa", - "name": "ਪੰਜਾਬੀ", - "countries": [ - { - "_reference": "IN" - }, - { - "_reference": "PK" - } - ], - "am": "ፓንጃቢኛ", - "ar": "البنجابية", - "bg": "Пенджабски", - "ca": "panjabi", - "cs": "Paňdžábština", - "da": "Punjabi", - "de": "Pandschabisch", - "en": "Punjabi", - "es": "punjabí", - "fi": "pandžabi", - "fr": "pendjabi", - "ga": "Puinseaibis", - "hi": "पंजाबी", - "hu": "pandzsábi", - "id": "Punjabi", - "is": "Púnjabí", - "it": "punjabi", - "ja": "パンジャブ語", - "km": "ភាសាពូនយ៉ាប៊ី", - "ko": "펀잡어", - "mr": "पंजाबी", - "mt": "Punġabi", - "nb": "panjabi", - "nl": "Punjabi", - "nn": "panjabi", - "pa": "ਪੰਜਾਬੀ", - "pt": "panjabi", - "ru": "панджаби (пенджаби)", - "sv": "punjabi", - "ta": "பஞ்சாபி", - "th": "ปัญจาป", - "tr": "Pencap Dili", - "uk": "Панджабі", - "zh": "旁遮普文" - }, - { - "type": "language", - "iso": "pl", - "name": "polski", - "countries": [ - { - "_reference": "PL" - } - ], - "am": "ፖሊሽ", - "ar": "البولندية", - "bg": "Полски", - "ca": "polonès", - "cs": "Polština", - "da": "Polsk", - "de": "Polnisch", - "el": "Πολωνικά", - "en": "Polish", - "es": "polaco", - "et": "Poola", - "fi": "puola", - "fr": "polonais", - "ga": "Polainnis", - "he": "פולנית", - "hi": "पॉलिश", - "hr": "poljski", - "hu": "lengyel", - "id": "Polish", - "is": "Pólska", - "it": "polacco", - "ja": "ポーランド語", - "km": "ភាសាប៉ូឡូញ", - "ko": "폴란드어", - "lt": "Lenkų", - "lv": "poļu", - "mr": "पोलिष", - "mt": "Pollakk", - "nb": "polsk", - "nl": "Pools", - "nn": "polsk", - "pl": "polski", - "ps": "پولنډي", - "pt": "polonês", - "ro": "Poloneză", - "ru": "польский", - "sk": "poľský", - "sl": "Poljščina", - "sr": "Пољски", - "sv": "polska", - "ta": "போலிஷ்", - "th": "โปแลนด์", - "tr": "Polonya Dili", - "uk": "Польська", - "vi": "Tiếng Ba Lan", - "zh": "波兰文" - }, - { - "type": "language", - "iso": "ps", - "name": "پښتو", - "countries": [ - { - "_reference": "AF" - } - ], - "am": "ፑሽቶኛ", - "ar": "البشتونية", - "bg": "Пущу", - "ca": "paixto", - "cs": "Pashto (Pushto)", - "da": "Pashto (Pushto)", - "de": "Afghanisch (Paschtu)", - "es": "pashto", - "fi": "paštu", - "fr": "pachto", - "ga": "Paisteo", - "he": "פאשטו", - "hi": "पॉशतो (पुशतो)", - "hu": "pastu (afgán)", - "id": "Pashto (Pushto)", - "is": "Pastú", - "it": "pashto", - "ja": "パシュトゥー語", - "ko": "파시토어 (푸시토)", - "mr": "पष्टो (पुष्टो)", - "mt": "Paxtun", - "nb": "pashto", - "nl": "Pashto", - "nn": "pashto", - "ps": "پښتو", - "pt": "pashto (pushto)", - "ru": "пашто (пушту)", - "sv": "pashto; afghanska", - "ta": "பேஷ்டோ (புஷ்டோ)", - "th": "พาสช์โต (พุสช์โต)", - "tr": "Peştun Dili", - "uk": "Пашто", - "zh": "普什图文" - }, - { - "type": "language", - "iso": "pt", - "name": "português", - "countries": [ - { - "_reference": "BR" - }, - { - "_reference": "PT" - } - ], - "af": "Portugees", - "am": "ፖርቱጋሊኛ", - "ar": "البرتغالية", - "be": "партугальскі", - "bg": "Португалски", - "ca": "portuguès", - "cs": "Portugalština", - "cy": "Portiwgaleg", - "da": "Portugisisk", - "de": "Portugiesisch", - "el": "Πορτογαλικά", - "en": "Portuguese", - "es": "portugués", - "et": "Portugali", - "eu": "portugalera", - "fi": "portugali", - "fr": "portugais", - "ga": "Portaingéilis", - "he": "פורטוגזית", - "hi": "पुर्तुगी", - "hr": "portugalski", - "hu": "portugál", - "id": "Portugis", - "is": "Portúgalska", - "it": "portoghese", - "ja": "ポルトガル語", - "ka": "პორტუგალიური", - "km": "ភាសាព័រទុយហ្កាល់", - "ko": "포르투칼어", - "ky": "португалча", - "lt": "Portugalų", - "lv": "portugāļu", - "mk": "португалски", - "mn": "португали", - "mr": "पोर्चुगीस्", - "mt": "Portugiż", - "nb": "portugisisk", - "nl": "Portugees", - "nn": "portugisisk", - "pl": "portugalski", - "ps": "پورتګالي", - "pt": "português", - "ro": "Portugheză", - "ru": "португальский", - "sk": "portugalský", - "sl": "Portugalščina", - "sq": "Portugeze", - "sr": "Португалски", - "sv": "portugisiska", - "sw": "kireno", - "ta": "போர்த்துகீஸ்", - "te": "పొర్చుగల్ భాష", - "th": "โปรตุเกส", - "tr": "Portekizce", - "uk": "Португальська", - "vi": "Tiếng Bồ Đào Nha", - "zh": "葡萄牙文" - }, - { - "type": "language", - "iso": "ro", - "name": "Română", - "countries": [ - { - "_reference": "RO" - } - ], - "am": "ሮማኒያን", - "ar": "الرومانية", - "bg": "Румънски", - "ca": "romanès", - "cs": "Rumunština", - "da": "Rumænsk", - "de": "Rumänisch", - "el": "Ρουμανικά", - "en": "Romanian", - "es": "rumano", - "et": "Rumeenia", - "fi": "romania", - "fr": "roumain", - "ga": "Romáinis", - "he": "רומנית", - "hi": "रूमानीयन्", - "hr": "rumunjski", - "hu": "román", - "id": "Romanian", - "is": "Rúmenska", - "it": "rumeno", - "ja": "ルーマニア語", - "km": "ភាសារូម៉ានី", - "ko": "루마니아어", - "lt": "Rumunų", - "lv": "rumāņu", - "mr": "रोमानियन्", - "mt": "Rumen", - "nb": "rumensk", - "nl": "Roemeens", - "nn": "rumensk", - "pl": "rumuński", - "pt": "romeno", - "ro": "Română", - "ru": "румынский", - "sk": "rumunský", - "sl": "Romunščina", - "sr": "Румунски", - "sv": "rumänska", - "ta": "ரோமேனியன்", - "th": "โรมัน", - "tr": "Romence", - "uk": "Румунська", - "vi": "Tiếng Ru-ma-ni", - "zh": "罗马尼亚文" - }, - { - "type": "language", - "iso": "ru", - "name": "русский", - "countries": [ - { - "_reference": "RU" - }, - { - "_reference": "UA" - } - ], - "af": "Russies", - "am": "ራሽኛ", - "ar": "الروسية", - "be": "рускі", - "bg": "Руски", - "ca": "rus", - "cs": "Ruština", - "cy": "Rwsieg", - "da": "Russisk", - "de": "Russisch", - "el": "Ρωσικά", - "en": "Russian", - "es": "ruso", - "et": "Vene", - "eu": "errusiera", - "fi": "venäjä", - "fr": "russe", - "ga": "Rúisis", - "he": "רוסית", - "hi": "रुसी", - "hr": "ruski", - "hu": "orosz", - "id": "Russian", - "is": "Rússneska", - "it": "russo", - "ja": "ロシア語", - "ka": "რუსული", - "km": "ភាសាรัរូស្ស៉ី", - "ko": "러시아어", - "ky": "орусча", - "lt": "Rusų", - "lv": "krievu", - "mk": "руски", - "mn": "орос", - "mr": "रष्यन्", - "mt": "Russu", - "nb": "russisk", - "nl": "Russisch", - "nn": "russisk", - "pl": "rosyjski", - "ps": "روسي", - "pt": "russo", - "ro": "Rusă", - "ru": "русский", - "sk": "ruský", - "sl": "Ruščina", - "sq": "Rusisht", - "sr": "Руски", - "sv": "ryska", - "sw": "kirusi", - "ta": "ரஷியன்", - "te": "రష్యన్ భాష", - "th": "รัสเซีย", - "tr": "Rusça", - "uk": "Російська", - "vi": "Tiếng Nga", - "zh": "俄文" - }, - { - "type": "language", - "iso": "sa", - "name": "संस्कृत", - "countries": [ - { - "_reference": "IN" - } - ], - "am": "ሳንስክሪትኛ", - "ar": "السنسكريتية", - "bg": "Санкскритски", - "ca": "sànscrit", - "cs": "Sanskrt", - "da": "Sanskrit", - "de": "Sanskrit", - "en": "Sanskrit", - "es": "sánscrito", - "fi": "sanskrit", - "fr": "sanskrit", - "ga": "Sanscrait", - "he": "סנסקרית", - "hi": "संस्कृत", - "hu": "szanszkrit", - "id": "Sanskrit", - "is": "Sanskrít", - "it": "sanscrito", - "ja": "サンスクリット語", - "km": "ភាសាសំស្ក្រឹត", - "ko": "산스크리트어", - "mr": "संस्कृत", - "mt": "Sanskrit", - "nb": "sanskrit", - "nl": "Sanskrit", - "nn": "sanskrit", - "ps": "سنسکریټ", - "pt": "sânscrito", - "ru": "санскрит", - "sr": "Санскрит", - "sv": "sanskrit", - "ta": "சமஸ்கிருதம்", - "th": "สันสกฤต", - "tr": "Sanskritçe", - "uk": "Санскрит", - "vi": "Tiếng Phạn", - "zh": "梵文" - }, - { - "type": "language", - "iso": "sk", - "name": "slovenský", - "countries": [ - { - "_reference": "SK" - } - ], - "am": "ስሎቫክኛ", - "ar": "السلوفاكية", - "bg": "Словашки", - "ca": "eslovac", - "cs": "Slovenština", - "da": "Slovakisk", - "de": "Slowakisch", - "el": "Σλοβακικά", - "en": "Slovak", - "es": "eslovaco", - "et": "Slovaki", - "fi": "slovakki", - "fr": "slovaque", - "ga": "Slóvacais", - "he": "סלובקית", - "hi": "स्लोवाक्", - "hr": "slovački", - "hu": "szlovák", - "id": "Slovak", - "is": "Slóvakíska", - "it": "slovacco", - "ja": "スロバキア語", - "km": "ភាសាស្លូវ៉ាគី", - "ko": "슬로바키아어", - "lt": "Slovakų", - "lv": "slovāku", - "mr": "स्लोवाक", - "mt": "Slovakk", - "nb": "slovakisk", - "nl": "Slowaaks", - "nn": "slovakisk", - "pl": "słowacki", - "pt": "eslovaco", - "ro": "Slovacă", - "ru": "словацкий", - "sk": "slovenský", - "sl": "Slovaščina", - "sr": "Словачки", - "sv": "slovakiska", - "ta": "ஸ்லோவெக்", - "th": "สโลวัค", - "tr": "Slovakça", - "uk": "Словацька", - "vi": "Tiếng Xlô-vác", - "zh": "斯洛伐克文" - }, - { - "type": "language", - "iso": "sl", - "name": "Slovenščina", - "countries": [ - { - "_reference": "SI" - } - ], - "am": "ስሎቪኛ", - "ar": "السلوفانية", - "bg": "Словенски", - "ca": "eslovè", - "cs": "Slovinština", - "da": "Slovensk", - "de": "Slowenisch", - "el": "Σλοβενικά", - "en": "Slovenian", - "es": "esloveno", - "et": "Sloveeni", - "fi": "sloveeni", - "fr": "slovène", - "ga": "Slóvéinis", - "he": "סלובנית", - "hi": "स्लोवेनियन्", - "hr": "slovenski", - "hu": "szlovén", - "id": "Slovenian", - "is": "Slóvenska", - "it": "sloveno", - "ja": "スロベニア語", - "km": "ភាសាស្លូវ៉ានី", - "ko": "슬로베니아어", - "lt": "Slovėnų", - "lv": "slovēņu", - "mr": "स्लोवेनियन्", - "mt": "Sloven", - "nb": "slovensk", - "nl": "Sloveens", - "nn": "slovensk", - "pl": "słoweński", - "pt": "eslovênio", - "ro": "Slovenă", - "ru": "словенский", - "sk": "slovinský", - "sl": "Slovenščina", - "sr": "Словеначки", - "sv": "slovenska", - "ta": "ஸ்லோவினேயின்", - "th": "สโลเวเนีย", - "tr": "Slovence", - "uk": "Словенська", - "vi": "Tiếng Xlô-ven", - "zh": "斯洛文尼亚文" - }, - { - "type": "language", - "iso": "so", - "name": "Soomaali", - "countries": [ - { - "_reference": "DJ" - }, - { - "_reference": "ET" - }, - { - "_reference": "KE" - }, - { - "_reference": "SO" - } - ], - "am": "ሱማልኛ", - "ar": "الصومالية", - "bg": "Сомалийски", - "ca": "somali", - "cs": "Somálština", - "da": "Somalisk", - "de": "Somali", - "en": "Somali", - "es": "somalí", - "fi": "somali", - "fr": "somali", - "ga": "Somálais", - "he": "סומלית", - "hi": "सोमाली", - "hu": "szomáli", - "id": "Somali", - "is": "Sómalska", - "it": "somalo", - "ja": "ソマリ語", - "km": "ភាសាសូម៉ាលី", - "ko": "소말리아어", - "mr": "सोमाली", - "mt": "Somali", - "nl": "Somalisch", - "nn": "somali", - "pt": "somali", - "ru": "сомали", - "so": "Soomaali", - "sv": "somaliska", - "ta": "சோமாலி", - "th": "โซมาลี", - "tr": "Somali Dili", - "uk": "Сомалі", - "vi": "Tiếng Xô-ma-li", - "zh": "索马里文" - }, - { - "type": "language", - "iso": "sq", - "name": "shqipe", - "countries": [ - { - "_reference": "AL" - } - ], - "am": "ልቤኒኛ", - "ar": "الألبانية", - "bg": "Албански", - "ca": "albanès", - "cs": "Albánština", - "da": "albansk", - "de": "Albanisch", - "el": "Αλβανικά", - "en": "Albanian", - "es": "albanés", - "fi": "albania", - "fr": "albanais", - "ga": "Albáinis", - "he": "אלבנית", - "hi": "अल्बेनियन्", - "hr": "albanski", - "hu": "albán", - "id": "Albanian", - "is": "Albanska", - "it": "albanese", - "ja": "アルバニア語", - "km": "ភាសាអាល់បានី", - "ko": "알바니아어", - "mr": "आल्बेनियन्", - "mt": "Albaniż", - "nb": "albansk", - "nl": "Albanees", - "nn": "albansk", - "pt": "albanês", - "ru": "албанский", - "sq": "shqipe", - "sr": "Албански", - "sv": "albanska", - "ta": "அல்பெனியன்", - "th": "แอลเบเนีย", - "tr": "Arnavutça", - "uk": "Албанська", - "vi": "Tiếng An-ba-ni", - "zh": "阿尔巴尼亚文" - }, - { - "type": "language", - "iso": "sr", - "name": "Српски", - "countries": [ - { - "_reference": "BA" - }, - { - "_reference": "CS" - }, - { - "_reference": "YU" - } - ], - "am": "ሰርቢኛ", - "ar": "الصربية", - "bg": "Сръбски", - "ca": "serbi", - "cs": "Srbština", - "da": "Serbisk", - "de": "Serbisch", - "el": "Σερβικά", - "en": "Serbian", - "es": "serbio", - "fi": "serbia", - "fr": "serbe", - "ga": "Seirbis", - "he": "סרבית", - "hi": "सर्बियन्", - "hr": "srpski", - "hu": "szerb", - "id": "Serbian", - "is": "Serbneska", - "it": "serbo", - "ja": "セルビア語", - "ko": "세르비아어", - "mr": "सेर्बियन्", - "mt": "Serb", - "nb": "serbisk", - "nl": "Servisch", - "nn": "serbisk", - "pt": "sérvio", - "ru": "сербский", - "sr": "Српски", - "sv": "serbiska", - "ta": "சர்பியன்", - "th": "เซอร์เบีย", - "tr": "Sırpça", - "uk": "Сербська", - "vi": "Tiếng Séc-bi", - "zh": "塞尔维亚文" - }, - { - "type": "language", - "iso": "sv", - "name": "svenska", - "countries": [ - { - "_reference": "FI" - }, - { - "_reference": "SE" - } - ], - "am": "ስዊድንኛ", - "ar": "السويدية", - "bg": "Шведски", - "ca": "suec", - "cs": "Švédština", - "da": "Svensk", - "de": "Schwedisch", - "el": "Σουηδικά", - "en": "Swedish", - "es": "sueco", - "et": "Rootsi", - "fi": "ruotsi", - "fr": "suédois", - "ga": "Sualainnis", - "he": "שוודית", - "hi": "स्विडिश", - "hr": "švedski", - "hu": "svéd", - "id": "Swedia", - "is": "Sænska", - "it": "svedese", - "ja": "スウェーデン語", - "km": "ភាសាស៊ុយអែដ", - "ko": "스웨덴어", - "lt": "Švedų", - "lv": "zviedru", - "mr": "स्वीडिष", - "mt": "Svediż", - "nb": "svensk", - "nl": "Zweeds", - "nn": "svensk", - "pl": "szwedzki", - "ps": "سویډنی", - "pt": "sueco", - "ro": "Suedeză", - "ru": "шведский", - "sk": "švédsky", - "sl": "Švedščina", - "sr": "Шведски", - "sv": "svenska", - "ta": "ஷீவிடிஸ்", - "th": "สวีเดน", - "tr": "İsveççe", - "uk": "Шведська", - "vi": "Tiếng Thụy Điển", - "zh": "瑞典文" - }, - { - "type": "language", - "iso": "sw", - "name": "Kiswahili", - "countries": [ - { - "_reference": "KE" - }, - { - "_reference": "TZ" - } - ], - "am": "ስዋሂሊኛ", - "ar": "السواحلية", - "bg": "Суахили", - "ca": "swahili", - "cs": "Svahilština", - "da": "Swahili", - "de": "Suaheli", - "en": "Swahili", - "es": "swahili", - "fi": "swahili", - "fr": "swahili", - "ga": "Svahaílis", - "he": "סווהילית", - "hi": "स्वाहिली", - "hu": "szuahéli", - "id": "Swahili", - "is": "Svahílí", - "it": "swahili", - "ja": "スワヒリ語", - "km": "ភាសាស្វាហ៉ីលី", - "ko": "스와힐리어", - "mr": "स्वाहिली", - "mt": "Swaħili", - "nb": "swahili", - "nl": "Swahili", - "nn": "swahili", - "pt": "suaíli", - "ru": "суахили", - "sr": "Свахили", - "sv": "swahili", - "sw": "Kiswahili", - "ta": "சுவாஹிலி", - "th": "ซวาฮิรี", - "tr": "Swahili", - "uk": "Суахілі", - "zh": "斯瓦希里文" - }, - { - "type": "language", - "iso": "ta", - "name": "தமிழ்", - "countries": [ - { - "_reference": "IN" - } - ], - "am": "ታሚልኛ", - "ar": "التاميلية", - "bg": "Тамилски", - "ca": "tàmil", - "cs": "Tamilština", - "da": "Tamilsk", - "de": "Tamilisch", - "en": "Tamil", - "es": "tamil", - "fi": "tamil", - "fr": "tamoul", - "ga": "Tamailis", - "he": "טמילית", - "hi": "तमिल", - "hu": "tamil", - "id": "Tamil", - "is": "Tamílska", - "it": "tamil", - "ja": "タミール語", - "km": "ភាសាតាមីល", - "ko": "타밀어", - "mr": "तमिळ", - "mt": "Tamil", - "nb": "tamil", - "nl": "Tamil", - "nn": "tamil", - "pt": "tâmil", - "ru": "тамильский", - "sv": "tamil", - "ta": "தமிழ்", - "th": "ทมิฬ", - "tr": "Tamil", - "uk": "Тамільська", - "zh": "泰米尔文" - }, - { - "type": "language", - "iso": "te", - "name": "తెలుగు", - "countries": [ - { - "_reference": "IN" - } - ], - "am": "ተሉጉኛ", - "ar": "التيلجو", - "bg": "Телугу", - "ca": "telugu", - "cs": "Telugština", - "da": "Telugu", - "de": "Telugu", - "en": "Telugu", - "es": "telugu", - "fi": "telugu", - "fr": "télougou", - "hi": "तेलेगु", - "hu": "telugu", - "id": "Telugu", - "is": "Telúgú", - "it": "telugu", - "ja": "テルグ語", - "km": "ភាសាតេលូហ្គូ", - "ko": "텔루구어", - "mr": "तेलंगू", - "mt": "Telugu", - "nb": "telugu", - "nl": "Teloegoe", - "nn": "telugu", - "pt": "telugu", - "ru": "телугу", - "sv": "telugiska", - "ta": "தெலுங்கு", - "te": "తెలుగు", - "th": "ทิลูกู", - "tr": "Telugu", - "uk": "Телугу", - "zh": "泰卢固文" - }, - { - "type": "language", - "iso": "th", - "name": "ไทย", - "countries": [ - { - "_reference": "TH" - } - ], - "am": "ታይኛ", - "ar": "التايلاندية", - "bg": "Таи", - "ca": "thai", - "cs": "Thajština", - "da": "Thailandsk", - "de": "Thai", - "el": "Ταϊλανδικά", - "en": "Thai", - "es": "tailandés", - "fi": "thai", - "fr": "thaï", - "ga": "Téalainnis", - "he": "תאי", - "hi": "थाई", - "hu": "thai", - "id": "Thai", - "is": "Taílenska", - "it": "thai", - "ja": "タイ語", - "km": "ភាសាថៃ", - "ko": "태국어", - "lt": "Tajų", - "mr": "थाई", - "mt": "Tajlandiż", - "nb": "thai", - "nl": "Thai", - "nn": "thai", - "pl": "tajski", - "pt": "tailandês", - "ru": "тайский", - "sv": "thailändska", - "ta": "தாய்", - "th": "ไทย", - "tr": "Tay Dili", - "uk": "Тайська", - "vi": "Tiếng Thái", - "zh": "泰文" - }, - { - "type": "language", - "iso": "tr", - "name": "Türkçe", - "countries": [ - { - "_reference": "TR" - } - ], - "am": "ቱርክኛ", - "ar": "التركية", - "bg": "Турски", - "ca": "turc", - "cs": "Turečtina", - "da": "Tyrkisk", - "de": "Türkisch", - "el": "Τουρκικά", - "en": "Turkish", - "es": "turco", - "et": "Türgi", - "fa": "ترکی استانبولی", - "fi": "turkki", - "fr": "turc", - "ga": "Tuircis", - "he": "טורקית", - "hi": "तुक्रीश", - "hr": "turski", - "hu": "török", - "id": "Turkish", - "is": "Tyrkneska", - "it": "turco", - "ja": "トルコ語", - "km": "ភាសាទួរគី", - "ko": "터키어", - "lt": "Turkų", - "lv": "turku", - "mr": "तुर्किष", - "mt": "Tork", - "nb": "tyrkisk", - "nl": "Turks", - "nn": "tyrkisk", - "pl": "turecki", - "pt": "turco", - "ro": "Turcă", - "ru": "турецкий", - "sk": "turecký", - "sl": "Turščina", - "sr": "Турски", - "sv": "turkiska", - "ta": "டர்கிஷ்", - "th": "ตุรกี", - "tr": "Türkçe", - "uk": "Турецька", - "vi": "Tiếng Thổ Nhĩ Kỳ", - "zh": "土耳其文" - }, - { - "type": "language", - "iso": "tt", - "name": "Татар", - "countries": [ - { - "_reference": "RU" - } - ], - "am": "ታታርኛ", - "ar": "التتارية", - "bg": "Татарски", - "ca": "tàtar", - "cs": "Tatarština", - "da": "Tatarisk", - "de": "Tatarisch", - "en": "Tatar", - "fi": "tataari", - "fr": "tatar", - "ga": "Tatarais", - "hi": "टाटर", - "hu": "tatár", - "id": "Tatar", - "is": "Tatarska", - "it": "tatarico", - "ja": "タタール語", - "km": "ភាសាតាតារ", - "ko": "타타르어", - "mr": "टटार", - "mt": "Tatar", - "nb": "tatarisk", - "nl": "Tataars", - "nn": "tatarisk", - "ps": "تاتار", - "pt": "tatar", - "ru": "татарский", - "sv": "tatariska", - "ta": "டாடர்", - "th": "ตาด", - "tr": "Tatarca", - "uk": "Татарська", - "zh": "鞑靼文" - }, - { - "type": "language", - "iso": "uk", - "name": "Українська", - "countries": [ - { - "_reference": "UA" - } - ], - "am": "ዩክረኒኛ", - "ar": "الأوكرانية", - "bg": "Украински", - "ca": "ucraïnès", - "cs": "Ukrajinština", - "da": "Ukrainsk", - "de": "Ukrainisch", - "el": "Ουκρανικά", - "en": "Ukrainian", - "es": "ucraniano", - "fi": "ukraina", - "fr": "ukrainien", - "ga": "Úcráinis", - "he": "אוקראינית", - "hi": "यूक्रेनियन्", - "hr": "ukrajinski", - "hu": "ukrán", - "id": "Ukrainian", - "is": "Úkraínska", - "it": "ucraino", - "ja": "ウクライナ語", - "km": "ភាសាអ៊ុយក្រែន", - "ko": "우크라이나어", - "mr": "युक्रेनियन्", - "mt": "Ukranjan", - "nb": "ukrainsk", - "nl": "Oekraïens", - "nn": "ukrainsk", - "pt": "ucraniano", - "ru": "украинский", - "sr": "Украјински", - "sv": "ukrainska", - "ta": "உக்ரேனியன்", - "th": "ยูเครน", - "tr": "Ukraynaca", - "uk": "Українська", - "vi": "Tiếng U-crai-na", - "zh": "乌克兰文" - }, - { - "type": "language", - "iso": "ur", - "name": "اردو", - "countries": [ - { - "_reference": "IN" - }, - { - "_reference": "PK" - } - ], - "am": "ኡርዱኛ", - "ar": "الأردية", - "bg": "Урду", - "ca": "urdú", - "cs": "Urdština", - "da": "Urdu", - "de": "Urdu", - "en": "Urdu", - "es": "urdu", - "fi": "urdu", - "fr": "ourdou", - "ga": "Urdais", - "he": "אורדו", - "hi": "ऊर्दु", - "hu": "urdu", - "id": "Urdu", - "is": "Úrdú", - "it": "urdu", - "ja": "ウルドゥー語", - "km": "ភាសាអ៊ូរ្ឌូ", - "ko": "우르두어", - "mr": "उर्दू", - "mt": "Urdu", - "nb": "urdu", - "nl": "Urdu", - "nn": "urdu", - "pt": "urdu", - "ru": "урду", - "sv": "urdu", - "ta": "உருது", - "th": "อิรดู", - "tr": "Urduca", - "uk": "Урду", - "ur": "اردو", - "zh": "乌尔都文" - }, - { - "type": "language", - "iso": "uz", - "name": "Ўзбек", - "countries": [ - { - "_reference": "AF" - }, - { - "_reference": "UZ" - } - ], - "am": "ኡዝበክኛ", - "ar": "الاوزباكية", - "bg": "Узбекски", - "ca": "uzbek", - "cs": "Uzbečtina", - "da": "Usbekisk", - "de": "Usbekisch", - "en": "Uzbek", - "es": "uzbeko", - "fi": "uzbekki", - "fr": "ouzbek", - "ga": "Úisbéicis", - "he": "אוזבקית", - "hi": "उज़बेक्", - "hu": "üzbég", - "id": "Uzbek", - "is": "Úsbekska", - "it": "usbeco", - "ja": "ウズベク語", - "km": "ភាសាអ៊ូហ្សបេគីស្តង់", - "ko": "우즈베크어", - "mr": "उज़बेक", - "mt": "Użbek", - "nb": "usbekisk", - "nl": "Oezbeeks", - "nn": "usbekisk", - "ps": "ازبکي", - "pt": "usbeque", - "ru": "узбекский", - "sv": "uzbekiska", - "ta": "உஸ்பெக்", - "th": "อุสเบค", - "tr": "Özbekçe", - "uk": "Узбецька", - "vi": "Tiếng U-dơ-bếch", - "zh": "乌兹别克文" - }, - { - "type": "language", - "iso": "vi", - "name": "Tiếng Việt", - "countries": [ - { - "_reference": "VN" - } - ], - "am": "ቪትናምኛ", - "ar": "الفيتنامية", - "bg": "Виетнамски", - "ca": "vietnamita", - "cs": "Vietnamština", - "da": "Vietnamesisk", - "de": "Vietnamesisch", - "el": "Βιετναμεζικά", - "en": "Vietnamese", - "es": "vietnamita", - "fi": "vietnam", - "fr": "vietnamien", - "ga": "Vítneamais", - "he": "ויאטנמית", - "hi": "वियेतनामी", - "hr": "vijetnamski", - "hu": "vietnámi", - "id": "Vietnamese", - "is": "Víetnamska", - "it": "vietnamita", - "ja": "ベトナム語", - "km": "ភាសាវៀតណាម", - "ko": "베트남어", - "mr": "वियत्नामीज़", - "mt": "Vjetnamiż", - "nb": "vietnamesisk", - "nl": "Vietnamees", - "nn": "vietnamesisk", - "pt": "vietnamita", - "ru": "вьетнамский", - "sr": "Вијетнамски", - "sv": "vietnamesiska", - "ta": "வியட்நாமிஸ்", - "th": "เวียดนาม", - "tr": "Vietnam Dili", - "uk": "Вʼєтнамська", - "vi": "Tiếng Việt", - "zh": "越南文" - }, - { - "type": "language", - "iso": "zh", - "name": "中文", - "countries": [ - { - "_reference": "CN" - }, - { - "_reference": "HK" - }, - { - "_reference": "MO" - }, - { - "_reference": "SG" - }, - { - "_reference": "TW" - } - ], - "af": "Sjinees", - "am": "ቻይንኛ", - "ar": "الصينية", - "be": "кітайскі", - "bg": "Китайски", - "ca": "xinés", - "cs": "Čínština", - "cy": "Tseineeg", - "da": "Kinesisk", - "de": "Chinesisch", - "el": "Κινεζικά", - "en": "Chinese", - "es": "chino", - "et": "Hiina", - "eu": "txinera", - "fi": "kiina", - "fr": "chinois", - "ga": "Sínis", - "he": "סינית", - "hi": "चीनी", - "hr": "kineski", - "hu": "kínai", - "id": "Cina", - "is": "Kínverska", - "it": "cinese", - "ja": "中国語", - "ka": "ჩინური", - "km": "ភាសាចិន", - "ko": "중국어", - "ky": "кытайча", - "lt": "Kinų", - "lv": "ķīniešu", - "mk": "кинески", - "mn": "хятад", - "mr": "चिनीस्", - "mt": "Ċiniż", - "nb": "kinesisk", - "nl": "Chinees", - "nn": "kinesisk", - "pl": "chiński", - "ps": "چیني", - "pt": "chinês", - "ro": "Chineză", - "ru": "китайский", - "sk": "čínsky", - "sl": "Kitajščina", - "sq": "Kineze", - "sr": "Кинески", - "sv": "kinesiska", - "sw": "kichina", - "ta": "சீனம்", - "te": "చైనా భాష", - "th": "จีน", - "tr": "Çince", - "uk": "Китайська", - "vi": "Tiếng Trung Quốc", - "zh": "中文" - }, - { - "type": "languageCountryMap", - "language": "aa", - "country": "DJ", - "iso": "aa_DJ" - }, - { - "type": "languageCountryMap", - "language": "aa", - "country": "ER", - "iso": "aa_ER" - }, - { - "type": "languageCountryMap", - "language": "aa", - "country": "ET", - "iso": "aa_ET" - }, - { - "type": "languageCountryMap", - "language": "af", - "country": "NA", - "iso": "af_NA" - }, - { - "type": "languageCountryMap", - "language": "af", - "country": "ZA", - "iso": "af_ZA" - }, - { - "type": "languageCountryMap", - "language": "ak", - "country": "GH", - "iso": "ak_GH" - }, - { - "type": "languageCountryMap", - "language": "am", - "country": "ET", - "iso": "am_ET" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "AE", - "iso": "ar_AE" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "BH", - "iso": "ar_BH" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "DZ", - "iso": "ar_DZ" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "EG", - "iso": "ar_EG" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "IQ", - "iso": "ar_IQ" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "JO", - "iso": "ar_JO" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "KW", - "iso": "ar_KW" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "LB", - "iso": "ar_LB" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "LY", - "iso": "ar_LY" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "MA", - "iso": "ar_MA" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "OM", - "iso": "ar_OM" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "QA", - "iso": "ar_QA" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "SA", - "iso": "ar_SA" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "SD", - "iso": "ar_SD" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "SY", - "iso": "ar_SY" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "TN", - "iso": "ar_TN" - }, - { - "type": "languageCountryMap", - "language": "ar", - "country": "YE", - "iso": "ar_YE" - }, - { - "type": "languageCountryMap", - "language": "as", - "country": "IN", - "iso": "as_IN" - }, - { - "type": "languageCountryMap", - "language": "az", - "country": "AZ", - "iso": "az_AZ" - }, - { - "type": "languageCountryMap", - "language": "be", - "country": "BY", - "iso": "be_BY" - }, - { - "type": "languageCountryMap", - "language": "bg", - "country": "BG", - "iso": "bg_BG" - }, - { - "type": "languageCountryMap", - "language": "bn", - "country": "BD", - "iso": "bn_BD" - }, - { - "type": "languageCountryMap", - "language": "bn", - "country": "IN", - "iso": "bn_IN" - }, - { - "type": "languageCountryMap", - "language": "bs", - "country": "BA", - "iso": "bs_BA" - }, - { - "type": "languageCountryMap", - "language": "ca", - "country": "ES", - "iso": "ca_ES" - }, - { - "type": "languageCountryMap", - "language": "cs", - "country": "CZ", - "iso": "cs_CZ" - }, - { - "type": "languageCountryMap", - "language": "cy", - "country": "GB", - "iso": "cy_GB" - }, - { - "type": "languageCountryMap", - "language": "da", - "country": "DK", - "iso": "da_DK" - }, - { - "type": "languageCountryMap", - "language": "de", - "country": "AT", - "iso": "de_AT" - }, - { - "type": "languageCountryMap", - "language": "de", - "country": "BE", - "iso": "de_BE" - }, - { - "type": "languageCountryMap", - "language": "de", - "country": "CH", - "iso": "de_CH" - }, - { - "type": "languageCountryMap", - "language": "de", - "country": "DE", - "iso": "de_DE" - }, - { - "type": "languageCountryMap", - "language": "de", - "country": "LI", - "iso": "de_LI" - }, - { - "type": "languageCountryMap", - "language": "de", - "country": "LU", - "iso": "de_LU" - }, - { - "type": "languageCountryMap", - "language": "dv", - "country": "MV", - "iso": "dv_MV" - }, - { - "type": "languageCountryMap", - "language": "dz", - "country": "BT", - "iso": "dz_BT" - }, - { - "type": "languageCountryMap", - "language": "ee", - "country": "GH", - "iso": "ee_GH" - }, - { - "type": "languageCountryMap", - "language": "ee", - "country": "TG", - "iso": "ee_TG" - }, - { - "type": "languageCountryMap", - "language": "el", - "country": "CY", - "iso": "el_CY" - }, - { - "type": "languageCountryMap", - "language": "el", - "country": "GR", - "iso": "el_GR" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "AS", - "iso": "en_AS" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "AU", - "iso": "en_AU" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "BE", - "iso": "en_BE" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "BW", - "iso": "en_BW" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "BZ", - "iso": "en_BZ" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "CA", - "iso": "en_CA" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "GB", - "iso": "en_GB" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "GU", - "iso": "en_GU" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "HK", - "iso": "en_HK" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "IE", - "iso": "en_IE" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "IN", - "iso": "en_IN" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "JM", - "iso": "en_JM" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "MH", - "iso": "en_MH" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "MP", - "iso": "en_MP" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "MT", - "iso": "en_MT" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "NA", - "iso": "en_NA" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "NZ", - "iso": "en_NZ" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "PH", - "iso": "en_PH" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "PK", - "iso": "en_PK" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "SG", - "iso": "en_SG" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "TT", - "iso": "en_TT" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "UM", - "iso": "en_UM" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "US", - "iso": "en_US" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "VI", - "iso": "en_VI" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "ZA", - "iso": "en_ZA" - }, - { - "type": "languageCountryMap", - "language": "en", - "country": "ZW", - "iso": "en_ZW" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "AR", - "iso": "es_AR" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "BO", - "iso": "es_BO" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "CL", - "iso": "es_CL" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "CO", - "iso": "es_CO" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "CR", - "iso": "es_CR" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "DO", - "iso": "es_DO" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "EC", - "iso": "es_EC" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "ES", - "iso": "es_ES" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "GT", - "iso": "es_GT" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "HN", - "iso": "es_HN" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "MX", - "iso": "es_MX" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "NI", - "iso": "es_NI" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "PA", - "iso": "es_PA" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "PE", - "iso": "es_PE" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "PR", - "iso": "es_PR" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "PY", - "iso": "es_PY" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "SV", - "iso": "es_SV" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "US", - "iso": "es_US" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "UY", - "iso": "es_UY" - }, - { - "type": "languageCountryMap", - "language": "es", - "country": "VE", - "iso": "es_VE" - }, - { - "type": "languageCountryMap", - "language": "et", - "country": "EE", - "iso": "et_EE" - }, - { - "type": "languageCountryMap", - "language": "eu", - "country": "ES", - "iso": "eu_ES" - }, - { - "type": "languageCountryMap", - "language": "fa", - "country": "AF", - "iso": "fa_AF" - }, - { - "type": "languageCountryMap", - "language": "fa", - "country": "IR", - "iso": "fa_IR" - }, - { - "type": "languageCountryMap", - "language": "fi", - "country": "FI", - "iso": "fi_FI" - }, - { - "type": "languageCountryMap", - "language": "fo", - "country": "FO", - "iso": "fo_FO" - }, - { - "type": "languageCountryMap", - "language": "fr", - "country": "BE", - "iso": "fr_BE" - }, - { - "type": "languageCountryMap", - "language": "fr", - "country": "CA", - "iso": "fr_CA" - }, - { - "type": "languageCountryMap", - "language": "fr", - "country": "CH", - "iso": "fr_CH" - }, - { - "type": "languageCountryMap", - "language": "fr", - "country": "FR", - "iso": "fr_FR" - }, - { - "type": "languageCountryMap", - "language": "fr", - "country": "LU", - "iso": "fr_LU" - }, - { - "type": "languageCountryMap", - "language": "fr", - "country": "MC", - "iso": "fr_MC" - }, - { - "type": "languageCountryMap", - "language": "ga", - "country": "IE", - "iso": "ga_IE" - }, - { - "type": "languageCountryMap", - "language": "gl", - "country": "ES", - "iso": "gl_ES" - }, - { - "type": "languageCountryMap", - "language": "gu", - "country": "IN", - "iso": "gu_IN" - }, - { - "type": "languageCountryMap", - "language": "gv", - "country": "GB", - "iso": "gv_GB" - }, - { - "type": "languageCountryMap", - "language": "ha", - "country": "GH", - "iso": "ha_GH" - }, - { - "type": "languageCountryMap", - "language": "ha", - "country": "NE", - "iso": "ha_NE" - }, - { - "type": "languageCountryMap", - "language": "ha", - "country": "NG", - "iso": "ha_NG" - }, - { - "type": "languageCountryMap", - "language": "he", - "country": "IL", - "iso": "he_IL" - }, - { - "type": "languageCountryMap", - "language": "hi", - "country": "IN", - "iso": "hi_IN" - }, - { - "type": "languageCountryMap", - "language": "hr", - "country": "HR", - "iso": "hr_HR" - }, - { - "type": "languageCountryMap", - "language": "hu", - "country": "HU", - "iso": "hu_HU" - }, - { - "type": "languageCountryMap", - "language": "hy", - "country": "AM", - "iso": "hy_AM" - }, - { - "type": "languageCountryMap", - "language": "id", - "country": "ID", - "iso": "id_ID" - }, - { - "type": "languageCountryMap", - "language": "ig", - "country": "NG", - "iso": "ig_NG" - }, - { - "type": "languageCountryMap", - "language": "is", - "country": "IS", - "iso": "is_IS" - }, - { - "type": "languageCountryMap", - "language": "it", - "country": "CH", - "iso": "it_CH" - }, - { - "type": "languageCountryMap", - "language": "it", - "country": "IT", - "iso": "it_IT" - }, - { - "type": "languageCountryMap", - "language": "ja", - "country": "JP", - "iso": "ja_JP" - }, - { - "type": "languageCountryMap", - "language": "ka", - "country": "GE", - "iso": "ka_GE" - }, - { - "type": "languageCountryMap", - "language": "kk", - "country": "KZ", - "iso": "kk_KZ" - }, - { - "type": "languageCountryMap", - "language": "kl", - "country": "GL", - "iso": "kl_GL" - }, - { - "type": "languageCountryMap", - "language": "km", - "country": "KH", - "iso": "km_KH" - }, - { - "type": "languageCountryMap", - "language": "kn", - "country": "IN", - "iso": "kn_IN" - }, - { - "type": "languageCountryMap", - "language": "ko", - "country": "KR", - "iso": "ko_KR" - }, - { - "type": "languageCountryMap", - "language": "ku", - "country": "IQ", - "iso": "ku_IQ" - }, - { - "type": "languageCountryMap", - "language": "ku", - "country": "IR", - "iso": "ku_IR" - }, - { - "type": "languageCountryMap", - "language": "ku", - "country": "SY", - "iso": "ku_SY" - }, - { - "type": "languageCountryMap", - "language": "ku", - "country": "TR", - "iso": "ku_TR" - }, - { - "type": "languageCountryMap", - "language": "kw", - "country": "GB", - "iso": "kw_GB" - }, - { - "type": "languageCountryMap", - "language": "ky", - "country": "KG", - "iso": "ky_KG" - }, - { - "type": "languageCountryMap", - "language": "ln", - "country": "CD", - "iso": "ln_CD" - }, - { - "type": "languageCountryMap", - "language": "ln", - "country": "CG", - "iso": "ln_CG" - }, - { - "type": "languageCountryMap", - "language": "lo", - "country": "LA", - "iso": "lo_LA" - }, - { - "type": "languageCountryMap", - "language": "lt", - "country": "LT", - "iso": "lt_LT" - }, - { - "type": "languageCountryMap", - "language": "lv", - "country": "LV", - "iso": "lv_LV" - }, - { - "type": "languageCountryMap", - "language": "mk", - "country": "MK", - "iso": "mk_MK" - }, - { - "type": "languageCountryMap", - "language": "ml", - "country": "IN", - "iso": "ml_IN" - }, - { - "type": "languageCountryMap", - "language": "mn", - "country": "MN", - "iso": "mn_MN" - }, - { - "type": "languageCountryMap", - "language": "mr", - "country": "IN", - "iso": "mr_IN" - }, - { - "type": "languageCountryMap", - "language": "ms", - "country": "BN", - "iso": "ms_BN" - }, - { - "type": "languageCountryMap", - "language": "ms", - "country": "MY", - "iso": "ms_MY" - }, - { - "type": "languageCountryMap", - "language": "mt", - "country": "MT", - "iso": "mt_MT" - }, - { - "type": "languageCountryMap", - "language": "nb", - "country": "NO", - "iso": "nb_NO" - }, - { - "type": "languageCountryMap", - "language": "ne", - "country": "NP", - "iso": "ne_NP" - }, - { - "type": "languageCountryMap", - "language": "nl", - "country": "BE", - "iso": "nl_BE" - }, - { - "type": "languageCountryMap", - "language": "nl", - "country": "NL", - "iso": "nl_NL" - }, - { - "type": "languageCountryMap", - "language": "nn", - "country": "NO", - "iso": "nn_NO" - }, - { - "type": "languageCountryMap", - "language": "nr", - "country": "ZA", - "iso": "nr_ZA" - }, - { - "type": "languageCountryMap", - "language": "ny", - "country": "MW", - "iso": "ny_MW" - }, - { - "type": "languageCountryMap", - "language": "om", - "country": "ET", - "iso": "om_ET" - }, - { - "type": "languageCountryMap", - "language": "om", - "country": "KE", - "iso": "om_KE" - }, - { - "type": "languageCountryMap", - "language": "or", - "country": "IN", - "iso": "or_IN" - }, - { - "type": "languageCountryMap", - "language": "pa", - "country": "IN", - "iso": "pa_IN" - }, - { - "type": "languageCountryMap", - "language": "pa", - "country": "PK", - "iso": "pa_PK" - }, - { - "type": "languageCountryMap", - "language": "pl", - "country": "PL", - "iso": "pl_PL" - }, - { - "type": "languageCountryMap", - "language": "ps", - "country": "AF", - "iso": "ps_AF" - }, - { - "type": "languageCountryMap", - "language": "pt", - "country": "BR", - "iso": "pt_BR" - }, - { - "type": "languageCountryMap", - "language": "pt", - "country": "PT", - "iso": "pt_PT" - }, - { - "type": "languageCountryMap", - "language": "ro", - "country": "RO", - "iso": "ro_RO" - }, - { - "type": "languageCountryMap", - "language": "ru", - "country": "RU", - "iso": "ru_RU" - }, - { - "type": "languageCountryMap", - "language": "ru", - "country": "UA", - "iso": "ru_UA" - }, - { - "type": "languageCountryMap", - "language": "rw", - "country": "RW", - "iso": "rw_RW" - }, - { - "type": "languageCountryMap", - "language": "sa", - "country": "IN", - "iso": "sa_IN" - }, - { - "type": "languageCountryMap", - "language": "se", - "country": "NO", - "iso": "se_NO" - }, - { - "type": "languageCountryMap", - "language": "sh", - "country": "BA", - "iso": "sh_BA" - }, - { - "type": "languageCountryMap", - "language": "sh", - "country": "CS", - "iso": "sh_CS" - }, - { - "type": "languageCountryMap", - "language": "sh", - "country": "YU", - "iso": "sh_YU" - }, - { - "type": "languageCountryMap", - "language": "sk", - "country": "SK", - "iso": "sk_SK" - }, - { - "type": "languageCountryMap", - "language": "sl", - "country": "SI", - "iso": "sl_SI" - }, - { - "type": "languageCountryMap", - "language": "so", - "country": "DJ", - "iso": "so_DJ" - }, - { - "type": "languageCountryMap", - "language": "so", - "country": "ET", - "iso": "so_ET" - }, - { - "type": "languageCountryMap", - "language": "so", - "country": "KE", - "iso": "so_KE" - }, - { - "type": "languageCountryMap", - "language": "so", - "country": "SO", - "iso": "so_SO" - }, - { - "type": "languageCountryMap", - "language": "sq", - "country": "AL", - "iso": "sq_AL" - }, - { - "type": "languageCountryMap", - "language": "sr", - "country": "BA", - "iso": "sr_BA" - }, - { - "type": "languageCountryMap", - "language": "sr", - "country": "CS", - "iso": "sr_CS" - }, - { - "type": "languageCountryMap", - "language": "sr", - "country": "YU", - "iso": "sr_YU" - }, - { - "type": "languageCountryMap", - "language": "ss", - "country": "ZA", - "iso": "ss_ZA" - }, - { - "type": "languageCountryMap", - "language": "st", - "country": "ZA", - "iso": "st_ZA" - }, - { - "type": "languageCountryMap", - "language": "sv", - "country": "FI", - "iso": "sv_FI" - }, - { - "type": "languageCountryMap", - "language": "sv", - "country": "SE", - "iso": "sv_SE" - }, - { - "type": "languageCountryMap", - "language": "sw", - "country": "KE", - "iso": "sw_KE" - }, - { - "type": "languageCountryMap", - "language": "sw", - "country": "TZ", - "iso": "sw_TZ" - }, - { - "type": "languageCountryMap", - "language": "ta", - "country": "IN", - "iso": "ta_IN" - }, - { - "type": "languageCountryMap", - "language": "te", - "country": "IN", - "iso": "te_IN" - }, - { - "type": "languageCountryMap", - "language": "tg", - "country": "TJ", - "iso": "tg_TJ" - }, - { - "type": "languageCountryMap", - "language": "th", - "country": "TH", - "iso": "th_TH" - }, - { - "type": "languageCountryMap", - "language": "ti", - "country": "ER", - "iso": "ti_ER" - }, - { - "type": "languageCountryMap", - "language": "ti", - "country": "ET", - "iso": "ti_ET" - }, - { - "type": "languageCountryMap", - "language": "tn", - "country": "ZA", - "iso": "tn_ZA" - }, - { - "type": "languageCountryMap", - "language": "tr", - "country": "TR", - "iso": "tr_TR" - }, - { - "type": "languageCountryMap", - "language": "ts", - "country": "ZA", - "iso": "ts_ZA" - }, - { - "type": "languageCountryMap", - "language": "tt", - "country": "RU", - "iso": "tt_RU" - }, - { - "type": "languageCountryMap", - "language": "uk", - "country": "UA", - "iso": "uk_UA" - }, - { - "type": "languageCountryMap", - "language": "ur", - "country": "IN", - "iso": "ur_IN" - }, - { - "type": "languageCountryMap", - "language": "ur", - "country": "PK", - "iso": "ur_PK" - }, - { - "type": "languageCountryMap", - "language": "uz", - "country": "AF", - "iso": "uz_AF" - }, - { - "type": "languageCountryMap", - "language": "uz", - "country": "UZ", - "iso": "uz_UZ" - }, - { - "type": "languageCountryMap", - "language": "ve", - "country": "ZA", - "iso": "ve_ZA" - }, - { - "type": "languageCountryMap", - "language": "vi", - "country": "VN", - "iso": "vi_VN" - }, - { - "type": "languageCountryMap", - "language": "xh", - "country": "ZA", - "iso": "xh_ZA" - }, - { - "type": "languageCountryMap", - "language": "yo", - "country": "NG", - "iso": "yo_NG" - }, - { - "type": "languageCountryMap", - "language": "zh", - "country": "CN", - "iso": "zh_CN" - }, - { - "type": "languageCountryMap", - "language": "zh", - "country": "HK", - "iso": "zh_HK" - }, - { - "type": "languageCountryMap", - "language": "zh", - "country": "MO", - "iso": "zh_MO" - }, - { - "type": "languageCountryMap", - "language": "zh", - "country": "SG", - "iso": "zh_SG" - }, - { - "type": "languageCountryMap", - "language": "zh", - "country": "TW", - "iso": "zh_TW" - }, - { - "type": "languageCountryMap", - "language": "zu", - "country": "ZA", - "iso": "zu_ZA" - }, - { - "type": "continent", - "name": "Africa", - "iso": "Africa" - }, - { - "type": "continent", - "name": "Asia", - "iso": "Asia" - }, - { - "type": "continent", - "name": "Europe", - "iso": "Europe" - }, - { - "type": "continent", - "name": "North America", - "iso": "North America" - }, - { - "type": "continent", - "name": "South America", - "iso": "South America" - }, - { - "type": "continent", - "name": "Oceania", - "iso": "Oceania" - }, - { - "type": "continent", - "name": "Antarctica", - "iso": "Antarctica" - }, - { - "type": "country", - "iso": "AF", - "name": "Afghanistan", - "href": "http://en.wikipedia.org/wiki/Afghanistan", - "continent": "Asia", - "languages": [ - { - "_reference": "fa" - }, - { - "_reference": "ps" - }, - { - "_reference": "uz" - } - ] - }, - { - "type": "country", - "iso": "AX", - "name": "Åland Islands", - "href": "http://en.wikipedia.org/wiki/%C3%85land", - "languages": [ - ] - }, - { - "type": "country", - "iso": "AL", - "name": "Albania", - "href": "http://en.wikipedia.org/wiki/Albania", - "continent": "Europe", - "languages": [ - { - "_reference": "sq" - } - ] - }, - { - "type": "country", - "iso": "DZ", - "name": "Algeria", - "href": "http://en.wikipedia.org/wiki/Algeria", - "continent": "Africa", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "AS", - "name": "American Samoa", - "href": "http://en.wikipedia.org/wiki/American_Samoa", - "continent": "Oceania", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "AD", - "name": "Andorra", - "href": "http://en.wikipedia.org/wiki/Andorra", - "continent": "Europe", - "languages": [ - ] - }, - { - "type": "country", - "iso": "AO", - "name": "Angola", - "href": "http://en.wikipedia.org/wiki/Angola", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "AI", - "name": "Anguilla", - "href": "http://en.wikipedia.org/wiki/Anguilla", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "AQ", - "name": "Antarctica", - "href": "http://en.wikipedia.org/wiki/Antarctica", - "languages": [ - ] - }, - { - "type": "country", - "iso": "AG", - "name": "Antigua and Barbuda", - "href": "http://en.wikipedia.org/wiki/Antigua_and_Barbuda", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "AR", - "name": "Argentina", - "href": "http://en.wikipedia.org/wiki/Argentina", - "continent": "South America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "AM", - "name": "Armenia", - "href": "http://en.wikipedia.org/wiki/Armenia", - "continent": "Asia", - "languages": [ - { - "_reference": "hy" - } - ] - }, - { - "type": "country", - "iso": "AW", - "name": "Aruba", - "href": "http://en.wikipedia.org/wiki/Aruba", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "AU", - "name": "Australia", - "href": "http://en.wikipedia.org/wiki/Australia", - "continent": "Oceania", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "AT", - "name": "Austria", - "href": "http://en.wikipedia.org/wiki/Austria", - "continent": "Europe", - "languages": [ - { - "_reference": "de" - } - ] - }, - { - "type": "country", - "iso": "AZ", - "name": "Azerbaijan", - "href": "http://en.wikipedia.org/wiki/Azerbaijan", - "continent": "Asia", - "languages": [ - { - "_reference": "az" - } - ] - }, - { - "type": "country", - "iso": "BS", - "name": "Bahamas", - "href": "http://en.wikipedia.org/wiki/The_Bahamas", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "BH", - "name": "Bahrain", - "href": "http://en.wikipedia.org/wiki/Bahrain", - "continent": "Asia", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "BD", - "name": "Bangladesh", - "href": "http://en.wikipedia.org/wiki/Bangladesh", - "continent": "Asia", - "languages": [ - { - "_reference": "bn" - } - ] - }, - { - "type": "country", - "iso": "BB", - "name": "Barbados", - "href": "http://en.wikipedia.org/wiki/Barbados", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "BY", - "name": "Belarus", - "href": "http://en.wikipedia.org/wiki/Belarus", - "continent": "Europe", - "languages": [ - { - "_reference": "be" - } - ] - }, - { - "type": "country", - "iso": "BE", - "name": "Belgium", - "href": "http://en.wikipedia.org/wiki/Belgium", - "continent": "Europe", - "languages": [ - { - "_reference": "de" - }, - { - "_reference": "en" - }, - { - "_reference": "fr" - }, - { - "_reference": "nl" - } - ] - }, - { - "type": "country", - "iso": "BZ", - "name": "Belize", - "href": "http://en.wikipedia.org/wiki/Belize", - "continent": "North America", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "BJ", - "name": "Benin", - "href": "http://en.wikipedia.org/wiki/Benin", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "BM", - "name": "Bermuda", - "href": "http://en.wikipedia.org/wiki/Bermuda", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "BT", - "name": "Bhutan", - "href": "http://en.wikipedia.org/wiki/Bhutan", - "continent": "Asia", - "languages": [ - { - "_reference": "dz" - } - ] - }, - { - "type": "country", - "iso": "BO", - "name": "Bolivia", - "href": "http://en.wikipedia.org/wiki/Bolivia", - "continent": "South America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "BA", - "name": "Bosnia and Herzegovina", - "href": "http://en.wikipedia.org/wiki/Bosnia_and_Herzegovina", - "continent": "Europe", - "languages": [ - { - "_reference": "bs" - }, - { - "_reference": "sh" - }, - { - "_reference": "sr" - } - ] - }, - { - "type": "country", - "iso": "BW", - "name": "Botswana", - "href": "http://en.wikipedia.org/wiki/Botswana", - "continent": "Africa", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "BV", - "name": "Bouvet Island", - "href": "http://en.wikipedia.org/wiki/Bouvet_Island", - "continent": "Antarctica", - "languages": [ - ] - }, - { - "type": "country", - "iso": "BR", - "name": "Brazil", - "href": "http://en.wikipedia.org/wiki/Brazil", - "continent": "South America", - "languages": [ - { - "_reference": "pt" - } - ] - }, - { - "type": "country", - "iso": "IO", - "name": "British Indian Ocean Territory", - "href": "http://en.wikipedia.org/wiki/British_Indian_Ocean_Territory", - "continent": "Asia", - "languages": [ - ] - }, - { - "type": "country", - "iso": "BN", - "name": "Brunei Darussalam", - "href": "http://en.wikipedia.org/wiki/Brunei", - "languages": [ - { - "_reference": "ms" - } - ] - }, - { - "type": "country", - "iso": "BG", - "name": "Bulgaria", - "href": "http://en.wikipedia.org/wiki/Bulgaria", - "continent": "Europe", - "languages": [ - { - "_reference": "bg" - } - ] - }, - { - "type": "country", - "iso": "BF", - "name": "Burkina Faso", - "href": "http://en.wikipedia.org/wiki/Burkina_Faso", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "BI", - "name": "Burundi", - "href": "http://en.wikipedia.org/wiki/Burundi", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "KH", - "name": "Cambodia", - "href": "http://en.wikipedia.org/wiki/Cambodia", - "continent": "Asia", - "languages": [ - { - "_reference": "km" - } - ] - }, - { - "type": "country", - "iso": "CM", - "name": "Cameroon", - "href": "http://en.wikipedia.org/wiki/Cameroon", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "CA", - "name": "Canada", - "href": "http://en.wikipedia.org/wiki/Canada", - "continent": "North America", - "languages": [ - { - "_reference": "en" - }, - { - "_reference": "fr" - } - ] - }, - { - "type": "country", - "iso": "CV", - "name": "Cape Verde", - "href": "http://en.wikipedia.org/wiki/Cape_Verde", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "KY", - "name": "Cayman Islands", - "href": "http://en.wikipedia.org/wiki/Cayman_Islands", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "CF", - "name": "Central African Republic", - "href": "http://en.wikipedia.org/wiki/Central_African_Republic", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "TD", - "name": "Chad", - "href": "http://en.wikipedia.org/wiki/Chad", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "CL", - "name": "Chile", - "href": "http://en.wikipedia.org/wiki/Chile", - "continent": "South America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "CN", - "name": "China", - "continent": "Asia", - "href": "http://en.wikipedia.org/wiki/People%27s_Republic_of_China", - "languages": [ - { - "_reference": "zh" - } - ] - }, - { - "type": "country", - "iso": "CX", - "name": "Christmas Island", - "href": "http://en.wikipedia.org/wiki/Christmas_Island", - "continent": "Asia", - "languages": [ - ] - }, - { - "type": "country", - "iso": "CC", - "name": "Cocos (Keeling) Islands", - "href": "http://en.wikipedia.org/wiki/Cocos_%28Keeling%29_Islands", - "continent": "Asia", - "languages": [ - ] - }, - { - "type": "country", - "iso": "CO", - "name": "Colombia", - "href": "http://en.wikipedia.org/wiki/Colombia", - "continent": "South America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "KM", - "name": "Comoros", - "href": "http://en.wikipedia.org/wiki/Comoros", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "CG", - "name": "Congo", - "href": "http://en.wikipedia.org/wiki/Republic_of_the_Congo", - "languages": [ - { - "_reference": "ln" - } - ] - }, - { - "type": "country", - "iso": "CD", - "name": "Congo, Democratic Republic of the", - "href": "http://en.wikipedia.org/wiki/Democratic_Republic_of_the_Congo", - "languages": [ - { - "_reference": "ln" - } - ] - }, - { - "type": "country", - "iso": "CK", - "name": "Cook Islands", - "href": "http://en.wikipedia.org/wiki/Cook_Islands", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "CR", - "name": "Costa Rica", - "href": "http://en.wikipedia.org/wiki/Costa_Rica", - "continent": "North America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "CI", - "name": "Côte d'Ivoire", - "href": "http://en.wikipedia.org/wiki/C%C3%B4te_d%27Ivoire", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "HR", - "name": "Croatia", - "href": "http://en.wikipedia.org/wiki/Croatia", - "continent": "Europe", - "languages": [ - { - "_reference": "hr" - } - ] - }, - { - "type": "country", - "iso": "CU", - "name": "Cuba", - "href": "http://en.wikipedia.org/wiki/Cuba", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "CY", - "name": "Cyprus", - "href": "http://en.wikipedia.org/wiki/Cyprus", - "continent": "Asia", - "languages": [ - { - "_reference": "el" - } - ] - }, - { - "type": "country", - "iso": "CZ", - "name": "Czech Republic", - "href": "http://en.wikipedia.org/wiki/Czech_Republic", - "continent": "Europe", - "languages": [ - { - "_reference": "cs" - } - ] - }, - { - "type": "country", - "iso": "DK", - "name": "Denmark", - "href": "http://en.wikipedia.org/wiki/Denmark", - "continent": "Europe", - "languages": [ - { - "_reference": "da" - } - ] - }, - { - "type": "country", - "iso": "DJ", - "name": "Djibouti", - "href": "http://en.wikipedia.org/wiki/Djibouti", - "continent": "Africa", - "languages": [ - { - "_reference": "aa" - }, - { - "_reference": "so" - } - ] - }, - { - "type": "country", - "iso": "DM", - "name": "Dominica", - "href": "http://en.wikipedia.org/wiki/Dominica", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "DO", - "name": "Dominican Republic", - "href": "http://en.wikipedia.org/wiki/Dominican_Republic", - "continent": "North America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "EC", - "name": "Ecuador", - "href": "http://en.wikipedia.org/wiki/Ecuador", - "continent": "South America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "EG", - "name": "Egypt", - "href": "http://en.wikipedia.org/wiki/Egypt", - "continent": "Africa", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "SV", - "name": "El Salvador", - "href": "http://en.wikipedia.org/wiki/El_Salvador", - "continent": "North America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "GQ", - "name": "Equatorial Guinea", - "href": "http://en.wikipedia.org/wiki/Equatorial_Guinea", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "ER", - "name": "Eritrea", - "href": "http://en.wikipedia.org/wiki/Eritrea", - "continent": "Africa", - "languages": [ - { - "_reference": "aa" - }, - { - "_reference": "ti" - } - ] - }, - { - "type": "country", - "iso": "EE", - "name": "Estonia", - "href": "http://en.wikipedia.org/wiki/Estonia", - "continent": "Europe", - "languages": [ - { - "_reference": "et" - } - ] - }, - { - "type": "country", - "iso": "ET", - "name": "Ethiopia", - "href": "http://en.wikipedia.org/wiki/Ethiopia", - "continent": "Africa", - "languages": [ - { - "_reference": "aa" - }, - { - "_reference": "am" - }, - { - "_reference": "om" - }, - { - "_reference": "so" - }, - { - "_reference": "ti" - } - ] - }, - { - "type": "country", - "iso": "FK", - "name": "Falkland Islands (Malvinas)", - "href": "http://en.wikipedia.org/wiki/Falkland_Islands", - "languages": [ - ] - }, - { - "type": "country", - "iso": "FO", - "name": "Faroe Islands", - "href": "http://en.wikipedia.org/wiki/Faroe_Islands", - "continent": "Europe", - "languages": [ - { - "_reference": "fo" - } - ] - }, - { - "type": "country", - "iso": "FJ", - "name": "Fiji", - "href": "http://en.wikipedia.org/wiki/Fiji", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "FI", - "name": "Finland", - "href": "http://en.wikipedia.org/wiki/Finland", - "continent": "Europe", - "languages": [ - { - "_reference": "fi" - }, - { - "_reference": "sv" - } - ] - }, - { - "type": "country", - "iso": "FR", - "name": "France", - "href": "http://en.wikipedia.org/wiki/France", - "continent": "Europe", - "languages": [ - { - "_reference": "fr" - } - ] - }, - { - "type": "country", - "iso": "GF", - "name": "French Guiana", - "href": "http://en.wikipedia.org/wiki/French_Guiana", - "continent": "South America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "PF", - "name": "French Polynesia", - "href": "http://en.wikipedia.org/wiki/French_Polynesia", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "TF", - "name": "French Southern Territories", - "href": "http://en.wikipedia.org/wiki/French_Southern_and_Antarctic_Lands", - "continent": "Antarctica", - "languages": [ - ] - }, - { - "type": "country", - "iso": "GA", - "name": "Gabon", - "href": "http://en.wikipedia.org/wiki/Gabon", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "GM", - "name": "Gambia", - "href": "http://en.wikipedia.org/wiki/The_Gambia", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "GE", - "name": "Georgia", - "href": "http://en.wikipedia.org/wiki/Georgia_%28country%29", - "continent": "Asia", - "languages": [ - { - "_reference": "ka" - } - ] - }, - { - "type": "country", - "iso": "DE", - "name": "Germany", - "href": "http://en.wikipedia.org/wiki/Germany", - "continent": "Europe", - "languages": [ - { - "_reference": "de" - } - ] - }, - { - "type": "country", - "iso": "GH", - "name": "Ghana", - "href": "http://en.wikipedia.org/wiki/Ghana", - "continent": "Africa", - "languages": [ - { - "_reference": "ak" - }, - { - "_reference": "ee" - }, - { - "_reference": "ha" - } - ] - }, - { - "type": "country", - "iso": "GI", - "name": "Gibraltar", - "href": "http://en.wikipedia.org/wiki/Gibraltar", - "continent": "Europe", - "languages": [ - ] - }, - { - "type": "country", - "iso": "GR", - "name": "Greece", - "href": "http://en.wikipedia.org/wiki/Greece", - "continent": "Europe", - "languages": [ - { - "_reference": "el" - } - ] - }, - { - "type": "country", - "iso": "GL", - "name": "Greenland", - "href": "http://en.wikipedia.org/wiki/Greenland", - "continent": "North America", - "languages": [ - { - "_reference": "kl" - } - ] - }, - { - "type": "country", - "iso": "GD", - "name": "Grenada", - "href": "http://en.wikipedia.org/wiki/Grenada", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "GP", - "name": "Guadeloupe", - "href": "http://en.wikipedia.org/wiki/Guadeloupe", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "GU", - "name": "Guam", - "href": "http://en.wikipedia.org/wiki/Guam", - "continent": "Oceania", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "GT", - "name": "Guatemala", - "href": "http://en.wikipedia.org/wiki/Guatemala", - "continent": "North America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "GG", - "name": "Guernsey", - "href": "http://en.wikipedia.org/wiki/Guernsey", - "continent": "Europe", - "languages": [ - ] - }, - { - "type": "country", - "iso": "GN", - "name": "Guinea", - "href": "http://en.wikipedia.org/wiki/Guinea", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "GW", - "name": "Guinea-Bissau", - "href": "http://en.wikipedia.org/wiki/Guinea-Bissau", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "GY", - "name": "Guyana", - "href": "http://en.wikipedia.org/wiki/Guyana", - "continent": "South America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "HT", - "name": "Haiti", - "href": "http://en.wikipedia.org/wiki/Haiti", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "HM", - "name": "Heard Island and McDonald Islands", - "href": "http://en.wikipedia.org/wiki/Heard_Island_and_McDonald_Islands", - "continent": "Antarctica", - "languages": [ - ] - }, - { - "type": "country", - "iso": "VA", - "name": "Holy See (Vatican City State)", - "href": "http://en.wikipedia.org/wiki/Vatican_City", - "languages": [ - ] - }, - { - "type": "country", - "iso": "HN", - "name": "Honduras", - "href": "http://en.wikipedia.org/wiki/Honduras", - "continent": "North America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "HK", - "name": "Hong Kong", - "href": "http://en.wikipedia.org/wiki/Hong_Kong", - "continent": "Asia", - "languages": [ - { - "_reference": "en" - }, - { - "_reference": "zh" - } - ] - }, - { - "type": "country", - "iso": "HU", - "name": "Hungary", - "href": "http://en.wikipedia.org/wiki/Hungary", - "continent": "Europe", - "languages": [ - { - "_reference": "hu" - } - ] - }, - { - "type": "country", - "iso": "IS", - "name": "Iceland", - "href": "http://en.wikipedia.org/wiki/Iceland", - "continent": "Europe", - "languages": [ - { - "_reference": "is" - } - ] - }, - { - "type": "country", - "iso": "IN", - "name": "India", - "href": "http://en.wikipedia.org/wiki/India", - "continent": "Asia", - "languages": [ - { - "_reference": "as" - }, - { - "_reference": "bn" - }, - { - "_reference": "en" - }, - { - "_reference": "gu" - }, - { - "_reference": "hi" - }, - { - "_reference": "kn" - }, - { - "_reference": "ml" - }, - { - "_reference": "mr" - }, - { - "_reference": "or" - }, - { - "_reference": "pa" - }, - { - "_reference": "sa" - }, - { - "_reference": "ta" - }, - { - "_reference": "te" - }, - { - "_reference": "ur" - } - ] - }, - { - "type": "country", - "iso": "ID", - "name": "Indonesia", - "href": "http://en.wikipedia.org/wiki/Indonesia", - "continent": "Asia", - "languages": [ - { - "_reference": "id" - } - ] - }, - { - "type": "country", - "iso": "IR", - "name": "Iran, Islamic Republic of", - "href": "http://en.wikipedia.org/wiki/Iran", - "languages": [ - { - "_reference": "fa" - }, - { - "_reference": "ku" - } - ] - }, - { - "type": "country", - "iso": "IQ", - "name": "Iraq", - "href": "http://en.wikipedia.org/wiki/Iraq", - "continent": "Asia", - "languages": [ - { - "_reference": "ar" - }, - { - "_reference": "ku" - } - ] - }, - { - "type": "country", - "iso": "IE", - "name": "Ireland", - "href": "http://en.wikipedia.org/wiki/Republic_of_Ireland", - "continent": "Europe", - "languages": [ - { - "_reference": "en" - }, - { - "_reference": "ga" - } - ] - }, - { - "type": "country", - "iso": "IM", - "name": "Isle of Man", - "href": "http://en.wikipedia.org/wiki/Isle_of_Man", - "continent": "Europe", - "languages": [ - ] - }, - { - "type": "country", - "iso": "IL", - "name": "Israel", - "href": "http://en.wikipedia.org/wiki/Israel", - "continent": "Asia", - "languages": [ - { - "_reference": "he" - } - ] - }, - { - "type": "country", - "iso": "IT", - "name": "Italy", - "href": "http://en.wikipedia.org/wiki/Italy", - "continent": "Europe", - "languages": [ - { - "_reference": "it" - } - ] - }, - { - "type": "country", - "iso": "JM", - "name": "Jamaica", - "href": "http://en.wikipedia.org/wiki/Jamaica", - "continent": "North America", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "JP", - "name": "Japan", - "href": "http://en.wikipedia.org/wiki/Japan", - "continent": "Asia", - "languages": [ - { - "_reference": "ja" - } - ] - }, - { - "type": "country", - "iso": "JE", - "name": "Jersey", - "href": "http://en.wikipedia.org/wiki/Jersey", - "continent": "Europe", - "languages": [ - ] - }, - { - "type": "country", - "iso": "JO", - "name": "Jordan", - "href": "http://en.wikipedia.org/wiki/Jordan", - "continent": "Asia", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "KZ", - "name": "Kazakhstan", - "href": "http://en.wikipedia.org/wiki/Kazakhstan", - "continent": "Asia", - "languages": [ - { - "_reference": "kk" - } - ] - }, - { - "type": "country", - "iso": "KE", - "name": "Kenya", - "href": "http://en.wikipedia.org/wiki/Kenya", - "continent": "Africa", - "languages": [ - { - "_reference": "om" - }, - { - "_reference": "so" - }, - { - "_reference": "sw" - } - ] - }, - { - "type": "country", - "iso": "KI", - "name": "Kiribati", - "href": "http://en.wikipedia.org/wiki/Kiribati", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "KP", - "name": "Korea, Democratic People's Republic of", - "href": "http://en.wikipedia.org/wiki/North_Korea", - "continent": "Asia", - "languages": [ - ] - }, - { - "type": "country", - "iso": "KR", - "name": "Korea, Republic of", - "href": "http://en.wikipedia.org/wiki/South_Korea", - "continent": "Asia", - "languages": [ - { - "_reference": "ko" - } - ] - }, - { - "type": "country", - "iso": "KW", - "name": "Kuwait", - "href": "http://en.wikipedia.org/wiki/Kuwait", - "continent": "Asia", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "KG", - "name": "Kyrgyzstan", - "href": "http://en.wikipedia.org/wiki/Kyrgyzstan", - "continent": "Asia", - "languages": [ - { - "_reference": "ky" - } - ] - }, - { - "type": "country", - "iso": "LA", - "name": "Lao People's Democratic Republic", - "href": "http://en.wikipedia.org/wiki/Laos", - "languages": [ - { - "_reference": "lo" - } - ] - }, - { - "type": "country", - "iso": "LV", - "name": "Latvia", - "href": "http://en.wikipedia.org/wiki/Latvia", - "continent": "Europe", - "languages": [ - { - "_reference": "lv" - } - ] - }, - { - "type": "country", - "iso": "LB", - "name": "Lebanon", - "href": "http://en.wikipedia.org/wiki/Lebanon", - "continent": "Asia", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "LS", - "name": "Lesotho", - "href": "http://en.wikipedia.org/wiki/Lesotho", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "LR", - "name": "Liberia", - "href": "http://en.wikipedia.org/wiki/Liberia", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "LY", - "name": "Libyan Arab Jamahiriya", - "href": "http://en.wikipedia.org/wiki/Libya", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "LI", - "name": "Liechtenstein", - "href": "http://en.wikipedia.org/wiki/Liechtenstein", - "continent": "Europe", - "languages": [ - { - "_reference": "de" - } - ] - }, - { - "type": "country", - "iso": "LT", - "name": "Lithuania", - "href": "http://en.wikipedia.org/wiki/Lithuania", - "continent": "Europe", - "languages": [ - { - "_reference": "lt" - } - ] - }, - { - "type": "country", - "iso": "LU", - "name": "Luxembourg", - "href": "http://en.wikipedia.org/wiki/Luxembourg", - "continent": "Europe", - "languages": [ - { - "_reference": "de" - }, - { - "_reference": "fr" - } - ] - }, - { - "type": "country", - "iso": "MO", - "name": "Macao", - "href": "http://en.wikipedia.org/wiki/Macau", - "languages": [ - { - "_reference": "zh" - } - ] - }, - { - "type": "country", - "iso": "MK", - "name": "Macedonia, the former Yugoslav Republic of", - "href": "http://en.wikipedia.org/wiki/Republic_of_Macedonia", - "languages": [ - { - "_reference": "mk" - } - ] - }, - { - "type": "country", - "iso": "MG", - "name": "Madagascar", - "href": "http://en.wikipedia.org/wiki/Madagascar", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "MW", - "name": "Malawi", - "href": "http://en.wikipedia.org/wiki/Malawi", - "continent": "Africa", - "languages": [ - { - "_reference": "ny" - } - ] - }, - { - "type": "country", - "iso": "MY", - "name": "Malaysia", - "href": "http://en.wikipedia.org/wiki/Malaysia", - "continent": "Asia", - "languages": [ - { - "_reference": "ms" - } - ] - }, - { - "type": "country", - "iso": "MV", - "name": "Maldives", - "href": "http://en.wikipedia.org/wiki/Maldives", - "continent": "Asia", - "languages": [ - { - "_reference": "dv" - } - ] - }, - { - "type": "country", - "iso": "ML", - "name": "Mali", - "href": "http://en.wikipedia.org/wiki/Mali", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "MT", - "name": "Malta", - "href": "http://en.wikipedia.org/wiki/Malta", - "continent": "Europe", - "languages": [ - { - "_reference": "en" - }, - { - "_reference": "mt" - } - ] - }, - { - "type": "country", - "iso": "MH", - "name": "Marshall Islands", - "href": "http://en.wikipedia.org/wiki/Marshall_Islands", - "continent": "Oceania", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "MQ", - "name": "Martinique", - "href": "http://en.wikipedia.org/wiki/Martinique", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "MR", - "name": "Mauritania", - "href": "http://en.wikipedia.org/wiki/Mauritania", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "MU", - "name": "Mauritius", - "href": "http://en.wikipedia.org/wiki/Mauritius", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "YT", - "name": "Mayotte", - "href": "http://en.wikipedia.org/wiki/Mayotte", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "MX", - "name": "Mexico", - "href": "http://en.wikipedia.org/wiki/Mexico", - "continent": "North America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "FM", - "name": "Micronesia, Federated States of", - "href": "http://en.wikipedia.org/wiki/Federated_States_of_Micronesia", - "languages": [ - ] - }, - { - "type": "country", - "iso": "MD", - "name": "Moldova, Republic of", - "href": "http://en.wikipedia.org/wiki/Moldova", - "languages": [ - ] - }, - { - "type": "country", - "iso": "MC", - "name": "Monaco", - "href": "http://en.wikipedia.org/wiki/Monaco", - "continent": "Europe", - "languages": [ - { - "_reference": "fr" - } - ] - }, - { - "type": "country", - "iso": "MN", - "name": "Mongolia", - "href": "http://en.wikipedia.org/wiki/Mongolia", - "continent": "Asia", - "languages": [ - { - "_reference": "mn" - } - ] - }, - { - "type": "country", - "iso": "ME", - "name": "Montenegro", - "href": "http://en.wikipedia.org/wiki/Montenegro", - "continent": "Europe", - "languages": [ - ] - }, - { - "type": "country", - "iso": "MS", - "name": "Montserrat", - "href": "http://en.wikipedia.org/wiki/Montserrat", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "MA", - "name": "Morocco", - "href": "http://en.wikipedia.org/wiki/Morocco", - "continent": "Africa", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "MZ", - "name": "Mozambique", - "href": "http://en.wikipedia.org/wiki/Mozambique", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "MM", - "name": "Myanmar", - "href": "http://en.wikipedia.org/wiki/Myanmar", - "continent": "Asia", - "languages": [ - ] - }, - { - "type": "country", - "iso": "NA", - "name": "Namibia", - "href": "http://en.wikipedia.org/wiki/Namibia", - "continent": "Africa", - "languages": [ - { - "_reference": "af" - }, - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "NR", - "name": "Nauru", - "href": "http://en.wikipedia.org/wiki/Nauru", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "NP", - "name": "Nepal", - "href": "http://en.wikipedia.org/wiki/Nepal", - "continent": "Asia", - "languages": [ - { - "_reference": "ne" - } - ] - }, - { - "type": "country", - "iso": "NL", - "name": "Netherlands", - "href": "http://en.wikipedia.org/wiki/Netherlands", - "continent": "Europe", - "languages": [ - { - "_reference": "nl" - } - ] - }, - { - "type": "country", - "iso": "AN", - "name": "Netherlands Antilles", - "href": "http://en.wikipedia.org/wiki/Netherlands_Antilles", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "NC", - "name": "New Caledonia", - "href": "http://en.wikipedia.org/wiki/New_Caledonia", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "NZ", - "name": "New Zealand", - "href": "http://en.wikipedia.org/wiki/New_Zealand", - "continent": "Oceania", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "NI", - "name": "Nicaragua", - "href": "http://en.wikipedia.org/wiki/Nicaragua", - "continent": "North America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "NE", - "name": "Niger", - "href": "http://en.wikipedia.org/wiki/Niger", - "continent": "Africa", - "languages": [ - { - "_reference": "ha" - } - ] - }, - { - "type": "country", - "iso": "NG", - "name": "Nigeria", - "href": "http://en.wikipedia.org/wiki/Nigeria", - "continent": "Africa", - "languages": [ - { - "_reference": "ha" - }, - { - "_reference": "ig" - }, - { - "_reference": "yo" - } - ] - }, - { - "type": "country", - "iso": "NU", - "name": "Niue", - "href": "http://en.wikipedia.org/wiki/Niue", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "NF", - "name": "Norfolk Island", - "href": "http://en.wikipedia.org/wiki/Norfolk_Island", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "MP", - "name": "Northern Mariana Islands", - "href": "http://en.wikipedia.org/wiki/Northern_Mariana_Islands", - "continent": "Oceania", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "NO", - "name": "Norway", - "href": "http://en.wikipedia.org/wiki/Norway", - "continent": "Europe", - "languages": [ - { - "_reference": "nb" - }, - { - "_reference": "nn" - }, - { - "_reference": "se" - } - ] - }, - { - "type": "country", - "iso": "OM", - "name": "Oman", - "href": "http://en.wikipedia.org/wiki/Oman", - "continent": "Asia", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "PK", - "name": "Pakistan", - "href": "http://en.wikipedia.org/wiki/Pakistan", - "continent": "Asia", - "languages": [ - { - "_reference": "en" - }, - { - "_reference": "pa" - }, - { - "_reference": "ur" - } - ] - }, - { - "type": "country", - "iso": "PW", - "name": "Palau", - "href": "http://en.wikipedia.org/wiki/Palau", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "PS", - "name": "Palestinian Territory, Occupied", - "href": "http://en.wikipedia.org/wiki/Palestinian_territories", - "languages": [ - ] - }, - { - "type": "country", - "iso": "PA", - "name": "Panama", - "href": "http://en.wikipedia.org/wiki/Panama", - "continent": "North America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "PG", - "name": "Papua New Guinea", - "href": "http://en.wikipedia.org/wiki/Papua_New_Guinea", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "PY", - "name": "Paraguay", - "href": "http://en.wikipedia.org/wiki/Paraguay", - "continent": "South America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "PE", - "name": "Peru", - "href": "http://en.wikipedia.org/wiki/Peru", - "continent": "South America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "PH", - "name": "Philippines", - "href": "http://en.wikipedia.org/wiki/Philippines", - "continent": "Asia", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "PN", - "name": "Pitcairn", - "href": "http://en.wikipedia.org/wiki/Pitcairn_Islands", - "languages": [ - ] - }, - { - "type": "country", - "iso": "PL", - "name": "Poland", - "href": "http://en.wikipedia.org/wiki/Poland", - "continent": "Europe", - "languages": [ - { - "_reference": "pl" - } - ] - }, - { - "type": "country", - "iso": "PT", - "name": "Portugal", - "href": "http://en.wikipedia.org/wiki/Portugal", - "continent": "Europe", - "languages": [ - { - "_reference": "pt" - } - ] - }, - { - "type": "country", - "iso": "PR", - "name": "Puerto Rico", - "href": "http://en.wikipedia.org/wiki/Puerto_Rico", - "continent": "North America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "QA", - "name": "Qatar", - "href": "http://en.wikipedia.org/wiki/Qatar", - "continent": "Asia", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "RE", - "name": "Réunion", - "href": "http://en.wikipedia.org/wiki/R%C3%A9union", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "RO", - "name": "Romania", - "href": "http://en.wikipedia.org/wiki/Romania", - "continent": "Europe", - "languages": [ - { - "_reference": "ro" - } - ] - }, - { - "type": "country", - "iso": "RU", - "name": "Russian Federation", - "href": "http://en.wikipedia.org/wiki/Russia", - "languages": [ - { - "_reference": "ru" - }, - { - "_reference": "tt" - } - ] - }, - { - "type": "country", - "iso": "RW", - "name": "Rwanda", - "href": "http://en.wikipedia.org/wiki/Rwanda", - "continent": "Africa", - "languages": [ - { - "_reference": "rw" - } - ] - }, - { - "type": "country", - "iso": "SH", - "name": "Saint Helena", - "href": "http://en.wikipedia.org/wiki/Saint_Helena", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "KN", - "name": "Saint Kitts and Nevis", - "href": "http://en.wikipedia.org/wiki/Saint_Kitts_and_Nevis", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "LC", - "name": "Saint Lucia", - "href": "http://en.wikipedia.org/wiki/Saint_Lucia", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "PM", - "name": "Saint Pierre and Miquelon", - "href": "http://en.wikipedia.org/wiki/Saint_Pierre_and_Miquelon", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "VC", - "name": "Saint Vincent and the Grenadines", - "href": "http://en.wikipedia.org/wiki/Saint_Vincent_and_the_Grenadines", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "WS", - "name": "Samoa", - "href": "http://en.wikipedia.org/wiki/Samoa", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "SM", - "name": "San Marino", - "href": "http://en.wikipedia.org/wiki/San_Marino", - "continent": "Europe", - "languages": [ - ] - }, - { - "type": "country", - "iso": "ST", - "name": "Sao Tome and Principe", - "href": "http://en.wikipedia.org/wiki/S%C3%A3o_Tom%C3%A9_and_Pr%C3%ADncipe", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "SA", - "name": "Saudi Arabia", - "href": "http://en.wikipedia.org/wiki/Saudi_Arabia", - "continent": "Asia", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "SN", - "name": "Senegal", - "href": "http://en.wikipedia.org/wiki/Senegal", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "RS", - "name": "Serbia", - "href": "http://en.wikipedia.org/wiki/Serbia", - "continent": "Europe", - "languages": [ - ] - }, - { - "type": "country", - "iso": "SC", - "name": "Seychelles", - "href": "http://en.wikipedia.org/wiki/Seychelles", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "SL", - "name": "Sierra Leone", - "href": "http://en.wikipedia.org/wiki/Sierra_Leone", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "SG", - "name": "Singapore", - "href": "http://en.wikipedia.org/wiki/Singapore", - "continent": "Asia", - "languages": [ - { - "_reference": "en" - }, - { - "_reference": "zh" - } - ] - }, - { - "type": "country", - "iso": "SK", - "name": "Slovakia", - "href": "http://en.wikipedia.org/wiki/Slovakia", - "continent": "Europe", - "languages": [ - { - "_reference": "sk" - } - ] - }, - { - "type": "country", - "iso": "SI", - "name": "Slovenia", - "href": "http://en.wikipedia.org/wiki/Slovenia", - "continent": "Europe", - "languages": [ - { - "_reference": "sl" - } - ] - }, - { - "type": "country", - "iso": "SB", - "name": "Solomon Islands", - "href": "http://en.wikipedia.org/wiki/Solomon_Islands", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "SO", - "name": "Somalia", - "href": "http://en.wikipedia.org/wiki/Somalia", - "continent": "Africa", - "languages": [ - { - "_reference": "so" - } - ] - }, - { - "type": "country", - "iso": "ZA", - "name": "South Africa", - "href": "http://en.wikipedia.org/wiki/South_Africa", - "continent": "Africa", - "languages": [ - { - "_reference": "af" - }, - { - "_reference": "en" - }, - { - "_reference": "nr" - }, - { - "_reference": "ss" - }, - { - "_reference": "st" - }, - { - "_reference": "tn" - }, - { - "_reference": "ts" - }, - { - "_reference": "ve" - }, - { - "_reference": "xh" - }, - { - "_reference": "zu" - } - ] - }, - { - "type": "country", - "iso": "GS", - "name": "South Georgia and the South Sandwich Islands", - "href": "http://en.wikipedia.org/wiki/South_Georgia_and_the_South_Sandwich_Islands", - "continent": "Antarctica", - "languages": [ - ] - }, - { - "type": "country", - "iso": "ES", - "name": "Spain", - "href": "http://en.wikipedia.org/wiki/Spain", - "continent": "Europe", - "languages": [ - { - "_reference": "ca" - }, - { - "_reference": "es" - }, - { - "_reference": "eu" - }, - { - "_reference": "gl" - } - ] - }, - { - "type": "country", - "iso": "LK", - "name": "Sri Lanka", - "href": "http://en.wikipedia.org/wiki/Sri_Lanka", - "continent": "Asia", - "languages": [ - ] - }, - { - "type": "country", - "iso": "SD", - "name": "Sudan", - "href": "http://en.wikipedia.org/wiki/Sudan", - "continent": "Africa", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "SR", - "name": "Suriname", - "href": "http://en.wikipedia.org/wiki/Suriname", - "continent": "South America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "SJ", - "name": "Svalbard and Jan Mayen", - "href": "http://en.wikipedia.org/wiki/Svalbard_and_Jan_Mayen", - "languages": [ - ] - }, - { - "type": "country", - "iso": "SZ", - "name": "Swaziland", - "href": "http://en.wikipedia.org/wiki/Swaziland", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "SE", - "name": "Sweden", - "href": "http://en.wikipedia.org/wiki/Sweden", - "continent": "Europe", - "languages": [ - { - "_reference": "sv" - } - ] - }, - { - "type": "country", - "iso": "CH", - "name": "Switzerland", - "href": "http://en.wikipedia.org/wiki/Switzerland", - "continent": "Europe", - "languages": [ - { - "_reference": "de" - }, - { - "_reference": "fr" - }, - { - "_reference": "it" - } - ] - }, - { - "type": "country", - "iso": "SY", - "name": "Syrian Arab Republic", - "href": "http://en.wikipedia.org/wiki/Syria", - "languages": [ - { - "_reference": "ar" - }, - { - "_reference": "ku" - } - ] - }, - { - "type": "country", - "iso": "TW", - "name": "Taiwan, Province of China", - "href": "http://en.wikipedia.org/wiki/Republic_of_China", - "languages": [ - { - "_reference": "zh" - } - ] - }, - { - "type": "country", - "iso": "TJ", - "name": "Tajikistan", - "href": "http://en.wikipedia.org/wiki/Tajikistan", - "continent": "Asia", - "languages": [ - { - "_reference": "tg" - } - ] - }, - { - "type": "country", - "iso": "TZ", - "name": "Tanzania, United Republic of", - "href": "http://en.wikipedia.org/wiki/Tanzania", - "languages": [ - { - "_reference": "sw" - } - ] - }, - { - "type": "country", - "iso": "TH", - "name": "Thailand", - "href": "http://en.wikipedia.org/wiki/Thailand", - "continent": "Asia", - "languages": [ - { - "_reference": "th" - } - ] - }, - { - "type": "country", - "iso": "TL", - "name": "Timor-Leste", - "href": "http://en.wikipedia.org/wiki/East_Timor", - "continent": "Asia", - "languages": [ - ] - }, - { - "type": "country", - "iso": "TG", - "name": "Togo", - "href": "http://en.wikipedia.org/wiki/Togo", - "continent": "Africa", - "languages": [ - { - "_reference": "ee" - } - ] - }, - { - "type": "country", - "iso": "TK", - "name": "Tokelau", - "href": "http://en.wikipedia.org/wiki/Tokelau", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "TO", - "name": "Tonga", - "href": "http://en.wikipedia.org/wiki/Tonga", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "TT", - "name": "Trinidad and Tobago", - "href": "http://en.wikipedia.org/wiki/Trinidad_and_Tobago", - "continent": "North America", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "TN", - "name": "Tunisia", - "href": "http://en.wikipedia.org/wiki/Tunisia", - "continent": "Africa", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "TR", - "name": "Turkey", - "href": "http://en.wikipedia.org/wiki/Turkey", - "continent": "Asia", - "languages": [ - { - "_reference": "ku" - }, - { - "_reference": "tr" - } - ] - }, - { - "type": "country", - "iso": "TM", - "name": "Turkmenistan", - "href": "http://en.wikipedia.org/wiki/Turkmenistan", - "continent": "Asia", - "languages": [ - ] - }, - { - "type": "country", - "iso": "TC", - "name": "Turks and Caicos Islands", - "href": "http://en.wikipedia.org/wiki/Turks_and_Caicos_Islands", - "continent": "North America", - "languages": [ - ] - }, - { - "type": "country", - "iso": "TV", - "name": "Tuvalu", - "href": "http://en.wikipedia.org/wiki/Tuvalu", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "UG", - "name": "Uganda", - "href": "http://en.wikipedia.org/wiki/Uganda", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "UA", - "name": "Ukraine", - "href": "http://en.wikipedia.org/wiki/Ukraine", - "continent": "Europe", - "languages": [ - { - "_reference": "ru" - }, - { - "_reference": "uk" - } - ] - }, - { - "type": "country", - "iso": "AE", - "name": "United Arab Emirates", - "href": "http://en.wikipedia.org/wiki/United_Arab_Emirates", - "continent": "Asia", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "GB", - "name": "United Kingdom", - "href": "http://en.wikipedia.org/wiki/United_Kingdom", - "continent": "Europe", - "languages": [ - { - "_reference": "cy" - }, - { - "_reference": "en" - }, - { - "_reference": "gv" - }, - { - "_reference": "kw" - } - ] - }, - { - "type": "country", - "iso": "US", - "name": "United States", - "href": "http://en.wikipedia.org/wiki/United_States", - "continent": "North America", - "languages": [ - { - "_reference": "en" - }, - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "UM", - "name": "United States Minor Outlying Islands", - "href": "http://en.wikipedia.org/wiki/United_States_Minor_Outlying_Islands", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "UY", - "name": "Uruguay", - "href": "http://en.wikipedia.org/wiki/Uruguay", - "continent": "South America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "UZ", - "name": "Uzbekistan", - "href": "http://en.wikipedia.org/wiki/Uzbekistan", - "continent": "Asia", - "languages": [ - { - "_reference": "uz" - } - ] - }, - { - "type": "country", - "iso": "VU", - "name": "Vanuatu", - "href": "http://en.wikipedia.org/wiki/Vanuatu", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "VE", - "name": "Venezuela", - "href": "http://en.wikipedia.org/wiki/Venezuela", - "continent": "South America", - "languages": [ - { - "_reference": "es" - } - ] - }, - { - "type": "country", - "iso": "VN", - "name": "Viet Nam", - "href": "http://en.wikipedia.org/wiki/Vietnam", - "languages": [ - { - "_reference": "vi" - } - ] - }, - { - "type": "country", - "iso": "VG", - "name": "Virgin Islands, British", - "href": "http://en.wikipedia.org/wiki/British_Virgin_Islands", - "languages": [ - ] - }, - { - "type": "country", - "iso": "VI", - "name": "Virgin Islands, U.S.", - "href": "http://en.wikipedia.org/wiki/United_States_Virgin_Islands", - "languages": [ - { - "_reference": "en" - } - ] - }, - { - "type": "country", - "iso": "WF", - "name": "Wallis and Futuna", - "href": "http://en.wikipedia.org/wiki/Wallis_and_Futuna", - "continent": "Oceania", - "languages": [ - ] - }, - { - "type": "country", - "iso": "EH", - "name": "Western Sahara", - "href": "http://en.wikipedia.org/wiki/Western_Sahara", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "YE", - "name": "Yemen", - "href": "http://en.wikipedia.org/wiki/Yemen", - "continent": "Asia", - "languages": [ - { - "_reference": "ar" - } - ] - }, - { - "type": "country", - "iso": "ZM", - "name": "Zambia", - "href": "http://en.wikipedia.org/wiki/Zambia", - "continent": "Africa", - "languages": [ - ] - }, - { - "type": "country", - "iso": "ZW", - "name": "Zimbabwe", - "href": "http://en.wikipedia.org/wiki/Zimbabwe", - "continent": "Africa", - "languages": [ - { - "_reference": "en" - } - ] - } -] -} \ No newline at end of file diff --git a/includes/js/dijit/demos/i18n/flags.css b/includes/js/dijit/demos/i18n/flags.css deleted file mode 100644 index a0916b6..0000000 --- a/includes/js/dijit/demos/i18n/flags.css +++ /dev/null @@ -1,1223 +0,0 @@ -.countryIcon { - background-image: url('flags.png'); -} -.countryAFIcon { - background-position: 0px 0px; - width: 22px; - height: 15px; -} -.countryAXIcon { - background-position: -22px -1px; - width: 22px; - height: 14px; -} -.countryALIcon { - background-position: -44px 0px; - width: 22px; - height: 15px; -} -.countryDZIcon { - background-position: -66px 0px; - width: 22px; - height: 15px; -} -.countryASIcon { - background-position: -88px -4px; - width: 22px; - height: 11px; -} -.countryADIcon { - background-position: -110px 0px; - width: 22px; - height: 15px; -} -.countryAOIcon { - background-position: -132px 0px; - width: 22px; - height: 15px; -} -.countryAIIcon { - background-position: -154px -4px; - width: 22px; - height: 11px; -} -.countryAQIcon { - background-position: -176px 0px; - width: 22px; - height: 15px; -} -.countryAGIcon { - background-position: -198px 0px; - width: 22px; - height: 15px; -} -.countryARIcon { - background-position: -220px -1px; - width: 22px; - height: 14px; -} -.countryAMIcon { - background-position: -242px -4px; - width: 22px; - height: 11px; -} -.countryAWIcon { - background-position: -264px 0px; - width: 22px; - height: 15px; -} -.countryAUIcon { - background-position: -286px -4px; - width: 22px; - height: 11px; -} -.countryATIcon { - background-position: -308px 0px; - width: 22px; - height: 15px; -} -.countryAZIcon { - background-position: -330px -4px; - width: 22px; - height: 11px; -} -.countryBSIcon { - background-position: -352px -4px; - width: 22px; - height: 11px; -} -.countryBHIcon { - background-position: -374px -2px; - width: 22px; - height: 13px; -} -.countryBDIcon { - background-position: -396px -2px; - width: 22px; - height: 13px; -} -.countryBBIcon { - background-position: -418px 0px; - width: 22px; - height: 15px; -} -.countryBYIcon { - background-position: 0px -24px; - width: 22px; - height: 11px; -} -.countryBEIcon { - background-position: -22px -20px; - width: 22px; - height: 15px; -} -.countryBZIcon { - background-position: -44px -20px; - width: 22px; - height: 15px; -} -.countryBJIcon { - background-position: -66px -20px; - width: 22px; - height: 15px; -} -.countryBMIcon { - background-position: -88px -24px; - width: 22px; - height: 11px; -} -.countryBTIcon { - background-position: -110px -20px; - width: 22px; - height: 15px; -} -.countryBOIcon { - background-position: -132px -20px; - width: 22px; - height: 15px; -} -.countryBAIcon { - background-position: -154px -24px; - width: 22px; - height: 11px; -} -.countryBWIcon { - background-position: -176px -20px; - width: 22px; - height: 15px; -} -.countryBVIcon { - background-position: -198px -19px; - width: 22px; - height: 16px; -} -.countryBRIcon { - background-position: -220px -20px; - width: 22px; - height: 15px; -} -.countryIOIcon { - background-position: -242px -24px; - width: 22px; - height: 11px; -} -.countryBNIcon { - background-position: -264px -24px; - width: 22px; - height: 11px; -} -.countryBGIcon { - background-position: -286px -22px; - width: 22px; - height: 13px; -} -.countryBFIcon { - background-position: -308px -20px; - width: 22px; - height: 15px; -} -.countryBIIcon { - background-position: -330px -22px; - width: 22px; - height: 13px; -} -.countryKHIcon { - background-position: -352px -20px; - width: 22px; - height: 15px; -} -.countryCMIcon { - background-position: -374px -20px; - width: 22px; - height: 15px; -} -.countryCAIcon { - background-position: -396px -24px; - width: 22px; - height: 11px; -} -.countryCVIcon { - background-position: -418px -22px; - width: 22px; - height: 13px; -} -.countryKYIcon { - background-position: 0px -45px; - width: 22px; - height: 11px; -} -.countryCFIcon { - background-position: -22px -41px; - width: 22px; - height: 15px; -} -.countryTDIcon { - background-position: -44px -41px; - width: 22px; - height: 15px; -} -.countryCLIcon { - background-position: -66px -41px; - width: 22px; - height: 15px; -} -.countryCNIcon { - background-position: -88px -41px; - width: 22px; - height: 15px; -} -.countryCXIcon { - background-position: -110px -45px; - width: 22px; - height: 11px; -} -.countryCCIcon { - background-position: -132px -45px; - width: 22px; - height: 11px; -} -.countryCOIcon { - background-position: -154px -41px; - width: 22px; - height: 15px; -} -.countryKMIcon { - background-position: -176px -43px; - width: 22px; - height: 13px; -} -.countryCGIcon { - background-position: -198px -41px; - width: 22px; - height: 15px; -} -.countryCDIcon { - background-position: -220px -41px; - width: 22px; - height: 15px; -} -.countryCKIcon { - background-position: -242px -45px; - width: 22px; - height: 11px; -} -.countryCRIcon { - background-position: -264px -43px; - width: 22px; - height: 13px; -} -.countryCIIcon { - background-position: -286px -41px; - width: 22px; - height: 15px; -} -.countryHRIcon { - background-position: -308px -45px; - width: 22px; - height: 11px; -} -.countryCUIcon { - background-position: -330px -45px; - width: 22px; - height: 11px; -} -.countryCYIcon { - background-position: -352px -43px; - width: 22px; - height: 13px; -} -.countryCZIcon { - background-position: -374px -41px; - width: 22px; - height: 15px; -} -.countryDKIcon { - background-position: -396px -39px; - width: 22px; - height: 17px; -} -.countryDJIcon { - background-position: -418px -41px; - width: 22px; - height: 15px; -} -.countryDMIcon { - background-position: 0px -66px; - width: 22px; - height: 11px; -} -.countryDOIcon { - background-position: -22px -63px; - width: 22px; - height: 14px; -} -.countryECIcon { - background-position: -44px -66px; - width: 22px; - height: 11px; -} -.countryEGIcon { - background-position: -66px -62px; - width: 22px; - height: 15px; -} -.countrySVIcon { - background-position: -88px -65px; - width: 22px; - height: 12px; -} -.countryGQIcon { - background-position: -110px -62px; - width: 22px; - height: 15px; -} -.countryERIcon { - background-position: -132px -66px; - width: 22px; - height: 11px; -} -.countryEEIcon { - background-position: -154px -63px; - width: 22px; - height: 14px; -} -.countryETIcon { - background-position: -176px -66px; - width: 22px; - height: 11px; -} -.countryFKIcon { - background-position: -198px -66px; - width: 22px; - height: 11px; -} -.countryFOIcon { - background-position: -220px -61px; - width: 22px; - height: 16px; -} -.countryFJIcon { - background-position: -242px -66px; - width: 22px; - height: 11px; -} -.countryFIIcon { - background-position: -264px -64px; - width: 22px; - height: 13px; -} -.countryFRIcon { - background-position: -286px -62px; - width: 22px; - height: 15px; -} -.countryGFIcon { - background-position: -308px -62px; - width: 22px; - height: 15px; -} -.countryPFIcon { - background-position: -330px -62px; - width: 22px; - height: 15px; -} -.countryTFIcon { - background-position: -352px -62px; - width: 22px; - height: 15px; -} -.countryGAIcon { - background-position: -374px -60px; - width: 22px; - height: 17px; -} -.countryGMIcon { - background-position: -396px -62px; - width: 22px; - height: 15px; -} -.countryGEIcon { - background-position: -418px -62px; - width: 22px; - height: 15px; -} -.countryDEIcon { - background-position: 0px -88px; - width: 22px; - height: 13px; -} -.countryGHIcon { - background-position: -22px -86px; - width: 22px; - height: 15px; -} -.countryGIIcon { - background-position: -44px -90px; - width: 22px; - height: 11px; -} -.countryGRIcon { - background-position: -66px -86px; - width: 22px; - height: 15px; -} -.countryGLIcon { - background-position: -88px -86px; - width: 22px; - height: 15px; -} -.countryGDIcon { - background-position: -110px -88px; - width: 22px; - height: 13px; -} -.countryGPIcon { - background-position: -132px -86px; - width: 22px; - height: 15px; -} -.countryGUIcon { - background-position: -154px -88px; - width: 22px; - height: 13px; -} -.countryGTIcon { - background-position: -176px -87px; - width: 22px; - height: 14px; -} -.countryGGIcon { - background-position: -198px -86px; - width: 22px; - height: 15px; -} -.countryGNIcon { - background-position: -220px -86px; - width: 22px; - height: 15px; -} -.countryGWIcon { - background-position: -242px -90px; - width: 22px; - height: 11px; -} -.countryGYIcon { - background-position: -264px -88px; - width: 22px; - height: 13px; -} -.countryHTIcon { - background-position: -286px -88px; - width: 22px; - height: 13px; -} -.countryHMIcon { - background-position: -308px -90px; - width: 22px; - height: 11px; -} -.countryVAIcon { - background-position: -330px -81px; - width: 20px; - height: 20px; -} -.countryHNIcon { - background-position: -350px -90px; - width: 22px; - height: 11px; -} -.countryHKIcon { - background-position: -372px -86px; - width: 22px; - height: 15px; -} -.countryHUIcon { - background-position: -394px -90px; - width: 22px; - height: 11px; -} -.countryISIcon { - background-position: -416px -85px; - width: 22px; - height: 16px; -} -.countryINIcon { - background-position: 0px -106px; - width: 22px; - height: 15px; -} -.countryIDIcon { - background-position: -22px -106px; - width: 22px; - height: 15px; -} -.countryIRIcon { - background-position: -44px -108px; - width: 22px; - height: 13px; -} -.countryIQIcon { - background-position: -66px -106px; - width: 22px; - height: 15px; -} -.countryIEIcon { - background-position: -88px -110px; - width: 22px; - height: 11px; -} -.countryIMIcon { - background-position: -110px -110px; - width: 22px; - height: 11px; -} -.countryILIcon { - background-position: -132px -105px; - width: 22px; - height: 16px; -} -.countryITIcon { - background-position: -154px -106px; - width: 22px; - height: 15px; -} -.countryJMIcon { - background-position: -176px -110px; - width: 22px; - height: 11px; -} -.countryJPIcon { - background-position: -198px -106px; - width: 22px; - height: 15px; -} -.countryJEIcon { - background-position: -220px -108px; - width: 22px; - height: 13px; -} -.countryJOIcon { - background-position: -242px -110px; - width: 22px; - height: 11px; -} -.countryKZIcon { - background-position: -264px -110px; - width: 22px; - height: 11px; -} -.countryKEIcon { - background-position: -286px -106px; - width: 22px; - height: 15px; -} -.countryKIIcon { - background-position: -308px -110px; - width: 22px; - height: 11px; -} -.countryKPIcon { - background-position: -330px -110px; - width: 22px; - height: 11px; -} -.countryKRIcon { - background-position: -352px -106px; - width: 22px; - height: 15px; -} -.countryKWIcon { - background-position: -374px -110px; - width: 22px; - height: 11px; -} -.countryKGIcon { - background-position: -396px -108px; - width: 22px; - height: 13px; -} -.countryLAIcon { - background-position: -418px -106px; - width: 22px; - height: 15px; -} -.countryLVIcon { - background-position: 0px -129px; - width: 22px; - height: 11px; -} -.countryLBIcon { - background-position: -22px -125px; - width: 22px; - height: 15px; -} -.countryLSIcon { - background-position: -44px -125px; - width: 22px; - height: 15px; -} -.countryLRIcon { - background-position: -66px -128px; - width: 22px; - height: 12px; -} -.countryLYIcon { - background-position: -88px -129px; - width: 22px; - height: 11px; -} -.countryLIIcon { - background-position: -110px -127px; - width: 22px; - height: 13px; -} -.countryLTIcon { - background-position: -132px -127px; - width: 22px; - height: 13px; -} -.countryLUIcon { - background-position: -154px -127px; - width: 22px; - height: 13px; -} -.countryMOIcon { - background-position: -176px -125px; - width: 22px; - height: 15px; -} -.countryMKIcon { - background-position: -198px -129px; - width: 22px; - height: 11px; -} -.countryMGIcon { - background-position: -220px -125px; - width: 22px; - height: 15px; -} -.countryMWIcon { - background-position: -242px -125px; - width: 22px; - height: 15px; -} -.countryMYIcon { - background-position: -264px -129px; - width: 22px; - height: 11px; -} -.countryMVIcon { - background-position: -286px -125px; - width: 22px; - height: 15px; -} -.countryMLIcon { - background-position: -308px -125px; - width: 22px; - height: 15px; -} -.countryMTIcon { - background-position: -330px -125px; - width: 22px; - height: 15px; -} -.countryMHIcon { - background-position: -352px -128px; - width: 22px; - height: 12px; -} -.countryMQIcon { - background-position: -374px -125px; - width: 22px; - height: 15px; -} -.countryMRIcon { - background-position: -396px -125px; - width: 22px; - height: 15px; -} -.countryMUIcon { - background-position: -418px -125px; - width: 22px; - height: 15px; -} -.countryYTIcon { - background-position: 0px -149px; - width: 22px; - height: 15px; -} -.countryMXIcon { - background-position: -22px -151px; - width: 22px; - height: 13px; -} -.countryFMIcon { - background-position: -44px -152px; - width: 22px; - height: 12px; -} -.countryMDIcon { - background-position: -66px -153px; - width: 22px; - height: 11px; -} -.countryMCIcon { - background-position: -88px -146px; - width: 22px; - height: 18px; -} -.countryMNIcon { - background-position: -110px -153px; - width: 22px; - height: 11px; -} -.countryMEIcon { - background-position: -132px -153px; - width: 22px; - height: 11px; -} -.countryMSIcon { - background-position: -154px -153px; - width: 22px; - height: 11px; -} -.countryMAIcon { - background-position: -176px -149px; - width: 22px; - height: 15px; -} -.countryMZIcon { - background-position: -198px -149px; - width: 22px; - height: 15px; -} -.countryMMIcon { - background-position: -220px -152px; - width: 22px; - height: 12px; -} -.countryNAIcon { - background-position: -242px -149px; - width: 22px; - height: 15px; -} -.countryNRIcon { - background-position: -264px -153px; - width: 22px; - height: 11px; -} -.countryNPIcon { - background-position: -286px -144px; - width: 16px; - height: 20px; -} -.countryNLIcon { - background-position: -302px -149px; - width: 22px; - height: 15px; -} -.countryANIcon { - background-position: -324px -149px; - width: 22px; - height: 15px; -} -.countryNCIcon { - background-position: -346px -149px; - width: 22px; - height: 15px; -} -.countryNZIcon { - background-position: -368px -153px; - width: 22px; - height: 11px; -} -.countryNIIcon { - background-position: -390px -151px; - width: 22px; - height: 13px; -} -.countryNEIcon { - background-position: -412px -145px; - width: 22px; - height: 19px; -} -.countryNGIcon { - background-position: 0px -174px; - width: 22px; - height: 11px; -} -.countryNUIcon { - background-position: -22px -174px; - width: 22px; - height: 11px; -} -.countryNFIcon { - background-position: -44px -174px; - width: 22px; - height: 11px; -} -.countryMPIcon { - background-position: -66px -174px; - width: 22px; - height: 11px; -} -.countryNOIcon { - background-position: -88px -169px; - width: 22px; - height: 16px; -} -.countryOMIcon { - background-position: -110px -174px; - width: 22px; - height: 11px; -} -.countryPKIcon { - background-position: -132px -170px; - width: 22px; - height: 15px; -} -.countryPWIcon { - background-position: -154px -171px; - width: 22px; - height: 14px; -} -.countryPSIcon { - background-position: -176px -174px; - width: 22px; - height: 11px; -} -.countryPAIcon { - background-position: -198px -170px; - width: 22px; - height: 15px; -} -.countryPGIcon { - background-position: -220px -168px; - width: 22px; - height: 17px; -} -.countryPYIcon { - background-position: -242px -172px; - width: 22px; - height: 13px; -} -.countryPEIcon { - background-position: -264px -170px; - width: 22px; - height: 15px; -} -.countryPHIcon { - background-position: -286px -174px; - width: 22px; - height: 11px; -} -.countryPNIcon { - background-position: -308px -174px; - width: 22px; - height: 11px; -} -.countryPLIcon { - background-position: -330px -171px; - width: 22px; - height: 14px; -} -.countryPTIcon { - background-position: -352px -170px; - width: 22px; - height: 15px; -} -.countryPRIcon { - background-position: -374px -170px; - width: 22px; - height: 15px; -} -.countryQAIcon { - background-position: -396px -176px; - width: 22px; - height: 9px; -} -.countryREIcon { - background-position: -418px -170px; - width: 22px; - height: 15px; -} -.countryROIcon { - background-position: 0px -191px; - width: 22px; - height: 15px; -} -.countryRUIcon { - background-position: -22px -191px; - width: 22px; - height: 15px; -} -.countryRWIcon { - background-position: -44px -191px; - width: 22px; - height: 15px; -} -.countrySHIcon { - background-position: -66px -195px; - width: 22px; - height: 11px; -} -.countryKNIcon { - background-position: -88px -191px; - width: 22px; - height: 15px; -} -.countryLCIcon { - background-position: -110px -195px; - width: 22px; - height: 11px; -} -.countryPMIcon { - background-position: -132px -191px; - width: 22px; - height: 15px; -} -.countryVCIcon { - background-position: -154px -191px; - width: 22px; - height: 15px; -} -.countryWSIcon { - background-position: -176px -195px; - width: 22px; - height: 11px; -} -.countrySMIcon { - background-position: -198px -189px; - width: 22px; - height: 17px; -} -.countrySTIcon { - background-position: -220px -195px; - width: 22px; - height: 11px; -} -.countrySAIcon { - background-position: -242px -191px; - width: 22px; - height: 15px; -} -.countrySNIcon { - background-position: -264px -191px; - width: 22px; - height: 15px; -} -.countryRSIcon { - background-position: -286px -191px; - width: 22px; - height: 15px; -} -.countrySCIcon { - background-position: -308px -195px; - width: 22px; - height: 11px; -} -.countrySLIcon { - background-position: -330px -191px; - width: 22px; - height: 15px; -} -.countrySGIcon { - background-position: -352px -191px; - width: 22px; - height: 15px; -} -.countrySKIcon { - background-position: -374px -191px; - width: 22px; - height: 15px; -} -.countrySIIcon { - background-position: -396px -195px; - width: 22px; - height: 11px; -} -.countrySBIcon { - background-position: -418px -195px; - width: 22px; - height: 11px; -} -.countrySOIcon { - background-position: 0px -215px; - width: 22px; - height: 15px; -} -.countryZAIcon { - background-position: -22px -215px; - width: 22px; - height: 15px; -} -.countryGSIcon { - background-position: -44px -219px; - width: 22px; - height: 11px; -} -.countryESIcon { - background-position: -66px -215px; - width: 22px; - height: 15px; -} -.countryLKIcon { - background-position: -88px -219px; - width: 22px; - height: 11px; -} -.countrySDIcon { - background-position: -110px -219px; - width: 22px; - height: 11px; -} -.countrySRIcon { - background-position: -132px -215px; - width: 22px; - height: 15px; -} -.countrySJIcon { - background-position: -154px -214px; - width: 22px; - height: 16px; -} -.countrySZIcon { - background-position: -176px -215px; - width: 22px; - height: 15px; -} -.countrySEIcon { - background-position: -198px -216px; - width: 22px; - height: 14px; -} -.countryCHIcon { - background-position: -220px -210px; - width: 20px; - height: 20px; -} -.countrySYIcon { - background-position: -240px -215px; - width: 22px; - height: 15px; -} -.countryTWIcon { - background-position: -262px -215px; - width: 22px; - height: 15px; -} -.countryTJIcon { - background-position: -284px -219px; - width: 22px; - height: 11px; -} -.countryTZIcon { - background-position: -306px -215px; - width: 22px; - height: 15px; -} -.countryTHIcon { - background-position: -328px -215px; - width: 22px; - height: 15px; -} -.countryTLIcon { - background-position: -350px -219px; - width: 22px; - height: 11px; -} -.countryTGIcon { - background-position: -372px -216px; - width: 22px; - height: 14px; -} -.countryTKIcon { - background-position: -394px -219px; - width: 22px; - height: 11px; -} -.countryTOIcon { - background-position: -416px -219px; - width: 22px; - height: 11px; -} -.countryTTIcon { - background-position: 0px -236px; - width: 22px; - height: 13px; -} -.countryTNIcon { - background-position: -22px -234px; - width: 22px; - height: 15px; -} -.countryTRIcon { - background-position: -44px -234px; - width: 22px; - height: 15px; -} -.countryTMIcon { - background-position: -66px -234px; - width: 22px; - height: 15px; -} -.countryTCIcon { - background-position: -88px -238px; - width: 22px; - height: 11px; -} -.countryTVIcon { - background-position: -110px -238px; - width: 22px; - height: 11px; -} -.countryUGIcon { - background-position: -132px -234px; - width: 22px; - height: 15px; -} -.countryUAIcon { - background-position: -154px -234px; - width: 22px; - height: 15px; -} -.countryAEIcon { - background-position: -176px -238px; - width: 22px; - height: 11px; -} -.countryGBIcon { - background-position: -198px -238px; - width: 22px; - height: 11px; -} -.countryUSIcon { - background-position: -220px -237px; - width: 22px; - height: 12px; -} -.countryUMIcon { - background-position: -242px -237px; - width: 22px; - height: 12px; -} -.countryUYIcon { - background-position: -264px -234px; - width: 22px; - height: 15px; -} -.countryUZIcon { - background-position: -286px -238px; - width: 22px; - height: 11px; -} -.countryVUIcon { - background-position: -308px -236px; - width: 22px; - height: 13px; -} -.countryVEIcon { - background-position: -330px -234px; - width: 22px; - height: 15px; -} -.countryVNIcon { - background-position: -352px -234px; - width: 22px; - height: 15px; -} -.countryVGIcon { - background-position: -374px -238px; - width: 22px; - height: 11px; -} -.countryVIIcon { - background-position: -396px -234px; - width: 22px; - height: 15px; -} -.countryWFIcon { - background-position: -418px -234px; - width: 22px; - height: 15px; -} -.countryEHIcon { - background-position: 0px -257px; - width: 22px; - height: 11px; -} -.countryYEIcon { - background-position: -22px -253px; - width: 22px; - height: 15px; -} -.countryZMIcon { - background-position: -44px -253px; - width: 22px; - height: 15px; -} -.countryZWIcon { - background-position: -66px -257px; - width: 22px; - height: 11px; -} diff --git a/includes/js/dijit/demos/i18n/flags.css.commented.css b/includes/js/dijit/demos/i18n/flags.css.commented.css deleted file mode 100644 index 551ffe5..0000000 --- a/includes/js/dijit/demos/i18n/flags.css.commented.css +++ /dev/null @@ -1,1224 +0,0 @@ -.countryIcon { - background-image: url('flags.png'); -} - -.countryAFIcon { - background-position: 0px 0px; - width: 22px; - height: 15px; -} -.countryAXIcon { - background-position: -22px -1px; - width: 22px; - height: 14px; -} -.countryALIcon { - background-position: -44px 0px; - width: 22px; - height: 15px; -} -.countryDZIcon { - background-position: -66px 0px; - width: 22px; - height: 15px; -} -.countryASIcon { - background-position: -88px -4px; - width: 22px; - height: 11px; -} -.countryADIcon { - background-position: -110px 0px; - width: 22px; - height: 15px; -} -.countryAOIcon { - background-position: -132px 0px; - width: 22px; - height: 15px; -} -.countryAIIcon { - background-position: -154px -4px; - width: 22px; - height: 11px; -} -.countryAQIcon { - background-position: -176px 0px; - width: 22px; - height: 15px; -} -.countryAGIcon { - background-position: -198px 0px; - width: 22px; - height: 15px; -} -.countryARIcon { - background-position: -220px -1px; - width: 22px; - height: 14px; -} -.countryAMIcon { - background-position: -242px -4px; - width: 22px; - height: 11px; -} -.countryAWIcon { - background-position: -264px 0px; - width: 22px; - height: 15px; -} -.countryAUIcon { - background-position: -286px -4px; - width: 22px; - height: 11px; -} -.countryATIcon { - background-position: -308px 0px; - width: 22px; - height: 15px; -} -.countryAZIcon { - background-position: -330px -4px; - width: 22px; - height: 11px; -} -.countryBSIcon { - background-position: -352px -4px; - width: 22px; - height: 11px; -} -.countryBHIcon { - background-position: -374px -2px; - width: 22px; - height: 13px; -} -.countryBDIcon { - background-position: -396px -2px; - width: 22px; - height: 13px; -} -.countryBBIcon { - background-position: -418px 0px; - width: 22px; - height: 15px; -} -.countryBYIcon { - background-position: 0px -24px; - width: 22px; - height: 11px; -} -.countryBEIcon { - background-position: -22px -20px; - width: 22px; - height: 15px; -} -.countryBZIcon { - background-position: -44px -20px; - width: 22px; - height: 15px; -} -.countryBJIcon { - background-position: -66px -20px; - width: 22px; - height: 15px; -} -.countryBMIcon { - background-position: -88px -24px; - width: 22px; - height: 11px; -} -.countryBTIcon { - background-position: -110px -20px; - width: 22px; - height: 15px; -} -.countryBOIcon { - background-position: -132px -20px; - width: 22px; - height: 15px; -} -.countryBAIcon { - background-position: -154px -24px; - width: 22px; - height: 11px; -} -.countryBWIcon { - background-position: -176px -20px; - width: 22px; - height: 15px; -} -.countryBVIcon { - background-position: -198px -19px; - width: 22px; - height: 16px; -} -.countryBRIcon { - background-position: -220px -20px; - width: 22px; - height: 15px; -} -.countryIOIcon { - background-position: -242px -24px; - width: 22px; - height: 11px; -} -.countryBNIcon { - background-position: -264px -24px; - width: 22px; - height: 11px; -} -.countryBGIcon { - background-position: -286px -22px; - width: 22px; - height: 13px; -} -.countryBFIcon { - background-position: -308px -20px; - width: 22px; - height: 15px; -} -.countryBIIcon { - background-position: -330px -22px; - width: 22px; - height: 13px; -} -.countryKHIcon { - background-position: -352px -20px; - width: 22px; - height: 15px; -} -.countryCMIcon { - background-position: -374px -20px; - width: 22px; - height: 15px; -} -.countryCAIcon { - background-position: -396px -24px; - width: 22px; - height: 11px; -} -.countryCVIcon { - background-position: -418px -22px; - width: 22px; - height: 13px; -} -.countryKYIcon { - background-position: 0px -45px; - width: 22px; - height: 11px; -} -.countryCFIcon { - background-position: -22px -41px; - width: 22px; - height: 15px; -} -.countryTDIcon { - background-position: -44px -41px; - width: 22px; - height: 15px; -} -.countryCLIcon { - background-position: -66px -41px; - width: 22px; - height: 15px; -} -.countryCNIcon { - background-position: -88px -41px; - width: 22px; - height: 15px; -} -.countryCXIcon { - background-position: -110px -45px; - width: 22px; - height: 11px; -} -.countryCCIcon { - background-position: -132px -45px; - width: 22px; - height: 11px; -} -.countryCOIcon { - background-position: -154px -41px; - width: 22px; - height: 15px; -} -.countryKMIcon { - background-position: -176px -43px; - width: 22px; - height: 13px; -} -.countryCGIcon { - background-position: -198px -41px; - width: 22px; - height: 15px; -} -.countryCDIcon { - background-position: -220px -41px; - width: 22px; - height: 15px; -} -.countryCKIcon { - background-position: -242px -45px; - width: 22px; - height: 11px; -} -.countryCRIcon { - background-position: -264px -43px; - width: 22px; - height: 13px; -} -.countryCIIcon { - background-position: -286px -41px; - width: 22px; - height: 15px; -} -.countryHRIcon { - background-position: -308px -45px; - width: 22px; - height: 11px; -} -.countryCUIcon { - background-position: -330px -45px; - width: 22px; - height: 11px; -} -.countryCYIcon { - background-position: -352px -43px; - width: 22px; - height: 13px; -} -.countryCZIcon { - background-position: -374px -41px; - width: 22px; - height: 15px; -} -.countryDKIcon { - background-position: -396px -39px; - width: 22px; - height: 17px; -} -.countryDJIcon { - background-position: -418px -41px; - width: 22px; - height: 15px; -} -.countryDMIcon { - background-position: 0px -66px; - width: 22px; - height: 11px; -} -.countryDOIcon { - background-position: -22px -63px; - width: 22px; - height: 14px; -} -.countryECIcon { - background-position: -44px -66px; - width: 22px; - height: 11px; -} -.countryEGIcon { - background-position: -66px -62px; - width: 22px; - height: 15px; -} -.countrySVIcon { - background-position: -88px -65px; - width: 22px; - height: 12px; -} -.countryGQIcon { - background-position: -110px -62px; - width: 22px; - height: 15px; -} -.countryERIcon { - background-position: -132px -66px; - width: 22px; - height: 11px; -} -.countryEEIcon { - background-position: -154px -63px; - width: 22px; - height: 14px; -} -.countryETIcon { - background-position: -176px -66px; - width: 22px; - height: 11px; -} -.countryFKIcon { - background-position: -198px -66px; - width: 22px; - height: 11px; -} -.countryFOIcon { - background-position: -220px -61px; - width: 22px; - height: 16px; -} -.countryFJIcon { - background-position: -242px -66px; - width: 22px; - height: 11px; -} -.countryFIIcon { - background-position: -264px -64px; - width: 22px; - height: 13px; -} -.countryFRIcon { - background-position: -286px -62px; - width: 22px; - height: 15px; -} -.countryGFIcon { - background-position: -308px -62px; - width: 22px; - height: 15px; -} -.countryPFIcon { - background-position: -330px -62px; - width: 22px; - height: 15px; -} -.countryTFIcon { - background-position: -352px -62px; - width: 22px; - height: 15px; -} -.countryGAIcon { - background-position: -374px -60px; - width: 22px; - height: 17px; -} -.countryGMIcon { - background-position: -396px -62px; - width: 22px; - height: 15px; -} -.countryGEIcon { - background-position: -418px -62px; - width: 22px; - height: 15px; -} -.countryDEIcon { - background-position: 0px -88px; - width: 22px; - height: 13px; -} -.countryGHIcon { - background-position: -22px -86px; - width: 22px; - height: 15px; -} -.countryGIIcon { - background-position: -44px -90px; - width: 22px; - height: 11px; -} -.countryGRIcon { - background-position: -66px -86px; - width: 22px; - height: 15px; -} -.countryGLIcon { - background-position: -88px -86px; - width: 22px; - height: 15px; -} -.countryGDIcon { - background-position: -110px -88px; - width: 22px; - height: 13px; -} -.countryGPIcon { - background-position: -132px -86px; - width: 22px; - height: 15px; -} -.countryGUIcon { - background-position: -154px -88px; - width: 22px; - height: 13px; -} -.countryGTIcon { - background-position: -176px -87px; - width: 22px; - height: 14px; -} -.countryGGIcon { - background-position: -198px -86px; - width: 22px; - height: 15px; -} -.countryGNIcon { - background-position: -220px -86px; - width: 22px; - height: 15px; -} -.countryGWIcon { - background-position: -242px -90px; - width: 22px; - height: 11px; -} -.countryGYIcon { - background-position: -264px -88px; - width: 22px; - height: 13px; -} -.countryHTIcon { - background-position: -286px -88px; - width: 22px; - height: 13px; -} -.countryHMIcon { - background-position: -308px -90px; - width: 22px; - height: 11px; -} -.countryVAIcon { - background-position: -330px -81px; - width: 20px; - height: 20px; -} -.countryHNIcon { - background-position: -350px -90px; - width: 22px; - height: 11px; -} -.countryHKIcon { - background-position: -372px -86px; - width: 22px; - height: 15px; -} -.countryHUIcon { - background-position: -394px -90px; - width: 22px; - height: 11px; -} -.countryISIcon { - background-position: -416px -85px; - width: 22px; - height: 16px; -} -.countryINIcon { - background-position: 0px -106px; - width: 22px; - height: 15px; -} -.countryIDIcon { - background-position: -22px -106px; - width: 22px; - height: 15px; -} -.countryIRIcon { - background-position: -44px -108px; - width: 22px; - height: 13px; -} -.countryIQIcon { - background-position: -66px -106px; - width: 22px; - height: 15px; -} -.countryIEIcon { - background-position: -88px -110px; - width: 22px; - height: 11px; -} -.countryIMIcon { - background-position: -110px -110px; - width: 22px; - height: 11px; -} -.countryILIcon { - background-position: -132px -105px; - width: 22px; - height: 16px; -} -.countryITIcon { - background-position: -154px -106px; - width: 22px; - height: 15px; -} -.countryJMIcon { - background-position: -176px -110px; - width: 22px; - height: 11px; -} -.countryJPIcon { - background-position: -198px -106px; - width: 22px; - height: 15px; -} -.countryJEIcon { - background-position: -220px -108px; - width: 22px; - height: 13px; -} -.countryJOIcon { - background-position: -242px -110px; - width: 22px; - height: 11px; -} -.countryKZIcon { - background-position: -264px -110px; - width: 22px; - height: 11px; -} -.countryKEIcon { - background-position: -286px -106px; - width: 22px; - height: 15px; -} -.countryKIIcon { - background-position: -308px -110px; - width: 22px; - height: 11px; -} -.countryKPIcon { - background-position: -330px -110px; - width: 22px; - height: 11px; -} -.countryKRIcon { - background-position: -352px -106px; - width: 22px; - height: 15px; -} -.countryKWIcon { - background-position: -374px -110px; - width: 22px; - height: 11px; -} -.countryKGIcon { - background-position: -396px -108px; - width: 22px; - height: 13px; -} -.countryLAIcon { - background-position: -418px -106px; - width: 22px; - height: 15px; -} -.countryLVIcon { - background-position: 0px -129px; - width: 22px; - height: 11px; -} -.countryLBIcon { - background-position: -22px -125px; - width: 22px; - height: 15px; -} -.countryLSIcon { - background-position: -44px -125px; - width: 22px; - height: 15px; -} -.countryLRIcon { - background-position: -66px -128px; - width: 22px; - height: 12px; -} -.countryLYIcon { - background-position: -88px -129px; - width: 22px; - height: 11px; -} -.countryLIIcon { - background-position: -110px -127px; - width: 22px; - height: 13px; -} -.countryLTIcon { - background-position: -132px -127px; - width: 22px; - height: 13px; -} -.countryLUIcon { - background-position: -154px -127px; - width: 22px; - height: 13px; -} -.countryMOIcon { - background-position: -176px -125px; - width: 22px; - height: 15px; -} -.countryMKIcon { - background-position: -198px -129px; - width: 22px; - height: 11px; -} -.countryMGIcon { - background-position: -220px -125px; - width: 22px; - height: 15px; -} -.countryMWIcon { - background-position: -242px -125px; - width: 22px; - height: 15px; -} -.countryMYIcon { - background-position: -264px -129px; - width: 22px; - height: 11px; -} -.countryMVIcon { - background-position: -286px -125px; - width: 22px; - height: 15px; -} -.countryMLIcon { - background-position: -308px -125px; - width: 22px; - height: 15px; -} -.countryMTIcon { - background-position: -330px -125px; - width: 22px; - height: 15px; -} -.countryMHIcon { - background-position: -352px -128px; - width: 22px; - height: 12px; -} -.countryMQIcon { - background-position: -374px -125px; - width: 22px; - height: 15px; -} -.countryMRIcon { - background-position: -396px -125px; - width: 22px; - height: 15px; -} -.countryMUIcon { - background-position: -418px -125px; - width: 22px; - height: 15px; -} -.countryYTIcon { - background-position: 0px -149px; - width: 22px; - height: 15px; -} -.countryMXIcon { - background-position: -22px -151px; - width: 22px; - height: 13px; -} -.countryFMIcon { - background-position: -44px -152px; - width: 22px; - height: 12px; -} -.countryMDIcon { - background-position: -66px -153px; - width: 22px; - height: 11px; -} -.countryMCIcon { - background-position: -88px -146px; - width: 22px; - height: 18px; -} -.countryMNIcon { - background-position: -110px -153px; - width: 22px; - height: 11px; -} -.countryMEIcon { - background-position: -132px -153px; - width: 22px; - height: 11px; -} -.countryMSIcon { - background-position: -154px -153px; - width: 22px; - height: 11px; -} -.countryMAIcon { - background-position: -176px -149px; - width: 22px; - height: 15px; -} -.countryMZIcon { - background-position: -198px -149px; - width: 22px; - height: 15px; -} -.countryMMIcon { - background-position: -220px -152px; - width: 22px; - height: 12px; -} -.countryNAIcon { - background-position: -242px -149px; - width: 22px; - height: 15px; -} -.countryNRIcon { - background-position: -264px -153px; - width: 22px; - height: 11px; -} -.countryNPIcon { - background-position: -286px -144px; - width: 16px; - height: 20px; -} -.countryNLIcon { - background-position: -302px -149px; - width: 22px; - height: 15px; -} -.countryANIcon { - background-position: -324px -149px; - width: 22px; - height: 15px; -} -.countryNCIcon { - background-position: -346px -149px; - width: 22px; - height: 15px; -} -.countryNZIcon { - background-position: -368px -153px; - width: 22px; - height: 11px; -} -.countryNIIcon { - background-position: -390px -151px; - width: 22px; - height: 13px; -} -.countryNEIcon { - background-position: -412px -145px; - width: 22px; - height: 19px; -} -.countryNGIcon { - background-position: 0px -174px; - width: 22px; - height: 11px; -} -.countryNUIcon { - background-position: -22px -174px; - width: 22px; - height: 11px; -} -.countryNFIcon { - background-position: -44px -174px; - width: 22px; - height: 11px; -} -.countryMPIcon { - background-position: -66px -174px; - width: 22px; - height: 11px; -} -.countryNOIcon { - background-position: -88px -169px; - width: 22px; - height: 16px; -} -.countryOMIcon { - background-position: -110px -174px; - width: 22px; - height: 11px; -} -.countryPKIcon { - background-position: -132px -170px; - width: 22px; - height: 15px; -} -.countryPWIcon { - background-position: -154px -171px; - width: 22px; - height: 14px; -} -.countryPSIcon { - background-position: -176px -174px; - width: 22px; - height: 11px; -} -.countryPAIcon { - background-position: -198px -170px; - width: 22px; - height: 15px; -} -.countryPGIcon { - background-position: -220px -168px; - width: 22px; - height: 17px; -} -.countryPYIcon { - background-position: -242px -172px; - width: 22px; - height: 13px; -} -.countryPEIcon { - background-position: -264px -170px; - width: 22px; - height: 15px; -} -.countryPHIcon { - background-position: -286px -174px; - width: 22px; - height: 11px; -} -.countryPNIcon { - background-position: -308px -174px; - width: 22px; - height: 11px; -} -.countryPLIcon { - background-position: -330px -171px; - width: 22px; - height: 14px; -} -.countryPTIcon { - background-position: -352px -170px; - width: 22px; - height: 15px; -} -.countryPRIcon { - background-position: -374px -170px; - width: 22px; - height: 15px; -} -.countryQAIcon { - background-position: -396px -176px; - width: 22px; - height: 9px; -} -.countryREIcon { - background-position: -418px -170px; - width: 22px; - height: 15px; -} -.countryROIcon { - background-position: 0px -191px; - width: 22px; - height: 15px; -} -.countryRUIcon { - background-position: -22px -191px; - width: 22px; - height: 15px; -} -.countryRWIcon { - background-position: -44px -191px; - width: 22px; - height: 15px; -} -.countrySHIcon { - background-position: -66px -195px; - width: 22px; - height: 11px; -} -.countryKNIcon { - background-position: -88px -191px; - width: 22px; - height: 15px; -} -.countryLCIcon { - background-position: -110px -195px; - width: 22px; - height: 11px; -} -.countryPMIcon { - background-position: -132px -191px; - width: 22px; - height: 15px; -} -.countryVCIcon { - background-position: -154px -191px; - width: 22px; - height: 15px; -} -.countryWSIcon { - background-position: -176px -195px; - width: 22px; - height: 11px; -} -.countrySMIcon { - background-position: -198px -189px; - width: 22px; - height: 17px; -} -.countrySTIcon { - background-position: -220px -195px; - width: 22px; - height: 11px; -} -.countrySAIcon { - background-position: -242px -191px; - width: 22px; - height: 15px; -} -.countrySNIcon { - background-position: -264px -191px; - width: 22px; - height: 15px; -} -.countryRSIcon { - background-position: -286px -191px; - width: 22px; - height: 15px; -} -.countrySCIcon { - background-position: -308px -195px; - width: 22px; - height: 11px; -} -.countrySLIcon { - background-position: -330px -191px; - width: 22px; - height: 15px; -} -.countrySGIcon { - background-position: -352px -191px; - width: 22px; - height: 15px; -} -.countrySKIcon { - background-position: -374px -191px; - width: 22px; - height: 15px; -} -.countrySIIcon { - background-position: -396px -195px; - width: 22px; - height: 11px; -} -.countrySBIcon { - background-position: -418px -195px; - width: 22px; - height: 11px; -} -.countrySOIcon { - background-position: 0px -215px; - width: 22px; - height: 15px; -} -.countryZAIcon { - background-position: -22px -215px; - width: 22px; - height: 15px; -} -.countryGSIcon { - background-position: -44px -219px; - width: 22px; - height: 11px; -} -.countryESIcon { - background-position: -66px -215px; - width: 22px; - height: 15px; -} -.countryLKIcon { - background-position: -88px -219px; - width: 22px; - height: 11px; -} -.countrySDIcon { - background-position: -110px -219px; - width: 22px; - height: 11px; -} -.countrySRIcon { - background-position: -132px -215px; - width: 22px; - height: 15px; -} -.countrySJIcon { - background-position: -154px -214px; - width: 22px; - height: 16px; -} -.countrySZIcon { - background-position: -176px -215px; - width: 22px; - height: 15px; -} -.countrySEIcon { - background-position: -198px -216px; - width: 22px; - height: 14px; -} -.countryCHIcon { - background-position: -220px -210px; - width: 20px; - height: 20px; -} -.countrySYIcon { - background-position: -240px -215px; - width: 22px; - height: 15px; -} -.countryTWIcon { - background-position: -262px -215px; - width: 22px; - height: 15px; -} -.countryTJIcon { - background-position: -284px -219px; - width: 22px; - height: 11px; -} -.countryTZIcon { - background-position: -306px -215px; - width: 22px; - height: 15px; -} -.countryTHIcon { - background-position: -328px -215px; - width: 22px; - height: 15px; -} -.countryTLIcon { - background-position: -350px -219px; - width: 22px; - height: 11px; -} -.countryTGIcon { - background-position: -372px -216px; - width: 22px; - height: 14px; -} -.countryTKIcon { - background-position: -394px -219px; - width: 22px; - height: 11px; -} -.countryTOIcon { - background-position: -416px -219px; - width: 22px; - height: 11px; -} -.countryTTIcon { - background-position: 0px -236px; - width: 22px; - height: 13px; -} -.countryTNIcon { - background-position: -22px -234px; - width: 22px; - height: 15px; -} -.countryTRIcon { - background-position: -44px -234px; - width: 22px; - height: 15px; -} -.countryTMIcon { - background-position: -66px -234px; - width: 22px; - height: 15px; -} -.countryTCIcon { - background-position: -88px -238px; - width: 22px; - height: 11px; -} -.countryTVIcon { - background-position: -110px -238px; - width: 22px; - height: 11px; -} -.countryUGIcon { - background-position: -132px -234px; - width: 22px; - height: 15px; -} -.countryUAIcon { - background-position: -154px -234px; - width: 22px; - height: 15px; -} -.countryAEIcon { - background-position: -176px -238px; - width: 22px; - height: 11px; -} -.countryGBIcon { - background-position: -198px -238px; - width: 22px; - height: 11px; -} -.countryUSIcon { - background-position: -220px -237px; - width: 22px; - height: 12px; -} -.countryUMIcon { - background-position: -242px -237px; - width: 22px; - height: 12px; -} -.countryUYIcon { - background-position: -264px -234px; - width: 22px; - height: 15px; -} -.countryUZIcon { - background-position: -286px -238px; - width: 22px; - height: 11px; -} -.countryVUIcon { - background-position: -308px -236px; - width: 22px; - height: 13px; -} -.countryVEIcon { - background-position: -330px -234px; - width: 22px; - height: 15px; -} -.countryVNIcon { - background-position: -352px -234px; - width: 22px; - height: 15px; -} -.countryVGIcon { - background-position: -374px -238px; - width: 22px; - height: 11px; -} -.countryVIIcon { - background-position: -396px -234px; - width: 22px; - height: 15px; -} -.countryWFIcon { - background-position: -418px -234px; - width: 22px; - height: 15px; -} -.countryEHIcon { - background-position: 0px -257px; - width: 22px; - height: 11px; -} -.countryYEIcon { - background-position: -22px -253px; - width: 22px; - height: 15px; -} -.countryZMIcon { - background-position: -44px -253px; - width: 22px; - height: 15px; -} -.countryZWIcon { - background-position: -66px -257px; - width: 22px; - height: 11px; -} diff --git a/includes/js/dijit/demos/i18n/flags.png b/includes/js/dijit/demos/i18n/flags.png deleted file mode 100644 index e8eaace..0000000 Binary files a/includes/js/dijit/demos/i18n/flags.png and /dev/null differ diff --git a/includes/js/dijit/demos/i18n/generate.html b/includes/js/dijit/demos/i18n/generate.html deleted file mode 100644 index 39f703d..0000000 --- a/includes/js/dijit/demos/i18n/generate.html +++ /dev/null @@ -1,2353 +0,0 @@ - - - - - - - - - -

Country / Language JSON Database Generator

-

push step #1 then wait, then step #2

- - - -

JSON

- - - -

Country names, flags, and ISO code

-

data taken from wikipedia ISO 3166-1 site

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Official country names used by the ISO 3166/MANumericAlpha-3Alpha-2Local ISO codes
 Afghanistan004AFGAFISO 3166-2:AF
 Åland Islands248ALAAXISO 3166-2:AX
 Albania008ALBALISO 3166-2:AL
 Algeria012DZADZISO 3166-2:DZ
 American Samoa016ASMASISO 3166-2:AS
 Andorra020ANDISO 3166-2:AD
 Angola024AGOAOISO 3166-2:AO
 Anguilla660AIAAIISO 3166-2:AI
 Antarctica010ATAAQISO 3166-2:AQ
 Antigua and Barbuda028ATGAGISO 3166-2:AG
 Argentina032ARGARISO 3166-2:AR
 Armenia051ARMAMISO 3166-2:AM
 Aruba533ABWAWISO 3166-2:AW
 Australia036AUSAUISO 3166-2:AU
 Austria040AUTATISO 3166-2:AT
 Azerbaijan031AZEAZISO 3166-2:AZ
 Bahamas044BHSBSISO 3166-2:BS
 Bahrain048BHRBHISO 3166-2:BH
 Bangladesh050BGDBDISO 3166-2:BD
 Barbados052BRBBBISO 3166-2:BB
 Belarus112BLRBYISO 3166-2:BY
 Belgium056BELBEISO 3166-2:BE
 Belize084BLZBZISO 3166-2:BZ
 Benin204BENBJISO 3166-2:BJ
 Bermuda060BMUBMISO 3166-2:BM
 Bhutan064BTNBTISO 3166-2:BT
 Bolivia068BOLBOISO 3166-2:BO
 Bosnia and Herzegovina070BIHBAISO 3166-2:BA
 Botswana072BWABWISO 3166-2:BW
 Bouvet Island074BVTBVISO 3166-2:BV
 Brazil076BRABRISO 3166-2:BR
 British Indian Ocean Territory086IOTIOISO 3166-2:IO
 Brunei Darussalam096BRNBNISO 3166-2:BN
 Bulgaria100BGRBGISO 3166-2:BG
 Burkina Faso854BFABFISO 3166-2:BF
 Burundi108BDIBIISO 3166-2:BI
 Cambodia116KHMKHISO 3166-2:KH
 Cameroon120CMRCMISO 3166-2:CM
 Canada124CANCAISO 3166-2:CA
 Cape Verde132CPVCVISO 3166-2:CV
 Cayman Islands136CYMKYISO 3166-2:KY
 Central African Republic140CAFCFISO 3166-2:CF
 Chad148TCDTDISO 3166-2:TD
 Chile152CHLCLISO 3166-2:CL
 China156CHNCNISO 3166-2:CN
 Christmas Island162CXRCXISO 3166-2:CX
 Cocos (Keeling) Islands166CCKCCISO 3166-2:CC
 Colombia170COLCOISO 3166-2:CO
 Comoros174COMKMISO 3166-2:KM
 Congo178COGCGISO 3166-2:CG
 Congo, Democratic Republic of the180CODCDISO 3166-2:CD
 Cook Islands184COKCKISO 3166-2:CK
 Costa Rica188CRICRISO 3166-2:CR
 Côte d'Ivoire384CIVCIISO 3166-2:CI
 Croatia191HRVHRISO 3166-2:HR
 Cuba192CUBCUISO 3166-2:CU
 Cyprus196CYPCYISO 3166-2:CY
 Czech Republic203CZECZISO 3166-2:CZ
 Denmark208DNKDKISO 3166-2:DK
 Djibouti262DJIDJISO 3166-2:DJ
 Dominica212DMADMISO 3166-2:DM
 Dominican Republic214DOMDOISO 3166-2:DO
 Ecuador218ECUECISO 3166-2:EC
 Egypt818EGYEGISO 3166-2:EG
 El Salvador222SLVSVISO 3166-2:SV
 Equatorial Guinea226GNQGQISO 3166-2:GQ
 Eritrea232ERIERISO 3166-2:ER
 Estonia233ESTEEISO 3166-2:EE
 Ethiopia231ETHETISO 3166-2:ET
 Falkland Islands (Malvinas)238FLKFKISO 3166-2:FK
 Faroe Islands234FROFOISO 3166-2:FO
 Fiji242FJIFJISO 3166-2:FJ
 Finland246FINFIISO 3166-2:FI
 France250FRAFRISO 3166-2:FR
 French Guiana254GUFGFISO 3166-2:GF
 French Polynesia258PYFPFISO 3166-2:PF
 French Southern Territories260ATFTFISO 3166-2:TF
 Gabon266GABGAISO 3166-2:GA
 Gambia270GMBGMISO 3166-2:GM
 Georgia268GEOGEISO 3166-2:GE
 Germany276DEUDEISO 3166-2:DE
 Ghana288GHAGHISO 3166-2:GH
 Gibraltar292GIBGIISO 3166-2:GI
 Greece300GRCGRISO 3166-2:GR
 Greenland304GRLGLISO 3166-2:GL
 Grenada308GRDGDISO 3166-2:GD
 Guadeloupe[2]312GLPGPISO 3166-2:GP
 Guam316GUMGUISO 3166-2:GU
 Guatemala320GTMGTISO 3166-2:GT
 Guernsey831GGYGGISO 3166-2:GG
 Guinea324GINGNISO 3166-2:GN
 Guinea-Bissau624GNBGWISO 3166-2:GW
 Guyana328GUYGYISO 3166-2:GY
 Haiti332HTIHTISO 3166-2:HT
 Heard Island and McDonald Islands334HMDHMISO 3166-2:HM
 Holy See (Vatican City State)336VATVAISO 3166-2:VA
 Honduras340HNDHNISO 3166-2:HN
 Hong Kong344HKGHKISO 3166-2:HK
 Hungary348HUNHUISO 3166-2:HU
 Iceland352ISLISISO 3166-2:IS
 India356INDINISO 3166-2:IN
 Indonesia360IDNIDISO 3166-2:ID
 Iran, Islamic Republic of364IRNIRISO 3166-2:IR
 Iraq368IRQIQISO 3166-2:IQ
 Ireland372IRLIEISO 3166-2:IE
 Isle of Man833IMNIMISO 3166-2:IM
 Israel376ISRILISO 3166-2:IL
 Italy380ITAITISO 3166-2:IT
 Jamaica388JAMJMISO 3166-2:JM
 Japan392JPNJPISO 3166-2:JP
 Jersey832JEYJEISO 3166-2:JE
 Jordan400JORJOISO 3166-2:JO
 Kazakhstan398KAZKZISO 3166-2:KZ
 Kenya404KENKEISO 3166-2:KE
 Kiribati296KIRKIISO 3166-2:KI
 Korea, Democratic People's Republic of408PRKKPISO 3166-2:KP
 Korea, Republic of410KORKRISO 3166-2:KR
 Kuwait414KWTKWISO 3166-2:KW
 Kyrgyzstan417KGZKGISO 3166-2:KG
 Lao People's Democratic Republic418LAOLAISO 3166-2:LA
 Latvia428LVALVISO 3166-2:LV
 Lebanon422LBNLBISO 3166-2:LB
 Lesotho426LSOLSISO 3166-2:LS
 Liberia430LBRLRISO 3166-2:LR
 Libyan Arab Jamahiriya434LBYLYISO 3166-2:LY
 Liechtenstein438LIELIISO 3166-2:LI
 Lithuania440LTULTISO 3166-2:LT
 Luxembourg442LUXLUISO 3166-2:LU
 Macao446MACMOISO 3166-2:MO
 Macedonia, the former Yugoslav Republic of807MKDMKISO 3166-2:MK
 Madagascar450MDGMGISO 3166-2:MG
 Malawi454MWIMWISO 3166-2:MW
 Malaysia458MYSMYISO 3166-2:MY
 Maldives462MDVMVISO 3166-2:MV
 Mali466MLIMLISO 3166-2:ML
 Malta470MLTMTISO 3166-2:MT
 Marshall Islands584MHLMHISO 3166-2:MH
 Martinique474MTQMQISO 3166-2:MQ
 Mauritania478MRTMRISO 3166-2:MR
 Mauritius480MUSMUISO 3166-2:MU
 Mayotte175MYTYTISO 3166-2:YT
 Mexico484MEXMXISO 3166-2:MX
 Micronesia, Federated States of583FSMFMISO 3166-2:FM
 Moldova, Republic of498MDAMDISO 3166-2:MD
 Monaco492MCOMCISO 3166-2:MC
 Mongolia496MNGMNISO 3166-2:MN
 Montenegro499MNEMEISO 3166-2:ME
 Montserrat500MSRMSISO 3166-2:MS
 Morocco504MARMAISO 3166-2:MA
 Mozambique508MOZMZISO 3166-2:MZ
 Myanmar104MMRMMISO 3166-2:MM
 Namibia516NAMNAISO 3166-2:NA
 Nauru520NRUNRISO 3166-2:NR
 Nepal524NPLNPISO 3166-2:NP
 Netherlands528NLDNLISO 3166-2:NL
 Netherlands Antilles530ANTANISO 3166-2:AN
 New Caledonia540NCLNCISO 3166-2:NC
 New Zealand554NZLNZISO 3166-2:NZ
 Nicaragua558NICNIISO 3166-2:NI
 Niger562NERNEISO 3166-2:NE
 Nigeria566NGANGISO 3166-2:NG
 Niue570NIUNUISO 3166-2:NU
 Norfolk Island574NFKNFISO 3166-2:NF
 Northern Mariana Islands580MNPMPISO 3166-2:MP
 Norway578NORNOISO 3166-2:NO
 Oman512OMNOMISO 3166-2:OM
 Pakistan586PAKPKISO 3166-2:PK
 Palau585PLWPWISO 3166-2:PW
 Palestinian Territory, Occupied275PSEPSISO 3166-2:PS
 Panama591PANPAISO 3166-2:PA
 Papua New Guinea598PNGPGISO 3166-2:PG
 Paraguay600PRYPYISO 3166-2:PY
 Peru604PERPEISO 3166-2:PE
 Philippines608PHLPHISO 3166-2:PH
 Pitcairn612PCNPNISO 3166-2:PN
 Poland616POLPLISO 3166-2:PL
 Portugal620PRTPTISO 3166-2:PT
 Puerto Rico630PRIPRISO 3166-2:PR
 Qatar634QATQAISO 3166-2:QA
 Réunion638REUREISO 3166-2:RE
 Romania642ROUROISO 3166-2:RO
 Russian Federation643RUSRUISO 3166-2:RU
 Rwanda646RWARWISO 3166-2:RW
 Saint Helena654SHNSHISO 3166-2:SH
 Saint Kitts and Nevis659KNAKNISO 3166-2:KN
 Saint Lucia662LCALCISO 3166-2:LC
 Saint Pierre and Miquelon666SPMPMISO 3166-2:PM
 Saint Vincent and the Grenadines670VCTVCISO 3166-2:VC
 Samoa882WSMWSISO 3166-2:WS
 San Marino674SMRSMISO 3166-2:SM
 Sao Tome and Principe678STPSTISO 3166-2:ST
 Saudi Arabia682SAUSAISO 3166-2:SA
 Senegal686SENSNISO 3166-2:SN
 Serbia688SRBRSISO 3166-2:RS
 Seychelles690SYCSCISO 3166-2:SC
 Sierra Leone694SLESLISO 3166-2:SL
 Singapore702SGPSGISO 3166-2:SG
 Slovakia703SVKSKISO 3166-2:SK
 Slovenia705SVNSIISO 3166-2:SI
 Solomon Islands090SLBSBISO 3166-2:SB
 Somalia706SOMSOISO 3166-2:SO
 South Africa710ZAFZAISO 3166-2:ZA
 South Georgia and the South Sandwich Islands239SGSGSISO 3166-2:GS
 Spain724ESPESISO 3166-2:ES
 Sri Lanka144LKALKISO 3166-2:LK
 Sudan736SDNSDISO 3166-2:SD
 Suriname740SURSRISO 3166-2:SR
 Svalbard and Jan Mayen744SJMSJISO 3166-2:SJ
 Swaziland748SWZSZISO 3166-2:SZ
 Sweden752SWESEISO 3166-2:SE
 Switzerland756CHECHISO 3166-2:CH
 Syrian Arab Republic760SYRSYISO 3166-2:SY
 Taiwan, Province of China158TWNTWISO 3166-2:TW
 Tajikistan762TJKTJISO 3166-2:TJ
 Tanzania, United Republic of834TZATZISO 3166-2:TZ
 Thailand764THATHISO 3166-2:TH
 Timor-Leste626TLSTLISO 3166-2:TL
 Togo768TGOTGISO 3166-2:TG
 Tokelau772TKLTKISO 3166-2:TK
 Tonga776TONTOISO 3166-2:TO
 Trinidad and Tobago780TTOTTISO 3166-2:TT
 Tunisia788TUNTNISO 3166-2:TN
 Turkey792TURTRISO 3166-2:TR
 Turkmenistan795TKMTMISO 3166-2:TM
 Turks and Caicos Islands796TCATCISO 3166-2:TC
 Tuvalu798TUVTVISO 3166-2:TV
 Uganda800UGAUGISO 3166-2:UG
 Ukraine804UKRUAISO 3166-2:UA
 United Arab Emirates784AREAEISO 3166-2:AE
 United Kingdom826GBRGBISO 3166-2:GB
 United States840USAUSISO 3166-2:US
 United States Minor Outlying Islands581UMIUMISO 3166-2:UM
 Uruguay858URYUYISO 3166-2:UY
 Uzbekistan860UZBUZISO 3166-2:UZ
 Vanuatu548VUTVUISO 3166-2:VU
 Venezuela862VENVEISO 3166-2:VE
 Viet Nam704VNMVNISO 3166-2:VN
 Virgin Islands, British092VGBVGISO 3166-2:VG
 Virgin Islands, U.S.850VIRVIISO 3166-2:VI
 Wallis and Futuna876WLFWFISO 3166-2:WF
 Western Sahara732ESHEHISO 3166-2:EH
 Yemen887YEMYEISO 3166-2:YE
 Zambia894ZMBZMISO 3166-2:ZM
 Zimbabwe716ZWEZWISO 3166-2:ZW
- - -

Country Continent Mapping

-

abstracted from wikipedia continent country page

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Africa AlgeriaAlgiers
Africa AngolaLuanda
Africa BeninPorto-Novo (seat of government at Cotonou)
Africa BotswanaGaborone
Africa Burkina FasoOuagadougou
Africa BurundiBujumbura
Africa CameroonYaoundé
Africa Cape VerdePraia
Africa Central African RepublicBangui
Africa ChadN'Djamena
Africa ComorosMoroni
Africa Congo, Democratic Republic of (also known as Congo-Kinshasa, formerly known as Zaire) – Kinshasa
Africa Congo, Republic of (also known as Congo-Brazzaville) – Brazzaville
Africa Côte d'Ivoire (commonly known as Ivory Coast) – Yamoussoukro (seat of government at Abidjan)
Africa DjiboutiDjibouti
Africa EgyptCairo
Africa Equatorial GuineaMalabo
Africa EritreaAsmara
Africa EthiopiaAddis Ababa
Africa GabonLibreville
Africa GambiaBanjul
Africa GhanaAccra
Africa GuineaConakry
Africa Guinea-BissauBissau
Africa KenyaNairobi
Africa LesothoMaseru
Africa LiberiaMonrovia
Africa LibyaTripoli
Africa MadagascarAntananarivo
Africa MalawiLilongwe
Africa MaliBamako
Africa MauritaniaNouakchott
Africa MauritiusPort Louis
Africa Mayotte (overseas territory of France) – Mamoudzou
Africa MoroccoRabat
Africa MozambiqueMaputo
Africa NamibiaWindhoek
Africa NigerNiamey
Africa NigeriaAbuja
Africa Réunion (overseas department of France) – Saint-Denis
Africa RwandaKigali
Africa Saint Helena (overseas territory of the United Kingdom) – Jamestown
Africa Sao Tome and PrincipeSão Tomé
Africa SenegalDakar
Africa SeychellesVictoria
Africa Sierra LeoneFreetown
Africa SomaliaMogadishu
Africa South AfricaPretoria (administrative), Cape Town (legislative), Bloemfontein (judicial)
Africa SudanKhartoum
Africa SwazilandMbabane (administrative), Lobamba (royal and legislative)
Africa TanzaniaDodoma (seat of government at Dar es Salaam)
Africa TogoLomé
Africa TunisiaTunis
Africa UgandaKampala
Africa Western SaharaEl Aaiún (unofficial)
Africa ZambiaLusaka
Africa ZimbabweHarare
Asia AfghanistanKabul
Asia Armenia[2]Yerevan
Asia Azerbaijan[2]Baku
Asia BahrainManama
Asia BangladeshDhaka
Asia BhutanThimphu
Asia British Indian Ocean Territory[3] (overseas territory of the United Kingdom)
Asia BruneiBandar Seri Begawan
Asia CambodiaPhnom Penh
Asia China, People's Republic ofBeijing
Asia China, Republic of (commonly known as Taiwan) – Taipei
Asia Christmas Island[4] (overseas territory of Australia)
Asia Cocos (Keeling) Islands[4] (overseas territory of Australia)
Asia Cyprus[2]Nicosia
Asia Georgia[2]Tbilisi
Asia Hong Kong (special administrative region of the People's Republic of China)
Asia IndiaNew Delhi
Asia IndonesiaJakarta
Asia IranTehran
Asia IraqBaghdad
Asia IsraelJerusalem
Asia JapanTokyo
Asia JordanAmman
Asia KazakhstanAstana
Asia Korea, Democratic People's Republic of (commonly known as North Korea) – Pyongyang
Asia Korea, Republic of (commonly known as South Korea) – Seoul
Asia KuwaitKuwait City
Asia KyrgyzstanBishkek
Asia LaosVientiane
Asia LebanonBeirut
Asia Macau (special administrative region of the People's Republic of China)
Asia MalaysiaKuala Lumpur (seat of government at Putrajaya)
Asia MaldivesMalé
Asia MongoliaUlaanbaatar
Asia Myanmar (formerly known as Burma) – Naypyidaw
Asia NepalKathmandu
Asia OmanMuscat
Asia PakistanIslamabad
Asia Palestinian territories (collectively the territories of the West Bank and the Gaza Strip)
Asia PhilippinesManila
Asia QatarDoha
Asia Saudi ArabiaRiyadh
Asia Singapore – Singapore[5]
Asia Sri LankaSri Jayawardenepura
Asia SyriaDamascus
Asia TajikistanDushanbe
Asia ThailandBangkok
Asia Timor-Leste (commonly known as East Timor) – Dili
Asia Turkey[2]Ankara
Asia TurkmenistanAshgabat
Asia United Arab EmiratesAbu Dhabi
Asia UzbekistanTashkent
Asia VietnamHanoi
Asia YemenSana'a
Europe AlbaniaTirana
Europe AndorraAndorra la Vella
Europe AustriaVienna
Europe BelarusMinsk
Europe BelgiumBrussels
Europe Bosnia and HerzegovinaSarajevo
Europe BulgariaSofia
Europe CroatiaZagreb
Europe Czech RepublicPrague
Europe DenmarkCopenhagen
Europe EstoniaTallinn
Europe Faroe Islands (overseas territory of Denmark) – Tórshavn
Europe FinlandHelsinki
Europe FranceParis
Europe GermanyBerlin
Europe Gibraltar (overseas territory of the United Kingdom) – Gibraltar[5]
Europe GreeceAthens
Europe Guernsey (British crown dependency) – Saint Peter Port
Europe HungaryBudapest
Europe IcelandReykjavík
Europe IrelandDublin
Europe Isle of Man (British crown dependency) – Douglas
Europe ItalyRome
Europe Jersey (British crown dependency) – Saint Helier
Europe LatviaRiga
Europe LiechtensteinVaduz
Europe LithuaniaVilnius
Europe LuxembourgLuxembourg
Europe MacedoniaSkopje
Europe MaltaValletta
Europe MoldovaChişinău
Europe Monaco – Monaco[5]
Europe MontenegroPodgorica
Europe NetherlandsAmsterdam (seat of government at The Hague)
Europe NorwayOslo
Europe PolandWarsaw
Europe PortugalLisbon
Europe RomaniaBucharest
Europe Russia[6]Moscow
Europe San MarinoSan Marino
Europe SerbiaBelgrade
Europe SlovakiaBratislava
Europe SloveniaLjubljana
Europe SpainMadrid
Europe SwedenStockholm
Europe SwitzerlandBerne
Europe UkraineKiev
Europe United KingdomLondon
Europe Vatican City – Vatican City[5]
North America Anguilla (overseas territory of the United Kingdom) – The Valley
North America Antigua and BarbudaSaint John's
North America Aruba (overseas country in the Kingdom of the Netherlands) – Oranjestad
North America BahamasNassau
North America BarbadosBridgetown
North America BelizeBelmopan
North America Bermuda (overseas territory of the United Kingdom) – Hamilton
North America British Virgin Islands (overseas territory of the United Kingdom) – Road Town
North America CanadaOttawa
North America Cayman Islands (overseas territory of the United Kingdom) – George Town
North America Clipperton Island (overseas territory of France)
North America Costa RicaSan José
North America CubaHavana
North America DominicaRoseau
North America Dominican RepublicSanto Domingo
North America El SalvadorSan Salvador
North America Greenland (overseas territory of Denmark) – Nuuk
North America GrenadaSaint George's
North America Guadeloupe (overseas department of France) – Basse-Terre
North America GuatemalaGuatemala City
North America HaitiPort-au-Prince
North America HondurasTegucigalpa
North America JamaicaKingston
North America Martinique (overseas department of France) – Fort-de-France
North America MexicoMexico City
North America Montserrat (overseas territory of the United Kingdom) – Plymouth (seat of government at Brades)
North America Navassa Island (overseas territory of the United States)
North America Netherlands Antilles (overseas country in the Kingdom of the Netherlands) – Willemstad
North America NicaraguaManagua
North America PanamaPanama City
North America Puerto Rico (overseas territory of the United States) – San Juan
North America Saint Barthelemy (overseas territory of France) – Gustavia
North America Saint Kitts and NevisBasseterre
North America Saint LuciaCastries
North America Saint Martin (overseas territory of France) – Marigot
North America Saint Pierre and Miquelon (overseas territory of France) – Saint-Pierre
North America Saint Vincent and the GrenadinesKingstown
North America Trinidad and TobagoPort of Spain
North America Turks and Caicos Islands (overseas territory of the United Kingdom) – Cockburn Town
North America United StatesWashington, D.C.
North America United States Virgin Islands (overseas territory of the United States) – Charlotte Amalie
South America ArgentinaBuenos Aires
South America BoliviaSucre (seat of government at La Paz)
South America BrazilBrasília
South America ChileSantiago
South America ColombiaBogotá
South America EcuadorQuito
South America Falkland Islands (overseas territory of the United Kingdom) – Stanley
South America French Guiana (overseas department of France) – Cayenne
South America GuyanaGeorgetown
South America ParaguayAsunción
South America PeruLima
South America SurinameParamaribo
South America UruguayMontevideo
South America VenezuelaCaracas
Oceania American Samoa (overseas territory of the United States) – Pago Pago (seat of government at Fagatogo)
Oceania AustraliaCanberra
Oceania Baker Island (overseas territory of the United States)
Oceania Cook Islands (territory in free association with New Zealand) – Avarua
Oceania FijiSuva
Oceania French Polynesia (overseas territory of France) – Papeete
Oceania Guam (overseas territory of the United States) – Hagåtña
Oceania Howland Island (overseas territory of the United States)
Oceania Jarvis Island (overseas territory of the United States)
Oceania Johnston Atoll (overseas territory of the United States)
Oceania Kingman Reef (overseas territory of the United States)
Oceania KiribatiSouth Tarawa
Oceania Marshall IslandsMajuro
Oceania MicronesiaPalikir
Oceania Midway Atoll (overseas territory of the United States)
Oceania Nauru – no official capital (seat of government at Yaren)
Oceania New Caledonia (overseas territory of France) – Nouméa
Oceania New ZealandWellington
Oceania Niue (territory in free association with New Zealand) – Alofi
Oceania Norfolk Island (overseas territory of Australia) – Kingston
Oceania Northern Mariana Islands (overseas territory of the United States) – Saipan
Oceania PalauMelekeok
Oceania Palmyra Atoll (overseas territory of the United States)
Oceania Papua New GuineaPort Moresby
Oceania Pitcairn Islands (overseas territory of the United Kingdom) – Adamstown
Oceania SamoaApia
Oceania Solomon IslandsHoniara
Oceania Tokelau (overseas territory of New Zealand) – no official capital (each atoll has its own administrative centre)
Oceania TongaNuku'alofa
Oceania TuvaluFunafuti
Oceania VanuatuPort Vila
Oceania Wake Island (overseas territory of the United States)
Oceania Wallis and Futuna (overseas territory of France) – Mata-Utu
Antarctica Bouvet Island (overseas territory of Norway)
Antarctica French Southern Territories (overseas territory of France)
Antarctica Heard Island and McDonald Islands (overseas territory of Australia)
Antarctica South Georgia and the South Sandwich Islands[7] (overseas territory of the United Kingdom)
- - - diff --git a/includes/js/dijit/demos/i18n/langCountryMap.json b/includes/js/dijit/demos/i18n/langCountryMap.json deleted file mode 100644 index 3730bad..0000000 --- a/includes/js/dijit/demos/i18n/langCountryMap.json +++ /dev/null @@ -1,215 +0,0 @@ -[ -{ type: "languageCountryMap", language: "aa", country: "DJ"}, -{ type: "languageCountryMap", language: "aa", country: "ER"}, -{ type: "languageCountryMap", language: "aa", country: "ET"}, -{ type: "languageCountryMap", language: "af", country: "NA"}, -{ type: "languageCountryMap", language: "af", country: "ZA"}, -{ type: "languageCountryMap", language: "ak", country: "GH"}, -{ type: "languageCountryMap", language: "am", country: "ET"}, -{ type: "languageCountryMap", language: "ar", country: "AE"}, -{ type: "languageCountryMap", language: "ar", country: "BH"}, -{ type: "languageCountryMap", language: "ar", country: "DZ"}, -{ type: "languageCountryMap", language: "ar", country: "EG"}, -{ type: "languageCountryMap", language: "ar", country: "IQ"}, -{ type: "languageCountryMap", language: "ar", country: "JO"}, -{ type: "languageCountryMap", language: "ar", country: "KW"}, -{ type: "languageCountryMap", language: "ar", country: "LB"}, -{ type: "languageCountryMap", language: "ar", country: "LY"}, -{ type: "languageCountryMap", language: "ar", country: "MA"}, -{ type: "languageCountryMap", language: "ar", country: "OM"}, -{ type: "languageCountryMap", language: "ar", country: "QA"}, -{ type: "languageCountryMap", language: "ar", country: "SA"}, -{ type: "languageCountryMap", language: "ar", country: "SD"}, -{ type: "languageCountryMap", language: "ar", country: "SY"}, -{ type: "languageCountryMap", language: "ar", country: "TN"}, -{ type: "languageCountryMap", language: "ar", country: "YE"}, -{ type: "languageCountryMap", language: "as", country: "IN"}, -{ type: "languageCountryMap", language: "az", country: "AZ"}, -{ type: "languageCountryMap", language: "be", country: "BY"}, -{ type: "languageCountryMap", language: "bg", country: "BG"}, -{ type: "languageCountryMap", language: "bn", country: "BD"}, -{ type: "languageCountryMap", language: "bn", country: "IN"}, -{ type: "languageCountryMap", language: "bs", country: "BA"}, -{ type: "languageCountryMap", language: "ca", country: "ES"}, -{ type: "languageCountryMap", language: "cs", country: "CZ"}, -{ type: "languageCountryMap", language: "cy", country: "GB"}, -{ type: "languageCountryMap", language: "da", country: "DK"}, -{ type: "languageCountryMap", language: "de", country: "AT"}, -{ type: "languageCountryMap", language: "de", country: "BE"}, -{ type: "languageCountryMap", language: "de", country: "CH"}, -{ type: "languageCountryMap", language: "de", country: "DE"}, -{ type: "languageCountryMap", language: "de", country: "LI"}, -{ type: "languageCountryMap", language: "de", country: "LU"}, -{ type: "languageCountryMap", language: "dv", country: "MV"}, -{ type: "languageCountryMap", language: "dz", country: "BT"}, -{ type: "languageCountryMap", language: "ee", country: "GH"}, -{ type: "languageCountryMap", language: "ee", country: "TG"}, -{ type: "languageCountryMap", language: "el", country: "CY"}, -{ type: "languageCountryMap", language: "el", country: "GR"}, -{ type: "languageCountryMap", language: "en", country: "AS"}, -{ type: "languageCountryMap", language: "en", country: "AU"}, -{ type: "languageCountryMap", language: "en", country: "BE"}, -{ type: "languageCountryMap", language: "en", country: "BW"}, -{ type: "languageCountryMap", language: "en", country: "BZ"}, -{ type: "languageCountryMap", language: "en", country: "CA"}, -{ type: "languageCountryMap", language: "en", country: "GB"}, -{ type: "languageCountryMap", language: "en", country: "GU"}, -{ type: "languageCountryMap", language: "en", country: "HK"}, -{ type: "languageCountryMap", language: "en", country: "IE"}, -{ type: "languageCountryMap", language: "en", country: "IN"}, -{ type: "languageCountryMap", language: "en", country: "JM"}, -{ type: "languageCountryMap", language: "en", country: "MH"}, -{ type: "languageCountryMap", language: "en", country: "MP"}, -{ type: "languageCountryMap", language: "en", country: "MT"}, -{ type: "languageCountryMap", language: "en", country: "NA"}, -{ type: "languageCountryMap", language: "en", country: "NZ"}, -{ type: "languageCountryMap", language: "en", country: "PH"}, -{ type: "languageCountryMap", language: "en", country: "PK"}, -{ type: "languageCountryMap", language: "en", country: "SG"}, -{ type: "languageCountryMap", language: "en", country: "TT"}, -{ type: "languageCountryMap", language: "en", country: "UM"}, -{ type: "languageCountryMap", language: "en", country: "US"}, -{ type: "languageCountryMap", language: "en", country: "VI"}, -{ type: "languageCountryMap", language: "en", country: "ZA"}, -{ type: "languageCountryMap", language: "en", country: "ZW"}, -{ type: "languageCountryMap", language: "es", country: "AR"}, -{ type: "languageCountryMap", language: "es", country: "BO"}, -{ type: "languageCountryMap", language: "es", country: "CL"}, -{ type: "languageCountryMap", language: "es", country: "CO"}, -{ type: "languageCountryMap", language: "es", country: "CR"}, -{ type: "languageCountryMap", language: "es", country: "DO"}, -{ type: "languageCountryMap", language: "es", country: "EC"}, -{ type: "languageCountryMap", language: "es", country: "ES"}, -{ type: "languageCountryMap", language: "es", country: "GT"}, -{ type: "languageCountryMap", language: "es", country: "HN"}, -{ type: "languageCountryMap", language: "es", country: "MX"}, -{ type: "languageCountryMap", language: "es", country: "NI"}, -{ type: "languageCountryMap", language: "es", country: "PA"}, -{ type: "languageCountryMap", language: "es", country: "PE"}, -{ type: "languageCountryMap", language: "es", country: "PR"}, -{ type: "languageCountryMap", language: "es", country: "PY"}, -{ type: "languageCountryMap", language: "es", country: "SV"}, -{ type: "languageCountryMap", language: "es", country: "US"}, -{ type: "languageCountryMap", language: "es", country: "UY"}, -{ type: "languageCountryMap", language: "es", country: "VE"}, -{ type: "languageCountryMap", language: "et", country: "EE"}, -{ type: "languageCountryMap", language: "eu", country: "ES"}, -{ type: "languageCountryMap", language: "fa", country: "AF"}, -{ type: "languageCountryMap", language: "fa", country: "IR"}, -{ type: "languageCountryMap", language: "fi", country: "FI"}, -{ type: "languageCountryMap", language: "fo", country: "FO"}, -{ type: "languageCountryMap", language: "fr", country: "BE"}, -{ type: "languageCountryMap", language: "fr", country: "CA"}, -{ type: "languageCountryMap", language: "fr", country: "CH"}, -{ type: "languageCountryMap", language: "fr", country: "FR"}, -{ type: "languageCountryMap", language: "fr", country: "LU"}, -{ type: "languageCountryMap", language: "fr", country: "MC"}, -{ type: "languageCountryMap", language: "ga", country: "IE"}, -{ type: "languageCountryMap", language: "gl", country: "ES"}, -{ type: "languageCountryMap", language: "gu", country: "IN"}, -{ type: "languageCountryMap", language: "gv", country: "GB"}, -{ type: "languageCountryMap", language: "ha", country: "GH"}, -{ type: "languageCountryMap", language: "ha", country: "NE"}, -{ type: "languageCountryMap", language: "ha", country: "NG"}, -{ type: "languageCountryMap", language: "he", country: "IL"}, -{ type: "languageCountryMap", language: "hi", country: "IN"}, -{ type: "languageCountryMap", language: "hr", country: "HR"}, -{ type: "languageCountryMap", language: "hu", country: "HU"}, -{ type: "languageCountryMap", language: "hy", country: "AM"}, -{ type: "languageCountryMap", language: "id", country: "ID"}, -{ type: "languageCountryMap", language: "ig", country: "NG"}, -{ type: "languageCountryMap", language: "is", country: "IS"}, -{ type: "languageCountryMap", language: "it", country: "CH"}, -{ type: "languageCountryMap", language: "it", country: "IT"}, -{ type: "languageCountryMap", language: "ja", country: "JP"}, -{ type: "languageCountryMap", language: "ka", country: "GE"}, -{ type: "languageCountryMap", language: "kk", country: "KZ"}, -{ type: "languageCountryMap", language: "kl", country: "GL"}, -{ type: "languageCountryMap", language: "km", country: "KH"}, -{ type: "languageCountryMap", language: "kn", country: "IN"}, -{ type: "languageCountryMap", language: "ko", country: "KR"}, -{ type: "languageCountryMap", language: "ku", country: "IQ"}, -{ type: "languageCountryMap", language: "ku", country: "IR"}, -{ type: "languageCountryMap", language: "ku", country: "SY"}, -{ type: "languageCountryMap", language: "ku", country: "TR"}, -{ type: "languageCountryMap", language: "kw", country: "GB"}, -{ type: "languageCountryMap", language: "ky", country: "KG"}, -{ type: "languageCountryMap", language: "ln", country: "CD"}, -{ type: "languageCountryMap", language: "ln", country: "CG"}, -{ type: "languageCountryMap", language: "lo", country: "LA"}, -{ type: "languageCountryMap", language: "lt", country: "LT"}, -{ type: "languageCountryMap", language: "lv", country: "LV"}, -{ type: "languageCountryMap", language: "mk", country: "MK"}, -{ type: "languageCountryMap", language: "ml", country: "IN"}, -{ type: "languageCountryMap", language: "mn", country: "MN"}, -{ type: "languageCountryMap", language: "mr", country: "IN"}, -{ type: "languageCountryMap", language: "ms", country: "BN"}, -{ type: "languageCountryMap", language: "ms", country: "MY"}, -{ type: "languageCountryMap", language: "mt", country: "MT"}, -{ type: "languageCountryMap", language: "nb", country: "NO"}, -{ type: "languageCountryMap", language: "ne", country: "NP"}, -{ type: "languageCountryMap", language: "nl", country: "BE"}, -{ type: "languageCountryMap", language: "nl", country: "NL"}, -{ type: "languageCountryMap", language: "nn", country: "NO"}, -{ type: "languageCountryMap", language: "nr", country: "ZA"}, -{ type: "languageCountryMap", language: "ny", country: "MW"}, -{ type: "languageCountryMap", language: "om", country: "ET"}, -{ type: "languageCountryMap", language: "om", country: "KE"}, -{ type: "languageCountryMap", language: "or", country: "IN"}, -{ type: "languageCountryMap", language: "pa", country: "IN"}, -{ type: "languageCountryMap", language: "pa", country: "PK"}, -{ type: "languageCountryMap", language: "pl", country: "PL"}, -{ type: "languageCountryMap", language: "ps", country: "AF"}, -{ type: "languageCountryMap", language: "pt", country: "BR"}, -{ type: "languageCountryMap", language: "pt", country: "PT"}, -{ type: "languageCountryMap", language: "ro", country: "RO"}, -{ type: "languageCountryMap", language: "ru", country: "RU"}, -{ type: "languageCountryMap", language: "ru", country: "UA"}, -{ type: "languageCountryMap", language: "rw", country: "RW"}, -{ type: "languageCountryMap", language: "sa", country: "IN"}, -{ type: "languageCountryMap", language: "se", country: "NO"}, -{ type: "languageCountryMap", language: "sh", country: "BA"}, -{ type: "languageCountryMap", language: "sh", country: "CS"}, -{ type: "languageCountryMap", language: "sh", country: "YU"}, -{ type: "languageCountryMap", language: "sk", country: "SK"}, -{ type: "languageCountryMap", language: "sl", country: "SI"}, -{ type: "languageCountryMap", language: "so", country: "DJ"}, -{ type: "languageCountryMap", language: "so", country: "ET"}, -{ type: "languageCountryMap", language: "so", country: "KE"}, -{ type: "languageCountryMap", language: "so", country: "SO"}, -{ type: "languageCountryMap", language: "sq", country: "AL"}, -{ type: "languageCountryMap", language: "sr", country: "BA"}, -{ type: "languageCountryMap", language: "sr", country: "CS"}, -{ type: "languageCountryMap", language: "sr", country: "YU"}, -{ type: "languageCountryMap", language: "ss", country: "ZA"}, -{ type: "languageCountryMap", language: "st", country: "ZA"}, -{ type: "languageCountryMap", language: "sv", country: "FI"}, -{ type: "languageCountryMap", language: "sv", country: "SE"}, -{ type: "languageCountryMap", language: "sw", country: "KE"}, -{ type: "languageCountryMap", language: "sw", country: "TZ"}, -{ type: "languageCountryMap", language: "ta", country: "IN"}, -{ type: "languageCountryMap", language: "te", country: "IN"}, -{ type: "languageCountryMap", language: "tg", country: "TJ"}, -{ type: "languageCountryMap", language: "th", country: "TH"}, -{ type: "languageCountryMap", language: "ti", country: "ER"}, -{ type: "languageCountryMap", language: "ti", country: "ET"}, -{ type: "languageCountryMap", language: "tn", country: "ZA"}, -{ type: "languageCountryMap", language: "tr", country: "TR"}, -{ type: "languageCountryMap", language: "ts", country: "ZA"}, -{ type: "languageCountryMap", language: "tt", country: "RU"}, -{ type: "languageCountryMap", language: "uk", country: "UA"}, -{ type: "languageCountryMap", language: "ur", country: "IN"}, -{ type: "languageCountryMap", language: "ur", country: "PK"}, -{ type: "languageCountryMap", language: "uz", country: "AF"}, -{ type: "languageCountryMap", language: "uz", country: "UZ"}, -{ type: "languageCountryMap", language: "ve", country: "ZA"}, -{ type: "languageCountryMap", language: "vi", country: "VN"}, -{ type: "languageCountryMap", language: "xh", country: "ZA"}, -{ type: "languageCountryMap", language: "yo", country: "NG"}, -{ type: "languageCountryMap", language: "zh", country: "CN"}, -{ type: "languageCountryMap", language: "zh", country: "HK"}, -{ type: "languageCountryMap", language: "zh", country: "MO"}, -{ type: "languageCountryMap", language: "zh", country: "SG"}, -{ type: "languageCountryMap", language: "zh", country: "TW"}, -{ type: "languageCountryMap", language: "zu", country: "ZA"} -] diff --git a/includes/js/dijit/demos/i18n/languages.json b/includes/js/dijit/demos/i18n/languages.json deleted file mode 100644 index bc4955b..0000000 --- a/includes/js/dijit/demos/i18n/languages.json +++ /dev/null @@ -1,7045 +0,0 @@ -[ -{ type: "language", iso: "aa", -countries: [ -{_reference: "DJ"}, -{_reference: "ER"}, -{_reference: "ET"}, -], -name: "Qafar", -}, -{ type: "language", iso: "af", -countries: [ -{_reference: "NA"}, -{_reference: "ZA"}, -], -name: "Afrikaans", -"af": "Afrikaans", -"es": "Spaans", -"pt": "Portugees", -"ru": "Russies", -"zh": "Sjinees", -}, -{ type: "language", iso: "ak", -countries: [ -{_reference: "GH"}, -], -}, -{ type: "language", iso: "am", -countries: [ -{_reference: "ET"}, -], -name: "አማርኛ", -"aa": "አፋርኛ", -"ab": "አብሐዚኛ", -"af": "አፍሪቃንስኛ", -"am": "አማርኛ", -"ar": "ዐርቢኛ", -"as": "አሳሜዛዊ", -"ay": "አያማርኛ", -"az": "አዜርባይጃንኛ", -"ba": "ባስኪርኛ", -"be": "ቤላራሻኛ", -"bg": "ቡልጋሪኛ", -"bh": "ቢሃሪ", -"bi": "ቢስላምኛ", -"bn": "በንጋሊኛ", -"bo": "ትበትንኛ", -"br": "ብሬቶንኛ", -"ca": "ካታላንኛ", -"co": "ኮርሲካኛ", -"cs": "ቼክኛ", -"cy": "ወልሽ", -"da": "ዴኒሽ", -"de": "ጀርመን", -"dz": "ድዞንግኻኛ", -"el": "ግሪክኛ", -"en": "እንግሊዝኛ", -"eo": "ኤስፐራንቶ", -"es": "ስፓኒሽ", -"et": "ኤስቶኒአን", -"eu": "ባስክኛ", -"fa": "ፐርሲያኛ", -"fi": "ፊኒሽ", -"fj": "ፊጂኛ", -"fo": "ፋሮኛ", -"fr": "ፈረንሳይኛ", -"fy": "ፍሪስኛ", -"ga": "አይሪሽ", -"gd": "እስኮትስ ጌልክኛ", -"gl": "ጋለጋኛ", -"gn": "ጓራኒኛ", -"gu": "ጉጃርቲኛ", -"ha": "ሃውሳኛ", -"he": "ዕብራስጥ", -"hi": "ሐንድኛ", -"hr": "ክሮሽያንኛ", -"hu": "ሀንጋሪኛ", -"hy": "አርመናዊ", -"ia": "ኢንቴርሊንጓ", -"id": "እንዶኒሲኛ", -"ie": "እንተርሊንግወ", -"ik": "እኑፒያቅኛ", -"is": "አይስላንድኛ", -"it": "ጣሊያንኛ", -"iu": "እኑክቲቱትኛ", -"ja": "ጃፓንኛ", -"jv": "ጃቫንኛ", -"ka": "ጊዮርጊያን", -"kk": "ካዛክኛ", -"kl": "ካላሊሱትኛ", -"km": "ክመርኛ", -"kn": "ካናዳኛ", -"ko": "ኮሪያኛ", -"ks": "ካሽሚርኛ", -"ku": "ኩርድሽኛ", -"ky": "ኪርጊዝኛ", -"la": "ላቲንኛ", -"ln": "ሊንጋላኛ", -"lo": "ላውስኛ", -"lt": "ሊቱአኒያን", -"lv": "ላትቪያን", -"mg": "ማላጋስኛ", -"mi": "ማዮሪኛ", -"mk": "ማከዶኒኛ", -"ml": "ማላያላምኛ", -"mn": "ሞንጎላዊኛ", -"mo": "ሞልዳቫዊና", -"mr": "ማራዚኛ", -"ms": "ማላይኛ", -"mt": "ማልቲስኛ", -"my": "ቡርማኛ", -"na": "ናኡሩ", -"ne": "ኔፓሊኛ", -"nl": "ደች", -"no": "ኖርዌጂያን", -"oc": "ኦኪታንኛ", -"om": "ኦሮምኛ", -"or": "ኦሪያኛ", -"pa": "ፓንጃቢኛ", -"pl": "ፖሊሽ", -"ps": "ፑሽቶኛ", -"pt": "ፖርቱጋሊኛ", -"qu": "ኵቿኛ", -"rm": "ሮማንስ", -"rn": "ሩንዲኛ", -"ro": "ሮማኒያን", -"ru": "ራሽኛ", -"rw": "ኪንያርዋንድኛ", -"sa": "ሳንስክሪትኛ", -"sd": "ሲንድሂኛ", -"sg": "ሳንጎኛ", -"si": "ስንሃልኛ", -"sk": "ስሎቫክኛ", -"sl": "ስሎቪኛ", -"sm": "ሳሞአኛ", -"sn": "ሾናኛ", -"so": "ሱማልኛ", -"sq": "ልቤኒኛ", -"sr": "ሰርቢኛ", -"ss": "ስዋቲኛ", -"st": "ሶዞኛ", -"su": "ሱዳንኛ", -"sv": "ስዊድንኛ", -"sw": "ስዋሂሊኛ", -"ta": "ታሚልኛ", -"te": "ተሉጉኛ", -"tg": "ታጂኪኛ", -"th": "ታይኛ", -"ti": "ትግርኛ", -"tk": "ቱርክመንኛ", -"tl": "ታጋሎገኛ", -"tn": "ጽዋናዊኛ", -"to": "ቶንጋ", -"tr": "ቱርክኛ", -"ts": "ጾንጋኛ", -"tt": "ታታርኛ", -"tw": "ትዊኛ", -"ug": "ኡዊግሁርኛ", -"uk": "ዩክረኒኛ", -"ur": "ኡርዱኛ", -"uz": "ኡዝበክኛ", -"vi": "ቪትናምኛ", -"vo": "ቮላፑክኛ", -"wo": "ዎሎፍኛ", -"xh": "ዞሳኛ", -"yi": "ይዲሻዊኛ", -"yo": "ዮሩባዊኛ", -"za": "ዡዋንግኛ", -"zh": "ቻይንኛ", -"zu": "ዙሉኛ", -}, -{ type: "language", iso: "ar", -countries: [ -{_reference: "AE"}, -{_reference: "BH"}, -{_reference: "DZ"}, -{_reference: "EG"}, -{_reference: "IQ"}, -{_reference: "JO"}, -{_reference: "KW"}, -{_reference: "LB"}, -{_reference: "LY"}, -{_reference: "MA"}, -{_reference: "OM"}, -{_reference: "QA"}, -{_reference: "SA"}, -{_reference: "SD"}, -{_reference: "SY"}, -{_reference: "TN"}, -{_reference: "YE"}, -], -name: "العربية", -"aa": "الأفارية", -"ab": "الأبخازية", -"ae": "الأفستية", -"af": "الأفريقية", -"ak": "الأكانية", -"am": "الأمهرية", -"an": "الأراجونية", -"ar": "العربية", -"as": "الأسامية", -"av": "الأفاريكية", -"ay": "الأيمارا", -"az": "الأذرية", -"ba": "الباشكيرية", -"be": "البيلوروسية", -"bg": "البلغارية", -"bh": "البيهارية", -"bi": "البيسلامية", -"bm": "البامبارا", -"bn": "البنغالية", -"bo": "التبتية", -"br": "البريتونية", -"bs": "البوسنية", -"ca": "الكاتالوينية", -"ce": "الشيشانية", -"ch": "التشامورو", -"co": "الكورسيكية", -"cr": "الكرى", -"cs": "التشيكية", -"cu": "سلافية كنسية", -"cv": "التشفاش", -"cy": "الولزية", -"da": "الدانماركية", -"de": "الألمانية", -"dv": "المالديفية", -"dz": "الزونخاية", -"el": "اليونانية", -"en": "الانجليزية", -"eo": "اسبرانتو", -"es": "الأسبانية", -"et": "الأستونية", -"eu": "لغة الباسك", -"fa": "الفارسية", -"ff": "الفلة", -"fi": "الفنلندية", -"fj": "الفيجية", -"fo": "الفارويز", -"fr": "الفرنسية", -"fy": "الفريزيان", -"ga": "الأيرلندية", -"gd": "الغيلية الأسكتلندية", -"gl": "الجاليكية", -"gn": "الجوارانى", -"gu": "الغوجاراتية", -"gv": "المنكية", -"ha": "الهوسا", -"he": "العبرية", -"hi": "الهندية", -"ho": "الهيرى موتو", -"hr": "الكرواتية", -"ht": "الهايتية", -"hu": "الهنغارية", -"hy": "الأرمينية", -"hz": "الهيريرو", -"ia": "اللّغة الوسيطة", -"id": "الأندونيسية", -"ie": "الانترلينج", -"ig": "الايجبو", -"ii": "السيتشيون يى", -"ik": "الاينبياك", -"io": "الايدو", -"is": "الأيسلاندية", -"it": "الايطالية", -"iu": "الاينكتيتت", -"ja": "اليابانية", -"jv": "الجاوية", -"ka": "الجورجية", -"kg": "الكونغو", -"ki": "الكيكيو", -"kj": "الكيونياما", -"kk": "الكازاخستانية", -"kl": "الكالاليست", -"km": "الخميرية", -"kn": "الكانادا", -"ko": "الكورية", -"kr": "الكانيورى", -"ks": "الكاشميرية", -"ku": "الكردية", -"kv": "الكومى", -"kw": "الكورنية", -"ky": "القيرغستانية", -"la": "اللاتينية", -"lb": "اللوكسمبرجية", -"lg": "الجاندا", -"li": "الليمبرجيشية", -"ln": "اللينجالا", -"lo": "اللاوية", -"lt": "اللتوانية", -"lu": "اللبا-كاتانجا", -"lv": "اللاتفية", -"mg": "المالاجاشية", -"mh": "المارشالية", -"mi": "الماورية", -"mk": "المقدونية", -"ml": "الماليالام", -"mn": "المنغولية", -"mo": "المولدوفية", -"mr": "الماراثى", -"ms": "لغة الملايو", -"mt": "المالطية", -"my": "البورمية", -"na": "النورو", -"nb": "البوكمالية النرويجية", -"nd": "النديبيل الشمالى", -"ne": "النيبالية", -"ng": "الندونجا", -"nl": "الهولندية", -"nn": "النينورسك النرويجي", -"no": "النرويجية", -"nr": "النديبيل الجنوبى", -"nv": "النافاجو", -"ny": "النيانجا، التشيتشوا، التشوا", -"oc": "الأوكيتان (بعد 1500)، بروفينسية", -"oj": "الأوجيبوا", -"om": "الأورومو", -"or": "الأورييا", -"os": "الأوسيتيك", -"pa": "البنجابية", -"pi": "البالية", -"pl": "البولندية", -"ps": "البشتونية", -"pt": "البرتغالية", -"qu": "الكويتشوا", -"rm": "الرهايتو-رومانس", -"rn": "الرندى", -"ro": "الرومانية", -"ru": "الروسية", -"rw": "الكينيارواندا", -"sa": "السنسكريتية", -"sc": "السردينية", -"sd": "السيندى", -"se": "السامي الشمالى", -"sg": "السانجو", -"si": "السريلانكية", -"sk": "السلوفاكية", -"sl": "السلوفانية", -"sm": "الساموائية", -"sn": "الشونا", -"so": "الصومالية", -"sq": "الألبانية", -"sr": "الصربية", -"ss": "السواتى", -"su": "السودانية", -"sv": "السويدية", -"sw": "السواحلية", -"ta": "التاميلية", -"te": "التيلجو", -"tg": "الطاجيكية", -"th": "التايلاندية", -"ti": "التيجرينيا", -"tk": "التركمانية", -"tl": "التاغالوغية", -"tn": "التسوانية", -"to": "تونجا - جزر تونجا", -"tr": "التركية", -"ts": "السونجا", -"tt": "التتارية", -"tw": "التوى", -"ty": "التاهيتية", -"ug": "الأغورية", -"uk": "الأوكرانية", -"ur": "الأردية", -"uz": "الاوزباكية", -"ve": "الفيندا", -"vi": "الفيتنامية", -"wa": "الولونية", -"wo": "الولوف", -"yi": "اليديشية", -"yo": "اليوروبية", -"za": "الزهيونج", -"zh": "الصينية", -}, -{ type: "language", iso: "as", -countries: [ -{_reference: "IN"}, -], -name: "অসমীয়া", -"as": "অসমীয়া", -}, -{ type: "language", iso: "az", -countries: [ -{_reference: "AZ"}, -], -name: "azərbaycanca", -"az": "azərbaycanca", -}, -{ type: "language", iso: "be", -countries: [ -{_reference: "BY"}, -], -name: "Беларускі", -"ar": "арабскі", -"be": "Беларускі", -"de": "нямецкі", -"en": "англійскі", -"es": "іспанскі", -"fr": "французскі", -"hi": "хіндзі", -"it": "італьянскі", -"ja": "японскі", -"pt": "партугальскі", -"ru": "рускі", -"zh": "кітайскі", -}, -{ type: "language", iso: "bg", -countries: [ -{_reference: "BG"}, -], -name: "Български", -"ab": "Абхазски", -"af": "Африканс", -"am": "Амхарски", -"ar": "Арабски", -"av": "Аварски", -"ay": "Аймара", -"az": "Азърбайджански", -"ba": "Башкирски", -"be": "Беларуски", -"bg": "Български", -"bi": "Бислама", -"bn": "Бенгалски", -"bo": "Тибетски", -"br": "Бретонски", -"bs": "Босненски", -"ca": "Каталонски", -"ce": "Чеченски", -"co": "Корсикански", -"cs": "Чешки", -"cu": "Църковно славянски", -"cy": "Уелски", -"da": "Датски", -"de": "Немски", -"dv": "Дивехи", -"el": "Гръцки", -"en": "Английски", -"eo": "Есперанто", -"es": "Испански", -"et": "Естонски", -"eu": "Баски", -"fa": "Персийски", -"fi": "Фински", -"fr": "Френски", -"ga": "Ирландски", -"gd": "Шотландски галски", -"gu": "Гуджарати", -"he": "Иврит", -"hi": "Хинди", -"hr": "Хърватски", -"ht": "Хаитянски", -"hu": "Унгарски", -"hy": "Арменски", -"id": "Индонезийски", -"io": "Идо", -"is": "Исландски", -"it": "Италиански", -"ja": "Японски", -"jv": "Явански", -"ka": "Грузински", -"kg": "Конгоански", -"ki": "кикуйу", -"kk": "Казахски", -"km": "Кхмерски", -"ko": "Корейски", -"ks": "Кашмирски", -"ku": "Кюрдски", -"ky": "Киргизски", -"la": "Латински", -"lb": "Люксембургски", -"lo": "Лаоски", -"lt": "Литовски", -"lv": "Латвийски", -"mg": "Малгашки", -"mi": "Маорски", -"mk": "Македонски", -"ml": "Малаялам", -"mn": "Монголски", -"mo": "Молдовски", -"ms": "Малайски", -"mt": "Малтийски", -"my": "Бирмански", -"ne": "Непалски", -"nl": "Холандски", -"no": "Норвежки", -"ny": "Чинянджа", -"os": "Осетски", -"pa": "Пенджабски", -"pl": "Полски", -"ps": "Пущу", -"pt": "Португалски", -"qu": "Кечуа", -"rm": "Реторомански", -"rn": "Рунди", -"ro": "Румънски", -"ru": "Руски", -"rw": "Киняруанда", -"sa": "Санкскритски", -"sc": "Сардински", -"sg": "Санго", -"sh": "Сърбохърватски", -"si": "Синхалски", -"sk": "Словашки", -"sl": "Словенски", -"sm": "Самоански", -"so": "Сомалийски", -"sq": "Албански", -"sr": "Сръбски", -"ss": "Суази", -"st": "Сесуто", -"sv": "Шведски", -"sw": "Суахили", -"ta": "Тамилски", -"te": "Телугу", -"tg": "Таджикски", -"th": "Таи", -"tk": "Туркменски", -"tr": "Турски", -"tt": "Татарски", -"ty": "Таитянски", -"uk": "Украински", -"ur": "Урду", -"uz": "Узбекски", -"vi": "Виетнамски", -"zh": "Китайски", -"zu": "Зулуски", -}, -{ type: "language", iso: "bn", -countries: [ -{_reference: "BD"}, -{_reference: "IN"}, -], -name: "বাংলা", -"bn": "বাংলা", -}, -{ type: "language", iso: "bs", -countries: [ -{_reference: "BA"}, -], -"de": "njemački", -"en": "engleski", -"es": "španjolski", -"fr": "francuski", -"it": "talijanski", -"ja": "japanski", -"pt": "portugalski", -"ru": "ruski", -"zh": "kineski", -}, -{ type: "language", iso: "ca", -countries: [ -{_reference: "ES"}, -], -name: "català", -"aa": "àfar", -"ab": "abkhaz", -"af": "afrikaans", -"am": "amhàric", -"ar": "àrab", -"as": "assamès", -"ay": "aimara", -"az": "àzeri", -"ba": "baixkir", -"be": "bielorús", -"bg": "búlgar", -"bh": "bihari", -"bi": "bislama", -"bn": "bengalí", -"bo": "tibetà", -"br": "bretó", -"ca": "català", -"co": "cors", -"cs": "txec", -"cy": "gal·lès", -"da": "danès", -"de": "alemany", -"dz": "bhutanès", -"el": "grec", -"en": "anglès", -"eo": "esperanto", -"es": "espanyol", -"et": "estonià", -"eu": "basc", -"fa": "persa", -"fi": "finès", -"fj": "fijià", -"fo": "feroès", -"fr": "francès", -"fy": "frisó", -"ga": "irlandès", -"gd": "escocès", -"gl": "gallec", -"gn": "guaraní", -"gu": "gujarati", -"ha": "hausa", -"he": "hebreu", -"hi": "hindi", -"hr": "croat", -"hu": "hongarès", -"hy": "armeni", -"ia": "interlingua", -"id": "indonesi", -"ie": "interlingue", -"ik": "inupiak", -"is": "islandès", -"it": "italià", -"iu": "inuktitut", -"ja": "japonès", -"jv": "javanès", -"ka": "georgià", -"kk": "kazakh", -"kl": "greenlandès", -"km": "cambodjà", -"kn": "kannada", -"ko": "coreà", -"ks": "caixmiri", -"ku": "kurd", -"ky": "kirguís", -"la": "llatí", -"ln": "lingala", -"lo": "laosià", -"lt": "lituà", -"lv": "letó", -"mg": "malgaix", -"mi": "maori", -"mk": "macedoni", -"ml": "malaialam", -"mn": "mongol", -"mo": "moldau", -"mr": "marathi", -"ms": "malai", -"mt": "maltès", -"my": "birmà", -"na": "nauruà", -"ne": "nepalès", -"nl": "neerlandès", -"no": "noruec", -"oc": "occità", -"om": "oromo (afan)", -"or": "oriya", -"pa": "panjabi", -"pl": "polonès", -"ps": "paixto", -"pt": "portuguès", -"qu": "quètxua", -"rm": "retoromànic", -"rn": "kirundi", -"ro": "romanès", -"ru": "rus", -"rw": "kinyarwanda", -"sa": "sànscrit", -"sd": "sindhi", -"sg": "sango", -"sh": "serbo-croat", -"si": "sinhalès", -"sk": "eslovac", -"sl": "eslovè", -"sm": "samoà", -"sn": "shona", -"so": "somali", -"sq": "albanès", -"sr": "serbi", -"ss": "siswati", -"st": "sotho", -"su": "sundanès", -"sv": "suec", -"sw": "swahili", -"ta": "tàmil", -"te": "telugu", -"tg": "tadjik", -"th": "thai", -"ti": "tigrinya", -"tk": "turcman", -"tl": "tagàlog", -"tn": "tswana", -"to": "tonga", -"tr": "turc", -"ts": "tsonga", -"tt": "tàtar", -"tw": "twi", -"ug": "uigur", -"uk": "ucraïnès", -"ur": "urdú", -"uz": "uzbek", -"vi": "vietnamita", -"vo": "volapuk", -"wo": "wòlof", -"xh": "xosa", -"yi": "jiddish", -"yo": "ioruba", -"za": "zhuang", -"zh": "xinés", -"zu": "zulu", -}, -{ type: "language", iso: "cs", -countries: [ -{_reference: "CZ"}, -], -name: "Čeština", -"aa": "Afarština", -"ab": "Abcházština", -"af": "Afrikánština", -"am": "Amharština", -"ar": "Arabština", -"as": "Assaméština", -"ay": "Aymárština", -"az": "Azerbajdžánština", -"ba": "Baskirština", -"be": "Běloruština", -"bg": "Bulharština", -"bh": "Biharština", -"bi": "Bislámština", -"bn": "Bengálština", -"bo": "Tibetština", -"br": "Bretaňština", -"ca": "Katalánština", -"co": "Korsičtina", -"cs": "Čeština", -"cy": "Velština", -"da": "Dánština", -"de": "Němčina", -"dz": "Bhútánština", -"el": "Řečtina", -"en": "Angličtina", -"eo": "Esperanto", -"es": "Španělština", -"et": "Estonština", -"eu": "Baskičtina", -"fa": "Perština", -"fi": "Finština", -"fj": "Fidži", -"fo": "Faerština", -"fr": "Francouzština", -"fy": "Fríština", -"ga": "Irština", -"gd": "Skotská galština", -"gl": "Haličština", -"gn": "Guaranština", -"gu": "Gujaratština", -"gv": "Manština", -"ha": "Hausa", -"he": "Hebrejština", -"hi": "Hindština", -"hr": "Chorvatština", -"hu": "Maďarština", -"hy": "Arménština", -"ia": "Interlingua", -"id": "Indonéština", -"ie": "Interlingue", -"ik": "Inupiakština", -"is": "Islandština", -"it": "Italština", -"iu": "Inuktitutština", -"ja": "Japonština", -"jv": "Javánština", -"ka": "Gruzínština", -"kk": "Kazachština", -"kl": "Grónština", -"km": "Kambodžština", -"kn": "Kannadština", -"ko": "Korejština", -"ks": "Kašmírština", -"ku": "Kurdština", -"ky": "Kirgizština", -"la": "Latina", -"ln": "Lingalština", -"lo": "Laoština", -"lt": "Litevština", -"lv": "Lotyština", -"mg": "Malgaština", -"mi": "Maorština", -"mk": "Makedonština", -"ml": "Malabarština", -"mn": "Mongolština", -"mo": "Moldavština", -"mr": "Marathi", -"ms": "Malajština", -"mt": "Maltština", -"my": "Barmština", -"na": "Nauru", -"ne": "Nepálština", -"no": "Norština", -"oc": "Occitan", -"om": "Oromo (Afan)", -"or": "Oriya", -"pa": "Paňdžábština", -"pl": "Polština", -"ps": "Pashto (Pushto)", -"pt": "Portugalština", -"qu": "Kečuánština", -"rm": "Rétorománština", -"rn": "Kirundi", -"ro": "Rumunština", -"ru": "Ruština", -"rw": "Kinyarwandština", -"sa": "Sanskrt", -"sd": "Sindhi", -"sg": "Sangho", -"sh": "Srbochorvatština", -"si": "Sinhálština", -"sk": "Slovenština", -"sl": "Slovinština", -"sm": "Samoyština", -"sn": "Shona", -"so": "Somálština", -"sq": "Albánština", -"sr": "Srbština", -"ss": "Siswatština", -"st": "Sesotho", -"su": "Sundanština", -"sv": "Švédština", -"sw": "Svahilština", -"ta": "Tamilština", -"te": "Telugština", -"tg": "Tádžičtina", -"th": "Thajština", -"ti": "Tigrinijština", -"tk": "Turkmenština", -"tl": "Tagalog", -"tn": "Setswanština", -"to": "Tonga", -"tr": "Turečtina", -"ts": "Tsonga", -"tt": "Tatarština", -"tw": "Twi", -"ug": "Uighurština", -"uk": "Ukrajinština", -"ur": "Urdština", -"uz": "Uzbečtina", -"vi": "Vietnamština", -"vo": "Volapuk", -"wo": "Wolof", -"xh": "Xhosa", -"yi": "Jidiš", -"yo": "Yoruba", -"za": "Zhuang", -"zh": "Čínština", -"zu": "Zulu", -}, -{ type: "language", iso: "cy", -countries: [ -{_reference: "GB"}, -], -name: "Cymraeg", -"ar": "Arabeg", -"cy": "Cymraeg", -"de": "Almaeneg", -"en": "Saesneg", -"es": "Sbaeneg", -"fr": "Ffrangeg", -"hi": "Hindi", -"it": "Eidaleg", -"ja": "Siapaneeg", -"pt": "Portiwgaleg", -"ru": "Rwsieg", -"zh": "Tseineeg", -}, -{ type: "language", iso: "da", -countries: [ -{_reference: "DK"}, -], -name: "Dansk", -"aa": "afar", -"ab": "abkhasisk", -"ae": "avestan", -"af": "afrikaans", -"ak": "akan", -"am": "amharisk", -"an": "aragonesisk", -"ar": "arabisk", -"as": "assamesisk", -"ay": "Aymara", -"az": "aserbajdsjansk", -"ba": "bashkir", -"be": "hviderussisk", -"bg": "bulgarsk", -"bh": "bihari", -"bi": "bislama", -"bm": "bambara", -"bn": "bengalsk", -"bo": "Tibetansk", -"br": "bretonsk", -"bs": "bosnisk", -"ca": "katalansk", -"ce": "tjetjensk", -"ch": "chamorro", -"co": "Korsikansk", -"cr": "Cree", -"cs": "Tjekkisk", -"cu": "Kirkeslavisk", -"cv": "Chuvash", -"cy": "Walisisk", -"da": "Dansk", -"de": "Tysk", -"dv": "Divehi", -"dz": "Dzongkha", -"ee": "Ewe", -"el": "Græsk", -"en": "Engelsk", -"eo": "Esperanto", -"es": "Spansk", -"et": "Estisk", -"eu": "baskisk", -"fa": "Persisk", -"ff": "Fulah", -"fi": "Finsk", -"fj": "Fijian", -"fo": "Færøsk", -"fr": "Fransk", -"fy": "Frisisk", -"ga": "Irsk", -"gd": "Gælisk (skotsk)", -"gl": "Galicisk", -"gn": "Guarani", -"gu": "Gujaratisk", -"gv": "Manx", -"ha": "Hausa", -"he": "Hebraisk", -"hi": "Hindi", -"ho": "Hiri Motu", -"hr": "Kroatisk", -"ht": "Haitisk", -"hu": "Ungarsk", -"hy": "armensk", -"hz": "Herero", -"ia": "Interlingua", -"id": "Indonesisk", -"ie": "Interlingue", -"ig": "Igbo", -"ii": "Sichuan Yi", -"ik": "Inupiaq", -"io": "Ido", -"is": "Islandsk", -"it": "Italiensk", -"iu": "Inuktitut", -"ja": "Japansk", -"jv": "Javanesisk", -"ka": "Georgisk", -"kg": "Kongo", -"ki": "Kikuyu", -"kj": "Kuanyama", -"kk": "Kasakhisk", -"kl": "Kalaallisut", -"km": "Khmer", -"kn": "Kannaresisk", -"ko": "Koreansk", -"kr": "Kanuri", -"ks": "Kashmiri", -"ku": "Kurdisk", -"kw": "Cornisk", -"ky": "Kirgisisk", -"la": "Latin", -"lb": "Luxembourgsk", -"lg": "Ganda", -"li": "Limburgsk", -"ln": "Lingala", -"lo": "Lao", -"lt": "Litauisk", -"lu": "Luba-Katanga", -"lv": "Lettisk", -"mg": "Malagasy", -"mh": "Marshallese", -"mi": "Maori", -"mk": "Makedonsk", -"ml": "Malayalam", -"mn": "Mongolsk", -"mo": "Moldovisk", -"mr": "Marathisk", -"ms": "Malay", -"mt": "Maltesisk", -"my": "burmesisk", -"na": "Nauru", -"nb": "Norsk Bokmål", -"nd": "Ndebele, Nord", -"ne": "Nepalesisk", -"ng": "Ndonga", -"nl": "Hollandsk", -"nn": "Nynorsk", -"no": "Norsk", -"nr": "Ndebele, Syd", -"nv": "Navajo", -"ny": "Nyanja; Chichewa; Chewa", -"oc": "Occitansk (efter 1500); Provencalsk", -"oj": "Ojibwa", -"om": "Oromo", -"or": "Oriya", -"os": "Ossetisk", -"pa": "Punjabi", -"pi": "Pali", -"pl": "Polsk", -"ps": "Pashto (Pushto)", -"pt": "Portugisisk", -"qu": "Quechua", -"rm": "Rætoromansk", -"rn": "Rundi", -"ro": "Rumænsk", -"ru": "Russisk", -"rw": "Kinyarwanda", -"sa": "Sanskrit", -"sc": "Sardinsk", -"sd": "Sindhi", -"se": "Nordsamisk", -"sg": "Sango", -"sh": "Serbokroatisk", -"si": "Singalesisk", -"sk": "Slovakisk", -"sl": "Slovensk", -"sm": "Samoansk", -"sn": "Shona", -"so": "Somalisk", -"sq": "albansk", -"sr": "Serbisk", -"ss": "Swati", -"st": "Sotho, Southern", -"su": "Sundanesisk", -"sv": "Svensk", -"sw": "Swahili", -"ta": "Tamilsk", -"te": "Telugu", -"tg": "Tajik", -"th": "Thailandsk", -"ti": "Tigrinya", -"tk": "Turkmensk", -"tl": "Tagalog", -"tn": "Tswana", -"to": "Tonga (Tongaøerne)", -"tr": "Tyrkisk", -"ts": "Tsonga", -"tt": "Tatarisk", -"tw": "Twi", -"ty": "Tahitiansk", -"ug": "Uigurisk", -"uk": "Ukrainsk", -"ur": "Urdu", -"uz": "Usbekisk", -"ve": "Venda", -"vi": "Vietnamesisk", -"vo": "Volapük", -"wa": "Vallonsk", -"wo": "Wolof", -"xh": "Xhosa", -"yi": "Jiddisch", -"yo": "Yoruba", -"za": "Zhuang", -"zh": "Kinesisk", -"zu": "Zulu", -}, -{ type: "language", iso: "de", -countries: [ -{_reference: "AT"}, -{_reference: "BE"}, -{_reference: "CH"}, -{_reference: "DE"}, -{_reference: "LI"}, -{_reference: "LU"}, -], -name: "Deutsch", -"aa": "Afar", -"ab": "Abchasisch", -"ae": "Avestisch", -"af": "Afrikaans", -"ak": "Akan", -"am": "Amharisch", -"an": "Aragonesisch", -"ar": "Arabisch", -"as": "Assamesisch", -"av": "Awarisch", -"ay": "Aymará-Sprache", -"az": "Aserbaidschanisch", -"ba": "Baschkirisch", -"be": "Weißrussisch", -"bg": "Bulgarisch", -"bh": "Biharisch", -"bi": "Bislama", -"bm": "Bambara-Sprache", -"bn": "Bengalisch", -"bo": "Tibetisch", -"br": "Bretonisch", -"bs": "Bosnisch", -"ca": "Katalanisch", -"ce": "Tschetschenisch", -"ch": "Chamorro-Sprache", -"co": "Korsisch", -"cr": "Cree", -"cs": "Tschechisch", -"cu": "Kirchenslawisch", -"cv": "Tschuwaschisch", -"cy": "Kymrisch", -"da": "Dänisch", -"de": "Deutsch", -"dv": "Maledivisch", -"dz": "Bhutanisch", -"ee": "Ewe-Sprache", -"el": "Griechisch", -"en": "Englisch", -"eo": "Esperanto", -"es": "Spanisch", -"et": "Estnisch", -"eu": "Baskisch", -"fa": "Persisch", -"ff": "Ful", -"fi": "Finnisch", -"fj": "Fidschianisch", -"fo": "Färöisch", -"fr": "Französisch", -"fy": "Friesisch", -"ga": "Irisch", -"gd": "Schottisch-Gälisch", -"gl": "Galizisch", -"gn": "Guarani", -"gu": "Gujarati", -"gv": "Manx", -"ha": "Hausa", -"he": "Hebräisch", -"hi": "Hindi", -"ho": "Hiri-Motu", -"hr": "Kroatisch", -"ht": "Kreolisch", -"hu": "Ungarisch", -"hy": "Armenisch", -"hz": "Herero-Sprache", -"ia": "Interlingua", -"id": "Indonesisch", -"ie": "Interlingue", -"ig": "Igbo-Sprache", -"ii": "Sichuan Yi", -"ik": "Inupiak", -"io": "Ido-Sprache", -"is": "Isländisch", -"it": "Italienisch", -"iu": "Inukitut", -"ja": "Japanisch", -"jv": "Javanisch", -"ka": "Georgisch", -"kg": "Kongo", -"ki": "Kikuyu-Sprache", -"kj": "Kwanyama", -"kk": "Kasachisch", -"kl": "Grönländisch", -"km": "Kambodschanisch", -"kn": "Kannada", -"ko": "Koreanisch", -"kr": "Kanuri-Sprache", -"ks": "Kaschmirisch", -"ku": "Kurdisch", -"kv": "Komi-Sprache", -"kw": "Kornisch", -"ky": "Kirgisisch", -"la": "Latein", -"lb": "Luxemburgisch", -"lg": "Ganda-Sprache", -"li": "Limburgisch", -"ln": "Lingala", -"lo": "Laotisch", -"lt": "Litauisch", -"lu": "Luba", -"lv": "Lettisch", -"mg": "Madagassisch", -"mh": "Marschallesisch", -"mi": "Maori", -"mk": "Mazedonisch", -"ml": "Malayalam", -"mn": "Mongolisch", -"mo": "Moldauisch", -"mr": "Marathi", -"ms": "Malaiisch", -"mt": "Maltesisch", -"my": "Birmanisch", -"na": "Nauruisch", -"nb": "Norwegisch Bokmål", -"nd": "Ndebele-Sprache (Nord)", -"ne": "Nepalesisch", -"ng": "Ndonga", -"nl": "Niederländisch", -"nn": "Norwegisch Nynorsk", -"no": "Norwegisch", -"nr": "Ndebele-Sprache (Süd)", -"nv": "Navajo-Sprache", -"ny": "Chewa-Sprache", -"oc": "Okzitanisch", -"oj": "Ojibwa-Sprache", -"om": "Oromo", -"or": "Orija", -"os": "Ossetisch", -"pa": "Pandschabisch", -"pi": "Pali", -"pl": "Polnisch", -"ps": "Afghanisch (Paschtu)", -"pt": "Portugiesisch", -"qu": "Quechua", -"rm": "Rätoromanisch", -"rn": "Rundi-Sprache", -"ro": "Rumänisch", -"ru": "Russisch", -"rw": "Ruandisch", -"sa": "Sanskrit", -"sc": "Sardisch", -"sd": "Sindhi", -"se": "Nord-Samisch", -"sg": "Sango", -"sh": "Serbo-Kroatisch", -"si": "Singhalesisch", -"sk": "Slowakisch", -"sl": "Slowenisch", -"sm": "Samoanisch", -"sn": "Shona", -"so": "Somali", -"sq": "Albanisch", -"sr": "Serbisch", -"ss": "Swazi", -"st": "Süd-Sotho-Sprache", -"su": "Sudanesisch", -"sv": "Schwedisch", -"sw": "Suaheli", -"ta": "Tamilisch", -"te": "Telugu", -"tg": "Tadschikisch", -"th": "Thai", -"ti": "Tigrinja", -"tk": "Turkmenisch", -"tl": "Tagalog", -"tn": "Tswana-Sprache", -"to": "Tongaisch", -"tr": "Türkisch", -"ts": "Tsonga", -"tt": "Tatarisch", -"tw": "Twi", -"ty": "Tahitisch", -"ug": "Uigurisch", -"uk": "Ukrainisch", -"ur": "Urdu", -"uz": "Usbekisch", -"ve": "Venda-Sprache", -"vi": "Vietnamesisch", -"vo": "Volapük", -"wa": "Wallonisch", -"wo": "Wolof", -"xh": "Xhosa", -"yi": "Jiddisch", -"yo": "Joruba", -"za": "Zhuang", -"zh": "Chinesisch", -"zu": "Zulu", -}, -{ type: "language", iso: "dv", -countries: [ -{_reference: "MV"}, -], -name: "ދިވެހިބަސް", -}, -{ type: "language", iso: "dz", -countries: [ -{_reference: "BT"}, -], -name: "རྫོང་ཁ", -}, -{ type: "language", iso: "ee", -countries: [ -{_reference: "GH"}, -{_reference: "TG"}, -], -}, -{ type: "language", iso: "el", -countries: [ -{_reference: "CY"}, -{_reference: "GR"}, -], -name: "Ελληνικά", -"ar": "Αραβικά", -"be": "Λευκορωσικά", -"bg": "Βουλγαρικά", -"bn": "Μπενγκάλι", -"bo": "Θιβετιανά", -"bs": "Βοσνιακά", -"ca": "Καταλανικά", -"co": "Κορσικανικά", -"cs": "Τσεχικά", -"cy": "Ουαλικά", -"da": "Δανικά", -"de": "Γερμανικά", -"el": "Ελληνικά", -"en": "Αγγλικά", -"es": "Ισπανικά", -"et": "Εσθονικά", -"eu": "Βασκικά", -"fa": "Περσικά", -"fi": "Φινλανδικά", -"fr": "Γαλλικά", -"ga": "Ιρλανδικά", -"gd": "Σκωτικά Κελτικά", -"he": "Εβραϊκά", -"hi": "Χίντι", -"hr": "Κροατικά", -"hu": "Ουγγρικά", -"hy": "Αρμενικά", -"id": "Ινδονησιακά", -"is": "Ισλανδικά", -"it": "Ιταλικά", -"ja": "Ιαπωνικά", -"ka": "Γεωργιανά", -"ko": "Κορεατικά", -"la": "Λατινικά", -"lt": "Λιθουανικά", -"lv": "Λετονικά", -"mk": "Σλαβομακεδονικά", -"mn": "Μογγολικά", -"mo": "Μολδαβικά", -"mt": "Μαλτεζικά", -"nl": "Ολλανδικά", -"no": "Νορβηγικά", -"pl": "Πολωνικά", -"pt": "Πορτογαλικά", -"ro": "Ρουμανικά", -"ru": "Ρωσικά", -"sh": "Σερβοκροατικά", -"sk": "Σλοβακικά", -"sl": "Σλοβενικά", -"sq": "Αλβανικά", -"sr": "Σερβικά", -"sv": "Σουηδικά", -"th": "Ταϊλανδικά", -"tr": "Τουρκικά", -"uk": "Ουκρανικά", -"vi": "Βιετναμεζικά", -"yi": "Ιουδαϊκά", -"zh": "Κινεζικά", -}, -{ type: "language", iso: "en", -countries: [ -{_reference: "AS"}, -{_reference: "AU"}, -{_reference: "BE"}, -{_reference: "BW"}, -{_reference: "BZ"}, -{_reference: "CA"}, -{_reference: "GB"}, -{_reference: "GU"}, -{_reference: "HK"}, -{_reference: "IE"}, -{_reference: "IN"}, -{_reference: "JM"}, -{_reference: "MH"}, -{_reference: "MP"}, -{_reference: "MT"}, -{_reference: "NA"}, -{_reference: "NZ"}, -{_reference: "PH"}, -{_reference: "PK"}, -{_reference: "SG"}, -{_reference: "TT"}, -{_reference: "UM"}, -{_reference: "US"}, -{_reference: "VI"}, -{_reference: "ZA"}, -{_reference: "ZW"}, -], -name: "English", -"aa": "Afar", -"ab": "Abkhazian", -"ae": "Avestan", -"af": "Afrikaans", -"ak": "Akan", -"am": "Amharic", -"an": "Aragonese", -"ar": "Arabic", -"as": "Assamese", -"av": "Avaric", -"ay": "Aymara", -"az": "Azerbaijani", -"ba": "Bashkir", -"be": "Belarusian", -"bg": "Bulgarian", -"bh": "Bihari", -"bi": "Bislama", -"bm": "Bambara", -"bn": "Bengali", -"bo": "Tibetan", -"br": "Breton", -"bs": "Bosnian", -"ca": "Catalan", -"ce": "Chechen", -"ch": "Chamorro", -"co": "Corsican", -"cr": "Cree", -"cs": "Czech", -"cu": "Church Slavic", -"cv": "Chuvash", -"cy": "Welsh", -"da": "Danish", -"de": "German", -"dv": "Divehi", -"dz": "Dzongkha", -"ee": "Ewe", -"el": "Greek", -"en": "English", -"eo": "Esperanto", -"es": "Spanish", -"et": "Estonian", -"eu": "Basque", -"fa": "Persian", -"ff": "Fulah", -"fi": "Finnish", -"fj": "Fijian", -"fo": "Faroese", -"fr": "French", -"fy": "Western Frisian", -"ga": "Irish", -"gd": "Scottish Gaelic", -"gl": "Galician", -"gn": "Guarani", -"gu": "Gujarati", -"gv": "Manx", -"ha": "Hausa", -"he": "Hebrew", -"hi": "Hindi", -"ho": "Hiri Motu", -"hr": "Croatian", -"ht": "Haitian", -"hu": "Hungarian", -"hy": "Armenian", -"hz": "Herero", -"ia": "Interlingua", -"id": "Indonesian", -"ie": "Interlingue", -"ig": "Igbo", -"ii": "Sichuan Yi", -"ik": "Inupiaq", -"io": "Ido", -"is": "Icelandic", -"it": "Italian", -"iu": "Inuktitut", -"ja": "Japanese", -"jv": "Javanese", -"ka": "Georgian", -"kg": "Kongo", -"ki": "Kikuyu", -"kj": "Kuanyama", -"kk": "Kazakh", -"kl": "Kalaallisut", -"km": "Khmer", -"kn": "Kannada", -"ko": "Korean", -"kr": "Kanuri", -"ks": "Kashmiri", -"ku": "Kurdish", -"kv": "Komi", -"kw": "Cornish", -"ky": "Kirghiz", -"la": "Latin", -"lb": "Luxembourgish", -"lg": "Ganda", -"li": "Limburgish", -"ln": "Lingala", -"lo": "Lao", -"lt": "Lithuanian", -"lu": "Luba-Katanga", -"lv": "Latvian", -"mg": "Malagasy", -"mh": "Marshallese", -"mi": "Maori", -"mk": "Macedonian", -"ml": "Malayalam", -"mn": "Mongolian", -"mo": "Moldavian", -"mr": "Marathi", -"ms": "Malay", -"mt": "Maltese", -"my": "Burmese", -"na": "Nauru", -"nb": "Norwegian Bokmål", -"nd": "North Ndebele", -"ne": "Nepali", -"ng": "Ndonga", -"nl": "Dutch", -"nn": "Norwegian Nynorsk", -"no": "Norwegian", -"nr": "South Ndebele", -"nv": "Navajo", -"ny": "Nyanja; Chichewa; Chewa", -"oc": "Occitan (post 1500); Provençal", -"oj": "Ojibwa", -"om": "Oromo", -"or": "Oriya", -"os": "Ossetic", -"pa": "Punjabi", -"pi": "Pali", -"pl": "Polish", -"pt": "Portuguese", -"qu": "Quechua", -"rm": "Rhaeto-Romance", -"rn": "Rundi", -"ro": "Romanian", -"ru": "Russian", -"rw": "Kinyarwanda", -"sa": "Sanskrit", -"sc": "Sardinian", -"sd": "Sindhi", -"se": "Northern Sami", -"sg": "Sango", -"sh": "Serbo-Croatian", -"si": "Sinhalese", -"sk": "Slovak", -"sl": "Slovenian", -"sm": "Samoan", -"sn": "Shona", -"so": "Somali", -"sq": "Albanian", -"sr": "Serbian", -"ss": "Swati", -"st": "Southern Sotho", -"su": "Sundanese", -"sv": "Swedish", -"sw": "Swahili", -"ta": "Tamil", -"te": "Telugu", -"tg": "Tajik", -"th": "Thai", -"ti": "Tigrinya", -"tk": "Turkmen", -"tl": "Tagalog", -"tn": "Tswana", -"to": "Tonga (Tonga Islands)", -"tr": "Turkish", -"ts": "Tsonga", -"tt": "Tatar", -"tw": "Twi", -"ty": "Tahitian", -"ug": "Uighur", -"uk": "Ukrainian", -"ur": "Urdu", -"uz": "Uzbek", -"ve": "Venda", -"vi": "Vietnamese", -"vo": "Volapük", -"wa": "Walloon", -"wo": "Wolof", -"xh": "Xhosa", -"yi": "Yiddish", -"yo": "Yoruba", -"za": "Zhuang", -"zh": "Chinese", -"zu": "Zulu", -}, -{ type: "language", iso: "eo", -countries: [ -], -name: "esperanto", -"aa": "afara", -"ab": "abĥaza", -"af": "afrikansa", -"am": "amhara", -"ar": "araba", -"as": "asama", -"ay": "ajmara", -"az": "azerbajĝana", -"ba": "baŝkira", -"be": "belorusa", -"bg": "bulgara", -"bh": "bihara", -"bi": "bislamo", -"bn": "bengala", -"bo": "tibeta", -"br": "bretona", -"ca": "kataluna", -"co": "korsika", -"cs": "ĉeĥa", -"cy": "kimra", -"da": "dana", -"de": "germana", -"dz": "dzonko", -"el": "greka", -"en": "angla", -"eo": "esperanto", -"es": "hispana", -"et": "estona", -"eu": "eŭska", -"fa": "persa", -"fi": "finna", -"fj": "fiĝia", -"fo": "feroa", -"fr": "franca", -"fy": "frisa", -"ga": "irlanda", -"gd": "gaela", -"gl": "galega", -"gn": "gvarania", -"gu": "guĝarata", -"ha": "haŭsa", -"he": "hebrea", -"hi": "hinda", -"hr": "kroata", -"hu": "hungara", -"hy": "armena", -"ia": "interlingvao", -"id": "indonezia", -"ie": "okcidentalo", -"ik": "eskima", -"is": "islanda", -"it": "itala", -"iu": "inuita", -"ja": "japana", -"jv": "java", -"ka": "kartvela", -"kk": "kazaĥa", -"kl": "gronlanda", -"km": "kmera", -"kn": "kanara", -"ko": "korea", -"ks": "kaŝmira", -"ku": "kurda", -"ky": "kirgiza", -"la": "latino", -"ln": "lingala", -"lo": "laŭa", -"lt": "litova", -"lv": "latva", -"mg": "malagasa", -"mi": "maoria", -"mk": "makedona", -"ml": "malajalama", -"mn": "mongola", -"mr": "marata", -"ms": "malaja", -"mt": "malta", -"my": "birma", -"na": "naura", -"ne": "nepala", -"nl": "nederlanda", -"no": "norvega", -"oc": "okcitana", -"om": "oroma", -"or": "orijo", -"pa": "panĝaba", -"pl": "pola", -"ps": "paŝtua", -"pt": "portugala", -"qu": "keĉua", -"rm": "romanĉa", -"rn": "burunda", -"ro": "rumana", -"ru": "rusa", -"rw": "ruanda", -"sa": "sanskrito", -"sd": "sinda", -"sg": "sangoa", -"sh": "serbo-Kroata", -"si": "sinhala", -"sk": "slovaka", -"sl": "slovena", -"sm": "samoa", -"sn": "ŝona", -"so": "somala", -"sq": "albana", -"sr": "serba", -"ss": "svazia", -"st": "sota", -"su": "sunda", -"sv": "sveda", -"sw": "svahila", -"ta": "tamila", -"te": "telugua", -"tg": "taĝika", -"th": "taja", -"ti": "tigraja", -"tk": "turkmena", -"tl": "filipina", -"tn": "cvana", -"to": "tongaa", -"tr": "turka", -"ts": "conga", -"tt": "tatara", -"tw": "akana", -"ug": "ujgura", -"uk": "ukraina", -"ur": "urduo", -"uz": "uzbeka", -"vi": "vjetnama", -"vo": "volapuko", -"wo": "volofa", -"xh": "ksosa", -"yi": "jida", -"yo": "joruba", -"za": "ĝuanga", -"zh": "ĉina", -"zu": "zulua", -}, -{ type: "language", iso: "es", -countries: [ -{_reference: "AR"}, -{_reference: "BO"}, -{_reference: "CL"}, -{_reference: "CO"}, -{_reference: "CR"}, -{_reference: "DO"}, -{_reference: "EC"}, -{_reference: "ES"}, -{_reference: "GT"}, -{_reference: "HN"}, -{_reference: "MX"}, -{_reference: "NI"}, -{_reference: "PA"}, -{_reference: "PE"}, -{_reference: "PR"}, -{_reference: "PY"}, -{_reference: "SV"}, -{_reference: "US"}, -{_reference: "UY"}, -{_reference: "VE"}, -], -name: "español", -"aa": "afar", -"ab": "abjaso", -"ae": "avéstico", -"af": "afrikaans", -"ak": "akan", -"am": "amárico", -"an": "aragonés", -"ar": "árabe", -"as": "asamés", -"av": "avar", -"ay": "aymara", -"az": "azerí", -"ba": "bashkir", -"be": "bielorruso", -"bg": "búlgaro", -"bh": "bihari", -"bi": "bislama", -"bm": "bambara", -"bn": "bengalí", -"bo": "tibetano", -"br": "bretón", -"bs": "bosnio", -"ca": "catalán", -"ce": "checheno", -"ch": "chamorro", -"co": "corso", -"cr": "cree", -"cs": "checo", -"cu": "eslavo eclesiástico", -"cv": "chuvash", -"cy": "galés", -"da": "danés", -"de": "alemán", -"dv": "divehi", -"ee": "ewe", -"el": "griego", -"en": "inglés", -"eo": "esperanto", -"es": "español", -"et": "estonio", -"eu": "vasco", -"fa": "farsi", -"ff": "fula", -"fi": "finés", -"fo": "feroés", -"fr": "francés", -"fy": "frisón", -"ga": "irlandés", -"gd": "gaélico escocés", -"gl": "gallego", -"gn": "guaraní", -"gu": "gujarati", -"gv": "gaélico manés", -"ha": "hausa", -"he": "hebreo", -"hi": "hindi", -"ho": "hiri motu", -"hr": "croata", -"ht": "haitiano", -"hu": "húngaro", -"hy": "armenio", -"hz": "herero", -"ia": "interlingua", -"id": "indonesio", -"ie": "interlingue", -"ig": "igbo", -"ii": "sichuan yi", -"ik": "inupiak", -"io": "ido", -"is": "islandés", -"it": "italiano", -"iu": "inuktitut", -"ja": "japonés", -"jv": "javanés", -"ka": "georgiano", -"kg": "kongo", -"ki": "kikuyu", -"kj": "kuanyama", -"kk": "kazajo", -"kl": "groenlandés", -"km": "jemer", -"kn": "canarés", -"ko": "coreano", -"kr": "kanuri", -"ks": "cachemiro", -"ku": "kurdo", -"kv": "komi", -"kw": "córnico", -"ky": "kirghiz", -"la": "latín", -"lb": "luxemburgués", -"lg": "ganda", -"li": "limburgués", -"ln": "lingala", -"lo": "laosiano", -"lt": "lituano", -"lu": "luba-katanga", -"lv": "letón", -"mg": "malgache", -"mh": "marshalés", -"mi": "maorí", -"mk": "macedonio", -"ml": "malayalam", -"mn": "mongol", -"mo": "moldavo", -"mr": "marathi", -"ms": "malayo", -"mt": "maltés", -"my": "birmano", -"na": "nauruano", -"nb": "bokmal noruego", -"nd": "ndebele septentrional", -"ne": "nepalí", -"ng": "ndonga", -"nn": "nynorsk noruego", -"no": "noruego", -"nr": "ndebele meridional", -"nv": "navajo", -"ny": "nyanja", -"oc": "occitano (después del 1500)", -"oj": "ojibwa", -"om": "oromo", -"or": "oriya", -"os": "osético", -"pa": "punjabí", -"pi": "pali", -"pl": "polaco", -"ps": "pashto", -"pt": "portugués", -"qu": "quechua", -"rm": "reto-romance", -"rn": "kiroundi", -"ro": "rumano", -"ru": "ruso", -"rw": "kinyarwanda", -"sa": "sánscrito", -"sc": "sardo", -"sd": "sindhi", -"se": "sami septentrional", -"sg": "sango", -"sh": "serbocroata", -"sk": "eslovaco", -"sl": "esloveno", -"sm": "samoano", -"sn": "shona", -"so": "somalí", -"sq": "albanés", -"sr": "serbio", -"ss": "siswati", -"st": "sesotho", -"su": "sundanés", -"sv": "sueco", -"sw": "swahili", -"ta": "tamil", -"te": "telugu", -"tg": "tayiko", -"th": "tailandés", -"tl": "tagalo", -"tn": "setchwana", -"to": "tonga (Islas Tonga)", -"tr": "turco", -"ts": "tsonga", -"tw": "twi", -"ty": "tahitiano", -"ug": "uigur", -"uk": "ucraniano", -"ur": "urdu", -"uz": "uzbeko", -"ve": "venda", -"vi": "vietnamita", -"wa": "valón", -"wo": "uolof", -"xh": "xhosa", -"yo": "yoruba", -"za": "zhuang", -"zh": "chino", -"zu": "zulú", -}, -{ type: "language", iso: "et", -countries: [ -{_reference: "EE"}, -], -name: "Eesti", -"ar": "Araabia", -"bg": "Bulgaaria", -"cs": "Tiehhi", -"da": "Taani", -"de": "Saksa", -"el": "Kreeka", -"en": "Inglise", -"es": "Hispaania", -"et": "Eesti", -"fi": "Soome", -"fr": "Prantsuse", -"he": "Heebrea", -"hr": "Horvaadi", -"hu": "Ungari", -"it": "Itaalia", -"ja": "Jaapani", -"ko": "Korea", -"lt": "Leedu", -"lv": "Läti", -"nl": "Hollandi", -"no": "Norra", -"pl": "Poola", -"pt": "Portugali", -"ro": "Rumeenia", -"ru": "Vene", -"sk": "Slovaki", -"sl": "Sloveeni", -"sv": "Rootsi", -"tr": "Türgi", -"zh": "Hiina", -}, -{ type: "language", iso: "eu", -countries: [ -{_reference: "ES"}, -], -name: "euskara", -"de": "alemanera", -"en": "ingelera", -"es": "espainiera", -"eu": "euskara", -"fr": "frantsesera", -"it": "italiera", -"ja": "japoniera", -"pt": "portugalera", -"ru": "errusiera", -"zh": "txinera", -}, -{ type: "language", iso: "fa", -countries: [ -{_reference: "AF"}, -{_reference: "IR"}, -], -name: "فارسی", -"az": "ترکی آذربایجانی", -"bs": "بوسنیایی", -"cu": "اسلاوی کلیسایی", -"ii": "یی سیچوان", -"iu": "اینوکتیتوت", -"li": "لیمبورگی", -"lu": "لوبایی‐کاتانگا", -"ng": "ندونگایی", -"pi": "پالی", -"tr": "ترکی استانبولی", -}, -{ type: "language", iso: "fi", -countries: [ -{_reference: "FI"}, -], -name: "suomi", -"aa": "afar", -"ab": "abhaasi", -"ae": "avesta", -"af": "afrikaans", -"ak": "akan", -"am": "amhara", -"an": "aragonia", -"ar": "arabia", -"as": "assami", -"av": "avaari", -"ay": "aimara", -"az": "azeri", -"ba": "baškiiri", -"be": "valkovenäjä", -"bg": "bulgaria", -"bh": "bihari", -"bi": "bislama", -"bm": "bambara", -"bn": "bengali", -"bo": "tiibet", -"br": "bretoni", -"bs": "bosnia", -"ca": "katalaani", -"ce": "tšetšeeni", -"ch": "tšamorro", -"co": "korsika", -"cr": "cree", -"cs": "tšekki", -"cu": "kirkkoslaavi", -"cv": "tšuvassi", -"cy": "kymri", -"da": "tanska", -"de": "saksa", -"dv": "divehi", -"dz": "dzongkha", -"ee": "ewe", -"el": "kreikka", -"en": "englanti", -"eo": "esperanto", -"es": "espanja", -"et": "viro", -"eu": "baski", -"ff": "fulani", -"fi": "suomi", -"fj": "fidži", -"fo": "fääri", -"fr": "ranska", -"fy": "länsifriisi", -"ga": "iiri", -"gd": "gaeli", -"gl": "galicia", -"gn": "guarani", -"gv": "manx", -"ha": "hausa", -"he": "heprea", -"hi": "hindi", -"ho": "hiri-motu", -"hr": "kroatia", -"ht": "haiti", -"hu": "unkari", -"hy": "armenia", -"hz": "herero", -"ia": "interlingua", -"id": "indonesia", -"ie": "interlingue", -"ig": "igbo", -"ii": "sichuanin-yi", -"ik": "inupiatun", -"io": "ido", -"is": "islanti", -"it": "italia", -"iu": "inuktitut", -"ja": "japani", -"jv": "jaava", -"ka": "georgia", -"kg": "kongo", -"ki": "kikuju", -"kj": "kuanjama", -"kk": "kazakki", -"kl": "kalaallisut; grönlanti", -"km": "khmer", -"kn": "kannada", -"ko": "korea", -"kr": "kanuri", -"ks": "kašmiri", -"ku": "kurdi", -"kv": "komi", -"kw": "korni", -"ky": "kirgiisi", -"la": "latina", -"lb": "luxemburg", -"lg": "ganda", -"li": "limburg", -"ln": "lingala", -"lo": "lao", -"lt": "liettua", -"lu": "luba (Katanga)", -"lv": "latvia", -"mg": "malagassi", -"mh": "marshall", -"mi": "maori", -"mk": "makedonia", -"ml": "malajalam", -"mn": "mongoli", -"mo": "moldavia", -"mr": "marathi", -"ms": "malaiji", -"mt": "malta", -"my": "burma", -"na": "nauru", -"nb": "norja (bokmål)", -"nd": "ndebele, pohjois-", -"ne": "nepali", -"ng": "ndonga", -"nl": "hollanti", -"nn": "norja (nynorsk)", -"no": "norja", -"nr": "ndebele, etelä-", -"nv": "navajo", -"ny": "njandža", -"oc": "oksitaani", -"oj": "odžibwa", -"om": "oromo", -"or": "orija", -"os": "osseetti", -"pa": "pandžabi", -"pi": "paali", -"pl": "puola", -"ps": "paštu", -"pt": "portugali", -"qu": "ketšua", -"rm": "retoromaani", -"rn": "rundi", -"ro": "romania", -"ru": "venäjä", -"rw": "ruanda", -"sa": "sanskrit", -"sc": "sardi", -"sd": "sindhi", -"se": "saame, pohjois-", -"sg": "sango", -"si": "sinhali", -"sk": "slovakki", -"sl": "sloveeni", -"sm": "samoa", -"sn": "šona", -"so": "somali", -"sq": "albania", -"sr": "serbia", -"ss": "swazi", -"st": "sotho, etelä-", -"su": "sunda", -"sv": "ruotsi", -"sw": "swahili", -"ta": "tamil", -"te": "telugu", -"tg": "tadžikki", -"th": "thai", -"ti": "tigrinja", -"tk": "turkmeeni", -"tl": "tagalog", -"tn": "tswana", -"to": "tonga (Tonga)", -"tr": "turkki", -"ts": "tsonga", -"tt": "tataari", -"tw": "twi", -"ty": "tahiti", -"ug": "uiguuri", -"uk": "ukraina", -"ur": "urdu", -"uz": "uzbekki", -"ve": "venda", -"vi": "vietnam", -"vo": "volapük", -"wa": "valloni", -"wo": "wolof", -"xh": "xhosa", -"yi": "jiddiš", -"yo": "joruba", -"za": "zhuang", -"zh": "kiina", -"zu": "zulu", -}, -{ type: "language", iso: "fo", -countries: [ -{_reference: "FO"}, -], -name: "føroyskt", -"fo": "føroyskt", -}, -{ type: "language", iso: "fr", -countries: [ -{_reference: "BE"}, -{_reference: "CA"}, -{_reference: "CH"}, -{_reference: "FR"}, -{_reference: "LU"}, -{_reference: "MC"}, -], -name: "français", -"aa": "afar", -"ab": "abkhaze", -"ae": "avestique", -"af": "afrikaans", -"ak": "akan", -"am": "amharique", -"an": "aragonais", -"ar": "arabe", -"as": "assamais", -"av": "avar", -"ay": "aymara", -"az": "azéri", -"ba": "bachkir", -"be": "biélorusse", -"bg": "bulgare", -"bh": "bihari", -"bi": "bichlamar", -"bm": "bambara", -"bn": "bengali", -"bo": "tibétain", -"br": "breton", -"bs": "bosniaque", -"ca": "catalan", -"ce": "tchétchène", -"ch": "chamorro", -"co": "corse", -"cr": "cree", -"cs": "tchèque", -"cu": "slavon d’église", -"cv": "tchouvache", -"cy": "gallois", -"da": "danois", -"de": "allemand", -"dv": "maldivien", -"dz": "dzongkha", -"ee": "éwé", -"el": "grec", -"en": "anglais", -"eo": "espéranto", -"es": "espagnol", -"et": "estonien", -"eu": "basque", -"fa": "persan", -"ff": "peul", -"fi": "finnois", -"fj": "fidjien", -"fo": "féroïen", -"fr": "français", -"fy": "frison", -"ga": "irlandais", -"gd": "gaélique écossais", -"gl": "galicien", -"gn": "guarani", -"gu": "goudjrati", -"gv": "manx", -"ha": "haoussa", -"he": "hébreu", -"hi": "hindi", -"ho": "hiri motu", -"hr": "croate", -"ht": "haïtien", -"hu": "hongrois", -"hy": "arménien", -"hz": "héréro", -"ia": "interlingua", -"id": "indonésien", -"ie": "interlingue", -"ig": "igbo", -"ii": "yi de Sichuan", -"ik": "inupiaq", -"io": "ido", -"is": "islandais", -"it": "italien", -"iu": "inuktitut", -"ja": "japonais", -"jv": "javanais", -"ka": "géorgien", -"kg": "kongo", -"ki": "kikuyu", -"kj": "kuanyama", -"kk": "kazakh", -"kl": "groenlandais", -"km": "khmer", -"kn": "kannada", -"ko": "coréen", -"kr": "kanouri", -"ks": "kashmiri", -"ku": "kurde", -"kv": "komi", -"kw": "cornique", -"ky": "kirghize", -"la": "latin", -"lb": "luxembourgeois", -"lg": "ganda", -"li": "limbourgeois", -"ln": "lingala", -"lo": "lao", -"lt": "lituanien", -"lu": "luba-katanga", -"lv": "letton", -"mg": "malgache", -"mh": "marshall", -"mi": "maori", -"mk": "macédonien", -"ml": "malayalam", -"mn": "mongol", -"mo": "moldave", -"mr": "marathe", -"ms": "malais", -"mt": "maltais", -"my": "birman", -"na": "nauruan", -"nb": "bokmål norvégien", -"nd": "ndébélé du Nord", -"ne": "népalais", -"ng": "ndonga", -"nl": "néerlandais", -"nn": "nynorsk norvégien", -"no": "norvégien", -"nr": "ndébélé du Sud", -"nv": "navaho", -"ny": "nyanja", -"oc": "occitan (après 1500)", -"oj": "ojibwa", -"om": "galla", -"or": "oriya", -"os": "ossète", -"pa": "pendjabi", -"pi": "pali", -"pl": "polonais", -"ps": "pachto", -"pt": "portugais", -"qu": "quechua", -"rm": "rhéto-roman", -"rn": "roundi", -"ro": "roumain", -"ru": "russe", -"rw": "rwanda", -"sa": "sanskrit", -"sc": "sarde", -"sd": "sindhi", -"se": "sami du Nord", -"sg": "sango", -"sh": "serbo-croate", -"si": "singhalais", -"sk": "slovaque", -"sl": "slovène", -"sm": "samoan", -"sn": "shona", -"so": "somali", -"sq": "albanais", -"sr": "serbe", -"ss": "swati", -"st": "sotho du Sud", -"su": "soundanais", -"sv": "suédois", -"sw": "swahili", -"ta": "tamoul", -"te": "télougou", -"tg": "tadjik", -"th": "thaï", -"ti": "tigrigna", -"tk": "turkmène", -"tl": "tagalog", -"tn": "setswana", -"to": "tongan (Îles Tonga)", -"tr": "turc", -"ts": "tsonga", -"tt": "tatar", -"tw": "twi", -"ty": "tahitien", -"ug": "ouïgour", -"uk": "ukrainien", -"ur": "ourdou", -"uz": "ouzbek", -"ve": "venda", -"vi": "vietnamien", -"vo": "volapük", -"wa": "wallon", -"wo": "wolof", -"xh": "xhosa", -"yi": "yiddish", -"yo": "yoruba", -"za": "zhuang", -"zh": "chinois", -"zu": "zoulou", -}, -{ type: "language", iso: "ga", -countries: [ -{_reference: "IE"}, -], -name: "Gaeilge", -"aa": "Afar", -"ab": "Abcáisis", -"ae": "Aivéistis", -"af": "Afracáinis", -"ar": "Araibis", -"as": "Asaimis", -"az": "Asarbaiseáinis", -"ba": "Baiscíris", -"be": "Bealarúisis", -"bg": "Bulgáiris", -"bn": "Beangálais", -"bo": "Tibéadais", -"br": "Briotáinis", -"bs": "Boisnis", -"ca": "Catalóinis", -"ce": "Sisinis", -"co": "Corsaicis", -"cr": "Craíais", -"cs": "Seicis", -"cu": "Slavais na hEaglaise", -"cv": "Suvaisis", -"cy": "Breatnais", -"da": "Danmhairgis", -"de": "Gearmáinis", -"el": "Gréigis", -"en": "Béarla", -"eo": "Esperanto", -"es": "Spáinnis", -"et": "Eastóinis", -"eu": "Bascais", -"fa": "Peirsis", -"fi": "Fionnlainnis", -"fj": "Fidsis", -"fo": "Faróis", -"fr": "Fraincis", -"fy": "Freaslainnais", -"ga": "Gaeilge", -"gd": "Gaeilge na hAlban", -"gu": "Gúisearáitis", -"gv": "Mannainis", -"he": "Eabhrais", -"hi": "Hiondúis", -"hr": "Cróitis", -"hu": "Ungáiris", -"hy": "Airméinis", -"ia": "Interlingua", -"id": "Indinéisis", -"ie": "Interlingue", -"ik": "Inupiaq", -"io": "Ido", -"is": "Íoslainnais", -"it": "Iodáilis", -"iu": "Ionúitis", -"ja": "Seapáinis", -"jv": "Iávais", -"ka": "Seoirsis", -"kk": "Casachais", -"kn": "Cannadais", -"ko": "Cóiréis", -"ks": "Caismíris", -"kw": "Cornais", -"ky": "Cirgeasais", -"la": "Laidin", -"lb": "Leitseabuirgis", -"lo": "Laosais", -"lt": "Liotuáinis", -"lv": "Laitvis", -"mg": "Malagásais", -"mi": "Maorais", -"mk": "Macadóinis", -"ml": "Mailéalaimis", -"mn": "Mongóilis", -"mo": "Moldáivis", -"mr": "Maraitis", -"mt": "Maltais", -"my": "Burmais", -"na": "Nárúis", -"nb": "Ioruais Bokmål", -"ne": "Neipealais", -"nl": "Ollainnais", -"nn": "Ioruais Nynorsk", -"no": "Ioruais", -"nv": "Navachóis", -"oc": "Ocatáinis (tar éis 1500); Provençal", -"os": "Óiséitis", -"pa": "Puinseaibis", -"pl": "Polainnis", -"ps": "Paisteo", -"pt": "Portaingéilis", -"qu": "Ceatsuais", -"ro": "Romáinis", -"ru": "Rúisis", -"sa": "Sanscrait", -"sc": "Sairdínis", -"sd": "Sindis", -"se": "Sáimis Thuaidh", -"sh": "Seirbea-Chróitis", -"sk": "Slóvacais", -"sl": "Slóvéinis", -"sm": "Samóis", -"so": "Somálais", -"sq": "Albáinis", -"sr": "Seirbis", -"sv": "Sualainnis", -"sw": "Svahaílis", -"ta": "Tamailis", -"th": "Téalainnis", -"tl": "Tagálaigis", -"tr": "Tuircis", -"tt": "Tatarais", -"ty": "Taihítis", -"uk": "Úcráinis", -"ur": "Urdais", -"uz": "Úisbéicis", -"vi": "Vítneamais", -"wa": "Vallúnais", -"yi": "Giúdais", -"zh": "Sínis", -"zu": "Súlúis", -}, -{ type: "language", iso: "gl", -countries: [ -{_reference: "ES"}, -], -name: "galego", -"gl": "galego", -}, -{ type: "language", iso: "gu", -countries: [ -{_reference: "IN"}, -], -name: "ગુજરાતી", -"gu": "ગુજરાતી", -}, -{ type: "language", iso: "gv", -countries: [ -{_reference: "GB"}, -], -name: "Gaelg", -"gv": "Gaelg", -}, -{ type: "language", iso: "ha", -countries: [ -{_reference: "GH"}, -{_reference: "NE"}, -{_reference: "NG"}, -], -}, -{ type: "language", iso: "he", -countries: [ -{_reference: "IL"}, -], -name: "עברית", -"aa": "אתיופית", -"ab": "אבחזית", -"ae": "אבסטן", -"af": "אפריקנית", -"ak": "אקאן", -"am": "אמהרית", -"ar": "ערבית", -"as": "אסאמית", -"az": "אזרית", -"ba": "בשקירית", -"be": "בלארוסית", -"bg": "בולגרית", -"bn": "בנגלית", -"bo": "טיבטית", -"br": "ברטונית", -"bs": "בוסנית", -"ca": "קטלונית", -"ce": "צ'צ'נית", -"co": "קורסיקאית", -"cs": "צ׳כית", -"cy": "וולשית", -"da": "דנית", -"de": "גרמנית", -"dv": "דיבהי", -"el": "יוונית", -"en": "אנגלית", -"eo": "אספרנטו", -"es": "ספרדית", -"et": "אסטונית", -"eu": "בסקית", -"fa": "פרסית", -"fi": "פינית", -"fj": "פיג'ית", -"fo": "פארואזית", -"fr": "צרפתית", -"ga": "אירית", -"gd": "סקוטית גאלית", -"gl": "גליציאנית", -"gu": "גוג'ראטית", -"ha": "האוסה", -"he": "עברית", -"hi": "הינדית", -"hr": "קרואטית", -"ht": "האיטית", -"hu": "הונגרית", -"hy": "ארמנית", -"id": "אינדונזית", -"is": "איסלנדית", -"it": "איטלקית", -"ja": "יפנית", -"ka": "גרוזינית", -"kk": "קזחית", -"ko": "קוריאנית", -"ks": "קשמירית", -"ku": "כורדית", -"la": "לטינית", -"lb": "לוקסמבורגית", -"lt": "ליטאית", -"lv": "לטבית", -"mg": "מלגשית", -"mi": "מאורית", -"mk": "מקדונית", -"mn": "מונגולית", -"mo": "מולדבית", -"mr": "מארתית", -"mt": "מלטזית", -"my": "בורמזית", -"nb": "נורבגית שפת הספר (בוקמול)", -"ne": "נפאלית", -"nl": "הולנדית", -"nn": "נורבגית חדשה (נינורשק)", -"no": "נורווגית", -"nv": "נבחו", -"pl": "פולנית", -"ps": "פאשטו", -"pt": "פורטוגזית", -"ro": "רומנית", -"ru": "רוסית", -"sa": "סנסקרית", -"sc": "סרדינית", -"sd": "סינדהית", -"sh": "סרבו-קרואטית", -"sk": "סלובקית", -"sl": "סלובנית", -"sm": "סמואית", -"so": "סומלית", -"sq": "אלבנית", -"sr": "סרבית", -"sv": "שוודית", -"sw": "סווהילית", -"ta": "טמילית", -"th": "תאי", -"tk": "טורקמנית", -"tr": "טורקית", -"uk": "אוקראינית", -"ur": "אורדו", -"uz": "אוזבקית", -"vi": "ויאטנמית", -"yi": "יידיש", -"zh": "סינית", -"zu": "זולו", -}, -{ type: "language", iso: "hi", -countries: [ -{_reference: "IN"}, -], -name: "हिंदी", -"aa": "अफ़ार", -"ab": "अब्खाज़ियन्", -"af": "अफ्रीकी", -"am": "अम्हारिक्", -"ar": "अरबी", -"as": "असामी", -"ay": "आयमारा", -"az": "अज़रबैंजानी", -"ba": "बशख़िर", -"be": "बैलोरूशियन्", -"bg": "बल्गेरियन्", -"bh": "बिहारी", -"bi": "बिस्लामा", -"bn": "बँगाली", -"bo": "तिब्बती", -"br": "ब्रेटन", -"ca": "कातालान", -"co": "कोर्सीकन", -"cs": "चेक", -"cy": "वेल्श", -"da": "डैनीश", -"de": "ज़र्मन", -"dz": "भुटानी", -"el": "ग्रीक", -"en": "अंग्रेजी", -"eo": "एस्पेरान्तो", -"es": "स्पेनिश", -"et": "ऐस्तोनियन्", -"eu": "बास्क्", -"fa": "पर्शियन्", -"fi": "फिनिश", -"fj": "फ़ीजी", -"fo": "फिरोज़ी", -"fr": "फ्रेंच", -"fy": "फ्रीज़न्", -"ga": "आईरिश", -"gd": "स्काट्स् गायेलिक्", -"gl": "गैलिशियन्", -"gn": "गुआरानी", -"gu": "गुज़राती", -"ha": "होउसा", -"he": "हिब्रीऊ", -"hi": "हिंदी", -"hr": "क्रोएशन्", -"hu": "हंगेरी", -"hy": "अरमेनियन्", -"ia": "ईन्टरलिंगुआ", -"id": "इन्डोनेशियन्", -"ie": "ईन्टरलिंगुइ", -"ik": "इनुपियाक्", -"is": "आईस्लैंडिक्", -"it": "ईटालियन्", -"iu": "इनूकीटूत्", -"ja": "जापानी", -"jv": "जावानीस", -"ka": "जॉर्जीयन्", -"kk": "कज़ाख", -"kl": "ग्रीनलैंडिक", -"km": "कैम्बोडियन्", -"kn": "कन्नड़", -"ko": "कोरीयन्", -"ks": "काश्मिरी", -"ku": "कुरदीश", -"ky": "किरघिज़", -"la": "लैटीन", -"ln": "लिंगाला", -"lo": "लाओथीयन्", -"lt": "लिथुनियन्", -"lv": "लाटवियन् (लेट्टीश)", -"mg": "मालागासी", -"mi": "मेओरी", -"mk": "मैसेडोनियन्", -"ml": "मलयालम", -"mn": "मोंगोलियन", -"mo": "मोलडावियन्", -"mr": "मराठी", -"ms": "मलय", -"mt": "मालटिस्", -"my": "बर्लिस", -"na": "नायरू", -"ne": "नेपाली", -"nl": "डच्", -"no": "नार्वेजीयन्", -"oc": "ओसीटान", -"om": "ओरोमो (अफ़ान)", -"or": "उड़िया", -"pa": "पंजाबी", -"pl": "पॉलिश", -"ps": "पॉशतो (पुशतो)", -"pt": "पुर्तुगी", -"qu": "क्वेशुआ", -"rm": "रहेय्टो-रोमान्स", -"rn": "किरून्दी", -"ro": "रूमानीयन्", -"ru": "रुसी", -"rw": "किन्यारवाण्डा", -"sa": "संस्कृत", -"sd": "सिन्धी", -"sg": "साँग्रो", -"sh": "सेर्बो-क्रोएशन्", -"si": "शिंघालीस्", -"sk": "स्लोवाक्", -"sl": "स्लोवेनियन्", -"sm": "सामोन", -"sn": "सोणा", -"so": "सोमाली", -"sq": "अल्बेनियन्", -"sr": "सर्बियन्", -"ss": "सीस्वाटि", -"st": "सेसोथो", -"su": "सुन्दानीस", -"sv": "स्विडिश", -"sw": "स्वाहिली", -"ta": "तमिल", -"te": "तेलेगु", -"tg": "ताजिक्", -"th": "थाई", -"ti": "तिग्रीन्या", -"tk": "तुक्रमेन", -"tl": "तागालोग", -"tn": "सेत्स्वाना", -"to": "टोंगा", -"tr": "तुक्रीश", -"ts": "सोंगा", -"tt": "टाटर", -"tw": "ट्वी", -"ug": "उईघुर", -"uk": "यूक्रेनियन्", -"ur": "ऊर्दु", -"uz": "उज़बेक्", -"vi": "वियेतनामी", -"vo": "वोलापुक", -"wo": "वोलोफ", -"xh": "षोसा", -"yi": "येहुदी", -"yo": "योरूबा", -"za": "ज़ुआंग", -"zh": "चीनी", -"zu": "ज़ुलू", -}, -{ type: "language", iso: "hr", -countries: [ -{_reference: "HR"}, -], -name: "hrvatski", -"ar": "arapski", -"av": "avarski", -"be": "bjeloruski", -"bg": "bugarski", -"cs": "češki", -"cu": "crkvenoslavenski", -"cy": "velški", -"da": "danski", -"de": "njemački", -"el": "grčki", -"en": "engleski", -"eo": "esperanto", -"es": "španjolski", -"et": "estonijski", -"fa": "perzijski", -"fi": "finski", -"fr": "francuski", -"fy": "frizijski", -"ga": "irski", -"he": "hebrejski", -"hr": "hrvatski", -"hu": "mađarski", -"hy": "armenski", -"is": "islandski", -"it": "talijanski", -"ja": "japanski", -"km": "kmerski", -"ko": "korejski", -"la": "latinski", -"lt": "litvanski", -"lv": "latvijski", -"mk": "makedonski", -"mn": "mongolski", -"mt": "malteški", -"ne": "nepalski", -"nl": "nizozemski", -"no": "norveški", -"pl": "poljski", -"pt": "portugalski", -"ro": "rumunjski", -"ru": "ruski", -"sk": "slovački", -"sl": "slovenski", -"sq": "albanski", -"sr": "srpski", -"sv": "švedski", -"tr": "turski", -"uk": "ukrajinski", -"vi": "vijetnamski", -"zh": "kineski", -}, -{ type: "language", iso: "hu", -countries: [ -{_reference: "HU"}, -], -name: "magyar", -"aa": "afar", -"ab": "abház", -"af": "afrikai", -"am": "amhara", -"ar": "arab", -"as": "asszámi", -"ay": "ajmara", -"az": "azerbajdzsáni", -"ba": "baskír", -"be": "belorusz", -"bg": "bolgár", -"bh": "bihari", -"bi": "bislama", -"bn": "bengáli", -"bo": "tibeti", -"br": "breton", -"ca": "katalán", -"co": "korzikai", -"cs": "cseh", -"cy": "walesi", -"da": "dán", -"de": "német", -"dz": "butáni", -"el": "görög", -"en": "angol", -"eo": "eszperantó", -"es": "spanyol", -"et": "észt", -"eu": "baszk", -"fa": "perzsa", -"fi": "finn", -"fj": "fidzsi", -"fo": "feröeri", -"fr": "francia", -"fy": "fríz", -"ga": "ír", -"gd": "skót (gael)", -"gl": "galíciai", -"gn": "guarani", -"gu": "gudzsaráti", -"ha": "hausza", -"he": "héber", -"hi": "hindi", -"hr": "horvát", -"hu": "magyar", -"hy": "örmény", -"ia": "interlingua", -"id": "indonéz", -"ie": "interlingue", -"ik": "inupiak", -"is": "izlandi", -"it": "olasz", -"iu": "inuktitut", -"ja": "japán", -"jv": "jávai", -"ka": "grúz", -"kk": "kazah", -"kl": "grönlandi", -"km": "kambodzsai", -"kn": "kannada", -"ko": "koreai", -"ks": "kasmíri", -"ku": "kurd", -"ky": "kirgiz", -"la": "latin", -"ln": "lingala", -"lo": "laoszi", -"lt": "litván", -"lv": "lett", -"mg": "madagaszkári", -"mi": "maori", -"mk": "macedón", -"ml": "malajalam", -"mn": "mongol", -"mo": "moldvai", -"mr": "marati", -"ms": "maláj", -"mt": "máltai", -"my": "burmai", -"na": "naurui", -"ne": "nepáli", -"nl": "holland", -"no": "norvég", -"oc": "okszitán", -"om": "oromói", -"or": "orija", -"pa": "pandzsábi", -"pl": "lengyel", -"ps": "pastu (afgán)", -"pt": "portugál", -"qu": "kecsua", -"rm": "rétoromán", -"rn": "kirundi", -"ro": "román", -"ru": "orosz", -"rw": "kiruanda", -"sa": "szanszkrit", -"sd": "szindi", -"sg": "sango", -"sh": "szerb-horvát", -"si": "szingaléz", -"sk": "szlovák", -"sl": "szlovén", -"sm": "szamoai", -"sn": "sona", -"so": "szomáli", -"sq": "albán", -"sr": "szerb", -"ss": "sziszuati", -"st": "szeszotó", -"su": "szundanéz", -"sv": "svéd", -"sw": "szuahéli", -"ta": "tamil", -"te": "telugu", -"tg": "tadzsik", -"th": "thai", -"ti": "tigrinya", -"tk": "türkmén", -"tl": "tagalog", -"tn": "szecsuáni", -"to": "tonga", -"tr": "török", -"ts": "conga", -"tt": "tatár", -"tw": "tui", -"ug": "ujgur", -"uk": "ukrán", -"ur": "urdu", -"uz": "üzbég", -"vi": "vietnámi", -"vo": "volapük", -"wo": "volof", -"xh": "hosza", -"yi": "zsidó", -"yo": "joruba", -"za": "zsuang", -"zh": "kínai", -"zu": "zulu", -}, -{ type: "language", iso: "hy", -countries: [ -{_reference: "AM"}, -], -name: "Հայերէն", -"hy": "Հայերէն", -}, -{ type: "language", iso: "ia", -countries: [ -], -}, -{ type: "language", iso: "id", -countries: [ -{_reference: "ID"}, -], -name: "Bahasa Indonesia", -"aa": "Afar", -"ab": "Abkhaz", -"ae": "Avestan", -"af": "Afrikaans", -"ak": "Akan", -"am": "Amharik", -"ar": "Arab", -"as": "Assam", -"av": "Avarik", -"ay": "Aymara", -"az": "Azerbaijan", -"ba": "Bashkir", -"be": "Belarusia", -"bg": "Bulgaria", -"bh": "Bihari", -"bi": "Bislama", -"bm": "Bambara", -"bn": "Bengal", -"bo": "Tibet", -"br": "Breton", -"bs": "Bosnia", -"ca": "Catalan", -"ce": "Chechen", -"ch": "Chamorro", -"co": "Korsika", -"cr": "Cree", -"cs": "Ceko", -"cv": "Chuvash", -"cy": "Welsh", -"da": "Denmark", -"de": "Jerman", -"dv": "Divehi", -"dz": "Dzongkha", -"ee": "Ewe", -"el": "Yunani", -"en": "Inggris", -"eo": "Esperanto", -"es": "Spanyol", -"et": "Estonian", -"eu": "Basque", -"fa": "Persia", -"ff": "Fulah", -"fi": "Finlandia", -"fj": "Fiji", -"fo": "Faro", -"fr": "Perancis", -"fy": "Frisi", -"ga": "Irlandia", -"gd": "Gaelik Skotlandia", -"gl": "Gallegan", -"gn": "Guarani", -"gu": "Gujarati", -"gv": "Manx", -"ha": "Hausa", -"he": "Ibrani", -"hi": "Hindi", -"ho": "Hiri Motu", -"hr": "Kroasia", -"hu": "Hungaria", -"hy": "Armenia", -"hz": "Herero", -"ia": "Interlingua", -"id": "Bahasa Indonesia", -"ie": "Interlingue", -"ig": "Igbo", -"ii": "Sichuan Yi", -"ik": "Inupiaq", -"io": "Ido", -"is": "Icelandic", -"it": "Italian", -"ja": "Japanese", -"jv": "Jawa", -"ka": "Georgian", -"kg": "Kongo", -"ki": "Kikuyu", -"kj": "Kuanyama", -"kk": "Kazakh", -"kl": "Kalaallisut", -"km": "Khmer", -"kn": "Kannada", -"ko": "Korea", -"kr": "Kanuri", -"ks": "Kashmir", -"ku": "Kurdi", -"kv": "Komi", -"kw": "Cornish", -"ky": "Kirghiz", -"la": "Latin", -"lb": "Luxembourg", -"lg": "Ganda", -"li": "Limburg", -"ln": "Lingala", -"lo": "Lao", -"lt": "Lithuania", -"lu": "Luba-Katanga", -"lv": "Latvian", -"mg": "Malagasi", -"mh": "Marshall", -"mi": "Maori", -"mk": "Macedonian", -"ml": "Malayalam", -"mn": "Mongolian", -"mo": "Moldavian", -"mr": "Marathi", -"ms": "Malay", -"mt": "Maltese", -"my": "Burma", -"na": "Nauru", -"nb": "Norwegian Bokmål", -"ne": "Nepal", -"ng": "Ndonga", -"nl": "Belanda", -"nn": "Norwegian Nynorsk", -"no": "Norwegian", -"nv": "Navajo", -"ny": "Nyanja; Chichewa; Chewa", -"oj": "Ojibwa", -"om": "Oromo", -"or": "Oriya", -"os": "Ossetic", -"pa": "Punjabi", -"pi": "Pali", -"pl": "Polish", -"ps": "Pashto (Pushto)", -"pt": "Portugis", -"qu": "Quechua", -"rm": "Rhaeto-Romance", -"rn": "Rundi", -"ro": "Romanian", -"ru": "Russian", -"rw": "Kinyarwanda", -"sa": "Sanskrit", -"sc": "Sardinian", -"sd": "Sindhi", -"se": "Northern Sami", -"sg": "Sango", -"sh": "Serbo-Croatian", -"si": "Sinhalese", -"sk": "Slovak", -"sl": "Slovenian", -"sm": "Samoan", -"sn": "Shona", -"so": "Somali", -"sq": "Albanian", -"sr": "Serbian", -"ss": "Swati", -"su": "Sundan", -"sv": "Swedia", -"sw": "Swahili", -"ta": "Tamil", -"te": "Telugu", -"tg": "Tajik", -"th": "Thai", -"ti": "Tigrinya", -"tk": "Turkmen", -"tl": "Tagalog", -"tn": "Tswana", -"tr": "Turkish", -"ts": "Tsonga", -"tt": "Tatar", -"tw": "Twi", -"ty": "Tahitian", -"ug": "Uighur", -"uk": "Ukrainian", -"ur": "Urdu", -"uz": "Uzbek", -"ve": "Venda", -"vi": "Vietnamese", -"vo": "Volapük", -"wa": "Walloon", -"wo": "Wolof", -"xh": "Xhosa", -"yi": "Yiddish", -"yo": "Yoruba", -"za": "Zhuang", -"zh": "Cina", -"zu": "Zulu", -}, -{ type: "language", iso: "ig", -countries: [ -{_reference: "NG"}, -], -}, -{ type: "language", iso: "is", -countries: [ -{_reference: "IS"}, -], -name: "Íslenska", -"ab": "Abkasíska", -"ae": "Avestíska", -"af": "Afríkanska", -"ak": "Akan", -"am": "Amharíska", -"an": "Aragonska", -"ar": "Arabíska", -"as": "Assamska", -"av": "Avaríska", -"ay": "Aímara", -"az": "Aserska", -"ba": "Baskír", -"be": "Hvítrússneska", -"bg": "Búlgarska", -"bh": "Bíharí", -"bi": "Bíslama", -"bm": "Bambara", -"bn": "Bengalska", -"bo": "Tíbeska", -"br": "Bretónska", -"bs": "Bosníska", -"ca": "Katalónska", -"ce": "Tsjetsjenska", -"ch": "Kamorró", -"co": "Korsíska", -"cr": "Krí", -"cs": "Tékkneska", -"cu": "Kirkjuslavneska", -"cv": "Sjúvas", -"cy": "Velska", -"da": "Danska", -"de": "Þýska", -"dv": "Dívehí", -"dz": "Dsongka", -"ee": "Eve", -"el": "Nýgríska (1453-)", -"en": "Enska", -"eo": "Esperantó", -"es": "Spænska", -"et": "Eistneska", -"eu": "Baskneska", -"fa": "Persneska", -"ff": "Fúla", -"fi": "Finnska", -"fj": "Fídjeyska", -"fo": "Færeyska", -"fr": "Franska", -"fy": "Frísneska", -"ga": "Írska", -"gd": "Skosk gelíska", -"gl": "Gallegska", -"gn": "Gvaraní", -"gu": "Gújaratí", -"gv": "Manx", -"ha": "Hása", -"he": "Hebreska", -"hi": "Hindí", -"ho": "Hírímótú", -"hr": "Króatíska", -"ht": "Haítíska", -"hu": "Ungverska", -"hy": "Armenska", -"hz": "Hereró", -"ia": "Interlingva", -"id": "Indónesíska", -"ie": "Interlingve", -"ig": "Ígbó", -"ii": "Sísúanjí", -"ik": "Ínúpíak", -"io": "Ídó", -"is": "Íslenska", -"it": "Ítalska", -"iu": "Inúktitút", -"ja": "Japanska", -"jv": "Javanska", -"ka": "Georgíska", -"kg": "Kongó", -"ki": "Kíkújú", -"kj": "Kúanjama", -"kk": "Kasakska", -"kl": "Grænlenska", -"km": "Kmer", -"kn": "Kannada", -"ko": "Kóreska", -"kr": "Kanúrí", -"ks": "Kasmírska", -"ku": "Kúrdneska", -"kv": "Komíska", -"kw": "Korníska", -"ky": "Kirgiska", -"la": "Latína", -"lb": "Lúxemborgíska", -"lg": "Ganda", -"li": "Limbúrgíska", -"ln": "Lingala", -"lo": "Laó", -"lt": "Litháíska", -"lu": "Lúbakatanga", -"lv": "Lettneska", -"mg": "Malagasíska", -"mh": "Marshallska", -"mi": "Maórí", -"mk": "Makedónska", -"ml": "Malajalam", -"mn": "Mongólska", -"mo": "Moldóvska", -"mr": "Maratí", -"ms": "Malaíska", -"mt": "Maltneska", -"my": "Burmneska", -"na": "Nárúska", -"nb": "Norskt bókmál", -"nd": "Norðurndebele", -"ne": "Nepalska", -"ng": "Ndonga", -"nl": "Hollenska", -"nn": "Nýnorska", -"no": "Norska", -"nr": "Suðurndebele", -"nv": "Navahó", -"ny": "Njanja; Sísjeva; Sjeva", -"oc": "Okkitíska (eftir 1500); Próvensalska", -"oj": "Ojibva", -"om": "Órómó", -"or": "Óría", -"os": "Ossetíska", -"pa": "Púnjabí", -"pi": "Palí", -"pl": "Pólska", -"ps": "Pastú", -"pt": "Portúgalska", -"qu": "Kvesjúa", -"rm": "Retórómanska", -"rn": "Rúndí", -"ro": "Rúmenska", -"ru": "Rússneska", -"rw": "Kínjarvanda", -"sa": "Sanskrít", -"sc": "Sardínska", -"sd": "Sindí", -"se": "Norðursamíska", -"sg": "Sangó", -"sh": "Serbókróatíska", -"si": "Singalesíska", -"sk": "Slóvakíska", -"sl": "Slóvenska", -"sm": "Samóska", -"sn": "Shona", -"so": "Sómalska", -"sq": "Albanska", -"sr": "Serbneska", -"ss": "Svatí", -"st": "Suðursótó", -"su": "Súndanska", -"sv": "Sænska", -"sw": "Svahílí", -"ta": "Tamílska", -"te": "Telúgú", -"tg": "Tadsjikska", -"th": "Taílenska", -"ti": "Tígrinja", -"tk": "Túrkmenska", -"tl": "Tagalog", -"tn": "Tsúana", -"to": "Tongverska (Tongaeyjar)", -"tr": "Tyrkneska", -"ts": "Tsonga", -"tt": "Tatarska", -"tw": "Tví", -"ty": "Tahítíska", -"ug": "Úígúr", -"uk": "Úkraínska", -"ur": "Úrdú", -"uz": "Úsbekska", -"ve": "Venda", -"vi": "Víetnamska", -"vo": "Volapük", -"wa": "Vallónska", -"wo": "Volof", -"xh": "Sósa", -"yi": "Jiddíska", -"yo": "Jórúba", -"za": "Súang", -"zh": "Kínverska", -"zu": "Súlú", -}, -{ type: "language", iso: "it", -countries: [ -{_reference: "CH"}, -{_reference: "IT"}, -], -name: "italiano", -"aa": "afar", -"ab": "abkhazian", -"ae": "avestan", -"af": "afrikaans", -"ak": "akan", -"am": "amarico", -"an": "aragonese", -"ar": "arabo", -"as": "assamese", -"av": "avaro", -"ay": "aymara", -"az": "azerbaigiano", -"ba": "baschiro", -"be": "bielorusso", -"bg": "bulgaro", -"bh": "bihari", -"bi": "bislama", -"bm": "bambara", -"bn": "bengalese", -"bo": "tibetano", -"br": "bretone", -"bs": "bosniaco", -"ca": "catalano", -"ce": "ceceno", -"ch": "chamorro", -"co": "corso", -"cr": "cree", -"cs": "ceco", -"cu": "slavo della Chiesa", -"cv": "chuvash", -"cy": "gallese", -"da": "danese", -"de": "tedesco", -"dv": "divehi", -"dz": "dzongkha", -"ee": "ewe", -"el": "greco", -"en": "inglese", -"eo": "esperanto", -"es": "spagnolo", -"et": "estone", -"eu": "basco", -"fa": "persiano", -"ff": "fulah", -"fi": "finlandese", -"fj": "figiano", -"fo": "faroese", -"fr": "francese", -"fy": "frisone", -"ga": "irlandese", -"gd": "gaelico scozzese", -"gl": "galiziano", -"gn": "guarana", -"gu": "gujarati", -"gv": "manx", -"ha": "haussa", -"he": "ebraico", -"hi": "hindi", -"ho": "hiri motu", -"hr": "croato", -"ht": "haitiano", -"hu": "ungherese", -"hy": "armeno", -"hz": "herero", -"ia": "interlingua", -"id": "indonesiano", -"ie": "interlingue", -"ig": "igbo", -"ii": "sichuan yi", -"ik": "inupiak", -"io": "ido", -"is": "islandese", -"it": "italiano", -"iu": "inuktitut", -"ja": "giapponese", -"jv": "giavanese", -"ka": "georgiano", -"kg": "kongo", -"ki": "kikuyu", -"kj": "kuanyama", -"kk": "kazako", -"kl": "kalaallisut", -"km": "khmer", -"kn": "kannada", -"ko": "coreano", -"kr": "kanuri", -"ks": "kashmiri", -"ku": "curdo", -"kv": "komi", -"kw": "cornico", -"ky": "kirghiso", -"la": "latino", -"lb": "lussemburghese", -"lg": "ganda", -"li": "limburgese", -"ln": "lingala", -"lo": "lao", -"lt": "lituano", -"lu": "luba-katanga", -"lv": "lettone", -"mg": "malgascio", -"mh": "marshallese", -"mi": "maori", -"mk": "macedone", -"ml": "malayalam", -"mn": "mongolo", -"mo": "moldavo", -"mr": "marathi", -"ms": "malese", -"mt": "maltese", -"my": "birmano", -"na": "nauru", -"nd": "ndebele del nord", -"ne": "nepalese", -"ng": "ndonga", -"nl": "olandese", -"nn": "norvegese nynorsk", -"no": "norvegese", -"nr": "ndebele del sud", -"nv": "navajo", -"ny": "nyanja; chichewa; chewa", -"oc": "occitano (post 1500); provenzale", -"oj": "ojibwa", -"om": "oromo", -"or": "oriya", -"os": "ossetico", -"pa": "punjabi", -"pi": "pali", -"pl": "polacco", -"ps": "pashto", -"pt": "portoghese", -"qu": "quechua", -"rm": "lingua rhaeto-romance", -"rn": "rundi", -"ro": "rumeno", -"ru": "russo", -"rw": "kinyarwanda", -"sa": "sanscrito", -"sc": "sardo", -"sd": "sindhi", -"se": "sami del nord", -"sg": "sango", -"sh": "serbo-croato", -"si": "singalese", -"sk": "slovacco", -"sl": "sloveno", -"sm": "samoano", -"sn": "shona", -"so": "somalo", -"sq": "albanese", -"sr": "serbo", -"ss": "swati", -"st": "sotho del sud", -"su": "sundanese", -"sv": "svedese", -"sw": "swahili", -"ta": "tamil", -"te": "telugu", -"tg": "tagicco", -"th": "thai", -"ti": "tigrinya", -"tk": "turcomanno", -"tl": "tagalog", -"tn": "tswana", -"to": "tonga (Isole Tonga)", -"tr": "turco", -"ts": "tsonga", -"tt": "tatarico", -"tw": "ci", -"ty": "taitiano", -"ug": "uigurico", -"uk": "ucraino", -"ur": "urdu", -"uz": "usbeco", -"ve": "venda", -"vi": "vietnamita", -"wa": "vallone", -"wo": "volof", -"xh": "xosa", -"yi": "yiddish", -"yo": "yoruba", -"za": "zhuang", -"zh": "cinese", -"zu": "zulu", -}, -{ type: "language", iso: "iu", -countries: [ -], -name: "ᐃᓄᒃᑎᑐᑦ ᑎᑎᕋᐅᓯᖅ", -}, -{ type: "language", iso: "ja", -countries: [ -{_reference: "JP"}, -], -name: "日本語", -"aa": "アファル語", -"ab": "アブハズ語", -"ae": "アヴェスタ語", -"af": "アフリカーンス語", -"ak": "アカン語", -"am": "アムハラ語", -"an": "アラゴン語", -"ar": "アラビア語", -"as": "アッサム語", -"av": "アヴァル語", -"ay": "アイマラ語", -"az": "アゼルバイジャン語", -"ba": "バシキール語", -"be": "ベラルーシ語", -"bg": "ブルガリア語", -"bh": "ビハール語", -"bi": "ビスラマ語", -"bm": "バンバラ語", -"bn": "ベンガル語", -"bo": "チベット語", -"br": "ブルトン語", -"bs": "ボスニア語", -"ca": "カタロニア語", -"ce": "チェチェン語", -"ch": "チャモロ語", -"co": "コルシカ語", -"cr": "クリー語", -"cs": "チェコ語", -"cu": "教会スラブ語", -"cv": "チュヴァシュ語", -"cy": "ウェールズ語", -"da": "デンマーク語", -"de": "ドイツ語", -"dv": "ディベヒ語", -"dz": "ゾンカ語", -"ee": "エウェ語", -"el": "ギリシャ語", -"en": "英語", -"eo": "エスペラント語", -"es": "スペイン語", -"et": "エストニア語", -"eu": "バスク語", -"fa": "ペルシア語", -"ff": "フラニ語", -"fi": "フィンランド語", -"fj": "フィジー語", -"fo": "フェロー語", -"fr": "フランス語", -"fy": "フリジア語", -"ga": "アイルランド語", -"gd": "スコットランド・ゲール語", -"gl": "ガリシア語", -"gn": "グアラニー語", -"gu": "グジャラート語", -"gv": "マン島語", -"ha": "ハウサ語", -"he": "ヘブライ語", -"hi": "ヒンディー語", -"ho": "ヒリモトゥ語", -"hr": "クロアチア語", -"ht": "ハイチ語", -"hu": "ハンガリー語", -"hy": "アルメニア語", -"hz": "ヘレロ語", -"ia": "インターリングア語", -"id": "インドネシア語", -"ie": "インターリング語", -"ig": "イボ語", -"ii": "四川イ語", -"ik": "イヌピアック語", -"io": "イド語", -"is": "アイスランド語", -"it": "イタリア語", -"iu": "イヌクウティトット語", -"ja": "日本語", -"jv": "ジャワ語", -"ka": "グルジア語", -"kg": "コンゴ語", -"ki": "キクユ語", -"kj": "クアニャマ語", -"kk": "カザフ語", -"kl": "グリーンランド語", -"km": "クメール語", -"kn": "カンナダ語", -"ko": "韓国語", -"kr": "カヌリ語", -"ks": "カシミール語", -"ku": "クルド語", -"kv": "コミ語", -"kw": "コーンウォール語", -"ky": "キルギス語", -"la": "ラテン語", -"lb": "ルクセンブルク語", -"lg": "ガンダ語", -"li": "リンブルフ語", -"ln": "リンガラ語", -"lo": "ラオ語", -"lt": "リトアニア語", -"lu": "ルバ・カタンガ語", -"lv": "ラトビア語", -"mg": "マダガスカル語", -"mh": "マーシャル語", -"mi": "マオリ語", -"mk": "マケドニア語", -"ml": "マラヤーラム語", -"mn": "モンゴル語", -"mo": "モルダビア語", -"mr": "マラーティー語", -"ms": "マレー語", -"mt": "マルタ語", -"my": "ビルマ語", -"na": "ナウル語", -"nb": "ノルウェー語 (ブークモール)", -"nd": "北ンデベレ語", -"ne": "ネパール語", -"ng": "ンドンガ語", -"nl": "オランダ語", -"nn": "ノルウェー語 (ニーノシュク)", -"no": "ノルウェー語", -"nr": "南ンデベレ語", -"nv": "ナバホ語", -"ny": "ニャンジャ語、チチェワ語、チェワ語", -"oc": "オック語 (1500以降)、プロバンス語", -"oj": "オブジワ語", -"om": "オロモ語", -"or": "オリヤー語", -"os": "オセト語", -"pa": "パンジャブ語", -"pi": "パーリ語", -"pl": "ポーランド語", -"ps": "パシュトゥー語", -"pt": "ポルトガル語", -"qu": "ケチュア語", -"rm": "レト=ロマン語", -"rn": "ルンディ語", -"ro": "ルーマニア語", -"ru": "ロシア語", -"rw": "ルワンダ語", -"sa": "サンスクリット語", -"sc": "サルデーニャ語", -"sd": "シンド語", -"se": "北サーミ語", -"sg": "サンゴ語", -"sh": "セルボ=クロアチア語", -"si": "シンハラ語", -"sk": "スロバキア語", -"sl": "スロベニア語", -"sm": "サモア語", -"sn": "ショナ語", -"so": "ソマリ語", -"sq": "アルバニア語", -"sr": "セルビア語", -"ss": "シスワティ語", -"st": "南部ソト語", -"su": "スンダ語", -"sv": "スウェーデン語", -"sw": "スワヒリ語", -"ta": "タミール語", -"te": "テルグ語", -"tg": "タジク語", -"th": "タイ語", -"ti": "ティグリニア語", -"tk": "トルクメン語", -"tl": "タガログ語", -"tn": "ツワナ語", -"to": "トンガ語", -"tr": "トルコ語", -"ts": "ツォンガ語", -"tt": "タタール語", -"tw": "トウィ語", -"ty": "タヒチ語", -"ug": "ウイグル語", -"uk": "ウクライナ語", -"ur": "ウルドゥー語", -"uz": "ウズベク語", -"ve": "ベンダ語", -"vi": "ベトナム語", -"vo": "ボラピュク語", -"wa": "ワロン語", -"wo": "ウォロフ語", -"xh": "コサ語", -"yi": "イディッシュ語", -"yo": "ヨルバ語", -"za": "チワン語", -"zh": "中国語", -"zu": "ズールー語", -}, -{ type: "language", iso: "ka", -countries: [ -{_reference: "GE"}, -], -name: "ქართული", -"de": "გერმანული", -"en": "ინგლისური", -"es": "ესპანური", -"fr": "ფრანგული", -"it": "იტალიური", -"ja": "იაპონური", -"ka": "ქართული", -"pt": "პორტუგალიური", -"ru": "რუსული", -"zh": "ჩინური", -}, -{ type: "language", iso: "kk", -countries: [ -{_reference: "KZ"}, -], -name: "Қазақ", -"kk": "Қазақ", -}, -{ type: "language", iso: "kl", -countries: [ -{_reference: "GL"}, -], -name: "kalaallisut", -"kl": "kalaallisut", -}, -{ type: "language", iso: "km", -countries: [ -{_reference: "KH"}, -], -name: "ភាសាខ្មែរ", -"aa": "ភាសាអាហ្វារ", -"ae": "ភាសាអាវែស្តង់", -"af": "ភាសាអាហ្វ្រីកាអាន", -"an": "ភាសាអារ៉ាហ្គោន", -"ar": "ភាសាអារ៉ាប់", -"ay": "ភាសាអីម៉ារ៉ា", -"az": "ភាសាអាហ៊្សែរបែហ្សង់", -"be": "ភាសាបេឡារុស្ស", -"bg": "ភាសាប៊ុលហ្ការី", -"bh": "ភាសាបិហារ", -"bm": "ភាសាបាម្បារា", -"bn": "ភាសាបេន្កាលី", -"bo": "ភាសាទីបេ", -"ca": "ភាសាកាតាឡាន", -"cs": "ភាសាឆេក", -"da": "ភាសាដាណឺម៉ាក", -"de": "ភាសាអាល្លឺម៉ង់", -"dz": "ភាសាប៊ូតាន", -"el": "ភាសាក្រិច", -"en": "ភាសាអង់គ្លេស", -"eo": "ភាសាអេស្ពេរ៉ាន្ទោ", -"es": "ភាសាអេស្ប៉ាញ", -"et": "ភាសាអេស្តូនី", -"eu": "ភាសាបាស្កេ", -"fi": "ភាសាហ្វាំងឡង់", -"fj": "ហ្វ៉ីហ្ស៉ី", -"fr": "ភាសាបារាំង", -"ga": "ភាសាហ្កែលិគ", -"gd": "ភាសាហ្កែលិគ [gd]", -"gl": "ភាសាហ្កាលីស៉ី", -"gn": "ភាសាហ្កួរ៉ានី", -"gu": "ភាសាហ្កុយ៉ារាទី", -"he": "ភាសាហេប្រិ", -"hi": "ភាសាហ៉ិនឌី", -"hu": "ភាសាហុងគ្រី", -"hy": "ភាសាអារមេនី", -"id": "ភាសាឥណ្ឌូនេស៊ី", -"is": "ភាសាអ៉ីស្លង់", -"it": "ភាសាអ៊ីតាលី", -"ja": "ភាសាជប៉ុន", -"jv": "ភាសាយ៉ាវា", -"ka": "ភាសាហ្សកហ្ស៉ី", -"kk": "ភាសាកាហ្សាក់ស្តង់់", -"km": "ភាសាខ្មែរ", -"kn": "ភាសាកិណាដា", -"ko": "ភាសាកូរ៉េ", -"ku": "ភាសាឃឺដ", -"ky": "ភាសាគៀរហ្គីស្តង់", -"la": "ភាសាឡាតំាង", -"lo": "ភាសាឡាវ", -"lt": "ភាសាលីទុយអានី", -"lv": "ភាសាឡាតវីយ៉ា", -"mg": "ភាសាម៉ាដាហ្កាសការ", -"mi": "ភាសាម៉ោរី", -"mk": "ភាសាម៉ាសេដូនី", -"ml": "ភាសាម៉ាឡាឡាយ៉ាន", -"mn": "ភាសាម៉ុងហ្គោលី", -"mo": "ភាសាម៉ុលដាវី", -"mr": "ភាសាម៉ារាធី", -"ms": "ភាសាម៉ាលេស៉ី", -"mt": "ភាសាម៉ាល់តា", -"ne": "ភាសានេប៉ាល់", -"nl": "ភាសាហុល្លង់", -"no": "ភាសាន័រវែស", -"or": "ភាសាអូរីយ៉ា", -"pa": "ភាសាពូនយ៉ាប៊ី", -"pl": "ភាសាប៉ូឡូញ", -"pt": "ភាសាព័រទុយហ្កាល់", -"qu": "ភាសាកេទ្ជូអា", -"rn": "ភាសារូន្ឌី", -"ro": "ភាសារូម៉ានី", -"ru": "ភាសាรัរូស្ស៉ី", -"sa": "ភាសាសំស្ក្រឹត", -"sd": "ភាសាស៉ីន្ដី", -"sk": "ភាសាស្លូវ៉ាគី", -"sl": "ភាសាស្លូវ៉ានី", -"sm": "ភាសាសាមូអា", -"so": "ភាសាសូម៉ាលី", -"sq": "ភាសាអាល់បានី", -"su": "ភាំសាស៊ូដង់", -"sv": "ភាសាស៊ុយអែដ", -"sw": "ភាសាស្វាហ៉ីលី", -"ta": "ភាសាតាមីល", -"te": "ភាសាតេលូហ្គូ", -"tg": "ភាសាតាដហ្ស៉ីគីស្តង់", -"th": "ភាសាថៃ", -"tk": "ភាសាទួគមេនីស្តង់", -"to": "ភាសាតុងហ្គោ", -"tr": "ភាសាទួរគី", -"tt": "ភាសាតាតារ", -"uk": "ភាសាអ៊ុយក្រែន", -"ur": "ភាសាអ៊ូរ្ឌូ", -"uz": "ភាសាអ៊ូហ្សបេគីស្តង់", -"vi": "ភាសាវៀតណាម", -"xh": "ភាសាឃសា", -"yi": "ភាសាយីឌីហ្ស", -"yo": "ភាសាយរូបា", -"za": "ភាសាចួង", -"zh": "ភាសាចិន", -"zu": "ភាសាហ្ស៉ូលូ", -}, -{ type: "language", iso: "kn", -countries: [ -{_reference: "IN"}, -], -name: "ಕನ್ನಡ", -"kn": "ಕನ್ನಡ", -}, -{ type: "language", iso: "ko", -countries: [ -{_reference: "KR"}, -], -name: "한국어", -"aa": "아파르어", -"ab": "압카즈어", -"af": "남아공 공용어", -"ak": "아칸어", -"am": "암하라어", -"an": "아라곤어", -"ar": "아랍어", -"as": "아샘어", -"av": "아바릭어", -"ay": "아이마라어", -"az": "아제르바이잔어", -"ba": "바슈키르어", -"be": "벨로루시어", -"bg": "불가리아어", -"bh": "비하르어", -"bi": "비슬라마어", -"bm": "밤바라어", -"bn": "벵골어", -"bo": "티베트어", -"br": "브르타뉴어", -"bs": "보스니아어", -"ca": "카탈로니아어", -"ch": "차모로어", -"co": "코르시카어", -"cr": "크리어", -"cs": "체코어", -"cu": "교회슬라브어", -"cv": "추바시어", -"cy": "웨일스어", -"da": "덴마크어", -"de": "독일어", -"dv": "디베히어", -"dz": "부탄어", -"ee": "에웨어", -"el": "그리스어", -"en": "영어", -"eo": "에스페란토어", -"es": "스페인어", -"et": "에스토니아어", -"eu": "바스크어", -"fa": "이란어", -"ff": "풀라어", -"fi": "핀란드어", -"fj": "피지어", -"fo": "페로스어", -"fr": "프랑스어", -"fy": "프리지아어", -"ga": "아일랜드어", -"gd": "스코갤릭어", -"gl": "갈리시아어", -"gn": "구아라니어", -"gu": "구자라트어", -"gv": "맹크스어", -"ha": "하우자어", -"he": "히브리어", -"hi": "힌디어", -"ho": "히리 모투어", -"hr": "크로아티아어", -"ht": "아이티어", -"hu": "헝가리어", -"hy": "아르메니아어", -"ia": "인터링거", -"id": "인도네시아어", -"ie": "인터링게어", -"ig": "이그보어", -"ii": "시츄안 이어", -"ik": "이누피아크어", -"io": "이도어", -"is": "아이슬란드어", -"it": "이탈리아어", -"iu": "이눅티투트어", -"ja": "일본어", -"jv": "자바어", -"ka": "그루지야어", -"kg": "콩고어", -"ki": "키쿠유어", -"kj": "쿠안야마어", -"kk": "카자흐어", -"kl": "그린랜드어", -"km": "캄보디아어", -"kn": "카나다어", -"ko": "한국어", -"kr": "칸누리어", -"ks": "카슈미르어", -"ku": "크르드어", -"kv": "코미어", -"kw": "콘월어", -"ky": "키르기스어", -"la": "라틴어", -"lb": "룩셈부르크어", -"lg": "간다어", -"li": "림버거어", -"ln": "링갈라어", -"lo": "라오어", -"lt": "리투아니아어", -"lu": "루바-카탄가어", -"lv": "라트비아어", -"mg": "마다가스카르어", -"mh": "마셜제도어", -"mi": "마오리어", -"mk": "마케도니아어", -"ml": "말라얄람어", -"mn": "몽골어", -"mo": "몰다비아어", -"mr": "마라티어", -"ms": "말레이어", -"mt": "몰타어", -"my": "버마어", -"na": "나우루어", -"nb": "보크말 노르웨이어", -"nd": "은데벨레어, 북부", -"ne": "네팔어", -"ng": "느동가어", -"nl": "네덜란드어", -"nn": "뉘노르스크 노르웨이어", -"no": "노르웨이어", -"nr": "은데벨레어, 남부", -"nv": "나바호어", -"ny": "니안자어; 치츄어; 츄어", -"oc": "옥시트어", -"oj": "오지브웨이어", -"om": "오로모어 (아판)", -"or": "오리야어", -"os": "오세트어", -"pa": "펀잡어", -"pi": "팔리어", -"pl": "폴란드어", -"ps": "파시토어 (푸시토)", -"pt": "포르투칼어", -"qu": "케추아어", -"rm": "레토로만어", -"rn": "반투어(부룬디)", -"ro": "루마니아어", -"ru": "러시아어", -"rw": "반투어(루완다)", -"sa": "산스크리트어", -"sc": "사르디니아어", -"sd": "신디어", -"se": "북부 사미어", -"sg": "산고어", -"sh": "세르보크로아티아어", -"si": "스리랑카어", -"sk": "슬로바키아어", -"sl": "슬로베니아어", -"sm": "사모아어", -"sn": "쇼나어", -"so": "소말리아어", -"sq": "알바니아어", -"sr": "세르비아어", -"ss": "시스와티어", -"st": "세소토어", -"su": "순단어", -"sv": "스웨덴어", -"sw": "스와힐리어", -"ta": "타밀어", -"te": "텔루구어", -"tg": "타지키스탄어", -"th": "태국어", -"ti": "티그리냐어", -"tk": "투르크멘어", -"tl": "타갈로그어", -"tn": "세츠와나어", -"to": "통가어", -"tr": "터키어", -"ts": "총가어", -"tt": "타타르어", -"tw": "트위어", -"ty": "타히티어", -"ug": "위구르어", -"uk": "우크라이나어", -"ur": "우르두어", -"uz": "우즈베크어", -"ve": "벤다어", -"vi": "베트남어", -"vo": "볼라퓌크어", -"wa": "왈론어", -"wo": "올로프어", -"xh": "반투어(남아프리카)", -"yi": "이디시어", -"yo": "요루바어", -"za": "주앙어", -"zh": "중국어", -"zu": "줄루어", -}, -{ type: "language", iso: "ku", -countries: [ -{_reference: "IQ"}, -{_reference: "IR"}, -{_reference: "SY"}, -{_reference: "TR"}, -], -name: "kurdî", -}, -{ type: "language", iso: "kw", -countries: [ -{_reference: "GB"}, -], -name: "kernewek", -"kw": "kernewek", -}, -{ type: "language", iso: "ky", -countries: [ -{_reference: "KG"}, -], -name: "Кыргыз", -"de": "немисче", -"en": "англисче", -"es": "испанча", -"fr": "французча", -"it": "италиянча", -"ja": "япончо", -"pt": "португалча", -"ru": "орусча", -"zh": "кытайча", -}, -{ type: "language", iso: "ln", -countries: [ -{_reference: "CD"}, -{_reference: "CG"}, -], -name: "lingála", -}, -{ type: "language", iso: "lo", -countries: [ -{_reference: "LA"}, -], -name: "ລາວ", -}, -{ type: "language", iso: "lt", -countries: [ -{_reference: "LT"}, -], -name: "Lietuvių", -"ar": "Arabų", -"bg": "Bulgarų", -"bn": "Bengalų", -"cs": "Čekų", -"da": "Danų", -"de": "Vokiečių", -"el": "Graikų", -"en": "Anglų", -"es": "Ispanų", -"et": "Estų", -"fi": "Suomių", -"fr": "Prancūzų", -"he": "Hebrajų", -"hi": "Hindi", -"hr": "Kroatų", -"hu": "Vengrų", -"it": "Italų", -"ja": "Japonų", -"ko": "Korėjiečių", -"lt": "Lietuvių", -"lv": "Latvių", -"nl": "Olandų", -"no": "Norvegų", -"pl": "Lenkų", -"pt": "Portugalų", -"ro": "Rumunų", -"ru": "Rusų", -"sk": "Slovakų", -"sl": "Slovėnų", -"sv": "Švedų", -"th": "Tajų", -"tr": "Turkų", -"zh": "Kinų", -}, -{ type: "language", iso: "lv", -countries: [ -{_reference: "LV"}, -], -name: "latviešu", -"ar": "arābu", -"bg": "bulgāru", -"cs": "čehu", -"da": "dāņu", -"de": "vācu", -"el": "grieķu", -"en": "angļu", -"es": "spāņu", -"et": "igauņu", -"fi": "somu", -"fr": "franču", -"he": "ivrits", -"hr": "horvātu", -"hu": "ungāru", -"it": "itāliešu", -"ja": "japāņu", -"ko": "korejiešu", -"lt": "lietuviešu", -"lv": "latviešu", -"nl": "holandiešu", -"no": "norvēģu", -"pl": "poļu", -"pt": "portugāļu", -"ro": "rumāņu", -"ru": "krievu", -"sk": "slovāku", -"sl": "slovēņu", -"sv": "zviedru", -"tr": "turku", -"zh": "ķīniešu", -}, -{ type: "language", iso: "mk", -countries: [ -{_reference: "MK"}, -], -name: "македонски", -"de": "германски", -"en": "англиски", -"es": "шпански", -"fr": "француски", -"it": "италијански", -"ja": "јапонски", -"mk": "македонски", -"pt": "португалски", -"ru": "руски", -"zh": "кинески", -}, -{ type: "language", iso: "ml", -countries: [ -{_reference: "IN"}, -], -name: "മലയാളം", -}, -{ type: "language", iso: "mn", -countries: [ -{_reference: "MN"}, -], -name: "Монгол хэл", -"de": "герман", -"en": "англи", -"es": "испани", -"fr": "франц", -"it": "итали", -"ja": "япон", -"pt": "португали", -"ru": "орос", -"zh": "хятад", -}, -{ type: "language", iso: "mr", -countries: [ -{_reference: "IN"}, -], -name: "मराठी", -"aa": "अफार", -"ab": "अबखेजियन", -"af": "अफ्रिकान्स", -"am": "अमहारिक", -"ar": "अरेबिक", -"as": "असामी", -"ay": "ऐमरा", -"az": "अज़रबाइजानी", -"ba": "बष्किर", -"be": "बैलोरुसियन", -"bg": "बल्गेरियन", -"bh": "बीहारी", -"bi": "बिसलमा", -"bn": "बंगाली", -"bo": "तिबेटियन", -"br": "ब्रेटन", -"ca": "कटलन", -"co": "कोर्सिकन", -"cs": "ज़ेक", -"cy": "वेल्ष", -"da": "डानिष", -"de": "जर्मन", -"dz": "भूटानी", -"el": "ग्रीक", -"en": "इंग्रेजी", -"eo": "इस्परान्टो", -"es": "स्पानिष", -"et": "इस्टोनियन्", -"eu": "बास्क", -"fa": "पर्षियन्", -"fi": "फिन्निष", -"fj": "फिजी", -"fo": "फेरोस्", -"fr": "फ्रेन्च", -"fy": "फ्रिसियन्", -"ga": "ऐरिष", -"gd": "स्काटस् गेलिक", -"gl": "गेलीशियन", -"gn": "गौरानी", -"gu": "गुजराती", -"ha": "हौसा", -"he": "हेबृ", -"hi": "हिन्दी", -"hr": "क्रोयेषियन्", -"hu": "हंगेरियन्", -"hy": "आर्मीनियन्", -"ia": "इन्टरलिंग्वा", -"id": "इन्डोनेषियन", -"ie": "इन्टरलिंग", -"ik": "इनूपियाक", -"is": "आईसलान्डिक", -"it": "इटालियन", -"iu": "इनुकिटुट्", -"ja": "जापनीस्", -"jv": "जावनीस्", -"ka": "जार्जियन्", -"kk": "कज़क", -"kl": "ग्रीनलान्डिक", -"km": "कंबोडियन", -"kn": "कन्नड", -"ko": "कोरियन्", -"ks": "कश्मीरी", -"ku": "कुर्दिष", -"ky": "किर्गिज़", -"la": "लाटिन", -"ln": "लिंगाला", -"lo": "लाओतियन्", -"lt": "लिथुआनियन्", -"lv": "लाट्वियन् (लेट्टिष)", -"mg": "मलागसी", -"mi": "माओरी", -"mk": "मसीडोनियन्", -"ml": "मलियालम", -"mn": "मंगोलियन्", -"mo": "मोल्डावियन्", -"mr": "मराठी", -"ms": "मलय", -"mt": "मालतीस्", -"my": "बर्मीस्", -"na": "नौरो", -"ne": "नेपाली", -"nl": "डच", -"no": "नोर्वेजियन", -"oc": "ओसिटान्", -"om": "ओरोमो (अफान)", -"or": "ओरिया", -"pa": "पंजाबी", -"pl": "पोलिष", -"ps": "पष्टो (पुष्टो)", -"pt": "पोर्चुगीस्", -"qu": "क्वेचओ", -"rm": "रहटो-रोमान्स्", -"rn": "किरुन्दी", -"ro": "रोमानियन्", -"ru": "रष्यन्", -"rw": "किन्यार्वान्डा", -"sa": "संस्कृत", -"sd": "सिंधी", -"sg": "सांग्रो", -"sh": "सेर्बो-क्रोयेषियन्", -"si": "सिन्हलीस्", -"sk": "स्लोवाक", -"sl": "स्लोवेनियन्", -"sm": "समोन", -"sn": "शोना", -"so": "सोमाली", -"sq": "आल्बेनियन्", -"sr": "सेर्बियन्", -"ss": "सिस्वती", -"st": "सेसोथो", -"su": "सुंदनीस्", -"sv": "स्वीडिष", -"sw": "स्वाहिली", -"ta": "तमिळ", -"te": "तेलंगू", -"tg": "तजिक", -"th": "थाई", -"ti": "तिग्रिन्या", -"tk": "तुर्कमेन", -"tl": "तगालोग", -"tn": "सेत्स्वाना", -"to": "तोंगा", -"tr": "तुर्किष", -"ts": "त्सोगा", -"tt": "टटार", -"tw": "त्वि", -"ug": "उधूर", -"uk": "युक्रेनियन्", -"ur": "उर्दू", -"uz": "उज़बेक", -"vi": "वियत्नामीज़", -"vo": "ओलापुक", -"wo": "उलोफ", -"xh": "क्स्होसा", -"yi": "इद्दिष", -"yo": "यूरुबा", -"za": "झ्हुन्ग", -"zh": "चिनीस्", -"zu": "जुलू", -}, -{ type: "language", iso: "ms", -countries: [ -{_reference: "BN"}, -{_reference: "MY"}, -], -name: "Bahasa Melayu", -"ms": "Bahasa Melayu", -}, -{ type: "language", iso: "mt", -countries: [ -{_reference: "MT"}, -], -name: "Malti", -"aa": "Afar", -"ab": "Abkażjan", -"ae": "Avestan", -"af": "Afrikans", -"ak": "Akan", -"am": "Amħariku", -"an": "Aragonese", -"ar": "Għarbi", -"as": "Assamese", -"av": "Avarik", -"ay": "Ajmara", -"az": "Ażerbajġani", -"ba": "Baxkir", -"be": "Belarussu", -"bg": "Bulgaru", -"bh": "Biħari", -"bi": "Bislama", -"bm": "Bambara", -"bn": "Bengali", -"bo": "Tibetjan", -"br": "Brenton", -"bs": "Bosnijan", -"ca": "Katalan", -"ce": "Ċeċen", -"ch": "Ċamorro", -"co": "Korsiku", -"cr": "Krij", -"cs": "Ċek", -"cu": "Slaviku tal-Knisja", -"cv": "Ċuvax", -"cy": "Welx", -"da": "Daniż", -"de": "Ġermaniż", -"dv": "Diveħi", -"dz": "Dżongka", -"ee": "Ewe", -"el": "Grieg", -"en": "Ingliż", -"eo": "Esperanto", -"es": "Spanjol", -"et": "Estonjan", -"eu": "Bask", -"fa": "Persjan", -"ff": "Fulaħ", -"fi": "Finlandiż", -"fj": "Fiġi", -"fo": "Fawriż", -"fr": "Franċiż", -"fy": "Friżjan", -"ga": "Irlandiż", -"gd": "Galliku Skoċċiż", -"gl": "Gallegjan", -"gn": "Gwarani", -"gu": "Guġarati", -"gv": "Manks", -"ha": "Ħawsa", -"he": "Ebrajk", -"hi": "Ħindi", -"ho": "Ħiri Motu", -"hr": "Kroat", -"ht": "Haitian", -"hu": "Ungeriż", -"hy": "Armenjan", -"hz": "Ħerero", -"ia": "Interlingua", -"id": "Indoneżjan", -"ie": "Interlingue", -"ig": "Igbo", -"ii": "Sichuan Yi", -"ik": "Inupjak", -"io": "Ido", -"is": "Iżlandiż", -"it": "Taljan", -"iu": "Inukitut", -"ja": "Ġappuniż", -"jv": "Ġavaniż", -"ka": "Ġorġjan", -"kg": "Kongo", -"ki": "Kikuju", -"kj": "Kuanyama", -"kk": "Każak", -"kl": "Kalallisut", -"km": "Kmer", -"kn": "Kannada", -"ko": "Korejan", -"kr": "Kanuri", -"ks": "Kaxmiri", -"ku": "Kurdiż", -"kv": "Komi", -"kw": "Korniku", -"ky": "Kirgiż", -"la": "Latin", -"lb": "Letżburgiż", -"lg": "Ganda", -"li": "Limburgish", -"ln": "Lingaljan", -"lo": "Lao", -"lt": "Litwanjan", -"lu": "Luba-Katanga", -"lv": "Latvjan (Lettix)", -"mg": "Malagażi", -"mh": "Marxall", -"mi": "Maori", -"mk": "Maċedonjan", -"ml": "Malajalam", -"mn": "Mongoljan", -"mo": "Moldavjan", -"mr": "Marati", -"ms": "Malajan", -"mt": "Malti", -"my": "Burmiż", -"na": "Nawuru", -"nb": "Bokmahal Norveġiż", -"nd": "Ndebele, ta’ Fuq", -"ne": "Nepaliż", -"ng": "Ndonga", -"nl": "Olandiż", -"nn": "Ninorsk Norveġiż", -"no": "Norveġiż", -"nr": "Ndebele, t’Isfel", -"nv": "Navaħo", -"ny": "Ċiċewa; Njanġa", -"oc": "Provenzal (wara 1500)", -"oj": "Oġibwa", -"om": "Oromo (Afan)", -"or": "Orija", -"os": "Ossettiku", -"pa": "Punġabi", -"pi": "Pali", -"pl": "Pollakk", -"ps": "Paxtun", -"pt": "Portugiż", -"qu": "Keċwa", -"rm": "Reto-Romanz", -"rn": "Rundi", -"ro": "Rumen", -"ru": "Russu", -"rw": "Kinjarwanda", -"sa": "Sanskrit", -"sc": "Sardinjan", -"sd": "Sindi", -"se": "Sami ta’ Fuq", -"sg": "Sango", -"sh": "Serbo-Kroat", -"si": "Sinħaliż", -"sk": "Slovakk", -"sl": "Sloven", -"sm": "Samojan", -"sn": "Xona", -"so": "Somali", -"sq": "Albaniż", -"sr": "Serb", -"ss": "Swati", -"st": "Soto, t’Isfel", -"su": "Sundaniż", -"sv": "Svediż", -"sw": "Swaħili", -"ta": "Tamil", -"te": "Telugu", -"tg": "Taġik", -"th": "Tajlandiż", -"ti": "Tigrinja", -"tk": "Turkmeni", -"tl": "Tagalog", -"tn": "Zwana", -"to": "Tongan (Gżejjer ta’ Tonga)", -"tr": "Tork", -"ts": "Tsonga", -"tt": "Tatar", -"tw": "Twi", -"ty": "Taħitjan", -"ug": "Wigur", -"uk": "Ukranjan", -"ur": "Urdu", -"uz": "Użbek", -"ve": "Venda", -"vi": "Vjetnamiż", -"vo": "Volapuk", -"wa": "Walloon", -"wo": "Wolof", -"xh": "Ħoża", -"yi": "Jiddix", -"yo": "Joruba", -"za": "Żwang", -"zh": "Ċiniż", -"zu": "Żulu", -}, -{ type: "language", iso: "nb", -countries: [ -{_reference: "NO"}, -], -name: "bokmål", -"aa": "afar", -"ab": "abkhasisk", -"ae": "avestisk", -"af": "afrikaans", -"ak": "akan", -"am": "amharisk", -"an": "aragonsk", -"ar": "arabisk", -"as": "assamisk", -"av": "avarisk", -"ay": "aymara", -"az": "aserbajdsjansk", -"ba": "basjkirsk", -"be": "hviterussisk", -"bg": "bulgarsk", -"bh": "bihari", -"bi": "bislama", -"bm": "bambara", -"bn": "bengali", -"bo": "tibetansk", -"br": "bretonsk", -"bs": "bosnisk", -"ca": "katalansk", -"ce": "tsjetsjensk", -"ch": "chamorro", -"co": "korsikansk", -"cr": "cree", -"cs": "tsjekkisk", -"cu": "kirkeslavisk", -"cv": "tsjuvansk", -"cy": "walisisk", -"da": "dansk", -"de": "tysk", -"dv": "divehi", -"dz": "dzongkha", -"ee": "ewe", -"el": "gresk", -"en": "engelsk", -"eo": "esperanto", -"es": "spansk", -"et": "estisk", -"eu": "baskisk", -"fa": "persisk", -"ff": "fulani", -"fi": "finsk", -"fj": "fijiansk", -"fo": "færøysk", -"fr": "fransk", -"ga": "irsk", -"gd": "skotsk gælisk", -"gl": "galicisk", -"gn": "guarani", -"gu": "gujarati", -"gv": "manx", -"ha": "hausa", -"he": "hebraisk", -"hi": "hindi", -"ho": "hiri motu", -"hr": "kroatisk", -"ht": "haitisk", -"hu": "ungarsk", -"hy": "armensk", -"hz": "herero", -"ia": "interlingua", -"id": "indonesisk", -"ie": "interlingue", -"ig": "ibo", -"ii": "sichuan-yi", -"ik": "unupiak", -"io": "ido", -"is": "islandsk", -"it": "italiensk", -"iu": "inuktitut", -"ja": "japansk", -"jv": "javanesisk", -"ka": "georgisk", -"kg": "kikongo", -"ki": "kikuyu", -"kj": "kuanyama", -"kk": "kasakhisk", -"km": "khmer", -"kn": "kannada", -"ko": "koreansk", -"kr": "kanuri", -"ks": "kasjmiri", -"ku": "kurdisk", -"kv": "komi", -"kw": "kornisk", -"ky": "kirgisisk", -"la": "latin", -"lb": "luxemburgsk", -"lg": "ganda", -"li": "limburgisk", -"ln": "lingala", -"lo": "laotisk", -"lt": "litauisk", -"lu": "luba-katanga", -"lv": "latvisk", -"mg": "madagassisk", -"mh": "marshallesisk", -"mi": "maori", -"mk": "makedonsk", -"ml": "malayalam", -"mn": "mongolsk", -"mo": "moldavisk", -"mr": "marathi", -"ms": "malayisk", -"mt": "maltesisk", -"my": "burmesisk", -"na": "nauru", -"nb": "bokmål", -"nd": "nord-ndebele", -"ne": "nepalsk", -"ng": "ndonga", -"nl": "nederlandsk", -"nn": "nynorsk", -"no": "norsk", -"nr": "sør-ndebele", -"nv": "navajo", -"ny": "nyanja", -"oc": "oksitansk (etter 1500)", -"oj": "ojibwa", -"om": "oromo", -"or": "oriya", -"os": "ossetisk", -"pa": "panjabi", -"pi": "pali", -"pl": "polsk", -"ps": "pashto", -"pt": "portugisisk", -"qu": "quechua", -"rm": "retoromansk", -"rn": "rundi", -"ro": "rumensk", -"ru": "russisk", -"rw": "kinjarwanda", -"sa": "sanskrit", -"sc": "sardinsk", -"sd": "sindhi", -"se": "nordsamisk", -"sg": "sango", -"sh": "serbokroatisk", -"si": "singalesisk", -"sk": "slovakisk", -"sl": "slovensk", -"sm": "samoansk", -"sn": "shona", -"sq": "albansk", -"sr": "serbisk", -"ss": "swati", -"st": "sør-sotho", -"su": "sundanesisk", -"sv": "svensk", -"sw": "swahili", -"ta": "tamil", -"te": "telugu", -"tg": "tatsjikisk", -"th": "thai", -"ti": "tigrinja", -"tk": "turkmensk", -"tl": "tagalog", -"tn": "tswana", -"to": "tonga (Tonga-øyene)", -"tr": "tyrkisk", -"ts": "tsonga", -"tt": "tatarisk", -"tw": "twi", -"ty": "tahitisk", -"ug": "uigurisk", -"uk": "ukrainsk", -"ur": "urdu", -"uz": "usbekisk", -"ve": "venda", -"vi": "vietnamesisk", -"vo": "volapyk", -"wa": "vallonsk", -"wo": "wolof", -"xh": "xhosa", -"yi": "jiddisk", -"yo": "joruba", -"za": "zhuang", -"zh": "kinesisk", -"zu": "zulu", -}, -{ type: "language", iso: "ne", -countries: [ -{_reference: "NP"}, -], -}, -{ type: "language", iso: "nl", -countries: [ -{_reference: "BE"}, -{_reference: "NL"}, -], -name: "Nederlands", -"aa": "Afar", -"ab": "Abchazisch", -"ae": "Avestisch", -"af": "Afrikaans", -"ak": "Akan", -"am": "Amhaars", -"an": "Aragonees", -"ar": "Arabisch", -"as": "Assamees", -"av": "Avarisch", -"ay": "Aymara", -"az": "Azerbeidzjaans", -"ba": "Basjkiers", -"be": "Wit-Russisch", -"bg": "Bulgaars", -"bh": "Bihari", -"bi": "Bislama", -"bm": "Bambara", -"bn": "Bengalees", -"bo": "Tibetaans", -"br": "Bretons", -"bs": "Bosnisch", -"ca": "Catalaans", -"ce": "Chechen", -"ch": "Chamorro", -"co": "Corsicaans", -"cr": "Cree", -"cs": "Tsjechisch", -"cu": "Kerkslavisch", -"cv": "Tsjoevasjisch", -"cy": "Welsh", -"da": "Deens", -"de": "Duits", -"dv": "Divehi", -"dz": "Dzongkha", -"ee": "Ewe", -"el": "Grieks", -"en": "Engels", -"eo": "Esperanto", -"es": "Spaans", -"et": "Estlands", -"eu": "Baskisch", -"fa": "Perzisch", -"ff": "Fulah", -"fi": "Fins", -"fj": "Fijisch", -"fo": "Faeröers", -"fr": "Frans", -"fy": "Fries", -"ga": "Iers", -"gd": "Schots Gaelic", -"gl": "Galicisch", -"gn": "Guarani", -"gu": "Gujarati", -"gv": "Manx", -"ha": "Hausa", -"he": "Hebreeuws", -"hi": "Hindi", -"ho": "Hiri Motu", -"hr": "Kroatisch", -"ht": "Haïtiaans", -"hu": "Hongaars", -"hy": "Armeens", -"hz": "Herero", -"ia": "Interlingua", -"id": "Indonesisch", -"ie": "Interlingue", -"ig": "Igbo", -"ii": "Sichuan Yi", -"ik": "Inupiaq", -"io": "Ido", -"is": "IJslands", -"it": "Italiaans", -"iu": "Inuktitut", -"ja": "Japans", -"jv": "Javaans", -"ka": "Georgisch", -"kg": "Kongo", -"ki": "Kikuyu", -"kj": "Kuanyama", -"kk": "Kazachs", -"kl": "Kalaallisut", -"km": "Khmer", -"kn": "Kannada", -"ko": "Koreaans", -"kr": "Kanuri", -"ks": "Kashmiri", -"ku": "Koerdisch", -"kv": "Komi", -"kw": "Cornish", -"ky": "Kirgizisch", -"la": "Latijn", -"lb": "Luxemburgs", -"lg": "Ganda", -"li": "Limburgs", -"ln": "Lingala", -"lo": "Lao", -"lt": "Litouws", -"lu": "Luba-Katanga", -"lv": "Letlands", -"mg": "Malagasisch", -"mh": "Marshallees", -"mi": "Maori", -"mk": "Macedonisch", -"ml": "Malayalam", -"mn": "Mongools", -"mo": "Moldavisch", -"mr": "Marathi", -"ms": "Maleis", -"mt": "Maltees", -"my": "Birmees", -"na": "Nauru", -"nb": "Noors - Bokmål", -"nd": "Ndebele, noord-", -"ne": "Nepalees", -"ng": "Ndonga", -"nl": "Nederlands", -"nn": "Noors - Nynorsk", -"no": "Noors", -"nr": "Ndebele, zuid-", -"nv": "Navajo", -"ny": "Nyanja", -"oc": "Langue d’Oc (na 1500)", -"oj": "Ojibwa", -"om": "Oromo", -"or": "Oriya", -"os": "Ossetisch", -"pa": "Punjabi", -"pi": "Pali", -"pl": "Pools", -"ps": "Pashto", -"pt": "Portugees", -"qu": "Quechua", -"rm": "Retoromaans", -"rn": "Rundi", -"ro": "Roemeens", -"ru": "Russisch", -"rw": "Kinyarwanda", -"sa": "Sanskrit", -"sc": "Sardinisch", -"sd": "Sindhi", -"se": "Noord-Samisch", -"sg": "Sango", -"sh": "Servokroatisch", -"si": "Singalees", -"sk": "Slowaaks", -"sl": "Sloveens", -"sm": "Samoaans", -"sn": "Shona", -"so": "Somalisch", -"sq": "Albanees", -"sr": "Servisch", -"ss": "Swati", -"st": "Sotho, zuid", -"su": "Sundanees", -"sv": "Zweeds", -"sw": "Swahili", -"ta": "Tamil", -"te": "Teloegoe", -"tg": "Tadzjik", -"th": "Thai", -"ti": "Tigrinya", -"tk": "Turkmeens", -"tl": "Tagalog", -"tn": "Tswana", -"to": "Tonga (Tonga-eilanden)", -"tr": "Turks", -"ts": "Tsonga", -"tt": "Tataars", -"tw": "Twi", -"ty": "Tahitisch", -"ug": "Uighur", -"uk": "Oekraïens", -"ur": "Urdu", -"uz": "Oezbeeks", -"ve": "Venda", -"vi": "Vietnamees", -"vo": "Volapük", -"wa": "Wallonisch", -"wo": "Wolof", -"xh": "Xhosa", -"yi": "Jiddisch", -"yo": "Joruba", -"za": "Zhuang", -"zh": "Chinees", -"zu": "Zulu", -}, -{ type: "language", iso: "nn", -countries: [ -{_reference: "NO"}, -], -name: "nynorsk", -"aa": "afar", -"ab": "abkhasisk", -"ae": "avestisk", -"af": "afrikaans", -"ak": "akan", -"am": "amharisk", -"an": "aragonsk", -"ar": "arabisk", -"as": "assamisk", -"av": "avarisk", -"ay": "aymara", -"az": "aserbajdsjansk", -"ba": "basjkirsk", -"be": "kviterussisk", -"bg": "bulgarsk", -"bh": "bihari", -"bi": "bislama", -"bm": "bambara", -"bn": "bengali", -"bo": "tibetansk", -"br": "bretonsk", -"bs": "bosnisk", -"ca": "katalansk", -"ce": "tsjetsjensk", -"ch": "chamorro", -"co": "korsikansk", -"cr": "cree", -"cs": "tsjekkisk", -"cu": "kyrkjeslavisk", -"cv": "tsjuvansk", -"cy": "walisisk", -"da": "dansk", -"de": "tysk", -"dv": "divehi", -"dz": "dzongkha", -"ee": "ewe", -"el": "gresk", -"en": "engelsk", -"eo": "esperanto", -"es": "spansk", -"et": "estisk", -"eu": "baskisk", -"fa": "persisk", -"ff": "fulani", -"fi": "finsk", -"fj": "fijiansk", -"fo": "færøysk", -"fr": "fransk", -"fy": "vestfrisisk", -"ga": "irsk", -"gd": "skotsk-gælisk", -"gl": "galicisk", -"gn": "guarani", -"gu": "gujarati", -"gv": "manx", -"ha": "hausa", -"he": "hebraisk", -"hi": "hindi", -"ho": "hiri motu", -"hr": "kroatisk", -"ht": "haitisk", -"hu": "ungarsk", -"hy": "armensk", -"hz": "herero", -"ia": "interlingua", -"id": "indonesisk", -"ie": "interlingue", -"ig": "ibo", -"ii": "sichuan-yi", -"ik": "inupiak", -"io": "ido", -"is": "islandsk", -"it": "italiensk", -"iu": "inuktitut", -"ja": "japansk", -"jv": "javanesisk", -"ka": "georgisk", -"kg": "kikongo", -"ki": "kikuyu", -"kj": "kuanyama", -"kk": "kasakhisk", -"kl": "kalaallisut; grønlandsk", -"km": "khmer", -"kn": "kannada", -"ko": "koreansk", -"kr": "kanuri", -"ks": "kasjmiri", -"ku": "kurdisk", -"kv": "komi", -"kw": "kornisk", -"ky": "kirgisisk", -"la": "latin", -"lb": "luxemburgsk", -"lg": "ganda", -"li": "limburgisk", -"ln": "lingala", -"lo": "laotisk", -"lt": "litauisk", -"lu": "luba-katanga", -"lv": "latvisk", -"mg": "madagassisk", -"mh": "marshallesisk", -"mi": "maori", -"mk": "makedonsk", -"ml": "malayalam", -"mn": "mongolsk", -"mo": "moldavisk", -"mr": "marathi", -"ms": "malayisk", -"mt": "maltesisk", -"my": "burmesisk", -"na": "nauru", -"nb": "bokmål", -"nd": "nord-ndebele", -"ne": "nepalsk", -"ng": "ndonga", -"nl": "nederlandsk", -"nn": "nynorsk", -"no": "norsk", -"nr": "sør-ndebele", -"nv": "navajo", -"ny": "nyanja", -"oc": "oksitansk (etter 1500)", -"oj": "ojibwa", -"om": "oromo", -"or": "oriya", -"os": "ossetisk", -"pa": "panjabi", -"pi": "pali", -"pl": "polsk", -"ps": "pashto", -"pt": "portugisisk", -"qu": "quechua", -"rm": "retoromansk", -"rn": "rundi", -"ro": "rumensk", -"ru": "russisk", -"rw": "kinjarwanda", -"sa": "sanskrit", -"sc": "sardinsk", -"sd": "sindhi", -"se": "nordsamisk", -"sg": "sango", -"si": "singalesisk", -"sk": "slovakisk", -"sl": "slovensk", -"sm": "samoansk", -"sn": "shona", -"so": "somali", -"sq": "albansk", -"sr": "serbisk", -"ss": "swati", -"st": "sørsotho", -"su": "sundanesisk", -"sv": "svensk", -"sw": "swahili", -"ta": "tamil", -"te": "telugu", -"tg": "tatsjikisk", -"th": "thai", -"ti": "tigrinja", -"tk": "turkmensk", -"tl": "tagalog", -"tn": "tswana", -"to": "tonga (Tonga-øyane)", -"tr": "tyrkisk", -"ts": "tsonga", -"tt": "tatarisk", -"tw": "twi", -"ty": "tahitisk", -"ug": "uigurisk", -"uk": "ukrainsk", -"ur": "urdu", -"uz": "usbekisk", -"ve": "venda", -"vi": "vietnamesisk", -"vo": "volapyk", -"wa": "vallonsk", -"wo": "wolof", -"xh": "xhosa", -"yi": "jiddisk", -"yo": "joruba", -"za": "zhuang", -"zh": "kinesisk", -"zu": "zulu", -}, -{ type: "language", iso: "nr", -countries: [ -{_reference: "ZA"}, -], -}, -{ type: "language", iso: "ny", -countries: [ -{_reference: "MW"}, -], -}, -{ type: "language", iso: "om", -countries: [ -{_reference: "ET"}, -{_reference: "KE"}, -], -name: "Oromoo", -"om": "Oromoo", -}, -{ type: "language", iso: "or", -countries: [ -{_reference: "IN"}, -], -name: "ଓଡ଼ିଆ", -}, -{ type: "language", iso: "pa", -countries: [ -{_reference: "IN"}, -{_reference: "PK"}, -], -name: "ਪੰਜਾਬੀ", -"pa": "ਪੰਜਾਬੀ", -}, -{ type: "language", iso: "pl", -countries: [ -{_reference: "PL"}, -], -name: "polski", -"ar": "arabski", -"bg": "bułgarski", -"bn": "bengalski", -"ca": "kataloński", -"cs": "czeski", -"cy": "walijski", -"da": "duński", -"de": "niemiecki", -"el": "grecki", -"en": "angielski", -"es": "hiszpański", -"et": "estoński", -"eu": "baskijski", -"fi": "fiński", -"fr": "francuski", -"he": "hebrajski", -"hi": "hindi", -"hr": "chorwacki", -"hu": "węgierski", -"it": "włoski", -"ja": "japoński", -"ko": "koreański", -"lt": "litewski", -"lv": "łotewski", -"mt": "maltański", -"nl": "niderlandzki", -"no": "norweski", -"pl": "polski", -"pt": "portugalski", -"ro": "rumuński", -"ru": "rosyjski", -"sk": "słowacki", -"sl": "słoweński", -"sv": "szwedzki", -"th": "tajski", -"tr": "turecki", -"zh": "chiński", -}, -{ type: "language", iso: "ps", -countries: [ -{_reference: "AF"}, -], -name: "پښتو", -"ar": "عربي", -"de": "الماني", -"el": "یوناني", -"en": "انګلیسي", -"et": "حبشي", -"fa": "فارسي", -"fi": "فینلنډي", -"fr": "فرانسوي", -"he": "عبري", -"hi": "هندي", -"hy": "ارمني", -"it": "ایټالوي", -"ja": "جاپانی", -"ku": "کردي", -"la": "لاتیني", -"mg": "ملغاسي", -"mk": "مقدوني", -"mn": "مغولي", -"ms": "ملایا", -"pl": "پولنډي", -"ps": "پښتو", -"pt": "پورتګالي", -"ru": "روسي", -"sa": "سنسکریټ", -"sv": "سویډنی", -"tg": "تاجک", -"tk": "ترکمني", -"tt": "تاتار", -"uz": "ازبکي", -"zh": "چیني", -}, -{ type: "language", iso: "pt", -countries: [ -{_reference: "BR"}, -{_reference: "PT"}, -], -name: "português", -"aa": "afar", -"ab": "abkhazian", -"ae": "avéstico", -"af": "africâner", -"ak": "Akan", -"am": "amárico", -"an": "aragonês", -"ar": "árabe", -"as": "assamês", -"av": "avaric", -"ay": "aimara", -"az": "azerbaijano", -"ba": "bashkir", -"be": "bielo-russo", -"bg": "búlgaro", -"bh": "biari", -"bi": "bislamá", -"bm": "bambara", -"bn": "bengali", -"bo": "tibetano", -"br": "bretão", -"bs": "bósnio", -"ca": "catalão", -"ce": "chechene", -"ch": "chamorro", -"co": "córsico", -"cr": "cree", -"cs": "tcheco", -"cu": "eslavo eclesiástico", -"cv": "chuvash", -"cy": "galês", -"da": "dinamarquês", -"de": "alemão", -"dv": "divehi", -"dz": "dzonga", -"ee": "eve", -"el": "grego", -"en": "inglês", -"eo": "esperanto", -"es": "espanhol", -"et": "estoniano", -"eu": "basco", -"fa": "persa", -"ff": "fula", -"fi": "finlandês", -"fj": "fijiano", -"fo": "feroês", -"fr": "francês", -"fy": "frisão", -"ga": "irlandês", -"gd": "gaélico escocês", -"gl": "galego", -"gn": "guarani", -"gu": "guzerate", -"gv": "manx", -"ha": "hauçá", -"he": "hebraico", -"hi": "hindi", -"ho": "hiri motu", -"hr": "croata", -"ht": "haitiano", -"hu": "húngaro", -"hy": "armênio", -"hz": "herero", -"ia": "interlíngua", -"id": "indonésio", -"ie": "interlingue", -"ig": "ibo", -"ii": "sichuan yi", -"ik": "Inupiaq", -"io": "ido", -"is": "islandês", -"it": "italiano", -"iu": "inuktitut", -"ja": "japonês", -"ka": "georgiano", -"kg": "congolês", -"ki": "quicuio", -"kj": "Kuanyama", -"kk": "cazaque", -"kl": "groenlandês", -"km": "cmer", -"kn": "canarês", -"ko": "coreano", -"kr": "canúri", -"ks": "kashmiri", -"ku": "curdo", -"kv": "komi", -"kw": "córnico", -"ky": "quirguiz", -"la": "latim", -"lb": "luxemburguês", -"lg": "luganda", -"li": "limburgish", -"ln": "lingala", -"lo": "laosiano", -"lt": "lituano", -"lu": "luba-catanga", -"lv": "letão", -"mg": "malgaxe", -"mh": "marshallês", -"mi": "maori", -"mk": "macedônio", -"ml": "malaiala", -"mn": "mongol", -"mo": "moldávio", -"mr": "marata", -"ms": "malaio", -"mt": "maltês", -"my": "birmanês", -"na": "nauruano", -"nb": "bokmål norueguês", -"nd": "ndebele, north", -"ne": "nepali", -"ng": "dongo", -"nl": "holandês", -"nn": "nynorsk norueguês", -"no": "norueguês", -"nr": "ndebele, south", -"nv": "navajo", -"ny": "nianja; chicheua; cheua", -"oc": "occitânico (após 1500); provençal", -"oj": "ojibwa", -"om": "oromo", -"or": "oriya", -"os": "ossetic", -"pa": "panjabi", -"pi": "páli", -"pl": "polonês", -"ps": "pashto (pushto)", -"pt": "português", -"qu": "quíchua", -"rm": "rhaeto-romance", -"rn": "rundi", -"ro": "romeno", -"ru": "russo", -"rw": "kinyarwanda", -"sa": "sânscrito", -"sc": "sardo", -"sd": "sindi", -"se": "northern sami", -"sg": "sango", -"sh": "servo-croata", -"si": "cingalês", -"sk": "eslovaco", -"sl": "eslovênio", -"so": "somali", -"sq": "albanês", -"sr": "sérvio", -"ss": "swati", -"st": "soto, do sul", -"su": "sundanês", -"sv": "sueco", -"sw": "suaíli", -"ta": "tâmil", -"te": "telugu", -"tg": "tadjique", -"th": "tailandês", -"ti": "tigrínia", -"tk": "turcomano", -"tn": "tswana", -"to": "tonga (ilhas tonga)", -"tr": "turco", -"ts": "tsonga", -"tt": "tatar", -"tw": "twi", -"ty": "taitiano", -"ug": "uighur", -"uk": "ucraniano", -"ur": "urdu", -"uz": "usbeque", -"ve": "venda", -"vi": "vietnamita", -"vo": "volapuque", -"wa": "walloon", -"wo": "uolofe", -"xh": "xosa", -"yi": "iídiche", -"yo": "ioruba", -"za": "zhuang", -"zh": "chinês", -"zu": "zulu", -}, -{ type: "language", iso: "ro", -countries: [ -{_reference: "RO"}, -], -name: "Română", -"ar": "Arabă", -"bg": "Bulgară", -"cs": "Cehă", -"da": "Daneză", -"de": "Germană", -"el": "Greacă", -"en": "Engleză", -"es": "Spaniolă", -"et": "Estoniană", -"fi": "Finlandeză", -"fr": "Franceză", -"he": "Ebraică", -"hr": "Croată", -"hu": "Maghiară", -"it": "Italiană", -"ja": "Japoneză", -"ko": "Coreeană", -"lt": "Lituaniană", -"lv": "Letonă", -"nl": "Olandeză", -"no": "Norvegiană", -"pl": "Poloneză", -"pt": "Portugheză", -"ro": "Română", -"ru": "Rusă", -"sk": "Slovacă", -"sl": "Slovenă", -"sv": "Suedeză", -"tr": "Turcă", -"zh": "Chineză", -}, -{ type: "language", iso: "ru", -countries: [ -{_reference: "RU"}, -{_reference: "UA"}, -], -name: "русский", -"aa": "афар", -"ab": "абхазский", -"ae": "авестийский", -"af": "африкаанс", -"am": "амхарский", -"an": "арагонский", -"ar": "арабский", -"as": "ассамский", -"av": "аварский", -"ay": "аймара", -"az": "азербайджанский", -"ba": "башкирский", -"be": "белорусский", -"bg": "болгарский", -"bh": "бихари", -"bi": "бислама", -"bm": "бамбарийский", -"bn": "бенгальский", -"bo": "тибетский", -"br": "бретонский", -"bs": "боснийский", -"ca": "каталанский", -"ce": "чеченский", -"ch": "чаморро", -"co": "корсиканский", -"cr": "криийский", -"cs": "чешский", -"cu": "церковнославянский", -"cv": "чувашский", -"cy": "валлийский", -"da": "датский", -"de": "немецкий", -"dz": "дзонг-кэ", -"ee": "эве", -"el": "греческий", -"en": "английский", -"eo": "эсперанто", -"es": "испанский", -"et": "эстонский", -"eu": "баскский", -"fa": "персидский", -"fi": "финский", -"fj": "фиджи", -"fo": "фарерский", -"fr": "французский", -"fy": "фризский", -"ga": "ирландский", -"gd": "гэльский", -"gl": "галисийский", -"gn": "гуарани", -"gu": "гуджарати", -"gv": "мэнский", -"ha": "хауса", -"he": "иврит", -"hi": "хинди", -"hr": "хорватский", -"ht": "гаитянский", -"hu": "венгерский", -"hy": "армянский", -"hz": "гереро", -"ia": "интерлингва", -"id": "индонезийский", -"ie": "интерлингве", -"ig": "игбо", -"ik": "инупиак", -"is": "исландский", -"it": "итальянский", -"iu": "инуктитут", -"ja": "японский", -"jv": "яванский", -"ka": "грузинский", -"kg": "конго", -"ki": "кикуйю", -"kj": "кунама", -"kk": "казахский", -"kl": "эскимосский (гренландский)", -"km": "кхмерский", -"kn": "каннада", -"ko": "корейский", -"kr": "канури", -"ks": "кашмири", -"ku": "курдский", -"kv": "коми", -"kw": "корнийский", -"ky": "киргизский", -"la": "латинский", -"lb": "люксембургский", -"lg": "ганда", -"ln": "лингала", -"lo": "лаосский", -"lt": "литовский", -"lu": "луба-катанга", -"lv": "латышский", -"mg": "малагасийский", -"mh": "маршальский", -"mi": "маори", -"mk": "македонский", -"ml": "малаялам", -"mn": "монгольский", -"mo": "молдавский", -"mr": "маратхи", -"ms": "малайский", -"mt": "мальтийский", -"my": "бирманский", -"na": "науру", -"nb": "норвежский", -"nd": "ндебели (северный)", -"ne": "непальский", -"nl": "голландский", -"nn": "новонорвежский", -"no": "норвежский", -"nr": "ндебели (южный)", -"nv": "навахо", -"ny": "ньянджа", -"oc": "окситанский", -"oj": "оджибва", -"om": "оромо", -"or": "ория", -"os": "осетинский", -"pa": "панджаби (пенджаби)", -"pi": "пали", -"pl": "польский", -"ps": "пашто (пушту)", -"pt": "португальский", -"qu": "кечуа", -"rm": "ретороманский", -"rn": "рунди", -"ro": "румынский", -"ru": "русский", -"rw": "киньяруанда", -"sa": "санскрит", -"sc": "сардинский", -"sd": "синдхи", -"se": "саамский (северный)", -"sg": "санго", -"sh": "сербскохорватский", -"si": "сингальский", -"sk": "словацкий", -"sl": "словенский", -"sm": "самоанский", -"sn": "шона", -"so": "сомали", -"sq": "албанский", -"sr": "сербский", -"ss": "свази", -"st": "сото южный", -"su": "сунданский", -"sv": "шведский", -"sw": "суахили", -"ta": "тамильский", -"te": "телугу", -"tg": "таджикский", -"th": "тайский", -"ti": "тигринья", -"tk": "туркменский", -"tl": "тагалог", -"tn": "тсвана", -"to": "тонга", -"tr": "турецкий", -"ts": "тсонга", -"tt": "татарский", -"tw": "тви", -"ty": "таитянский", -"ug": "уйгурский", -"uk": "украинский", -"ur": "урду", -"uz": "узбекский", -"ve": "венда", -"vi": "вьетнамский", -"vo": "волапюк", -"wo": "волоф", -"xh": "ксоза", -"yi": "идиш", -"yo": "йоруба", -"za": "чжуань", -"zh": "китайский", -"zu": "зулу", -}, -{ type: "language", iso: "rw", -countries: [ -{_reference: "RW"}, -], -}, -{ type: "language", iso: "sa", -countries: [ -{_reference: "IN"}, -], -name: "संस्कृत", -}, -{ type: "language", iso: "se", -countries: [ -{_reference: "NO"}, -], -}, -{ type: "language", iso: "sh", -countries: [ -{_reference: "BA"}, -{_reference: "CS"}, -{_reference: "YU"}, -], -}, -{ type: "language", iso: "sk", -countries: [ -{_reference: "SK"}, -], -name: "slovenský", -"ar": "arabský", -"bg": "bulharský", -"cs": "český", -"da": "dánsky", -"de": "nemecký", -"el": "grécky", -"en": "anglický", -"es": "španielsky", -"et": "estónsky", -"fi": "fínsky", -"fr": "francúzsky", -"he": "hebrejský", -"hr": "chorvátsky", -"hu": "maďarský", -"it": "taliansky", -"ja": "japonský", -"ko": "kórejský", -"lt": "litovský", -"lv": "lotyšský", -"nl": "holandský", -"no": "nórsky", -"pl": "poľský", -"pt": "portugalský", -"ro": "rumunský", -"ru": "ruský", -"sk": "slovenský", -"sl": "slovinský", -"sv": "švédsky", -"tr": "turecký", -"zh": "čínsky", -}, -{ type: "language", iso: "sl", -countries: [ -{_reference: "SI"}, -], -name: "Slovenščina", -"ar": "Arabščina", -"bg": "Bolgarščina", -"cs": "Češčina", -"da": "Danščina", -"de": "Nemščina", -"el": "Grščina", -"en": "Angleščina", -"es": "Španščina", -"et": "Estonščina", -"fi": "Finščina", -"fr": "Francoščina", -"he": "Hebrejščina", -"hr": "Hrvaščina", -"hu": "Madžarščina", -"it": "Italijanščina", -"ja": "Japonščina", -"ko": "Korejščina", -"lt": "Litovščina", -"lv": "Letonščina", -"nl": "Nizozemščina", -"no": "Norveščina", -"pl": "Poljščina", -"pt": "Portugalščina", -"ro": "Romunščina", -"ru": "Ruščina", -"sk": "Slovaščina", -"sl": "Slovenščina", -"sv": "Švedščina", -"tr": "Turščina", -"zh": "Kitajščina", -}, -{ type: "language", iso: "so", -countries: [ -{_reference: "DJ"}, -{_reference: "ET"}, -{_reference: "KE"}, -{_reference: "SO"}, -], -name: "Soomaali", -"so": "Soomaali", -}, -{ type: "language", iso: "sq", -countries: [ -{_reference: "AL"}, -], -name: "shqipe", -"ar": "Arabisht", -"de": "Gjermanisht", -"en": "Anglisht", -"es": "Spanjisht", -"fr": "Frengjisht", -"hi": "Hindi", -"it": "Italisht", -"ja": "Japanisht", -"pt": "Portugeze", -"ru": "Rusisht", -"sq": "shqipe", -"zh": "Kineze", -}, -{ type: "language", iso: "sr", -countries: [ -{_reference: "BA"}, -{_reference: "CS"}, -{_reference: "YU"}, -], -name: "Српски", -"af": "Африканерски", -"ar": "Арапски", -"be": "Белоруски", -"bg": "Бугарски", -"br": "Бретонски", -"ca": "Каталонски", -"co": "Корзикански", -"cs": "Чешки", -"da": "Дански", -"de": "Немачки", -"el": "Грчки", -"en": "Енглески", -"eo": "Есперанто", -"es": "Шпански", -"et": "Естонски", -"eu": "Баскијски", -"fa": "Персијски", -"fi": "Фински", -"fr": "Француски", -"ga": "Ирски", -"he": "Хебрејски", -"hi": "Хинди", -"hr": "Хрватски", -"hu": "Мађарски", -"hy": "Арменски", -"id": "Индонезијски", -"is": "Исландски", -"it": "Италијански", -"ja": "Јапански", -"ka": "Грузијски", -"km": "Кмерски", -"ko": "Корејски", -"ku": "Курдски", -"ky": "Киргиски", -"la": "Латински", -"lt": "Литвански", -"lv": "Летонски", -"mk": "Македонски", -"mn": "Монголски", -"mo": "Молдавски", -"my": "Бурмански", -"nl": "Холандски", -"no": "Норвешки", -"pl": "Пољски", -"pt": "Португалски", -"rm": "Рето-Романски", -"ro": "Румунски", -"ru": "Руски", -"sa": "Санскрит", -"sh": "Српско-Хрватски", -"sk": "Словачки", -"sl": "Словеначки", -"sq": "Албански", -"sr": "Српски", -"sv": "Шведски", -"sw": "Свахили", -"tr": "Турски", -"uk": "Украјински", -"vi": "Вијетнамски", -"yi": "Јидиш", -"zh": "Кинески", -}, -{ type: "language", iso: "ss", -countries: [ -{_reference: "ZA"}, -], -}, -{ type: "language", iso: "st", -countries: [ -{_reference: "ZA"}, -], -}, -{ type: "language", iso: "sv", -countries: [ -{_reference: "FI"}, -{_reference: "SE"}, -], -name: "svenska", -"aa": "afar", -"ab": "abchasiska", -"ae": "avestiska", -"af": "afrikaans", -"ak": "akan", -"am": "amhariska", -"an": "aragonesiska", -"ar": "arabiska", -"as": "assamesiska", -"av": "avariskt språk", -"ay": "aymara", -"az": "azerbajdzjanska", -"ba": "basjkiriska", -"be": "vitryska", -"bg": "bulgariska", -"bh": "bihari", -"bi": "bislama", -"bm": "bambara", -"bn": "bengali", -"bo": "tibetanska", -"br": "bretonska", -"bs": "bosniska", -"ca": "katalanska", -"ce": "tjetjenska", -"ch": "chamorro", -"co": "korsikanska", -"cr": "cree", -"cs": "tjeckiska", -"cu": "kyrkslaviska", -"cv": "tjuvasjiska", -"cy": "walesiska", -"da": "danska", -"de": "tyska", -"dv": "divehi", -"dz": "bhutanesiska", -"ee": "ewe", -"el": "grekiska", -"en": "engelska", -"eo": "esperanto", -"es": "spanska", -"et": "estniska", -"eu": "baskiska", -"fa": "persiska", -"ff": "fulani", -"fi": "finska", -"fj": "fidjianska", -"fo": "färöiska", -"fr": "franska", -"fy": "västfrisiska", -"gd": "höglandsskotska", -"gl": "galiciska", -"gn": "guaraní", -"gu": "gujarati", -"gv": "manx", -"ha": "haussa", -"he": "hebreiska", -"hi": "hindi", -"ho": "hirimotu", -"hr": "kroatiska", -"ht": "haitiska", -"hu": "ungerska", -"hy": "armeniska", -"hz": "herero", -"ia": "interlingua", -"id": "indonesiska", -"ie": "interlingue", -"ig": "ibo", -"ii": "szezuan i", -"ik": "inupiak", -"io": "ido", -"is": "isländska", -"it": "italienska", -"iu": "inuktitut", -"ja": "japanska", -"jv": "javanesiska", -"ka": "georgiska", -"kg": "kikongo", -"ki": "kikuyu", -"kj": "kuanyama", -"kk": "kazakstanska", -"kl": "grönländska", -"km": "kambodjanska; khmeriska", -"kn": "kanaresiska; kannada", -"ko": "koreanska", -"kr": "kanuri", -"ks": "kashmiriska", -"ku": "kurdiska", -"kv": "kome", -"kw": "korniska", -"ky": "kirgisiska", -"la": "latin", -"lb": "luxemburgiska", -"lg": "luganda", -"li": "limburgiska", -"ln": "lingala", -"lo": "laotiska", -"lt": "litauiska", -"lu": "luba-katanga", -"lv": "lettiska", -"mg": "malagassiska", -"mh": "marshalliska", -"mi": "maori", -"mk": "makedonska", -"ml": "malayalam", -"mn": "mongoliska", -"mo": "moldaviska", -"mr": "marathi", -"ms": "malajiska", -"mt": "maltesiska", -"my": "burmesiska", -"na": "nauru", -"nb": "norska (bokmål)", -"ne": "nepalesiska", -"ng": "ndonga", -"nn": "nynorska", -"no": "norska", -"nv": "navaho", -"ny": "nyanja", -"oc": "provensalska (efter 1500); occitanska", -"oj": "odjibwa; chippewa", -"om": "oromo", -"or": "oriya", -"os": "ossetiska", -"pa": "punjabi", -"pi": "pali", -"pl": "polska", -"ps": "pashto; afghanska", -"pt": "portugisiska", -"qu": "quechua", -"rn": "rundi", -"ro": "rumänska", -"ru": "ryska", -"rw": "rwanda; kinjarwanda", -"sa": "sanskrit", -"sc": "sardiska", -"sd": "sindhi", -"sg": "sango", -"si": "singalesiska", -"sk": "slovakiska", -"sl": "slovenska", -"sm": "samoanska", -"sn": "shona; manshona", -"so": "somaliska", -"sq": "albanska", -"sr": "serbiska", -"ss": "swati", -"su": "sundanesiska", -"sv": "svenska", -"sw": "swahili", -"ta": "tamil", -"te": "telugiska", -"tg": "tadzjikiska", -"th": "thailändska", -"ti": "tigrinja", -"tk": "turkmeniska", -"tl": "tagalog", -"tn": "tswana", -"to": "tonganska", -"tr": "turkiska", -"ts": "tsonga", -"tt": "tatariska", -"tw": "twi", -"ty": "tahitiska", -"ug": "uiguriska", -"uk": "ukrainska", -"ur": "urdu", -"uz": "uzbekiska", -"ve": "venda", -"vi": "vietnamesiska", -"vo": "volapük", -"wa": "vallonska", -"wo": "wolof", -"xh": "xhosa", -"yi": "jiddisch", -"yo": "yoruba", -"za": "zhuang", -"zh": "kinesiska", -"zu": "zulu", -}, -{ type: "language", iso: "sw", -countries: [ -{_reference: "KE"}, -{_reference: "TZ"}, -], -name: "Kiswahili", -"de": "kijerumani", -"en": "kiingereza", -"es": "kihispania", -"fr": "kifaransa", -"it": "kiitaliano", -"ja": "kijapani", -"pt": "kireno", -"ru": "kirusi", -"sw": "Kiswahili", -"zh": "kichina", -}, -{ type: "language", iso: "ta", -countries: [ -{_reference: "IN"}, -], -name: "தமிழ்", -"aa": "அபார்", -"ab": "அப்காஸின்", -"af": "ஆப்ரிகன்ஸ்", -"am": "அம்ஹாரிக்", -"ar": "அரபு", -"as": "அஸ்ஸாமி", -"ay": "அயமரா", -"az": "அசர்பாய்ஜானி", -"ba": "பாஷ்கிர்0", -"be": "பைலோருஷ்ன்", -"bg": "பல்கேரியன்", -"bh": "பிஹாரி", -"bi": "பிஸ்லாமா", -"bn": "வங்காளம்", -"bo": "திபெத்து", -"br": "பிரிடன்", -"ca": "காடலான்", -"co": "கார்சியன்", -"cs": "செக்", -"cy": "வெல்ஷ்", -"da": "டானிஷ்", -"de": "ஜெர்மன்", -"dz": "புடானி", -"el": "கிரேக்கம்", -"en": "ஆங்கிலம்", -"eo": "எஸ்பரேன்டோ", -"es": "ஸ்பேனிஷ்", -"et": "எஸ்டோனியன்", -"eu": "பஸ்க்", -"fa": "பர்ஸியன்", -"fi": "பின்னிஷ்", -"fj": "பிஜி", -"fo": "பைரோஸி", -"fr": "பிரெஞ்சு", -"fy": "பிரிஷியன்", -"ga": "ஐரிஷ்", -"gd": "ஸ்காட்ஸ் காலெக்", -"gl": "கெலிஸியன்", -"gn": "குரானி", -"gu": "குஜராத்தி", -"ha": "ஹொஸா", -"he": "ஹுப்ரு", -"hi": "இந்தி", -"hr": "கரோஷியன்", -"hu": "ஹங்கேரியன்", -"hy": "ஆர்மேனியன்", -"ia": "இன்டர்லிங்குவா [ia]", -"id": "இந்தோனேஷியன்", -"ie": "இன்டர்லிங்குவா", -"ik": "இனுபெக்", -"is": "ஐஸ்லென்டிக்", -"it": "இத்தாலியன்", -"iu": "இனுகிடட்", -"ja": "ஜப்பானீஸ்", -"jv": "ஜாவானீஸ்", -"ka": "கன்னடம்", -"kk": "கசாக்", -"kl": "கிரின்லென்டிக்", -"km": "கம்போடியன்", -"kn": "கன்னடா", -"ko": "கொரியன்", -"ks": "காஷ்மிரி", -"ku": "குர்திஷ்", -"ky": "கிர்கிஷ்", -"la": "லாதின்", -"ln": "லிங்காலா", -"lo": "லோத்தியன்", -"lt": "லுத்தேனியன்", -"lv": "லேட்வியன் (லேட்டிஷ்)", -"mg": "மலகெஸி", -"mi": "மோரி", -"mk": "மெக்கடோனியன்", -"ml": "மலையாளம்", -"mn": "மங்கோலியன்", -"mo": "மோல்டேவியன்", -"mr": "மராத்தி", -"ms": "மலாய்", -"mt": "மால்டிஸ்", -"my": "பர்மிஸ்", -"na": "நாரூ", -"ne": "நேப்பாலி", -"nl": "டச்சு", -"no": "நார்வேகியன்", -"oc": "ஆகிடியன்", -"om": "ஒரோம (அபன்)", -"or": "ஒரியா", -"pa": "பஞ்சாபி", -"pl": "போலிஷ்", -"ps": "பேஷ்டோ (புஷ்டோ)", -"pt": "போர்த்துகீஸ்", -"qu": "கியுசா", -"rm": "ரைட்டோ-ரோமென்ஸ்", -"rn": "கிருந்தி", -"ro": "ரோமேனியன்", -"ru": "ரஷியன்", -"rw": "கின்யர்வென்டா", -"sa": "சமஸ்கிருதம்", -"sd": "சிந்தி", -"sg": "சென்க்ரோ", -"sh": "செர்போ-க்ரோஷியன்", -"si": "சிங்களம்", -"sk": "ஸ்லோவெக்", -"sl": "ஸ்லோவினேயின்", -"sm": "ஸெமோன்", -"sn": "ஷோனா", -"so": "சோமாலி", -"sq": "அல்பெனியன்", -"sr": "சர்பியன்", -"ss": "ஷிஸ்வாதி", -"st": "ஷெஸ்ஸோதோ", -"su": "சுடானீஸ்", -"sv": "ஷீவிடிஸ்", -"sw": "சுவாஹிலி", -"ta": "தமிழ்", -"te": "தெலுங்கு", -"tg": "தாஜிக்", -"th": "தாய்", -"ti": "டிக்ரின்யா", -"tk": "டர்க்மென்", -"tl": "டாகாலோக்", -"tn": "ஸெட்ஸ்வானா", -"to": "டோங்கா", -"tr": "டர்கிஷ்", -"ts": "ஸோங்கா", -"tt": "டாடர்", -"tw": "த்திவி", -"ug": "யுகுர்", -"uk": "உக்ரேனியன்", -"ur": "உருது", -"uz": "உஸ்பெக்", -"vi": "வியட்நாமிஸ்", -"vo": "ஒலபுக்", -"wo": "ஒலோப்", -"xh": "ஹோஷா", -"yi": "ஈத்திஷ", -"yo": "யோருப்பா", -"za": "ஜுவாங்", -"zh": "சீனம்", -"zu": "ஜூலூ", -}, -{ type: "language", iso: "te", -countries: [ -{_reference: "IN"}, -], -name: "తెలుగు", -"ar": "అరబిక్", -"de": "ఙర్మన్", -"en": "ఆంగ్లం", -"es": "స్పానిష్", -"fr": "ఫ్రెంచ్", -"hi": "హిందీ", -"it": "ఇటాలియన్ భాష", -"ja": "జపాను భాష", -"pt": "పొర్చుగల్ భాష", -"ru": "రష్యన్ భాష", -"te": "తెలుగు", -"zh": "చైనా భాష", -}, -{ type: "language", iso: "tg", -countries: [ -{_reference: "TJ"}, -], -}, -{ type: "language", iso: "th", -countries: [ -{_reference: "TH"}, -], -name: "ไทย", -"aa": "อาฟา", -"ab": "แอบกาเซีย", -"af": "แอฟริกัน", -"ak": "อาคาน", -"am": "อัมฮาริค", -"an": "อาราโกนิส", -"as": "อัสสัมมิส", -"av": "อาวาริก", -"ay": "ไอมารา", -"az": "อาเซอร์ไบจานี", -"ba": "บาสช์กีร์", -"be": "บายโลรัสเซีย", -"bg": "บัลแกเรีย", -"bh": "บิฮารี", -"bi": "บิสลามา", -"bm": "บามบารา", -"bo": "ทิเบต", -"br": "บรีทัน", -"bs": "บอสเนีย", -"ca": "แคตาแลน", -"ce": "เชเชิน", -"co": "คอร์ซิกา", -"cr": "ครี", -"cu": "เชอร์ชสลาวิก", -"cv": "ชูวาส", -"cy": "เวลส์", -"da": "เดนมาร์ก", -"de": "เยอรมัน", -"dv": "ดิเวฮิ", -"dz": "ดซองคา", -"ee": "อีเว", -"el": "กรีก", -"en": "อังกฤษ", -"eo": "เอสเปอรันโต", -"es": "สเปน", -"et": "เอสโตเนีย", -"eu": "แบสก์", -"fa": "เปอร์เซีย", -"ff": "ฟูลาฮ์", -"fi": "ฟิน", -"fj": "ฟิจิ", -"fo": "ฟาโรส", -"fr": "ฝรั่งเศส", -"fy": "ฟรีสแลนด์", -"ga": "ไอริช", -"gd": "สก็อตส์เกลิค", -"gl": "กะลีเชีย", -"gn": "กัวรานี", -"gu": "กูจาราติ", -"gv": "มานซ์", -"ha": "โฮซา", -"he": "ฮิบรู", -"hi": "ฮินดี", -"ho": "ฮิริโมทุ", -"hr": "โครเอเทีย", -"ht": "ไฮเทียน", -"hu": "ฮังการี", -"hy": "อาร์มีเนีย", -"hz": "เฮียร์โร", -"id": "อินโดนีเชีย", -"ie": "อินเตอร์ลิงค์", -"ig": "อิกโบ", -"ii": "สิชวนยิ", -"ik": "ไอนูเปียก", -"io": "อิโด", -"is": "ไอซ์แลนด์ดิค", -"it": "อิตาลี", -"iu": "ไอนุกติตัท", -"ja": "ญี่ปุ่น", -"jv": "ชวา", -"ka": "จอร์เจียน", -"kg": "คองโก", -"ki": "กิกุยุ", -"kj": "กวนยามา", -"kk": "คาซัค", -"kl": "กรีนแลนด์ดิค", -"km": "เขมร", -"kn": "กานาดา", -"ko": "เกาหลี", -"kr": "กานุริ", -"ks": "คัชมีรี", -"ku": "เคิด", -"kv": "โกมิ", -"kw": "คอร์นิส", -"ky": "เคอร์กิซ", -"la": "ละติน", -"lb": "ลักเซมเบิร์ก", -"lg": "กานดา", -"li": "ลิมเบิร์ก", -"ln": "ลิงกาลา", -"lo": "ลาว", -"lt": "ลิธัวเนีย", -"lu": "ลูกา-กาทันกา", -"lv": "แลตเวีย (เลททิสช์)", -"mg": "มาลากาซี", -"mh": "มาร์แชลลิส", -"mi": "เมารี", -"mk": "แมซีโดเนีย", -"ml": "มาลายาลัม", -"mn": "มองโกล", -"mo": "โมดาเวีย", -"mr": "มาราที", -"ms": "มลายู", -"mt": "มอลตา", -"my": "พม่า", -"na": "นอรู", -"nb": "นอร์เวย์บอกมอล", -"nd": "เอ็นเดเบเลเหนือ", -"ne": "เนปาล", -"ng": "ดองกา", -"nl": "ฮอลันดา", -"nn": "นอร์เวย์ไนนอรส์ก", -"no": "นอร์เวย์", -"nv": "นาวาโจ", -"ny": "เนียนจา; ชิเชวา; เชวา", -"oc": "ออกซิทัน", -"oj": "โอจิบวา", -"om": "โอโรโม (อาฟาน)", -"or": "โอริยา", -"os": "ออสเซทิก", -"pa": "ปัญจาป", -"pi": "บาลี", -"pl": "โปแลนด์", -"ps": "พาสช์โต (พุสช์โต)", -"pt": "โปรตุเกส", -"qu": "คิวชัว", -"rm": "เรโต-โรแมนซ์", -"rn": "คิรันดี", -"ro": "โรมัน", -"ru": "รัสเซีย", -"rw": "คินยาวันดา", -"sa": "สันสกฤต", -"sc": "ซาร์ดิเนียน", -"sd": "ซินดิ", -"se": "ซามิเหนือ", -"sg": "สันโค", -"sh": "เซอร์โบ-โครเอเทียน", -"si": "สิงหล", -"sk": "สโลวัค", -"sl": "สโลเวเนีย", -"sm": "ซามัว", -"sn": "โซนา", -"so": "โซมาลี", -"sq": "แอลเบเนีย", -"sr": "เซอร์เบีย", -"ss": "ซีสวาติ", -"st": "เซโสโท", -"su": "ซันดานีส", -"sv": "สวีเดน", -"sw": "ซวาฮิรี", -"ta": "ทมิฬ", -"te": "ทิลูกู", -"tg": "ทาจิค", -"th": "ไทย", -"ti": "ทิกรินยา", -"tk": "เติร์กเมน", -"tl": "ตากาล็อก", -"tn": "เซตสวานา", -"to": "ทองก้า", -"tr": "ตุรกี", -"ts": "ซองกา", -"tt": "ตาด", -"tw": "ทวี", -"ty": "ทาฮิเทียน", -"ug": "อุยกัว", -"uk": "ยูเครน", -"ur": "อิรดู", -"uz": "อุสเบค", -"ve": "เวนดา", -"vi": "เวียดนาม", -"vo": "โวลาพุก", -"wa": "วอลลูน", -"wo": "วูลอฟ", -"xh": "โซสา", -"yi": "ยีดิช", -"yo": "โยรูบา", -"za": "จวง", -"zh": "จีน", -"zu": "ซูลู", -}, -{ type: "language", iso: "ti", -countries: [ -{_reference: "ER"}, -{_reference: "ET"}, -], -}, -{ type: "language", iso: "tn", -countries: [ -{_reference: "ZA"}, -], -}, -{ type: "language", iso: "tr", -countries: [ -{_reference: "TR"}, -], -name: "Türkçe", -"aa": "Afar", -"ab": "Abazca", -"af": "Afrikaan Dili", -"am": "Amharik", -"ar": "Arapça", -"av": "Avar Dili", -"ay": "Aymara", -"az": "Azerice", -"ba": "Başkırt Dili", -"be": "Beyaz Rusça", -"bg": "Bulgarca", -"bh": "Bihari", -"bi": "Bislama", -"bn": "Bengal Dili", -"bo": "Tibetçe", -"br": "Breton Dili", -"bs": "Bosna Dili", -"ca": "Katalan Dili", -"ce": "Çeçence", -"co": "Korsika Dili", -"cs": "Çekçe", -"cu": "Kilise Slavcası", -"cv": "Çuvaş", -"cy": "Gal Dili", -"da": "Danca", -"de": "Almanca", -"dz": "Bhutan Dili", -"ee": "Ewe", -"el": "Yunanca", -"en": "İngilizce", -"eo": "Esperanto", -"es": "İspanyolca", -"et": "Estonya Dili", -"eu": "Bask Dili", -"fa": "Farsça", -"fi": "Fince", -"fj": "Fiji Dili", -"fo": "Faroe Dili", -"fr": "Fransızca", -"fy": "Frizye Dili", -"ga": "İrlanda Dili", -"gd": "İskoç Gal Dili", -"gl": "Galiçya Dili", -"gn": "Guarani", -"gu": "Gujarati", -"ha": "Hausa", -"he": "İbranice", -"hi": "Hint Dili", -"hr": "Hırvatça", -"ht": "Haiti Dili", -"hu": "Macarca", -"hy": "Ermenice", -"ia": "Interlingua", -"id": "Endonezya Dili", -"ie": "Interlingue", -"ik": "Inupiak", -"io": "Ido", -"is": "İzlandaca", -"it": "İtalyanca", -"iu": "Inuktitut", -"ja": "Japonca", -"jv": "Java Dili", -"ka": "Gürcüce", -"kk": "Kazak Dili", -"kl": "Grönland Dili", -"km": "Kamboçya Dili", -"kn": "Kannada", -"ko": "Korece", -"ks": "Keşmirce", -"ku": "Kürtçe", -"ky": "Kırgızca", -"la": "Latince", -"lb": "Lüksemburg Dili", -"ln": "Lingala", -"lo": "Laos Dili", -"lt": "Litvanya Dili", -"lv": "Letonya Dili", -"mg": "Malaga Dili", -"mh": "Marshall Adaları Dili", -"mi": "Maori", -"mk": "Makedonca", -"ml": "Malayalam", -"mn": "Moğol Dili", -"mo": "Moldavya Dili", -"mr": "Marathi", -"ms": "Malay", -"mt": "Malta Dili", -"my": "Birmanya Dili", -"na": "Nauru", -"nb": "Norveç Kitap Dili", -"nd": "Kuzey Ndebele", -"ne": "Nepal Dili", -"nl": "Hollanda Dili", -"nn": "Norveççe Nynorsk", -"no": "Norveççe", -"nr": "Güney Ndebele", -"oc": "Occitan (1500 sonrası); Provençal", -"oj": "Ojibwa", -"om": "Oromo (Afan)", -"or": "Oriya", -"os": "Oset", -"pa": "Pencap Dili", -"pl": "Polonya Dili", -"ps": "Peştun Dili", -"pt": "Portekizce", -"qu": "Quechua", -"rm": "Rhaeto-Roman Dili", -"rn": "Kirundi", -"ro": "Romence", -"ru": "Rusça", -"rw": "Kinyarwanda", -"sa": "Sanskritçe", -"sc": "Sardunya Dili", -"sd": "Sindhi", -"se": "Kuzey Sami", -"sg": "Sangho", -"sh": "Sırp-Hırvat Dili", -"si": "Sinhal Dili", -"sk": "Slovakça", -"sl": "Slovence", -"sm": "Samoa Dili", -"sn": "Shona", -"so": "Somali Dili", -"sq": "Arnavutça", -"sr": "Sırpça", -"ss": "Siswati", -"st": "Sesotho", -"su": "Sudan Dili", -"sv": "İsveççe", -"sw": "Swahili", -"ta": "Tamil", -"te": "Telugu", -"tg": "Tacik Dili", -"th": "Tay Dili", -"ti": "Tigrinya", -"tk": "Türkmence", -"tl": "Tagalog", -"tn": "Setswana", -"to": "Tonga (Tonga Adaları)", -"tr": "Türkçe", -"ts": "Tsonga", -"tt": "Tatarca", -"tw": "Twi", -"ty": "Tahiti Dili", -"ug": "Uygurca", -"uk": "Ukraynaca", -"ur": "Urduca", -"uz": "Özbekçe", -"vi": "Vietnam Dili", -"vo": "Volapuk", -"wo": "Wolof", -"xh": "Xhosa", -"yi": "Yiddiş", -"yo": "Yoruba", -"za": "Zhuang", -"zh": "Çince", -"zu": "Zulu", -}, -{ type: "language", iso: "ts", -countries: [ -{_reference: "ZA"}, -], -}, -{ type: "language", iso: "tt", -countries: [ -{_reference: "RU"}, -], -name: "Татар", -}, -{ type: "language", iso: "uk", -countries: [ -{_reference: "UA"}, -], -name: "Українська", -"aa": "Афарська", -"ab": "Абхазька", -"af": "Африканс", -"am": "Амхарік", -"ar": "Арабська", -"as": "Ассамська", -"ay": "Аймара", -"az": "Азербайджанська", -"ba": "Башкирська", -"be": "Білоруська", -"bg": "Болгарська", -"bh": "Біхарійська", -"bi": "Бісламійська", -"bn": "Бенгальська", -"bo": "Тибетська", -"br": "Бретонська", -"ca": "Каталонська", -"co": "Корсиканська", -"cs": "Чеська", -"cy": "Валлійська", -"da": "Датська", -"de": "Німецька", -"dz": "Дзонг-ке", -"el": "Грецька", -"en": "Англійська", -"eo": "Есперанто", -"es": "Іспанська", -"et": "Естонська", -"eu": "Басків", -"fa": "Перська", -"fi": "Фінська", -"fj": "Фіджі", -"fo": "Фарерська", -"fr": "Французька", -"fy": "Фризька", -"ga": "Ірландська", -"gd": "Гаельська", -"gl": "Галісійська", -"gn": "Гуарані", -"gu": "Гуяраті", -"ha": "Хауса", -"he": "Іврит", -"hi": "Гінді", -"hr": "Хорватська", -"hu": "Угорська", -"hy": "Вірменська", -"ia": "Інтерлінгва", -"id": "Індонезійська", -"ie": "Інтерлінгве", -"ik": "Інупіак", -"is": "Ісландська", -"it": "Італійська", -"ja": "Японська", -"jv": "Яванська", -"ka": "Грузинська", -"kk": "Казахська", -"kl": "Калааллісут", -"km": "Кхмерська", -"kn": "Каннада", -"ko": "Корейська", -"ks": "Кашмірська", -"ku": "Курдська", -"ky": "Киргизька", -"la": "Латинська", -"ln": "Лінгала", -"lo": "Лаоська", -"lt": "Литовська", -"lv": "Латвійська", -"mg": "Малагасійська", -"mi": "Маорі", -"mk": "Македонська", -"ml": "Малайялам", -"mn": "Монгольська", -"mo": "Молдавська", -"mr": "Маратхі", -"ms": "Малайська", -"mt": "Мальтійська", -"my": "Бірманська", -"na": "Науру", -"ne": "Непальська", -"nl": "Голландська", -"no": "Норвезька", -"oc": "Окитан", -"om": "Оромо", -"or": "Орія", -"pa": "Панджабі", -"pl": "Польська", -"ps": "Пашто", -"pt": "Португальська", -"qu": "Кечуа", -"rm": "Ретророманські діалекти", -"rn": "Кірундійська", -"ro": "Румунська", -"ru": "Російська", -"rw": "Кінаруанда", -"sa": "Санскрит", -"sd": "Сіндтхі", -"sg": "Сангро", -"sh": "Сербсько-хорватська", -"si": "Сингальська", -"sk": "Словацька", -"sl": "Словенська", -"sm": "Самоанська", -"sn": "Шона", -"so": "Сомалі", -"sq": "Албанська", -"sr": "Сербська", -"ss": "Сісваті", -"st": "Сото, південний діалект", -"su": "Суданська", -"sv": "Шведська", -"sw": "Суахілі", -"ta": "Тамільська", -"te": "Телугу", -"tg": "Таджицька", -"th": "Тайська", -"ti": "Тигріні", -"tk": "Туркменська", -"tl": "Тагальська", -"tn": "Сетсванська", -"to": "Тонга (острови Тонга)", -"tr": "Турецька", -"ts": "Тсонго", -"tt": "Татарська", -"tw": "Тві", -"ug": "Уйгурська", -"uk": "Українська", -"ur": "Урду", -"uz": "Узбецька", -"vi": "Вʼєтнамська", -"vo": "Волапак", -"wo": "Волоф", -"xh": "Кхоса", -"yi": "Ідиш", -"yo": "Йоруба", -"za": "Зуанг", -"zh": "Китайська", -"zu": "Зулуська", -}, -{ type: "language", iso: "ur", -countries: [ -{_reference: "IN"}, -{_reference: "PK"}, -], -name: "اردو", -"ur": "اردو", -}, -{ type: "language", iso: "uz", -countries: [ -{_reference: "AF"}, -{_reference: "UZ"}, -], -name: "Ўзбек", -}, -{ type: "language", iso: "ve", -countries: [ -{_reference: "ZA"}, -], -}, -{ type: "language", iso: "vi", -countries: [ -{_reference: "VN"}, -], -name: "Tiếng Việt", -"ar": "Tiếng A-rập", -"az": "Tiếng Ai-déc-bai-gian", -"be": "Tiếng Bê-la-rút", -"bg": "Tiếng Bun-ga-ri", -"bo": "Tiếng Tây Tạng", -"ca": "Tiếng Ca-ta-lăng", -"cs": "Tiếng Séc", -"da": "Tiếng Đan Mạch", -"de": "Tiếng Đức", -"el": "Tiếng Hy Lạp", -"en": "Tiếng Anh", -"eo": "Tiếng Quốc Tế Ngữ", -"es": "Tiếng Tây Ban Nha", -"et": "Tiếng E-xtô-ni-a", -"fa": "Tiếng Ba Tư", -"fi": "Tiếng Phần Lan", -"fr": "Tiếng Pháp", -"ga": "Tiếng Ai-len", -"he": "Tiếng Hê-brơ", -"hi": "Tiếng Hin-đi", -"hr": "Tiếng Crô-a-ti-a", -"hu": "Tiếng Hung-ga-ri", -"hy": "Tiếng Ác-mê-ni", -"ia": "Tiếng Khoa Học Quốc Tế", -"id": "Tiếng In-đô-nê-xia", -"is": "Tiếng Ai-xơ-len", -"it": "Tiếng Ý", -"ja": "Tiếng Nhật", -"jv": "Tiếng Gia-va", -"km": "Tiếng Campuchia", -"kn": "Tiếng Kan-na-đa", -"ko": "Tiếng Hàn Quốc", -"la": "Tiếng La-tinh", -"lo": "Tiếng Lào", -"lt": "Tiếng Lít-va", -"lv": "Tiếng Lát-vi-a", -"mk": "Tiếng Ma-xê-đô-ni-a", -"mn": "Tiếng Mông Cổ", -"ms": "Tiếng Ma-lay-xi-a", -"ne": "Tiếng Nê-pan", -"nl": "Tiếng Hà Lan", -"no": "Tiếng Na Uy", -"pl": "Tiếng Ba Lan", -"pt": "Tiếng Bồ Đào Nha", -"ro": "Tiếng Ru-ma-ni", -"ru": "Tiếng Nga", -"sa": "Tiếng Phạn", -"sk": "Tiếng Xlô-vác", -"sl": "Tiếng Xlô-ven", -"so": "Tiếng Xô-ma-li", -"sq": "Tiếng An-ba-ni", -"sr": "Tiếng Séc-bi", -"sv": "Tiếng Thụy Điển", -"th": "Tiếng Thái", -"tr": "Tiếng Thổ Nhĩ Kỳ", -"uk": "Tiếng U-crai-na", -"uz": "Tiếng U-dơ-bếch", -"vi": "Tiếng Việt", -"yi": "Tiếng Y-đit", -"zh": "Tiếng Trung Quốc", -}, -{ type: "language", iso: "xh", -countries: [ -{_reference: "ZA"}, -], -}, -{ type: "language", iso: "yo", -countries: [ -{_reference: "NG"}, -], -}, -{ type: "language", iso: "zh", -countries: [ -{_reference: "CN"}, -{_reference: "HK"}, -{_reference: "MO"}, -{_reference: "SG"}, -{_reference: "TW"}, -], -name: "中文", -"aa": "阿法文", -"ab": "阿布哈西亚文", -"ae": "阿维斯塔文", -"af": "南非荷兰文", -"ak": "阿肯文", -"am": "阿姆哈拉文", -"ar": "阿拉伯文", -"as": "阿萨姆文", -"av": "阿瓦尔文", -"ay": "艾马拉文", -"az": "阿塞拜疆文", -"ba": "巴什客尔文", -"be": "白俄罗斯文", -"bg": "保加利亚文", -"bh": "比哈尔文", -"bi": "比斯拉马文", -"bm": "班巴拉文", -"bn": "孟加拉文", -"bo": "西藏文", -"br": "布里多尼文", -"bs": "波斯尼亚文", -"ca": "加泰罗尼亚文", -"ce": "车臣文", -"ch": "查莫罗文", -"co": "科西嘉文", -"cr": "克里族文", -"cs": "捷克文", -"cu": "宗教斯拉夫文", -"cv": "楚瓦什文", -"cy": "威尔士文", -"da": "丹麦文", -"de": "德文", -"dv": "迪维希文", -"dz": "不丹文", -"ee": "幽文", -"el": "希腊文", -"en": "英文", -"eo": "世界文", -"es": "西班牙文", -"et": "爱沙尼亚文", -"eu": "巴斯克文", -"fa": "波斯文", -"ff": "夫拉文", -"fi": "芬兰文", -"fj": "斐济文", -"fo": "法罗文", -"fr": "法文", -"fy": "弗里斯兰文", -"ga": "爱尔兰文", -"gd": "苏格兰- 盖尔文", -"gl": "加利西亚文", -"gn": "瓜拉尼文", -"gu": "古加拉提文", -"gv": "马恩岛文", -"ha": "豪撒文", -"he": "希伯来文", -"hi": "印地文", -"ho": "新里木托文", -"hr": "克罗地亚文", -"hu": "匈牙利文", -"hy": "亚美尼亚文", -"hz": "赫雷罗文", -"ia": "拉丁国际文 Interlingua", -"id": "印度尼西亚文", -"ie": "拉丁国际文 Interlingue", -"ig": "伊格博文", -"ii": "四川话", -"ik": "依奴皮维克文", -"io": "爱德莪文(人工语言)", -"is": "冰岛文", -"it": "意大利文", -"iu": "爱斯基摩文", -"ja": "日文", -"jv": "爪哇文", -"ka": "格鲁吉亚文", -"kg": "刚果文", -"ki": "吉库尤文", -"kj": "关琊玛文", -"kk": "哈萨克文", -"kl": "格陵兰文", -"km": "柬埔寨文", -"kn": "埃纳德文", -"ko": "韩文", -"kr": "卡努里文", -"ks": "克什米尔文", -"ku": "库尔德文", -"kv": "科米文", -"kw": "凯尔特文", -"ky": "吉尔吉斯文", -"la": "拉丁文", -"lb": "卢森堡文", -"lg": "卢干达文", -"li": "淋布尔吉文", -"ln": "林加拉文", -"lo": "老挝文", -"lt": "立陶宛文", -"lu": "鲁巴加丹加文", -"lv": "拉脫維亞文", -"mg": "马尔加什文", -"mh": "马绍尔文", -"mi": "毛利文", -"mk": "马其顿文", -"ml": "马来亚拉姆文", -"mn": "蒙古文", -"mo": "摩尔多瓦文", -"mr": "马拉地文", -"ms": "马来文", -"mt": "马耳他文", -"my": "缅甸文", -"na": "瑙鲁文", -"nb": "挪威博克马尔文", -"nd": "北恩德贝勒文", -"ne": "尼泊尔文", -"ng": "恩东加文", -"nl": "荷兰文", -"nn": "挪威尼诺斯克文", -"no": "挪威文", -"nr": "南部恩德贝勒文", -"nv": "纳瓦霍文", -"ny": "尼昂加文;切瓦文;切瓦文", -"oc": "奥西坦文", -"oj": "奥季布瓦文", -"om": "阿曼文", -"or": "欧里亚文", -"os": "奥塞提文", -"pa": "旁遮普文", -"pi": "帕利文", -"pl": "波兰文", -"ps": "普什图文", -"pt": "葡萄牙文", -"qu": "盖丘亚文", -"rm": "里托罗曼斯文", -"rn": "基隆迪文", -"ro": "罗马尼亚文", -"ru": "俄文", -"rw": "卢旺达文", -"sa": "梵文", -"sc": "萨丁文", -"sd": "信德语", -"se": "北萨迷文", -"sg": "桑戈文", -"sh": "塞波尼斯-克罗地亚文", -"si": "僧伽罗文", -"sk": "斯洛伐克文", -"sl": "斯洛文尼亚文", -"sm": "萨摩亚文", -"sn": "塞内加尔文", -"so": "索马里文", -"sq": "阿尔巴尼亚文", -"sr": "塞尔维亚文", -"ss": "辛辛那提文", -"st": "塞索托文", -"su": "巽他语", -"sv": "瑞典文", -"sw": "斯瓦希里文", -"ta": "泰米尔文", -"te": "泰卢固文", -"tg": "塔吉克文", -"th": "泰文", -"ti": "提格里尼亚文", -"tk": "土库曼文", -"tl": "塔加路族文", -"tn": "突尼斯文", -"to": "汤加文", -"tr": "土耳其文", -"ts": "特松加文", -"tt": "鞑靼文", -"tw": "台湾文", -"ty": "塔西提文", -"ug": "维吾尔文", -"uk": "乌克兰文", -"ur": "乌尔都文", -"uz": "乌兹别克文", -"ve": "文达文", -"vi": "越南文", -"vo": "沃拉普克文", -"wa": "華隆文", -"wo": "沃尔夫文", -"xh": "科萨语", -"yi": "依地文", -"yo": "约鲁巴文", -"za": "藏文", -"zh": "中文", -"zu": "祖鲁文", -}, -{ type: "language", iso: "zu", -countries: [ -{_reference: "ZA"}, -], -}, -] diff --git a/includes/js/dijit/demos/i18n/languages.sh b/includes/js/dijit/demos/i18n/languages.sh deleted file mode 100644 index 5d353ee..0000000 --- a/includes/js/dijit/demos/i18n/languages.sh +++ /dev/null @@ -1,18 +0,0 @@ -echo "[" -for lang in $(ls [a-z][a-z].xml |sed s/.xml//) -do - echo '{ type: "language", iso: "'${lang}'",' - - # countries that use this language - echo 'countries: [' - ls ${lang}_[A-Z][A-Z].xml | sed -e 's/^.*_/{_reference: "/' -e 's/.xml/"},/' - echo '],' - - # name of this language (in this language) - grep ']' ${lang}.xml |head -1 |sed -e 's/.*]*>/name: "/' -e 's/<\/language>/",/' - - # names of other langauges (in this language) - grep '' ${lang}.xml |sed -e 's/.*/",/' -e 's/>/: "/' -e 's/-->//' - echo '},' -done -echo "]" diff --git a/includes/js/dijit/demos/i18n/sprite.html b/includes/js/dijit/demos/i18n/sprite.html deleted file mode 100644 index c34ef3e..0000000 --- a/includes/js/dijit/demos/i18n/sprite.html +++ /dev/null @@ -1,2319 +0,0 @@ - - - - - - - - - - -

Flag Sprite/CSS Generator

- - -

Sprite

-
-
-
- -

CSS

- - - -

Country names, flags, and ISO code

-

data taken from wikipedia ISO 3166-1 site

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Official country names used by the ISO 3166/MANumericAlpha-3Alpha-2Local ISO codes
Flag of Afghanistan Afghanistan004AFGAFISO 3166-2:AF
Flag of Åland Åland Islands248ALAAXISO 3166-2:AX
Flag of Albania Albania008ALBALISO 3166-2:AL
Flag of Algeria Algeria012DZADZISO 3166-2:DZ
Flag of American Samoa American Samoa016ASMASISO 3166-2:AS
Flag of Andorra Andorra020ANDISO 3166-2:AD
Flag of Angola Angola024AGOAOISO 3166-2:AO
Flag of Anguilla Anguilla660AIAAIISO 3166-2:AI
Flag of Antarctica Antarctica010ATAAQISO 3166-2:AQ
Flag of Antigua and Barbuda Antigua and Barbuda028ATGAGISO 3166-2:AG
Flag of Argentina Argentina032ARGARISO 3166-2:AR
Flag of Armenia Armenia051ARMAMISO 3166-2:AM
Flag of Aruba Aruba533ABWAWISO 3166-2:AW
Flag of Australia Australia036AUSAUISO 3166-2:AU
Flag of Austria Austria040AUTATISO 3166-2:AT
Flag of Azerbaijan Azerbaijan031AZEAZISO 3166-2:AZ
Flag of the Bahamas Bahamas044BHSBSISO 3166-2:BS
Flag of Bahrain Bahrain048BHRBHISO 3166-2:BH
Flag of Bangladesh Bangladesh050BGDBDISO 3166-2:BD
Flag of Barbados Barbados052BRBBBISO 3166-2:BB
Flag of Belarus Belarus112BLRBYISO 3166-2:BY
Flag of Belgium Belgium056BELBEISO 3166-2:BE
Flag of Belize Belize084BLZBZISO 3166-2:BZ
Flag of Benin Benin204BENBJISO 3166-2:BJ
Flag of Bermuda Bermuda060BMUBMISO 3166-2:BM
Flag of Bhutan Bhutan064BTNBTISO 3166-2:BT
Flag of Bolivia Bolivia068BOLBOISO 3166-2:BO
Flag of Bosnia and Herzegovina Bosnia and Herzegovina070BIHBAISO 3166-2:BA
Flag of Botswana Botswana072BWABWISO 3166-2:BW
Flag of Bouvet Island Bouvet Island074BVTBVISO 3166-2:BV
Flag of Brazil Brazil076BRABRISO 3166-2:BR
Flag of British Indian Ocean Territory British Indian Ocean Territory086IOTIOISO 3166-2:IO
Flag of Brunei Brunei Darussalam096BRNBNISO 3166-2:BN
Flag of Bulgaria Bulgaria100BGRBGISO 3166-2:BG
Flag of Burkina Faso Burkina Faso854BFABFISO 3166-2:BF
Flag of Burundi Burundi108BDIBIISO 3166-2:BI
Flag of Cambodia Cambodia116KHMKHISO 3166-2:KH
Flag of Cameroon Cameroon120CMRCMISO 3166-2:CM
Flag of Canada Canada124CANCAISO 3166-2:CA
Flag of Cape Verde Cape Verde132CPVCVISO 3166-2:CV
Flag of Cayman Islands Cayman Islands136CYMKYISO 3166-2:KY
Flag of the Central African Republic Central African Republic140CAFCFISO 3166-2:CF
Flag of Chad Chad148TCDTDISO 3166-2:TD
Flag of Chile Chile152CHLCLISO 3166-2:CL
Flag of the People's Republic of China China156CHNCNISO 3166-2:CN
Flag of Christmas Island Christmas Island162CXRCXISO 3166-2:CX
Flag of the Cocos (Keeling) Islands Cocos (Keeling) Islands166CCKCCISO 3166-2:CC
Flag of Colombia Colombia170COLCOISO 3166-2:CO
Flag of the Comoros Comoros174COMKMISO 3166-2:KM
Flag of the Republic of the Congo Congo178COGCGISO 3166-2:CG
Flag of the Democratic Republic of the Congo Congo, Democratic Republic of the180CODCDISO 3166-2:CD
Flag of the Cook Islands Cook Islands184COKCKISO 3166-2:CK
Flag of Costa Rica Costa Rica188CRICRISO 3166-2:CR
Flag of Côte d'Ivoire Côte d'Ivoire384CIVCIISO 3166-2:CI
Flag of Croatia Croatia191HRVHRISO 3166-2:HR
Flag of Cuba Cuba192CUBCUISO 3166-2:CU
Flag of Cyprus Cyprus196CYPCYISO 3166-2:CY
Flag of the Czech Republic Czech Republic203CZECZISO 3166-2:CZ
Flag of Denmark Denmark208DNKDKISO 3166-2:DK
Flag of Djibouti Djibouti262DJIDJISO 3166-2:DJ
Flag of Dominica Dominica212DMADMISO 3166-2:DM
Flag of the Dominican Republic Dominican Republic214DOMDOISO 3166-2:DO
Flag of Ecuador Ecuador218ECUECISO 3166-2:EC
Flag of Egypt Egypt818EGYEGISO 3166-2:EG
Flag of El Salvador El Salvador222SLVSVISO 3166-2:SV
Flag of Equatorial Guinea Equatorial Guinea226GNQGQISO 3166-2:GQ
Flag of Eritrea Eritrea232ERIERISO 3166-2:ER
Flag of Estonia Estonia233ESTEEISO 3166-2:EE
Flag of Ethiopia Ethiopia231ETHETISO 3166-2:ET
Flag of the Falkland Islands Falkland Islands (Malvinas)238FLKFKISO 3166-2:FK
Flag of the Faroe Islands Faroe Islands234FROFOISO 3166-2:FO
Flag of Fiji Fiji242FJIFJISO 3166-2:FJ
Flag of Finland Finland246FINFIISO 3166-2:FI
Flag of France France250FRAFRISO 3166-2:FR
Flag of French Guiana French Guiana254GUFGFISO 3166-2:GF
Flag of French Polynesia French Polynesia258PYFPFISO 3166-2:PF
Flag of the French Southern and Antarctic Lands French Southern Territories260ATFTFISO 3166-2:TF
Flag of Gabon Gabon266GABGAISO 3166-2:GA
Flag of The Gambia Gambia270GMBGMISO 3166-2:GM
Flag of Georgia (country) Georgia268GEOGEISO 3166-2:GE
Flag of Germany Germany276DEUDEISO 3166-2:DE
Flag of Ghana Ghana288GHAGHISO 3166-2:GH
Flag of Gibraltar Gibraltar292GIBGIISO 3166-2:GI
Flag of Greece Greece300GRCGRISO 3166-2:GR
Flag of Greenland Greenland304GRLGLISO 3166-2:GL
Flag of Grenada Grenada308GRDGDISO 3166-2:GD
Flag of Guadeloupe Guadeloupe[2]312GLPGPISO 3166-2:GP
Flag of Guam Guam316GUMGUISO 3166-2:GU
Flag of Guatemala Guatemala320GTMGTISO 3166-2:GT
Flag of Guernsey Guernsey831GGYGGISO 3166-2:GG
Flag of Guinea Guinea324GINGNISO 3166-2:GN
Flag of Guinea-Bissau Guinea-Bissau624GNBGWISO 3166-2:GW
Flag of Guyana Guyana328GUYGYISO 3166-2:GY
Flag of Haiti Haiti332HTIHTISO 3166-2:HT
Flag of Heard Island and McDonald Islands Heard Island and McDonald Islands334HMDHMISO 3166-2:HM
Flag of the Vatican City Holy See (Vatican City State)336VATVAISO 3166-2:VA
Flag of Honduras Honduras340HNDHNISO 3166-2:HN
Flag of Hong Kong Hong Kong344HKGHKISO 3166-2:HK
Flag of Hungary Hungary348HUNHUISO 3166-2:HU
Flag of Iceland Iceland352ISLISISO 3166-2:IS
Flag of India India356INDINISO 3166-2:IN
Flag of Indonesia Indonesia360IDNIDISO 3166-2:ID
Flag of Iran Iran, Islamic Republic of364IRNIRISO 3166-2:IR
Flag of Iraq Iraq368IRQIQISO 3166-2:IQ
Flag of Ireland Ireland372IRLIEISO 3166-2:IE
Flag of the Isle of Man Isle of Man833IMNIMISO 3166-2:IM
Flag of Israel Israel376ISRILISO 3166-2:IL
Flag of Italy Italy380ITAITISO 3166-2:IT
Flag of Jamaica Jamaica388JAMJMISO 3166-2:JM
Flag of Japan Japan392JPNJPISO 3166-2:JP
Flag of Jersey Jersey832JEYJEISO 3166-2:JE
Flag of Jordan Jordan400JORJOISO 3166-2:JO
Flag of Kazakhstan Kazakhstan398KAZKZISO 3166-2:KZ
Flag of Kenya Kenya404KENKEISO 3166-2:KE
Flag of Kiribati Kiribati296KIRKIISO 3166-2:KI
Flag of North Korea Korea, Democratic People's Republic of408PRKKPISO 3166-2:KP
Flag of South Korea Korea, Republic of410KORKRISO 3166-2:KR
Flag of Kuwait Kuwait414KWTKWISO 3166-2:KW
Flag of Kyrgyzstan Kyrgyzstan417KGZKGISO 3166-2:KG
Flag of Laos Lao People's Democratic Republic418LAOLAISO 3166-2:LA
Flag of Latvia Latvia428LVALVISO 3166-2:LV
Flag of Lebanon Lebanon422LBNLBISO 3166-2:LB
Flag of Lesotho Lesotho426LSOLSISO 3166-2:LS
Flag of Liberia Liberia430LBRLRISO 3166-2:LR
Flag of Libya Libyan Arab Jamahiriya434LBYLYISO 3166-2:LY
Flag of Liechtenstein Liechtenstein438LIELIISO 3166-2:LI
Flag of Lithuania Lithuania440LTULTISO 3166-2:LT
Flag of Luxembourg Luxembourg442LUXLUISO 3166-2:LU
Flag of Macau Macao446MACMOISO 3166-2:MO
Flag of the Republic of Macedonia Macedonia, the former Yugoslav Republic of807MKDMKISO 3166-2:MK
Flag of Madagascar Madagascar450MDGMGISO 3166-2:MG
Flag of Malawi Malawi454MWIMWISO 3166-2:MW
Flag of Malaysia Malaysia458MYSMYISO 3166-2:MY
Flag of the Maldives Maldives462MDVMVISO 3166-2:MV
Flag of Mali Mali466MLIMLISO 3166-2:ML
Flag of Malta Malta470MLTMTISO 3166-2:MT
Flag of the Marshall Islands Marshall Islands584MHLMHISO 3166-2:MH
Flag of Martinique Martinique474MTQMQISO 3166-2:MQ
Flag of Mauritania Mauritania478MRTMRISO 3166-2:MR
Flag of Mauritius Mauritius480MUSMUISO 3166-2:MU
Flag of Mayotte Mayotte175MYTYTISO 3166-2:YT
Flag of Mexico Mexico484MEXMXISO 3166-2:MX
Flag of the Federated States of Micronesia Micronesia, Federated States of583FSMFMISO 3166-2:FM
Flag of Moldova Moldova, Republic of498MDAMDISO 3166-2:MD
Flag of Monaco Monaco492MCOMCISO 3166-2:MC
Flag of Mongolia Mongolia496MNGMNISO 3166-2:MN
Flag of Montenegro Montenegro499MNEMEISO 3166-2:ME
Flag of Montserrat Montserrat500MSRMSISO 3166-2:MS
Flag of Morocco Morocco504MARMAISO 3166-2:MA
Flag of Mozambique Mozambique508MOZMZISO 3166-2:MZ
Flag of Myanmar Myanmar104MMRMMISO 3166-2:MM
Flag of Namibia Namibia516NAMNAISO 3166-2:NA
Flag of Nauru Nauru520NRUNRISO 3166-2:NR
Flag of Nepal Nepal524NPLNPISO 3166-2:NP
Flag of the Netherlands Netherlands528NLDNLISO 3166-2:NL
Flag of the Netherlands Antilles Netherlands Antilles530ANTANISO 3166-2:AN
Flag of New Caledonia New Caledonia540NCLNCISO 3166-2:NC
Flag of New Zealand New Zealand554NZLNZISO 3166-2:NZ
Flag of Nicaragua Nicaragua558NICNIISO 3166-2:NI
Flag of Niger Niger562NERNEISO 3166-2:NE
Flag of Nigeria Nigeria566NGANGISO 3166-2:NG
Flag of Niue Niue570NIUNUISO 3166-2:NU
Flag of Norfolk Island Norfolk Island574NFKNFISO 3166-2:NF
Flag of the Northern Mariana Islands Northern Mariana Islands580MNPMPISO 3166-2:MP
Flag of Norway Norway578NORNOISO 3166-2:NO
Flag of Oman Oman512OMNOMISO 3166-2:OM
Flag of Pakistan Pakistan586PAKPKISO 3166-2:PK
Flag of Palau Palau585PLWPWISO 3166-2:PW
Palestinian flag Palestinian Territory, Occupied275PSEPSISO 3166-2:PS
Flag of Panama Panama591PANPAISO 3166-2:PA
Flag of Papua New Guinea Papua New Guinea598PNGPGISO 3166-2:PG
Flag of Paraguay Paraguay600PRYPYISO 3166-2:PY
Flag of Peru Peru604PERPEISO 3166-2:PE
Flag of the Philippines Philippines608PHLPHISO 3166-2:PH
Flag of the Pitcairn Islands Pitcairn612PCNPNISO 3166-2:PN
Flag of Poland Poland616POLPLISO 3166-2:PL
Flag of Portugal Portugal620PRTPTISO 3166-2:PT
Flag of Puerto Rico Puerto Rico630PRIPRISO 3166-2:PR
Flag of Qatar Qatar634QATQAISO 3166-2:QA
Flag of Réunion Réunion638REUREISO 3166-2:RE
Flag of Romania Romania642ROUROISO 3166-2:RO
Flag of Russia Russian Federation643RUSRUISO 3166-2:RU
Flag of Rwanda Rwanda646RWARWISO 3166-2:RW
Flag of Saint Helena Saint Helena654SHNSHISO 3166-2:SH
Flag of Saint Kitts and Nevis Saint Kitts and Nevis659KNAKNISO 3166-2:KN
Flag of Saint Lucia Saint Lucia662LCALCISO 3166-2:LC
Flag of Saint Pierre and Miquelon Saint Pierre and Miquelon666SPMPMISO 3166-2:PM
Flag of Saint Vincent and the Grenadines Saint Vincent and the Grenadines670VCTVCISO 3166-2:VC
Flag of Samoa Samoa882WSMWSISO 3166-2:WS
Flag of San Marino San Marino674SMRSMISO 3166-2:SM
Flag of São Tomé and Príncipe Sao Tome and Principe678STPSTISO 3166-2:ST
Flag of Saudi Arabia Saudi Arabia682SAUSAISO 3166-2:SA
Flag of Senegal Senegal686SENSNISO 3166-2:SN
Flag of Serbia Serbia688SRBRSISO 3166-2:RS
Flag of the Seychelles Seychelles690SYCSCISO 3166-2:SC
Flag of Sierra Leone Sierra Leone694SLESLISO 3166-2:SL
Flag of Singapore Singapore702SGPSGISO 3166-2:SG
Flag of Slovakia Slovakia703SVKSKISO 3166-2:SK
Flag of Slovenia Slovenia705SVNSIISO 3166-2:SI
Flag of the Solomon Islands Solomon Islands090SLBSBISO 3166-2:SB
Flag of Somalia Somalia706SOMSOISO 3166-2:SO
Flag of South Africa South Africa710ZAFZAISO 3166-2:ZA
Flag of South Georgia and the South Sandwich Islands South Georgia and the South Sandwich Islands239SGSGSISO 3166-2:GS
Flag of Spain Spain724ESPESISO 3166-2:ES
Flag of Sri Lanka Sri Lanka144LKALKISO 3166-2:LK
Flag of Sudan Sudan736SDNSDISO 3166-2:SD
Flag of Suriname Suriname740SURSRISO 3166-2:SR
Flag of Svalbard and Jan Mayen Svalbard and Jan Mayen744SJMSJISO 3166-2:SJ
Flag of Swaziland Swaziland748SWZSZISO 3166-2:SZ
Flag of Sweden Sweden752SWESEISO 3166-2:SE
Flag of Switzerland Switzerland756CHECHISO 3166-2:CH
Flag of Syria Syrian Arab Republic760SYRSYISO 3166-2:SY
Flag of the Republic of China Taiwan, Province of China158TWNTWISO 3166-2:TW
Flag of Tajikistan Tajikistan762TJKTJISO 3166-2:TJ
Flag of Tanzania Tanzania, United Republic of834TZATZISO 3166-2:TZ
Flag of Thailand Thailand764THATHISO 3166-2:TH
Flag of East Timor Timor-Leste626TLSTLISO 3166-2:TL
Flag of Togo Togo768TGOTGISO 3166-2:TG
Flag of Tokelau Tokelau772TKLTKISO 3166-2:TK
Flag of Tonga Tonga776TONTOISO 3166-2:TO
Flag of Trinidad and Tobago Trinidad and Tobago780TTOTTISO 3166-2:TT
Flag of Tunisia Tunisia788TUNTNISO 3166-2:TN
Flag of Turkey Turkey792TURTRISO 3166-2:TR
Flag of Turkmenistan Turkmenistan795TKMTMISO 3166-2:TM
Flag of the Turks and Caicos Islands Turks and Caicos Islands796TCATCISO 3166-2:TC
Flag of Tuvalu Tuvalu798TUVTVISO 3166-2:TV
Flag of Uganda Uganda800UGAUGISO 3166-2:UG
Flag of Ukraine Ukraine804UKRUAISO 3166-2:UA
Flag of the United Arab Emirates United Arab Emirates784AREAEISO 3166-2:AE
Flag of the United Kingdom United Kingdom826GBRGBISO 3166-2:GB
Flag of the United States United States840USAUSISO 3166-2:US
Flag of United States Minor Outlying Islands United States Minor Outlying Islands581UMIUMISO 3166-2:UM
Flag of Uruguay Uruguay858URYUYISO 3166-2:UY
Flag of Uzbekistan Uzbekistan860UZBUZISO 3166-2:UZ
Flag of Vanuatu Vanuatu548VUTVUISO 3166-2:VU
Flag of Venezuela Venezuela862VENVEISO 3166-2:VE
Flag of Vietnam Viet Nam704VNMVNISO 3166-2:VN
Flag of the British Virgin Islands Virgin Islands, British092VGBVGISO 3166-2:VG
Flag of the United States Virgin Islands Virgin Islands, U.S.850VIRVIISO 3166-2:VI
Flag of Wallis and Futuna Wallis and Futuna876WLFWFISO 3166-2:WF
Flag of Western Sahara Western Sahara732ESHEHISO 3166-2:EH
Flag of Yemen Yemen887YEMYEISO 3166-2:YE
Flag of Zambia Zambia894ZMBZMISO 3166-2:ZM
Flag of Zimbabwe Zimbabwe716ZWEZWISO 3166-2:ZW
- -

Country Continent Mapping

-

abstracted from wikipedia continent country page

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AfricaFlag of Algeria AlgeriaAlgiers
AfricaFlag of Angola AngolaLuanda
AfricaFlag of Benin BeninPorto-Novo (seat of government at Cotonou)
AfricaFlag of Botswana BotswanaGaborone
AfricaFlag of Burkina Faso Burkina FasoOuagadougou
AfricaFlag of Burundi BurundiBujumbura
AfricaFlag of Cameroon CameroonYaoundé
AfricaFlag of Cape Verde Cape VerdePraia
AfricaFlag of the Central African Republic Central African RepublicBangui
AfricaFlag of Chad ChadN'Djamena
AfricaFlag of the Comoros ComorosMoroni
AfricaFlag of the Democratic Republic of the Congo Congo, Democratic Republic of (also known as Congo-Kinshasa, formerly known as Zaire) – Kinshasa
AfricaFlag of the Republic of the Congo Congo, Republic of (also known as Congo-Brazzaville) – Brazzaville
AfricaFlag of Côte d'Ivoire Côte d'Ivoire (commonly known as Ivory Coast) – Yamoussoukro (seat of government at Abidjan)
AfricaFlag of Djibouti DjiboutiDjibouti
AfricaFlag of Egypt EgyptCairo
AfricaFlag of Equatorial Guinea Equatorial GuineaMalabo
AfricaFlag of Eritrea EritreaAsmara
AfricaFlag of Ethiopia EthiopiaAddis Ababa
AfricaFlag of Gabon GabonLibreville
AfricaFlag of The Gambia GambiaBanjul
AfricaFlag of Ghana GhanaAccra
AfricaFlag of Guinea GuineaConakry
AfricaFlag of Guinea-Bissau Guinea-BissauBissau
AfricaFlag of Kenya KenyaNairobi
AfricaFlag of Lesotho LesothoMaseru
AfricaFlag of Liberia LiberiaMonrovia
AfricaFlag of Libya LibyaTripoli
AfricaFlag of Madagascar MadagascarAntananarivo
AfricaFlag of Malawi MalawiLilongwe
AfricaFlag of Mali MaliBamako
AfricaFlag of Mauritania MauritaniaNouakchott
AfricaFlag of Mauritius MauritiusPort Louis
AfricaFlag of Mayotte Mayotte (overseas territory of France) – Mamoudzou
AfricaFlag of Morocco MoroccoRabat
AfricaFlag of Mozambique MozambiqueMaputo
AfricaFlag of Namibia NamibiaWindhoek
AfricaFlag of Niger NigerNiamey
AfricaFlag of Nigeria NigeriaAbuja
AfricaFlag of Réunion Réunion (overseas department of France) – Saint-Denis
AfricaFlag of Rwanda RwandaKigali
AfricaFlag of Saint Helena Saint Helena (overseas territory of the United Kingdom) – Jamestown
AfricaFlag of São Tomé and Príncipe Sao Tome and PrincipeSão Tomé
AfricaFlag of Senegal SenegalDakar
AfricaFlag of the Seychelles SeychellesVictoria
AfricaFlag of Sierra Leone Sierra LeoneFreetown
AfricaFlag of Somalia SomaliaMogadishu
AfricaFlag of South Africa South AfricaPretoria (administrative), Cape Town (legislative), Bloemfontein (judicial)
AfricaFlag of Sudan SudanKhartoum
AfricaFlag of Swaziland SwazilandMbabane (administrative), Lobamba (royal and legislative)
AfricaFlag of Tanzania TanzaniaDodoma (seat of government at Dar es Salaam)
AfricaFlag of Togo TogoLomé
AfricaFlag of Tunisia TunisiaTunis
AfricaFlag of Uganda UgandaKampala
AfricaFlag of Western Sahara Western SaharaEl Aaiún (unofficial)
AfricaFlag of Zambia ZambiaLusaka
AfricaFlag of Zimbabwe ZimbabweHarare
AsiaFlag of Afghanistan AfghanistanKabul
AsiaFlag of Armenia Armenia[2]Yerevan
AsiaFlag of Azerbaijan Azerbaijan[2]Baku
AsiaFlag of Bahrain BahrainManama
AsiaFlag of Bangladesh BangladeshDhaka
AsiaFlag of Bhutan BhutanThimphu
AsiaFlag of British Indian Ocean Territory British Indian Ocean Territory[3] (overseas territory of the United Kingdom)
AsiaFlag of Brunei BruneiBandar Seri Begawan
AsiaFlag of Cambodia CambodiaPhnom Penh
AsiaFlag of the People's Republic of China China, People's Republic ofBeijing
AsiaFlag of the Republic of China China, Republic of (commonly known as Taiwan) – Taipei
AsiaFlag of Christmas Island Christmas Island[4] (overseas territory of Australia)
AsiaFlag of the Cocos (Keeling) Islands Cocos (Keeling) Islands[4] (overseas territory of Australia)
AsiaFlag of Cyprus Cyprus[2]Nicosia
AsiaFlag of Georgia (country) Georgia[2]Tbilisi
AsiaFlag of Hong Kong Hong Kong (special administrative region of the People's Republic of China)
AsiaFlag of India IndiaNew Delhi
AsiaFlag of Indonesia IndonesiaJakarta
AsiaFlag of Iran IranTehran
AsiaFlag of Iraq IraqBaghdad
AsiaFlag of Israel IsraelJerusalem
AsiaFlag of Japan JapanTokyo
AsiaFlag of Jordan JordanAmman
AsiaFlag of Kazakhstan KazakhstanAstana
AsiaFlag of North Korea Korea, Democratic People's Republic of (commonly known as North Korea) – Pyongyang
AsiaFlag of South Korea Korea, Republic of (commonly known as South Korea) – Seoul
AsiaFlag of Kuwait KuwaitKuwait City
AsiaFlag of Kyrgyzstan KyrgyzstanBishkek
AsiaFlag of Laos LaosVientiane
AsiaFlag of Lebanon LebanonBeirut
AsiaFlag of Macau Macau (special administrative region of the People's Republic of China)
AsiaFlag of Malaysia MalaysiaKuala Lumpur (seat of government at Putrajaya)
AsiaFlag of the Maldives MaldivesMalé
AsiaFlag of Mongolia MongoliaUlaanbaatar
AsiaFlag of Myanmar Myanmar (formerly known as Burma) – Naypyidaw
AsiaFlag of Nepal NepalKathmandu
AsiaFlag of Oman OmanMuscat
AsiaFlag of Pakistan PakistanIslamabad
AsiaPalestinian flag Palestinian territories (collectively the territories of the West Bank and the Gaza Strip)
AsiaFlag of the Philippines PhilippinesManila
AsiaFlag of Qatar QatarDoha
AsiaFlag of Saudi Arabia Saudi ArabiaRiyadh
AsiaFlag of Singapore Singapore – Singapore[5]
AsiaFlag of Sri Lanka Sri LankaSri Jayawardenepura
AsiaFlag of Syria SyriaDamascus
AsiaFlag of Tajikistan TajikistanDushanbe
AsiaFlag of Thailand ThailandBangkok
AsiaFlag of East Timor Timor-Leste (commonly known as East Timor) – Dili
AsiaFlag of Turkey Turkey[2]Ankara
AsiaFlag of Turkmenistan TurkmenistanAshgabat
AsiaFlag of the United Arab Emirates United Arab EmiratesAbu Dhabi
AsiaFlag of Uzbekistan UzbekistanTashkent
AsiaFlag of Vietnam VietnamHanoi
AsiaFlag of Yemen YemenSana'a
EuropeFlag of Albania AlbaniaTirana
EuropeFlag of Andorra AndorraAndorra la Vella
EuropeFlag of Austria AustriaVienna
EuropeFlag of Belarus BelarusMinsk
EuropeFlag of Belgium BelgiumBrussels
EuropeFlag of Bosnia and Herzegovina Bosnia and HerzegovinaSarajevo
EuropeFlag of Bulgaria BulgariaSofia
EuropeFlag of Croatia CroatiaZagreb
EuropeFlag of the Czech Republic Czech RepublicPrague
EuropeFlag of Denmark DenmarkCopenhagen
EuropeFlag of Estonia EstoniaTallinn
EuropeFlag of the Faroe Islands Faroe Islands (overseas territory of Denmark) – Tórshavn
EuropeFlag of Finland FinlandHelsinki
EuropeFlag of France FranceParis
EuropeFlag of Germany GermanyBerlin
EuropeFlag of Gibraltar Gibraltar (overseas territory of the United Kingdom) – Gibraltar[5]
EuropeFlag of Greece GreeceAthens
EuropeFlag of Guernsey Guernsey (British crown dependency) – Saint Peter Port
EuropeFlag of Hungary HungaryBudapest
EuropeFlag of Iceland IcelandReykjavík
EuropeFlag of Ireland IrelandDublin
EuropeFlag of the Isle of Man Isle of Man (British crown dependency) – Douglas
EuropeFlag of Italy ItalyRome
EuropeFlag of Jersey Jersey (British crown dependency) – Saint Helier
EuropeFlag of Latvia LatviaRiga
EuropeFlag of Liechtenstein LiechtensteinVaduz
EuropeFlag of Lithuania LithuaniaVilnius
EuropeFlag of Luxembourg LuxembourgLuxembourg
EuropeFlag of the Republic of Macedonia MacedoniaSkopje
EuropeFlag of Malta MaltaValletta
EuropeFlag of Moldova MoldovaChişinău
EuropeFlag of Monaco Monaco – Monaco[5]
EuropeFlag of Montenegro MontenegroPodgorica
EuropeFlag of the Netherlands NetherlandsAmsterdam (seat of government at The Hague)
EuropeFlag of Norway NorwayOslo
EuropeFlag of Poland PolandWarsaw
EuropeFlag of Portugal PortugalLisbon
EuropeFlag of Romania RomaniaBucharest
EuropeFlag of Russia Russia[6]Moscow
EuropeFlag of San Marino San MarinoSan Marino
EuropeFlag of Serbia SerbiaBelgrade
EuropeFlag of Slovakia SlovakiaBratislava
EuropeFlag of Slovenia SloveniaLjubljana
EuropeFlag of Spain SpainMadrid
EuropeFlag of Sweden SwedenStockholm
EuropeFlag of Switzerland SwitzerlandBerne
EuropeFlag of Ukraine UkraineKiev
EuropeFlag of the United Kingdom United KingdomLondon
EuropeFlag of the Vatican City Vatican City – Vatican City[5]
North AmericaFlag of Anguilla Anguilla (overseas territory of the United Kingdom) – The Valley
North AmericaFlag of Antigua and Barbuda Antigua and BarbudaSaint John's
North AmericaFlag of Aruba Aruba (overseas country in the Kingdom of the Netherlands) – Oranjestad
North AmericaFlag of the Bahamas BahamasNassau
North AmericaFlag of Barbados BarbadosBridgetown
North AmericaFlag of Belize BelizeBelmopan
North AmericaFlag of Bermuda Bermuda (overseas territory of the United Kingdom) – Hamilton
North AmericaFlag of the British Virgin Islands British Virgin Islands (overseas territory of the United Kingdom) – Road Town
North AmericaFlag of Canada CanadaOttawa
North AmericaFlag of Cayman Islands Cayman Islands (overseas territory of the United Kingdom) – George Town
North AmericaFlag of France Clipperton Island (overseas territory of France)
North AmericaFlag of Costa Rica Costa RicaSan José
North AmericaFlag of Cuba CubaHavana
North AmericaFlag of Dominica DominicaRoseau
North AmericaFlag of the Dominican Republic Dominican RepublicSanto Domingo
North AmericaFlag of El Salvador El SalvadorSan Salvador
North AmericaFlag of Greenland Greenland (overseas territory of Denmark) – Nuuk
North AmericaFlag of Grenada GrenadaSaint George's
North AmericaFlag of Guadeloupe Guadeloupe (overseas department of France) – Basse-Terre
North AmericaFlag of Guatemala GuatemalaGuatemala City
North AmericaFlag of Haiti HaitiPort-au-Prince
North AmericaFlag of Honduras HondurasTegucigalpa
North AmericaFlag of Jamaica JamaicaKingston
North AmericaFlag of Martinique Martinique (overseas department of France) – Fort-de-France
North AmericaFlag of Mexico MexicoMexico City
North AmericaFlag of Montserrat Montserrat (overseas territory of the United Kingdom) – Plymouth (seat of government at Brades)
North AmericaFlag of Navassa Island Navassa Island (overseas territory of the United States)
North AmericaFlag of the Netherlands Antilles Netherlands Antilles (overseas country in the Kingdom of the Netherlands) – Willemstad
North AmericaFlag of Nicaragua NicaraguaManagua
North AmericaFlag of Panama PanamaPanama City
North AmericaFlag of Puerto Rico Puerto Rico (overseas territory of the United States) – San Juan
North AmericaFlag of Saint Barthelemy Saint Barthelemy (overseas territory of France) – Gustavia
North AmericaFlag of Saint Kitts and Nevis Saint Kitts and NevisBasseterre
North AmericaFlag of Saint Lucia Saint LuciaCastries
North AmericaFlag of Saint Martin (France) Saint Martin (overseas territory of France) – Marigot
North AmericaFlag of Saint Pierre and Miquelon Saint Pierre and Miquelon (overseas territory of France) – Saint-Pierre
North AmericaFlag of Saint Vincent and the Grenadines Saint Vincent and the GrenadinesKingstown
North AmericaFlag of Trinidad and Tobago Trinidad and TobagoPort of Spain
North AmericaFlag of the Turks and Caicos Islands Turks and Caicos Islands (overseas territory of the United Kingdom) – Cockburn Town
North AmericaFlag of the United States United StatesWashington, D.C.
North AmericaFlag of the United States Virgin Islands United States Virgin Islands (overseas territory of the United States) – Charlotte Amalie
South AmericaFlag of Argentina ArgentinaBuenos Aires
South AmericaFlag of Bolivia BoliviaSucre (seat of government at La Paz)
South AmericaFlag of Brazil BrazilBrasília
South AmericaFlag of Chile ChileSantiago
South AmericaFlag of Colombia ColombiaBogotá
South AmericaFlag of Ecuador EcuadorQuito
South AmericaFlag of the Falkland Islands Falkland Islands (overseas territory of the United Kingdom) – Stanley
South AmericaFlag of French Guiana French Guiana (overseas department of France) – Cayenne
South AmericaFlag of Guyana GuyanaGeorgetown
South AmericaFlag of Paraguay ParaguayAsunción
South AmericaFlag of Peru PeruLima
South AmericaFlag of Suriname SurinameParamaribo
South AmericaFlag of Uruguay UruguayMontevideo
South AmericaFlag of Venezuela VenezuelaCaracas
OceaniaFlag of American Samoa American Samoa (overseas territory of the United States) – Pago Pago (seat of government at Fagatogo)
OceaniaFlag of Australia AustraliaCanberra
OceaniaFlag of the United States Baker Island (overseas territory of the United States)
OceaniaFlag of the Cook Islands Cook Islands (territory in free association with New Zealand) – Avarua
OceaniaFlag of Fiji FijiSuva
OceaniaFlag of French Polynesia French Polynesia (overseas territory of France) – Papeete
OceaniaFlag of Guam Guam (overseas territory of the United States) – Hagåtña
OceaniaFlag of the United States Howland Island (overseas territory of the United States)
OceaniaFlag of the United States Jarvis Island (overseas territory of the United States)
OceaniaFlag of the United States Johnston Atoll (overseas territory of the United States)
OceaniaFlag of the United States Kingman Reef (overseas territory of the United States)
OceaniaFlag of Kiribati KiribatiSouth Tarawa
OceaniaFlag of the Marshall Islands Marshall IslandsMajuro
OceaniaFlag of the Federated States of Micronesia MicronesiaPalikir
OceaniaFlag of the United States Midway Atoll (overseas territory of the United States)
OceaniaFlag of Nauru Nauru – no official capital (seat of government at Yaren)
OceaniaFlag of New Caledonia New Caledonia (overseas territory of France) – Nouméa
OceaniaFlag of New Zealand New ZealandWellington
OceaniaFlag of Niue Niue (territory in free association with New Zealand) – Alofi
OceaniaFlag of Norfolk Island Norfolk Island (overseas territory of Australia) – Kingston
OceaniaFlag of the Northern Mariana Islands Northern Mariana Islands (overseas territory of the United States) – Saipan
OceaniaFlag of Palau PalauMelekeok
OceaniaFlag of the United States Palmyra Atoll (overseas territory of the United States)
OceaniaFlag of Papua New Guinea Papua New GuineaPort Moresby
OceaniaFlag of the Pitcairn Islands Pitcairn Islands (overseas territory of the United Kingdom) – Adamstown
OceaniaFlag of Samoa SamoaApia
OceaniaFlag of the Solomon Islands Solomon IslandsHoniara
OceaniaFlag of Tokelau Tokelau (overseas territory of New Zealand) – no official capital (each atoll has its own administrative centre)
OceaniaFlag of Tonga TongaNuku'alofa
OceaniaFlag of Tuvalu TuvaluFunafuti
OceaniaFlag of Vanuatu VanuatuPort Vila
OceaniaFlag of the United States Wake Island (overseas territory of the United States)
OceaniaFlag of Wallis and Futuna Wallis and Futuna (overseas territory of France) – Mata-Utu
AntarcticaFlag of Bouvet Island Bouvet Island (overseas territory of Norway)
AntarcticaFlag of the French Southern and Antarctic Lands French Southern Territories (overseas territory of France)
AntarcticaFlag of Heard Island and McDonald Islands Heard Island and McDonald Islands (overseas territory of Australia)
AntarcticaFlag of South Georgia and the South Sandwich Islands South Georgia and the South Sandwich Islands[7] (overseas territory of the United Kingdom)
- - - diff --git a/includes/js/dijit/demos/mail.html b/includes/js/dijit/demos/mail.html deleted file mode 100644 index 0eae49f..0000000 --- a/includes/js/dijit/demos/mail.html +++ /dev/null @@ -1,426 +0,0 @@ - - - - Demo Mail Application - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- - -
-
-
- - - - - - - - - -
- -
- -
-
-
- - - -
- -
- - -
-
-
- - -
- - -
-
- - Get Mail -
    -
  • Yahoo
  • -
  • GMail
  • -
-
- Click to download new mail. - - - Click to compose new message. - - -
Set various options
-
- -
- -
-
-
-
- - -
-
-
- - - - -
-
- - -
- - - -
- - -
-

- This is a simple application mockup showing some of the dojo widgets: -

-
    -
  • layout widgets: BorderContainer, AccordionContainer
  • -
  • TooltipDialog, Tooltip
  • -
  • Tree
  • -
  • form widgets: Button, DropDownButton, ComboButton, FilteringSelect, ComboBox
  • -
  • Editor
  • -
-

- The message list above originally contains all the messages, but you can filter it - by clicking on items in the left Accordion. - Then click on the messages in the above list to display them. - There's no server running, so the app is just a facade and it doesn't really do anything. - -

-

- -- Bill -

-
- -
-
- - -
- -
- - - - - - - - -
-
-
- - -
-
-
-
-
-
-
- - diff --git a/includes/js/dijit/demos/mail/icons.gif b/includes/js/dijit/demos/mail/icons.gif deleted file mode 100644 index d0b1760..0000000 Binary files a/includes/js/dijit/demos/mail/icons.gif and /dev/null differ diff --git a/includes/js/dijit/demos/mail/icons.png b/includes/js/dijit/demos/mail/icons.png deleted file mode 100644 index f333fbe..0000000 Binary files a/includes/js/dijit/demos/mail/icons.png and /dev/null differ diff --git a/includes/js/dijit/demos/mail/mail.css b/includes/js/dijit/demos/mail/mail.css deleted file mode 100644 index 13474c4..0000000 --- a/includes/js/dijit/demos/mail/mail.css +++ /dev/null @@ -1,133 +0,0 @@ -html, body, #main{ - width: 100%; - height: 100%; - overflow: hidden; - padding: 0 0 0 0; - margin: 0 0 0 0; - font: 10pt Arial,Myriad,Tahoma,Verdana,sans-serif; -} -#banner, #footer { -background-color: #ededff; -color: #333; -padding:3px; -} -#banner { text-align:right; } -#listPane tr:hover, #listPane td:hover, .dijitTreeContent:hover { - background-color: #ededed; - color: #333; - cursor: pointer; -} -#listPane tr, #listPane td { cursor: pointer; } -table.demoTable { - border-collapse: collapse; -} -th { - background-color: #4f8ce5; - color: #666; - font-weight:: bold !important; - margin:0; - padding:3px; - background-image:url('../../themes/soria/images/titleBar.png'); - background-position:0px -1px; -} -.dijitRtl caption, -.dijitRtl th { - text-align:right; -} -th .arrowNode { - position:relative; - float:left; - top:4px; - left:4px; - width:16px; - height:16px; -} -.dijitRtl th .arrowNode{ - float:right; -} -th.arrowUp .arrowNode { - margin-right: 5px; - margin-top: -4px; - margin-bottom: 5px; - width: 15px; - height:15px; - background:transparent url("../../themes/soria/images/spriteRoundedIconsSmall.png") -45px top no-repeat; -} -th.arrowDown .arrowNode { - margin-right: 5px; - margin-top: -4px; - margin-bottom: 5px; - width: 15px; - height:15px; - background:transparent url("../../themes/soria/images/spriteRoundedIconsSmall.png") -15px top no-repeat; -} -.demoTable td { padding:3px; } -.demoTable { - border-spacing:0; - padding:0; margin:0; - width:98%; - -} -.oddRow { - background-color: #f2f5f9; -} -#message { - padding: 8px; -} -.subject { - background: gray; - width: 100%; - padding-top: 5px; - padding-bottom: 10px; -} -.message { - border: black 2px; -} -.messageHeader { - font:12pt Arial,sans-serif; - font-weight:bold; - color:#333; -} -body .dojoSplitPane { - background: #ededff; - overflow: auto; -} -.mailIconCancel, -.mailIconOptions, -.mailIconFolderDocuments, -.mailIconFolderInbox, -.mailIconFolderSent, -.mailIconGetMail, -.mailIconNewMessage, -.mailIconMailbox, -.mailIconOk, -.mailIconTrashcanFull { - background-image: url('icons.png'); - background-repeat: no-repeat; - width: 16px; - height: 16px; - text-align: center; - padding-right:4px; -} -.dj_ie6 .mailIconCancel, -.dj_ie6 .mailIconOptions, -.dj_ie6 .mailIconFolderDocuments, -.dj_ie6 .mailIconFolderInbox, -.dj_ie6 .mailIconFolderSent, -.dj_ie6 .mailIconGetMail, -.dj_ie6 .mailIconNewMessage, -.dj_ie6 .mailIconMailbox, -.dj_ie6 .mailIconOk, -.dj_ie6 .mailIconTrashcanFull { - background-image: url('icons.gif'); -} -.mailIconCancel { background-position: 0px; } -.mailIconOptions { background-position: -22px; } -.mailIconFolderDocuments { background-position: -44px; } -.mailIconFolderInbox { background-position: -66px; } -.mailIconFolderSent { background-position: -88px; } -.mailIconGetMail { background-position: -110px; } -.mailIconNewMessage { background-position: -132px; } -.mailIconMailbox { background-position: -154px; } -.mailIconOk { background-position: -176px; } -.mailIconTrashcanFull { background-position: -198px; } diff --git a/includes/js/dijit/demos/mail/mail.css.commented.css b/includes/js/dijit/demos/mail/mail.css.commented.css deleted file mode 100644 index 02e2635..0000000 --- a/includes/js/dijit/demos/mail/mail.css.commented.css +++ /dev/null @@ -1,157 +0,0 @@ -html, body, #main{ - width: 100%; /* make the body expand to fill the visible window */ - height: 100%; - overflow: hidden; /* erase window level scrollbars */ - padding: 0 0 0 0; - margin: 0 0 0 0; - font: 10pt Arial,Myriad,Tahoma,Verdana,sans-serif; -} - -#banner, #footer { -background-color: #ededff; -color: #333; -padding:3px; -} -#banner { text-align:right; } - -/* list of messages -TODO: If i add the rules below as a plain tr/td it seems to mess up accordion, tree, etc. ??? -*/ -#listPane tr:hover, #listPane td:hover, .dijitTreeContent:hover { - background-color: #ededed; - color: #333; - cursor: pointer; -} -#listPane tr, #listPane td { cursor: pointer; } - -table.demoTable { - border-collapse: collapse; -} - -th { - background-color: #4f8ce5; - color: #666; - font-weight:: bold !important; - margin:0; - padding:3px; - background-image:url('../../themes/soria/images/titleBar.png'); - background-position:0px -1px; -} - -.dijitRtl caption, -.dijitRtl th { - text-align:right; -} - -th .arrowNode { - position:relative; - float:left; - top:4px; - left:4px; - width:16px; - height:16px; -} - -.dijitRtl th .arrowNode{ - float:right; -} - -th.arrowUp .arrowNode { - margin-right: 5px; - margin-top: -4px; - margin-bottom: 5px; - width: 15px; - height:15px; - background:transparent url("../../themes/soria/images/spriteRoundedIconsSmall.png") -45px top no-repeat; -} - -th.arrowDown .arrowNode { - margin-right: 5px; - margin-top: -4px; - margin-bottom: 5px; - width: 15px; - height:15px; - background:transparent url("../../themes/soria/images/spriteRoundedIconsSmall.png") -15px top no-repeat; -} - -.demoTable td { padding:3px; } -.demoTable { - border-spacing:0; - padding:0; margin:0; - width:98%; - -} -.oddRow { - background-color: #f2f5f9; -} - -#message { - padding: 8px; -} - -/* Stuff for new messages */ - -.subject { - background: gray; - width: 100%; - padding-top: 5px; - padding-bottom: 10px; -} - -.message { - border: black 2px; -} -.messageHeader { - font:12pt Arial,sans-serif; - font-weight:bold; - color:#333; -} -body .dojoSplitPane { - background: #ededff; - overflow: auto; -} - -/* Icons */ - -.mailIconCancel, -.mailIconOptions, -.mailIconFolderDocuments, -.mailIconFolderInbox, -.mailIconFolderSent, -.mailIconGetMail, -.mailIconNewMessage, -.mailIconMailbox, -.mailIconOk, -.mailIconTrashcanFull { - background-image: url('icons.png'); /* mail icons sprite image */ - background-repeat: no-repeat; - width: 16px; - height: 16px; - text-align: center; - padding-right:4px; -} - -.dj_ie6 .mailIconCancel, -.dj_ie6 .mailIconOptions, -.dj_ie6 .mailIconFolderDocuments, -.dj_ie6 .mailIconFolderInbox, -.dj_ie6 .mailIconFolderSent, -.dj_ie6 .mailIconGetMail, -.dj_ie6 .mailIconNewMessage, -.dj_ie6 .mailIconMailbox, -.dj_ie6 .mailIconOk, -.dj_ie6 .mailIconTrashcanFull { - background-image: url('icons.gif'); -} - - -.mailIconCancel { background-position: 0px; } -.mailIconOptions { background-position: -22px; } -.mailIconFolderDocuments { background-position: -44px; } -.mailIconFolderInbox { background-position: -66px; } -.mailIconFolderSent { background-position: -88px; } -.mailIconGetMail { background-position: -110px; } -.mailIconNewMessage { background-position: -132px; } -.mailIconMailbox { background-position: -154px; } -.mailIconOk { background-position: -176px; } -.mailIconTrashcanFull { background-position: -198px; } diff --git a/includes/js/dijit/demos/mail/mail.json b/includes/js/dijit/demos/mail/mail.json deleted file mode 100644 index 67f1a04..0000000 --- a/includes/js/dijit/demos/mail/mail.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - identifier: 'id', - label: 'label', - items: [ - - // Hierarchy of folders - { type: 'folder', id: 'inbox', label:'Inbox', icon:'mailIconFolderInbox' }, - { type: 'folder', id: 'deleted', label:'Trash', icon:'mailIconTrashcanFull' }, - { type: 'folder', id: 'save', label:'Save', folders:[ - { id: 'work', label:'stuff for work'}, - { id: 'fun', label:'stuff for fun'} - ]}, - - // Address book (list of people that have sent me messages) - { type: 'address', id: 'adam', label: "Adam Arlen" }, - { type: 'address', id: 'bob', label: "Bob Baxter" }, - { type: 'address', id: 'carrie', label: "Carrie Crow" }, - - // Flat list of messages (each message lists it's folder) - - { type: 'message', id: 'node1.1', folder: 'inbox', label: "today's meeting", sender: "Adam Arlen", sent: "2005-12-19", - text: "Today's meeting is cancelled.
Let's do it tomorrow instead.

Adam" }, - { type: 'message', id: 'node1.2', folder: 'inbox', label: "remaining work", sender: "Bob Baxter", sent: "2005-12-18", - text: - "

Hey, we need to talk about who's gonna do all the left over work. Pick a day you want to meet:

" - }, - { type: 'message', id: 'node1.3', folder: 'inbox', label: "Hey, look!", sender: "Carrey Crown", sent: "2005-12-17", text: - "This is our new simple mail app. What do you think?

You can navigate around this demo with arrows and tabs ...

Regards,
Carrey" - }, - { type: 'message', id: 'node1.4', folder: 'inbox', label: "paint", sender: "David Davis", sent: "2005-12-16", text: - "

what color is good for the new office?

Let me know soon

" - }, - { type: 'message', id: 'node2.1', folder: 'deleted', label: "today's meeting", sender: "Madam Marlen", sent: "2005-12-19", - text: "Today's meeting is cancelled.
Let's do it tomorrow instead.

Madam" }, - { type: 'message', id: 'node2.2', folder: 'deleted', label: "congratulations", sender: "Rob Raxter", sent: "2005-12-18", text: " Good job on that project! " }, - { type: 'message', id: 'node2.3', folder: 'deleted', label: "schedule", sender: "Carrie Crow", sent: "2005-12-17", text: " Are we still on schedule?
The deadline is next Friday. " }, - { type: 'message', id: 'node2.4', folder: 'deleted', label: "paint", sender: "Daniel Dooey", sent: "2005-12-16", text: - "

what color is good for the new office?

Let me know soon

" - }, - { type: 'message', id: 'node3.1', folder: 'work', label: "today's meeting", sender: "Bob Baxter", sent: "2005-12-19", - text: "Today's meeting is cancelled.
Unnecessary.

Bob" }, - { type: 'message', id: 'node3.2', folder: 'work', label: "remaining work", sender: "Bob Baxter", sent: "2005-12-18", text: " Are we still on schedule?
The deadline is next Friday. " }, - { type: 'message', id: 'node3.3', folder: 'work', label: "lunch", sender: "Bob Baxter", sent: "2005-12-17", text: - "Where do you want to go for lunch?

  • Fresh Choice
  • Starbucks
  • Dominos


Let me know..." - }, - { type: 'message', id: 'node3.4', folder: 'work', label: "paint", sender: "Bob Baxter", sent: "2005-12-16", text: - "

what color is good for the new office?

Let me know soon

" - }, - { type: 'message', id: 'node4.1', folder: 'fun', label: "today's meeting", sender: "Jack Jackson", sent: "2005-12-19", - text: "Today's meeting is cancelled.
Let's do it friday instead.

Joe" }, - { type: 'message', id: 'node4.2', folder: 'fun', label: "remaining work", sender: "Jack Jackson", sent: "2005-12-18", - text: - "

Hey, we need to talk about who's gonna do all the left over work. Pick a day you want to meet:

" - }, - { type: 'message', id: 'node4.3', folder: 'fun', label: "lunch", sender: "Jack Jackson", sent: "2005-12-17", text: - "Where do you want to go for lunch?

  • Indian
  • Mexican
  • Chinese
  • Japanese
  • Pizza


Let me know..." - }, - { type: 'message', id: 'node4.4', folder: 'fun', label: "paint", sender: "Jack Jackson", sent: "2005-12-16", text: - "

what color is good for the new office?

Let me know soon

" - }, - - { type: 'message', id: 'node5.1', folder: 'deleted', label: "today's meeting", sender: "Jill Jones", sent: "2005-12-19", - text: "Today's meeting is cancelled.
Let's do it thursday instead.

Jill" }, - { type: 'message', id: 'node5.2', folder: 'deleted', label: "remaining work", sender: "Jill Jones", sent: "2005-12-18", - text: - "

Hey, we need to talk about who's gonna do all the left over work. Pick a day you want to meet:

" - }, - { type: 'message', id: 'node5.3', folder: 'deleted', label: "lunch", sender: "Jill Jones", sent: "2005-12-17", text: - "Where do you want to go for lunch?

  • McDonalds
  • Burger King
  • KFC


Let me know..." - }, - { type: 'message', id: 'node5.4', folder: 'deleted', label: "paint", sender: "Jill Jones", sent: "2005-12-16", text: - "

what color is good for the new office?

Let me know soon

" - } - ] -} diff --git a/includes/js/dijit/demos/mail/newMail.html b/includes/js/dijit/demos/mail/newMail.html deleted file mode 100644 index f269ad3..0000000 --- a/includes/js/dijit/demos/mail/newMail.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/includes/js/dijit/demos/nihao.html b/includes/js/dijit/demos/nihao.html deleted file mode 100644 index 113a750..0000000 --- a/includes/js/dijit/demos/nihao.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - Dojo Globalization Hello World - - - - - - - - - - - -

Dojo Globalization Hello World

-

- - -

-
-

-

- - -

-

- - \ No newline at end of file diff --git a/includes/js/dijit/demos/nihao/nls/en/helloworld.js b/includes/js/dijit/demos/nihao/nls/en/helloworld.js deleted file mode 100644 index 9c726e3..0000000 --- a/includes/js/dijit/demos/nihao/nls/en/helloworld.js +++ /dev/null @@ -1 +0,0 @@ -({"localeSelect":"Locale:","contentStr":"Hello Dojo Globalization! Today is ${0}.","dateSelect":"Select a date:","dateStr":"${0} seconds to go from now."}) \ No newline at end of file diff --git a/includes/js/dijit/demos/nihao/nls/fr/helloworld.js b/includes/js/dijit/demos/nihao/nls/fr/helloworld.js deleted file mode 100644 index aaa5560..0000000 --- a/includes/js/dijit/demos/nihao/nls/fr/helloworld.js +++ /dev/null @@ -1 +0,0 @@ -({"localeSelect":"Lieu :","contentStr":"Bonjour globalisation de Dojo! Aujourd'hui est ${0}.","dateSelect":"Choisir une date :","dateStr":"${0} secondes à aller dès maintenant."}) \ No newline at end of file diff --git a/includes/js/dijit/demos/nihao/nls/helloworld.js b/includes/js/dijit/demos/nihao/nls/helloworld.js deleted file mode 100644 index 9c726e3..0000000 --- a/includes/js/dijit/demos/nihao/nls/helloworld.js +++ /dev/null @@ -1 +0,0 @@ -({"localeSelect":"Locale:","contentStr":"Hello Dojo Globalization! Today is ${0}.","dateSelect":"Select a date:","dateStr":"${0} seconds to go from now."}) \ No newline at end of file diff --git a/includes/js/dijit/demos/nihao/nls/zh/helloworld.js b/includes/js/dijit/demos/nihao/nls/zh/helloworld.js deleted file mode 100644 index 881d0d3..0000000 --- a/includes/js/dijit/demos/nihao/nls/zh/helloworld.js +++ /dev/null @@ -1 +0,0 @@ -({"localeSelect":"区域:","contentStr":"你好Dojo全球化! 今天是${0}。","dateSelect":"选择一个日期:","dateStr":"距离现在还有${0}秒。"}) \ No newline at end of file diff --git a/includes/js/dijit/dijit-all.js b/includes/js/dijit/dijit-all.js deleted file mode 100644 index c75497c..0000000 --- a/includes/js/dijit/dijit-all.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - Copyright (c) 2004-2008, The Dojo Foundation - All Rights Reserved. - - Licensed under the Academic Free License version 2.1 or above OR the - modified BSD license. For more information on Dojo licensing, see: - - http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing -*/ - -/* - This is a compiled version of Dojo, built for deployment and not for - development. To get an editable version, please visit: - - http://dojotoolkit.org - - for documentation and information on getting the source. -*/ - -if(!dojo._hasResource["dojo.colors"]){dojo._hasResource["dojo.colors"]=true;dojo.provide("dojo.colors");(function(){var _1=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=function(_6,_7){var m=_6.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1];if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){var a=dojo.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,_7);}return dojo.colorFromArray(c,_7);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2,a=[_1(m1,m2,H+1/3)*256,_1(m1,m2,H)*256,_1(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,_7);}}return null;};var _14=function(c,low,_17){c=Number(c);return isNaN(c)?_17:c_17?_17:c;};dojo.Color.prototype.sanitize=function(){var t=this;t.r=Math.round(_14(t.r,0,255));t.g=Math.round(_14(t.g,0,255));t.b=Math.round(_14(t.b,0,255));t.a=_14(t.a,0,1);return this;};})();dojo.colors.makeGrey=function(g,a){return dojo.colorFromArray([g,g,g,a]);};dojo.Color.named=dojo.mixin({aliceblue:[240,248,255],antiquewhite:[250,235,215],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],blanchedalmond:[255,235,205],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],oldlace:[253,245,230],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],thistle:[216,191,216],tomato:[255,99,71],transparent:[0,0,0,0],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],whitesmoke:[245,245,245],yellowgreen:[154,205,50]},dojo.Color.named);}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_1b,_1c,_1d){_1d=dojo.i18n.normalizeLocale(_1d);var _1e=_1d.split("-");var _1f=[_1b,"nls",_1c].join(".");var _20=dojo._loadedModules[_1f];if(_20){var _21;for(var i=_1e.length;i>0;i--){var loc=_1e.slice(0,i).join("_");if(_20[loc]){_21=_20[loc];break;}}if(!_21){_21=_20.ROOT;}if(_21){var _24=function(){};_24.prototype=_21;return new _24();}}throw new Error("Bundle not found: "+_1c+" in "+_1b+" , locale="+_1d);};dojo.i18n.normalizeLocale=function(_25){var _26=_25?_25.toLowerCase():dojo.locale;if(_26=="root"){_26="ROOT";}return _26;};dojo.i18n._requireLocalization=function(_27,_28,_29,_2a){var _2b=dojo.i18n.normalizeLocale(_29);var _2c=[_27,"nls",_28].join(".");var _2d="";if(_2a){var _2e=_2a.split(",");for(var i=0;i<_2e.length;i++){if(_2b.indexOf(_2e[i])==0){if(_2e[i].length>_2d.length){_2d=_2e[i];}}}if(!_2d){_2d="ROOT";}}var _30=_2a?_2d:_2b;var _31=dojo._loadedModules[_2c];var _32=null;if(_31){if(dojo.config.localizationComplete&&_31._built){return;}var _33=_30.replace(/-/g,"_");var _34=_2c+"."+_33;_32=dojo._loadedModules[_34];}if(!_32){_31=dojo["provide"](_2c);var _35=dojo._getModuleSymbols(_27);var _36=_35.concat("nls").join("/");var _37;dojo.i18n._searchLocalePath(_30,_2a,function(loc){var _39=loc.replace(/-/g,"_");var _3a=_2c+"."+_39;var _3b=false;if(!dojo._loadedModules[_3a]){dojo["provide"](_3a);var _3c=[_36];if(loc!="ROOT"){_3c.push(loc);}_3c.push(_28);var _3d=_3c.join("/")+".js";_3b=dojo._loadPath(_3d,null,function(_3e){var _3f=function(){};_3f.prototype=_37;_31[_39]=new _3f();for(var j in _3e){_31[_39][j]=_3e[j];}});}else{_3b=true;}if(_3b&&_31[_39]){_37=_31[_39];}else{_31[_39]=_37;}if(_2a){return true;}});}if(_2a&&_2b!=_2d){_31[_2b.replace(/-/g,"_")]=_31[_2d.replace(/-/g,"_")];}};(function(){var _41=dojo.config.extraLocale;if(_41){if(!_41 instanceof Array){_41=[_41];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_45,_46){req(m,b,_45,_46);if(_45){return;}for(var i=0;i<_41.length;i++){req(m,b,_41[i],_46);}};}})();dojo.i18n._searchLocalePath=function(_48,_49,_4a){_48=dojo.i18n.normalizeLocale(_48);var _4b=_48.split("-");var _4c=[];for(var i=_4b.length;i>0;i--){_4c.push(_4b.slice(0,i).join("-"));}_4c.push(false);if(_49){_4c.reverse();}for(var j=_4c.length-1;j>=0;j--){var loc=_4c[j]||"ROOT";var _50=_4a(loc);if(_50){break;}}};dojo.i18n._preloadLocalizations=function(_51,_52){function preload(_53){_53=dojo.i18n.normalizeLocale(_53);dojo.i18n._searchLocalePath(_53,true,function(loc){for(var i=0;i<_52.length;i++){if(_52[i]==loc){dojo["require"](_51+"_"+loc);return true;}}return false;});};preload();var _56=dojo.config.extraLocale||[];for(var i=0;i<_56.length;i++){preload(_56[i]);}};}if(!dojo._hasResource["dijit.ColorPalette"]){dojo._hasResource["dijit.ColorPalette"]=true;dojo.provide("dijit.ColorPalette");dojo.declare("dijit.ColorPalette",[dijit._Widget,dijit._Templated],{defaultTimeout:500,timeoutChangeRate:0.9,palette:"7x10",value:null,_currentFocus:0,_xDim:null,_yDim:null,_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},_imagePaths:{"7x10":dojo.moduleUrl("dijit","templates/colors7x10.png"),"3x4":dojo.moduleUrl("dijit","templates/colors3x4.png")},_paletteCoords:{"leftOffset":3,"topOffset":3,"cWidth":20,"cHeight":20},templateString:"
\n\t
\n\t\t\n\t
\t\n
\n",_paletteDims:{"7x10":{"width":"206px","height":"145px"},"3x4":{"width":"86px","height":"64px"}},tabIndex:"0",postCreate:function(){dojo.mixin(this.divNode.style,this._paletteDims[this.palette]);this.imageNode.setAttribute("src",this._imagePaths[this.palette]);var _58=this._palettes[this.palette];this.domNode.style.position="relative";this._cellNodes=[];this.colorNames=dojo.i18n.getLocalization("dojo","colors",this.lang);var url=dojo.moduleUrl("dojo","resources/blank.gif"),_5a=new dojo.Color(),_5b=this._paletteCoords;for(var row=0;row<_58.length;row++){for(var col=0;col<_58[row].length;col++){var _5e=dojo.doc.createElement("img");_5e.src=url;dojo.addClass(_5e,"dijitPaletteImg");var _5f=_58[row][col],_60=_5a.setColor(dojo.Color.named[_5f]);_5e.alt=this.colorNames[_5f];_5e.color=_60.toHex();var _61=_5e.style;_61.color=_61.backgroundColor=_5e.color;var _62=dojo.doc.createElement("span");_62.appendChild(_5e);dojo.forEach(["Dijitclick","MouseEnter","Focus","Blur"],function(_63){this.connect(_62,"on"+_63.toLowerCase(),"_onCell"+_63);},this);this.divNode.appendChild(_62);var _64=_62.style;_64.top=_5b.topOffset+(row*_5b.cHeight)+"px";_64.left=_5b.leftOffset+(col*_5b.cWidth)+"px";dojo.attr(_62,"tabindex","-1");_62.title=this.colorNames[_5f];dojo.addClass(_62,"dijitPaletteCell");dijit.setWaiRole(_62,"gridcell");_62.index=this._cellNodes.length;this._cellNodes.push(_62);}}this._xDim=_58[0].length;this._yDim=_58.length;this.connect(this.divNode,"onfocus","_onDivNodeFocus");var _65={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:1,LEFT_ARROW:-1};for(var key in _65){this._connects.push(dijit.typematic.addKeyListener(this.domNode,{keyCode:dojo.keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _67=_65[key];return function(_68){this._navigateByKey(_67,_68);};}(),this.timeoutChangeRate,this.defaultTimeout));}},focus:function(){this._focusFirst();},onChange:function(_69){},_focusFirst:function(){this._currentFocus=0;var _6a=this._cellNodes[this._currentFocus];window.setTimeout(function(){dijit.focus(_6a);},0);},_onDivNodeFocus:function(evt){if(evt.target===this.divNode){this._focusFirst();}},_onFocus:function(){dojo.attr(this.divNode,"tabindex","-1");},_onBlur:function(){this._removeCellHighlight(this._currentFocus);dojo.attr(this.divNode,"tabindex",this.tabIndex);},_onCellDijitclick:function(evt){var _6d=evt.currentTarget;if(this._currentFocus!=_6d.index){this._currentFocus=_6d.index;window.setTimeout(function(){dijit.focus(_6d);},0);}this._selectColor(_6d);dojo.stopEvent(evt);},_onCellMouseEnter:function(evt){var _6f=evt.currentTarget;window.setTimeout(function(){dijit.focus(_6f);},0);},_onCellFocus:function(evt){this._removeCellHighlight(this._currentFocus);this._currentFocus=evt.currentTarget.index;dojo.addClass(evt.currentTarget,"dijitPaletteCellHighlight");},_onCellBlur:function(evt){this._removeCellHighlight(this._currentFocus);},_removeCellHighlight:function(_72){dojo.removeClass(this._cellNodes[_72],"dijitPaletteCellHighlight");},_selectColor:function(_73){var img=_73.getElementsByTagName("img")[0];this.onChange(this.value=img.color);},_navigateByKey:function(_75,_76){if(_76==-1){return;}var _77=this._currentFocus+_75;if(_77-1){var _78=this._cellNodes[_77];_78.focus();}}});}if(!dojo._hasResource["dijit.Declaration"]){dojo._hasResource["dijit.Declaration"]=true;dojo.provide("dijit.Declaration");dojo.declare("dijit.Declaration",dijit._Widget,{_noScript:true,widgetClass:"",replaceVars:true,defaults:null,mixins:[],buildRendering:function(){var src=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef);var _7a=dojo.query("> script[type='dojo/method'][event='preamble']",src).orphan();var _7b=dojo.query("> script[type^='dojo/']",src).orphan();var _7c=src.nodeName;var _7d=this.defaults||{};this.mixins=this.mixins.length?dojo.map(this.mixins,function(_7e){return dojo.getObject(_7e);}):[dijit._Widget,dijit._Templated];if(_7a.length){_7d.preamble=dojo.parser._functionFromScript(_7a[0]);}var _7f=dojo.map(_7b,function(s){var evt=s.getAttribute("event")||"postscript";return {event:evt,func:dojo.parser._functionFromScript(s)};});this.mixins.push(function(){dojo.forEach(_7f,function(s){dojo.connect(this,s.event,this,s.func);},this);});_7d.widgetsInTemplate=true;_7d._skipNodeCache=true;_7d.templateString="<"+_7c+" class='"+src.className+"' dojoAttachPoint='"+(src.getAttribute("dojoAttachPoint")||"")+"' dojoAttachEvent='"+(src.getAttribute("dojoAttachEvent")||"")+"' >"+src.innerHTML.replace(/\%7B/g,"{").replace(/\%7D/g,"}")+"";dojo.query("[dojoType]",src).forEach(function(_83){_83.removeAttribute("dojoType");});dojo.declare(this.widgetClass,this.mixins,_7d);}});}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd._copyKey=navigator.appVersion.indexOf("Macintosh")<0?"ctrlKey":"metaKey";dojo.dnd.getCopyKeyState=function(e){return e[dojo.dnd._copyKey];};dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};}if(!dojo._hasResource["dojo.dnd.autoscroll"]){dojo._hasResource["dojo.dnd.autoscroll"]=true;dojo.provide("dojo.dnd.autoscroll");dojo.dnd.getViewport=function(){var d=dojo.doc,dd=d.documentElement,w=window,b=dojo.body();if(dojo.isMozilla){return {w:dd.clientWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&w.innerWidth){return {w:w.innerWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&dd&&dd.clientWidth){return {w:dd.clientWidth,h:dd.clientHeight};}else{if(b.clientWidth){return {w:b.clientWidth,h:b.clientHeight};}}}}return null;};dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.dnd.getViewport(),dx=0,dy=0;if(e.clientXv.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientYv.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n);if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){var b=dojo._getContentBox(n,s),t=dojo._abs(n,true);b.l+=t.x+n.scrollLeft;b.t+=t.y+n.scrollTop;var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-b.l,ry=e.pageY-b.t,dx=0,dy=0;if(rx>0&&rxb.w-w){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}}if(ry>0&&ryb.h-h){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}}var _9b=n.scrollLeft,_9c=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_9b!=n.scrollLeft||_9c!=n.scrollTop){return;}}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};}if(!dojo._hasResource["dojo.dnd.Mover"]){dojo._hasResource["dojo.dnd.Mover"]=true;dojo.provide("dojo.dnd.Mover");dojo.declare("dojo.dnd.Mover",null,{constructor:function(_9d,e,_9f){this.node=dojo.byId(_9d);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=this.host=_9f,d=_9d.ownerDocument,_a2=dojo.connect(d,"onmousemove",this,"onFirstMove");this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo,"stopEvent"),dojo.connect(d,"onselectstart",dojo,"stopEvent"),_a2];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY});},onMouseUp:function(e){if(this.mouseButton==e.button){this.destroy();}},onFirstMove:function(){var s=this.node.style,l,t;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left));t=Math.round(parseFloat(s.top));break;default:s.position="absolute";var m=dojo.marginBox(this.node);l=m.l;t=m.t;break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;this.host.onFirstMove(this);dojo.disconnect(this.events.pop());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=null;}});}if(!dojo._hasResource["dojo.dnd.Moveable"]){dojo._hasResource["dojo.dnd.Moveable"]=true;dojo.provide("dojo.dnd.Moveable");dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(_ab,_ac){this.node=dojo.byId(_ab);if(!_ac){_ac={};}this.handle=_ac.handle?dojo.byId(_ac.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_ac.delay>0?_ac.delay:0;this.skip=_ac.skip;this.mover=_ac.mover?_ac.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_ad,_ae){return new dojo.dnd.Moveable(_ae,_ad);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"));this.events.push(dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{new this.mover(this.node,e,this);}dojo.stopEvent(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);new this.mover(this.node,e,this);}dojo.stopEvent(e);},onMouseUp:function(e){dojo.disconnect(this.events.pop());dojo.disconnect(this.events.pop());},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onMoveStart:function(_b3){dojo.publish("/dnd/move/start",[_b3]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_b4){dojo.publish("/dnd/move/stop",[_b4]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_b5){},onMove:function(_b6,_b7){this.onMoving(_b6,_b7);var s=_b6.node.style;s.left=_b7.l+"px";s.top=_b7.t+"px";this.onMoved(_b6,_b7);},onMoving:function(_b9,_ba){},onMoved:function(_bb,_bc){}});}if(!dojo._hasResource["dojo.dnd.TimedMoveable"]){dojo._hasResource["dojo.dnd.TimedMoveable"]=true;dojo.provide("dojo.dnd.TimedMoveable");(function(){var _bd=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(_be,_bf){if(!_bf){_bf={};}if(_bf.timeout&&typeof _bf.timeout=="number"&&_bf.timeout>=0){this.timeout=_bf.timeout;}},markupFactory:function(_c0,_c1){return new dojo.dnd.TimedMoveable(_c1,_c0);},onMoveStop:function(_c2){if(_c2._timer){clearTimeout(_c2._timer);_bd.call(this,_c2,_c2._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_c3,_c4){_c3._leftTop=_c4;if(!_c3._timer){var _t=this;_c3._timer=setTimeout(function(){_c3._timer=null;_bd.call(_t,_c3,_c3._leftTop);},this.timeout);}}});})();}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");dojo.provide("dojo.fx.Toggler");(function(){var _c6={_fire:function(evt,_c8){if(this[evt]){this[evt].apply(this,_c8||[]);}return this;}};var _c9=function(_ca){this._index=-1;this._animations=_ca||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;dojo.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};dojo.extend(_c9,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){dojo.disconnect(this._onAnimateCtx);dojo.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_cc,_cd){if(!this._current){this._current=this._animations[this._index=0];}if(!_cd&&this._current.status()=="playing"){return this;}var _ce=dojo.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_cf=dojo.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_d1=dojo.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);dojo.disconnect(_ce);dojo.disconnect(_cf);dojo.disconnect(_d1);});if(this._onAnimateCtx){dojo.disconnect(this._onAnimateCtx);}this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){dojo.disconnect(this._onEndCtx);}this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=dojo.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);dojo.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_d5,_d6){this.pause();var _d7=this.duration*_d5;this._current=null;dojo.some(this._animations,function(a){if(a.duration<=_d7){this._current=a;return true;}_d7-=a.duration;return false;});if(this._current){this._current.gotoPercent(_d7/_current.duration,_d6);}return this;},stop:function(_d9){if(this._current){if(_d9){for(;this._index+1${loadingState}",errorMessage:"${errorState}",isLoaded:false,"class":"dijitContentPane",doLayout:"auto",postCreate:function(){this.domNode.title="";if(!this.containerNode){this.containerNode=this.domNode;}if(this.preload){this._loadCheck();}var _107=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_107);this.errorMessage=dojo.string.substitute(this.errorMessage,_107);var _108=dijit.getWaiRole(this.domNode);if(!_108){dijit.setWaiRole(this.domNode,"group");}dojo.addClass(this.domNode,this["class"]);},startup:function(){if(this._started){return;}if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild){this._singleChild.startup();}}this._loadCheck();this.inherited(arguments);},_checkIfSingleChild:function(){var _109=dojo.query(">",this.containerNode||this.domNode),_10a=_109.filter("[widgetId]");if(_109.length==1&&_10a.length==1){this.isContainer=true;this._singleChild=dijit.byNode(_10a[0]);}else{delete this.isContainer;delete this._singleChild;}},refresh:function(){return this._prepareLoad(true);},setHref:function(href){this.href=href;return this._prepareLoad();},setContent:function(data){if(!this._isDownloaded){this.href="";this._onUnloadHandler();}this._setContent(data||"");this._isDownloaded=false;if(this.parseOnLoad){this._createSubWidgets();}if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){this._singleChild.startup();this._singleChild.resize(this._contentBox||dojo.contentBox(this.containerNode||this.domNode));}}this._onLoadHandler();},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;},destroy:function(){if(this._beingDestroyed){return;}this._onUnloadHandler();this._beingDestroyed=true;this.inherited("destroy",arguments);},resize:function(size){dojo.marginBox(this.domNode,size);var node=this.containerNode||this.domNode,mb=dojo.mixin(dojo.marginBox(node),size||{});this._contentBox=dijit.layout.marginBox2contentBox(node,mb);if(this._singleChild&&this._singleChild.resize){this._singleChild.resize(this._contentBox);}},_prepareLoad:function(_110){this.cancel();this.isLoaded=false;this._loadCheck(_110);},_isShown:function(){if("open" in this){return this.open;}else{var node=this.domNode;return (node.style.display!="none")&&(node.style.visibility!="hidden");}},_loadCheck:function(_112){var _113=this._isShown();if(this.href&&(_112||(this.preload&&!this._xhrDfd)||(this.refreshOnShow&&_113&&!this._xhrDfd)||(!this.isLoaded&&_113&&!this._xhrDfd))){this._downloadExternalContent();}},_downloadExternalContent:function(){this._onUnloadHandler();this._setContent(this.onDownloadStart.call(this));var self=this;var _115={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_115,this.ioArgs);}var hand=this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_115);hand.addCallback(function(html){try{self.onDownloadEnd.call(self);self._isDownloaded=true;self.setContent.call(self,html);}catch(err){self._onError.call(self,"Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.cancelled){self._onError.call(self,"Download",err);}delete self._xhrDfd;return err;});},_onLoadHandler:function(){this.isLoaded=true;try{this.onLoad.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code");}},_onUnloadHandler:function(){this.isLoaded=false;this.cancel();try{this.onUnload.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code");}},_setContent:function(cont){this.destroyDescendants();try{var node=this.containerNode||this.domNode;while(node.firstChild){dojo._destroyElement(node.firstChild);}if(typeof cont=="string"){if(this.extractContent){match=cont.match(/]*>\s*([\s\S]+)\s*<\/body>/im);if(match){cont=match[1];}}node.innerHTML=cont;}else{if(cont.nodeType){node.appendChild(cont);}else{dojo.forEach(cont,function(n){node.appendChild(n.cloneNode(true));});}}}catch(e){var _11c=this.onContentError(e);try{node.innerHTML=_11c;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}}},_onError:function(type,err,_11f){var _120=this["on"+type+"Error"].call(this,err);if(_11f){console.error(_11f,err);}else{if(_120){this._setContent.call(this,_120);}}},_createSubWidgets:function(){var _121=this.containerNode||this.domNode;try{dojo.parser.parse(_121,true);}catch(e){this._onError("Content",e,"Couldn't create widgets in "+this.id+(this.href?" from "+this.href:""));}},onLoad:function(e){},onUnload:function(e){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_124){},onDownloadError:function(_125){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dijit.form.Form"]){dojo._hasResource["dijit.form.Form"]=true;dojo.provide("dijit.form.Form");dojo.declare("dijit.form._FormMixin",null,{reset:function(){dojo.forEach(this.getDescendants(),function(_126){if(_126.reset){_126.reset();}});},validate:function(){var _127=false;return dojo.every(dojo.map(this.getDescendants(),function(_128){_128._hasBeenBlurred=true;var _129=!_128.validate||_128.validate();if(!_129&&!_127){dijit.scrollIntoView(_128.containerNode||_128.domNode);_128.focus();_127=true;}return _129;}),"return item;");},setValues:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_12c){if(!_12c.name){return;}var _12d=map[_12c.name]||(map[_12c.name]=[]);_12d.push(_12c);});for(var name in map){var _12f=map[name],_130=dojo.getObject(name,false,obj);if(!dojo.isArray(_130)){_130=[_130];}if(typeof _12f[0].checked=="boolean"){dojo.forEach(_12f,function(w,i){w.setValue(dojo.indexOf(_130,w.value)!=-1);});}else{if(_12f[0]._multiValue){_12f[0].setValue(_130);}else{dojo.forEach(_12f,function(w,i){w.setValue(_130[i]);});}}}},getValues:function(){var obj={};dojo.forEach(this.getDescendants(),function(_136){var name=_136.name;if(!name){return;}var _138=(_136.getValue&&!_136._getValueDeprecated)?_136.getValue():_136.value;if(typeof _136.checked=="boolean"){if(/Radio/.test(_136.declaredClass)){if(_138!==false){dojo.setObject(name,_138,obj);}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_138!==false){ary.push(_138);}}}else{dojo.setObject(name,_138,obj);}});return obj;},isValid:function(){return dojo.every(this.getDescendants(),function(_13a){return !_13a.isValid||_13a.isValid();});}});dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"
",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{action:"",method:"",encType:"","accept-charset":"",accept:"",target:""}),execute:function(_13b){},onExecute:function(){},setAttribute:function(attr,_13d){this.inherited(arguments);switch(attr){case "encType":if(dojo.isIE){this.domNode.encoding=_13d;}}},postCreate:function(){if(dojo.isIE&&this.srcNodeRef&&this.srcNodeRef.attributes){var item=this.srcNodeRef.attributes.getNamedItem("encType");if(item&&!item.specified&&(typeof item.value=="string")){this.setAttribute("encType",item.value);}}this.inherited(arguments);},onReset:function(e){return true;},_onReset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e.currentTarget,target:e.target};if(!(this.onReset(faux)===false)&&faux.returnValue){this.reset();}dojo.stopEvent(e);return false;},_onSubmit:function(e){var fp=dijit.form.Form.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){dojo.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){dojo.stopEvent(e);}},onSubmit:function(e){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});}if(!dojo._hasResource["dijit.Dialog"]){dojo._hasResource["dijit.Dialog"]=true;dojo.provide("dijit.Dialog");dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"
",attributeMap:{},postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);},layout:function(){var _145=dijit.getViewport();var is=this.node.style,os=this.domNode.style;os.top=_145.t+"px";os.left=_145.l+"px";is.width=_145.w+"px";is.height=_145.h+"px";var _148=dijit.getViewport();if(_145.w!=_148.w){is.width=_148.w+"px";}if(_145.h!=_148.h){is.height=_148.h+"px";}},show:function(){this.domNode.style.display="block";this.layout();if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="block";}this._resizeHandler=this.connect(window,"onresize","layout");},hide:function(){this.domNode.style.display="none";if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="none";}this.disconnect(this._resizeHandler);},uninitialize:function(){if(this.bgIframe){this.bgIframe.destroy();}}});dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_149){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.getValues());},_getFocusItems:function(_14a){var _14b=dijit.getFirstInTabbingOrder(_14a);this._firstFocusItem=_14b?_14b:_14a;_14b=dijit.getLastInTabbingOrder(_14a);this._lastFocusItem=_14b?_14b:this._firstFocusItem;if(dojo.isMoz&&this._firstFocusItem.tagName.toLowerCase()=="input"&&dojo.attr(this._firstFocusItem,"type").toLowerCase()=="file"){dojo.attr(_14a,"tabindex","0");this._firstFocusItem=_14a;}}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{templateString:null,templateString:"
\n\t
\n\t${title}\n\t\n\t\tx\n\t\n\t
\n\t\t
\n
\n",open:false,duration:400,refocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{title:"titleBar"}),postCreate:function(){dojo.body().appendChild(this.domNode);this.inherited(arguments);var _14c=dojo.i18n.getLocalization("dijit","common");if(this.closeButtonNode){this.closeButtonNode.setAttribute("title",_14c.buttonCancel);}if(this.closeText){this.closeText.setAttribute("title",_14c.buttonCancel);}var s=this.domNode.style;s.visibility="hidden";s.position="absolute";s.display="";s.top="-9999px";this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();this.inherited(arguments);},_setup:function(){if(this.titleBar){this._moveable=new dojo.dnd.TimedMoveable(this.domNode,{handle:this.titleBar,timeout:0});}this._underlay=new dijit.DialogUnderlay({id:this.id+"_underlay","class":dojo.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")});var node=this.domNode;this._fadeIn=dojo.fx.combine([dojo.fadeIn({node:node,duration:this.duration}),dojo.fadeIn({node:this._underlay.domNode,duration:this.duration,onBegin:dojo.hitch(this._underlay,"show")})]);this._fadeOut=dojo.fx.combine([dojo.fadeOut({node:node,duration:this.duration,onEnd:function(){node.style.visibility="hidden";node.style.top="-9999px";}}),dojo.fadeOut({node:this._underlay.domNode,duration:this.duration,onEnd:dojo.hitch(this._underlay,"hide")})]);},uninitialize:function(){if(this._fadeIn&&this._fadeIn.status()=="playing"){this._fadeIn.stop();}if(this._fadeOut&&this._fadeOut.status()=="playing"){this._fadeOut.stop();}if(this._underlay){this._underlay.destroy();}},_position:function(){if(dojo.hasClass(dojo.body(),"dojoMove")){return;}var _150=dijit.getViewport();var mb=dojo.marginBox(this.domNode);var _152=this.domNode.style;_152.left=Math.floor((_150.l+(_150.w-mb.w)/2))+"px";_152.top=Math.floor((_150.t+(_150.h-mb.h)/2))+"px";},_onKey:function(evt){if(evt.keyCode){var node=evt.target;if(evt.keyCode==dojo.keys.TAB){this._getFocusItems(this.domNode);}var _155=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(!_155){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.keyCode==dojo.keys.TAB&&!evt.shiftKey){if(!_155){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{while(node){if(node==this.domNode){if(evt.keyCode==dojo.keys.ESCAPE){this.hide();}else{return;}}node=node.parentNode;}if(evt.keyCode!=dojo.keys.TAB){dojo.stopEvent(evt);}else{if(!dojo.isOpera){try{this._firstFocusItem.focus();}catch(e){}}}}}}},show:function(){if(this.open){return;}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOut.status()=="playing"){this._fadeOut.stop();}this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));this._modalconnects.push(dojo.connect(dojo.doc.documentElement,"onkeypress",this,"_onKey"));dojo.style(this.domNode,"opacity",0);this.domNode.style.visibility="";this.open=true;this._loadCheck();this._position();this._fadeIn.play();this._savedFocus=dijit.getFocus(this);this._getFocusItems(this.domNode);setTimeout(dojo.hitch(this,function(){dijit.focus(this._firstFocusItem);}),50);},hide:function(){if(!this._alreadyInitialized){return;}if(this._fadeIn.status()=="playing"){this._fadeIn.stop();}this._fadeOut.play();if(this._scrollConnected){this._scrollConnected=false;}dojo.forEach(this._modalconnects,dojo.disconnect);this._modalconnects=[];if(this.refocus){this.connect(this._fadeOut,"onEnd",dojo.hitch(dijit,"focus",this._savedFocus));}this.open=false;},layout:function(){if(this.domNode.style.visibility!="hidden"){this._underlay.layout();this._position();}},destroy:function(){dojo.forEach(this._modalconnects,dojo.disconnect);if(this.refocus&&this.open){var fo=this._savedFocus;setTimeout(dojo.hitch(dijit,"focus",fo),25);}this.inherited(arguments);}});dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,_firstFocusItem:null,_lastFocusItem:null,templateString:null,templateString:"
\n\t
\n\t\t
\n\t
\n\t
\n
\n",postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");this.containerNode.title=this.title;},orient:function(node,_158,_159){this.domNode.className="dijitTooltipDialog "+" dijitTooltipAB"+(_159.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_159.charAt(0)=="T"?"Below":"Above");},onOpen:function(pos){this._getFocusItems(this.containerNode);this.orient(this.domNode,pos.aroundCorner,pos.corner);this._loadCheck();dijit.focus(this._firstFocusItem);},_onKey:function(evt){var node=evt.target;if(evt.keyCode==dojo.keys.TAB){this._getFocusItems(this.containerNode);}var _15d=(this._firstFocusItem==this._lastFocusItem);if(evt.keyCode==dojo.keys.ESCAPE){this.onCancel();}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(!_15d){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.keyCode==dojo.keys.TAB&&!evt.shiftKey){if(!_15d){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{if(evt.keyCode==dojo.keys.TAB){evt.stopPropagation();}}}}}});}if(!dojo._hasResource["dijit._editor.selection"]){dojo._hasResource["dijit._editor.selection"]=true;dojo.provide("dijit._editor.selection");dojo.mixin(dijit._editor.selection,{getType:function(){if(dojo.doc.selection){return dojo.doc.selection.type.toLowerCase();}else{var _15e="text";var oSel;try{oSel=dojo.global.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _160=oSel.getRangeAt(0);if((_160.startContainer==_160.endContainer)&&((_160.endOffset-_160.startOffset)==1)&&(_160.startContainer.nodeType!=3)){_15e="control";}}return _15e;}},getSelectedText:function(){if(dojo.doc.selection){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().text;}else{var _161=dojo.global.getSelection();if(_161){return _161.toString();}}return "";},getSelectedHtml:function(){if(dojo.doc.selection){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().htmlText;}else{var _162=dojo.global.getSelection();if(_162&&_162.rangeCount){var frag=_162.getRangeAt(0).cloneContents();var div=dojo.doc.createElement("div");div.appendChild(frag);return div.innerHTML;}return null;}},getSelectedElement:function(){if(this.getType()=="control"){if(dojo.doc.selection){var _165=dojo.doc.selection.createRange();if(_165&&_165.item){return dojo.doc.selection.createRange().item(0);}}else{var _166=dojo.global.getSelection();return _166.anchorNode.childNodes[_166.anchorOffset];}}return null;},getParentElement:function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(dojo.doc.selection){return dojo.doc.selection.createRange().parentElement();}else{var _168=dojo.global.getSelection();if(_168){var node=_168.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}}return null;},hasAncestorElement:function(_16a){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_16b){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);},isTag:function(node,tags){if(node&&node.tagName){var _nlc=node.tagName.toLowerCase();for(var i=0;i/gm,">").replace(/"/gm,""");if(!_184){str=str.replace(/'/gm,"'");}return str;};dijit._editor.getNodeHtml=function(node){var _186;switch(node.nodeType){case 1:_186="<"+node.nodeName.toLowerCase();var _187=[];if(dojo.isIE&&node.outerHTML){var s=node.outerHTML;s=s.substr(0,s.indexOf(">"));s=s.replace(/(['"])[^"']*\1/g,"");var reg=/([^\s=]+)=/g;var m,key;while((m=reg.exec(s))){key=m[1];if(key.substr(0,3)!="_dj"){if(key=="src"||key=="href"){if(node.getAttribute("_djrealurl")){_187.push([key,node.getAttribute("_djrealurl")]);continue;}}if(key=="style"){_187.push([key,node.style.cssText.toLowerCase()]);}else{_187.push([key,key=="class"?node.className:node.getAttribute(key)]);}}}}else{var attr,i=0,_18e=node.attributes;while((attr=_18e[i++])){var n=attr.name;if(n.substr(0,3)!="_dj"){var v=attr.value;if(n=="src"||n=="href"){if(node.getAttribute("_djrealurl")){v=node.getAttribute("_djrealurl");}}_187.push([n,v]);}}}_187.sort(function(a,b){return a[0]"+dijit._editor.getChildrenHtml(node)+"";}else{_186+=" />";}break;case 3:_186=dijit._editor.escapeXml(node.nodeValue,true);break;case 8:_186="";break;default:_186="Element not recognized - Type: "+node.nodeType+" Name: "+node.nodeName;}return _186;};dijit._editor.getChildrenHtml=function(dom){var out="";if(!dom){return out;}var _195=dom["childNodes"]||dom;var i=0;var node;while((node=_195[i++])){out+=dijit._editor.getNodeHtml(node);}return out;};}if(!dojo._hasResource["dijit._editor.RichText"]){dojo._hasResource["dijit._editor.RichText"]=true;dojo.provide("dijit._editor.RichText");if(!dojo.config["useXDomain"]||dojo.config["allowXdRichTextSave"]){if(dojo._postLoad){(function(){var _198=dojo.doc.createElement("textarea");_198.id=dijit._scopeName+"._editor.RichText.savedContent";var s=_198.style;s.display="none";s.position="absolute";s.top="-100px";s.left="-100px";s.height="3px";s.width="3px";dojo.body().appendChild(_198);})();}else{try{dojo.doc.write("");}catch(e){}}}dojo.declare("dijit._editor.RichText",dijit._Widget,{constructor:function(){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this._keyHandlers={};this.contentPreFilters.push(dojo.hitch(this,"_preFixUrlAttributes"));if(dojo.isMoz){this.contentPreFilters.push(this._fixContentForMoz);this.contentPostFilters.push(this._removeMozBogus);}else{if(dojo.isSafari){this.contentPostFilters.push(this._removeSafariBogus);}}this.onLoadDeferred=new dojo.Deferred();},inheritWidth:false,focusOnLoad:false,name:"",styleSheets:"",_content:"",height:"300px",minHeight:"1em",isClosed:true,isLoaded:false,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",onLoadDeferred:null,postCreate:function(){dojo.publish(dijit._scopeName+"._editor.RichText::init",[this]);this.open();this.setupDefaultShortcuts();},setupDefaultShortcuts:function(){var exec=function(cmd,arg){return arguments.length==1?function(){this.execCommand(cmd);}:function(){this.execCommand(cmd,arg);};};var _19d={b:exec("bold"),i:exec("italic"),u:exec("underline"),a:exec("selectall"),s:function(){this.save(true);},"1":exec("formatblock","h1"),"2":exec("formatblock","h2"),"3":exec("formatblock","h3"),"4":exec("formatblock","h4"),"\\":exec("insertunorderedlist")};if(!dojo.isIE){_19d.Z=exec("redo");}for(var key in _19d){this.addKeyHandler(key,this.KEY_CTRL,_19d[key]);}},events:["onKeyPress","onKeyDown","onKeyUp","onClick"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(this._editorCommandsLocalized){return;}this._editorCommandsLocalized=true;var _19f=["p","pre","address","h1","h2","h3","h4","h5","h6","ol","div","ul"];var _1a0="",_1a1,i=0;while((_1a1=_19f[i++])){if(_1a1.charAt(1)!="l"){_1a0+="<"+_1a1+">content";}else{_1a0+="<"+_1a1+">
  • content
  • ";}}var div=dojo.doc.createElement("div");div.style.position="absolute";div.style.left="-2000px";div.style.top="-2000px";dojo.doc.body.appendChild(div);div.innerHTML=_1a0;var node=div.firstChild;while(node){dijit._editor.selection.selectElement(node.firstChild);dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[node.firstChild]);var _1a5=node.tagName.toLowerCase();this._local2NativeFormatNames[_1a5]=dojo.doc.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_1a5]]=_1a5;node=node.nextSibling;}dojo.doc.body.removeChild(div);},open:function(_1a6){if((!this.onLoadDeferred)||(this.onLoadDeferred.fired>=0)){this.onLoadDeferred=new dojo.Deferred();}if(!this.isClosed){this.close();}dojo.publish(dijit._scopeName+"._editor.RichText::open",[this]);this._content="";if((arguments.length==1)&&(_1a6["nodeName"])){this.domNode=_1a6;}var html;if((this.domNode["nodeName"])&&(this.domNode.nodeName.toLowerCase()=="textarea")){this.textarea=this.domNode;this.name=this.textarea.name;html=this._preFilterContent(this.textarea.value);this.domNode=dojo.doc.createElement("div");this.domNode.setAttribute("widgetId",this.id);this.textarea.removeAttribute("widgetId");this.domNode.cssText=this.textarea.cssText;this.domNode.className+=" "+this.textarea.className;dojo.place(this.domNode,this.textarea,"before");var _1a8=dojo.hitch(this,function(){dojo.attr(this.textarea,"tabIndex","-1");with(this.textarea.style){display="block";position="absolute";left=top="-1000px";if(dojo.isIE){this.__overflow=overflow;overflow="hidden";}}});if(dojo.isIE){setTimeout(_1a8,10);}else{_1a8();}}else{html=this._preFilterContent(dijit._editor.getChildrenHtml(this.domNode));this.domNode.innerHTML="";}if(html==""){html=" ";}var _1a9=dojo.contentBox(this.domNode);this._oldHeight=_1a9.h;this._oldWidth=_1a9.w;if((this.domNode["nodeName"])&&(this.domNode.nodeName=="LI")){this.domNode.innerHTML="
    ";}this.editingArea=dojo.doc.createElement("div");this.domNode.appendChild(this.editingArea);if(this.name!=""&&(!dojo.config["useXDomain"]||dojo.config["allowXdRichTextSave"])){var _1aa=dojo.byId(dijit._scopeName+"._editor.RichText.savedContent");if(_1aa.value!=""){var _1ab=_1aa.value.split(this._SEPARATOR),i=0,dat;while((dat=_1ab[i++])){var data=dat.split(":");if(data[0]==this.name){html=data[1];_1ab.splice(i,1);break;}}}this.connect(window,"onbeforeunload","_saveContent");}this.isClosed=false;if(dojo.isIE||dojo.isSafari||dojo.isOpera){if(dojo.config["useXDomain"]&&!dojo.config["dojoBlankHtmlUrl"]){console.debug("dijit._editor.RichText: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html");}var burl=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"");var ifr=this.editorObject=this.iframe=dojo.doc.createElement("iframe");ifr.id=this.id+"_iframe";ifr.src=burl;ifr.style.border="none";ifr.style.width="100%";ifr.frameBorder=0;this.editingArea.appendChild(ifr);var h=null;var _1b2=dojo.hitch(this,function(){if(h){dojo.disconnect(h);h=null;}this.window=ifr.contentWindow;var d=this.document=this.window.document;d.open();d.write(this._getIframeDocTxt(html));d.close();if(dojo.isIE>=7){if(this.height){ifr.style.height=this.height;}if(this.minHeight){ifr.style.minHeight=this.minHeight;}}else{ifr.style.height=this.height?this.height:this.minHeight;}if(dojo.isIE){this._localizeEditorCommands();}this.onLoad();this.savedContent=this.getValue(true);});if(dojo.isIE&&dojo.isIE<7){var t=setInterval(function(){if(ifr.contentWindow.isLoaded){clearInterval(t);_1b2();}},100);}else{h=dojo.connect(((dojo.isIE)?ifr.contentWindow:ifr),"onload",_1b2);}}else{this._drawIframe(html);this.savedContent=this.getValue(true);}if(this.domNode.nodeName=="LI"){this.domNode.lastChild.style.marginTop="-1.2em";}this.domNode.className+=" RichTextEditable";},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_localizedIframeTitles:null,_getIframeDocTxt:function(html){var _cs=dojo.getComputedStyle(this.domNode);if(dojo.isIE||(!this.height&&!dojo.isMoz)){html="
    "+html+"
    ";}var font=[_cs.fontWeight,_cs.fontSize,_cs.fontFamily].join(" ");var _1b8=_cs.lineHeight;if(_1b8.indexOf("px")>=0){_1b8=parseFloat(_1b8)/parseFloat(_cs.fontSize);}else{if(_1b8.indexOf("em")>=0){_1b8=parseFloat(_1b8);}else{_1b8="1.0";}}return [this.isLeftToRight()?"":"",(dojo.isMoz?""+this._localizedIframeTitles.iframeEditTitle+"":""),"",this._applyEditingAreaStyleSheets(),""+html+""].join("");},_drawIframe:function(html){if(!this.iframe){var ifr=this.iframe=dojo.doc.createElement("iframe");ifr.id=this.id;var ifrs=ifr.style;ifrs.border="none";ifrs.lineHeight="0";ifrs.verticalAlign="bottom";this.editorObject=this.iframe;this._localizedIframeTitles=dojo.i18n.getLocalization("dijit.form","Textarea");var _1bc=dojo.query("label[for=\""+this.id+"\"]");if(_1bc.length){this._localizedIframeTitles.iframeEditTitle=_1bc[0].innerHTML+" "+this._localizedIframeTitles.iframeEditTitle;}}this.iframe.style.width=this.inheritWidth?this._oldWidth:"100%";if(this.height){this.iframe.style.height=this.height;}else{this.iframe.height=this._oldHeight;}var _1bd;if(this.textarea){_1bd=this.srcNodeRef;}else{_1bd=dojo.doc.createElement("div");_1bd.style.display="none";_1bd.innerHTML=html;this.editingArea.appendChild(_1bd);}this.editingArea.appendChild(this.iframe);var _1be=false;var _1bf=this.iframe.contentDocument;_1bf.open();if(dojo.isAIR){_1bf.body.innerHTML=html;}else{_1bf.write(this._getIframeDocTxt(html));}_1bf.close();var _1c0=dojo.hitch(this,function(){if(!_1be){_1be=true;}else{return;}if(!this.editNode){try{if(this.iframe.contentWindow){this.window=this.iframe.contentWindow;this.document=this.iframe.contentWindow.document;}else{if(this.iframe.contentDocument){this.window=this.iframe.contentDocument.window;this.document=this.iframe.contentDocument;}}if(!this.document.body){throw "Error";}}catch(e){setTimeout(_1c0,500);_1be=false;return;}dojo._destroyElement(_1bd);this.onLoad();}else{dojo._destroyElement(_1bd);this.editNode.innerHTML=html;this.onDisplayChanged();}this._preDomFilterContent(this.editNode);});_1c0();},_applyEditingAreaStyleSheets:function(){var _1c1=[];if(this.styleSheets){_1c1=this.styleSheets.split(";");this.styleSheets="";}_1c1=_1c1.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url;while((url=_1c1[i++])){var _1c5=(new dojo._Url(dojo.global.location,url)).toString();this.editingAreaStyleSheets.push(_1c5);text+="";}return text;},addStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)=="."||(url.charAt(0)!="/"&&!uri.host)){url=(new dojo._Url(dojo.global.location,url)).toString();}if(dojo.indexOf(this.editingAreaStyleSheets,url)>-1){return;}this.editingAreaStyleSheets.push(url);if(this.document.createStyleSheet){this.document.createStyleSheet(url);}else{var head=this.document.getElementsByTagName("head")[0];var _1c9=this.document.createElement("link");with(_1c9){rel="stylesheet";type="text/css";href=url;}head.appendChild(_1c9);}},removeStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)=="."||(url.charAt(0)!="/"&&!uri.host)){url=(new dojo._Url(dojo.global.location,url)).toString();}var _1cc=dojo.indexOf(this.editingAreaStyleSheets,url);if(_1cc==-1){return;}delete this.editingAreaStyleSheets[_1cc];dojo.withGlobal(this.window,"query",dojo,["link:[href=\""+url+"\"]"]).orphan();},disabled:true,_mozSettingProps:["styleWithCSS","insertBrOnReturn"],setDisabled:function(_1cd){if(dojo.isIE||dojo.isSafari||dojo.isOpera){if(dojo.isIE){this.editNode.unselectable="on";}this.editNode.contentEditable=!_1cd;if(dojo.isIE){var _1ce=this;setTimeout(function(){_1ce.editNode.unselectable="off";},0);}}else{if(_1cd){this._mozSettings=[false,this.blockNodeForEnter==="BR"];}this.document.designMode=(_1cd?"off":"on");if(!_1cd&&this._mozSettings){dojo.forEach(this._mozSettingProps,function(s,i){this.document.execCommand(s,false,this._mozSettings[i]);},this);}}this.disabled=_1cd;},_isResized:function(){return false;},onLoad:function(e){this.isLoaded=true;if(!this.window.__registeredWindow){this.window.__registeredWindow=true;dijit.registerWin(this.window);}if(!dojo.isIE&&(this.height||dojo.isMoz)){this.editNode=this.document.body;}else{this.editNode=this.document.body.firstChild;var _1d2=this;if(dojo.isIE){var _1d3=this.tabStop=dojo.doc.createElement("
    ");this.editingArea.appendChild(_1d3);this.iframe.onfocus=function(){_1d2.editNode.setActive();};}}try{this.setDisabled(false);}catch(e){var _1d4=dojo.connect(this,"onClick",this,function(){this.setDisabled(false);dojo.disconnect(_1d4);});}this._preDomFilterContent(this.editNode);var _1d5=this.events.concat(this.captureEvents),i=0,et;while((et=_1d5[i++])){this.connect(this.document,et.toLowerCase(),et);}if(!dojo.isIE){try{this.document.execCommand("styleWithCSS",false,false);}catch(e2){}}else{this.connect(this.document,"onmousedown","_onMouseDown");this.editNode.style.zoom=1;}if(this.focusOnLoad){setTimeout(dojo.hitch(this,"focus"),0);}this.onDisplayChanged(e);if(this.onLoadDeferred){this.onLoadDeferred.callback(true);}},onKeyDown:function(e){if(dojo.isIE){if(e.keyCode==dojo.keys.TAB&&e.shiftKey&&!e.ctrlKey&&!e.altKey){this.iframe.focus();}else{if(e.keyCode==dojo.keys.TAB&&!e.shiftKey&&!e.ctrlKey&&!e.altKey){this.tabStop.focus();}else{if(e.keyCode===dojo.keys.BACKSPACE&&this.document.selection.type==="Control"){dojo.stopEvent(e);this.execCommand("delete");}else{if((65<=e.keyCode&&e.keyCode<=90)||(e.keyCode>=37&&e.keyCode<=40)){e.charCode=e.keyCode;this.onKeyPress(e);}}}}}else{if(dojo.isMoz){if(e.keyCode==dojo.keys.TAB&&!e.shiftKey&&!e.ctrlKey&&!e.altKey&&this.iframe){this.iframe.contentDocument.title=this._localizedIframeTitles.iframeFocusTitle;this.iframe.focus();dojo.stopEvent(e);}else{if(e.keyCode==dojo.keys.TAB&&e.shiftKey){if(this.toolbar){this.toolbar.focus();}dojo.stopEvent(e);}}}}},onKeyUp:function(e){return;},KEY_CTRL:1,KEY_SHIFT:2,onKeyPress:function(e){var _1db=(e.ctrlKey&&!e.altKey)?this.KEY_CTRL:0|e.shiftKey?this.KEY_SHIFT:0;var key=e.keyChar||e.keyCode;if(this._keyHandlers[key]){var _1dd=this._keyHandlers[key],i=0,h;while((h=_1dd[i++])){if(_1db==h.modifiers){if(!h.handler.apply(this,arguments)){e.preventDefault();}break;}}}setTimeout(dojo.hitch(this,function(){this.onKeyPressed(e);}),1);},addKeyHandler:function(key,_1e1,_1e2){if(!dojo.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({modifiers:_1e1||0,handler:_1e2});},onKeyPressed:function(e){this.onDisplayChanged();},onClick:function(e){this.onDisplayChanged(e);},_onMouseDown:function(e){if(!this._focused&&!this.disabled){this.focus();}},_onBlur:function(e){this.inherited(arguments);var _c=this.getValue(true);if(_c!=this.savedContent){this.onChange(_c);this.savedContent=_c;}if(dojo.isMoz&&this.iframe){this.iframe.contentDocument.title=this._localizedIframeTitles.iframeEditTitle;}},_initialFocus:true,_onFocus:function(e){this.inherited(arguments);if(dojo.isMoz&&this._initialFocus){this._initialFocus=false;if(this.editNode.innerHTML.replace(/^\s+|\s+$/g,"")==" "){this.placeCursorAtStart();}}},blur:function(){if(!dojo.isIE&&this.window.document.documentElement&&this.window.document.documentElement.focus){this.window.document.documentElement.focus();}else{if(dojo.doc.body.focus){dojo.doc.body.focus();}}},focus:function(){if(!dojo.isIE){dijit.focus(this.iframe);}else{if(this.editNode&&this.editNode.focus){this.iframe.fireEvent("onfocus",document.createEventObject());}}},updateInterval:200,_updateTimer:null,onDisplayChanged:function(e){if(!this._updateTimer){if(this._updateTimer){clearTimeout(this._updateTimer);}this._updateTimer=setTimeout(dojo.hitch(this,this.onNormalizedDisplayChanged),this.updateInterval);}},onNormalizedDisplayChanged:function(){this._updateTimer=null;},onChange:function(_1ea){},_normalizeCommand:function(cmd){var _1ec=cmd.toLowerCase();if(_1ec=="hilitecolor"&&!dojo.isMoz){_1ec="backcolor";}return _1ec;},queryCommandAvailable:function(_1ed){var ie=1;var _1ef=1<<1;var _1f0=1<<2;var _1f1=1<<3;var _1f2=1<<4;var _1f3=dojo.isSafari;function isSupportedBy(_1f4){return {ie:Boolean(_1f4&ie),mozilla:Boolean(_1f4&_1ef),safari:Boolean(_1f4&_1f0),safari420:Boolean(_1f4&_1f2),opera:Boolean(_1f4&_1f1)};};var _1f5=null;switch(_1ed.toLowerCase()){case "bold":case "italic":case "underline":case "subscript":case "superscript":case "fontname":case "fontsize":case "forecolor":case "hilitecolor":case "justifycenter":case "justifyfull":case "justifyleft":case "justifyright":case "delete":case "selectall":case "toggledir":_1f5=isSupportedBy(_1ef|ie|_1f0|_1f1);break;case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":_1f5=isSupportedBy(_1ef|ie|_1f1|_1f2);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_1f5=isSupportedBy(ie);break;case "cut":case "copy":case "paste":_1f5=isSupportedBy(ie|_1ef|_1f2);break;case "inserttable":_1f5=isSupportedBy(_1ef|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_1f5=isSupportedBy(ie|_1ef);break;default:return false;}return (dojo.isIE&&_1f5.ie)||(dojo.isMoz&&_1f5.mozilla)||(dojo.isSafari&&_1f5.safari)||(_1f3&&_1f5.safari420)||(dojo.isOpera&&_1f5.opera);},execCommand:function(_1f6,_1f7){var _1f8;this.focus();_1f6=this._normalizeCommand(_1f6);if(_1f7!=undefined){if(_1f6=="heading"){throw new Error("unimplemented");}else{if((_1f6=="formatblock")&&dojo.isIE){_1f7="<"+_1f7+">";}}}if(_1f6=="inserthtml"){_1f7=this._preFilterContent(_1f7);if(dojo.isIE){var _1f9=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()=="CONTROL"){var n=_1f9.item(0);while(_1f9.length){_1f9.remove(_1f9.item(0));}n.outerHTML=_1f7;}else{_1f9.pasteHTML(_1f7);}_1f9.select();_1f8=true;}else{if(dojo.isMoz&&!_1f7.length){dojo.withGlobal(this.window,"remove",dijit._editor.selection);_1f8=true;}else{_1f8=this.document.execCommand(_1f6,false,_1f7);}}}else{if((_1f6=="unlink")&&(this.queryCommandEnabled("unlink"))&&(dojo.isMoz||dojo.isSafari)){var _1fb=this.window.getSelection();var a=dojo.withGlobal(this.window,"getAncestorElement",dijit._editor.selection,["a"]);dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[a]);_1f8=this.document.execCommand("unlink",false,null);}else{if((_1f6=="hilitecolor")&&(dojo.isMoz)){this.document.execCommand("styleWithCSS",false,true);_1f8=this.document.execCommand(_1f6,false,_1f7);this.document.execCommand("styleWithCSS",false,false);}else{if((dojo.isIE)&&((_1f6=="backcolor")||(_1f6=="forecolor"))){_1f7=arguments.length>1?_1f7:null;_1f8=this.document.execCommand(_1f6,false,_1f7);}else{_1f7=arguments.length>1?_1f7:null;if(_1f7||_1f6!="createlink"){_1f8=this.document.execCommand(_1f6,false,_1f7);}}}}}this.onDisplayChanged();return _1f8;},queryCommandEnabled:function(_1fd){if(this.disabled){return false;}_1fd=this._normalizeCommand(_1fd);if(dojo.isMoz||dojo.isSafari){if(_1fd=="unlink"){return dojo.withGlobal(this.window,"hasAncestorElement",dijit._editor.selection,["a"]);}else{if(_1fd=="inserttable"){return true;}}}if(dojo.isSafari){if(_1fd=="copy"){_1fd="cut";}else{if(_1fd=="paste"){return true;}}}var elem=dojo.isIE?this.document.selection.createRange():this.document;return elem.queryCommandEnabled(_1fd);},queryCommandState:function(_1ff){if(this.disabled){return false;}_1ff=this._normalizeCommand(_1ff);return this.document.queryCommandState(_1ff);},queryCommandValue:function(_200){if(this.disabled){return false;}_200=this._normalizeCommand(_200);if(dojo.isIE&&_200=="formatblock"){return this._local2NativeFormatNames[this.document.queryCommandValue(_200)];}return this.document.queryCommandValue(_200);},placeCursorAtStart:function(){this.focus();var _201=false;if(dojo.isMoz){var _202=this.editNode.firstChild;while(_202){if(_202.nodeType==3){if(_202.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_201=true;dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[_202]);break;}}else{if(_202.nodeType==1){_201=true;dojo.withGlobal(this.window,"selectElementChildren",dijit._editor.selection,[_202]);break;}}_202=_202.nextSibling;}}else{_201=true;dojo.withGlobal(this.window,"selectElementChildren",dijit._editor.selection,[this.editNode]);}if(_201){dojo.withGlobal(this.window,"collapse",dijit._editor.selection,[true]);}},placeCursorAtEnd:function(){this.focus();var _203=false;if(dojo.isMoz){var last=this.editNode.lastChild;while(last){if(last.nodeType==3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_203=true;dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[last]);break;}}else{if(last.nodeType==1){_203=true;if(last.lastChild){dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[last.lastChild]);}else{dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[last]);}break;}}last=last.previousSibling;}}else{_203=true;dojo.withGlobal(this.window,"selectElementChildren",dijit._editor.selection,[this.editNode]);}if(_203){dojo.withGlobal(this.window,"collapse",dijit._editor.selection,[false]);}},getValue:function(_205){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this._postFilterContent(null,_205);},setValue:function(html){if(!this.isLoaded){this.onLoadDeferred.addCallback(dojo.hitch(this,function(){this.setValue(html);}));return;}if(this.textarea&&(this.isClosed||!this.isLoaded)){this.textarea.value=html;}else{html=this._preFilterContent(html);var node=this.isClosed?this.domNode:this.editNode;node.innerHTML=html;this._preDomFilterContent(node);}this.onDisplayChanged();},replaceValue:function(html){if(this.isClosed){this.setValue(html);}else{if(this.window&&this.window.getSelection&&!dojo.isMoz){this.setValue(html);}else{if(this.window&&this.window.getSelection){html=this._preFilterContent(html);this.execCommand("selectall");if(dojo.isMoz&&!html){html=" ";}this.execCommand("inserthtml",html);this._preDomFilterContent(this.editNode);}else{if(this.document&&this.document.selection){this.setValue(html);}}}}},_preFilterContent:function(html){var ec=html;dojo.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;dojo.forEach(this.contentDomPreFilters,function(ef){if(ef&&dojo.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_20f){var ec;if(!dojo.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_20f&&dom["cloneNode"]){dom=dom.cloneNode(true);}dojo.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=dijit._editor.getChildrenHtml(dom);}else{ec=dom;}if(!ec.replace(/^(?:\s|\xA0)+/g,"").replace(/(?:\s|\xA0)+$/g,"").length){ec="";}dojo.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(e){var _214=dojo.byId(dijit._scopeName+"._editor.RichText.savedContent");_214.value+=this._SEPARATOR+this.name+":"+this.getValue();},escapeXml:function(str,_216){dojo.deprecated("dijit.Editor::escapeXml is deprecated","use dijit._editor.escapeXml instead",2);return dijit._editor.escapeXml(str,_216);},getNodeHtml:function(node){dojo.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit._editor.getNodeHtml instead",2);return dijit._editor.getNodeHtml(node);},getNodeChildrenHtml:function(dom){dojo.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit._editor.getChildrenHtml instead",2);return dijit._editor.getChildrenHtml(dom);},close:function(save,_21a){if(this.isClosed){return false;}if(!arguments.length){save=true;}this._content=this.getValue();var _21b=(this.savedContent!=this._content);if(this.interval){clearInterval(this.interval);}if(this.textarea){with(this.textarea.style){position="";left=top="";if(dojo.isIE){overflow=this.__overflow;this.__overflow=null;}}this.textarea.value=save?this._content:this.savedContent;dojo._destroyElement(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=save?this._content:this.savedContent;}dojo.removeClass(this.domNode,"RichTextEditable");this.isClosed=true;this.isLoaded=false;delete this.editNode;if(this.window&&this.window._frameElement){this.window._frameElement=null;}this.window=null;this.document=null;this.editingArea=null;this.editorObject=null;return _21b;},destroyRendering:function(){},destroy:function(){this.destroyRendering();if(!this.isClosed){this.close(false);}this.inherited("destroy",arguments);},_removeMozBogus:function(html){return html.replace(/\stype="_moz"/gi,"").replace(/\s_moz_dirty=""/gi,"");},_removeSafariBogus:function(html){return html.replace(/\sclass="webkit-block-placeholder"/gi,"");},_fixContentForMoz:function(html){return html.replace(/<(\/)?strong([ \>])/gi,"<$1b$2").replace(/<(\/)?em([ \>])/gi,"<$1i$2");},_srcInImgRegex:/(?:(]+))/gi,_hrefInARegex:/(?:(]+))/gi,_preFixUrlAttributes:function(html){return html.replace(this._hrefInARegex,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2").replace(this._srcInImgRegex,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2");}});}if(!dojo._hasResource["dijit.Toolbar"]){dojo._hasResource["dijit.Toolbar"]=true;dojo.provide("dijit.Toolbar");dojo.declare("dijit.Toolbar",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{templateString:"
    "+"
    ",tabIndex:"0",postCreate:function(){this.connectKeyNavHandlers(this.isLeftToRight()?[dojo.keys.LEFT_ARROW]:[dojo.keys.RIGHT_ARROW],this.isLeftToRight()?[dojo.keys.RIGHT_ARROW]:[dojo.keys.LEFT_ARROW]);},startup:function(){if(this._started){return;}this.startupKeyNavChildren();this.inherited(arguments);}});dojo.declare("dijit.ToolbarSeparator",[dijit._Widget,dijit._Templated],{templateString:"
    ",postCreate:function(){dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});}if(!dojo._hasResource["dijit.form.Button"]){dojo._hasResource["dijit.form.Button"]=true;dojo.provide("dijit.form.Button");dojo.declare("dijit.form.Button",dijit.form._FormWidget,{label:"",showLabel:true,iconClass:"",type:"button",baseClass:"dijitButton",templateString:"
    diff --git a/includes/js/dijit/form/templates/CheckBox.html b/includes/js/dijit/form/templates/CheckBox.html deleted file mode 100644 index 580b820..0000000 --- a/includes/js/dijit/form/templates/CheckBox.html +++ /dev/null @@ -1,7 +0,0 @@ -
    diff --git a/includes/js/dijit/form/templates/ComboBox.html b/includes/js/dijit/form/templates/ComboBox.html deleted file mode 100644 index b957b54..0000000 --- a/includes/js/dijit/form/templates/ComboBox.html +++ /dev/null @@ -1,19 +0,0 @@ -

    Χ
    diff --git a/includes/js/dijit/form/templates/ComboButton.html b/includes/js/dijit/form/templates/ComboButton.html deleted file mode 100644 index 6b46ea0..0000000 --- a/includes/js/dijit/form/templates/ComboButton.html +++ /dev/null @@ -1,21 +0,0 @@ -
    ${label}
    diff --git a/includes/js/dijit/form/templates/DropDownButton.html b/includes/js/dijit/form/templates/DropDownButton.html deleted file mode 100644 index 2e62f55..0000000 --- a/includes/js/dijit/form/templates/DropDownButton.html +++ /dev/null @@ -1,13 +0,0 @@ -
    diff --git a/includes/js/dijit/form/templates/HorizontalSlider.html b/includes/js/dijit/form/templates/HorizontalSlider.html deleted file mode 100644 index 4dac451..0000000 --- a/includes/js/dijit/form/templates/HorizontalSlider.html +++ /dev/null @@ -1,37 +0,0 @@ -
    diff --git a/includes/js/dijit/form/templates/InlineEditBox.html b/includes/js/dijit/form/templates/InlineEditBox.html deleted file mode 100644 index 6db3496..0000000 --- a/includes/js/dijit/form/templates/InlineEditBox.html +++ /dev/null @@ -1,12 +0,0 @@ -
    diff --git a/includes/js/dijit/form/templates/Spinner.html b/includes/js/dijit/form/templates/Spinner.html deleted file mode 100644 index 981c698..0000000 --- a/includes/js/dijit/form/templates/Spinner.html +++ /dev/null @@ -1,28 +0,0 @@ -
     

    Χ
    diff --git a/includes/js/dijit/form/templates/TextBox.html b/includes/js/dijit/form/templates/TextBox.html deleted file mode 100644 index 804fe1e..0000000 --- a/includes/js/dijit/form/templates/TextBox.html +++ /dev/null @@ -1,4 +0,0 @@ - \ No newline at end of file diff --git a/includes/js/dijit/form/templates/TimePicker.html b/includes/js/dijit/form/templates/TimePicker.html deleted file mode 100644 index 0bf3c40..0000000 --- a/includes/js/dijit/form/templates/TimePicker.html +++ /dev/null @@ -1,5 +0,0 @@ -
    diff --git a/includes/js/dijit/form/templates/ValidationTextBox.html b/includes/js/dijit/form/templates/ValidationTextBox.html deleted file mode 100644 index 2bdb674..0000000 --- a/includes/js/dijit/form/templates/ValidationTextBox.html +++ /dev/null @@ -1,12 +0,0 @@ -

    Χ
    diff --git a/includes/js/dijit/form/templates/VerticalSlider.html b/includes/js/dijit/form/templates/VerticalSlider.html deleted file mode 100644 index 88b2951..0000000 --- a/includes/js/dijit/form/templates/VerticalSlider.html +++ /dev/null @@ -1,46 +0,0 @@ -
    diff --git a/includes/js/dijit/layout/AccordionContainer.js b/includes/js/dijit/layout/AccordionContainer.js deleted file mode 100644 index 12f8945..0000000 --- a/includes/js/dijit/layout/AccordionContainer.js +++ /dev/null @@ -1,229 +0,0 @@ -if(!dojo._hasResource["dijit.layout.AccordionContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.AccordionContainer"] = true; -dojo.provide("dijit.layout.AccordionContainer"); - -dojo.require("dojo.fx"); - -dojo.require("dijit._Container"); -dojo.require("dijit._Templated"); -dojo.require("dijit.layout.StackContainer"); -dojo.require("dijit.layout.ContentPane"); - -dojo.declare( - "dijit.layout.AccordionContainer", - dijit.layout.StackContainer, - { - // summary: - // Holds a set of panes where every pane's title is visible, but only one pane's content is visible at a time, - // and switching between panes is visualized by sliding the other panes up/down. - // example: - // |
    - // |
    - // |
    ...
    - // |
    - // |
    - // |

    This is some text

    - // || ... - // |
    - // - // duration: Integer - // Amount of time (in ms) it takes to slide panes - duration: 250, - - _verticalSpace: 0, - - postCreate: function(){ - this.domNode.style.overflow="hidden"; - this.inherited("postCreate",arguments); - dijit.setWaiRole(this.domNode, "tablist"); - dojo.addClass(this.domNode,"dijitAccordionContainer"); - }, - - startup: function(){ - if(this._started){ return; } - this.inherited("startup",arguments); - if(this.selectedChildWidget){ - var style = this.selectedChildWidget.containerNode.style; - style.display = ""; - style.overflow = "auto"; - this.selectedChildWidget._setSelectedState(true); - } - }, - - layout: function(){ - // summary: - // Set the height of the open pane based on what room remains - - // get cumulative height of all the title bars, and figure out which pane is open - var totalCollapsedHeight = 0; - var openPane = this.selectedChildWidget; - dojo.forEach(this.getChildren(), function(child){ - totalCollapsedHeight += child.getTitleHeight(); - }); - var mySize = this._contentBox; - this._verticalSpace = (mySize.h - totalCollapsedHeight); - if(openPane){ - openPane.containerNode.style.height = this._verticalSpace + "px"; -/*** -TODO: this is wrong. probably you wanted to call resize on the SplitContainer -inside the AccordionPane?? - if(openPane.resize){ - openPane.resize({h: this._verticalSpace}); - } -***/ - } - }, - - _setupChild: function(/*Widget*/ page){ - // Summary: prepare the given child - return page; - }, - - _transition: function(/*Widget?*/newWidget, /*Widget?*/oldWidget){ -//TODO: should be able to replace this with calls to slideIn/slideOut - if(this._inTransition){ return; } - this._inTransition = true; - var animations = []; - var paneHeight = this._verticalSpace; - if(newWidget){ - newWidget.setSelected(true); - var newContents = newWidget.containerNode; - newContents.style.display = ""; - - animations.push(dojo.animateProperty({ - node: newContents, - duration: this.duration, - properties: { - height: { start: "1", end: paneHeight } - }, - onEnd: function(){ - newContents.style.overflow = "auto"; - } - })); - } - if(oldWidget){ - oldWidget.setSelected(false); - var oldContents = oldWidget.containerNode; - oldContents.style.overflow = "hidden"; - animations.push(dojo.animateProperty({ - node: oldContents, - duration: this.duration, - properties: { - height: { start: paneHeight, end: "1" } - }, - onEnd: function(){ - oldContents.style.display = "none"; - } - })); - } - - this._inTransition = false; - - dojo.fx.combine(animations).play(); - }, - - // note: we are treating the container as controller here - _onKeyPress: function(/*Event*/ e){ - if(this.disabled || e.altKey || !(e._dijitWidget || e.ctrlKey)){ return; } - var k = dojo.keys; - var fromTitle = e._dijitWidget; - switch(e.keyCode){ - case k.LEFT_ARROW: - case k.UP_ARROW: - if (fromTitle){ - this._adjacent(false)._onTitleClick(); - dojo.stopEvent(e); - } - break; - case k.PAGE_UP: - if (e.ctrlKey){ - this._adjacent(false)._onTitleClick(); - dojo.stopEvent(e); - } - break; - case k.RIGHT_ARROW: - case k.DOWN_ARROW: - if (fromTitle){ - this._adjacent(true)._onTitleClick(); - dojo.stopEvent(e); - } - break; - case k.PAGE_DOWN: - if (e.ctrlKey){ - this._adjacent(true)._onTitleClick(); - dojo.stopEvent(e); - } - break; - default: - if(e.ctrlKey && e.keyCode == k.TAB){ - this._adjacent(e._dijitWidget, !e.shiftKey)._onTitleClick(); - dojo.stopEvent(e); - } - - } - } - } -); - -dojo.declare("dijit.layout.AccordionPane", - [dijit.layout.ContentPane, dijit._Templated, dijit._Contained], - { - // summary: - // AccordionPane is a ContentPane with a title that may contain another widget. - // Nested layout widgets, such as SplitContainer, are not supported at this time. - // example: - // | see dijit.layout.AccordionContainer - - templateString:"
    ${title}
    \n
    \n", - - postCreate: function(){ - this.inherited("postCreate",arguments) - dojo.setSelectable(this.titleNode, false); - this.setSelected(this.selected); - }, - - getTitleHeight: function(){ - // summary: returns the height of the title dom node - return dojo.marginBox(this.titleNode).h; // Integer - }, - - _onTitleClick: function(){ - // summary: callback when someone clicks my title - var parent = this.getParent(); - if(!parent._inTransition){ - parent.selectChild(this); - dijit.focus(this.focusNode); - } - }, - - _onTitleKeyPress: function(/*Event*/ evt){ - evt._dijitWidget = this; - return this.getParent()._onKeyPress(evt); - }, - - _setSelectedState: function(/*Boolean*/ isSelected){ - this.selected = isSelected; - dojo[(isSelected ? "addClass" : "removeClass")](this.titleNode,"dijitAccordionTitle-selected"); - this.focusNode.setAttribute("tabIndex", isSelected ? "0" : "-1"); - }, - - _handleFocus: function(/*Event*/e){ - // summary: handle the blur and focus state of this widget - dojo[(e.type=="focus" ? "addClass" : "removeClass")](this.focusNode,"dijitAccordionFocused"); - }, - - setSelected: function(/*Boolean*/ isSelected){ - // summary: change the selected state on this pane - this._setSelectedState(isSelected); - if(isSelected){ - this.onSelected(); - this._loadCheck(true); // if href specified, trigger load - } - }, - - onSelected: function(){ - // summary: called when this pane is selected - } -}); - -} diff --git a/includes/js/dijit/layout/BorderContainer.js b/includes/js/dijit/layout/BorderContainer.js deleted file mode 100644 index 4419fe4..0000000 --- a/includes/js/dijit/layout/BorderContainer.js +++ /dev/null @@ -1,515 +0,0 @@ -if(!dojo._hasResource["dijit.layout.BorderContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.BorderContainer"] = true; -dojo.provide("dijit.layout.BorderContainer"); - -dojo.require("dijit.layout._LayoutWidget"); -dojo.require("dojo.cookie"); - -dojo.declare( - "dijit.layout.BorderContainer", -// [dijit._Widget, dijit._Container, dijit._Contained], - dijit.layout._LayoutWidget, -{ - // summary: - // Provides layout in 5 regions, a center and borders along its 4 sides. - // - // description: - // A BorderContainer is a box with a specified size (like style="width: 500px; height: 500px;"), - // that contains a child widget marked region="center" and optionally children widgets marked - // region equal to "top", "bottom", "leading", "trailing", "left" or "right". - // Children along the edges will be laid out according to width or height dimensions. The remaining - // space is designated for the center region. - // The outer size must be specified on the BorderContainer node. Width must be specified for the sides - // and height for the top and bottom, respectively. No dimensions should be specified on the center; - // it will fill the remaining space. Regions named "leading" and "trailing" may be used just like - // "left" and "right" except that they will be reversed in right-to-left environments. - // Optional splitters may be specified on the edge widgets only to make them resizable by the user. - // - // example: - // | - // |
    - // |
    header text
    - // |
    table of contents
    - // |
    client area
    - // |
    - // - // design: String - // choose which design is used for the layout: "headline" (default) where the top and bottom extend - // the full width of the container, or "sidebar" where the left and right sides extend from top to bottom. - design: "headline", - - // liveSplitters: Boolean - // specifies whether splitters resize as you drag (true) or only upon mouseup (false) - liveSplitters: true, - - // persist: Boolean - // Save splitter positions in a cookie. - persist: false, // Boolean - - // _splitterClass: String - // Optional hook to override the default Splitter widget used by BorderContainer - _splitterClass: "dijit.layout._Splitter", - - postCreate: function(){ - this.inherited(arguments); - - this._splitters = {}; - this._splitterThickness = {}; - dojo.addClass(this.domNode, "dijitBorderContainer"); - }, - - startup: function(){ - if(this._started){ return; } - dojo.forEach(this.getChildren(), this._setupChild, this); - this.inherited(arguments); - }, - - _setupChild: function(/*Widget*/child){ - var region = child.region; - if(region){ -// dojo.addClass(child.domNode, "dijitBorderContainerPane"); - child.domNode.style.position = "absolute"; // bill says not to set this in CSS, since we can't keep others - // from destroying the class list - - var ltr = this.isLeftToRight(); - if(region == "leading"){ region = ltr ? "left" : "right"; } - if(region == "trailing"){ region = ltr ? "right" : "left"; } - - this["_"+region] = child.domNode; - this["_"+region+"Widget"] = child; - - if(child.splitter){ - var _Splitter = dojo.getObject(this._splitterClass); - var flip = {left:'right', right:'left', top:'bottom', bottom:'top', leading:'trailing', trailing:'leading'}; - var oppNodeList = dojo.query('[region=' + flip[child.region] + ']', this.domNode); - var splitter = new _Splitter({ container: this, child: child, region: region, - oppNode: oppNodeList[0], live: this.liveSplitters }); - this._splitters[region] = splitter.domNode; - dojo.place(splitter.domNode, child.domNode, "after"); - this._computeSplitterThickness(region); - } - child.region = region; - } - }, - - _computeSplitterThickness: function(region){ - var re = new RegExp("top|bottom"); - this._splitterThickness[region] = - dojo.marginBox(this._splitters[region])[(re.test(region) ? 'h' : 'w')]; - }, - - layout: function(){ - this._layoutChildren(); - }, - - addChild: function(/*Widget*/ child, /*Integer?*/ insertIndex){ - this.inherited(arguments); - this._setupChild(child); - if(this._started){ - this._layoutChildren(); //OPT - } - }, - - removeChild: function(/*Widget*/ child){ - var region = child.region; - var splitter = this._splitters[region]; - if(splitter){ - dijit.byNode(splitter).destroy(); - delete this._splitters[region]; - delete this._splitterThickness[region]; - } - this.inherited(arguments); - delete this["_"+region]; - delete this["_" +region+"Widget"]; - if(this._started){ - this._layoutChildren(child.region); - } - }, - - _layoutChildren: function(/*String?*/changedRegion){ - var sidebarLayout = (this.design == "sidebar"); - var topHeight = 0, bottomHeight = 0, leftWidth = 0, rightWidth = 0; - var topStyle = {}, leftStyle = {}, rightStyle = {}, bottomStyle = {}, - centerStyle = (this._center && this._center.style) || {}; - - var changedSide = /left|right/.test(changedRegion); - - var layoutSides = !changedRegion || (!changedSide && !sidebarLayout); - var layoutTopBottom = !changedRegion || (changedSide && sidebarLayout); - if(this._top){ - topStyle = layoutTopBottom && this._top.style; - topHeight = dojo.marginBox(this._top).h; - } - if(this._left){ - leftStyle = layoutSides && this._left.style; - leftWidth = dojo.marginBox(this._left).w; - } - if(this._right){ - rightStyle = layoutSides && this._right.style; - rightWidth = dojo.marginBox(this._right).w; - } - if(this._bottom){ - bottomStyle = layoutTopBottom && this._bottom.style; - bottomHeight = dojo.marginBox(this._bottom).h; - } - - var splitters = this._splitters; - var topSplitter = splitters.top; - var bottomSplitter = splitters.bottom; - var leftSplitter = splitters.left; - var rightSplitter = splitters.right; - var splitterThickness = this._splitterThickness; - var topSplitterThickness = splitterThickness.top || 0; - var leftSplitterThickness = splitterThickness.left || 0; - var rightSplitterThickness = splitterThickness.right || 0; - var bottomSplitterThickness = splitterThickness.bottom || 0; - - // Check for race condition where CSS hasn't finished loading, so - // the splitter width == the viewport width (#5824) - if(leftSplitterThickness > 50 || rightSplitterThickness > 50){ - setTimeout(dojo.hitch(this, function(){ - for(var region in this._splitters){ - this._computeSplitterThickness(region); - } - this._layoutChildren(); - }), 50); - return false; - } - - var splitterBounds = { - left: (sidebarLayout ? leftWidth + leftSplitterThickness: "0") + "px", - right: (sidebarLayout ? rightWidth + rightSplitterThickness: "0") + "px" - }; - - if(topSplitter){ - dojo.mixin(topSplitter.style, splitterBounds); - topSplitter.style.top = topHeight + "px"; - } - - if(bottomSplitter){ - dojo.mixin(bottomSplitter.style, splitterBounds); - bottomSplitter.style.bottom = bottomHeight + "px"; - } - - splitterBounds = { - top: (sidebarLayout ? "0" : topHeight + topSplitterThickness) + "px", - bottom: (sidebarLayout ? "0" : bottomHeight + bottomSplitterThickness) + "px" - }; - - if(leftSplitter){ - dojo.mixin(leftSplitter.style, splitterBounds); - leftSplitter.style.left = leftWidth + "px"; - } - - if(rightSplitter){ - dojo.mixin(rightSplitter.style, splitterBounds); - rightSplitter.style.right = rightWidth + "px"; - } - - dojo.mixin(centerStyle, { - top: topHeight + topSplitterThickness + "px", - left: leftWidth + leftSplitterThickness + "px", - right: rightWidth + rightSplitterThickness + "px", - bottom: bottomHeight + bottomSplitterThickness + "px" - }); - - var bounds = { - top: sidebarLayout ? "0" : centerStyle.top, - bottom: sidebarLayout ? "0" : centerStyle.bottom - }; - dojo.mixin(leftStyle, bounds); - dojo.mixin(rightStyle, bounds); - leftStyle.left = rightStyle.right = topStyle.top = bottomStyle.bottom = "0"; - if(sidebarLayout){ - topStyle.left = bottomStyle.left = leftWidth + (this.isLeftToRight() ? leftSplitterThickness : 0) + "px"; - topStyle.right = bottomStyle.right = rightWidth + (this.isLeftToRight() ? 0 : rightSplitterThickness) + "px"; - }else{ - topStyle.left = topStyle.right = bottomStyle.left = bottomStyle.right = "0"; - } - - // Nodes in IE respond to t/l/b/r, and TEXTAREA doesn't respond in any browser - var janky = dojo.isIE || dojo.some(this.getChildren(), function(child){ - return child.domNode.tagName == "TEXTAREA"; - }); - if(janky){ - // Set the size of the children the old fashioned way, by calling - // childNode.resize({h: int, w: int}) for each child node) - - var borderBox = function(n, b){ - n=dojo.byId(n); - var s = dojo.getComputedStyle(n); - if(!b){ return dojo._getBorderBox(n, s); } - var me = dojo._getMarginExtents(n, s); - dojo._setMarginBox(n, b.l, b.t, b.w + me.w, b.h + me.h, s); - return null; - }; - - var resizeWidget = function(widget, dim){ - if(widget){ - widget.resize ? widget.resize(dim) : dojo.marginBox(widget.domNode, dim); - } - }; - - // TODO: use dim passed in to resize() (see _LayoutWidget.js resize()) - // Then can make borderBox setBorderBox(), since no longer need to ever get the borderBox() size - var thisBorderBox = borderBox(this.domNode); - - var containerHeight = thisBorderBox.h; - var middleHeight = containerHeight; - if(this._top){ middleHeight -= topHeight; } - if(this._bottom){ middleHeight -= bottomHeight; } - if(topSplitter){ middleHeight -= topSplitterThickness; } - if(bottomSplitter){ middleHeight -= bottomSplitterThickness; } - var centerDim = { h: middleHeight }; - - var sidebarHeight = sidebarLayout ? containerHeight : middleHeight; - if(leftSplitter){ leftSplitter.style.height = sidebarHeight; } - if(rightSplitter){ rightSplitter.style.height = sidebarHeight; } - resizeWidget(this._leftWidget, {h: sidebarHeight}); - resizeWidget(this._rightWidget, {h: sidebarHeight}); - - var containerWidth = thisBorderBox.w; - var middleWidth = containerWidth; - if(this._left){ middleWidth -= leftWidth; } - if(this._right){ middleWidth -= rightWidth; } - if(leftSplitter){ middleWidth -= leftSplitterThickness; } - if(rightSplitter){ middleWidth -= rightSplitterThickness; } - centerDim.w = middleWidth; - - var sidebarWidth = sidebarLayout ? middleWidth : containerWidth; - if(topSplitter){ topSplitter.style.width = sidebarWidth; } - if(bottomSplitter){ bottomSplitter.style.width = sidebarWidth; } - resizeWidget(this._topWidget, {w: sidebarWidth}); - resizeWidget(this._bottomWidget, {w: sidebarWidth}); - - resizeWidget(this._centerWidget, centerDim); - }else{ - - // We've already sized the children by setting style.top/bottom/left/right... - // Now just need to call resize() on those children so they can re-layout themselves - - // TODO: calling child.resize() without an argument is bad, because it forces - // the child to query it's own size (even though this function already knows - // the size), plus which querying the size of a node right after setting it - // is known to cause problems (incorrect answer or an exception). - // This is a setback from older layout widgets, which - // don't do that. See #3399, #2678, #3624 and #2955, #1988 - - var resizeList = {}; - if(changedRegion){ - resizeList[changedRegion] = resizeList.center = true; - if(/top|bottom/.test(changedRegion) && this.design != "sidebar"){ - resizeList.left = resizeList.right = true; - }else if(/left|right/.test(changedRegion) && this.design == "sidebar"){ - resizeList.top = resizeList.bottom = true; - } - } - - dojo.forEach(this.getChildren(), function(child){ - if(child.resize && (!changedRegion || child.region in resizeList)){ - // console.log(this.id, ": resizing child id=" + child.id + " (region=" + child.region + "), style before resize is " + - // "{ t: " + child.domNode.style.top + - // ", b: " + child.domNode.style.bottom + - // ", l: " + child.domNode.style.left + - // ", r: " + child.domNode.style.right + - // ", w: " + child.domNode.style.width + - // ", h: " + child.domNode.style.height + - // "}" - // ); - child.resize(); - // console.log(this.id, ": after resize of child id=" + child.id + " (region=" + child.region + ") " + - // "{ t: " + child.domNode.style.top + - // ", b: " + child.domNode.style.bottom + - // ", l: " + child.domNode.style.left + - // ", r: " + child.domNode.style.right + - // ", w: " + child.domNode.style.width + - // ", h: " + child.domNode.style.height + - // "}" - // ); - } - }, this); - } - } -}); - -// This argument can be specified for the children of a BorderContainer. -// Since any widget can be specified as a LayoutContainer child, mix it -// into the base widget class. (This is a hack, but it's effective.) -dojo.extend(dijit._Widget, { - // region: String - // "top", "bottom", "leading", "trailing", "left", "right", "center". - // See the BorderContainer description for details on this parameter. - region: '', - - // splitter: Boolean - splitter: false, - - // minSize: Number - minSize: 0, - - // maxSize: Number - maxSize: Infinity -}); - -dojo.require("dijit._Templated"); - -dojo.declare("dijit.layout._Splitter", [ dijit._Widget, dijit._Templated ], -{ -/*===== - container: null, - child: null, - region: null, -=====*/ - - // live: Boolean - // If true, the child's size changes and the child widget is redrawn as you drag the splitter; - // otherwise, the size doesn't change until you drop the splitter (by mouse-up) - live: true, - - // summary: A draggable spacer between two items in a BorderContainer - templateString: '
    ', - - postCreate: function(){ - this.inherited(arguments); - this.horizontal = /top|bottom/.test(this.region); - dojo.addClass(this.domNode, "dijitSplitter" + (this.horizontal ? "H" : "V")); -// dojo.addClass(this.child.domNode, "dijitSplitterPane"); -// dojo.setSelectable(this.domNode, false); //TODO is this necessary? - - this._factor = /top|left/.test(this.region) ? 1 : -1; - this._minSize = this.child.minSize; - - this._computeMaxSize(); - //TODO: might be more accurate to recompute constraints on resize? - this.connect(this.container, "layout", dojo.hitch(this, this._computeMaxSize)); - - this._cookieName = this.container.id + "_" + this.region; - if(this.container.persist){ - // restore old size - var persistSize = dojo.cookie(this._cookieName); - if(persistSize){ - this.child.domNode.style[this.horizontal ? "height" : "width"] = persistSize; - } - } - }, - - _computeMaxSize: function(){ - var dim = this.horizontal ? 'h' : 'w'; - var available = dojo.contentBox(this.container.domNode)[dim] - (this.oppNode ? dojo.marginBox(this.oppNode)[dim] : 0); - this._maxSize = Math.min(this.child.maxSize, available); - }, - - _startDrag: function(e){ - if(!this.cover){ - this.cover = dojo.doc.createElement('div'); - dojo.addClass(this.cover, "dijitSplitterCover"); - dojo.place(this.cover, this.child.domNode, "after"); - }else{ - this.cover.style.zIndex = 1; - } - - // Safeguard in case the stop event was missed. Shouldn't be necessary if we always get the mouse up. - if(this.fake){ dojo._destroyElement(this.fake); } - if(!(this._resize = this.live)){ //TODO: disable live for IE6? - // create fake splitter to display at old position while we drag - (this.fake = this.domNode.cloneNode(true)).removeAttribute("id"); - dojo.addClass(this.domNode, "dijitSplitterShadow"); - dojo.place(this.fake, this.domNode, "after"); - } - dojo.addClass(this.domNode, "dijitSplitterActive"); - - //Performance: load data info local vars for onmousevent function closure - var factor = this._factor, - max = this._maxSize, - min = this._minSize || 10; - var axis = this.horizontal ? "pageY" : "pageX"; - var pageStart = e[axis]; - var splitterStyle = this.domNode.style; - var dim = this.horizontal ? 'h' : 'w'; - var childStart = dojo.marginBox(this.child.domNode)[dim]; - var splitterStart = parseInt(this.domNode.style[this.region]); - var resize = this._resize; - var region = this.region; - var mb = {}; - var childNode = this.child.domNode; - var layoutFunc = dojo.hitch(this.container, this.container._layoutChildren); - - var de = dojo.doc.body; - this._handlers = (this._handlers || []).concat([ - dojo.connect(de, "onmousemove", this._drag = function(e, forceResize){ - var delta = e[axis] - pageStart, - childSize = factor * delta + childStart, - boundChildSize = Math.max(Math.min(childSize, max), min); - - if(resize || forceResize){ - mb[dim] = boundChildSize; - // TODO: inefficient; we set the marginBox here and then immediately layoutFunc() needs to query it - dojo.marginBox(childNode, mb); - layoutFunc(region); - } - splitterStyle[region] = factor * delta + splitterStart + (boundChildSize - childSize) + "px"; - }), - dojo.connect(de, "onmouseup", this, "_stopDrag") - ]); - dojo.stopEvent(e); - }, - - _stopDrag: function(e){ - try{ - if(this.cover){ this.cover.style.zIndex = -1; } - if(this.fake){ dojo._destroyElement(this.fake); } - dojo.removeClass(this.domNode, "dijitSplitterActive"); - dojo.removeClass(this.domNode, "dijitSplitterShadow"); - this._drag(e); //TODO: redundant with onmousemove? - this._drag(e, true); - }finally{ - this._cleanupHandlers(); - delete this._drag; - } - - if(this.container.persist){ - dojo.cookie(this._cookieName, this.child.domNode.style[this.horizontal ? "height" : "width"]); - } - }, - - _cleanupHandlers: function(){ - dojo.forEach(this._handlers, dojo.disconnect); - delete this._handlers; - }, - - _onKeyPress: function(/*Event*/ e){ - // should we apply typematic to this? - this._resize = true; - var horizontal = this.horizontal; - var tick = 1; - var dk = dojo.keys; - switch(e.keyCode){ - case horizontal ? dk.UP_ARROW : dk.LEFT_ARROW: - tick *= -1; - break; - case horizontal ? dk.DOWN_ARROW : dk.RIGHT_ARROW: - break; - default: -// this.inherited(arguments); - return; - } - var childSize = dojo.marginBox(this.child.domNode)[ horizontal ? 'h' : 'w' ] + this._factor * tick; - var mb = {}; - mb[ this.horizontal ? "h" : "w"] = Math.max(Math.min(childSize, this._maxSize), this._minSize); - dojo.marginBox(this.child.domNode, mb); - this.container._layoutChildren(this.region); - dojo.stopEvent(e); - }, - - destroy: function(){ - this._cleanupHandlers(); - delete this.child; - delete this.container; - delete this.fake; - this.inherited(arguments); - } -}); - -} diff --git a/includes/js/dijit/layout/ContentPane.js b/includes/js/dijit/layout/ContentPane.js deleted file mode 100644 index c3a4ca4..0000000 --- a/includes/js/dijit/layout/ContentPane.js +++ /dev/null @@ -1,445 +0,0 @@ -if(!dojo._hasResource["dijit.layout.ContentPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.ContentPane"] = true; -dojo.provide("dijit.layout.ContentPane"); - -dojo.require("dijit._Widget"); -dojo.require("dijit.layout._LayoutWidget"); - -dojo.require("dojo.parser"); -dojo.require("dojo.string"); -dojo.requireLocalization("dijit", "loading", null, "zh,pt,da,tr,ru,ROOT,de,sv,ja,he,fi,nb,el,ar,pt-pt,cs,fr,es,ko,nl,zh-tw,pl,it,hu"); - -dojo.declare( - "dijit.layout.ContentPane", - dijit._Widget, -{ - // summary: - // A widget that acts as a Container for other widgets, and includes a ajax interface - // description: - // A widget that can be used as a standalone widget - // or as a baseclass for other widgets - // Handles replacement of document fragment using either external uri or javascript - // generated markup or DOM content, instantiating widgets within that content. - // Don't confuse it with an iframe, it only needs/wants document fragments. - // It's useful as a child of LayoutContainer, SplitContainer, or TabContainer. - // But note that those classes can contain any widget as a child. - // example: - // Some quick samples: - // To change the innerHTML use .setContent('new content') - // - // Or you can send it a NodeList, .setContent(dojo.query('div [class=selected]', userSelection)) - // please note that the nodes in NodeList will copied, not moved - // - // To do a ajax update use .setHref('url') - // - // href: String - // The href of the content that displays now. - // Set this at construction if you want to load data externally when the - // pane is shown. (Set preload=true to load it immediately.) - // Changing href after creation doesn't have any effect; see setHref(); - href: "", - - // extractContent: Boolean - // Extract visible content from inside of .... - extractContent: false, - - // parseOnLoad: Boolean - // parse content and create the widgets, if any - parseOnLoad: true, - - // preventCache: Boolean - // Cache content retreived externally - preventCache: false, - - // preload: Boolean - // Force load of data even if pane is hidden. - preload: false, - - // refreshOnShow: Boolean - // Refresh (re-download) content when pane goes from hidden to shown - refreshOnShow: false, - - // loadingMessage: String - // Message that shows while downloading - loadingMessage: "${loadingState}", - - // errorMessage: String - // Message that shows if an error occurs - errorMessage: "${errorState}", - - // isLoaded: Boolean - // Tells loading status see onLoad|onUnload for event hooks - isLoaded: false, - - // class: String - // Class name to apply to ContentPane dom nodes - // TODO: this should be called "baseClass" like in the other widgets - "class": "dijitContentPane", - - // doLayout: String/Boolean - // false - don't adjust size of children - // true - looks for the first sizable child widget (ie, having resize() method) and sets it's size to - // however big the ContentPane is (TODO: implement) - // auto - if there is a single sizable child widget (ie, having resize() method), set it's size to - // however big the ContentPane is - doLayout: "auto", - - postCreate: function(){ - // remove the title attribute so it doesn't show up when i hover - // over a node - this.domNode.title = ""; - - if(!this.containerNode){ - // make getDescendants() work - this.containerNode = this.domNode; - } - - if(this.preload){ - this._loadCheck(); - } - - var messages = dojo.i18n.getLocalization("dijit", "loading", this.lang); - this.loadingMessage = dojo.string.substitute(this.loadingMessage, messages); - this.errorMessage = dojo.string.substitute(this.errorMessage, messages); - var curRole = dijit.getWaiRole(this.domNode); - if (!curRole){ - dijit.setWaiRole(this.domNode, "group"); - } - - // for programatically created ContentPane (with tag), need to muck w/CSS - // or it's as though overflow:visible is set - dojo.addClass(this.domNode, this["class"]); - }, - - startup: function(){ - if(this._started){ return; } - if(this.doLayout != "false" && this.doLayout !== false){ - this._checkIfSingleChild(); - if(this._singleChild){ - this._singleChild.startup(); - } - } - this._loadCheck(); - this.inherited(arguments); - }, - - _checkIfSingleChild: function(){ - // summary: - // Test if we have exactly one widget as a child, and if so assume that we are a container for that widget, - // and should propogate startup() and resize() calls to it. - - // TODO: if there are two child widgets (a data store and a TabContainer, for example), - // should still find the TabContainer - var childNodes = dojo.query(">", this.containerNode || this.domNode), - childWidgets = childNodes.filter("[widgetId]"); - - if(childNodes.length == 1 && childWidgets.length == 1){ - this.isContainer = true; - this._singleChild = dijit.byNode(childWidgets[0]); - }else{ - delete this.isContainer; - delete this._singleChild; - } - }, - - refresh: function(){ - // summary: - // Force a refresh (re-download) of content, be sure to turn off cache - - // we return result of _prepareLoad here to avoid code dup. in dojox.layout.ContentPane - return this._prepareLoad(true); - }, - - setHref: function(/*String|Uri*/ href){ - // summary: - // Reset the (external defined) content of this pane and replace with new url - // Note: It delays the download until widget is shown if preload is false - // href: - // url to the page you want to get, must be within the same domain as your mainpage - this.href = href; - - // we return result of _prepareLoad here to avoid code dup. in dojox.layout.ContentPane - return this._prepareLoad(); - }, - - setContent: function(/*String|DomNode|Nodelist*/data){ - // summary: - // Replaces old content with data content, include style classes from old content - // data: - // the new Content may be String, DomNode or NodeList - // - // if data is a NodeList (or an array of nodes) nodes are copied - // so you can import nodes from another document implicitly - - // clear href so we cant run refresh and clear content - // refresh should only work if we downloaded the content - if(!this._isDownloaded){ - this.href = ""; - this._onUnloadHandler(); - } - - this._setContent(data || ""); - - this._isDownloaded = false; // must be set after _setContent(..), pathadjust in dojox.layout.ContentPane - - if(this.parseOnLoad){ - this._createSubWidgets(); - } - - if(this.doLayout != "false" && this.doLayout !== false){ - this._checkIfSingleChild(); - if(this._singleChild && this._singleChild.resize){ - this._singleChild.startup(); - this._singleChild.resize(this._contentBox || dojo.contentBox(this.containerNode || this.domNode)); - } - } - - this._onLoadHandler(); - }, - - cancel: function(){ - // summary: - // Cancels a inflight download of content - if(this._xhrDfd && (this._xhrDfd.fired == -1)){ - this._xhrDfd.cancel(); - } - delete this._xhrDfd; // garbage collect - }, - - destroy: function(){ - // if we have multiple controllers destroying us, bail after the first - if(this._beingDestroyed){ - return; - } - // make sure we call onUnload - this._onUnloadHandler(); - this._beingDestroyed = true; - this.inherited("destroy",arguments); - }, - - resize: function(size){ - dojo.marginBox(this.domNode, size); - - // Compute content box size in case we [later] need to size child - // If either height or width wasn't specified by the user, then query node for it. - // But note that setting the margin box and then immediately querying dimensions may return - // inaccurate results, so try not to depend on it. - var node = this.containerNode || this.domNode, - mb = dojo.mixin(dojo.marginBox(node), size||{}); - - this._contentBox = dijit.layout.marginBox2contentBox(node, mb); - - // If we have a single widget child then size it to fit snugly within my borders - if(this._singleChild && this._singleChild.resize){ - this._singleChild.resize(this._contentBox); - } - }, - - _prepareLoad: function(forceLoad){ - // sets up for a xhrLoad, load is deferred until widget onShow - // cancels a inflight download - this.cancel(); - this.isLoaded = false; - this._loadCheck(forceLoad); - }, - - _isShown: function(){ - // summary: returns true if the content is currently shown - if("open" in this){ - return this.open; // for TitlePane, etc. - }else{ - var node = this.domNode; - return (node.style.display != 'none') && (node.style.visibility != 'hidden'); - } - }, - - _loadCheck: function(/*Boolean*/ forceLoad){ - // call this when you change onShow (onSelected) status when selected in parent container - // it's used as a trigger for href download when this.domNode.display != 'none' - - // sequence: - // if no href -> bail - // forceLoad -> always load - // this.preload -> load when download not in progress, domNode display doesn't matter - // this.refreshOnShow -> load when download in progress bails, domNode display !='none' AND - // this.open !== false (undefined is ok), isLoaded doesn't matter - // else -> load when download not in progress, if this.open !== false (undefined is ok) AND - // domNode display != 'none', isLoaded must be false - - var displayState = this._isShown(); - - if(this.href && - (forceLoad || - (this.preload && !this._xhrDfd) || - (this.refreshOnShow && displayState && !this._xhrDfd) || - (!this.isLoaded && displayState && !this._xhrDfd) - ) - ){ - this._downloadExternalContent(); - } - }, - - _downloadExternalContent: function(){ - this._onUnloadHandler(); - - // display loading message - this._setContent( - this.onDownloadStart.call(this) - ); - - var self = this; - var getArgs = { - preventCache: (this.preventCache || this.refreshOnShow), - url: this.href, - handleAs: "text" - }; - if(dojo.isObject(this.ioArgs)){ - dojo.mixin(getArgs, this.ioArgs); - } - - var hand = this._xhrDfd = (this.ioMethod || dojo.xhrGet)(getArgs); - - hand.addCallback(function(html){ - try{ - self.onDownloadEnd.call(self); - self._isDownloaded = true; - self.setContent.call(self, html); // onload event is called from here - }catch(err){ - self._onError.call(self, 'Content', err); // onContentError - } - delete self._xhrDfd; - return html; - }); - - hand.addErrback(function(err){ - if(!hand.cancelled){ - // show error message in the pane - self._onError.call(self, 'Download', err); // onDownloadError - } - delete self._xhrDfd; - return err; - }); - }, - - _onLoadHandler: function(){ - this.isLoaded = true; - try{ - this.onLoad.call(this); - }catch(e){ - console.error('Error '+this.widgetId+' running custom onLoad code'); - } - }, - - _onUnloadHandler: function(){ - this.isLoaded = false; - this.cancel(); - try{ - this.onUnload.call(this); - }catch(e){ - console.error('Error '+this.widgetId+' running custom onUnload code'); - } - }, - - _setContent: function(cont){ - this.destroyDescendants(); - - try{ - var node = this.containerNode || this.domNode; - while(node.firstChild){ - dojo._destroyElement(node.firstChild); - } - if(typeof cont == "string"){ - // dijit.ContentPane does only minimal fixes, - // No pathAdjustments, script retrieval, style clean etc - // some of these should be available in the dojox.layout.ContentPane - if(this.extractContent){ - match = cont.match(/]*>\s*([\s\S]+)\s*<\/body>/im); - if(match){ cont = match[1]; } - } - node.innerHTML = cont; - }else{ - // domNode or NodeList - if(cont.nodeType){ // domNode (htmlNode 1 or textNode 3) - node.appendChild(cont); - }else{// nodelist or array such as dojo.Nodelist - dojo.forEach(cont, function(n){ - node.appendChild(n.cloneNode(true)); - }); - } - } - }catch(e){ - // check if a domfault occurs when we are appending this.errorMessage - // like for instance if domNode is a UL and we try append a DIV - var errMess = this.onContentError(e); - try{ - node.innerHTML = errMess; - }catch(e){ - console.error('Fatal '+this.id+' could not change content due to '+e.message, e); - } - } - }, - - _onError: function(type, err, consoleText){ - // shows user the string that is returned by on[type]Error - // overide on[type]Error and return your own string to customize - var errText = this['on' + type + 'Error'].call(this, err); - if(consoleText){ - console.error(consoleText, err); - }else if(errText){// a empty string won't change current content - this._setContent.call(this, errText); - } - }, - - _createSubWidgets: function(){ - // summary: scan my contents and create subwidgets - var rootNode = this.containerNode || this.domNode; - try{ - dojo.parser.parse(rootNode, true); - }catch(e){ - this._onError('Content', e, "Couldn't create widgets in "+this.id - +(this.href ? " from "+this.href : "")); - } - }, - - // EVENT's, should be overide-able - onLoad: function(e){ - // summary: - // Event hook, is called after everything is loaded and widgetified - }, - - onUnload: function(e){ - // summary: - // Event hook, is called before old content is cleared - }, - - onDownloadStart: function(){ - // summary: - // called before download starts - // the string returned by this function will be the html - // that tells the user we are loading something - // override with your own function if you want to change text - return this.loadingMessage; - }, - - onContentError: function(/*Error*/ error){ - // summary: - // called on DOM faults, require fault etc in content - // default is to display errormessage inside pane - }, - - onDownloadError: function(/*Error*/ error){ - // summary: - // Called when download error occurs, default is to display - // errormessage inside pane. Overide function to change that. - // The string returned by this function will be the html - // that tells the user a error happend - return this.errorMessage; - }, - - onDownloadEnd: function(){ - // summary: - // called when download is finished - } -}); - -} diff --git a/includes/js/dijit/layout/LayoutContainer.js b/includes/js/dijit/layout/LayoutContainer.js deleted file mode 100644 index 11b8c9f..0000000 --- a/includes/js/dijit/layout/LayoutContainer.js +++ /dev/null @@ -1,74 +0,0 @@ -if(!dojo._hasResource["dijit.layout.LayoutContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.LayoutContainer"] = true; -dojo.provide("dijit.layout.LayoutContainer"); - -dojo.require("dijit.layout._LayoutWidget"); - -dojo.declare("dijit.layout.LayoutContainer", - dijit.layout._LayoutWidget, - { - // summary: - // Provides Delphi-style panel layout semantics. - // - // description: - // A LayoutContainer is a box with a specified size (like style="width: 500px; height: 500px;"), - // that contains children widgets marked with "layoutAlign" of "left", "right", "bottom", "top", and "client". - // It takes it's children marked as left/top/bottom/right, and lays them out along the edges of the box, - // and then it takes the child marked "client" and puts it into the remaining space in the middle. - // - // Left/right positioning is similar to CSS's "float: left" and "float: right", - // and top/bottom positioning would be similar to "float: top" and "float: bottom", if there were such - // CSS. - // - // Note that there can only be one client element, but there can be multiple left, right, top, - // or bottom elements. - // - // example: - // | - // |
    - // |
    header text
    - // |
    table of contents
    - // |
    client area
    - // |
    - // | - // | Lays out each child in the natural order the children occur in. - // | Basically each child is laid out into the "remaining space", where "remaining space" is initially - // | the content area of this widget, but is reduced to a smaller rectangle each time a child is added. - // - - constructor: function(){ - dojo.deprecated("dijit.layout.LayoutContainer is deprecated", "use BorderContainer instead", 2.0); - }, - - layout: function(){ - dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren()); - }, - - addChild: function(/*Widget*/ child, /*Integer?*/ insertIndex){ - dijit._Container.prototype.addChild.apply(this, arguments); - if(this._started){ - dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren()); - } - }, - - removeChild: function(/*Widget*/ widget){ - dijit._Container.prototype.removeChild.apply(this, arguments); - if(this._started){ - dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren()); - } - } -}); - -// This argument can be specified for the children of a LayoutContainer. -// Since any widget can be specified as a LayoutContainer child, mix it -// into the base widget class. (This is a hack, but it's effective.) -dojo.extend(dijit._Widget, { - // layoutAlign: String - // "none", "left", "right", "bottom", "top", and "client". - // See the LayoutContainer description for details on this parameter. - layoutAlign: 'none' -}); - -} diff --git a/includes/js/dijit/layout/LinkPane.js b/includes/js/dijit/layout/LinkPane.js deleted file mode 100644 index cddaaee..0000000 --- a/includes/js/dijit/layout/LinkPane.js +++ /dev/null @@ -1,36 +0,0 @@ -if(!dojo._hasResource["dijit.layout.LinkPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.LinkPane"] = true; -dojo.provide("dijit.layout.LinkPane"); - -dojo.require("dijit.layout.ContentPane"); -dojo.require("dijit._Templated"); - -dojo.declare("dijit.layout.LinkPane", - [dijit.layout.ContentPane, dijit._Templated], - { - // summary: - // A ContentPane that loads data remotely - // description: - // LinkPane is just a ContentPane that loads data remotely (via the href attribute), - // and has markup similar to an anchor. The anchor's body (the words between `
    ` and ``) - // become the title of the widget (used for TabContainer, AccordionContainer, etc.) - // example: - // my title - - // I'm using a template because the user may specify the input as - // title, in which case we need to get rid of the - // because we don't want a link. - templateString: '
    ', - - postCreate: function(){ - - // If user has specified node contents, they become the title - // (the link must be plain text) - if(this.srcNodeRef){ - this.title += this.srcNodeRef.innerHTML; - } - this.inherited("postCreate",arguments); - } -}); - -} diff --git a/includes/js/dijit/layout/SplitContainer.js b/includes/js/dijit/layout/SplitContainer.js deleted file mode 100644 index 671d1fc..0000000 --- a/includes/js/dijit/layout/SplitContainer.js +++ /dev/null @@ -1,553 +0,0 @@ -if(!dojo._hasResource["dijit.layout.SplitContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.SplitContainer"] = true; -dojo.provide("dijit.layout.SplitContainer"); - -// -// FIXME: make it prettier -// FIXME: active dragging upwards doesn't always shift other bars (direction calculation is wrong in this case) -// - -dojo.require("dojo.cookie"); -dojo.require("dijit.layout._LayoutWidget"); - -dojo.declare("dijit.layout.SplitContainer", - dijit.layout._LayoutWidget, - { - // summary: - // A Container widget with sizing handles in-between each child - // description: - // Contains multiple children widgets, all of which are displayed side by side - // (either horizontally or vertically); there's a bar between each of the children, - // and you can adjust the relative size of each child by dragging the bars. - // - // You must specify a size (width and height) for the SplitContainer. - - constructor: function(){ - dojo.deprecated("dijit.layout.SplitContainer is deprecated", "use BorderContainer with splitter instead", 2.0); - }, - - // activeSizing: Boolean - // If true, the children's size changes as you drag the bar; - // otherwise, the sizes don't change until you drop the bar (by mouse-up) - activeSizing: false, - - // sizerWidth: Integer - // Size in pixels of the bar between each child - sizerWidth: 7, // FIXME: this should be a CSS attribute (at 7 because css wants it to be 7 until we fix to css) - - // orientation: String - // either 'horizontal' or vertical; indicates whether the children are - // arranged side-by-side or up/down. - orientation: 'horizontal', - - // persist: Boolean - // Save splitter positions in a cookie - persist: true, - - postMixInProperties: function(){ - this.inherited("postMixInProperties",arguments); - this.isHorizontal = (this.orientation == 'horizontal'); - }, - - postCreate: function(){ - this.inherited("postCreate",arguments); - this.sizers = []; - dojo.addClass(this.domNode, "dijitSplitContainer"); - // overflow has to be explicitly hidden for splitContainers using gekko (trac #1435) - // to keep other combined css classes from inadvertantly making the overflow visible - if(dojo.isMozilla){ - this.domNode.style.overflow = '-moz-scrollbars-none'; // hidden doesn't work - } - - // create the fake dragger - if(typeof this.sizerWidth == "object"){ - try{ //FIXME: do this without a try/catch - this.sizerWidth = parseInt(this.sizerWidth.toString()); - }catch(e){ this.sizerWidth = 7; } - } - var sizer = this.virtualSizer = dojo.doc.createElement('div'); - sizer.style.position = 'relative'; - - // #1681: work around the dreaded 'quirky percentages in IE' layout bug - // If the splitcontainer's dimensions are specified in percentages, it - // will be resized when the virtualsizer is displayed in _showSizingLine - // (typically expanding its bounds unnecessarily). This happens because - // we use position: relative for .dijitSplitContainer. - // The workaround: instead of changing the display style attribute, - // switch to changing the zIndex (bring to front/move to back) - - sizer.style.zIndex = 10; - sizer.className = this.isHorizontal ? 'dijitSplitContainerVirtualSizerH' : 'dijitSplitContainerVirtualSizerV'; - this.domNode.appendChild(sizer); - dojo.setSelectable(sizer, false); - }, - - destroy: function(){ - delete this.virtualSizer; - dojo.forEach(this._ownconnects, dojo.disconnect); - this.inherited(arguments); - }, - startup: function(){ - if(this._started){ return; } - - dojo.forEach(this.getChildren(), function(child, i, children){ - // attach the children and create the draggers - this._injectChild(child); - - if(i < children.length-1){ - this._addSizer(); - } - }, this); - - if(this.persist){ - this._restoreState(); - } - - this.inherited(arguments); - }, - - _injectChild: function(child){ - child.domNode.style.position = "absolute"; - dojo.addClass(child.domNode, "dijitSplitPane"); - }, - - _addSizer: function(){ - var i = this.sizers.length; - - // TODO: use a template for this!!! - var sizer = this.sizers[i] = dojo.doc.createElement('div'); - this.domNode.appendChild(sizer); - - sizer.className = this.isHorizontal ? 'dijitSplitContainerSizerH' : 'dijitSplitContainerSizerV'; - - // add the thumb div - var thumb = dojo.doc.createElement('div'); - thumb.className = 'thumb'; - sizer.appendChild(thumb); - - // FIXME: are you serious? why aren't we using mover start/stop combo? - var self = this; - var handler = (function(){ var sizer_i = i; return function(e){ self.beginSizing(e, sizer_i); } })(); - this.connect(sizer, "onmousedown", handler); - - dojo.setSelectable(sizer, false); - }, - - removeChild: function(widget){ - // summary: Remove sizer, but only if widget is really our child and - // we have at least one sizer to throw away - if(this.sizers.length){ - var i=dojo.indexOf(this.getChildren(), widget) - if(i != -1){ - if(i==this.sizers.length){ - i--; - } - dojo._destroyElement(this.sizers[i]); - this.sizers.splice(i,1); - } - } - - // Remove widget and repaint - this.inherited(arguments); - if(this._started){ - this.layout(); - } - }, - - addChild: function(/*Widget*/ child, /*Integer?*/ insertIndex){ - // summary: Add a child widget to the container - // child: a widget to add - // insertIndex: postion in the "stack" to add the child widget - - this.inherited("addChild",arguments); - - if(this._started){ - // Do the stuff that startup() does for each widget - this._injectChild(child); - var children = this.getChildren(); - if(children.length > 1){ - this._addSizer(); - } - - // and then reposition (ie, shrink) every pane to make room for the new guy - this.layout(); - } - }, - - layout: function(){ - // summary: - // Do layout of panels - - // base class defines this._contentBox on initial creation and also - // on resize - this.paneWidth = this._contentBox.w; - this.paneHeight = this._contentBox.h; - - var children = this.getChildren(); - if(!children.length){ return; } - - // - // calculate space - // - - var space = this.isHorizontal ? this.paneWidth : this.paneHeight; - if(children.length > 1){ - space -= this.sizerWidth * (children.length - 1); - } - - // - // calculate total of SizeShare values - // - var outOf = 0; - dojo.forEach(children, function(child){ - outOf += child.sizeShare; - }); - - // - // work out actual pixels per sizeshare unit - // - var pixPerUnit = space / outOf; - - // - // set the SizeActual member of each pane - // - var totalSize = 0; - dojo.forEach(children.slice(0, children.length - 1), function(child){ - var size = Math.round(pixPerUnit * child.sizeShare); - child.sizeActual = size; - totalSize += size; - }); - - children[children.length-1].sizeActual = space - totalSize; - - // - // make sure the sizes are ok - // - this._checkSizes(); - - // - // now loop, positioning each pane and letting children resize themselves - // - - var pos = 0; - var size = children[0].sizeActual; - this._movePanel(children[0], pos, size); - children[0].position = pos; - pos += size; - - // if we don't have any sizers, our layout method hasn't been called yet - // so bail until we are called..TODO: REVISIT: need to change the startup - // algorithm to guaranteed the ordering of calls to layout method - if(!this.sizers){ - return; - } - - dojo.some(children.slice(1), function(child, i){ - // error-checking - if(!this.sizers[i]){ - return true; - } - // first we position the sizing handle before this pane - this._moveSlider(this.sizers[i], pos, this.sizerWidth); - this.sizers[i].position = pos; - pos += this.sizerWidth; - - size = child.sizeActual; - this._movePanel(child, pos, size); - child.position = pos; - pos += size; - }, this); - }, - - _movePanel: function(panel, pos, size){ - if(this.isHorizontal){ - panel.domNode.style.left = pos + 'px'; // TODO: resize() takes l and t parameters too, don't need to set manually - panel.domNode.style.top = 0; - var box = {w: size, h: this.paneHeight}; - if(panel.resize){ - panel.resize(box); - }else{ - dojo.marginBox(panel.domNode, box); - } - }else{ - panel.domNode.style.left = 0; // TODO: resize() takes l and t parameters too, don't need to set manually - panel.domNode.style.top = pos + 'px'; - var box = {w: this.paneWidth, h: size}; - if(panel.resize){ - panel.resize(box); - }else{ - dojo.marginBox(panel.domNode, box); - } - } - }, - - _moveSlider: function(slider, pos, size){ - if(this.isHorizontal){ - slider.style.left = pos + 'px'; - slider.style.top = 0; - dojo.marginBox(slider, { w: size, h: this.paneHeight }); - }else{ - slider.style.left = 0; - slider.style.top = pos + 'px'; - dojo.marginBox(slider, { w: this.paneWidth, h: size }); - } - }, - - _growPane: function(growth, pane){ - if(growth > 0){ - if(pane.sizeActual > pane.sizeMin){ - if((pane.sizeActual - pane.sizeMin) > growth){ - - // stick all the growth in this pane - pane.sizeActual = pane.sizeActual - growth; - growth = 0; - }else{ - // put as much growth in here as we can - growth -= pane.sizeActual - pane.sizeMin; - pane.sizeActual = pane.sizeMin; - } - } - } - return growth; - }, - - _checkSizes: function(){ - - var totalMinSize = 0; - var totalSize = 0; - var children = this.getChildren(); - - dojo.forEach(children, function(child){ - totalSize += child.sizeActual; - totalMinSize += child.sizeMin; - }); - - // only make adjustments if we have enough space for all the minimums - - if(totalMinSize <= totalSize){ - - var growth = 0; - - dojo.forEach(children, function(child){ - if(child.sizeActual < child.sizeMin){ - growth += child.sizeMin - child.sizeActual; - child.sizeActual = child.sizeMin; - } - }); - - if(growth > 0){ - var list = this.isDraggingLeft ? children.reverse() : children; - dojo.forEach(list, function(child){ - growth = this._growPane(growth, child); - }, this); - } - }else{ - dojo.forEach(children, function(child){ - child.sizeActual = Math.round(totalSize * (child.sizeMin / totalMinSize)); - }); - } - }, - - beginSizing: function(e, i){ - var children = this.getChildren(); - this.paneBefore = children[i]; - this.paneAfter = children[i+1]; - - this.isSizing = true; - this.sizingSplitter = this.sizers[i]; - - if(!this.cover){ - this.cover = dojo.doc.createElement('div'); - this.domNode.appendChild(this.cover); - var s = this.cover.style; - s.position = 'absolute'; - s.zIndex = 1; - s.top = 0; - s.left = 0; - s.width = "100%"; - s.height = "100%"; - }else{ - this.cover.style.zIndex = 1; - } - this.sizingSplitter.style.zIndex = 2; - - // TODO: REVISIT - we want MARGIN_BOX and core hasn't exposed that yet (but can't we use it anyway if we pay attention? we do elsewhere.) - this.originPos = dojo.coords(children[0].domNode, true); - if(this.isHorizontal){ - var client = (e.layerX ? e.layerX : e.offsetX); - var screen = e.pageX; - this.originPos = this.originPos.x; - }else{ - var client = (e.layerY ? e.layerY : e.offsetY); - var screen = e.pageY; - this.originPos = this.originPos.y; - } - this.startPoint = this.lastPoint = screen; - this.screenToClientOffset = screen - client; - this.dragOffset = this.lastPoint - this.paneBefore.sizeActual - this.originPos - this.paneBefore.position; - - if(!this.activeSizing){ - this._showSizingLine(); - } - - // - // attach mouse events - // - this._ownconnects = []; - this._ownconnects.push(dojo.connect(dojo.doc.documentElement, "onmousemove", this, "changeSizing")); - this._ownconnects.push(dojo.connect(dojo.doc.documentElement, "onmouseup", this, "endSizing")); - - dojo.stopEvent(e); - }, - - changeSizing: function(e){ - if(!this.isSizing){ return; } - this.lastPoint = this.isHorizontal ? e.pageX : e.pageY; - this.movePoint(); - if(this.activeSizing){ - this._updateSize(); - }else{ - this._moveSizingLine(); - } - dojo.stopEvent(e); - }, - - endSizing: function(e){ - if(!this.isSizing){ return; } - if(this.cover){ - this.cover.style.zIndex = -1; - } - if(!this.activeSizing){ - this._hideSizingLine(); - } - - this._updateSize(); - - this.isSizing = false; - - if(this.persist){ - this._saveState(this); - } - - dojo.forEach(this._ownconnects,dojo.disconnect); - }, - - movePoint: function(){ - - // make sure lastPoint is a legal point to drag to - var p = this.lastPoint - this.screenToClientOffset; - - var a = p - this.dragOffset; - a = this.legaliseSplitPoint(a); - p = a + this.dragOffset; - - this.lastPoint = p + this.screenToClientOffset; - }, - - legaliseSplitPoint: function(a){ - - a += this.sizingSplitter.position; - - this.isDraggingLeft = !!(a > 0); - - if(!this.activeSizing){ - var min = this.paneBefore.position + this.paneBefore.sizeMin; - if(a < min){ - a = min; - } - - var max = this.paneAfter.position + (this.paneAfter.sizeActual - (this.sizerWidth + this.paneAfter.sizeMin)); - if(a > max){ - a = max; - } - } - - a -= this.sizingSplitter.position; - - this._checkSizes(); - - return a; - }, - - _updateSize: function(){ - //FIXME: sometimes this.lastPoint is NaN - var pos = this.lastPoint - this.dragOffset - this.originPos; - - var start_region = this.paneBefore.position; - var end_region = this.paneAfter.position + this.paneAfter.sizeActual; - - this.paneBefore.sizeActual = pos - start_region; - this.paneAfter.position = pos + this.sizerWidth; - this.paneAfter.sizeActual = end_region - this.paneAfter.position; - - dojo.forEach(this.getChildren(), function(child){ - child.sizeShare = child.sizeActual; - }); - - if(this._started){ - this.layout(); - } - }, - - _showSizingLine: function(){ - - this._moveSizingLine(); - - dojo.marginBox(this.virtualSizer, - this.isHorizontal ? { w: this.sizerWidth, h: this.paneHeight } : { w: this.paneWidth, h: this.sizerWidth }); - - this.virtualSizer.style.display = 'block'; - }, - - _hideSizingLine: function(){ - this.virtualSizer.style.display = 'none'; - }, - - _moveSizingLine: function(){ - var pos = (this.lastPoint - this.startPoint) + this.sizingSplitter.position; - dojo.style(this.virtualSizer,(this.isHorizontal ? "left" : "top"),pos+"px"); - // this.virtualSizer.style[ this.isHorizontal ? "left" : "top" ] = pos + 'px'; // FIXME: remove this line if the previous is better - }, - - _getCookieName: function(i){ - return this.id + "_" + i; - }, - - _restoreState: function(){ - dojo.forEach(this.getChildren(), function(child, i){ - var cookieName = this._getCookieName(i); - var cookieValue = dojo.cookie(cookieName); - if(cookieValue){ - var pos = parseInt(cookieValue); - if(typeof pos == "number"){ - child.sizeShare = pos; - } - } - }, this); - }, - - _saveState: function(){ - dojo.forEach(this.getChildren(), function(child, i){ - dojo.cookie(this._getCookieName(i), child.sizeShare); - }, this); - } -}); - -// These arguments can be specified for the children of a SplitContainer. -// Since any widget can be specified as a SplitContainer child, mix them -// into the base widget class. (This is a hack, but it's effective.) -dojo.extend(dijit._Widget, { - // sizeMin: Integer - // Minimum size (width or height) of a child of a SplitContainer. - // The value is relative to other children's sizeShare properties. - sizeMin: 10, - - // sizeShare: Integer - // Size (width or height) of a child of a SplitContainer. - // The value is relative to other children's sizeShare properties. - // For example, if there are two children and each has sizeShare=10, then - // each takes up 50% of the available space. - sizeShare: 10 -}); - -} diff --git a/includes/js/dijit/layout/StackContainer.js b/includes/js/dijit/layout/StackContainer.js deleted file mode 100644 index 3119972..0000000 --- a/includes/js/dijit/layout/StackContainer.js +++ /dev/null @@ -1,493 +0,0 @@ -if(!dojo._hasResource["dijit.layout.StackContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.StackContainer"] = true; -dojo.provide("dijit.layout.StackContainer"); - -dojo.require("dijit._Templated"); -dojo.require("dijit.layout._LayoutWidget"); -dojo.require("dijit.form.Button"); -dojo.require("dijit.Menu"); -dojo.requireLocalization("dijit", "common", null, "zh,pt,da,tr,ru,de,sv,ja,he,fi,nb,el,ar,ROOT,pt-pt,cs,fr,es,ko,nl,zh-tw,pl,it,hu"); - -dojo.declare( - "dijit.layout.StackContainer", - dijit.layout._LayoutWidget, - { - // summary: - // A container that has multiple children, but shows only - // one child at a time - // - // description: - // A container for widgets (ContentPanes, for example) That displays - // only one Widget at a time. - // - // Publishes topics [widgetId]-addChild, [widgetId]-removeChild, and [widgetId]-selectChild - // - // Can be base class for container, Wizard, Show, etc. - // - // - // doLayout: Boolean - // if true, change the size of my currently displayed child to match my size - doLayout: true, - - _started: false, -/*===== - // selectedChildWidget: Widget - // References the currently selected child widget, if any - // - selectedChildWidget: null, -=====*/ - postCreate: function(){ - dijit.setWaiRole((this.containerNode || this.domNode), "tabpanel"); - this.connect(this.domNode, "onkeypress", this._onKeyPress); - }, - - startup: function(){ - if(this._started){ return; } - - var children = this.getChildren(); - - // Setup each page panel - dojo.forEach(children, this._setupChild, this); - - // Figure out which child to initially display - dojo.some(children, function(child){ - if(child.selected){ - this.selectedChildWidget = child; - } - return child.selected; - }, this); - - var selected = this.selectedChildWidget; - - // Default to the first child - if(!selected && children[0]){ - selected = this.selectedChildWidget = children[0]; - selected.selected = true; - } - if(selected){ - this._showChild(selected); - } - - // Now publish information about myself so any StackControllers can initialize.. - dojo.publish(this.id+"-startup", [{children: children, selected: selected}]); - - this.inherited(arguments); - }, - - _setupChild: function(/*Widget*/ page){ - // Summary: prepare the given child - - page.domNode.style.display = "none"; - - // since we are setting the width/height of the child elements, they need - // to be position:relative, or IE has problems (See bug #2033) - page.domNode.style.position = "relative"; - - return page; // dijit._Widget - }, - - addChild: function(/*Widget*/ child, /*Integer?*/ insertIndex){ - // summary: Adds a widget to the stack - - dijit._Container.prototype.addChild.apply(this, arguments); - child = this._setupChild(child); - - if(this._started){ - // in case the tab titles have overflowed from one line to two lines - this.layout(); - - dojo.publish(this.id+"-addChild", [child, insertIndex]); - - // if this is the first child, then select it - if(!this.selectedChildWidget){ - this.selectChild(child); - } - } - }, - - removeChild: function(/*Widget*/ page){ - // summary: Removes the pane from the stack - - dijit._Container.prototype.removeChild.apply(this, arguments); - - // If we are being destroyed than don't run the code below (to select another page), because we are deleting - // every page one by one - if(this._beingDestroyed){ return; } - - if(this._started){ - // this will notify any tablists to remove a button; do this first because it may affect sizing - dojo.publish(this.id+"-removeChild", [page]); - - // in case the tab titles now take up one line instead of two lines - this.layout(); - } - - if(this.selectedChildWidget === page){ - this.selectedChildWidget = undefined; - if(this._started){ - var children = this.getChildren(); - if(children.length){ - this.selectChild(children[0]); - } - } - } - }, - - selectChild: function(/*Widget*/ page){ - // summary: - // Show the given widget (which must be one of my children) - - page = dijit.byId(page); - - if(this.selectedChildWidget != page){ - // Deselect old page and select new one - this._transition(page, this.selectedChildWidget); - this.selectedChildWidget = page; - dojo.publish(this.id+"-selectChild", [page]); - } - }, - - _transition: function(/*Widget*/newWidget, /*Widget*/oldWidget){ - if(oldWidget){ - this._hideChild(oldWidget); - } - this._showChild(newWidget); - - // Size the new widget, in case this is the first time it's being shown, - // or I have been resized since the last time it was shown. - // page must be visible for resizing to work - if(this.doLayout && newWidget.resize){ - newWidget.resize(this._containerContentBox || this._contentBox); - } - }, - - _adjacent: function(/*Boolean*/ forward){ - // summary: Gets the next/previous child widget in this container from the current selection - var children = this.getChildren(); - var index = dojo.indexOf(children, this.selectedChildWidget); - index += forward ? 1 : children.length - 1; - return children[ index % children.length ]; // dijit._Widget - }, - - forward: function(){ - // Summary: advance to next page - this.selectChild(this._adjacent(true)); - }, - - back: function(){ - // Summary: go back to previous page - this.selectChild(this._adjacent(false)); - }, - - _onKeyPress: function(e){ - dojo.publish(this.id+"-containerKeyPress", [{ e: e, page: this}]); - }, - - layout: function(){ - if(this.doLayout && this.selectedChildWidget && this.selectedChildWidget.resize){ - this.selectedChildWidget.resize(this._contentBox); - } - }, - - _showChild: function(/*Widget*/ page){ - var children = this.getChildren(); - page.isFirstChild = (page == children[0]); - page.isLastChild = (page == children[children.length-1]); - page.selected = true; - - page.domNode.style.display=""; - if(page._loadCheck){ - page._loadCheck(); // trigger load in ContentPane - } - if(page.onShow){ - page.onShow(); - } - }, - - _hideChild: function(/*Widget*/ page){ - page.selected=false; - page.domNode.style.display="none"; - if(page.onHide){ - page.onHide(); - } - }, - - closeChild: function(/*Widget*/ page){ - // summary: - // callback when user clicks the [X] to remove a page - // if onClose() returns true then remove and destroy the child - var remove = page.onClose(this, page); - if(remove){ - this.removeChild(page); - // makes sure we can clean up executeScripts in ContentPane onUnLoad - page.destroyRecursive(); - } - }, - - destroy: function(){ - this._beingDestroyed = true; - this.inherited(arguments); - } -}); - -dojo.declare( - "dijit.layout.StackController", - [dijit._Widget, dijit._Templated, dijit._Container], - { - // summary: - // Set of buttons to select a page in a page list. - // Monitors the specified StackContainer, and whenever a page is - // added, deleted, or selected, updates itself accordingly. - - templateString: "", - - // containerId: String - // the id of the page container that I point to - containerId: "", - - // buttonWidget: String - // the name of the button widget to create to correspond to each page - buttonWidget: "dijit.layout._StackButton", - - postCreate: function(){ - dijit.setWaiRole(this.domNode, "tablist"); - - // TODO: change key from object to id, to get more separation from StackContainer - this.pane2button = {}; // mapping from panes to buttons - this.pane2menu = {}; // mapping from panes to close menu - - this._subscriptions=[ - dojo.subscribe(this.containerId+"-startup", this, "onStartup"), - dojo.subscribe(this.containerId+"-addChild", this, "onAddChild"), - dojo.subscribe(this.containerId+"-removeChild", this, "onRemoveChild"), - dojo.subscribe(this.containerId+"-selectChild", this, "onSelectChild"), - dojo.subscribe(this.containerId+"-containerKeyPress", this, "onContainerKeyPress") - ]; - }, - - onStartup: function(/*Object*/ info){ - // summary: called after StackContainer has finished initializing - dojo.forEach(info.children, this.onAddChild, this); - this.onSelectChild(info.selected); - }, - - destroy: function(){ - for(var pane in this.pane2button){ - this.onRemoveChild(pane); - } - dojo.forEach(this._subscriptions, dojo.unsubscribe); - this.inherited(arguments); - }, - - onAddChild: function(/*Widget*/ page, /*Integer?*/ insertIndex){ - // summary: - // Called whenever a page is added to the container. - // Create button corresponding to the page. - - // add a node that will be promoted to the button widget - var refNode = dojo.doc.createElement("span"); - this.domNode.appendChild(refNode); - // create an instance of the button widget - var cls = dojo.getObject(this.buttonWidget); - var button = new cls({label: page.title, closeButton: page.closable}, refNode); - this.addChild(button, insertIndex); - this.pane2button[page] = button; - page.controlButton = button; // this value might be overwritten if two tabs point to same container - - dojo.connect(button, "onClick", dojo.hitch(this,"onButtonClick",page)); - if(page.closable){ - dojo.connect(button, "onClickCloseButton", dojo.hitch(this,"onCloseButtonClick",page)); - // add context menu onto title button - var _nlsResources = dojo.i18n.getLocalization("dijit", "common"); - var closeMenu = new dijit.Menu({targetNodeIds:[button.id], id:button.id+"_Menu"}); - var mItem = new dijit.MenuItem({label:_nlsResources.itemClose}); - dojo.connect(mItem, "onClick", dojo.hitch(this, "onCloseButtonClick", page)); - closeMenu.addChild(mItem); - this.pane2menu[page] = closeMenu; - } - if(!this._currentChild){ // put the first child into the tab order - button.focusNode.setAttribute("tabIndex", "0"); - this._currentChild = page; - } - //make sure all tabs have the same length - if(!this.isLeftToRight() && dojo.isIE && this._rectifyRtlTabList){ - this._rectifyRtlTabList(); - } - }, - - onRemoveChild: function(/*Widget*/ page){ - // summary: - // Called whenever a page is removed from the container. - // Remove the button corresponding to the page. - if(this._currentChild === page){ this._currentChild = null; } - var button = this.pane2button[page]; - var menu = this.pane2menu[page]; - if (menu){ - menu.destroy(); - } - if(button){ - // TODO? if current child { reassign } - button.destroy(); - } - this.pane2button[page] = null; - }, - - onSelectChild: function(/*Widget*/ page){ - // summary: - // Called when a page has been selected in the StackContainer, either by me or by another StackController - - if(!page){ return; } - - if(this._currentChild){ - var oldButton=this.pane2button[this._currentChild]; - oldButton.setAttribute('checked', false); - oldButton.focusNode.setAttribute("tabIndex", "-1"); - } - - var newButton=this.pane2button[page]; - newButton.setAttribute('checked', true); - this._currentChild = page; - newButton.focusNode.setAttribute("tabIndex", "0"); - var container = dijit.byId(this.containerId); - dijit.setWaiState(container.containerNode || container.domNode, "labelledby", newButton.id); - }, - - onButtonClick: function(/*Widget*/ page){ - // summary: - // Called whenever one of my child buttons is pressed in an attempt to select a page - var container = dijit.byId(this.containerId); // TODO: do this via topics? - container.selectChild(page); - }, - - onCloseButtonClick: function(/*Widget*/ page){ - // summary: - // Called whenever one of my child buttons [X] is pressed in an attempt to close a page - var container = dijit.byId(this.containerId); - container.closeChild(page); - var b = this.pane2button[this._currentChild]; - if(b){ - dijit.focus(b.focusNode || b.domNode); - } - }, - - // TODO: this is a bit redundant with forward, back api in StackContainer - adjacent: function(/*Boolean*/ forward){ - if(!this.isLeftToRight() && (!this.tabPosition || /top|bottom/.test(this.tabPosition))){ forward = !forward; } - // find currently focused button in children array - var children = this.getChildren(); - var current = dojo.indexOf(children, this.pane2button[this._currentChild]); - // pick next button to focus on - var offset = forward ? 1 : children.length - 1; - return children[ (current + offset) % children.length ]; // dijit._Widget - }, - - onkeypress: function(/*Event*/ e){ - // summary: - // Handle keystrokes on the page list, for advancing to next/previous button - // and closing the current page if the page is closable. - - if(this.disabled || e.altKey ){ return; } - var forward = null; - if(e.ctrlKey || !e._djpage){ - var k = dojo.keys; - switch(e.keyCode){ - case k.LEFT_ARROW: - case k.UP_ARROW: - if(!e._djpage){ forward = false; } - break; - case k.PAGE_UP: - if(e.ctrlKey){ forward = false; } - break; - case k.RIGHT_ARROW: - case k.DOWN_ARROW: - if(!e._djpage){ forward = true; } - break; - case k.PAGE_DOWN: - if(e.ctrlKey){ forward = true; } - break; - case k.DELETE: - if(this._currentChild.closable){ - this.onCloseButtonClick(this._currentChild); - } - dojo.stopEvent(e); - break; - default: - if(e.ctrlKey){ - if(e.keyCode == k.TAB){ - this.adjacent(!e.shiftKey).onClick(); - dojo.stopEvent(e); - }else if(e.keyChar == "w"){ - if(this._currentChild.closable){ - this.onCloseButtonClick(this._currentChild); - } - dojo.stopEvent(e); // avoid browser tab closing. - } - } - } - // handle page navigation - if(forward !== null){ - this.adjacent(forward).onClick(); - dojo.stopEvent(e); - } - } - }, - - onContainerKeyPress: function(/*Object*/ info){ - info.e._djpage = info.page; - this.onkeypress(info.e); - } -}); - -dojo.declare("dijit.layout._StackButton", - dijit.form.ToggleButton, - { - // summary - // Internal widget used by StackContainer. - // The button-like or tab-like object you click to select or delete a page - - tabIndex: "-1", // StackContainer buttons are not in the tab order by default - - postCreate: function(/*Event*/ evt){ - dijit.setWaiRole((this.focusNode || this.domNode), "tab"); - this.inherited(arguments); - }, - - onClick: function(/*Event*/ evt){ - // summary: This is for TabContainer where the tabs are rather than button, - // so need to set focus explicitly (on some browsers) - dijit.focus(this.focusNode); - - // ... now let StackController catch the event and tell me what to do - }, - - onClickCloseButton: function(/*Event*/ evt){ - // summary - // StackContainer connects to this function; if your widget contains a close button - // then clicking it should call this function. - evt.stopPropagation(); - } -}); - -// These arguments can be specified for the children of a StackContainer. -// Since any widget can be specified as a StackContainer child, mix them -// into the base widget class. (This is a hack, but it's effective.) -dojo.extend(dijit._Widget, { - // title: String - // Title of this widget. Used by TabContainer to the name the tab, etc. - title: "", - - // selected: Boolean - // Is this child currently selected? - selected: false, - - // closable: Boolean - // True if user can close (destroy) this child, such as (for example) clicking the X on the tab. - closable: false, // true if user can close this tab pane - - onClose: function(){ - // summary: Callback if someone tries to close the child, child will be closed if func returns true - return true; - } -}); - -} diff --git a/includes/js/dijit/layout/TabContainer.js b/includes/js/dijit/layout/TabContainer.js deleted file mode 100644 index 769a25f..0000000 --- a/includes/js/dijit/layout/TabContainer.js +++ /dev/null @@ -1,184 +0,0 @@ -if(!dojo._hasResource["dijit.layout.TabContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.TabContainer"] = true; -dojo.provide("dijit.layout.TabContainer"); - -dojo.require("dijit.layout.StackContainer"); -dojo.require("dijit._Templated"); - -dojo.declare("dijit.layout.TabContainer", - [dijit.layout.StackContainer, dijit._Templated], - { - // summary: - // A Container with Title Tabs, each one pointing at a pane in the container. - // description: - // A TabContainer is a container that has multiple panes, but shows only - // one pane at a time. There are a set of tabs corresponding to each pane, - // where each tab has the title (aka title) of the pane, and optionally a close button. - // - // Publishes topics [widgetId]-addChild, [widgetId]-removeChild, and [widgetId]-selectChild - // (where [widgetId] is the id of the TabContainer itself. - // - // tabPosition: String - // Defines where tabs go relative to tab content. - // "top", "bottom", "left-h", "right-h" - tabPosition: "top", - - templateString: null, // override setting in StackContainer - templateString:"
    \n\t
    \n\t
    \n
    \n", - - // _controllerWidget: String - // An optional parameter to overrider the default TabContainer controller used. - _controllerWidget: "dijit.layout.TabController", - - postCreate: function(){ - this.inherited(arguments); - // create the tab list that will have a tab (a.k.a. tab button) for each tab panel - var TabController = dojo.getObject(this._controllerWidget); - this.tablist = new TabController({ - id: this.id + "_tablist", - tabPosition: this.tabPosition, - doLayout: this.doLayout, - containerId: this.id - }, this.tablistNode); - }, - - _setupChild: function(/* Widget */tab){ - dojo.addClass(tab.domNode, "dijitTabPane"); - this.inherited(arguments); - return tab; // Widget - }, - - startup: function(){ - if(this._started){ return; } - - // wire up the tablist and its tabs - this.tablist.startup(); - this.inherited(arguments); - - if(dojo.isSafari){ - // sometimes safari 3.0.3 miscalculates the height of the tab labels, see #4058 - setTimeout(dojo.hitch(this, "layout"), 0); - } - - if(dojo.isIE && !this.isLeftToRight() && this.tabPosition == "right-h" && - this.tablist && this.tablist.pane2button){ - //need rectify non-closable tab in IE, only for "right-h" mode - for(var pane in this.tablist.pane2button){ - var tabButton = this.tablist.pane2button[pane]; - if(!tabButton.closeButton){ continue; } - tabButtonStyle = tabButton.closeButtonNode.style; - tabButtonStyle.position ="absolute"; - if(dojo.isIE < 7){ - tabButtonStyle.left = tabButton.domNode.offsetWidth + "px"; - }else{ - tabButtonStyle.padding = "0px"; - } - } - } - }, - - layout: function(){ - // Summary: Configure the content pane to take up all the space except for where the tabs are - if(!this.doLayout){ return; } - - // position and size the titles and the container node - var titleAlign = this.tabPosition.replace(/-h/,""); - var children = [ - { domNode: this.tablist.domNode, layoutAlign: titleAlign }, - { domNode: this.containerNode, layoutAlign: "client" } - ]; - dijit.layout.layoutChildren(this.domNode, this._contentBox, children); - - // Compute size to make each of my children. - // children[1] is the margin-box size of this.containerNode, set by layoutChildren() call above - this._containerContentBox = dijit.layout.marginBox2contentBox(this.containerNode, children[1]); - - if(this.selectedChildWidget){ - this._showChild(this.selectedChildWidget); - if(this.doLayout && this.selectedChildWidget.resize){ - this.selectedChildWidget.resize(this._containerContentBox); - } - } - }, - - destroy: function(){ - if(this.tablist){ - this.tablist.destroy(); - } - this.inherited(arguments); - } -}); - -//TODO: make private? -dojo.declare("dijit.layout.TabController", - dijit.layout.StackController, - { - // summary: - // Set of tabs (the things with titles and a close button, that you click to show a tab panel). - // description: - // Lets the user select the currently shown pane in a TabContainer or StackContainer. - // TabController also monitors the TabContainer, and whenever a pane is - // added or deleted updates itself accordingly. - - templateString: "
    ", - - // tabPosition: String - // Defines where tabs go relative to the content. - // "top", "bottom", "left-h", "right-h" - tabPosition: "top", - - // doLayout: Boolean - // TODOC: deprecate doLayout? not sure. - doLayout: true, - - // buttonWidget: String - // The name of the tab widget to create to correspond to each page - buttonWidget: "dijit.layout._TabButton", - - postMixInProperties: function(){ - this["class"] = "dijitTabLabels-" + this.tabPosition + (this.doLayout ? "" : " dijitTabNoLayout"); - this.inherited(arguments); - }, - -//TODO: can this be accomplished in CSS? - _rectifyRtlTabList: function(){ - //Summary: Rectify the length of all tabs in rtl, otherwise the tab lengths are different in IE - if(0 >= this.tabPosition.indexOf('-h')){ return; } - if(!this.pane2button){ return; } - - var maxLen = 0; - for(var pane in this.pane2button){ - maxLen = Math.max(maxLen, dojo.marginBox(this.pane2button[pane].innerDiv).w); - } - //unify the length of all the tabs - for(pane in this.pane2button){ - this.pane2button[pane].innerDiv.style.width = maxLen + 'px'; - } - } -}); - -dojo.declare("dijit.layout._TabButton", - dijit.layout._StackButton, - { - // summary: - // A tab (the thing you click to select a pane). - // description: - // Contains the title of the pane, and optionally a close-button to destroy the pane. - // This is an internal widget and should not be instantiated directly. - - baseClass: "dijitTab", - - templateString:"
    \n
    \n
    \n\t ${!label}\n\t \n\t x\n\t \n
    \n
    \n
    \n", - - postCreate: function(){ - if(this.closeButton){ - dojo.addClass(this.innerDiv, "dijitClosable"); - }else{ - this.closeButtonNode.style.display="none"; - } - this.inherited(arguments); - dojo.setSelectable(this.containerNode, false); - } -}); - -} diff --git a/includes/js/dijit/layout/_LayoutWidget.js b/includes/js/dijit/layout/_LayoutWidget.js deleted file mode 100644 index 3877802..0000000 --- a/includes/js/dijit/layout/_LayoutWidget.js +++ /dev/null @@ -1,188 +0,0 @@ -if(!dojo._hasResource["dijit.layout._LayoutWidget"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout._LayoutWidget"] = true; -dojo.provide("dijit.layout._LayoutWidget"); - -dojo.require("dijit._Widget"); -dojo.require("dijit._Container"); - -dojo.declare("dijit.layout._LayoutWidget", - [dijit._Widget, dijit._Container, dijit._Contained], - { - // summary - // Mixin for widgets that contain a list of children like SplitContainer. - // Widgets which mixin this code must define layout() to lay out the children - - isLayoutContainer: true, - - postCreate: function(){ - dojo.addClass(this.domNode, "dijitContainer"); - }, - - startup: function(){ - // summary: - // Called after all the widgets have been instantiated and their - // dom nodes have been inserted somewhere under dojo.doc.body. - // - // Widgets should override this method to do any initialization - // dependent on other widgets existing, and then call - // this superclass method to finish things off. - // - // startup() in subclasses shouldn't do anything - // size related because the size of the widget hasn't been set yet. - - if(this._started){ return; } - - dojo.forEach(this.getChildren(), function(child){ child.startup(); }); - - // If I am a top level widget - if(!this.getParent || !this.getParent()){ - // Do recursive sizing and layout of all my descendants - // (passing in no argument to resize means that it has to glean the size itself) - this.resize(); - - // since my parent isn't a layout container, and my style is width=height=100% (or something similar), - // then I need to watch when the window resizes, and size myself accordingly - // (passing in no argument to resize means that it has to glean the size itself) - this.connect(window, 'onresize', function(){this.resize();}); - } - - this.inherited(arguments); - }, - - resize: function(args){ - // summary: - // Explicitly set this widget's size (in pixels), - // and then call layout() to resize contents (and maybe adjust child widgets) - // - // args: Object? - // {w: int, h: int, l: int, t: int} - - var node = this.domNode; - - // set margin box size, unless it wasn't specified, in which case use current size - if(args){ - dojo.marginBox(node, args); - - // set offset of the node - if(args.t){ node.style.top = args.t + "px"; } - if(args.l){ node.style.left = args.l + "px"; } - } - // If either height or width wasn't specified by the user, then query node for it. - // But note that setting the margin box and then immediately querying dimensions may return - // inaccurate results, so try not to depend on it. - var mb = dojo.mixin(dojo.marginBox(node), args||{}); - -// console.log(this, ": setting size to ", mb); - - // Save the size of my content box. - this._contentBox = dijit.layout.marginBox2contentBox(node, mb); - - // Callback for widget to adjust size of it's children - this.layout(); - }, - - layout: function(){ - // summary - // Widgets override this method to size & position their contents/children. - // When this is called this._contentBox is guaranteed to be set (see resize()). - // - // This is called after startup(), and also when the widget's size has been - // changed. - } - } -); - -dijit.layout.marginBox2contentBox = function(/*DomNode*/ node, /*Object*/ mb){ - // summary: - // Given the margin-box size of a node, return it's content box size. - // Functions like dojo.contentBox() but is more reliable since it doesn't have - // to wait for the browser to compute sizes. - var cs = dojo.getComputedStyle(node); - var me=dojo._getMarginExtents(node, cs); - var pb=dojo._getPadBorderExtents(node, cs); - return { - l: dojo._toPixelValue(node, cs.paddingLeft), - t: dojo._toPixelValue(node, cs.paddingTop), - w: mb.w - (me.w + pb.w), - h: mb.h - (me.h + pb.h) - }; -}; - -(function(){ - var capitalize = function(word){ - return word.substring(0,1).toUpperCase() + word.substring(1); - }; - - var size = function(widget, dim){ - // size the child - widget.resize ? widget.resize(dim) : dojo.marginBox(widget.domNode, dim); - - // record child's size, but favor our own numbers when we have them. - // the browser lies sometimes - dojo.mixin(widget, dojo.marginBox(widget.domNode)); - dojo.mixin(widget, dim); - }; - - dijit.layout.layoutChildren = function(/*DomNode*/ container, /*Object*/ dim, /*Object[]*/ children){ - /** - * summary - * Layout a bunch of child dom nodes within a parent dom node - * container: - * parent node - * dim: - * {l, t, w, h} object specifying dimensions of container into which to place children - * children: - * an array like [ {domNode: foo, layoutAlign: "bottom" }, {domNode: bar, layoutAlign: "client"} ] - */ - - // copy dim because we are going to modify it - dim = dojo.mixin({}, dim); - - dojo.addClass(container, "dijitLayoutContainer"); - - // Move "client" elements to the end of the array for layout. a11y dictates that the author - // needs to be able to put them in the document in tab-order, but this algorithm requires that - // client be last. - children = dojo.filter(children, function(item){ return item.layoutAlign != "client"; }) - .concat(dojo.filter(children, function(item){ return item.layoutAlign == "client"; })); - - // set positions/sizes - dojo.forEach(children, function(child){ - var elm = child.domNode, - pos = child.layoutAlign; - - // set elem to upper left corner of unused space; may move it later - var elmStyle = elm.style; - elmStyle.left = dim.l+"px"; - elmStyle.top = dim.t+"px"; - elmStyle.bottom = elmStyle.right = "auto"; - - dojo.addClass(elm, "dijitAlign" + capitalize(pos)); - - // set size && adjust record of remaining space. - // note that setting the width of a
    may affect it's height. - if(pos=="top" || pos=="bottom"){ - size(child, { w: dim.w }); - dim.h -= child.h; - if(pos=="top"){ - dim.t += child.h; - }else{ - elmStyle.top = dim.t + dim.h + "px"; - } - }else if(pos=="left" || pos=="right"){ - size(child, { h: dim.h }); - dim.w -= child.w; - if(pos=="left"){ - dim.l += child.w; - }else{ - elmStyle.left = dim.l + dim.w + "px"; - } - }else if(pos=="client"){ - size(child, dim); - } - }); - }; - -})(); - -} diff --git a/includes/js/dijit/layout/templates/AccordionPane.html b/includes/js/dijit/layout/templates/AccordionPane.html deleted file mode 100644 index a675d3a..0000000 --- a/includes/js/dijit/layout/templates/AccordionPane.html +++ /dev/null @@ -1,11 +0,0 @@ -
    ${title}
    -
    diff --git a/includes/js/dijit/layout/templates/TabContainer.html b/includes/js/dijit/layout/templates/TabContainer.html deleted file mode 100644 index 105e8c6..0000000 --- a/includes/js/dijit/layout/templates/TabContainer.html +++ /dev/null @@ -1,4 +0,0 @@ -
    -
    -
    -
    diff --git a/includes/js/dijit/layout/templates/TooltipDialog.html b/includes/js/dijit/layout/templates/TooltipDialog.html deleted file mode 100644 index 5925500..0000000 --- a/includes/js/dijit/layout/templates/TooltipDialog.html +++ /dev/null @@ -1,6 +0,0 @@ -
    -
    -
    -
    -
    -
    diff --git a/includes/js/dijit/layout/templates/_TabButton.html b/includes/js/dijit/layout/templates/_TabButton.html deleted file mode 100644 index b7b37ac..0000000 --- a/includes/js/dijit/layout/templates/_TabButton.html +++ /dev/null @@ -1,10 +0,0 @@ -
    -
    -
    - ${!label} - - x - -
    -
    -
    diff --git a/includes/js/dijit/nls/ar/common.js b/includes/js/dijit/nls/ar/common.js deleted file mode 100644 index 99af508..0000000 --- a/includes/js/dijit/nls/ar/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"حسنا","buttonCancel":"الغاء","buttonSave":"حفظ","itemClose":"اغلاق"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/ar/loading.js b/includes/js/dijit/nls/ar/loading.js deleted file mode 100644 index a8f7829..0000000 --- a/includes/js/dijit/nls/ar/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"جاري التحميل...","errorState":"عفوا، حدث خطأ "}) \ No newline at end of file diff --git a/includes/js/dijit/nls/common.js b/includes/js/dijit/nls/common.js deleted file mode 100644 index 6573dcd..0000000 --- a/includes/js/dijit/nls/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/cs/common.js b/includes/js/dijit/nls/cs/common.js deleted file mode 100644 index 83b3682..0000000 --- a/includes/js/dijit/nls/cs/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Storno","buttonSave":"Uložit","itemClose":"Zavřít"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/cs/loading.js b/includes/js/dijit/nls/cs/loading.js deleted file mode 100644 index c611926..0000000 --- a/includes/js/dijit/nls/cs/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Probíhá načítání...","errorState":"Omlouváme se, došlo k chybě"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/da/common.js b/includes/js/dijit/nls/da/common.js deleted file mode 100644 index 8c51ed8..0000000 --- a/includes/js/dijit/nls/da/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Annullér","buttonSave":"Gem","itemClose":"Luk"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/da/loading.js b/includes/js/dijit/nls/da/loading.js deleted file mode 100644 index 5088eaf..0000000 --- a/includes/js/dijit/nls/da/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Indlæser...","errorState":"Der er opstået en fejl"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/de/common.js b/includes/js/dijit/nls/de/common.js deleted file mode 100644 index cd60c45..0000000 --- a/includes/js/dijit/nls/de/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Abbrechen","buttonSave":"Speichern","itemClose":"Schließen"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/de/loading.js b/includes/js/dijit/nls/de/loading.js deleted file mode 100644 index 4989983..0000000 --- a/includes/js/dijit/nls/de/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Wird geladen...","errorState":"Es ist ein Fehler aufgetreten."}) \ No newline at end of file diff --git a/includes/js/dijit/nls/dijit-all_ROOT.js b/includes/js/dijit/nls/dijit-all_ROOT.js deleted file mode 100644 index 2c454ec..0000000 --- a/includes/js/dijit/nls/dijit-all_ROOT.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ROOT");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ROOT");dojo.nls.colors.ROOT={"lightsteelblue":"light steel blue","orangered":"orange red","midnightblue":"midnight blue","cadetblue":"cadet blue","seashell":"seashell","slategrey":"slate gray","coral":"coral","darkturquoise":"dark turquoise","antiquewhite":"antique white","mediumspringgreen":"medium spring green","salmon":"salmon","darkgrey":"dark gray","ivory":"ivory","greenyellow":"green-yellow","mistyrose":"misty rose","lightsalmon":"light salmon","silver":"silver","dimgrey":"dim gray","orange":"orange","white":"white","navajowhite":"navajo white","royalblue":"royal blue","deeppink":"deep pink","lime":"lime","oldlace":"old lace","chartreuse":"chartreuse","darkcyan":"dark cyan","yellow":"yellow","linen":"linen","olive":"olive","gold":"gold","lawngreen":"lawn green","lightyellow":"light yellow","tan":"tan","darkviolet":"dark violet","lightslategrey":"light slate gray","grey":"gray","darkkhaki":"dark khaki","green":"green","deepskyblue":"deep sky blue","aqua":"aqua","sienna":"sienna","mintcream":"mint cream","rosybrown":"rosy brown","mediumslateblue":"medium slate blue","magenta":"magenta","lightseagreen":"light sea green","cyan":"cyan","olivedrab":"olive drab","darkgoldenrod":"dark goldenrod","slateblue":"slate blue","mediumaquamarine":"medium aquamarine","lavender":"lavender","mediumseagreen":"medium sea green","maroon":"maroon","darkslategray":"dark slate gray","mediumturquoise":"medium turquoise","ghostwhite":"ghost white","darkblue":"dark blue","mediumvioletred":"medium violet-red","brown":"brown","lightgray":"light gray","sandybrown":"sandy brown","pink":"pink","firebrick":"fire brick","indigo":"indigo","snow":"snow","darkorchid":"dark orchid","turquoise":"turquoise","chocolate":"chocolate","springgreen":"spring green","moccasin":"moccasin","navy":"navy","lemonchiffon":"lemon chiffon","teal":"teal","floralwhite":"floral white","cornflowerblue":"cornflower blue","paleturquoise":"pale turquoise","purple":"purple","gainsboro":"gainsboro","plum":"plum","red":"red","blue":"blue","forestgreen":"forest green","darkgreen":"dark green","honeydew":"honeydew","darkseagreen":"dark sea green","lightcoral":"light coral","palevioletred":"pale violet-red","mediumpurple":"medium purple","saddlebrown":"saddle brown","darkmagenta":"dark magenta","thistle":"thistle","whitesmoke":"white smoke","wheat":"wheat","violet":"violet","lightskyblue":"light sky blue","goldenrod":"goldenrod","mediumblue":"medium blue","skyblue":"sky blue","crimson":"crimson","darksalmon":"dark salmon","darkred":"dark red","darkslategrey":"dark slate gray","peru":"peru","lightgrey":"light gray","lightgoldenrodyellow":"light goldenrod yellow","blanchedalmond":"blanched almond","aliceblue":"alice blue","bisque":"bisque","slategray":"slate gray","palegoldenrod":"pale goldenrod","darkorange":"dark orange","aquamarine":"aquamarine","lightgreen":"light green","burlywood":"burlywood","dodgerblue":"dodger blue","darkgray":"dark gray","lightcyan":"light cyan","powderblue":"powder blue","blueviolet":"blue-violet","orchid":"orchid","dimgray":"dim gray","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavender blush","hotpink":"hot pink","steelblue":"steel blue","tomato":"tomato","lightpink":"light pink","limegreen":"lime green","indianred":"indian red","papayawhip":"papaya whip","lightslategray":"light slate gray","gray":"gray","mediumorchid":"medium orchid","cornsilk":"cornsilk","black":"black","seagreen":"sea green","darkslateblue":"dark slate blue","khaki":"khaki","lightblue":"light blue","palegreen":"pale green","azure":"azure","peachpuff":"peach puff","darkolivegreen":"dark olive green","yellowgreen":"yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ROOT");dijit.nls.loading.ROOT={"loadingState":"Loading...","errorState":"Sorry, an error occurred"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ROOT");dijit.nls.common.ROOT={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ROOT");dijit.form.nls.Textarea.ROOT={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ROOT");dijit._editor.nls.commands.ROOT={"removeFormat":"Remove Format","copy":"Copy","paste":"Paste","selectAll":"Select All","insertOrderedList":"Numbered List","insertTable":"Insert/Edit Table","underline":"Underline","foreColor":"Foreground Color","htmlToggle":"HTML Source","formatBlock":"Paragraph Style","insertHorizontalRule":"Horizontal Rule","delete":"Delete","appleKey":"⌘${0}","insertUnorderedList":"Bullet List","tableProp":"Table Property","insertImage":"Insert Image","superscript":"Superscript","subscript":"Subscript","createLink":"Create Link","undo":"Undo","italic":"Italic","fontName":"Font Name","justifyLeft":"Align Left","unlink":"Remove Link","toggleTableBorder":"Toggle Table Border","ctrlKey":"ctrl+${0}","fontSize":"Font Size","indent":"Indent","redo":"Redo","strikethrough":"Strikethrough","justifyFull":"Justify","justifyCenter":"Align Center","hiliteColor":"Background Color","deleteTable":"Delete Table","outdent":"Outdent","cut":"Cut","plainFormatBlock":"Paragraph Style","toggleDir":"Toggle Direction","bold":"Bold","systemShortcutFF":"The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.","justifyRight":"Align Right"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ROOT");dojo.cldr.nls.number.ROOT={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ROOT");dijit.nls.common.ROOT={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ROOT");dijit.form.nls.validate.ROOT={"rangeMessage":"This value is out of range.","invalidMessage":"The value entered is not valid.","missingMessage":"This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ROOT");dijit.form.nls.ComboBox.ROOT={"previousMessage":"Previous choices","nextMessage":"More choices"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ROOT");dojo.cldr.nls.currency.ROOT={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ROOT");dojo.cldr.nls.gregorian.ROOT={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ROOT");dijit.form.nls.Textarea.ROOT={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ROOT");dijit.nls.common.ROOT={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"}; diff --git a/includes/js/dijit/nls/dijit-all_ar.js b/includes/js/dijit/nls/dijit-all_ar.js deleted file mode 100644 index b4447ed..0000000 --- a/includes/js/dijit/nls/dijit-all_ar.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ar");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ar");dojo.nls.colors.ar={"lightsteelblue":"أزرق معدني فاتح","orangered":"أحمر مائل للبرتقالي ","midnightblue":"أزرق بحري ","cadetblue":"أزرق ملون بالرمادي","seashell":"أبيض مائل للأصفر فاتح ","slategrey":"رمادي اردوازي ","coral":"مرجاني","darkturquoise":"تركواز داكن","antiquewhite":"أبيض عتيق","mediumspringgreen":"أخضر ربيعي متوسط ","salmon":"برتقالي وردي شاحب ","darkgrey":"رمادي داكن","ivory":"عاجي","greenyellow":"أخضر مائل للأصفر","mistyrose":"وردي ","lightsalmon":"فضي فاتح","silver":"فضي ","dimgrey":"رمادي شاحب","orange":"برتقالي ","white":"أبيض ","navajowhite":"أبيض ملاحي ","royalblue":"أزرق ملكي ","deeppink":"أحمر وردي غامق","lime":"ليموني ","oldlace":"برتقالي مائل للأصفر شاحب ","chartreuse":"أخضر مائل للصفرة","darkcyan":"أزرق سماوي داكن","yellow":"أصفر ","linen":"كتاني ","olive":"أخضر زيتوني داكن ","gold":"ذهبي","lawngreen":"أخضر بلون العشب ","lightyellow":"أصفر فاتح ","tan":"خمري ","darkviolet":"بنفسجي داكن","lightslategrey":"رمادي اردوازي فاتح","grey":"رمادي","darkkhaki":"كاكي داكن","green":"أخضر","deepskyblue":"أزرق سماوي غامق","aqua":"أزرق مائي","sienna":"بني محروق ","mintcream":"أصفر شاحب مائل للأخضر الزرعي ","rosybrown":"بني وردي ","mediumslateblue":"أزرق اردوازي متوسط ","magenta":"أحمر قرمزي ","lightseagreen":"أخضر مائل للأزرق فاتح","cyan":"أزرق سماوي","olivedrab":"أسود فاتح ","darkgoldenrod":"أصفر ذهبي داكن ","slateblue":"أزرق اردوازي ","mediumaquamarine":"أزرق مائل للأخضر (زبرجد) متوسط ","lavender":"أرجواني شاحب","mediumseagreen":"أخضر مائل للأزرق متوسط ","maroon":"أحمر داكن ","darkslategray":"رمادي اردوازي داكن","mediumturquoise":"تركواز متوسط ","ghostwhite":"أبيض شفاف","darkblue":"أزرق داكن","mediumvioletred":"أحمر-بنفسجي متوسط ","brown":"بني","lightgray":"رمادي فاتح","sandybrown":"بني مائل للصفرة ","pink":"وردي ","firebrick":"أصفر زاهي","indigo":"نيلي","snow":"أبيض ثلجي ","darkorchid":"أرجواني داكن","turquoise":"تركواز ","chocolate":"بني غامق","springgreen":"أخضر ربيعي ","moccasin":"نحاسي أحمر ","navy":"أزرق داكن ","lemonchiffon":"أصفر شفاف ","teal":"بترولي ","floralwhite":"أبيض زهري ","cornflowerblue":"أزرق عنبري","paleturquoise":"تركواز شاحب ","purple":"ارجواني ","gainsboro":"رمادي مائل للأزرق فاتح ","plum":"أرجواني داكن ","red":"أحمر ","blue":"أزرق","forestgreen":"أخضر بلون أشجار الغابات ","darkgreen":"أخضر داكن","honeydew":"أبيض مائل للأخضر ","darkseagreen":"أخضر مائل للأزرق داكن","lightcoral":"مرجاني فاتح","palevioletred":"أحمر-بنفسجي شاحب ","mediumpurple":"قرمزي متوسط ","saddlebrown":"بني فاتح ","darkmagenta":"قرمزي داكن","thistle":"ارجواني شاحب ","whitesmoke":"دخان أبيض ","wheat":"أخضر قمحي ","violet":"بنفسجي ","lightskyblue":"أزرق سماوي فاتح","goldenrod":"أصفر ذهبي ","mediumblue":"أزرق متوسط ","skyblue":"أزرق سماوي ","crimson":"قرمزي","darksalmon":"فضي داكن","darkred":"أحمر داكن","darkslategrey":"رمادي اردوازي داكن","peru":"بني جملي ","lightgrey":"رمادي فاتح","lightgoldenrodyellow":"أصفر ذهبي فاتح","blanchedalmond":"أخضر مائل للبياض","aliceblue":"أزرق فاتح","bisque":"أصفر برتقالي الى رمادي مصفر","slategray":"رمادي اردوازي ","palegoldenrod":"أصفر ذهبي شاحب ","darkorange":"برتقالي داكن","aquamarine":"أزرق مائل للأخضر (زبرجد) ","lightgreen":"أخضر فاتح","burlywood":"خشبي","dodgerblue":"أزرق عنبري","darkgray":"رمادي داكن","lightcyan":"سماوي فاتح","powderblue":"أزرق مائل للأصفر ","blueviolet":"أزرق-بنفسجي","orchid":"أرجواني فاتح ","dimgray":"رمادي شاحب","beige":"بيج","fuchsia":"فوشيا","lavenderblush":"أحمر أرجواني","hotpink":"أحمر وردي زاهي","steelblue":"أزرق معدني ","tomato":"أحمر مائل للأصفر ","lightpink":"وردي فاتح","limegreen":"أخضر ليموني ","indianred":"أحمر هندي","papayawhip":"خوخي فاتح ","lightslategray":"رمادي اردوازي فاتح","gray":"رمادي","mediumorchid":"أرجواني متوسط ","cornsilk":"حريري","black":"أسود","seagreen":"أخضر مائل للأزرق ","darkslateblue":"أزرق اردوازي داكن","khaki":"كاكي","lightblue":"أزرق فاتح","palegreen":"أخضر شاحب ","azure":"أزرق سماوي ","peachpuff":"خوخي مائل للأصفر ","darkolivegreen":"أخضر زيتوني داكن","yellowgreen":"أخضر مائل للأصفر "};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ar");dijit.nls.loading.ar={"loadingState":"جاري التحميل...","errorState":"عفوا، حدث خطأ "};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ar");dijit.nls.common.ar={"buttonOk":"حسنا","buttonCancel":"الغاء","buttonSave":"حفظ","itemClose":"اغلاق"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ar");dijit.form.nls.Textarea.ar={"iframeEditTitle":"مساحة التحرير","iframeFocusTitle":"اطار مساحة التحرير"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ar");dijit._editor.nls.commands.ar={"removeFormat":"ازالة النسق","copy":"نسخ","paste":"لصق","selectAll":"اختيار كل","insertOrderedList":"كشف مرقم","insertTable":"ادراج/تحرير جدول ","underline":"تسطير","foreColor":"لون الواجهة الأمامية","htmlToggle":"مصدر HTML","formatBlock":"نمط الفقرة","insertHorizontalRule":"مسطرة أفقية","delete":"حذف","insertUnorderedList":"كشف نقطي","tableProp":"خصائص الجدول ","insertImage":"ادراج صورة","superscript":"رمز علوي","subscript":"رمز سفلي","createLink":"تكوين وصلة","undo":"تراجع","italic":"مائل","fontName":"اسم طاقم الطباعة","justifyLeft":"محاذاة الى اليسار","unlink":"ازالة وصلة","toggleTableBorder":"تبديل حدود الجدول ","fontSize":"حجم طاقم الطباعة","indent":"ازاحة للداخل","redo":"اعادة","strikethrough":"تشطيب","justifyFull":"ضبط","justifyCenter":"محاذاة في الوسط","hiliteColor":"لون الخلفية","deleteTable":"حذف جدول ","outdent":"ازاحة للخارج","cut":"قص","plainFormatBlock":"نمط الفقرة","toggleDir":"تبديل الاتجاه ","bold":"عريض","systemShortcutFF":"يكون التصرف \"${0}\" متاحا فقط في برنامج Mozilla Firefox باستخدام اختصارات لوحة المفاتيح. استخدم ${1}.","justifyRight":"محاذاة الى اليمين","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ar");dojo.cldr.nls.number.ar={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ar");dijit.nls.common.ar={"buttonOk":"حسنا","buttonCancel":"الغاء","buttonSave":"حفظ","itemClose":"اغلاق"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ar");dijit.form.nls.validate.ar={"rangeMessage":"هذه القيمة ليس بالمدى الصحيح. ","invalidMessage":"القيمة التي تم ادخالها غير صحيحة. ","missingMessage":"يجب ادخال هذه القيمة. "};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ar");dijit.form.nls.ComboBox.ar={"previousMessage":"الاختيارات السابقة ","nextMessage":"مزيد من الاختيارات "};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ar");dojo.cldr.nls.currency.ar={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ar");dojo.cldr.nls.gregorian.ar={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ar");dijit.form.nls.Textarea.ar={"iframeEditTitle":"مساحة التحرير","iframeFocusTitle":"اطار مساحة التحرير"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ar");dijit.nls.common.ar={"buttonOk":"حسنا","buttonCancel":"الغاء","buttonSave":"حفظ","itemClose":"اغلاق"}; diff --git a/includes/js/dijit/nls/dijit-all_cs.js b/includes/js/dijit/nls/dijit-all_cs.js deleted file mode 100644 index f0c7f46..0000000 --- a/includes/js/dijit/nls/dijit-all_cs.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_cs");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.cs");dojo.nls.colors.cs={"lightsteelblue":"světlá ocelová modrá","orangered":"oranžovočervená","midnightblue":"temně modrá","cadetblue":"šedomodrá","seashell":"lasturová","slategrey":"břidlicová šedá","coral":"korálová červená","darkturquoise":"tmavě tyrkysová","antiquewhite":"krémově bílá","mediumspringgreen":"střední jarní zelená","salmon":"lososová","darkgrey":"tmavě šedá","ivory":"slonovinová","greenyellow":"zelenožlutá","mistyrose":"růžovobílá","lightsalmon":"světle lososová","silver":"stříbrná","dimgrey":"kouřově šedá","orange":"oranžová","white":"bílá","navajowhite":"světle krémová","royalblue":"královská modrá","deeppink":"sytě růžová","lime":"limetková","oldlace":"světle béžová","chartreuse":"chartreuska","darkcyan":"tmavě azurová","yellow":"žlutá","linen":"bledě šedobéžová","olive":"olivová","gold":"zlatá","lawngreen":"jasně zelená","lightyellow":"bledě žlutá","tan":"šedobéžová","darkviolet":"tmavě fialová","lightslategrey":"světlá břidlicová šedá","grey":"šedá","darkkhaki":"pískově hnědá","green":"zelená","deepskyblue":"sytá nebeská modrá","aqua":"azurová","sienna":"siena","mintcream":"mentolová","rosybrown":"růžovohnědá","mediumslateblue":"střední břidlicová modrá","magenta":"purpurová","lightseagreen":"světlá mořská zelená","cyan":"azurová","olivedrab":"khaki","darkgoldenrod":"tmavě béžová","slateblue":"břidlicová modrá","mediumaquamarine":"střední akvamarínová","lavender":"levandulová","mediumseagreen":"střední mořská zelená","maroon":"kaštanová","darkslategray":"tmavá břidlicová šedá","mediumturquoise":"středně tyrkysová","ghostwhite":"modravě bílá","darkblue":"tmavě modrá","mediumvioletred":"středně fialovočervená","brown":"červenohnědá","lightgray":"světle šedá","sandybrown":"oranžovohnědá","pink":"růžová","firebrick":"cihlová","indigo":"indigově modrá","snow":"sněhobílá","darkorchid":"tmavě orchidejová","turquoise":"tyrkysová","chocolate":"hnědobéžová","springgreen":"jarní zelená","moccasin":"bledě krémová","navy":"námořnická modrá","lemonchiffon":"světle citrónová","teal":"šedozelená","floralwhite":"květinově bílá","cornflowerblue":"chrpově modrá","paleturquoise":"bledě tyrkysová","purple":"nachová","gainsboro":"bledě šedá","plum":"švestková","red":"červená","blue":"modrá","forestgreen":"lesní zelená","darkgreen":"tmavě zelená","honeydew":"nazelenalá","darkseagreen":"tmavá mořská zelená","lightcoral":"světle korálová","palevioletred":"bledě fialovočervená","mediumpurple":"středně nachová","saddlebrown":"hnědá","darkmagenta":"tmavě purpurová","thistle":"bodláková","whitesmoke":"kouřově bílá","wheat":"zlatohnědá","violet":"fialová","lightskyblue":"světlá nebeská modrá","goldenrod":"béžová","mediumblue":"středně modrá","skyblue":"nebeská modrá","crimson":"karmínová","darksalmon":"tmavě lososová","darkred":"tmavě červená","darkslategrey":"tmavá břidlicová šedá","peru":"karamelová","lightgrey":"světle šedá","lightgoldenrodyellow":"světle žlutá","blanchedalmond":"mandlová","aliceblue":"modravá","bisque":"bledě oranžová","slategray":"břidlicová šedá","palegoldenrod":"bledě písková","darkorange":"tmavě oranžová","aquamarine":"akvamarínová","lightgreen":"světle zelená","burlywood":"krémová","dodgerblue":"jasně modrá","darkgray":"tmavě šedá","lightcyan":"světle azurová","powderblue":"bledě modrá","blueviolet":"modrofialová","orchid":"orchidejová","dimgray":"kouřově šedá","beige":"bledě béžová","fuchsia":"fuchsiová","lavenderblush":"levandulová růžová","hotpink":"jasně růžová","steelblue":"ocelová modrá","tomato":"tomatová","lightpink":"světle růžová","limegreen":"limetkově zelená","indianred":"indiánská červená","papayawhip":"papájová","lightslategray":"světlá břidlicová šedá","gray":"šedá","mediumorchid":"středně orchidejová","cornsilk":"režná","black":"černá","seagreen":"mořská zelená","darkslateblue":"tmavá břidlicová modrá","khaki":"písková","lightblue":"světle modrá","palegreen":"bledě zelená","azure":"bledě azurová","peachpuff":"broskvová","darkolivegreen":"tmavě olivová","yellowgreen":"žlutozelená"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.cs");dijit.nls.loading.cs={"loadingState":"Probíhá načítání...","errorState":"Omlouváme se, došlo k chybě"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.cs");dijit.nls.common.cs={"buttonOk":"OK","buttonCancel":"Storno","buttonSave":"Uložit","itemClose":"Zavřít"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.cs");dijit.form.nls.Textarea.cs={"iframeEditTitle":"oblast úprav","iframeFocusTitle":"rámec oblasti úprav"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.cs");dijit._editor.nls.commands.cs={"removeFormat":"Odebrat formát","copy":"Kopírovat","paste":"Vložit","selectAll":"Vybrat vše","insertOrderedList":"Číslovaný seznam","insertTable":"Vložit/upravit tabulku","underline":"Podtržení","foreColor":"Barva popředí","htmlToggle":"Zdroj HTML","formatBlock":"Styl odstavce","insertHorizontalRule":"Vodorovné pravítko","delete":"Odstranit","insertUnorderedList":"Seznam s odrážkami","tableProp":"Vlastnost tabulky","insertImage":"Vložit obraz","superscript":"Horní index","subscript":"Dolní index","createLink":"Vytvořit odkaz","undo":"Zpět","italic":"Kurzíva","fontName":"Název písma","justifyLeft":"Zarovnat vlevo","unlink":"Odebrat odkaz","toggleTableBorder":"Přepnout ohraničení tabulky","ctrlKey":"Ctrl+${0}","fontSize":"Velikost písma","indent":"Odsadit","redo":"Opakovat","strikethrough":"Přeškrtnutí","justifyFull":"Do bloku","justifyCenter":"Zarovnat na střed","hiliteColor":"Barva pozadí","deleteTable":"Odstranit tabulku","outdent":"Předsadit","cut":"Vyjmout","plainFormatBlock":"Styl odstavce","toggleDir":"Přepnout směr","bold":"Tučné","systemShortcutFF":"Akce \"${0}\" je v prohlížeči Mozilla Firefox dostupná pouze prostřednictvím klávesové zkratky. Použijte klávesy ${1}.","justifyRight":"Zarovnat vpravo","appleKey":"⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.cs");dojo.cldr.nls.number.cs={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.cs");dijit.nls.common.cs={"buttonOk":"OK","buttonCancel":"Storno","buttonSave":"Uložit","itemClose":"Zavřít"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.cs");dijit.form.nls.validate.cs={"rangeMessage":"Tato hodnota je mimo rozsah.","invalidMessage":"Zadaná hodnota není platná.","missingMessage":"Tato hodnota je vyžadována."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.cs");dijit.form.nls.ComboBox.cs={"previousMessage":"Předchozí volby","nextMessage":"Další volby"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.cs");dojo.cldr.nls.currency.cs={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.cs");dojo.cldr.nls.gregorian.cs={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.cs");dijit.form.nls.Textarea.cs={"iframeEditTitle":"oblast úprav","iframeFocusTitle":"rámec oblasti úprav"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.cs");dijit.nls.common.cs={"buttonOk":"OK","buttonCancel":"Storno","buttonSave":"Uložit","itemClose":"Zavřít"}; diff --git a/includes/js/dijit/nls/dijit-all_da.js b/includes/js/dijit/nls/dijit-all_da.js deleted file mode 100644 index e1f6519..0000000 --- a/includes/js/dijit/nls/dijit-all_da.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_da");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.da");dojo.nls.colors.da={"lightsteelblue":"lys stålblå","orangered":"orangerød","midnightblue":"midnatsblå","cadetblue":"kadetblå","seashell":"muslingeskal","slategrey":"skifergrå","coral":"koralrød","darkturquoise":"mørk turkis","antiquewhite":"antikhvid","mediumspringgreen":"mellemforårsgrøn","salmon":"laksefarvet","darkgrey":"mørkegrå","ivory":"elfenben","greenyellow":"grøngul","mistyrose":"blegrosa","lightsalmon":"lys laksefarvet","silver":"sølv","dimgrey":"svag grå","orange":"orange","white":"hvid","navajowhite":"navajo-hvid","royalblue":"kongeblå","deeppink":"dyb pink","lime":"lime","oldlace":"kniplingshvid","chartreuse":"chartreuse","darkcyan":"mørk cyan","yellow":"gul","linen":"lærred","olive":"olivengrøn","gold":"guld","lawngreen":"græsgrøn","lightyellow":"lysegul","tan":"tan","darkviolet":"mørkelilla","lightslategrey":"lys skifergrå","grey":"grå","darkkhaki":"mørk khaki","green":"grøn","deepskyblue":"dyb himmelblå","aqua":"akvablå","sienna":"sienna","mintcream":"pebermyntecreme","rosybrown":"rosabrun","mediumslateblue":"mellemskiferblå","magenta":"magenta","lightseagreen":"lys havgrøn","cyan":"cyan","olivedrab":"brungrøn","darkgoldenrod":"mørk gyldenris","slateblue":"skiferblå","mediumaquamarine":"mellem akvamarin","lavender":"lysviolet","mediumseagreen":"mellemhavgrøn","maroon":"rødbrun","darkslategray":"mørk skifergrå","mediumturquoise":"mellemturkis","ghostwhite":"spøgelseshvid","darkblue":"mørkeblå","mediumvioletred":"mellemviolet","brown":"brun","lightgray":"lysegrå","sandybrown":"sandbrun","pink":"pink","firebrick":"chamottesten","indigo":"indigo","snow":"sne","darkorchid":"mørk orkide","turquoise":"turkis","chocolate":"rust","springgreen":"forårsgrøn","moccasin":"fruesko","navy":"marineblå","lemonchiffon":"citronfromage","teal":"blågrøn","floralwhite":"blomsterhvid","cornflowerblue":"kornblomstblå","paleturquoise":"bleg turkis","purple":"lilla","gainsboro":"gainsboro","plum":"blomme","red":"rød","blue":"blå","forestgreen":"skovgrøn","darkgreen":"mørkegrøn","honeydew":"honningdug","darkseagreen":"mørk havgrøn","lightcoral":"lys koralrød","palevioletred":"blegviolet","mediumpurple":"mellemlilla","saddlebrown":"saddelbrun","darkmagenta":"mørk magenta","thistle":"tidsel","whitesmoke":"hvid røg","wheat":"korngul","violet":"lilla","lightskyblue":"lys himmelblå","goldenrod":"gyldenris","mediumblue":"mellemblå","skyblue":"himmelblå","crimson":"blodrød","darksalmon":"mørk laksefarvet","darkred":"mørkerød","darkslategrey":"mørk skifergrå","peru":"peru","lightgrey":"lysegrå","lightgoldenrodyellow":"lys gyldenrisgul","blanchedalmond":"blanceret mandel","aliceblue":"babyblå","bisque":"gulgrå","slategray":"skifergrå","palegoldenrod":"bleg gyldenris","darkorange":"mørk orange","aquamarine":"akvamarin","lightgreen":"lysegrøn","burlywood":"tobak","dodgerblue":"dodgerblå","darkgray":"mørkegrå","lightcyan":"lys cyan","powderblue":"pudderblå","blueviolet":"blåviolet","orchid":"orkide","dimgray":"svag grå","beige":"beige","fuchsia":"lyslilla","lavenderblush":"lavendelrød","hotpink":"mørk rosa","steelblue":"metalblå","tomato":"tomat","lightpink":"lys pink","limegreen":"limegrøn","indianred":"lys rødbrun","papayawhip":"papaya","lightslategray":"lys skifergrå","gray":"grå","mediumorchid":"mellem orkide","cornsilk":"majs","black":"sort","seagreen":"havgrøn","darkslateblue":"mørk skiferblå","khaki":"khaki","lightblue":"lyseblå","palegreen":"bleggrøn","azure":"azurblå","peachpuff":"fersken","darkolivegreen":"mørk olivengrøn","yellowgreen":"gulgrøn"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.da");dijit.nls.loading.da={"loadingState":"Indlæser...","errorState":"Der er opstået en fejl"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.da");dijit.nls.common.da={"buttonOk":"OK","buttonCancel":"Annullér","buttonSave":"Gem","itemClose":"Luk"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.da");dijit.form.nls.Textarea.da={"iframeEditTitle":"redigeringsområde","iframeFocusTitle":"ramme om redigeringsområde"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.da");dijit._editor.nls.commands.da={"removeFormat":"Fjern format","copy":"Kopiér","paste":"Sæt ind","selectAll":"Markér alle","insertOrderedList":"Nummereret liste","insertTable":"Indsæt/redigér tabel","underline":"Understreget","foreColor":"Forgrundsfarve","htmlToggle":"HTML-kilde","formatBlock":"Afsnitstypografi","insertHorizontalRule":"Vandret linje","delete":"Slet","insertUnorderedList":"Punktliste","tableProp":"Tabelegenskab","insertImage":"Indsæt billede","superscript":"Hævet skrift","subscript":"Sænket skrift","createLink":"Opret link","undo":"Fortryd","italic":"Kursiv","fontName":"Skriftnavn","justifyLeft":"Venstrejusteret","unlink":"Fjern link","toggleTableBorder":"Skift tabelramme","fontSize":"Skriftstørrelse","indent":"Indrykning","redo":"Annullér Fortryd","strikethrough":"Gennemstreget","justifyFull":"Lige margener","justifyCenter":"Centreret","hiliteColor":"Baggrundsfarve","deleteTable":"Slet tabel","outdent":"Udrykning","cut":"Klip","plainFormatBlock":"Afsnitstypografi","toggleDir":"Skift retning","bold":"Fed","systemShortcutFF":"Funktionen \"${0}\" kan kun bruges i Mozilla Firefox med en tastaturgenvej. Brug ${1}.","justifyRight":"Højrejusteret","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.da");dojo.cldr.nls.number.da={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.da");dijit.nls.common.da={"buttonOk":"OK","buttonCancel":"Annullér","buttonSave":"Gem","itemClose":"Luk"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.da");dijit.form.nls.validate.da={"rangeMessage":"Værdien er uden for intervallet.","invalidMessage":"Den angivne værdi er ugyldig.","missingMessage":"Værdien er påkrævet."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.da");dijit.form.nls.ComboBox.da={"previousMessage":"Forrige valg","nextMessage":"Flere valg"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.da");dojo.cldr.nls.currency.da={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.da");dojo.cldr.nls.gregorian.da={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.da");dijit.form.nls.Textarea.da={"iframeEditTitle":"redigeringsområde","iframeFocusTitle":"ramme om redigeringsområde"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.da");dijit.nls.common.da={"buttonOk":"OK","buttonCancel":"Annullér","buttonSave":"Gem","itemClose":"Luk"}; diff --git a/includes/js/dijit/nls/dijit-all_de-de.js b/includes/js/dijit/nls/dijit-all_de-de.js deleted file mode 100644 index 46b026b..0000000 --- a/includes/js/dijit/nls/dijit-all_de-de.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_de-de");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.de_de");dojo.nls.colors.de_de={"lightsteelblue":"Helles Stahlblau","orangered":"Orangerot","midnightblue":"Mitternachtblau","cadetblue":"Kadettenblau","seashell":"Muschelweiß","slategrey":"Schiefergrau","coral":"Koralle","darkturquoise":"Dunkeltürkis","antiquewhite":"Antikweiß","mediumspringgreen":"Mittelfrühlingsgrün","salmon":"Lachs","darkgrey":"Dunkelgrau","ivory":"Elfenbein","greenyellow":"Grüngelb","mistyrose":"Blassrose","lightsalmon":"Helllachs","silver":"Silbergrau","dimgrey":"Blassgrau","orange":"Orange","white":"Weiß","navajowhite":"Navajo-weiß","royalblue":"Königsblau","deeppink":"Tiefrosa","lime":"Limone","oldlace":"Alte Spitze","chartreuse":"Helles Gelbgrün","darkcyan":"Dunkelzyan","yellow":"Gelb","linen":"Leinen","olive":"Oliv","gold":"Gold","lawngreen":"Grasgrün","lightyellow":"Hellgelb","tan":"Hautfarben","darkviolet":"Dunkelviolett","lightslategrey":"Helles Schiefergrau","grey":"Grau","darkkhaki":"Dunkelkhaki","green":"Grün","deepskyblue":"Dunkles Himmelblau","aqua":"Wasserblau","sienna":"Sienna","mintcream":"Mintcreme","rosybrown":"Rosigbraun","mediumslateblue":"Mittelschieferblau ","magenta":"Magenta","lightseagreen":"Helles Meergrün","cyan":"Zyan","olivedrab":"Olivgrau","darkgoldenrod":"Dunkelgoldgelb","slateblue":"Schieferblau","mediumaquamarine":"Mittelaquamarin","lavender":"Lavendelblau","mediumseagreen":"Mittelmeeresgrün","maroon":"Kastanienbraun","darkslategray":"Dunkelschiefergrau","mediumturquoise":"Mitteltürkis ","ghostwhite":"Geisterweiß","darkblue":"Dunkelblau","mediumvioletred":"Mittelviolettrot ","brown":"Braun","lightgray":"Hellgrau","sandybrown":"Sandbraun","pink":"Rosa","firebrick":"Schamottestein","indigo":"Indigoblau","snow":"Schneeweiß","darkorchid":"Dunkelorchidee","turquoise":"Türkis","chocolate":"Schokoladenbraun","springgreen":"Frühlingsgrün","moccasin":"Mokassin","navy":"Marineblau","lemonchiffon":"Zitronenchiffon","teal":"Smaragdgrün","floralwhite":"Blütenweiß","cornflowerblue":"Kornblumenblau","paleturquoise":"Blasstürkis","purple":"Purpurrot","gainsboro":"Gainsboro","plum":"Pflaume","red":"Rot","blue":"Blau","forestgreen":"Forstgrün","darkgreen":"Dunkelgrün","honeydew":"Honigtau","darkseagreen":"Dunkles Meergrün","lightcoral":"Hellkoralle","palevioletred":"Blassviolettrot ","mediumpurple":"Mittelpurpur","saddlebrown":"Sattelbraun","darkmagenta":"Dunkelmagenta","thistle":"Distel","whitesmoke":"Rauchweiß","wheat":"Weizen","violet":"Violett","lightskyblue":"Helles Himmelblau","goldenrod":"Goldgelb","mediumblue":"Mittelblau","skyblue":"Himmelblau","crimson":"Karmesinrot","darksalmon":"Dunkellachs","darkred":"Dunkelrot","darkslategrey":"Dunkelschiefergrau","peru":"Peru","lightgrey":"Hellgrau","lightgoldenrodyellow":"Hellgoldgelb","blanchedalmond":"Mandelweiß","aliceblue":"Alice-blau","bisque":"Bisquit","slategray":"Schiefergrau","palegoldenrod":"Blassgoldgelb","darkorange":"Dunkelorange","aquamarine":"Aquamarin","lightgreen":"Hellgrün","burlywood":"Burlywood","dodgerblue":"Dodger-blau","darkgray":"Dunkelgrau","lightcyan":"Hellzyan","powderblue":"Pulverblau","blueviolet":"Blauviolett","orchid":"Orchidee","dimgray":"Blassgrau","beige":"Beige","fuchsia":"Fuchsia","lavenderblush":"Lavendelhauch","hotpink":"Knallrosa","steelblue":"Stahlblau","tomato":"Tomatenrot","lightpink":"Hellrosa","limegreen":"Limonengrün","indianred":"Indischrot","papayawhip":"Papayacreme","lightslategray":"Helles Schiefergrau","gray":"Grau","mediumorchid":"Mittelorchidee","cornsilk":"Kornseide","black":"Schwarz","seagreen":"Meeresgrün","darkslateblue":"Dunkelschieferblau","khaki":"Khaki","lightblue":"Hellblau","palegreen":"Blassgrün","azure":"Azur","peachpuff":"Pfirsich","darkolivegreen":"Dunkelolivgrün","yellowgreen":"Gelbgrün"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.de_de");dijit.nls.loading.de_de={"loadingState":"Wird geladen...","errorState":"Es ist ein Fehler aufgetreten."};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.de_de");dijit.nls.common.de_de={"buttonOk":"OK","buttonCancel":"Abbrechen","buttonSave":"Speichern","itemClose":"Schließen"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.de_de");dijit.form.nls.Textarea.de_de={"iframeEditTitle":"Editierbereich","iframeFocusTitle":"Rahmen für Editierbereich"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.de_de");dijit._editor.nls.commands.de_de={"removeFormat":"Formatierung entfernen","copy":"Kopieren","paste":"Einfügen","selectAll":"Alles auswählen","insertOrderedList":"Nummerierung","insertTable":"Tabelle einfügen/bearbeiten","underline":"Unterstrichen","foreColor":"Vordergrundfarbe","htmlToggle":"HTML-Quelltext","formatBlock":"Absatzstil","insertHorizontalRule":"Horizontaler Strich","delete":"Löschen","insertUnorderedList":"Aufzählungszeichen","tableProp":"Tabelleneigenschaft","insertImage":"Grafik einfügen","superscript":"Hochgestellt","subscript":"Tiefgestellt","createLink":"Link erstellen","undo":"Rückgängig","italic":"Kursiv","fontName":"Schriftartname","justifyLeft":"Linksbündig","unlink":"Link entfernen","toggleTableBorder":"Tabellenumrandung ein-/ausschalten","ctrlKey":"Strg+${0}","fontSize":"Schriftgröße","indent":"Einrücken","redo":"Wiederherstellen","strikethrough":"Durchgestrichen","justifyFull":"Blocksatz","justifyCenter":"Zentriert","hiliteColor":"Hintergrundfarbe","deleteTable":"Tabelle löschen","outdent":"Ausrücken","cut":"Ausschneiden","plainFormatBlock":"Absatzstil","toggleDir":"Richtung wechseln","bold":"Fett","systemShortcutFF":"Die Aktion \"${0}\" ist in Mozilla Firefox nur über einen Tastaturkurzbefehl verfügbar. Verwenden Sie ${1}.","justifyRight":"Rechtsbündig","appleKey":"⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.de_de");dojo.cldr.nls.number.de_de={"currencyFormat":"#,##0.00 ¤","decimalFormat":"#,##0.###","group":".","scientificFormat":"#E0","percentFormat":"#,##0 %","decimal":",","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.de_de");dijit.nls.common.de_de={"buttonOk":"OK","buttonCancel":"Abbrechen","buttonSave":"Speichern","itemClose":"Schließen"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.de_de");dijit.form.nls.validate.de_de={"rangeMessage":"Dieser Wert liegt außerhalb des gültigen Bereichs. ","invalidMessage":"Der eingegebene Wert ist ungültig. ","missingMessage":"Dieser Wert ist erforderlich."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.de_de");dijit.form.nls.ComboBox.de_de={"previousMessage":"Vorherige Auswahl","nextMessage":"Weitere Auswahlmöglichkeiten"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.de_de");dojo.cldr.nls.currency.de_de={"HKD_displayName":"Hongkong-Dollar","CHF_displayName":"Schweizer Franken","CHF_symbol":"SFr.","CAD_displayName":"Kanadischer Dollar","CNY_displayName":"Renminbi Yuan","USD_symbol":"$","AUD_displayName":"Australischer Dollar","JPY_displayName":"Yen","USD_displayName":"US-Dollar","GBP_displayName":"Pfund Sterling","EUR_displayName":"Euro","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.de_de");dojo.cldr.nls.gregorian.de_de={"quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateFormat-medium":"dd.MM.yyyy","field-second":"Sekunde","field-week":"Woche","pm":"nachm.","timeFormat-full":"HH:mm:ss v","dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","d. MMMM","dd.MM.","d.M.","mm:ss","MM.yy","MMM yy","Q yy","yyyy","MMMM yyyy"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["v. Chr.","n. Chr."],"am":"vorm.","days-standAlone-narrow":["S","M","D","M","D","F","S"],"field-year":"Jahr","field-minute":"Minute","timeFormat-medium":"HH:mm:ss","quarters-stand-alone-narrow":["1","2","3","4"],"field-hour":"Stunde","dateFormat-long":"d. MMMM yyyy","field-day":"Tag","field-dayperiod":"Tageshälfte","field-month":"Monat","dateFormat-short":"dd.MM.yy","months-format-wide":["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],"field-era":"Epoche","timeFormat-short":"HH:mm","months-format-abbr":["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],"days-format-wide":["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],"eraAbbr":["v. Chr.","n. Chr."],"timeFormat-long":"HH:mm:ss z","quarters-format-wide":["1. Quartal","2. Quartal","3. Quartal","4. Quartal"],"dateFormat-full":"EEEE, d. MMMM yyyy","field-weekday":"Wochentag","days-format-abbr":["So","Mo","Di","Mi","Do","Fr","Sa"],"field-zone":"Zone","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormat":"{1} {0}","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.de_de");dijit.form.nls.Textarea.de_de={"iframeEditTitle":"Editierbereich","iframeFocusTitle":"Rahmen für Editierbereich"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.de_de");dijit.nls.common.de_de={"buttonOk":"OK","buttonCancel":"Abbrechen","buttonSave":"Speichern","itemClose":"Schließen"}; diff --git a/includes/js/dijit/nls/dijit-all_de.js b/includes/js/dijit/nls/dijit-all_de.js deleted file mode 100644 index e0a4696..0000000 --- a/includes/js/dijit/nls/dijit-all_de.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_de");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.de");dojo.nls.colors.de={"lightsteelblue":"Helles Stahlblau","orangered":"Orangerot","midnightblue":"Mitternachtblau","cadetblue":"Kadettenblau","seashell":"Muschelweiß","slategrey":"Schiefergrau","coral":"Koralle","darkturquoise":"Dunkeltürkis","antiquewhite":"Antikweiß","mediumspringgreen":"Mittelfrühlingsgrün","salmon":"Lachs","darkgrey":"Dunkelgrau","ivory":"Elfenbein","greenyellow":"Grüngelb","mistyrose":"Blassrose","lightsalmon":"Helllachs","silver":"Silbergrau","dimgrey":"Blassgrau","orange":"Orange","white":"Weiß","navajowhite":"Navajo-weiß","royalblue":"Königsblau","deeppink":"Tiefrosa","lime":"Limone","oldlace":"Alte Spitze","chartreuse":"Helles Gelbgrün","darkcyan":"Dunkelzyan","yellow":"Gelb","linen":"Leinen","olive":"Oliv","gold":"Gold","lawngreen":"Grasgrün","lightyellow":"Hellgelb","tan":"Hautfarben","darkviolet":"Dunkelviolett","lightslategrey":"Helles Schiefergrau","grey":"Grau","darkkhaki":"Dunkelkhaki","green":"Grün","deepskyblue":"Dunkles Himmelblau","aqua":"Wasserblau","sienna":"Sienna","mintcream":"Mintcreme","rosybrown":"Rosigbraun","mediumslateblue":"Mittelschieferblau ","magenta":"Magenta","lightseagreen":"Helles Meergrün","cyan":"Zyan","olivedrab":"Olivgrau","darkgoldenrod":"Dunkelgoldgelb","slateblue":"Schieferblau","mediumaquamarine":"Mittelaquamarin","lavender":"Lavendelblau","mediumseagreen":"Mittelmeeresgrün","maroon":"Kastanienbraun","darkslategray":"Dunkelschiefergrau","mediumturquoise":"Mitteltürkis ","ghostwhite":"Geisterweiß","darkblue":"Dunkelblau","mediumvioletred":"Mittelviolettrot ","brown":"Braun","lightgray":"Hellgrau","sandybrown":"Sandbraun","pink":"Rosa","firebrick":"Schamottestein","indigo":"Indigoblau","snow":"Schneeweiß","darkorchid":"Dunkelorchidee","turquoise":"Türkis","chocolate":"Schokoladenbraun","springgreen":"Frühlingsgrün","moccasin":"Mokassin","navy":"Marineblau","lemonchiffon":"Zitronenchiffon","teal":"Smaragdgrün","floralwhite":"Blütenweiß","cornflowerblue":"Kornblumenblau","paleturquoise":"Blasstürkis","purple":"Purpurrot","gainsboro":"Gainsboro","plum":"Pflaume","red":"Rot","blue":"Blau","forestgreen":"Forstgrün","darkgreen":"Dunkelgrün","honeydew":"Honigtau","darkseagreen":"Dunkles Meergrün","lightcoral":"Hellkoralle","palevioletred":"Blassviolettrot ","mediumpurple":"Mittelpurpur","saddlebrown":"Sattelbraun","darkmagenta":"Dunkelmagenta","thistle":"Distel","whitesmoke":"Rauchweiß","wheat":"Weizen","violet":"Violett","lightskyblue":"Helles Himmelblau","goldenrod":"Goldgelb","mediumblue":"Mittelblau","skyblue":"Himmelblau","crimson":"Karmesinrot","darksalmon":"Dunkellachs","darkred":"Dunkelrot","darkslategrey":"Dunkelschiefergrau","peru":"Peru","lightgrey":"Hellgrau","lightgoldenrodyellow":"Hellgoldgelb","blanchedalmond":"Mandelweiß","aliceblue":"Alice-blau","bisque":"Bisquit","slategray":"Schiefergrau","palegoldenrod":"Blassgoldgelb","darkorange":"Dunkelorange","aquamarine":"Aquamarin","lightgreen":"Hellgrün","burlywood":"Burlywood","dodgerblue":"Dodger-blau","darkgray":"Dunkelgrau","lightcyan":"Hellzyan","powderblue":"Pulverblau","blueviolet":"Blauviolett","orchid":"Orchidee","dimgray":"Blassgrau","beige":"Beige","fuchsia":"Fuchsia","lavenderblush":"Lavendelhauch","hotpink":"Knallrosa","steelblue":"Stahlblau","tomato":"Tomatenrot","lightpink":"Hellrosa","limegreen":"Limonengrün","indianred":"Indischrot","papayawhip":"Papayacreme","lightslategray":"Helles Schiefergrau","gray":"Grau","mediumorchid":"Mittelorchidee","cornsilk":"Kornseide","black":"Schwarz","seagreen":"Meeresgrün","darkslateblue":"Dunkelschieferblau","khaki":"Khaki","lightblue":"Hellblau","palegreen":"Blassgrün","azure":"Azur","peachpuff":"Pfirsich","darkolivegreen":"Dunkelolivgrün","yellowgreen":"Gelbgrün"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.de");dijit.nls.loading.de={"loadingState":"Wird geladen...","errorState":"Es ist ein Fehler aufgetreten."};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.de");dijit.nls.common.de={"buttonOk":"OK","buttonCancel":"Abbrechen","buttonSave":"Speichern","itemClose":"Schließen"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.de");dijit.form.nls.Textarea.de={"iframeEditTitle":"Editierbereich","iframeFocusTitle":"Rahmen für Editierbereich"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.de");dijit._editor.nls.commands.de={"removeFormat":"Formatierung entfernen","copy":"Kopieren","paste":"Einfügen","selectAll":"Alles auswählen","insertOrderedList":"Nummerierung","insertTable":"Tabelle einfügen/bearbeiten","underline":"Unterstrichen","foreColor":"Vordergrundfarbe","htmlToggle":"HTML-Quelltext","formatBlock":"Absatzstil","insertHorizontalRule":"Horizontaler Strich","delete":"Löschen","insertUnorderedList":"Aufzählungszeichen","tableProp":"Tabelleneigenschaft","insertImage":"Grafik einfügen","superscript":"Hochgestellt","subscript":"Tiefgestellt","createLink":"Link erstellen","undo":"Rückgängig","italic":"Kursiv","fontName":"Schriftartname","justifyLeft":"Linksbündig","unlink":"Link entfernen","toggleTableBorder":"Tabellenumrandung ein-/ausschalten","ctrlKey":"Strg+${0}","fontSize":"Schriftgröße","indent":"Einrücken","redo":"Wiederherstellen","strikethrough":"Durchgestrichen","justifyFull":"Blocksatz","justifyCenter":"Zentriert","hiliteColor":"Hintergrundfarbe","deleteTable":"Tabelle löschen","outdent":"Ausrücken","cut":"Ausschneiden","plainFormatBlock":"Absatzstil","toggleDir":"Richtung wechseln","bold":"Fett","systemShortcutFF":"Die Aktion \"${0}\" ist in Mozilla Firefox nur über einen Tastaturkurzbefehl verfügbar. Verwenden Sie ${1}.","justifyRight":"Rechtsbündig","appleKey":"⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.de");dojo.cldr.nls.number.de={"decimalFormat":"#,##0.###","group":".","scientificFormat":"#E0","percentFormat":"#,##0 %","currencyFormat":"#,##0.00 ¤","decimal":",","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.de");dijit.nls.common.de={"buttonOk":"OK","buttonCancel":"Abbrechen","buttonSave":"Speichern","itemClose":"Schließen"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.de");dijit.form.nls.validate.de={"rangeMessage":"Dieser Wert liegt außerhalb des gültigen Bereichs. ","invalidMessage":"Der eingegebene Wert ist ungültig. ","missingMessage":"Dieser Wert ist erforderlich."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.de");dijit.form.nls.ComboBox.de={"previousMessage":"Vorherige Auswahl","nextMessage":"Weitere Auswahlmöglichkeiten"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.de");dojo.cldr.nls.currency.de={"HKD_displayName":"Hongkong-Dollar","CHF_displayName":"Schweizer Franken","CHF_symbol":"SFr.","CAD_displayName":"Kanadischer Dollar","CNY_displayName":"Renminbi Yuan","USD_symbol":"$","AUD_displayName":"Australischer Dollar","JPY_displayName":"Yen","USD_displayName":"US-Dollar","GBP_displayName":"Pfund Sterling","EUR_displayName":"Euro","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.de");dojo.cldr.nls.gregorian.de={"quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateFormat-medium":"dd.MM.yyyy","field-second":"Sekunde","field-week":"Woche","pm":"nachm.","timeFormat-full":"HH:mm:ss v","dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","d. MMMM","dd.MM.","d.M.","mm:ss","MM.yy","MMM yy","Q yy","yyyy","MMMM yyyy"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["v. Chr.","n. Chr."],"am":"vorm.","days-standAlone-narrow":["S","M","D","M","D","F","S"],"field-year":"Jahr","field-minute":"Minute","timeFormat-medium":"HH:mm:ss","quarters-stand-alone-narrow":["1","2","3","4"],"field-hour":"Stunde","dateFormat-long":"d. MMMM yyyy","field-day":"Tag","field-dayperiod":"Tageshälfte","field-month":"Monat","dateFormat-short":"dd.MM.yy","months-format-wide":["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],"field-era":"Epoche","timeFormat-short":"HH:mm","months-format-abbr":["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],"days-format-wide":["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],"eraAbbr":["v. Chr.","n. Chr."],"timeFormat-long":"HH:mm:ss z","quarters-format-wide":["1. Quartal","2. Quartal","3. Quartal","4. Quartal"],"dateFormat-full":"EEEE, d. MMMM yyyy","field-weekday":"Wochentag","days-format-abbr":["So","Mo","Di","Mi","Do","Fr","Sa"],"field-zone":"Zone","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormat":"{1} {0}","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.de");dijit.form.nls.Textarea.de={"iframeEditTitle":"Editierbereich","iframeFocusTitle":"Rahmen für Editierbereich"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.de");dijit.nls.common.de={"buttonOk":"OK","buttonCancel":"Abbrechen","buttonSave":"Speichern","itemClose":"Schließen"}; diff --git a/includes/js/dijit/nls/dijit-all_el.js b/includes/js/dijit/nls/dijit-all_el.js deleted file mode 100644 index cbf73ae..0000000 --- a/includes/js/dijit/nls/dijit-all_el.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_el");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.el");dojo.nls.colors.el={"lightsteelblue":"ανοιχτό μπλε ατσαλιού","orangered":"πορτοκαλοκόκκινο","midnightblue":"πολύ σκούρο μπλε","cadetblue":"μπλε του στρατού","seashell":"κοχύλι","slategrey":"μεταλλικό γκρι","coral":"κοραλί","darkturquoise":"σκούρο τυρκουάζ","antiquewhite":"ξεθωριασμένο λευκό","mediumspringgreen":"μεσαίο πράσινο της άνοιξης","salmon":"σομόν","darkgrey":"σκούρο γκρι","ivory":"ιβουάρ","greenyellow":"πρασινοκίτρινο","mistyrose":"τριανταφυλλί","lightsalmon":"ανοιχτό σομόν","silver":"ασημί","dimgrey":"αχνό γκρι","orange":"πορτοκαλί","white":"λευκό","navajowhite":"άσπρο Ναβάχο","royalblue":"έντονο μπλε","deeppink":"βαθύ ροζ","lime":"λαχανί","oldlace":"εκρού","chartreuse":"φωτεινό κιτρινοπράσινο","darkcyan":"σκούρο κυανό","yellow":"κίτρινο","linen":"σπαγγί","olive":"πράσινο λαδί","gold":"χρυσαφί","lawngreen":"σκούρο πράσινο","lightyellow":"ανοιχτό κίτρινο","tan":"ώχρα","darkviolet":"σκούρο βιολετί","lightslategrey":"ανοιχτό μεταλλικό γκρι","grey":"γκρι","darkkhaki":"σκούρο χακί","green":"πράσινο","deepskyblue":"βαθύ μπλε το ουρανού","aqua":"γαλάζιο","sienna":"καφεκίτρινο","mintcream":"βεραμάν","rosybrown":"καστανό","mediumslateblue":"μεσαίο μεταλλικό μπλε","magenta":"ματζέντα","lightseagreen":"ανοιχτό πράσινο της θάλασσας","cyan":"κυανό","olivedrab":"λαδί","darkgoldenrod":"σκούρο χρυσοκίτρινο","slateblue":"μεταλλικό μπλε","mediumaquamarine":"μεσαίο γαλαζοπράσινο","lavender":"λίλα","mediumseagreen":"μεσαίο πράσινο της θάλασσας","maroon":"βυσσινί","darkslategray":"σκούρο μεταλλικό γκρι","mediumturquoise":"μεσαίο τυρκουάζ","ghostwhite":"άσπρο","darkblue":"σκούρο μπλε","mediumvioletred":"μεσαίο κόκκινο βιολετί","brown":"καφέ","lightgray":"ανοιχτό γκρι","sandybrown":"μπεζ της άμμου","pink":"ροζ","firebrick":"κεραμιδί","indigo":"λουλακί","snow":"χιονί","darkorchid":"σκούρα ορχιδέα","turquoise":"τυρκουάζ","chocolate":"σοκολατί","springgreen":"πράσινο της άνοιξης","moccasin":"μόκα","navy":"μπλε του ναυτικού","lemonchiffon":"λεμονί","teal":"πετρόλ","floralwhite":"λευκό των ανθών","cornflowerblue":"μεσαίο μπλε","paleturquoise":"αχνό τυρκουάζ","purple":"μωβ","gainsboro":"γκρι σιέλ","plum":"δαμασκηνί","red":"κόκκινο","blue":"μπλε","forestgreen":"πράσινο του δάσους","darkgreen":"σκούρο πράσινο","honeydew":"μελί","darkseagreen":"σκούρο πράσινο της θάλασσας","lightcoral":"ανοιχτό κοραλί","palevioletred":"αχνό κόκκινο βιολετί","mediumpurple":"μεσαίο μωβ","saddlebrown":"βαθύ καφέ","darkmagenta":"σκούρο ματζέντα","thistle":"μωβ βιολετί","whitesmoke":"λευκός καπνός","wheat":"σταρένιο","violet":"βιολετί","lightskyblue":"ανοιχτό μπλε το ουρανού","goldenrod":"χρυσοκίτρινο","mediumblue":"μεσαίο μπλε","skyblue":"μπλε του ουρανού","crimson":"βαθύ κόκκινο","darksalmon":"σκούρο σομόν","darkred":"σκούρο κόκκινο","darkslategrey":"σκούρο μεταλλικό γκρι","peru":"περού","lightgrey":"ανοιχτό γκρι","lightgoldenrodyellow":"ανοιχτό χρυσοκίτρινο","blanchedalmond":"ζαχαρί","aliceblue":"σιέλ","bisque":"σκούρο κρεμ","slategray":"μεταλλικό γκρι","palegoldenrod":"αχνό χρυσοκίτρινο","darkorange":"σκούρο πορτοκαλί","aquamarine":"γαλαζοπράσινο","lightgreen":"ανοιχτό πράσινο","burlywood":"καφέ του ξύλου","dodgerblue":"σκούρο ελεκτρίκ","darkgray":"σκούρο γκρι","lightcyan":"ανοιχτό κυανό","powderblue":"αχνό μπλε","blueviolet":"βιολετί","orchid":"ορχιδέα","dimgray":"αχνό γκρι","beige":"μπεζ","fuchsia":"φούξια","lavenderblush":"μωβ λεβάντας","hotpink":"έντονο ροζ","steelblue":"μπλε ατσαλιού","tomato":"κόκκινο της ντομάτας","lightpink":"ανοιχτό ροζ","limegreen":"πράσινο λαχανί","indianred":"ινδικό κόκκινο","papayawhip":"αχνό ροζ","lightslategray":"ανοιχτό μεταλλικό γκρι","gray":"γκρι","mediumorchid":"μεσαία ορχιδέα","cornsilk":"ασημί του καλαμποκιού","black":"μαύρο","seagreen":"πράσινο της θάλασσας","darkslateblue":"σκούρο μεταλλικό μπλε","khaki":"χακί","lightblue":"ανοιχτό μπλε","palegreen":"αχνό πράσινο","azure":"μπλε του ουρανού","peachpuff":"ροδακινί","darkolivegreen":"σκούρο πράσινο λαδί","yellowgreen":"κιτρινοπράσινο"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.el");dijit.nls.loading.el={"loadingState":"Φόρτωση...","errorState":"Σας ζητούμε συγνώμη, παρουσιάστηκε σφάλμα"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.el");dijit.nls.common.el={"buttonOk":"OK","buttonCancel":"Ακύρωση","buttonSave":"Αποθήκευση","itemClose":"Κλείσιμο"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.el");dijit.form.nls.Textarea.el={"iframeEditTitle":"περιοχή επεξεργασίας","iframeFocusTitle":"πλαίσιο περιοχής επεξεργασίας"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.el");dijit._editor.nls.commands.el={"removeFormat":"Αφαίρεση μορφοποίησης","copy":"Αντιγραφή","paste":"Επικόλληση","selectAll":"Επιλογή όλων","insertOrderedList":"Αριθμημένη λίστα","insertTable":"Εισαγωγή/Τροποποίηση πίνακα","underline":"Υπογράμμιση","foreColor":"Χρώμα προσκηνίου","htmlToggle":"Πρωτογενής κώδικας HTML","formatBlock":"Στυλ παραγράφου","insertHorizontalRule":"Οριζόντια γραμμή","delete":"Διαγραφή","insertUnorderedList":"Λίστα με κουκίδες","tableProp":"Ιδιότητα πίνακα","insertImage":"Εισαγωγή εικόνας","superscript":"Εκθέτης","subscript":"Δείκτης","createLink":"Δημιουργία διασύνδεσης","undo":"Αναίρεση","italic":"Πλάγια","fontName":"Όνομα γραμματοσειράς","justifyLeft":"Στοίχιση αριστερά","unlink":"Αφαίρεση διασύνδεσης","toggleTableBorder":"Εναλλαγή εμφάνισης περιγράμματος πίνακα","fontSize":"Μέγεθος γραμματοσειράς","indent":"Εσοχή","redo":"Επανάληψη","strikethrough":"Διαγράμμιση","justifyFull":"Πλήρης στοίχιση","justifyCenter":"Στοίχιση στο κέντρο","hiliteColor":"Χρώμα φόντου","deleteTable":"Διαγραφή πίνακα","outdent":"Μείωση περιθωρίου","cut":"Αποκοπή","plainFormatBlock":"Στυλ παραγράφου","toggleDir":"Εναλλαγή κατεύθυνσης","bold":"Έντονα","systemShortcutFF":"Η ενέργεια \"${0}\" είναι διαθέσιμη μόνο στο Mozilla Firefox με τη χρήση συντόμευσης πληκτρολογίου. Χρησιμοποιήστε το ${1}.","justifyRight":"Στοίχιση δεξιά","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.el");dojo.cldr.nls.number.el={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.el");dijit.nls.common.el={"buttonOk":"OK","buttonCancel":"Ακύρωση","buttonSave":"Αποθήκευση","itemClose":"Κλείσιμο"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.el");dijit.form.nls.validate.el={"rangeMessage":"Η τιμή αυτή δεν ανήκει στο εύρος έγκυρων τιμών.","invalidMessage":"Η τιμή που καταχωρήσατε δεν είναι έγκυρη.","missingMessage":"Η τιμή αυτή πρέπει απαραίτητα να καθοριστεί."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.el");dijit.form.nls.ComboBox.el={"previousMessage":"Προηγούμενες επιλογές","nextMessage":"Περισσότερες επιλογές"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.el");dojo.cldr.nls.currency.el={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.el");dojo.cldr.nls.gregorian.el={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.el");dijit.form.nls.Textarea.el={"iframeEditTitle":"περιοχή επεξεργασίας","iframeFocusTitle":"πλαίσιο περιοχής επεξεργασίας"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.el");dijit.nls.common.el={"buttonOk":"OK","buttonCancel":"Ακύρωση","buttonSave":"Αποθήκευση","itemClose":"Κλείσιμο"}; diff --git a/includes/js/dijit/nls/dijit-all_en-gb.js b/includes/js/dijit/nls/dijit-all_en-gb.js deleted file mode 100644 index b0d71d9..0000000 --- a/includes/js/dijit/nls/dijit-all_en-gb.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_en-gb");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.en_gb");dojo.nls.colors.en_gb={"lightsteelblue":"light steel blue","orangered":"orange red","midnightblue":"midnight blue","cadetblue":"cadet blue","seashell":"seashell","slategrey":"slate gray","coral":"coral","darkturquoise":"dark turquoise","antiquewhite":"antique white","mediumspringgreen":"medium spring green","salmon":"salmon","darkgrey":"dark gray","ivory":"ivory","greenyellow":"green-yellow","mistyrose":"misty rose","lightsalmon":"light salmon","silver":"silver","dimgrey":"dim gray","orange":"orange","white":"white","navajowhite":"navajo white","royalblue":"royal blue","deeppink":"deep pink","lime":"lime","oldlace":"old lace","chartreuse":"chartreuse","darkcyan":"dark cyan","yellow":"yellow","linen":"linen","olive":"olive","gold":"gold","lawngreen":"lawn green","lightyellow":"light yellow","tan":"tan","darkviolet":"dark violet","lightslategrey":"light slate gray","grey":"gray","darkkhaki":"dark khaki","green":"green","deepskyblue":"deep sky blue","aqua":"aqua","sienna":"sienna","mintcream":"mint cream","rosybrown":"rosy brown","mediumslateblue":"medium slate blue","magenta":"magenta","lightseagreen":"light sea green","cyan":"cyan","olivedrab":"olive drab","darkgoldenrod":"dark goldenrod","slateblue":"slate blue","mediumaquamarine":"medium aquamarine","lavender":"lavender","mediumseagreen":"medium sea green","maroon":"maroon","darkslategray":"dark slate gray","mediumturquoise":"medium turquoise","ghostwhite":"ghost white","darkblue":"dark blue","mediumvioletred":"medium violet-red","brown":"brown","lightgray":"light gray","sandybrown":"sandy brown","pink":"pink","firebrick":"fire brick","indigo":"indigo","snow":"snow","darkorchid":"dark orchid","turquoise":"turquoise","chocolate":"chocolate","springgreen":"spring green","moccasin":"moccasin","navy":"navy","lemonchiffon":"lemon chiffon","teal":"teal","floralwhite":"floral white","cornflowerblue":"cornflower blue","paleturquoise":"pale turquoise","purple":"purple","gainsboro":"gainsboro","plum":"plum","red":"red","blue":"blue","forestgreen":"forest green","darkgreen":"dark green","honeydew":"honeydew","darkseagreen":"dark sea green","lightcoral":"light coral","palevioletred":"pale violet-red","mediumpurple":"medium purple","saddlebrown":"saddle brown","darkmagenta":"dark magenta","thistle":"thistle","whitesmoke":"white smoke","wheat":"wheat","violet":"violet","lightskyblue":"light sky blue","goldenrod":"goldenrod","mediumblue":"medium blue","skyblue":"sky blue","crimson":"crimson","darksalmon":"dark salmon","darkred":"dark red","darkslategrey":"dark slate gray","peru":"peru","lightgrey":"light gray","lightgoldenrodyellow":"light goldenrod yellow","blanchedalmond":"blanched almond","aliceblue":"alice blue","bisque":"bisque","slategray":"slate gray","palegoldenrod":"pale goldenrod","darkorange":"dark orange","aquamarine":"aquamarine","lightgreen":"light green","burlywood":"burlywood","dodgerblue":"dodger blue","darkgray":"dark gray","lightcyan":"light cyan","powderblue":"powder blue","blueviolet":"blue-violet","orchid":"orchid","dimgray":"dim gray","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavender blush","hotpink":"hot pink","steelblue":"steel blue","tomato":"tomato","lightpink":"light pink","limegreen":"lime green","indianred":"indian red","papayawhip":"papaya whip","lightslategray":"light slate gray","gray":"gray","mediumorchid":"medium orchid","cornsilk":"cornsilk","black":"black","seagreen":"sea green","darkslateblue":"dark slate blue","khaki":"khaki","lightblue":"light blue","palegreen":"pale green","azure":"azure","peachpuff":"peach puff","darkolivegreen":"dark olive green","yellowgreen":"yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.en_gb");dijit.nls.loading.en_gb={"loadingState":"Loading...","errorState":"Sorry, an error occurred"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en_gb");dijit.nls.common.en_gb={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.en_gb");dijit.form.nls.Textarea.en_gb={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.en_gb");dijit._editor.nls.commands.en_gb={"removeFormat":"Remove Format","copy":"Copy","paste":"Paste","selectAll":"Select All","insertOrderedList":"Numbered List","insertTable":"Insert/Edit Table","underline":"Underline","foreColor":"Foreground Color","htmlToggle":"HTML Source","formatBlock":"Paragraph Style","insertHorizontalRule":"Horizontal Rule","delete":"Delete","appleKey":"⌘${0}","insertUnorderedList":"Bullet List","tableProp":"Table Property","insertImage":"Insert Image","superscript":"Superscript","subscript":"Subscript","createLink":"Create Link","undo":"Undo","italic":"Italic","fontName":"Font Name","justifyLeft":"Align Left","unlink":"Remove Link","toggleTableBorder":"Toggle Table Border","ctrlKey":"ctrl+${0}","fontSize":"Font Size","indent":"Indent","redo":"Redo","strikethrough":"Strikethrough","justifyFull":"Justify","justifyCenter":"Align Center","hiliteColor":"Background Color","deleteTable":"Delete Table","outdent":"Outdent","cut":"Cut","plainFormatBlock":"Paragraph Style","toggleDir":"Toggle Direction","bold":"Bold","systemShortcutFF":"The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.","justifyRight":"Align Right"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.en_gb");dojo.cldr.nls.number.en_gb={"currencyFormat":"¤#,##0.00","group":",","decimal":".","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","percentFormat":"#,##0%","decimalFormat":"#,##0.###","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en_gb");dijit.nls.common.en_gb={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.en_gb");dijit.form.nls.validate.en_gb={"rangeMessage":"This value is out of range.","invalidMessage":"The value entered is not valid.","missingMessage":"This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.en_gb");dijit.form.nls.ComboBox.en_gb={"previousMessage":"Previous choices","nextMessage":"More choices"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.en_gb");dojo.cldr.nls.currency.en_gb={"HKD_displayName":"Hong Kong Dollar","CHF_displayName":"Swiss Franc","CHF_symbol":"SwF","JPY_symbol":"¥","HKD_symbol":"HK$","CAD_displayName":"Canadian Dollar","CNY_displayName":"Chinese Yuan Renminbi","USD_symbol":"$","AUD_displayName":"Australian Dollar","JPY_displayName":"Japanese Yen","CAD_symbol":"Can$","USD_displayName":"US Dollar","CNY_symbol":"Y","GBP_displayName":"British Pound Sterling","GBP_symbol":"£","AUD_symbol":"$A","EUR_displayName":"Euro","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.en_gb");dojo.cldr.nls.gregorian.en_gb={"dateFormat-short":"dd/MM/yyyy","timeFormat-long":"HH:mm:ss z","dateFormat-medium":"d MMM yyyy","dateFormat-long":"d MMMM yyyy","timeFormat-medium":"HH:mm:ss","timeFormat-short":"HH:mm","timeFormat-full":"HH:mm:ss v","dateFormat-full":"EEEE, d MMMM yyyy","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"pm":"PM","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["HH:mm","HH:mm:ss","MMMM d","M/d","mm:ss","MM/yy","Q yy","QQQQ yy","MMM yyyy","yy MMM","yy Q","yyyy"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["Before Christ","Anno Domini"],"am":"AM","days-standAlone-narrow":["S","M","T","W","T","F","S"],"field-dayperiod":"AM/PM","months-format-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"months-format-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"eraAbbr":["BC","AD"],"days-format-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"quarters-format-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"days-format-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-minute":"Minute","field-weekday":"Day of the Week","dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.en_gb");dijit.form.nls.Textarea.en_gb={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en_gb");dijit.nls.common.en_gb={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"}; diff --git a/includes/js/dijit/nls/dijit-all_en-us.js b/includes/js/dijit/nls/dijit-all_en-us.js deleted file mode 100644 index f23ed44..0000000 --- a/includes/js/dijit/nls/dijit-all_en-us.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_en-us");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.en_us");dojo.nls.colors.en_us={"lightsteelblue":"light steel blue","orangered":"orange red","midnightblue":"midnight blue","cadetblue":"cadet blue","seashell":"seashell","slategrey":"slate gray","coral":"coral","darkturquoise":"dark turquoise","antiquewhite":"antique white","mediumspringgreen":"medium spring green","salmon":"salmon","darkgrey":"dark gray","ivory":"ivory","greenyellow":"green-yellow","mistyrose":"misty rose","lightsalmon":"light salmon","silver":"silver","dimgrey":"dim gray","orange":"orange","white":"white","navajowhite":"navajo white","royalblue":"royal blue","deeppink":"deep pink","lime":"lime","oldlace":"old lace","chartreuse":"chartreuse","darkcyan":"dark cyan","yellow":"yellow","linen":"linen","olive":"olive","gold":"gold","lawngreen":"lawn green","lightyellow":"light yellow","tan":"tan","darkviolet":"dark violet","lightslategrey":"light slate gray","grey":"gray","darkkhaki":"dark khaki","green":"green","deepskyblue":"deep sky blue","aqua":"aqua","sienna":"sienna","mintcream":"mint cream","rosybrown":"rosy brown","mediumslateblue":"medium slate blue","magenta":"magenta","lightseagreen":"light sea green","cyan":"cyan","olivedrab":"olive drab","darkgoldenrod":"dark goldenrod","slateblue":"slate blue","mediumaquamarine":"medium aquamarine","lavender":"lavender","mediumseagreen":"medium sea green","maroon":"maroon","darkslategray":"dark slate gray","mediumturquoise":"medium turquoise","ghostwhite":"ghost white","darkblue":"dark blue","mediumvioletred":"medium violet-red","brown":"brown","lightgray":"light gray","sandybrown":"sandy brown","pink":"pink","firebrick":"fire brick","indigo":"indigo","snow":"snow","darkorchid":"dark orchid","turquoise":"turquoise","chocolate":"chocolate","springgreen":"spring green","moccasin":"moccasin","navy":"navy","lemonchiffon":"lemon chiffon","teal":"teal","floralwhite":"floral white","cornflowerblue":"cornflower blue","paleturquoise":"pale turquoise","purple":"purple","gainsboro":"gainsboro","plum":"plum","red":"red","blue":"blue","forestgreen":"forest green","darkgreen":"dark green","honeydew":"honeydew","darkseagreen":"dark sea green","lightcoral":"light coral","palevioletred":"pale violet-red","mediumpurple":"medium purple","saddlebrown":"saddle brown","darkmagenta":"dark magenta","thistle":"thistle","whitesmoke":"white smoke","wheat":"wheat","violet":"violet","lightskyblue":"light sky blue","goldenrod":"goldenrod","mediumblue":"medium blue","skyblue":"sky blue","crimson":"crimson","darksalmon":"dark salmon","darkred":"dark red","darkslategrey":"dark slate gray","peru":"peru","lightgrey":"light gray","lightgoldenrodyellow":"light goldenrod yellow","blanchedalmond":"blanched almond","aliceblue":"alice blue","bisque":"bisque","slategray":"slate gray","palegoldenrod":"pale goldenrod","darkorange":"dark orange","aquamarine":"aquamarine","lightgreen":"light green","burlywood":"burlywood","dodgerblue":"dodger blue","darkgray":"dark gray","lightcyan":"light cyan","powderblue":"powder blue","blueviolet":"blue-violet","orchid":"orchid","dimgray":"dim gray","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavender blush","hotpink":"hot pink","steelblue":"steel blue","tomato":"tomato","lightpink":"light pink","limegreen":"lime green","indianred":"indian red","papayawhip":"papaya whip","lightslategray":"light slate gray","gray":"gray","mediumorchid":"medium orchid","cornsilk":"cornsilk","black":"black","seagreen":"sea green","darkslateblue":"dark slate blue","khaki":"khaki","lightblue":"light blue","palegreen":"pale green","azure":"azure","peachpuff":"peach puff","darkolivegreen":"dark olive green","yellowgreen":"yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.en_us");dijit.nls.loading.en_us={"loadingState":"Loading...","errorState":"Sorry, an error occurred"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en_us");dijit.nls.common.en_us={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.en_us");dijit.form.nls.Textarea.en_us={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.en_us");dijit._editor.nls.commands.en_us={"removeFormat":"Remove Format","copy":"Copy","paste":"Paste","selectAll":"Select All","insertOrderedList":"Numbered List","insertTable":"Insert/Edit Table","underline":"Underline","foreColor":"Foreground Color","htmlToggle":"HTML Source","formatBlock":"Paragraph Style","insertHorizontalRule":"Horizontal Rule","delete":"Delete","appleKey":"⌘${0}","insertUnorderedList":"Bullet List","tableProp":"Table Property","insertImage":"Insert Image","superscript":"Superscript","subscript":"Subscript","createLink":"Create Link","undo":"Undo","italic":"Italic","fontName":"Font Name","justifyLeft":"Align Left","unlink":"Remove Link","toggleTableBorder":"Toggle Table Border","ctrlKey":"ctrl+${0}","fontSize":"Font Size","indent":"Indent","redo":"Redo","strikethrough":"Strikethrough","justifyFull":"Justify","justifyCenter":"Align Center","hiliteColor":"Background Color","deleteTable":"Delete Table","outdent":"Outdent","cut":"Cut","plainFormatBlock":"Paragraph Style","toggleDir":"Toggle Direction","bold":"Bold","systemShortcutFF":"The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.","justifyRight":"Align Right"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.en_us");dojo.cldr.nls.number.en_us={"currencyFormat":"¤#,##0.00;(¤#,##0.00)","group":",","decimal":".","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","percentFormat":"#,##0%","decimalFormat":"#,##0.###","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en_us");dijit.nls.common.en_us={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.en_us");dijit.form.nls.validate.en_us={"rangeMessage":"This value is out of range.","invalidMessage":"The value entered is not valid.","missingMessage":"This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.en_us");dijit.form.nls.ComboBox.en_us={"previousMessage":"Previous choices","nextMessage":"More choices"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.en_us");dojo.cldr.nls.currency.en_us={"USD_symbol":"$","HKD_displayName":"Hong Kong Dollar","CHF_displayName":"Swiss Franc","CHF_symbol":"SwF","JPY_symbol":"¥","HKD_symbol":"HK$","CAD_displayName":"Canadian Dollar","CNY_displayName":"Chinese Yuan Renminbi","AUD_displayName":"Australian Dollar","JPY_displayName":"Japanese Yen","CAD_symbol":"Can$","USD_displayName":"US Dollar","CNY_symbol":"Y","GBP_displayName":"British Pound Sterling","GBP_symbol":"£","AUD_symbol":"$A","EUR_displayName":"Euro","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.en_us");dojo.cldr.nls.gregorian.en_us={"quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateFormat-medium":"MMM d, yyyy","pm":"PM","timeFormat-full":"h:mm:ss a v","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["HH:mm","HH:mm:ss","MMMM d","M/d","mm:ss","MM/yy","Q yy","QQQQ yy","MMM yyyy","yy MMM","yy Q","yyyy"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["Before Christ","Anno Domini"],"am":"AM","days-standAlone-narrow":["S","M","T","W","T","F","S"],"timeFormat-medium":"h:mm:ss a","dateFormat-long":"MMMM d, yyyy","field-dayperiod":"AM/PM","dateFormat-short":"M/d/yy","months-format-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"timeFormat-short":"h:mm a","months-format-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"eraAbbr":["BC","AD"],"days-format-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"timeFormat-long":"h:mm:ss a z","quarters-format-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateFormat-full":"EEEE, MMMM d, yyyy","days-format-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-minute":"Minute","field-weekday":"Day of the Week","dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.en_us");dijit.form.nls.Textarea.en_us={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en_us");dijit.nls.common.en_us={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"}; diff --git a/includes/js/dijit/nls/dijit-all_en.js b/includes/js/dijit/nls/dijit-all_en.js deleted file mode 100644 index 1578c84..0000000 --- a/includes/js/dijit/nls/dijit-all_en.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_en");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.en");dojo.nls.colors.en={"lightsteelblue":"light steel blue","orangered":"orange red","midnightblue":"midnight blue","cadetblue":"cadet blue","seashell":"seashell","slategrey":"slate gray","coral":"coral","darkturquoise":"dark turquoise","antiquewhite":"antique white","mediumspringgreen":"medium spring green","salmon":"salmon","darkgrey":"dark gray","ivory":"ivory","greenyellow":"green-yellow","mistyrose":"misty rose","lightsalmon":"light salmon","silver":"silver","dimgrey":"dim gray","orange":"orange","white":"white","navajowhite":"navajo white","royalblue":"royal blue","deeppink":"deep pink","lime":"lime","oldlace":"old lace","chartreuse":"chartreuse","darkcyan":"dark cyan","yellow":"yellow","linen":"linen","olive":"olive","gold":"gold","lawngreen":"lawn green","lightyellow":"light yellow","tan":"tan","darkviolet":"dark violet","lightslategrey":"light slate gray","grey":"gray","darkkhaki":"dark khaki","green":"green","deepskyblue":"deep sky blue","aqua":"aqua","sienna":"sienna","mintcream":"mint cream","rosybrown":"rosy brown","mediumslateblue":"medium slate blue","magenta":"magenta","lightseagreen":"light sea green","cyan":"cyan","olivedrab":"olive drab","darkgoldenrod":"dark goldenrod","slateblue":"slate blue","mediumaquamarine":"medium aquamarine","lavender":"lavender","mediumseagreen":"medium sea green","maroon":"maroon","darkslategray":"dark slate gray","mediumturquoise":"medium turquoise","ghostwhite":"ghost white","darkblue":"dark blue","mediumvioletred":"medium violet-red","brown":"brown","lightgray":"light gray","sandybrown":"sandy brown","pink":"pink","firebrick":"fire brick","indigo":"indigo","snow":"snow","darkorchid":"dark orchid","turquoise":"turquoise","chocolate":"chocolate","springgreen":"spring green","moccasin":"moccasin","navy":"navy","lemonchiffon":"lemon chiffon","teal":"teal","floralwhite":"floral white","cornflowerblue":"cornflower blue","paleturquoise":"pale turquoise","purple":"purple","gainsboro":"gainsboro","plum":"plum","red":"red","blue":"blue","forestgreen":"forest green","darkgreen":"dark green","honeydew":"honeydew","darkseagreen":"dark sea green","lightcoral":"light coral","palevioletred":"pale violet-red","mediumpurple":"medium purple","saddlebrown":"saddle brown","darkmagenta":"dark magenta","thistle":"thistle","whitesmoke":"white smoke","wheat":"wheat","violet":"violet","lightskyblue":"light sky blue","goldenrod":"goldenrod","mediumblue":"medium blue","skyblue":"sky blue","crimson":"crimson","darksalmon":"dark salmon","darkred":"dark red","darkslategrey":"dark slate gray","peru":"peru","lightgrey":"light gray","lightgoldenrodyellow":"light goldenrod yellow","blanchedalmond":"blanched almond","aliceblue":"alice blue","bisque":"bisque","slategray":"slate gray","palegoldenrod":"pale goldenrod","darkorange":"dark orange","aquamarine":"aquamarine","lightgreen":"light green","burlywood":"burlywood","dodgerblue":"dodger blue","darkgray":"dark gray","lightcyan":"light cyan","powderblue":"powder blue","blueviolet":"blue-violet","orchid":"orchid","dimgray":"dim gray","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavender blush","hotpink":"hot pink","steelblue":"steel blue","tomato":"tomato","lightpink":"light pink","limegreen":"lime green","indianred":"indian red","papayawhip":"papaya whip","lightslategray":"light slate gray","gray":"gray","mediumorchid":"medium orchid","cornsilk":"cornsilk","black":"black","seagreen":"sea green","darkslateblue":"dark slate blue","khaki":"khaki","lightblue":"light blue","palegreen":"pale green","azure":"azure","peachpuff":"peach puff","darkolivegreen":"dark olive green","yellowgreen":"yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.en");dijit.nls.loading.en={"loadingState":"Loading...","errorState":"Sorry, an error occurred"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en");dijit.nls.common.en={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.en");dijit.form.nls.Textarea.en={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.en");dijit._editor.nls.commands.en={"removeFormat":"Remove Format","copy":"Copy","paste":"Paste","selectAll":"Select All","insertOrderedList":"Numbered List","insertTable":"Insert/Edit Table","underline":"Underline","foreColor":"Foreground Color","htmlToggle":"HTML Source","formatBlock":"Paragraph Style","insertHorizontalRule":"Horizontal Rule","delete":"Delete","appleKey":"⌘${0}","insertUnorderedList":"Bullet List","tableProp":"Table Property","insertImage":"Insert Image","superscript":"Superscript","subscript":"Subscript","createLink":"Create Link","undo":"Undo","italic":"Italic","fontName":"Font Name","justifyLeft":"Align Left","unlink":"Remove Link","toggleTableBorder":"Toggle Table Border","ctrlKey":"ctrl+${0}","fontSize":"Font Size","indent":"Indent","redo":"Redo","strikethrough":"Strikethrough","justifyFull":"Justify","justifyCenter":"Align Center","hiliteColor":"Background Color","deleteTable":"Delete Table","outdent":"Outdent","cut":"Cut","plainFormatBlock":"Paragraph Style","toggleDir":"Toggle Direction","bold":"Bold","systemShortcutFF":"The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.","justifyRight":"Align Right"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.en");dojo.cldr.nls.number.en={"currencyFormat":"¤#,##0.00;(¤#,##0.00)","group":",","decimal":".","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","percentFormat":"#,##0%","decimalFormat":"#,##0.###","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en");dijit.nls.common.en={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.en");dijit.form.nls.validate.en={"rangeMessage":"This value is out of range.","invalidMessage":"The value entered is not valid.","missingMessage":"This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.en");dijit.form.nls.ComboBox.en={"previousMessage":"Previous choices","nextMessage":"More choices"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.en");dojo.cldr.nls.currency.en={"HKD_displayName":"Hong Kong Dollar","CHF_displayName":"Swiss Franc","CHF_symbol":"SwF","JPY_symbol":"¥","HKD_symbol":"HK$","CAD_displayName":"Canadian Dollar","CNY_displayName":"Chinese Yuan Renminbi","USD_symbol":"$","AUD_displayName":"Australian Dollar","JPY_displayName":"Japanese Yen","CAD_symbol":"Can$","USD_displayName":"US Dollar","CNY_symbol":"Y","GBP_displayName":"British Pound Sterling","GBP_symbol":"£","AUD_symbol":"$A","EUR_displayName":"Euro","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.en");dojo.cldr.nls.gregorian.en={"quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateFormat-medium":"MMM d, yyyy","pm":"PM","timeFormat-full":"h:mm:ss a v","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["HH:mm","HH:mm:ss","MMMM d","M/d","mm:ss","MM/yy","Q yy","QQQQ yy","MMM yyyy","yy MMM","yy Q","yyyy"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["Before Christ","Anno Domini"],"am":"AM","days-standAlone-narrow":["S","M","T","W","T","F","S"],"timeFormat-medium":"h:mm:ss a","dateFormat-long":"MMMM d, yyyy","field-dayperiod":"AM/PM","dateFormat-short":"M/d/yy","months-format-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"timeFormat-short":"h:mm a","months-format-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"eraAbbr":["BC","AD"],"days-format-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"timeFormat-long":"h:mm:ss a z","quarters-format-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateFormat-full":"EEEE, MMMM d, yyyy","days-format-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-minute":"Minute","field-weekday":"Day of the Week","dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.en");dijit.form.nls.Textarea.en={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en");dijit.nls.common.en={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"}; diff --git a/includes/js/dijit/nls/dijit-all_es-es.js b/includes/js/dijit/nls/dijit-all_es-es.js deleted file mode 100644 index 5932b67..0000000 --- a/includes/js/dijit/nls/dijit-all_es-es.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_es-es");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.es_es");dojo.nls.colors.es_es={"lightsteelblue":"azul acero claro","orangered":"rojo anaranjado","midnightblue":"azul medianoche","cadetblue":"azul cadete","seashell":"blanco marfil","slategrey":"gris pizarra","coral":"coral","darkturquoise":"turquesa oscuro","antiquewhite":"blanco antiguo","mediumspringgreen":"verde primavera medio","salmon":"salmón","darkgrey":"gris oscuro","ivory":"marfil","greenyellow":"amarillo verdoso","mistyrose":"rosa difuminado","lightsalmon":"salmón claro","silver":"plateado","dimgrey":"gris marengo","orange":"naranja","white":"blanco","navajowhite":"blanco navajo","royalblue":"azul real","deeppink":"rosa fuerte","lime":"lima","oldlace":"encaje antiguo","chartreuse":"verde pálido 2","darkcyan":"cian oscuro","yellow":"amarillo","linen":"blanco arena","olive":"verde oliva","gold":"oro","lawngreen":"verde césped","lightyellow":"amarillo claro","tan":"canela","darkviolet":"violeta oscuro","lightslategrey":"gris pizarra claro","grey":"gris","darkkhaki":"caqui oscuro","green":"verde","deepskyblue":"azul cielo fuerte","aqua":"aguamarina","sienna":"siena","mintcream":"crema menta","rosybrown":"marrón rosáceo","mediumslateblue":"azul pizarra medio","magenta":"magenta","lightseagreen":"verde mar claro","cyan":"cian","olivedrab":"verde oliva pardusco","darkgoldenrod":"ocre oscuro","slateblue":"azul pizarra","mediumaquamarine":"aguamarina medio","lavender":"lavanda","mediumseagreen":"verde mar medio","maroon":"granate","darkslategray":"gris pizarra oscuro","mediumturquoise":"turquesa medio","ghostwhite":"blanco ligero","darkblue":"azul oscuro","mediumvioletred":"rojo violáceo medio","brown":"marrón","lightgray":"gris claro","sandybrown":"marrón arcilla","pink":"rosa","firebrick":"teja","indigo":"añil","snow":"nieve","darkorchid":"orquídea oscuro","turquoise":"turquesa","chocolate":"chocolate","springgreen":"verde fuerte","moccasin":"arena","navy":"azul marino","lemonchiffon":"amarillo pastel","teal":"verde azulado","floralwhite":"blanco manteca","cornflowerblue":"azul aciano","paleturquoise":"turquesa pálido","purple":"púrpura","gainsboro":"azul gainsboro","plum":"ciruela","red":"rojo","blue":"azul","forestgreen":"verde pino","darkgreen":"verde oscuro","honeydew":"flor de rocío","darkseagreen":"verde mar oscuro","lightcoral":"coral claro","palevioletred":"rojo violáceo pálido","mediumpurple":"púrpura medio","saddlebrown":"cuero","darkmagenta":"magenta oscuro","thistle":"cardo","whitesmoke":"blanco ahumado","wheat":"trigo","violet":"violeta","lightskyblue":"azul cielo claro","goldenrod":"ocre","mediumblue":"azul medio","skyblue":"azul cielo","crimson":"carmesí","darksalmon":"salmón oscuro","darkred":"rojo oscuro","darkslategrey":"gris pizarra oscuro","peru":"perú","lightgrey":"gris claro","lightgoldenrodyellow":"ocre claro","blanchedalmond":"almendra pálido","aliceblue":"blanco azulado","bisque":"miel","slategray":"gris pizarra","palegoldenrod":"ocre pálido","darkorange":"naranja oscuro","aquamarine":"aguamarina 2","lightgreen":"verde claro","burlywood":"madera","dodgerblue":"azul fuerte","darkgray":"gris oscuro","lightcyan":"cian claro","powderblue":"azul suave","blueviolet":"azul violáceo","orchid":"orquídea","dimgray":"gris marengo","beige":"beige","fuchsia":"fucsia","lavenderblush":"lavanda rosácea","hotpink":"rosa oscuro","steelblue":"azul acero","tomato":"tomate","lightpink":"rosa claro","limegreen":"lima limón","indianred":"rojo teja","papayawhip":"papaya claro","lightslategray":"gris pizarra claro","gray":"gris","mediumorchid":"orquídea medio","cornsilk":"crudo","black":"negro","seagreen":"verde mar","darkslateblue":"azul pizarra oscuro","khaki":"caqui","lightblue":"azul claro","palegreen":"verde pálido","azure":"blanco cielo","peachpuff":"melocotón","darkolivegreen":"verde oliva oscuro","yellowgreen":"verde amarillento"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.es_es");dijit.nls.loading.es_es={"loadingState":"Cargando...","errorState":"Lo siento, se ha producido un error"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.es_es");dijit.nls.common.es_es={"buttonOk":"Aceptar","buttonCancel":"Cancelar","buttonSave":"Guardar","itemClose":"Cerrar"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.es_es");dijit.form.nls.Textarea.es_es={"iframeEditTitle":"área de edición","iframeFocusTitle":"marco del área de edición"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.es_es");dijit._editor.nls.commands.es_es={"removeFormat":"Eliminar formato","copy":"Copiar","paste":"Pegar","selectAll":"Seleccionar todo","insertOrderedList":"Lista numerada","insertTable":"Insertar/Editar tabla","underline":"Subrayado","foreColor":"Color de primer plano","htmlToggle":"Fuente HTML","formatBlock":"Estilo de párrafo","insertHorizontalRule":"Regla horizontal","delete":"Suprimir","insertUnorderedList":"Lista con viñetas","tableProp":"Propiedad de tabla","insertImage":"Insertar imagen","superscript":"Superíndice","subscript":"Subíndice","createLink":"Crear enlace","undo":"Deshacer","italic":"Cursiva","fontName":"Nombre de font","justifyLeft":"Alinear izquierda","unlink":"Eliminar enlace","toggleTableBorder":"Conmutar borde de tabla","ctrlKey":"Control+${0}","fontSize":"Tamaño de font","indent":"Sangría","redo":"Rehacer","strikethrough":"Tachado","justifyFull":"Justificar","justifyCenter":"Alinear centro","hiliteColor":"Color de segundo plano","deleteTable":"Suprimir tabla","outdent":"Anular sangría","cut":"Cortar","plainFormatBlock":"Estilo de párrafo","toggleDir":"Conmutar dirección","bold":"Negrita","systemShortcutFF":"La acción \"${0}\" sólo está disponible en Mozilla Firefox mediante un atajo de teclado. Utilice ${1}.","justifyRight":"Alinear derecha","appleKey":"⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.es_es");dojo.cldr.nls.number.es_es={"currencyFormat":"#,##0.00 ¤","group":".","decimal":",","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","percentFormat":"#,##0%","decimalFormat":"#,##0.###","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.es_es");dijit.nls.common.es_es={"buttonOk":"Aceptar","buttonCancel":"Cancelar","buttonSave":"Guardar","itemClose":"Cerrar"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.es_es");dijit.form.nls.validate.es_es={"rangeMessage":"Este valor está fuera del intervalo.","invalidMessage":"El valor especificado no es válido.","missingMessage":"Este valor es necesario."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.es_es");dijit.form.nls.ComboBox.es_es={"previousMessage":"Opciones anteriores","nextMessage":"Más opciones"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.es_es");dojo.cldr.nls.currency.es_es={"HKD_displayName":"dólar de Hong Kong","CHF_displayName":"franco suizo","CHF_symbol":"SwF","HKD_symbol":"HK$","CAD_displayName":"dólar canadiense","CNY_displayName":"yuan renminbi chino","AUD_displayName":"dólar australiano","JPY_displayName":"yen japonés","CAD_symbol":"Can$","USD_displayName":"dólar estadounidense","CNY_symbol":"Y","GBP_displayName":"libra esterlina británica","AUD_symbol":"$A","EUR_displayName":"euro","USD_symbol":"US$","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.es_es");dojo.cldr.nls.gregorian.es_es={"timeFormat-medium":"H:mm:ss","timeFormat-full":"HH'H'mm''ss\" v","timeFormat-short":"H:mm","quarters-format-abbreviated":["T1","T2","T3","T4"],"dateFormat-medium":"dd/MM/yyyy","field-second":"segundo","field-week":"semana","pm":"p.m.","dateTimeAvailableFormats":"QQQQ 'de' yy","months-standAlone-narrow":["E","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["antes de Cristo","anno Dómini"],"am":"a.m.","days-standAlone-narrow":["D","L","M","M","J","V","S"],"field-year":"año","field-minute":"minuto","field-hour":"hora","dateFormat-long":"d 'de' MMMM 'de' yyyy","field-day":"día","field-dayperiod":"periodo del día","field-month":"mes","dateFormat-short":"dd/MM/yy","months-format-wide":["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],"field-era":"era","months-format-abbr":["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],"days-format-wide":["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],"eraAbbr":["a.C.","d.C."],"quarters-format-wide":["1er trimestre","2º trimestre","3er trimestre","4º trimestre"],"dateFormat-full":"EEEE d 'de' MMMM 'de' yyyy","field-weekday":"día de la semana","days-format-abbr":["dom","lun","mar","mié","jue","vie","sáb"],"field-zone":"zona","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormat":"{1} {0}","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","timeFormat-long":"HH:mm:ss z","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.es_es");dijit.form.nls.Textarea.es_es={"iframeEditTitle":"área de edición","iframeFocusTitle":"marco del área de edición"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.es_es");dijit.nls.common.es_es={"buttonOk":"Aceptar","buttonCancel":"Cancelar","buttonSave":"Guardar","itemClose":"Cerrar"}; diff --git a/includes/js/dijit/nls/dijit-all_es.js b/includes/js/dijit/nls/dijit-all_es.js deleted file mode 100644 index 2e50da5..0000000 --- a/includes/js/dijit/nls/dijit-all_es.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_es");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.es");dojo.nls.colors.es={"lightsteelblue":"azul acero claro","orangered":"rojo anaranjado","midnightblue":"azul medianoche","cadetblue":"azul cadete","seashell":"blanco marfil","slategrey":"gris pizarra","coral":"coral","darkturquoise":"turquesa oscuro","antiquewhite":"blanco antiguo","mediumspringgreen":"verde primavera medio","salmon":"salmón","darkgrey":"gris oscuro","ivory":"marfil","greenyellow":"amarillo verdoso","mistyrose":"rosa difuminado","lightsalmon":"salmón claro","silver":"plateado","dimgrey":"gris marengo","orange":"naranja","white":"blanco","navajowhite":"blanco navajo","royalblue":"azul real","deeppink":"rosa fuerte","lime":"lima","oldlace":"encaje antiguo","chartreuse":"verde pálido 2","darkcyan":"cian oscuro","yellow":"amarillo","linen":"blanco arena","olive":"verde oliva","gold":"oro","lawngreen":"verde césped","lightyellow":"amarillo claro","tan":"canela","darkviolet":"violeta oscuro","lightslategrey":"gris pizarra claro","grey":"gris","darkkhaki":"caqui oscuro","green":"verde","deepskyblue":"azul cielo fuerte","aqua":"aguamarina","sienna":"siena","mintcream":"crema menta","rosybrown":"marrón rosáceo","mediumslateblue":"azul pizarra medio","magenta":"magenta","lightseagreen":"verde mar claro","cyan":"cian","olivedrab":"verde oliva pardusco","darkgoldenrod":"ocre oscuro","slateblue":"azul pizarra","mediumaquamarine":"aguamarina medio","lavender":"lavanda","mediumseagreen":"verde mar medio","maroon":"granate","darkslategray":"gris pizarra oscuro","mediumturquoise":"turquesa medio","ghostwhite":"blanco ligero","darkblue":"azul oscuro","mediumvioletred":"rojo violáceo medio","brown":"marrón","lightgray":"gris claro","sandybrown":"marrón arcilla","pink":"rosa","firebrick":"teja","indigo":"añil","snow":"nieve","darkorchid":"orquídea oscuro","turquoise":"turquesa","chocolate":"chocolate","springgreen":"verde fuerte","moccasin":"arena","navy":"azul marino","lemonchiffon":"amarillo pastel","teal":"verde azulado","floralwhite":"blanco manteca","cornflowerblue":"azul aciano","paleturquoise":"turquesa pálido","purple":"púrpura","gainsboro":"azul gainsboro","plum":"ciruela","red":"rojo","blue":"azul","forestgreen":"verde pino","darkgreen":"verde oscuro","honeydew":"flor de rocío","darkseagreen":"verde mar oscuro","lightcoral":"coral claro","palevioletred":"rojo violáceo pálido","mediumpurple":"púrpura medio","saddlebrown":"cuero","darkmagenta":"magenta oscuro","thistle":"cardo","whitesmoke":"blanco ahumado","wheat":"trigo","violet":"violeta","lightskyblue":"azul cielo claro","goldenrod":"ocre","mediumblue":"azul medio","skyblue":"azul cielo","crimson":"carmesí","darksalmon":"salmón oscuro","darkred":"rojo oscuro","darkslategrey":"gris pizarra oscuro","peru":"perú","lightgrey":"gris claro","lightgoldenrodyellow":"ocre claro","blanchedalmond":"almendra pálido","aliceblue":"blanco azulado","bisque":"miel","slategray":"gris pizarra","palegoldenrod":"ocre pálido","darkorange":"naranja oscuro","aquamarine":"aguamarina 2","lightgreen":"verde claro","burlywood":"madera","dodgerblue":"azul fuerte","darkgray":"gris oscuro","lightcyan":"cian claro","powderblue":"azul suave","blueviolet":"azul violáceo","orchid":"orquídea","dimgray":"gris marengo","beige":"beige","fuchsia":"fucsia","lavenderblush":"lavanda rosácea","hotpink":"rosa oscuro","steelblue":"azul acero","tomato":"tomate","lightpink":"rosa claro","limegreen":"lima limón","indianred":"rojo teja","papayawhip":"papaya claro","lightslategray":"gris pizarra claro","gray":"gris","mediumorchid":"orquídea medio","cornsilk":"crudo","black":"negro","seagreen":"verde mar","darkslateblue":"azul pizarra oscuro","khaki":"caqui","lightblue":"azul claro","palegreen":"verde pálido","azure":"blanco cielo","peachpuff":"melocotón","darkolivegreen":"verde oliva oscuro","yellowgreen":"verde amarillento"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.es");dijit.nls.loading.es={"loadingState":"Cargando...","errorState":"Lo siento, se ha producido un error"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.es");dijit.nls.common.es={"buttonOk":"Aceptar","buttonCancel":"Cancelar","buttonSave":"Guardar","itemClose":"Cerrar"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.es");dijit.form.nls.Textarea.es={"iframeEditTitle":"área de edición","iframeFocusTitle":"marco del área de edición"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.es");dijit._editor.nls.commands.es={"removeFormat":"Eliminar formato","copy":"Copiar","paste":"Pegar","selectAll":"Seleccionar todo","insertOrderedList":"Lista numerada","insertTable":"Insertar/Editar tabla","underline":"Subrayado","foreColor":"Color de primer plano","htmlToggle":"Fuente HTML","formatBlock":"Estilo de párrafo","insertHorizontalRule":"Regla horizontal","delete":"Suprimir","insertUnorderedList":"Lista con viñetas","tableProp":"Propiedad de tabla","insertImage":"Insertar imagen","superscript":"Superíndice","subscript":"Subíndice","createLink":"Crear enlace","undo":"Deshacer","italic":"Cursiva","fontName":"Nombre de font","justifyLeft":"Alinear izquierda","unlink":"Eliminar enlace","toggleTableBorder":"Conmutar borde de tabla","ctrlKey":"Control+${0}","fontSize":"Tamaño de font","indent":"Sangría","redo":"Rehacer","strikethrough":"Tachado","justifyFull":"Justificar","justifyCenter":"Alinear centro","hiliteColor":"Color de segundo plano","deleteTable":"Suprimir tabla","outdent":"Anular sangría","cut":"Cortar","plainFormatBlock":"Estilo de párrafo","toggleDir":"Conmutar dirección","bold":"Negrita","systemShortcutFF":"La acción \"${0}\" sólo está disponible en Mozilla Firefox mediante un atajo de teclado. Utilice ${1}.","justifyRight":"Alinear derecha","appleKey":"⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.es");dojo.cldr.nls.number.es={"currencyFormat":"¤ #,##0.00","group":".","decimal":",","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","percentFormat":"#,##0%","decimalFormat":"#,##0.###","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.es");dijit.nls.common.es={"buttonOk":"Aceptar","buttonCancel":"Cancelar","buttonSave":"Guardar","itemClose":"Cerrar"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.es");dijit.form.nls.validate.es={"rangeMessage":"Este valor está fuera del intervalo.","invalidMessage":"El valor especificado no es válido.","missingMessage":"Este valor es necesario."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.es");dijit.form.nls.ComboBox.es={"previousMessage":"Opciones anteriores","nextMessage":"Más opciones"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.es");dojo.cldr.nls.currency.es={"HKD_displayName":"dólar de Hong Kong","CHF_displayName":"franco suizo","CHF_symbol":"SwF","HKD_symbol":"HK$","CAD_displayName":"dólar canadiense","CNY_displayName":"yuan renminbi chino","AUD_displayName":"dólar australiano","JPY_displayName":"yen japonés","CAD_symbol":"Can$","USD_displayName":"dólar estadounidense","CNY_symbol":"Y","GBP_displayName":"libra esterlina británica","AUD_symbol":"$A","EUR_displayName":"euro","USD_symbol":"US$","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.es");dojo.cldr.nls.gregorian.es={"quarters-format-abbreviated":["T1","T2","T3","T4"],"dateFormat-medium":"dd/MM/yyyy","field-second":"segundo","field-week":"semana","pm":"p.m.","timeFormat-full":"hh:mm:ss a v","dateTimeAvailableFormats":"QQQQ 'de' yy","months-standAlone-narrow":["E","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["antes de Cristo","anno Dómini"],"am":"a.m.","days-standAlone-narrow":["D","L","M","M","J","V","S"],"field-year":"año","field-minute":"minuto","field-hour":"hora","dateFormat-long":"d 'de' MMMM 'de' yyyy","field-day":"día","field-dayperiod":"periodo del día","field-month":"mes","dateFormat-short":"dd/MM/yy","months-format-wide":["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],"field-era":"era","months-format-abbr":["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],"days-format-wide":["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],"eraAbbr":["a.C.","d.C."],"quarters-format-wide":["1er trimestre","2º trimestre","3er trimestre","4º trimestre"],"dateFormat-full":"EEEE d 'de' MMMM 'de' yyyy","field-weekday":"día de la semana","days-format-abbr":["dom","lun","mar","mié","jue","vie","sáb"],"field-zone":"zona","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","timeFormat-medium":"HH:mm:ss","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormat":"{1} {0}","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","timeFormat-long":"HH:mm:ss z","timeFormat-short":"HH:mm","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.es");dijit.form.nls.Textarea.es={"iframeEditTitle":"área de edición","iframeFocusTitle":"marco del área de edición"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.es");dijit.nls.common.es={"buttonOk":"Aceptar","buttonCancel":"Cancelar","buttonSave":"Guardar","itemClose":"Cerrar"}; diff --git a/includes/js/dijit/nls/dijit-all_fi-fi.js b/includes/js/dijit/nls/dijit-all_fi-fi.js deleted file mode 100644 index 4ac7152..0000000 --- a/includes/js/dijit/nls/dijit-all_fi-fi.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_fi-fi");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.fi_fi");dojo.nls.colors.fi_fi={"lightsteelblue":"light steel blue","orangered":"orange red","midnightblue":"midnight blue","cadetblue":"cadet blue","seashell":"seashell","slategrey":"slate gray","coral":"coral","darkturquoise":"dark turquoise","antiquewhite":"antique white","mediumspringgreen":"medium spring green","salmon":"salmon","darkgrey":"dark gray","ivory":"ivory","greenyellow":"green-yellow","mistyrose":"misty rose","lightsalmon":"light salmon","silver":"silver","dimgrey":"dim gray","orange":"orange","white":"white","navajowhite":"navajo white","royalblue":"royal blue","deeppink":"deep pink","lime":"lime","oldlace":"old lace","chartreuse":"chartreuse","darkcyan":"dark cyan","yellow":"yellow","linen":"linen","olive":"olive","gold":"gold","lawngreen":"lawn green","lightyellow":"light yellow","tan":"tan","darkviolet":"dark violet","lightslategrey":"light slate gray","grey":"gray","darkkhaki":"dark khaki","green":"green","deepskyblue":"deep sky blue","aqua":"aqua","sienna":"sienna","mintcream":"mint cream","rosybrown":"rosy brown","mediumslateblue":"medium slate blue","magenta":"magenta","lightseagreen":"light sea green","cyan":"cyan","olivedrab":"olive drab","darkgoldenrod":"dark goldenrod","slateblue":"slate blue","mediumaquamarine":"medium aquamarine","lavender":"lavender","mediumseagreen":"medium sea green","maroon":"maroon","darkslategray":"dark slate gray","mediumturquoise":"medium turquoise","ghostwhite":"ghost white","darkblue":"dark blue","mediumvioletred":"medium violet-red","brown":"brown","lightgray":"light gray","sandybrown":"sandy brown","pink":"pink","firebrick":"fire brick","indigo":"indigo","snow":"snow","darkorchid":"dark orchid","turquoise":"turquoise","chocolate":"chocolate","springgreen":"spring green","moccasin":"moccasin","navy":"navy","lemonchiffon":"lemon chiffon","teal":"teal","floralwhite":"floral white","cornflowerblue":"cornflower blue","paleturquoise":"pale turquoise","purple":"purple","gainsboro":"gainsboro","plum":"plum","red":"red","blue":"blue","forestgreen":"forest green","darkgreen":"dark green","honeydew":"honeydew","darkseagreen":"dark sea green","lightcoral":"light coral","palevioletred":"pale violet-red","mediumpurple":"medium purple","saddlebrown":"saddle brown","darkmagenta":"dark magenta","thistle":"thistle","whitesmoke":"white smoke","wheat":"wheat","violet":"violet","lightskyblue":"light sky blue","goldenrod":"goldenrod","mediumblue":"medium blue","skyblue":"sky blue","crimson":"crimson","darksalmon":"dark salmon","darkred":"dark red","darkslategrey":"dark slate gray","peru":"peru","lightgrey":"light gray","lightgoldenrodyellow":"light goldenrod yellow","blanchedalmond":"blanched almond","aliceblue":"alice blue","bisque":"bisque","slategray":"slate gray","palegoldenrod":"pale goldenrod","darkorange":"dark orange","aquamarine":"aquamarine","lightgreen":"light green","burlywood":"burlywood","dodgerblue":"dodger blue","darkgray":"dark gray","lightcyan":"light cyan","powderblue":"powder blue","blueviolet":"blue-violet","orchid":"orchid","dimgray":"dim gray","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavender blush","hotpink":"hot pink","steelblue":"steel blue","tomato":"tomato","lightpink":"light pink","limegreen":"lime green","indianred":"indian red","papayawhip":"papaya whip","lightslategray":"light slate gray","gray":"gray","mediumorchid":"medium orchid","cornsilk":"cornsilk","black":"black","seagreen":"sea green","darkslateblue":"dark slate blue","khaki":"khaki","lightblue":"light blue","palegreen":"pale green","azure":"azure","peachpuff":"peach puff","darkolivegreen":"dark olive green","yellowgreen":"yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.fi_fi");dijit.nls.loading.fi_fi={"loadingState":"Lataus on meneillään...","errorState":"On ilmennyt virhe."};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fi_fi");dijit.nls.common.fi_fi={"buttonOk":"OK","buttonCancel":"Peruuta","buttonSave":"Tallenna","itemClose":"Sulje"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.fi_fi");dijit.form.nls.Textarea.fi_fi={"iframeEditTitle":"muokkausalue","iframeFocusTitle":"muokkausalueen kehys"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.fi_fi");dijit._editor.nls.commands.fi_fi={"removeFormat":"Poista muotoilu","copy":"Kopioi","paste":"Liitä","selectAll":"Valitse kaikki","insertOrderedList":"Numeroitu luettelo","insertTable":"Lisää taulukko/muokkaa taulukkoa","underline":"Alleviivaus","foreColor":"Edustaväri","htmlToggle":"HTML-lähde","formatBlock":"Kappaletyyli","insertHorizontalRule":"Vaakasuuntainen viiva","delete":"Poista","insertUnorderedList":"Numeroimaton luettelo","tableProp":"Taulukon ominaisuudet","insertImage":"Lisää kuva","superscript":"Yläindeksi","subscript":"Alaindeksi","createLink":"Luo linkki","undo":"Kumoa","italic":"Kursivointi","fontName":"Fontin nimi","justifyLeft":"Tasaus vasemmalle","unlink":"Poista linkki","toggleTableBorder":"Ota taulukon kehys käyttöön/poista kehys käytöstä","fontSize":"Fontin koko","indent":"Sisennä","redo":"Tee uudelleen","strikethrough":"Yliviivaus","justifyFull":"Tasaus","justifyCenter":"Tasaus keskelle","hiliteColor":"Taustaväri","deleteTable":"Poista taulukko","outdent":"Ulonna","cut":"Leikkaa","plainFormatBlock":"Kappaletyyli","toggleDir":"Vaihda suuntaa","bold":"Lihavointi","systemShortcutFF":"Toiminto \"${0}\" on käytettävissä vain Mozilla Firefox -ohjelmassa, kun käytetään pikanäppäimiä. Käytä kohdetta ${1}.","justifyRight":"Tasaus oikealle","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.fi_fi");dojo.cldr.nls.number.fi_fi={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fi_fi");dijit.nls.common.fi_fi={"buttonOk":"OK","buttonCancel":"Peruuta","buttonSave":"Tallenna","itemClose":"Sulje"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.fi_fi");dijit.form.nls.validate.fi_fi={"rangeMessage":"Tämä arvo on sallitun alueen ulkopuolella.","invalidMessage":"Annettu arvo ei kelpaa.","missingMessage":"Tämä arvo on pakollinen."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.fi_fi");dijit.form.nls.ComboBox.fi_fi={"previousMessage":"Edelliset valinnat","nextMessage":"Lisää valintoja"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.fi_fi");dojo.cldr.nls.currency.fi_fi={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.fi_fi");dojo.cldr.nls.gregorian.fi_fi={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.fi_fi");dijit.form.nls.Textarea.fi_fi={"iframeEditTitle":"muokkausalue","iframeFocusTitle":"muokkausalueen kehys"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fi_fi");dijit.nls.common.fi_fi={"buttonOk":"OK","buttonCancel":"Peruuta","buttonSave":"Tallenna","itemClose":"Sulje"}; diff --git a/includes/js/dijit/nls/dijit-all_fi.js b/includes/js/dijit/nls/dijit-all_fi.js deleted file mode 100644 index df4ad56..0000000 --- a/includes/js/dijit/nls/dijit-all_fi.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_fi");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.fi");dojo.nls.colors.fi={"lightsteelblue":"light steel blue","orangered":"orange red","midnightblue":"midnight blue","cadetblue":"cadet blue","seashell":"seashell","slategrey":"slate gray","coral":"coral","darkturquoise":"dark turquoise","antiquewhite":"antique white","mediumspringgreen":"medium spring green","salmon":"salmon","darkgrey":"dark gray","ivory":"ivory","greenyellow":"green-yellow","mistyrose":"misty rose","lightsalmon":"light salmon","silver":"silver","dimgrey":"dim gray","orange":"orange","white":"white","navajowhite":"navajo white","royalblue":"royal blue","deeppink":"deep pink","lime":"lime","oldlace":"old lace","chartreuse":"chartreuse","darkcyan":"dark cyan","yellow":"yellow","linen":"linen","olive":"olive","gold":"gold","lawngreen":"lawn green","lightyellow":"light yellow","tan":"tan","darkviolet":"dark violet","lightslategrey":"light slate gray","grey":"gray","darkkhaki":"dark khaki","green":"green","deepskyblue":"deep sky blue","aqua":"aqua","sienna":"sienna","mintcream":"mint cream","rosybrown":"rosy brown","mediumslateblue":"medium slate blue","magenta":"magenta","lightseagreen":"light sea green","cyan":"cyan","olivedrab":"olive drab","darkgoldenrod":"dark goldenrod","slateblue":"slate blue","mediumaquamarine":"medium aquamarine","lavender":"lavender","mediumseagreen":"medium sea green","maroon":"maroon","darkslategray":"dark slate gray","mediumturquoise":"medium turquoise","ghostwhite":"ghost white","darkblue":"dark blue","mediumvioletred":"medium violet-red","brown":"brown","lightgray":"light gray","sandybrown":"sandy brown","pink":"pink","firebrick":"fire brick","indigo":"indigo","snow":"snow","darkorchid":"dark orchid","turquoise":"turquoise","chocolate":"chocolate","springgreen":"spring green","moccasin":"moccasin","navy":"navy","lemonchiffon":"lemon chiffon","teal":"teal","floralwhite":"floral white","cornflowerblue":"cornflower blue","paleturquoise":"pale turquoise","purple":"purple","gainsboro":"gainsboro","plum":"plum","red":"red","blue":"blue","forestgreen":"forest green","darkgreen":"dark green","honeydew":"honeydew","darkseagreen":"dark sea green","lightcoral":"light coral","palevioletred":"pale violet-red","mediumpurple":"medium purple","saddlebrown":"saddle brown","darkmagenta":"dark magenta","thistle":"thistle","whitesmoke":"white smoke","wheat":"wheat","violet":"violet","lightskyblue":"light sky blue","goldenrod":"goldenrod","mediumblue":"medium blue","skyblue":"sky blue","crimson":"crimson","darksalmon":"dark salmon","darkred":"dark red","darkslategrey":"dark slate gray","peru":"peru","lightgrey":"light gray","lightgoldenrodyellow":"light goldenrod yellow","blanchedalmond":"blanched almond","aliceblue":"alice blue","bisque":"bisque","slategray":"slate gray","palegoldenrod":"pale goldenrod","darkorange":"dark orange","aquamarine":"aquamarine","lightgreen":"light green","burlywood":"burlywood","dodgerblue":"dodger blue","darkgray":"dark gray","lightcyan":"light cyan","powderblue":"powder blue","blueviolet":"blue-violet","orchid":"orchid","dimgray":"dim gray","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavender blush","hotpink":"hot pink","steelblue":"steel blue","tomato":"tomato","lightpink":"light pink","limegreen":"lime green","indianred":"indian red","papayawhip":"papaya whip","lightslategray":"light slate gray","gray":"gray","mediumorchid":"medium orchid","cornsilk":"cornsilk","black":"black","seagreen":"sea green","darkslateblue":"dark slate blue","khaki":"khaki","lightblue":"light blue","palegreen":"pale green","azure":"azure","peachpuff":"peach puff","darkolivegreen":"dark olive green","yellowgreen":"yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.fi");dijit.nls.loading.fi={"loadingState":"Lataus on meneillään...","errorState":"On ilmennyt virhe."};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fi");dijit.nls.common.fi={"buttonOk":"OK","buttonCancel":"Peruuta","buttonSave":"Tallenna","itemClose":"Sulje"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.fi");dijit.form.nls.Textarea.fi={"iframeEditTitle":"muokkausalue","iframeFocusTitle":"muokkausalueen kehys"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.fi");dijit._editor.nls.commands.fi={"removeFormat":"Poista muotoilu","copy":"Kopioi","paste":"Liitä","selectAll":"Valitse kaikki","insertOrderedList":"Numeroitu luettelo","insertTable":"Lisää taulukko/muokkaa taulukkoa","underline":"Alleviivaus","foreColor":"Edustaväri","htmlToggle":"HTML-lähde","formatBlock":"Kappaletyyli","insertHorizontalRule":"Vaakasuuntainen viiva","delete":"Poista","insertUnorderedList":"Numeroimaton luettelo","tableProp":"Taulukon ominaisuudet","insertImage":"Lisää kuva","superscript":"Yläindeksi","subscript":"Alaindeksi","createLink":"Luo linkki","undo":"Kumoa","italic":"Kursivointi","fontName":"Fontin nimi","justifyLeft":"Tasaus vasemmalle","unlink":"Poista linkki","toggleTableBorder":"Ota taulukon kehys käyttöön/poista kehys käytöstä","fontSize":"Fontin koko","indent":"Sisennä","redo":"Tee uudelleen","strikethrough":"Yliviivaus","justifyFull":"Tasaus","justifyCenter":"Tasaus keskelle","hiliteColor":"Taustaväri","deleteTable":"Poista taulukko","outdent":"Ulonna","cut":"Leikkaa","plainFormatBlock":"Kappaletyyli","toggleDir":"Vaihda suuntaa","bold":"Lihavointi","systemShortcutFF":"Toiminto \"${0}\" on käytettävissä vain Mozilla Firefox -ohjelmassa, kun käytetään pikanäppäimiä. Käytä kohdetta ${1}.","justifyRight":"Tasaus oikealle","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.fi");dojo.cldr.nls.number.fi={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fi");dijit.nls.common.fi={"buttonOk":"OK","buttonCancel":"Peruuta","buttonSave":"Tallenna","itemClose":"Sulje"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.fi");dijit.form.nls.validate.fi={"rangeMessage":"Tämä arvo on sallitun alueen ulkopuolella.","invalidMessage":"Annettu arvo ei kelpaa.","missingMessage":"Tämä arvo on pakollinen."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.fi");dijit.form.nls.ComboBox.fi={"previousMessage":"Edelliset valinnat","nextMessage":"Lisää valintoja"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.fi");dojo.cldr.nls.currency.fi={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.fi");dojo.cldr.nls.gregorian.fi={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.fi");dijit.form.nls.Textarea.fi={"iframeEditTitle":"muokkausalue","iframeFocusTitle":"muokkausalueen kehys"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fi");dijit.nls.common.fi={"buttonOk":"OK","buttonCancel":"Peruuta","buttonSave":"Tallenna","itemClose":"Sulje"}; diff --git a/includes/js/dijit/nls/dijit-all_fr-fr.js b/includes/js/dijit/nls/dijit-all_fr-fr.js deleted file mode 100644 index 032704c..0000000 --- a/includes/js/dijit/nls/dijit-all_fr-fr.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_fr-fr");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.fr_fr");dojo.nls.colors.fr_fr={"lightsteelblue":"bleu acier clair","orangered":"rouge orangé","midnightblue":"bleu nuit","cadetblue":"bleu pétrole","seashell":"coquillage","slategrey":"gris ardoise","coral":"corail","darkturquoise":"turquoise foncé","antiquewhite":"blanc antique","mediumspringgreen":"vert printemps moyen","salmon":"saumon","darkgrey":"gris foncé","ivory":"ivoire","greenyellow":"vert-jaune","mistyrose":"rose pâle","lightsalmon":"saumon clair","silver":"argent","dimgrey":"gris soutenu","orange":"orange","white":"blanc","navajowhite":"chair","royalblue":"bleu roi","deeppink":"rose soutenu","lime":"vert citron","oldlace":"blanc cassé","chartreuse":"vert vif","darkcyan":"cyan foncé","yellow":"jaune","linen":"écru","olive":"olive","gold":"or","lawngreen":"vert prairie","lightyellow":"jaune clair","tan":"grège","darkviolet":"violet foncé","lightslategrey":"gris ardoise clair","grey":"gris","darkkhaki":"kaki foncé","green":"vert","deepskyblue":"bleu ciel soutenu","aqua":"bleu-vert","sienna":"terre de sienne","mintcream":"crème de menthe","rosybrown":"vieux rose","mediumslateblue":"bleu ardoise moyen","magenta":"magenta","lightseagreen":"vert d'eau clair","cyan":"cyan","olivedrab":"brun verdâtre","darkgoldenrod":"jaune paille foncé","slateblue":"bleu ardoise","mediumaquamarine":"aigue-marine moyen","lavender":"lavande","mediumseagreen":"vert d'eau moyen","maroon":"marron","darkslategray":"gris ardoise foncé","mediumturquoise":"turquoise moyen","ghostwhite":"blanc laiteux","darkblue":"bleu foncé","mediumvioletred":"rouge violacé moyen","brown":"brun","lightgray":"gris clair","sandybrown":"sable","pink":"rose","firebrick":"rouge brique","indigo":"indigo","snow":"neige","darkorchid":"lilas foncé","turquoise":"turquoise","chocolate":"chocolat","springgreen":"vert printemps","moccasin":"chamois","navy":"bleu marine","lemonchiffon":"mousse de citron","teal":"sarcelle","floralwhite":"lys","cornflowerblue":"bleuet","paleturquoise":"turquoise pâle","purple":"pourpre","gainsboro":"gris souris","plum":"prune","red":"rouge","blue":"bleu","forestgreen":"vert sapin","darkgreen":"vert foncé","honeydew":"opalin","darkseagreen":"vert d'eau foncé","lightcoral":"corail clair","palevioletred":"rouge violacé pâle","mediumpurple":"pourpre moyen","saddlebrown":"brun cuir","darkmagenta":"magenta foncé","thistle":"chardon","whitesmoke":"blanc cendré","wheat":"blé","violet":"violet","lightskyblue":"bleu ciel clair","goldenrod":"jaune paille","mediumblue":"bleu moyen","skyblue":"bleu ciel","crimson":"cramoisi","darksalmon":"saumon foncé","darkred":"rouge foncé","darkslategrey":"gris ardoise foncé","peru":"caramel","lightgrey":"gris clair","lightgoldenrodyellow":"jaune paille clair","blanchedalmond":"coquille d'oeuf","aliceblue":"bleu gris","bisque":"beige rosé","slategray":"gris ardoise","palegoldenrod":"jaune paille pâle","darkorange":"orange foncé","aquamarine":"aigue-marine","lightgreen":"vert clair","burlywood":"bois précieux","dodgerblue":"bleu France","darkgray":"gris foncé","lightcyan":"cyan clair","powderblue":"bleu de smalt","blueviolet":"bleu-violet","orchid":"lilas","dimgray":"gris soutenu","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavandin","hotpink":"rose intense","steelblue":"bleu acier","tomato":"tomate","lightpink":"rose clair","limegreen":"citron vert","indianred":"rose indien","papayawhip":"crème de papaye","lightslategray":"gris ardoise clair","gray":"gris","mediumorchid":"lilas moyen","cornsilk":"vanille","black":"noir","seagreen":"vert d'eau","darkslateblue":"bleu ardoise foncé","khaki":"kaki","lightblue":"bleu clair","palegreen":"vert pâle","azure":"bleu azur","peachpuff":"pêche","darkolivegreen":"olive foncé","yellowgreen":"vert jaunâtre"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.fr_fr");dijit.nls.loading.fr_fr={"loadingState":"Chargement...","errorState":"Une erreur est survenue"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fr_fr");dijit.nls.common.fr_fr={"buttonOk":"OK","buttonCancel":"Annuler","buttonSave":"Sauvegarder","itemClose":"Fermer"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.fr_fr");dijit.form.nls.Textarea.fr_fr={"iframeEditTitle":"zone d'édition","iframeFocusTitle":"cadre de la zone d'édition"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.fr_fr");dijit._editor.nls.commands.fr_fr={"removeFormat":"Supprimer la mise en forme","copy":"Copier","paste":"Coller","selectAll":"Sélectionner tout","insertOrderedList":"Liste numérotée","insertTable":"Insérer/Modifier un tableau","underline":"Souligner","foreColor":"Couleur d'avant-plan","htmlToggle":"Source HTML","formatBlock":"Style de paragraphe","insertHorizontalRule":"Règle horizontale","delete":"Supprimer","insertUnorderedList":"Liste à puces","tableProp":"Propriété du tableau","insertImage":"Insérer une image","superscript":"Exposant","subscript":"Indice","createLink":"Créer un lien","undo":"Annuler","italic":"Italique","fontName":"Nom de police","justifyLeft":"Aligner à gauche","unlink":"Supprimer le lien","toggleTableBorder":"Afficher/Masquer la bordure du tableau","fontSize":"Taille de police","indent":"Retrait","redo":"Rétablir","strikethrough":"Barrer","justifyFull":"Justifier","justifyCenter":"Aligner au centre","hiliteColor":"Couleur d'arrière-plan","deleteTable":"Supprimer le tableau","outdent":"Retrait négatif","cut":"Couper","plainFormatBlock":"Style de paragraphe","toggleDir":"Afficher/Masquer la direction","bold":"Gras","systemShortcutFF":"L'action \"${0}\" est disponible dans Mozilla Firefox uniquement, par le biais d'un raccourci-clavier. Utilisez ${1}.","justifyRight":"Aligner à droite","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.fr_fr");dojo.cldr.nls.number.fr_fr={"decimalFormat":"#,##0.###","group":" ","scientificFormat":"#E0","percentFormat":"#,##0 %","currencyFormat":"#,##0.00 ¤","decimal":",","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fr_fr");dijit.nls.common.fr_fr={"buttonOk":"OK","buttonCancel":"Annuler","buttonSave":"Sauvegarder","itemClose":"Fermer"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.fr_fr");dijit.form.nls.validate.fr_fr={"rangeMessage":"Cette valeur n'est pas comprise dans la plage autorisée.","invalidMessage":"La valeur indiquée n'est pas correcte.","missingMessage":"Cette valeur est requise."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.fr_fr");dijit.form.nls.ComboBox.fr_fr={"previousMessage":"Choix précédents","nextMessage":"Plus de choix"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.fr_fr");dojo.cldr.nls.currency.fr_fr={"HKD_displayName":"dollar de Hong Kong","CHF_displayName":"franc suisse","CHF_symbol":"sFr.","JPY_symbol":"¥JP","HKD_symbol":"$HK","CAD_displayName":"dollar canadien","CNY_displayName":"Yuan Ren-min-bi","USD_symbol":"$US","AUD_displayName":"dollar australien","JPY_displayName":"yen","CAD_symbol":"$Ca","USD_displayName":"dollars américains","GBP_displayName":"livre sterling","GBP_symbol":"£UK","AUD_symbol":"$A","EUR_displayName":"euro","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.fr_fr");dojo.cldr.nls.gregorian.fr_fr={"quarters-format-abbreviated":["T1","T2","T3","T4"],"dateFormat-medium":"d MMM yyyy","field-second":"seconde","field-week":"semaine","pm":"PM","timeFormat-full":"HH:mm:ss v","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["HH:mm","HH:mm:ss","E d MMM","d MMMM","dd/MM","d/M","mm:ss","MM/yy","MMM yy","Q yy","QQQQ yy","MMMM yyyy"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["avant Jésus-Christ","après Jésus-Christ"],"am":"AM","days-standAlone-narrow":["D","L","M","M","J","V","S"],"field-year":"année","field-minute":"minute","timeFormat-medium":"HH:mm:ss","quarters-stand-alone-narrow":["1","2","3","4"],"field-hour":"heure","dateFormat-long":"d MMMM yyyy","field-day":"jour","field-dayperiod":"cadran","field-month":"mois","dateFormat-short":"dd/MM/yy","months-format-wide":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],"field-era":"ère","timeFormat-short":"HH:mm","months-format-abbr":["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],"days-format-wide":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"eraAbbr":["av. J.-C.","ap. J.-C."],"timeFormat-long":"HH:mm:ss z","quarters-format-wide":["1er trimestre","2e trimestre","3e trimestre","4e trimestre"],"dateFormat-full":"EEEE d MMMM yyyy","field-weekday":"jour de la semaine","days-format-abbr":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"field-zone":"fuseau horaire","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.fr_fr");dijit.form.nls.Textarea.fr_fr={"iframeEditTitle":"zone d'édition","iframeFocusTitle":"cadre de la zone d'édition"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fr_fr");dijit.nls.common.fr_fr={"buttonOk":"OK","buttonCancel":"Annuler","buttonSave":"Sauvegarder","itemClose":"Fermer"}; diff --git a/includes/js/dijit/nls/dijit-all_fr.js b/includes/js/dijit/nls/dijit-all_fr.js deleted file mode 100644 index 4273e83..0000000 --- a/includes/js/dijit/nls/dijit-all_fr.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_fr");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.fr");dojo.nls.colors.fr={"lightsteelblue":"bleu acier clair","orangered":"rouge orangé","midnightblue":"bleu nuit","cadetblue":"bleu pétrole","seashell":"coquillage","slategrey":"gris ardoise","coral":"corail","darkturquoise":"turquoise foncé","antiquewhite":"blanc antique","mediumspringgreen":"vert printemps moyen","salmon":"saumon","darkgrey":"gris foncé","ivory":"ivoire","greenyellow":"vert-jaune","mistyrose":"rose pâle","lightsalmon":"saumon clair","silver":"argent","dimgrey":"gris soutenu","orange":"orange","white":"blanc","navajowhite":"chair","royalblue":"bleu roi","deeppink":"rose soutenu","lime":"vert citron","oldlace":"blanc cassé","chartreuse":"vert vif","darkcyan":"cyan foncé","yellow":"jaune","linen":"écru","olive":"olive","gold":"or","lawngreen":"vert prairie","lightyellow":"jaune clair","tan":"grège","darkviolet":"violet foncé","lightslategrey":"gris ardoise clair","grey":"gris","darkkhaki":"kaki foncé","green":"vert","deepskyblue":"bleu ciel soutenu","aqua":"bleu-vert","sienna":"terre de sienne","mintcream":"crème de menthe","rosybrown":"vieux rose","mediumslateblue":"bleu ardoise moyen","magenta":"magenta","lightseagreen":"vert d'eau clair","cyan":"cyan","olivedrab":"brun verdâtre","darkgoldenrod":"jaune paille foncé","slateblue":"bleu ardoise","mediumaquamarine":"aigue-marine moyen","lavender":"lavande","mediumseagreen":"vert d'eau moyen","maroon":"marron","darkslategray":"gris ardoise foncé","mediumturquoise":"turquoise moyen","ghostwhite":"blanc laiteux","darkblue":"bleu foncé","mediumvioletred":"rouge violacé moyen","brown":"brun","lightgray":"gris clair","sandybrown":"sable","pink":"rose","firebrick":"rouge brique","indigo":"indigo","snow":"neige","darkorchid":"lilas foncé","turquoise":"turquoise","chocolate":"chocolat","springgreen":"vert printemps","moccasin":"chamois","navy":"bleu marine","lemonchiffon":"mousse de citron","teal":"sarcelle","floralwhite":"lys","cornflowerblue":"bleuet","paleturquoise":"turquoise pâle","purple":"pourpre","gainsboro":"gris souris","plum":"prune","red":"rouge","blue":"bleu","forestgreen":"vert sapin","darkgreen":"vert foncé","honeydew":"opalin","darkseagreen":"vert d'eau foncé","lightcoral":"corail clair","palevioletred":"rouge violacé pâle","mediumpurple":"pourpre moyen","saddlebrown":"brun cuir","darkmagenta":"magenta foncé","thistle":"chardon","whitesmoke":"blanc cendré","wheat":"blé","violet":"violet","lightskyblue":"bleu ciel clair","goldenrod":"jaune paille","mediumblue":"bleu moyen","skyblue":"bleu ciel","crimson":"cramoisi","darksalmon":"saumon foncé","darkred":"rouge foncé","darkslategrey":"gris ardoise foncé","peru":"caramel","lightgrey":"gris clair","lightgoldenrodyellow":"jaune paille clair","blanchedalmond":"coquille d'oeuf","aliceblue":"bleu gris","bisque":"beige rosé","slategray":"gris ardoise","palegoldenrod":"jaune paille pâle","darkorange":"orange foncé","aquamarine":"aigue-marine","lightgreen":"vert clair","burlywood":"bois précieux","dodgerblue":"bleu France","darkgray":"gris foncé","lightcyan":"cyan clair","powderblue":"bleu de smalt","blueviolet":"bleu-violet","orchid":"lilas","dimgray":"gris soutenu","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavandin","hotpink":"rose intense","steelblue":"bleu acier","tomato":"tomate","lightpink":"rose clair","limegreen":"citron vert","indianred":"rose indien","papayawhip":"crème de papaye","lightslategray":"gris ardoise clair","gray":"gris","mediumorchid":"lilas moyen","cornsilk":"vanille","black":"noir","seagreen":"vert d'eau","darkslateblue":"bleu ardoise foncé","khaki":"kaki","lightblue":"bleu clair","palegreen":"vert pâle","azure":"bleu azur","peachpuff":"pêche","darkolivegreen":"olive foncé","yellowgreen":"vert jaunâtre"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.fr");dijit.nls.loading.fr={"loadingState":"Chargement...","errorState":"Une erreur est survenue"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fr");dijit.nls.common.fr={"buttonOk":"OK","buttonCancel":"Annuler","buttonSave":"Sauvegarder","itemClose":"Fermer"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.fr");dijit.form.nls.Textarea.fr={"iframeEditTitle":"zone d'édition","iframeFocusTitle":"cadre de la zone d'édition"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.fr");dijit._editor.nls.commands.fr={"removeFormat":"Supprimer la mise en forme","copy":"Copier","paste":"Coller","selectAll":"Sélectionner tout","insertOrderedList":"Liste numérotée","insertTable":"Insérer/Modifier un tableau","underline":"Souligner","foreColor":"Couleur d'avant-plan","htmlToggle":"Source HTML","formatBlock":"Style de paragraphe","insertHorizontalRule":"Règle horizontale","delete":"Supprimer","insertUnorderedList":"Liste à puces","tableProp":"Propriété du tableau","insertImage":"Insérer une image","superscript":"Exposant","subscript":"Indice","createLink":"Créer un lien","undo":"Annuler","italic":"Italique","fontName":"Nom de police","justifyLeft":"Aligner à gauche","unlink":"Supprimer le lien","toggleTableBorder":"Afficher/Masquer la bordure du tableau","fontSize":"Taille de police","indent":"Retrait","redo":"Rétablir","strikethrough":"Barrer","justifyFull":"Justifier","justifyCenter":"Aligner au centre","hiliteColor":"Couleur d'arrière-plan","deleteTable":"Supprimer le tableau","outdent":"Retrait négatif","cut":"Couper","plainFormatBlock":"Style de paragraphe","toggleDir":"Afficher/Masquer la direction","bold":"Gras","systemShortcutFF":"L'action \"${0}\" est disponible dans Mozilla Firefox uniquement, par le biais d'un raccourci-clavier. Utilisez ${1}.","justifyRight":"Aligner à droite","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.fr");dojo.cldr.nls.number.fr={"decimalFormat":"#,##0.###","group":" ","scientificFormat":"#E0","percentFormat":"#,##0 %","currencyFormat":"#,##0.00 ¤","decimal":",","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fr");dijit.nls.common.fr={"buttonOk":"OK","buttonCancel":"Annuler","buttonSave":"Sauvegarder","itemClose":"Fermer"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.fr");dijit.form.nls.validate.fr={"rangeMessage":"Cette valeur n'est pas comprise dans la plage autorisée.","invalidMessage":"La valeur indiquée n'est pas correcte.","missingMessage":"Cette valeur est requise."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.fr");dijit.form.nls.ComboBox.fr={"previousMessage":"Choix précédents","nextMessage":"Plus de choix"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.fr");dojo.cldr.nls.currency.fr={"HKD_displayName":"dollar de Hong Kong","CHF_displayName":"franc suisse","CHF_symbol":"sFr.","JPY_symbol":"¥JP","HKD_symbol":"$HK","CAD_displayName":"dollar canadien","CNY_displayName":"Yuan Ren-min-bi","USD_symbol":"$US","AUD_displayName":"dollar australien","JPY_displayName":"yen","CAD_symbol":"$Ca","USD_displayName":"dollars américains","GBP_displayName":"livre sterling","GBP_symbol":"£UK","AUD_symbol":"$A","EUR_displayName":"euro","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.fr");dojo.cldr.nls.gregorian.fr={"quarters-format-abbreviated":["T1","T2","T3","T4"],"dateFormat-medium":"d MMM yyyy","field-second":"seconde","field-week":"semaine","pm":"PM","timeFormat-full":"HH:mm:ss v","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["HH:mm","HH:mm:ss","E d MMM","d MMMM","dd/MM","d/M","mm:ss","MM/yy","MMM yy","Q yy","QQQQ yy","MMMM yyyy"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["avant Jésus-Christ","après Jésus-Christ"],"am":"AM","days-standAlone-narrow":["D","L","M","M","J","V","S"],"field-year":"année","field-minute":"minute","timeFormat-medium":"HH:mm:ss","quarters-stand-alone-narrow":["1","2","3","4"],"field-hour":"heure","dateFormat-long":"d MMMM yyyy","field-day":"jour","field-dayperiod":"cadran","field-month":"mois","dateFormat-short":"dd/MM/yy","months-format-wide":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],"field-era":"ère","timeFormat-short":"HH:mm","months-format-abbr":["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],"days-format-wide":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"eraAbbr":["av. J.-C.","ap. J.-C."],"timeFormat-long":"HH:mm:ss z","quarters-format-wide":["1er trimestre","2e trimestre","3e trimestre","4e trimestre"],"dateFormat-full":"EEEE d MMMM yyyy","field-weekday":"jour de la semaine","days-format-abbr":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"field-zone":"fuseau horaire","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.fr");dijit.form.nls.Textarea.fr={"iframeEditTitle":"zone d'édition","iframeFocusTitle":"cadre de la zone d'édition"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fr");dijit.nls.common.fr={"buttonOk":"OK","buttonCancel":"Annuler","buttonSave":"Sauvegarder","itemClose":"Fermer"}; diff --git a/includes/js/dijit/nls/dijit-all_he-il.js b/includes/js/dijit/nls/dijit-all_he-il.js deleted file mode 100644 index 4ea9882..0000000 --- a/includes/js/dijit/nls/dijit-all_he-il.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_he-il");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.he_il");dojo.nls.colors.he_il={"lightsteelblue":"כחול פלדה בהיר","orangered":"כתום אדום ","midnightblue":"midnight blue","cadetblue":"כחול ים","seashell":"צדף ","slategrey":"אפור צפחה","coral":"אלמוג","darkturquoise":"טורקיז כהה","antiquewhite":"antique white","mediumspringgreen":"medium spring green","salmon":"סלמון ","darkgrey":"אפור כהה","ivory":"שנהב","greenyellow":"ירוק-צהוב","mistyrose":"misty rose","lightsalmon":"סלמון בהיר","silver":"כסף","dimgrey":"אפור עמום","orange":"כתום ","white":"לבן ","navajowhite":"navajo white","royalblue":"כחול מלכותי","deeppink":"ורוד עמוק","lime":"לימון","oldlace":"old lace","chartreuse":"chartreuse","darkcyan":"טורקיז כהה","yellow":"צהוב ","linen":"linen","olive":"olive","gold":"זהב","lawngreen":"ירוק דשא","lightyellow":"צהוב בהיר","tan":"חום אדמדם","darkviolet":"סגול כהה","lightslategrey":"אפור צפחה בהיר","grey":"אפור","darkkhaki":"חאקי כהה ","green":"ירוק","deepskyblue":"כחול שמיים עמוק","aqua":"aqua","sienna":"sienna","mintcream":"mint cream","rosybrown":"חום ורדרד ","mediumslateblue":"medium slate blue","magenta":"בורדו ","lightseagreen":"ירוק ים בהיר","cyan":"טורקיז","olivedrab":"זית עמום ","darkgoldenrod":"dark goldenrod","slateblue":"כחול צפחה","mediumaquamarine":"medium aquamarine","lavender":"לבנדר ","mediumseagreen":"medium sea green","maroon":"חום אדמדם","darkslategray":"אפור צפחה כהה","mediumturquoise":"medium turquoise","ghostwhite":"ghost white","darkblue":"כחול כהה","mediumvioletred":"medium violet-red","brown":"חום","lightgray":"אפור בהיר","sandybrown":"חום חולי ","pink":"pink","firebrick":"fire brick","indigo":"אינדיגו","snow":"שלג","darkorchid":"dark orchid","turquoise":"טורקיז ","chocolate":"שוקולד","springgreen":"ירוק אביב","moccasin":"moccasin","navy":"navy","lemonchiffon":"lemon chiffon","teal":"כחול-ירוק כהה","floralwhite":"floral white","cornflowerblue":"cornflower blue","paleturquoise":"pale turquoise","purple":"סגול ","gainsboro":"gainsboro","plum":"שזיף ","red":"אדום","blue":"כחול","forestgreen":"ירוק יער","darkgreen":"ירוק כהה","honeydew":"honeydew","darkseagreen":"ירוק ים כהה","lightcoral":"אלמוג בהיר","palevioletred":"pale violet-red","mediumpurple":"medium purple","saddlebrown":"חום דהוי","darkmagenta":"בורדו כהה","thistle":"דרדר","whitesmoke":"עשן לבן ","wheat":"חיוט","violet":"סגול ","lightskyblue":"כחול שמיים בהיר","goldenrod":"goldenrod","mediumblue":"medium blue","skyblue":"כחול שמיים ","crimson":"ארגמן ","darksalmon":"סלמון כהה","darkred":"אדום כהה","darkslategrey":"אפור צפחה כהה","peru":"peru","lightgrey":"אפור בהיר","lightgoldenrodyellow":"light goldenrod yellow","blanchedalmond":"blanched almond","aliceblue":"alice blue","bisque":"bisque","slategray":"אפור צפחה","palegoldenrod":"pale goldenrod","darkorange":"כתום כהה","aquamarine":"aquamarine","lightgreen":"ירוק בהיר","burlywood":"burlywood","dodgerblue":"כחול","darkgray":"אפור כהה","lightcyan":"טורקיז בהיר","powderblue":"כחול חיוור","blueviolet":"כחול-סגול","orchid":"סחלב ","dimgray":"אפור עמום","beige":"בז'","fuchsia":"ורוד בהיר","lavenderblush":"סומק לבנדר","hotpink":"ורוד לוהט","steelblue":"כחול פלדה","tomato":"עגבניה","lightpink":"ורוד בהיר ","limegreen":"ירוק לימוני","indianred":"indian red","papayawhip":"papaya whip","lightslategray":"אפור צפחה בהיר","gray":"אפור","mediumorchid":"medium orchid","cornsilk":"cornsilk","black":"שחור","seagreen":"ירוק ים","darkslateblue":"כחול צפחה כהה","khaki":"חאקי ","lightblue":"תכלת","palegreen":"pale green","azure":"תכלת עז","peachpuff":"peach puff","darkolivegreen":"ירוק זית כהה","yellowgreen":"ירוק צהוב"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.he_il");dijit.nls.loading.he_il={"loadingState":"טעינה...","errorState":"אירעה שגיאה"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.he_il");dijit.nls.common.he_il={"buttonOk":"אישור","buttonCancel":"ביטול","buttonSave":"שמירה","itemClose":"סגירה"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.he_il");dijit.form.nls.Textarea.he_il={"iframeEditTitle":"אזור עריכה","iframeFocusTitle":"מסגרת אזור עריכה"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.he_il");dijit._editor.nls.commands.he_il={"removeFormat":"סילוק עיצוב","copy":"העתקה","paste":"הדבקה","selectAll":"בחירת הכל","insertOrderedList":"רשימה ממוספרת","insertTable":"הוספת/עריכת טבלה","underline":"קו תחתי","foreColor":"צבע חזית ","htmlToggle":"מקור HTML","formatBlock":"סגנון פיסקה","insertHorizontalRule":"קו אופקי","delete":"מחיקה","insertUnorderedList":"רשימה עם תבליטים","tableProp":"תכונת טבלה","insertImage":"הוספת תמונה","superscript":"כתב עילי","subscript":"כתב תחתי","createLink":"יצירת קישור","undo":"ביטול פעולה","italic":"נטוי","fontName":"שם גופן","justifyLeft":"יישור לשמאל","unlink":"סילוק הקישור","toggleTableBorder":"מיתוג גבול טבלה","fontSize":"גופן יחסי","indent":"הגדלת כניסה","redo":"שחזור פעולה","strikethrough":"קו חוצה","justifyFull":"יישור דו-צדדי","justifyCenter":"יישור למרכז","hiliteColor":"צבע רקע","deleteTable":"מחיקת טבלה","outdent":"הקטנת כניסה","cut":"גזירה","plainFormatBlock":"סגנון פיסקה","toggleDir":"מיתוג כיוון ","bold":"מודגש","systemShortcutFF":"הפעולה \"${0}\" זמינה בדפדפן Mozilla Firefox רק באמצעות קיצור דרך במקלדת. נא להשתמש ב-${1}.","justifyRight":"יישור לימין","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.he_il");dojo.cldr.nls.number.he_il={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.he_il");dijit.nls.common.he_il={"buttonOk":"אישור","buttonCancel":"ביטול","buttonSave":"שמירה","itemClose":"סגירה"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.he_il");dijit.form.nls.validate.he_il={"rangeMessage":"הערך מחוץ לטווח. ","invalidMessage":"הערך שצוין אינו חוקי.","missingMessage":"זהו ערך דרוש. "};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.he_il");dijit.form.nls.ComboBox.he_il={"previousMessage":"האפשרויות הקודמות","nextMessage":"אפשרויות נוספות"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.he_il");dojo.cldr.nls.currency.he_il={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.he_il");dojo.cldr.nls.gregorian.he_il={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.he_il");dijit.form.nls.Textarea.he_il={"iframeEditTitle":"אזור עריכה","iframeFocusTitle":"מסגרת אזור עריכה"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.he_il");dijit.nls.common.he_il={"buttonOk":"אישור","buttonCancel":"ביטול","buttonSave":"שמירה","itemClose":"סגירה"}; diff --git a/includes/js/dijit/nls/dijit-all_he.js b/includes/js/dijit/nls/dijit-all_he.js deleted file mode 100644 index 9004de9..0000000 --- a/includes/js/dijit/nls/dijit-all_he.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_he");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.he");dojo.nls.colors.he={"lightsteelblue":"כחול פלדה בהיר","orangered":"כתום אדום ","midnightblue":"midnight blue","cadetblue":"כחול ים","seashell":"צדף ","slategrey":"אפור צפחה","coral":"אלמוג","darkturquoise":"טורקיז כהה","antiquewhite":"antique white","mediumspringgreen":"medium spring green","salmon":"סלמון ","darkgrey":"אפור כהה","ivory":"שנהב","greenyellow":"ירוק-צהוב","mistyrose":"misty rose","lightsalmon":"סלמון בהיר","silver":"כסף","dimgrey":"אפור עמום","orange":"כתום ","white":"לבן ","navajowhite":"navajo white","royalblue":"כחול מלכותי","deeppink":"ורוד עמוק","lime":"לימון","oldlace":"old lace","chartreuse":"chartreuse","darkcyan":"טורקיז כהה","yellow":"צהוב ","linen":"linen","olive":"olive","gold":"זהב","lawngreen":"ירוק דשא","lightyellow":"צהוב בהיר","tan":"חום אדמדם","darkviolet":"סגול כהה","lightslategrey":"אפור צפחה בהיר","grey":"אפור","darkkhaki":"חאקי כהה ","green":"ירוק","deepskyblue":"כחול שמיים עמוק","aqua":"aqua","sienna":"sienna","mintcream":"mint cream","rosybrown":"חום ורדרד ","mediumslateblue":"medium slate blue","magenta":"בורדו ","lightseagreen":"ירוק ים בהיר","cyan":"טורקיז","olivedrab":"זית עמום ","darkgoldenrod":"dark goldenrod","slateblue":"כחול צפחה","mediumaquamarine":"medium aquamarine","lavender":"לבנדר ","mediumseagreen":"medium sea green","maroon":"חום אדמדם","darkslategray":"אפור צפחה כהה","mediumturquoise":"medium turquoise","ghostwhite":"ghost white","darkblue":"כחול כהה","mediumvioletred":"medium violet-red","brown":"חום","lightgray":"אפור בהיר","sandybrown":"חום חולי ","pink":"pink","firebrick":"fire brick","indigo":"אינדיגו","snow":"שלג","darkorchid":"dark orchid","turquoise":"טורקיז ","chocolate":"שוקולד","springgreen":"ירוק אביב","moccasin":"moccasin","navy":"navy","lemonchiffon":"lemon chiffon","teal":"כחול-ירוק כהה","floralwhite":"floral white","cornflowerblue":"cornflower blue","paleturquoise":"pale turquoise","purple":"סגול ","gainsboro":"gainsboro","plum":"שזיף ","red":"אדום","blue":"כחול","forestgreen":"ירוק יער","darkgreen":"ירוק כהה","honeydew":"honeydew","darkseagreen":"ירוק ים כהה","lightcoral":"אלמוג בהיר","palevioletred":"pale violet-red","mediumpurple":"medium purple","saddlebrown":"חום דהוי","darkmagenta":"בורדו כהה","thistle":"דרדר","whitesmoke":"עשן לבן ","wheat":"חיוט","violet":"סגול ","lightskyblue":"כחול שמיים בהיר","goldenrod":"goldenrod","mediumblue":"medium blue","skyblue":"כחול שמיים ","crimson":"ארגמן ","darksalmon":"סלמון כהה","darkred":"אדום כהה","darkslategrey":"אפור צפחה כהה","peru":"peru","lightgrey":"אפור בהיר","lightgoldenrodyellow":"light goldenrod yellow","blanchedalmond":"blanched almond","aliceblue":"alice blue","bisque":"bisque","slategray":"אפור צפחה","palegoldenrod":"pale goldenrod","darkorange":"כתום כהה","aquamarine":"aquamarine","lightgreen":"ירוק בהיר","burlywood":"burlywood","dodgerblue":"כחול","darkgray":"אפור כהה","lightcyan":"טורקיז בהיר","powderblue":"כחול חיוור","blueviolet":"כחול-סגול","orchid":"סחלב ","dimgray":"אפור עמום","beige":"בז'","fuchsia":"ורוד בהיר","lavenderblush":"סומק לבנדר","hotpink":"ורוד לוהט","steelblue":"כחול פלדה","tomato":"עגבניה","lightpink":"ורוד בהיר ","limegreen":"ירוק לימוני","indianred":"indian red","papayawhip":"papaya whip","lightslategray":"אפור צפחה בהיר","gray":"אפור","mediumorchid":"medium orchid","cornsilk":"cornsilk","black":"שחור","seagreen":"ירוק ים","darkslateblue":"כחול צפחה כהה","khaki":"חאקי ","lightblue":"תכלת","palegreen":"pale green","azure":"תכלת עז","peachpuff":"peach puff","darkolivegreen":"ירוק זית כהה","yellowgreen":"ירוק צהוב"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.he");dijit.nls.loading.he={"loadingState":"טעינה...","errorState":"אירעה שגיאה"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.he");dijit.nls.common.he={"buttonOk":"אישור","buttonCancel":"ביטול","buttonSave":"שמירה","itemClose":"סגירה"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.he");dijit.form.nls.Textarea.he={"iframeEditTitle":"אזור עריכה","iframeFocusTitle":"מסגרת אזור עריכה"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.he");dijit._editor.nls.commands.he={"removeFormat":"סילוק עיצוב","copy":"העתקה","paste":"הדבקה","selectAll":"בחירת הכל","insertOrderedList":"רשימה ממוספרת","insertTable":"הוספת/עריכת טבלה","underline":"קו תחתי","foreColor":"צבע חזית ","htmlToggle":"מקור HTML","formatBlock":"סגנון פיסקה","insertHorizontalRule":"קו אופקי","delete":"מחיקה","insertUnorderedList":"רשימה עם תבליטים","tableProp":"תכונת טבלה","insertImage":"הוספת תמונה","superscript":"כתב עילי","subscript":"כתב תחתי","createLink":"יצירת קישור","undo":"ביטול פעולה","italic":"נטוי","fontName":"שם גופן","justifyLeft":"יישור לשמאל","unlink":"סילוק הקישור","toggleTableBorder":"מיתוג גבול טבלה","fontSize":"גופן יחסי","indent":"הגדלת כניסה","redo":"שחזור פעולה","strikethrough":"קו חוצה","justifyFull":"יישור דו-צדדי","justifyCenter":"יישור למרכז","hiliteColor":"צבע רקע","deleteTable":"מחיקת טבלה","outdent":"הקטנת כניסה","cut":"גזירה","plainFormatBlock":"סגנון פיסקה","toggleDir":"מיתוג כיוון ","bold":"מודגש","systemShortcutFF":"הפעולה \"${0}\" זמינה בדפדפן Mozilla Firefox רק באמצעות קיצור דרך במקלדת. נא להשתמש ב-${1}.","justifyRight":"יישור לימין","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.he");dojo.cldr.nls.number.he={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.he");dijit.nls.common.he={"buttonOk":"אישור","buttonCancel":"ביטול","buttonSave":"שמירה","itemClose":"סגירה"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.he");dijit.form.nls.validate.he={"rangeMessage":"הערך מחוץ לטווח. ","invalidMessage":"הערך שצוין אינו חוקי.","missingMessage":"זהו ערך דרוש. "};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.he");dijit.form.nls.ComboBox.he={"previousMessage":"האפשרויות הקודמות","nextMessage":"אפשרויות נוספות"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.he");dojo.cldr.nls.currency.he={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.he");dojo.cldr.nls.gregorian.he={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.he");dijit.form.nls.Textarea.he={"iframeEditTitle":"אזור עריכה","iframeFocusTitle":"מסגרת אזור עריכה"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.he");dijit.nls.common.he={"buttonOk":"אישור","buttonCancel":"ביטול","buttonSave":"שמירה","itemClose":"סגירה"}; diff --git a/includes/js/dijit/nls/dijit-all_hu.js b/includes/js/dijit/nls/dijit-all_hu.js deleted file mode 100644 index 3118025..0000000 --- a/includes/js/dijit/nls/dijit-all_hu.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_hu");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.hu");dojo.nls.colors.hu={"lightsteelblue":"világos acélkék","orangered":"narancsvörös","midnightblue":"éjkék","cadetblue":"kadétkék","seashell":"kagyló","slategrey":"palaszürke","coral":"korall","darkturquoise":"sötét türkizkék","antiquewhite":"antik fehér","mediumspringgreen":"közepes tavaszzöld","salmon":"lazacszín","darkgrey":"sötétszürke","ivory":"elefántcsont","greenyellow":"zöldessárga","mistyrose":"halvány rózsaszín","lightsalmon":"világos lazacszín","silver":"ezüst","dimgrey":"halványszürke","orange":"narancssárga","white":"fehér","navajowhite":"navajo fehér","royalblue":"királykék","deeppink":"sötétrózsaszín","lime":"lime","oldlace":"régi csipke","chartreuse":"chartreuse","darkcyan":"sötét ciánkék","yellow":"sárga","linen":"vászonfehér","olive":"olajzöld","gold":"arany","lawngreen":"fűzöld","lightyellow":"világossárga","tan":"rozsdabarna","darkviolet":"sötét ibolyaszín","lightslategrey":"világos palaszürke","grey":"szürke","darkkhaki":"sötét khakiszín","green":"zöld","deepskyblue":"sötét égszínkék","aqua":"vízszín","sienna":"vörösesbarna","mintcream":"mentaszósz","rosybrown":"barnásrózsaszín","mediumslateblue":"közepes palakék","magenta":"bíbor","lightseagreen":"világos tengerzöld","cyan":"ciánkék","olivedrab":"olajzöld drapp","darkgoldenrod":"sötét aranyvessző","slateblue":"palakék","mediumaquamarine":"közepes akvamarin","lavender":"levendula","mediumseagreen":"közepes tengerzöld","maroon":"gesztenyebarna","darkslategray":"sötét palaszürke","mediumturquoise":"közepes türkizkék","ghostwhite":"szellemfehér","darkblue":"sötétkék","mediumvioletred":"közepes ibolyavörös","brown":"barna","lightgray":"világosszürke","sandybrown":"homokbarna","pink":"rózsaszín","firebrick":"téglavörös","indigo":"indigó","snow":"hó","darkorchid":"sötét orchidea","turquoise":"türkizkék","chocolate":"csokoládé","springgreen":"tavaszzöld","moccasin":"mokkaszín","navy":"tengerészkék","lemonchiffon":"sárga műselyem","teal":"pávakék","floralwhite":"virágfehér","cornflowerblue":"búzavirágkék","paleturquoise":"halvány türkizkék","purple":"lila","gainsboro":"gainsboro","plum":"szilvakék","red":"vörös","blue":"kék","forestgreen":"erdőzöld","darkgreen":"sötétzöld","honeydew":"mézharmat","darkseagreen":"sötét tengerzöld","lightcoral":"világos korall","palevioletred":"halvány ibolyavörös","mediumpurple":"közepes lila","saddlebrown":"nyeregbarna","darkmagenta":"sötétbíbor","thistle":"bogáncs","whitesmoke":"fehér füst","wheat":"búza","violet":"ibolyaszín","lightskyblue":"világos égszínkék","goldenrod":"aranyvessző","mediumblue":"közepes kék","skyblue":"égszínkék","crimson":"karmazsinvörös","darksalmon":"sötét lazacszín","darkred":"sötétvörös","darkslategrey":"sötét palaszürke","peru":"peru","lightgrey":"világosszürke","lightgoldenrodyellow":"világos aranyvessző sárga","blanchedalmond":"hámozott mandula","aliceblue":"Alice kék","bisque":"porcelán","slategray":"palaszürke","palegoldenrod":"halvány aranyvessző","darkorange":"sötét narancssárga","aquamarine":"akvamarin","lightgreen":"világoszöld","burlywood":"nyersfa","dodgerblue":"dodger kék","darkgray":"sötétszürke","lightcyan":"világos ciánkék","powderblue":"púderkék","blueviolet":"ibolyakék","orchid":"orchidea","dimgray":"halványszürke","beige":"bézs","fuchsia":"fukszia","lavenderblush":"pirosas levendula","hotpink":"meleg rózsaszín","steelblue":"acélkék","tomato":"paradicsom","lightpink":"világos rózsaszín","limegreen":"limezöld","indianred":"indiánvörös","papayawhip":"papayahab","lightslategray":"világos palaszürke","gray":"szürke","mediumorchid":"közepes orchidea","cornsilk":"kukoricahaj","black":"fekete","seagreen":"tengerzöld","darkslateblue":"sötét palakék","khaki":"khakiszín","lightblue":"világoskék","palegreen":"halványzöld","azure":"azúrkék","peachpuff":"barackszín","darkolivegreen":"sötét olajzöld","yellowgreen":"sárgászöld"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.hu");dijit.nls.loading.hu={"loadingState":"Betöltés...","errorState":"Sajnálom, hiba történt"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.hu");dijit.nls.common.hu={"buttonOk":"OK","buttonCancel":"Mégse","buttonSave":"Mentés","itemClose":"Bezárás"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.hu");dijit.form.nls.Textarea.hu={"iframeEditTitle":"szerkesztési terület","iframeFocusTitle":"szerkesztési terület keret"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.hu");dijit._editor.nls.commands.hu={"removeFormat":"Formázás eltávolítása","copy":"Másolás","paste":"Beillesztés","selectAll":"Összes kijelölése","insertOrderedList":"Számozott lista","insertTable":"Táblázat beszúrása/szerkesztése","underline":"Aláhúzott","foreColor":"Előtérszín","htmlToggle":"HTML forrás","formatBlock":"Bekezdés stílusa","insertHorizontalRule":"Vízszintes vonalzó","delete":"Törlés","insertUnorderedList":"Felsorolásjeles lista","tableProp":"Táblázat tulajdonságai","insertImage":"Kép beszúrása","superscript":"Felső index","subscript":"Alsó index","createLink":"Hivatkozás létrehozása","undo":"Visszavonás","italic":"Dőlt","fontName":"Betűtípus","justifyLeft":"Balra igazítás","unlink":"Hivatkozás eltávolítása","toggleTableBorder":"Táblázatszegély ki-/bekapcsolása","fontSize":"Betűméret","indent":"Behúzás","redo":"Újra","strikethrough":"Áthúzott","justifyFull":"Sorkizárás","justifyCenter":"Középre igazítás","hiliteColor":"Háttérszín","deleteTable":"Táblázat törlése","outdent":"Negatív behúzás","cut":"Kivágás","plainFormatBlock":"Bekezdés stílusa","toggleDir":"Irányváltás","bold":"Félkövér","systemShortcutFF":"A(z) \"${0}\" művelet csak Mozilla Firefox böngészőben érhető el billentyűparancs használatával. Használja a következőt: ${1}.","justifyRight":"Jobbra igazítás","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.hu");dojo.cldr.nls.number.hu={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.hu");dijit.nls.common.hu={"buttonOk":"OK","buttonCancel":"Mégse","buttonSave":"Mentés","itemClose":"Bezárás"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.hu");dijit.form.nls.validate.hu={"rangeMessage":"Az érték kívül van a megengedett tartományon. ","invalidMessage":"A megadott érték érvénytelen. ","missingMessage":"Meg kell adni egy értéket. "};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.hu");dijit.form.nls.ComboBox.hu={"previousMessage":"Előző menüpontok","nextMessage":"További menüpontok"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.hu");dojo.cldr.nls.currency.hu={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.hu");dojo.cldr.nls.gregorian.hu={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.hu");dijit.form.nls.Textarea.hu={"iframeEditTitle":"szerkesztési terület","iframeFocusTitle":"szerkesztési terület keret"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.hu");dijit.nls.common.hu={"buttonOk":"OK","buttonCancel":"Mégse","buttonSave":"Mentés","itemClose":"Bezárás"}; diff --git a/includes/js/dijit/nls/dijit-all_it-it.js b/includes/js/dijit/nls/dijit-all_it-it.js deleted file mode 100644 index 33f3f62..0000000 --- a/includes/js/dijit/nls/dijit-all_it-it.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_it-it");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.it_it");dojo.nls.colors.it_it={"lightsteelblue":"blu acciao chiaro","orangered":"vermiglio","midnightblue":"blu melanzana scuro","cadetblue":"verde acqua","seashell":"sabbia rosa","slategrey":"grigio ardesia","coral":"corallo","darkturquoise":"turchese scuro","antiquewhite":"bianco antico","mediumspringgreen":"verde primavera medio","salmon":"salmone","darkgrey":"grigio scuro","ivory":"avorio","greenyellow":"giallo verde","mistyrose":"rosa pallido","lightsalmon":"salmone chiaro","silver":"grigio 25%","dimgrey":"grigio 80%","orange":"arancione","white":"bianco","navajowhite":"pesca chiaro","royalblue":"blu reale","deeppink":"ciclamino","lime":"verde fluorescente","oldlace":"mandorla","chartreuse":"verde brillante","darkcyan":"ciano scuro","yellow":"giallo","linen":"lino","olive":"verde oliva","gold":"oro","lawngreen":"verde prato","lightyellow":"giallo chiaro","tan":"grigio bruno","darkviolet":"viola scuro","lightslategrey":"grigio ardesia chiaro","grey":"grigio","darkkhaki":"kaki scuro","green":"verde","deepskyblue":"azzurro cielo scuro","aqua":"acqua","sienna":"cuoio","mintcream":"bianco nuvola","rosybrown":"marrone rosato","mediumslateblue":"blu ardesia medio","magenta":"magenta","lightseagreen":"verde mare chiaro","cyan":"ciano","olivedrab":"marrone oliva","darkgoldenrod":"ocra scuro","slateblue":"blu ardesia","mediumaquamarine":"acquamarina medio","lavender":"lavanda","mediumseagreen":"verde mare medio","maroon":"scarlatto","darkslategray":"grigio ardesia scuro","mediumturquoise":"turchese medio","ghostwhite":"bianco gesso","darkblue":"blu scuro","mediumvioletred":"vinaccia","brown":"marrone","lightgray":"grigio chiaro","sandybrown":"marrone sabbia","pink":"rosa","firebrick":"rosso mattone","indigo":"indaco","snow":"neve","darkorchid":"orchidea scuro","turquoise":"turchese","chocolate":"cioccolato","springgreen":"verde primavera","moccasin":"mocassino","navy":"blu notte","lemonchiffon":"caffelatte chiaro","teal":"verde turchese","floralwhite":"bianco giglio","cornflowerblue":"blu fiordaliso","paleturquoise":"turchese pallido","purple":"porpora","gainsboro":"grigio 10%","plum":"prugna","red":"rosso","blue":"blu","forestgreen":"verde foresta","darkgreen":"verde scuro","honeydew":"bianco germoglio","darkseagreen":"verde mare scuro","lightcoral":"rosa corallo","palevioletred":"vinaccia chiaro","mediumpurple":"porpora medio","saddlebrown":"cacao","darkmagenta":"magenta scuro","thistle":"rosa cenere","whitesmoke":"bianco fumo","wheat":"sabbia","violet":"viola","lightskyblue":"azzurro cielo chiaro","goldenrod":"ocra gialla","mediumblue":"blu medio","skyblue":"azzurro cielo","crimson":"cremisi","darksalmon":"salmone scuro","darkred":"rosso scuro","darkslategrey":"grigio ardesia scuro","peru":"marrone terra bruciata","lightgrey":"grigio chiaro","lightgoldenrodyellow":"giallo tenue","blanchedalmond":"mandorla chiaro","aliceblue":"blu alice","bisque":"incarnato","slategray":"grigio ardesia","palegoldenrod":"giallo zolfo chiaro","darkorange":"arancione scuro","aquamarine":"acquamarina","lightgreen":"verde chiaro","burlywood":"tabacco","dodgerblue":"blu d'oriente","darkgray":"grigio scuro","lightcyan":"ciano chiaro","powderblue":"azzurro polvere","blueviolet":"blu violetto","orchid":"orchidea","dimgray":"grigio 80%","beige":"beige","fuchsia":"fucsia","lavenderblush":"bianco rosato","hotpink":"rosa acceso","steelblue":"blu acciao","tomato":"pomodoro","lightpink":"rosa chiaro","limegreen":"verde lime","indianred":"terra indiana","papayawhip":"cipria","lightslategray":"grigio ardesia chiaro","gray":"grigio","mediumorchid":"orchidea medio","cornsilk":"crema","black":"nero","seagreen":"verde mare","darkslateblue":"blu ardesia scuro","khaki":"kaki","lightblue":"azzurro","palegreen":"verde pallido","azure":"azzurro ghiaccio","peachpuff":"pesca","darkolivegreen":"verde oliva scuro","yellowgreen":"giallo verde"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.it_it");dijit.nls.loading.it_it={"loadingState":"Caricamento in corso...","errorState":"Si è verificato un errore"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.it_it");dijit.nls.common.it_it={"buttonOk":"OK","buttonCancel":"Annulla","buttonSave":"Salva","itemClose":"Chiudi"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.it_it");dijit.form.nls.Textarea.it_it={"iframeEditTitle":"modifica area","iframeFocusTitle":"modifica frame area"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.it_it");dijit._editor.nls.commands.it_it={"removeFormat":"Rimuovi formato","copy":"Copia","paste":"Incolla","selectAll":"Seleziona tutto","insertOrderedList":"Elenco numerato","insertTable":"Inserisci/Modifica tabella","underline":"Sottolineato","foreColor":"Colore primo piano","htmlToggle":"Origine HTML","formatBlock":"Stile paragrafo","insertHorizontalRule":"Righello orizzontale","delete":"Elimina","insertUnorderedList":"Elenco puntato","tableProp":"Proprietà tabella","insertImage":"Inserisci immagine","superscript":"Apice","subscript":"Pedice","createLink":"Crea collegamento","undo":"Annulla","italic":"Corsivo","fontName":"Nome carattere","justifyLeft":"Allinea a sinistra","unlink":"Rimuovi collegamento","toggleTableBorder":"Mostra/Nascondi margine tabella","fontSize":"Dimensione carattere","indent":"Rientra","redo":"Ripristina","strikethrough":"Barrato","justifyFull":"Giustifica","justifyCenter":"Allinea al centro","hiliteColor":"Colore sfondo","deleteTable":"Elimina tabella","outdent":"Rimuovi rientro","cut":"Taglia","plainFormatBlock":"Stile paragrafo","toggleDir":"Inverti direzione","bold":"Grassetto","systemShortcutFF":"L'azione \"${0}\" è disponibile solo in Mozilla Firefox tramite tasti di scelta rapida. Utilizzare ${1}.","justifyRight":"Allinea a destra","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.it_it");dojo.cldr.nls.number.it_it={"group":".","decimal":",","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","percentFormat":"#,##0%","decimalFormat":"#,##0.###","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.it_it");dijit.nls.common.it_it={"buttonOk":"OK","buttonCancel":"Annulla","buttonSave":"Salva","itemClose":"Chiudi"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.it_it");dijit.form.nls.validate.it_it={"rangeMessage":"Questo valore non è compreso nell'intervallo.","invalidMessage":"Il valore immesso non è valido.","missingMessage":"Questo valore è obbligatorio."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.it_it");dijit.form.nls.ComboBox.it_it={"previousMessage":"Scelte precedenti","nextMessage":"Altre scelte"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.it_it");dojo.cldr.nls.currency.it_it={"HKD_displayName":"Dollaro di Hong Kong","CHF_displayName":"Franco Svizzero","CHF_symbol":"SFr.","CAD_displayName":"Dollaro Canadese","CNY_displayName":"Renmimbi Cinese","AUD_displayName":"Dollaro Australiano","JPY_displayName":"Yen Giapponese","USD_displayName":"Dollaro Statunitense","GBP_displayName":"Sterlina Inglese","EUR_displayName":"Euro","USD_symbol":"US$","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.it_it");dojo.cldr.nls.gregorian.it_it={"timeFormat-long":"H:mm:ss z","quarters-format-abbreviated":["T1","T2","T3","T4"],"dateFormat-medium":"dd/MMM/yyyy","field-second":"secondo","field-week":"settimana","pm":"p.","months-standAlone-narrow":["G","F","M","A","M","G","L","A","S","O","N","D"],"am":"m.","days-standAlone-narrow":["D","L","M","M","G","V","S"],"field-year":"anno","field-minute":"minuto","field-hour":"ora","dateFormat-long":"dd MMMM yyyy","field-day":"giorno","field-dayperiod":"periodo del giorno","field-month":"mese","dateFormat-short":"dd/MM/yy","months-format-wide":["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],"field-era":"era","months-format-abbr":["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],"days-format-wide":["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],"eraAbbr":["aC","dC"],"quarters-format-wide":["1o trimestre","2o trimestre","3o trimestre","4o trimestre"],"dateFormat-full":"EEEE d MMMM yyyy","field-weekday":"giorno della settimana","days-format-abbr":["dom","lun","mar","mer","gio","ven","sab"],"field-zone":"zona","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","eraNames":["BCE","CE"],"dateTimeFormats-appendItem-Year":"{0} {1}","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","timeFormat-medium":"HH:mm:ss","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormat":"{1} {0}","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","timeFormat-short":"HH:mm","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.it_it");dijit.form.nls.Textarea.it_it={"iframeEditTitle":"modifica area","iframeFocusTitle":"modifica frame area"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.it_it");dijit.nls.common.it_it={"buttonOk":"OK","buttonCancel":"Annulla","buttonSave":"Salva","itemClose":"Chiudi"}; diff --git a/includes/js/dijit/nls/dijit-all_it.js b/includes/js/dijit/nls/dijit-all_it.js deleted file mode 100644 index bd8e139..0000000 --- a/includes/js/dijit/nls/dijit-all_it.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_it");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.it");dojo.nls.colors.it={"lightsteelblue":"blu acciao chiaro","orangered":"vermiglio","midnightblue":"blu melanzana scuro","cadetblue":"verde acqua","seashell":"sabbia rosa","slategrey":"grigio ardesia","coral":"corallo","darkturquoise":"turchese scuro","antiquewhite":"bianco antico","mediumspringgreen":"verde primavera medio","salmon":"salmone","darkgrey":"grigio scuro","ivory":"avorio","greenyellow":"giallo verde","mistyrose":"rosa pallido","lightsalmon":"salmone chiaro","silver":"grigio 25%","dimgrey":"grigio 80%","orange":"arancione","white":"bianco","navajowhite":"pesca chiaro","royalblue":"blu reale","deeppink":"ciclamino","lime":"verde fluorescente","oldlace":"mandorla","chartreuse":"verde brillante","darkcyan":"ciano scuro","yellow":"giallo","linen":"lino","olive":"verde oliva","gold":"oro","lawngreen":"verde prato","lightyellow":"giallo chiaro","tan":"grigio bruno","darkviolet":"viola scuro","lightslategrey":"grigio ardesia chiaro","grey":"grigio","darkkhaki":"kaki scuro","green":"verde","deepskyblue":"azzurro cielo scuro","aqua":"acqua","sienna":"cuoio","mintcream":"bianco nuvola","rosybrown":"marrone rosato","mediumslateblue":"blu ardesia medio","magenta":"magenta","lightseagreen":"verde mare chiaro","cyan":"ciano","olivedrab":"marrone oliva","darkgoldenrod":"ocra scuro","slateblue":"blu ardesia","mediumaquamarine":"acquamarina medio","lavender":"lavanda","mediumseagreen":"verde mare medio","maroon":"scarlatto","darkslategray":"grigio ardesia scuro","mediumturquoise":"turchese medio","ghostwhite":"bianco gesso","darkblue":"blu scuro","mediumvioletred":"vinaccia","brown":"marrone","lightgray":"grigio chiaro","sandybrown":"marrone sabbia","pink":"rosa","firebrick":"rosso mattone","indigo":"indaco","snow":"neve","darkorchid":"orchidea scuro","turquoise":"turchese","chocolate":"cioccolato","springgreen":"verde primavera","moccasin":"mocassino","navy":"blu notte","lemonchiffon":"caffelatte chiaro","teal":"verde turchese","floralwhite":"bianco giglio","cornflowerblue":"blu fiordaliso","paleturquoise":"turchese pallido","purple":"porpora","gainsboro":"grigio 10%","plum":"prugna","red":"rosso","blue":"blu","forestgreen":"verde foresta","darkgreen":"verde scuro","honeydew":"bianco germoglio","darkseagreen":"verde mare scuro","lightcoral":"rosa corallo","palevioletred":"vinaccia chiaro","mediumpurple":"porpora medio","saddlebrown":"cacao","darkmagenta":"magenta scuro","thistle":"rosa cenere","whitesmoke":"bianco fumo","wheat":"sabbia","violet":"viola","lightskyblue":"azzurro cielo chiaro","goldenrod":"ocra gialla","mediumblue":"blu medio","skyblue":"azzurro cielo","crimson":"cremisi","darksalmon":"salmone scuro","darkred":"rosso scuro","darkslategrey":"grigio ardesia scuro","peru":"marrone terra bruciata","lightgrey":"grigio chiaro","lightgoldenrodyellow":"giallo tenue","blanchedalmond":"mandorla chiaro","aliceblue":"blu alice","bisque":"incarnato","slategray":"grigio ardesia","palegoldenrod":"giallo zolfo chiaro","darkorange":"arancione scuro","aquamarine":"acquamarina","lightgreen":"verde chiaro","burlywood":"tabacco","dodgerblue":"blu d'oriente","darkgray":"grigio scuro","lightcyan":"ciano chiaro","powderblue":"azzurro polvere","blueviolet":"blu violetto","orchid":"orchidea","dimgray":"grigio 80%","beige":"beige","fuchsia":"fucsia","lavenderblush":"bianco rosato","hotpink":"rosa acceso","steelblue":"blu acciao","tomato":"pomodoro","lightpink":"rosa chiaro","limegreen":"verde lime","indianred":"terra indiana","papayawhip":"cipria","lightslategray":"grigio ardesia chiaro","gray":"grigio","mediumorchid":"orchidea medio","cornsilk":"crema","black":"nero","seagreen":"verde mare","darkslateblue":"blu ardesia scuro","khaki":"kaki","lightblue":"azzurro","palegreen":"verde pallido","azure":"azzurro ghiaccio","peachpuff":"pesca","darkolivegreen":"verde oliva scuro","yellowgreen":"giallo verde"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.it");dijit.nls.loading.it={"loadingState":"Caricamento in corso...","errorState":"Si è verificato un errore"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.it");dijit.nls.common.it={"buttonOk":"OK","buttonCancel":"Annulla","buttonSave":"Salva","itemClose":"Chiudi"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.it");dijit.form.nls.Textarea.it={"iframeEditTitle":"modifica area","iframeFocusTitle":"modifica frame area"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.it");dijit._editor.nls.commands.it={"removeFormat":"Rimuovi formato","copy":"Copia","paste":"Incolla","selectAll":"Seleziona tutto","insertOrderedList":"Elenco numerato","insertTable":"Inserisci/Modifica tabella","underline":"Sottolineato","foreColor":"Colore primo piano","htmlToggle":"Origine HTML","formatBlock":"Stile paragrafo","insertHorizontalRule":"Righello orizzontale","delete":"Elimina","insertUnorderedList":"Elenco puntato","tableProp":"Proprietà tabella","insertImage":"Inserisci immagine","superscript":"Apice","subscript":"Pedice","createLink":"Crea collegamento","undo":"Annulla","italic":"Corsivo","fontName":"Nome carattere","justifyLeft":"Allinea a sinistra","unlink":"Rimuovi collegamento","toggleTableBorder":"Mostra/Nascondi margine tabella","fontSize":"Dimensione carattere","indent":"Rientra","redo":"Ripristina","strikethrough":"Barrato","justifyFull":"Giustifica","justifyCenter":"Allinea al centro","hiliteColor":"Colore sfondo","deleteTable":"Elimina tabella","outdent":"Rimuovi rientro","cut":"Taglia","plainFormatBlock":"Stile paragrafo","toggleDir":"Inverti direzione","bold":"Grassetto","systemShortcutFF":"L'azione \"${0}\" è disponibile solo in Mozilla Firefox tramite tasti di scelta rapida. Utilizzare ${1}.","justifyRight":"Allinea a destra","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.it");dojo.cldr.nls.number.it={"group":".","decimal":",","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","percentFormat":"#,##0%","decimalFormat":"#,##0.###","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.it");dijit.nls.common.it={"buttonOk":"OK","buttonCancel":"Annulla","buttonSave":"Salva","itemClose":"Chiudi"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.it");dijit.form.nls.validate.it={"rangeMessage":"Questo valore non è compreso nell'intervallo.","invalidMessage":"Il valore immesso non è valido.","missingMessage":"Questo valore è obbligatorio."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.it");dijit.form.nls.ComboBox.it={"previousMessage":"Scelte precedenti","nextMessage":"Altre scelte"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.it");dojo.cldr.nls.currency.it={"HKD_displayName":"Dollaro di Hong Kong","CHF_displayName":"Franco Svizzero","CHF_symbol":"SFr.","CAD_displayName":"Dollaro Canadese","CNY_displayName":"Renmimbi Cinese","AUD_displayName":"Dollaro Australiano","JPY_displayName":"Yen Giapponese","USD_displayName":"Dollaro Statunitense","GBP_displayName":"Sterlina Inglese","EUR_displayName":"Euro","USD_symbol":"US$","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.it");dojo.cldr.nls.gregorian.it={"quarters-format-abbreviated":["T1","T2","T3","T4"],"dateFormat-medium":"dd/MMM/yyyy","field-second":"secondo","field-week":"settimana","pm":"p.","months-standAlone-narrow":["G","F","M","A","M","G","L","A","S","O","N","D"],"am":"m.","days-standAlone-narrow":["D","L","M","M","G","V","S"],"field-year":"anno","field-minute":"minuto","field-hour":"ora","dateFormat-long":"dd MMMM yyyy","field-day":"giorno","field-dayperiod":"periodo del giorno","field-month":"mese","dateFormat-short":"dd/MM/yy","months-format-wide":["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],"field-era":"era","months-format-abbr":["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],"days-format-wide":["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],"eraAbbr":["aC","dC"],"quarters-format-wide":["1o trimestre","2o trimestre","3o trimestre","4o trimestre"],"dateFormat-full":"EEEE d MMMM yyyy","field-weekday":"giorno della settimana","days-format-abbr":["dom","lun","mar","mer","gio","ven","sab"],"field-zone":"zona","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","eraNames":["BCE","CE"],"dateTimeFormats-appendItem-Year":"{0} {1}","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","timeFormat-medium":"HH:mm:ss","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormat":"{1} {0}","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","timeFormat-long":"HH:mm:ss z","timeFormat-short":"HH:mm","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.it");dijit.form.nls.Textarea.it={"iframeEditTitle":"modifica area","iframeFocusTitle":"modifica frame area"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.it");dijit.nls.common.it={"buttonOk":"OK","buttonCancel":"Annulla","buttonSave":"Salva","itemClose":"Chiudi"}; diff --git a/includes/js/dijit/nls/dijit-all_ja-jp.js b/includes/js/dijit/nls/dijit-all_ja-jp.js deleted file mode 100644 index 49a9982..0000000 --- a/includes/js/dijit/nls/dijit-all_ja-jp.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ja-jp");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ja_jp");dojo.nls.colors.ja_jp={"lightsteelblue":"ライト・スチール・ブルー","orangered":"オレンジ・レッド","midnightblue":"ミッドナイト・ブルー","cadetblue":"くすんだ青","seashell":"シーシェル","slategrey":"スレート・グレイ","coral":"珊瑚","darkturquoise":"ダーク・ターコイズ","antiquewhite":"アンティーク・ホワイト","mediumspringgreen":"ミディアム・スプリング・グリーン","salmon":"サーモン","darkgrey":"ダーク・グレイ","ivory":"アイボリー","greenyellow":"緑黄色","mistyrose":"ミスティ・ローズ","lightsalmon":"ライト・サーモン","silver":"銀","dimgrey":"くすんだグレイ","orange":"オレンジ","white":"白","navajowhite":"ナバホ・ホワイト","royalblue":"藤色","deeppink":"濃いピンク","lime":"ライム","oldlace":"オールド・レイス","chartreuse":"淡黄緑","darkcyan":"ダーク・シアン・ブルー","yellow":"黄","linen":"亜麻色","olive":"オリーブ","gold":"金","lawngreen":"ローン・グリーン","lightyellow":"ライト・イエロー","tan":"茶褐色","darkviolet":"ダーク・バイオレット","lightslategrey":"ライト・スレート・グレイ","grey":"グレイ","darkkhaki":"ダーク・カーキー","green":"緑","deepskyblue":"濃い空色","aqua":"アクア","sienna":"黄褐色","mintcream":"ミント・クリーム","rosybrown":"ロージー・ブラウン","mediumslateblue":"ミディアム・スレート・ブルー","magenta":"赤紫","lightseagreen":"ライト・シー・グリーン","cyan":"シアン・ブルー","olivedrab":"濃黄緑","darkgoldenrod":"ダーク・ゴールデン・ロッド","slateblue":"スレート・ブルー","mediumaquamarine":"ミディアム・アクアマリーン","lavender":"ラベンダー","mediumseagreen":"ミディアム・シー・グリーン","maroon":"えび茶","darkslategray":"ダーク・スレート・グレイ","mediumturquoise":"ミディアム・ターコイズ","ghostwhite":"ゴースト・ホワイト","darkblue":"ダーク・ブルー","mediumvioletred":"ミディアム・バイオレット・レッド","brown":"茶","lightgray":"ライト・グレイ","sandybrown":"砂褐色","pink":"ピンク","firebrick":"赤煉瓦色","indigo":"藍色","snow":"雪色","darkorchid":"ダーク・オーキッド","turquoise":"ターコイズ","chocolate":"チョコレート","springgreen":"スプリング・グリーン","moccasin":"モカシン","navy":"濃紺","lemonchiffon":"レモン・シフォン","teal":"ティール","floralwhite":"フローラル・ホワイト","cornflowerblue":"コーンフラワー・ブルー","paleturquoise":"ペイル・ターコイズ","purple":"紫","gainsboro":"ゲインズボーロ","plum":"深紫","red":"赤","blue":"青","forestgreen":"フォレスト・グリーン","darkgreen":"ダーク・グリーン","honeydew":"ハニーデュー","darkseagreen":"ダーク・シー・グリーン","lightcoral":"ライト・コーラル","palevioletred":"ペイル・バイオレット・レッド","mediumpurple":"ミディアム・パープル","saddlebrown":"サドル・ブラウン","darkmagenta":"ダーク・マジェンタ","thistle":"シスル","whitesmoke":"ホワイト・スモーク","wheat":"小麦色","violet":"すみれ色","lightskyblue":"ライト・スカイ・ブルー","goldenrod":"ゴールデン・ロッド","mediumblue":"ミディアム・ブルー","skyblue":"スカイ・ブルー","crimson":"深紅","darksalmon":"ダーク・サーモン","darkred":"ダーク・レッド","darkslategrey":"ダーク・スレート・グレイ","peru":"ペルー","lightgrey":"ライト・グレイ","lightgoldenrodyellow":"ライト・ゴールデン・ロッド・イエロー","blanchedalmond":"皮なしアーモンド","aliceblue":"アリス・ブルー","bisque":"ビスク","slategray":"スレート・グレイ","palegoldenrod":"ペイル・ゴールデン・ロッド","darkorange":"ダーク・オレンジ","aquamarine":"碧緑","lightgreen":"ライト・グリーン","burlywood":"バーリーウッド","dodgerblue":"ドッジャー・ブルー","darkgray":"ダーク・グレイ","lightcyan":"ライト・シアン","powderblue":"淡青","blueviolet":"青紫","orchid":"薄紫","dimgray":"くすんだグレイ","beige":"ベージュ","fuchsia":"紫紅色","lavenderblush":"ラベンダー・ブラッシ","hotpink":"ホット・ピンク","steelblue":"鋼色","tomato":"トマト色","lightpink":"ライト・ピンク","limegreen":"ライム・グリーン","indianred":"インディアン・レッド","papayawhip":"パパイア・ホイップ","lightslategray":"ライト・スレート・グレイ","gray":"グレイ","mediumorchid":"ミディアム・オーキッド","cornsilk":"コーンシルク","black":"黒","seagreen":"シー・グリーン","darkslateblue":"ダーク・スレート・ブルー","khaki":"カーキー","lightblue":"ライト・ブルー","palegreen":"ペイル・グリーン","azure":"薄い空色","peachpuff":"ピーチ・パフ","darkolivegreen":"ダーク・オリーブ・グリーン","yellowgreen":"黄緑"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ja_jp");dijit.nls.loading.ja_jp={"loadingState":"ロード中...","errorState":"エラーが発生しました。"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ja_jp");dijit.nls.common.ja_jp={"buttonOk":"OK","buttonCancel":"キャンセル","buttonSave":"保存","itemClose":"閉じる"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ja_jp");dijit.form.nls.Textarea.ja_jp={"iframeEditTitle":"編集域","iframeFocusTitle":"編集域フレーム"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ja_jp");dijit._editor.nls.commands.ja_jp={"removeFormat":"形式の除去","copy":"コピー","paste":"貼り付け","selectAll":"すべて選択","insertOrderedList":"番号付きリスト","insertTable":"テーブルの挿入/編集","underline":"下線","foreColor":"前景色","htmlToggle":"HTML ソース","formatBlock":"段落スタイル","insertHorizontalRule":"水平罫線","delete":"削除","insertUnorderedList":"黒丸付きリスト","tableProp":"テーブル・プロパティー","insertImage":"イメージの挿入","superscript":"上付き文字","subscript":"下付き文字","createLink":"リンクの作成","undo":"元に戻す","italic":"イタリック","fontName":"フォント名","justifyLeft":"左揃え","unlink":"リンクの除去","toggleTableBorder":"テーブル・ボーダーの切り替え","fontSize":"フォント・サイズ","indent":"インデント","redo":"やり直し","strikethrough":"取り消し線","justifyFull":"両端揃え","justifyCenter":"中央揃え","hiliteColor":"背景色","deleteTable":"テーブルの削除","outdent":"アウトデント","cut":"切り取り","plainFormatBlock":"段落スタイル","toggleDir":"方向の切り替え","bold":"太字","systemShortcutFF":"\"${0}\" アクションは、キーボード・ショートカットを使用して Mozilla Firefox でのみ使用できます。${1} を使用してください。","justifyRight":"右揃え","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ja_jp");dojo.cldr.nls.number.ja_jp={"currencyFormat":"¤#,##0.00","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ja_jp");dijit.nls.common.ja_jp={"buttonOk":"OK","buttonCancel":"キャンセル","buttonSave":"保存","itemClose":"閉じる"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ja_jp");dijit.form.nls.validate.ja_jp={"rangeMessage":"この値は範囲外です。","invalidMessage":"入力した値は無効です。","missingMessage":"この値は必須です。"};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ja_jp");dijit.form.nls.ComboBox.ja_jp={"previousMessage":"以前の選択項目","nextMessage":"追加の選択項目"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ja_jp");dojo.cldr.nls.currency.ja_jp={"HKD_displayName":"香港ドル","CHF_displayName":"スイス フラン","JPY_symbol":"¥","CAD_displayName":"カナダ ドル","CNY_displayName":"中国人民元","AUD_displayName":"オーストラリア ドル","JPY_displayName":"日本円","USD_displayName":"米ドル","CNY_symbol":"元","GBP_displayName":"英国ポンド","EUR_displayName":"ユーロ","USD_symbol":"US$","GBP_symbol":"UK£","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ja_jp");dojo.cldr.nls.gregorian.ja_jp={"quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateFormat-medium":"yyyy/MM/dd","field-second":"秒","field-week":"週","pm":"午後","timeFormat-full":"H時mm分ss秒v","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["d 日(E)","GGGGy年M月d日","H 時","MMM/d(E)","MMMM d 日","MM/dd","M/d","mm:ss","yy 年 MMM","yy/Q","yy Q","yyyy"],"months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"eraNames":["紀元前","西暦"],"am":"午前","days-standAlone-narrow":["日","月","火","水","木","金","土"],"field-year":"年","field-minute":"分","timeFormat-medium":"H:mm:ss","field-hour":"時","dateFormat-long":"yyyy年M月d日","field-day":"日","field-dayperiod":"午前/午後","field-month":"月","dateFormat-short":"yy/MM/dd","months-format-wide":["1 月","2 月","3 月","4 月","5 月","6 月","7 月","8 月","9 月","10 月","11 月","12 月"],"field-era":"時代","timeFormat-short":"H:mm","months-format-abbr":["1 月","2 月","3 月","4 月","5 月","6 月","7 月","8 月","9 月","10 月","11 月","12 月"],"eraAbbr":["紀元前","西暦"],"days-format-wide":["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],"timeFormat-long":"H:mm:ss:z","quarters-format-wide":["第 1 四半期","第 2 四半期","第 3 四半期","第 4 四半期"],"dateFormat-full":"yyyy年M月d日EEEE","field-weekday":"曜日","field-zone":"時間帯","days-format-abbr":["日","月","火","水","木","金","土"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ja_jp");dijit.form.nls.Textarea.ja_jp={"iframeEditTitle":"編集域","iframeFocusTitle":"編集域フレーム"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ja_jp");dijit.nls.common.ja_jp={"buttonOk":"OK","buttonCancel":"キャンセル","buttonSave":"保存","itemClose":"閉じる"}; diff --git a/includes/js/dijit/nls/dijit-all_ja.js b/includes/js/dijit/nls/dijit-all_ja.js deleted file mode 100644 index d8b4c30..0000000 --- a/includes/js/dijit/nls/dijit-all_ja.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ja");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ja");dojo.nls.colors.ja={"lightsteelblue":"ライト・スチール・ブルー","orangered":"オレンジ・レッド","midnightblue":"ミッドナイト・ブルー","cadetblue":"くすんだ青","seashell":"シーシェル","slategrey":"スレート・グレイ","coral":"珊瑚","darkturquoise":"ダーク・ターコイズ","antiquewhite":"アンティーク・ホワイト","mediumspringgreen":"ミディアム・スプリング・グリーン","salmon":"サーモン","darkgrey":"ダーク・グレイ","ivory":"アイボリー","greenyellow":"緑黄色","mistyrose":"ミスティ・ローズ","lightsalmon":"ライト・サーモン","silver":"銀","dimgrey":"くすんだグレイ","orange":"オレンジ","white":"白","navajowhite":"ナバホ・ホワイト","royalblue":"藤色","deeppink":"濃いピンク","lime":"ライム","oldlace":"オールド・レイス","chartreuse":"淡黄緑","darkcyan":"ダーク・シアン・ブルー","yellow":"黄","linen":"亜麻色","olive":"オリーブ","gold":"金","lawngreen":"ローン・グリーン","lightyellow":"ライト・イエロー","tan":"茶褐色","darkviolet":"ダーク・バイオレット","lightslategrey":"ライト・スレート・グレイ","grey":"グレイ","darkkhaki":"ダーク・カーキー","green":"緑","deepskyblue":"濃い空色","aqua":"アクア","sienna":"黄褐色","mintcream":"ミント・クリーム","rosybrown":"ロージー・ブラウン","mediumslateblue":"ミディアム・スレート・ブルー","magenta":"赤紫","lightseagreen":"ライト・シー・グリーン","cyan":"シアン・ブルー","olivedrab":"濃黄緑","darkgoldenrod":"ダーク・ゴールデン・ロッド","slateblue":"スレート・ブルー","mediumaquamarine":"ミディアム・アクアマリーン","lavender":"ラベンダー","mediumseagreen":"ミディアム・シー・グリーン","maroon":"えび茶","darkslategray":"ダーク・スレート・グレイ","mediumturquoise":"ミディアム・ターコイズ","ghostwhite":"ゴースト・ホワイト","darkblue":"ダーク・ブルー","mediumvioletred":"ミディアム・バイオレット・レッド","brown":"茶","lightgray":"ライト・グレイ","sandybrown":"砂褐色","pink":"ピンク","firebrick":"赤煉瓦色","indigo":"藍色","snow":"雪色","darkorchid":"ダーク・オーキッド","turquoise":"ターコイズ","chocolate":"チョコレート","springgreen":"スプリング・グリーン","moccasin":"モカシン","navy":"濃紺","lemonchiffon":"レモン・シフォン","teal":"ティール","floralwhite":"フローラル・ホワイト","cornflowerblue":"コーンフラワー・ブルー","paleturquoise":"ペイル・ターコイズ","purple":"紫","gainsboro":"ゲインズボーロ","plum":"深紫","red":"赤","blue":"青","forestgreen":"フォレスト・グリーン","darkgreen":"ダーク・グリーン","honeydew":"ハニーデュー","darkseagreen":"ダーク・シー・グリーン","lightcoral":"ライト・コーラル","palevioletred":"ペイル・バイオレット・レッド","mediumpurple":"ミディアム・パープル","saddlebrown":"サドル・ブラウン","darkmagenta":"ダーク・マジェンタ","thistle":"シスル","whitesmoke":"ホワイト・スモーク","wheat":"小麦色","violet":"すみれ色","lightskyblue":"ライト・スカイ・ブルー","goldenrod":"ゴールデン・ロッド","mediumblue":"ミディアム・ブルー","skyblue":"スカイ・ブルー","crimson":"深紅","darksalmon":"ダーク・サーモン","darkred":"ダーク・レッド","darkslategrey":"ダーク・スレート・グレイ","peru":"ペルー","lightgrey":"ライト・グレイ","lightgoldenrodyellow":"ライト・ゴールデン・ロッド・イエロー","blanchedalmond":"皮なしアーモンド","aliceblue":"アリス・ブルー","bisque":"ビスク","slategray":"スレート・グレイ","palegoldenrod":"ペイル・ゴールデン・ロッド","darkorange":"ダーク・オレンジ","aquamarine":"碧緑","lightgreen":"ライト・グリーン","burlywood":"バーリーウッド","dodgerblue":"ドッジャー・ブルー","darkgray":"ダーク・グレイ","lightcyan":"ライト・シアン","powderblue":"淡青","blueviolet":"青紫","orchid":"薄紫","dimgray":"くすんだグレイ","beige":"ベージュ","fuchsia":"紫紅色","lavenderblush":"ラベンダー・ブラッシ","hotpink":"ホット・ピンク","steelblue":"鋼色","tomato":"トマト色","lightpink":"ライト・ピンク","limegreen":"ライム・グリーン","indianred":"インディアン・レッド","papayawhip":"パパイア・ホイップ","lightslategray":"ライト・スレート・グレイ","gray":"グレイ","mediumorchid":"ミディアム・オーキッド","cornsilk":"コーンシルク","black":"黒","seagreen":"シー・グリーン","darkslateblue":"ダーク・スレート・ブルー","khaki":"カーキー","lightblue":"ライト・ブルー","palegreen":"ペイル・グリーン","azure":"薄い空色","peachpuff":"ピーチ・パフ","darkolivegreen":"ダーク・オリーブ・グリーン","yellowgreen":"黄緑"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ja");dijit.nls.loading.ja={"loadingState":"ロード中...","errorState":"エラーが発生しました。"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ja");dijit.nls.common.ja={"buttonOk":"OK","buttonCancel":"キャンセル","buttonSave":"保存","itemClose":"閉じる"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ja");dijit.form.nls.Textarea.ja={"iframeEditTitle":"編集域","iframeFocusTitle":"編集域フレーム"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ja");dijit._editor.nls.commands.ja={"removeFormat":"形式の除去","copy":"コピー","paste":"貼り付け","selectAll":"すべて選択","insertOrderedList":"番号付きリスト","insertTable":"テーブルの挿入/編集","underline":"下線","foreColor":"前景色","htmlToggle":"HTML ソース","formatBlock":"段落スタイル","insertHorizontalRule":"水平罫線","delete":"削除","insertUnorderedList":"黒丸付きリスト","tableProp":"テーブル・プロパティー","insertImage":"イメージの挿入","superscript":"上付き文字","subscript":"下付き文字","createLink":"リンクの作成","undo":"元に戻す","italic":"イタリック","fontName":"フォント名","justifyLeft":"左揃え","unlink":"リンクの除去","toggleTableBorder":"テーブル・ボーダーの切り替え","fontSize":"フォント・サイズ","indent":"インデント","redo":"やり直し","strikethrough":"取り消し線","justifyFull":"両端揃え","justifyCenter":"中央揃え","hiliteColor":"背景色","deleteTable":"テーブルの削除","outdent":"アウトデント","cut":"切り取り","plainFormatBlock":"段落スタイル","toggleDir":"方向の切り替え","bold":"太字","systemShortcutFF":"\"${0}\" アクションは、キーボード・ショートカットを使用して Mozilla Firefox でのみ使用できます。${1} を使用してください。","justifyRight":"右揃え","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ja");dojo.cldr.nls.number.ja={"currencyFormat":"¤#,##0.00","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ja");dijit.nls.common.ja={"buttonOk":"OK","buttonCancel":"キャンセル","buttonSave":"保存","itemClose":"閉じる"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ja");dijit.form.nls.validate.ja={"rangeMessage":"この値は範囲外です。","invalidMessage":"入力した値は無効です。","missingMessage":"この値は必須です。"};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ja");dijit.form.nls.ComboBox.ja={"previousMessage":"以前の選択項目","nextMessage":"追加の選択項目"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ja");dojo.cldr.nls.currency.ja={"HKD_displayName":"香港ドル","CHF_displayName":"スイス フラン","JPY_symbol":"¥","CAD_displayName":"カナダ ドル","CNY_displayName":"中国人民元","AUD_displayName":"オーストラリア ドル","JPY_displayName":"日本円","USD_displayName":"米ドル","CNY_symbol":"元","GBP_displayName":"英国ポンド","EUR_displayName":"ユーロ","USD_symbol":"US$","GBP_symbol":"UK£","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ja");dojo.cldr.nls.gregorian.ja={"quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateFormat-medium":"yyyy/MM/dd","field-second":"秒","field-week":"週","pm":"午後","timeFormat-full":"H時mm分ss秒v","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["d 日(E)","GGGGy年M月d日","H 時","MMM/d(E)","MMMM d 日","MM/dd","M/d","mm:ss","yy 年 MMM","yy/Q","yy Q","yyyy"],"months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"eraNames":["紀元前","西暦"],"am":"午前","days-standAlone-narrow":["日","月","火","水","木","金","土"],"field-year":"年","field-minute":"分","timeFormat-medium":"H:mm:ss","field-hour":"時","dateFormat-long":"yyyy年M月d日","field-day":"日","field-dayperiod":"午前/午後","field-month":"月","dateFormat-short":"yy/MM/dd","months-format-wide":["1 月","2 月","3 月","4 月","5 月","6 月","7 月","8 月","9 月","10 月","11 月","12 月"],"field-era":"時代","timeFormat-short":"H:mm","months-format-abbr":["1 月","2 月","3 月","4 月","5 月","6 月","7 月","8 月","9 月","10 月","11 月","12 月"],"eraAbbr":["紀元前","西暦"],"days-format-wide":["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],"timeFormat-long":"H:mm:ss:z","quarters-format-wide":["第 1 四半期","第 2 四半期","第 3 四半期","第 4 四半期"],"dateFormat-full":"yyyy年M月d日EEEE","field-weekday":"曜日","field-zone":"時間帯","days-format-abbr":["日","月","火","水","木","金","土"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ja");dijit.form.nls.Textarea.ja={"iframeEditTitle":"編集域","iframeFocusTitle":"編集域フレーム"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ja");dijit.nls.common.ja={"buttonOk":"OK","buttonCancel":"キャンセル","buttonSave":"保存","itemClose":"閉じる"}; diff --git a/includes/js/dijit/nls/dijit-all_ko-kr.js b/includes/js/dijit/nls/dijit-all_ko-kr.js deleted file mode 100644 index e386e67..0000000 --- a/includes/js/dijit/nls/dijit-all_ko-kr.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ko-kr");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ko_kr");dojo.nls.colors.ko_kr={"lightsteelblue":"라이트 스틸 블루(light steel blue)","orangered":"오렌지 레드(orange red)","midnightblue":"미드나잇 블루(midnight blue)","cadetblue":"카뎃 블루(cadet blue)","seashell":"씨쉘(seashell)","slategrey":"슬레이트 그레이(slate gray)","coral":"코랄(coral)","darkturquoise":"다크 터콰즈(dark turquoise)","antiquewhite":"앤틱 화이트(antique white)","mediumspringgreen":"미디엄 스프링 그린(medium spring green)","salmon":"샐몬(salmon)","darkgrey":"다크 그레이(dark gray)","ivory":"아이보리(ivory)","greenyellow":"그린 옐로우(green-yellow)","mistyrose":"미스티 로즈(misty rose)","lightsalmon":"라이트 샐몬(light salmon)","silver":"실버(silver)","dimgrey":"딤 그레이(dim gray)","orange":"오렌지(orange)","white":"화이트(white)","navajowhite":"나바호 화이트(navajo white)","royalblue":"로얄 블루(royal blue)","deeppink":"딥 핑크(deep pink)","lime":"라임(lime)","oldlace":"올드 레이스(old lace)","chartreuse":"샤르트뢰즈(chartreuse)","darkcyan":"다크 시안(dark cyan)","yellow":"옐로우(yellow)","linen":"리넨(linen)","olive":"올리브(olive)","gold":"골드(gold)","lawngreen":"론 그린(lawn green)","lightyellow":"라이트 옐로우(light yellow)","tan":"탠(tan)","darkviolet":"다크 바이올렛(dark violet)","lightslategrey":"라이트 슬레이트 그레이(light slate gray)","grey":"그레이(gray)","darkkhaki":"다크 카키(dark khaki)","green":"그린(green)","deepskyblue":"딥 스카이 블루(deep sky blue)","aqua":"아쿠아(aqua)","sienna":"시에나(sienna)","mintcream":"민트 크림(mint cream)","rosybrown":"로지 브라운(rosy brown)","mediumslateblue":"미디엄 슬레이트 블루(medium slate blue)","magenta":"마젠타(magenta)","lightseagreen":"라이트 씨 그린(light sea green)","cyan":"시안(cyan)","olivedrab":"올리브 드랩(olive drab)","darkgoldenrod":"다크 골든로드(dark goldenrod)","slateblue":"슬레이트 블루(slate blue)","mediumaquamarine":"미디엄 아쿠아마린(medium aquamarine)","lavender":"라벤더(lavender)","mediumseagreen":"미디엄 씨 그린(medium sea green)","maroon":"마룬(maroon)","darkslategray":"다크 슬레이트 그레이(dark slate gray)","mediumturquoise":"미디엄 터콰즈(medium turquoise)","ghostwhite":"고스트 화이트(ghost white)","darkblue":"다크 블루(dark blue)","mediumvioletred":"미디엄 바이올렛 레드(medium violet-red)","brown":"브라운(brown)","lightgray":"라이트 그레이(light gray)","sandybrown":"샌디 브라운(sandy brown)","pink":"핑크(pink)","firebrick":"파이어 브릭(fire brick)","indigo":"인디고(indigo)","snow":"스노우(snow)","darkorchid":"다크 오키드(dark orchid)","turquoise":"터콰즈(turquoise)","chocolate":"초콜렛(chocolate)","springgreen":"스프링 그린(spring green)","moccasin":"모카신(moccasin)","navy":"네이비(navy)","lemonchiffon":"레몬 쉬폰(lemon chiffon)","teal":"틸(teal)","floralwhite":"플로랄 화이트(floral white)","cornflowerblue":"콘플라워 블루(cornflower blue)","paleturquoise":"페일 터콰즈(pale turquoise)","purple":"퍼플(purple)","gainsboro":"게인스브로(gainsboro)","plum":"플럼(plum)","red":"레드(red)","blue":"블루(blue)","forestgreen":"포레스트 그린(forest green)","darkgreen":"다크 그린(dark green)","honeydew":"허니듀(honeydew)","darkseagreen":"다크 씨 그린(dark sea green)","lightcoral":"라이트 코랄(light coral)","palevioletred":"페일 바이올렛 레드(pale violet-red)","mediumpurple":"미디엄 퍼플(medium purple)","saddlebrown":"새들 브라운(saddle brown)","darkmagenta":"다크 마젠타(dark magenta)","thistle":"시슬(thistle)","whitesmoke":"화이트 스모크(white smoke)","wheat":"휘트(wheat)","violet":"바이올렛(violet)","lightskyblue":"라이트 스카이 블루(light sky blue)","goldenrod":"골든로드(goldenrod)","mediumblue":"미디엄 블루(medium blue)","skyblue":"스카이 블루(sky blue)","crimson":"크림슨(crimson)","darksalmon":"다크 샐몬(dark salmon)","darkred":"다크 레드(dark red)","darkslategrey":"다크 슬레이트 그레이(dark slate gray)","peru":"페루(peru)","lightgrey":"라이트 그레이(light gray)","lightgoldenrodyellow":"라이트 골든로드 옐로우(light goldenrod yellow)","blanchedalmond":"블랜치 아몬드(blanched almond)","aliceblue":"앨리스 블루(alice blue)","bisque":"비스크(bisque)","slategray":"슬레이트 그레이(slate gray)","palegoldenrod":"페일 골든로드(pale goldenrod)","darkorange":"다크 오렌지(dark orange)","aquamarine":"아쿠아마린(aquamarine)","lightgreen":"라이트 그린(light green)","burlywood":"벌리우드(burlywood)","dodgerblue":"다저 블루(dodger blue)","darkgray":"다크 그레이(dark gray)","lightcyan":"라이트 시안(light cyan)","powderblue":"파우더 블루(powder blue)","blueviolet":"블루 바이올렛(blue-violet)","orchid":"오키드(orchid)","dimgray":"딤 그레이(dim gray)","beige":"베이지(beige)","fuchsia":"후크샤(fuchsia)","lavenderblush":"라벤더 블러쉬(lavender blush)","hotpink":"핫 핑크(hot pink)","steelblue":"스틸 블루(steel blue)","tomato":"토마토(tomato)","lightpink":"라이트 핑크(light pink)","limegreen":"라임 그린(lime green)","indianred":"인디안 레드(indian red)","papayawhip":"파파야 휩(papaya whip)","lightslategray":"라이트 슬레이트 그레이(light slate gray)","gray":"그레이(gray)","mediumorchid":"미디엄 오키드(medium orchid)","cornsilk":"콘실크(cornsilk)","black":"블랙(black)","seagreen":"씨 그린(sea green)","darkslateblue":"다크 슬레이트 블루(dark slate blue)","khaki":"카키(khaki)","lightblue":"라이트 블루(light blue)","palegreen":"페일 그린(pale green)","azure":"애쥬어(azure)","peachpuff":"피치 퍼프(peach puff)","darkolivegreen":"다크 올리브 그린(dark olive green)","yellowgreen":"옐로우 그린(yellow green)"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ko_kr");dijit.nls.loading.ko_kr={"loadingState":"로드 중...","errorState":"죄송합니다. 오류가 발생했습니다."};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ko_kr");dijit.nls.common.ko_kr={"buttonOk":"확인","buttonCancel":"취소","buttonSave":"저장","itemClose":"닫기"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ko_kr");dijit.form.nls.Textarea.ko_kr={"iframeEditTitle":"편집 영역","iframeFocusTitle":"편집 영역 프레임"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ko_kr");dijit._editor.nls.commands.ko_kr={"removeFormat":"형식 제거","copy":"복사","paste":"붙여넣기","selectAll":"모두 선택","insertOrderedList":"번호 목록","insertTable":"테이블 삽입/편집","underline":"밑줄","foreColor":"전경색","htmlToggle":"HTML 소스","formatBlock":"단락 양식","insertHorizontalRule":"수평 자","delete":"삭제","insertUnorderedList":"글머리표 목록","tableProp":"테이블 특성","insertImage":"이미지 삽입","superscript":"위첨자","subscript":"아래첨자","createLink":"링크 작성","undo":"실행 취소","italic":"이탤릭체","fontName":"글꼴 이름","justifyLeft":"왼쪽 맞춤","unlink":"링크 제거","toggleTableBorder":"토글 테이블 경계","fontSize":"글꼴 크기","indent":"들여쓰기","redo":"다시 실행","strikethrough":"취소선","justifyFull":"양쪽 맞춤","justifyCenter":"가운데 맞춤","hiliteColor":"배경색","deleteTable":"테이블 삭제","outdent":"내어쓰기","cut":"잘라내기","plainFormatBlock":"단락 양식","toggleDir":"토글 방향","bold":"굵은체","systemShortcutFF":"\"${0}\" 조치는 키보드 바로 가기를 사용하는 Mozilla Firefox에서만 사용 가능합니다. ${1} 사용.","justifyRight":"오른쪽 맞춤","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ko_kr");dojo.cldr.nls.number.ko_kr={"currencyFormat":"¤#,##0.00","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ko_kr");dijit.nls.common.ko_kr={"buttonOk":"확인","buttonCancel":"취소","buttonSave":"저장","itemClose":"닫기"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ko_kr");dijit.form.nls.validate.ko_kr={"rangeMessage":"이 값은 범위를 벗어납니다.","invalidMessage":"입력된 값이 올바르지 않습니다.","missingMessage":"이 값은 필수입니다."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ko_kr");dijit.form.nls.ComboBox.ko_kr={"previousMessage":"이전 선택사항","nextMessage":"기타 선택사항"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ko_kr");dojo.cldr.nls.currency.ko_kr={"HKD_displayName":"홍콩 달러","JPY_symbol":"¥","HKD_symbol":"HK$","CAD_displayName":"캐나다 달러","CNY_displayName":"중국 위안 인민폐","AUD_displayName":"호주 달러","JPY_displayName":"일본 엔화","CAD_symbol":"Can$","USD_displayName":"미국 달러","GBP_displayName":"영국령 파운드 스털링","EUR_displayName":"유로화","USD_symbol":"US$","GBP_symbol":"UK£","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ko_kr");dojo.cldr.nls.gregorian.ko_kr={"timeFormat-medium":"a h:mm:ss","timeFormat-short":"a h:mm","quarters-format-abbreviated":["1분기","2분기","3분기","4분기"],"dateFormat-medium":"yyyy. M. d.","field-second":"초","field-week":"주","pm":"오후","timeFormat-full":"a hh시 mm분 ss초 v","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["d일 (E)","HH:mm","HH:mm:ss","H시 m분 s초","MMM d일 (E)","MMMM d일","M. d.","mm:ss","yy년 MMM","yy년 Q분기","yyyy. MM","yyyy"],"months-standAlone-narrow":["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],"eraNames":["서력기원전","서력기원"],"am":"오전","days-standAlone-narrow":["일","월","화","수","목","금","토"],"field-year":"년","field-minute":"분","quarters-stand-alone-narrow":["1","2","3","4"],"field-hour":"시","dateFormat-long":"yyyy년 M월 d일","field-day":"일","field-dayperiod":"오전/오후","field-month":"월","dateFormat-short":"yy. M. d.","months-format-wide":["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],"field-era":"연호","months-format-abbr":["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],"eraAbbr":["기원전","서기"],"days-format-wide":["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],"timeFormat-long":"a hh시 mm분 ss초 z","quarters-format-wide":["제 1/4분기","제 2/4분기","제 3/4분기","제 4/4분기"],"dateFormat-full":"yyyy년 M월 d일 EEEE","field-weekday":"요일","field-zone":"시간대","days-format-abbr":["일","월","화","수","목","금","토"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ko_kr");dijit.form.nls.Textarea.ko_kr={"iframeEditTitle":"편집 영역","iframeFocusTitle":"편집 영역 프레임"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ko_kr");dijit.nls.common.ko_kr={"buttonOk":"확인","buttonCancel":"취소","buttonSave":"저장","itemClose":"닫기"}; diff --git a/includes/js/dijit/nls/dijit-all_ko.js b/includes/js/dijit/nls/dijit-all_ko.js deleted file mode 100644 index ea7e84b..0000000 --- a/includes/js/dijit/nls/dijit-all_ko.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ko");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ko");dojo.nls.colors.ko={"lightsteelblue":"라이트 스틸 블루(light steel blue)","orangered":"오렌지 레드(orange red)","midnightblue":"미드나잇 블루(midnight blue)","cadetblue":"카뎃 블루(cadet blue)","seashell":"씨쉘(seashell)","slategrey":"슬레이트 그레이(slate gray)","coral":"코랄(coral)","darkturquoise":"다크 터콰즈(dark turquoise)","antiquewhite":"앤틱 화이트(antique white)","mediumspringgreen":"미디엄 스프링 그린(medium spring green)","salmon":"샐몬(salmon)","darkgrey":"다크 그레이(dark gray)","ivory":"아이보리(ivory)","greenyellow":"그린 옐로우(green-yellow)","mistyrose":"미스티 로즈(misty rose)","lightsalmon":"라이트 샐몬(light salmon)","silver":"실버(silver)","dimgrey":"딤 그레이(dim gray)","orange":"오렌지(orange)","white":"화이트(white)","navajowhite":"나바호 화이트(navajo white)","royalblue":"로얄 블루(royal blue)","deeppink":"딥 핑크(deep pink)","lime":"라임(lime)","oldlace":"올드 레이스(old lace)","chartreuse":"샤르트뢰즈(chartreuse)","darkcyan":"다크 시안(dark cyan)","yellow":"옐로우(yellow)","linen":"리넨(linen)","olive":"올리브(olive)","gold":"골드(gold)","lawngreen":"론 그린(lawn green)","lightyellow":"라이트 옐로우(light yellow)","tan":"탠(tan)","darkviolet":"다크 바이올렛(dark violet)","lightslategrey":"라이트 슬레이트 그레이(light slate gray)","grey":"그레이(gray)","darkkhaki":"다크 카키(dark khaki)","green":"그린(green)","deepskyblue":"딥 스카이 블루(deep sky blue)","aqua":"아쿠아(aqua)","sienna":"시에나(sienna)","mintcream":"민트 크림(mint cream)","rosybrown":"로지 브라운(rosy brown)","mediumslateblue":"미디엄 슬레이트 블루(medium slate blue)","magenta":"마젠타(magenta)","lightseagreen":"라이트 씨 그린(light sea green)","cyan":"시안(cyan)","olivedrab":"올리브 드랩(olive drab)","darkgoldenrod":"다크 골든로드(dark goldenrod)","slateblue":"슬레이트 블루(slate blue)","mediumaquamarine":"미디엄 아쿠아마린(medium aquamarine)","lavender":"라벤더(lavender)","mediumseagreen":"미디엄 씨 그린(medium sea green)","maroon":"마룬(maroon)","darkslategray":"다크 슬레이트 그레이(dark slate gray)","mediumturquoise":"미디엄 터콰즈(medium turquoise)","ghostwhite":"고스트 화이트(ghost white)","darkblue":"다크 블루(dark blue)","mediumvioletred":"미디엄 바이올렛 레드(medium violet-red)","brown":"브라운(brown)","lightgray":"라이트 그레이(light gray)","sandybrown":"샌디 브라운(sandy brown)","pink":"핑크(pink)","firebrick":"파이어 브릭(fire brick)","indigo":"인디고(indigo)","snow":"스노우(snow)","darkorchid":"다크 오키드(dark orchid)","turquoise":"터콰즈(turquoise)","chocolate":"초콜렛(chocolate)","springgreen":"스프링 그린(spring green)","moccasin":"모카신(moccasin)","navy":"네이비(navy)","lemonchiffon":"레몬 쉬폰(lemon chiffon)","teal":"틸(teal)","floralwhite":"플로랄 화이트(floral white)","cornflowerblue":"콘플라워 블루(cornflower blue)","paleturquoise":"페일 터콰즈(pale turquoise)","purple":"퍼플(purple)","gainsboro":"게인스브로(gainsboro)","plum":"플럼(plum)","red":"레드(red)","blue":"블루(blue)","forestgreen":"포레스트 그린(forest green)","darkgreen":"다크 그린(dark green)","honeydew":"허니듀(honeydew)","darkseagreen":"다크 씨 그린(dark sea green)","lightcoral":"라이트 코랄(light coral)","palevioletred":"페일 바이올렛 레드(pale violet-red)","mediumpurple":"미디엄 퍼플(medium purple)","saddlebrown":"새들 브라운(saddle brown)","darkmagenta":"다크 마젠타(dark magenta)","thistle":"시슬(thistle)","whitesmoke":"화이트 스모크(white smoke)","wheat":"휘트(wheat)","violet":"바이올렛(violet)","lightskyblue":"라이트 스카이 블루(light sky blue)","goldenrod":"골든로드(goldenrod)","mediumblue":"미디엄 블루(medium blue)","skyblue":"스카이 블루(sky blue)","crimson":"크림슨(crimson)","darksalmon":"다크 샐몬(dark salmon)","darkred":"다크 레드(dark red)","darkslategrey":"다크 슬레이트 그레이(dark slate gray)","peru":"페루(peru)","lightgrey":"라이트 그레이(light gray)","lightgoldenrodyellow":"라이트 골든로드 옐로우(light goldenrod yellow)","blanchedalmond":"블랜치 아몬드(blanched almond)","aliceblue":"앨리스 블루(alice blue)","bisque":"비스크(bisque)","slategray":"슬레이트 그레이(slate gray)","palegoldenrod":"페일 골든로드(pale goldenrod)","darkorange":"다크 오렌지(dark orange)","aquamarine":"아쿠아마린(aquamarine)","lightgreen":"라이트 그린(light green)","burlywood":"벌리우드(burlywood)","dodgerblue":"다저 블루(dodger blue)","darkgray":"다크 그레이(dark gray)","lightcyan":"라이트 시안(light cyan)","powderblue":"파우더 블루(powder blue)","blueviolet":"블루 바이올렛(blue-violet)","orchid":"오키드(orchid)","dimgray":"딤 그레이(dim gray)","beige":"베이지(beige)","fuchsia":"후크샤(fuchsia)","lavenderblush":"라벤더 블러쉬(lavender blush)","hotpink":"핫 핑크(hot pink)","steelblue":"스틸 블루(steel blue)","tomato":"토마토(tomato)","lightpink":"라이트 핑크(light pink)","limegreen":"라임 그린(lime green)","indianred":"인디안 레드(indian red)","papayawhip":"파파야 휩(papaya whip)","lightslategray":"라이트 슬레이트 그레이(light slate gray)","gray":"그레이(gray)","mediumorchid":"미디엄 오키드(medium orchid)","cornsilk":"콘실크(cornsilk)","black":"블랙(black)","seagreen":"씨 그린(sea green)","darkslateblue":"다크 슬레이트 블루(dark slate blue)","khaki":"카키(khaki)","lightblue":"라이트 블루(light blue)","palegreen":"페일 그린(pale green)","azure":"애쥬어(azure)","peachpuff":"피치 퍼프(peach puff)","darkolivegreen":"다크 올리브 그린(dark olive green)","yellowgreen":"옐로우 그린(yellow green)"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ko");dijit.nls.loading.ko={"loadingState":"로드 중...","errorState":"죄송합니다. 오류가 발생했습니다."};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ko");dijit.nls.common.ko={"buttonOk":"확인","buttonCancel":"취소","buttonSave":"저장","itemClose":"닫기"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ko");dijit.form.nls.Textarea.ko={"iframeEditTitle":"편집 영역","iframeFocusTitle":"편집 영역 프레임"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ko");dijit._editor.nls.commands.ko={"removeFormat":"형식 제거","copy":"복사","paste":"붙여넣기","selectAll":"모두 선택","insertOrderedList":"번호 목록","insertTable":"테이블 삽입/편집","underline":"밑줄","foreColor":"전경색","htmlToggle":"HTML 소스","formatBlock":"단락 양식","insertHorizontalRule":"수평 자","delete":"삭제","insertUnorderedList":"글머리표 목록","tableProp":"테이블 특성","insertImage":"이미지 삽입","superscript":"위첨자","subscript":"아래첨자","createLink":"링크 작성","undo":"실행 취소","italic":"이탤릭체","fontName":"글꼴 이름","justifyLeft":"왼쪽 맞춤","unlink":"링크 제거","toggleTableBorder":"토글 테이블 경계","fontSize":"글꼴 크기","indent":"들여쓰기","redo":"다시 실행","strikethrough":"취소선","justifyFull":"양쪽 맞춤","justifyCenter":"가운데 맞춤","hiliteColor":"배경색","deleteTable":"테이블 삭제","outdent":"내어쓰기","cut":"잘라내기","plainFormatBlock":"단락 양식","toggleDir":"토글 방향","bold":"굵은체","systemShortcutFF":"\"${0}\" 조치는 키보드 바로 가기를 사용하는 Mozilla Firefox에서만 사용 가능합니다. ${1} 사용.","justifyRight":"오른쪽 맞춤","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ko");dojo.cldr.nls.number.ko={"currencyFormat":"¤#,##0.00","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ko");dijit.nls.common.ko={"buttonOk":"확인","buttonCancel":"취소","buttonSave":"저장","itemClose":"닫기"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ko");dijit.form.nls.validate.ko={"rangeMessage":"이 값은 범위를 벗어납니다.","invalidMessage":"입력된 값이 올바르지 않습니다.","missingMessage":"이 값은 필수입니다."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ko");dijit.form.nls.ComboBox.ko={"previousMessage":"이전 선택사항","nextMessage":"기타 선택사항"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ko");dojo.cldr.nls.currency.ko={"HKD_displayName":"홍콩 달러","JPY_symbol":"¥","HKD_symbol":"HK$","CAD_displayName":"캐나다 달러","CNY_displayName":"중국 위안 인민폐","AUD_displayName":"호주 달러","JPY_displayName":"일본 엔화","CAD_symbol":"Can$","USD_displayName":"미국 달러","GBP_displayName":"영국령 파운드 스털링","EUR_displayName":"유로화","USD_symbol":"US$","GBP_symbol":"UK£","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ko");dojo.cldr.nls.gregorian.ko={"quarters-format-abbreviated":["1분기","2분기","3분기","4분기"],"dateFormat-medium":"yyyy. M. d.","field-second":"초","field-week":"주","pm":"오후","timeFormat-full":"a hh시 mm분 ss초 v","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["d일 (E)","HH:mm","HH:mm:ss","H시 m분 s초","MMM d일 (E)","MMMM d일","M. d.","mm:ss","yy년 MMM","yy년 Q분기","yyyy. MM","yyyy"],"months-standAlone-narrow":["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],"eraNames":["서력기원전","서력기원"],"am":"오전","days-standAlone-narrow":["일","월","화","수","목","금","토"],"field-year":"년","field-minute":"분","timeFormat-medium":"a h:mm:ss","quarters-stand-alone-narrow":["1","2","3","4"],"field-hour":"시","dateFormat-long":"yyyy년 M월 d일","field-day":"일","field-dayperiod":"오전/오후","field-month":"월","dateFormat-short":"yy. M. d.","months-format-wide":["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],"field-era":"연호","timeFormat-short":"a h:mm","months-format-abbr":["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],"eraAbbr":["기원전","서기"],"days-format-wide":["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],"timeFormat-long":"a hh시 mm분 ss초 z","quarters-format-wide":["제 1/4분기","제 2/4분기","제 3/4분기","제 4/4분기"],"dateFormat-full":"yyyy년 M월 d일 EEEE","field-weekday":"요일","field-zone":"시간대","days-format-abbr":["일","월","화","수","목","금","토"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ko");dijit.form.nls.Textarea.ko={"iframeEditTitle":"편집 영역","iframeFocusTitle":"편집 영역 프레임"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ko");dijit.nls.common.ko={"buttonOk":"확인","buttonCancel":"취소","buttonSave":"저장","itemClose":"닫기"}; diff --git a/includes/js/dijit/nls/dijit-all_nl-nl.js b/includes/js/dijit/nls/dijit-all_nl-nl.js deleted file mode 100644 index 545edac..0000000 --- a/includes/js/dijit/nls/dijit-all_nl-nl.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_nl-nl");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.nl_nl");dojo.nls.colors.nl_nl={"lightsteelblue":"lichtstaalblauw","orangered":"oranjerood","midnightblue":"nachtblauw","cadetblue":"donkerstaalblauw","seashell":"schelp","slategrey":"leigrijs","coral":"koraalrood","darkturquoise":"donkerturquoise","antiquewhite":"antiekwit","mediumspringgreen":"midlentegroen","salmon":"zalm","darkgrey":"donkergrijs","ivory":"ivoorwit","greenyellow":"groengeel","mistyrose":"matroze","lightsalmon":"lichtzalm","silver":"zilvergrijs","dimgrey":"dofgrijs","orange":"oranje","white":"wit","navajowhite":"navajowit","royalblue":"koningsblauw","deeppink":"donkerroze","lime":"limoen","oldlace":"kant","chartreuse":"groengeel","darkcyan":"donkercyaan","yellow":"geel","linen":"linnen","olive":"olijfgroen","gold":"goud","lawngreen":"grasgroen","lightyellow":"lichtgeel","tan":"geelbruin","darkviolet":"donkerviolet","lightslategrey":"lichtblauwgrijs","grey":"grijs","darkkhaki":"donkerkaki","green":"groen","deepskyblue":"diephemelblauw","aqua":"aqua","sienna":"sienna","mintcream":"mintroomgeel","rosybrown":"roodbruin","mediumslateblue":"midgrijsblauw","magenta":"magenta","lightseagreen":"lichtzeegroen","cyan":"cyaan","olivedrab":"grijsbruin","darkgoldenrod":"donkergoud","slateblue":"leiblauw","mediumaquamarine":"midaquamarijn","lavender":"lavendelblauw","mediumseagreen":"midzeegroen","maroon":"kastanjebruin","darkslategray":"donkerblauwgrijs","mediumturquoise":"midturquoise","ghostwhite":"spierwit","darkblue":"donkerblauw","mediumvioletred":"midvioletrood","brown":"bruin","lightgray":"lichtgrijs","sandybrown":"zandbruin","pink":"roze","firebrick":"vuursteenrood","indigo":"indigo","snow":"sneeuwwit","darkorchid":"donkerorchidee","turquoise":"turquoise","chocolate":"chocoladebruin","springgreen":"lentegroen","moccasin":"moccasin","navy":"marineblauw","lemonchiffon":"citroengeel","teal":"grijsblauw","floralwhite":"rozewit","cornflowerblue":"korenbloemblauw","paleturquoise":"bleekturquoise","purple":"purper","gainsboro":"lichtblauwgrijs","plum":"pruim","red":"rood","blue":"blauw","forestgreen":"bosgroen","darkgreen":"donkergroen","honeydew":"meloen","darkseagreen":"donkerzeegroen","lightcoral":"lichtkoraal","palevioletred":"bleekvioletrood","mediumpurple":"midpurper","saddlebrown":"leerbruin","darkmagenta":"donkermagenta","thistle":"distel","whitesmoke":"rookwit","wheat":"tarwebruin","violet":"violet","lightskyblue":"lichthemelsblauw","goldenrod":"goudbruin","mediumblue":"midblauw","skyblue":"hemelsblauw","crimson":"karmozijnrood","darksalmon":"donkerzalm","darkred":"donkerrood","darkslategrey":"donkerblauwgrijs","peru":"bruin","lightgrey":"lichtgrijs","lightgoldenrodyellow":"lichtgoudgeel","blanchedalmond":"amandel","aliceblue":"lichtblauw","bisque":"oranjegeel","slategray":"leigrijs","palegoldenrod":"bleekgeel","darkorange":"donkeroranje","aquamarine":"aquamarijn","lightgreen":"lichtgroen","burlywood":"lichtbruin","dodgerblue":"helderblauw","darkgray":"donkergrijs","lightcyan":"lichtcyaan","powderblue":"lichtblauw-wit","blueviolet":"violet","orchid":"orchidee","dimgray":"dofgrijs","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavendelblos","hotpink":"acaciaroze","steelblue":"staalblauw","tomato":"tomaat","lightpink":"lichtroze","limegreen":"limoengroen","indianred":"indisch rood","papayawhip":"papajaroze","lightslategray":"lichtblauwgrijs","gray":"grijs","mediumorchid":"midorchidee","cornsilk":"maïsgeel","black":"zwart","seagreen":"zeegroen","darkslateblue":"donkergrijsblauw","khaki":"kaki","lightblue":"lichtblauw","palegreen":"bleekgroen","azure":"azuur","peachpuff":"perzikroze","darkolivegreen":"donkerolijfgroen","yellowgreen":"geelgroen"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.nl_nl");dijit.nls.loading.nl_nl={"loadingState":"Bezig met laden...","errorState":"Er is een fout opgetreden"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.nl_nl");dijit.nls.common.nl_nl={"buttonOk":"OK","buttonCancel":"Annuleren","buttonSave":"Opslaan","itemClose":"Sluiten"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.nl_nl");dijit.form.nls.Textarea.nl_nl={"iframeEditTitle":"veld bewerken","iframeFocusTitle":"veldkader bewerken"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.nl_nl");dijit._editor.nls.commands.nl_nl={"removeFormat":"Opmaak verwijderen","copy":"Kopiëren","paste":"Plakken","selectAll":"Alles selecteren","insertOrderedList":"Genummerde lijst","insertTable":"Tabel invoegen/bewerken","underline":"Onderstrepen","foreColor":"Voorgrondkleur","htmlToggle":"HTML-bron","formatBlock":"Alineastijl","insertHorizontalRule":"Horizontale liniaal","delete":"Wissen","insertUnorderedList":"Lijst met opsommingstekens","tableProp":"Tabeleigenschap","insertImage":"Afbeelding invoegen","superscript":"Superscript","subscript":"Subscript","createLink":"Link maken","undo":"Ongedaan maken","italic":"Cursief","fontName":"Lettertype","justifyLeft":"Links uitlijnen","unlink":"Link verwijderen","toggleTableBorder":"Tabelkader wijzigen","ctrlKey":"Ctrl+${0}","fontSize":"Lettergrootte","indent":"Inspringen","redo":"Opnieuw","strikethrough":"Doorhalen","justifyFull":"Uitvullen","justifyCenter":"Centreren","hiliteColor":"Achtergrondkleur","deleteTable":"Tabel wissen","outdent":"Uitspringen","cut":"Knippen","plainFormatBlock":"Alineastijl","toggleDir":"Schrijfrichting wijzigen","bold":"Vet","systemShortcutFF":"De actie \"${0}\" is alleen beschikbaar in Mozilla Firefox via een sneltoestcombinatie. Gebruik ${1}.","justifyRight":"Rechts uitlijnen","appleKey":"⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.nl_nl");dojo.cldr.nls.number.nl_nl={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.nl_nl");dijit.nls.common.nl_nl={"buttonOk":"OK","buttonCancel":"Annuleren","buttonSave":"Opslaan","itemClose":"Sluiten"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.nl_nl");dijit.form.nls.validate.nl_nl={"rangeMessage":"Deze waarde is niet toegestaan.","invalidMessage":"De opgegeven waarde is ongeldig.","missingMessage":"Deze waarde is verplicht."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.nl_nl");dijit.form.nls.ComboBox.nl_nl={"previousMessage":"Eerdere opties","nextMessage":"Meer opties"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.nl_nl");dojo.cldr.nls.currency.nl_nl={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.nl_nl");dojo.cldr.nls.gregorian.nl_nl={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.nl_nl");dijit.form.nls.Textarea.nl_nl={"iframeEditTitle":"veld bewerken","iframeFocusTitle":"veldkader bewerken"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.nl_nl");dijit.nls.common.nl_nl={"buttonOk":"OK","buttonCancel":"Annuleren","buttonSave":"Opslaan","itemClose":"Sluiten"}; diff --git a/includes/js/dijit/nls/dijit-all_nl.js b/includes/js/dijit/nls/dijit-all_nl.js deleted file mode 100644 index 5bfc19a..0000000 --- a/includes/js/dijit/nls/dijit-all_nl.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_nl");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.nl");dojo.nls.colors.nl={"lightsteelblue":"lichtstaalblauw","orangered":"oranjerood","midnightblue":"nachtblauw","cadetblue":"donkerstaalblauw","seashell":"schelp","slategrey":"leigrijs","coral":"koraalrood","darkturquoise":"donkerturquoise","antiquewhite":"antiekwit","mediumspringgreen":"midlentegroen","salmon":"zalm","darkgrey":"donkergrijs","ivory":"ivoorwit","greenyellow":"groengeel","mistyrose":"matroze","lightsalmon":"lichtzalm","silver":"zilvergrijs","dimgrey":"dofgrijs","orange":"oranje","white":"wit","navajowhite":"navajowit","royalblue":"koningsblauw","deeppink":"donkerroze","lime":"limoen","oldlace":"kant","chartreuse":"groengeel","darkcyan":"donkercyaan","yellow":"geel","linen":"linnen","olive":"olijfgroen","gold":"goud","lawngreen":"grasgroen","lightyellow":"lichtgeel","tan":"geelbruin","darkviolet":"donkerviolet","lightslategrey":"lichtblauwgrijs","grey":"grijs","darkkhaki":"donkerkaki","green":"groen","deepskyblue":"diephemelblauw","aqua":"aqua","sienna":"sienna","mintcream":"mintroomgeel","rosybrown":"roodbruin","mediumslateblue":"midgrijsblauw","magenta":"magenta","lightseagreen":"lichtzeegroen","cyan":"cyaan","olivedrab":"grijsbruin","darkgoldenrod":"donkergoud","slateblue":"leiblauw","mediumaquamarine":"midaquamarijn","lavender":"lavendelblauw","mediumseagreen":"midzeegroen","maroon":"kastanjebruin","darkslategray":"donkerblauwgrijs","mediumturquoise":"midturquoise","ghostwhite":"spierwit","darkblue":"donkerblauw","mediumvioletred":"midvioletrood","brown":"bruin","lightgray":"lichtgrijs","sandybrown":"zandbruin","pink":"roze","firebrick":"vuursteenrood","indigo":"indigo","snow":"sneeuwwit","darkorchid":"donkerorchidee","turquoise":"turquoise","chocolate":"chocoladebruin","springgreen":"lentegroen","moccasin":"moccasin","navy":"marineblauw","lemonchiffon":"citroengeel","teal":"grijsblauw","floralwhite":"rozewit","cornflowerblue":"korenbloemblauw","paleturquoise":"bleekturquoise","purple":"purper","gainsboro":"lichtblauwgrijs","plum":"pruim","red":"rood","blue":"blauw","forestgreen":"bosgroen","darkgreen":"donkergroen","honeydew":"meloen","darkseagreen":"donkerzeegroen","lightcoral":"lichtkoraal","palevioletred":"bleekvioletrood","mediumpurple":"midpurper","saddlebrown":"leerbruin","darkmagenta":"donkermagenta","thistle":"distel","whitesmoke":"rookwit","wheat":"tarwebruin","violet":"violet","lightskyblue":"lichthemelsblauw","goldenrod":"goudbruin","mediumblue":"midblauw","skyblue":"hemelsblauw","crimson":"karmozijnrood","darksalmon":"donkerzalm","darkred":"donkerrood","darkslategrey":"donkerblauwgrijs","peru":"bruin","lightgrey":"lichtgrijs","lightgoldenrodyellow":"lichtgoudgeel","blanchedalmond":"amandel","aliceblue":"lichtblauw","bisque":"oranjegeel","slategray":"leigrijs","palegoldenrod":"bleekgeel","darkorange":"donkeroranje","aquamarine":"aquamarijn","lightgreen":"lichtgroen","burlywood":"lichtbruin","dodgerblue":"helderblauw","darkgray":"donkergrijs","lightcyan":"lichtcyaan","powderblue":"lichtblauw-wit","blueviolet":"violet","orchid":"orchidee","dimgray":"dofgrijs","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavendelblos","hotpink":"acaciaroze","steelblue":"staalblauw","tomato":"tomaat","lightpink":"lichtroze","limegreen":"limoengroen","indianred":"indisch rood","papayawhip":"papajaroze","lightslategray":"lichtblauwgrijs","gray":"grijs","mediumorchid":"midorchidee","cornsilk":"maïsgeel","black":"zwart","seagreen":"zeegroen","darkslateblue":"donkergrijsblauw","khaki":"kaki","lightblue":"lichtblauw","palegreen":"bleekgroen","azure":"azuur","peachpuff":"perzikroze","darkolivegreen":"donkerolijfgroen","yellowgreen":"geelgroen"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.nl");dijit.nls.loading.nl={"loadingState":"Bezig met laden...","errorState":"Er is een fout opgetreden"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.nl");dijit.nls.common.nl={"buttonOk":"OK","buttonCancel":"Annuleren","buttonSave":"Opslaan","itemClose":"Sluiten"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.nl");dijit.form.nls.Textarea.nl={"iframeEditTitle":"veld bewerken","iframeFocusTitle":"veldkader bewerken"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.nl");dijit._editor.nls.commands.nl={"removeFormat":"Opmaak verwijderen","copy":"Kopiëren","paste":"Plakken","selectAll":"Alles selecteren","insertOrderedList":"Genummerde lijst","insertTable":"Tabel invoegen/bewerken","underline":"Onderstrepen","foreColor":"Voorgrondkleur","htmlToggle":"HTML-bron","formatBlock":"Alineastijl","insertHorizontalRule":"Horizontale liniaal","delete":"Wissen","insertUnorderedList":"Lijst met opsommingstekens","tableProp":"Tabeleigenschap","insertImage":"Afbeelding invoegen","superscript":"Superscript","subscript":"Subscript","createLink":"Link maken","undo":"Ongedaan maken","italic":"Cursief","fontName":"Lettertype","justifyLeft":"Links uitlijnen","unlink":"Link verwijderen","toggleTableBorder":"Tabelkader wijzigen","ctrlKey":"Ctrl+${0}","fontSize":"Lettergrootte","indent":"Inspringen","redo":"Opnieuw","strikethrough":"Doorhalen","justifyFull":"Uitvullen","justifyCenter":"Centreren","hiliteColor":"Achtergrondkleur","deleteTable":"Tabel wissen","outdent":"Uitspringen","cut":"Knippen","plainFormatBlock":"Alineastijl","toggleDir":"Schrijfrichting wijzigen","bold":"Vet","systemShortcutFF":"De actie \"${0}\" is alleen beschikbaar in Mozilla Firefox via een sneltoestcombinatie. Gebruik ${1}.","justifyRight":"Rechts uitlijnen","appleKey":"⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.nl");dojo.cldr.nls.number.nl={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.nl");dijit.nls.common.nl={"buttonOk":"OK","buttonCancel":"Annuleren","buttonSave":"Opslaan","itemClose":"Sluiten"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.nl");dijit.form.nls.validate.nl={"rangeMessage":"Deze waarde is niet toegestaan.","invalidMessage":"De opgegeven waarde is ongeldig.","missingMessage":"Deze waarde is verplicht."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.nl");dijit.form.nls.ComboBox.nl={"previousMessage":"Eerdere opties","nextMessage":"Meer opties"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.nl");dojo.cldr.nls.currency.nl={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.nl");dojo.cldr.nls.gregorian.nl={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.nl");dijit.form.nls.Textarea.nl={"iframeEditTitle":"veld bewerken","iframeFocusTitle":"veldkader bewerken"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.nl");dijit.nls.common.nl={"buttonOk":"OK","buttonCancel":"Annuleren","buttonSave":"Opslaan","itemClose":"Sluiten"}; diff --git a/includes/js/dijit/nls/dijit-all_no.js b/includes/js/dijit/nls/dijit-all_no.js deleted file mode 100644 index ea6239f..0000000 --- a/includes/js/dijit/nls/dijit-all_no.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_no");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.no");dojo.nls.colors.no={"lightsteelblue":"light steel blue","orangered":"orange red","midnightblue":"midnight blue","cadetblue":"cadet blue","seashell":"seashell","slategrey":"slate gray","coral":"coral","darkturquoise":"dark turquoise","antiquewhite":"antique white","mediumspringgreen":"medium spring green","salmon":"salmon","darkgrey":"dark gray","ivory":"ivory","greenyellow":"green-yellow","mistyrose":"misty rose","lightsalmon":"light salmon","silver":"silver","dimgrey":"dim gray","orange":"orange","white":"white","navajowhite":"navajo white","royalblue":"royal blue","deeppink":"deep pink","lime":"lime","oldlace":"old lace","chartreuse":"chartreuse","darkcyan":"dark cyan","yellow":"yellow","linen":"linen","olive":"olive","gold":"gold","lawngreen":"lawn green","lightyellow":"light yellow","tan":"tan","darkviolet":"dark violet","lightslategrey":"light slate gray","grey":"gray","darkkhaki":"dark khaki","green":"green","deepskyblue":"deep sky blue","aqua":"aqua","sienna":"sienna","mintcream":"mint cream","rosybrown":"rosy brown","mediumslateblue":"medium slate blue","magenta":"magenta","lightseagreen":"light sea green","cyan":"cyan","olivedrab":"olive drab","darkgoldenrod":"dark goldenrod","slateblue":"slate blue","mediumaquamarine":"medium aquamarine","lavender":"lavender","mediumseagreen":"medium sea green","maroon":"maroon","darkslategray":"dark slate gray","mediumturquoise":"medium turquoise","ghostwhite":"ghost white","darkblue":"dark blue","mediumvioletred":"medium violet-red","brown":"brown","lightgray":"light gray","sandybrown":"sandy brown","pink":"pink","firebrick":"fire brick","indigo":"indigo","snow":"snow","darkorchid":"dark orchid","turquoise":"turquoise","chocolate":"chocolate","springgreen":"spring green","moccasin":"moccasin","navy":"navy","lemonchiffon":"lemon chiffon","teal":"teal","floralwhite":"floral white","cornflowerblue":"cornflower blue","paleturquoise":"pale turquoise","purple":"purple","gainsboro":"gainsboro","plum":"plum","red":"red","blue":"blue","forestgreen":"forest green","darkgreen":"dark green","honeydew":"honeydew","darkseagreen":"dark sea green","lightcoral":"light coral","palevioletred":"pale violet-red","mediumpurple":"medium purple","saddlebrown":"saddle brown","darkmagenta":"dark magenta","thistle":"thistle","whitesmoke":"white smoke","wheat":"wheat","violet":"violet","lightskyblue":"light sky blue","goldenrod":"goldenrod","mediumblue":"medium blue","skyblue":"sky blue","crimson":"crimson","darksalmon":"dark salmon","darkred":"dark red","darkslategrey":"dark slate gray","peru":"peru","lightgrey":"light gray","lightgoldenrodyellow":"light goldenrod yellow","blanchedalmond":"blanched almond","aliceblue":"alice blue","bisque":"bisque","slategray":"slate gray","palegoldenrod":"pale goldenrod","darkorange":"dark orange","aquamarine":"aquamarine","lightgreen":"light green","burlywood":"burlywood","dodgerblue":"dodger blue","darkgray":"dark gray","lightcyan":"light cyan","powderblue":"powder blue","blueviolet":"blue-violet","orchid":"orchid","dimgray":"dim gray","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavender blush","hotpink":"hot pink","steelblue":"steel blue","tomato":"tomato","lightpink":"light pink","limegreen":"lime green","indianred":"indian red","papayawhip":"papaya whip","lightslategray":"light slate gray","gray":"gray","mediumorchid":"medium orchid","cornsilk":"cornsilk","black":"black","seagreen":"sea green","darkslateblue":"dark slate blue","khaki":"khaki","lightblue":"light blue","palegreen":"pale green","azure":"azure","peachpuff":"peach puff","darkolivegreen":"dark olive green","yellowgreen":"yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.no");dijit.nls.loading.no={"loadingState":"Loading...","errorState":"Sorry, an error occurred"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.no");dijit.nls.common.no={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.no");dijit.form.nls.Textarea.no={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.no");dijit._editor.nls.commands.no={"removeFormat":"Remove Format","copy":"Copy","paste":"Paste","selectAll":"Select All","insertOrderedList":"Numbered List","insertTable":"Insert/Edit Table","underline":"Underline","foreColor":"Foreground Color","htmlToggle":"HTML Source","formatBlock":"Paragraph Style","insertHorizontalRule":"Horizontal Rule","delete":"Delete","appleKey":"⌘${0}","insertUnorderedList":"Bullet List","tableProp":"Table Property","insertImage":"Insert Image","superscript":"Superscript","subscript":"Subscript","createLink":"Create Link","undo":"Undo","italic":"Italic","fontName":"Font Name","justifyLeft":"Align Left","unlink":"Remove Link","toggleTableBorder":"Toggle Table Border","ctrlKey":"ctrl+${0}","fontSize":"Font Size","indent":"Indent","redo":"Redo","strikethrough":"Strikethrough","justifyFull":"Justify","justifyCenter":"Align Center","hiliteColor":"Background Color","deleteTable":"Delete Table","outdent":"Outdent","cut":"Cut","plainFormatBlock":"Paragraph Style","toggleDir":"Toggle Direction","bold":"Bold","systemShortcutFF":"The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.","justifyRight":"Align Right"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.no");dojo.cldr.nls.number.no={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.no");dijit.nls.common.no={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.no");dijit.form.nls.validate.no={"rangeMessage":"This value is out of range.","invalidMessage":"The value entered is not valid.","missingMessage":"This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.no");dijit.form.nls.ComboBox.no={"previousMessage":"Previous choices","nextMessage":"More choices"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.no");dojo.cldr.nls.currency.no={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.no");dojo.cldr.nls.gregorian.no={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.no");dijit.form.nls.Textarea.no={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.no");dijit.nls.common.no={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"}; diff --git a/includes/js/dijit/nls/dijit-all_pl.js b/includes/js/dijit/nls/dijit-all_pl.js deleted file mode 100644 index 8873535..0000000 --- a/includes/js/dijit/nls/dijit-all_pl.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_pl");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.pl");dojo.nls.colors.pl={"lightsteelblue":"jasny stalowoniebieski","orangered":"pomarańczowoczerwony","midnightblue":"ciemnogranatowy","cadetblue":"niebieskoszary","seashell":"muszla","slategrey":"łupkowy szary","coral":"koralowy","darkturquoise":"ciemnoturkusowy","antiquewhite":"biel antyczna","mediumspringgreen":"średnia wiosenna zieleń","salmon":"łososiowy","darkgrey":"ciemnoszary","ivory":"kość słoniowa","greenyellow":"zielonożółty","mistyrose":"bladoróżany","lightsalmon":"jasnołososiowy","silver":"srebrny","dimgrey":"przytłumiony szary","orange":"pomarańczowy","white":"biały","navajowhite":"piaskowy","royalblue":"błękit królewski","deeppink":"głęboki różowy","lime":"limetkowy","oldlace":"bladopomarańczowy","chartreuse":"jaskrawozielony","darkcyan":"ciemny cyjan","yellow":"żółty","linen":"lniany","olive":"oliwkowy","gold":"złoty","lawngreen":"trawiasty","lightyellow":"jasnożółty","tan":"kawowy","darkviolet":"ciemnofioletowy","lightslategrey":"jasny łupkowy szary","grey":"szary","darkkhaki":"ciemny khaki","green":"zielony","deepskyblue":"intensywny błękit nieba","aqua":"wodny","sienna":"siena","mintcream":"jasnomiętowy","rosybrown":"różowobrązowy","mediumslateblue":"średni łupkowy niebieski","magenta":"magenta","lightseagreen":"jasna morska zieleń","cyan":"cyjan","olivedrab":"oliwkowa zieleń","darkgoldenrod":"ciemnogliniany","slateblue":"łupkowy niebieski","mediumaquamarine":"średnia akwamaryna","lavender":"lawendowy","mediumseagreen":"średnia morska zieleń","maroon":"bordowy","darkslategray":"ciemny łupkowy szary","mediumturquoise":"średni turkusowy","ghostwhite":"bladobiały","darkblue":"ciemnoniebieski","mediumvioletred":"średni fioletowoczerwony","brown":"brązowy","lightgray":"jasnoszary","sandybrown":"piaskowy brąz","pink":"różowy","firebrick":"ceglasty","indigo":"indygo","snow":"śnieżny","darkorchid":"ciemna orchidea","turquoise":"turkusowy","chocolate":"czekoladowy","springgreen":"wiosenna zieleń","moccasin":"mokasynowy","navy":"granatowy","lemonchiffon":"cytrynowy","teal":"cyrankowy","floralwhite":"kwiatowa biel","cornflowerblue":"chabrowy","paleturquoise":"bladoturkusowy","purple":"purpurowy","gainsboro":"bladoszary","plum":"śliwkowy","red":"czerwony","blue":"niebieski","forestgreen":"leśna zieleń","darkgreen":"ciemnozielony","honeydew":"melon","darkseagreen":"ciemna morska zieleń","lightcoral":"jasnokoralowy","palevioletred":"blady fioletowoczerwony","mediumpurple":"średnia purpura","saddlebrown":"skórzany brązowy","darkmagenta":"ciemna magenta","thistle":"bladofioletowy","whitesmoke":"przydymiony biały","wheat":"pszeniczny","violet":"fioletowy","lightskyblue":"jasny błękit nieba","goldenrod":"gliniany","mediumblue":"średni niebieski","skyblue":"błękit nieba","crimson":"karmazynowy","darksalmon":"ciemnołososiowy","darkred":"ciemnoczerwony","darkslategrey":"ciemny łupkowy szary","peru":"jasnobrązowy","lightgrey":"jasnoszary","lightgoldenrodyellow":"jasnogliniana żółć","blanchedalmond":"migdałowy","aliceblue":"bladoniebieski","bisque":"biszkoptowy","slategray":"łupkowy szary","palegoldenrod":"bladogliniany","darkorange":"ciemnopomarańczowy","aquamarine":"akwamaryna","lightgreen":"jasnozielony","burlywood":"kolor drewna","dodgerblue":"błękit Dodgers","darkgray":"ciemnoszary","lightcyan":"jasny cyjan","powderblue":"pudrowy niebieski","blueviolet":"niebieskofioletowy","orchid":"orchidea","dimgray":"przytłumiony szary","beige":"beżowy","fuchsia":"fuksja","lavenderblush":"lawendoworóżowy","hotpink":"intensywny różowy","steelblue":"stalowy niebieski","tomato":"pomidorowy","lightpink":"jasnoróżowy","limegreen":"limetkowozielony","indianred":"kasztanowy","papayawhip":"papaja","lightslategray":"jasny łupkowy szary","gray":"szary","mediumorchid":"średnia orchidea","cornsilk":"kukurydziany","black":"czarny","seagreen":"morska zieleń","darkslateblue":"ciemny łupkowy niebieski","khaki":"khaki","lightblue":"jasnoniebieski","palegreen":"bladozielony","azure":"lazur","peachpuff":"brzoskwiniowy","darkolivegreen":"ciemnooliwkowy","yellowgreen":"żółtozielony"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.pl");dijit.nls.loading.pl={"loadingState":"Trwa ładowanie...","errorState":"Niestety, wystąpił błąd"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pl");dijit.nls.common.pl={"buttonOk":"OK","buttonCancel":"Anuluj","buttonSave":"Zapisz","itemClose":"Zamknij"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.pl");dijit.form.nls.Textarea.pl={"iframeEditTitle":"obszar edycji","iframeFocusTitle":"ramka obszaru edycji"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.pl");dijit._editor.nls.commands.pl={"removeFormat":"Usuń formatowanie","copy":"Kopiuj","paste":"Wklej","selectAll":"Wybierz wszystko","insertOrderedList":"Lista numerowana","insertTable":"Wstaw/edytuj tabelę","underline":"Podkreślenie","foreColor":"Kolor pierwszego planu","htmlToggle":"Źródło HTML","formatBlock":"Styl akapitu","insertHorizontalRule":"Linia pozioma","delete":"Usuń","insertUnorderedList":"Lista wypunktowana","tableProp":"Właściwość tabeli","insertImage":"Wstaw obraz","superscript":"Indeks górny","subscript":"Indeks dolny","createLink":"Utwórz odsyłacz","undo":"Cofnij","italic":"Kursywa","fontName":"Nazwa czcionki","justifyLeft":"Wyrównaj do lewej","unlink":"Usuń odsyłacz","toggleTableBorder":"Przełącz ramkę tabeli","fontSize":"Wielkość czcionki","indent":"Wcięcie","redo":"Przywróć","strikethrough":"Przekreślenie","justifyFull":"Wyrównaj do lewej i prawej","justifyCenter":"Wyrównaj do środka","hiliteColor":"Kolor tła","deleteTable":"Usuń tabelę","outdent":"Usuń wcięcie","cut":"Wytnij","plainFormatBlock":"Styl akapitu","toggleDir":"Przełącz kierunek","bold":"Pogrubienie","systemShortcutFF":"Działanie ${0} jest dostępne w przeglądarce Mozilla Firefox wyłącznie za pomocą skrótu klawiaturowego. Użyj ${1}.","justifyRight":"Wyrównaj do prawej","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.pl");dojo.cldr.nls.number.pl={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pl");dijit.nls.common.pl={"buttonOk":"OK","buttonCancel":"Anuluj","buttonSave":"Zapisz","itemClose":"Zamknij"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.pl");dijit.form.nls.validate.pl={"rangeMessage":"Ta wartość jest spoza zakresu.","invalidMessage":"Wprowadzona wartość jest niepoprawna.","missingMessage":"Ta wartość jest wymagana."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.pl");dijit.form.nls.ComboBox.pl={"previousMessage":"Poprzednie wybory","nextMessage":"Więcej wyborów"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.pl");dojo.cldr.nls.currency.pl={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.pl");dojo.cldr.nls.gregorian.pl={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.pl");dijit.form.nls.Textarea.pl={"iframeEditTitle":"obszar edycji","iframeFocusTitle":"ramka obszaru edycji"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pl");dijit.nls.common.pl={"buttonOk":"OK","buttonCancel":"Anuluj","buttonSave":"Zapisz","itemClose":"Zamknij"}; diff --git a/includes/js/dijit/nls/dijit-all_pt-br.js b/includes/js/dijit/nls/dijit-all_pt-br.js deleted file mode 100644 index 030071c..0000000 --- a/includes/js/dijit/nls/dijit-all_pt-br.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_pt-br");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.pt_br");dojo.nls.colors.pt_br={"lightsteelblue":"azul metálico claro","orangered":"vermelho-alaranjado","midnightblue":"azul noturno","cadetblue":"azul-cadete","seashell":"concha marinha","slategrey":"ardósia cinza","coral":"coral","darkturquoise":"turquesa-escuro","antiquewhite":"branco velho","mediumspringgreen":"verde primavera médio","salmon":"salmão","darkgrey":"cinza-escuro","ivory":"marfim","greenyellow":"verde-amarelado","mistyrose":"rosa nublado","lightsalmon":"salmão claro","silver":"prata","dimgrey":"cinza-escuro","orange":"laranja","white":"branco","navajowhite":"branco navajo","royalblue":"azul real","deeppink":"rosa profundo","lime":"lima","oldlace":"fita velha","chartreuse":"verde-amarelado","darkcyan":"ciano-escuro","yellow":"amarelo","linen":"linho","olive":"verde-oliva","gold":"dourado","lawngreen":"verde grama","lightyellow":"amarelo-claro","tan":"canela","darkviolet":"violeta-escuro","lightslategrey":"ardósia cinza-claro","grey":"cinza","darkkhaki":"cáqui-escuro","green":"verde","deepskyblue":"azul celeste profundo","aqua":"azul-água","sienna":"marrom-avermelhado","mintcream":"menta","rosybrown":"marrom rosado","mediumslateblue":"ardósia azul médio","magenta":"magenta","lightseagreen":"verde-mar claro","cyan":"ciano","olivedrab":"verde-acastanhado","darkgoldenrod":"ouro-escuro","slateblue":"ardósia azul","mediumaquamarine":"verde-azulado temperado","lavender":"lavanda","mediumseagreen":"verde mar temperado","maroon":"castanho","darkslategray":"ardósia cinza-escuro","mediumturquoise":"turquesa médio","ghostwhite":"branco sombreado","darkblue":"azul-escuro","mediumvioletred":"violeta avermelhado médio","brown":"marrom","lightgray":"cinza-claro","sandybrown":"marrom arenoso","pink":"rosado","firebrick":"tijolo queimado","indigo":"índigo","snow":"branco neve","darkorchid":"orquídea-escuro","turquoise":"turquesa","chocolate":"chocolate","springgreen":"verde primavera","moccasin":"mocassim","navy":"marinho","lemonchiffon":"gaze limão","teal":"azul-esverdeado","floralwhite":"branco floral","cornflowerblue":"centáurea azul","paleturquoise":"turquesa pálida","purple":"púrpura","gainsboro":"gainsboro","plum":"ameixa","red":"vermelho","blue":"azul","forestgreen":"verde floresta","darkgreen":"verde-escuro","honeydew":"verde mel","darkseagreen":"verde-mar escuro","lightcoral":"coral-claro","palevioletred":"violeta pálida","mediumpurple":"púrpura temperado","saddlebrown":"marrom couro","darkmagenta":"magenta-escuro","thistle":"cardo","whitesmoke":"branco esfumaçado","wheat":"trigo","violet":"violeta","lightskyblue":"azul celeste claro","goldenrod":"ouro","mediumblue":"azul temperado","skyblue":"azul celeste","crimson":"carmim","darksalmon":"salmão escuro","darkred":"vermelho-escuro","darkslategrey":"ardósia cinza-escuro","peru":"peru","lightgrey":"cinza-claro","lightgoldenrodyellow":"amarelo-claro","blanchedalmond":"branco-amêndoa","aliceblue":"azul-bebê","bisque":"biscuit","slategray":"ardósia cinza","palegoldenrod":"ouro pálido","darkorange":"laranja-escuro","aquamarine":"água-marinha","lightgreen":"verde-claro","burlywood":"madeira","dodgerblue":"azul fugidio","darkgray":"cinza-escuro","lightcyan":"ciano-claro","powderblue":"azul pólvora","blueviolet":"violeta azulado","orchid":"orquídea","dimgray":"cinza-escuro","beige":"bege","fuchsia":"fúcsia","lavenderblush":"lavanda avermelhada","hotpink":"rosa quente","steelblue":"azul metálico","tomato":"vermelho tomate","lightpink":"rosa-claro","limegreen":"verde lima","indianred":"vermelho oriental","papayawhip":"mamão papaia","lightslategray":"ardósia cinza-claro","gray":"cinza","mediumorchid":"orquídea temperado","cornsilk":"fios de milho","black":"preto","seagreen":"verde-mar","darkslateblue":"ardósia azul-escuro","khaki":"cáqui","lightblue":"azul-claro","palegreen":"verde pálido","azure":"azul-celeste","peachpuff":"pêssego","darkolivegreen":"verde-oliva escuro","yellowgreen":"amarelo esverdeado"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.pt_br");dijit.nls.loading.pt_br={"loadingState":"Carregando...","errorState":"Ocorreu um erro"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pt_br");dijit.nls.common.pt_br={"buttonOk":"OK","buttonCancel":"Cancelar","buttonSave":"Salvar","itemClose":"Fechar"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.pt_br");dijit.form.nls.Textarea.pt_br={"iframeEditTitle":"área de edição","iframeFocusTitle":"quadro da área de edição"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.pt_br");dijit._editor.nls.commands.pt_br={"removeFormat":"Remover Formato","copy":"Copiar","paste":"Colar","selectAll":"Selecionar Todos","insertOrderedList":"Lista Numerada","insertTable":"Inserir/Editar Tabela","underline":"Sublinhado","foreColor":"Cor do Primeiro Plano","htmlToggle":"Origem HTML","formatBlock":"Estilo de Parágrafo","insertHorizontalRule":"Régua Horizontal","delete":"Excluir ","insertUnorderedList":"Lista com Marcadores","tableProp":"Propriedade da Tabela","insertImage":"Inserir Imagem","superscript":"Sobrescrito","subscript":"Subscrito","createLink":"Criar Link","undo":"Desfazer","italic":"Itálico","fontName":"Nome da Fonte","justifyLeft":"Alinhar pela Esquerda","unlink":"Remover Link","toggleTableBorder":"Alternar Moldura da Tabela","fontSize":"Tamanho da Fonte","indent":"Recuar","redo":"Refazer","strikethrough":"Tachado","justifyFull":"Justificar","justifyCenter":"Alinhar pelo Centro","hiliteColor":"Cor de segundo plano","deleteTable":"Excluir Tabela","outdent":"Não-chanfrado","cut":"Recortar","plainFormatBlock":"Estilo de Parágrafo","toggleDir":"Alternar Direção","bold":"Negrito","systemShortcutFF":"A ação \"${0}\" está disponível apenas no Mozilla Firefox utilizando um atalho do teclado. Utilize ${1}.","justifyRight":"Alinhar pela Direita","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.pt_br");dojo.cldr.nls.number.pt_br={"decimalFormat":"#,##0.###","group":".","scientificFormat":"#E0","percentFormat":"#,##0%","currencyFormat":"¤#,##0.00;(¤#,##0.00)","decimal":",","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pt_br");dijit.nls.common.pt_br={"buttonOk":"OK","buttonCancel":"Cancelar","buttonSave":"Salvar","itemClose":"Fechar"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.pt_br");dijit.form.nls.validate.pt_br={"rangeMessage":"Este valor está fora dos limites.","invalidMessage":"O valor inserido não é válido.","missingMessage":"Este valor é necessário."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.pt_br");dijit.form.nls.ComboBox.pt_br={"previousMessage":"Opções anteriores","nextMessage":"Mais opções"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.pt_br");dojo.cldr.nls.currency.pt_br={"HKD_displayName":"Dólar de Hong Kong","CHF_displayName":"Franco suíço","CAD_displayName":"Dólar canadense","CNY_displayName":"Yuan Renminbi chinês","AUD_displayName":"Dólar australiano","JPY_displayName":"Iene japonês","USD_displayName":"Dólar norte-americano","GBP_displayName":"Libra esterlina britânica","EUR_displayName":"Euro","USD_symbol":"US$","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.pt_br");dojo.cldr.nls.gregorian.pt_br={"field-hour":"Hora","field-dayperiod":"Período do dia","field-minute":"Minuto","timeFormat-full":"HH'h'mm'min'ss's' z","field-week":"Semana","field-weekday":"Dia da semana","field-second":"Segundo","dateFormat-medium":"dd/MM/yyyy","field-day":"Dia","timeFormat-long":"H'h'm'min's's' z","field-month":"Mês","field-year":"Ano","dateFormat-short":"dd/MM/yy","field-zone":"Fuso","quarters-format-abbreviated":["T1","T2","T3","T4"],"pm":"PM","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["HH:mm","HH:mm:ss","d MMMM","d/M","mm:ss","MM/yy","MMM yy","Q yy","MMM/yyyy","yy MMM","yy Q","yyyy"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["Antes de Cristo","Ano do Senhor"],"am":"AM","days-standAlone-narrow":["D","S","T","Q","Q","S","S"],"timeFormat-medium":"HH:mm:ss","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-long":"d 'de' MMMM 'de' yyyy","months-format-wide":["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],"field-era":"Era","timeFormat-short":"HH:mm","months-format-abbr":["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],"eraAbbr":["a.C.","d.C."],"days-format-wide":["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],"quarters-format-wide":["1º trimestre","2º trimestre","3º trimestre","4º trimestre"],"dateFormat-full":"EEEE, d 'de' MMMM 'de' yyyy","days-format-abbr":["dom","seg","ter","qua","qui","sex","sáb"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.pt_br");dijit.form.nls.Textarea.pt_br={"iframeEditTitle":"área de edição","iframeFocusTitle":"quadro da área de edição"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pt_br");dijit.nls.common.pt_br={"buttonOk":"OK","buttonCancel":"Cancelar","buttonSave":"Salvar","itemClose":"Fechar"}; diff --git a/includes/js/dijit/nls/dijit-all_pt-pt.js b/includes/js/dijit/nls/dijit-all_pt-pt.js deleted file mode 100644 index bec8f17..0000000 --- a/includes/js/dijit/nls/dijit-all_pt-pt.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_pt-pt");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.pt_pt");dojo.nls.colors.pt_pt={"lightsteelblue":"azul-aço claro","orangered":"vermelho alaranjado","midnightblue":"azul meia-noite","cadetblue":"azul cadete","seashell":"concha","slategrey":"cinzento ardósia","coral":"coral","darkturquoise":"turquesa escuro","antiquewhite":"branco antigo","mediumspringgreen":"verde primavera médio","salmon":"salmão","darkgrey":"cinzento escuro","ivory":"marfim","greenyellow":"amarelo esverdeado","mistyrose":"rosa pálido","lightsalmon":"salmão claro","silver":"prateado","dimgrey":"cinzento escuro","orange":"laranja","white":"branco","navajowhite":"branco navajo","royalblue":"azul real","deeppink":"rosa profundo","lime":"lima","oldlace":"renda antiga","chartreuse":"amarelo esverdeado","darkcyan":"ciano escuro","yellow":"amarelo","linen":"linho","olive":"azeitona","gold":"dourado","lawngreen":"verde relva","lightyellow":"amarelo claro","tan":"castanho claro","darkviolet":"violeta escuro","lightslategrey":"cinzento ardósia claro","grey":"cinzento","darkkhaki":"caqui escuro","green":"verde","deepskyblue":"azul céu profundo","aqua":"verde-água","sienna":"castanho-avermelhado","mintcream":"creme de menta","rosybrown":"castanho rosado","mediumslateblue":"azul ardósia médio","magenta":"magenta","lightseagreen":"verde marinho claro","cyan":"ciano","olivedrab":"azeitona claro","darkgoldenrod":"ouro velho escuro","slateblue":"azul ardósia","mediumaquamarine":"verde-azulado médio","lavender":"alfazema","mediumseagreen":"verde marinho médio","maroon":"bordeaux","darkslategray":"cinzento ardósia escuro","mediumturquoise":"turquesa médio","ghostwhite":"branco sombreado","darkblue":"azul escuro","mediumvioletred":"violeta avermelhado médio","brown":"castanho","lightgray":"cinzento claro","sandybrown":"castanho areia","pink":"rosa","firebrick":"tijolo fogo","indigo":"índigo","snow":"branco-neve","darkorchid":"orquídea escuro","turquoise":"turquesa","chocolate":"chocolate","springgreen":"verde primavera","moccasin":"mocassim","navy":"azul marinho","lemonchiffon":"limão chiffon","teal":"verde-azulado","floralwhite":"branco floral","cornflowerblue":"azul-violáceo","paleturquoise":"turquesa pálido","purple":"roxo","gainsboro":"cinzento azulado claro","plum":"cor-de-ameixa","red":"vermelho","blue":"azul","forestgreen":"verde floresta","darkgreen":"verde escuro","honeydew":"mel","darkseagreen":"verde marinho escuro","lightcoral":"coral claro","palevioletred":"violeta avermelhado pálido","mediumpurple":"roxo médio","saddlebrown":"castanho sela","darkmagenta":"magenta escuro","thistle":"cardo","whitesmoke":"fumo branco","wheat":"trigo","violet":"violeta","lightskyblue":"azul céu claro","goldenrod":"ouro velho","mediumblue":"azul médio","skyblue":"azul céu","crimson":"carmesim","darksalmon":"salmão escuro","darkred":"vermelho escuro","darkslategrey":"cinzento ardósia escuro","peru":"peru","lightgrey":"cinzento claro","lightgoldenrodyellow":"ouro velho amarelado claro","blanchedalmond":"amêndoa claro","aliceblue":"azul alice","bisque":"rosa-velho","slategray":"cinzento ardósia","palegoldenrod":"ouro velho pálido","darkorange":"laranja escuro","aquamarine":"verde-azulado","lightgreen":"verde claro","burlywood":"castanho pinho","dodgerblue":"azul furtivo","darkgray":"cinzento escuro","lightcyan":"ciano claro","powderblue":"azul de esmalte","blueviolet":"azul violeta","orchid":"orquídea","dimgray":"cinzento escuro","beige":"bege","fuchsia":"fúcsia","lavenderblush":"alfazema rosado","hotpink":"rosa forte","steelblue":"azul-aço","tomato":"vermelho tomate","lightpink":"rosa claro","limegreen":"verde-lima","indianred":"almagre","papayawhip":"creme de papaia","lightslategray":"cinzento ardósia claro","gray":"cinzento","mediumorchid":"orquídea médio","cornsilk":"branco seda","black":"preto","seagreen":"verde marinho","darkslateblue":"azul ardósia escuro","khaki":"caqui","lightblue":"azul claro","palegreen":"verde pálido","azure":"azul-celeste","peachpuff":"pêssego","darkolivegreen":"verde-azeitona escuro","yellowgreen":"verde amarelado"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.pt_pt");dijit.nls.loading.pt_pt={"loadingState":"A carregar...","errorState":"Lamentamos, mas ocorreu um erro"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pt_pt");dijit.nls.common.pt_pt={"buttonOk":"OK","buttonCancel":"Cancelar","buttonSave":"Guardar","itemClose":"Fechar"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.pt_pt");dijit.form.nls.Textarea.pt_pt={"iframeEditTitle":"área de edição","iframeFocusTitle":"painel da área de edição"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.pt_pt");dijit._editor.nls.commands.pt_pt={"removeFormat":"Remover formato","copy":"Copiar","paste":"Colar","selectAll":"Seleccionar tudo","insertOrderedList":"Lista numerada","insertTable":"Inserir/Editar tabela","underline":"Sublinhado","foreColor":"Cor de primeiro plano","htmlToggle":"Origem HTML","formatBlock":"Estilo de parágrafo","insertHorizontalRule":"Régua horizontal","delete":"Eliminar","insertUnorderedList":"Lista marcada","tableProp":"Propriedades da tabela","insertImage":"Inserir imagem","superscript":"Superior à linha","subscript":"Inferior à linha","createLink":"Criar ligação","undo":"Anular","italic":"Itálico","fontName":"Nome do tipo de letra","justifyLeft":"Alinhar à esquerda","unlink":"Remover ligação","toggleTableBorder":"Alternar limite da tabela","fontSize":"Tamanho do tipo de letra","indent":"Indentar","redo":"Repetir","strikethrough":"Rasurado","justifyFull":"Justificar","justifyCenter":"Alinhar ao centro","hiliteColor":"Cor de segundo plano","deleteTable":"Eliminar tabela","outdent":"Recuar","cut":"Cortar","plainFormatBlock":"Estilo de parágrafo","toggleDir":"Alternar direcção","bold":"Negrito","systemShortcutFF":"A acção \"${0}\" apenas está disponível no Mozilla Firefox utilizando um atalho de teclado. Utilize ${1}.","justifyRight":"Alinhar à direita","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.pt_pt");dojo.cldr.nls.number.pt_pt={"decimalFormat":"#,##0.###","group":".","scientificFormat":"#E0","percentFormat":"#,##0%","currencyFormat":"¤#,##0.00;(¤#,##0.00)","decimal":",","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pt_pt");dijit.nls.common.pt_pt={"buttonOk":"OK","buttonCancel":"Cancelar","buttonSave":"Guardar","itemClose":"Fechar"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.pt_pt");dijit.form.nls.validate.pt_pt={"rangeMessage":"Este valor encontra-se fora do intervalo.","invalidMessage":"O valor introduzido não é válido.","missingMessage":"O valor é requerido."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.pt_pt");dijit.form.nls.ComboBox.pt_pt={"previousMessage":"Opções anteriores","nextMessage":"Mais opções"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.pt_pt");dojo.cldr.nls.currency.pt_pt={"HKD_displayName":"Dólar de Hong Kong","CHF_displayName":"Franco suíço","CAD_displayName":"Dólar canadense","CNY_displayName":"Yuan Renminbi chinês","AUD_displayName":"Dólar australiano","JPY_displayName":"Iene japonês","USD_displayName":"Dólar norte-americano","GBP_displayName":"Libra esterlina britânica","EUR_displayName":"Euro","USD_symbol":"US$","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.pt_pt");dojo.cldr.nls.gregorian.pt_pt={"quarters-format-abbreviated":["T1","T2","T3","T4"],"dateFormat-medium":"dd/MM/yyyy","field-second":"Segundo","field-week":"Semana","pm":"PM","timeFormat-full":"HH'h'mm'min'ss's' v","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["HH:mm","HH:mm:ss","d MMMM","d/M","mm:ss","MM/yy","MMM yy","Q yy","MMM/yyyy","yy MMM","yy Q","yyyy"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["Antes de Cristo","Ano do Senhor"],"am":"AM","days-standAlone-narrow":["D","S","T","Q","Q","S","S"],"field-year":"Ano","field-minute":"Minuto","timeFormat-medium":"HH:mm:ss","quarters-stand-alone-narrow":["1","2","3","4"],"field-hour":"Hora","dateFormat-long":"d 'de' MMMM 'de' yyyy","field-day":"Dia","field-dayperiod":"Período do dia","field-month":"Mês","dateFormat-short":"dd/MM/yy","months-format-wide":["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],"field-era":"Era","timeFormat-short":"HH:mm","months-format-abbr":["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],"eraAbbr":["a.C.","d.C."],"days-format-wide":["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],"quarters-format-wide":["1º trimestre","2º trimestre","3º trimestre","4º trimestre"],"dateFormat-full":"EEEE, d 'de' MMMM 'de' yyyy","field-weekday":"Dia da semana","field-zone":"Fuso","days-format-abbr":["dom","seg","ter","qua","qui","sex","sáb"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","timeFormat-long":"HH:mm:ss z","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.pt_pt");dijit.form.nls.Textarea.pt_pt={"iframeEditTitle":"área de edição","iframeFocusTitle":"painel da área de edição"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pt_pt");dijit.nls.common.pt_pt={"buttonOk":"OK","buttonCancel":"Cancelar","buttonSave":"Guardar","itemClose":"Fechar"}; diff --git a/includes/js/dijit/nls/dijit-all_pt.js b/includes/js/dijit/nls/dijit-all_pt.js deleted file mode 100644 index e00bd7d..0000000 --- a/includes/js/dijit/nls/dijit-all_pt.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_pt");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.pt");dojo.nls.colors.pt={"lightsteelblue":"azul metálico claro","orangered":"vermelho-alaranjado","midnightblue":"azul noturno","cadetblue":"azul-cadete","seashell":"concha marinha","slategrey":"ardósia cinza","coral":"coral","darkturquoise":"turquesa-escuro","antiquewhite":"branco velho","mediumspringgreen":"verde primavera médio","salmon":"salmão","darkgrey":"cinza-escuro","ivory":"marfim","greenyellow":"verde-amarelado","mistyrose":"rosa nublado","lightsalmon":"salmão claro","silver":"prata","dimgrey":"cinza-escuro","orange":"laranja","white":"branco","navajowhite":"branco navajo","royalblue":"azul real","deeppink":"rosa profundo","lime":"lima","oldlace":"fita velha","chartreuse":"verde-amarelado","darkcyan":"ciano-escuro","yellow":"amarelo","linen":"linho","olive":"verde-oliva","gold":"dourado","lawngreen":"verde grama","lightyellow":"amarelo-claro","tan":"canela","darkviolet":"violeta-escuro","lightslategrey":"ardósia cinza-claro","grey":"cinza","darkkhaki":"cáqui-escuro","green":"verde","deepskyblue":"azul celeste profundo","aqua":"azul-água","sienna":"marrom-avermelhado","mintcream":"menta","rosybrown":"marrom rosado","mediumslateblue":"ardósia azul médio","magenta":"magenta","lightseagreen":"verde-mar claro","cyan":"ciano","olivedrab":"verde-acastanhado","darkgoldenrod":"ouro-escuro","slateblue":"ardósia azul","mediumaquamarine":"verde-azulado temperado","lavender":"lavanda","mediumseagreen":"verde mar temperado","maroon":"castanho","darkslategray":"ardósia cinza-escuro","mediumturquoise":"turquesa médio","ghostwhite":"branco sombreado","darkblue":"azul-escuro","mediumvioletred":"violeta avermelhado médio","brown":"marrom","lightgray":"cinza-claro","sandybrown":"marrom arenoso","pink":"rosado","firebrick":"tijolo queimado","indigo":"índigo","snow":"branco neve","darkorchid":"orquídea-escuro","turquoise":"turquesa","chocolate":"chocolate","springgreen":"verde primavera","moccasin":"mocassim","navy":"marinho","lemonchiffon":"gaze limão","teal":"azul-esverdeado","floralwhite":"branco floral","cornflowerblue":"centáurea azul","paleturquoise":"turquesa pálida","purple":"púrpura","gainsboro":"gainsboro","plum":"ameixa","red":"vermelho","blue":"azul","forestgreen":"verde floresta","darkgreen":"verde-escuro","honeydew":"verde mel","darkseagreen":"verde-mar escuro","lightcoral":"coral-claro","palevioletred":"violeta pálida","mediumpurple":"púrpura temperado","saddlebrown":"marrom couro","darkmagenta":"magenta-escuro","thistle":"cardo","whitesmoke":"branco esfumaçado","wheat":"trigo","violet":"violeta","lightskyblue":"azul celeste claro","goldenrod":"ouro","mediumblue":"azul temperado","skyblue":"azul celeste","crimson":"carmim","darksalmon":"salmão escuro","darkred":"vermelho-escuro","darkslategrey":"ardósia cinza-escuro","peru":"peru","lightgrey":"cinza-claro","lightgoldenrodyellow":"amarelo-claro","blanchedalmond":"branco-amêndoa","aliceblue":"azul-bebê","bisque":"biscuit","slategray":"ardósia cinza","palegoldenrod":"ouro pálido","darkorange":"laranja-escuro","aquamarine":"água-marinha","lightgreen":"verde-claro","burlywood":"madeira","dodgerblue":"azul fugidio","darkgray":"cinza-escuro","lightcyan":"ciano-claro","powderblue":"azul pólvora","blueviolet":"violeta azulado","orchid":"orquídea","dimgray":"cinza-escuro","beige":"bege","fuchsia":"fúcsia","lavenderblush":"lavanda avermelhada","hotpink":"rosa quente","steelblue":"azul metálico","tomato":"vermelho tomate","lightpink":"rosa-claro","limegreen":"verde lima","indianred":"vermelho oriental","papayawhip":"mamão papaia","lightslategray":"ardósia cinza-claro","gray":"cinza","mediumorchid":"orquídea temperado","cornsilk":"fios de milho","black":"preto","seagreen":"verde-mar","darkslateblue":"ardósia azul-escuro","khaki":"cáqui","lightblue":"azul-claro","palegreen":"verde pálido","azure":"azul-celeste","peachpuff":"pêssego","darkolivegreen":"verde-oliva escuro","yellowgreen":"amarelo esverdeado"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.pt");dijit.nls.loading.pt={"loadingState":"Carregando...","errorState":"Ocorreu um erro"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pt");dijit.nls.common.pt={"buttonOk":"OK","buttonCancel":"Cancelar","buttonSave":"Salvar","itemClose":"Fechar"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.pt");dijit.form.nls.Textarea.pt={"iframeEditTitle":"área de edição","iframeFocusTitle":"quadro da área de edição"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.pt");dijit._editor.nls.commands.pt={"removeFormat":"Remover Formato","copy":"Copiar","paste":"Colar","selectAll":"Selecionar Todos","insertOrderedList":"Lista Numerada","insertTable":"Inserir/Editar Tabela","underline":"Sublinhado","foreColor":"Cor do Primeiro Plano","htmlToggle":"Origem HTML","formatBlock":"Estilo de Parágrafo","insertHorizontalRule":"Régua Horizontal","delete":"Excluir ","insertUnorderedList":"Lista com Marcadores","tableProp":"Propriedade da Tabela","insertImage":"Inserir Imagem","superscript":"Sobrescrito","subscript":"Subscrito","createLink":"Criar Link","undo":"Desfazer","italic":"Itálico","fontName":"Nome da Fonte","justifyLeft":"Alinhar pela Esquerda","unlink":"Remover Link","toggleTableBorder":"Alternar Moldura da Tabela","fontSize":"Tamanho da Fonte","indent":"Recuar","redo":"Refazer","strikethrough":"Tachado","justifyFull":"Justificar","justifyCenter":"Alinhar pelo Centro","hiliteColor":"Cor de segundo plano","deleteTable":"Excluir Tabela","outdent":"Não-chanfrado","cut":"Recortar","plainFormatBlock":"Estilo de Parágrafo","toggleDir":"Alternar Direção","bold":"Negrito","systemShortcutFF":"A ação \"${0}\" está disponível apenas no Mozilla Firefox utilizando um atalho do teclado. Utilize ${1}.","justifyRight":"Alinhar pela Direita","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.pt");dojo.cldr.nls.number.pt={"decimalFormat":"#,##0.###","group":".","scientificFormat":"#E0","percentFormat":"#,##0%","currencyFormat":"¤#,##0.00;(¤#,##0.00)","decimal":",","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pt");dijit.nls.common.pt={"buttonOk":"OK","buttonCancel":"Cancelar","buttonSave":"Salvar","itemClose":"Fechar"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.pt");dijit.form.nls.validate.pt={"rangeMessage":"Este valor está fora dos limites.","invalidMessage":"O valor inserido não é válido.","missingMessage":"Este valor é necessário."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.pt");dijit.form.nls.ComboBox.pt={"previousMessage":"Opções anteriores","nextMessage":"Mais opções"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.pt");dojo.cldr.nls.currency.pt={"HKD_displayName":"Dólar de Hong Kong","CHF_displayName":"Franco suíço","CAD_displayName":"Dólar canadense","CNY_displayName":"Yuan Renminbi chinês","AUD_displayName":"Dólar australiano","JPY_displayName":"Iene japonês","USD_displayName":"Dólar norte-americano","GBP_displayName":"Libra esterlina britânica","EUR_displayName":"Euro","USD_symbol":"US$","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.pt");dojo.cldr.nls.gregorian.pt={"quarters-format-abbreviated":["T1","T2","T3","T4"],"dateFormat-medium":"dd/MM/yyyy","field-second":"Segundo","field-week":"Semana","pm":"PM","timeFormat-full":"HH'h'mm'min'ss's' v","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["HH:mm","HH:mm:ss","d MMMM","d/M","mm:ss","MM/yy","MMM yy","Q yy","MMM/yyyy","yy MMM","yy Q","yyyy"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"eraNames":["Antes de Cristo","Ano do Senhor"],"am":"AM","days-standAlone-narrow":["D","S","T","Q","Q","S","S"],"field-year":"Ano","field-minute":"Minuto","timeFormat-medium":"HH:mm:ss","quarters-stand-alone-narrow":["1","2","3","4"],"field-hour":"Hora","dateFormat-long":"d 'de' MMMM 'de' yyyy","field-day":"Dia","field-dayperiod":"Período do dia","field-month":"Mês","dateFormat-short":"dd/MM/yy","months-format-wide":["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],"field-era":"Era","timeFormat-short":"HH:mm","months-format-abbr":["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],"eraAbbr":["a.C.","d.C."],"days-format-wide":["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],"quarters-format-wide":["1º trimestre","2º trimestre","3º trimestre","4º trimestre"],"dateFormat-full":"EEEE, d 'de' MMMM 'de' yyyy","field-weekday":"Dia da semana","field-zone":"Fuso","days-format-abbr":["dom","seg","ter","qua","qui","sex","sáb"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","timeFormat-long":"HH:mm:ss z","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.pt");dijit.form.nls.Textarea.pt={"iframeEditTitle":"área de edição","iframeFocusTitle":"quadro da área de edição"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pt");dijit.nls.common.pt={"buttonOk":"OK","buttonCancel":"Cancelar","buttonSave":"Salvar","itemClose":"Fechar"}; diff --git a/includes/js/dijit/nls/dijit-all_ru.js b/includes/js/dijit/nls/dijit-all_ru.js deleted file mode 100644 index 14ffb0f..0000000 --- a/includes/js/dijit/nls/dijit-all_ru.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ru");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ru");dojo.nls.colors.ru={"lightsteelblue":"светлый стальной","orangered":"оранжево-красный","midnightblue":"полуночно-синий","cadetblue":"серо-синий","seashell":"морская раковина","slategrey":"грифельно-серый","coral":"коралловый","darkturquoise":"темный бирюзовый","antiquewhite":"белый антик","mediumspringgreen":"нейтральный весенне-зеленый","salmon":"лососевый","darkgrey":"темно-серый","ivory":"слоновой кости","greenyellow":"зелено-желтый","mistyrose":"блекло-розовый","lightsalmon":"светло-лососевый","silver":"серебристый","dimgrey":"тускло-серый","orange":"оранжевый","white":"белый","navajowhite":"белый навахо","royalblue":"королевский голубой","deeppink":"темно-розовый","lime":"лайм","oldlace":"матово-белый","chartreuse":"желто-салатный","darkcyan":"темный циан","yellow":"желтый","linen":"хлопковый","olive":"оливковый","gold":"золотой","lawngreen":"зеленая лужайка","lightyellow":"светло-желтый","tan":"рыжевато-коричневый","darkviolet":"темно-фиолетовый","lightslategrey":"светлый грифельно-серый","grey":"серый","darkkhaki":"темный хаки","green":"зеленый","deepskyblue":"темный небесно-голубой","aqua":"зеленовато-голубой","sienna":"охра","mintcream":"мятно-кремовый","rosybrown":"розово-коричневый","mediumslateblue":"нейтральный грифельно-синий","magenta":"пурпурный","lightseagreen":"светлый морской волны","cyan":"циан","olivedrab":"желтовато-серый","darkgoldenrod":"темно-золотистый","slateblue":"грифельно-синий","mediumaquamarine":"нейтральный аквамарин","lavender":"бледно-лиловый","mediumseagreen":"нейтральный морской волны","maroon":"темно-бордовый","darkslategray":"темный грифельно-серый","mediumturquoise":"нейтральный бирюзовый","ghostwhite":"призрачно-белый","darkblue":"темно-синий","mediumvioletred":"нейтральный фиолетово-красный","brown":"коричневый","lightgray":"светло-серый","sandybrown":"коричнево-песчаный","pink":"розовый","firebrick":"кирпичный","indigo":"индиго","snow":"белоснежный","darkorchid":"темный орсель","turquoise":"бирюзовый","chocolate":"шоколадный","springgreen":"весенний зеленый","moccasin":"мокасин","navy":"темно-синий","lemonchiffon":"бледно-лимонный","teal":"чирок","floralwhite":"цветочно-белый","cornflowerblue":"фиолетово-синий","paleturquoise":"бледно-бирюзовый","purple":"фиолетовый","gainsboro":"бледно-серый","plum":"сливовый","red":"красный","blue":"синий","forestgreen":"зеленый лесной","darkgreen":"темно-зеленый","honeydew":"медовый","darkseagreen":"темный морской волны","lightcoral":"светло-коралловый","palevioletred":"бледный фиолетово-красный","mediumpurple":"нейтральный фиолетовый","saddlebrown":"кожано-коричневый","darkmagenta":"темно-пурпурный","thistle":"чертополох","whitesmoke":"дымчато-белый","wheat":"пшеница","violet":"фиолетовый","lightskyblue":"светлый небесно-голубой","goldenrod":"золотистый","mediumblue":"нейтральный синий","skyblue":"небесно-голубой","crimson":"малиновый","darksalmon":"темно-лососевый","darkred":"темно-красный","darkslategrey":"темный грифельно-серый","peru":"перу","lightgrey":"светло-серый","lightgoldenrodyellow":"светло-золотистый","blanchedalmond":"светло-миндальный","aliceblue":"серо-голубой","bisque":"бисквитный","slategray":"грифельно-серый","palegoldenrod":"бледно-золотистый","darkorange":"темно-оранжевый","aquamarine":"аквамарин","lightgreen":"светло-зеленый","burlywood":"светло-коричневый","dodgerblue":"бледно-синий","darkgray":"темно-серый","lightcyan":"светлый циан","powderblue":"пороховой","blueviolet":"сине-фиолетовый","orchid":"орсель","dimgray":"тускло-серый","beige":"бежевый","fuchsia":"фуксин","lavenderblush":"розовато-лиловый","hotpink":"красно-розовый","steelblue":"стальной","tomato":"помидор","lightpink":"светло-розовый","limegreen":"зеленый лайм","indianred":"индийский красный","papayawhip":"черенок папайи","lightslategray":"светлый грифельно-серый","gray":"серый","mediumorchid":"нейтральный орсель","cornsilk":"шелковый оттенок","black":"черный","seagreen":"морской волны","darkslateblue":"темный грифельно-синий","khaki":"хаки","lightblue":"светло-синий","palegreen":"бледно-зеленый","azure":"лазурный","peachpuff":"персиковый","darkolivegreen":"темно-оливковый","yellowgreen":"желто-зеленый"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ru");dijit.nls.loading.ru={"loadingState":"Загрузка...","errorState":"Извините, возникла ошибка"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ru");dijit.nls.common.ru={"buttonOk":"ОК","buttonCancel":"Отмена","buttonSave":"Сохранить","itemClose":"Закрыть"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ru");dijit.form.nls.Textarea.ru={"iframeEditTitle":"область редактирования","iframeFocusTitle":"фрейм области редактирования"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ru");dijit._editor.nls.commands.ru={"removeFormat":"Удалить формат","copy":"Копировать","paste":"Вставить","selectAll":"Выбрать все","insertOrderedList":"Нумерованный список","insertTable":"Вставить/изменить таблицу","underline":"Подчеркивание","foreColor":"Цвет текста","htmlToggle":"Код HTML","formatBlock":"Стиль абзаца","insertHorizontalRule":"Горизонтальная линейка","delete":"Удалить","insertUnorderedList":"Список с маркерами","tableProp":"Свойства таблицы","insertImage":"Вставить изображение","superscript":"Верхний индекс","subscript":"Нижний индекс","createLink":"Создать ссылку","undo":"Отменить","italic":"Курсив","fontName":"Название шрифта","justifyLeft":"По левому краю","unlink":"Удалить ссылку","toggleTableBorder":"Переключить рамку таблицы","fontSize":"Размер шрифта","indent":"Отступ","redo":"Повторить","strikethrough":"Перечеркивание","justifyFull":"По ширине","justifyCenter":"По центру","hiliteColor":"Цвет фона","deleteTable":"Удалить таблицу","outdent":"Втяжка","cut":"Вырезать","plainFormatBlock":"Стиль абзаца","toggleDir":"Изменить направление","bold":"Полужирный","systemShortcutFF":"Действие \"${0}\" доступно в Mozilla Firefox только через сочетание клавиш. Используйте ${1}.","justifyRight":"По правому краю","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ru");dojo.cldr.nls.number.ru={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ru");dijit.nls.common.ru={"buttonOk":"ОК","buttonCancel":"Отмена","buttonSave":"Сохранить","itemClose":"Закрыть"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ru");dijit.form.nls.validate.ru={"rangeMessage":"Это значение вне диапазона.","invalidMessage":"Указано недопустимое значение.","missingMessage":"Это обязательное значение."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ru");dijit.form.nls.ComboBox.ru={"previousMessage":"Предыдущие варианты","nextMessage":"Следующие варианты"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ru");dojo.cldr.nls.currency.ru={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ru");dojo.cldr.nls.gregorian.ru={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.ru");dijit.form.nls.Textarea.ru={"iframeEditTitle":"область редактирования","iframeFocusTitle":"фрейм области редактирования"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ru");dijit.nls.common.ru={"buttonOk":"ОК","buttonCancel":"Отмена","buttonSave":"Сохранить","itemClose":"Закрыть"}; diff --git a/includes/js/dijit/nls/dijit-all_sv.js b/includes/js/dijit/nls/dijit-all_sv.js deleted file mode 100644 index 59bcaad..0000000 --- a/includes/js/dijit/nls/dijit-all_sv.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_sv");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.sv");dojo.nls.colors.sv={"lightsteelblue":"ljust stålblått","orangered":"orangerött","midnightblue":"midnattsblått","cadetblue":"kadettblått","seashell":"snäckskal","slategrey":"skiffergrått","coral":"korall","darkturquoise":"mörkturkost","antiquewhite":"antikvitt","mediumspringgreen":"medelvårgrönt","salmon":"laxfärgat","darkgrey":"mörkgrått","ivory":"elfenbensvitt","greenyellow":"gröngult","mistyrose":"dunkelrosa","lightsalmon":"ljust laxfärgat","silver":"silver","dimgrey":"smutsgrått","orange":"orange","white":"vitt","navajowhite":"navajovitt","royalblue":"kungligt blått","deeppink":"djuprosa","lime":"lime","oldlace":"spetsvitt","chartreuse":"chartreuse","darkcyan":"mörkt cyan","yellow":"gult","linen":"linne","olive":"olivfärgat","gold":"guld","lawngreen":"gräsmattegrönt","lightyellow":"ljusgult","tan":"mellanbrunt","darkviolet":"mörkviolett","lightslategrey":"ljust skiffergrått","grey":"grått","darkkhaki":"mörkt kaki","green":"grönt","deepskyblue":"mörkt himmelsblått","aqua":"akvamarin","sienna":"sienna","mintcream":"mintgrädde","rosybrown":"rosenbrunt","mediumslateblue":"medelskifferblått","magenta":"magenta","lightseagreen":"ljust havsgrönt","cyan":"cyan","olivedrab":"olivsmutsgult","darkgoldenrod":"mörkt gullris","slateblue":"skifferblått","mediumaquamarine":"medelakvamarin","lavender":"lavendel","mediumseagreen":"medelhavsgrönt","maroon":"rödbrunt","darkslategray":"mörkt skiffergrått","mediumturquoise":"medelturkost","ghostwhite":"spökvitt","darkblue":"mörkblått","mediumvioletred":"medelviolettrött","brown":"brunt","lightgray":"ljusgrått","sandybrown":"sandbrunt","pink":"rosa","firebrick":"tegelstensrött","indigo":"indigo","snow":"snö","darkorchid":"mörkt orkidé","turquoise":"turkost","chocolate":"choklad","springgreen":"vårgrönt","moccasin":"mockasin","navy":"marinblått","lemonchiffon":"citronchiffong","teal":"blågrönt","floralwhite":"blomvitt","cornflowerblue":"kornblått","paleturquoise":"blekturkost","purple":"lila","gainsboro":"gainsboro","plum":"plommon","red":"rött","blue":"blått","forestgreen":"skogsgrönt","darkgreen":"mörkgrönt","honeydew":"honungsdagg","darkseagreen":"mörkt havsgrönt","lightcoral":"ljuskorall","palevioletred":"blekviolettrött","mediumpurple":"medellila","saddlebrown":"sadelbrunt","darkmagenta":"mörk magenta","thistle":"tistel","whitesmoke":"vit rök","wheat":"vete","violet":"violett","lightskyblue":"ljust himmelsblått","goldenrod":"gullris","mediumblue":"medelblått","skyblue":"himmelsblått","crimson":"karmosinrött","darksalmon":"mörkt laxfärgat","darkred":"mörkrött","darkslategrey":"mörkt skiffergrått","peru":"peru","lightgrey":"ljusgrått","lightgoldenrodyellow":"ljust gullrisgult","blanchedalmond":"skållad mandel","aliceblue":"aliceblå","bisque":"biskvi","slategray":"skiffergrått","palegoldenrod":"blekt gullris","darkorange":"mörkorange","aquamarine":"akvamarin","lightgreen":"ljusgrönt","burlywood":"träfärgat","dodgerblue":"dodgerblått","darkgray":"mörkgrått","lightcyan":"ljust cyan","powderblue":"pulverblått","blueviolet":"blåviolett","orchid":"orkidé","dimgray":"smutsgrått","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavendelskimrande","hotpink":"varmrosa","steelblue":"stålblått","tomato":"tomatrött","lightpink":"ljusrosa","limegreen":"limegrönt","indianred":"indianrött","papayawhip":"papayaröra","lightslategray":"ljust skiffergrått","gray":"grått","mediumorchid":"medelorkidé","cornsilk":"gulvitt","black":"black","seagreen":"havsgrönt","darkslateblue":"mörkt skifferblått","khaki":"kaki","lightblue":"ljusblått","palegreen":"blekgrönt","azure":"azurblått","peachpuff":"persika","darkolivegreen":"mörkt olivgrönt","yellowgreen":"gulgrönt"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.sv");dijit.nls.loading.sv={"loadingState":"Läser in...","errorState":"Det uppstod ett fel."};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.sv");dijit.nls.common.sv={"buttonOk":"OK","buttonCancel":"Avbryt","buttonSave":"Spara","itemClose":"Stäng"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.sv");dijit.form.nls.Textarea.sv={"iframeEditTitle":"redigeringsområde","iframeFocusTitle":"redigeringsområdesram"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.sv");dijit._editor.nls.commands.sv={"removeFormat":"Ta bort format","copy":"Kopiera","paste":"Klistra in","selectAll":"Markera allt","insertOrderedList":"Numrerad lista","insertTable":"Infoga/redigera tabell","underline":"Understrykning","foreColor":"Förgrundsfärg","htmlToggle":"HTML-källkod","formatBlock":"Styckeformat","insertHorizontalRule":"Horisontell linjal","delete":"Ta bort","insertUnorderedList":"Punktlista","tableProp":"Tabellegenskap","insertImage":"Infoga bild","superscript":"Upphöjt","subscript":"Nedsänkt","createLink":"Skapa länk","undo":"Ångra","italic":"Kursiv","fontName":"Teckensnittsnamn","justifyLeft":"Vänsterjustera","unlink":"Ta bort länk","toggleTableBorder":"Aktivera/avaktivera tabellram","ctrlKey":"Ctrl+${0}","fontSize":"Teckenstorlek","indent":"Indrag","redo":"Gör om","strikethrough":"Genomstruken","justifyFull":"Marginaljustera","justifyCenter":"Centrera","hiliteColor":"Bakgrundsfärg","deleteTable":"Ta bort tabell","outdent":"Utdrag","cut":"Klipp ut","plainFormatBlock":"Styckeformat","toggleDir":"Växla riktning","bold":"Fetstil","systemShortcutFF":"Åtgärden \"${0}\" är endast tillgänglig i Mozilla Firefox med hjälp av ett kortkommando. Använd ${1}.","justifyRight":"Högerjustera","appleKey":"⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.sv");dojo.cldr.nls.number.sv={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.sv");dijit.nls.common.sv={"buttonOk":"OK","buttonCancel":"Avbryt","buttonSave":"Spara","itemClose":"Stäng"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.sv");dijit.form.nls.validate.sv={"rangeMessage":"Värdet är utanför intervallet.","invalidMessage":"Det angivna värdet är ogiltigt.","missingMessage":"Värdet är obligatoriskt."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.sv");dijit.form.nls.ComboBox.sv={"previousMessage":"Föregående alternativ","nextMessage":"Fler alternativ"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.sv");dojo.cldr.nls.currency.sv={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.sv");dojo.cldr.nls.gregorian.sv={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.sv");dijit.form.nls.Textarea.sv={"iframeEditTitle":"redigeringsområde","iframeFocusTitle":"redigeringsområdesram"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.sv");dijit.nls.common.sv={"buttonOk":"OK","buttonCancel":"Avbryt","buttonSave":"Spara","itemClose":"Stäng"}; diff --git a/includes/js/dijit/nls/dijit-all_tr.js b/includes/js/dijit/nls/dijit-all_tr.js deleted file mode 100644 index 25ad38a..0000000 --- a/includes/js/dijit/nls/dijit-all_tr.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_tr");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.tr");dojo.nls.colors.tr={"lightsteelblue":"açık metalik mavi","orangered":"turuncu kırmızı","midnightblue":"gece mavisi","cadetblue":"denizci mavisi","seashell":"deniz kabuğu","slategrey":"arduvaz grisi","coral":"mercan","darkturquoise":"koyu turkuaz","antiquewhite":"antik beyaz","mediumspringgreen":"orta bahar yeşili","salmon":"somon","darkgrey":"koyu gri","ivory":"fildişi","greenyellow":"yeşil-sarı","mistyrose":"gülkurusu","lightsalmon":"açık somon","silver":"gümüş","dimgrey":"soluk gri","orange":"turuncu","white":"beyaz","navajowhite":"navajo beyazı","royalblue":"parlak koyu mavi","deeppink":"koyu pembe","lime":"limon yeşili","oldlace":"eski dantel","chartreuse":"chartreuse","darkcyan":"koyu camgöbeği","yellow":"sarı","linen":"keten","olive":"zeytin","gold":"altın","lawngreen":"çimen yeşili","lightyellow":"açık sarı","tan":"güneş yanığı","darkviolet":"koyu eflatun","lightslategrey":"açık arduvaz grisi","grey":"gri","darkkhaki":"koyu haki","green":"yeşil","deepskyblue":"koyu gök mavisi","aqua":"deniz mavisi","sienna":"koyu kahve","mintcream":"naneli krem","rosybrown":"pembemsi kahverengi","mediumslateblue":"orta arduvaz mavisi","magenta":"macenta","lightseagreen":"açık deniz yeşili","cyan":"camgöbeği","olivedrab":"asker yeşili","darkgoldenrod":"koyu sarı","slateblue":"arduvaz mavisi","mediumaquamarine":"orta akuamarin","lavender":"lavanta","mediumseagreen":"orta deniz yeşili","maroon":"kestane","darkslategray":"koyu arduvaz grisi","mediumturquoise":"orta turkuaz","ghostwhite":"silik beyaz","darkblue":"koyu mavi","mediumvioletred":"orta menekşe kırmızısı","brown":"kahverengi","lightgray":"açık gri","sandybrown":"kum rengi","pink":"pembe","firebrick":"canlı kiremit","indigo":"çivit mavisi","snow":"kar","darkorchid":"koyu orkide","turquoise":"turkuaz","chocolate":"çikolata","springgreen":"bahar yeşili","moccasin":"mokosen","navy":"lacivert","lemonchiffon":"limoni","teal":"Teal mavi","floralwhite":"çiçek beyazı","cornflowerblue":"peygamber çiçeği mavisi","paleturquoise":"soluk turkuaz","purple":"mor","gainsboro":"gainsboro","plum":"erik","red":"kırmızı","blue":"mavi","forestgreen":"koyu deniz yeşili","darkgreen":"koyu yeşil","honeydew":"çam sakızı","darkseagreen":"koyu deniz yeşili","lightcoral":"açık mercan","palevioletred":"soluk menekşe kırmızısı","mediumpurple":"orta mor","saddlebrown":"açık kahve","darkmagenta":"koyu mor","thistle":"devedikeni","whitesmoke":"beyaz duman","wheat":"buğday","violet":"eflatun","lightskyblue":"açık gök mavisi","goldenrod":"sarısabır","mediumblue":"orta mavi","skyblue":"gök mavisi","crimson":"crimson","darksalmon":"koyu somon","darkred":"koyu kırmızı","darkslategrey":"koyu arduvaz grisi","peru":"peru","lightgrey":"açık gri","lightgoldenrodyellow":"açık sarısabır","blanchedalmond":"soluk badem","aliceblue":"alice mavisi","bisque":"bisküvi","slategray":"arduvaz grisi","palegoldenrod":"soluk sarısabır","darkorange":"koyu turuncu","aquamarine":"akuamarin","lightgreen":"açık yeşil","burlywood":"sarımsı kahverengi","dodgerblue":"toz mavisi","darkgray":"koyu gri","lightcyan":"açık camgöbeği","powderblue":"pudra mavisi","blueviolet":"mavi-mor","orchid":"orkide","dimgray":"soluk gri","beige":"bej","fuchsia":"fuşya","lavenderblush":"lavanta pembesi","hotpink":"sıcak pembe","steelblue":"metalik mavi","tomato":"domates","lightpink":"açık pembe","limegreen":"küf yeşili","indianred":"kızılderili kırmızısı","papayawhip":"papaya sapı","lightslategray":"açık arduvaz grisi","gray":"gri","mediumorchid":"orta orkide","cornsilk":"mısır rengi","black":"siyah","seagreen":"deniz yeşili","darkslateblue":"koyu arduvaz mavisi","khaki":"haki","lightblue":"açık mavi","palegreen":"soluk yeşil","azure":"azur mavisi","peachpuff":"açık şeftali","darkolivegreen":"koyu zeytin yeşili","yellowgreen":"sarı yeşil"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.tr");dijit.nls.loading.tr={"loadingState":"Yükleniyor...","errorState":"Üzgünüz, bir hata oluştu"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.tr");dijit.nls.common.tr={"buttonOk":"Tamam","buttonCancel":"İptal","buttonSave":"Kaydet","itemClose":"Kapat"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.tr");dijit.form.nls.Textarea.tr={"iframeEditTitle":"düzenleme alanı","iframeFocusTitle":"düzenleme alanı çerçevesi"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.tr");dijit._editor.nls.commands.tr={"removeFormat":"Biçimi Kaldır","copy":"Kopyala","paste":"Yapıştır","selectAll":"Tümünü Seç","insertOrderedList":"Numaralı Liste","insertTable":"Tablo Ekle/Düzenle","underline":"Altı Çizili","foreColor":"Ön Plan Rengi","htmlToggle":"HTML Kaynağı","formatBlock":"Paragraf Stili","insertHorizontalRule":"Yatay Kural","delete":"Sil","insertUnorderedList":"Madde İşaretli Liste","tableProp":"Tablo Özelliği","insertImage":"Resim Ekle","superscript":"Üst Simge","subscript":"Alt Simge","createLink":"Bağlantı Oluştur","undo":"Geri Al","italic":"İtalik","fontName":"Yazı Tipi Adı","justifyLeft":"Sola Hizala","unlink":"Bağlantıyı Kaldır","toggleTableBorder":"Tablo Kenarlığını Göster/Gizle","fontSize":"Yazı Tipi Boyutu","indent":"Girinti","redo":"Yinele","strikethrough":"Üstü Çizili","justifyFull":"Yasla","justifyCenter":"Ortaya Hizala","hiliteColor":"Arka Plan Rengi","deleteTable":"Tabloyu Sil","outdent":"Çıkıntı","cut":"Kes","plainFormatBlock":"Paragraf Stili","toggleDir":"Yönü Değiştir","bold":"Kalın","systemShortcutFF":"\"${0}\" işlemi yalnızca Mozilla Firefox'ta bir klavye kısayoluyla birlikte kullanılabilir. ${1} işlemini kullanın.","justifyRight":"Sağa Hizala","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.tr");dojo.cldr.nls.number.tr={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.tr");dijit.nls.common.tr={"buttonOk":"Tamam","buttonCancel":"İptal","buttonSave":"Kaydet","itemClose":"Kapat"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.tr");dijit.form.nls.validate.tr={"rangeMessage":"Bu değer aralık dışında.","invalidMessage":"Girilen değer geçersiz.","missingMessage":"Bu değer gerekli."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.tr");dijit.form.nls.ComboBox.tr={"previousMessage":"Önceki seçenekler","nextMessage":"Diğer seçenekler"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.tr");dojo.cldr.nls.currency.tr={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.tr");dojo.cldr.nls.gregorian.tr={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.tr");dijit.form.nls.Textarea.tr={"iframeEditTitle":"düzenleme alanı","iframeFocusTitle":"düzenleme alanı çerçevesi"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.tr");dijit.nls.common.tr={"buttonOk":"Tamam","buttonCancel":"İptal","buttonSave":"Kaydet","itemClose":"Kapat"}; diff --git a/includes/js/dijit/nls/dijit-all_xx.js b/includes/js/dijit/nls/dijit-all_xx.js deleted file mode 100644 index 6463b39..0000000 --- a/includes/js/dijit/nls/dijit-all_xx.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_xx");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.xx");dojo.nls.colors.xx={"lightsteelblue":"light steel blue","orangered":"orange red","midnightblue":"midnight blue","cadetblue":"cadet blue","seashell":"seashell","slategrey":"slate gray","coral":"coral","darkturquoise":"dark turquoise","antiquewhite":"antique white","mediumspringgreen":"medium spring green","salmon":"salmon","darkgrey":"dark gray","ivory":"ivory","greenyellow":"green-yellow","mistyrose":"misty rose","lightsalmon":"light salmon","silver":"silver","dimgrey":"dim gray","orange":"orange","white":"white","navajowhite":"navajo white","royalblue":"royal blue","deeppink":"deep pink","lime":"lime","oldlace":"old lace","chartreuse":"chartreuse","darkcyan":"dark cyan","yellow":"yellow","linen":"linen","olive":"olive","gold":"gold","lawngreen":"lawn green","lightyellow":"light yellow","tan":"tan","darkviolet":"dark violet","lightslategrey":"light slate gray","grey":"gray","darkkhaki":"dark khaki","green":"green","deepskyblue":"deep sky blue","aqua":"aqua","sienna":"sienna","mintcream":"mint cream","rosybrown":"rosy brown","mediumslateblue":"medium slate blue","magenta":"magenta","lightseagreen":"light sea green","cyan":"cyan","olivedrab":"olive drab","darkgoldenrod":"dark goldenrod","slateblue":"slate blue","mediumaquamarine":"medium aquamarine","lavender":"lavender","mediumseagreen":"medium sea green","maroon":"maroon","darkslategray":"dark slate gray","mediumturquoise":"medium turquoise","ghostwhite":"ghost white","darkblue":"dark blue","mediumvioletred":"medium violet-red","brown":"brown","lightgray":"light gray","sandybrown":"sandy brown","pink":"pink","firebrick":"fire brick","indigo":"indigo","snow":"snow","darkorchid":"dark orchid","turquoise":"turquoise","chocolate":"chocolate","springgreen":"spring green","moccasin":"moccasin","navy":"navy","lemonchiffon":"lemon chiffon","teal":"teal","floralwhite":"floral white","cornflowerblue":"cornflower blue","paleturquoise":"pale turquoise","purple":"purple","gainsboro":"gainsboro","plum":"plum","red":"red","blue":"blue","forestgreen":"forest green","darkgreen":"dark green","honeydew":"honeydew","darkseagreen":"dark sea green","lightcoral":"light coral","palevioletred":"pale violet-red","mediumpurple":"medium purple","saddlebrown":"saddle brown","darkmagenta":"dark magenta","thistle":"thistle","whitesmoke":"white smoke","wheat":"wheat","violet":"violet","lightskyblue":"light sky blue","goldenrod":"goldenrod","mediumblue":"medium blue","skyblue":"sky blue","crimson":"crimson","darksalmon":"dark salmon","darkred":"dark red","darkslategrey":"dark slate gray","peru":"peru","lightgrey":"light gray","lightgoldenrodyellow":"light goldenrod yellow","blanchedalmond":"blanched almond","aliceblue":"alice blue","bisque":"bisque","slategray":"slate gray","palegoldenrod":"pale goldenrod","darkorange":"dark orange","aquamarine":"aquamarine","lightgreen":"light green","burlywood":"burlywood","dodgerblue":"dodger blue","darkgray":"dark gray","lightcyan":"light cyan","powderblue":"powder blue","blueviolet":"blue-violet","orchid":"orchid","dimgray":"dim gray","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavender blush","hotpink":"hot pink","steelblue":"steel blue","tomato":"tomato","lightpink":"light pink","limegreen":"lime green","indianred":"indian red","papayawhip":"papaya whip","lightslategray":"light slate gray","gray":"gray","mediumorchid":"medium orchid","cornsilk":"cornsilk","black":"black","seagreen":"sea green","darkslateblue":"dark slate blue","khaki":"khaki","lightblue":"light blue","palegreen":"pale green","azure":"azure","peachpuff":"peach puff","darkolivegreen":"dark olive green","yellowgreen":"yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.xx");dijit.nls.loading.xx={"loadingState":"Loading...","errorState":"Sorry, an error occurred"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.xx");dijit.nls.common.xx={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.xx");dijit.form.nls.Textarea.xx={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.xx");dijit._editor.nls.commands.xx={"removeFormat":"Remove Format","copy":"Copy","paste":"Paste","selectAll":"Select All","insertOrderedList":"Numbered List","insertTable":"Insert/Edit Table","underline":"Underline","foreColor":"Foreground Color","htmlToggle":"HTML Source","formatBlock":"Paragraph Style","insertHorizontalRule":"Horizontal Rule","delete":"Delete","appleKey":"⌘${0}","insertUnorderedList":"Bullet List","tableProp":"Table Property","insertImage":"Insert Image","superscript":"Superscript","subscript":"Subscript","createLink":"Create Link","undo":"Undo","italic":"Italic","fontName":"Font Name","justifyLeft":"Align Left","unlink":"Remove Link","toggleTableBorder":"Toggle Table Border","ctrlKey":"ctrl+${0}","fontSize":"Font Size","indent":"Indent","redo":"Redo","strikethrough":"Strikethrough","justifyFull":"Justify","justifyCenter":"Align Center","hiliteColor":"Background Color","deleteTable":"Delete Table","outdent":"Outdent","cut":"Cut","plainFormatBlock":"Paragraph Style","toggleDir":"Toggle Direction","bold":"Bold","systemShortcutFF":"The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.","justifyRight":"Align Right"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.xx");dojo.cldr.nls.number.xx={"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.xx");dijit.nls.common.xx={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.xx");dijit.form.nls.validate.xx={"rangeMessage":"This value is out of range.","invalidMessage":"The value entered is not valid.","missingMessage":"This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.xx");dijit.form.nls.ComboBox.xx={"previousMessage":"Previous choices","nextMessage":"More choices"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.xx");dojo.cldr.nls.currency.xx={"USD_symbol":"US$","EUR_displayName":"EUR","GBP_displayName":"GBP","JPY_displayName":"JPY","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€","USD_displayName":"USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.xx");dojo.cldr.nls.gregorian.xx={"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-dayperiod":"Dayperiod","field-minute":"Minute","eraNames":["BCE","CE"],"field-weekday":"Day of the Week","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-hour":"Hour","timeFormat-full":"HH:mm:ss v","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","days-standAlone-narrow":["1","2","3","4","5","6","7"],"eraAbbr":["BCE","CE"],"dateFormat-long":"yyyy MMMM d","timeFormat-medium":"HH:mm:ss","field-zone":"Zone","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-medium":"yyyy MMM d","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","field-year":"Year","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-week":"Week","timeFormat-long":"HH:mm:ss z","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","days-format-abbr":["1","2","3","4","5","6","7"],"pm":"PM","field-second":"Second","field-day":"Day","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","am":"AM","quarters-stand-alone-narrow":["1","2","3","4"],"dateFormat-short":"yyyy-MM-dd","dateFormat-full":"EEEE, yyyy MMMM dd","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"days-format-wide":["1","2","3","4","5","6","7"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.xx");dijit.form.nls.Textarea.xx={"iframeEditTitle":"edit area","iframeFocusTitle":"edit area frame"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.xx");dijit.nls.common.xx={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"}; diff --git a/includes/js/dijit/nls/dijit-all_zh-cn.js b/includes/js/dijit/nls/dijit-all_zh-cn.js deleted file mode 100644 index 2ecb6b4..0000000 --- a/includes/js/dijit/nls/dijit-all_zh-cn.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_zh-cn");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.zh_cn");dojo.nls.colors.zh_cn={"lightsteelblue":"浅钢蓝色","orangered":"橙红色","midnightblue":"深蓝色","cadetblue":"灰蓝色","seashell":"海贝色","slategrey":"灰石色","coral":"珊瑚色","darkturquoise":"深粉蓝","antiquewhite":"古董白","mediumspringgreen":"间春绿色","salmon":"橙红","darkgrey":"深灰色","ivory":"象牙色","greenyellow":"绿黄色","mistyrose":"浅玫瑰色","lightsalmon":"淡橙色","silver":"银白色","dimgrey":"暗灰色","orange":"橙色","white":"白色","navajowhite":"纳瓦白","royalblue":"品蓝","deeppink":"深粉红色","lime":"淡黄绿色","oldlace":"老白色","chartreuse":"黄绿色","darkcyan":"深青绿","yellow":"黄色","linen":"亚麻色","olive":"橄榄绿","gold":"金黄色","lawngreen":"草绿色","lightyellow":"浅黄色","tan":"棕褐色","darkviolet":"深紫色","lightslategrey":"浅青灰","grey":"灰色","darkkhaki":"深卡其色","green":"绿色","deepskyblue":"深天蓝色","aqua":"浅绿色","sienna":"赭色","mintcream":"薄荷色","rosybrown":"褐玫瑰红","mediumslateblue":"间暗蓝色","magenta":"洋红色","lightseagreen":"浅海藻绿","cyan":"青蓝色","olivedrab":"草绿色","darkgoldenrod":"深金黄","slateblue":"石蓝色","mediumaquamarine":"间绿色","lavender":"淡紫色","mediumseagreen":"间海蓝色","maroon":"栗色","darkslategray":"深青灰","mediumturquoise":"间绿宝石色","ghostwhite":"苍白","darkblue":"深蓝","mediumvioletred":"间紫罗兰色","brown":"棕色","lightgray":"浅灰色","sandybrown":"沙褐色","pink":"粉红色","firebrick":"砖红","indigo":"靛青","snow":"雪白色","darkorchid":"深紫色","turquoise":"绿宝石色","chocolate":"巧克力色","springgreen":"春绿色","moccasin":"鹿皮色","navy":"深蓝色","lemonchiffon":"柠檬绸色","teal":"水鸭色","floralwhite":"花白色","cornflowerblue":"浅蓝色","paleturquoise":"苍绿色","purple":"紫色","gainsboro":"淡灰色","plum":"杨李色","red":"红色","blue":"蓝色","forestgreen":"森林绿","darkgreen":"深绿色","honeydew":"蜜汁色","darkseagreen":"深海藻绿","lightcoral":"浅珊瑚色","palevioletred":"苍紫罗兰色","mediumpurple":"间紫色","saddlebrown":"重褐色","darkmagenta":"深洋红色","thistle":"蓟色","whitesmoke":"烟白色","wheat":"浅黄色","violet":"紫色","lightskyblue":"浅天蓝色","goldenrod":"金麒麟色","mediumblue":"间蓝色","skyblue":"天蓝色","crimson":"深红色","darksalmon":"深橙红","darkred":"深红色","darkslategrey":"深青灰","peru":"秘鲁色","lightgrey":"浅灰色","lightgoldenrodyellow":"浅金黄色","blanchedalmond":"白杏色","aliceblue":"爱丽丝蓝","bisque":"桔黄色","slategray":"灰石色","palegoldenrod":"淡金黄色","darkorange":"深橙色","aquamarine":"碧绿色","lightgreen":"浅绿色","burlywood":"实木色","dodgerblue":"闪蓝色","darkgray":"深灰色","lightcyan":"浅青色","powderblue":"铁蓝","blueviolet":"紫罗兰色","orchid":"紫色","dimgray":"暗灰色","beige":"米色","fuchsia":"紫红色","lavenderblush":"淡紫红","hotpink":"深粉红","steelblue":"钢蓝色","tomato":"西红柿色","lightpink":"浅粉红色","limegreen":"橙绿色","indianred":"印度红","papayawhip":"木瓜色","lightslategray":"浅青灰","gray":"灰色","mediumorchid":"间紫色","cornsilk":"米绸色","black":"黑色","seagreen":"海绿色","darkslateblue":"深青蓝","khaki":"卡其色","lightblue":"淡蓝色","palegreen":"淡绿色","azure":"天蓝色","peachpuff":"桃色","darkolivegreen":"深橄榄绿","yellowgreen":"黄绿色"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.zh_cn");dijit.nls.loading.zh_cn={"loadingState":"正在装入...","errorState":"对不起,发生了错误"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh_cn");dijit.nls.common.zh_cn={"buttonOk":"确定","buttonCancel":"取消","buttonSave":"保存","itemClose":"关闭"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.zh_cn");dijit.form.nls.Textarea.zh_cn={"iframeEditTitle":"编辑区","iframeFocusTitle":"编辑区框架"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.zh_cn");dijit._editor.nls.commands.zh_cn={"removeFormat":"除去格式","copy":"复制","paste":"粘贴","selectAll":"全选","insertOrderedList":"编号列表","insertTable":"插入/编辑表","underline":"下划线","foreColor":"前景色","htmlToggle":"HTML 源代码","formatBlock":"段落样式","insertHorizontalRule":"水平线","delete":"删除","insertUnorderedList":"符号列表","tableProp":"表属性","insertImage":"插入图像","superscript":"上标","subscript":"下标","createLink":"创建链接","undo":"撤销","italic":"斜体","fontName":"字体名称","justifyLeft":"左对齐","unlink":"除去链接","toggleTableBorder":"切换表边框","fontSize":"字体大小","indent":"增加缩进","redo":"重做","strikethrough":"删除线","justifyFull":"对齐","justifyCenter":"居中","hiliteColor":"背景色","deleteTable":"删除表","outdent":"减少缩进","cut":"剪切","plainFormatBlock":"段落样式","toggleDir":"固定方向","bold":"粗体","systemShortcutFF":"只能在 Mozilla Firefox 中通过键盘快捷方式执行“${0}”操作。请使用 ${1}。","justifyRight":"右对齐","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.zh_cn");dojo.cldr.nls.number.zh_cn={"currencyFormat":"¤#,##0.00","group":",","decimal":".","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","percentFormat":"#,##0%","decimalFormat":"#,##0.###","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh_cn");dijit.nls.common.zh_cn={"buttonOk":"确定","buttonCancel":"取消","buttonSave":"保存","itemClose":"关闭"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.zh_cn");dijit.form.nls.validate.zh_cn={"rangeMessage":"此值超出范围。","invalidMessage":"输入的值无效。","missingMessage":"此值是必需值。"};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.zh_cn");dijit.form.nls.ComboBox.zh_cn={"previousMessage":"先前选项","nextMessage":"更多选项"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.zh_cn");dojo.cldr.nls.currency.zh_cn={"HKD_displayName":"港元","CHF_displayName":"瑞士法郎","HKD_symbol":"HK$","CAD_displayName":"加拿大元","CNY_displayName":"人民币","AUD_displayName":"澳大利亚元","JPY_displayName":"日元","USD_displayName":"美元","CNY_symbol":"¥","GBP_displayName":"英镑","EUR_displayName":"欧元","USD_symbol":"US$","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.zh_cn");dojo.cldr.nls.gregorian.zh_cn={"dateFormat-short":"yy-M-d","timeFormat-long":"ahh'时'mm'分'ss'秒'","dateFormat-medium":"yyyy-M-d","dateFormat-long":"yyyy'年'M'月'd'日'","timeFormat-medium":"ahh:mm:ss","timeFormat-short":"ah:mm","timeFormat-full":"ahh'时'mm'分'ss'秒' z","dateFormat-full":"yyyy'年'M'月'd'日'EEEE","field-second":"秒钟","field-week":"周","pm":"下午","dateTimeAvailableFormats":"M-d","months-standAlone-narrow":["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"months-standAlone-wide":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"am":"上午","days-standAlone-narrow":["日","一","二","三","四","五","六"],"field-year":"年","months-standAlone-abbr":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"field-minute":"分钟","field-hour":"小时","field-day":"日","field-dayperiod":"上午/下午","field-month":"月","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"field-era":"时期","days-format-wide":["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],"eraAbbr":["公元前","公元"],"field-weekday":"周天","days-format-abbr":["周日","周一","周二","周三","周四","周五","周六"],"field-zone":"区域","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","eraNames":["BCE","CE"],"dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.zh_cn");dijit.form.nls.Textarea.zh_cn={"iframeEditTitle":"编辑区","iframeFocusTitle":"编辑区框架"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh_cn");dijit.nls.common.zh_cn={"buttonOk":"确定","buttonCancel":"取消","buttonSave":"保存","itemClose":"关闭"}; diff --git a/includes/js/dijit/nls/dijit-all_zh-tw.js b/includes/js/dijit/nls/dijit-all_zh-tw.js deleted file mode 100644 index 2213ea7..0000000 --- a/includes/js/dijit/nls/dijit-all_zh-tw.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_zh-tw");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.zh_tw");dojo.nls.colors.zh_tw={"lightsteelblue":"淡鐵藍色","orangered":"橙紅色","midnightblue":"午夜藍","cadetblue":"軍服藍","seashell":"海貝色","slategrey":"岩灰色","coral":"珊瑚紅","darkturquoise":"暗松石綠","antiquewhite":"米白色","mediumspringgreen":"中春綠色","salmon":"鮭紅色","darkgrey":"暗灰色","ivory":"象牙色","greenyellow":"綠黃色","mistyrose":"霧玫瑰色","lightsalmon":"淡鮭紅","silver":"銀色","dimgrey":"昏灰色","orange":"橙色","white":"白色","navajowhite":"印地安黃色","royalblue":"品藍色","deeppink":"深粉紅色","lime":"檸檬色","oldlace":"舊蕾絲色","chartreuse":"淡黃綠色","darkcyan":"暗青色","yellow":"黃色","linen":"亞麻色","olive":"橄欖色","gold":"金色","lawngreen":"草綠色","lightyellow":"淡黃色","tan":"皮革色","darkviolet":"暗紫羅蘭色","lightslategrey":"淡岩灰色","grey":"灰色","darkkhaki":"暗卡其色","green":"綠色","deepskyblue":"深天藍色","aqua":"水色","sienna":"黃土赭色","mintcream":"薄荷乳白色","rosybrown":"玫瑰褐","mediumslateblue":"中岩藍色","magenta":"紫紅色","lightseagreen":"淡海綠色","cyan":"青色","olivedrab":"橄欖綠","darkgoldenrod":"暗金菊色","slateblue":"岩藍色","mediumaquamarine":"中碧綠色","lavender":"薰衣草紫","mediumseagreen":"中海綠色","maroon":"栗色","darkslategray":"暗岩灰色","mediumturquoise":"中松石綠","ghostwhite":"幽靈色","darkblue":"暗藍色","mediumvioletred":"中紫羅蘭紅","brown":"褐色","lightgray":"淡灰色","sandybrown":"沙褐色","pink":"粉紅色","firebrick":"紅磚色","indigo":"靛藍色","snow":"雪白色","darkorchid":"暗蘭花色","turquoise":"松石綠","chocolate":"巧克力色","springgreen":"春綠色","moccasin":"鹿皮黃色","navy":"海軍藍","lemonchiffon":"奶油黃","teal":"深藍綠色","floralwhite":"花卉白","cornflowerblue":"矢車菊藍","paleturquoise":"灰松石綠","purple":"紫色","gainsboro":"石板灰","plum":"李紫色","red":"紅色","blue":"藍色","forestgreen":"森綠色","darkgreen":"暗綠色","honeydew":"密瓜色","darkseagreen":"暗海綠色","lightcoral":"淡珊瑚紅","palevioletred":"灰紫羅蘭紅","mediumpurple":"中紫色","saddlebrown":"鞍褐色","darkmagenta":"暗紫紅色","thistle":"薊色","whitesmoke":"白煙色","wheat":"小麥色","violet":"紫羅蘭色","lightskyblue":"淡天藍色","goldenrod":"金菊色","mediumblue":"中藍色","skyblue":"天藍色","crimson":"暗深紅色","darksalmon":"暗鮭紅","darkred":"暗紅色","darkslategrey":"暗岩灰色","peru":"祕魯色","lightgrey":"淡灰色","lightgoldenrodyellow":"淡金菊黃","blanchedalmond":"杏仁白","aliceblue":"愛麗絲藍","bisque":"橘黃色","slategray":"岩灰色","palegoldenrod":"灰金菊色","darkorange":"暗橙色","aquamarine":"碧綠色","lightgreen":"淡綠色","burlywood":"實木色","dodgerblue":"道奇藍","darkgray":"暗灰色","lightcyan":"淡青色","powderblue":"粉藍色","blueviolet":"藍紫色","orchid":"蘭花色","dimgray":"昏灰色","beige":"灰棕色","fuchsia":"海棠紅","lavenderblush":"薰衣草紫紅","hotpink":"暖粉紅色","steelblue":"鐵藍色","tomato":"蕃茄紅","lightpink":"淡粉紅色","limegreen":"檸檬綠","indianred":"印度紅","papayawhip":"番木瓜色","lightslategray":"淡岩灰色","gray":"灰色","mediumorchid":"中蘭紫色","cornsilk":"玉米黃","black":"黑色","seagreen":"海綠色","darkslateblue":"暗岩藍色","khaki":"卡其色","lightblue":"淡藍色","palegreen":"灰綠色","azure":"天藍色","peachpuff":"粉撲桃色","darkolivegreen":"暗橄欖綠","yellowgreen":"黃綠色"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.zh_tw");dijit.nls.loading.zh_tw={"loadingState":"載入中...","errorState":"抱歉,發生錯誤"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh_tw");dijit.nls.common.zh_tw={"buttonOk":"確定","buttonCancel":"取消","buttonSave":"儲存","itemClose":"關閉"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.zh_tw");dijit.form.nls.Textarea.zh_tw={"iframeEditTitle":"編輯區","iframeFocusTitle":"編輯區框"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.zh_tw");dijit._editor.nls.commands.zh_tw={"removeFormat":"移除格式","copy":"複製","paste":"貼上","selectAll":"全選","insertOrderedList":"編號清單","insertTable":"插入/編輯表格","underline":"底線","foreColor":"前景顏色","htmlToggle":"HTML 原始檔","formatBlock":"段落樣式","insertHorizontalRule":"水平尺規","delete":"刪除","insertUnorderedList":"項目符號清單","tableProp":"表格內容","insertImage":"插入影像","superscript":"上標","subscript":"下標","createLink":"建立鏈結","undo":"復原","italic":"斜體","fontName":"字型名稱","justifyLeft":"靠左對齊","unlink":"移除鏈結","toggleTableBorder":"切換表格邊框","fontSize":"字型大小","indent":"縮排","redo":"重做","strikethrough":"加刪除線","justifyFull":"對齊","justifyCenter":"置中對齊","hiliteColor":"背景顏色","deleteTable":"刪除表格","outdent":"凸排","cut":"剪下","plainFormatBlock":"段落樣式","toggleDir":"切換方向","bold":"粗體","systemShortcutFF":"\"${0}\" 動作在 Mozilla Firefox 中,只能使用鍵盤快速鍵。請使用 ${1}。","justifyRight":"靠右對齊","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.zh_tw");dojo.cldr.nls.number.zh_tw={"currencyFormat":"¤#,##0.00","group":",","list":";","decimal":".","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","percentFormat":"#,##0%","decimalFormat":"#,##0.###","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh_tw");dijit.nls.common.zh_tw={"buttonOk":"確定","buttonCancel":"取消","buttonSave":"儲存","itemClose":"關閉"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.zh_tw");dijit.form.nls.validate.zh_tw={"rangeMessage":"此值超出範圍。","invalidMessage":"輸入的值無效。","missingMessage":"必須提供此值。"};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.zh_tw");dijit.form.nls.ComboBox.zh_tw={"previousMessage":"前一個選擇項","nextMessage":"其他選擇項"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.zh_tw");dojo.cldr.nls.currency.zh_tw={"EUR_displayName":"歐元","CAD_displayName":"加幣","GBP_displayName":"英鎊","JPY_displayName":"日圓","GBP_symbol":"GBP","AUD_displayName":"澳幣","EUR_symbol":"EUR","CNY_displayName":"人民幣","HKD_displayName":"港元","CHF_displayName":"瑞士法郎","HKD_symbol":"HK$","USD_displayName":"美元","CNY_symbol":"¥","USD_symbol":"US$","JPY_symbol":"JP¥"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.zh_tw");dojo.cldr.nls.gregorian.zh_tw={"quarters-format-abbreviated":["1季","2季","3季","4季"],"dateFormat-medium":"yyyy/M/d","field-second":"秒","field-week":"週","timeFormat-full":"ahh時mm分ss秒 v","dateTimeAvailableFormats":"M/d","eraNames":["西元前","西元"],"field-minute":"分鐘","timeFormat-medium":"a h:mm:ss","field-hour":"小時","dateFormat-short":"yyyy/M/d","field-era":"年代","timeFormat-short":"a h:mm","timeFormat-long":"ahh時mm分ss秒 z","quarters-format-wide":["第1季","第2季","第3季","第4季"],"quarters-stand-alone-abbreviated":["1季","2季","3季","4季"],"field-weekday":"週天","field-zone":"區域","days-format-abbr":["週日","週一","週二","週三","週四","週五","週六"],"pm":"下午","months-standAlone-narrow":["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"months-standAlone-wide":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"am":"上午","days-standAlone-narrow":["日","一","二","三","四","五","六"],"field-year":"年","months-standAlone-abbr":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"dateFormat-long":"yyyy年M月d日","field-day":"日","field-dayperiod":"上午/下午","field-month":"月","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"days-format-wide":["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],"eraAbbr":["公元前","公元"],"dateFormat-full":"yyyy年M月d日EEEE","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormat":"{1} {0}","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Era":"{0} {1}","eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.zh_tw");dijit.form.nls.Textarea.zh_tw={"iframeEditTitle":"編輯區","iframeFocusTitle":"編輯區框"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh_tw");dijit.nls.common.zh_tw={"buttonOk":"確定","buttonCancel":"取消","buttonSave":"儲存","itemClose":"關閉"}; diff --git a/includes/js/dijit/nls/dijit-all_zh.js b/includes/js/dijit/nls/dijit-all_zh.js deleted file mode 100644 index f4d1a6e..0000000 --- a/includes/js/dijit/nls/dijit-all_zh.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_zh");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.zh");dojo.nls.colors.zh={"lightsteelblue":"浅钢蓝色","orangered":"橙红色","midnightblue":"深蓝色","cadetblue":"灰蓝色","seashell":"海贝色","slategrey":"灰石色","coral":"珊瑚色","darkturquoise":"深粉蓝","antiquewhite":"古董白","mediumspringgreen":"间春绿色","salmon":"橙红","darkgrey":"深灰色","ivory":"象牙色","greenyellow":"绿黄色","mistyrose":"浅玫瑰色","lightsalmon":"淡橙色","silver":"银白色","dimgrey":"暗灰色","orange":"橙色","white":"白色","navajowhite":"纳瓦白","royalblue":"品蓝","deeppink":"深粉红色","lime":"淡黄绿色","oldlace":"老白色","chartreuse":"黄绿色","darkcyan":"深青绿","yellow":"黄色","linen":"亚麻色","olive":"橄榄绿","gold":"金黄色","lawngreen":"草绿色","lightyellow":"浅黄色","tan":"棕褐色","darkviolet":"深紫色","lightslategrey":"浅青灰","grey":"灰色","darkkhaki":"深卡其色","green":"绿色","deepskyblue":"深天蓝色","aqua":"浅绿色","sienna":"赭色","mintcream":"薄荷色","rosybrown":"褐玫瑰红","mediumslateblue":"间暗蓝色","magenta":"洋红色","lightseagreen":"浅海藻绿","cyan":"青蓝色","olivedrab":"草绿色","darkgoldenrod":"深金黄","slateblue":"石蓝色","mediumaquamarine":"间绿色","lavender":"淡紫色","mediumseagreen":"间海蓝色","maroon":"栗色","darkslategray":"深青灰","mediumturquoise":"间绿宝石色","ghostwhite":"苍白","darkblue":"深蓝","mediumvioletred":"间紫罗兰色","brown":"棕色","lightgray":"浅灰色","sandybrown":"沙褐色","pink":"粉红色","firebrick":"砖红","indigo":"靛青","snow":"雪白色","darkorchid":"深紫色","turquoise":"绿宝石色","chocolate":"巧克力色","springgreen":"春绿色","moccasin":"鹿皮色","navy":"深蓝色","lemonchiffon":"柠檬绸色","teal":"水鸭色","floralwhite":"花白色","cornflowerblue":"浅蓝色","paleturquoise":"苍绿色","purple":"紫色","gainsboro":"淡灰色","plum":"杨李色","red":"红色","blue":"蓝色","forestgreen":"森林绿","darkgreen":"深绿色","honeydew":"蜜汁色","darkseagreen":"深海藻绿","lightcoral":"浅珊瑚色","palevioletred":"苍紫罗兰色","mediumpurple":"间紫色","saddlebrown":"重褐色","darkmagenta":"深洋红色","thistle":"蓟色","whitesmoke":"烟白色","wheat":"浅黄色","violet":"紫色","lightskyblue":"浅天蓝色","goldenrod":"金麒麟色","mediumblue":"间蓝色","skyblue":"天蓝色","crimson":"深红色","darksalmon":"深橙红","darkred":"深红色","darkslategrey":"深青灰","peru":"秘鲁色","lightgrey":"浅灰色","lightgoldenrodyellow":"浅金黄色","blanchedalmond":"白杏色","aliceblue":"爱丽丝蓝","bisque":"桔黄色","slategray":"灰石色","palegoldenrod":"淡金黄色","darkorange":"深橙色","aquamarine":"碧绿色","lightgreen":"浅绿色","burlywood":"实木色","dodgerblue":"闪蓝色","darkgray":"深灰色","lightcyan":"浅青色","powderblue":"铁蓝","blueviolet":"紫罗兰色","orchid":"紫色","dimgray":"暗灰色","beige":"米色","fuchsia":"紫红色","lavenderblush":"淡紫红","hotpink":"深粉红","steelblue":"钢蓝色","tomato":"西红柿色","lightpink":"浅粉红色","limegreen":"橙绿色","indianred":"印度红","papayawhip":"木瓜色","lightslategray":"浅青灰","gray":"灰色","mediumorchid":"间紫色","cornsilk":"米绸色","black":"黑色","seagreen":"海绿色","darkslateblue":"深青蓝","khaki":"卡其色","lightblue":"淡蓝色","palegreen":"淡绿色","azure":"天蓝色","peachpuff":"桃色","darkolivegreen":"深橄榄绿","yellowgreen":"黄绿色"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.zh");dijit.nls.loading.zh={"loadingState":"正在装入...","errorState":"对不起,发生了错误"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh");dijit.nls.common.zh={"buttonOk":"确定","buttonCancel":"取消","buttonSave":"保存","itemClose":"关闭"};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.zh");dijit.form.nls.Textarea.zh={"iframeEditTitle":"编辑区","iframeFocusTitle":"编辑区框架"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.zh");dijit._editor.nls.commands.zh={"removeFormat":"除去格式","copy":"复制","paste":"粘贴","selectAll":"全选","insertOrderedList":"编号列表","insertTable":"插入/编辑表","underline":"下划线","foreColor":"前景色","htmlToggle":"HTML 源代码","formatBlock":"段落样式","insertHorizontalRule":"水平线","delete":"删除","insertUnorderedList":"符号列表","tableProp":"表属性","insertImage":"插入图像","superscript":"上标","subscript":"下标","createLink":"创建链接","undo":"撤销","italic":"斜体","fontName":"字体名称","justifyLeft":"左对齐","unlink":"除去链接","toggleTableBorder":"切换表边框","fontSize":"字体大小","indent":"增加缩进","redo":"重做","strikethrough":"删除线","justifyFull":"对齐","justifyCenter":"居中","hiliteColor":"背景色","deleteTable":"删除表","outdent":"减少缩进","cut":"剪切","plainFormatBlock":"段落样式","toggleDir":"固定方向","bold":"粗体","systemShortcutFF":"只能在 Mozilla Firefox 中通过键盘快捷方式执行“${0}”操作。请使用 ${1}。","justifyRight":"右对齐","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.zh");dojo.cldr.nls.number.zh={"currencyFormat":"¤#,##0.00","group":",","decimal":".","scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","percentFormat":"#,##0%","decimalFormat":"#,##0.###","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh");dijit.nls.common.zh={"buttonOk":"确定","buttonCancel":"取消","buttonSave":"保存","itemClose":"关闭"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.zh");dijit.form.nls.validate.zh={"rangeMessage":"此值超出范围。","invalidMessage":"输入的值无效。","missingMessage":"此值是必需值。"};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.zh");dijit.form.nls.ComboBox.zh={"previousMessage":"先前选项","nextMessage":"更多选项"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.zh");dojo.cldr.nls.currency.zh={"HKD_displayName":"港元","CHF_displayName":"瑞士法郎","HKD_symbol":"HK$","CAD_displayName":"加拿大元","CNY_displayName":"人民币","AUD_displayName":"澳大利亚元","JPY_displayName":"日元","USD_displayName":"美元","CNY_symbol":"¥","GBP_displayName":"英镑","EUR_displayName":"欧元","USD_symbol":"US$","GBP_symbol":"UK£","JPY_symbol":"JP¥","EUR_symbol":"€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.zh");dojo.cldr.nls.gregorian.zh={"dateFormat-medium":"yyyy-M-d","field-second":"秒钟","field-week":"周","pm":"下午","timeFormat-full":"ahh时mm分ss秒 v","dateTimeAvailableFormats":"M-d","months-standAlone-narrow":["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"months-standAlone-wide":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"am":"上午","days-standAlone-narrow":["日","一","二","三","四","五","六"],"field-year":"年","months-standAlone-abbr":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"field-minute":"分钟","timeFormat-medium":"ahh:mm:ss","field-hour":"小时","dateFormat-long":"yyyy年M月d日","field-day":"日","field-dayperiod":"上午/下午","field-month":"月","dateFormat-short":"yy-M-d","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"field-era":"时期","timeFormat-short":"ah:mm","days-format-wide":["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],"timeFormat-long":"ahh时mm分ss秒 z","eraAbbr":["公元前","公元"],"dateFormat-full":"yyyy年M月d日EEEE","field-weekday":"周天","days-format-abbr":["周日","周一","周二","周三","周四","周五","周六"],"field-zone":"区域","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","eraNames":["BCE","CE"],"dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"dateTimeFormat":"{1} {0}","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","quarters-stand-alone-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Era":"{0} {1}","quarters-format-wide":["Q1","Q2","Q3","Q4"],"eraNarrow":["BCE","CE"]};dojo.provide("dijit.form.nls.Textarea");dijit.form.nls.Textarea._built=true;dojo.provide("dijit.form.nls.Textarea.zh");dijit.form.nls.Textarea.zh={"iframeEditTitle":"编辑区","iframeFocusTitle":"编辑区框架"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh");dijit.nls.common.zh={"buttonOk":"确定","buttonCancel":"取消","buttonSave":"保存","itemClose":"关闭"}; diff --git a/includes/js/dijit/nls/el/common.js b/includes/js/dijit/nls/el/common.js deleted file mode 100644 index 5edd7e5..0000000 --- a/includes/js/dijit/nls/el/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Ακύρωση","buttonSave":"Αποθήκευση","itemClose":"Κλείσιμο"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/el/loading.js b/includes/js/dijit/nls/el/loading.js deleted file mode 100644 index 9567b3c..0000000 --- a/includes/js/dijit/nls/el/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Φόρτωση...","errorState":"Σας ζητούμε συγνώμη, παρουσιάστηκε σφάλμα"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/es/common.js b/includes/js/dijit/nls/es/common.js deleted file mode 100644 index b4feef9..0000000 --- a/includes/js/dijit/nls/es/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"Aceptar","buttonCancel":"Cancelar","buttonSave":"Guardar","itemClose":"Cerrar"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/es/loading.js b/includes/js/dijit/nls/es/loading.js deleted file mode 100644 index dc969a3..0000000 --- a/includes/js/dijit/nls/es/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Cargando...","errorState":"Lo siento, se ha producido un error"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/fi/common.js b/includes/js/dijit/nls/fi/common.js deleted file mode 100644 index 8b2fc26..0000000 --- a/includes/js/dijit/nls/fi/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Peruuta","buttonSave":"Tallenna","itemClose":"Sulje"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/fi/loading.js b/includes/js/dijit/nls/fi/loading.js deleted file mode 100644 index 73e10a1..0000000 --- a/includes/js/dijit/nls/fi/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Lataus on meneillään...","errorState":"On ilmennyt virhe."}) \ No newline at end of file diff --git a/includes/js/dijit/nls/fr/common.js b/includes/js/dijit/nls/fr/common.js deleted file mode 100644 index 9f6aabe..0000000 --- a/includes/js/dijit/nls/fr/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Annuler","buttonSave":"Sauvegarder","itemClose":"Fermer"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/fr/loading.js b/includes/js/dijit/nls/fr/loading.js deleted file mode 100644 index ec7192b..0000000 --- a/includes/js/dijit/nls/fr/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Chargement...","errorState":"Une erreur est survenue"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/he/common.js b/includes/js/dijit/nls/he/common.js deleted file mode 100644 index b04d1cc..0000000 --- a/includes/js/dijit/nls/he/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"אישור","buttonCancel":"ביטול","buttonSave":"שמירה","itemClose":"סגירה"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/he/loading.js b/includes/js/dijit/nls/he/loading.js deleted file mode 100644 index bc9801e..0000000 --- a/includes/js/dijit/nls/he/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"טעינה...","errorState":"אירעה שגיאה"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/hu/common.js b/includes/js/dijit/nls/hu/common.js deleted file mode 100644 index 21a773f..0000000 --- a/includes/js/dijit/nls/hu/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Mégse","buttonSave":"Mentés","itemClose":"Bezárás"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/hu/loading.js b/includes/js/dijit/nls/hu/loading.js deleted file mode 100644 index d61e9a2..0000000 --- a/includes/js/dijit/nls/hu/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Betöltés...","errorState":"Sajnálom, hiba történt"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/it/common.js b/includes/js/dijit/nls/it/common.js deleted file mode 100644 index 6b3dc74..0000000 --- a/includes/js/dijit/nls/it/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Annulla","buttonSave":"Salva","itemClose":"Chiudi"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/it/loading.js b/includes/js/dijit/nls/it/loading.js deleted file mode 100644 index 60d05e0..0000000 --- a/includes/js/dijit/nls/it/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Caricamento in corso...","errorState":"Si è verificato un errore"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/ja/common.js b/includes/js/dijit/nls/ja/common.js deleted file mode 100644 index b0b48c6..0000000 --- a/includes/js/dijit/nls/ja/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"キャンセル","buttonSave":"保存","itemClose":"閉じる"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/ja/loading.js b/includes/js/dijit/nls/ja/loading.js deleted file mode 100644 index fa67d67..0000000 --- a/includes/js/dijit/nls/ja/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"ロード中...","errorState":"エラーが発生しました。"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/ko/common.js b/includes/js/dijit/nls/ko/common.js deleted file mode 100644 index 8e12bbf..0000000 --- a/includes/js/dijit/nls/ko/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"확인","buttonCancel":"취소","buttonSave":"저장","itemClose":"닫기"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/ko/loading.js b/includes/js/dijit/nls/ko/loading.js deleted file mode 100644 index 5d1ca12..0000000 --- a/includes/js/dijit/nls/ko/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"로드 중...","errorState":"죄송합니다. 오류가 발생했습니다."}) \ No newline at end of file diff --git a/includes/js/dijit/nls/loading.js b/includes/js/dijit/nls/loading.js deleted file mode 100644 index 1d6fa9b..0000000 --- a/includes/js/dijit/nls/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Loading...","errorState":"Sorry, an error occurred"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/nb/common.js b/includes/js/dijit/nls/nb/common.js deleted file mode 100644 index 73e38c7..0000000 --- a/includes/js/dijit/nls/nb/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Avbryt","buttonSave":"Lagre","itemClose":"Lukk"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/nb/loading.js b/includes/js/dijit/nls/nb/loading.js deleted file mode 100644 index dbc314d..0000000 --- a/includes/js/dijit/nls/nb/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Laster inn...","errorState":"Det oppsto en feil"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/nl/common.js b/includes/js/dijit/nls/nl/common.js deleted file mode 100644 index fa4c66e..0000000 --- a/includes/js/dijit/nls/nl/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Annuleren","buttonSave":"Opslaan","itemClose":"Sluiten"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/nl/loading.js b/includes/js/dijit/nls/nl/loading.js deleted file mode 100644 index c9870fd..0000000 --- a/includes/js/dijit/nls/nl/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Bezig met laden...","errorState":"Er is een fout opgetreden"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/pl/common.js b/includes/js/dijit/nls/pl/common.js deleted file mode 100644 index c84e539..0000000 --- a/includes/js/dijit/nls/pl/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Anuluj","buttonSave":"Zapisz","itemClose":"Zamknij"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/pl/loading.js b/includes/js/dijit/nls/pl/loading.js deleted file mode 100644 index eab3476..0000000 --- a/includes/js/dijit/nls/pl/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Trwa ładowanie...","errorState":"Niestety, wystąpił błąd"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/pt-pt/common.js b/includes/js/dijit/nls/pt-pt/common.js deleted file mode 100644 index 7992705..0000000 --- a/includes/js/dijit/nls/pt-pt/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Cancelar","buttonSave":"Guardar","itemClose":"Fechar"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/pt-pt/loading.js b/includes/js/dijit/nls/pt-pt/loading.js deleted file mode 100644 index 80257d3..0000000 --- a/includes/js/dijit/nls/pt-pt/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"A carregar...","errorState":"Lamentamos, mas ocorreu um erro"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/pt/common.js b/includes/js/dijit/nls/pt/common.js deleted file mode 100644 index b94e6bc..0000000 --- a/includes/js/dijit/nls/pt/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Cancelar","buttonSave":"Salvar","itemClose":"Fechar"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/pt/loading.js b/includes/js/dijit/nls/pt/loading.js deleted file mode 100644 index bf7057a..0000000 --- a/includes/js/dijit/nls/pt/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Carregando...","errorState":"Ocorreu um erro"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/ru/common.js b/includes/js/dijit/nls/ru/common.js deleted file mode 100644 index 9a76d09..0000000 --- a/includes/js/dijit/nls/ru/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"ОК","buttonCancel":"Отмена","buttonSave":"Сохранить","itemClose":"Закрыть"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/ru/loading.js b/includes/js/dijit/nls/ru/loading.js deleted file mode 100644 index 55cd03b..0000000 --- a/includes/js/dijit/nls/ru/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Загрузка...","errorState":"Извините, возникла ошибка"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/sv/common.js b/includes/js/dijit/nls/sv/common.js deleted file mode 100644 index cd3444f..0000000 --- a/includes/js/dijit/nls/sv/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"OK","buttonCancel":"Avbryt","buttonSave":"Spara","itemClose":"Stäng"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/sv/loading.js b/includes/js/dijit/nls/sv/loading.js deleted file mode 100644 index 95b90d2..0000000 --- a/includes/js/dijit/nls/sv/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Läser in...","errorState":"Det uppstod ett fel."}) \ No newline at end of file diff --git a/includes/js/dijit/nls/tr/common.js b/includes/js/dijit/nls/tr/common.js deleted file mode 100644 index e89e645..0000000 --- a/includes/js/dijit/nls/tr/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"Tamam","buttonCancel":"İptal","buttonSave":"Kaydet","itemClose":"Kapat"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/tr/loading.js b/includes/js/dijit/nls/tr/loading.js deleted file mode 100644 index b0ed738..0000000 --- a/includes/js/dijit/nls/tr/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"Yükleniyor...","errorState":"Üzgünüz, bir hata oluştu"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/zh-tw/common.js b/includes/js/dijit/nls/zh-tw/common.js deleted file mode 100644 index 5d3fee0..0000000 --- a/includes/js/dijit/nls/zh-tw/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"確定","buttonCancel":"取消","buttonSave":"儲存","itemClose":"關閉"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/zh-tw/loading.js b/includes/js/dijit/nls/zh-tw/loading.js deleted file mode 100644 index 0078541..0000000 --- a/includes/js/dijit/nls/zh-tw/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"載入中...","errorState":"抱歉,發生錯誤"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/zh/common.js b/includes/js/dijit/nls/zh/common.js deleted file mode 100644 index 0bb6267..0000000 --- a/includes/js/dijit/nls/zh/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonOk":"确定","buttonCancel":"取消","buttonSave":"保存","itemClose":"关闭"}) \ No newline at end of file diff --git a/includes/js/dijit/nls/zh/loading.js b/includes/js/dijit/nls/zh/loading.js deleted file mode 100644 index f68b8fa..0000000 --- a/includes/js/dijit/nls/zh/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState":"正在装入...","errorState":"对不起,发生了错误"}) \ No newline at end of file diff --git a/includes/js/dijit/resources/_modules.js b/includes/js/dijit/resources/_modules.js deleted file mode 100644 index fbefc92..0000000 --- a/includes/js/dijit/resources/_modules.js +++ /dev/null @@ -1,15 +0,0 @@ -/*===== -// dijit fallback for key summaries otherwise not covered by the doc parser - -dijit.demos = { - // summary: Home of the official dijit demo code -}; - -dijit.form = { - // summary: Form and input related widgets -}; - -dijit.layout = { - // summary: Layout related widgets -}; -=====*/ diff --git a/includes/js/dijit/templates/Calendar.html b/includes/js/dijit/templates/Calendar.html deleted file mode 100644 index d025351..0000000 --- a/includes/js/dijit/templates/Calendar.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - -
    -
    -
    -
    -
    -
    -
    -
    +
    -
    -

    - - - -

    -
    diff --git a/includes/js/dijit/templates/ColorPalette.html b/includes/js/dijit/templates/ColorPalette.html deleted file mode 100644 index e4557c7..0000000 --- a/includes/js/dijit/templates/ColorPalette.html +++ /dev/null @@ -1,5 +0,0 @@ -
    -
    - -
    -
    diff --git a/includes/js/dijit/templates/Dialog.html b/includes/js/dijit/templates/Dialog.html deleted file mode 100644 index f3a2e5c..0000000 --- a/includes/js/dijit/templates/Dialog.html +++ /dev/null @@ -1,9 +0,0 @@ -
    -
    - ${title} - - x - -
    -
    -
    diff --git a/includes/js/dijit/templates/InlineEditBox.html b/includes/js/dijit/templates/InlineEditBox.html deleted file mode 100644 index 449705b..0000000 --- a/includes/js/dijit/templates/InlineEditBox.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/includes/js/dijit/templates/ProgressBar.html b/includes/js/dijit/templates/ProgressBar.html deleted file mode 100644 index 49b8e22..0000000 --- a/includes/js/dijit/templates/ProgressBar.html +++ /dev/null @@ -1,9 +0,0 @@ -
     
     
    diff --git a/includes/js/dijit/templates/TitlePane.html b/includes/js/dijit/templates/TitlePane.html deleted file mode 100644 index c14905d..0000000 --- a/includes/js/dijit/templates/TitlePane.html +++ /dev/null @@ -1,14 +0,0 @@ -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    diff --git a/includes/js/dijit/templates/Tooltip.html b/includes/js/dijit/templates/Tooltip.html deleted file mode 100644 index 8739648..0000000 --- a/includes/js/dijit/templates/Tooltip.html +++ /dev/null @@ -1,4 +0,0 @@ -
    -
    -
    -
    diff --git a/includes/js/dijit/templates/buttons/bg-fade.png b/includes/js/dijit/templates/buttons/bg-fade.png deleted file mode 100644 index 5d74aad..0000000 Binary files a/includes/js/dijit/templates/buttons/bg-fade.png and /dev/null differ diff --git a/includes/js/dijit/templates/colors3x4.png b/includes/js/dijit/templates/colors3x4.png deleted file mode 100644 index e407881..0000000 Binary files a/includes/js/dijit/templates/colors3x4.png and /dev/null differ diff --git a/includes/js/dijit/templates/colors7x10.png b/includes/js/dijit/templates/colors7x10.png deleted file mode 100644 index 77d22ce..0000000 Binary files a/includes/js/dijit/templates/colors7x10.png and /dev/null differ diff --git a/includes/js/dijit/tests/Container.html b/includes/js/dijit/tests/Container.html deleted file mode 100644 index 64dd5d4..0000000 --- a/includes/js/dijit/tests/Container.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Container - - - - - - -
    -
    -
    -
    -
    - - - diff --git a/includes/js/dijit/tests/Container.js b/includes/js/dijit/tests/Container.js deleted file mode 100644 index 0e9360c..0000000 --- a/includes/js/dijit/tests/Container.js +++ /dev/null @@ -1,9 +0,0 @@ -if(!dojo._hasResource["dijit.tests.Container"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests.Container"] = true; -dojo.provide("dijit.tests.Container"); - -if(dojo.isBrowser){ - doh.registerUrl("dijit.tests.Container", dojo.moduleUrl("dijit", "tests/Container.html")); -} - -} diff --git a/includes/js/dijit/tests/_Templated.html b/includes/js/dijit/tests/_Templated.html deleted file mode 100644 index de6dc59..0000000 --- a/includes/js/dijit/tests/_Templated.html +++ /dev/null @@ -1,164 +0,0 @@ - - - _Templated tests - - - - - -

    _Templated test

    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/includes/js/dijit/tests/_Templated.js b/includes/js/dijit/tests/_Templated.js deleted file mode 100644 index ea4e059..0000000 --- a/includes/js/dijit/tests/_Templated.js +++ /dev/null @@ -1,9 +0,0 @@ -if(!dojo._hasResource["dijit.tests._Templated"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests._Templated"] = true; -dojo.provide("dijit.tests._Templated"); - -if(dojo.isBrowser){ - doh.registerUrl("dijit.tests._Templated", dojo.moduleUrl("dijit", "tests/_Templated.html")); -} - -} diff --git a/includes/js/dijit/tests/_altCalendar.html b/includes/js/dijit/tests/_altCalendar.html deleted file mode 100644 index 57e9548..0000000 --- a/includes/js/dijit/tests/_altCalendar.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -
    - - - - - -
    +
    -
    -
    -
    -
    -

    - - «» - -

    -
    diff --git a/includes/js/dijit/tests/_base/manager.html b/includes/js/dijit/tests/_base/manager.html deleted file mode 100644 index 3ca3349..0000000 --- a/includes/js/dijit/tests/_base/manager.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - Dijit manager unit test - - - - - - - -

    Dijit Manager Unit Test

    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    - -
    -
    -
    -
    - -
    -
    - -
    - -
    picture of a flat-screen monitor
    - - example area - - -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    - -
    - - - -
    - -
    -
    -
    - -
    - -
    - -
    - - - - - - -
    - -
    - - - - -
    - -
    - - - -
    - -
    - -
    - -
    - -
    -
    -
    - -
    - -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    - -
    - -
    - -
    -
    -
    -
    -
    -
    -
    -
    - -
    - -
    - -
    - - - -
    - -
    - -
    - -
    - - - -
    - - diff --git a/includes/js/dijit/tests/_base/manager.js b/includes/js/dijit/tests/_base/manager.js deleted file mode 100644 index 667a763..0000000 --- a/includes/js/dijit/tests/_base/manager.js +++ /dev/null @@ -1,9 +0,0 @@ -if(!dojo._hasResource["dijit.tests._base.manager"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests._base.manager"] = true; -dojo.provide("dijit.tests._base.manager"); - -if(dojo.isBrowser){ - doh.registerUrl("dijit.tests._base.manager", dojo.moduleUrl("dijit", "tests/_base/manager.html")); -} - -} diff --git a/includes/js/dijit/tests/_base/test_FocusManager.html b/includes/js/dijit/tests/_base/test_FocusManager.html deleted file mode 100644 index 1d6a707..0000000 --- a/includes/js/dijit/tests/_base/test_FocusManager.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - dijit.focus Test - - - - - - - -

    Focus/Selection Save/Restore Test

    -

    This is for testing whether focus and selection are restored by the focus manager

    -
    -
    -
    -
    - -
    - - - - - - diff --git a/includes/js/dijit/tests/_base/test_focusWidget.html b/includes/js/dijit/tests/_base/test_focusWidget.html deleted file mode 100644 index edc01c1..0000000 --- a/includes/js/dijit/tests/_base/test_focusWidget.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - dijit.focus Test - - - - - - - - -

    Widget Focus Test

    -

    - This is for testing code to detect onBlur and onFocus on a widget level.
    - Focused widgets' borders will turn red.
    - Also, heck the console log for focus and blur events on widgets. -

    - -
    -
    -
    - -
    -
    - - - - -
    -
    -
    -
    - -
    - -
    -
    - - -
    - - -
    - push me - -
    -
    -
    - - diff --git a/includes/js/dijit/tests/_base/test_placeStrict.html b/includes/js/dijit/tests/_base/test_placeStrict.html deleted file mode 100644 index c40325c..0000000 --- a/includes/js/dijit/tests/_base/test_placeStrict.html +++ /dev/null @@ -1,400 +0,0 @@ - - - - - - dijit.place tests - - - - - - - -

    Test dijit.place

    -

    Currently this just tests getViewport(). Change the size of your browser window and then reload, - and see if it reports the browser window size correctly.
    -

    All the text below is just filler text...
    - -

    - -
    - - TextBox class, tabIndex=2, Attributes: {trim: true, ucFirst: true, class: 'medium'}, First letter of each word is upper case. -
    -
    - -
    - -
    - - TextBox class, Attributes: {trim: true, uppercase: true, class: 'medium'}, all letters converted to upper case. -
    -
    - -
    - -
    - - TextBox class, tabIndex=1, Attributes: {trim: true, digit: true, class: 'small'}, all but digits extracted. -
    -
    - -
    - -
    - - ValidationTextBox class, - Attributes: {lowercase: true, required: true}. Displays a prompt message if field is missing. -
    -
    - -
    - -
    - - IntegerTextBox class, - Attributes: {required: true, min:-20000, max:+20000 }, Enter feet above sea level with a sign. -
    -
    - -
    - -
    - - CurrencyTextBox class, - Attributes: {fractional: true}. Enter whole and cents. Currency symbol is optional. -
    -
    - USD -
    - -
    - EUR -
    - - -
    - - DateTextBox class, - Attributes: {locale: "en-us", required: true}. Works for leap years -
    -
    - -
    - -
    - - DateTextBox class, - Attributes: {locale: "de-de", min:2006-01-01, max:2006-12-31}. Works for leap years -
    -
    - -
    - -
    - - TimeTextBox class, - Attributes: {formatLength: "medium", required: true, trim: true} -
    -
    - -
    - -
    - - TimeTextBox class, - Attributes: {displayFormat:"HH:mm:ss", required: true, trim: true} -
    -
    - -
    - - -
    - - RegexpTextBox class, - Attributes: {required: true} -
    -
    - -
    - -
    - - (just a test that type attribute is obeyed) -
    -
    - -
    - -
    - - value: null should show up as empty -
    -
    - -
    - - - -
    - - diff --git a/includes/js/dijit/tests/_base/test_typematic.html b/includes/js/dijit/tests/_base/test_typematic.html deleted file mode 100644 index 4a85027..0000000 --- a/includes/js/dijit/tests/_base/test_typematic.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - Typematic Test - - - - - - - -

    Dijit typematic tests

    - Press and hold the ctrl+F10 keys to see a's typed (constant rate) in the input field,
    - or left-mouse click the button and hold down to see b's typed (increasing rate) in the input field.
    - - - - diff --git a/includes/js/dijit/tests/_base/viewport.html b/includes/js/dijit/tests/_base/viewport.html deleted file mode 100644 index 2b8454a..0000000 --- a/includes/js/dijit/tests/_base/viewport.html +++ /dev/null @@ -1,79 +0,0 @@ - - - dijit.getViewport() test - - - - - - - -
    -

    dijit.getViewport() test

    -
    padding div
    - - -
      -
    1. check results div below to see that before adding text, document is smaller than viewport -
    2. after adding text, document should be bigger than viewport,and check that viewport size hasn't changed, - except maybe being a little bit smaller (about 15px) because of the size of the scrollbars -
    3. resize browser window and click the "recompute size" button; reported viewport size should change -
    4. scroll the window and click "recompute size" to see that the scroll position is taken into effect -
    -
    -
    - - diff --git a/includes/js/dijit/tests/_base/viewport.js b/includes/js/dijit/tests/_base/viewport.js deleted file mode 100644 index 8cee9c4..0000000 --- a/includes/js/dijit/tests/_base/viewport.js +++ /dev/null @@ -1,10 +0,0 @@ -if(!dojo._hasResource["dijit.tests._base.viewport"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests._base.viewport"] = true; -dojo.provide("dijit.tests._base.viewport"); - -if(dojo.isBrowser){ - doh.registerUrl("dijit.tests._base.viewport", dojo.moduleUrl("dijit", "tests/_base/viewport.html")); - doh.registerUrl("dijit.tests._base.viewportStrict", dojo.moduleUrl("dijit", "tests/_base/viewportStrict.html")); -} - -} diff --git a/includes/js/dijit/tests/_base/viewportStrict.html b/includes/js/dijit/tests/_base/viewportStrict.html deleted file mode 100644 index 812c796..0000000 --- a/includes/js/dijit/tests/_base/viewportStrict.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - dijit.getViewport() test - - - - - - - -
    -

    dijit.getViewport() test

    -
    padding div
    - - -
      -
    1. check results div below to see that before adding text, document is smaller than viewport -
    2. after adding text, document should be bigger than viewport,and check that viewport size hasn't changed, - except maybe being a little bit smaller (about 15px) because of the size of the scrollbars -
    3. resize browser window and click the "recompute size" button; reported viewport size should change -
    4. scroll the window and click "recompute size" to see that the scroll position is taken into effect -
    -
    -
    - - diff --git a/includes/js/dijit/tests/_base/wai.html b/includes/js/dijit/tests/_base/wai.html deleted file mode 100644 index 50ab8ca..0000000 --- a/includes/js/dijit/tests/_base/wai.html +++ /dev/null @@ -1,115 +0,0 @@ - - - Dijit wai unit test - - - - -
    -
    -
    - -
    - - diff --git a/includes/js/dijit/tests/_base/wai.js b/includes/js/dijit/tests/_base/wai.js deleted file mode 100644 index 3bd299a..0000000 --- a/includes/js/dijit/tests/_base/wai.js +++ /dev/null @@ -1,9 +0,0 @@ -if(!dojo._hasResource["dijit.tests._base.wai"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests._base.wai"] = true; -dojo.provide("dijit.tests._base.wai"); - -if(dojo.isBrowser){ - doh.registerUrl("dijit.tests._base.wai", dojo.moduleUrl("dijit", "tests/_base/wai.html")); -} - -} diff --git a/includes/js/dijit/tests/_data/categories.json b/includes/js/dijit/tests/_data/categories.json deleted file mode 100644 index 3717e1e..0000000 --- a/includes/js/dijit/tests/_data/categories.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - identifier: 'id', - label: 'name', - items: [ - { id: '0', name:'Foods', numberOfItems:1, children:[ {_reference: '1'}, {_reference: '2'}, {_reference: '3'} ] }, - { id: '1', name:'Fruits', numberOfItems:1, children:[ {_reference: '4'} ] }, - { id: '4',name:'Citrus', numberOfItems:1, items:[ {_reference: '5'} ] }, - { id: '5', name:'Orange'}, - { id: '2', name:'Vegetables', numberOfItems:0}, - { id: '3', name:'Cereals', numberOfItems:0} - ] -} diff --git a/includes/js/dijit/tests/_data/categoriesNested.json b/includes/js/dijit/tests/_data/categoriesNested.json deleted file mode 100644 index 05fb89c..0000000 --- a/includes/js/dijit/tests/_data/categoriesNested.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - identifier: 'id', - label: 'name', - items: [ - { id: '0', name:'Fruits', numberOfItems:1, children:[ - { id: '1',name:'Citrus', numberOfItems:1, items:[ - { id: '4', name:'Orange'} - ]} - ]}, - { id: '2', name:'Vegetables', numberOfItems:0}, - { id: '3', name:'Cereals', numberOfItems:0} - ] -} diff --git a/includes/js/dijit/tests/_data/countries.json b/includes/js/dijit/tests/_data/countries.json deleted file mode 100644 index 3f16d0b..0000000 --- a/includes/js/dijit/tests/_data/countries.json +++ /dev/null @@ -1,45 +0,0 @@ -{ identifier: 'name', - label: 'name', - items: [ - { name:'Africa', type:'continent', population:'900 million', area: '30,221,532 sq km', - timezone: '-1 UTC to +4 UTC', - children:[{_reference:'Egypt'}, {_reference:'Kenya'}, {_reference:'Sudan'}] }, - { name:'Egypt', type:'country' }, - { name:'Kenya', type:'country', - children:[{_reference:'Nairobi'}, {_reference:'Mombasa'}] }, - { name:'Nairobi', type:'city' }, - { name:'Mombasa', type:'city' }, - { name:'Sudan', type:'country', - children:{_reference:'Khartoum'} }, - { name:'Khartoum', type:'city' }, - { name:'Asia', type:'continent', - children:[{_reference:'China'}, {_reference:'India'}, {_reference:'Russia'}, {_reference:'Mongolia'}] }, - { name:'China', type:'country' }, - { name:'India', type:'country' }, - { name:'Russia', type:'country' }, - { name:'Mongolia', type:'country' }, - { name:'Australia', type:'continent', population:'21 million', - children:{_reference:'Commonwealth of Australia'}}, - { name:'Commonwealth of Australia', type:'country', population:'21 million'}, - { name:'Europe', type:'continent', - children:[{_reference:'Germany'}, {_reference:'France'}, {_reference:'Spain'}, {_reference:'Italy'}] }, - { name:'Germany', type:'country' }, - { name:'France', type:'country' }, - { name:'Spain', type:'country' }, - { name:'Italy', type:'country' }, - { name:'North America', type:'continent', - children:[{_reference:'Mexico'}, {_reference:'Canada'}, {_reference:'United States of America'}] }, - { name:'Mexico', type:'country', population:'108 million', area:'1,972,550 sq km', - children:[{_reference:'Mexico City'}, {_reference:'Guadalajara'}] }, - { name:'Mexico City', type:'city', population:'19 million', timezone:'-6 UTC'}, - { name:'Guadalajara', type:'city', population:'4 million', timezone:'-6 UTC' }, - { name:'Canada', type:'country', population:'33 million', area:'9,984,670 sq km', - children:[{_reference:'Ottawa'}, {_reference:'Toronto'}] }, - { name:'Ottawa', type:'city', population:'0.9 million', timezone:'-5 UTC'}, - { name:'Toronto', type:'city', population:'2.5 million', timezone:'-5 UTC' }, - { name:'United States of America', type:'country' }, - { name:'South America', type:'continent', - children:[{_reference:'Brazil'}, {_reference:'Argentina'}] }, - { name:'Brazil', type:'country', population:'186 million' }, - { name:'Argentina', type:'country', population:'40 million' } -]} diff --git a/includes/js/dijit/tests/_data/dijits.json b/includes/js/dijit/tests/_data/dijits.json deleted file mode 100644 index 160581b..0000000 --- a/includes/js/dijit/tests/_data/dijits.json +++ /dev/null @@ -1 +0,0 @@ -{"timestamp":1193692111,"items":[{"namespace":"dijit","className":"dijit.ColorPalette","summary":"Grid showing various colors, so the user can pick a certain color","description":null,"examples":null},{"namespace":"dijit","className":"dijit.Declaration","summary":"The Declaration widget allows a user to declare new widget\nclasses directly from a snippet of markup.","description":null,"examples":null},{"namespace":"dijit","className":"dijit.DialogUnderlay","summary":"the thing that grays out the screen behind the dialog\n\nTemplate has two divs; outer div is used for fade-in\/fade-out, and also to hold background iframe.\nInner div has opacity specified in CSS file.","description":null,"examples":null},{"namespace":"dijit","className":"dijit.Dialog","summary":"Pops up a modal dialog window, blocking access to the screen\nand also graying out the screen Dialog is extended from\nContentPane so it supports all the same parameters (href, etc.)","description":null,"examples":null},{"namespace":"dijit","className":"dijit.TooltipDialog","summary":"Pops up a dialog that appears like a Tooltip","description":null,"examples":null},{"namespace":"dijit","className":"dijit.Editor","summary":"A rich-text Editing widget","description":null,"examples":null},{"namespace":"dijit","className":"dijit.InlineEditBox","summary":"Behavior for an existing node (

    ,

    , , etc.) so that\nwhen you click it, an editor shows up in place of the original\ntext. Optionally, Save and Cancel button are displayed below the edit widget.\nWhen Save is clicked, the text is pulled from the edit\nwidget and redisplayed and the edit widget is again hidden.\nBy default a plain Textarea widget is used as the editor (or for\ninline values a TextBox), but you can specify an editor such as\ndijit.Editor (for editing HTML) or a Slider (for adjusting a number).\nAn edit widget must support the following API to be used:\nString getDisplayedValue() OR String getValue()\nvoid setDisplayedValue(String) OR void setValue(String)\nvoid focus()","description":null,"examples":null},{"namespace":"dijit","className":"dijit._InlineEditor","summary":"internal widget used by InlineEditBox, displayed when in editing mode\nto display the editor and maybe save\/cancel buttons. Calling code should\nconnect to save\/cancel methods to detect when editing is finished\n\nHas mainly the same parameters as InlineEditBox, plus these values:\n\nstyle: Object\nSet of CSS attributes of display node, to replicate in editor\n\nvalue: String\nValue as an HTML string or plain text string, depending on renderAsHTML flag","description":null,"examples":null},{"namespace":"dijit","className":"dijit.Menu","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.MenuItem","summary":"A line item in a Menu2\n\nMake 3 columns\nicon, label, and expand arrow (BiDi-dependent) indicating sub-menu","description":null,"examples":null},{"namespace":"dijit","className":"dijit.PopupMenuItem","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.MenuSeparator","summary":"A line between two menu items","description":null,"examples":null},{"namespace":"dijit","className":"dijit.ProgressBar","summary":"a progress widget\n\nusage:\n
    ","examples":null},{"namespace":"dijit","className":"dijit.form.RadioButton","summary":"Same as an HTML radio, but with fancy styling.","description":"This shared object keeps track of all widgets, grouped by name","examples":null},{"namespace":"dijit","className":"dijit.form.ComboBoxMixin","summary":"Auto-completing text box, and base class for FilteringSelect widget.\n\nThe drop down box's values are populated from an class called\na data provider, which returns a list of values based on the characters\nthat the user has typed into the input box.\n\nSome of the options to the ComboBox are actually arguments to the data\nprovider.\n\nYou can assume that all the form widgets (and thus anything that mixes\nin ComboBoxMixin) will inherit from _FormWidget and thus the \"this\"\nreference will also \"be a\" _FormWidget.","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form._ComboBoxMenu","summary":"these functions are called in showResultList","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.ComboBox","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.CurrencyTextBox","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.DateTextBox","summary":"A validating, serializable, range-bound date text box.","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.FilteringSelect","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form._FormMixin","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.Form","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.InlineEditBox","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.NumberSpinner","summary":"Number Spinner","description":"This widget is the same as NumberTextBox but with up\/down arrows added","examples":null},{"namespace":"dijit","className":"dijit.form.NumberTextBoxMixin","summary":"A mixin for all number textboxes","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.NumberTextBox","summary":"A validating, serializable, range-bound text box.\nconstraints object: min, max, places","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.HorizontalSlider","summary":"A form widget that allows one to select a value with a horizontally draggable image","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.VerticalSlider","summary":"A form widget that allows one to select a value with a vertically draggable image","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form._SliderMover","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.HorizontalRule","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.VerticalRule","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.HorizontalRuleLabels","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.VerticalRuleLabels","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.TextBox","summary":"A generic textbox field.\nServes as a base class to derive more specialized functionality in subclasses.","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.Textarea","summary":"event handlers, you can over-ride these in your own subclasses","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.TimeTextBox","summary":"NaN\nNaN","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.ValidationTextBox","summary":"default values for new subclass properties","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.MappedTextBox","summary":"A subclass of ValidationTextBox.\nProvides a hidden input field and a serialize method to override","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form.RangeBoundTextBox","summary":"A subclass of MappedTextBox.\nTests for a value out-of-range","description":null,"examples":null},{"namespace":"dijit","className":"dijit.form._FormWidget","summary":null,"description":null,"examples":null},{"namespace":"dijit","className":"dijit.form._Spinner","summary":"Mixin for validation widgets with a spinner","description":"This class basically (conceptually) extends dijit.form.ValidationTextBox.\nIt modifies the template to have up\/down arrows, and provides related handling code.","examples":null},{"namespace":"dijit","className":"dijit.layout.AccordionContainer","summary":"Holds a set of panes where every pane's title is visible, but only one pane's content is visible at a time,\nand switching between panes is visualized by sliding the other panes up\/down.\nusage:\n
    \n
    \n
    ...<\/div>\n<\/div>\n
    \n

    This is some text<\/p>\n...\n<\/div>","description":null,"examples":null},{"namespace":"dijit","className":"dijit.layout.AccordionPane","summary":"AccordionPane is a ContentPane with a title that may contain another widget.\nNested layout widgets, such as SplitContainer, are not supported at this time.","description":null,"examples":null},{"namespace":"dijit","className":"dijit.layout.ContentPane","summary":"A widget that acts as a Container for other widgets, and includes a ajax interface","description":"A widget that can be used as a standalone widget\nor as a baseclass for other widgets\nHandles replacement of document fragment using either external uri or javascript\ngenerated markup or DOM content, instantiating widgets within that content.\nDon't confuse it with an iframe, it only needs\/wants document fragments.\nIt's useful as a child of LayoutContainer, SplitContainer, or TabContainer.\nBut note that those classes can contain any widget as a child.\nexample:\nSome quick samples:\nTo change the innerHTML use .setContent('new content<\/b>')\n\nOr you can send it a NodeList, .setContent(dojo.query('div [class=selected]', userSelection))\nplease note that the nodes in NodeList will copied, not moved\n\nTo do a ajax update use .setHref('url')","examples":null},{"namespace":"dijit","className":"dijit.layout.LayoutContainer","summary":"Provides Delphi-style panel layout semantics.\n\ndetails\nA LayoutContainer is a box with a specified size (like style=\"width: 500px; height: 500px;\"),\nthat contains children widgets marked with \"layoutAlign\" of \"left\", \"right\", \"bottom\", \"top\", and \"client\".\nIt takes it's children marked as left\/top\/bottom\/right, and lays them out along the edges of the box,\nand then it takes the child marked \"client\" and puts it into the remaining space in the middle.\n\nLeft\/right positioning is similar to CSS's \"float: left\" and \"float: right\",\nand top\/bottom positioning would be similar to \"float: top\" and \"float: bottom\", if there were such\nCSS.\n\nNote that there can only be one client element, but there can be multiple left, right, top,\nor bottom elements.\n\nusage\n - - - - - - - - - - -

    Rich Text Test

    - -
    -

    test case for bug #6112

    - -
    - - diff --git a/includes/js/dijit/tests/_editor/test_CustomPlugin.html b/includes/js/dijit/tests/_editor/test_CustomPlugin.html deleted file mode 100644 index eb8f650..0000000 --- a/includes/js/dijit/tests/_editor/test_CustomPlugin.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - Editor Custom Plugin Test/Tutorial - - - - - - - - -

    - This editor should have my custom create link plugin -

    - - \ No newline at end of file diff --git a/includes/js/dijit/tests/_editor/test_RichText.html b/includes/js/dijit/tests/_editor/test_RichText.html deleted file mode 100644 index 0428edf..0000000 --- a/includes/js/dijit/tests/_editor/test_RichText.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - Rich Text System Test - - - - - - - - - - - - -

    Rich Text Test

    - -
    -

    thud

    - - - -
    - -
    -

    blah

    -
    -
      -
    • Right click on the client area of the page (ctrl-click for Macintosh). Menu should open.
    • -
    • Right click on each of the form controls above. Menu should open.
    • -
    • Right click near the righthand window border. Menu should open to the left of the pointer.
    • -
    • Right click near the bottom window border. Menu should open above the pointer.
    • -
    -
    -

    ..after

    -
    - - - diff --git a/includes/js/dijit/tests/_editor/test_ToggleDir.html b/includes/js/dijit/tests/_editor/test_ToggleDir.html deleted file mode 100644 index ec66c75..0000000 --- a/includes/js/dijit/tests/_editor/test_ToggleDir.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - Editor Test2 - - - - - - - - -
    - -
    - - diff --git a/includes/js/dijit/tests/_editor/test_richtext.css b/includes/js/dijit/tests/_editor/test_richtext.css deleted file mode 100644 index 933acb8..0000000 --- a/includes/js/dijit/tests/_editor/test_richtext.css +++ /dev/null @@ -1,4 +0,0 @@ -h1 { - border: 1px solid black; - background-color:red; -} diff --git a/includes/js/dijit/tests/_editor/test_richtext.css.commented.css b/includes/js/dijit/tests/_editor/test_richtext.css.commented.css deleted file mode 100644 index 933acb8..0000000 --- a/includes/js/dijit/tests/_editor/test_richtext.css.commented.css +++ /dev/null @@ -1,4 +0,0 @@ -h1 { - border: 1px solid black; - background-color:red; -} diff --git a/includes/js/dijit/tests/_programaticTest.html b/includes/js/dijit/tests/_programaticTest.html deleted file mode 100644 index 41b1815..0000000 --- a/includes/js/dijit/tests/_programaticTest.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - Dijit raw programatic test suite | The Dojo Toolkit - - - - - - - - - - -
    - - - diff --git a/includes/js/dijit/tests/_testCommon.js b/includes/js/dijit/tests/_testCommon.js deleted file mode 100644 index 519675f..0000000 --- a/includes/js/dijit/tests/_testCommon.js +++ /dev/null @@ -1,103 +0,0 @@ -/* - _testCommon.js - a simple module to be included in dijit test pages to allow - for easy switching between the many many points of the test-matrix. - - in your test browser, provides a way to switch between available themes, - and optionally enable RTL (right to left) mode, and/or dijit_a11y (high- - constrast/image off emulation) ... probably not a genuine test for a11y. - - usage: on any dijit test_* page, press ctrl-f9 to popup links. - - there are currently (2 themes * 4 tests) * (10 variations of supported browsers) - not including testing individual locale-strings - - you should not be using this in a production enviroment. include - your css and set your classes manually. for test purposes only ... -*/ - -(function(){ - var d = dojo; - var theme = false; var testMode; - if(window.location.href.indexOf("?") > -1){ - var str = window.location.href.substr(window.location.href.indexOf("?")+1).split(/#/); - var ary = str[0].split(/&/); - for(var i=0; i'); - document.write(''); - - if(dojo.config.parseOnLoad){ - dojo.config.parseOnLoad = false; - dojo.config._deferParsing = true; - } - - d.addOnLoad(function(){ - - // set the classes - if(!d.hasClass(d.body(),theme)){ d.addClass(d.body(),theme); } - if(testMode){ d.addClass(d.body(),testMode); } - - // test-link matrix code: - var node = document.createElement('div'); - node.id = "testNodeDialog"; - d.addClass(node,"dijitTestNodeDialog"); - d.body().appendChild(node); - - _populateTestDialog(node); - - d.connect(document,"onkeypress", function _testNodeShow(/* Event */evt){ - var key = (evt.charCode == d.keys.SPACE ? d.keys.SPACE : evt.keyCode); - if(evt.ctrlKey && (key == d.keys.F9)){ // F9 is generic enough? - d.style('testNodeDialog',"top",(dijit.getViewport().t + 4) +"px"); - d.toggleClass('testNodeDialog',"dijitTestNodeShowing"); - } - }); - - if(dojo.config._deferParsing){ d.parser.parse(d.body()); } - - }); - - var _populateTestDialog = function(/* DomNode */node){ - // pseudo-function to populate our test-martix-link pop-up - var base = window.location.pathname; - var str = ""; - var themes = ["tundra",/*"noir", */ "soria", "nihilo" /* ,"squid" */ ]; - str += "Tests:
    "; - d.forEach(themes,function(t){ - str += ''+ - ''+ - ''+ - ''+ - // too many potential locales to list, use &locale=[lang] to set - ''; - }); - str += ''; - str += ''; - node.innerHTML = str + "
    '+t+'rtla11ya11y+rtl
    jump to: themeTester
    or: tests folder
    "; - } -})(); diff --git a/includes/js/dijit/tests/css/dijitTests.css b/includes/js/dijit/tests/css/dijitTests.css deleted file mode 100644 index cc2f7e4..0000000 --- a/includes/js/dijit/tests/css/dijitTests.css +++ /dev/null @@ -1,69 +0,0 @@ - -body { - background:#fff url("../images/testsBodyBg.gif") repeat-x top left; - padding:2em 2em 2em 2em; -} -h1.testTitle { - font-size:2em; - margin:0 0 1em 0; -} -.plusIcon, .plusBlockIcon { - background-image: url(../images/plus.gif); - background-repeat: no-repeat; - width: 16px; - height: 16px; -} -.plusBlockIcon { - display: block !important; -} -.noteIcon { - background-image: url(../images/note.gif); - background-repeat: no-repeat; - width: 20px; - height: 20px; -} -.flatScreenIcon { - background-image: url(../images/flatScreen.gif); - background-repeat: no-repeat; - width: 32px; - height: 32px; -} -.dijitTestNodeDialog { - position:absolute; - top:5px; - right:5px; - display:block; - width:200px; - visibility:hidden; - background-color:#fff !important; - color:#000 !important; - border:1px solid #000; - padding:5px; -} -.dijitTestNodeDialog table { - background-color:#fff !important; -} -.dijitTestNodeDialog td { - padding:3px; -} -.dijitTestNodeShowing { - visibility:visible; -} -.customFolderOpenedIcon, .customFolderClosedIcon { - background-image: url('../../demos/mail/icons.png'); - background-repeat: no-repeat; - width: 16px; - height: 16px; - text-align: center; - padding-right:4px; - background-position: -44px; -} -.dj_ie6 .customFolderOpenedIcon, .dj_ie6 .customFolderClosedIcon { - background-image: url('../../demos/mail/icons.gif'); -} -.customFolderClosedIcon { - background-position: -154px; -} -body .medium { - font-size: larger; -} diff --git a/includes/js/dijit/tests/css/dijitTests.css.commented.css b/includes/js/dijit/tests/css/dijitTests.css.commented.css deleted file mode 100644 index dc91d16..0000000 --- a/includes/js/dijit/tests/css/dijitTests.css.commented.css +++ /dev/null @@ -1,78 +0,0 @@ -/* Test file styles for Dijit widgets */ - -body { - background:#fff url("../images/testsBodyBg.gif") repeat-x top left; - padding:2em 2em 2em 2em; -} - -h1.testTitle { - font-size:2em; - margin:0 0 1em 0; -} - -/* Icons used in the tests */ - -.plusIcon, .plusBlockIcon { - background-image: url(../images/plus.gif); - background-repeat: no-repeat; - width: 16px; - height: 16px; -} -.plusBlockIcon { - display: block !important; -} -.noteIcon { - background-image: url(../images/note.gif); - background-repeat: no-repeat; - width: 20px; - height: 20px; -} -.flatScreenIcon { - background-image: url(../images/flatScreen.gif); - background-repeat: no-repeat; - width: 32px; - height: 32px; -} -.dijitTestNodeDialog { - position:absolute; - top:5px; - right:5px; - display:block; - width:200px; - visibility:hidden; - background-color:#fff !important; - color:#000 !important; - border:1px solid #000; - padding:5px; -} -.dijitTestNodeDialog table { - background-color:#fff !important; -} -.dijitTestNodeDialog td { - padding:3px; -} -.dijitTestNodeShowing { - visibility:visible; -} - -.customFolderOpenedIcon, .customFolderClosedIcon { - background-image: url('../../demos/mail/icons.png'); /* mail icons sprite image */ - background-repeat: no-repeat; - width: 16px; - height: 16px; - text-align: center; - padding-right:4px; - background-position: -44px; -} - -.dj_ie6 .customFolderOpenedIcon, .dj_ie6 .customFolderClosedIcon { - background-image: url('../../demos/mail/icons.gif'); -} - -.customFolderClosedIcon { - background-position: -154px; -} - -body .medium { - font-size: larger; /* help test widget sizing */ -} diff --git a/includes/js/dijit/tests/form/Form.html b/includes/js/dijit/tests/form/Form.html deleted file mode 100644 index 312399a..0000000 --- a/includes/js/dijit/tests/form/Form.html +++ /dev/null @@ -1,354 +0,0 @@ - - - - - Form unit test - - - - - - - -

    Form Widget Unit Test

    -

    - The form widget takes data in a form and serializes/deserializes it, so - it can be submitted as a JSON string of nested objects. -

    -
    Currently only widgets are supported, not raw elements.
    - -
    - - - -

    Just HTML text

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    DescriptionNameForm node/widget
    DateTextBox inside contentpanefoo.bar.baz.quux -
    - -
    -
    Layoutcontainer -
    -
    DateTextBox 1available.from - -
    DateTextBox 2available.to - -
    ComboBoxplop.combo - -
    CheckBox widgetcb2 - 1 - 2 - 3 - 4 -
    Radio widgetr2 - 1 - 2 - 3 - 4 -
    Multi-selectms1 - -
    Hidden inputh1 - -
    Auto-sizing textareat1 - -
    Fixed size textareast1 - -
    Editor widgetrichtext - -
    File uploadfilename - -
    - - - - - -
    - - - - diff --git a/includes/js/dijit/tests/form/Form.js b/includes/js/dijit/tests/form/Form.js deleted file mode 100644 index f0f6d8d..0000000 --- a/includes/js/dijit/tests/form/Form.js +++ /dev/null @@ -1,9 +0,0 @@ -if(!dojo._hasResource["dijit.tests.form.Form"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests.form.Form"] = true; -dojo.provide("dijit.tests.form.Form"); - -if(dojo.isBrowser){ - doh.registerUrl("dijit.tests.form.Form", dojo.moduleUrl("dijit", "tests/form/Form.html")); -} - -} diff --git a/includes/js/dijit/tests/form/images/Alabama.jpg b/includes/js/dijit/tests/form/images/Alabama.jpg deleted file mode 100644 index f2018e6..0000000 Binary files a/includes/js/dijit/tests/form/images/Alabama.jpg and /dev/null differ diff --git a/includes/js/dijit/tests/form/test_Button.html b/includes/js/dijit/tests/form/test_Button.html deleted file mode 100644 index 7c04f50..0000000 --- a/includes/js/dijit/tests/form/test_Button.html +++ /dev/null @@ -1,286 +0,0 @@ - - - - Dojo Button Widget Test - - - - - - - - - -

    Dijit Button Test

    -

    Simple, drop down & combo buttons

    -

    - Buttons can do an action, display a menu, or both: -

    -
    - - tooltip on button -
    - Edit! -
    -
    Cut
    -
    Copy
    -
    Paste
    -
    -
    - Submenu - -
    -
    -
    -
    - Color - -
    -
    - Save - -
    - -
    -
    -

    Buttons with no text label

    -

    Buttons have showLabel=false so text is not displayed. Should have title attribute displayed on mouse over

    -
    - -
    - Color - -
    -
    - Save - -
    -
    -
    -

    Toggle buttons

    -

    The button CSS as well as the icon CSS can change on toggle

    -
    - - -
    -
    -

    Sizing

    -

    Short button, tall buttons, big buttons, small buttons... - These buttons size to their content (just like <button>).

    -
    - - - - -
    -
    -
    -

    Customized buttons

    -

    Dojo users can customize styles. Here's an example:

    - -
    - - - -
    -
    -

    Toggling the display test

    -

    - (Ticket #403) -

    -
    - -
    - -
    -

    Programatically changing buttons

    -

    clicking the buttons below will change the buttons above

    - -
    - - - -
    -

    Button instantiated via javacript:

    -
    - -

    DropDownButton instantiated via javacript:

    - - - - - - - diff --git a/includes/js/dijit/tests/form/test_CheckBox.html b/includes/js/dijit/tests/form/test_CheckBox.html deleted file mode 100644 index 4358270..0000000 --- a/includes/js/dijit/tests/form/test_CheckBox.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - CheckBox Widget Demo - - - - - - - - - -

    Dijit CheckBox Test

    -

    - Here are some checkboxes. Try clicking, and hovering, tabbing, and using the space bar to select: -

    - - -
    - - -
    - - -
    - - - "onChange" handler updates: [] -
    - - -
    - - -
    - - -
    -
    - -
    - - - - - - - "onChange" handler updates: [] -
    -

    - Here are some radio buttons. Try clicking, and hovering, tabbing, and arrowing -

    -

    - Radio group #1: - - - - - - -

    -

    - Radio group #2: (no default value, and has breaks)
    - -
    - -
    - -
    - (Note if using keyboard: tab to navigate, and use arrow or space to select) -

    -

    - Radio group #3 (native radio buttons): - - - - - - -

    - -
    - - - - diff --git a/includes/js/dijit/tests/form/test_ComboBox.html b/includes/js/dijit/tests/form/test_ComboBox.html deleted file mode 100644 index 895a968..0000000 --- a/includes/js/dijit/tests/form/test_ComboBox.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - Dojo ComboBox Widget Test - - - - - - - - - - -

    Dojo ComboBox Widget Test

    -

    -A ComboBox is like a text <input> field (ie, you can input any value you want), -but it also has a list of suggested values that you can choose from. -The drop down list is filtered by the data you have already typed in. -

    -
    - -

    ComboBox #1: inlined data, autoComplete=false, default value of Iowa, pageSize=30

    - (200% Courier font): - -
    onChange: - - - -
    - -
    - -
    - -

    ComboBox #2: url, autoComplete=true:

    - (8pt font): - - Value: -
    - (150% font): - - Hey look, this one is kind of useful. -
    - -

    ComboBox #3: initially disabled, url, autoComplete=false:

    - - - Value: -
    - -
    -
    -

    ComboBox #4: url, autoComplete=false required=true:

    - - - Value: -
    -

    A ComboBox with no arrow

    - -
    -

    A combo created by createWidget

    - -
    -

    A ComboBox with an initial query. (Limits list to items with type = country.)

    - -
    - - - -
    -

    -This is some text below the ComboBoxes. It shouldn't get pushed out of the way when search results get returned. -also: adding a simple combo box to test IE bleed through problem: -

    - - -

    Some tests:

    -
      -
    1. Type in D - dropdown shows Delaware and District of columbia. [Would be nice if it bolded the D's in the dropdown list!]
    2. -
    3. Type in DX - input box shows DX and no dropdown.
    4. -
    5. Open dropdown, click an item, it selects and closes dropdown.
    6. -
    7. Click triangle icon - dropdown shows. Click it again - dropdown goes.
    8. -
    9. Check that you can type in more than required (e.g. alaba for alabama) and it still correctly shows alabama
    10. -
    11. Tab into the combo works, list should not apear.
    12. -
    13. Tab out of the combo works - closes dropdown and goes to next control (focus should not go to the dropdown because tabindex="-1").
    14. -
    15. Do the dropdown and click outside of it - the dropdown disappears.
    16. -
    17. Javascript disabled -> fallback to old style combo?
    18. -
    19. Can you paste in the start of a match? [no]
    20. -
    21. Backspace to start - dropdown shows all all items
    22. -
    23. Backspace deselects last character [Borked: currently you have to backspace twice]
    24. -
    25. Press down key to open dropdown
    26. -
    27. Down and up keys select previous/next in dropdown.
    28. -
    29. Non-alpha keys (F12, ctrl-c, whatever) should not affect dropdown.
    30. -
    31. Press down arrow to highlight an item, pressing enter selects it and closes dropdown.
    32. -
    33. Press down arrow to highlight an item, pressing space selects it and closes dropdown.
    34. -
    35. Check that pressing escape undoes the previous action and closes the dropdown
    36. -
    37. Check that pressing escape again clears the input box.
    38. -
    39. In IE, mouse scroll wheel scrolls through the list. Scrolls by 1 item per click even if user has set mouse to scroll more than 1 in mouse settings. Only scrolls if text input has focus (page scrolling works as normal otherwise)
    40. -
    41. In IE, dropdown list does not go behind the second combo (special code to manage this).
    42. -
    43. Check dropdown is aligned correctly with bottom of the text input
    44. -
    45. Probably should try the combo in a relative div or absolute div and see where the dropdown ends up. (Strongly suspect problems in this area in IE - boo)
    46. -
    47. Try repeatably droppingdown and closing the dropdown. Shouldnt get hung [sometimes flicks closed just after opening due to timers, but not a biggie]
    48. -
    49. Check that default selection of the text makes sense. e.g. text is selected after picking an item, on tabbing in to text input etc)
    50. -
    51. Check that dropdown is smooth [looks uggy on second keypress in FF - hides then shows]
    52. -
    53. Clear the field. Type in A and then tab *very quickly* and see if the results make sense (the dropdown is on a timer - searchTimer)
    54. -
    55. Clear the field and enter an invalid entry and tab out e.g. Qualude. Does that make sense given the combobox setup options?
    56. -
    57. (Add any other tests here)
    58. -
    -
    - -
    - - diff --git a/includes/js/dijit/tests/form/test_ComboBox_destroy.html b/includes/js/dijit/tests/form/test_ComboBox_destroy.html deleted file mode 100644 index 0713b19..0000000 --- a/includes/js/dijit/tests/form/test_ComboBox_destroy.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - Dojo ComboBox Widget Destruction Issue - - - - - - - - - -

    Dojo ComboBox Widget Destruction Issue

    -

    - ComboBox does not destroy itself properly, leading to a - JavaScript error. Could it have something to do with not disconnecting - events? -

    -

    - Steps: -
      -
    1. Pick a state from the combo box below.
    2. -
    3. Click the "killit" button, which calls destroy on the widget.
    4. -
    5. Observe the JavaScript error.
    6. -
    -

    -
    - - -
    - - diff --git a/includes/js/dijit/tests/form/test_DateTextBox.html b/includes/js/dijit/tests/form/test_DateTextBox.html deleted file mode 100644 index d36ac73..0000000 --- a/includes/js/dijit/tests/form/test_DateTextBox.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - Test DateTextBox Widget - - - - - - - - - - -

    Test DateTextBox Widget

    - -
    -
    - - DateTextBox class, no attributes -
    -
    - - onChange: -
    -
    - - DateTextBox class, - Attributes: required="true", trim="true", constraints={min:'2004-01-01',max:'2006-12-31',formatLength:'long'}. Works for leap years -
    -
    - - onChange: - - -
    -
    - - DateTextBox class, - Attributes: lang="en-us", required="true", constraints={min:'2004-01-01',max:'2006-12-31'}. Works for leap years -
    -
    - -
    -
    - - DateTextBox class, - Attributes: lang="de-de", constraints={min:2004-01-01, max:2006-12-31}. Works for leap years -
    -
    - -
    - -
    - - Date, overriding pattern with dd-MM-yyyy -
    -
    - -
    - - - - - -
    - -
    -
    - From: - To: -
    - -
    - - - -
    -
    - - diff --git a/includes/js/dijit/tests/form/test_FilteringSelect.html b/includes/js/dijit/tests/form/test_FilteringSelect.html deleted file mode 100644 index d40af13..0000000 --- a/includes/js/dijit/tests/form/test_FilteringSelect.html +++ /dev/null @@ -1,296 +0,0 @@ - - - - Dojo FilteringSelect Widget Test - - - - - - - - - - -

    Dojo FilteringSelect Widget Test

    -
    -
    -

    The FilteringSelect widget is an enhanced version of HTML's <select> tag.

    -

    Similar features:

    -
      -
    • There is a drop down list of possible values.
    • -
    • You can only enter a value from the drop down list. (You can't enter an arbitrary value.)
    • -
    • The value submitted with the form is the hidden value (ex: CA),
    • -
    • not the displayed value a.k.a. label (ex: California)
    • -
    -

    - - -

    Enhancements over plain HTML version:

    -
      -
    • If you type in some text then it will filter down the list of possible values in the drop down list.
    • -
    • List can be specified either as a static list or via a javascript function (that can get the list from a server)
    • -
    -

    - -
    - -
    -

    FilteringSelect #1: inlined data, autoComplete=false:

    - - - onChange: - - -
    - -
    - -

    FilteringSelect #2: url, autoComplete=true:

    - - - Value: - -

    FilteringSelect #3: url, autoComplete=false:

    - - - Value: -
    -

    FilteringSelect #5: custom labelFunc (value in textbox should be lower case when onChange is called), autoComplete=true:

    - - -
    -
    - -

    FilteringSelect #7: Input method editor Chinese characters

    -

    Using an input method editor (see IME for Windows) try typing 阿 (a) or 把 (ba).

    - - -
    -
    -

    FilteringSelect #8: Japanese

    -

    Try typing 東、西、北、南 (north, south, east west) and a few choices will pop up.

    - - - Value: -
    -

    FilteringSelect #9: No data

    -

    This FilteringSelect has no options to choose from. It should still load.

    - - -
    -
    -

    FilteringSelect #10: hasDownArrow=false:

    - - -
    -
    -
    -

    FilteringSelect #11: deep data, initial query of type=country:

    - - -
    -
    -

    FilteringSelect #12: special characters

    -

    The drop down list should be:

    -
      -
    • sticks & stones -
    • rags --> riches -
    • more\less -
    • 3 * 5 -
    - - -
    -
    - - -

    - this is some text below the combo boxes. It shouldn't get pushed out of - the way when search results get returned. also: adding a simple combo - box to test IE bleed through problem: -

    - - - - -
    - - diff --git a/includes/js/dijit/tests/form/test_Form_onsubmit.html b/includes/js/dijit/tests/form/test_Form_onsubmit.html deleted file mode 100644 index d8b43fa..0000000 --- a/includes/js/dijit/tests/form/test_Form_onsubmit.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - Form unit test - - - - - - -

    Form Widget Unit Test

    -
    -

    This form shouldn't submit, nor reset

    - - - -
    - -
    -

    This form shouldn't submit, nor reset

    - - - -
    - -
    -

    This form should submit and reset

    - - - -
    - -
    -

    This form should submit and reset

    - - - -
    - - diff --git a/includes/js/dijit/tests/form/test_MultiSelect.html b/includes/js/dijit/tests/form/test_MultiSelect.html deleted file mode 100644 index 9f03d80..0000000 --- a/includes/js/dijit/tests/form/test_MultiSelect.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - Testing MultiSelect form widget | The Dojo Toolkit - - - - - - - - - - - -

    dijit.form.MultiSelect:

    - -
    - - - - - - - - - - -

    - - - - - -
    - - - -

    markup:

    - - - -

    - - - - diff --git a/includes/js/dijit/tests/form/test_SimpleTextarea.html b/includes/js/dijit/tests/form/test_SimpleTextarea.html deleted file mode 100644 index 9462447..0000000 --- a/includes/js/dijit/tests/form/test_SimpleTextarea.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - Testing SimpleTextArea | The Dojo Toolkit - - - - - - - - - - - - -

    SimpleTextarea

    - -

    - This is a simple text area that doesn't automatically size itself according to it's content. - It can be used inside layout containers. -

    - -

    Plain textarea (rows=5, cols=50)

    - - -

    In a BorderContainer

    - -
    - - - - - -
    - - diff --git a/includes/js/dijit/tests/form/test_Slider.html b/includes/js/dijit/tests/form/test_Slider.html deleted file mode 100644 index f1d0442..0000000 --- a/includes/js/dijit/tests/form/test_Slider.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - Dojo Slider Widget Demo - - - - - - - - - - -

    Slider

    - Also try using the arrow keys, buttons, or clicking on the progress bar to move the slider. -
    - -
    -
    initial value=10, min=0, max=100, pageIncrement=100, onChange event triggers input box value change immediately
    - -
    -
      -
      -
      -
        -
      1. lowest
      2. -
      3. normal
      4. -
      5. highest
      6. -
      -
      - - Slider1 Value: -
      - - -
      -
      initial value=10, min=0, max=100, onChange event triggers input box value change when you mouse up or tab away
      -
      -
        -
      1. 0
      2. -
      3. 100
      4. -
      -
      -
      -
        -
        - Slider2 Value: -

        Fancy HTML labels (no slide animation):

        -
        -
        -
          -

        1. small
        2. -

        3. medium
        4. -

        5. large
        6. -
        -
        - -

        Standalone ruler example:

        - -
        -
        -
        -
        -
        -
          -
        1. -
        2. 1
        3. -
        4. 2
        5. -
        -
        - -

        horizontal, with buttons, disabled (to show styling):

        - -
        -
          -
          -
          -
            -
          1. lowest
          2. -
          3. normal
          4. -
          5. highest
          6. -
          -
          - - -

          Completely Programatic VerticalSlider and VerticalRule

          -

          min:1000, max:3000, 11 discrete values, no animation

          - -
          - Programmatic Value: - - - -
          - - -
          - -
          - - diff --git a/includes/js/dijit/tests/form/test_Spinner.html b/includes/js/dijit/tests/form/test_Spinner.html deleted file mode 100644 index e9af53c..0000000 --- a/includes/js/dijit/tests/form/test_Spinner.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - Dojo Spinner Widget Test - - - - - - - - - - -

          Dijit Spinner Test

          - Try typing values, and use the up/down arrow keys and/or the arrow push - buttons to spin -
          -
          -

          number spinner

          -
          - initial value=900, no delta specified, no min specified, max=1550, onChange captured
          -
          - - onChange: -
          -
          - initial value=1000, delta=10, min=9 max=1550
          - - -
          -
          - initial value not specified, delta not specified, min not specified, max not specified, signed not specified, separator not specified
          - [verify no line break just after this text] - - [verify no line break just before this text] -
          -
          - Move the cursor left and right within the input field to see the effect on the spinner. -
          - initial value=+1.0, delta=0.1, min=-10.9, max=155, places=1, maxLength=20
          -
          - -
          - - -
          - - -
          - -
          - - diff --git a/includes/js/dijit/tests/form/test_Textarea.html b/includes/js/dijit/tests/form/test_Textarea.html deleted file mode 100644 index c885aa6..0000000 --- a/includes/js/dijit/tests/form/test_Textarea.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - Dojo Textarea Widget Demo - - - - - - - - - -

          Test Auto-sizing Textarea Widget

          - - -
          - -
          - -
          this is a very simple resizable text area
          - onChange: -
          - - - - -
          - - -
          - - -
          - -
          - - diff --git a/includes/js/dijit/tests/form/test_TimeTextBox.html b/includes/js/dijit/tests/form/test_TimeTextBox.html deleted file mode 100644 index f68a28d..0000000 --- a/includes/js/dijit/tests/form/test_TimeTextBox.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - Test TimeTextBox Widget - - - - - - - - - - -

          Test TimeTextBox Widget

          - -
          - -
          - - TimeTextBox class, - Attributes: {formatLength:'medium'} -
          -
          - - onChange: -
          - -
          - - TimeTextBox class, - Attributes: {formatLength:'short'} -
          -
          - -
          - -
          - - TimeTextBox class, - Attributes: {timePattern:'h:mm:ss a'} -
          -
          - -
          - -
          - - TimeTextBox class, - Attributes: {timePattern:'HH:mm:ss'} -
          -
          - -
          - -
          - - TimeTextBox class, - Attributes: {timePattern:'HH:mm:ss', clickableIncrement:'T00:15:00', visibleIncrement:'T00:15:00', visibleRange:'T01:00:00'} -
          -
          - -
          - - - -
          - - -
          - -
          - - diff --git a/includes/js/dijit/tests/form/test_validate.html b/includes/js/dijit/tests/form/test_validate.html deleted file mode 100644 index f6d1cde..0000000 --- a/includes/js/dijit/tests/form/test_validate.html +++ /dev/null @@ -1,428 +0,0 @@ - - - - Test TextBox Validation Widgets - - - - - - - - - - -

          Dijit Validation Widgets

          - -
          - -
          - - TextBox class, tabIndex=2, Attributes: {trim: true, propercase: true, style: 'width:700px'}, First letter of each word is upper case. -
          -
          - -
          onChange: -
          - -
          - - TextBox class, Attributes: {trim: true, uppercase: true, class: 'verylong'}, all letters converted to upper case. -
          -
          - -
          - -
          - - NumberTextBox class, tabIndex=1, Attributes: {trim: true}, no initial value specified, tooltipPosition=[above, below] -
          -
          - -
          - -
          - - ValidationTextBox class, - Attributes: {lowercase: true, required: true, class: verylong, style: font-size: 15pt;}. Displays a prompt message if field is missing. -
          -
          - -
          - -
          - - IntegerTextBox class, - Attributes: {required: true, min:-20000, max:+20000 }, Enter feet above sea level with a sign. -
          -
          - - onChange: -
          - - - -
          - - CurrencyTextBox class, - Attributes: {fractional: true}. Enter whole and cents. Currency symbol is optional. -
          - -
          - USD -  onChange: -
          - -
          - euro currency (local format) fractional part is optional: - EUR - - - -
          - - -
          - euro currency (fixed lang: de-de) programmatically created, fractional part is optional: EUR -
          - - - - -
          - - RegexpTextBox class, - Attributes: {required: true} -
          -
          - -
          - -
          - - (just a test that type attribute is obeyed) -
          -
          - -
          - -
          - - value: null should show up as empty -
          -
          - -
          - - - -
          - - a test that readOnly is understood -
          -
          - - - -
          - - - -
          - - -
          - -
          -

          Tooltip positioning

          -

          - These buttons switch the positions searched to try to place the validation error tooltips. - Note that setting tooltip positioning to "above" or "below" is dangerous if - you have a node with a dropdown, but the drop down might overlap the tooltip. -

          - - - - diff --git a/includes/js/dijit/tests/i18n/README b/includes/js/dijit/tests/i18n/README deleted file mode 100644 index a6516b6..0000000 --- a/includes/js/dijit/tests/i18n/README +++ /dev/null @@ -1,4 +0,0 @@ -Global Verification Tests (GVT) - -In order to run these tests, you will need full locale support in Dojo. Dojo only ships with a small subset by default. -See util/buildscripts/cldr for an ant-based build script. diff --git a/includes/js/dijit/tests/i18n/currency.html b/includes/js/dijit/tests/i18n/currency.html deleted file mode 100644 index 62108b2..0000000 --- a/includes/js/dijit/tests/i18n/currency.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - Test CurrencyTextBox - - - - - - - - - - - - -

          Dijit TextBox Globalization Test for Currency

          - - -

          - Before start this test, make sure the dojo/cldr/nls contains the data for "zh-cn", "fr-fr", and "ja-jp" - and currencies CNY, EGP, EUR, JPY. If not, convert these CLDR data and put them there. -

          - - - -

          Issues & Comments

          -

          Issue #1Fixed

          -

          - Some browsers like FireFox have a bug on the non-breaking space character (U+00A0, &nbsp; or &#160; or - &#xA0; in HTML). - They always convert the NBSP character to a normal space (U+0020, &#x20; in HTML) automatically in the following circumstances: -

          -
            -
          • Copy text from the page
          • -
          • Use innerHTML to get the content of a certain element
          • -
          • Use value to get an INPUT element's value
          • -
          - -

          - You cannot read a real NBSP character from an INPUT element on these browsers. It causes issues when some formatting data in CLDR - contains an NBSP character. For example, -

          -
            -
          • Many locales like French use an NBSP character as a group separator in numbers
          • -
          • French and Finnish use NBSP characters in their percentage and currency format patterns respectively
          • -
          - -

          - So Dojo may generate formatted data with NBSP characters in it but cannot read NBSP charaters from user's input in some browser. -

          - -

          Issue #2Fixed: the CLDR data generator should be fixed by adding code to convert U+200F to "\u200F" in nls JS files.

          -

          - Most Bidi currency symbols contain an LTR-MARK (U+200F) character at the very beginning. - But Firefox ignores it when it is not in any escaping form. This should be a bug of Firefox. - For example, click alert('‏'.indexOf('\u+200F')) (there is a U+200F in the empty-looking string): -

          -
            -
          • In Firefox, shows "-1" -- no U+200F found
          • -
          • In IE & Opera, shows "0" -- the U+200F is found
          • -
          -

          - But if the U+200F is in some escaping form, Firefox will work as well as other browsers. - Click alert('\u200F'.indexOf('\u+200F')) to see the same result both in Firefox and IE: -

          - - -

          Issue #3Fixed: added a "localeDigit" to the options

          -

          - Strictly speaking, the data conversion must support non-European number characters in some locales like Arabic and Hindi. - For example, ICU formats a number data into Indic number characters by default in the Arabic locale. - However, currently Dojo does not support this feature (Dojo uses the default number conversion of the browser). -

          - - - diff --git a/includes/js/dijit/tests/i18n/date.html b/includes/js/dijit/tests/i18n/date.html deleted file mode 100644 index b4aa4cd..0000000 --- a/includes/js/dijit/tests/i18n/date.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - Test DateTextBox - - - - - - - - - - - - - -

          Dijit TextBox Globalization Test for Date

          - - -

          - Before start this test, make sure the dojo/cldr/nls contains the data for "zh-cn", "fr-fr", "ja-jp", "ru-ru", "hi-in", "en-us" and "ar-eg". If not, convert these CLDR data and put them there. -

          - - - - diff --git a/includes/js/dijit/tests/i18n/digit.html b/includes/js/dijit/tests/i18n/digit.html deleted file mode 100644 index dc3ed7a..0000000 --- a/includes/js/dijit/tests/i18n/digit.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - Test Hindi/Arabic numerals - - - - - - - - - - - - - -

          Dijit TextBox Globalization Test for Number

          - - -

          - Before start this test, make sure the dojo/cldr/nls contains the data for "ar-eg" and "hi-in". If not, convert these CLDR data and put them there. -

          - - - - - - - diff --git a/includes/js/dijit/tests/i18n/module.js b/includes/js/dijit/tests/i18n/module.js deleted file mode 100644 index b484737..0000000 --- a/includes/js/dijit/tests/i18n/module.js +++ /dev/null @@ -1,18 +0,0 @@ -if(!dojo._hasResource["dijit.tests.i18n.module"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests.i18n.module"] = true; -dojo.provide("dijit.tests.i18n.module"); - -try{ - if(dojo.isBrowser){ - doh.registerUrl("dijit.tests.i18n.currency", dojo.moduleUrl("dijit", "tests/i18n/currency.html")); - doh.registerUrl("dijit.tests.i18n.date", dojo.moduleUrl("dijit", "tests/i18n/date.html")); - doh.registerUrl("dijit.tests.i18n.number", dojo.moduleUrl("dijit", "tests/i18n/number.html")); - doh.registerUrl("dijit.tests.i18n.textbox", dojo.moduleUrl("dijit", "tests/i18n/textbox.html")); - doh.registerUrl("dijit.tests.i18n.time", dojo.moduleUrl("dijit", "tests/i18n/time.html")); - doh.registerUrl("dijit.tests.i18n.digit", dojo.moduleUrl("dijit", "tests/i18n/digit.html")); - } -}catch(e){ - doh.debug(e); -} - -} diff --git a/includes/js/dijit/tests/i18n/number.html b/includes/js/dijit/tests/i18n/number.html deleted file mode 100644 index 0a1b717..0000000 --- a/includes/js/dijit/tests/i18n/number.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - Test NumberTextBox - - - - - - - - - - - - -

          Dijit TextBox Globalization Test for Number

          - - -

          - Before start this test, make sure the dojo/cldr/nls contains the data for "zh-cn", "fr-fr". If not, convert these CLDR data and put them there. -

          - - - - - - diff --git a/includes/js/dijit/tests/i18n/test_i18n.js b/includes/js/dijit/tests/i18n/test_i18n.js deleted file mode 100644 index bc44e63..0000000 --- a/includes/js/dijit/tests/i18n/test_i18n.js +++ /dev/null @@ -1,206 +0,0 @@ -var validateValues = []; -var formatWidgetCount = 0; -var validateWidgetCount = 0; - -function getElementsById(id){ - var result = []; - - if(!id || typeof(id) != "string"){ - return result; - } - - var ae = document.getElementsByTagName(dojo.byId(id).tagName); - for(var i = 0; i < ae.length; i++){ - if(ae[i].id == id){ - result.push(ae[i]); - } - } - return result; -} - -function getString(n){ - return n && n.toString(); -} - -function startTest(t){ - startTestFormat(t); - startTestValidate(t); -} - -function escapeEx(s){ - var result = ""; - for(var i = 0; i < s.length; i++){ - var c = s.charAt(i); - switch (c){ - case '"': - result += '\\"'; - break; - case "'": - result += "\\'"; - break; - default: - result += escape(c); - break; - } - } - return result; -} - -function getAllTestCases(){ - var allTestCases = []; - for(var i = 0; i < formatWidgetCount; i++){ - allTestCases.push({ - name: "format-" + i, - runTest: new Function("t", "startTestFormat(" + i + ", t)") - }); - } - for(var i = 0; i < validateWidgetCount; i++){ - allTestCases.push({ - name: "validate-" + i, - runTest: new Function("t", "startTestValidate(" + i + ", t)") - }); - } - return allTestCases; -} - -function startTestFormat(i, t){ - var test_node = dojo.doc.getElementById("test_display_" + i); - var exp = dojo.doc.getElementById("test_display_expected_" + i).value; - var res_node = dojo.doc.getElementById("test_display_result_" + i); - res_node.innerHTML = test_node.value; - res_node.style.backgroundColor = (test_node.value == exp) ? "#AFA" : "#FAA"; - res_node.innerHTML += " Compare (Escaped)"; - t.is(exp, test_node.value); -} - -function startTestValidate(i, t){ - /* - * The dijit.byNode has an issue: cannot handle same id. - */ - var test_node = dojo.doc.getElementById("test_validate_" + i); - var inp_node = dojo.doc.getElementById("test_validate_input_" + i); - var exp = dojo.doc.getElementById("test_validate_expected_" + i).innerHTML; - var res_node = dojo.doc.getElementById("test_validate_result_" + i); - var val_node = dojo.doc.getElementById("test_display_value_" + i); - - test_node.value = inp_node.value; - /* - * The dijit.byNode has an issue. - */ - var widget = null; - var node = test_node; - while ((widget = dijit.byNode(node)) == null){ - node = node.parentNode; - if(!node){ - break; - } - } - - if(widget){ - widget.focus(); - - var expected = validateValues[i]; - var result = widget.getValue(); - if(validateValues[i].processValue){ - expected = validateValues[i].processValue(expected); - result = validateValues[i].processValue(result); - } - var parseCorrect = getString(expected) == getString(result); - val_node.style.backgroundColor = parseCorrect ? "#AFA" : "#FAA"; - val_node.innerHTML = getString(result) + (parseCorrect ? "" : "
          Expected: " + getString(expected)); - - res_node.innerHTML = widget.isValid && !widget.isValid() ? "Wrong" : "Correct"; - res_node.style.backgroundColor = res_node.innerHTML == exp ? "#AFA" : "#FAA"; - - t.is(getString(expected), getString(result)); - } -} - -function genFormatTestCase(desc, dojoType, dojoAttrs, value, expValue, comment){ - dojo.doc.write(""); - dojo.doc.write("" + desc + ""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write("" + comment + ""); - dojo.doc.write(""); - formatWidgetCount++; -} -/* -[ - {attrs: {currency: "CNY", lang: "zh-cn"}, desc: "", value:"-123456789.46", expValue: "", comment: ""}, - ... -] -*/ -function genFormatTestCases(title, dojoType, testCases){ - dojo.doc.write("

          " + title + "

          "); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - - for(var i = 0; i < testCases.length; i++){ - var testCase = testCases[i]; - genFormatTestCase(testCase.desc, dojoType, testCase.attrs, testCase.value, testCase.expValue, testCase.comment); - } - - dojo.doc.write("
          Test DescriptionTestExpectedResultComment
          "); -} - -function genValidateTestCase(desc, dojoType, dojoAttrs, input, value, comment, isWrong){ - dojo.doc.write(""); - dojo.doc.write("" + desc + ""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write("" + (isWrong ? "Wrong" : "Correct") + ""); - dojo.doc.write(""); - dojo.doc.write("" + comment + ""); - dojo.doc.write(""); - validateValues.push(value); - validateWidgetCount++; -} -/* -[ - {attrs: {currency: "CNY", lang: "zh-cn"}, desc: "", value:false, expValue: "-123456789.46", comment: ""}, - ... -] -*/ -function genValidateTestCases(title, dojoType, testCases){ - dojo.doc.write("

          " + title + "

          "); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - dojo.doc.write(""); - - for(var i = 0; i < testCases.length; i++){ - var testCase = testCases[i]; - genValidateTestCase(testCase.desc, dojoType, testCase.attrs, testCase.expValue, testCase.value, testCase.comment, testCase.isWrong); - } - - dojo.doc.write("
          Test DescriptionTestInputParsed ValueExpectedResultComment
          "); -} diff --git a/includes/js/dijit/tests/i18n/textbox.html b/includes/js/dijit/tests/i18n/textbox.html deleted file mode 100644 index 573496e..0000000 --- a/includes/js/dijit/tests/i18n/textbox.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - Test TextBox - - - - - - - - - - - - -

          Dijit TextBox Globalization Test

          - - - - - -

          Issues & Comments

          -

          Issue #1 Not fixed. Avoid using this function of TextBox.

          -

          - Strictly speaking, all casing manipulation must use ICU case mapping rules (routine). However, the default JavaScript routines used by Dojo - do not support ICU case mapping rules in all browsers. -

          - -

          Issue #2 Not fixed. Avoid using this function of TextBox.

          -

          - Trimming must get rid of all Unicode characters with the white space property. However, the default JavaScript routines used by Dojo - do not support get character properties in some browsers like IE. Other browsers like Firefox might support trimming more white space - characters. -

          - - - - - diff --git a/includes/js/dijit/tests/i18n/time.html b/includes/js/dijit/tests/i18n/time.html deleted file mode 100644 index 0a972b9..0000000 --- a/includes/js/dijit/tests/i18n/time.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - Test TextBox for Time - - - - - - - - - - - - - -

          Dijit TextBox Globalization Test for Time

          - -

          Press the following button to start all test after this page is loaded.

          - -

          - Before start this test, make sure the dojo/cldr/nls contains the data for "zh-cn", "fr-fr", "ja-jp", "ru-ru", "hi-in", "en-us" and "ar-eg". If not, convert these CLDR data and put them there. -

          - - - -

          Issues & Comments

          -

          Issue #1 Fixed

          -

          - Currently Dojo do not support parsing for most "long" and "full" time format which have a timezone mark in it. -

          - -

          Issue #2 Fixed: added a "localeDigit" to the options

          -

          - Strictly speaking, the data conversion must support non-European number characters in some locales like Arabic and Hindi. - For example, ICU formats a number data into Indic number characters by default in the Arabic locale. - However, currently Dojo does not support this feature (Dojo uses the default number conversion of the browser). -

          - -

          Issue #3 Fixed

          -

          - This defect only occurs on the "zh-cn" locale. Dojo accepts "下午"(pm) in the textbox, but it automatically changes it to - "上午"(am) after the focus changed. The date value of the textbox is also changed. -

          -

          - The root cause of this issue is that the parser method's code assumes am/pm symbol always appears after the hour value. - But this is not true, for example, the pattern for "zh-cn" puts am/pm field before all the other fields. -

          - - - diff --git a/includes/js/dijit/tests/images/arrowSmall.gif b/includes/js/dijit/tests/images/arrowSmall.gif deleted file mode 100644 index 8459ffa..0000000 Binary files a/includes/js/dijit/tests/images/arrowSmall.gif and /dev/null differ diff --git a/includes/js/dijit/tests/images/copy.gif b/includes/js/dijit/tests/images/copy.gif deleted file mode 100644 index 4df29cc..0000000 Binary files a/includes/js/dijit/tests/images/copy.gif and /dev/null differ diff --git a/includes/js/dijit/tests/images/cut.gif b/includes/js/dijit/tests/images/cut.gif deleted file mode 100644 index 9bdbf4a..0000000 Binary files a/includes/js/dijit/tests/images/cut.gif and /dev/null differ diff --git a/includes/js/dijit/tests/images/flatScreen.gif b/includes/js/dijit/tests/images/flatScreen.gif deleted file mode 100644 index 05edd72..0000000 Binary files a/includes/js/dijit/tests/images/flatScreen.gif and /dev/null differ diff --git a/includes/js/dijit/tests/images/note.gif b/includes/js/dijit/tests/images/note.gif deleted file mode 100644 index 0f921be..0000000 Binary files a/includes/js/dijit/tests/images/note.gif and /dev/null differ diff --git a/includes/js/dijit/tests/images/paste.gif b/includes/js/dijit/tests/images/paste.gif deleted file mode 100644 index f236cbe..0000000 Binary files a/includes/js/dijit/tests/images/paste.gif and /dev/null differ diff --git a/includes/js/dijit/tests/images/plus.gif b/includes/js/dijit/tests/images/plus.gif deleted file mode 100644 index 97e7265..0000000 Binary files a/includes/js/dijit/tests/images/plus.gif and /dev/null differ diff --git a/includes/js/dijit/tests/images/testsBodyBg.gif b/includes/js/dijit/tests/images/testsBodyBg.gif deleted file mode 100644 index 4e0b4a7..0000000 Binary files a/includes/js/dijit/tests/images/testsBodyBg.gif and /dev/null differ diff --git a/includes/js/dijit/tests/images/tube.gif b/includes/js/dijit/tests/images/tube.gif deleted file mode 100644 index b506513..0000000 Binary files a/includes/js/dijit/tests/images/tube.gif and /dev/null differ diff --git a/includes/js/dijit/tests/images/tubeTall.gif b/includes/js/dijit/tests/images/tubeTall.gif deleted file mode 100644 index e4fdb8b..0000000 Binary files a/includes/js/dijit/tests/images/tubeTall.gif and /dev/null differ diff --git a/includes/js/dijit/tests/layout/ContentPane.html b/includes/js/dijit/tests/layout/ContentPane.html deleted file mode 100644 index 8853a3e..0000000 --- a/includes/js/dijit/tests/layout/ContentPane.html +++ /dev/null @@ -1,577 +0,0 @@ - - - - Test ContentPane - - - - - - -

          dijit.layout.ContentPane test

          -

          Test designed to run on localhost (minimize impact from network latency)

          - -

          This should NOT be parsed automatically

          -
          -
          If this has a different background and a red border, the page parsed when it shouldn't
          -
          -

          Testing ContentPane

          -
          - Even tough the entire page isn't scanned for widgets, - any sub widgets of a ContentPane will be created when a ContentPane is created
          - This should have a backgroundcolor and a border -
          -
          -
          -
          -

          -
          - - diff --git a/includes/js/dijit/tests/layout/ContentPane.js b/includes/js/dijit/tests/layout/ContentPane.js deleted file mode 100644 index c0b53bc..0000000 --- a/includes/js/dijit/tests/layout/ContentPane.js +++ /dev/null @@ -1,9 +0,0 @@ -if(!dojo._hasResource["dijit.tests.layout.ContentPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests.layout.ContentPane"] = true; -dojo.provide("dijit.tests.layout.ContentPane"); - -if(dojo.isBrowser){ - doh.registerUrl("dijit.tests.layout.ContentPane", dojo.moduleUrl("dijit", "tests/layout/ContentPane.html"), 30000); -} - -} diff --git a/includes/js/dijit/tests/layout/combotab.html b/includes/js/dijit/tests/layout/combotab.html deleted file mode 100644 index c881761..0000000 --- a/includes/js/dijit/tests/layout/combotab.html +++ /dev/null @@ -1,11 +0,0 @@ -
          -State: - - - - diff --git a/includes/js/dijit/tests/layout/doc0.html b/includes/js/dijit/tests/layout/doc0.html deleted file mode 100644 index 4c3f252..0000000 --- a/includes/js/dijit/tests/layout/doc0.html +++ /dev/null @@ -1,12 +0,0 @@ -

          Document 0

          -This document has a link.
          -(to check we're copying children around properly).
          -Also it's got a widget, a combo box:
          - -And a button too: - -Here's some text that comes AFTER the button. diff --git a/includes/js/dijit/tests/layout/doc1.html b/includes/js/dijit/tests/layout/doc1.html deleted file mode 100644 index 2bff8c5..0000000 --- a/includes/js/dijit/tests/layout/doc1.html +++ /dev/null @@ -1,13 +0,0 @@ - - -

          Document 1

          - -

          Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus risus. Praesent eu lacus et enim laoreet sollicitudin. Quisque mollis mi a lectus. Cras ante. Aliquam tempus justo laoreet justo. Vestibulum egestas feugiat nisi. Nulla ultrices consequat felis. Curabitur dignissim augue vel enim. Fusce tempus tempor mauris. Praesent suscipit pede in nunc. Duis mi neque, malesuada non, volutpat et, nonummy et, ante. Aliquam neque. Nulla rhoncus, turpis eget mattis molestie, magna nulla dictum ligula, quis tempor odio justo vel pede. Donec sit amet tellus. Phasellus sapien. Nulla id massa at nunc condimentum fringilla. Fusce suscipit ipsum et lorem consequat pulvinar. Quisque lacinia sollicitudin tellus.

          - -

          Nulla massa lectus, porttitor vitae, dignissim vel, iaculis eget, mi. Vestibulum sed lorem. Nullam convallis elit id leo. Aliquam est purus, rutrum at, sodales non, nonummy a, justo. Proin at diam vel nibh dictum rhoncus. Duis nisl. Etiam orci. Integer hendrerit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In ac erat. Sed velit orci, sodales quis, commodo ut, elementum sed, nibh. Cras mattis vulputate nisl. Mauris eu nulla sed orci dignissim laoreet. Morbi commodo, est vitae pharetra ullamcorper, ante nisl ultrices velit, sit amet vulputate turpis elit id lacus. Vestibulum diam. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

          - -

          Praesent rutrum nunc quis felis. Morbi tempor. Quisque porta magna imperdiet magna. Ut gravida, ipsum eu euismod consectetuer, nisl lectus posuere diam, vel dignissim elit nisi sit amet lorem. Curabitur non nunc. Morbi metus. Nulla facilisi. Sed et ante. Etiam ac lectus. Duis tristique molestie sem. Pellentesque nec quam. Nullam pellentesque ullamcorper sem.

          - -

          Duis ut massa eget arcu porttitor pharetra. Curabitur malesuada nisi id eros. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Vivamus massa. Donec quis justo ut tortor faucibus suscipit. Vivamus commodo neque eget nulla. Donec imperdiet lacus condimentum justo. In sollicitudin magna vitae libero. Curabitur scelerisque libero et eros imperdiet cursus. Maecenas adipiscing. Integer imperdiet, neque ut fringilla semper, leo nisi tincidunt enim, id accumsan leo nisi a libero. Morbi rutrum hendrerit eros. Vestibulum eget augue vel urna congue faucibus.

          - -

          Morbi ante sapien, consequat non, consectetuer vitae, pharetra non, dui. Cras tempus posuere quam. Vestibulum quis neque. Duis lobortis urna in elit. Aliquam non tellus. Etiam nisi eros, posuere vel, congue id, fringilla in, risus. Duis semper rutrum risus. Nullam felis massa, lobortis sit amet, posuere tempor, mattis id, tellus. Nulla id arcu interdum risus commodo tincidunt. Vivamus pretium pulvinar pede. Vivamus eget erat. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam bibendum, enim eu venenatis tempor, nunc elit convallis tortor, sit amet vulputate turpis arcu eu pede. Praesent molestie, lacus sed vehicula convallis, enim pede fringilla nunc, at porttitor justo ante a diam. Nunc magna eros, interdum vel, varius eget, volutpat eu, orci. Nunc nec mauris. Nulla facilisi. Vivamus dictum elementum risus. Nam placerat arcu.

          diff --git a/includes/js/dijit/tests/layout/doc2.html b/includes/js/dijit/tests/layout/doc2.html deleted file mode 100644 index 1173b29..0000000 --- a/includes/js/dijit/tests/layout/doc2.html +++ /dev/null @@ -1,13 +0,0 @@ - - -

          Document 2

          - -

          Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus risus. Praesent eu lacus et enim laoreet sollicitudin. Quisque mollis mi a lectus. Cras ante. Aliquam tempus justo laoreet justo. Vestibulum egestas feugiat nisi. Nulla ultrices consequat felis. Curabitur dignissim augue vel enim. Fusce tempus tempor mauris. Praesent suscipit pede in nunc. Duis mi neque, malesuada non, volutpat et, nonummy et, ante. Aliquam neque. Nulla rhoncus, turpis eget mattis molestie, magna nulla dictum ligula, quis tempor odio justo vel pede. Donec sit amet tellus. Phasellus sapien. Nulla id massa at nunc condimentum fringilla. Fusce suscipit ipsum et lorem consequat pulvinar. Quisque lacinia sollicitudin tellus.

          - -

          Nulla massa lectus, porttitor vitae, dignissim vel, iaculis eget, mi. Vestibulum sed lorem. Nullam convallis elit id leo. Aliquam est purus, rutrum at, sodales non, nonummy a, justo. Proin at diam vel nibh dictum rhoncus. Duis nisl. Etiam orci. Integer hendrerit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In ac erat. Sed velit orci, sodales quis, commodo ut, elementum sed, nibh. Cras mattis vulputate nisl. Mauris eu nulla sed orci dignissim laoreet. Morbi commodo, est vitae pharetra ullamcorper, ante nisl ultrices velit, sit amet vulputate turpis elit id lacus. Vestibulum diam. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

          - -

          Praesent rutrum nunc quis felis. Morbi tempor. Quisque porta magna imperdiet magna. Ut gravida, ipsum eu euismod consectetuer, nisl lectus posuere diam, vel dignissim elit nisi sit amet lorem. Curabitur non nunc. Morbi metus. Nulla facilisi. Sed et ante. Etiam ac lectus. Duis tristique molestie sem. Pellentesque nec quam. Nullam pellentesque ullamcorper sem.

          - -

          Duis ut massa eget arcu porttitor pharetra. Curabitur malesuada nisi id eros. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Vivamus massa. Donec quis justo ut tortor faucibus suscipit. Vivamus commodo neque eget nulla. Donec imperdiet lacus condimentum justo. In sollicitudin magna vitae libero. Curabitur scelerisque libero et eros imperdiet cursus. Maecenas adipiscing. Integer imperdiet, neque ut fringilla semper, leo nisi tincidunt enim, id accumsan leo nisi a libero. Morbi rutrum hendrerit eros. Vestibulum eget augue vel urna congue faucibus.

          - -

          Morbi ante sapien, consequat non, consectetuer vitae, pharetra non, dui. Cras tempus posuere quam. Vestibulum quis neque. Duis lobortis urna in elit. Aliquam non tellus. Etiam nisi eros, posuere vel, congue id, fringilla in, risus. Duis semper rutrum risus. Nullam felis massa, lobortis sit amet, posuere tempor, mattis id, tellus. Nulla id arcu interdum risus commodo tincidunt. Vivamus pretium pulvinar pede. Vivamus eget erat. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam bibendum, enim eu venenatis tempor, nunc elit convallis tortor, sit amet vulputate turpis arcu eu pede. Praesent molestie, lacus sed vehicula convallis, enim pede fringilla nunc, at porttitor justo ante a diam. Nunc magna eros, interdum vel, varius eget, volutpat eu, orci. Nunc nec mauris. Nulla facilisi. Vivamus dictum elementum risus. Nam placerat arcu.

          diff --git a/includes/js/dijit/tests/layout/getResponse.php b/includes/js/dijit/tests/layout/getResponse.php deleted file mode 100644 index d695a4b..0000000 --- a/includes/js/dijit/tests/layout/getResponse.php +++ /dev/null @@ -1,57 +0,0 @@ -WARNING This should NEVER be seen, delayed by 2 sec!"; - $delay = 2; - break; - case 1: - echo "
          Testing setHref
          "; - break; - case 2: - echo "
          Delayed setHref test
          -
          Delayed by " . ($delay/1000000) . " sec.
          "; - break; - case 3: - echo "IT WAS the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to Heaven, we were all going direct the other way -- in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only"; - break; - case 4: - echo "There were a king with a large jaw and a queen with a plain face, on the throne of England; there were a king with a large jaw and a queen with a fair face, on the throne of France. In both countries it was clearer than crystal to the lords of the State preserves of loaves and fishes, that things in general were settled for ever."; - break; - case 5: - echo "It was the year of Our Lord one thousand seven hundred and seventy- five. Spiritual revelations were conceded to England at that favoured period, as at this. Mrs. Southcott had recently attained her five-and- twentieth blessed birthday, of whom a prophetic private in the Life Guards had heralded the sublime appearance by announcing that arrangements were made for the swallowing up of London and Westminster. Even the Cock-lane ghost had been laid only a round dozen of years, after rapping out its messages, as the spirits of this very year last past (supernaturally deficient in originality) rapped out theirs. Mere messages in the earthly order of events had lately come to the English Crown and People, from a congress of British subjects in America:"; - break; - default: - echo "unknown messId:{$_GET['messId']}"; - } - } - - if(isset($_GET['bounceGetStr']) && $_GET['bounceGetStr']){ - echo "
          {$_SERVER["QUERY_STRING"]}
          "; - } - - if(isset($_GET['message']) && $_GET['message']){ - echo $_GET['message']; - } - - usleep($delay); - -?> diff --git a/includes/js/dijit/tests/layout/tab1.html b/includes/js/dijit/tests/layout/tab1.html deleted file mode 100644 index a37b927..0000000 --- a/includes/js/dijit/tests/layout/tab1.html +++ /dev/null @@ -1,6 +0,0 @@ - -

          Tab 1

          - -

          I am tab 1. I was loaded externally. WebA11y(something to get focus)

          - -
          blah
          diff --git a/includes/js/dijit/tests/layout/tab2.html b/includes/js/dijit/tests/layout/tab2.html deleted file mode 100644 index ed1ad76..0000000 --- a/includes/js/dijit/tests/layout/tab2.html +++ /dev/null @@ -1,3 +0,0 @@ -

          Tab 2

          - -

          I am tab 2. I was loaded externally as well.

          diff --git a/includes/js/dijit/tests/layout/tab3.html b/includes/js/dijit/tests/layout/tab3.html deleted file mode 100644 index 68dca6c..0000000 --- a/includes/js/dijit/tests/layout/tab3.html +++ /dev/null @@ -1,39 +0,0 @@ -
          -
          -

          This is a nested tab container BUT loaded via an href.

          -
          -
          -

          - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin - porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. - Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. - Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae - risus. -

          -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis - imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem - nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in - massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In - pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra - quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, - felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut - quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla - rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut - semper velit ante id metus. Praesent massa dolor, porttitor sed, - pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit - tortor pharetra congue. Suspendisse pulvinar. -

          -

          Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam - ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque - nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus - lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus - est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis - dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, - nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent - pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti - sociosqu ad litora torquent per conubia nostra, per inceptos - hymenaeos. -

          -
          -
          \ No newline at end of file diff --git a/includes/js/dijit/tests/layout/tab4.html b/includes/js/dijit/tests/layout/tab4.html deleted file mode 100644 index de9cd3c..0000000 --- a/includes/js/dijit/tests/layout/tab4.html +++ /dev/null @@ -1,40 +0,0 @@ -
          -
          -

          Top of split container loaded via an href.

          -
          -
          -

          Bottom of split container loaded via an href.

          -

          - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin - porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. - Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. - Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae - risus. -

          -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis - imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem - nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in - massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In - pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra - quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, - felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut - quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla - rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut - semper velit ante id metus. Praesent massa dolor, porttitor sed, - pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit - tortor pharetra congue. Suspendisse pulvinar. -

          -

          Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam - ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque - nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus - lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus - est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis - dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, - nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent - pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti - sociosqu ad litora torquent per conubia nostra, per inceptos - hymenaeos. -

          -
          -
          \ No newline at end of file diff --git a/includes/js/dijit/tests/layout/test_AccordionContainer.html b/includes/js/dijit/tests/layout/test_AccordionContainer.html deleted file mode 100644 index d8351e7..0000000 --- a/includes/js/dijit/tests/layout/test_AccordionContainer.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - Accordion Widget Demo - - - - - - - - - - - - -

          AccordionContainer Tests

          - -

          Accordion from markup:

          -

          HTML before

          -

          HTML before

          -

          HTML before

          - -
          -
          - Hello World -
          -
          -

          - Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin - suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. - Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, - bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam - aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia - ac, vehicula laoreet, elit. Sed interdum augue sit amet quam - dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec - quam. -

          -

          - Sed arcu magna, molestie at, eu, elit. - Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum - vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat - augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non - metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus - ut elit convallis eleifend. Fusce tincidunt, justo quis tempus - euismod, magna nulla viverra libero, sit amet lacinia odio diam id - risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, - porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, - faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, - consequat quis, varius interdum, nulla. Donec neque tortor, - sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean - ut eros sit amet ante pharetra interdum. -

          -
          -
          -

          The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

          -
          -
          - -

          HTML after

          -

          HTML after

          -

          HTML after

          -

          -

          Accordion with widgets

          -
          -
          - -

          - Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin - suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. - Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, - bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam - aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia - ac, vehicula laoreet, elit. Sed interdum augue sit amet quam - dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec - quam. -

          -

          - Sed arcu magna, molestie at, fringilla in, sodales eu, elit. - Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum - vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat - augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non - metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus - ut elit convallis eleifend. Fusce tincidunt, justo quis tempus - euismod, magna nulla viverra libero, sit amet lacinia odio diam id - risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, - porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, - faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, - consequat quis, varius interdum, nulla. Donec neque tortor, - sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean - ut eros sit amet ante pharetra interdum. -

          -
          - - -
          - -
          -
          -
          - 1Sed arcu magna, molestie at, fringilla in, sodales eu, elit. - Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum - vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat - augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non - metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus - ut elit convallis eleifend. Fusce tincidunt, justo quis tempus - euismod, magna nulla viverra libero, sit amet lacinia odio diam id - risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, - porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, - faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, - consequat quis, varius interdum, nulla. Donec neque tortor, - sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean - ut eros sit amet ante pharetra interdum. -
          -
          - 2Sed arcu magna, molestie at, fringilla in, sodales eu, elit. - Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum - vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat - augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non - metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus - ut elit convallis eleifend. Fusce tincidunt, justo quis tempus - euismod, magna nulla viverra libero, sit amet lacinia odio diam id - risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, - porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, - faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, - consequat quis, varius interdum, nulla. Donec neque tortor, - sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean - ut eros sit amet ante pharetra interdum. -
          -
          -
          -
          - -

          Programatically created:

          - - -
          - -
          - - - diff --git a/includes/js/dijit/tests/layout/test_BorderContainer.html b/includes/js/dijit/tests/layout/test_BorderContainer.html deleted file mode 100644 index 29fae01..0000000 --- a/includes/js/dijit/tests/layout/test_BorderContainer.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - dijit.layout.BorderContainer Test - - - - - - - - - - -

          dijit.layout.BorderContainer tests

          -

          Headline layout (default), left is constrained - min:50, max:150

          - -
          -
          - top bar -
          -
          - left -
          -
          - main panel with a link.
          - (to check we're copying children around properly).
          - - Here's some text that comes AFTER the combo box. -
          -
          - right -
          -
          - bottom bar -
          -
          - - -
          - -

          Sidebar layout, BiDi sensitive, liveSplitters: false

          - -
          -
          - leading -
          -
          - top bar -
          -
          - main panel with a link.
          - (to check we're copying children around properly).
          - - Here's some text that comes AFTER the combo box. -
          -
          - bottom bar -
          -
          - trailing -
          -
          - -
          -

          Vertical panels only with splitters

          - -
          -
          - top bar -
          - -
          - main panel with a link.
          - (to check we're copying children around properly).
          - - Here's some text that comes AFTER the combo box. -
          -
          - bottom bar -
          -
          - -
          -

          More fun with layouts

          - -
          -
          -
          -
          top a
          -
          top b
          -
          -
          -
          -
          -
          bottom c
          -
          bottom d
          -
          -
          -
          -
          -
          leading e
          -
          leading f
          -
          -
          -
          trailing g
          -
          - -
          - - - diff --git a/includes/js/dijit/tests/layout/test_BorderContainer_complex.html b/includes/js/dijit/tests/layout/test_BorderContainer_complex.html deleted file mode 100644 index 784171c..0000000 --- a/includes/js/dijit/tests/layout/test_BorderContainer_complex.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - dijit.layout.BorderContainer Test - complex layout - - - - - - - - - - -

          dijit.layout.BorderContainer tests

          - -

          Complex layout:

          - -
          -
          -
          - left bar -
          -
          -

          - Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin - suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. - Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, - bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam - aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia - ac, vehicula laoreet, elit. Sed interdum augue sit amet quam - dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec - quam. -

          -

          - Sed arcu magna, molestie at, fringilla in, sodales eu, elit. - Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum - vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat - augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non - metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus - ut elit convallis eleifend. Fusce tincidunt, justo quis tempus - euismod, magna nulla viverra libero, sit amet lacinia odio diam id - risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, - porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, - faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, - consequat quis, varius interdum, nulla. Donec neque tortor, - sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean - ut eros sit amet ante pharetra interdum. -

          -
          -
          -

          The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

          -
          -
          - -
          -
          - right bar -
          -
          -

          - Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin - suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. - Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, - bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam - aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia - ac, vehicula laoreet, elit. Sed interdum augue sit amet quam - dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec - quam. -

          -

          - Sed arcu magna, molestie at, fringilla in, sodales eu, elit. - Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum - vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat - augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non - metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus - ut elit convallis eleifend. Fusce tincidunt, justo quis tempus - euismod, magna nulla viverra libero, sit amet lacinia odio diam id - risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, - porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, - faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, - consequat quis, varius interdum, nulla. Donec neque tortor, - sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean - ut eros sit amet ante pharetra interdum. -

          -
          -
          -

          The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

          -
          -
          -
          - -
          - -
          - -
          - -
          -

          I am tab 3

          -

          And I was already part of the page! That's cool, no?

          -

          tooltip on this paragraph

          -
          I'm a tooltip!
          - -
          - -

          - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin - porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. - Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. - Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae - risus. -

          -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis - imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem - nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in - massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In - pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra - quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, - felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut - quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla - rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut - semper velit ante id metus. Praesent massa dolor, porttitor sed, - pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit - tortor pharetra congue. Suspendisse pulvinar. -

          -
          - - - - Sub TabContainer from href - - SplitContainer from href - -
          -
          -
          -
          -

          bottom bar (edit me)

          -
          -
          -
          - main panel with a link.
          - (to check we're copying children around properly).
          - - Here's some text that comes AFTER the combo box. -
          -
          - - - diff --git a/includes/js/dijit/tests/layout/test_BorderContainer_experimental.html b/includes/js/dijit/tests/layout/test_BorderContainer_experimental.html deleted file mode 100644 index 46483d9..0000000 --- a/includes/js/dijit/tests/layout/test_BorderContainer_experimental.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - - BorderContainer Experiments | The Dojo Toolkit - - - - - - - - - - - -

          This is a test

          -

          This is only a test. An experiment in dynamically altering a BorderContainer's layout - (a seemingly unsupported feature just yet). It Demonstrates how to programatically alter/animate - the size of non-center regions though, and several simple layout configurations -

          - -
          -

          Layouts:

          -
          -
          - -
          -
          - pane0 -
          -
          - -
          -
          - Sinlge pane - l1 -
          -
          - -
          -

          two panes, vertical split:

          - - -
          -
          - Sinlge pane - left -
          -
          - Sinlge pane - center - -
          -
          - -
          -
          - Sinlge pane - center (splitter) (this is unsupported, and does not work) -
          -
          - Sinlge pane - right (no splitter) -
          -
          - -
          -
          - Sinlge pane - center (no splitter) -
          -
          - Sinlge pane - right (splitter) -
          -
          -
          - -
          -
          - Sinlge pane - top (splitter) - -
          -
          - Sinlge pane - center -
          -
          - -
          -
          - Sinlge pane - center -
          -
          - Single Pane Bottom (splitter) -
          -
          - Single Pane Top (splitter) -
          -
          - - - - - diff --git a/includes/js/dijit/tests/layout/test_BorderContainer_full.html b/includes/js/dijit/tests/layout/test_BorderContainer_full.html deleted file mode 100644 index 65386c2..0000000 --- a/includes/js/dijit/tests/layout/test_BorderContainer_full.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - dijit.layout.BorderContainer Test - Full Screen - - - - - - - - - -
          -
          - leading -
          -
          - top bar -
          -
          - main panel with a link.
          - (to check we're copying children around properly).
          - - Here's some text that comes AFTER the combo box. -
          -
          - bottom bar -
          -
          - trailing -
          -
          - - diff --git a/includes/js/dijit/tests/layout/test_BorderContainer_nested.html b/includes/js/dijit/tests/layout/test_BorderContainer_nested.html deleted file mode 100644 index 72bdf53..0000000 --- a/includes/js/dijit/tests/layout/test_BorderContainer_nested.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - dijit.layout.BorderContainer Test - - - - - - - - - - -

          dijit.layout.BorderContainer tests

          -

          Basic layout

          - -
          -
          - left -
          -
          - right -
          -
          - top bar -
          -
          - bottom bar -
          -
          - -
          -
          - left -
          -
          - right -
          -
          - top bar -
          -
          - bottom bar -
          -
          - main panel with a link.
          - (to check we're copying children around properly).
          - - Here's some text that comes AFTER the combo box. -
          -
          -
          -
          - - diff --git a/includes/js/dijit/tests/layout/test_ContentPane.html b/includes/js/dijit/tests/layout/test_ContentPane.html deleted file mode 100644 index 4557bef..0000000 --- a/includes/js/dijit/tests/layout/test_ContentPane.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - ContentPane Test - - - - - - - - - -

          Dijit layout.ContentPane tests

          -

          pre-container paragraph

          - -
          - some text (top-level container) - -
          - - text in the inner container (1) - -
          - hi -
          - - text in the inner container (2) - -
          - inner-inner 2 -
          - - text in the inner container (3) - -
          - inner-inner 3 -
          - - text in the inner container (4) - -
          - - some more text (top-level container) -
          - -

          mid-container paragraph

          - -
          - 2nd top-level container -
          - -

          post-container paragraph

          - -
          - some content pane blah blah blah -
          -
          -

          This text should automatically be replaced by downloaded content from combotab.html

          -
          - - - - diff --git a/includes/js/dijit/tests/layout/test_LayoutCode.html b/includes/js/dijit/tests/layout/test_LayoutCode.html deleted file mode 100644 index 9cec35e..0000000 --- a/includes/js/dijit/tests/layout/test_LayoutCode.html +++ /dev/null @@ -1,383 +0,0 @@ - - - - Programmatic Layout Demo - - - - - - - - - -

          Test of layout code programmatic creation

          - - - - - -
          -

          Creator

          -

          Pressing a button will programatically add a hierarchy of widgets

          - - - - - -
          -

          Current widgets

          - This pane will let you try certain operations on each of the widgets. -
          -
          -
          -
          - When you press a button, this will be filled in with the generated widgets -
          - - diff --git a/includes/js/dijit/tests/layout/test_LayoutContainer.html b/includes/js/dijit/tests/layout/test_LayoutContainer.html deleted file mode 100644 index cbe08f6..0000000 --- a/includes/js/dijit/tests/layout/test_LayoutContainer.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - dijit.layout.LayoutContainer Test - - - - - - - - - -

          Dijit layout.LayoutContainer tests

          -

          Basic layout. Tabindex="0" added to each pane to test for tab order matching source code order. Tab order -should be: left, right, top, middle/main, bottom

          - -
          -
          - left -
          -
          - right -
          -
          - top bar -
          -
          - main panel with a link.
          - (to check we're copying children around properly).
          - - Here's some text that comes AFTER the combo box. -
          - -
          - bottom bar -
          - -
          - -

          Advanced layout. Tabindex="0" added to each pane to test for tab order matching source code order. Tab order -should be: left, top, bottom, inner left, inner middle, inner right. This is not an ideal tab order. See below to use nested -layout containers to achieve a tab order which matches presentation and source code order.

          -
          -
          - left -
          -
          - top bar -
          -
          - - bottom bar -
          -
          - inner left -
          - -
          - main panel with a link.
          - - (to check we're copying children around properly).
          - - Here's some text that comes AFTER the combo box. -
          -
          - inner right -
          -
          - -

          Advanced layout with nested containers. Tabindex="0" added to content panes to show tab order. Order should be: -left, top, inner left, inner middle, inner right, bottom. This is the preferred tab order for this type of layout.

          -
          -
          - left -
          -
          -
          - -
          - top bar -
          -
          -
          -
          - inner left -
          -
          - main panel with a link.
          - (to check we're copying children around properly).
          - - Here's some text that comes AFTER the combo box. -
          -
          - inner right -
          -
          -
          -
          - bottom bar -
          -
          -
          -
          - -

          Goofy spiral layout. Match of source code order to tab order can not be achieved with this type of layout.

          -
          -
          - outer left -
          -
          - outer top -
          -
          - outer right -
          -
          - outer bottom -
          -
          - inner left -
          -
          - inner top -
          -
          - inner right -
          -
          - inner bottom -
          -
          - main panel with a link.
          - (to check we're copying children around properly).
          - - Here's some text that comes AFTER the combo box. -
          -
          - - - diff --git a/includes/js/dijit/tests/layout/test_SplitContainer.html b/includes/js/dijit/tests/layout/test_SplitContainer.html deleted file mode 100644 index f71d2dd..0000000 --- a/includes/js/dijit/tests/layout/test_SplitContainer.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - SplitContainer Widget Demo - - - - - - - - - -

          Dijit Split Container Test

          -

          HTML before

          - -
          -
          - this box has three split panes -
          -
          - in vertical mode -
          -
          - without active resizing -
          -
          - -
          -
          - this box has two horizontal panes -
          -
          - with active resizing, a smaller sizer, different starting sizes and minimum sizes -
          -
          - -

          HTML after

          - -the following splitter contains two iframes, see whether the resizer works ok in this situation -
          -
          - -
          -
          - -
          -
          - -

          Programatic Example:

          -
          - - - diff --git a/includes/js/dijit/tests/layout/test_StackContainer.html b/includes/js/dijit/tests/layout/test_StackContainer.html deleted file mode 100644 index 834b874..0000000 --- a/includes/js/dijit/tests/layout/test_StackContainer.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - StackContainer Demo - - - - - - - - - - -

          A Tale Of Two Cities

          - - - - - -
          -

          IT WAS the best of times, it of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to Heaven, we were all going direct the other way -- in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only

          -

          There were a king with a large jaw and a queen with a plain face, on the throne of England; there were a king with a large jaw and a queen with a fair face, on the throne of France. In both countries it was clearer than crystal to the lords of the State preserves of loaves and fishes, that things in general were settled for ever.

          -

          It was the year of Our Lord one thousand seven hundred and seventy- five. Spiritual revelations were conceded to England at that favoured period, as at this. Mrs. Southcott had recently attained her five-and- twentieth blessed birthday, of whom a prophetic private in the Life Guards had heralded the sublime appearance by announcing that arrangements were made for the swallowing up of London and Westminster. Even the Cock-lane ghost had been laid only a round dozen of years, after rapping out its messages, as the spirits of this very year last past (supernaturally deficient in originality) rapped out theirs. Mere messages in the earthly order of events had lately come to the English Crown and People, from a congress of British subjects in America:

          -
          - - - - - - - diff --git a/includes/js/dijit/tests/layout/test_StackContainer_code.html b/includes/js/dijit/tests/layout/test_StackContainer_code.html deleted file mode 100644 index 137cc6e..0000000 --- a/includes/js/dijit/tests/layout/test_StackContainer_code.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - StackContainer Demo - - - - - - - - - - -

          A Tale Of Two Cities

          - -
          Links:
          - -
          -

          IT WAS the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to Heaven, we were all going direct the other way -- in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only

          -

          There were a king with a large jaw and a queen with a plain face, on the throne of England; there were a king with a large jaw and a queen with a fair face, on the throne of France. In both countries it was clearer than crystal to the lords of the State preserves of loaves and fishes, that things in general were settled for ever.

          -

          It was the year of Our Lord one thousand seven hundred and seventy- five. Spiritual revelations were conceded to England at that favoured period, as at this. Mrs. Southcott had recently attained her five-and- twentieth blessed birthday, of whom a prophetic private in the Life Guards had heralded the sublime appearance by announcing that arrangements were made for the swallowing up of London and Westminster. Even the Cock-lane ghost had been laid only a round dozen of years, after rapping out its messages, as the spirits of this very year last past (supernaturally deficient in originality) rapped out theirs. Mere messages in the earthly order of events had lately come to the English Crown and People, from a congress of British subjects in America:

          -
          - - - - diff --git a/includes/js/dijit/tests/layout/test_TabContainer.html b/includes/js/dijit/tests/layout/test_TabContainer.html deleted file mode 100644 index 5d51a8a..0000000 --- a/includes/js/dijit/tests/layout/test_TabContainer.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - TabContainer Demo - - - - - - - - - - -

          Dijit layout.TabContainer tests

          - -

          These tabs are made up of local and external content. Tab 1 and Tab 2 are loading - files tab1.html and tab2.html. Tab 3 and Another Tab are using content that is already - part of this page. Tab2 is initially selected. -

          - -
          - -
          - -
          - -
          -

          I am tab 3

          -

          And I was already part of the page! That's cool, no?

          -

          tooltip on this paragraph

          -
          I'm a tooltip!
          - -
          - -

          - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin - porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. - Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. - Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae - risus. -

          -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis - imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem - nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in - massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In - pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra - quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, - felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut - quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla - rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut - semper velit ante id metus. Praesent massa dolor, porttitor sed, - pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit - tortor pharetra congue. Suspendisse pulvinar. -

          -
          - - - - Sub TabContainer from href - - SplitContainer from href - -
          - -

          - The next example is with closable tabs. - Tab 1 and Tab 3 can be closed; Tab 3 has a confirm box. -

          - -
          -
          -
          -
          -

          I am tab 3

          -

          And I was already part of the page! That's cool, no?

          -

          If you try to close me there should be a confirm dialog.

          -
          -
          - -

          Tabs with titles on the bottom:

          - -
          -
          -
          -
          - -

          Tabs with titles on the left:

          - -
          -
          -
          -
          - -

          Tabs with titles on the right:

          - -
          -
          -
          -
          - -

          -
          -
          - Once upon a time there was a dear little girl who was loved by - every one who looked at her, but most of all by her grandmother, - and there was nothing that she would not have given to the child. -
          -
          - Hard by a great forest dwelt a poor wood-cutter with his wife - and his two children. The boy was called Hansel and the girl Gretel. - He had little to bite and to break, and once when great dearth fell - on the land, he could no longer procure even daily bread. -
          -
          - There was once upon a time a hermit who lived in a forest at the foot - of a mountain, and passed his time in prayer and good works, - and every evening he carried, to the glory of God, two pails of water - up the mountain. -
          - -

          Typical rendering time

          - - - -
          IEFirefox (mac)
          1719922
          -

          Rendering time

          - - - diff --git a/includes/js/dijit/tests/layout/test_TabContainerTitlePane.html b/includes/js/dijit/tests/layout/test_TabContainerTitlePane.html deleted file mode 100644 index 139eb2b..0000000 --- a/includes/js/dijit/tests/layout/test_TabContainerTitlePane.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - TabContainer Nested TitlePane Test - - - - - - - - - - -

          Dijit layout.TabContainer nested TitlePane tests

          - -
          - -
          -

          I am tab 1

          -
          -

          This is a title pane, containing another tab container ...

          -

          - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque iaculis, nulla id semper faucibus, pede tellus nonummy magna, vitae adipiscing orci arcu ut augue. Nunc condimentum, magna a vestibulum convallis, libero purus pulvinar orci, sed vestibulum urna sem ut pede. More Ipsum... -

          -
          -
          -
          -
          -
          -
          -
          - -
          - - -

          Typical rendering time

          - - - -
          IEFirefox (mac)
          1719922
          -

          Rendering time

          - - - diff --git a/includes/js/dijit/tests/layout/test_TabContainer_noLayout.html b/includes/js/dijit/tests/layout/test_TabContainer_noLayout.html deleted file mode 100644 index 3fb8d15..0000000 --- a/includes/js/dijit/tests/layout/test_TabContainer_noLayout.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - TabContainer doLayout=false Demo - - - - - - - - - - -

          Dijit layout.TabContainer doLayout=false tests

          - -

          - This tests tabs in doLayout=false mode, in which case the tab container's height == - the height of the currently selected tab. -

          -

          With doLayout=false mode tabs to the left or right are not supported and tabs at the bottom are a bit buggy in FireFox. -

          - - - - -
          - -
          - -
          - -
          -

          I am tab 3

          -

          And I was already part of the page! That's cool, no?

          - tooltip on this span -
          I'm a tooltip!
          - -
          - -

          - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin - porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. - Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. - Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae - risus. -

          -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis - imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem - nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in - massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In - pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra - quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, - felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut - quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla - rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut - semper velit ante id metus. Praesent massa dolor, porttitor sed, - pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit - tortor pharetra congue. Suspendisse pulvinar. -

          -
          - - - - Sub TabContainer from href -
          - -

          - Some text here. This should appear directly below the TabContainer, - and the position will change based on the current height of the TabContainer. -

          - - diff --git a/includes/js/dijit/tests/layout/test_TabContainer_remote.html b/includes/js/dijit/tests/layout/test_TabContainer_remote.html deleted file mode 100644 index 19515a9..0000000 --- a/includes/js/dijit/tests/layout/test_TabContainer_remote.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - TabContainer Demo - - - - - - - - - - -

          Dijit layout.TabContainer (delayed) remote tests

          - -

          These tabs are made up of external content. Loading is delayed to make it easier to see if refreshOnShow and preload = 'false' is working.
          - The tabs also tests to insert html in the Tab title -

          - -
          Create a Tab
          - - -

          Rendering time

          - - - diff --git a/includes/js/dijit/tests/manualTests.html b/includes/js/dijit/tests/manualTests.html deleted file mode 100644 index 7f8b1c1..0000000 --- a/includes/js/dijit/tests/manualTests.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - Dijit Manual Test Runner - - - Redirecting to D.O.H runner - - - diff --git a/includes/js/dijit/tests/manualTests.js b/includes/js/dijit/tests/manualTests.js deleted file mode 100644 index f4f09e1..0000000 --- a/includes/js/dijit/tests/manualTests.js +++ /dev/null @@ -1,85 +0,0 @@ -if(!dojo._hasResource["dijit.tests.manualTests"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests.manualTests"] = true; -dojo.provide("dijit.tests.manualTests"); - -try{ -if(dojo.isBrowser){ - var userArgs = window.location.search.replace(/[\?&](dojoUrl|testUrl|testModule)=[^&]*/g,"").replace(/^&/,"?"); - doh.registerUrl("dijit/demos/chat.html", dojo.moduleUrl("dijit","demos/chat.html"+userArgs), 99999999); - doh.registerUrl("dijit/demos/form.html", dojo.moduleUrl("dijit","demos/form.html"+userArgs), 99999999); - doh.registerUrl("dijit/demos/i18n.html", dojo.moduleUrl("dijit","demos/i18n.html"+userArgs), 99999999); - doh.registerUrl("dijit/demos/mail.html", dojo.moduleUrl("dijit","demos/mail.html"+userArgs), 99999999); - doh.registerUrl("dijit/demos/nihao.html", dojo.moduleUrl("dijit","demos/nihao.html"+userArgs), 99999999); - doh.registerUrl("dijit/demos/chat/client.html", dojo.moduleUrl("dijit","demos/chat/client.html"+userArgs), 99999999); - doh.registerUrl("dijit/demos/chat/community.html", dojo.moduleUrl("dijit","demos/chat/community.html"+userArgs), 99999999); - doh.registerUrl("dijit/demos/chat/operator.html", dojo.moduleUrl("dijit","demos/chat/operator.html"+userArgs), 99999999); - doh.registerUrl("dijit/demos/i18n/generate.html", dojo.moduleUrl("dijit","demos/i18n/generate.html"+userArgs), 99999999); - doh.registerUrl("dijit/demos/i18n/sprite.html", dojo.moduleUrl("dijit","demos/i18n/sprite.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test.html", dojo.moduleUrl("dijit","tests/test.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_Calendar.html", dojo.moduleUrl("dijit","tests/test_Calendar.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_ColorPalette.html", dojo.moduleUrl("dijit","tests/test_ColorPalette.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_Declaration.html", dojo.moduleUrl("dijit","tests/test_Declaration.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_Dialog.html", dojo.moduleUrl("dijit","tests/test_Dialog.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_Dialog_focusDestroy.html", dojo.moduleUrl("dijit","tests/test_Dialog_focusDestroy.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_Editor.html", dojo.moduleUrl("dijit","tests/test_Editor.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_InlineEditBox.html", dojo.moduleUrl("dijit","tests/test_InlineEditBox.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_instantiate.html", dojo.moduleUrl("dijit","tests/test_instantiate.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_Menu.html", dojo.moduleUrl("dijit","tests/test_Menu.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_ProgressBar.html", dojo.moduleUrl("dijit","tests/test_ProgressBar.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_TitlePane.html", dojo.moduleUrl("dijit","tests/test_TitlePane.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_ToolBar.html", dojo.moduleUrl("dijit","tests/test_ToolBar.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_Tooltip.html", dojo.moduleUrl("dijit","tests/test_Tooltip.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_TooltipDialog.html", dojo.moduleUrl("dijit","tests/test_TooltipDialog.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_Tree.html", dojo.moduleUrl("dijit","tests/test_Tree.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/test_Tree_Notification_API_Support.html", dojo.moduleUrl("dijit","tests/test_Tree_Notification_API_Support.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/_programaticTest.html", dojo.moduleUrl("dijit","tests/_programaticTest.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_Button.html", dojo.moduleUrl("dijit","tests/form/test_Button.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_CheckBox.html", dojo.moduleUrl("dijit","tests/form/test_CheckBox.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_ComboBox.html", dojo.moduleUrl("dijit","tests/form/test_ComboBox.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_ComboBox_destroy.html", dojo.moduleUrl("dijit","tests/form/test_ComboBox_destroy.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_DateTextBox.html", dojo.moduleUrl("dijit","tests/form/test_DateTextBox.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_FilteringSelect.html", dojo.moduleUrl("dijit","tests/form/test_FilteringSelect.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_MultiSelect.html", dojo.moduleUrl("dijit","tests/form/test_MultiSelect.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_SimpleTextarea.html", dojo.moduleUrl("dijit","tests/form/test_SimpleTextarea.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_Slider.html", dojo.moduleUrl("dijit","tests/form/test_Slider.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_Spinner.html", dojo.moduleUrl("dijit","tests/form/test_Spinner.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_Textarea.html", dojo.moduleUrl("dijit","tests/form/test_Textarea.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_TimeTextBox.html", dojo.moduleUrl("dijit","tests/form/test_TimeTextBox.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/form/test_validate.html", dojo.moduleUrl("dijit","tests/form/test_validate.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_AccordionContainer.html", dojo.moduleUrl("dijit","tests/layout/test_AccordionContainer.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_BorderContainer.html", dojo.moduleUrl("dijit","tests/layout/test_BorderContainer.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_BorderContainer_complex.html", dojo.moduleUrl("dijit","tests/layout/test_BorderContainer_complex.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_BorderContainer_experimental.html", dojo.moduleUrl("dijit","tests/layout/test_BorderContainer_experimental.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_BorderContainer_full.html", dojo.moduleUrl("dijit","tests/layout/test_BorderContainer_full.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_BorderContainer_nested.html", dojo.moduleUrl("dijit","tests/layout/test_BorderContainer_nested.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_ContentPane.html", dojo.moduleUrl("dijit","tests/layout/test_ContentPane.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_LayoutCode.html", dojo.moduleUrl("dijit","tests/layout/test_LayoutCode.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_LayoutContainer.html", dojo.moduleUrl("dijit","tests/layout/test_LayoutContainer.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_SplitContainer.html", dojo.moduleUrl("dijit","tests/layout/test_SplitContainer.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_StackContainer.html", dojo.moduleUrl("dijit","tests/layout/test_StackContainer.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_StackContainer_code.html", dojo.moduleUrl("dijit","tests/layout/test_StackContainer_code.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_TabContainer.html", dojo.moduleUrl("dijit","tests/layout/test_TabContainer.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_TabContainerTitlePane.html", dojo.moduleUrl("dijit","tests/layout/test_TabContainerTitlePane.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_TabContainer_noLayout.html", dojo.moduleUrl("dijit","tests/layout/test_TabContainer_noLayout.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/layout/test_TabContainer_remote.html", dojo.moduleUrl("dijit","tests/layout/test_TabContainer_remote.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/tree/test_Tree_DnD.html", dojo.moduleUrl("dijit","tests/tree/test_Tree_DnD.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/tree/test_Tree_Programmatic.html", dojo.moduleUrl("dijit","tests/tree/test_Tree_Programmatic.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/tree/test_Tree_v1.html", dojo.moduleUrl("dijit","tests/tree/test_Tree_v1.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/_base/test_FocusManager.html", dojo.moduleUrl("dijit","tests/_base/test_FocusManager.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/_base/test_focusWidget.html", dojo.moduleUrl("dijit","tests/_base/test_focusWidget.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/_base/test_placeStrict.html", dojo.moduleUrl("dijit","tests/_base/test_placeStrict.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/_base/test_typematic.html", dojo.moduleUrl("dijit","tests/_base/test_typematic.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/_editor/test_CustomPlugin.html", dojo.moduleUrl("dijit","tests/_editor/test_CustomPlugin.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/_editor/test_RichText.html", dojo.moduleUrl("dijit","tests/_editor/test_RichText.html"+userArgs), 99999999); - doh.registerUrl("dijit/tests/_editor/test_ToggleDir.html", dojo.moduleUrl("dijit","tests/_editor/test_ToggleDir.html"+userArgs), 99999999); - doh.registerUrl("dijit/themes/templateThemeTest.html", dojo.moduleUrl("dijit","themes/templateThemeTest.html"+userArgs), 99999999); - doh.registerUrl("dijit/themes/themeTester.html", dojo.moduleUrl("dijit","themes/themeTester.html"+userArgs), 99999999); - if(dojo.isIE){ - doh.registerUrl("dijit/themes/themeTesterQuirk.html", dojo.moduleUrl("dijit","themes/themeTesterQuirk.html"+userArgs), 99999999); - } -} -}catch(e){ - doh.debug(e); -} - -} diff --git a/includes/js/dijit/tests/module.js b/includes/js/dijit/tests/module.js deleted file mode 100644 index f8a736c..0000000 --- a/includes/js/dijit/tests/module.js +++ /dev/null @@ -1,21 +0,0 @@ -if(!dojo._hasResource["dijit.tests.module"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests.module"] = true; -dojo.provide("dijit.tests.module"); - -try{ - dojo.require("dijit.tests._base.manager"); - dojo.require("dijit.tests._base.viewport"); - dojo.require("dijit.tests._base.wai"); - dojo.require("dijit.tests._Templated"); - dojo.require("dijit.tests.widgetsInTemplate"); - dojo.require("dijit.tests.Container"); - dojo.require("dijit.tests.layout.ContentPane"); - dojo.require("dijit.tests.ondijitclick"); - dojo.require("dijit.tests.form.Form"); -}catch(e){ - doh.debug(e); -} - - - -} diff --git a/includes/js/dijit/tests/ondijitclick.html b/includes/js/dijit/tests/ondijitclick.html deleted file mode 100644 index 36de0e0..0000000 --- a/includes/js/dijit/tests/ondijitclick.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - Test Dijit Internal Event: "ondijitclick" - - - - - -
          - - diff --git a/includes/js/dijit/tests/ondijitclick.js b/includes/js/dijit/tests/ondijitclick.js deleted file mode 100644 index 6fd67ea..0000000 --- a/includes/js/dijit/tests/ondijitclick.js +++ /dev/null @@ -1,9 +0,0 @@ -if(!dojo._hasResource["dijit.tests.ondijitclick"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests.ondijitclick"] = true; -dojo.provide("dijit.tests.ondijitclick"); - -if(dojo.isBrowser){ - doh.registerUrl("dijit.tests.ondijitclick", dojo.moduleUrl("dijit", "tests/ondijitclick.html")); -} - -} diff --git a/includes/js/dijit/tests/runTests.html b/includes/js/dijit/tests/runTests.html deleted file mode 100644 index 9395bd0..0000000 --- a/includes/js/dijit/tests/runTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - Dijit Unit Test Runner - - - Redirecting to D.O.H runner. - - diff --git a/includes/js/dijit/tests/test.html b/includes/js/dijit/tests/test.html deleted file mode 100644 index c793092..0000000 --- a/includes/js/dijit/tests/test.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - widget infrastructure test - - - - - - - - - - - - - - diff --git a/includes/js/dijit/tests/test_Calendar.html b/includes/js/dijit/tests/test_Calendar.html deleted file mode 100644 index df86ba0..0000000 --- a/includes/js/dijit/tests/test_Calendar.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Calendar Widget Test - - - - - - - - -

          Dijit Calendar Test

          - - before - - - - - after -

          - disable weekends -

          - -

          Customized template with "today" button

          - - -
          - - - -
          - - - diff --git a/includes/js/dijit/tests/test_ColorPalette.html b/includes/js/dijit/tests/test_ColorPalette.html deleted file mode 100644 index 38675ea..0000000 --- a/includes/js/dijit/tests/test_ColorPalette.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - ColorPalette Test - - - - - - - - - - - -

          dijit.ColorPalette test:

          - -

          Default color palette (7x10):

          -
          - - Test color is: . - -

          Small color palette (3x4):

          -
          - -

          Default color palette (7x10) created via createWidget:

          -
          - - - diff --git a/includes/js/dijit/tests/test_Declaration.html b/includes/js/dijit/tests/test_Declaration.html deleted file mode 100644 index 4e909b9..0000000 --- a/includes/js/dijit/tests/test_Declaration.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - Dojo Toolkit - Declaration test - - - - - -

          Simple macro:

          -

          (Check to make sure that links contain employee number) -

          - ${name} - update - delete -
          -
          -
          -
          - -

          Using dojoAttachEvent, dojoAttachPoint

          -
          - XXXXXX - -
          - - - -

          Extending another widget

          -

          HideButton2 extends HideButton (above) and changes the template (but keeps the onclick handler).

          - - YYYYYY - - - - -

          Something more complicated:

          -
          - - -

          thinger blah stuff ${foo}

          - -
          -

          baz thud

          -
          - -
          -
          - - - diff --git a/includes/js/dijit/tests/test_Dialog.html b/includes/js/dijit/tests/test_Dialog.html deleted file mode 100644 index 0eabc76..0000000 --- a/includes/js/dijit/tests/test_Dialog.html +++ /dev/null @@ -1,408 +0,0 @@ - - - - Dialog Widget Dojo Tests - - - - - - - - - -

          Dijit layout.Dialog tests

          - | - -
          - - - - - - - - - - - - - - - - - - - - - - - - -
          -
          -
          - - - | - - - - - | - -
          -
          -
          -

          - This is the first tab. -

          -

          - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin - porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. - Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. - Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae - risus. -

          -
          -
          -

          - This is the second tab. -

          -

          - Make it overflow. ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin - porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. - Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. - Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae - risus. -

          -

          - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin - porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. - Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. - Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae - risus. -

          -

          - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin - porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. - Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. - Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae - risus. -

          -
          -
          -
          - - | - -
          - - - -
          - - - -
          - -

          Test refocus="false", click programatic dialog, focus input below, wait. close dialog.

          - -

          (scroll down to see more links to click, for testing positioning / scroll handling)

          - -

          -Here's a form. Try clicking the programatic dialog link, then focusing on the form. -After the dialog closes focus should be returned to the form -

          - -
          - -
          - -
          - -
          - - -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis -imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem -nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in -massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In -pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra -quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, -felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut -quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla -rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut -semper velit ante id metus. Praesent massa dolor, porttitor sed, -pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit -tortor pharetra congue. Suspendisse pulvinar. -

          -

          Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam -ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque -nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus -lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus -est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis -dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, -nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent -pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti -sociosqu ad litora torquent per conubia nostra, per inceptos -hymenaeos. -

          -
          -
          - -
          -
          -

          Mauris pharetra lorem sit amet sapien. Nulla libero metus, tristique -et, dignissim a, tempus et, metus. Ut libero. Vivamus tempus purus vel -ipsum. Quisque mauris urna, vestibulum commodo, rutrum vitae, ultrices -vitae, nisl. Class aptent taciti sociosqu ad litora torquent per -conubia nostra, per inceptos hymenaeos. Nulla id erat sit amet odio -luctus eleifend. Proin massa libero, ultricies non, tincidunt a, -vestibulum non, tellus. Nunc nunc purus, lobortis a, pulvinar at, -egestas a, mi. Cras adipiscing velit a mauris. Morbi felis. Etiam at -felis. Cras eget eros et justo mattis pulvinar. Nullam at justo id -risus porttitor dignissim. Vestibulum sed velit vel metus tincidunt -tempus. Nunc euismod nisl id dolor tristique tincidunt. Nullam placerat -turpis sed odio. Curabitur in est id nibh tempus ultrices. Aliquam -consectetuer dapibus eros. Aliquam nisl. -

          -

          -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean -semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin -porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. -Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. -Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae -risus. -

          -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis -imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem -nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in -massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In -pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra -quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, -felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut -quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla -rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut -semper velit ante id metus. Praesent massa dolor, porttitor sed, -pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit -tortor pharetra congue. Suspendisse pulvinar. -

          -

          Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam -ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque -nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus -lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus -est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis -dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, -nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent -pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti -sociosqu ad litora torquent per conubia nostra, per inceptos -hymenaeos. -

          -
          -
          - -
          -
          -

          Mauris pharetra lorem sit amet sapien. Nulla libero metus, tristique -et, dignissim a, tempus et, metus. Ut libero. Vivamus tempus purus vel -ipsum. Quisque mauris urna, vestibulum commodo, rutrum vitae, ultrices -vitae, nisl. Class aptent taciti sociosqu ad litora torquent per -conubia nostra, per inceptos hymenaeos. Nulla id erat sit amet odio -luctus eleifend. Proin massa libero, ultricies non, tincidunt a, -vestibulum non, tellus. Nunc nunc purus, lobortis a, pulvinar at, -egestas a, mi. Cras adipiscing velit a mauris. Morbi felis. Etiam at -felis. Cras eget eros et justo mattis pulvinar. Nullam at justo id -risus porttitor dignissim. Vestibulum sed velit vel metus tincidunt -tempus. Nunc euismod nisl id dolor tristique tincidunt. Nullam placerat -turpis sed odio. Curabitur in est id nibh tempus ultrices. Aliquam -consectetuer dapibus eros. Aliquam nisl. -

          - -Show Dialog -

          -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean -semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin -porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. -Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. -Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae -risus. -

          -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis -imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem -nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in -massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In -pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra -quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, -felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut -quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla -rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut -semper velit ante id metus. Praesent massa dolor, porttitor sed, -pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit -tortor pharetra congue. Suspendisse pulvinar. -

          -

          Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam -ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque -nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus -lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus -est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis -dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, -nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent -pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti -sociosqu ad litora torquent per conubia nostra, per inceptos -hymenaeos. -

          -

          Mauris pharetra lorem sit amet sapien. Nulla libero metus, tristique -et, dignissim a, tempus et, metus. Ut libero. Vivamus tempus purus vel -ipsum. Quisque mauris urna, vestibulum commodo, rutrum vitae, ultrices -vitae, nisl. Class aptent taciti sociosqu ad litora torquent per -conubia nostra, per inceptos hymenaeos. Nulla id erat sit amet odio -luctus eleifend. Proin massa libero, ultricies non, tincidunt a, -vestibulum non, tellus. Nunc nunc purus, lobortis a, pulvinar at, -egestas a, mi. Cras adipiscing velit a mauris. Morbi felis. Etiam at -felis. Cras eget eros et justo mattis pulvinar. Nullam at justo id -risus porttitor dignissim. Vestibulum sed velit vel metus tincidunt -tempus. Nunc euismod nisl id dolor tristique tincidunt. Nullam placerat -turpis sed odio. Curabitur in est id nibh tempus ultrices. Aliquam -consectetuer dapibus eros. Aliquam nisl. -

          - -

          -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean -semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin -porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. -Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. -Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae -risus. -

          -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis -imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem -nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in -massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In -pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra -quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, -felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut -quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla -rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut -semper velit ante id metus. Praesent massa dolor, porttitor sed, -pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit -tortor pharetra congue. Suspendisse pulvinar. -

          -

          Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam -ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque -nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus -lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus -est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis -dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, -nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent -pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti -sociosqu ad litora torquent per conubia nostra, per inceptos -hymenaeos. -

          -

          Mauris pharetra lorem sit amet sapien. Nulla libero metus, tristique -et, dignissim a, tempus et, metus. Ut libero. Vivamus tempus purus vel -ipsum. Quisque mauris urna, vestibulum commodo, rutrum vitae, ultrices -vitae, nisl. Class aptent taciti sociosqu ad litora torquent per -conubia nostra, per inceptos hymenaeos. Nulla id erat sit amet odio -luctus eleifend. Proin massa libero, ultricies non, tincidunt a, -vestibulum non, tellus. Nunc nunc purus, lobortis a, pulvinar at, -egestas a, mi. Cras adipiscing velit a mauris. Morbi felis. Etiam at -felis. Cras eget eros et justo mattis pulvinar. Nullam at justo id -risus porttitor dignissim. Vestibulum sed velit vel metus tincidunt -tempus. Nunc euismod nisl id dolor tristique tincidunt. Nullam placerat -turpis sed odio. Curabitur in est id nibh tempus ultrices. Aliquam -consectetuer dapibus eros. Aliquam nisl. -

          - - - - diff --git a/includes/js/dijit/tests/test_Dialog_focusDestroy.html b/includes/js/dijit/tests/test_Dialog_focusDestroy.html deleted file mode 100644 index 187a5d4..0000000 --- a/includes/js/dijit/tests/test_Dialog_focusDestroy.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - Dialog Widget Dojo Tests - - - - - - - - - -

          Dijit layout.Dialog tests

          - -

          If you input this box, you can type. You should be able to type and use backspace/etc -when you destroy the visible dialog. refs #5351 -

          - - - - - - - - diff --git a/includes/js/dijit/tests/test_Editor.html b/includes/js/dijit/tests/test_Editor.html deleted file mode 100644 index b73ecea..0000000 --- a/includes/js/dijit/tests/test_Editor.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - Editor Test - - - - - - - - - -
          Automated Test - all check boxes should be checked
          - Focus: - Value: - - Change: - Blur: - Disabled: -
          -
          - -

          -

          Created from div

          -
          -

          This instance is created from a div directly with default toolbar and plugins

          -
          - - -
          - -

          Created from textarea,auto-expanding

          -
          -

          - -

          ..after

          -
          -
          - -

          Optional toolbar buttons

          -
          -

          - -

          ..after

          - -
          -
          - -

          Plugins specified

          -
          -

          - -

          ..after

          -
          -
          - -

          Programmatic creation

          -
          This div will become an editor.
          - -
          This div will become an auto-expanding editor.
          - - - diff --git a/includes/js/dijit/tests/test_InlineEditBox.html b/includes/js/dijit/tests/test_InlineEditBox.html deleted file mode 100644 index ea8d7a8..0000000 --- a/includes/js/dijit/tests/test_InlineEditBox.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - Inline Edit Box Test - - - - - - - - - -

          Dijit InlineEditBox Test

          - - - - - - -

          Form Letter with blanks

          -
          -

          -

          - Dear , -

          -

          - Thank you for your recent order. - Please remit -  for - your purchase of -  deluxe -  on -  in - . -

          -

          -

          - Sincerely, -

          - -
          -
          - -

          Form Letter with predefined values, and no auto-save

          -
          -

          - Bob Vance Refrigeration -

          -

          - Dear John, -

          -

          - Thank you for your recent order. - Please remit - $2,000 - for your purchase of - 3 - deluxe - refrigerators - on - 01/01/2007 - in - - Pennsylvania - . -

          -

          - We sincerely appreciate your business and hope we can do business again. -

          -

          - Sincerely, -

          - Bob Vance -
          -
          - - -

          Inline-block Text (of 400px width)

          -
          - The following section uses inline block text of 400px. - When clicking the editable text it should bring up an editor which is also 400px wide. -
          - (before plain inline)
          hello world
          (after plain inline) -
          - (before editable inline) -
          - hello world -
          - (after editable inline) -
          - -

          Pararagraph

          - (before plain paragraph) -

          - Aliquam vitae enim. Duis scelerisque metus auctor est venenatis -imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem -nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in -massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In -pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra -quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, -felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut -quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla -rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut -semper velit ante id metus. Praesent massa dolor, porttitor sed, -pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit -tortor pharetra congue. Suspendisse pulvinar. -

          - (before editable paragraph. the editable paragraph has Save/Cancel buttons when open.) -

          - Aliquam vitae enim. Duis scelerisque metus auctor est venenatis -imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem -nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in -massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In -pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra -quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, -felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut -quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla -rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut -semper velit ante id metus. Praesent massa dolor, porttitor sed, -pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit -tortor pharetra congue. Suspendisse pulvinar. -

          - These buttons will - / - - the InlineEditBox above. -
          - -

          Editor

          -

          - Aliquam vitae enim. Duis scelerisque metus auctor est venenatis -imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem -nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in -massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In -pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra -quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, -felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut -quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla -rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut -semper velit ante id metus. Praesent massa dolor, porttitor sed, -pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit -tortor pharetra congue. Suspendisse pulvinar. -

          - -

          FilteringSelect (no down arrow, and save/cancel buttons):

          - before - - Indiana - - after -
          - -

          Programmatically created:

          - before block
          Click here to edit a block programmatically created inline edit region
          after - -
          - - diff --git a/includes/js/dijit/tests/test_Menu.html b/includes/js/dijit/tests/test_Menu.html deleted file mode 100644 index a0bed27..0000000 --- a/includes/js/dijit/tests/test_Menu.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - Menu System Test - - - - - - - - - - - - - - - - - -
          -

          Dijit Menu System Test

          - -

          Form

          - -
          - -

          left click to open the menu for this input:
          Note: because of the window contextMenu, make sure you get
          the right menu by verifying the left
          click one starts with "Left Click Menu"
          at the very top.

          -
          - - -
          - -
          - Click button below to create special menu on this div. -
          - - - -
          -

          (this space intentionally left blank to aid testing with controls - at the bottom of the browser window)

          -
          - -

          - -

          See also: form/test_Button - (PopupMenu is used with DropDownButton and ComboButton)

          - -

          Mouse opening tests

          - -
            -
          • Right click on the client area of the page (ctrl-click for Macintosh). Menu should open.
          • -
          • Right click on each of the form controls above. Menu should open.
          • -
          • Right click near the righthand window border. Menu should open to the left of the pointer.
          • -
          • Right click near the bottom window border. Menu should open above the pointer.
          • -
          - - -

          Mouse hover tests

          - -
            -
          • Hover over the first item with the pointer. Item should highlight and get focus.
          • -
          • Hover over the second (disabled) item. Item should highlight and get focus.
          • -
          • Seperator items should not highlight on hover - no items should highlight in this case.
          • -
          - - -

          Mouse click tests

          - -
            -
          • Click on the first menu item. Alert should open with the message "Hello world". The menu should dissapear.
          • -
          • Click on the second menu item (disabled). Should not do anything - focus should remain on the disabled item.
          • -
          • Click anywhere outside the menu. Menu should close. Focus will be set by the browser based on where the user clicks.
          • -
          - - -

          Mouse submenu tests

          - -
            -
          • Hover over the "Enabled Submenu" item. Item should highlight and then pop open a submenu after a short (500ms) delay.
          • -
          • Hover over any of the other menu items. Submenu should close immediately and deselect the submenu parent item. The newly hovered item should become selected.
          • -
          • Hover over the "Disabled Submenu" item. Item should highlight, but no submenu should appear.
          • -
          • Clicking on the "Enabled Submenu" item before the submenu has opened (you'll have to be quick!) should immediatley open the submenu.
          • -
          • Clicking on the "Enabled Submenu" item after the submenu has opened should have no effect - the item is still selected and the submenu still open.
          • -
          • Hover over submenu item 1. Should select it - the parent menu item should stay selected also.
          • -
          • Hover over submenu item 2. Should select it - the parent menu item should stay selected also.
          • -
          - - -

          Keyboard opening tests

          - -
            -
          • On Windows: press shift-f10 with focus on any of the form controls. Should open the menu.
          • -
          • On Windows: press the context menu key (located on the right of the space bar on North American keyboards) with focus on any of the form controls. Should open the menu.
          • -
          • On Firefox on the Mac: press ctrl-space with focus on any of the form controls. Should open the menu.
          • -
          - - -

          Keyboard closing tests

          - -
            -
          • Open the menu.
          • -
          • Press tab. Should close the menu and return focus to where it was before the menu was opened.
          • -
          • Open the menu.
          • -
          • Press escape. Should close the menu and return focus to where it was before the menu was opened.
          • -
          - - -

          Keyboard navigation tests

          - -
            -
          • Open the menu.
          • -
          • Pressing up or down arrow should cycle focus through the items in that menu.
          • -
          • Pressing enter or space should invoke the menu item.
          • -
          • Disabled items receive focus but no action is taken upon pressing enter or space.
          • -
          - - -

          Keyboard submenu tests

          - -
            -
          • Open the menu.
          • -
          • The first item should become selected.
          • -
          • Press the right arrow key. Nothing should happen.
          • -
          • Press the left arrow key. Nothing should happen.
          • -
          • Press the down arrow until "Enabled Submenu" is selected. The submenu should not appear.
          • -
          • Press enter. The submenu should appear with the first item selected.
          • -
          • Press escape. The submenu should vanish - "Enabled Submenu" should remain selected.
          • -
          • Press the right arrow key. The submenu should appear with the first item selected.
          • -
          • Press the right arrow key. Nothing should happen.
          • -
          • Press the left arrow key. The submenu should close - "Enabled Submenu" should remain selected.
          • -
          • Press the left arrow key. The menu should not close and "Enabled Submenu" should remain selected.
          • -
          • Press escape. The menu should close and focus should be returned to where it was before the menu was opened.
          • -
          - -
          - - - diff --git a/includes/js/dijit/tests/test_ProgressBar.html b/includes/js/dijit/tests/test_ProgressBar.html deleted file mode 100644 index 7df8119..0000000 --- a/includes/js/dijit/tests/test_ProgressBar.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - Dojo Toolkit - ProgressBar test - - - - - - - - - - - - -

          Dijit ProgressBar Tests

          - -

          Test 1

          - Progress Value -
          - Max Progress Value -
          - -
          -
          - -

          Test 2

          - Write here: -
          -
          -
          -
          - Small, without text and background image: -
          -
          -
          - Show decimal place: -
          - -

          Test 3

          - No explicit maximum (both 50%) -
          -
          -
          - -

          Test 4

          - -
          - -

          Test 5 - indeterminate progess

          - - -
          - - -
          - - - diff --git a/includes/js/dijit/tests/test_TitlePane.html b/includes/js/dijit/tests/test_TitlePane.html deleted file mode 100644 index d0096c0..0000000 --- a/includes/js/dijit/tests/test_TitlePane.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - TitlePane Test - - - - - - - - - -

          Dijit TitlePane Test

          - -

          Test #1: plain title pane, width=300px

          -
          - Lorem Ipsum Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque - iaculis, nulla id semper faucibus, pede tellus nonummy magna, vitae adipiscing - orci arcu ut augue. Nunc condimentum, magna a vestibulum convallis, libero purus - pulvinar orci, sed vestibulum urna sem ut pede. More Ipsum... - Sed sollicitudin suscipit risus. Nam ullamcorper. Sed nisl lectus, pellentesque - nec, malesuada eget, ornare a, libero. Lorem ipsum dolor sit amet, - consectetuer adipiscing elit. -
          - -

          Test #2: title pane with form, width=300px

          - -
          -
          - Age:
          - Discount card
          -
          -
          -
          -
          - -

          Test #3: initially closed pane

          -
          -
          - Age:
          - Discount card
          -
          -
          -
          - - -

          Test #4: title pane with href (initially closed)

          -

          The pane should open to "Loading..." message and then 2 seconds later it should slide open more to show loaded data.

          -
          - Loading... -
          - -

          Test #5: title pane with href (initially closed)

          -

          The pane should start to open to "Loading..." but halfway through href data will be loaded, and it should expand correctly.

          -
          - Loading... -
          - -

          Test #6: nested title pane

          -
          -

          This is a title pane, containing another title pane ... -

          Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque iaculis, nulla id semper faucibus, pede tellus nonummy magna, vitae adipiscing orci arcu ut augue. Nunc condimentum, magna a vestibulum convallis, libero purus pulvinar orci, sed vestibulum urna sem ut pede. -More Ipsum... - -

          -

          And this is the inner title pane... -

          Sed sollicitudin suscipit risus. Nam ullamcorper. Sed nisl lectus, pellentesque nec, malesuada eget, ornare a, libero. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. -

          - -

          And this is the closing line for the outer title pane. -

          - -

          Test #7: subclassed title pane (only arrow is selectable and focusable)

          -
          - Lorem Ipsum Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque - iaculis, nulla id semper faucibus, pede tellus nonummy magna, vitae adipiscing - orci arcu ut augue. Nunc condimentum, magna a vestibulum convallis, libero purus - pulvinar orci, sed vestibulum urna sem ut pede. More Ipsum... - Sed sollicitudin suscipit risus. Nam ullamcorper. Sed nisl lectus, pellentesque - nec, malesuada eget, ornare a, libero. Lorem ipsum dolor sit amet, - consectetuer adipiscing elit. -
          - - - - - -
          - Here's some text below the title panes (to make sure that closing a title pane releases the space that the content was taking up) -
          - - - diff --git a/includes/js/dijit/tests/test_Toolbar.html b/includes/js/dijit/tests/test_Toolbar.html deleted file mode 100644 index 6634e2d..0000000 --- a/includes/js/dijit/tests/test_Toolbar.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - Dojo Toolbar Widget Test - - - - - - - - - -

          Toolbar test

          - -

          Toolbar from markup

          - -
          Cut
          Copy
          Paste
          Bold
          Italic
          Underline
          Strikethrough
           
          Ordered list
          Unordered list
          Indent
          Outdent
          - Login -
          - - - - - - - - - - - - -
          -
          -
          - Background - -
          - Foreground - -
          - Save - -
          - -

          Toolbar that looks like MenuBar

          - - -

          Toolbar from script with icons only

          -
          - -

          Toolbar from script with text and icons

          -
          - -

          Toolbar from script with text only

          -
          - - -

          - - diff --git a/includes/js/dijit/tests/test_Tooltip.html b/includes/js/dijit/tests/test_Tooltip.html deleted file mode 100644 index 56553b6..0000000 --- a/includes/js/dijit/tests/test_Tooltip.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - Dojo Tooltip Widget Test - - - - - - - - - -

          Tooltip test

          -

          Mouse-over or focus the items below to test tooltips.

          -

          - Change tooltip positioning search list: - - -

          -
          focusable text - - - rich formatting - ! - - -
          - plain text (not focusable) - - keyboard users can not access this tooltip - - anchor - tooltip on a link -

          - - this text has a programmatically created tooltip -
          - - - tooltip on a button - tooltip from "button w/tooltip". - - - Test tooltip on right aligned element. Tooltip should flow to the left --> - - - - tooltip on a select
          - two line tooltip. -
          -
          - -

          - -
          -
          -
          -
          -
          -
          -
          -
          -
          - -
          - s1 text


          - s2 text


          - s3 text


          - s4 text


          - s5 text


          -
          - - - - tooltip for #1
          - long long long long long long long long long long long text
          - make sure that this works properly with a really narrow window -
          - - tooltip for #2 - tooltip for #3 - tooltip for #4 - tooltip for #5 - tooltip for #6 - - s1 tooltip - s2 tooltip - s3 tooltip - s4 tooltip - s5 tooltip - -

          One Tooltip for multiple connect nodes

          - multi tooltip - multi1
          multi2 - - - - diff --git a/includes/js/dijit/tests/test_TooltipDialog.html b/includes/js/dijit/tests/test_TooltipDialog.html deleted file mode 100644 index 62a5000..0000000 --- a/includes/js/dijit/tests/test_TooltipDialog.html +++ /dev/null @@ -1,349 +0,0 @@ - - - - TooltipDialog Widget Tests - - - - - - - - - -

          Dijit layout.TooltipDialog tests

          - -
          - Show Tooltip Dialog -
          - - - - - - - - - - - - - - - - - - - - - - - - -
          - -
          - -
          -
          Note: This tooltip dialog has a bunch of nested drop downs for testing keyboard and click handling
          -
          -
          | - -
          - Show Tooltip Dialog with TabContainer -
          -
          -
          -

          - This is the first tab. -

          -

          - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin - porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. - Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. - Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae - risus. -

          -
          -
          -

          - This is the second tab. -

          -

          - ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin - porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. - Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. - Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae - risus. -

          -
          -
          -
          -
          | - -
          - Test slowloading HREF Tooltip Dialog -
          -
          | - -

          (scroll down to see more links to click, for testing positioning / scroll handling)

          - -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis -imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem -nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in -massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In -pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra -quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, -felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut -quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla -rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut -semper velit ante id metus. Praesent massa dolor, porttitor sed, -pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit -tortor pharetra congue. Suspendisse pulvinar. -

          -

          Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam -ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque -nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus -lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus -est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis -dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, -nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent -pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti -sociosqu ad litora torquent per conubia nostra, per inceptos -hymenaeos. -

          -
          -
          - -
          -
          -

          Mauris pharetra lorem sit amet sapien. Nulla libero metus, tristique -et, dignissim a, tempus et, metus. Ut libero. Vivamus tempus purus vel -ipsum. Quisque mauris urna, vestibulum commodo, rutrum vitae, ultrices -vitae, nisl. Class aptent taciti sociosqu ad litora torquent per -conubia nostra, per inceptos hymenaeos. Nulla id erat sit amet odio -luctus eleifend. Proin massa libero, ultricies non, tincidunt a, -vestibulum non, tellus. Nunc nunc purus, lobortis a, pulvinar at, -egestas a, mi. Cras adipiscing velit a mauris. Morbi felis. Etiam at -felis. Cras eget eros et justo mattis pulvinar. Nullam at justo id -risus porttitor dignissim. Vestibulum sed velit vel metus tincidunt -tempus. Nunc euismod nisl id dolor tristique tincidunt. Nullam placerat -turpis sed odio. Curabitur in est id nibh tempus ultrices. Aliquam -consectetuer dapibus eros. Aliquam nisl. -

          -
          - dropdown at right -
          -
          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis
          -
          -
          -

          -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean -semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin -porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. -Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. -Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae -risus. -

          -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis -imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem -nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in -massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In -pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra -quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, -felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut -quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla -rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut -semper velit ante id metus. Praesent massa dolor, porttitor sed, -pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit -tortor pharetra congue. Suspendisse pulvinar. -

          - -
          - Show Tooltip Dialog pointing upwards, with links -
          -

          Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam - ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque - nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus - lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus - est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis - dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, - nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent - pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti - sociosqu ad litora torquent per conubia nostra, per inceptos - hymenaeos. -

          -
          -
          -(will go up if there isn't enough space on the bottom of the screen) - -

          Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam -ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque -nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus -lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus -est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis -dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, -nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent -pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti -sociosqu ad litora torquent per conubia nostra, per inceptos -hymenaeos. -

          -
          -
          - -
          -
          -

          Mauris pharetra lorem sit amet sapien. Nulla libero metus, tristique -et, dignissim a, tempus et, metus. Ut libero. Vivamus tempus purus vel -ipsum. Quisque mauris urna, vestibulum commodo, rutrum vitae, ultrices -vitae, nisl. Class aptent taciti sociosqu ad litora torquent per -conubia nostra, per inceptos hymenaeos. Nulla id erat sit amet odio -luctus eleifend. Proin massa libero, ultricies non, tincidunt a, -vestibulum non, tellus. Nunc nunc purus, lobortis a, pulvinar at, -egestas a, mi. Cras adipiscing velit a mauris. Morbi felis. Etiam at -felis. Cras eget eros et justo mattis pulvinar. Nullam at justo id -risus porttitor dignissim. Vestibulum sed velit vel metus tincidunt -tempus. Nunc euismod nisl id dolor tristique tincidunt. Nullam placerat -turpis sed odio. Curabitur in est id nibh tempus ultrices. Aliquam -consectetuer dapibus eros. Aliquam nisl. -

          -

          -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean -semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin -porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. -Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. -Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae -risus. -

          -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis -imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem -nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in -massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In -pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra -quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, -felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut -quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla -rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut -semper velit ante id metus. Praesent massa dolor, porttitor sed, -pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit -tortor pharetra congue. Suspendisse pulvinar. -

          -

          Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam -ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque -nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus -lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus -est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis -dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, -nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent -pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti -sociosqu ad litora torquent per conubia nostra, per inceptos -hymenaeos. -

          -

          Mauris pharetra lorem sit amet sapien. Nulla libero metus, tristique -et, dignissim a, tempus et, metus. Ut libero. Vivamus tempus purus vel -ipsum. Quisque mauris urna, vestibulum commodo, rutrum vitae, ultrices -vitae, nisl. Class aptent taciti sociosqu ad litora torquent per -conubia nostra, per inceptos hymenaeos. Nulla id erat sit amet odio -luctus eleifend. Proin massa libero, ultricies non, tincidunt a, -vestibulum non, tellus. Nunc nunc purus, lobortis a, pulvinar at, -egestas a, mi. Cras adipiscing velit a mauris. Morbi felis. Etiam at -felis. Cras eget eros et justo mattis pulvinar. Nullam at justo id -risus porttitor dignissim. Vestibulum sed velit vel metus tincidunt -tempus. Nunc euismod nisl id dolor tristique tincidunt. Nullam placerat -turpis sed odio. Curabitur in est id nibh tempus ultrices. Aliquam -consectetuer dapibus eros. Aliquam nisl. -

          - -

          -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean -semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin -porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. -Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. -Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae -risus. -

          -

          Aliquam vitae enim. Duis scelerisque metus auctor est venenatis -imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem -nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in -massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In -pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra -quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, -felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut -quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla -rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut -semper velit ante id metus. Praesent massa dolor, porttitor sed, -pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit -tortor pharetra congue. Suspendisse pulvinar. -

          -

          Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam -ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque -nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus -lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus -est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis -dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, -nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent -pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti -sociosqu ad litora torquent per conubia nostra, per inceptos -hymenaeos. -

          -

          Mauris pharetra lorem sit amet sapien. Nulla libero metus, tristique -et, dignissim a, tempus et, metus. Ut libero. Vivamus tempus purus vel -ipsum. Quisque mauris urna, vestibulum commodo, rutrum vitae, ultrices -vitae, nisl. Class aptent taciti sociosqu ad litora torquent per -conubia nostra, per inceptos hymenaeos. Nulla id erat sit amet odio -luctus eleifend. Proin massa libero, ultricies non, tincidunt a, -vestibulum non, tellus. Nunc nunc purus, lobortis a, pulvinar at, -egestas a, mi. Cras adipiscing velit a mauris. Morbi felis. Etiam at -felis. Cras eget eros et justo mattis pulvinar. Nullam at justo id -risus porttitor dignissim. Vestibulum sed velit vel metus tincidunt -tempus. Nunc euismod nisl id dolor tristique tincidunt. Nullam placerat -turpis sed odio. Curabitur in est id nibh tempus ultrices. Aliquam -consectetuer dapibus eros. Aliquam nisl. -

          - - - - diff --git a/includes/js/dijit/tests/test_Tree.html b/includes/js/dijit/tests/test_Tree.html deleted file mode 100644 index fc88fc1..0000000 --- a/includes/js/dijit/tests/test_Tree.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - Dijit Tree Test - - - - - - - - - - - -

          Dijit Tree Test

          - -
          -
          - -

          Tree with hardcoded root node (not corresponding to any item in the store)

          -

          Clicking a folder node will open/close it (openOnclick==true), and clicking a leaf node will popup an alert.

          -
          - -
          - - - -

          A rootless tree (no "continents" node) with context menus, and custom icons

          - - - -
          - - - - -
          - - - diff --git a/includes/js/dijit/tests/test_Tree_Notification_API_Support.html b/includes/js/dijit/tests/test_Tree_Notification_API_Support.html deleted file mode 100644 index 07f7509..0000000 --- a/includes/js/dijit/tests/test_Tree_Notification_API_Support.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - Dijit Tree Test - - - - - - - - - - - -

          Dijit Tree Test - dojo.data.Notification API support

          - -
          -
          -
          - -
          -

          Selected Item:

          -
          -
          -

          -
          - -
          -
          -
          - -
          -
          -
          (drag and drop items to adjust list of children, and order of those children)
          -
          -
          Update Item
          -
          Delete Item
          - -

          New Item

          -

          Enter an Id, Name, and optionally a description to be added as a new item to the store. Upon successful addition, the tree will recieve notification of this event and respond accordingly. If you select a node the item will be added to that node, otherwise the item will be added to the tree root. "Id" is the identifer here and as such must be unique for all items in the store.

          -
          -
          -
          -

          -

          -
          - Children (in order): -
          -
          -
          - -
          -
          -
          (drag and drop items to adjust list of children, and order of those children)
          -
          - -
          Add Item to Store
          -
          - -

          Data in flat form

          - -
          - Id: ${itemId}, Name: ${name} - - Children: - - - -
          -
          - - - - - - diff --git a/includes/js/dijit/tests/test_instantiate.html b/includes/js/dijit/tests/test_instantiate.html deleted file mode 100644 index ffc39a4..0000000 --- a/includes/js/dijit/tests/test_instantiate.html +++ /dev/null @@ -1,111 +0,0 @@ - - - dojo.NodeList.instantiate() tests - - - - - - - - - - -

          dojo.NodeList.instantiate() tests: before

          - -

          Some simple widgets:

          -
            -
          • inner
          • inner
          • inner
          • inner
          • inner
          • inner
          • inner
          • inner
          • inner
          • -
          -
            -
          • inner
          • inner
          • inner
          • inner
          • inner
          • inner
          • inner
          • inner
          • inner
          • -
          - -

          A TabContainer:

          -
          -
          pane1
          -
          pane2
          -
          pane3
          -
          - -

          Some Buttons

          -
          - - - - - -
          - - - diff --git a/includes/js/dijit/tests/tree/test_Tree_DnD.html b/includes/js/dijit/tests/tree/test_Tree_DnD.html deleted file mode 100644 index 2602573..0000000 --- a/includes/js/dijit/tests/tree/test_Tree_DnD.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - Dijit Tree Test - - - - - - - - - - - - - -

          Dijit Tree Test - Drag And Drop Support

          - -
          - - - - - - - - - - - -
          -

          Custom

          -

          Should add this category to the store. The second parameter is the value for numberOfItems.

          -
          -
          Add Category
          -
          -
          -

          Items:

          -

          List of Items to be categorized

          -

          -
          Apple
          -
          Orange
          -
          Banana
          -
          Tomato
          -
          Pepper
          -
          Wheat
          -
          Corn
          -
          Spinach
          -
          Cucumber
          -
          Carrot
          -
          Potato
          -
          Grape
          -
          Lemon
          -
          Lettuce
          -
          Peanut
          -
          -
          -

          Collection Count Summary

          -

          You can't drop items onto this tree.

          -
          -
          -
          -

          Collection

          -

          - Drop items onto this tree, but only onto categories; should fail to let you drop on other items. - Can also move items within this tree. -

          -
          -
          -
          - - - diff --git a/includes/js/dijit/tests/tree/test_Tree_Programmatic.html b/includes/js/dijit/tests/tree/test_Tree_Programmatic.html deleted file mode 100644 index b32b50f..0000000 --- a/includes/js/dijit/tests/tree/test_Tree_Programmatic.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - Dijit Tree Programmatic Test - - - - - - - - - -

          Dijit Forest Store Programmatic Test

          - - diff --git a/includes/js/dijit/tests/tree/test_Tree_v1.html b/includes/js/dijit/tests/tree/test_Tree_v1.html deleted file mode 100644 index bf2b800..0000000 --- a/includes/js/dijit/tests/tree/test_Tree_v1.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - Dijit Tree Test - - - - - - - - - - -

          Dijit Tree Test

          - -
          - -

          Tree with hardcoded root node (not corresponding to any item in the store)

          -

          Clicking a folder node will open/close it (openOnclick==true), and clicking a leaf node will popup an alert.

          -
          - -
          - - - -

          A rootless tree (no "continents" node) with context menus, and custom icons

          - - - -
          - - - -
          - - - diff --git a/includes/js/dijit/tests/widgetsInTemplate.html b/includes/js/dijit/tests/widgetsInTemplate.html deleted file mode 100644 index ae3b6f9..0000000 --- a/includes/js/dijit/tests/widgetsInTemplate.html +++ /dev/null @@ -1,112 +0,0 @@ - - - testing widgetsInTemplate support - - - - - -

          testing widgetsInTemplate support

          - - - -
          - - - - -
          - - - diff --git a/includes/js/dijit/tests/widgetsInTemplate.js b/includes/js/dijit/tests/widgetsInTemplate.js deleted file mode 100644 index 18b25ea..0000000 --- a/includes/js/dijit/tests/widgetsInTemplate.js +++ /dev/null @@ -1,9 +0,0 @@ -if(!dojo._hasResource["dijit.tests.widgetsInTemplate"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.tests.widgetsInTemplate"] = true; -dojo.provide("dijit.tests.widgetsInTemplate"); - -if(dojo.isBrowser){ - doh.registerUrl("dijit.tests.widgetsInTemplate", dojo.moduleUrl("dijit", "tests/widgetsInTemplate.html")); -} - -} diff --git a/includes/js/dijit/themes/a11y/README.txt b/includes/js/dijit/themes/a11y/README.txt deleted file mode 100644 index a809354..0000000 --- a/includes/js/dijit/themes/a11y/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -This folder contains images used by all themes when in "high-contrast" mode. - -If you think you need to put something here, please talk to Becky or Bill first. \ No newline at end of file diff --git a/includes/js/dijit/themes/a11y/indeterminate_progress.gif b/includes/js/dijit/themes/a11y/indeterminate_progress.gif deleted file mode 100644 index 66f535c..0000000 Binary files a/includes/js/dijit/themes/a11y/indeterminate_progress.gif and /dev/null differ diff --git a/includes/js/dijit/themes/dijit.css b/includes/js/dijit/themes/dijit.css deleted file mode 100644 index fa689ae..0000000 --- a/includes/js/dijit/themes/dijit.css +++ /dev/null @@ -1,1205 +0,0 @@ - -.dijitReset { - - margin:0; - border:0; - padding:0; - line-height:normal; - font: inherit; - color: inherit; -} -.dijitInline { - - display:-moz-inline-box; - display:inline-block; - #zoom: 1; - #display:inline; - border:0; - padding:0; - vertical-align:middle; -} -.dj_ie INPUT.dijitTextBox, -.dj_ie .dijitInputField INPUT { - font-size: 100%; - font-family: inherit; - behavior: expression( - function(self){ - var cs, e; - try{ - if(self.currentStyle.fontFamily=='inherit'){ - cs = self.parentNode.currentStyle || document.documentElement.currentStyle; - self.style.fontFamily = cs.fontFamily; - } - self.style.behavior = null; - }catch(e){} - }(this) - ); -} -.dj_ie .dijitInputField INPUT { - margin: -1px 0 !important; -} -.dj_iequirks .dijitInputField INPUT { - margin-top: -3px !important; -} -.dijitInlineTable { - - display: -moz-inline-stack; - display:inline-table; - display:inline-block; - #zoom: 1; - #display:inline; - box-sizing: content-box; -moz-box-sizing: content-box; - border:0; - padding:0; -} -.dijitTeeny { - font-size:1px; - line-height:1px; -} -.dijitPopup { - position: absolute; - background-color: transparent; - margin: 0; - border: 0; - padding: 0; -} -.dijit_a11y .dijitPopup, -.dijit_ally .dijitPopup div, -.dijit_a11y .dijitPopup table, -.dijit_a11y .dijitTooltipContainer { - opacity: 1 !important; - background-color: white !important; -} -.dj_ie .dijit_a11y .dijitPopup * { - filter: none; -} -.dijitInputField { - overflow:hidden; - #zoom:1; -} -.dijitPositionOnly { - - padding: 0 !important; - border: 0 !important; - background-color: transparent !important; - background-image: none !important; - height: auto !important; - width: auto !important; -} -.dijitNonPositionOnly { - - float: none !important; - position: static !important; - margin: 0 0 0 0 !important; - vertical-align: middle !important; -} -.dijitBackgroundIframe { - - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - z-index: -1; - border: 0; - padding: 0; - margin: 0; -} -.dijitClickableRegion { - - cursor: pointer; -} -.dijitDisplayNone { - - display:none !important; -} -.dijitContainer { - - overflow: hidden; -} -.dijit_a11y * { - background-image:none !important; -} -.dijit_a11y .dijitCalendarIncrementControl .dijitA11ySideArrow { - padding-left:.2em; - visibility:visible !important; -} -.dj_ie6 .dijit_a11y .dijitCalendarIncrementControl { - font-size:.75em !important; -} -.dijit_a11y .dijitCalendarSelectedDate { - text-decoration:overline !important; -} -.dijitA11ySideArrow { - vertical-align:top; - margin-right:0em; - margin-left:.2em; - line-height:2em; - text-align:center; -} -.dijit_a11y .dijit * { - background:white !important; - color:black !important; -} -.dijit_a11y .dijitButtonNode { - border-color: black!important; - border-style: outset!important; - border-width: medium!important; -} -.dijit_a11y .dijitButtonDisabled .dijitButtonNode, -.dijit_a11y .dijitDropDownButtonDisabled .dijitButtonNode, -.dijit_a11y .dijitComboButtonDisabled .dijitButtonNode, -.dijit_a11y .dijitComboBoxDisabled .dijitInputField, -.dijit_a11y .dijitComboBoxDisabled .dijitButtonNode, -.dijit_a11y .dijitSpinnerDisabled .dijitButtonNode, -.dijit_a11y .dijitSpinnerDisabled .dijitInputField { - border-style: outset!important; - border-width: medium!important; - border-color: #999 !important; - color:#999 !important; -} -.dijitButtonNode * { - vertical-align: middle; -} -.dijit_a11y .dijitArrowButtonInner { - width: 1.0em; - display: none !important; -} -.dijitButtonNode .dijitArrowButtonInner { - background:no-repeat center; - width: 16px; -} -.dijitComboBox .dijitArrowButtonInner { - display: block; -} -.dijit_a11y .dijitToggleButtonChecked .dijitToggleButtonIconChar { - display: inline !important; -} - -.dijitLeft { - - background-position:left top; - background-repeat:no-repeat; -} -.dijitStretch { - - white-space:nowrap; - background-repeat:repeat-x; -} -.dijitRight { - - #display:inline; - background-position:right top; - background-repeat:no-repeat; -} -.dijitButton, -.dijitDropDownButton, -.dijitComboButton { - - margin: 0.2em; -} -.dj_safari .dijitToolbar .dijitDropDownButton { - padding-left: 0.3em; -} -.dijitButtonNode { - - border:1px solid gray; - margin:0; - padding:.2em .2em .1em; - line-height:normal; - cursor:pointer; - vertical-align:middle; - text-align:center; - white-space: nowrap; -} -.dijitArrowButton { - - - padding: 0 .4em; -} -DIV.dijitArrowButton { - float: right; -} -.dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - border-style: solid; - border-width: 0 0 0 1px !important; - padding: 0; - position: absolute; - right: 0; - float: none; -} -.dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - position: absolute; - height: 50%; -} -.dijitSpinner .dijitInputLayoutContainer .dijitDownArrowButton { - top: none; - bottom: 0; - border-top-width: 1px !important; -} -.dijitSpinner .dijitInputLayoutContainer .dijitUpArrowButton { - top: 0; - bottom: none; -} -.dijitComboButton TABLE { - - border-collapse: separate; - border:0; - padding:0; - margin:0; -} -.dijitComboButton .dijitButtonContents { - border-right-width:0 !important; -} -.dj_ie BUTTON.dijitButtonNode { - overflow: visible; -} -table .dijitButton .dijitButtonNode, -table .dijitComboButton .dijitButtonNode { - #overflow:hidden; -} -.dijitButtonNode IMG { - - vertical-align:middle; - margin-bottom:.2em; -} -.dijitTextBox, -.dijitComboBox, -.dijitSpinner { - border: solid black 1px; - #overflow: hidden; - width: 15em; -} -.dijitTextBox input:focus, -.dijitComboBox input:focus, -.dijitSpinner input:focus { - outline: none; -} -.dijitTextBoxFocused, -.dijitComboBoxFocused, -.dijitSpinnerFocused { - - outline: auto 5px -webkit-focus-ring-color; -} -.dijitTextBox INPUT, -.dijitComboBox INPUT, -.dijitSpinner INPUT { - padding:0; - border-left: solid black 1px; - display:inline; - position:static !important; - border:0 !important; - margin:0 !important; - vertical-align:0em !important; - visibility:visible !important; - background-color:transparent !important; - background-image:none !important; - width:100% !important; -} -.dijitValidationIcon { - visibility: hidden; - display: block; - padding: 0 2px; - float: right; - height: auto; -} -.dijitValidationIconText { - visibility: hidden; - display: none; - float:right; - font-family: sans-serif; - font-style:italic; - font-size: 0.45em; - line-height: 190%; -} -.dijit_a11y .dijitValidationIcon { display: none !important; } -.dijit_a11y .dijitValidationIconText { display: block !important; } -.dijitError .dijitValidationIcon, -.dijitError .dijitValidationIconText { - visibility: visible; -} -.dijitTextBox .dijitArrowButton { - - display:none; -} -.dijitCheckBox, -.dijitRadio, -.dijitCheckBoxInput { - padding: 0; - border: 0; - width: 16px; - height: 16px; - background-position:center center; - background-repeat:no-repeat; - overflow: hidden; -} -.dijitCheckBox INPUT, -.dijitRadio INPUT { - margin: 0; - padding: 0; - display: block; -} -.dijitCheckBoxInput { - - opacity: 0.01; -} -.dj_ie .dijitCheckBoxInput { - filter: alpha(opacity=0); -} -.dijit_a11y .dijitCheckBox, -.dijit_a11y .dijitRadio { - width: auto; - height: auto; -} -.dijit_a11y .dijitCheckBoxInput { - opacity: 1; - filter: none; - width: auto; - height: auto; -} -.dijitProgressBarEmpty{ - - position:relative;overflow:hidden; - border:1px solid black; - z-index:0; -} -.dijitProgressBarFull { - - position:absolute; - overflow:hidden; - z-index:-1; - top:0; - width:100%; - height:100%; -} -.dijitProgressBarTile{ - - position:absolute; - overflow:hidden; - top:0; - left:0; - bottom:0; - right:0; - margin:0; - padding:0; - width:auto; - height:auto; - background-color:#aaa; - background-attachment: fixed; -} -.dijit_a11y .dijitProgressBarTile{ - - border-width:4px; - border-style:solid; - background-color:transparent !important; -} -.dj_iequirks .dijitProgressBarTile{ - width:100%; - height:100%; -} -.dj_ie6 .dijitProgressBarTile{ - - position:static; - - height:100%; -} -.dijitProgressBarIndeterminate .dijitProgressBarLabel{ - visibility:hidden; -} -.dijitProgressBarIndeterminate .dijitProgressBarTile{ - -} -.dijitProgressBarIndeterminateHighContrastImage{ - display:none; -} -.dijit_a11y .dijitProgressBarIndeterminate .dijitProgressBarIndeterminateHighContrastImage{ - display:block; - position:absolute; - top:0; - bottom:0; - margin:0; - padding:0; - width:100%; - height:auto; -} -.dijitProgressBarLabel{ - display:block; - position:static; - width:100%; - text-align:center; - background-color:transparent !important; -} -.dijitProgressBarV .dijitProgressBarFull{ - bottom:0; -} -.dj_ie6 .dijitProgressBarV .dijitProgressBarTile{ - position:absolute; - - width:100%; -} -.dijitTooltip { - position: absolute; - z-index: 2000; - display: block; - - left: 50%; - top: -10000px; - overflow: visible; -} -.dijitTooltipContainer { - border: solid black 2px; - background: #b8b5b5; - color: black; - font-size: small; -} -.dijitTooltipFocusNode { - padding: 2px 2px 2px 2px; -} -.dijitTooltipConnector { - position: absolute; -} -.dijitLayoutContainer{ - position: relative; - display: block; - overflow: hidden; -} -body .dijitAlignTop, -body .dijitAlignBottom, -body .dijitAlignLeft, -body .dijitAlignRight { - position: absolute; - overflow: hidden; -} -body .dijitAlignClient { position: absolute; } -.dijitBorderContainer { - position:relative; - overflow: hidden; -} -.dijitBorderContainer > .dijitTextArea { - - resize: none; -} -.dijitSplitter { - position: absolute; - overflow: hidden; - z-index: 9999; - background-color: #fff; - border-color: gray; - border-style: solid; - border-width: 0; - z-index: 10 !important; -} -.dijitSplitterCover{ - position:absolute; - z-index:1; - top:0; - left:0; - width:100%; - height:100%; -} -.dijitSplitterH { - height: 7px; - border-top:1px; - border-bottom:1px; - cursor: ns-resize; -} -.dijitSplitterV { - width: 7px; - border-left:1px; - border-right:1px; - cursor: ew-resize; -} -.dijitSplitContainer{ - position: relative; - overflow: hidden; - display: block; -} -.dijitSplitPane{ - position: absolute; -} -.dijitSplitContainerSizerH, -.dijitSplitContainerSizerV { - position:absolute; - font-size: 1px; - cursor: move; - cursor: w-resize; - background-color: ThreeDFace; - border: 1px solid; - border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight; - margin: 0; -} -.dijitSplitContainerSizerH .thumb, .dijitSplitterV .dijitSplitterThumb { - overflow:hidden; - position:absolute; - top:49%; -} -.dijitSplitContainerSizerV .thumb, .dijitSplitterH .dijitSplitterThumb { - position:absolute; - left:49%; -} -.dijitSplitterShadow, -.dijitSplitContainerVirtualSizerH, -.dijitSplitContainerVirtualSizerV { - font-size: 1px; - background-color: ThreeDShadow; - -moz-opacity: 0.5; - opacity: 0.5; - filter: Alpha(Opacity=50); - margin: 0; -} -.dj_ie .dijitSplitterV, .dijitSplitContainerVirtualSizerH { - cursor: w-resize; -} -.dj_ie .dijitSplitterH, .dijitSplitContainerSizerV, .dijitSplitContainerVirtualSizerV { - cursor: n-resize; -} -.dijit_a11y .dijitSplitterH { - border-top:1px solid #d3d3d3 !important; - border-bottom:1px solid #d3d3d3 !important; -} -.dijit_a11y .dijitSplitterV { - border-left:1px solid #d3d3d3 !important; - border-right:1px solid #d3d3d3 !important; -} -.dijitContentPane { - display: block; - overflow: auto; -} -.dijitTitlePane { - display: block; - overflow: hidden; -} -.dj_ie7 .dijitTitlePaneTextNode { - display:inline; -} -.dijitColorPalette { - border:1px solid #999; - background:#fff; - -moz-border-radius:3pt; -} -img.dijitColorPaletteUnder { - border-style:none; - position:absolute; - left:0; - top:0; -} -.dijitColorPaletteInner { - position: relative; - overflow:hidden; - outline:0; -} -.dijitPaletteCell { - width: 20px; - height: 20px; - position: absolute; - overflow: hidden; - z-index: 10; - outline-width: 0; -} -.dijitPaletteImg { - width: 16px; - height: 14px; - position: absolute; - top: 1px; - left: 1px; - overflow: hidden; - cursor: default; - border:1px solid #999; - -} -.dijitPaletteCellHighlight img { - width: 14px; - height: 12px; - position: absolute; - top: 1px; - left: 1px; - overflow: hidden; - cursor: default; - border:2px solid #000; - outline:1px solid #dedede; - -} -.dijit_a11y .dijitPaletteCell { - background-color:transparent !important; -} -.dijit_a11y .dijitPaletteImg { - background-color:transparent !important; -} -.dijitAccordionPane { - overflow: hidden !important; -} -.dijitAccordionPane .dijitAccordionBody { - overflow: auto; -} -.dijitAccordionContainer { - border:1px solid #b7b7b7; - border-top:0 !important; -} -.dijitAccordionTitle:hover { - cursor: pointer; -} -.dijitAccordionTitle .dijitAccordionArrow { - float: right; -} -.dijitAccordionPane .dijitAccordionTitle .arrowTextUp, -.dijitAccordionPane .dijitAccordionTitle .arrowTextDown { - display: none; - float: right; - font-size: 0.65em; - font-weight: normal !important; -} -.dijit_a11y .dijitAccordionPane .dijitAccordionTitle .arrowTextUp { - display: inline; -} -.dijit_a11y .dijitAccordionTitle-selected .arrowTextDown { - display: inline; -} -.dijit_a11y .dijitAccordionTitle-selected .arrowTextUp { - display: none; -} -.dijitCalendarContainer thead tr th, .dijitCalendarContainer thead tr td, .dijitCalendarContainer tbody tr td, .dijitCalendarContainer tfoot tr td { - padding: 0; -} -.dijitCalendarNextYear { - margin:0 0 0 0.55em; -} -.dijitCalendarPreviousYear { - margin:0 0.55em 0 0; -} -.dijitCalendarIncrementControl { - cursor:pointer; - cursor:hand; - width:1em; -} -.dijitCalendarDisabledDate { - color:gray !important; -} -.dijitCalendarBodyContainer tbody tr td { - cursor:pointer; - cursor:hand; -} -.dijitCalendarPreviousMonthDisabled, -.dijitCalendarCurrentMonthDisabled, -.dijitCalendarNextMonthDisabled { - cursor:default !important -} -.dijitCalendarDateTemplate, -.dijitCalendarSelectedYear, -.dijitCalendarNextYear, -.dijitCalendarPreviousYear { - cursor:pointer; -} -.dijitCalendarMonthLabelSpacer { - - position: relative; - height: 1px; - overflow: hidden; - visibility: hidden; -} -.dijitMenu { - border:1px solid black; - background-color:white; -} -.dijitMenuTable { - margin:1px 0; - border-collapse:collapse; - border-width:0; - background-color:white; -} -.dijitMenuItem{ - white-space: nowrap; - padding:.1em .2em; -} -.dijitMenuItemHover { - cursor:pointer; - cursor:hand; - background-color:black; - color:white; -} -.dijitMenuItemIcon { - position: relative; - background-repeat: no-repeat; -} -.dijitMenuItemDisabled * { - - opacity:0.3; - cursor:default; -} -.dj_ie .dijit_a11y .dijitMenuItemDisabled td, -.dj_ie .dijitMenuItemDisabled *, -.dj_ie .dijitMenuItemDisabled td { - color:gray !important; - filter: alpha(opacity=35); -} -.dijitMenuItemLabel { - position: relative; - vertical-align: middle; -} -.dijit_a11y .dijitMenuItemHover .dijitMenuItemLabel { - border-width: 1px; - border-style: solid; -} -.dijit_a11y .dijitMenuItemHover { - border: 1px #fff dotted !important; -} -.dijit_a11y .dijitMenuExpandInner { - display:block !important; -} -.dijitMenuSeparatorTop { - height: 50%; - margin: 0; - margin-top:3px; - font-size: 1px; -} -.dijitMenuSeparatorBottom { - height: 50%; - margin: 0; - margin-bottom:3px; - font-size: 1px; -} -.dijitTabLabels-top { - top:1px !important; - z-index:10; -} -.dijitTabLabels-bottom { - margin-top:-1px !important; - z-index:10; -} -.dijitTabLabels-left-h { - margin-right:-1px !important; - z-index:10; -} -.dijitTabLabels-right-h { - margin-left:-1px !important; - z-index:10; -} -.dijitTabPaneWrapper { - z-index:0; - overflow: hidden; - clear: both; -} -.dijitTab { - position:relative; - float:left; - cursor:pointer; - white-space:nowrap; - z-index:3; -} -.dijitTabContainer .dijitAlignLeft .dijitTab, -.dijitTabContainer .dijitAlignRight .dijitTab { - float:none; -} -.dijitTabInnerDiv { - position:relative; -} -.dijitTab .close { - display: inline-block; - cursor: default; - font-size: small; -} -.dijitTab .closeText { - display:none; - padding: 0 2px; - margin: 0 2px; -} -.dijit_a11y .dijitTab .closeImage { - padding: 0 !important; - margin: 0 !important; - top: 0 !important; - bottom: 0 !important; -} -.dijit_a11y .closeText { - display:inline; - margin-left:6px; -} -.dijit_a11y .closeText:hover { - border:thin solid; -} -.dijit_a11y .dijitTabChecked { - border-style:dashed !important; -} -.dijit_a11y .dijitTabInnerDiv { - border-left:none !important; - } -.dijitInlineEditor { - - position:relative; - vertical-align:bottom; -} -.dj_ie .dijitInlineEditor { - vertical-align:middle; -} -.dijitInlineValue { - -} -.dijitInlineEditor .dijitButtonContainer { - - position:absolute; - right:0; - overflow:visible; -} -.dijitInlineEditor .saveButton, -.dijitInlineEditor .cancelButton { -} -.dijitTreeExpando, .dijitTreeExpand { - float:left; - display:inline; -} -.dijitTreeExpando { - clear:both; -} -.dijitTreeContent { - cursor: default; - -} -.dijitExpandoText { - display: none; -} -.dijit_a11y .dijitExpandoText { - float: left; - display: inline; - padding-left: 10px; - padding-right: 10px; - font-family: monospace; - border-style: solid; - border-width: thin; - cursor: pointer; -} -.dijitDialog { - position: absolute; - z-index: 999; - padding: 1px; -} -.dijitDialogUnderlayWrapper { - position: absolute; - left: 0; - top: 0; - z-index: 998; - display: none; - background: transparent !important; -} -.dijitDialogUnderlay { - background: #eee; - opacity: 0.5; -} -.dj_ie .dijitDialogUnderlay { - filter: alpha(opacity=50); -} -.dijit_a11y .dijitInputLayoutContainer, -.dijit_a11y .dijitDialog { - opacity: 1 !important; - background-color: white !important; -} -.dijitDialog .closeText { - display:none; - - position:absolute; -} -.dijit_a11y .dijitDialog .closeText { - display:inline; -} -.dijitSliderMoveable { - z-index:99; - position:absolute !important; - display:block; - vertical-align:middle; -} -.dijitSliderMoveableH { - right:0; -} -.dijit_a11y div.dijitSliderImageHandle, -.dijitSliderImageHandle { - margin:0; - padding:0; - position:absolute !important; - border:8px solid gray; - width:0; - height:0; -} -.dijit_a11y .dijitSliderFocused .dijitSliderImageHandle { - border:4px solid #000; - height:8px; - width:8px; -} -.dijitSliderImageHandleV { - top:-8px; - left:-6px; -} -.dijitSliderImageHandleH { - left:-8px; - top:-5px; - vertical-align:top; -} -.dijitSliderBar { - border-style:solid; - border-color:black; -} -.dijitSliderBarH { - height:4px; - border-width:1px 0; -} -.dijitSliderBarV { - width:4px; - border-width:0 1px; -} -.dijitSliderProgressBar { - background-color:red; - #z-index:0; -} -.dijitSliderProgressBarV { - position:static !important; - height:0%; - vertical-align:top; - text-align:left; -} -.dijitSliderProgressBarH { - position:absolute !important; - width:0%; - vertical-align:middle; - overflow:visible; -} -.dijitSliderRemainingBar { - overflow:hidden; - background-color:transparent; - #z-index:-1; -} -.dijitSliderRemainingBarV { - height:100%; - text-align:left; -} -.dijitSliderRemainingBarH { - width:100% !important; -} -.dijitSliderBumper { - overflow:hidden; - #z-index:-1 -} -.dijitSliderBumperV { - width:4px; - height:8px; - border-width:0 1px; -} -.dijitSliderBumperH { - width:8px; - height:4px; - border-width:1px 0; -} -.dijitSliderBottomBumper, -.dijitSliderLeftBumper { - background-color:red; -} -.dijitSliderTopBumper, -.dijitSliderRightBumper { - background-color:transparent; -} -.dijitSliderDecorationH { - text-align:center; -} -.dijitSlider .dijitSliderButton { - font-family:monospace; - margin:0; - padding:0; - display:block; -} -.dijit_a11y .dijitSliderButtonInner { - visibility:visible !important; -} -.dijitSliderButtonContainer { - text-align:center; - height:0; -} -.dijitSlider .dijitButtonNode { - padding:0; - display:block; -} -.dj_ie .dijitRuleContainer { - z-index: -1; -} -.dijitRuleContainer { - position:relative; - overflow:visible; -} -.dijitRuleContainerV { - height:100%; - line-height:0; - float:left; - text-align:left; -} -.dj_opera .dijitRuleContainerV { - line-height:2%; -} -.dj_ie .dijitRuleContainerV { - line-height:normal; -} -.dj_gecko .dijitRuleContainerV { - margin:0 0 1px 0; -} -.dijitRuleMark { - position:absolute; - border:1px solid black; - line-height:0; - height:100%; -} -.dijitRuleMarkH { - width:0; - border-top-width:0 !important; - border-bottom-width:0 !important; - border-left-width:0 !important; -} -.dijitRuleLabelContainer { - position:absolute; -} -.dijitRuleLabelContainerH { - text-align:center; - display:inline-block; -} -.dijitRuleLabelH { - position:relative; - left:-50%; -} -.dijitRuleMarkV { - height:0; - border-right-width:0 !important; - border-bottom-width:0 !important; - border-left-width:0 !important; - width:100%; - left:0; -} -.dj_ie .dijitRuleLabelContainerV { - margin-top:-.55em; -} -.dijit_a11y .dijitButtonContents .dijitButtonText { - display: inline !important; -} -.dijitTextArea { - width:100%; - overflow: auto; -} -.dj_ie .dijitTextArea p { - margin-top:0; - margin-bottom:0; - line-height: normal !important; -} -.dijitToolbarSeparator { - height: 18px; - width: 5px; - padding: 0 1px; - margin: 0; -} -.dijitIEFixedToolbar { - position:absolute; - - top: expression(eval((document.documentElement||document.body).scrollTop)); -} -.dijitTimePickerItemInner { - text-align:center; - border:0; - padding:2px 8px 2px 8px; -} -.dijitTimePickerTick { - - color:#dedede; - border-bottom:1px solid #dedede; - border-top:1px solid #dedede; - position:relative; -} -.dijitTimePickerTick .dijitTimePickerItemInner { - font-size:0.25em; -} -.dijitTimePickerMarker { - background-color:#ededed; - border-top:1px solid #999; - border-bottom:1px solid #999; -} -.dijitTimePickerItemHover { - opacity:1 !important; - background-color:#808080; - color:#fff; - border-top:1px solid #333; - border-bottom:1px solid #333; - cursor:pointer; -} -.dijitTimePickerMarker.dijitTimePickerItemHover { - font-size:1.3em; -} -.dijitTimePickerItemHover .dijitTimePickerItemInner { - display:block; - overflow:visible; - background-color:#808080; - font-size:1em; -} -.dijitTimePickerItemSelected { - font-weight:bold; - color:#333; - background-color:#b7cdee !important; -} -.dijit_a11y .dijitTimePickerItem { - border-bottom:1px solid #333; -} -.dijitToggleButtonIconChar { - display:none !important; -} -.dijit_a11y .dijitToggleButtonIconChar { - display:inline !important; -} -.dijit_a11y .dijitToggleButtonIconChar { - visibility:hidden; -} -.dijit_a11y .dijitToggleButtonChecked .dijitToggleButtonIconChar { - visibility:visible !important; -} -.dijitArrowButtonChar { - display:none !important; -} -.dijit_a11y .dijitArrowButtonChar { - display:inline !important; -} -.dijitInputLayoutContainer { - position: relative; - overflow: hidden; -} -.dijitSpinnerButtonContainer { - float: right; - width: 18px; - position: relative; - overflow: hidden; -} -.dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - height: 50%; - width: 16px; - overflow: hidden; -} -.dj_ie .dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - behavior: expression( - function(self){ - var e; - try{ - var h = self.parentNode.offsetHeight/2; - if(h > 1){ - self.style.height = h; - self.style.behavior = null; - } - }catch(e){} - }(this) - ); -} -.dijitSpinner .dijitInputLayoutContainer .dijitArrowButtonInner { - overflow: hidden; - line-height: 50%; -} -.dijit_a11y .dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - width: 100%; -} -.dijit_a11y .dijitSpinner .dijitArrowButton .dijitArrowButtonChar { - font-size: 0.4em; - vertical-align: top; -} -.dijit_a11y .dijitSpinnerButtonContainer { - width: 0.5em; - margin-left: 2px; - overflow: visible; -} -.dijit_a11y .dijitSpinnerButtonContainer .dijitButtonNode { - border-width: 1px 0px 0px 1px; - border-style: solid !important; -} diff --git a/includes/js/dijit/themes/dijit.css.commented.css b/includes/js/dijit/themes/dijit.css.commented.css deleted file mode 100644 index 7aec64f..0000000 --- a/includes/js/dijit/themes/dijit.css.commented.css +++ /dev/null @@ -1,1535 +0,0 @@ -/* - Essential styles that themes can inherit. - In other words, works but doesn't look great. -*/ - - - -/**** - GENERIC PIECES - ****/ - -.dijitReset { - /* Use this style to null out padding, margin, border in your template elements - so that page specific styles don't break them. - - Use in all TABLE, TR and TD tags. - - If there is more than one class on the tag, place this first so other classes override. - */ - margin:0; - border:0; - padding:0; - line-height:normal; - font: inherit; - color: inherit; -} - -.dijitInline { - /* To inline block elements. - Similar to InlineBox below, but this has fewer side-effects in Moz. - Also, apparently works on a DIV as well as a FIELDSET. - */ - display:-moz-inline-box; /* FF2 */ - display:inline-block; /* webkit and FF3 */ - #zoom: 1; /* set hasLayout:true to mimic inline-block */ - #display:inline; /* don't use .dj_ie since that increases the priority */ - border:0; - padding:0; - vertical-align:middle; -} - -.dj_ie INPUT.dijitTextBox, -.dj_ie .dijitInputField INPUT { - font-size: 100%; - font-family: inherit; /* trigger pseudo font-family inheritance */ - behavior: expression( /* if the font-family = inherit, then get the parent's font-family */ - function(self){ - var cs, e; - try{ - if(self.currentStyle.fontFamily=='inherit'){ - cs = self.parentNode.currentStyle || document.documentElement.currentStyle; - self.style.fontFamily = cs.fontFamily; - } - self.style.behavior = null; /* #5562: prevent re-eval of css expression */ - }catch(e){} /* #6024: random exceptions thrown during init */ - }(this) - ); -} - -.dj_ie .dijitInputField INPUT { /* try to get rid of IE implicit margin around INPUT */ - margin: -1px 0 !important; -} -.dj_iequirks .dijitInputField INPUT { /* try to get rid of IE implicit margin around INPUT */ - margin-top: -3px !important; -} - -.dijitInlineTable { - /* To inline tables with a given width set (otherwise, use dijitInline above) - * Must also put style="-moz-inline-stack" on the node itself to workaround FF2 bugs - */ - display: -moz-inline-stack; /* FF2 */ - display:inline-table; - display:inline-block; /* webkit and FF3 */ - #zoom: 1; /* set hasLayout:true to mimic inline-block */ - #display:inline; /* don't use .dj_ie since that increases the priority */ - box-sizing: content-box; -moz-box-sizing: content-box; - border:0; - padding:0; -} - -.dijitTeeny { - font-size:1px; - line-height:1px; -} - -/* - * Popup items have a wrapper div (dijitPopup) - * with the real popup inside, and maybe an iframe too - */ -.dijitPopup { - position: absolute; - background-color: transparent; - margin: 0; - border: 0; - padding: 0; -} -.dijit_a11y .dijitPopup, -.dijit_ally .dijitPopup div, -.dijit_a11y .dijitPopup table, -.dijit_a11y .dijitTooltipContainer { - opacity: 1 !important; - background-color: white !important; -} -.dj_ie .dijit_a11y .dijitPopup * { - filter: none; -} - -.dijitInputField { - overflow:hidden; - #zoom:1; -} - -.dijitPositionOnly { - /* Null out all position-related properties */ - padding: 0 !important; - border: 0 !important; - background-color: transparent !important; - background-image: none !important; - height: auto !important; - width: auto !important; -} - -.dijitNonPositionOnly { - /* Null position-related properties */ - float: none !important; - position: static !important; - margin: 0 0 0 0 !important; - vertical-align: middle !important; -} - -.dijitBackgroundIframe { - /* - * iframe used for FF2 in high-contrast mode to prevent menu - * being transparent - */ - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - z-index: -1; - border: 0; - padding: 0; - margin: 0; -} - -.dijitClickableRegion { - /* a region we expect the user to click on */ - cursor: pointer; -} - - -.dijitDisplayNone { - /* hide something. Use this as a class rather than element.style so another class can override */ - display:none !important; -} - -.dijitContainer { - /* for all layout containers */ - overflow: hidden; /* need on IE so something can be reduced in size, and so scrollbars aren't temporarily displayed when resizing */ -} - -/**** - A11Y - ****/ -.dijit_a11y * { - background-image:none !important; -} - -.dijit_a11y .dijitCalendarIncrementControl .dijitA11ySideArrow { - padding-left:.2em; - visibility:visible !important; -} -.dj_ie6 .dijit_a11y .dijitCalendarIncrementControl { - font-size:.75em !important; -} - -.dijit_a11y .dijitCalendarSelectedDate { - text-decoration:overline !important; -} - -.dijitA11ySideArrow { - vertical-align:top; - margin-right:0em; - margin-left:.2em; - line-height:2em; - text-align:center; -} - -.dijit_a11y .dijit * { - background:white !important; - color:black !important; -} -.dijit_a11y .dijitButtonNode { - border-color: black!important; - border-style: outset!important; - border-width: medium!important; -} - -.dijit_a11y .dijitButtonDisabled .dijitButtonNode, -.dijit_a11y .dijitDropDownButtonDisabled .dijitButtonNode, -.dijit_a11y .dijitComboButtonDisabled .dijitButtonNode, -.dijit_a11y .dijitComboBoxDisabled .dijitInputField, -.dijit_a11y .dijitComboBoxDisabled .dijitButtonNode, -.dijit_a11y .dijitSpinnerDisabled .dijitButtonNode, -.dijit_a11y .dijitSpinnerDisabled .dijitInputField { - border-style: outset!important; - border-width: medium!important; - border-color: #999 !important; - color:#999 !important; -} - -/* button inner contents - labels, icons etc. */ -.dijitButtonNode * { - vertical-align: middle; -} -.dijit_a11y .dijitArrowButtonInner { - width: 1.0em; - display: none !important; -} -.dijitButtonNode .dijitArrowButtonInner { - background:no-repeat center; - width: 16px; -} -.dijitComboBox .dijitArrowButtonInner { - display: block; -} - -/* In high contrast mode, display the check symbol */ -.dijit_a11y .dijitToggleButtonChecked .dijitToggleButtonIconChar { - display: inline !important; -} - - -/**** - 3-element borders: ( dijitLeft + dijitStretch + dijitRight ) - ****/ - -.dijitLeft { - /* Left part of a 3-element border */ - background-position:left top; - background-repeat:no-repeat; -} - -.dijitStretch { - /* Middle (stretchy) part of a 3-element border */ - white-space:nowrap; /* MOW: move somewhere else */ - background-repeat:repeat-x; -} - -.dijitRight { - /* Right part of a 3-element border */ - #display:inline; /* IE7 sizes to outer size w/o this */ - background-position:right top; - background-repeat:no-repeat; -} - -.dijitButton, -.dijitDropDownButton, -.dijitComboButton { - /* outside of button */ - margin: 0.2em; -} - -.dj_safari .dijitToolbar .dijitDropDownButton { - padding-left: 0.3em; -} - -.dijitButtonNode { - /* Node that is acting as a button -- may or may not be a BUTTON element */ - border:1px solid gray; - margin:0; - padding:.2em .2em .1em; - line-height:normal; - cursor:pointer; - vertical-align:middle; - text-align:center; - white-space: nowrap; -} - -.dijitArrowButton { - /* Node that is acting as a arrow button -- drop down (spinner has its own treatment). Also gets dijitButtonNode */ - /* place AFTER dijitButtonNode so it overrides */ - padding: 0 .4em; -} -DIV.dijitArrowButton { - float: right; -} - -.dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - border-style: solid; - border-width: 0 0 0 1px !important; - padding: 0; - position: absolute; - right: 0; - float: none; -} -.dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - position: absolute; - height: 50%; -} -.dijitSpinner .dijitInputLayoutContainer .dijitDownArrowButton { - top: none; - bottom: 0; - border-top-width: 1px !important; -} -.dijitSpinner .dijitInputLayoutContainer .dijitUpArrowButton { - top: 0; - bottom: none; -} - -.dijitComboButton TABLE { - /* each cell in a combo-table should have its own separate border */ - border-collapse: separate; - border:0; - padding:0; - margin:0; -} - -.dijitComboButton .dijitButtonContents { - border-right-width:0 !important; -} - - -.dj_ie BUTTON.dijitButtonNode { - overflow: visible; /* eliminates arbitrary left and right padding on buttons */ -} - -table .dijitButton .dijitButtonNode, -table .dijitComboButton .dijitButtonNode { - #overflow:hidden; /* visible messes up if the button is inside a table on IE */ -} - - - -.dijitButtonNode IMG { - /* make text and images line up cleanly */ - vertical-align:middle; - margin-bottom:.2em; -} - -/****** - TextBox related. - Everything that has an -*******/ - -.dijitTextBox, -.dijitComboBox, -.dijitSpinner { - border: solid black 1px; - #overflow: hidden; /* #6027, #6067 */ - width: 15em; /* need to set default size on outer node since inner nodes say and . user can override */ -} - -/* rules for safari to deal with fuzzy blue focus border */ -.dijitTextBox input:focus, -.dijitComboBox input:focus, -.dijitSpinner input:focus { - outline: none; /* blue fuzzy line looks wrong on combobox or something w/validation icon showing */ -} -.dijitTextBoxFocused, -.dijitComboBoxFocused, -.dijitSpinnerFocused { - /* should we display focus like we do on other browsers, or use the safari standard focus indicator?? */ - outline: auto 5px -webkit-focus-ring-color; -} - -.dijitTextBox INPUT, -.dijitComboBox INPUT, -.dijitSpinner INPUT { - padding:0; - border-left: solid black 1px; /* TODO: for RTL mode should be border-right */ - display:inline; - position:static !important; - border:0 !important; - margin:0 !important; - vertical-align:0em !important; - visibility:visible !important; - background-color:transparent !important; - background-image:none !important; - width:100% !important; -} - -/* Display an "X" for invalid input. Themes will override these rules to display an icon instead. -*/ -.dijitValidationIcon { - visibility: hidden; - display: block; - padding: 0 2px; - float: right; - height: auto; -} -.dijitValidationIconText { - visibility: hidden; - display: none; - float:right; - font-family: sans-serif; - font-style:italic; - font-size: 0.45em; - line-height: 190%; -} -.dijit_a11y .dijitValidationIcon { display: none !important; } -.dijit_a11y .dijitValidationIconText { display: block !important; } - -.dijitError .dijitValidationIcon, -.dijitError .dijitValidationIconText { - visibility: visible; -} - -.dijitTextBox .dijitArrowButton { - /* this is for a combo box with no arrow displayed; we set baseClass=TextBox */ - display:none; -} - -/**** - dijit.form.CheckBox - & - dijit.form.RadioButton - ****/ - -.dijitCheckBox, -.dijitRadio, -.dijitCheckBoxInput { - padding: 0; - border: 0; - width: 16px; - height: 16px; - background-position:center center; - background-repeat:no-repeat; - overflow: hidden; -} - -.dijitCheckBox INPUT, -.dijitRadio INPUT { - margin: 0; - padding: 0; - display: block; -} - -.dijitCheckBoxInput { - /* place the actual input on top, but all-but-invisible */ - opacity: 0.01; -} - -.dj_ie .dijitCheckBoxInput { - filter: alpha(opacity=0); -} - -.dijit_a11y .dijitCheckBox, -.dijit_a11y .dijitRadio { - width: auto; - height: auto; -} -.dijit_a11y .dijitCheckBoxInput { - opacity: 1; - filter: none; - width: auto; - height: auto; -} - - -/**** - dijit.ProgressBar - ****/ - -.dijitProgressBarEmpty{ - /* outer container and background of the bar that's not finished yet*/ - position:relative;overflow:hidden; - border:1px solid black; /* a11y: border necessary for high-contrast mode */ - z-index:0; /* establish a stacking context for this progress bar */ -} - -.dijitProgressBarFull { - /* outer container for background of bar that is finished */ - position:absolute; - overflow:hidden; - z-index:-1; - top:0; - width:100%; - height:100%; -} - -.dijitProgressBarTile{ - /* inner container for finished portion */ - position:absolute; - overflow:hidden; - top:0; - left:0; - bottom:0; - right:0; - margin:0; - padding:0; - width:auto; - height:auto; - background-color:#aaa; - background-attachment: fixed; -} - -.dijit_a11y .dijitProgressBarTile{ - /* a11y: The border provides visibility in high-contrast mode */ - border-width:4px; - border-style:solid; - background-color:transparent !important; -} - -.dj_iequirks .dijitProgressBarTile{ - width:100%; - height:100%; -} - -.dj_ie6 .dijitProgressBarTile{ - /* width:auto works in IE6 with position:static but not position:absolute */ - position:static; - /* height:auto does not work in IE6 */ - height:100%; -} - -.dijitProgressBarIndeterminate .dijitProgressBarLabel{ - visibility:hidden; -} - -.dijitProgressBarIndeterminate .dijitProgressBarTile{ - /* animated gif for 'indeterminate' mode */ -} - -.dijitProgressBarIndeterminateHighContrastImage{ - display:none; -} - -.dijit_a11y .dijitProgressBarIndeterminate .dijitProgressBarIndeterminateHighContrastImage{ - display:block; - position:absolute; - top:0; - bottom:0; - margin:0; - padding:0; - width:100%; - height:auto; -} - -.dijitProgressBarLabel{ - display:block; - position:static; - width:100%; - text-align:center; - background-color:transparent !important; -} - -/* progress bar in vertical mode - TODO: remove? no longer supported? */ -.dijitProgressBarV .dijitProgressBarFull{ - bottom:0; /* start at the bottom */ -} - -.dj_ie6 .dijitProgressBarV .dijitProgressBarTile{ - position:absolute; - /* can't use position:static here -- need absolute positioning to place - the bar at the bottom of a vertical progressbar */ - width:100%; -} - - -/**** - dijit.Tooltip - ****/ - -.dijitTooltip { - position: absolute; - z-index: 2000; - display: block; - /* make visible but off screen */ - left: 50%; - top: -10000px; - overflow: visible; -} - -.dijitTooltipContainer { - border: solid black 2px; - background: #b8b5b5; - color: black; - font-size: small; -} - -.dijitTooltipFocusNode { - padding: 2px 2px 2px 2px; -} - -.dijitTooltipConnector { - position: absolute; -} - -/* MOW: using actual images at this time -/* draw an arrow with CSS only * / -.dijitTooltipConnector { - /* the border on the triangle * / - font-size: 0; line-height: 0%; width: 0; - border-top: none; - border-bottom: 14px solid black; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - top: -14px; - left: 3px; - z-index: 2; -} - -.dijitTooltipConnector div { - /* the background of the triangle * / - font-size: 0; line-height: 0%; width: 0; - position: absolute; - border-bottom: 10px solid #b8b5b5; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - top: 6px; - left: -5px; - z-index: 3; -} - -*/ - - - -/* Layout widgets. This is essential CSS to make layout work (it isn't "styling" CSS) - make sure that the position:absolute in dijitAlign* overrides other classes */ - -.dijitLayoutContainer{ - position: relative; - display: block; - overflow: hidden; -} - -body .dijitAlignTop, -body .dijitAlignBottom, -body .dijitAlignLeft, -body .dijitAlignRight { - position: absolute; - overflow: hidden; -} - -body .dijitAlignClient { position: absolute; } - -.dijitBorderContainer { - position:relative; - overflow: hidden; -} - -.dijitBorderContainer > .dijitTextArea { - /* On Safari, for SimpleTextArea inside a BorderContainer, - don't want to display the grip to resize */ - resize: none; -} - -/* SplitContainer - - 'V' == container that splits vertically (up/down) - 'H' = horizontal (left/right) -*/ - -.dijitSplitter { - position: absolute; - overflow: hidden; - z-index: 9999; - background-color: #fff; - border-color: gray; - border-style: solid; - border-width: 0; - z-index: 10 !important; -} -.dijitSplitterCover{ - position:absolute; - z-index:1; - top:0; - left:0; - width:100%; - height:100%; -} -.dijitSplitterH { - height: 7px; - border-top:1px; - border-bottom:1px; - cursor: ns-resize; -} -.dijitSplitterV { - width: 7px; - border-left:1px; - border-right:1px; - cursor: ew-resize; -} -.dijitSplitContainer{ - position: relative; - overflow: hidden; - display: block; -} - -.dijitSplitPane{ - position: absolute; -} - -.dijitSplitContainerSizerH, -.dijitSplitContainerSizerV { - position:absolute; - font-size: 1px; - cursor: move; - cursor: w-resize; - background-color: ThreeDFace; - border: 1px solid; - border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight; - margin: 0; -} - -.dijitSplitContainerSizerH .thumb, .dijitSplitterV .dijitSplitterThumb { - overflow:hidden; - position:absolute; - top:49%; -} - -.dijitSplitContainerSizerV .thumb, .dijitSplitterH .dijitSplitterThumb { - position:absolute; - left:49%; -} - -.dijitSplitterShadow, -.dijitSplitContainerVirtualSizerH, -.dijitSplitContainerVirtualSizerV { - font-size: 1px; - background-color: ThreeDShadow; - -moz-opacity: 0.5; - opacity: 0.5; - filter: Alpha(Opacity=50); - margin: 0; -} - -.dj_ie .dijitSplitterV, .dijitSplitContainerVirtualSizerH { - cursor: w-resize; -} -.dj_ie .dijitSplitterH, .dijitSplitContainerSizerV, .dijitSplitContainerVirtualSizerV { - cursor: n-resize; -} - -.dijit_a11y .dijitSplitterH { - border-top:1px solid #d3d3d3 !important; - border-bottom:1px solid #d3d3d3 !important; -} -.dijit_a11y .dijitSplitterV { - border-left:1px solid #d3d3d3 !important; - border-right:1px solid #d3d3d3 !important; -} - -/* ContentPane */ - -.dijitContentPane { - display: block; - overflow: auto; /* if we don't have this (or overflow:hidden), then Widget.resizeTo() doesn't make sense for ContentPane */ -} -/* TitlePane */ -.dijitTitlePane { - display: block; - overflow: hidden; -} -.dj_ie7 .dijitTitlePaneTextNode { - display:inline; -} - -/* Color Palette */ - -.dijitColorPalette { - border:1px solid #999; - background:#fff; - -moz-border-radius:3pt; -} - -img.dijitColorPaletteUnder { - border-style:none; - position:absolute; - left:0; - top:0; -} -.dijitColorPaletteInner { - position: relative; - overflow:hidden; - outline:0; -} -.dijitPaletteCell { - width: 20px; - height: 20px; - position: absolute; - overflow: hidden; - z-index: 10; - outline-width: 0; -} -.dijitPaletteImg { - width: 16px; /*This is the width of one color in the provided palettes. */ - height: 14px; /* Height of one color in the provided palettes. */ - position: absolute; - top: 1px; - left: 1px; - overflow: hidden; - cursor: default; - border:1px solid #999; - /* -moz-border-radius:2pt; */ -} - -.dijitPaletteCellHighlight img { - width: 14px; /*This is the width of one color in the provided palettes. */ - height: 12px; /* Height of one color in the provided palettes. */ - position: absolute; - top: 1px; - left: 1px; - overflow: hidden; - cursor: default; - border:2px solid #000; - outline:1px solid #dedede; - /* -moz-border-radius:0; */ -} - -.dijit_a11y .dijitPaletteCell { - background-color:transparent !important; -} -.dijit_a11y .dijitPaletteImg { - background-color:transparent !important; -} - -/* Accordion */ - -.dijitAccordionPane { - overflow: hidden !important; /* prevent spurious scrollbars */ -} - -.dijitAccordionPane .dijitAccordionBody { - overflow: auto; -} - - -.dijitAccordionContainer { - border:1px solid #b7b7b7; - border-top:0 !important; -} - -.dijitAccordionTitle:hover { - cursor: pointer; -} - -.dijitAccordionTitle .dijitAccordionArrow { - float: right; -} - -/* images off, high-contrast mode styles */ -.dijitAccordionPane .dijitAccordionTitle .arrowTextUp, -.dijitAccordionPane .dijitAccordionTitle .arrowTextDown { - display: none; - float: right; - font-size: 0.65em; - font-weight: normal !important; -} - -.dijit_a11y .dijitAccordionPane .dijitAccordionTitle .arrowTextUp { - display: inline; -} - -.dijit_a11y .dijitAccordionTitle-selected .arrowTextDown { - display: inline; -} - -.dijit_a11y .dijitAccordionTitle-selected .arrowTextUp { - display: none; -} - -/* Calendar */ - -.dijitCalendarContainer thead tr th, .dijitCalendarContainer thead tr td, .dijitCalendarContainer tbody tr td, .dijitCalendarContainer tfoot tr td { - padding: 0; -} - -.dijitCalendarNextYear { - margin:0 0 0 0.55em; -} - -.dijitCalendarPreviousYear { - margin:0 0.55em 0 0; -} - -.dijitCalendarIncrementControl { - cursor:pointer; - cursor:hand; - width:1em; -} - -.dijitCalendarDisabledDate { - color:gray !important; -} - -.dijitCalendarBodyContainer tbody tr td { - cursor:pointer; - cursor:hand; -} - -.dijitCalendarPreviousMonthDisabled, -.dijitCalendarCurrentMonthDisabled, -.dijitCalendarNextMonthDisabled { - cursor:default !important -} - -.dijitCalendarDateTemplate, -.dijitCalendarSelectedYear, -.dijitCalendarNextYear, -.dijitCalendarPreviousYear { - cursor:pointer; -} - -.dijitCalendarMonthLabelSpacer { - /* don't display it, but make it affect the width */ - position: relative; - height: 1px; - overflow: hidden; - visibility: hidden; -} - - -/* Menu */ - -.dijitMenu { - border:1px solid black; - background-color:white; -} -.dijitMenuTable { - margin:1px 0; - border-collapse:collapse; - border-width:0; - background-color:white; -} - -.dijitMenuItem{ - white-space: nowrap; - padding:.1em .2em; -} - -.dijitMenuItemHover { - cursor:pointer; - cursor:hand; - background-color:black; - color:white; -} - -.dijitMenuItemIcon { - position: relative; - background-repeat: no-repeat; -} - -.dijitMenuItemDisabled * { - /* for a disabled menu item, just set it to mostly transparent */ - opacity:0.3; - cursor:default; -} -.dj_ie .dijit_a11y .dijitMenuItemDisabled td, -.dj_ie .dijitMenuItemDisabled *, -.dj_ie .dijitMenuItemDisabled td { - color:gray !important; - filter: alpha(opacity=35); -} - -.dijitMenuItemLabel { - position: relative; - vertical-align: middle; -} - -.dijit_a11y .dijitMenuItemHover .dijitMenuItemLabel { - border-width: 1px; - border-style: solid; -} -.dijit_a11y .dijitMenuItemHover { - border: 1px #fff dotted !important; -} - -.dijit_a11y .dijitMenuExpandInner { - display:block !important; -} - -/* separator can be two pixels -- set border of either one to 0 to have only one */ -.dijitMenuSeparatorTop { - height: 50%; - margin: 0; - margin-top:3px; - font-size: 1px; -} - -.dijitMenuSeparatorBottom { - height: 50%; - margin: 0; - margin-bottom:3px; - font-size: 1px; -} - - - -/* Tab */ - - -.dijitTabLabels-top { -/* position the tab labels row down by 1 px, and on top of the dijitTabPaneWrapper - so the buttons can overlay the tab pane properly */ - top:1px !important; - z-index:10; -} - -.dijitTabLabels-bottom { -/* position the tab labels row up by 1 px so they overlap */ - margin-top:-1px !important; - z-index:10; -} - -.dijitTabLabels-left-h { -/* position the tab labels left by 1 px so they overlap */ - margin-right:-1px !important; - z-index:10; -} - -.dijitTabLabels-right-h { -/* position the tab labels right by 1 px, on top of the dijitTabPaneWrapper - so the buttons can overlay the tab pane properly */ - margin-left:-1px !important; - z-index:10; -} - -.dijitTabPaneWrapper { - z-index:0; - overflow: hidden; - clear: both; /* needed for doLayout=false mode */ -} - -.dijitTab { - position:relative; - float:left; - cursor:pointer; - white-space:nowrap; - z-index:3; -} - -.dijitTabContainer .dijitAlignLeft .dijitTab, -.dijitTabContainer .dijitAlignRight .dijitTab { - float:none; -} - -.dijitTabInnerDiv { - position:relative; -} - -.dijitTab .close { - display: inline-block; - cursor: default; - font-size: small; -} - -/* images off, high-contrast mode styles */ -.dijitTab .closeText { - display:none; - padding: 0 2px; - margin: 0 2px; -} -.dijit_a11y .dijitTab .closeImage { - padding: 0 !important; - margin: 0 !important; - top: 0 !important; - bottom: 0 !important; -} -.dijit_a11y .closeText { - display:inline; - margin-left:6px; -} -.dijit_a11y .closeText:hover { - border:thin solid; -} -.dijit_a11y .dijitTabChecked { - border-style:dashed !important; -} - -.dijit_a11y .dijitTabInnerDiv { - border-left:none !important; - } - - -.dijitInlineEditor { - /* span around an inline-editable value when in edit mode */ - position:relative; - vertical-align:bottom; -} -.dj_ie .dijitInlineEditor { - vertical-align:middle; -} - -.dijitInlineValue { - /* span around an inline-editable value when NOT in edit mode */ -} - -.dijitInlineEditor .dijitButtonContainer { - /* div around the buttons -- makes them float below the field */ - position:absolute; - right:0; - overflow:visible; -} - -.dijitInlineEditor .saveButton, -.dijitInlineEditor .cancelButton { -} - -/* Tree */ - -.dijitTreeExpando, .dijitTreeExpand { - float:left; - display:inline; -} - -.dijitTreeExpando { - clear:both; -} - -.dijitTreeContent { - cursor: default; - /* can't make inline - multiline bugs */ -} - -.dijitExpandoText { - display: none; -} - -.dijit_a11y .dijitExpandoText { - float: left; - display: inline; - padding-left: 10px; - padding-right: 10px; - font-family: monospace; - border-style: solid; - border-width: thin; - cursor: pointer; -} - -/* Dialog */ - -.dijitDialog { - position: absolute; - z-index: 999; - padding: 1px; -} - -.dijitDialogUnderlayWrapper { - position: absolute; - left: 0; - top: 0; - z-index: 998; - display: none; - background: transparent !important; -} - -.dijitDialogUnderlay { - background: #eee; - opacity: 0.5; -} - -.dj_ie .dijitDialogUnderlay { - filter: alpha(opacity=50); -} - -/* images off, high-contrast mode styles */ -.dijit_a11y .dijitInputLayoutContainer, -.dijit_a11y .dijitDialog { - opacity: 1 !important; - background-color: white !important; -} - -.dijitDialog .closeText { - display:none; - /* for the onhover border in high contrast on IE: */ - position:absolute; -} - -.dijit_a11y .dijitDialog .closeText { - display:inline; -} - -.dijitSliderMoveable { - z-index:99; - position:absolute !important; - display:block; - vertical-align:middle; -} - -.dijitSliderMoveableH { - right:0; -} - -.dijit_a11y div.dijitSliderImageHandle, -.dijitSliderImageHandle { - margin:0; - padding:0; - position:absolute !important; - border:8px solid gray; - width:0; - height:0; -} -.dijit_a11y .dijitSliderFocused .dijitSliderImageHandle { - border:4px solid #000; - height:8px; - width:8px; -} - -.dijitSliderImageHandleV { - top:-8px; - left:-6px; -} - -.dijitSliderImageHandleH { - left:-8px; - top:-5px; - vertical-align:top; -} - -.dijitSliderBar { - border-style:solid; - border-color:black; -} - -.dijitSliderBarH { - height:4px; - border-width:1px 0; -} - -.dijitSliderBarV { - width:4px; - border-width:0 1px; -} - -.dijitSliderProgressBar { - background-color:red; - #z-index:0; -} - -.dijitSliderProgressBarV { - position:static !important; - height:0%; - vertical-align:top; - text-align:left; -} - -.dijitSliderProgressBarH { - position:absolute !important; - width:0%; - vertical-align:middle; - overflow:visible; -} - -.dijitSliderRemainingBar { - overflow:hidden; - background-color:transparent; - #z-index:-1; -} - -.dijitSliderRemainingBarV { - height:100%; - text-align:left; -} - -.dijitSliderRemainingBarH { - width:100% !important; -} - -/* the slider bumper is the space consumed by the slider handle when it hangs over an edge */ -.dijitSliderBumper { - overflow:hidden; - #z-index:-1 -} - -.dijitSliderBumperV { - width:4px; - height:8px; - border-width:0 1px; -} - -.dijitSliderBumperH { - width:8px; - height:4px; - border-width:1px 0; -} - -.dijitSliderBottomBumper, -.dijitSliderLeftBumper { - background-color:red; -} - -.dijitSliderTopBumper, -.dijitSliderRightBumper { - background-color:transparent; -} - -.dijitSliderDecorationH { - text-align:center; -} - -.dijitSlider .dijitSliderButton { - font-family:monospace; - margin:0; - padding:0; - display:block; -} - -.dijit_a11y .dijitSliderButtonInner { - visibility:visible !important; -} - -.dijitSliderButtonContainer { - text-align:center; - height:0; -} - -.dijitSlider .dijitButtonNode { - padding:0; - display:block; -} - -.dj_ie .dijitRuleContainer { - z-index: -1; /* #4809 */ -} - -.dijitRuleContainer { - position:relative; - overflow:visible; -} - -.dijitRuleContainerV { - height:100%; - line-height:0; - float:left; - text-align:left; -} - -.dj_opera .dijitRuleContainerV { - line-height:2%; -} - -.dj_ie .dijitRuleContainerV { - line-height:normal; -} - -.dj_gecko .dijitRuleContainerV { - margin:0 0 1px 0; /* mozilla bug workaround for float:left,height:100% block elements */ -} - -.dijitRuleMark { - position:absolute; - border:1px solid black; - line-height:0; - height:100%; -} - -.dijitRuleMarkH { - width:0; - border-top-width:0 !important; - border-bottom-width:0 !important; - border-left-width:0 !important; -} - -.dijitRuleLabelContainer { - position:absolute; -} - -.dijitRuleLabelContainerH { - text-align:center; - display:inline-block; -} - -.dijitRuleLabelH { - position:relative; - left:-50%; -} - -.dijitRuleMarkV { - height:0; - border-right-width:0 !important; - border-bottom-width:0 !important; - border-left-width:0 !important; - width:100%; - left:0; -} - -.dj_ie .dijitRuleLabelContainerV { - margin-top:-.55em; -} - -/* Toolbar A11y */ -.dijit_a11y .dijitButtonContents .dijitButtonText { - display: inline !important; -} - -.dijitTextArea { - width:100%; - overflow: auto; /* w/out this IE's SimpleTextArea goes to overflow: scroll */ -} - -.dj_ie .dijitTextArea p { - margin-top:0; - margin-bottom:0; - line-height: normal !important; -} - -.dijitToolbarSeparator { - height: 18px; - width: 5px; - padding: 0 1px; - margin: 0; -} - -/* Editor */ -.dijitIEFixedToolbar { - position:absolute; - /* top:0; */ - top: expression(eval((document.documentElement||document.body).scrollTop)); -} - -/* TimePicker */ - -.dijitTimePickerItemInner { - text-align:center; - border:0; - padding:2px 8px 2px 8px; -} -.dijitTimePickerTick { - /* opacity:0.1 !important; */ - color:#dedede; - border-bottom:1px solid #dedede; - border-top:1px solid #dedede; - position:relative; -} -.dijitTimePickerTick .dijitTimePickerItemInner { - font-size:0.25em; -} -.dijitTimePickerMarker { - background-color:#ededed; - border-top:1px solid #999; - border-bottom:1px solid #999; -} - -.dijitTimePickerItemHover { - opacity:1 !important; - background-color:#808080; - color:#fff; - border-top:1px solid #333; - border-bottom:1px solid #333; - cursor:pointer; -} -.dijitTimePickerMarker.dijitTimePickerItemHover { - font-size:1.3em; -} - -.dijitTimePickerItemHover .dijitTimePickerItemInner { - display:block; - overflow:visible; - background-color:#808080; - font-size:1em; -} - -.dijitTimePickerItemSelected { - font-weight:bold; - color:#333; - background-color:#b7cdee !important; -} - -.dijit_a11y .dijitTimePickerItem { - border-bottom:1px solid #333; -} - - -/* Disable the high contrast character */ -.dijitToggleButtonIconChar { - display:none !important; -} -.dijit_a11y .dijitToggleButtonIconChar { - display:inline !important; -} - -.dijit_a11y .dijitToggleButtonIconChar { - visibility:hidden; -} -.dijit_a11y .dijitToggleButtonChecked .dijitToggleButtonIconChar { - visibility:visible !important; -} - -.dijitArrowButtonChar { - display:none !important; -} -.dijit_a11y .dijitArrowButtonChar { - display:inline !important; -} -.dijitInputLayoutContainer { - position: relative; - overflow: hidden; -} -.dijitSpinnerButtonContainer { - float: right; - width: 18px; - position: relative; - overflow: hidden; -} -.dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - height: 50%; - width: 16px; - overflow: hidden; -} -.dj_ie .dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - behavior: expression( - function(self){ - var e; - try{ - var h = self.parentNode.offsetHeight/2; - if(h > 1){ - self.style.height = h; - self.style.behavior = null; /* prevent re-eval of css expression */ - } - }catch(e){} /* random exceptions thrown during init */ - }(this) - ); -} -.dijitSpinner .dijitInputLayoutContainer .dijitArrowButtonInner { - overflow: hidden; - line-height: 50%; -} -.dijit_a11y .dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - width: 100%; -} -.dijit_a11y .dijitSpinner .dijitArrowButton .dijitArrowButtonChar { - font-size: 0.4em; - vertical-align: top; -} -.dijit_a11y .dijitSpinnerButtonContainer { - width: 0.5em; - margin-left: 2px; - overflow: visible; -} -.dijit_a11y .dijitSpinnerButtonContainer .dijitButtonNode { - border-width: 1px 0px 0px 1px; - border-style: solid !important; -} diff --git a/includes/js/dijit/themes/dijit_rtl.css b/includes/js/dijit/themes/dijit_rtl.css deleted file mode 100644 index e25cd2e..0000000 --- a/includes/js/dijit/themes/dijit_rtl.css +++ /dev/null @@ -1,140 +0,0 @@ -.dj_gecko .dijitRtl .dijitInputField { - direction: ltr; -} -.dj_gecko .dijitRtl .dijitInputField * { - direction: rtl; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpando, .dijitRtl .dijitTreeContainer .dijitTreeExpand { - float:right; -} -.dijitRtl .dijitExpandoText { - float: right; - padding-left: 3px; - padding-right: 0; -} -.dijitRtl .dijitComboBox .dijitInputField { - border-right-width:1px !important; - border-left-width:0 !important; -} -.dijitRtl .dijitCalendarNextYear { - margin:0 0.55em 0 0; -} -.dijitRtl .dijitCalendarPreviousYear { - margin:0 0 0 0.55em; -} -.dijitRtl .dijitProgressBarFull .dijitProgressBarLabel { - right:0; -} -.dijitRtl .dijitComboButton .dijitButtonContents { - border-right-width:1px !important; -} -.dijitRtl .dijitA11ySideArrow { - margin-left:1em; - margin-right:0; -} -.dijitRtl .dijitAccordionArrow, -.dijitRtl .dijitAccordionTitle .arrowTextUp, -.dijitRtl .dijitAccordionTitle .arrowTextDown { - float: left; -} -.dijitRtl .dijitSliderImageHandleV { - left:auto; - right:-6px; -} -.dj_ie .dijitRtl .dijitSliderImageHandleV { - right:-10px; -} -.dijitRtl .dijitSliderMoveableH { - right:auto; - left:0; -} -.dijitRtl .dijitRuleContainerV { - float:right; -} -.dj_gecko .dijitRtl .dijitRuleContainerV { - float:left; -} -.dj_ie .dijitRtl .dijitRuleContainerV { - text-align:right; -} -.dj_ie .dijitRtl .dijitRuleLabelV { - text-align:left; -} -.dj_ie .dijitRtl .dijitRuleLabelH { - zoom:1; -} -.dj_ie .dijitRtl .dijitSliderProgressBarH { - right:0; - left:auto; -} -.dj_gecko .dijitRtl .dijitSliderProgressBarH { - float:right; - right:0; - left:auto; -} -.dijitRtl .dijitTab { - float:right; -} -.dj_ie .dijitRtl .dijitTab, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv span { - position:static; - zoom:1; -} -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignLeft { - margin-left:1px !important; -} -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignRight { - margin-right:1px !important; -} -.dj_ie6 .dijitRtl .dijitTab { - - width:1px; -} -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignLeft { - - margin-left:1px !important; -} -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignRight { - - margin-right:1px !important; -} -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignLeft { - overflow-x:visible; - margin-left:2px !important; -} -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignRight { - overflow-x:visible; - margin-right:2px !important; -} -.dj_ie7 .dijitRtl .dijitTab .dijitTabInnerDiv { - float:left; -} -.dj_ie7 .dijitRtl .dijitTab .closeImage { - padding: 0 0 0 12px; -} -.dj_ie .dijitRtl .dijitAlignRight .dijitTab { - position:relative; -} -.dijitRtl .dijitTitlePane .dijitArrowNode { - float: left; -} -.dijitRtl .dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - right: auto; - left: 0; - border-width: 0 1px 0 0 !important; -} -.dijitRtl .dijitSpinnerButtonContainer { - float: left; -} -.dijitRtl .dijit_a11y .dijitSpinnerButtonContainer { - margin-left: none; - margin-right: 2px; -} -.dijitRtl DIV.dijitArrowButton, .dijitRtl .dijitValidationIcon, .dijitRtl .dijitValidationIconText { - float: left; -} -.dijitRtl .dijitContentPaneLoading, .dijitRtl .dijitContentPaneError { - background-position:right; - padding-right:25px; -} diff --git a/includes/js/dijit/themes/dijit_rtl.css.commented.css b/includes/js/dijit/themes/dijit_rtl.css.commented.css deleted file mode 100644 index 2016849..0000000 --- a/includes/js/dijit/themes/dijit_rtl.css.commented.css +++ /dev/null @@ -1,194 +0,0 @@ -.dj_gecko .dijitRtl .dijitInputField { - direction: ltr; /* Firefox needs this - probably a bug */ -} -.dj_gecko .dijitRtl .dijitInputField * { - direction: rtl; /* Firefox needs dijitInputField to be ltr, so fix the contained tags */ -} - -/* Tree */ - -.dijitRtl .dijitTreeContainer .dijitTreeExpando, .dijitRtl .dijitTreeContainer .dijitTreeExpand { - float:right; -} - -/* can't specify .dijitRtl and .dijit_a11y on this rule, since they are on the same node */ -.dijitRtl .dijitExpandoText { - float: right; - padding-left: 3px; - padding-right: 0; -} - -.dijitRtl .dijitComboBox .dijitInputField { - border-right-width:1px !important; - border-left-width:0 !important; -} - -/* Calendar */ - -.dijitRtl .dijitCalendarNextYear { - margin:0 0.55em 0 0; -} - -.dijitRtl .dijitCalendarPreviousYear { - margin:0 0 0 0.55em; -} - -.dijitRtl .dijitProgressBarFull .dijitProgressBarLabel { - right:0; /* FF workaround */ -} - -/* Button */ - -.dijitRtl .dijitComboButton .dijitButtonContents { - border-right-width:1px !important; -} - -/* A11y */ -.dijitRtl .dijitA11ySideArrow { - margin-left:1em; - margin-right:0; -} - -/* AccordionPane */ - -.dijitRtl .dijitAccordionArrow, -.dijitRtl .dijitAccordionTitle .arrowTextUp, -.dijitRtl .dijitAccordionTitle .arrowTextDown { - float: left; -} - -/* Slider */ - -.dijitRtl .dijitSliderImageHandleV { - left:auto; - right:-6px; -} - -.dj_ie .dijitRtl .dijitSliderImageHandleV { - right:-10px; -} - -.dijitRtl .dijitSliderMoveableH { - right:auto; - left:0; -} - -.dijitRtl .dijitRuleContainerV { - float:right; -} - -.dj_gecko .dijitRtl .dijitRuleContainerV { - float:left; -} - -.dj_ie .dijitRtl .dijitRuleContainerV { - text-align:right; -} - -.dj_ie .dijitRtl .dijitRuleLabelV { - text-align:left; -} - -.dj_ie .dijitRtl .dijitRuleLabelH { - zoom:1; -} - -.dj_ie .dijitRtl .dijitSliderProgressBarH { - right:0; - left:auto; -} - -.dj_gecko .dijitRtl .dijitSliderProgressBarH { - float:right; - right:0; - left:auto; -} - -/* TabContainer */ - -.dijitRtl .dijitTab { - float:right; -} - -.dj_ie .dijitRtl .dijitTab, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv span { - position:static; - zoom:1; -} - -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignLeft { - margin-left:1px !important; -} - -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignRight { - margin-right:1px !important; -} - -.dj_ie6 .dijitRtl .dijitTab { - /* force ie6 to render each tab based on the tab's label */ - width:1px; -} - -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignLeft { - /* fix the offset between tabs and the pane */ - margin-left:1px !important; -} - -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignRight { - /* fix the offset between tabs and the pane */ - margin-right:1px !important; -} - -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignLeft { - overflow-x:visible; - margin-left:2px !important; -} - -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignRight { - overflow-x:visible; - margin-right:2px !important; -} - -.dj_ie7 .dijitRtl .dijitTab .dijitTabInnerDiv { - float:left; -} - -.dj_ie7 .dijitRtl .dijitTab .closeImage { - padding: 0 0 0 12px; -} - -.dj_ie .dijitRtl .dijitAlignRight .dijitTab { - position:relative; -} - -/* TitlePane */ - -.dijitRtl .dijitTitlePane .dijitArrowNode { - float: left; -} - -.dijitRtl .dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - right: auto; - left: 0; - border-width: 0 1px 0 0 !important; -} - -.dijitRtl .dijitSpinnerButtonContainer { - float: left; -} - -.dijitRtl .dijit_a11y .dijitSpinnerButtonContainer { - margin-left: none; - margin-right: 2px; -} - -.dijitRtl DIV.dijitArrowButton, .dijitRtl .dijitValidationIcon, .dijitRtl .dijitValidationIconText { - float: left; -} - -/* ContentPane*/ -.dijitRtl .dijitContentPaneLoading, .dijitRtl .dijitContentPaneError { - background-position:right; - padding-right:25px; -} diff --git a/includes/js/dijit/themes/nihilo/Calendar.css b/includes/js/dijit/themes/nihilo/Calendar.css deleted file mode 100644 index af415d3..0000000 --- a/includes/js/dijit/themes/nihilo/Calendar.css +++ /dev/null @@ -1,136 +0,0 @@ - - -.nihilo .dijitCalendarIncrementControl { - - width:15px; - height:15px; -} -.dj_ie6 .nihilo .dijitCalendarIncrementControl { - padding:.1em; - font-size:.1em; -} -.nihilo .dijitCalendarIncreaseInner, -.nihilo .dijitCalendarDecreaseInner { - visibility:hidden; -} -.nihilo .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.png") no-repeat top left; -} -.dj_ie6 .nihilo .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat top left; -} -.nihilo .dijitCalendarIncrease { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -30px top; -} -.dj_ie6 .nihilo .dijitCalendarIncrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat -30px top; -} -.nihilo table.dijitCalendarContainer { - font-size: 100%; - border-spacing: 0; - border-collapse: separate; - border: 1px solid #ccc; - margin: 0; -} -.nihilo .dijitCalendarMonthContainer th { - - background:#d3d3d3 url("images/titleBar.png") repeat-x top; - padding-top:.3em; - padding-bottom:.2em; - text-align:center; -} -.dj_ie6 .nihilo .dijitCalendarMonthContainer th { - padding-top:.1em; - padding-bottom:0em; -} -.nihilo .dijitCalendarDayLabelTemplate { - - background:#fefefe; - font-weight:normal; - padding-top:.15em; - padding-bottom:.2em; - border-bottom: 1px solid #eeeeee; - color:#293a4b; - text-align:center; -} -.nihilo .dijitCalendarBodyContainer { - border-bottom: 1px solid #eeeeee; -} -.nihilo .dijitCalendarMonthLabel { - color:#293a4b; - font-weight: bold; -} -.dj_ie7 .nihilo .dijitCalendarDateTemplate, -.dj_ie6 .nihilo .dijitCalendarDateTemplate { - font-size: 0.8em; -} -.nihilo .dijitCalendarDateTemplate { - - font-size: 0.9em; - font-weight: bold; - text-align: center; - padding: 0.3em 0.3em 0.1em 0.3em; - letter-spacing: 1px; - background-color: #fdfdfd; - border:#fdfdfd solid 1px !important; -} -.nihilo .dijitCalendarPreviousMonth, -.nihilo .dijitCalendarNextMonth { - - color:#999999; - background-color:#f5f5f5 !important; - border:#f5f5f5 solid 1px !important; -} -.nihilo .dijitCalendarPreviousMonthDisabled, -.nihilo .dijitCalendarNextMonthDisabled { - - background-color:#a4a5a6 !important; -} -.nihilo .dijitCalendarCurrentMonth { - -} -.nihilo .dijitCalendarCurrentMonthDisabled { - - background-color:#bbbbbc !important; -} -.nihilo .dijitCalendarDisabledDate { - - - text-decoration:line-through !important; - cursor:default !important; -} -.nihilo .dijitCalendarCurrentDate { - - text-decoration:underline; - font-weight:bold; -} -.nihilo .dijitCalendarSelectedDate { - - background-color:#ffe284 !important; - color:black !important; - border:#f7c95c solid 1px !important; -} -.nihilo .dijitCalendarYearContainer { - - background:white url("images/titleBar.png") repeat-x top; -} -.nihilo .dijitCalendarYearLabel { - - margin:0; - padding:0.4em 0 0.25em 0; - text-align:center; -} -.nihilo .dijitCalendarSelectedYear { - - color:black; - padding:0.2em; - padding-bottom:0.1em; - background-color:#ffe284 !important; - border:#f7c95c solid 1px !important; -} -.nihilo .dijitCalendarNextYear, -.nihilo .dijitCalendarPreviousYear { - - color:black !important; - font-weight:normal; -} diff --git a/includes/js/dijit/themes/nihilo/Calendar.css.commented.css b/includes/js/dijit/themes/nihilo/Calendar.css.commented.css deleted file mode 100644 index c3d4c96..0000000 --- a/includes/js/dijit/themes/nihilo/Calendar.css.commented.css +++ /dev/null @@ -1,159 +0,0 @@ -/* Calendar*/ - -.nihilo .dijitCalendarIncrementControl { - /* next/prev month buttons */ - width:15px; - height:15px; -} -.dj_ie6 .nihilo .dijitCalendarIncrementControl { - padding:.1em; - font-size:.1em; -} - -.nihilo .dijitCalendarIncreaseInner, -.nihilo .dijitCalendarDecreaseInner { - visibility:hidden; -} - -.nihilo .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.png") no-repeat top left; -} -.dj_ie6 .nihilo .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat top left; -} - -.nihilo .dijitCalendarIncrease { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -30px top; -} -.dj_ie6 .nihilo .dijitCalendarIncrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat -30px top; -} - -.nihilo table.dijitCalendarContainer { - font-size: 100%; - border-spacing: 0; - border-collapse: separate; - border: 1px solid #ccc; - margin: 0; -} - -.nihilo .dijitCalendarMonthContainer th { - /* month header cell */ - background:#d3d3d3 url("images/titleBar.png") repeat-x top; - padding-top:.3em; - padding-bottom:.2em; - text-align:center; -} -.dj_ie6 .nihilo .dijitCalendarMonthContainer th { - padding-top:.1em; - padding-bottom:0em; -} - -.nihilo .dijitCalendarDayLabelTemplate { - /* day of week labels */ - background:#fefefe; - font-weight:normal; - padding-top:.15em; - padding-bottom:.2em; - border-bottom: 1px solid #eeeeee; - color:#293a4b; - text-align:center; -} - -.nihilo .dijitCalendarBodyContainer { - border-bottom: 1px solid #eeeeee; -} - -.nihilo .dijitCalendarMonthLabel { - color:#293a4b; - font-weight: bold; -} - -.dj_ie7 .nihilo .dijitCalendarDateTemplate, -.dj_ie6 .nihilo .dijitCalendarDateTemplate { - font-size: 0.8em; -} - -.nihilo .dijitCalendarDateTemplate { - /* style for each day cell */ - font-size: 0.9em; - font-weight: bold; - text-align: center; - padding: 0.3em 0.3em 0.1em 0.3em; - letter-spacing: 1px; - background-color: #fdfdfd; - border:#fdfdfd solid 1px !important; -} - - -.nihilo .dijitCalendarPreviousMonth, -.nihilo .dijitCalendarNextMonth { - /* days that are part of the previous or next month */ - color:#999999; - background-color:#f5f5f5 !important; - border:#f5f5f5 solid 1px !important; -} - -.nihilo .dijitCalendarPreviousMonthDisabled, -.nihilo .dijitCalendarNextMonthDisabled { - /* days that are part of the previous or next month - disabled*/ - background-color:#a4a5a6 !important; -} - -.nihilo .dijitCalendarCurrentMonth { - /* days that are part of this month */ -} - -.nihilo .dijitCalendarCurrentMonthDisabled { - /* days that are part of this month - disabled */ - background-color:#bbbbbc !important; -} - -.nihilo .dijitCalendarDisabledDate { - /* one or the other? */ - /* background: url(images/noX.gif) no-repeat center center !important; */ - text-decoration:line-through !important; - cursor:default !important; -} - -.nihilo .dijitCalendarCurrentDate { - /* cell for today's date */ - text-decoration:underline; - font-weight:bold; -} - -.nihilo .dijitCalendarSelectedDate { - /* cell for the selected date */ - background-color:#ffe284 !important; - color:black !important; - border:#f7c95c solid 1px !important; -} - - -.nihilo .dijitCalendarYearContainer { - /* footer of the table that contains the year display/selector */ - background:white url("images/titleBar.png") repeat-x top; -} - -.nihilo .dijitCalendarYearLabel { - /* container for all of 3 year labels */ - margin:0; - padding:0.4em 0 0.25em 0; - text-align:center; -} - -.nihilo .dijitCalendarSelectedYear { - /* label for selected year */ - color:black; - padding:0.2em; - padding-bottom:0.1em; - background-color:#ffe284 !important; - border:#f7c95c solid 1px !important; -} - -.nihilo .dijitCalendarNextYear, -.nihilo .dijitCalendarPreviousYear { - /* label for next/prev years */ - color:black !important; - font-weight:normal; -} diff --git a/includes/js/dijit/themes/nihilo/Calendar_rtl.css b/includes/js/dijit/themes/nihilo/Calendar_rtl.css deleted file mode 100644 index e64cdf2..0000000 --- a/includes/js/dijit/themes/nihilo/Calendar_rtl.css +++ /dev/null @@ -1,13 +0,0 @@ - -.dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} -.dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/nihilo/Calendar_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/Calendar_rtl.css.commented.css deleted file mode 100644 index 84146f8..0000000 --- a/includes/js/dijit/themes/nihilo/Calendar_rtl.css.commented.css +++ /dev/null @@ -1,16 +0,0 @@ - -/* Calendar */ - -.dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} - -.dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/nihilo/ColorPalette.css b/includes/js/dijit/themes/nihilo/ColorPalette.css deleted file mode 100644 index 328bc84..0000000 --- a/includes/js/dijit/themes/nihilo/ColorPalette.css +++ /dev/null @@ -1,5 +0,0 @@ -.dijitColorPalette { - border:1px solid #d3d3d3; - background:#fff; - -moz-border-radius: 0px !important; -} diff --git a/includes/js/dijit/themes/nihilo/ColorPalette.css.commented.css b/includes/js/dijit/themes/nihilo/ColorPalette.css.commented.css deleted file mode 100644 index 328bc84..0000000 --- a/includes/js/dijit/themes/nihilo/ColorPalette.css.commented.css +++ /dev/null @@ -1,5 +0,0 @@ -.dijitColorPalette { - border:1px solid #d3d3d3; - background:#fff; - -moz-border-radius: 0px !important; -} diff --git a/includes/js/dijit/themes/nihilo/Common.css b/includes/js/dijit/themes/nihilo/Common.css deleted file mode 100644 index 947afa3..0000000 --- a/includes/js/dijit/themes/nihilo/Common.css +++ /dev/null @@ -1,29 +0,0 @@ - -.nihilo .dijitSliderDisabled *, -.nihilo .dijitDisabledClickableRegion, -.nihilo .dijitSpinnerDisabled *, -.nihilo .dijitButtonDisabled *, -.nihilo .dijitDropDownButtonDisabled *, -.nihilo .dijitComboButtonDisabled *, -.nihilo .dijitComboBoxDisabled * -{ - cursor: not-allowed !important; -} -.nihilo .dojoDndItemBefore { - border-top: 2px solid #369; -} -.nihilo .dojoDndItemAfter { - border-bottom: 2px solid #369; -} -.nihilo .dojoDndItemOver { - cursor:pointer; -} -.nihilo table.dojoDndAvatar { -moz-border-radius: 0; border: 1px solid #ccc; border-collapse: collapse; background-color: #fff; font-size: 75%; color: black;} -.nihilo .dojoDndAvatar td { border: none; } -.nihilo .dojoDndAvatar tr { border: none; } -.nihilo .dojoDndAvatarHeader td { height: 20px; padding: 0 0 0 21px; } -.nihilo .dojoDndAvatarItem td { padding: 2px;} -.nihilo.dojoDndMove .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoMove.png); background-repeat: no-repeat; background-position: 2px center;} -.nihilo.dojoDndCopy .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoCopy.png); background-repeat: no-repeat; background-position: 2px center;} -.nihilo.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndMove.png); background-repeat: no-repeat; background-position: 2px center;} -.nihilo.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndCopy.png); background-repeat: no-repeat; background-position: 2px center;} diff --git a/includes/js/dijit/themes/nihilo/Common.css.commented.css b/includes/js/dijit/themes/nihilo/Common.css.commented.css deleted file mode 100644 index 1044920..0000000 --- a/includes/js/dijit/themes/nihilo/Common.css.commented.css +++ /dev/null @@ -1,37 +0,0 @@ - -/**** Disabled cursor *****/ -.nihilo .dijitSliderDisabled *, -.nihilo .dijitDisabledClickableRegion, /* a region the user would be able to click on, but it's disabled */ -.nihilo .dijitSpinnerDisabled *, -.nihilo .dijitButtonDisabled *, -.nihilo .dijitDropDownButtonDisabled *, -.nihilo .dijitComboButtonDisabled *, -.nihilo .dijitComboBoxDisabled * -{ - cursor: not-allowed !important; -} - - -/* DnD avatar-specific settings */ -/* For now it uses a default set of rules. Some other DnD classes can be modified as well. */ -.nihilo .dojoDndItemBefore { - border-top: 2px solid #369; -} - -.nihilo .dojoDndItemAfter { - border-bottom: 2px solid #369; -} - -.nihilo .dojoDndItemOver { - cursor:pointer; -} - -.nihilo table.dojoDndAvatar { -moz-border-radius: 0; border: 1px solid #ccc; border-collapse: collapse; background-color: #fff; font-size: 75%; color: black;} -.nihilo .dojoDndAvatar td { border: none; } -.nihilo .dojoDndAvatar tr { border: none; } -.nihilo .dojoDndAvatarHeader td { height: 20px; padding: 0 0 0 21px; } -.nihilo .dojoDndAvatarItem td { padding: 2px;} -.nihilo.dojoDndMove .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoMove.png); background-repeat: no-repeat; background-position: 2px center;} -.nihilo.dojoDndCopy .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoCopy.png); background-repeat: no-repeat; background-position: 2px center;} -.nihilo.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndMove.png); background-repeat: no-repeat; background-position: 2px center;} -.nihilo.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndCopy.png); background-repeat: no-repeat; background-position: 2px center;} diff --git a/includes/js/dijit/themes/nihilo/Dialog.css b/includes/js/dijit/themes/nihilo/Dialog.css deleted file mode 100644 index 1f29d03..0000000 --- a/includes/js/dijit/themes/nihilo/Dialog.css +++ /dev/null @@ -1,138 +0,0 @@ - -.nihilo .dijitDialog { - background: #eee; - border: 1px solid #d3d3d3; - -webkit-box-shadow: 0px 5px 10px #adadad; - padding: 0px; -} -.nihilo .dijitDialog .dijitDialogTitle { - border-top: none; - border-left: none; - border-right: none; - font-size: 0.9em; - color: #3243C5F; -} -.nihilo .dijitDialog .dijitDialogPaneContent { - background: #ffffff; - border:none; - border-top: 1px solid #d3d3d3; - padding:10px; -} -.nihilo .dijitDialogTitleBar { - - background: #fafafa url("images/titleBar.png") repeat-x top left; - - padding: 5px 6px 3px 2px; - cursor: move; - outline:0; -} -.nihilo .dijitDialogTitle { - - font-weight: bold; - padding: 8px 12px 8px 12px; - outline:0; -} -.nihilo .dijitDialogCloseIcon { - - background : url("images/spriteRoundedIconsSmall.png") no-repeat right top; - float: right; - position: absolute; - vertical-align: middle; - right: 6px; - top: 4px; - height: 15px; - width: 15px; - cursor: pointer; -} -.dj_ie6 .nihilo .dijitDialogCloseIcon { - background : url("images/spriteRoundedIconsSmall.gif") no-repeat right top; -} -.nihilo .dijitDialogContent { - - padding: 8px; -} -.nihilo .dijitTooltip, -.nihilo .dijitTooltipDialog { - - opacity: 0.95; - background: transparent; -} -.dijitTooltipBelow { - - padding-top: 10px; -} -.dijitTooltipAbove { - - padding-bottom: 10px; -} -.nihilo .dijitTooltipContainer { - - background-color: #fff; - border:1px solid #d3d3d3; - padding:0.45em; - -} -.nihilo .dijitTooltipConnector { - - border:0px; - z-index: 2; -} -.nihilo .dijitTooltipABRight .dijitTooltipConnector { - - left: auto !important; - right: 6px; -} -.nihilo .dijitTooltipBelow .dijitTooltipConnector { - - top: 0px; - left: 6px; - background:url("images/tooltipConnectorUp.png") no-repeat top left; - width:17px; - height:11px; -} -.dj_ie6 .nihilo .dijitTooltipBelow .dijitTooltipConnector { - background-image: url("images/tooltipConnectorUp.gif"); -} -.nihilo .dijitTooltipAbove .dijitTooltipConnector { - - bottom: 0px; - left: 6px; - background:url("images/tooltipConnectorDown.png") no-repeat top left; - width:17px; - height:11px; -} -.dj_ie6 .nihilo .dijitTooltipAbove .dijitTooltipConnector { - background-image: url("images/tooltipConnectorDown.gif"); - bottom: -5px; -} -.nihilo .dijitTooltipLeft { - padding-right: 10px; -} -.dj_ie6 .nihilo .dijitTooltipLeft { - padding-left: 11px; -} -.nihilo .dijitTooltipLeft .dijitTooltipConnector { - - right: 0px; - bottom: 7px; - background:url("images/tooltipConnectorRight.png") no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .nihilo .dijitTooltipLeft .dijitTooltipConnector { - background-image: url("images/tooltipConnectorRight.gif"); -} -.nihilo .dijitTooltipRight { - padding-left: 10px; -} -.nihilo .dijitTooltipRight .dijitTooltipConnector { - - left: 0px; - bottom: 7px; - background:url("images/tooltipConnectorLeft.png") no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .nihilo .dijitTooltipRight .dijitTooltipConnector { - background-image: url("images/tooltipConnectorLeft.gif"); -} diff --git a/includes/js/dijit/themes/nihilo/Dialog.css.commented.css b/includes/js/dijit/themes/nihilo/Dialog.css.commented.css deleted file mode 100644 index 91b1c23..0000000 --- a/includes/js/dijit/themes/nihilo/Dialog.css.commented.css +++ /dev/null @@ -1,175 +0,0 @@ - -/* Dialog */ - -.nihilo .dijitDialog { - background: #eee; - border: 1px solid #d3d3d3; - -webkit-box-shadow: 0px 5px 10px #adadad; - padding: 0px; -} - -.nihilo .dijitDialog .dijitDialogTitle { - border-top: none; - border-left: none; - border-right: none; - font-size: 0.9em; - color: #3243C5F; -} - -.nihilo .dijitDialog .dijitDialogPaneContent { - background: #ffffff; - border:none; - border-top: 1px solid #d3d3d3; /* #cddde9; /* w/out this, an

          on the top line causes a gap between the .content and .label */ - padding:10px; - -} - -.nihilo .dijitDialogTitleBar { - /* outer container for the titlebar of the dialog */ - background: #fafafa url("images/titleBar.png") repeat-x top left; - /* border: 1px solid #bfbfbf; */ - padding: 5px 6px 3px 2px; - cursor: move; - outline:0; /* remove this line if keyboard focus on dialog startup is an issue. tab still takes you to first focusable element */ -} - -.nihilo .dijitDialogTitle { - /* typography and styling of the dialog title */ - font-weight: bold; - padding: 8px 12px 8px 12px; - outline:0; -} - -.nihilo .dijitDialogCloseIcon { - /* the default close icon for the dialog */ - background : url("images/spriteRoundedIconsSmall.png") no-repeat right top; - float: right; - position: absolute; - vertical-align: middle; - right: 6px; - top: 4px; - height: 15px; - width: 15px; - cursor: pointer; -} -.dj_ie6 .nihilo .dijitDialogCloseIcon { - background : url("images/spriteRoundedIconsSmall.gif") no-repeat right top; -} - -.nihilo .dijitDialogContent { - /* the body of the dialog */ - padding: 8px; -} - - -/* Tooltip and TooltipDialog */ - -.nihilo .dijitTooltip, -.nihilo .dijitTooltipDialog { - /* the outermost dom node, holding the connector and container */ - opacity: 0.95; - background: transparent; /* make the area on the sides of the arrow transparent */ -} - -.dijitTooltipBelow { - /* leave room for arrow above content */ - padding-top: 10px; -} - -.dijitTooltipAbove { - /* leave room for arrow below content */ - padding-bottom: 10px; -} - -.nihilo .dijitTooltipContainer { - /* - The part with the text. - - NOTE: - FF doesn't clip images used as CSS bgs if you specify a border - radius. If you use a solid color, it does. Webkit gets it right. - Sigh. - background: #ffffff url("images/popupMenuBg.gif") repeat-x bottom left; - */ - background-color: #fff; - border:1px solid #d3d3d3; - padding:0.45em; - /* - border-radius: 6px; - -moz-border-radius: 7px; - -webkit-border-radius: 6px; - */ -} - -.nihilo .dijitTooltipConnector { - /* the arrow piece */ - border:0px; - z-index: 2; -} - -.nihilo .dijitTooltipABRight .dijitTooltipConnector { - /* above or below tooltip, but the arrow appears on the right, - and the right edges of target and tooltip are aligned rather than the left */ - left: auto !important; - right: 6px; -} - -.nihilo .dijitTooltipBelow .dijitTooltipConnector { - /* the arrow piece for tooltips below an element */ - top: 0px; - left: 6px; - background:url("images/tooltipConnectorUp.png") no-repeat top left; - width:17px; - height:11px; -} - -.dj_ie6 .nihilo .dijitTooltipBelow .dijitTooltipConnector { - background-image: url("images/tooltipConnectorUp.gif"); -} - -.nihilo .dijitTooltipAbove .dijitTooltipConnector { - /* the arrow piece for tooltips above an element */ - bottom: 0px; - left: 6px; - background:url("images/tooltipConnectorDown.png") no-repeat top left; - width:17px; - height:11px; -} -.dj_ie6 .nihilo .dijitTooltipAbove .dijitTooltipConnector { - background-image: url("images/tooltipConnectorDown.gif"); - bottom: -5px; -} - -.nihilo .dijitTooltipLeft { - padding-right: 10px; -} -.dj_ie6 .nihilo .dijitTooltipLeft { - padding-left: 11px; -} -.nihilo .dijitTooltipLeft .dijitTooltipConnector { - /* the arrow piece for tooltips to the left of an element, bottom borders aligned */ - right: 0px; - bottom: 7px; - background:url("images/tooltipConnectorRight.png") no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .nihilo .dijitTooltipLeft .dijitTooltipConnector { - background-image: url("images/tooltipConnectorRight.gif"); -} - -.nihilo .dijitTooltipRight { - padding-left: 10px; -} -.nihilo .dijitTooltipRight .dijitTooltipConnector { - /* the arrow piece for tooltips to the right of an element, bottom borders aligned */ - left: 0px; - bottom: 7px; - background:url("images/tooltipConnectorLeft.png") no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .nihilo .dijitTooltipRight .dijitTooltipConnector { - background-image: url("images/tooltipConnectorLeft.gif"); -} - diff --git a/includes/js/dijit/themes/nihilo/Dialog_rtl.css b/includes/js/dijit/themes/nihilo/Dialog_rtl.css deleted file mode 100644 index 2f29eda..0000000 --- a/includes/js/dijit/themes/nihilo/Dialog_rtl.css +++ /dev/null @@ -1,21 +0,0 @@ - -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; - float: left; - right: auto; - left: 5px; -} -.dj_ie6 .dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; -} -.dj_ie .dijitRtl .dijitTooltipLeft { - margin-right: 0px; - margin-left: 13px; -} -.dj_ie .dijitRtl .dijitTooltipRight { - margin-left: 26px; - margin-right: -13px; -} -.dj_ie .dijitRtl .dijitTooltipDialog { - zoom:1 !important; -} diff --git a/includes/js/dijit/themes/nihilo/Dialog_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/Dialog_rtl.css.commented.css deleted file mode 100644 index 74b193a..0000000 --- a/includes/js/dijit/themes/nihilo/Dialog_rtl.css.commented.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Dialog */ -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; - float: left; - right: auto; - left: 5px; -} - -/*FIXME: redundant?*/ -.dj_ie6 .dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; -} - - -/* ToolTip */ - -.dj_ie .dijitRtl .dijitTooltipLeft { - margin-right: 0px; - margin-left: 13px; -} - -.dj_ie .dijitRtl .dijitTooltipRight { - margin-left: 26px; - margin-right: -13px; -} - -.dj_ie .dijitRtl .dijitTooltipDialog { - zoom:1 !important; -} diff --git a/includes/js/dijit/themes/nihilo/Editor.css b/includes/js/dijit/themes/nihilo/Editor.css deleted file mode 100644 index e6cefe0..0000000 --- a/includes/js/dijit/themes/nihilo/Editor.css +++ /dev/null @@ -1,55 +0,0 @@ -.dijitIEFixedToolbar { - position:absolute; - - top: expression(eval((document.documentElement||document.body).scrollTop)); -} -.nihilo .dijitToolbar .dijitToolbarSeparator { - background: url('images/editor.gif'); -} -.nihilo .dijitEditorIcon { - background-image: url('images/editor.gif'); - background-repeat: no-repeat; - width: 18px; - height: 18px; - text-align: center; -} -.nihilo .dijitEditorIconSep { background-position: 0px; } -.nihilo .dijitEditorIconBackColor { background-position: -18px; } -.nihilo .dijitEditorIconBold { background-position: -36px; } -.nihilo .dijitEditorIconCancel { background-position: -54px; } -.nihilo .dijitEditorIconCopy { background-position: -72px; } -.nihilo .dijitEditorIconCreateLink { background-position: -90px; } -.nihilo .dijitEditorIconCut { background-position: -108px; } -.nihilo .dijitEditorIconDelete { background-position: -126px; } -.nihilo .dijitEditorIconForeColor { background-position: -144px; } -.nihilo .dijitEditorIconHiliteColor { background-position: -162px; } -.nihilo .dijitEditorIconIndent { background-position: -180px; } -.nihilo .dijitEditorIconInsertHorizontalRule { background-position: -198px; } -.nihilo .dijitEditorIconInsertImage { background-position: -216px; } -.nihilo .dijitEditorIconInsertOrderedList { background-position: -234px; } -.nihilo .dijitEditorIconInsertTable { background-position: -252px; } -.nihilo .dijitEditorIconInsertUnorderedList { background-position: -270px; } -.nihilo .dijitEditorIconItalic { background-position: -288px; } -.nihilo .dijitEditorIconJustifyCenter { background-position: -306px; } -.nihilo .dijitEditorIconJustifyFull { background-position: -324px; } -.nihilo .dijitEditorIconJustifyLeft { background-position: -342px; } -.nihilo .dijitEditorIconJustifyRight { background-position: -360px; } -.nihilo .dijitEditorIconLeftToRight { background-position: -378px; } -.nihilo .dijitEditorIconListBulletIndent { background-position: -396px; } -.nihilo .dijitEditorIconListBulletOutdent { background-position: -414px; } -.nihilo .dijitEditorIconListNumIndent { background-position: -432px; } -.nihilo .dijitEditorIconListNumOutdent { background-position: -450px; } -.nihilo .dijitEditorIconOutdent { background-position: -468px; } -.nihilo .dijitEditorIconPaste { background-position: -486px; } -.nihilo .dijitEditorIconRedo { background-position: -504px; } -.nihilo .dijitEditorIconRemoveFormat { background-position: -522px; } -.nihilo .dijitEditorIconRightToLeft { background-position: -540px; } -.nihilo .dijitEditorIconSave { background-position: -558px; } -.nihilo .dijitEditorIconSpace { background-position: -576px; } -.nihilo .dijitEditorIconStrikethrough { background-position: -594px; } -.nihilo .dijitEditorIconSubscript { background-position: -612px; } -.nihilo .dijitEditorIconSuperscript { background-position: -630px; } -.nihilo .dijitEditorIconUnderline { background-position: -648px; } -.nihilo .dijitEditorIconUndo { background-position: -666px; } -.nihilo .dijitEditorIconWikiword { background-position: -684px; } -.nihilo .dijitEditorIconToggleDir { background-position: -540px; } diff --git a/includes/js/dijit/themes/nihilo/Editor.css.commented.css b/includes/js/dijit/themes/nihilo/Editor.css.commented.css deleted file mode 100644 index 7498ccf..0000000 --- a/includes/js/dijit/themes/nihilo/Editor.css.commented.css +++ /dev/null @@ -1,60 +0,0 @@ -.dijitIEFixedToolbar { - position:absolute; - /* top:0; */ - top: expression(eval((document.documentElement||document.body).scrollTop)); -} - -.nihilo .dijitToolbar .dijitToolbarSeparator { - background: url('images/editor.gif'); -} - -/**** ICONS *****/ - -.nihilo .dijitEditorIcon { - background-image: url('images/editor.gif'); /* editor icons sprite image */ - background-repeat: no-repeat; - width: 18px; - height: 18px; - text-align: center; -} -.nihilo .dijitEditorIconSep { background-position: 0px; } -.nihilo .dijitEditorIconBackColor { background-position: -18px; } -.nihilo .dijitEditorIconBold { background-position: -36px; } -.nihilo .dijitEditorIconCancel { background-position: -54px; } -.nihilo .dijitEditorIconCopy { background-position: -72px; } -.nihilo .dijitEditorIconCreateLink { background-position: -90px; } -.nihilo .dijitEditorIconCut { background-position: -108px; } -.nihilo .dijitEditorIconDelete { background-position: -126px; } -.nihilo .dijitEditorIconForeColor { background-position: -144px; } -.nihilo .dijitEditorIconHiliteColor { background-position: -162px; } -.nihilo .dijitEditorIconIndent { background-position: -180px; } -.nihilo .dijitEditorIconInsertHorizontalRule { background-position: -198px; } -.nihilo .dijitEditorIconInsertImage { background-position: -216px; } -.nihilo .dijitEditorIconInsertOrderedList { background-position: -234px; } -.nihilo .dijitEditorIconInsertTable { background-position: -252px; } -.nihilo .dijitEditorIconInsertUnorderedList { background-position: -270px; } -.nihilo .dijitEditorIconItalic { background-position: -288px; } -.nihilo .dijitEditorIconJustifyCenter { background-position: -306px; } -.nihilo .dijitEditorIconJustifyFull { background-position: -324px; } -.nihilo .dijitEditorIconJustifyLeft { background-position: -342px; } -.nihilo .dijitEditorIconJustifyRight { background-position: -360px; } -.nihilo .dijitEditorIconLeftToRight { background-position: -378px; } -.nihilo .dijitEditorIconListBulletIndent { background-position: -396px; } -.nihilo .dijitEditorIconListBulletOutdent { background-position: -414px; } -.nihilo .dijitEditorIconListNumIndent { background-position: -432px; } -.nihilo .dijitEditorIconListNumOutdent { background-position: -450px; } -.nihilo .dijitEditorIconOutdent { background-position: -468px; } -.nihilo .dijitEditorIconPaste { background-position: -486px; } -.nihilo .dijitEditorIconRedo { background-position: -504px; } -.nihilo .dijitEditorIconRemoveFormat { background-position: -522px; } -.nihilo .dijitEditorIconRightToLeft { background-position: -540px; } -.nihilo .dijitEditorIconSave { background-position: -558px; } -.nihilo .dijitEditorIconSpace { background-position: -576px; } -.nihilo .dijitEditorIconStrikethrough { background-position: -594px; } -.nihilo .dijitEditorIconSubscript { background-position: -612px; } -.nihilo .dijitEditorIconSuperscript { background-position: -630px; } -.nihilo .dijitEditorIconUnderline { background-position: -648px; } -.nihilo .dijitEditorIconUndo { background-position: -666px; } -.nihilo .dijitEditorIconWikiword { background-position: -684px; } -.nihilo .dijitEditorIconToggleDir { background-position: -540px; /* padding: 0; margin: 0; color:#555555; - font-family:verdana,arial,sans-serif; font-weight: 800; font-size: 70%; */} diff --git a/includes/js/dijit/themes/nihilo/Editor_rtl.css b/includes/js/dijit/themes/nihilo/Editor_rtl.css deleted file mode 100644 index 2e936ec..0000000 --- a/includes/js/dijit/themes/nihilo/Editor_rtl.css +++ /dev/null @@ -1,7 +0,0 @@ - -.dijitRtl .dijitEditorIcon { - background-image: url('images/editor_rtl.gif'); -} -.dijitRtl .dijitToolbar .dijitToolbarSeparator { - background-image: url('images/editor_rtl.gif'); -} diff --git a/includes/js/dijit/themes/nihilo/Editor_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/Editor_rtl.css.commented.css deleted file mode 100644 index e834b52..0000000 --- a/includes/js/dijit/themes/nihilo/Editor_rtl.css.commented.css +++ /dev/null @@ -1,11 +0,0 @@ -/* Editor */ -.dijitRtl .dijitEditorIcon { - background-image: url('images/editor_rtl.gif'); /* editor icons sprite image */ -} - - -/* Toolbar */ - -.dijitRtl .dijitToolbar .dijitToolbarSeparator { - background-image: url('images/editor_rtl.gif'); -} diff --git a/includes/js/dijit/themes/nihilo/Menu.css b/includes/js/dijit/themes/nihilo/Menu.css deleted file mode 100644 index 3f3ad14..0000000 --- a/includes/js/dijit/themes/nihilo/Menu.css +++ /dev/null @@ -1,54 +0,0 @@ - -.nihilo .dijitMenu { - border: 1px solid #d3d3d3; - margin: 0px; - padding: 0px; - background-color: #fff; -} -.nihilo .dijitMenuItem { - background-color: #fff; - font: menu; - margin: 0px; - color: #243C5F; -} -.nihilo .dijitMenuPreviousButton, .nihilo .dijitMenuNextButton { - font-style: italic; -} -.nihilo .dijitMenuItem TD { - padding:1px; -} -.nihilo .dijitMenuItemHover { - background-color: #ffe284; - color: #243C5F; -} -.nihilo .dijitMenuItemIcon { - width: 15px; - height: 15px; - -} -.nihilo .dijitMenuExpand { - display:none; -} -.nihilo .dijitMenuExpandEnabled { - - width:15px; - height:15px; - background:url('images/spriteRoundedIconsSmall.png') no-repeat -30px top; - display:block; -} -.dj_ie6 .nihilo .dijitMenuExpandEnabled { - background-image:url('images/spriteRoundedIconsSmall.gif'); -} -.nihilo .dijitMenuExpandInner { - display:none; -} -.nihilo .dijitMenuSeparator { - background-color: #fff; - height: 1px; -} -.nihilo .dijitMenuSeparatorTop { - border-bottom: 1px solid #fff; -} -.nihilo .dijitMenuSeparatorBottom { - border-top: 1px solid #d3d3d3; -} diff --git a/includes/js/dijit/themes/nihilo/Menu.css.commented.css b/includes/js/dijit/themes/nihilo/Menu.css.commented.css deleted file mode 100644 index fddc2f9..0000000 --- a/includes/js/dijit/themes/nihilo/Menu.css.commented.css +++ /dev/null @@ -1,63 +0,0 @@ - -/* Menu */ -.nihilo .dijitMenu { - border: 1px solid #d3d3d3; - margin: 0px; - padding: 0px; - background-color: #fff; -} - -.nihilo .dijitMenuItem { - background-color: #fff; - font: menu; - margin: 0px; - color: #243C5F; -} -.nihilo .dijitMenuPreviousButton, .nihilo .dijitMenuNextButton { - font-style: italic; -} -.nihilo .dijitMenuItem TD { - padding:1px; -} - -.nihilo .dijitMenuItemHover { - background-color: #ffe284; /* #95a0b0; #555555; #aaaaaa; #646464; #60a1ea; #848484; */ - color: #243C5F; -} - -.nihilo .dijitMenuItemIcon { - width: 15px; - height: 15px; - /* padding-right: 3px; */ -} - -.nihilo .dijitMenuExpand { - display:none; -} -.nihilo .dijitMenuExpandEnabled { - /* margin-top:4px; */ - width:15px; - height:15px; - background:url('images/spriteRoundedIconsSmall.png') no-repeat -30px top; - display:block; -} -.dj_ie6 .nihilo .dijitMenuExpandEnabled { - background-image:url('images/spriteRoundedIconsSmall.gif'); -} -.nihilo .dijitMenuExpandInner { - display:none; -} - -.nihilo .dijitMenuSeparator { - background-color: #fff; - height: 1px; -} - -/* separator can be two pixels -- set border of either one to 0px to have only one */ -.nihilo .dijitMenuSeparatorTop { - border-bottom: 1px solid #fff; /*97adcb; */ -} - -.nihilo .dijitMenuSeparatorBottom { - border-top: 1px solid #d3d3d3; -} diff --git a/includes/js/dijit/themes/nihilo/Menu_rtl.css b/includes/js/dijit/themes/nihilo/Menu_rtl.css deleted file mode 100644 index 8b751fd..0000000 --- a/includes/js/dijit/themes/nihilo/Menu_rtl.css +++ /dev/null @@ -1,11 +0,0 @@ - -.dijitRtl .dijitMenuItem .dijitMenuItemIcon { - padding-left: 3px; - padding-right: 0px; -} -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url('images/arrowLeft.png'); -} -.dj_ie6 .dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url('images/arrowLeft.gif'); -} diff --git a/includes/js/dijit/themes/nihilo/Menu_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/Menu_rtl.css.commented.css deleted file mode 100644 index ac66852..0000000 --- a/includes/js/dijit/themes/nihilo/Menu_rtl.css.commented.css +++ /dev/null @@ -1,15 +0,0 @@ - -/* Menu */ - -.dijitRtl .dijitMenuItem .dijitMenuItemIcon { - padding-left: 3px; - padding-right: 0px; -} - -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url('images/arrowLeft.png'); -} - -.dj_ie6 .dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url('images/arrowLeft.gif'); -} diff --git a/includes/js/dijit/themes/nihilo/ProgressBar.css b/includes/js/dijit/themes/nihilo/ProgressBar.css deleted file mode 100644 index 7713aeb..0000000 --- a/includes/js/dijit/themes/nihilo/ProgressBar.css +++ /dev/null @@ -1,24 +0,0 @@ - -.nihilo .dijitProgressBar { - margin:2px 0px 2px 0px; -} -.nihilo .dijitProgressBarEmpty{ - - background:#fff url("images/progressBarEmpty.png") repeat-x center center; - border-color: #f8d582 #f8d582 #f8d582 #f8d582; -} -.nihilo .dijitProgressBarTile{ - - background:#f0f0f0 url("images/progressBarFull.png") repeat-x center center; -} -.nihilo .dijitProgressBarFull { - border-right:1px solid #f8d582; -} -.nihilo .dijitProgressBarLabel { - - color:#293a4b; -} -.nihilo .dijitProgressBarIndeterminate .dijitProgressBarTile { - - background:#cad2de url("images/progressBarAnim.gif") repeat-x center center; -} diff --git a/includes/js/dijit/themes/nihilo/ProgressBar.css.commented.css b/includes/js/dijit/themes/nihilo/ProgressBar.css.commented.css deleted file mode 100644 index 7089a14..0000000 --- a/includes/js/dijit/themes/nihilo/ProgressBar.css.commented.css +++ /dev/null @@ -1,33 +0,0 @@ - -/**** - dijit.ProgressBar - ****/ - -.nihilo .dijitProgressBar { - margin:2px 0px 2px 0px; -} - -.nihilo .dijitProgressBarEmpty{ - /* outer container and background of the bar that's not finished yet*/ - background:#fff url("images/progressBarEmpty.png") repeat-x center center; - border-color: #f8d582 #f8d582 #f8d582 #f8d582; -} - -.nihilo .dijitProgressBarTile{ - /* inner container for finished portion when in 'tile' (image) mode */ - background:#f0f0f0 url("images/progressBarFull.png") repeat-x center center; -} - -.nihilo .dijitProgressBarFull { - border-right:1px solid #f8d582; -} - -.nihilo .dijitProgressBarLabel { - /* Set to a color that contrasts with both the "Empty" and "Full" parts. */ - color:#293a4b; -} - -.nihilo .dijitProgressBarIndeterminate .dijitProgressBarTile { - /* use an animated gif for the progress bar in 'indeterminate' mode */ - background:#cad2de url("images/progressBarAnim.gif") repeat-x center center; -} diff --git a/includes/js/dijit/themes/nihilo/TitlePane.css b/includes/js/dijit/themes/nihilo/TitlePane.css deleted file mode 100644 index a48d0c5..0000000 --- a/includes/js/dijit/themes/nihilo/TitlePane.css +++ /dev/null @@ -1,64 +0,0 @@ - - -.nihilo .dijitTitlePane .dijitTitlePaneTitle { - background: #cccccc; - background:#fff url("images/titleBar.png") repeat-x top left; - border:1px solid #bfbfbf; - padding:4px 4px 2px 4px; - cursor: pointer; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; -} -.nihilo .dijitTitlePane .dijitArrowNode { - width:15px; - height:15px; - float:right; - margin-top: -2px; -} -.nihilo .dijitTitlePaneFocused .dijitTitlePaneTextNode { - color: #243C5F; -} -.nihilo .dijitOpen .dijitTitlePaneTextNode { - color: #243C5F; -} -.nihilo .dijitTitlePane .dijitClosed .dijitArrowNode { - background: url('images/spriteRoundedIconsSmall.png') no-repeat top left; -} -.dj_ie6 .nihilo .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.gif') no-repeat top left; -} -.nihilo .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.png') no-repeat -15px top; -} -.dj_ie6 .nihilo .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.gif') no-repeat -15px top; -} -.nihilo .dijitTitlePane .dijitArrowNodeInner { - visibility:hidden; -} -.dijit_a11y .dijitTitlePane .dijitArrowNodeInner { - visibility:visible; -} -.nihilo .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - margin-right:5px; -} -.nihilo .dijitOpen .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - position:relative; - top:2px; -} -.nihilo .dijitTitlePaneContentOuter { - background: #ffffff; - border:1px solid #bfbfbf; - border-top: 0px solid #3d3d3d; -} -.nihilo .dijitTitlePaneContentInner { - padding:10px; -} -.dj_ie6 .nihilo .dijitTitlePaneContentOuter, -.dj_ie6 .nihilo .dijitTitlePane .dijitTitlePaneTitle { - zoom: 1; -} -.nihilo .dijitClickableRegion { - background-color : #ffc !important; -} diff --git a/includes/js/dijit/themes/nihilo/TitlePane.css.commented.css b/includes/js/dijit/themes/nihilo/TitlePane.css.commented.css deleted file mode 100644 index 476c581..0000000 --- a/includes/js/dijit/themes/nihilo/TitlePane.css.commented.css +++ /dev/null @@ -1,77 +0,0 @@ -/** - * dijit.layout.TitlePane - * - */ - -.nihilo .dijitTitlePane .dijitTitlePaneTitle { - background: #cccccc; - background:#fff url("images/titleBar.png") repeat-x top left; - border:1px solid #bfbfbf; - padding:4px 4px 2px 4px; - cursor: pointer; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; -} - -/* TODO: merge these, and all other icons to a series of background-image:() and background-position: -16*n px styles */ -.nihilo .dijitTitlePane .dijitArrowNode { - width:15px; - height:15px; - float:right; - margin-top: -2px; -} - -.nihilo .dijitTitlePaneFocused .dijitTitlePaneTextNode { - color: #243C5F; -} - - -.nihilo .dijitOpen .dijitTitlePaneTextNode { - color: #243C5F; -} - -.nihilo .dijitTitlePane .dijitClosed .dijitArrowNode { - background: url('images/spriteRoundedIconsSmall.png') no-repeat top left; -} -.dj_ie6 .nihilo .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.gif') no-repeat top left; -} -.nihilo .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.png') no-repeat -15px top; -} -.dj_ie6 .nihilo .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.gif') no-repeat -15px top; -} -.nihilo .dijitTitlePane .dijitArrowNodeInner { - visibility:hidden; -} -.dijit_a11y .dijitTitlePane .dijitArrowNodeInner { - visibility:visible; -} - -.nihilo .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - margin-right:5px; -} - -.nihilo .dijitOpen .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - position:relative; - top:2px; -} - -.nihilo .dijitTitlePaneContentOuter { - background: #ffffff; - border:1px solid #bfbfbf; - border-top: 0px solid #3d3d3d; /* w/out this, an

          on the top line causes a gap between the .content and .label */ -} -.nihilo .dijitTitlePaneContentInner { - padding:10px; -} -/* force hasLayout to ensure borders etc, show up */ -.dj_ie6 .nihilo .dijitTitlePaneContentOuter, -.dj_ie6 .nihilo .dijitTitlePane .dijitTitlePaneTitle { - zoom: 1; -} -.nihilo .dijitClickableRegion { - background-color : #ffc !important; -} diff --git a/includes/js/dijit/themes/nihilo/TitlePane_rtl.css b/includes/js/dijit/themes/nihilo/TitlePane_rtl.css deleted file mode 100644 index 6a3b2cd..0000000 --- a/includes/js/dijit/themes/nihilo/TitlePane_rtl.css +++ /dev/null @@ -1,6 +0,0 @@ -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} -.dj_ie6 .dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/nihilo/TitlePane_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/TitlePane_rtl.css.commented.css deleted file mode 100644 index 6a3b2cd..0000000 --- a/includes/js/dijit/themes/nihilo/TitlePane_rtl.css.commented.css +++ /dev/null @@ -1,6 +0,0 @@ -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} -.dj_ie6 .dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/nihilo/Toolbar.css b/includes/js/dijit/themes/nihilo/Toolbar.css deleted file mode 100644 index c07287c..0000000 --- a/includes/js/dijit/themes/nihilo/Toolbar.css +++ /dev/null @@ -1,83 +0,0 @@ -.nihilo .dijitToolbar { - padding: 3px 0 1px 3px; - border-bottom: 1px solid #ccc; - background:#eaeaea url("images/titleBar.png") repeat-x top left; -} -.nihilo .dijitToolbar .dijitButtonNode { - background: none; - margin: 0px !important; - padding: 0px !important; - border: none; - font-size: 12px; -} -.nihilo .dijitToolbar .dijitButton, -.nihilo .dijitToolbar .dijitToggleButton, -.nihilo .dijitToolbar .dijitDropDownButton { - background: none; - margin: 1px; - padding: 0px; - border: 1px solid transparent; -} -.nihilo .dijitToolbar .dijitButtonChecked, -.nihilo .dijitToolbar .dijitToggleButtonChecked { - background-color:#ffeeb9; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px !important; -} -.nihilo .dijitToolbar .dijitButtonCheckedHover, -.nihilo .dijitToolbar .dijitToggleButtonCheckedHover - { - background-color:#ffe284; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px !important; -} -.nihilo .dijitToolbar .dijitButtonHover, -.nihilo .dijitToolbar .dijitToggleButtonHover, -.nihilo .dijitToolbar .dijitDropDownButtonHover { - - border: 1px solid #f7c95c; - background-color:#ffe284; -} -.nihilo .dijitToolbar label { - padding: 3px 3px 0 6px; -} -.dj_ie .nihilo .dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ie .nihilo .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused, -.dj_ff2 .nihilo.dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .nihilo .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.dj_ie6 .nihilo .dijitToolbar .dijitButton, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButton, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButton { - - margin: 2px; - padding: 0px 2px; - border: 0px; -} -.dj_ie6 .nihilo .dijitToolbar .dijitButtonChecked, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButtonChecked, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButtonChecked { - background-color:#ffeeb9; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .nihilo .dijitToolbar .dijitButtonCheckedHover, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButtonCheckedHover, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButtonCheckedHover { - background-color:#ffe284; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .nihilo .dijitToolbar .dijitButtonHover, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButtonHover, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButtonHover { - background-color:#ffe284; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px 2px !important; -} diff --git a/includes/js/dijit/themes/nihilo/Toolbar.css.commented.css b/includes/js/dijit/themes/nihilo/Toolbar.css.commented.css deleted file mode 100644 index 7143e55..0000000 --- a/includes/js/dijit/themes/nihilo/Toolbar.css.commented.css +++ /dev/null @@ -1,95 +0,0 @@ -.nihilo .dijitToolbar { - padding: 3px 0 1px 3px; - border-bottom: 1px solid #ccc; - background:#eaeaea url("images/titleBar.png") repeat-x top left; -} - -.nihilo .dijitToolbar .dijitButtonNode { - background: none; - margin: 0px !important; - padding: 0px !important; - border: none; - font-size: 12px; -} - -.nihilo .dijitToolbar .dijitButton, -.nihilo .dijitToolbar .dijitToggleButton, -.nihilo .dijitToolbar .dijitDropDownButton { - background: none; - margin: 1px; - padding: 0px; - border: 1px solid transparent; -} - -.nihilo .dijitToolbar .dijitButtonChecked, -.nihilo .dijitToolbar .dijitToggleButtonChecked { - background-color:#ffeeb9; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px !important; -} - -.nihilo .dijitToolbar .dijitButtonCheckedHover, -.nihilo .dijitToolbar .dijitToggleButtonCheckedHover - { - background-color:#ffe284; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px !important; -} - -.nihilo .dijitToolbar .dijitButtonHover, -.nihilo .dijitToolbar .dijitToggleButtonHover, -.nihilo .dijitToolbar .dijitDropDownButtonHover { - /* TODO: change this from Hover to Selected so that button is still highlighted while drop down is being used */ - border: 1px solid #f7c95c; - background-color:#ffe284; -} - -.nihilo .dijitToolbar label { - padding: 3px 3px 0 6px; -} - -.dj_ie .nihilo .dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ie .nihilo .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused, -.dj_ff2 .nihilo.dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .nihilo .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} - -/* IE6 specific rules */ -.dj_ie6 .nihilo .dijitToolbar .dijitButton, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButton, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButton { - /* workaround no transparent border support in IE6 */ - margin: 2px; - padding: 0px 2px; - border: 0px; -} - -.dj_ie6 .nihilo .dijitToolbar .dijitButtonChecked, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButtonChecked, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButtonChecked { - background-color:#ffeeb9; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px 2px !important; -} - -.dj_ie6 .nihilo .dijitToolbar .dijitButtonCheckedHover, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButtonCheckedHover, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButtonCheckedHover { - background-color:#ffe284; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px 2px !important; -} - -.dj_ie6 .nihilo .dijitToolbar .dijitButtonHover, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButtonHover, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButtonHover { - background-color:#ffe284; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px 2px !important; -} diff --git a/includes/js/dijit/themes/nihilo/Tree.css b/includes/js/dijit/themes/nihilo/Tree.css deleted file mode 100644 index 7834018..0000000 --- a/includes/js/dijit/themes/nihilo/Tree.css +++ /dev/null @@ -1,68 +0,0 @@ - -.nihilo .dijitTreeNode { - background : url('images/treeI.gif') no-repeat; - background-position : top left; - background-repeat : repeat-y; - margin-left: 19px; - zoom: 1; -} -.nihilo .dijitTreeIsLast { - background: url('images/treeI_half.gif') no-repeat; -} -.nihilo .dijitTreeLabel { - font-weight: normal; - margin-left: 3px; -} -.nihilo .dijitTreeIsRoot { - margin-left: 0; - background-image: none; -} -.nihilo .dijitTreeExpando { - width: 18px; - height: 18px; -} -.nihilo .dijitTreeContent { - min-height: 18px; - min-width: 18px; - margin-left:18px; - padding-top:3px; - padding-left:1px; -} -.nihilo .dijitTreeExpand { - width: 18px; - height: 18px; - background-repeat : no-repeat; -} -.nihilo .dijitTreeNodeEmphasized { - background-color: Highlight; - color: HighlightText; -} -.nihilo .dijitTreeLabelFocused { - outline: 1px invert dotted; - background:#dde7f2; -} -.nihilo .dijitTreeExpandoOpened { - background: url('images/spriteTree.gif') no-repeat -18px top; -} -.nihilo .dijitTreeExpandoClosed { - background-image: url('images/spriteTree.gif'); -} -.nihilo .dijitTreeExpandoLeaf { - background: url('images/spriteTree.gif') no-repeat -36px top; -} -.nihilo .dijitTreeExpandoLoading { - background-image: url('images/treeExpand_loading.gif'); -} -.nihilo .dijitTreeIcon { - width: 16px; - height: 16px; -} -.nihilo .dijitFolderOpened { - background: url('images/spriteDivIcons.gif') no-repeat -16px top; -} -.nihilo .dijitFolderClosed { - background: url('images/spriteDivIcons.gif') no-repeat top left; -} -.nihilo .dijitLeaf { - background: url('images/spriteDivIcons.gif') no-repeat -32px top; -} diff --git a/includes/js/dijit/themes/nihilo/Tree.css.commented.css b/includes/js/dijit/themes/nihilo/Tree.css.commented.css deleted file mode 100644 index 72edfd2..0000000 --- a/includes/js/dijit/themes/nihilo/Tree.css.commented.css +++ /dev/null @@ -1,90 +0,0 @@ - -/* Tree */ - -.nihilo .dijitTreeNode { - background : url('images/treeI.gif') no-repeat; - background-position : top left; - background-repeat : repeat-y; - margin-left: 19px; - zoom: 1; /* MOW: what the heck is this doing in here? */ -} - -/* left vertical line (grid) for all nodes */ -.nihilo .dijitTreeIsLast { - background: url('images/treeI_half.gif') no-repeat; -} - -.nihilo .dijitTreeLabel { - font-weight: normal; - margin-left: 3px; -} - -.nihilo .dijitTreeIsRoot { - margin-left: 0; - background-image: none; -} - -.nihilo .dijitTreeExpando { - width: 18px; - height: 18px; -} - -.nihilo .dijitTreeContent { - min-height: 18px; - min-width: 18px; - margin-left:18px; - padding-top:3px; - padding-left:1px; -} - - -.nihilo .dijitTreeExpand { - width: 18px; - height: 18px; - background-repeat : no-repeat; -} - -/* same style as IE selection */ -.nihilo .dijitTreeNodeEmphasized { - background-color: Highlight; - color: HighlightText; -} - -/* don't use :focus due to opera and IE's lack of support on div's */ -.nihilo .dijitTreeLabelFocused { - outline: 1px invert dotted; - background:#dde7f2; -} - -.nihilo .dijitTreeExpandoOpened { - background: url('images/spriteTree.gif') no-repeat -18px top; -} - -.nihilo .dijitTreeExpandoClosed { - background-image: url('images/spriteTree.gif'); -} - -.nihilo .dijitTreeExpandoLeaf { - background: url('images/spriteTree.gif') no-repeat -36px top; -} - -.nihilo .dijitTreeExpandoLoading { - background-image: url('images/treeExpand_loading.gif'); -} - -.nihilo .dijitTreeIcon { - width: 16px; - height: 16px; -} - -.nihilo .dijitFolderOpened { - background: url('images/spriteDivIcons.gif') no-repeat -16px top; -} - -.nihilo .dijitFolderClosed { - background: url('images/spriteDivIcons.gif') no-repeat top left; -} - -.nihilo .dijitLeaf { - background: url('images/spriteDivIcons.gif') no-repeat -32px top; -} diff --git a/includes/js/dijit/themes/nihilo/Tree_rtl.css b/includes/js/dijit/themes/nihilo/Tree_rtl.css deleted file mode 100644 index 5734d9f..0000000 --- a/includes/js/dijit/themes/nihilo/Tree_rtl.css +++ /dev/null @@ -1,30 +0,0 @@ - -.dijitRtl .dijitTreeContainer .dijitTreeNode { - background-image : url('images/treeI_rtl.gif'); - background-position : top right; - margin-left: auto; - margin-right: 19px; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsRoot { - margin-left: auto; - margin-right: 0; - background-image: none; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsLast { - background-image: url('images/treeI_half_rtl.gif'); -} -.dijitRtl .dijitTreeContainer .dijitTreeContent { - margin-left: auto; - margin-right: 18px; - padding-left: auto; - padding-right: 1px; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoOpened { - background: url('images/spriteTree_rtl.gif') no-repeat -18px top; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoClosed { - background-image: url('images/spriteTree_rtl.gif'); -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoLeaf { - background: url('images/spriteTree_rtl.gif') no-repeat -36px top; -} diff --git a/includes/js/dijit/themes/nihilo/Tree_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/Tree_rtl.css.commented.css deleted file mode 100644 index 1fa4e00..0000000 --- a/includes/js/dijit/themes/nihilo/Tree_rtl.css.commented.css +++ /dev/null @@ -1,38 +0,0 @@ - - -/* Tree */ -.dijitRtl .dijitTreeContainer .dijitTreeNode { - background-image : url('images/treeI_rtl.gif'); - background-position : top right; - margin-left: auto; - margin-right: 19px; -} - -.dijitRtl .dijitTreeContainer .dijitTreeIsRoot { - margin-left: auto; - margin-right: 0; - background-image: none; -} - -.dijitRtl .dijitTreeContainer .dijitTreeIsLast { - background-image: url('images/treeI_half_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeContent { - margin-left: auto; - margin-right: 18px; - padding-left: auto; - padding-right: 1px; -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoOpened { - background: url('images/spriteTree_rtl.gif') no-repeat -18px top; -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoClosed { - background-image: url('images/spriteTree_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoLeaf { - background: url('images/spriteTree_rtl.gif') no-repeat -36px top; -} diff --git a/includes/js/dijit/themes/nihilo/form/Button.css b/includes/js/dijit/themes/nihilo/form/Button.css deleted file mode 100644 index 76bec06..0000000 --- a/includes/js/dijit/themes/nihilo/form/Button.css +++ /dev/null @@ -1,90 +0,0 @@ - -.nihilo .dijitButtonNode { - - - border:1px solid #dedede; - border-bottom:1px solid #dedede; - border-right:1px solid #dedede; - padding: 0.2em; - background:#fff url("../images/buttonEnabled.png") repeat-x top left; -} -.dj_ie .nihilo .dijitButtonNode { - zoom: 1; -} -.nihilo .dijitButtonText { - padding: 0 0.3em; -} -.nihilo .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} -.nihilo .dijitArrowButton { - color: #111; -} -.nihilo .dijitComboButton .dijitDownArrowButton { - padding-right:4px; -} -.dj_ff2 .nihilo .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .nihilo .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.nihilo .dijitButtonDisabled .dijitButtonNode, -.nihilo .dijitToggleButtonDisabled .dijitButtonNode, -.nihilo .dijitDropDownButtonDisabled .dijitButtonNode, -.nihilo .dijitComboButtonDisabled .dijitButtonNode, -.nihilo .dijitComboBoxDisabled, -.nihilo .dijitSpinnerDisabled, -.nihilo .dijitSpinnerDisabled .dijitButtonNode { - - border-color: #dedede; - - background:#fafafa url("../images/buttonDisabled.png") top repeat-x; - opacity: 0.60; -} -.dj_ie .nihilo .dijitButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitToggleButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitDropDownButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitComboButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitSpinnerDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); -} -.nihilo .dijitButtonHover .dijitButtonNode, -.nihilo .dijitToggleButtonHover .dijitButtonNode, -.nihilo .dijitDropDownButtonHover .dijitButtonNode, -.nihilo .dijitComboButtonHover .dijitButtonContents, -.nihilo .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.nihilo .dijitComboBoxHover .dijitDownArrowButton, -.nihilo .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.nihilo .dijitSpinnerDownArrowHover .dijitDownArrowButton { - - - color:#000; - background:#fcfcfc url("../images/buttonHover.png") repeat-x top left; -} -.nihilo .dijitSpinnerUpArrowActive .dijitUpArrowButton, -.nihilo .dijitSpinnerDownArrowActive .dijitDownArrowButton, -.nihilo .dijitButtonActive .dijitButtonNode, -.nihilo .dijitToggleButtonActive .dijitButtonNode, -.nihilo .dijitDropDownButtonActive .dijitButtonNode, -.nihilo .dijitComboButtonActive .dijitButtonContents, -.nihilo .dijitDownArrowActive .dijitDownArrowButton, -.nihilo .dijitComboBoxActive .dijitDownArrowButton { - - border-color:#dedede; - background: #f5f5f5 url("../images/buttonActive.png") top left repeat-x; -} -.nihilo .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat left top; - width: 11px; -} -.nihilo .dijitUpArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat -22px top; - width: 11px; -} -.dj_ie6 .nihilo .dijitArrowButtonInner { - background:url("../images/spriteArrows.gif") no-repeat left top; - width: 11px; -} -.dj_ie6 .nihilo .dijitUpArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.gif") no-repeat -22px top; - width: 11px; -} diff --git a/includes/js/dijit/themes/nihilo/form/Button.css.commented.css b/includes/js/dijit/themes/nihilo/form/Button.css.commented.css deleted file mode 100644 index 4a02447..0000000 --- a/includes/js/dijit/themes/nihilo/form/Button.css.commented.css +++ /dev/null @@ -1,109 +0,0 @@ - -/***** - dijit.form.Button - dijit.form.DropDownButton - dijit.form.ComboButton - dijit.form.ComboBox (partial) - *****/ - -.nihilo .dijitButtonNode { - /* enabled state - inner */ - /* border:1px outset #a0a0a0; */ - border:1px solid #dedede; - border-bottom:1px solid #dedede; - border-right:1px solid #dedede; - padding: 0.2em; - background:#fff url("../images/buttonEnabled.png") repeat-x top left; -} -.dj_ie .nihilo .dijitButtonNode { - zoom: 1; -} - -.nihilo .dijitButtonText { - padding: 0 0.3em; -} - -.nihilo .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} - -.nihilo .dijitArrowButton { - color: #111; -} - -.nihilo .dijitComboButton .dijitDownArrowButton { - padding-right:4px; -} - -.dj_ff2 .nihilo .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .nihilo .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} - -.nihilo .dijitButtonDisabled .dijitButtonNode, -.nihilo .dijitToggleButtonDisabled .dijitButtonNode, -.nihilo .dijitDropDownButtonDisabled .dijitButtonNode, -.nihilo .dijitComboButtonDisabled .dijitButtonNode, -.nihilo .dijitComboBoxDisabled, -.nihilo .dijitSpinnerDisabled, -.nihilo .dijitSpinnerDisabled .dijitButtonNode { - /* disabled state - inner */ - border-color: #dedede; - /*color:#b4b4b4;*/ - background:#fafafa url("../images/buttonDisabled.png") top repeat-x; - opacity: 0.60; /* Safari, Opera and Mozilla */ -} -.dj_ie .nihilo .dijitButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitToggleButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitDropDownButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitComboButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitSpinnerDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); /* IE */ -} - -.nihilo .dijitButtonHover .dijitButtonNode, -.nihilo .dijitToggleButtonHover .dijitButtonNode, -.nihilo .dijitDropDownButtonHover .dijitButtonNode, -.nihilo .dijitComboButtonHover .dijitButtonContents, -.nihilo .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.nihilo .dijitComboBoxHover .dijitDownArrowButton, -.nihilo .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.nihilo .dijitSpinnerDownArrowHover .dijitDownArrowButton { - /* hover state - inner */ - /* TODO: change from Hover to Selected so that button is still highlighted while drop down is being used */ - color:#000; - background:#fcfcfc url("../images/buttonHover.png") repeat-x top left; -} - -.nihilo .dijitSpinnerUpArrowActive .dijitUpArrowButton, -.nihilo .dijitSpinnerDownArrowActive .dijitDownArrowButton, -.nihilo .dijitButtonActive .dijitButtonNode, -.nihilo .dijitToggleButtonActive .dijitButtonNode, -.nihilo .dijitDropDownButtonActive .dijitButtonNode, -.nihilo .dijitComboButtonActive .dijitButtonContents, -.nihilo .dijitDownArrowActive .dijitDownArrowButton, -.nihilo .dijitComboBoxActive .dijitDownArrowButton { - /* active state - inner (for when you are pressing a normal button, or - * when a toggle button is in a depressed state - */ - border-color:#dedede; - background: #f5f5f5 url("../images/buttonActive.png") top left repeat-x; -} - - -.nihilo .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat left top; - width: 11px; -} -.nihilo .dijitUpArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat -22px top; - width: 11px; -} -.dj_ie6 .nihilo .dijitArrowButtonInner { - background:url("../images/spriteArrows.gif") no-repeat left top; - width: 11px; -} -.dj_ie6 .nihilo .dijitUpArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.gif") no-repeat -22px top; - width: 11px; -} diff --git a/includes/js/dijit/themes/nihilo/form/Button_rtl.css b/includes/js/dijit/themes/nihilo/form/Button_rtl.css deleted file mode 100644 index fd92f00..0000000 --- a/includes/js/dijit/themes/nihilo/form/Button_rtl.css +++ /dev/null @@ -1,3 +0,0 @@ -.dijitRtl .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} diff --git a/includes/js/dijit/themes/nihilo/form/Button_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/form/Button_rtl.css.commented.css deleted file mode 100644 index fd92f00..0000000 --- a/includes/js/dijit/themes/nihilo/form/Button_rtl.css.commented.css +++ /dev/null @@ -1,3 +0,0 @@ -.dijitRtl .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} diff --git a/includes/js/dijit/themes/nihilo/form/Checkbox.css b/includes/js/dijit/themes/nihilo/form/Checkbox.css deleted file mode 100644 index 8281aca..0000000 --- a/includes/js/dijit/themes/nihilo/form/Checkbox.css +++ /dev/null @@ -1,42 +0,0 @@ - -.nihilo .dijitToggleButton .dijitCheckBox, -.nihilo .dijitToggleButton .dijitCheckBoxIcon { - background-image: url('../images/spriteCheckbox.gif'); -} -.nihilo .dijitCheckBox, -.nihilo .dijitCheckBoxIcon { - background-image: url('../images/spriteCheckbox.gif'); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.nihilo .dijitCheckBox, -.nihilo .dijitToggleButton .dijitCheckBoxIcon { - - background-position: -16px; -} -.nihilo .dijitCheckBoxChecked, -.nihilo .dijitToggleButtonChecked .dijitCheckBoxIcon { - - background-position: 0px; -} -.nihilo .dijitCheckBoxDisabled { - - background-position: -48px; -} -.nihilo .dijitCheckBoxCheckedDisabled { - - background-position: -32px; -} -.nihilo .dijitCheckBoxHover, -.nihilo .dijitCheckBoxFocused { - - background-position: -80px; -} -.nihilo .dijitCheckBoxCheckedHover, - .nihilo .dijitCheckBoxCheckedFocused { - - background-position: -64px; -} diff --git a/includes/js/dijit/themes/nihilo/form/Checkbox.css.commented.css b/includes/js/dijit/themes/nihilo/form/Checkbox.css.commented.css deleted file mode 100644 index 5c07b73..0000000 --- a/includes/js/dijit/themes/nihilo/form/Checkbox.css.commented.css +++ /dev/null @@ -1,69 +0,0 @@ - -/* - * CheckBox and Radio Widgets, - * and the CSS to embed a checkbox or radio icon inside a ToggleButton. - * - * Order of images in the default sprite (from L to R, checkbox and radio in same image): - * checkbox normal - checked - * - unchecked - * disabled - checked - * - unchecked - * hover - checked - * - unchecked - * - * radio normal - checked - * - unchecked - * disabled - checked - * - unchecked - * hover - checked - * - unchecked -*/ - -.nihilo .dijitToggleButton .dijitCheckBox, -.nihilo .dijitToggleButton .dijitCheckBoxIcon { - background-image: url('../images/spriteCheckbox.gif'); -} - -.nihilo .dijitCheckBox, -.nihilo .dijitCheckBoxIcon { /* inside a toggle button */ - background-image: url('../images/spriteCheckbox.gif'); /* checkbox sprite image */ - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} - -.nihilo .dijitCheckBox, -.nihilo .dijitToggleButton .dijitCheckBoxIcon { - /* unchecked */ - background-position: -16px; -} - -.nihilo .dijitCheckBoxChecked, -.nihilo .dijitToggleButtonChecked .dijitCheckBoxIcon { - /* checked */ - background-position: 0px; -} - -.nihilo .dijitCheckBoxDisabled { - /* disabled */ - background-position: -48px; -} - -.nihilo .dijitCheckBoxCheckedDisabled { - /* disabled but checked */ - background-position: -32px; -} - -.nihilo .dijitCheckBoxHover, -.nihilo .dijitCheckBoxFocused { - /* hovering over an unchecked enabled checkbox */ - background-position: -80px; -} - -.nihilo .dijitCheckBoxCheckedHover, - .nihilo .dijitCheckBoxCheckedFocused { - /* hovering over a checked enabled checkbox */ - background-position: -64px; -} diff --git a/includes/js/dijit/themes/nihilo/form/ComboBox.css b/includes/js/dijit/themes/nihilo/form/ComboBox.css deleted file mode 100644 index 5de42ab..0000000 --- a/includes/js/dijit/themes/nihilo/form/ComboBox.css +++ /dev/null @@ -1,7 +0,0 @@ -.nihilo .dijitComboBox .dijitArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat left center; - width: 11px; -} -.nihilo .dijitComboBoxHover .dijitArrowButtonInner { - -} diff --git a/includes/js/dijit/themes/nihilo/form/ComboBox.css.commented.css b/includes/js/dijit/themes/nihilo/form/ComboBox.css.commented.css deleted file mode 100644 index e997538..0000000 --- a/includes/js/dijit/themes/nihilo/form/ComboBox.css.commented.css +++ /dev/null @@ -1,7 +0,0 @@ -.nihilo .dijitComboBox .dijitArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat left center; - width: 11px; -} -.nihilo .dijitComboBoxHover .dijitArrowButtonInner { - /* TODO: url("images/arrowDownHover.png") but in IE6 it flickers some? */ -} diff --git a/includes/js/dijit/themes/nihilo/form/Common.css b/includes/js/dijit/themes/nihilo/form/Common.css deleted file mode 100644 index 94042fa..0000000 --- a/includes/js/dijit/themes/nihilo/form/Common.css +++ /dev/null @@ -1,61 +0,0 @@ - -.nihilo .dijitInputField INPUT, -.nihilo .dijitTextBox, -.nihilo .dijitComboBox, -.nihilo .dijitSpinner { - margin: 0em 0.1em; -} -.nihilo .dijitTextBox, -.nihilo .dijitComboBox, -.nihilo .dijitSpinner, -.nihilo .dijitInlineEditor input, -.nihilo .dijitTextArea { - - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #d3d3d3; - line-height: normal; -} -.nihilo .dijitComboBox .dijitButtonNode { - padding: 0 0.2em; -} -.nihilo .dijitComboBox .dijitButtonNode, -.nihilo .dijitSpinner .dijitButtonNode { - - border-color: #d3d3d3; - border-left: 1px solid #d3d3d3; -} -.nihilo .dijitTextBoxFocused, -.nihilo .dijitComboBoxFocused, -.nihilo .dijitSpinnerFocused { - - border-color:#b3b3b3; -} -.nihilo .dijitComboBoxFocused .dijitButtonNode, .nihilo .dijitSpinnerFocused .dijitButtonNode { - border-left-color:#d3d3d3; -} -.nihilo .dijitSpinnerFocused .dijitDownArrowButton { - border-top-color:#d3d3d3; -} -.nihilo .dijitError { - border-color:#b3b3b3; - background-color:#f9f7ba; - background-image:none; -} -.dj_ie6 .nihilo .dijitError INPUT { - - background-color:#f9f7ba !important; -} -.nihilo .dijitErrorFocused { - background-color:#ff6; - background-image:none; -} -.dj_ie6 .nihilo .dijitErrorFocused INPUT { - - background-color:#ff6 !important; -} -.nihilo .dijitValidationIcon { - - width: 16px; - background: transparent url('../images/warning.png') no-repeat center center; -} diff --git a/includes/js/dijit/themes/nihilo/form/Common.css.commented.css b/includes/js/dijit/themes/nihilo/form/Common.css.commented.css deleted file mode 100644 index 39aa1a6..0000000 --- a/includes/js/dijit/themes/nihilo/form/Common.css.commented.css +++ /dev/null @@ -1,82 +0,0 @@ - -/**** - dijit.form.TextBox - dijit.form.ValidationTextBox - dijit.form.SerializableTextBox - dijit.form.RangeBoundTextBox - dijit.form.NumberTextBox - dijit.form.CurrencyTextBox - dijit.form.NumberSpinner - dijit.form.ComboBox (partial) - ****/ - -.nihilo .dijitInputField INPUT, -.nihilo .dijitTextBox, -.nihilo .dijitComboBox, -.nihilo .dijitSpinner { - margin: 0em 0.1em; -} - -.nihilo .dijitTextBox, -.nihilo .dijitComboBox, -.nihilo .dijitSpinner, -.nihilo .dijitInlineEditor input, -.nihilo .dijitTextArea { - /* For all except dijit.form.NumberSpinner: the actual input element. - For TextBox, ComboBox, Spinner: the table that contains the input. - Otherwise the actual input element. - */ - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #d3d3d3; - line-height: normal; -} - -.nihilo .dijitComboBox .dijitButtonNode { - padding: 0 0.2em; -} -.nihilo .dijitComboBox .dijitButtonNode, -.nihilo .dijitSpinner .dijitButtonNode { - /* line between the input area and the drop down button */ - border-color: #d3d3d3; - border-left: 1px solid #d3d3d3; -} - -.nihilo .dijitTextBoxFocused, -.nihilo .dijitComboBoxFocused, -.nihilo .dijitSpinnerFocused { - /* input field when focused (ie: typing affects it) */ - border-color:#b3b3b3; -} -.nihilo .dijitComboBoxFocused .dijitButtonNode, .nihilo .dijitSpinnerFocused .dijitButtonNode { - border-left-color:#d3d3d3; -} -.nihilo .dijitSpinnerFocused .dijitDownArrowButton { - border-top-color:#d3d3d3; -} - -.nihilo .dijitError { - border-color:#b3b3b3; - background-color:#f9f7ba; - background-image:none; -} -.dj_ie6 .nihilo .dijitError INPUT { - /* background-color: transparent on an doesn't work on IE6 */ - background-color:#f9f7ba !important; -} - -.nihilo .dijitErrorFocused { - background-color:#ff6; - background-image:none; -} -.dj_ie6 .nihilo .dijitErrorFocused INPUT { - /* background-color: transparent on an doesn't work on IE6 */ - background-color:#ff6 !important; -} - -/* Validation errors */ -.nihilo .dijitValidationIcon { - /* prevent height change when widget goes from valid to invalid state */ - width: 16px; - background: transparent url('../images/warning.png') no-repeat center center; -} diff --git a/includes/js/dijit/themes/nihilo/form/Common_rtl.css b/includes/js/dijit/themes/nihilo/form/Common_rtl.css deleted file mode 100644 index 0bced8b..0000000 --- a/includes/js/dijit/themes/nihilo/form/Common_rtl.css +++ /dev/null @@ -1,7 +0,0 @@ -.dijitRtl .dijitComboBox .dijitButtonNode, -.dijitRtl .dijitSpinner .dijitButtonNode { - - border-color: #8ba0bd; - border-left: 0px solid #8ba0bd; - border-right: 1px solid #8ba0bd; -} diff --git a/includes/js/dijit/themes/nihilo/form/Common_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/form/Common_rtl.css.commented.css deleted file mode 100644 index 83f79d2..0000000 --- a/includes/js/dijit/themes/nihilo/form/Common_rtl.css.commented.css +++ /dev/null @@ -1,7 +0,0 @@ -.dijitRtl .dijitComboBox .dijitButtonNode, -.dijitRtl .dijitSpinner .dijitButtonNode { - /* line between the input area and the drop down button */ - border-color: #8ba0bd; - border-left: 0px solid #8ba0bd; - border-right: 1px solid #8ba0bd; -} diff --git a/includes/js/dijit/themes/nihilo/form/RadioButton.css b/includes/js/dijit/themes/nihilo/form/RadioButton.css deleted file mode 100644 index 21d8599..0000000 --- a/includes/js/dijit/themes/nihilo/form/RadioButton.css +++ /dev/null @@ -1,42 +0,0 @@ - -.nihilo .dijitToggleButton .dijitRadio, -.nihilo .dijitToggleButton .dijitRadioIcon { - background-image: url('../images/spriteRadio.gif'); -} -.nihilo .dijitRadio, -.nihilo .dijitRadioIcon { - background-image: url('../images/spriteRadio.gif'); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.nihilo .dijitRadio, -.nihilo .dijitToggleButton .dijitRadioIcon { - - background-position: -16px; -} -.nihilo .dijitRadioChecked, -.nihilo .dijitToggleButtonChecked .dijitRadioIcon { - - background-position: 0px; -} -.nihilo .dijitRadioCheckedDisabled { - - background-position: -48px; -} -.nihilo .dijitRadioDisabled { - - background-position: -32px; -} -.nihilo .dijitRadioHover, -.nihilo .dijitRadioFocused { - - background-position: -80px; -} -.nihilo .dijitRadioCheckedHover, -.nihilo .dijitRadioCheckedFocused { - - background-position: -64px; -} diff --git a/includes/js/dijit/themes/nihilo/form/RadioButton.css.commented.css b/includes/js/dijit/themes/nihilo/form/RadioButton.css.commented.css deleted file mode 100644 index 456cd05..0000000 --- a/includes/js/dijit/themes/nihilo/form/RadioButton.css.commented.css +++ /dev/null @@ -1,68 +0,0 @@ -/* - * CheckBox and Radio Widgets, - * and the CSS to embed a checkbox or radio icon inside a ToggleButton. - * - * Order of images in the default sprite (from L to R, checkbox and radio in same image): - * checkbox normal - checked - * - unchecked - * disabled - checked - * - unchecked - * hover - checked - * - unchecked - * - * radio normal - checked - * - unchecked - * disabled - checked - * - unchecked - * hover - checked - * - unchecked -*/ - -.nihilo .dijitToggleButton .dijitRadio, -.nihilo .dijitToggleButton .dijitRadioIcon { - background-image: url('../images/spriteRadio.gif'); -} - -.nihilo .dijitRadio, -.nihilo .dijitRadioIcon { /* inside a toggle button */ - background-image: url('../images/spriteRadio.gif'); /* checkbox sprite image */ - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} - -.nihilo .dijitRadio, -.nihilo .dijitToggleButton .dijitRadioIcon { - /* unselected */ - background-position: -16px; -} - -.nihilo .dijitRadioChecked, -.nihilo .dijitToggleButtonChecked .dijitRadioIcon { - /* selected */ - background-position: 0px; -} - -.nihilo .dijitRadioCheckedDisabled { - /* selected but disabled */ - background-position: -48px; -} - -.nihilo .dijitRadioDisabled { - /* unselected and disabled */ - background-position: -32px; -} - -.nihilo .dijitRadioHover, -.nihilo .dijitRadioFocused { - /* hovering over an unselected enabled radio button */ - background-position: -80px; -} - -.nihilo .dijitRadioCheckedHover, -.nihilo .dijitRadioCheckedFocused { - /* hovering over a selected enabled radio button */ - background-position: -64px; -} diff --git a/includes/js/dijit/themes/nihilo/form/Slider.css b/includes/js/dijit/themes/nihilo/form/Slider.css deleted file mode 100644 index 448fb94..0000000 --- a/includes/js/dijit/themes/nihilo/form/Slider.css +++ /dev/null @@ -1,112 +0,0 @@ - -.nihilo .dijitSliderProgressBarH { - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} -.nihilo .dijitSliderProgressBarV { - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} -.nihilo .dijitSliderFocused .dijitSliderProgressBarH, -.nihilo .dijitSliderFocused .dijitSliderLeftBumper { - background-image:url("../images/sliderFullFocus.png"); -} -.nihilo .dijitSliderFocused .dijitSliderProgressBarV, -.nihilo .dijitSliderFocused .dijitSliderBottomBumper { - background-image:url("../images/sliderFullVerticalFocus.png"); -} -.nihilo .dijitSliderRemainingBarV { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y bottom left; -} -.nihilo .dijitSliderRemainingBarH { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; -} -.nihilo .dijitSliderBar { - border-style: solid; - outline:1px; - -} -.nihilo .dijitSliderFocused .dijitSliderBar { - border-color:#727272; -} -.dijit_a11y .dijitSliderProgressBar { - background-color:#333 !important; -} -.nihilo .dijitSliderImageHandleH { - border:0px; - width:15px; - height:18px; - background:url("../images/preciseSliderThumb.png") no-repeat center top; - cursor:pointer; -} -.nihilo .dijitSliderFocused .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumbFocus.png"); - #background-image:url("../images/preciseSliderThumbFocus.gif"); -} -.dj_ie6 .nihilo .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumb.gif"); -} -.nihilo .dijitSliderLeftBumper { - border-left-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} -.nihilo .dijitSliderRightBumper { - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; - border-color: #b4b4b4; - border-right-width: 1px; -} -.nihilo .dijitSliderImageHandleV { - border:0px; - width:20px; - height:15px; - background:url("../images/sliderThumb.png") no-repeat center center; - cursor:pointer; -} -.nihilo .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.png"); -} -.dj_ie6 .nihilo .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.gif"); -} -.nihilo .dijitSliderBottomBumper { - border-bottom-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} -.nihilo .dijitSliderTopBumper { - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y top left; - border-color: #b4b4b4; - border-top-width: 1px; -} -.nihilo .dijitSliderIncrementIconH, -.nihilo .dijitSliderIncrementIconV { - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -45px top; - width:15px; height:15px; - cursor:pointer; -} -.nihilo .dijitSliderIncrementIconH { - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -30px top; -} -.nihilo .dijitSliderDecrementIconH, -.nihilo .dijitSliderDecrementIconV { - width:15px; - height:15px; - cursor:pointer; - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -15px top; -} -.nihilo .dijitSliderDecrementIconH { background:url('../images/spriteRoundedIconsSmall.png') no-repeat 0px top; } -.nihilo .dijitSliderButtonInner { - visibility:hidden; -} -.nihilo .dijitSliderDisabled { - opacity:0.6 !important; -} -.dj_ie6 .nihilo .dijitSliderDisabled, -.dj_ie6 .nihilo .dijitSliderDisabled .dijitRuleContainer, -.dj_ie6 .nihilo .dijitSliderDisabled .dijitSliderRemainingBar, -.dj_ie6 .nihilo .dijitSliderDisabled .dijitSliderProgressBar { - filter: gray() alpha(opacity=40); -} diff --git a/includes/js/dijit/themes/nihilo/form/Slider.css.commented.css b/includes/js/dijit/themes/nihilo/form/Slider.css.commented.css deleted file mode 100644 index 8b3ebb0..0000000 --- a/includes/js/dijit/themes/nihilo/form/Slider.css.commented.css +++ /dev/null @@ -1,136 +0,0 @@ - -/**** - SLIDER -****/ - -.nihilo .dijitSliderProgressBarH { - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} - -.nihilo .dijitSliderProgressBarV { - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} - -.nihilo .dijitSliderFocused .dijitSliderProgressBarH, -.nihilo .dijitSliderFocused .dijitSliderLeftBumper { - background-image:url("../images/sliderFullFocus.png"); -} - -.nihilo .dijitSliderFocused .dijitSliderProgressBarV, -.nihilo .dijitSliderFocused .dijitSliderBottomBumper { - background-image:url("../images/sliderFullVerticalFocus.png"); -} - -.nihilo .dijitSliderRemainingBarV { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y bottom left; -} - -.nihilo .dijitSliderRemainingBarH { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; -} - -.nihilo .dijitSliderBar { - border-style: solid; - outline:1px; - /* border-color: #b4b4b4; */ -} -.nihilo .dijitSliderFocused .dijitSliderBar { - border-color:#727272; -} - -.dijit_a11y .dijitSliderProgressBar { - background-color:#333 !important; -} - -.nihilo .dijitSliderImageHandleH { - border:0px; - width:15px; - height:18px; - background:url("../images/preciseSliderThumb.png") no-repeat center top; - cursor:pointer; -} -.nihilo .dijitSliderFocused .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumbFocus.png"); - #background-image:url("../images/preciseSliderThumbFocus.gif"); -} - -.dj_ie6 .nihilo .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumb.gif"); -} - -.nihilo .dijitSliderLeftBumper { - border-left-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} - -.nihilo .dijitSliderRightBumper { - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; - border-color: #b4b4b4; - border-right-width: 1px; -} - -.nihilo .dijitSliderImageHandleV { - border:0px; - width:20px; - height:15px; - background:url("../images/sliderThumb.png") no-repeat center center; - cursor:pointer; -} - -.nihilo .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.png"); -} -.dj_ie6 .nihilo .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.gif"); -} - -.nihilo .dijitSliderBottomBumper { - border-bottom-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} - -.nihilo .dijitSliderTopBumper { - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y top left; - border-color: #b4b4b4; - border-top-width: 1px; -} - -.nihilo .dijitSliderIncrementIconH, -.nihilo .dijitSliderIncrementIconV { - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -45px top; - width:15px; height:15px; - cursor:pointer; -} -.nihilo .dijitSliderIncrementIconH { - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -30px top; -} - -.nihilo .dijitSliderDecrementIconH, -.nihilo .dijitSliderDecrementIconV { - width:15px; - height:15px; - cursor:pointer; - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -15px top; -} -.nihilo .dijitSliderDecrementIconH { background:url('../images/spriteRoundedIconsSmall.png') no-repeat 0px top; } - -.nihilo .dijitSliderButtonInner { - visibility:hidden; -} - -.nihilo .dijitSliderDisabled { - opacity:0.6 !important; -} - -.dj_ie6 .nihilo .dijitSliderDisabled, -.dj_ie6 .nihilo .dijitSliderDisabled .dijitRuleContainer, -.dj_ie6 .nihilo .dijitSliderDisabled .dijitSliderRemainingBar, -.dj_ie6 .nihilo .dijitSliderDisabled .dijitSliderProgressBar { - filter: gray() alpha(opacity=40); -} diff --git a/includes/js/dijit/themes/nihilo/form/Slider_rtl.css b/includes/js/dijit/themes/nihilo/form/Slider_rtl.css deleted file mode 100644 index febfd0a..0000000 --- a/includes/js/dijit/themes/nihilo/form/Slider_rtl.css +++ /dev/null @@ -1,27 +0,0 @@ - -.dijitRtl .dijitSliderProgressBarH, -.dijitRtl .dijitSliderRemainingBarH, -.dijitRtl .dijitSliderLeftBumper, -.dijitRtl .dijitSliderRightBumper, -.dijitRtl .dijitSliderTopBumper { - background-position: top right; -} -.dijitRtl .dijitSliderProgressBarV, -.dijitRtl .dijitSliderRemainingBarV, -.dijitRtl .dijitSliderBottomBumper { - background-position: bottom right; -} -.dijitRtl .dijitSliderLeftBumper { - border-left-width: 0px; - border-right-width: 1px; -} -.dijitRtl .dijitSliderRightBumper { - border-left-width: 1px; - border-right-width: 0px; -} -.dijitRtl .dijitSliderIncrementIconH { - background-image:url('../images/arrowLeft.png'); -} -.dijitRtl .dijitSliderDecrementIconH { - background-image:url('../images/arrowRight.png'); -} diff --git a/includes/js/dijit/themes/nihilo/form/Slider_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/form/Slider_rtl.css.commented.css deleted file mode 100644 index 930be3d..0000000 --- a/includes/js/dijit/themes/nihilo/form/Slider_rtl.css.commented.css +++ /dev/null @@ -1,34 +0,0 @@ - -/* Slider */ - -.dijitRtl .dijitSliderProgressBarH, -.dijitRtl .dijitSliderRemainingBarH, -.dijitRtl .dijitSliderLeftBumper, -.dijitRtl .dijitSliderRightBumper, -.dijitRtl .dijitSliderTopBumper { - background-position: top right; -} - -.dijitRtl .dijitSliderProgressBarV, -.dijitRtl .dijitSliderRemainingBarV, -.dijitRtl .dijitSliderBottomBumper { - background-position: bottom right; -} - -.dijitRtl .dijitSliderLeftBumper { - border-left-width: 0px; - border-right-width: 1px; -} - -.dijitRtl .dijitSliderRightBumper { - border-left-width: 1px; - border-right-width: 0px; -} - -.dijitRtl .dijitSliderIncrementIconH { - background-image:url('../images/arrowLeft.png'); -} - -.dijitRtl .dijitSliderDecrementIconH { - background-image:url('../images/arrowRight.png'); -} diff --git a/includes/js/dijit/themes/nihilo/form/Textarea.css b/includes/js/dijit/themes/nihilo/form/Textarea.css deleted file mode 100644 index c6f4700..0000000 --- a/includes/js/dijit/themes/nihilo/form/Textarea.css +++ /dev/null @@ -1,11 +0,0 @@ -.nihilo .dijitTextBox { - margin: 0em 0.1em; -} -.nihilo .dijitTextBox, -.nihilo .dijitTextArea { - - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #c4c4c4; - line-height: normal; -} diff --git a/includes/js/dijit/themes/nihilo/form/Textarea.css.commented.css b/includes/js/dijit/themes/nihilo/form/Textarea.css.commented.css deleted file mode 100644 index 2d26487..0000000 --- a/includes/js/dijit/themes/nihilo/form/Textarea.css.commented.css +++ /dev/null @@ -1,15 +0,0 @@ -.nihilo .dijitTextBox { - margin: 0em 0.1em; -} - -.nihilo .dijitTextBox, -.nihilo .dijitTextArea { - /* For all except dijit.form.NumberSpinner: the actual input element. - For TextBox, ComboBox, Spinner: the table that contains the input. - Otherwise the actual input element. - */ - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #c4c4c4; - line-height: normal; -} diff --git a/includes/js/dijit/themes/nihilo/form/TimeTextBox.css b/includes/js/dijit/themes/nihilo/form/TimeTextBox.css deleted file mode 100644 index d450925..0000000 --- a/includes/js/dijit/themes/nihilo/form/TimeTextBox.css +++ /dev/null @@ -1 +0,0 @@ -@CHARSET "UTF-8"; diff --git a/includes/js/dijit/themes/nihilo/form/TimeTextBox.css.commented.css b/includes/js/dijit/themes/nihilo/form/TimeTextBox.css.commented.css deleted file mode 100644 index d450925..0000000 --- a/includes/js/dijit/themes/nihilo/form/TimeTextBox.css.commented.css +++ /dev/null @@ -1 +0,0 @@ -@CHARSET "UTF-8"; diff --git a/includes/js/dijit/themes/nihilo/images/accordionItemActive.png b/includes/js/dijit/themes/nihilo/images/accordionItemActive.png deleted file mode 100644 index 58f3cf9..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/accordionItemActive.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/buttonActive.png b/includes/js/dijit/themes/nihilo/images/buttonActive.png deleted file mode 100644 index e2f2fda..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/buttonActive.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/buttonDisabled.png b/includes/js/dijit/themes/nihilo/images/buttonDisabled.png deleted file mode 100644 index b76af42..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/buttonDisabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/buttonEnabled.png b/includes/js/dijit/themes/nihilo/images/buttonEnabled.png deleted file mode 100644 index d4fd306..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/buttonEnabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/buttonHover.png b/includes/js/dijit/themes/nihilo/images/buttonHover.png deleted file mode 100644 index 1af7e83..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/buttonHover.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/dndCopy.png b/includes/js/dijit/themes/nihilo/images/dndCopy.png deleted file mode 100644 index baecd7c..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/dndCopy.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/dndMove.png b/includes/js/dijit/themes/nihilo/images/dndMove.png deleted file mode 100644 index 07f878c..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/dndMove.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/dndNoCopy.png b/includes/js/dijit/themes/nihilo/images/dndNoCopy.png deleted file mode 100644 index 9bf9c33..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/dndNoCopy.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/dndNoMove.png b/includes/js/dijit/themes/nihilo/images/dndNoMove.png deleted file mode 100644 index cb8bd8b..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/dndNoMove.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/editor.gif b/includes/js/dijit/themes/nihilo/images/editor.gif deleted file mode 100644 index 1c96329..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/editor.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/editor_rtl.gif b/includes/js/dijit/themes/nihilo/images/editor_rtl.gif deleted file mode 100644 index ef04938..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/editor_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/no.gif b/includes/js/dijit/themes/nihilo/images/no.gif deleted file mode 100644 index 9021a14..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/no.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/preciseSliderThumb.gif b/includes/js/dijit/themes/nihilo/images/preciseSliderThumb.gif deleted file mode 100644 index 53b33e5..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/preciseSliderThumb.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/preciseSliderThumb.png b/includes/js/dijit/themes/nihilo/images/preciseSliderThumb.png deleted file mode 100644 index 045bf35..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/preciseSliderThumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/preciseSliderThumbFocus.gif b/includes/js/dijit/themes/nihilo/images/preciseSliderThumbFocus.gif deleted file mode 100644 index 8c6f92e..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/preciseSliderThumbFocus.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/preciseSliderThumbFocus.png b/includes/js/dijit/themes/nihilo/images/preciseSliderThumbFocus.png deleted file mode 100644 index c235849..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/preciseSliderThumbFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/progressBarAnim.gif b/includes/js/dijit/themes/nihilo/images/progressBarAnim.gif deleted file mode 100644 index 543d048..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/progressBarAnim.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/progressBarEmpty.png b/includes/js/dijit/themes/nihilo/images/progressBarEmpty.png deleted file mode 100644 index c2d3695..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/progressBarEmpty.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/progressBarFull.png b/includes/js/dijit/themes/nihilo/images/progressBarFull.png deleted file mode 100644 index a8f3865..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/progressBarFull.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/sliderEmpty.png b/includes/js/dijit/themes/nihilo/images/sliderEmpty.png deleted file mode 100644 index 99fbd72..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/sliderEmpty.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/sliderEmptyVertical.png b/includes/js/dijit/themes/nihilo/images/sliderEmptyVertical.png deleted file mode 100644 index 2d497e3..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/sliderEmptyVertical.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/sliderFull.png b/includes/js/dijit/themes/nihilo/images/sliderFull.png deleted file mode 100644 index 9adb254..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/sliderFull.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/sliderFullFocus.png b/includes/js/dijit/themes/nihilo/images/sliderFullFocus.png deleted file mode 100644 index 3d75cae..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/sliderFullFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/sliderFullVertical.png b/includes/js/dijit/themes/nihilo/images/sliderFullVertical.png deleted file mode 100644 index 27e9752..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/sliderFullVertical.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/sliderFullVerticalFocus.png b/includes/js/dijit/themes/nihilo/images/sliderFullVerticalFocus.png deleted file mode 100644 index cca6184..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/sliderFullVerticalFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/sliderThumb.png b/includes/js/dijit/themes/nihilo/images/sliderThumb.png deleted file mode 100644 index b6abbd2..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/sliderThumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/sliderThumbFocus.gif b/includes/js/dijit/themes/nihilo/images/sliderThumbFocus.gif deleted file mode 100644 index f8d306f..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/sliderThumbFocus.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/sliderThumbFocus.png b/includes/js/dijit/themes/nihilo/images/sliderThumbFocus.png deleted file mode 100644 index 73ee705..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/sliderThumbFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/splitContainerSizerH-thumb.png b/includes/js/dijit/themes/nihilo/images/splitContainerSizerH-thumb.png deleted file mode 100644 index e7bc204..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/splitContainerSizerH-thumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/splitContainerSizerH.png b/includes/js/dijit/themes/nihilo/images/splitContainerSizerH.png deleted file mode 100644 index 5f5b0e9..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/splitContainerSizerH.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/splitContainerSizerV-thumb.png b/includes/js/dijit/themes/nihilo/images/splitContainerSizerV-thumb.png deleted file mode 100644 index 410a0a7..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/splitContainerSizerV-thumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/splitContainerSizerV.png b/includes/js/dijit/themes/nihilo/images/splitContainerSizerV.png deleted file mode 100644 index 064bc18..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/splitContainerSizerV.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteArrows.gif b/includes/js/dijit/themes/nihilo/images/spriteArrows.gif deleted file mode 100644 index fc81207..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteArrows.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteArrows.png b/includes/js/dijit/themes/nihilo/images/spriteArrows.png deleted file mode 100644 index 73aa700..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteArrows.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteCheckbox.gif b/includes/js/dijit/themes/nihilo/images/spriteCheckbox.gif deleted file mode 100644 index d2c4ebf..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteCheckbox.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteCheckbox.png b/includes/js/dijit/themes/nihilo/images/spriteCheckbox.png deleted file mode 100644 index e992330..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteCheckbox.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteDivIcons.gif b/includes/js/dijit/themes/nihilo/images/spriteDivIcons.gif deleted file mode 100644 index 00ad23a..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteDivIcons.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteDivIcons.png b/includes/js/dijit/themes/nihilo/images/spriteDivIcons.png deleted file mode 100644 index 413098a..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteDivIcons.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteRadio.gif b/includes/js/dijit/themes/nihilo/images/spriteRadio.gif deleted file mode 100644 index 8dd6e57..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteRadio.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteRadio.png b/includes/js/dijit/themes/nihilo/images/spriteRadio.png deleted file mode 100644 index 14c1080..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteRadio.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteRoundedIconsSmall.gif b/includes/js/dijit/themes/nihilo/images/spriteRoundedIconsSmall.gif deleted file mode 100644 index 251389a..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteRoundedIconsSmall.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteRoundedIconsSmall.png b/includes/js/dijit/themes/nihilo/images/spriteRoundedIconsSmall.png deleted file mode 100644 index e81ba07..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteRoundedIconsSmall.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteTree.gif b/includes/js/dijit/themes/nihilo/images/spriteTree.gif deleted file mode 100644 index e546e28..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteTree.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteTree.png b/includes/js/dijit/themes/nihilo/images/spriteTree.png deleted file mode 100644 index 33ae07b..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteTree.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteTree_rtl.gif b/includes/js/dijit/themes/nihilo/images/spriteTree_rtl.gif deleted file mode 100644 index bbcc64b..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteTree_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/spriteTree_rtl.png b/includes/js/dijit/themes/nihilo/images/spriteTree_rtl.png deleted file mode 100644 index b06afdb..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/spriteTree_rtl.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabBottomActiveC.gif b/includes/js/dijit/themes/nihilo/images/tabBottomActiveC.gif deleted file mode 100644 index 84bffde..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabBottomActiveC.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabBottomActiveSpriteLR.gif b/includes/js/dijit/themes/nihilo/images/tabBottomActiveSpriteLR.gif deleted file mode 100644 index 6803db4..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabBottomActiveSpriteLR.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabBottomEnabledC.gif b/includes/js/dijit/themes/nihilo/images/tabBottomEnabledC.gif deleted file mode 100644 index 9ef9ab0..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabBottomEnabledC.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabBottomEnabledSpriteLR.gif b/includes/js/dijit/themes/nihilo/images/tabBottomEnabledSpriteLR.gif deleted file mode 100644 index b6b08ce..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabBottomEnabledSpriteLR.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabBottomHoverC.gif b/includes/js/dijit/themes/nihilo/images/tabBottomHoverC.gif deleted file mode 100644 index 0f533b5..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabBottomHoverC.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabBottomHoverSpriteLR.gif b/includes/js/dijit/themes/nihilo/images/tabBottomHoverSpriteLR.gif deleted file mode 100644 index 010b08a..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabBottomHoverSpriteLR.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabContainerSprite.gif b/includes/js/dijit/themes/nihilo/images/tabContainerSprite.gif deleted file mode 100644 index 92044a7..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabContainerSprite.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabLeftChecked.gif b/includes/js/dijit/themes/nihilo/images/tabLeftChecked.gif deleted file mode 100644 index d59fd4a..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabLeftChecked.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabRightChecked.gif b/includes/js/dijit/themes/nihilo/images/tabRightChecked.gif deleted file mode 100644 index d32f44e..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabRightChecked.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabStripe.gif b/includes/js/dijit/themes/nihilo/images/tabStripe.gif deleted file mode 100644 index a934675..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabStripe.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabStripeBottom.gif b/includes/js/dijit/themes/nihilo/images/tabStripeBottom.gif deleted file mode 100644 index 64c3376..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabStripeBottom.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabStripeLeft.gif b/includes/js/dijit/themes/nihilo/images/tabStripeLeft.gif deleted file mode 100644 index d607a45..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabStripeLeft.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tabStripeRight.gif b/includes/js/dijit/themes/nihilo/images/tabStripeRight.gif deleted file mode 100644 index 9778ced..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tabStripeRight.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/titleBar.png b/includes/js/dijit/themes/nihilo/images/titleBar.png deleted file mode 100644 index 48f3a2f..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/titleBar.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/titleBarActive.png b/includes/js/dijit/themes/nihilo/images/titleBarActive.png deleted file mode 100644 index 58f3cf9..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/titleBarActive.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tooltipConnectorDown.gif b/includes/js/dijit/themes/nihilo/images/tooltipConnectorDown.gif deleted file mode 100644 index 9c38495..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tooltipConnectorDown.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tooltipConnectorDown.png b/includes/js/dijit/themes/nihilo/images/tooltipConnectorDown.png deleted file mode 100644 index d75af71..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tooltipConnectorDown.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tooltipConnectorLeft.gif b/includes/js/dijit/themes/nihilo/images/tooltipConnectorLeft.gif deleted file mode 100644 index fc947e0..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tooltipConnectorLeft.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tooltipConnectorLeft.png b/includes/js/dijit/themes/nihilo/images/tooltipConnectorLeft.png deleted file mode 100644 index f3de66a..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tooltipConnectorLeft.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tooltipConnectorRight.gif b/includes/js/dijit/themes/nihilo/images/tooltipConnectorRight.gif deleted file mode 100644 index b0e8097..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tooltipConnectorRight.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tooltipConnectorRight.png b/includes/js/dijit/themes/nihilo/images/tooltipConnectorRight.png deleted file mode 100644 index ed6efc4..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tooltipConnectorRight.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tooltipConnectorUp.gif b/includes/js/dijit/themes/nihilo/images/tooltipConnectorUp.gif deleted file mode 100644 index 54bcf65..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tooltipConnectorUp.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/tooltipConnectorUp.png b/includes/js/dijit/themes/nihilo/images/tooltipConnectorUp.png deleted file mode 100644 index 7f7a5d8..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/tooltipConnectorUp.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/treeExpand_loading.gif b/includes/js/dijit/themes/nihilo/images/treeExpand_loading.gif deleted file mode 100644 index db9ddd0..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/treeExpand_loading.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/treeI.gif b/includes/js/dijit/themes/nihilo/images/treeI.gif deleted file mode 100644 index 6f669e2..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/treeI.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/treeI_half.gif b/includes/js/dijit/themes/nihilo/images/treeI_half.gif deleted file mode 100644 index e5fd015..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/treeI_half.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/treeI_half_rtl.gif b/includes/js/dijit/themes/nihilo/images/treeI_half_rtl.gif deleted file mode 100644 index 44ad021..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/treeI_half_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/treeI_rtl.gif b/includes/js/dijit/themes/nihilo/images/treeI_rtl.gif deleted file mode 100644 index 0d32a2f..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/treeI_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/validationInputBg.gif b/includes/js/dijit/themes/nihilo/images/validationInputBg.gif deleted file mode 100644 index c28475c..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/validationInputBg.gif and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/validationInputBg.png b/includes/js/dijit/themes/nihilo/images/validationInputBg.png deleted file mode 100644 index f3039f9..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/validationInputBg.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/images/warning.png b/includes/js/dijit/themes/nihilo/images/warning.png deleted file mode 100644 index c52f83d..0000000 Binary files a/includes/js/dijit/themes/nihilo/images/warning.png and /dev/null differ diff --git a/includes/js/dijit/themes/nihilo/layout/AccordionContainer.css b/includes/js/dijit/themes/nihilo/layout/AccordionContainer.css deleted file mode 100644 index 2a96e6e..0000000 --- a/includes/js/dijit/themes/nihilo/layout/AccordionContainer.css +++ /dev/null @@ -1,35 +0,0 @@ - -.nihilo .dijitAccordionPane { - background-color: #e7e7e7; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; -} -.nihilo .dijitAccordionTitle { - background:#fafafa url("../images/titleBar.png") repeat-x top left; - border-top: 1px solid #dedede; - padding: 5px 4px 6px 8px; - cursor:pointer; -} -.nihilo .dijitAccordionTitle-selected { - background: #f9f9f9 url("../images/accordionItemActive.png") top repeat-x; - font-weight: bold; - border-top: 1px solid #dedede; - border-bottom: 1px solid #dedede; - padding: 5px 4px 5px 8px; - cursor: default; - color: #243C5F; -} -.nihilo .dijitAccordionArrow { - background:url("../images/spriteRoundedIconsSmall.gif") no-repeat; - width:15px; - height:15px; - margin-top:-1px; -} -.nihilo .dijitAccordionTitle-selected .dijitAccordionArrow { - background:url("../images/spriteRoundedIconsSmall.gif") no-repeat -15px top; - margin-top:-1px; -} -.nihilo .dijitAccordionBody { - background: #fff; -} diff --git a/includes/js/dijit/themes/nihilo/layout/AccordionContainer.css.commented.css b/includes/js/dijit/themes/nihilo/layout/AccordionContainer.css.commented.css deleted file mode 100644 index 7242752..0000000 --- a/includes/js/dijit/themes/nihilo/layout/AccordionContainer.css.commented.css +++ /dev/null @@ -1,44 +0,0 @@ -/** - * dijit.layout.Accordioncontainer - * - */ - -.nihilo .dijitAccordionPane { - background-color: #e7e7e7; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; -} - -.nihilo .dijitAccordionTitle { - background:#fafafa url("../images/titleBar.png") repeat-x top left; - border-top: 1px solid #dedede; - padding: 5px 4px 6px 8px; - cursor:pointer; -} - -.nihilo .dijitAccordionTitle-selected { - background: #f9f9f9 url("../images/accordionItemActive.png") top repeat-x; - font-weight: bold; - border-top: 1px solid #dedede; - border-bottom: 1px solid #dedede; - padding: 5px 4px 5px 8px; - cursor: default; - color: #243C5F; -} - -.nihilo .dijitAccordionArrow { - background:url("../images/spriteRoundedIconsSmall.gif") no-repeat; - width:15px; - height:15px; - margin-top:-1px; -} - -.nihilo .dijitAccordionTitle-selected .dijitAccordionArrow { - background:url("../images/spriteRoundedIconsSmall.gif") no-repeat -15px top; - margin-top:-1px; -} - -.nihilo .dijitAccordionBody { - background: #fff; -} diff --git a/includes/js/dijit/themes/nihilo/layout/AccordionContainer_rtl.css b/includes/js/dijit/themes/nihilo/layout/AccordionContainer_rtl.css deleted file mode 100644 index 4ceda54..0000000 --- a/includes/js/dijit/themes/nihilo/layout/AccordionContainer_rtl.css +++ /dev/null @@ -1,3 +0,0 @@ -.dijitRtl .dijitAccordionArrow { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/nihilo/layout/AccordionContainer_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/layout/AccordionContainer_rtl.css.commented.css deleted file mode 100644 index 4ceda54..0000000 --- a/includes/js/dijit/themes/nihilo/layout/AccordionContainer_rtl.css.commented.css +++ /dev/null @@ -1,3 +0,0 @@ -.dijitRtl .dijitAccordionArrow { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/nihilo/layout/BorderContainer.css b/includes/js/dijit/themes/nihilo/layout/BorderContainer.css deleted file mode 100644 index 6b3ee0d..0000000 --- a/includes/js/dijit/themes/nihilo/layout/BorderContainer.css +++ /dev/null @@ -1,27 +0,0 @@ - -.nihilo .dijitSplitterH { - background:url("../images/splitContainerSizerH.png") repeat-x #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - height:5px; -} -.nihilo .dijitSplitterH .dijitSplitterThumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat; - top:1px; - width:19px; - height:2px; -} -.nihilo .dijitSplitterV { - background:url("../images/splitContainerSizerV.png") repeat-y #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - width:5px; -} -.nihilo .dijitSplitterV .dijitSplitterThumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat; - left:1px; - height:19px; - width:5px; -} diff --git a/includes/js/dijit/themes/nihilo/layout/BorderContainer.css.commented.css b/includes/js/dijit/themes/nihilo/layout/BorderContainer.css.commented.css deleted file mode 100644 index e95a534..0000000 --- a/includes/js/dijit/themes/nihilo/layout/BorderContainer.css.commented.css +++ /dev/null @@ -1,34 +0,0 @@ -/** - * dijit.layout.BorderContainer - * - */ - -.nihilo .dijitSplitterH { - background:url("../images/splitContainerSizerH.png") repeat-x #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - height:5px; -} - -.nihilo .dijitSplitterH .dijitSplitterThumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat; - top:1px; - width:19px; - height:2px; -} - -.nihilo .dijitSplitterV { - background:url("../images/splitContainerSizerV.png") repeat-y #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - width:5px; -} - -.nihilo .dijitSplitterV .dijitSplitterThumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat; - left:1px; - height:19px; - width:5px; -} diff --git a/includes/js/dijit/themes/nihilo/layout/SplitContainer.css b/includes/js/dijit/themes/nihilo/layout/SplitContainer.css deleted file mode 100644 index 6d6d715..0000000 --- a/includes/js/dijit/themes/nihilo/layout/SplitContainer.css +++ /dev/null @@ -1,27 +0,0 @@ - -.nihilo .dijitSplitContainerSizerH { - background:url("../images/splitContainerSizerV.png") repeat-y #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - width:5px; -} -.nihilo .dijitSplitContainerSizerH .thumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat; - left:1px; - width:2px; - height:19px; -} -.nihilo .dijitSplitContainerSizerV { - background:url("../images/splitContainerSizerH.png") repeat-x #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - height:2px; -} -.nihilo .dijitSplitContainerSizerV .thumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat; - top:1px; - width:19px; - height:5px; -} diff --git a/includes/js/dijit/themes/nihilo/layout/SplitContainer.css.commented.css b/includes/js/dijit/themes/nihilo/layout/SplitContainer.css.commented.css deleted file mode 100644 index 7099289..0000000 --- a/includes/js/dijit/themes/nihilo/layout/SplitContainer.css.commented.css +++ /dev/null @@ -1,34 +0,0 @@ -/** - * dijit.layout.SplitContainer - * - */ - -.nihilo .dijitSplitContainerSizerH { - background:url("../images/splitContainerSizerV.png") repeat-y #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - width:5px; -} - -.nihilo .dijitSplitContainerSizerH .thumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat; - left:1px; - width:2px; - height:19px; -} - -.nihilo .dijitSplitContainerSizerV { - background:url("../images/splitContainerSizerH.png") repeat-x #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - height:2px; -} - -.nihilo .dijitSplitContainerSizerV .thumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat; - top:1px; - width:19px; - height:5px; -} diff --git a/includes/js/dijit/themes/nihilo/layout/TabContainer.css b/includes/js/dijit/themes/nihilo/layout/TabContainer.css deleted file mode 100644 index 03d5af5..0000000 --- a/includes/js/dijit/themes/nihilo/layout/TabContainer.css +++ /dev/null @@ -1,277 +0,0 @@ - - -.nihilo .dijitTabPaneWrapper { - - background:#fff; - border:1px solid #ccc; -} -.nihilo .dijitTab { - line-height:normal; - margin-right:3px; - padding:0px; - background: url("../images/tabContainerSprite.gif") no-repeat 0 -300px; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; - margin-bottom: -1px; -} -.nihilo dijitTabChecked { - margin-bottom: -2px; -} -.nihilo .dijitTabInnerDiv .dijitTabContent { - padding:8px 10px 4px 10px; - background: url("../images/tabContainerSprite.gif") repeat-x 0 -350px; -} -.nihilo .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabContainerSprite.gif") no-repeat; - background-position: right -400px; - border: none; -} -.nihilo .dijitTabHover, -.nihilo .dijitTabCloseButtonHover { - color: #243C5F; - background: url("../images/tabContainerSprite.gif") no-repeat 0px -150px; -} -.nihilo .dijitTabHover .dijitTabInnerDiv, -.nihilo .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -250px; - border: none; -} -.nihilo .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.nihilo .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabContainerSprite.gif") repeat-x 0 -200px; - padding:8px 10px 4px 10px; -} -.nihilo .dijitTabChecked, -.nihilo .dijitTabCloseButtonChecked -{ - - background: url("../images/tabContainerSprite.gif") no-repeat 0px -0px; -} -.nihilo .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabContainerSprite.gif") no-repeat right -100px; - border: none; -} -.nihilo .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabContainerSprite.gif") repeat-x 0 -50px; - padding:8px 10px 5px 10px; - color: #243C5F !important; -} -.nihilo .dijitTabLabels-top { - border-left: 1px solid #ccc; - border-top: 1px solid #ccc; - border-right: 1px solid #ccc; - padding-top: 2px; - padding-left: 3px; - background: #fafafa url("../images/tabStripe.gif") repeat-x left bottom; - padding-bottom: 4px; -} -.nihilo .dijitAlignLeft .dijitTab, -.nihilo .dijitAlignRight .dijitTab { - margin-right:0px; - margin-bottom:5px; -} -.nihilo .dijitAlignTop .dijitTabChecked, -.nihilo .dijitAlignTop .dijitTabCloseButtonChecked -{ - border-bottom-color:white; - vertical-align:bottom; -} -.nihilo .dijitAlignBottom .dijitTabChecked, -.nihilo .dijitAlignBottom .dijitTabCloseButtonChecked -{ - border-top-color:white; - -} -.nihilo .dijitAlignLeft .dijitTabChecked, -.nihilo .dijitAlignLeft .dijitTabCloseButtonChecked -{ - border-right-color:white; -} -.nihilo .dijitAlignRight .dijitTabChecked, -.nihilo .dijitAlignRight .dijitTabCloseButtonChecked -{ - border-left-color:white; -} -.nihilo .dijitTabLabels-bottom { - padding-bottom: 2px; - padding-left: 3px; - border-left: 1px solid #ccc; - border-bottom: 1px solid #ccc; - border-right: 1px solid #ccc; - background: #fafafa url("../images/tabStripeBottom.gif") repeat-x left top; - padding-top: 3px; -} -.nihilo .dijitAlignBottom .dijitTab { - line-height:normal; - margin-right:3px; - padding:0px; - background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom left; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; - margin-bottom: 0px; - margin-top: 1px; -} -.nihilo .dijitAlignBottom .dijitTabChecked { - margin-bottom: 0px; - margin-top: 0px !important; -} -.nihilo .dijitAlignBottom .dijitTabInnerDiv .dijitTabContent { - padding:6px 10px 6px 10px; - background: url("../images/tabBottomEnabledC.gif") repeat-x bottom left; -} -.nihilo .dijitAlignBottom .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom right; - border: none; -} -.nihilo .dijitAlignBottom .dijitTabHover, -.nihilo .dijitAlignBottom .dijitTabCloseButtonHover { - color: #243C5F; - background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom left; -} -.nihilo .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv, -.nihilo .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom right; - border: none; -} -.nihilo .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.nihilo .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabBottomHoverC.gif") repeat-x bottom left; - padding:6px 10px 6px 10px; -} -.dj_ie6 .nihilo .dijitAlignBottom .dijitTabHover, -.dj_ie6 .nihilo .dijitAlignBottom .dijitTabCloseButtonHover { - background-image: url("../images/tabHover.gif"); -} -.nihilo .dijitAlignBottom .dijitTabChecked, -.nihilo .dijitAlignBottom .dijitTabCloseButtonChecked -{ - - background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom left; -} -.nihilo .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom right; - border: none; -} -.nihilo .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabBottomActiveC.gif") repeat-x bottom left; - padding:7px 10px 6px 10px; -} -.nihilo .dijitAlignLeft .dijitTab { - margin-right: 1px !important; -} -.nihilo .dijitAlignLeft .dijitTabChecked { - margin-right: 0px !important; -} -.nihilo .dijitAlignLeft .dijitTabChecked .dijitTabInnerDiv { - background: url("../images/tabLeftChecked.gif") no-repeat right top !important; - padding-left: 10px; - border-bottom: 1px solid #dedede !important; -} -.nihilo .dijitAlignLeft .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -350px; - padding-left: 10px; - border-bottom: 1px solid #dedede; -} -.nihilo .dijitAlignLeft .dijitTabHover .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -200px; - padding-left: 10px; - border-bottom: 1px solid #dedede; -} -.nihilo .dijitTabLabels-left-h { - padding-left: 2px; - padding-top: 3px; - border-left: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #fafafa url("../images/tabStripeLeft.gif") repeat-y right top; - padding-right: 3px; -} -.nihilo .dijitAlignLeft .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} -.nihilo .dijitTabLabels-right-h { - padding-right: 2px; - padding-top: 3px; - border-right: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #fafafa url("../images/tabStripeRight.gif") repeat-y left top; - padding-left: 3px; -} -.nihilo .dijitAlignRight .dijitTab { - margin-left: 1px; -} -.nihilo .dijitAlignRight .dijitTabChecked { - margin-left: 0px; -} -.nihilo .dijitAlignRight .dijitTabChecked { - background: url("../images/tabRightChecked.gif") no-repeat left top !important; -} -.nihilo .dijitAlignRight .dijitTab { - background: url("../images/tabContainerSprite.gif") no-repeat left -350px; -} -.nihilo .dijitAlignRight .dijitTabHover .dijitTab { - background: url("../images/tabContainerSprite.gif") no-repeat left -200px; -} -.nihilo .dijitAlignRight .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} -.nihilo .dijitAlignRight .dijitTabChecked .dijitTabInnerDiv { - border-bottom: 1px solid #dedede !important; -} -.nihilo .dijitAlignRight .dijitTabInnerDiv { - border-bottom: 1px solid #dedede; -} -.nihilo .dijitAlignRight .dijitTabHover .dijitTabInnerDiv { - border-bottom: 1px solid #dedede; -} -.nihilo .dijitTab .dijitClosable { - position: relative; - padding: 0; - padding-left: 10px !important; - padding-right: 20px !important; -} -.nihilo .dijitTab img { - padding: 0; - margin: 0; -} -.nihilo .dijitTab .dijitClosable .closeImage { - position:absolute; - top: 5px; - right: 5px; - height: 15px; - width: 15px; - padding: 0; - margin: 0; - background: url("../images/spriteRoundedIconsSmall.png") no-repeat -60px top; -} -.dj_ie6 .dijitTab .dijitClosable .closeImage { - background:url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px top; -} -.dj_ie6 .nihilo .dijitTabCloseButton .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px top; -} -.nihilo .dijitTabHover .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmall.png") no-repeat -60px -15px !important; -} -.dj_ie6 .nihilo .dijitTabHover .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px -15px !important; -} -.dj_ie6 .nihilo .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - left:-20px; -} -.nihilo .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - top: auto; - bottom: 7px; - right: 3px; -} -.nihilo .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - top: 7px; - left: 3px; -} diff --git a/includes/js/dijit/themes/nihilo/layout/TabContainer.css.commented.css b/includes/js/dijit/themes/nihilo/layout/TabContainer.css.commented.css deleted file mode 100644 index 8b404e0..0000000 --- a/includes/js/dijit/themes/nihilo/layout/TabContainer.css.commented.css +++ /dev/null @@ -1,369 +0,0 @@ -/** - * dijit.layout.TabContainer - * - * To style TabContainer with rounded corners - * you can use these classes: .dijitTab (left), .dijitTabContent (center), dijitTabInnerDiv (right) - * For tabs aligned to top you can style a stripe div right underneath the tabs using .dijitTabStripe - */ - -/* Classes for all types of tabs (top/bottom/left/right) */ - -.nihilo .dijitTabPaneWrapper { /* Container for tab content */ - /* - overflow: hidden; - */ - background:#fff; - border:1px solid #ccc; -} - -.nihilo .dijitTab { - line-height:normal; - margin-right:3px; /* space between one tab and the next in top/bottom mode */ - padding:0px; - background: url("../images/tabContainerSprite.gif") no-repeat 0 -300px; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; - margin-bottom: -1px; -} - -.nihilo dijitTabChecked { - margin-bottom: -2px; -} - -.nihilo .dijitTabInnerDiv .dijitTabContent { - padding:8px 10px 4px 10px; - background: url("../images/tabContainerSprite.gif") repeat-x 0 -350px; -} - -.nihilo .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabContainerSprite.gif") no-repeat; - background-position: right -400px; - border: none; -} - -.nihilo .dijitTabHover, -.nihilo .dijitTabCloseButtonHover { - color: #243C5F; - background: url("../images/tabContainerSprite.gif") no-repeat 0px -150px; -} - -.nihilo .dijitTabHover .dijitTabInnerDiv, -.nihilo .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -250px; - border: none; -} - -.nihilo .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.nihilo .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabContainerSprite.gif") repeat-x 0 -200px; - padding:8px 10px 4px 10px; -} - -.nihilo .dijitTabChecked, -.nihilo .dijitTabCloseButtonChecked -{ - /* the selected tab (with or without hover) */ - background: url("../images/tabContainerSprite.gif") no-repeat 0px -0px; -} - -.nihilo .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabContainerSprite.gif") no-repeat right -100px; - border: none; -} - -.nihilo .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabContainerSprite.gif") repeat-x 0 -50px; - padding:8px 10px 5px 10px; - color: #243C5F !important; -} - -/* top specific classes */ - -.nihilo .dijitTabLabels-top { - border-left: 1px solid #ccc; - border-top: 1px solid #ccc; - border-right: 1px solid #ccc; - padding-top: 2px; - padding-left: 3px; - background: #fafafa url("../images/tabStripe.gif") repeat-x left bottom; - padding-bottom: 4px; -} -/* -.nihilo .dijitAlignTop .dijitTabStripe { - background: url("../images/tabStripe.gif") repeat-x left bottom; - padding-left: 2px; - padding-top: 0px; - height: 4px; - clear: both; - font-size: 1px; - margin-left: -3px; -} -*/ - -.nihilo .dijitAlignLeft .dijitTab, -.nihilo .dijitAlignRight .dijitTab { - margin-right:0px; - margin-bottom:5px; /* space between one tab and the next in left/right mode */ -} - -/* make the active tab white on the side next to the content pane */ -.nihilo .dijitAlignTop .dijitTabChecked, -.nihilo .dijitAlignTop .dijitTabCloseButtonChecked -{ - border-bottom-color:white; - vertical-align:bottom; -} - -.nihilo .dijitAlignBottom .dijitTabChecked, -.nihilo .dijitAlignBottom .dijitTabCloseButtonChecked -{ - border-top-color:white; - /*-moz-border-radius:2px 2px 0px 0px; eliminate some border detritrus on moz */ -} - -.nihilo .dijitAlignLeft .dijitTabChecked, -.nihilo .dijitAlignLeft .dijitTabCloseButtonChecked -{ - border-right-color:white; -} - -.nihilo .dijitAlignRight .dijitTabChecked, -.nihilo .dijitAlignRight .dijitTabCloseButtonChecked -{ - border-left-color:white; -} - -/* bottom specific classes */ - -.nihilo .dijitTabLabels-bottom { - padding-bottom: 2px; - padding-left: 3px; - border-left: 1px solid #ccc; - border-bottom: 1px solid #ccc; - border-right: 1px solid #ccc; - background: #fafafa url("../images/tabStripeBottom.gif") repeat-x left top; - padding-top: 3px; -} -/* -.nihilo .dijitAlignBottom .dijitTabStripe { - background: url("../images/tabStripe.gif") repeat-x left bottom; - padding-left: 2px; - padding-top: 0px; - height: 4px; - clear: both; - font-size: 1px; - margin-left: -3px; -} -*/ -.nihilo .dijitAlignBottom .dijitTab { - line-height:normal; - margin-right:3px; /* space between one tab and the next in top/bottom mode */ - padding:0px; - background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom left; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; - margin-bottom: 0px; - margin-top: 1px; -} - -.nihilo .dijitAlignBottom .dijitTabChecked { - margin-bottom: 0px; - margin-top: 0px !important; -} - -.nihilo .dijitAlignBottom .dijitTabInnerDiv .dijitTabContent { - padding:6px 10px 6px 10px; - background: url("../images/tabBottomEnabledC.gif") repeat-x bottom left; -} - -.nihilo .dijitAlignBottom .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom right; - border: none; -} - -.nihilo .dijitAlignBottom .dijitTabHover, -.nihilo .dijitAlignBottom .dijitTabCloseButtonHover { - color: #243C5F; - background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom left; -} - -.nihilo .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv, -.nihilo .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom right; - border: none; -} - -.nihilo .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.nihilo .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabBottomHoverC.gif") repeat-x bottom left; - padding:6px 10px 6px 10px; -} - -.dj_ie6 .nihilo .dijitAlignBottom .dijitTabHover, -.dj_ie6 .nihilo .dijitAlignBottom .dijitTabCloseButtonHover { - background-image: url("../images/tabHover.gif"); -} - -.nihilo .dijitAlignBottom .dijitTabChecked, -.nihilo .dijitAlignBottom .dijitTabCloseButtonChecked -{ - /* the selected tab (with or without hover) */ - background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom left; -} - -.nihilo .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom right; - border: none; -} - -.nihilo .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabBottomActiveC.gif") repeat-x bottom left; - padding:7px 10px 6px 10px; -} - - -/* left specific classes */ -.nihilo .dijitAlignLeft .dijitTab { - margin-right: 1px !important; -} - -.nihilo .dijitAlignLeft .dijitTabChecked { - margin-right: 0px !important; -} - -.nihilo .dijitAlignLeft .dijitTabChecked .dijitTabInnerDiv { - background: url("../images/tabLeftChecked.gif") no-repeat right top !important; - padding-left: 10px; - border-bottom: 1px solid #dedede !important; -} - -.nihilo .dijitAlignLeft .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -350px; - padding-left: 10px; - border-bottom: 1px solid #dedede; -} -.nihilo .dijitAlignLeft .dijitTabHover .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -200px; - padding-left: 10px; - border-bottom: 1px solid #dedede; -} - -.nihilo .dijitTabLabels-left-h { - padding-left: 2px; - padding-top: 3px; - border-left: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #fafafa url("../images/tabStripeLeft.gif") repeat-y right top; - padding-right: 3px; -} - -.nihilo .dijitAlignLeft .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} - -/* right specific classes */ -.nihilo .dijitTabLabels-right-h { - padding-right: 2px; - padding-top: 3px; - border-right: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #fafafa url("../images/tabStripeRight.gif") repeat-y left top; - padding-left: 3px; -} - -.nihilo .dijitAlignRight .dijitTab { - margin-left: 1px; -} - -.nihilo .dijitAlignRight .dijitTabChecked { - margin-left: 0px; -} - -.nihilo .dijitAlignRight .dijitTabChecked { - background: url("../images/tabRightChecked.gif") no-repeat left top !important; -} - -.nihilo .dijitAlignRight .dijitTab { - background: url("../images/tabContainerSprite.gif") no-repeat left -350px; -} -.nihilo .dijitAlignRight .dijitTabHover .dijitTab { - background: url("../images/tabContainerSprite.gif") no-repeat left -200px; -} -.nihilo .dijitAlignRight .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} - -.nihilo .dijitAlignRight .dijitTabChecked .dijitTabInnerDiv { - border-bottom: 1px solid #dedede !important; -} - -.nihilo .dijitAlignRight .dijitTabInnerDiv { - border-bottom: 1px solid #dedede; -} -.nihilo .dijitAlignRight .dijitTabHover .dijitTabInnerDiv { - border-bottom: 1px solid #dedede; -} - -/* make space for a positioned close button */ -.nihilo .dijitTab .dijitClosable { - position: relative; - padding: 0; - padding-left: 10px !important; - padding-right: 20px !important; -} - -.nihilo .dijitTab img { - padding: 0; - margin: 0; -} - -.nihilo .dijitTab .dijitClosable .closeImage { - position:absolute; - top: 5px; - right: 5px; - height: 15px; - width: 15px; - padding: 0; - margin: 0; - background: url("../images/spriteRoundedIconsSmall.png") no-repeat -60px top; -} -.dj_ie6 .dijitTab .dijitClosable .closeImage { - background:url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px top; -} -.dj_ie6 .nihilo .dijitTabCloseButton .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px top; -} - -.nihilo .dijitTabHover .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmall.png") no-repeat -60px -15px !important; -} -.dj_ie6 .nihilo .dijitTabHover .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px -15px !important; -} - -/* correct for IE6. - We cant force hasLayout as that blows out the shrink wrapped tabs - ..so we shim in the closeImage position properties instead -*/ -.dj_ie6 .nihilo .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - left:-20px; -} - -.nihilo .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - top: auto; - bottom: 7px; - right: 3px; -} - -.nihilo .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - top: 7px; - left: 3px; -} diff --git a/includes/js/dijit/themes/nihilo/layout/TabContainer_rtl.css b/includes/js/dijit/themes/nihilo/layout/TabContainer_rtl.css deleted file mode 100644 index 1f498ce..0000000 --- a/includes/js/dijit/themes/nihilo/layout/TabContainer_rtl.css +++ /dev/null @@ -1,55 +0,0 @@ - -.dijitRtl .dijitTab { - margin-right:0; - margin-left:3px; -} -.dijitRtl .dijitTab .dijitTabInnerDiv { - border-left:none; -} -.dijitRtl .dijitTab .dijitClosable { - padding: 0 10px 0 20px; -} -.dijitRtl .dijitTab .closeImage { - position:static; -} -.dj_gecko .dijitTab .closeImage { - position:relative; - float:none; - padding:0; -} -.dijitRtl .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; - background-position: -60px top; -} -.dj_ie .dijitRtl .dijitTab .dijitClosable .closeImage { - width:12px !important; -} -.dijitRtl .dijitAlignLeft .dijitTab, -.dijitRtl .dijitAlignRight .dijitTab { - margin-left:0px; -} -.dijitRtl .dijitAlignBottom .dijitTab { - margin-right:0; - margin-left:3px; -} -.dijitRtl .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitTabInnerDiv { - padding-left:10px; - padding-right:20px; -} -.dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:20px; - padding-right:10px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitClosable .closeImage { - left:auto; - right:3px; -} -.dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} diff --git a/includes/js/dijit/themes/nihilo/layout/TabContainer_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/layout/TabContainer_rtl.css.commented.css deleted file mode 100644 index d0b6c84..0000000 --- a/includes/js/dijit/themes/nihilo/layout/TabContainer_rtl.css.commented.css +++ /dev/null @@ -1,69 +0,0 @@ -/* TabContainer */ - -.dijitRtl .dijitTab { - margin-right:0; - margin-left:3px; /* space between one tab and the next in top/bottom mode */ -} - -.dijitRtl .dijitTab .dijitTabInnerDiv { - border-left:none; -} - -.dijitRtl .dijitTab .dijitClosable { - padding: 0 10px 0 20px; -} - -.dijitRtl .dijitTab .closeImage { - position:static; -} - -.dj_gecko .dijitTab .closeImage { - position:relative; - float:none; - padding:0; -} - -.dijitRtl .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; - background-position: -60px top; -} - -.dj_ie .dijitRtl .dijitTab .dijitClosable .closeImage { - width:12px !important; -} - -.dijitRtl .dijitAlignLeft .dijitTab, -.dijitRtl .dijitAlignRight .dijitTab { - margin-left:0px; -} - -.dijitRtl .dijitAlignBottom .dijitTab { - margin-right:0; - margin-left:3px; /* space between one tab and the next in top/bottom mode */ -} - -.dijitRtl .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} - -.dijitRtl .dijitAlignRight .dijitTab .dijitTabInnerDiv { - padding-left:10px; - padding-right:20px; -} - -.dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:20px; - padding-right:10px; -} - -.dijitRtl .dijitAlignRight .dijitTab .dijitClosable .closeImage { - left:auto; - right:3px; -} - -.dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} diff --git a/includes/js/dijit/themes/nihilo/nihilo.css b/includes/js/dijit/themes/nihilo/nihilo.css deleted file mode 100644 index b7ecbc4..0000000 --- a/includes/js/dijit/themes/nihilo/nihilo.css +++ /dev/null @@ -1,1378 +0,0 @@ - -@import url("../dijit.css"); -.nihilo .dijitSliderDisabled *, -.nihilo .dijitDisabledClickableRegion, -.nihilo .dijitSpinnerDisabled *, -.nihilo .dijitButtonDisabled *, -.nihilo .dijitDropDownButtonDisabled *, -.nihilo .dijitComboButtonDisabled *, -.nihilo .dijitComboBoxDisabled * -{ - cursor: not-allowed !important; -} -.nihilo .dojoDndItemBefore { - border-top: 2px solid #369; -} -.nihilo .dojoDndItemAfter { - border-bottom: 2px solid #369; -} -.nihilo .dojoDndItemOver { - cursor:pointer; -} -.nihilo table.dojoDndAvatar { -moz-border-radius: 0; border: 1px solid #ccc; border-collapse: collapse; background-color: #fff; font-size: 75%; color: black;} -.nihilo .dojoDndAvatar td { border: none; } -.nihilo .dojoDndAvatar tr { border: none; } -.nihilo .dojoDndAvatarHeader td { height: 20px; padding: 0 0 0 21px; } -.nihilo .dojoDndAvatarItem td { padding: 2px;} -.nihilo.dojoDndMove .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoMove.png); background-repeat: no-repeat; background-position: 2px center;} -.nihilo.dojoDndCopy .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoCopy.png); background-repeat: no-repeat; background-position: 2px center;} -.nihilo.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndMove.png); background-repeat: no-repeat; background-position: 2px center;} -.nihilo.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndCopy.png); background-repeat: no-repeat; background-position: 2px center;} - - -.nihilo .dijitTabPaneWrapper { - - background:#fff; - border:1px solid #ccc; -} -.nihilo .dijitTab { - line-height:normal; - margin-right:3px; - padding:0px; - background: url(images/tabContainerSprite.gif) no-repeat 0 -300px; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; - margin-bottom: -1px; -} -.nihilo dijitTabChecked { - margin-bottom: -2px; -} -.nihilo .dijitTabInnerDiv .dijitTabContent { - padding:8px 10px 4px 10px; - background: url(images/tabContainerSprite.gif) repeat-x 0 -350px; -} -.nihilo .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url(images/tabContainerSprite.gif) no-repeat; - background-position: right -400px; - border: none; -} -.nihilo .dijitTabHover, -.nihilo .dijitTabCloseButtonHover { - color: #243C5F; - background: url(images/tabContainerSprite.gif) no-repeat 0px -150px; -} -.nihilo .dijitTabHover .dijitTabInnerDiv, -.nihilo .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url(images/tabContainerSprite.gif) no-repeat right -250px; - border: none; -} -.nihilo .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.nihilo .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url(images/tabContainerSprite.gif) repeat-x 0 -200px; - padding:8px 10px 4px 10px; -} -.nihilo .dijitTabChecked, -.nihilo .dijitTabCloseButtonChecked -{ - - background: url(images/tabContainerSprite.gif) no-repeat 0px -0px; -} -.nihilo .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url(images/tabContainerSprite.gif) no-repeat right -100px; - border: none; -} -.nihilo .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url(images/tabContainerSprite.gif) repeat-x 0 -50px; - padding:8px 10px 5px 10px; - color: #243C5F !important; -} -.nihilo .dijitTabLabels-top { - border-left: 1px solid #ccc; - border-top: 1px solid #ccc; - border-right: 1px solid #ccc; - padding-top: 2px; - padding-left: 3px; - background: #fafafa url(images/tabStripe.gif) repeat-x left bottom; - padding-bottom: 4px; -} -.nihilo .dijitAlignLeft .dijitTab, -.nihilo .dijitAlignRight .dijitTab { - margin-right:0px; - margin-bottom:5px; -} -.nihilo .dijitAlignTop .dijitTabChecked, -.nihilo .dijitAlignTop .dijitTabCloseButtonChecked -{ - border-bottom-color:white; - vertical-align:bottom; -} -.nihilo .dijitAlignBottom .dijitTabChecked, -.nihilo .dijitAlignBottom .dijitTabCloseButtonChecked -{ - border-top-color:white; - -} -.nihilo .dijitAlignLeft .dijitTabChecked, -.nihilo .dijitAlignLeft .dijitTabCloseButtonChecked -{ - border-right-color:white; -} -.nihilo .dijitAlignRight .dijitTabChecked, -.nihilo .dijitAlignRight .dijitTabCloseButtonChecked -{ - border-left-color:white; -} -.nihilo .dijitTabLabels-bottom { - padding-bottom: 2px; - padding-left: 3px; - border-left: 1px solid #ccc; - border-bottom: 1px solid #ccc; - border-right: 1px solid #ccc; - background: #fafafa url(images/tabStripeBottom.gif) repeat-x left top; - padding-top: 3px; -} -.nihilo .dijitAlignBottom .dijitTab { - line-height:normal; - margin-right:3px; - padding:0px; - background: url(images/tabBottomEnabledSpriteLR.gif) no-repeat bottom left; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; - margin-bottom: 0px; - margin-top: 1px; -} -.nihilo .dijitAlignBottom .dijitTabChecked { - margin-bottom: 0px; - margin-top: 0px !important; -} -.nihilo .dijitAlignBottom .dijitTabInnerDiv .dijitTabContent { - padding:6px 10px 6px 10px; - background: url(images/tabBottomEnabledC.gif) repeat-x bottom left; -} -.nihilo .dijitAlignBottom .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url(images/tabBottomEnabledSpriteLR.gif) no-repeat bottom right; - border: none; -} -.nihilo .dijitAlignBottom .dijitTabHover, -.nihilo .dijitAlignBottom .dijitTabCloseButtonHover { - color: #243C5F; - background: url(images/tabBottomHoverSpriteLR.gif) no-repeat bottom left; -} -.nihilo .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv, -.nihilo .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url(images/tabBottomHoverSpriteLR.gif) no-repeat bottom right; - border: none; -} -.nihilo .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.nihilo .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url(images/tabBottomHoverC.gif) repeat-x bottom left; - padding:6px 10px 6px 10px; -} -.dj_ie6 .nihilo .dijitAlignBottom .dijitTabHover, -.dj_ie6 .nihilo .dijitAlignBottom .dijitTabCloseButtonHover { - background-image: url(images/tabHover.gif); -} -.nihilo .dijitAlignBottom .dijitTabChecked, -.nihilo .dijitAlignBottom .dijitTabCloseButtonChecked -{ - - background: url(images/tabBottomActiveSpriteLR.gif) no-repeat bottom left; -} -.nihilo .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url(images/tabBottomActiveSpriteLR.gif) no-repeat bottom right; - border: none; -} -.nihilo .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url(images/tabBottomActiveC.gif) repeat-x bottom left; - padding:7px 10px 6px 10px; -} -.nihilo .dijitAlignLeft .dijitTab { - margin-right: 1px !important; -} -.nihilo .dijitAlignLeft .dijitTabChecked { - margin-right: 0px !important; -} -.nihilo .dijitAlignLeft .dijitTabChecked .dijitTabInnerDiv { - background: url(images/tabLeftChecked.gif) no-repeat right top !important; - padding-left: 10px; - border-bottom: 1px solid #dedede !important; -} -.nihilo .dijitAlignLeft .dijitTabInnerDiv { - background: url(images/tabContainerSprite.gif) no-repeat right -350px; - padding-left: 10px; - border-bottom: 1px solid #dedede; -} -.nihilo .dijitAlignLeft .dijitTabHover .dijitTabInnerDiv { - background: url(images/tabContainerSprite.gif) no-repeat right -200px; - padding-left: 10px; - border-bottom: 1px solid #dedede; -} -.nihilo .dijitTabLabels-left-h { - padding-left: 2px; - padding-top: 3px; - border-left: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #fafafa url(images/tabStripeLeft.gif) repeat-y right top; - padding-right: 3px; -} -.nihilo .dijitAlignLeft .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} -.nihilo .dijitTabLabels-right-h { - padding-right: 2px; - padding-top: 3px; - border-right: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #fafafa url(images/tabStripeRight.gif) repeat-y left top; - padding-left: 3px; -} -.nihilo .dijitAlignRight .dijitTab { - margin-left: 1px; -} -.nihilo .dijitAlignRight .dijitTabChecked { - margin-left: 0px; -} -.nihilo .dijitAlignRight .dijitTabChecked { - background: url(images/tabRightChecked.gif) no-repeat left top !important; -} -.nihilo .dijitAlignRight .dijitTab { - background: url(images/tabContainerSprite.gif) no-repeat left -350px; -} -.nihilo .dijitAlignRight .dijitTabHover .dijitTab { - background: url(images/tabContainerSprite.gif) no-repeat left -200px; -} -.nihilo .dijitAlignRight .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} -.nihilo .dijitAlignRight .dijitTabChecked .dijitTabInnerDiv { - border-bottom: 1px solid #dedede !important; -} -.nihilo .dijitAlignRight .dijitTabInnerDiv { - border-bottom: 1px solid #dedede; -} -.nihilo .dijitAlignRight .dijitTabHover .dijitTabInnerDiv { - border-bottom: 1px solid #dedede; -} -.nihilo .dijitTab .dijitClosable { - position: relative; - padding: 0; - padding-left: 10px !important; - padding-right: 20px !important; -} -.nihilo .dijitTab img { - padding: 0; - margin: 0; -} -.nihilo .dijitTab .dijitClosable .closeImage { - position:absolute; - top: 5px; - right: 5px; - height: 15px; - width: 15px; - padding: 0; - margin: 0; - background: url(images/spriteRoundedIconsSmall.png) no-repeat -60px top; -} -.dj_ie6 .dijitTab .dijitClosable .closeImage { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat -60px top; -} -.dj_ie6 .nihilo .dijitTabCloseButton .dijitClosable .closeImage { - background: url(images/spriteRoundedIconsSmall.gif) no-repeat -60px top; -} -.nihilo .dijitTabHover .dijitClosable .closeImage { - background: url(images/spriteRoundedIconsSmall.png) no-repeat -60px -15px !important; -} -.dj_ie6 .nihilo .dijitTabHover .dijitClosable .closeImage { - background: url(images/spriteRoundedIconsSmall.gif) no-repeat -60px -15px !important; -} -.dj_ie6 .nihilo .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - left:-20px; -} -.nihilo .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - top: auto; - bottom: 7px; - right: 3px; -} -.nihilo .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - top: 7px; - left: 3px; -} - -.nihilo .dijitAccordionPane { - background-color: #e7e7e7; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; -} -.nihilo .dijitAccordionTitle { - background:#fafafa url(images/titleBar.png) repeat-x top left; - border-top: 1px solid #dedede; - padding: 5px 4px 6px 8px; - cursor:pointer; -} -.nihilo .dijitAccordionTitle-selected { - background: #f9f9f9 url(images/accordionItemActive.png) top repeat-x; - font-weight: bold; - border-top: 1px solid #dedede; - border-bottom: 1px solid #dedede; - padding: 5px 4px 5px 8px; - cursor: default; - color: #243C5F; -} -.nihilo .dijitAccordionArrow { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat; - width:15px; - height:15px; - margin-top:-1px; -} -.nihilo .dijitAccordionTitle-selected .dijitAccordionArrow { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat -15px top; - margin-top:-1px; -} -.nihilo .dijitAccordionBody { - background: #fff; -} - -.nihilo .dijitSplitContainerSizerH { - background:url(images/splitContainerSizerV.png) repeat-y #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - width:5px; -} -.nihilo .dijitSplitContainerSizerH .thumb { - background:url(images/splitContainerSizerV-thumb.png) no-repeat; - left:1px; - width:2px; - height:19px; -} -.nihilo .dijitSplitContainerSizerV { - background:url(images/splitContainerSizerH.png) repeat-x #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - height:2px; -} -.nihilo .dijitSplitContainerSizerV .thumb { - background:url(images/splitContainerSizerH-thumb.png) no-repeat; - top:1px; - width:19px; - height:5px; -} - -.nihilo .dijitSplitterH { - background:url(images/splitContainerSizerH.png) repeat-x #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - height:5px; -} -.nihilo .dijitSplitterH .dijitSplitterThumb { - background:url(images/splitContainerSizerH-thumb.png) no-repeat; - top:1px; - width:19px; - height:2px; -} -.nihilo .dijitSplitterV { - background:url(images/splitContainerSizerV.png) repeat-y #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - width:5px; -} -.nihilo .dijitSplitterV .dijitSplitterThumb { - background:url(images/splitContainerSizerV-thumb.png) no-repeat; - left:1px; - height:19px; - width:5px; -} -.nihilo .dijitInputField INPUT, -.nihilo .dijitTextBox, -.nihilo .dijitComboBox, -.nihilo .dijitSpinner { - margin: 0em 0.1em; -} -.nihilo .dijitTextBox, -.nihilo .dijitComboBox, -.nihilo .dijitSpinner, -.nihilo .dijitInlineEditor input, -.nihilo .dijitTextArea { - - background:#fff url(images/validationInputBg.png) repeat-x top left; - #background:#fff url(images/validationInputBg.gif) repeat-x top left; - border:1px solid #d3d3d3; - line-height: normal; -} -.nihilo .dijitComboBox .dijitButtonNode { - padding: 0 0.2em; -} -.nihilo .dijitComboBox .dijitButtonNode, -.nihilo .dijitSpinner .dijitButtonNode { - - border-color: #d3d3d3; - border-left: 1px solid #d3d3d3; -} -.nihilo .dijitTextBoxFocused, -.nihilo .dijitComboBoxFocused, -.nihilo .dijitSpinnerFocused { - - border-color:#b3b3b3; -} -.nihilo .dijitComboBoxFocused .dijitButtonNode, .nihilo .dijitSpinnerFocused .dijitButtonNode { - border-left-color:#d3d3d3; -} -.nihilo .dijitSpinnerFocused .dijitDownArrowButton { - border-top-color:#d3d3d3; -} -.nihilo .dijitError { - border-color:#b3b3b3; - background-color:#f9f7ba; - background-image:none; -} -.dj_ie6 .nihilo .dijitError INPUT { - - background-color:#f9f7ba !important; -} -.nihilo .dijitErrorFocused { - background-color:#ff6; - background-image:none; -} -.dj_ie6 .nihilo .dijitErrorFocused INPUT { - - background-color:#ff6 !important; -} -.nihilo .dijitValidationIcon { - - width: 16px; - background: transparent url(images/warning.png) no-repeat center center; -} -.nihilo .dijitButtonNode { - - - border:1px solid #dedede; - border-bottom:1px solid #dedede; - border-right:1px solid #dedede; - padding: 0.2em; - background:#fff url(images/buttonEnabled.png) repeat-x top left; -} -.dj_ie .nihilo .dijitButtonNode { - zoom: 1; -} -.nihilo .dijitButtonText { - padding: 0 0.3em; -} -.nihilo .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} -.nihilo .dijitArrowButton { - color: #111; -} -.nihilo .dijitComboButton .dijitDownArrowButton { - padding-right:4px; -} -.dj_ff2 .nihilo .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .nihilo .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.nihilo .dijitButtonDisabled .dijitButtonNode, -.nihilo .dijitToggleButtonDisabled .dijitButtonNode, -.nihilo .dijitDropDownButtonDisabled .dijitButtonNode, -.nihilo .dijitComboButtonDisabled .dijitButtonNode, -.nihilo .dijitComboBoxDisabled, -.nihilo .dijitSpinnerDisabled, -.nihilo .dijitSpinnerDisabled .dijitButtonNode { - - border-color: #dedede; - - background:#fafafa url(images/buttonDisabled.png) top repeat-x; - opacity: 0.60; -} -.dj_ie .nihilo .dijitButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitToggleButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitDropDownButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitComboButtonDisabled .dijitButtonNode *, -.dj_ie .nihilo .dijitSpinnerDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); -} -.nihilo .dijitButtonHover .dijitButtonNode, -.nihilo .dijitToggleButtonHover .dijitButtonNode, -.nihilo .dijitDropDownButtonHover .dijitButtonNode, -.nihilo .dijitComboButtonHover .dijitButtonContents, -.nihilo .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.nihilo .dijitComboBoxHover .dijitDownArrowButton, -.nihilo .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.nihilo .dijitSpinnerDownArrowHover .dijitDownArrowButton { - - - color:#000; - background:#fcfcfc url(images/buttonHover.png) repeat-x top left; -} -.nihilo .dijitSpinnerUpArrowActive .dijitUpArrowButton, -.nihilo .dijitSpinnerDownArrowActive .dijitDownArrowButton, -.nihilo .dijitButtonActive .dijitButtonNode, -.nihilo .dijitToggleButtonActive .dijitButtonNode, -.nihilo .dijitDropDownButtonActive .dijitButtonNode, -.nihilo .dijitComboButtonActive .dijitButtonContents, -.nihilo .dijitDownArrowActive .dijitDownArrowButton, -.nihilo .dijitComboBoxActive .dijitDownArrowButton { - - border-color:#dedede; - background: #f5f5f5 url(images/buttonActive.png) top left repeat-x; -} -.nihilo .dijitArrowButtonInner { - background:url(images/spriteArrows.png) no-repeat left top; - width: 11px; -} -.nihilo .dijitUpArrowButton .dijitArrowButtonInner { - background:url(images/spriteArrows.png) no-repeat -22px top; - width: 11px; -} -.dj_ie6 .nihilo .dijitArrowButtonInner { - background:url(images/spriteArrows.gif) no-repeat left top; - width: 11px; -} -.dj_ie6 .nihilo .dijitUpArrowButton .dijitArrowButtonInner { - background:url(images/spriteArrows.gif) no-repeat -22px top; - width: 11px; -} -.nihilo .dijitComboBox .dijitArrowButton .dijitArrowButtonInner { - background:url(images/spriteArrows.png) no-repeat left center; - width: 11px; -} -.nihilo .dijitComboBoxHover .dijitArrowButtonInner { - -} -.nihilo .dijitToggleButton .dijitCheckBox, -.nihilo .dijitToggleButton .dijitCheckBoxIcon { - background-image: url(images/spriteCheckbox.gif); -} -.nihilo .dijitCheckBox, -.nihilo .dijitCheckBoxIcon { - background-image: url(images/spriteCheckbox.gif); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.nihilo .dijitCheckBox, -.nihilo .dijitToggleButton .dijitCheckBoxIcon { - - background-position: -16px; -} -.nihilo .dijitCheckBoxChecked, -.nihilo .dijitToggleButtonChecked .dijitCheckBoxIcon { - - background-position: 0px; -} -.nihilo .dijitCheckBoxDisabled { - - background-position: -48px; -} -.nihilo .dijitCheckBoxCheckedDisabled { - - background-position: -32px; -} -.nihilo .dijitCheckBoxHover, -.nihilo .dijitCheckBoxFocused { - - background-position: -80px; -} -.nihilo .dijitCheckBoxCheckedHover, - .nihilo .dijitCheckBoxCheckedFocused { - - background-position: -64px; -} -.nihilo .dijitToggleButton .dijitRadio, -.nihilo .dijitToggleButton .dijitRadioIcon { - background-image: url(images/spriteRadio.gif); -} -.nihilo .dijitRadio, -.nihilo .dijitRadioIcon { - background-image: url(images/spriteRadio.gif); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.nihilo .dijitRadio, -.nihilo .dijitToggleButton .dijitRadioIcon { - - background-position: -16px; -} -.nihilo .dijitRadioChecked, -.nihilo .dijitToggleButtonChecked .dijitRadioIcon { - - background-position: 0px; -} -.nihilo .dijitRadioCheckedDisabled { - - background-position: -48px; -} -.nihilo .dijitRadioDisabled { - - background-position: -32px; -} -.nihilo .dijitRadioHover, -.nihilo .dijitRadioFocused { - - background-position: -80px; -} -.nihilo .dijitRadioCheckedHover, -.nihilo .dijitRadioCheckedFocused { - - background-position: -64px; -} -.nihilo .dijitTextBox { - margin: 0em 0.1em; -} -.nihilo .dijitTextBox, -.nihilo .dijitTextArea { - - background:#fff url(images/validationInputBg.png) repeat-x top left; - #background:#fff url(images/validationInputBg.gif) repeat-x top left; - border:1px solid #c4c4c4; - line-height: normal; -} -.nihilo .dijitSliderProgressBarH { - border-color: #aab0bb; - background: #c0c2c5 url(images/sliderFull.png) repeat-x top left; -} -.nihilo .dijitSliderProgressBarV { - border-color: #aab0bb; - background: #c0c2c5 url(images/sliderFullVertical.png) repeat-y bottom left; -} -.nihilo .dijitSliderFocused .dijitSliderProgressBarH, -.nihilo .dijitSliderFocused .dijitSliderLeftBumper { - background-image:url(images/sliderFullFocus.png); -} -.nihilo .dijitSliderFocused .dijitSliderProgressBarV, -.nihilo .dijitSliderFocused .dijitSliderBottomBumper { - background-image:url(images/sliderFullVerticalFocus.png); -} -.nihilo .dijitSliderRemainingBarV { - border-color: #b4b4b4; - background: #dcdcdc url(images/sliderEmptyVertical.png) repeat-y bottom left; -} -.nihilo .dijitSliderRemainingBarH { - border-color: #b4b4b4; - background: #dcdcdc url(images/sliderEmpty.png) repeat-x top left; -} -.nihilo .dijitSliderBar { - border-style: solid; - outline:1px; - -} -.nihilo .dijitSliderFocused .dijitSliderBar { - border-color:#727272; -} -.dijit_a11y .dijitSliderProgressBar { - background-color:#333 !important; -} -.nihilo .dijitSliderImageHandleH { - border:0px; - width:15px; - height:18px; - background:url(images/preciseSliderThumb.png) no-repeat center top; - cursor:pointer; -} -.nihilo .dijitSliderFocused .dijitSliderImageHandleH { - background-image:url(images/preciseSliderThumbFocus.png); - #background-image:url(images/preciseSliderThumbFocus.gif); -} -.dj_ie6 .nihilo .dijitSliderImageHandleH { - background-image:url(images/preciseSliderThumb.gif); -} -.nihilo .dijitSliderLeftBumper { - border-left-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url(images/sliderFull.png) repeat-x top left; -} -.nihilo .dijitSliderRightBumper { - background: #dcdcdc url(images/sliderEmpty.png) repeat-x top left; - border-color: #b4b4b4; - border-right-width: 1px; -} -.nihilo .dijitSliderImageHandleV { - border:0px; - width:20px; - height:15px; - background:url(images/sliderThumb.png) no-repeat center center; - cursor:pointer; -} -.nihilo .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url(images/sliderThumbFocus.png); -} -.dj_ie6 .nihilo .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url(images/sliderThumbFocus.gif); -} -.nihilo .dijitSliderBottomBumper { - border-bottom-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url(images/sliderFullVertical.png) repeat-y bottom left; -} -.nihilo .dijitSliderTopBumper { - background: #dcdcdc url(images/sliderEmptyVertical.png) repeat-y top left; - border-color: #b4b4b4; - border-top-width: 1px; -} -.nihilo .dijitSliderIncrementIconH, -.nihilo .dijitSliderIncrementIconV { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -45px top; - width:15px; height:15px; - cursor:pointer; -} -.nihilo .dijitSliderIncrementIconH { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -30px top; -} -.nihilo .dijitSliderDecrementIconH, -.nihilo .dijitSliderDecrementIconV { - width:15px; - height:15px; - cursor:pointer; - background:url(images/spriteRoundedIconsSmall.png) no-repeat -15px top; -} -.nihilo .dijitSliderDecrementIconH { background:url(images/spriteRoundedIconsSmall.png) no-repeat 0px top; } -.nihilo .dijitSliderButtonInner { - visibility:hidden; -} -.nihilo .dijitSliderDisabled { - opacity:0.6 !important; -} -.dj_ie6 .nihilo .dijitSliderDisabled, -.dj_ie6 .nihilo .dijitSliderDisabled .dijitRuleContainer, -.dj_ie6 .nihilo .dijitSliderDisabled .dijitSliderRemainingBar, -.dj_ie6 .nihilo .dijitSliderDisabled .dijitSliderProgressBar { - filter: gray() alpha(opacity=40); -} -.nihilo .dijitTreeNode { - background : url(images/treeI.gif) no-repeat; - background-position : top left; - background-repeat : repeat-y; - margin-left: 19px; - zoom: 1; -} -.nihilo .dijitTreeIsLast { - background: url(images/treeI_half.gif) no-repeat; -} -.nihilo .dijitTreeLabel { - font-weight: normal; - margin-left: 3px; -} -.nihilo .dijitTreeIsRoot { - margin-left: 0; - background-image: none; -} -.nihilo .dijitTreeExpando { - width: 18px; - height: 18px; -} -.nihilo .dijitTreeContent { - min-height: 18px; - min-width: 18px; - margin-left:18px; - padding-top:3px; - padding-left:1px; -} -.nihilo .dijitTreeExpand { - width: 18px; - height: 18px; - background-repeat : no-repeat; -} -.nihilo .dijitTreeNodeEmphasized { - background-color: Highlight; - color: HighlightText; -} -.nihilo .dijitTreeLabelFocused { - outline: 1px invert dotted; - background:#dde7f2; -} -.nihilo .dijitTreeExpandoOpened { - background: url(images/spriteTree.gif) no-repeat -18px top; -} -.nihilo .dijitTreeExpandoClosed { - background-image: url(images/spriteTree.gif); -} -.nihilo .dijitTreeExpandoLeaf { - background: url(images/spriteTree.gif) no-repeat -36px top; -} -.nihilo .dijitTreeExpandoLoading { - background-image: url(images/treeExpand_loading.gif); -} -.nihilo .dijitTreeIcon { - width: 16px; - height: 16px; -} -.nihilo .dijitFolderOpened { - background: url(images/spriteDivIcons.gif) no-repeat -16px top; -} -.nihilo .dijitFolderClosed { - background: url(images/spriteDivIcons.gif) no-repeat top left; -} -.nihilo .dijitLeaf { - background: url(images/spriteDivIcons.gif) no-repeat -32px top; -} -.nihilo .dijitProgressBar { - margin:2px 0px 2px 0px; -} -.nihilo .dijitProgressBarEmpty{ - - background:#fff url(images/progressBarEmpty.png) repeat-x center center; - border-color: #f8d582 #f8d582 #f8d582 #f8d582; -} -.nihilo .dijitProgressBarTile{ - - background:#f0f0f0 url(images/progressBarFull.png) repeat-x center center; -} -.nihilo .dijitProgressBarFull { - border-right:1px solid #f8d582; -} -.nihilo .dijitProgressBarLabel { - - color:#293a4b; -} -.nihilo .dijitProgressBarIndeterminate .dijitProgressBarTile { - - background:#cad2de url(images/progressBarAnim.gif) repeat-x center center; -} - - -.nihilo .dijitTitlePane .dijitTitlePaneTitle { - background: #cccccc; - background:#fff url(images/titleBar.png) repeat-x top left; - border:1px solid #bfbfbf; - padding:4px 4px 2px 4px; - cursor: pointer; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; -} -.nihilo .dijitTitlePane .dijitArrowNode { - width:15px; - height:15px; - float:right; - margin-top: -2px; -} -.nihilo .dijitTitlePaneFocused .dijitTitlePaneTextNode { - color: #243C5F; -} -.nihilo .dijitOpen .dijitTitlePaneTextNode { - color: #243C5F; -} -.nihilo .dijitTitlePane .dijitClosed .dijitArrowNode { - background: url(images/spriteRoundedIconsSmall.png) no-repeat top left; -} -.dj_ie6 .nihilo .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat top left; -} -.nihilo .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -15px top; -} -.dj_ie6 .nihilo .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat -15px top; -} -.nihilo .dijitTitlePane .dijitArrowNodeInner { - visibility:hidden; -} -.dijit_a11y .dijitTitlePane .dijitArrowNodeInner { - visibility:visible; -} -.nihilo .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - margin-right:5px; -} -.nihilo .dijitOpen .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - position:relative; - top:2px; -} -.nihilo .dijitTitlePaneContentOuter { - background: #ffffff; - border:1px solid #bfbfbf; - border-top: 0px solid #3d3d3d; -} -.nihilo .dijitTitlePaneContentInner { - padding:10px; -} -.dj_ie6 .nihilo .dijitTitlePaneContentOuter, -.dj_ie6 .nihilo .dijitTitlePane .dijitTitlePaneTitle { - zoom: 1; -} -.nihilo .dijitClickableRegion { - background-color : #ffc !important; -} - -.nihilo .dijitCalendarIncrementControl { - - width:15px; - height:15px; -} -.dj_ie6 .nihilo .dijitCalendarIncrementControl { - padding:.1em; - font-size:.1em; -} -.nihilo .dijitCalendarIncreaseInner, -.nihilo .dijitCalendarDecreaseInner { - visibility:hidden; -} -.nihilo .dijitCalendarDecrease { - background:url(images/spriteRoundedIconsSmall.png) no-repeat top left; -} -.dj_ie6 .nihilo .dijitCalendarDecrease { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat top left; -} -.nihilo .dijitCalendarIncrease { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -30px top; -} -.dj_ie6 .nihilo .dijitCalendarIncrease { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat -30px top; -} -.nihilo table.dijitCalendarContainer { - font-size: 100%; - border-spacing: 0; - border-collapse: separate; - border: 1px solid #ccc; - margin: 0; -} -.nihilo .dijitCalendarMonthContainer th { - - background:#d3d3d3 url(images/titleBar.png) repeat-x top; - padding-top:.3em; - padding-bottom:.2em; - text-align:center; -} -.dj_ie6 .nihilo .dijitCalendarMonthContainer th { - padding-top:.1em; - padding-bottom:0em; -} -.nihilo .dijitCalendarDayLabelTemplate { - - background:#fefefe; - font-weight:normal; - padding-top:.15em; - padding-bottom:.2em; - border-bottom: 1px solid #eeeeee; - color:#293a4b; - text-align:center; -} -.nihilo .dijitCalendarBodyContainer { - border-bottom: 1px solid #eeeeee; -} -.nihilo .dijitCalendarMonthLabel { - color:#293a4b; - font-weight: bold; -} -.dj_ie7 .nihilo .dijitCalendarDateTemplate, -.dj_ie6 .nihilo .dijitCalendarDateTemplate { - font-size: 0.8em; -} -.nihilo .dijitCalendarDateTemplate { - - font-size: 0.9em; - font-weight: bold; - text-align: center; - padding: 0.3em 0.3em 0.1em 0.3em; - letter-spacing: 1px; - background-color: #fdfdfd; - border:#fdfdfd solid 1px !important; -} -.nihilo .dijitCalendarPreviousMonth, -.nihilo .dijitCalendarNextMonth { - - color:#999999; - background-color:#f5f5f5 !important; - border:#f5f5f5 solid 1px !important; -} -.nihilo .dijitCalendarPreviousMonthDisabled, -.nihilo .dijitCalendarNextMonthDisabled { - - background-color:#a4a5a6 !important; -} -.nihilo .dijitCalendarCurrentMonth { - -} -.nihilo .dijitCalendarCurrentMonthDisabled { - - background-color:#bbbbbc !important; -} -.nihilo .dijitCalendarDisabledDate { - - - text-decoration:line-through !important; - cursor:default !important; -} -.nihilo .dijitCalendarCurrentDate { - - text-decoration:underline; - font-weight:bold; -} -.nihilo .dijitCalendarSelectedDate { - - background-color:#ffe284 !important; - color:black !important; - border:#f7c95c solid 1px !important; -} -.nihilo .dijitCalendarYearContainer { - - background:white url(images/titleBar.png) repeat-x top; -} -.nihilo .dijitCalendarYearLabel { - - margin:0; - padding:0.4em 0 0.25em 0; - text-align:center; -} -.nihilo .dijitCalendarSelectedYear { - - color:black; - padding:0.2em; - padding-bottom:0.1em; - background-color:#ffe284 !important; - border:#f7c95c solid 1px !important; -} -.nihilo .dijitCalendarNextYear, -.nihilo .dijitCalendarPreviousYear { - - color:black !important; - font-weight:normal; -} -.nihilo .dijitToolbar { - padding: 3px 0 1px 3px; - border-bottom: 1px solid #ccc; - background:#eaeaea url(images/titleBar.png) repeat-x top left; -} -.nihilo .dijitToolbar .dijitButtonNode { - background: none; - margin: 0px !important; - padding: 0px !important; - border: none; - font-size: 12px; -} -.nihilo .dijitToolbar .dijitButton, -.nihilo .dijitToolbar .dijitToggleButton, -.nihilo .dijitToolbar .dijitDropDownButton { - background: none; - margin: 1px; - padding: 0px; - border: 1px solid transparent; -} -.nihilo .dijitToolbar .dijitButtonChecked, -.nihilo .dijitToolbar .dijitToggleButtonChecked { - background-color:#ffeeb9; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px !important; -} -.nihilo .dijitToolbar .dijitButtonCheckedHover, -.nihilo .dijitToolbar .dijitToggleButtonCheckedHover - { - background-color:#ffe284; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px !important; -} -.nihilo .dijitToolbar .dijitButtonHover, -.nihilo .dijitToolbar .dijitToggleButtonHover, -.nihilo .dijitToolbar .dijitDropDownButtonHover { - - border: 1px solid #f7c95c; - background-color:#ffe284; -} -.nihilo .dijitToolbar label { - padding: 3px 3px 0 6px; -} -.dj_ie .nihilo .dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ie .nihilo .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused, -.dj_ff2 .nihilo.dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .nihilo .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.dj_ie6 .nihilo .dijitToolbar .dijitButton, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButton, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButton { - - margin: 2px; - padding: 0px 2px; - border: 0px; -} -.dj_ie6 .nihilo .dijitToolbar .dijitButtonChecked, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButtonChecked, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButtonChecked { - background-color:#ffeeb9; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .nihilo .dijitToolbar .dijitButtonCheckedHover, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButtonCheckedHover, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButtonCheckedHover { - background-color:#ffe284; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .nihilo .dijitToolbar .dijitButtonHover, -.dj_ie6 .nihilo .dijitToolbar .dijitToggleButtonHover, -.dj_ie6 .nihilo .dijitToolbar .dijitDropDownButtonHover { - background-color:#ffe284; - border:1px solid #f7c95c; - margin: 1px !important; - padding: 0px 2px !important; -} -.nihilo .dijitDialog { - background: #eee; - border: 1px solid #d3d3d3; - -webkit-box-shadow: 0px 5px 10px #adadad; - padding: 0px; -} -.nihilo .dijitDialog .dijitDialogTitle { - border-top: none; - border-left: none; - border-right: none; - font-size: 0.9em; - color: #3243C5F; -} -.nihilo .dijitDialog .dijitDialogPaneContent { - background: #ffffff; - border:none; - border-top: 1px solid #d3d3d3; - padding:10px; -} -.nihilo .dijitDialogTitleBar { - - background: #fafafa url(images/titleBar.png) repeat-x top left; - - padding: 5px 6px 3px 2px; - cursor: move; - outline:0; -} -.nihilo .dijitDialogTitle { - - font-weight: bold; - padding: 8px 12px 8px 12px; - outline:0; -} -.nihilo .dijitDialogCloseIcon { - - background : url(images/spriteRoundedIconsSmall.png) no-repeat right top; - float: right; - position: absolute; - vertical-align: middle; - right: 6px; - top: 4px; - height: 15px; - width: 15px; - cursor: pointer; -} -.dj_ie6 .nihilo .dijitDialogCloseIcon { - background : url(images/spriteRoundedIconsSmall.gif) no-repeat right top; -} -.nihilo .dijitDialogContent { - - padding: 8px; -} -.nihilo .dijitTooltip, -.nihilo .dijitTooltipDialog { - - opacity: 0.95; - background: transparent; -} -.dijitTooltipBelow { - - padding-top: 10px; -} -.dijitTooltipAbove { - - padding-bottom: 10px; -} -.nihilo .dijitTooltipContainer { - - background-color: #fff; - border:1px solid #d3d3d3; - padding:0.45em; - -} -.nihilo .dijitTooltipConnector { - - border:0px; - z-index: 2; -} -.nihilo .dijitTooltipABRight .dijitTooltipConnector { - - left: auto !important; - right: 6px; -} -.nihilo .dijitTooltipBelow .dijitTooltipConnector { - - top: 0px; - left: 6px; - background:url(images/tooltipConnectorUp.png) no-repeat top left; - width:17px; - height:11px; -} -.dj_ie6 .nihilo .dijitTooltipBelow .dijitTooltipConnector { - background-image: url(images/tooltipConnectorUp.gif); -} -.nihilo .dijitTooltipAbove .dijitTooltipConnector { - - bottom: 0px; - left: 6px; - background:url(images/tooltipConnectorDown.png) no-repeat top left; - width:17px; - height:11px; -} -.dj_ie6 .nihilo .dijitTooltipAbove .dijitTooltipConnector { - background-image: url(images/tooltipConnectorDown.gif); - bottom: -5px; -} -.nihilo .dijitTooltipLeft { - padding-right: 10px; -} -.dj_ie6 .nihilo .dijitTooltipLeft { - padding-left: 11px; -} -.nihilo .dijitTooltipLeft .dijitTooltipConnector { - - right: 0px; - bottom: 7px; - background:url(images/tooltipConnectorRight.png) no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .nihilo .dijitTooltipLeft .dijitTooltipConnector { - background-image: url(images/tooltipConnectorRight.gif); -} -.nihilo .dijitTooltipRight { - padding-left: 10px; -} -.nihilo .dijitTooltipRight .dijitTooltipConnector { - - left: 0px; - bottom: 7px; - background:url(images/tooltipConnectorLeft.png) no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .nihilo .dijitTooltipRight .dijitTooltipConnector { - background-image: url(images/tooltipConnectorLeft.gif); -} -.nihilo .dijitMenu { - border: 1px solid #d3d3d3; - margin: 0px; - padding: 0px; - background-color: #fff; -} -.nihilo .dijitMenuItem { - background-color: #fff; - font: menu; - margin: 0px; - color: #243C5F; -} -.nihilo .dijitMenuPreviousButton, .nihilo .dijitMenuNextButton { - font-style: italic; -} -.nihilo .dijitMenuItem TD { - padding:1px; -} -.nihilo .dijitMenuItemHover { - background-color: #ffe284; - color: #243C5F; -} -.nihilo .dijitMenuItemIcon { - width: 15px; - height: 15px; - -} -.nihilo .dijitMenuExpand { - display:none; -} -.nihilo .dijitMenuExpandEnabled { - - width:15px; - height:15px; - background:url(images/spriteRoundedIconsSmall.png) no-repeat -30px top; - display:block; -} -.dj_ie6 .nihilo .dijitMenuExpandEnabled { - background-image:url(images/spriteRoundedIconsSmall.gif); -} -.nihilo .dijitMenuExpandInner { - display:none; -} -.nihilo .dijitMenuSeparator { - background-color: #fff; - height: 1px; -} -.nihilo .dijitMenuSeparatorTop { - border-bottom: 1px solid #fff; -} -.nihilo .dijitMenuSeparatorBottom { - border-top: 1px solid #d3d3d3; -} -.dijitIEFixedToolbar { - position:absolute; - - top: expression(eval((document.documentElement||document.body).scrollTop)); -} -.nihilo .dijitToolbar .dijitToolbarSeparator { - background: url(images/editor.gif); -} -.nihilo .dijitEditorIcon { - background-image: url(images/editor.gif); - background-repeat: no-repeat; - width: 18px; - height: 18px; - text-align: center; -} -.nihilo .dijitEditorIconSep { background-position: 0px; } -.nihilo .dijitEditorIconBackColor { background-position: -18px; } -.nihilo .dijitEditorIconBold { background-position: -36px; } -.nihilo .dijitEditorIconCancel { background-position: -54px; } -.nihilo .dijitEditorIconCopy { background-position: -72px; } -.nihilo .dijitEditorIconCreateLink { background-position: -90px; } -.nihilo .dijitEditorIconCut { background-position: -108px; } -.nihilo .dijitEditorIconDelete { background-position: -126px; } -.nihilo .dijitEditorIconForeColor { background-position: -144px; } -.nihilo .dijitEditorIconHiliteColor { background-position: -162px; } -.nihilo .dijitEditorIconIndent { background-position: -180px; } -.nihilo .dijitEditorIconInsertHorizontalRule { background-position: -198px; } -.nihilo .dijitEditorIconInsertImage { background-position: -216px; } -.nihilo .dijitEditorIconInsertOrderedList { background-position: -234px; } -.nihilo .dijitEditorIconInsertTable { background-position: -252px; } -.nihilo .dijitEditorIconInsertUnorderedList { background-position: -270px; } -.nihilo .dijitEditorIconItalic { background-position: -288px; } -.nihilo .dijitEditorIconJustifyCenter { background-position: -306px; } -.nihilo .dijitEditorIconJustifyFull { background-position: -324px; } -.nihilo .dijitEditorIconJustifyLeft { background-position: -342px; } -.nihilo .dijitEditorIconJustifyRight { background-position: -360px; } -.nihilo .dijitEditorIconLeftToRight { background-position: -378px; } -.nihilo .dijitEditorIconListBulletIndent { background-position: -396px; } -.nihilo .dijitEditorIconListBulletOutdent { background-position: -414px; } -.nihilo .dijitEditorIconListNumIndent { background-position: -432px; } -.nihilo .dijitEditorIconListNumOutdent { background-position: -450px; } -.nihilo .dijitEditorIconOutdent { background-position: -468px; } -.nihilo .dijitEditorIconPaste { background-position: -486px; } -.nihilo .dijitEditorIconRedo { background-position: -504px; } -.nihilo .dijitEditorIconRemoveFormat { background-position: -522px; } -.nihilo .dijitEditorIconRightToLeft { background-position: -540px; } -.nihilo .dijitEditorIconSave { background-position: -558px; } -.nihilo .dijitEditorIconSpace { background-position: -576px; } -.nihilo .dijitEditorIconStrikethrough { background-position: -594px; } -.nihilo .dijitEditorIconSubscript { background-position: -612px; } -.nihilo .dijitEditorIconSuperscript { background-position: -630px; } -.nihilo .dijitEditorIconUnderline { background-position: -648px; } -.nihilo .dijitEditorIconUndo { background-position: -666px; } -.nihilo .dijitEditorIconWikiword { background-position: -684px; } -.nihilo .dijitEditorIconToggleDir { background-position: -540px; } -.dijitColorPalette { - border:1px solid #d3d3d3; - background:#fff; - -moz-border-radius: 0px !important; -} diff --git a/includes/js/dijit/themes/nihilo/nihilo.css.commented.css b/includes/js/dijit/themes/nihilo/nihilo.css.commented.css deleted file mode 100644 index d2bdd78..0000000 --- a/includes/js/dijit/themes/nihilo/nihilo.css.commented.css +++ /dev/null @@ -1,39 +0,0 @@ -/* - Adds cosmetic styling to Dijit. Users may swap with a custom theme CSS file. - - NOTES: - --- - Dialog.css contains css classes for both Dialog and Tooltip! - This because currently a dijit.TooltipDialog exist. Until this is resolved - you need to include Dialog.css for both dijits - --- - Toolbar.css contains classes also used in Editor. Until this is resolved - you need to include Toolbar.css for both Toolbar and Editor - --- - Button.css contains classes for combobox, - -*/ - -@import url("../dijit.css"); -@import url("Common.css"); - -@import url("layout/TabContainer.css"); -@import url("layout/AccordionContainer.css"); -@import url("layout/SplitContainer.css"); -@import url("layout/BorderContainer.css"); -@import url("form/Common.css"); -@import url("form/Button.css"); -@import url("form/ComboBox.css"); -@import url("form/Checkbox.css"); -@import url("form/RadioButton.css"); -@import url("form/Textarea.css"); -@import url("form/Slider.css"); -@import url("Tree.css"); -@import url("ProgressBar.css"); -@import url("TitlePane.css"); -@import url("Calendar.css"); -@import url("Toolbar.css"); -@import url("Dialog.css"); -@import url("Menu.css"); -@import url("Editor.css"); -@import url("ColorPalette.css"); diff --git a/includes/js/dijit/themes/nihilo/nihilo_rtl.css b/includes/js/dijit/themes/nihilo/nihilo_rtl.css deleted file mode 100644 index 134c52e..0000000 --- a/includes/js/dijit/themes/nihilo/nihilo_rtl.css +++ /dev/null @@ -1,317 +0,0 @@ - -.dj_gecko .dijitRtl .dijitInputField { - direction: ltr; -} -.dj_gecko .dijitRtl .dijitInputField * { - direction: rtl; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpando, .dijitRtl .dijitTreeContainer .dijitTreeExpand { - float:right; -} -.dijitRtl .dijitExpandoText { - float: right; - padding-left: 3px; - padding-right: 0; -} -.dijitRtl .dijitComboBox .dijitInputField { - border-right-width:1px !important; - border-left-width:0 !important; -} -.dijitRtl .dijitCalendarNextYear { - margin:0 0.55em 0 0; -} -.dijitRtl .dijitCalendarPreviousYear { - margin:0 0 0 0.55em; -} -.dijitRtl .dijitProgressBarFull .dijitProgressBarLabel { - right:0; -} -.dijitRtl .dijitComboButton .dijitButtonContents { - border-right-width:1px !important; -} -.dijitRtl .dijitA11ySideArrow { - margin-left:1em; - margin-right:0; -} -.dijitRtl .dijitAccordionArrow, -.dijitRtl .dijitAccordionTitle .arrowTextUp, -.dijitRtl .dijitAccordionTitle .arrowTextDown { - float: left; -} -.dijitRtl .dijitSliderImageHandleV { - left:auto; - right:-6px; -} -.dj_ie .dijitRtl .dijitSliderImageHandleV { - right:-10px; -} -.dijitRtl .dijitSliderMoveableH { - right:auto; - left:0; -} -.dijitRtl .dijitRuleContainerV { - float:right; -} -.dj_gecko .dijitRtl .dijitRuleContainerV { - float:left; -} -.dj_ie .dijitRtl .dijitRuleContainerV { - text-align:right; -} -.dj_ie .dijitRtl .dijitRuleLabelV { - text-align:left; -} -.dj_ie .dijitRtl .dijitRuleLabelH { - zoom:1; -} -.dj_ie .dijitRtl .dijitSliderProgressBarH { - right:0; - left:auto; -} -.dj_gecko .dijitRtl .dijitSliderProgressBarH { - float:right; - right:0; - left:auto; -} -.dijitRtl .dijitTab { - float:right; -} -.dj_ie .dijitRtl .dijitTab, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv span { - position:static; - zoom:1; -} -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignLeft { - margin-left:1px !important; -} -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignRight { - margin-right:1px !important; -} -.dj_ie6 .dijitRtl .dijitTab { - - width:1px; -} -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignLeft { - - margin-left:1px !important; -} -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignRight { - - margin-right:1px !important; -} -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignLeft { - overflow-x:visible; - margin-left:2px !important; -} -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignRight { - overflow-x:visible; - margin-right:2px !important; -} -.dj_ie7 .dijitRtl .dijitTab .dijitTabInnerDiv { - float:left; -} -.dj_ie7 .dijitRtl .dijitTab .closeImage { - padding: 0 0 0 12px; -} -.dj_ie .dijitRtl .dijitAlignRight .dijitTab { - position:relative; -} -.dijitRtl .dijitTitlePane .dijitArrowNode { - float: left; -} -.dijitRtl .dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - right: auto; - left: 0; - border-width: 0 1px 0 0 !important; -} -.dijitRtl .dijitSpinnerButtonContainer { - float: left; -} -.dijitRtl .dijit_a11y .dijitSpinnerButtonContainer { - margin-left: none; - margin-right: 2px; -} -.dijitRtl DIV.dijitArrowButton, .dijitRtl .dijitValidationIcon, .dijitRtl .dijitValidationIconText { - float: left; -} -.dijitRtl .dijitContentPaneLoading, .dijitRtl .dijitContentPaneError { - background-position:right; - padding-right:25px; -} -.dijitRtl .dijitTab { - margin-right:0; - margin-left:3px; -} -.dijitRtl .dijitTab .dijitTabInnerDiv { - border-left:none; -} -.dijitRtl .dijitTab .dijitClosable { - padding: 0 10px 0 20px; -} -.dijitRtl .dijitTab .closeImage { - position:static; -} -.dj_gecko .dijitTab .closeImage { - position:relative; - float:none; - padding:0; -} -.dijitRtl .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; - background-position: -60px top; -} -.dj_ie .dijitRtl .dijitTab .dijitClosable .closeImage { - width:12px !important; -} -.dijitRtl .dijitAlignLeft .dijitTab, -.dijitRtl .dijitAlignRight .dijitTab { - margin-left:0px; -} -.dijitRtl .dijitAlignBottom .dijitTab { - margin-right:0; - margin-left:3px; -} -.dijitRtl .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitTabInnerDiv { - padding-left:10px; - padding-right:20px; -} -.dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:20px; - padding-right:10px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitClosable .closeImage { - left:auto; - right:3px; -} -.dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} -.dijitRtl .dijitAccordionArrow { - background-position: -30px top; -} -.dijitRtl .dijitSliderProgressBarH, -.dijitRtl .dijitSliderRemainingBarH, -.dijitRtl .dijitSliderLeftBumper, -.dijitRtl .dijitSliderRightBumper, -.dijitRtl .dijitSliderTopBumper { - background-position: top right; -} -.dijitRtl .dijitSliderProgressBarV, -.dijitRtl .dijitSliderRemainingBarV, -.dijitRtl .dijitSliderBottomBumper { - background-position: bottom right; -} -.dijitRtl .dijitSliderLeftBumper { - border-left-width: 0px; - border-right-width: 1px; -} -.dijitRtl .dijitSliderRightBumper { - border-left-width: 1px; - border-right-width: 0px; -} -.dijitRtl .dijitSliderIncrementIconH { - background-image:url(images/arrowLeft.png); -} -.dijitRtl .dijitSliderDecrementIconH { - background-image:url(images/arrowRight.png); -} -.dijitRtl .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} -.dijitRtl .dijitComboBox .dijitButtonNode, -.dijitRtl .dijitSpinner .dijitButtonNode { - - border-color: #8ba0bd; - border-left: 0px solid #8ba0bd; - border-right: 1px solid #8ba0bd; -} -.dijitRtl .dijitTreeContainer .dijitTreeNode { - background-image : url(images/treeI_rtl.gif); - background-position : top right; - margin-left: auto; - margin-right: 19px; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsRoot { - margin-left: auto; - margin-right: 0; - background-image: none; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsLast { - background-image: url(images/treeI_half_rtl.gif); -} -.dijitRtl .dijitTreeContainer .dijitTreeContent { - margin-left: auto; - margin-right: 18px; - padding-left: auto; - padding-right: 1px; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoOpened { - background: url(images/spriteTree_rtl.gif) no-repeat -18px top; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoClosed { - background-image: url(images/spriteTree_rtl.gif); -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoLeaf { - background: url(images/spriteTree_rtl.gif) no-repeat -36px top; -} -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} -.dj_ie6 .dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} -.dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} -.dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; - float: left; - right: auto; - left: 5px; -} -.dj_ie6 .dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; -} -.dj_ie .dijitRtl .dijitTooltipLeft { - margin-right: 0px; - margin-left: 13px; -} -.dj_ie .dijitRtl .dijitTooltipRight { - margin-left: 26px; - margin-right: -13px; -} -.dj_ie .dijitRtl .dijitTooltipDialog { - zoom:1 !important; -} -.dijitRtl .dijitMenuItem .dijitMenuItemIcon { - padding-left: 3px; - padding-right: 0px; -} -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url(images/arrowLeft.png); -} -.dj_ie6 .dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url(images/arrowLeft.gif); -} -.dijitRtl .dijitEditorIcon { - background-image: url(images/editor_rtl.gif); -} -.dijitRtl .dijitToolbar .dijitToolbarSeparator { - background-image: url(images/editor_rtl.gif); -} diff --git a/includes/js/dijit/themes/nihilo/nihilo_rtl.css.commented.css b/includes/js/dijit/themes/nihilo/nihilo_rtl.css.commented.css deleted file mode 100644 index 0984f57..0000000 --- a/includes/js/dijit/themes/nihilo/nihilo_rtl.css.commented.css +++ /dev/null @@ -1,28 +0,0 @@ -/* - Adds cosmetic styling to Dijit. Users may swap with a custom theme CSS file. - - NOTES: - --- - Dialog.css contains css classes for both Dialog and Tooltip! - This because currently a dijit.TooltipDialog exist. Until this is resolved - you need to include Dialog.css for both dijits - --- - Toolbar.css contains classes also used in Editor. Until this is resolved - you need to include Toolbar.css for both Toolbar and Editor - --- - Button.css contains classes for combobox, - -*/ - -@import url("../dijit_rtl.css"); -@import url("layout/TabContainer_rtl.css"); -@import url("layout/AccordionContainer_rtl.css"); -@import url("form/Slider_rtl.css"); -@import url("form/Button_rtl.css"); -@import url("form/Common_rtl.css"); -@import url("Tree_rtl.css"); -@import url("TitlePane_rtl.css"); -@import url("Calendar_rtl.css"); -@import url("Dialog_rtl.css"); -@import url("Menu_rtl.css"); -@import url("Editor_rtl.css"); diff --git a/includes/js/dijit/themes/soria/Calendar.css b/includes/js/dijit/themes/soria/Calendar.css deleted file mode 100644 index 5537b8e..0000000 --- a/includes/js/dijit/themes/soria/Calendar.css +++ /dev/null @@ -1,136 +0,0 @@ - - -.soria .dijitCalendarIncrementControl { - - width:15px; - height:15px; -} -.dj_ie6 .soria .dijitCalendarIncrementControl { - padding:.1em; - font-size:.1em; -} -.soria .dijitCalendarIncreaseInner, -.soria .dijitCalendarDecreaseInner { - visibility:hidden; -} -.soria .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.png") no-repeat top left; -} -.dj_ie6 .soria .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat top left; -} -.soria .dijitCalendarIncrease { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -30px top; -} -.dj_ie6 .soria .dijitCalendarIncrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat -30px top; -} -.soria table.dijitCalendarContainer { - font-size: 100%; - border-spacing: 0; - border-collapse: separate; - border: 1px solid #b1badf; - margin: 0; -} -.soria .dijitCalendarMonthContainer th { - - background:#bed7f0 url("images/titleBar.png") repeat-x top; - padding-top:.3em; - padding-bottom:.2em; - text-align:center; -} -.dj_ie6 .soria .dijitCalendarMonthContainer th { - padding-top:.1em; - padding-bottom:0em; -} -.soria .dijitCalendarDayLabelTemplate { - - background:#bed7f0; - font-weight:normal; - padding-top:.15em; - padding-bottom:.2em; - border-bottom: 1px solid #b1badf; - color:#293a4b; - text-align:center; -} -.soria .dijitCalendarBodyContainer { - border-bottom: 1px solid #eeeeee; -} -.soria .dijitCalendarMonthLabel { - color:#293a4b; - font-weight: bold; -} -.dj_ie7 .soria .dijitCalendarDateTemplate, -.dj_ie6 .soria .dijitCalendarDateTemplate { - font-size: 0.8em; -} -.soria .dijitCalendarDateTemplate { - - font-size: 0.9em; - font-weight: bold; - text-align: center; - padding: 0.3em 0.3em 0.1em 0.3em; - letter-spacing: 1px; - background-color: #fff; - border:#fff solid 1px !important; -} -.soria .dijitCalendarPreviousMonth, -.soria .dijitCalendarNextMonth { - - color:#999999; - background-color:#fdfdfd !important; - border:#fdfdfd solid 1px !important; -} -.soria .dijitCalendarPreviousMonthDisabled, -.soria .dijitCalendarNextMonthDisabled { - - background-color:#a4a5a6 !important; -} -.soria .dijitCalendarCurrentMonth { - -} -.soria .dijitCalendarCurrentMonthDisabled { - - background-color:#bbbbbc !important; -} -.soria .dijitCalendarDisabledDate { - - - text-decoration:line-through !important; - cursor:default !important; -} -.soria .dijitCalendarCurrentDate { - - text-decoration:underline; - font-weight:bold; -} -.soria .dijitCalendarSelectedDate { - - background-color:#b9cbf1 !important; - color:black !important; - border:#4b5aaa solid 1px !important; -} -.soria .dijitCalendarYearContainer { - - background:white url("images/titleBar.png") repeat-x top; -} -.soria .dijitCalendarYearLabel { - - margin:0; - padding:0.4em 0 0.25em 0; - text-align:center; -} -.soria .dijitCalendarSelectedYear { - - color:black; - padding:0.2em; - padding-bottom:0.1em; - background-color:#b9cbf1 !important; - border:#4b5aaa solid 1px !important; -} -.soria .dijitCalendarNextYear, -.soria .dijitCalendarPreviousYear { - - color:black !important; - font-weight:normal; -} diff --git a/includes/js/dijit/themes/soria/Calendar.css.commented.css b/includes/js/dijit/themes/soria/Calendar.css.commented.css deleted file mode 100644 index 7a9c05f..0000000 --- a/includes/js/dijit/themes/soria/Calendar.css.commented.css +++ /dev/null @@ -1,159 +0,0 @@ -/* Calendar*/ - -.soria .dijitCalendarIncrementControl { - /* next/prev month buttons */ - width:15px; - height:15px; -} -.dj_ie6 .soria .dijitCalendarIncrementControl { - padding:.1em; - font-size:.1em; -} - -.soria .dijitCalendarIncreaseInner, -.soria .dijitCalendarDecreaseInner { - visibility:hidden; -} - -.soria .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.png") no-repeat top left; -} -.dj_ie6 .soria .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat top left; -} - -.soria .dijitCalendarIncrease { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -30px top; -} -.dj_ie6 .soria .dijitCalendarIncrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat -30px top; -} - -.soria table.dijitCalendarContainer { - font-size: 100%; - border-spacing: 0; - border-collapse: separate; - border: 1px solid #b1badf; - margin: 0; -} - -.soria .dijitCalendarMonthContainer th { - /* month header cell */ - background:#bed7f0 url("images/titleBar.png") repeat-x top; - padding-top:.3em; - padding-bottom:.2em; - text-align:center; -} -.dj_ie6 .soria .dijitCalendarMonthContainer th { - padding-top:.1em; - padding-bottom:0em; -} - -.soria .dijitCalendarDayLabelTemplate { - /* day of week labels */ - background:#bed7f0; - font-weight:normal; - padding-top:.15em; - padding-bottom:.2em; - border-bottom: 1px solid #b1badf; - color:#293a4b; - text-align:center; -} - -.soria .dijitCalendarBodyContainer { - border-bottom: 1px solid #eeeeee; -} - -.soria .dijitCalendarMonthLabel { - color:#293a4b; - font-weight: bold; -} - -.dj_ie7 .soria .dijitCalendarDateTemplate, -.dj_ie6 .soria .dijitCalendarDateTemplate { - font-size: 0.8em; -} - -.soria .dijitCalendarDateTemplate { - /* style for each day cell */ - font-size: 0.9em; - font-weight: bold; - text-align: center; - padding: 0.3em 0.3em 0.1em 0.3em; - letter-spacing: 1px; - background-color: #fff; - border:#fff solid 1px !important; -} - - -.soria .dijitCalendarPreviousMonth, -.soria .dijitCalendarNextMonth { - /* days that are part of the previous or next month */ - color:#999999; - background-color:#fdfdfd !important; - border:#fdfdfd solid 1px !important; -} - -.soria .dijitCalendarPreviousMonthDisabled, -.soria .dijitCalendarNextMonthDisabled { - /* days that are part of the previous or next month - disabled*/ - background-color:#a4a5a6 !important; -} - -.soria .dijitCalendarCurrentMonth { - /* days that are part of this month */ -} - -.soria .dijitCalendarCurrentMonthDisabled { - /* days that are part of this month - disabled */ - background-color:#bbbbbc !important; -} - -.soria .dijitCalendarDisabledDate { - /* one or the other? */ - /* background: url(images/noX.gif) no-repeat center center !important; */ - text-decoration:line-through !important; - cursor:default !important; -} - -.soria .dijitCalendarCurrentDate { - /* cell for today's date */ - text-decoration:underline; - font-weight:bold; -} - -.soria .dijitCalendarSelectedDate { - /* cell for the selected date */ - background-color:#b9cbf1 !important; - color:black !important; - border:#4b5aaa solid 1px !important; -} - - -.soria .dijitCalendarYearContainer { - /* footer of the table that contains the year display/selector */ - background:white url("images/titleBar.png") repeat-x top; -} - -.soria .dijitCalendarYearLabel { - /* container for all of 3 year labels */ - margin:0; - padding:0.4em 0 0.25em 0; - text-align:center; -} - -.soria .dijitCalendarSelectedYear { - /* label for selected year */ - color:black; - padding:0.2em; - padding-bottom:0.1em; - background-color:#b9cbf1 !important; - border:#4b5aaa solid 1px !important; -} - -.soria .dijitCalendarNextYear, -.soria .dijitCalendarPreviousYear { - /* label for next/prev years */ - color:black !important; - font-weight:normal; -} diff --git a/includes/js/dijit/themes/soria/Calendar_rtl.css b/includes/js/dijit/themes/soria/Calendar_rtl.css deleted file mode 100644 index e64cdf2..0000000 --- a/includes/js/dijit/themes/soria/Calendar_rtl.css +++ /dev/null @@ -1,13 +0,0 @@ - -.dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} -.dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/soria/Calendar_rtl.css.commented.css b/includes/js/dijit/themes/soria/Calendar_rtl.css.commented.css deleted file mode 100644 index 84146f8..0000000 --- a/includes/js/dijit/themes/soria/Calendar_rtl.css.commented.css +++ /dev/null @@ -1,16 +0,0 @@ - -/* Calendar */ - -.dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} - -.dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/soria/ColorPalette.css b/includes/js/dijit/themes/soria/ColorPalette.css deleted file mode 100644 index 5a51275..0000000 --- a/includes/js/dijit/themes/soria/ColorPalette.css +++ /dev/null @@ -1,5 +0,0 @@ -.dijitColorPalette { - border:1px solid #cbcbcb; - background:#fff; - -moz-border-radius: 0px !important; -} diff --git a/includes/js/dijit/themes/soria/ColorPalette.css.commented.css b/includes/js/dijit/themes/soria/ColorPalette.css.commented.css deleted file mode 100644 index 5a51275..0000000 --- a/includes/js/dijit/themes/soria/ColorPalette.css.commented.css +++ /dev/null @@ -1,5 +0,0 @@ -.dijitColorPalette { - border:1px solid #cbcbcb; - background:#fff; - -moz-border-radius: 0px !important; -} diff --git a/includes/js/dijit/themes/soria/Common.css b/includes/js/dijit/themes/soria/Common.css deleted file mode 100644 index 89fab27..0000000 --- a/includes/js/dijit/themes/soria/Common.css +++ /dev/null @@ -1,29 +0,0 @@ - -.soria .dijitSliderDisabled *, -.soria .dijitDisabledClickableRegion, -.soria .dijitSpinnerDisabled *, -.soria .dijitButtonDisabled *, -.soria .dijitDropDownButtonDisabled *, -.soria .dijitComboButtonDisabled *, -.soria .dijitComboBoxDisabled * -{ - cursor: not-allowed !important; -} -.soria .dojoDndItemBefore { - border-top: 2px solid #369; -} -.soria .dojoDndItemAfter { - border-bottom: 2px solid #369; -} -.soria .dojoDndItemOver { - cursor:pointer; -} -.soria table.dojoDndAvatar { -moz-border-radius: 0; border: 1px solid #ccc; border-collapse: collapse; background-color: #fff; font-size: 75%; color: black;} -.soria .dojoDndAvatar td { border: none; } -.soria .dojoDndAvatar tr { border: none; } -.soria .dojoDndAvatarHeader td { height: 20px; padding: 0 0 0 21px; } -.soria .dojoDndAvatarItem td { padding: 2px;} -.soria.dojoDndMove .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoMove.png); background-repeat: no-repeat; background-position: 2px center;} -.soria.dojoDndCopy .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoCopy.png); background-repeat: no-repeat; background-position: 2px center;} -.soria.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndMove.png); background-repeat: no-repeat; background-position: 2px center;} -.soria.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndCopy.png); background-repeat: no-repeat; background-position: 2px center;} diff --git a/includes/js/dijit/themes/soria/Common.css.commented.css b/includes/js/dijit/themes/soria/Common.css.commented.css deleted file mode 100644 index 6a9febf..0000000 --- a/includes/js/dijit/themes/soria/Common.css.commented.css +++ /dev/null @@ -1,36 +0,0 @@ - -/**** Disabled cursor *****/ -.soria .dijitSliderDisabled *, -.soria .dijitDisabledClickableRegion, /* a region the user would be able to click on, but it's disabled */ -.soria .dijitSpinnerDisabled *, -.soria .dijitButtonDisabled *, -.soria .dijitDropDownButtonDisabled *, -.soria .dijitComboButtonDisabled *, -.soria .dijitComboBoxDisabled * -{ - cursor: not-allowed !important; -} - -/* DnD avatar-specific settings */ -/* For now it uses a default set of rules. Some other DnD classes can be modified as well. */ -.soria .dojoDndItemBefore { - border-top: 2px solid #369; -} - -.soria .dojoDndItemAfter { - border-bottom: 2px solid #369; -} - -.soria .dojoDndItemOver { - cursor:pointer; -} - -.soria table.dojoDndAvatar { -moz-border-radius: 0; border: 1px solid #ccc; border-collapse: collapse; background-color: #fff; font-size: 75%; color: black;} -.soria .dojoDndAvatar td { border: none; } -.soria .dojoDndAvatar tr { border: none; } -.soria .dojoDndAvatarHeader td { height: 20px; padding: 0 0 0 21px; } -.soria .dojoDndAvatarItem td { padding: 2px;} -.soria.dojoDndMove .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoMove.png); background-repeat: no-repeat; background-position: 2px center;} -.soria.dojoDndCopy .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoCopy.png); background-repeat: no-repeat; background-position: 2px center;} -.soria.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndMove.png); background-repeat: no-repeat; background-position: 2px center;} -.soria.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndCopy.png); background-repeat: no-repeat; background-position: 2px center;} diff --git a/includes/js/dijit/themes/soria/Dialog.css b/includes/js/dijit/themes/soria/Dialog.css deleted file mode 100644 index a4a695d..0000000 --- a/includes/js/dijit/themes/soria/Dialog.css +++ /dev/null @@ -1,138 +0,0 @@ - -.soria .dijitDialog { - background: #eee; - border: 1px solid #cbcbcb; - -webkit-box-shadow: 0px 5px 10px #adadad; - padding: 0px; -} -.soria .dijitDialog .dijitDialogTitle { - border-top: none; - border-left: none; - border-right: none; - font-size: 0.9em; - color: #3243C5F; -} -.soria .dijitDialog .dijitDialogPaneContent { - background: #ffffff; - border:none; - border-top: 1px solid #b1badf; - padding:10px; -} -.soria .dijitDialogTitleBar { - - background: #fafafa url("images/titleBar.png") repeat-x top left; - - padding: 5px 6px 3px 2px; - cursor: move; - outline:0; -} -.soria .dijitDialogTitle { - - font-weight: bold; - padding: 8px 12px 8px 12px; - outline:0; -} -.soria .dijitDialogCloseIcon { - - background : url("images/spriteRoundedIconsSmallBl.png") no-repeat right top; - float: right; - position: absolute; - vertical-align: middle; - right: 6px; - top: 4px; - height: 15px; - width: 15px; - cursor: pointer; -} -.dj_ie6 .soria .dijitDialogCloseIcon { - background : url("images/spriteRoundedIconsSmallBl.gif") no-repeat right top; -} -.soria .dijitDialogContent { - - padding: 8px; -} -.soria .dijitTooltip, -.soria .dijitTooltipDialog { - - opacity: 0.95; - background: transparent; -} -.dijitTooltipBelow { - - padding-top: 10px; -} -.dijitTooltipAbove { - - padding-bottom: 10px; -} -.soria .dijitTooltipContainer { - - background-color: #fff; - border:1px solid #cbcbcb; - padding:0.45em; - -} -.soria .dijitTooltipConnector { - - border:0px; - z-index: 2; -} -.soria .dijitTooltipABRight .dijitTooltipConnector { - - left: auto !important; - right: 6px; -} -.soria .dijitTooltipBelow .dijitTooltipConnector { - - top: 0px; - left: 6px; - background:url("images/tooltipConnectorUp.png") no-repeat top left; - width:17px; - height:11px; -} -.dj_ie6 .soria .dijitTooltipBelow .dijitTooltipConnector { - background-image: url("images/tooltipConnectorUp.gif"); -} -.soria .dijitTooltipAbove .dijitTooltipConnector { - - bottom: 0px; - left: 6px; - background:url("images/tooltipConnectorDown.png") no-repeat top left; - width:17px; - height:11px; -} -.dj_ie6 .soria .dijitTooltipAbove .dijitTooltipConnector { - background-image: url("images/tooltipConnectorDown.gif"); - bottom: -5px; -} -.soria .dijitTooltipLeft { - padding-right: 10px; -} -.dj_ie6 .soria .dijitTooltipLeft { - padding-left: 11px; -} -.soria .dijitTooltipLeft .dijitTooltipConnector { - - right: 0px; - bottom: 7px; - background:url("images/tooltipConnectorRight.png") no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .soria .dijitTooltipLeft .dijitTooltipConnector { - background-image: url("images/tooltipConnectorRight.gif"); -} -.soria .dijitTooltipRight { - padding-left: 10px; -} -.soria .dijitTooltipRight .dijitTooltipConnector { - - left: 0px; - bottom: 7px; - background:url("images/tooltipConnectorLeft.png") no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .soria .dijitTooltipRight .dijitTooltipConnector { - background-image: url("images/tooltipConnectorLeft.gif"); -} diff --git a/includes/js/dijit/themes/soria/Dialog.css.commented.css b/includes/js/dijit/themes/soria/Dialog.css.commented.css deleted file mode 100644 index ed48613..0000000 --- a/includes/js/dijit/themes/soria/Dialog.css.commented.css +++ /dev/null @@ -1,175 +0,0 @@ - -/* Dialog */ - -.soria .dijitDialog { - background: #eee; - border: 1px solid #cbcbcb; - -webkit-box-shadow: 0px 5px 10px #adadad; - padding: 0px; -} - -.soria .dijitDialog .dijitDialogTitle { - border-top: none; - border-left: none; - border-right: none; - font-size: 0.9em; - color: #3243C5F; -} - -.soria .dijitDialog .dijitDialogPaneContent { - background: #ffffff; - border:none; - border-top: 1px solid #b1badf; /* #cddde9; /* w/out this, an

          on the top line causes a gap between the .content and .label */ - padding:10px; - -} - -.soria .dijitDialogTitleBar { - /* outer container for the titlebar of the dialog */ - background: #fafafa url("images/titleBar.png") repeat-x top left; - /* border: 1px solid #bfbfbf; */ - padding: 5px 6px 3px 2px; - cursor: move; - outline:0; /* remove this line if keyboard focus on dialog startup is an issue. tab still takes you to first focusable element */ -} - -.soria .dijitDialogTitle { - /* typography and styling of the dialog title */ - font-weight: bold; - padding: 8px 12px 8px 12px; - outline:0; -} - -.soria .dijitDialogCloseIcon { - /* the default close icon for the dialog */ - background : url("images/spriteRoundedIconsSmallBl.png") no-repeat right top; - float: right; - position: absolute; - vertical-align: middle; - right: 6px; - top: 4px; - height: 15px; - width: 15px; - cursor: pointer; -} -.dj_ie6 .soria .dijitDialogCloseIcon { - background : url("images/spriteRoundedIconsSmallBl.gif") no-repeat right top; -} - -.soria .dijitDialogContent { - /* the body of the dialog */ - padding: 8px; -} - - -/* Tooltip and TooltipDialog */ - -.soria .dijitTooltip, -.soria .dijitTooltipDialog { - /* the outermost dom node, holding the connector and container */ - opacity: 0.95; - background: transparent; /* make the area on the sides of the arrow transparent */ -} - -.dijitTooltipBelow { - /* leave room for arrow above content */ - padding-top: 10px; -} - -.dijitTooltipAbove { - /* leave room for arrow below content */ - padding-bottom: 10px; -} - -.soria .dijitTooltipContainer { - /* - The part with the text. - - NOTE: - FF doesn't clip images used as CSS bgs if you specify a border - radius. If you use a solid color, it does. Webkit gets it right. - Sigh. - background: #ffffff url("images/popupMenuBg.gif") repeat-x bottom left; - */ - background-color: #fff; - border:1px solid #cbcbcb; - padding:0.45em; - /* - border-radius: 6px; - -moz-border-radius: 7px; - -webkit-border-radius: 6px; - */ -} - -.soria .dijitTooltipConnector { - /* the arrow piece */ - border:0px; - z-index: 2; -} - -.soria .dijitTooltipABRight .dijitTooltipConnector { - /* above or below tooltip, but the arrow appears on the right, - and the right edges of target and tooltip are aligned rather than the left */ - left: auto !important; - right: 6px; -} - -.soria .dijitTooltipBelow .dijitTooltipConnector { - /* the arrow piece for tooltips below an element */ - top: 0px; - left: 6px; - background:url("images/tooltipConnectorUp.png") no-repeat top left; - width:17px; - height:11px; -} - -.dj_ie6 .soria .dijitTooltipBelow .dijitTooltipConnector { - background-image: url("images/tooltipConnectorUp.gif"); -} - -.soria .dijitTooltipAbove .dijitTooltipConnector { - /* the arrow piece for tooltips above an element */ - bottom: 0px; - left: 6px; - background:url("images/tooltipConnectorDown.png") no-repeat top left; - width:17px; - height:11px; -} -.dj_ie6 .soria .dijitTooltipAbove .dijitTooltipConnector { - background-image: url("images/tooltipConnectorDown.gif"); - bottom: -5px; -} - -.soria .dijitTooltipLeft { - padding-right: 10px; -} -.dj_ie6 .soria .dijitTooltipLeft { - padding-left: 11px; -} -.soria .dijitTooltipLeft .dijitTooltipConnector { - /* the arrow piece for tooltips to the left of an element, bottom borders aligned */ - right: 0px; - bottom: 7px; - background:url("images/tooltipConnectorRight.png") no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .soria .dijitTooltipLeft .dijitTooltipConnector { - background-image: url("images/tooltipConnectorRight.gif"); -} - -.soria .dijitTooltipRight { - padding-left: 10px; -} -.soria .dijitTooltipRight .dijitTooltipConnector { - /* the arrow piece for tooltips to the right of an element, bottom borders aligned */ - left: 0px; - bottom: 7px; - background:url("images/tooltipConnectorLeft.png") no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .soria .dijitTooltipRight .dijitTooltipConnector { - background-image: url("images/tooltipConnectorLeft.gif"); -} - diff --git a/includes/js/dijit/themes/soria/Dialog_rtl.css b/includes/js/dijit/themes/soria/Dialog_rtl.css deleted file mode 100644 index 2f29eda..0000000 --- a/includes/js/dijit/themes/soria/Dialog_rtl.css +++ /dev/null @@ -1,21 +0,0 @@ - -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; - float: left; - right: auto; - left: 5px; -} -.dj_ie6 .dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; -} -.dj_ie .dijitRtl .dijitTooltipLeft { - margin-right: 0px; - margin-left: 13px; -} -.dj_ie .dijitRtl .dijitTooltipRight { - margin-left: 26px; - margin-right: -13px; -} -.dj_ie .dijitRtl .dijitTooltipDialog { - zoom:1 !important; -} diff --git a/includes/js/dijit/themes/soria/Dialog_rtl.css.commented.css b/includes/js/dijit/themes/soria/Dialog_rtl.css.commented.css deleted file mode 100644 index 74b193a..0000000 --- a/includes/js/dijit/themes/soria/Dialog_rtl.css.commented.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Dialog */ -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; - float: left; - right: auto; - left: 5px; -} - -/*FIXME: redundant?*/ -.dj_ie6 .dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; -} - - -/* ToolTip */ - -.dj_ie .dijitRtl .dijitTooltipLeft { - margin-right: 0px; - margin-left: 13px; -} - -.dj_ie .dijitRtl .dijitTooltipRight { - margin-left: 26px; - margin-right: -13px; -} - -.dj_ie .dijitRtl .dijitTooltipDialog { - zoom:1 !important; -} diff --git a/includes/js/dijit/themes/soria/Editor.css b/includes/js/dijit/themes/soria/Editor.css deleted file mode 100644 index c7f0ef4..0000000 --- a/includes/js/dijit/themes/soria/Editor.css +++ /dev/null @@ -1,55 +0,0 @@ -.dijitIEFixedToolbar { - position:absolute; - - top: expression(eval((document.documentElement||document.body).scrollTop)); -} -.soria .dijitToolbar .dijitToolbarSeparator { - background: url('images/editor.gif'); -} -.soria .dijitEditorIcon { - background-image: url('images/editor.gif'); - background-repeat: no-repeat; - width: 18px; - height: 18px; - text-align: center; -} -.soria .dijitEditorIconSep { background-position: 0px; } -.soria .dijitEditorIconBackColor { background-position: -18px; } -.soria .dijitEditorIconBold { background-position: -36px; } -.soria .dijitEditorIconCancel { background-position: -54px; } -.soria .dijitEditorIconCopy { background-position: -72px; } -.soria .dijitEditorIconCreateLink { background-position: -90px; } -.soria .dijitEditorIconCut { background-position: -108px; } -.soria .dijitEditorIconDelete { background-position: -126px; } -.soria .dijitEditorIconForeColor { background-position: -144px; } -.soria .dijitEditorIconHiliteColor { background-position: -162px; } -.soria .dijitEditorIconIndent { background-position: -180px; } -.soria .dijitEditorIconInsertHorizontalRule { background-position: -198px; } -.soria .dijitEditorIconInsertImage { background-position: -216px; } -.soria .dijitEditorIconInsertOrderedList { background-position: -234px; } -.soria .dijitEditorIconInsertTable { background-position: -252px; } -.soria .dijitEditorIconInsertUnorderedList { background-position: -270px; } -.soria .dijitEditorIconItalic { background-position: -288px; } -.soria .dijitEditorIconJustifyCenter { background-position: -306px; } -.soria .dijitEditorIconJustifyFull { background-position: -324px; } -.soria .dijitEditorIconJustifyLeft { background-position: -342px; } -.soria .dijitEditorIconJustifyRight { background-position: -360px; } -.soria .dijitEditorIconLeftToRight { background-position: -378px; } -.soria .dijitEditorIconListBulletIndent { background-position: -396px; } -.soria .dijitEditorIconListBulletOutdent { background-position: -414px; } -.soria .dijitEditorIconListNumIndent { background-position: -432px; } -.soria .dijitEditorIconListNumOutdent { background-position: -450px; } -.soria .dijitEditorIconOutdent { background-position: -468px; } -.soria .dijitEditorIconPaste { background-position: -486px; } -.soria .dijitEditorIconRedo { background-position: -504px; } -.soria .dijitEditorIconRemoveFormat { background-position: -522px; } -.soria .dijitEditorIconRightToLeft { background-position: -540px; } -.soria .dijitEditorIconSave { background-position: -558px; } -.soria .dijitEditorIconSpace { background-position: -576px; } -.soria .dijitEditorIconStrikethrough { background-position: -594px; } -.soria .dijitEditorIconSubscript { background-position: -612px; } -.soria .dijitEditorIconSuperscript { background-position: -630px; } -.soria .dijitEditorIconUnderline { background-position: -648px; } -.soria .dijitEditorIconUndo { background-position: -666px; } -.soria .dijitEditorIconWikiword { background-position: -684px; } -.soria .dijitEditorIconToggleDir { background-position: -540px; } diff --git a/includes/js/dijit/themes/soria/Editor.css.commented.css b/includes/js/dijit/themes/soria/Editor.css.commented.css deleted file mode 100644 index cddbf00..0000000 --- a/includes/js/dijit/themes/soria/Editor.css.commented.css +++ /dev/null @@ -1,60 +0,0 @@ -.dijitIEFixedToolbar { - position:absolute; - /* top:0; */ - top: expression(eval((document.documentElement||document.body).scrollTop)); -} - -.soria .dijitToolbar .dijitToolbarSeparator { - background: url('images/editor.gif'); -} - -/**** ICONS *****/ - -.soria .dijitEditorIcon { - background-image: url('images/editor.gif'); /* editor icons sprite image */ - background-repeat: no-repeat; - width: 18px; - height: 18px; - text-align: center; -} -.soria .dijitEditorIconSep { background-position: 0px; } -.soria .dijitEditorIconBackColor { background-position: -18px; } -.soria .dijitEditorIconBold { background-position: -36px; } -.soria .dijitEditorIconCancel { background-position: -54px; } -.soria .dijitEditorIconCopy { background-position: -72px; } -.soria .dijitEditorIconCreateLink { background-position: -90px; } -.soria .dijitEditorIconCut { background-position: -108px; } -.soria .dijitEditorIconDelete { background-position: -126px; } -.soria .dijitEditorIconForeColor { background-position: -144px; } -.soria .dijitEditorIconHiliteColor { background-position: -162px; } -.soria .dijitEditorIconIndent { background-position: -180px; } -.soria .dijitEditorIconInsertHorizontalRule { background-position: -198px; } -.soria .dijitEditorIconInsertImage { background-position: -216px; } -.soria .dijitEditorIconInsertOrderedList { background-position: -234px; } -.soria .dijitEditorIconInsertTable { background-position: -252px; } -.soria .dijitEditorIconInsertUnorderedList { background-position: -270px; } -.soria .dijitEditorIconItalic { background-position: -288px; } -.soria .dijitEditorIconJustifyCenter { background-position: -306px; } -.soria .dijitEditorIconJustifyFull { background-position: -324px; } -.soria .dijitEditorIconJustifyLeft { background-position: -342px; } -.soria .dijitEditorIconJustifyRight { background-position: -360px; } -.soria .dijitEditorIconLeftToRight { background-position: -378px; } -.soria .dijitEditorIconListBulletIndent { background-position: -396px; } -.soria .dijitEditorIconListBulletOutdent { background-position: -414px; } -.soria .dijitEditorIconListNumIndent { background-position: -432px; } -.soria .dijitEditorIconListNumOutdent { background-position: -450px; } -.soria .dijitEditorIconOutdent { background-position: -468px; } -.soria .dijitEditorIconPaste { background-position: -486px; } -.soria .dijitEditorIconRedo { background-position: -504px; } -.soria .dijitEditorIconRemoveFormat { background-position: -522px; } -.soria .dijitEditorIconRightToLeft { background-position: -540px; } -.soria .dijitEditorIconSave { background-position: -558px; } -.soria .dijitEditorIconSpace { background-position: -576px; } -.soria .dijitEditorIconStrikethrough { background-position: -594px; } -.soria .dijitEditorIconSubscript { background-position: -612px; } -.soria .dijitEditorIconSuperscript { background-position: -630px; } -.soria .dijitEditorIconUnderline { background-position: -648px; } -.soria .dijitEditorIconUndo { background-position: -666px; } -.soria .dijitEditorIconWikiword { background-position: -684px; } -.soria .dijitEditorIconToggleDir { background-position: -540px; /* padding: 0; margin: 0; color:#555555; - font-family:verdana,arial,sans-serif; font-weight: 800; font-size: 70%; */} diff --git a/includes/js/dijit/themes/soria/Editor_rtl.css b/includes/js/dijit/themes/soria/Editor_rtl.css deleted file mode 100644 index 2e936ec..0000000 --- a/includes/js/dijit/themes/soria/Editor_rtl.css +++ /dev/null @@ -1,7 +0,0 @@ - -.dijitRtl .dijitEditorIcon { - background-image: url('images/editor_rtl.gif'); -} -.dijitRtl .dijitToolbar .dijitToolbarSeparator { - background-image: url('images/editor_rtl.gif'); -} diff --git a/includes/js/dijit/themes/soria/Editor_rtl.css.commented.css b/includes/js/dijit/themes/soria/Editor_rtl.css.commented.css deleted file mode 100644 index 2a2df3e..0000000 --- a/includes/js/dijit/themes/soria/Editor_rtl.css.commented.css +++ /dev/null @@ -1,9 +0,0 @@ -/* Editor */ -.dijitRtl .dijitEditorIcon { - background-image: url('images/editor_rtl.gif'); /* editor icons sprite image */ -} - -/* Toolbar */ -.dijitRtl .dijitToolbar .dijitToolbarSeparator { - background-image: url('images/editor_rtl.gif'); -} diff --git a/includes/js/dijit/themes/soria/Menu.css b/includes/js/dijit/themes/soria/Menu.css deleted file mode 100644 index 2df350a..0000000 --- a/includes/js/dijit/themes/soria/Menu.css +++ /dev/null @@ -1,54 +0,0 @@ - -.soria .dijitMenu { - border: 1px solid #cbcbcb; - margin: 0px; - padding: 0px; - background-color: #fff; -} -.soria .dijitMenuItem { - background-color: #fff; - font: menu; - margin: 0px; - color: #243C5F; -} -.soria .dijitMenuPreviousButton, .soria .dijitMenuNextButton { - font-style: italic; -} -.soria .dijitMenuItem TD { - padding:1px; -} -.soria .dijitMenuItemHover { - background-color: #d9e6f9; - color: #243C5F; -} -.soria .dijitMenuItemIcon { - width: 15px; - height: 15px; - -} -.soria .dijitMenuExpand { - display:none; -} -.soria .dijitMenuExpandEnabled { - - width:15px; - height:15px; - background:url('images/spriteRoundedIconsSmall.png') no-repeat -30px top; - display:block; -} -.dj_ie6 .soria .dijitMenuExpandEnabled { - background-image:url('images/spriteRoundedIconsSmall.gif'); -} -.soria .dijitMenuExpandInner { - display:none; -} -.soria .dijitMenuSeparator { - background-color: #fff; - height: 1px; -} -.soria .dijitMenuSeparatorTop { - border-bottom: 1px solid #fff; -} -.soria .dijitMenuSeparatorBottom { - border-top: 1px solid #8ba0bd; -} diff --git a/includes/js/dijit/themes/soria/Menu.css.commented.css b/includes/js/dijit/themes/soria/Menu.css.commented.css deleted file mode 100644 index e5de907..0000000 --- a/includes/js/dijit/themes/soria/Menu.css.commented.css +++ /dev/null @@ -1,63 +0,0 @@ - -/* Menu */ -.soria .dijitMenu { - border: 1px solid #cbcbcb; - margin: 0px; - padding: 0px; - background-color: #fff; -} - -.soria .dijitMenuItem { - background-color: #fff; - font: menu; - margin: 0px; - color: #243C5F; -} -.soria .dijitMenuPreviousButton, .soria .dijitMenuNextButton { - font-style: italic; -} -.soria .dijitMenuItem TD { - padding:1px; -} - -.soria .dijitMenuItemHover { - background-color: #d9e6f9; /* #95a0b0; #555555; #aaaaaa; #646464; #60a1ea; #848484; */ - color: #243C5F; -} - -.soria .dijitMenuItemIcon { - width: 15px; - height: 15px; - /* padding-right: 3px; */ -} - -.soria .dijitMenuExpand { - display:none; -} -.soria .dijitMenuExpandEnabled { - /* margin-top:4px; */ - width:15px; - height:15px; - background:url('images/spriteRoundedIconsSmall.png') no-repeat -30px top; - display:block; -} -.dj_ie6 .soria .dijitMenuExpandEnabled { - background-image:url('images/spriteRoundedIconsSmall.gif'); -} -.soria .dijitMenuExpandInner { - display:none; -} - -.soria .dijitMenuSeparator { - background-color: #fff; - height: 1px; -} - -/* separator can be two pixels -- set border of either one to 0px to have only one */ -.soria .dijitMenuSeparatorTop { - border-bottom: 1px solid #fff; /*97adcb; */ -} - -.soria .dijitMenuSeparatorBottom { - border-top: 1px solid #8ba0bd; -} diff --git a/includes/js/dijit/themes/soria/Menu_rtl.css b/includes/js/dijit/themes/soria/Menu_rtl.css deleted file mode 100644 index 8b751fd..0000000 --- a/includes/js/dijit/themes/soria/Menu_rtl.css +++ /dev/null @@ -1,11 +0,0 @@ - -.dijitRtl .dijitMenuItem .dijitMenuItemIcon { - padding-left: 3px; - padding-right: 0px; -} -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url('images/arrowLeft.png'); -} -.dj_ie6 .dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url('images/arrowLeft.gif'); -} diff --git a/includes/js/dijit/themes/soria/Menu_rtl.css.commented.css b/includes/js/dijit/themes/soria/Menu_rtl.css.commented.css deleted file mode 100644 index ac66852..0000000 --- a/includes/js/dijit/themes/soria/Menu_rtl.css.commented.css +++ /dev/null @@ -1,15 +0,0 @@ - -/* Menu */ - -.dijitRtl .dijitMenuItem .dijitMenuItemIcon { - padding-left: 3px; - padding-right: 0px; -} - -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url('images/arrowLeft.png'); -} - -.dj_ie6 .dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url('images/arrowLeft.gif'); -} diff --git a/includes/js/dijit/themes/soria/ProgressBar.css b/includes/js/dijit/themes/soria/ProgressBar.css deleted file mode 100644 index 566d048..0000000 --- a/includes/js/dijit/themes/soria/ProgressBar.css +++ /dev/null @@ -1,24 +0,0 @@ - -.soria .dijitProgressBar { - margin:2px 0px 2px 0px; -} -.soria .dijitProgressBarEmpty{ - - background:#fff url("images/progressBarEmpty.png") repeat-x center center; - border-color: #8ba0bd; -} -.soria .dijitProgressBarTile{ - - background:#f0f0f0 url("images/progressBarFull.png") repeat-x center center; -} -.soria .dijitProgressBarFull { - border-right:1px solid #8ba0bd; -} -.soria .dijitProgressBarLabel { - - color:#293a4b; -} -.soria .dijitProgressBarIndeterminate .dijitProgressBarTile { - - background:#cad2de url("images/progressBarAnim.gif") repeat-x center center; -} diff --git a/includes/js/dijit/themes/soria/ProgressBar.css.commented.css b/includes/js/dijit/themes/soria/ProgressBar.css.commented.css deleted file mode 100644 index f371936..0000000 --- a/includes/js/dijit/themes/soria/ProgressBar.css.commented.css +++ /dev/null @@ -1,33 +0,0 @@ - -/**** - dijit.ProgressBar - ****/ - -.soria .dijitProgressBar { - margin:2px 0px 2px 0px; -} - -.soria .dijitProgressBarEmpty{ - /* outer container and background of the bar that's not finished yet*/ - background:#fff url("images/progressBarEmpty.png") repeat-x center center; - border-color: #8ba0bd; -} - -.soria .dijitProgressBarTile{ - /* inner container for finished portion when in 'tile' (image) mode */ - background:#f0f0f0 url("images/progressBarFull.png") repeat-x center center; -} - -.soria .dijitProgressBarFull { - border-right:1px solid #8ba0bd; -} - -.soria .dijitProgressBarLabel { - /* Set to a color that contrasts with both the "Empty" and "Full" parts. */ - color:#293a4b; -} - -.soria .dijitProgressBarIndeterminate .dijitProgressBarTile { - /* use an animated gif for the progress bar in 'indeterminate' mode */ - background:#cad2de url("images/progressBarAnim.gif") repeat-x center center; -} diff --git a/includes/js/dijit/themes/soria/TitlePane.css b/includes/js/dijit/themes/soria/TitlePane.css deleted file mode 100644 index c37e7e2..0000000 --- a/includes/js/dijit/themes/soria/TitlePane.css +++ /dev/null @@ -1,64 +0,0 @@ - - -.soria .dijitTitlePane .dijitTitlePaneTitle { - background: #cccccc; - background:#fff url("images/titleBar.png") repeat-x top left; - border:1px solid #bfbfbf; - padding:4px 4px 2px 4px; - cursor: pointer; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; -} -.soria .dijitTitlePane .dijitArrowNode { - width:15px; - height:15px; - float:right; - margin-top: -2px; -} -.soria .dijitTitlePaneFocused .dijitTitlePaneTextNode { - color: #243C5F; -} -.soria .dijitOpen .dijitTitlePaneTextNode { - color: #243C5F; -} -.soria .dijitTitlePane .dijitClosed .dijitArrowNode { - background: url('images/spriteRoundedIconsSmall.png') no-repeat top left; -} -.dj_ie6 .soria .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.gif') no-repeat top left; -} -.soria .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.png') no-repeat -15px top; -} -.dj_ie6 .soria .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.gif') no-repeat -15px top; -} -.soria .dijitTitlePane .dijitArrowNodeInner { - visibility:hidden; -} -.dijit_a11y .dijitTitlePane .dijitArrowNodeInner { - visibility:visible; -} -.soria .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - margin-right:5px; -} -.soria .dijitOpen .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - position:relative; - top:2px; -} -.soria .dijitTitlePaneContentOuter { - background: #ffffff; - border:1px solid #bfbfbf; - border-top: 0px solid #3d3d3d; -} -.soria .dijitTitlePaneContentInner { - padding:10px; -} -.dj_ie6 .soria .dijitTitlePaneContentOuter, -.dj_ie6 .soria .dijitTitlePane .dijitTitlePaneTitle { - zoom: 1; -} -.soria .dijitClickableRegion { - background-color : #ffc !important; -} diff --git a/includes/js/dijit/themes/soria/TitlePane.css.commented.css b/includes/js/dijit/themes/soria/TitlePane.css.commented.css deleted file mode 100644 index 62e43b3..0000000 --- a/includes/js/dijit/themes/soria/TitlePane.css.commented.css +++ /dev/null @@ -1,77 +0,0 @@ -/** - * dijit.layout.TitlePane - * - */ - -.soria .dijitTitlePane .dijitTitlePaneTitle { - background: #cccccc; - background:#fff url("images/titleBar.png") repeat-x top left; - border:1px solid #bfbfbf; - padding:4px 4px 2px 4px; - cursor: pointer; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; -} - -/* TODO: merge these, and all other icons to a series of background-image:() and background-position: -16*n px styles */ -.soria .dijitTitlePane .dijitArrowNode { - width:15px; - height:15px; - float:right; - margin-top: -2px; -} - -.soria .dijitTitlePaneFocused .dijitTitlePaneTextNode { - color: #243C5F; -} - - -.soria .dijitOpen .dijitTitlePaneTextNode { - color: #243C5F; -} - -.soria .dijitTitlePane .dijitClosed .dijitArrowNode { - background: url('images/spriteRoundedIconsSmall.png') no-repeat top left; -} -.dj_ie6 .soria .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.gif') no-repeat top left; -} -.soria .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.png') no-repeat -15px top; -} -.dj_ie6 .soria .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url('images/spriteRoundedIconsSmall.gif') no-repeat -15px top; -} -.soria .dijitTitlePane .dijitArrowNodeInner { - visibility:hidden; -} -.dijit_a11y .dijitTitlePane .dijitArrowNodeInner { - visibility:visible; -} - -.soria .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - margin-right:5px; -} - -.soria .dijitOpen .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - position:relative; - top:2px; -} - -.soria .dijitTitlePaneContentOuter { - background: #ffffff; - border:1px solid #bfbfbf; - border-top: 0px solid #3d3d3d; /* w/out this, an

          on the top line causes a gap between the .content and .label */ -} -.soria .dijitTitlePaneContentInner { - padding:10px; -} -/* force hasLayout to ensure borders etc, show up */ -.dj_ie6 .soria .dijitTitlePaneContentOuter, -.dj_ie6 .soria .dijitTitlePane .dijitTitlePaneTitle { - zoom: 1; -} -.soria .dijitClickableRegion { - background-color : #ffc !important; -} diff --git a/includes/js/dijit/themes/soria/TitlePane_rtl.css b/includes/js/dijit/themes/soria/TitlePane_rtl.css deleted file mode 100644 index 6a3b2cd..0000000 --- a/includes/js/dijit/themes/soria/TitlePane_rtl.css +++ /dev/null @@ -1,6 +0,0 @@ -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} -.dj_ie6 .dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/soria/TitlePane_rtl.css.commented.css b/includes/js/dijit/themes/soria/TitlePane_rtl.css.commented.css deleted file mode 100644 index 6a3b2cd..0000000 --- a/includes/js/dijit/themes/soria/TitlePane_rtl.css.commented.css +++ /dev/null @@ -1,6 +0,0 @@ -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} -.dj_ie6 .dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/soria/Toolbar.css b/includes/js/dijit/themes/soria/Toolbar.css deleted file mode 100644 index 58ae9c9..0000000 --- a/includes/js/dijit/themes/soria/Toolbar.css +++ /dev/null @@ -1,83 +0,0 @@ -.soria .dijitToolbar { - padding: 3px 0 1px 3px; - border-bottom: 1px solid #ccc; - background:#eaeaea url("images/titleBar.png") repeat-x top left; -} -.soria .dijitToolbar .dijitButtonNode { - background: none; - margin: 0px !important; - padding: 0px !important; - border: none; - font-size: 12px; -} -.soria .dijitToolbar .dijitButton, -.soria .dijitToolbar .dijitToggleButton, -.soria .dijitToolbar .dijitDropDownButton { - background: none; - margin: 1px; - padding: 0px; - border: 1px solid transparent; -} -.soria .dijitToolbar .dijitButtonChecked, -.soria .dijitToolbar .dijitToggleButtonChecked { - background-color:#d8e5f8; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} -.soria .dijitToolbar .dijitButtonCheckedHover, -.soria .dijitToolbar .dijitToggleButtonCheckedHover - { - background-color:#9abbea; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} -.soria .dijitToolbar .dijitButtonHover, -.soria .dijitToolbar .dijitToggleButtonHover, -.soria .dijitToolbar .dijitDropDownButtonHover { - - border: 1px solid #316ac5; - background-color:#9abbea; -} -.soria .dijitToolbar label { - padding: 3px 3px 0 6px; -} -.dj_ie .soria .dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ie .soria .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused, -.dj_ff2 .soria.dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .soria .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.dj_ie6 .soria .dijitToolbar .dijitButton, -.dj_ie6 .soria .dijitToolbar .dijitToggleButton, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButton { - - margin: 2px; - padding: 0px 2px; - border: 0px; -} -.dj_ie6 .soria .dijitToolbar .dijitButtonChecked, -.dj_ie6 .soria .dijitToolbar .dijitToggleButtonChecked, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButtonChecked { - background-color:#d8e5f8; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .soria .dijitToolbar .dijitButtonCheckedHover, -.dj_ie6 .soria .dijitToolbar .dijitToggleButtonCheckedHover, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButtonCheckedHover { - background-color:#9abbea; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .soria .dijitToolbar .dijitButtonHover, -.dj_ie6 .soria .dijitToolbar .dijitToggleButtonHover, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButtonHover { - background-color:#9abbea; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} diff --git a/includes/js/dijit/themes/soria/Toolbar.css.commented.css b/includes/js/dijit/themes/soria/Toolbar.css.commented.css deleted file mode 100644 index c8a070a..0000000 --- a/includes/js/dijit/themes/soria/Toolbar.css.commented.css +++ /dev/null @@ -1,95 +0,0 @@ -.soria .dijitToolbar { - padding: 3px 0 1px 3px; - border-bottom: 1px solid #ccc; - background:#eaeaea url("images/titleBar.png") repeat-x top left; -} - -.soria .dijitToolbar .dijitButtonNode { - background: none; - margin: 0px !important; - padding: 0px !important; - border: none; - font-size: 12px; -} - -.soria .dijitToolbar .dijitButton, -.soria .dijitToolbar .dijitToggleButton, -.soria .dijitToolbar .dijitDropDownButton { - background: none; - margin: 1px; - padding: 0px; - border: 1px solid transparent; -} - -.soria .dijitToolbar .dijitButtonChecked, -.soria .dijitToolbar .dijitToggleButtonChecked { - background-color:#d8e5f8; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} - -.soria .dijitToolbar .dijitButtonCheckedHover, -.soria .dijitToolbar .dijitToggleButtonCheckedHover - { - background-color:#9abbea; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} - -.soria .dijitToolbar .dijitButtonHover, -.soria .dijitToolbar .dijitToggleButtonHover, -.soria .dijitToolbar .dijitDropDownButtonHover { - /* TODO: change this from Hover to Selected so that button is still highlighted while drop down is being used */ - border: 1px solid #316ac5; - background-color:#9abbea; -} - -.soria .dijitToolbar label { - padding: 3px 3px 0 6px; -} - -.dj_ie .soria .dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ie .soria .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused, -.dj_ff2 .soria.dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .soria .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} - -/* IE6 specific rules */ -.dj_ie6 .soria .dijitToolbar .dijitButton, -.dj_ie6 .soria .dijitToolbar .dijitToggleButton, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButton { - /* workaround no transparent border support in IE6 */ - margin: 2px; - padding: 0px 2px; - border: 0px; -} - -.dj_ie6 .soria .dijitToolbar .dijitButtonChecked, -.dj_ie6 .soria .dijitToolbar .dijitToggleButtonChecked, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButtonChecked { - background-color:#d8e5f8; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} - -.dj_ie6 .soria .dijitToolbar .dijitButtonCheckedHover, -.dj_ie6 .soria .dijitToolbar .dijitToggleButtonCheckedHover, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButtonCheckedHover { - background-color:#9abbea; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} - -.dj_ie6 .soria .dijitToolbar .dijitButtonHover, -.dj_ie6 .soria .dijitToolbar .dijitToggleButtonHover, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButtonHover { - background-color:#9abbea; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} diff --git a/includes/js/dijit/themes/soria/Tree.css b/includes/js/dijit/themes/soria/Tree.css deleted file mode 100644 index 23491bc..0000000 --- a/includes/js/dijit/themes/soria/Tree.css +++ /dev/null @@ -1,68 +0,0 @@ - -.soria .dijitTreeNode { - background : url('images/treeI.gif') no-repeat; - background-position : top left; - background-repeat : repeat-y; - margin-left: 19px; - zoom: 1; -} -.soria .dijitTreeIsLast { - background: url('images/treeI_half.gif') no-repeat; -} -.soria .dijitTreeLabel { - font-weight: normal; - margin-left: 3px; -} -.soria .dijitTreeIsRoot { - margin-left: 0; - background-image: none; -} -.soria .dijitTreeExpando { - width: 18px; - height: 18px; -} -.soria .dijitTreeContent { - min-height: 18px; - min-width: 18px; - margin-left:18px; - padding-top:3px; - padding-left:1px; -} -.soria .dijitTreeExpand { - width: 18px; - height: 18px; - background-repeat : no-repeat; -} -.soria .dijitTreeNodeEmphasized { - background-color: Highlight; - color: HighlightText; -} -.soria .dijitTreeLabelFocused { - outline: 1px invert dotted; - background:#dde7f2; -} -.soria .dijitTreeExpandoOpened { - background: url('images/spriteTree.gif') no-repeat -18px top; -} -.soria .dijitTreeExpandoClosed { - background-image: url('images/spriteTree.gif'); -} -.soria .dijitTreeExpandoLeaf { - background: url('images/spriteTree.gif') no-repeat -36px top; -} -.soria .dijitTreeExpandoLoading { - background-image: url('images/treeExpand_loading.gif'); -} -.soria .dijitTreeIcon { - width: 16px; - height: 16px; -} -.soria .dijitFolderOpened { - background: url('images/spriteDivIcons.gif') no-repeat -16px top; -} -.soria .dijitFolderClosed { - background: url('images/spriteDivIcons.gif') no-repeat top left; -} -.soria .dijitLeaf { - background: url('images/spriteDivIcons.gif') no-repeat -32px top; -} diff --git a/includes/js/dijit/themes/soria/Tree.css.commented.css b/includes/js/dijit/themes/soria/Tree.css.commented.css deleted file mode 100644 index 55da526..0000000 --- a/includes/js/dijit/themes/soria/Tree.css.commented.css +++ /dev/null @@ -1,90 +0,0 @@ - -/* Tree */ - -.soria .dijitTreeNode { - background : url('images/treeI.gif') no-repeat; - background-position : top left; - background-repeat : repeat-y; - margin-left: 19px; - zoom: 1; /* MOW: what the heck is this doing in here? */ -} - -/* left vertical line (grid) for all nodes */ -.soria .dijitTreeIsLast { - background: url('images/treeI_half.gif') no-repeat; -} - -.soria .dijitTreeLabel { - font-weight: normal; - margin-left: 3px; -} - -.soria .dijitTreeIsRoot { - margin-left: 0; - background-image: none; -} - -.soria .dijitTreeExpando { - width: 18px; - height: 18px; -} - -.soria .dijitTreeContent { - min-height: 18px; - min-width: 18px; - margin-left:18px; - padding-top:3px; - padding-left:1px; -} - - -.soria .dijitTreeExpand { - width: 18px; - height: 18px; - background-repeat : no-repeat; -} - -/* same style as IE selection */ -.soria .dijitTreeNodeEmphasized { - background-color: Highlight; - color: HighlightText; -} - -/* don't use :focus due to opera and IE's lack of support on div's */ -.soria .dijitTreeLabelFocused { - outline: 1px invert dotted; - background:#dde7f2; -} - -.soria .dijitTreeExpandoOpened { - background: url('images/spriteTree.gif') no-repeat -18px top; -} - -.soria .dijitTreeExpandoClosed { - background-image: url('images/spriteTree.gif'); -} - -.soria .dijitTreeExpandoLeaf { - background: url('images/spriteTree.gif') no-repeat -36px top; -} - -.soria .dijitTreeExpandoLoading { - background-image: url('images/treeExpand_loading.gif'); -} - -.soria .dijitTreeIcon { - width: 16px; - height: 16px; -} - -.soria .dijitFolderOpened { - background: url('images/spriteDivIcons.gif') no-repeat -16px top; -} - -.soria .dijitFolderClosed { - background: url('images/spriteDivIcons.gif') no-repeat top left; -} - -.soria .dijitLeaf { - background: url('images/spriteDivIcons.gif') no-repeat -32px top; -} diff --git a/includes/js/dijit/themes/soria/Tree_rtl.css b/includes/js/dijit/themes/soria/Tree_rtl.css deleted file mode 100644 index 5734d9f..0000000 --- a/includes/js/dijit/themes/soria/Tree_rtl.css +++ /dev/null @@ -1,30 +0,0 @@ - -.dijitRtl .dijitTreeContainer .dijitTreeNode { - background-image : url('images/treeI_rtl.gif'); - background-position : top right; - margin-left: auto; - margin-right: 19px; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsRoot { - margin-left: auto; - margin-right: 0; - background-image: none; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsLast { - background-image: url('images/treeI_half_rtl.gif'); -} -.dijitRtl .dijitTreeContainer .dijitTreeContent { - margin-left: auto; - margin-right: 18px; - padding-left: auto; - padding-right: 1px; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoOpened { - background: url('images/spriteTree_rtl.gif') no-repeat -18px top; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoClosed { - background-image: url('images/spriteTree_rtl.gif'); -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoLeaf { - background: url('images/spriteTree_rtl.gif') no-repeat -36px top; -} diff --git a/includes/js/dijit/themes/soria/Tree_rtl.css.commented.css b/includes/js/dijit/themes/soria/Tree_rtl.css.commented.css deleted file mode 100644 index 1fa4e00..0000000 --- a/includes/js/dijit/themes/soria/Tree_rtl.css.commented.css +++ /dev/null @@ -1,38 +0,0 @@ - - -/* Tree */ -.dijitRtl .dijitTreeContainer .dijitTreeNode { - background-image : url('images/treeI_rtl.gif'); - background-position : top right; - margin-left: auto; - margin-right: 19px; -} - -.dijitRtl .dijitTreeContainer .dijitTreeIsRoot { - margin-left: auto; - margin-right: 0; - background-image: none; -} - -.dijitRtl .dijitTreeContainer .dijitTreeIsLast { - background-image: url('images/treeI_half_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeContent { - margin-left: auto; - margin-right: 18px; - padding-left: auto; - padding-right: 1px; -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoOpened { - background: url('images/spriteTree_rtl.gif') no-repeat -18px top; -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoClosed { - background-image: url('images/spriteTree_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoLeaf { - background: url('images/spriteTree_rtl.gif') no-repeat -36px top; -} diff --git a/includes/js/dijit/themes/soria/form/Button.css b/includes/js/dijit/themes/soria/form/Button.css deleted file mode 100644 index ba7a81a..0000000 --- a/includes/js/dijit/themes/soria/form/Button.css +++ /dev/null @@ -1,90 +0,0 @@ - -.soria .dijitButtonNode { - - - border:1px solid #8ba0bd; - border-bottom:1px solid #657c9c; - border-right:1px solid #657c9c; - padding: 0.2em; - background:#bcd5f0 url("../images/buttonEnabled.png") repeat-x top left; -} -.dj_ie .soria .dijitButtonNode { - zoom: 1; -} -.soria .dijitButtonText { - padding: 0 0.3em; -} -.soria .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} -.soria .dijitArrowButton { - color: #111; -} -.soria .dijitComboButton .dijitDownArrowButton { - padding-right:4px; -} -.dj_ff2 .soria .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .soria .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.soria .dijitButtonDisabled .dijitButtonNode, -.soria .dijitToggleButtonDisabled .dijitButtonNode, -.soria .dijitDropDownButtonDisabled .dijitButtonNode, -.soria .dijitComboButtonDisabled .dijitButtonNode, -.soria .dijitComboBoxDisabled, -.soria .dijitSpinnerDisabled, -.soria .dijitSpinnerDisabled .dijitButtonNode { - - border-color: #b9bbdd #b9bbdd #b9bbdd #b9bbdd; - - background:#c3d3e5 url("../images/buttonDisabled.png") top repeat-x; - opacity: 0.60; -} -.dj_ie .soria .dijitButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitToggleButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitDropDownButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitComboButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitSpinnerDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); -} -.soria .dijitButtonHover .dijitButtonNode, -.soria .dijitToggleButtonHover .dijitButtonNode, -.soria .dijitDropDownButtonHover .dijitButtonNode, -.soria .dijitComboButtonHover .dijitButtonContents, -.soria .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.soria .dijitComboBoxHover .dijitDownArrowButton, -.soria .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.soria .dijitSpinnerDownArrowHover .dijitDownArrowButton { - - - color:#000; - background:#acc5e2 url("../images/buttonHover.png") repeat-x top left; -} -.soria .dijitSpinnerUpArrowActive .dijitUpArrowButton, -.soria .dijitSpinnerDownArrowActive .dijitDownArrowButton, -.soria .dijitButtonActive .dijitButtonNode, -.soria .dijitToggleButtonActive .dijitButtonNode, -.soria .dijitDropDownButtonActive .dijitButtonNode, -.soria .dijitComboButtonActive .dijitButtonContents, -.soria .dijitDownArrowActive .dijitDownArrowButton, -.soria .dijitComboBoxActive .dijitDownArrowButton { - - border-color:#657c9c; - background: #91b4e5 url("../images/buttonActive.png") top left repeat-x; -} -.soria .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat left top; - width: 11px; -} -.soria .dijitUpArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat -22px top; - width: 11px; -} -.dj_ie6 .soria .dijitArrowButtonInner { - background:url("../images/spriteArrows.gif") no-repeat left top; - width: 11px; -} -.dj_ie6 .soria .dijitUpArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.gif") no-repeat -22px top; - width: 11px; -} diff --git a/includes/js/dijit/themes/soria/form/Button.css.commented.css b/includes/js/dijit/themes/soria/form/Button.css.commented.css deleted file mode 100644 index 652dfaa..0000000 --- a/includes/js/dijit/themes/soria/form/Button.css.commented.css +++ /dev/null @@ -1,109 +0,0 @@ - -/***** - dijit.form.Button - dijit.form.DropDownButton - dijit.form.ComboButton - dijit.form.ComboBox (partial) - *****/ - -.soria .dijitButtonNode { - /* enabled state - inner */ - /* border:1px outset #a0a0a0; */ - border:1px solid #8ba0bd; - border-bottom:1px solid #657c9c; - border-right:1px solid #657c9c; - padding: 0.2em; - background:#bcd5f0 url("../images/buttonEnabled.png") repeat-x top left; -} -.dj_ie .soria .dijitButtonNode { - zoom: 1; -} - -.soria .dijitButtonText { - padding: 0 0.3em; -} - -.soria .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} - -.soria .dijitArrowButton { - color: #111; -} - -.soria .dijitComboButton .dijitDownArrowButton { - padding-right:4px; -} - -.dj_ff2 .soria .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .soria .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} - -.soria .dijitButtonDisabled .dijitButtonNode, -.soria .dijitToggleButtonDisabled .dijitButtonNode, -.soria .dijitDropDownButtonDisabled .dijitButtonNode, -.soria .dijitComboButtonDisabled .dijitButtonNode, -.soria .dijitComboBoxDisabled, -.soria .dijitSpinnerDisabled, -.soria .dijitSpinnerDisabled .dijitButtonNode { - /* disabled state - inner */ - border-color: #b9bbdd #b9bbdd #b9bbdd #b9bbdd; - /*color:#b4b4b4;*/ - background:#c3d3e5 url("../images/buttonDisabled.png") top repeat-x; - opacity: 0.60; /* Safari, Opera and Mozilla */ -} -.dj_ie .soria .dijitButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitToggleButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitDropDownButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitComboButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitSpinnerDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); /* IE */ -} - -.soria .dijitButtonHover .dijitButtonNode, -.soria .dijitToggleButtonHover .dijitButtonNode, -.soria .dijitDropDownButtonHover .dijitButtonNode, -.soria .dijitComboButtonHover .dijitButtonContents, -.soria .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.soria .dijitComboBoxHover .dijitDownArrowButton, -.soria .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.soria .dijitSpinnerDownArrowHover .dijitDownArrowButton { - /* hover state - inner */ - /* TODO: change from Hover to Selected so that button is still highlighted while drop down is being used */ - color:#000; - background:#acc5e2 url("../images/buttonHover.png") repeat-x top left; -} - -.soria .dijitSpinnerUpArrowActive .dijitUpArrowButton, -.soria .dijitSpinnerDownArrowActive .dijitDownArrowButton, -.soria .dijitButtonActive .dijitButtonNode, -.soria .dijitToggleButtonActive .dijitButtonNode, -.soria .dijitDropDownButtonActive .dijitButtonNode, -.soria .dijitComboButtonActive .dijitButtonContents, -.soria .dijitDownArrowActive .dijitDownArrowButton, -.soria .dijitComboBoxActive .dijitDownArrowButton { - /* active state - inner (for when you are pressing a normal button, or - * when a toggle button is in a depressed state - */ - border-color:#657c9c; - background: #91b4e5 url("../images/buttonActive.png") top left repeat-x; -} - - -.soria .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat left top; - width: 11px; -} -.soria .dijitUpArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat -22px top; - width: 11px; -} -.dj_ie6 .soria .dijitArrowButtonInner { - background:url("../images/spriteArrows.gif") no-repeat left top; - width: 11px; -} -.dj_ie6 .soria .dijitUpArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.gif") no-repeat -22px top; - width: 11px; -} diff --git a/includes/js/dijit/themes/soria/form/Button_rtl.css b/includes/js/dijit/themes/soria/form/Button_rtl.css deleted file mode 100644 index fd92f00..0000000 --- a/includes/js/dijit/themes/soria/form/Button_rtl.css +++ /dev/null @@ -1,3 +0,0 @@ -.dijitRtl .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} diff --git a/includes/js/dijit/themes/soria/form/Button_rtl.css.commented.css b/includes/js/dijit/themes/soria/form/Button_rtl.css.commented.css deleted file mode 100644 index fd92f00..0000000 --- a/includes/js/dijit/themes/soria/form/Button_rtl.css.commented.css +++ /dev/null @@ -1,3 +0,0 @@ -.dijitRtl .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} diff --git a/includes/js/dijit/themes/soria/form/Checkbox.css b/includes/js/dijit/themes/soria/form/Checkbox.css deleted file mode 100644 index 18a1e36..0000000 --- a/includes/js/dijit/themes/soria/form/Checkbox.css +++ /dev/null @@ -1,42 +0,0 @@ - -.soria .dijitToggleButton .dijitCheckBox, -.soria .dijitToggleButton .dijitCheckBoxIcon { - background-image: url('../images/spriteCheckbox.gif'); -} -.soria .dijitCheckBox, -.soria .dijitCheckBoxIcon { - background-image: url('../images/spriteCheckbox.gif'); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.soria .dijitCheckBox, -.soria .dijitToggleButton .dijitCheckBoxIcon { - - background-position: -16px; -} -.soria .dijitCheckBoxChecked, -.soria .dijitToggleButtonChecked .dijitCheckBoxIcon { - - background-position: 0px; -} -.soria .dijitCheckBoxDisabled { - - background-position: -48px; -} -.soria .dijitCheckBoxCheckedDisabled { - - background-position: -32px; -} -.soria .dijitCheckBoxHover, -.soria .dijitCheckBoxFocused { - - background-position: -80px; -} -.soria .dijitCheckBoxCheckedHover, - .soria .dijitCheckBoxCheckedFocused { - - background-position: -64px; -} diff --git a/includes/js/dijit/themes/soria/form/Checkbox.css.commented.css b/includes/js/dijit/themes/soria/form/Checkbox.css.commented.css deleted file mode 100644 index afa18ba..0000000 --- a/includes/js/dijit/themes/soria/form/Checkbox.css.commented.css +++ /dev/null @@ -1,69 +0,0 @@ - -/* - * CheckBox and Radio Widgets, - * and the CSS to embed a checkbox or radio icon inside a ToggleButton. - * - * Order of images in the default sprite (from L to R, checkbox and radio in same image): - * checkbox normal - checked - * - unchecked - * disabled - checked - * - unchecked - * hover - checked - * - unchecked - * - * radio normal - checked - * - unchecked - * disabled - checked - * - unchecked - * hover - checked - * - unchecked -*/ - -.soria .dijitToggleButton .dijitCheckBox, -.soria .dijitToggleButton .dijitCheckBoxIcon { - background-image: url('../images/spriteCheckbox.gif'); -} - -.soria .dijitCheckBox, -.soria .dijitCheckBoxIcon { /* inside a toggle button */ - background-image: url('../images/spriteCheckbox.gif'); /* checkbox sprite image */ - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} - -.soria .dijitCheckBox, -.soria .dijitToggleButton .dijitCheckBoxIcon { - /* unchecked */ - background-position: -16px; -} - -.soria .dijitCheckBoxChecked, -.soria .dijitToggleButtonChecked .dijitCheckBoxIcon { - /* checked */ - background-position: 0px; -} - -.soria .dijitCheckBoxDisabled { - /* disabled */ - background-position: -48px; -} - -.soria .dijitCheckBoxCheckedDisabled { - /* disabled but checked */ - background-position: -32px; -} - -.soria .dijitCheckBoxHover, -.soria .dijitCheckBoxFocused { - /* hovering over an unchecked enabled checkbox */ - background-position: -80px; -} - -.soria .dijitCheckBoxCheckedHover, - .soria .dijitCheckBoxCheckedFocused { - /* hovering over a checked enabled checkbox */ - background-position: -64px; -} diff --git a/includes/js/dijit/themes/soria/form/ComboBox.css b/includes/js/dijit/themes/soria/form/ComboBox.css deleted file mode 100644 index 6cdbf29..0000000 --- a/includes/js/dijit/themes/soria/form/ComboBox.css +++ /dev/null @@ -1,7 +0,0 @@ -.soria .dijitComboBox .dijitArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat left center; - width: 11px; -} -.soria .dijitComboBoxHover .dijitArrowButtonInner { - -} diff --git a/includes/js/dijit/themes/soria/form/ComboBox.css.commented.css b/includes/js/dijit/themes/soria/form/ComboBox.css.commented.css deleted file mode 100644 index b4f1439..0000000 --- a/includes/js/dijit/themes/soria/form/ComboBox.css.commented.css +++ /dev/null @@ -1,7 +0,0 @@ -.soria .dijitComboBox .dijitArrowButton .dijitArrowButtonInner { - background:url("../images/spriteArrows.png") no-repeat left center; - width: 11px; -} -.soria .dijitComboBoxHover .dijitArrowButtonInner { - /* TODO: url("images/arrowDownHover.png") but in IE6 it flickers some? */ -} diff --git a/includes/js/dijit/themes/soria/form/Common.css b/includes/js/dijit/themes/soria/form/Common.css deleted file mode 100644 index 8d71cdb..0000000 --- a/includes/js/dijit/themes/soria/form/Common.css +++ /dev/null @@ -1,61 +0,0 @@ - -.soria .dijitInputField INPUT, -.soria .dijitTextBox, -.soria .dijitComboBox, -.soria .dijitSpinner { - margin: 0em 0.1em; -} -.soria .dijitTextBox, -.soria .dijitComboBox, -.soria .dijitSpinner, -.soria .dijitInlineEditor input, -.soria .dijitTextArea { - - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #8ba0bd; - line-height: normal; -} -.soria .dijitComboBox .dijitButtonNode { - padding: 0 0.2em; -} -.soria .dijitComboBox .dijitButtonNode, -.soria .dijitSpinner .dijitButtonNode { - - border-color: #8ba0bd; - border-left: 1px solid #8ba0bd; -} -.soria .dijitTextBoxFocused, -.soria .dijitComboBoxFocused, -.soria .dijitSpinnerFocused { - - border-color:#406b9b; -} -.soria .dijitComboBoxFocused .dijitButtonNode, .soria .dijitSpinnerFocused .dijitButtonNode { - border-left-color:#8ba0bd; -} -.soria .dijitSpinnerFocused .dijitDownArrowButton { - border-top-color:#8ba0bd; -} -.soria .dijitError { - border-color:#f3d118; - background-color:#f9f7ba; - background-image:none; -} -.dj_ie6 .soria .dijitError INPUT { - - background-color:#f9f7ba !important; -} -.soria .dijitErrorFocused { - background-color:#ff6; - background-image:none; -} -.dj_ie6 .soria .dijitErrorFocused INPUT { - - background-color:#ff6 !important; -} -.soria .dijitValidationIcon { - - width: 16px; - background: transparent url('../images/warning.png') no-repeat center center; -} diff --git a/includes/js/dijit/themes/soria/form/Common.css.commented.css b/includes/js/dijit/themes/soria/form/Common.css.commented.css deleted file mode 100644 index 1aaf6a4..0000000 --- a/includes/js/dijit/themes/soria/form/Common.css.commented.css +++ /dev/null @@ -1,82 +0,0 @@ - -/**** - dijit.form.TextBox - dijit.form.ValidationTextBox - dijit.form.SerializableTextBox - dijit.form.RangeBoundTextBox - dijit.form.NumberTextBox - dijit.form.CurrencyTextBox - dijit.form.NumberSpinner - dijit.form.ComboBox (partial) - ****/ - -.soria .dijitInputField INPUT, -.soria .dijitTextBox, -.soria .dijitComboBox, -.soria .dijitSpinner { - margin: 0em 0.1em; -} - -.soria .dijitTextBox, -.soria .dijitComboBox, -.soria .dijitSpinner, -.soria .dijitInlineEditor input, -.soria .dijitTextArea { - /* For all except dijit.form.NumberSpinner: the actual input element. - For TextBox, ComboBox, Spinner: the table that contains the input. - Otherwise the actual input element. - */ - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #8ba0bd; - line-height: normal; -} - -.soria .dijitComboBox .dijitButtonNode { - padding: 0 0.2em; -} -.soria .dijitComboBox .dijitButtonNode, -.soria .dijitSpinner .dijitButtonNode { - /* line between the input area and the drop down button */ - border-color: #8ba0bd; - border-left: 1px solid #8ba0bd; -} - -.soria .dijitTextBoxFocused, -.soria .dijitComboBoxFocused, -.soria .dijitSpinnerFocused { - /* input field when focused (ie: typing affects it) */ - border-color:#406b9b; -} -.soria .dijitComboBoxFocused .dijitButtonNode, .soria .dijitSpinnerFocused .dijitButtonNode { - border-left-color:#8ba0bd; -} -.soria .dijitSpinnerFocused .dijitDownArrowButton { - border-top-color:#8ba0bd; -} - -.soria .dijitError { - border-color:#f3d118; - background-color:#f9f7ba; - background-image:none; -} -.dj_ie6 .soria .dijitError INPUT { - /* background-color: transparent on an doesn't work on IE6 */ - background-color:#f9f7ba !important; -} - -.soria .dijitErrorFocused { - background-color:#ff6; - background-image:none; -} -.dj_ie6 .soria .dijitErrorFocused INPUT { - /* background-color: transparent on an doesn't work on IE6 */ - background-color:#ff6 !important; -} - -/* Validation errors */ -.soria .dijitValidationIcon { - /* prevent height change when widget goes from valid to invalid state */ - width: 16px; - background: transparent url('../images/warning.png') no-repeat center center; -} diff --git a/includes/js/dijit/themes/soria/form/Common_rtl.css b/includes/js/dijit/themes/soria/form/Common_rtl.css deleted file mode 100644 index 0bced8b..0000000 --- a/includes/js/dijit/themes/soria/form/Common_rtl.css +++ /dev/null @@ -1,7 +0,0 @@ -.dijitRtl .dijitComboBox .dijitButtonNode, -.dijitRtl .dijitSpinner .dijitButtonNode { - - border-color: #8ba0bd; - border-left: 0px solid #8ba0bd; - border-right: 1px solid #8ba0bd; -} diff --git a/includes/js/dijit/themes/soria/form/Common_rtl.css.commented.css b/includes/js/dijit/themes/soria/form/Common_rtl.css.commented.css deleted file mode 100644 index 83f79d2..0000000 --- a/includes/js/dijit/themes/soria/form/Common_rtl.css.commented.css +++ /dev/null @@ -1,7 +0,0 @@ -.dijitRtl .dijitComboBox .dijitButtonNode, -.dijitRtl .dijitSpinner .dijitButtonNode { - /* line between the input area and the drop down button */ - border-color: #8ba0bd; - border-left: 0px solid #8ba0bd; - border-right: 1px solid #8ba0bd; -} diff --git a/includes/js/dijit/themes/soria/form/RadioButton.css b/includes/js/dijit/themes/soria/form/RadioButton.css deleted file mode 100644 index 6cdcea4..0000000 --- a/includes/js/dijit/themes/soria/form/RadioButton.css +++ /dev/null @@ -1,42 +0,0 @@ - -.soria .dijitToggleButton .dijitRadio, -.soria .dijitToggleButton .dijitRadioIcon { - background-image: url('../images/spriteRadio.gif'); -} -.soria .dijitRadio, -.soria .dijitRadioIcon { - background-image: url('../images/spriteRadio.gif'); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.soria .dijitRadio, -.soria .dijitToggleButton .dijitRadioIcon { - - background-position: -16px; -} -.soria .dijitRadioChecked, -.soria .dijitToggleButtonChecked .dijitRadioIcon { - - background-position: 0px; -} -.soria .dijitRadioCheckedDisabled { - - background-position: -48px; -} -.soria .dijitRadioDisabled { - - background-position: -32px; -} -.soria .dijitRadioHover, -.soria .dijitRadioFocused { - - background-position: -80px; -} -.soria .dijitRadioCheckedHover, -.soria .dijitRadioCheckedFocused { - - background-position: -64px; -} diff --git a/includes/js/dijit/themes/soria/form/RadioButton.css.commented.css b/includes/js/dijit/themes/soria/form/RadioButton.css.commented.css deleted file mode 100644 index dad4ac5..0000000 --- a/includes/js/dijit/themes/soria/form/RadioButton.css.commented.css +++ /dev/null @@ -1,68 +0,0 @@ -/* - * CheckBox and Radio Widgets, - * and the CSS to embed a checkbox or radio icon inside a ToggleButton. - * - * Order of images in the default sprite (from L to R, checkbox and radio in same image): - * checkbox normal - checked - * - unchecked - * disabled - checked - * - unchecked - * hover - checked - * - unchecked - * - * radio normal - checked - * - unchecked - * disabled - checked - * - unchecked - * hover - checked - * - unchecked -*/ - -.soria .dijitToggleButton .dijitRadio, -.soria .dijitToggleButton .dijitRadioIcon { - background-image: url('../images/spriteRadio.gif'); -} - -.soria .dijitRadio, -.soria .dijitRadioIcon { /* inside a toggle button */ - background-image: url('../images/spriteRadio.gif'); /* checkbox sprite image */ - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} - -.soria .dijitRadio, -.soria .dijitToggleButton .dijitRadioIcon { - /* unselected */ - background-position: -16px; -} - -.soria .dijitRadioChecked, -.soria .dijitToggleButtonChecked .dijitRadioIcon { - /* selected */ - background-position: 0px; -} - -.soria .dijitRadioCheckedDisabled { - /* selected but disabled */ - background-position: -48px; -} - -.soria .dijitRadioDisabled { - /* unselected and disabled */ - background-position: -32px; -} - -.soria .dijitRadioHover, -.soria .dijitRadioFocused { - /* hovering over an unselected enabled radio button */ - background-position: -80px; -} - -.soria .dijitRadioCheckedHover, -.soria .dijitRadioCheckedFocused { - /* hovering over a selected enabled radio button */ - background-position: -64px; -} diff --git a/includes/js/dijit/themes/soria/form/Slider.css b/includes/js/dijit/themes/soria/form/Slider.css deleted file mode 100644 index 17e93c8..0000000 --- a/includes/js/dijit/themes/soria/form/Slider.css +++ /dev/null @@ -1,112 +0,0 @@ - -.soria .dijitSliderProgressBarH { - border-color: #b1badf; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} -.soria .dijitSliderProgressBarV { - border-color: #b1badf; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} -.soria .dijitSliderFocused .dijitSliderProgressBarH, -.soria .dijitSliderFocused .dijitSliderLeftBumper { - background-image:url("../images/sliderFullFocus.png"); -} -.soria .dijitSliderFocused .dijitSliderProgressBarV, -.soria .dijitSliderFocused .dijitSliderBottomBumper { - background-image:url("../images/sliderFullVerticalFocus.png"); -} -.soria .dijitSliderRemainingBarV { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y bottom left; -} -.soria .dijitSliderRemainingBarH { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; -} -.soria .dijitSliderBar { - border-style: solid; - outline:1px; - -} -.soria .dijitSliderFocused .dijitSliderBar { - border-color:#8ba0bd; -} -.dijit_a11y .dijitSliderProgressBar { - background-color:#333 !important; -} -.soria .dijitSliderImageHandleH { - border:0px; - width:15px; - height:18px; - background:url("../images/preciseSliderThumb.png") no-repeat center top; - cursor:pointer; -} -.soria .dijitSliderFocused .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumbFocus.png"); - #background-image:url("../images/preciseSliderThumbFocus.gif"); -} -.dj_ie6 .soria .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumb.gif"); -} -.soria .dijitSliderLeftBumper { - border-left-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} -.soria .dijitSliderRightBumper { - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; - border-color: #b4b4b4; - border-right-width: 1px; -} -.soria .dijitSliderImageHandleV { - border:0px; - width:20px; - height:15px; - background:url("../images/sliderThumb.png") no-repeat center center; - cursor:pointer; -} -.soria .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.png"); -} -.dj_ie6 .soria .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.gif"); -} -.soria .dijitSliderBottomBumper { - border-bottom-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} -.soria .dijitSliderTopBumper { - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y top left; - border-color: #b4b4b4; - border-top-width: 1px; -} -.soria .dijitSliderIncrementIconH, -.soria .dijitSliderIncrementIconV { - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -45px top; - width:15px; height:15px; - cursor:pointer; -} -.soria .dijitSliderIncrementIconH { - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -30px top; -} -.soria .dijitSliderDecrementIconH, -.soria .dijitSliderDecrementIconV { - width:15px; - height:15px; - cursor:pointer; - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -15px top; -} -.soria .dijitSliderDecrementIconH { background:url('../images/spriteRoundedIconsSmall.png') no-repeat 0px top; } -.soria .dijitSliderButtonInner { - visibility:hidden; -} -.soria .dijitSliderDisabled { - opacity:0.6 !important; -} -.dj_ie6 .soria .dijitSliderDisabled, -.dj_ie6 .soria .dijitSliderDisabled .dijitRuleContainer, -.dj_ie6 .soria .dijitSliderDisabled .dijitSliderRemainingBar, -.dj_ie6 .soria .dijitSliderDisabled .dijitSliderProgressBar { - filter: gray() alpha(opacity=40); -} diff --git a/includes/js/dijit/themes/soria/form/Slider.css.commented.css b/includes/js/dijit/themes/soria/form/Slider.css.commented.css deleted file mode 100644 index 34a107a..0000000 --- a/includes/js/dijit/themes/soria/form/Slider.css.commented.css +++ /dev/null @@ -1,136 +0,0 @@ - -/**** - SLIDER -****/ - -.soria .dijitSliderProgressBarH { - border-color: #b1badf; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} - -.soria .dijitSliderProgressBarV { - border-color: #b1badf; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} - -.soria .dijitSliderFocused .dijitSliderProgressBarH, -.soria .dijitSliderFocused .dijitSliderLeftBumper { - background-image:url("../images/sliderFullFocus.png"); -} - -.soria .dijitSliderFocused .dijitSliderProgressBarV, -.soria .dijitSliderFocused .dijitSliderBottomBumper { - background-image:url("../images/sliderFullVerticalFocus.png"); -} - -.soria .dijitSliderRemainingBarV { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y bottom left; -} - -.soria .dijitSliderRemainingBarH { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; -} - -.soria .dijitSliderBar { - border-style: solid; - outline:1px; - /* border-color: #b4b4b4; */ -} -.soria .dijitSliderFocused .dijitSliderBar { - border-color:#8ba0bd; -} - -.dijit_a11y .dijitSliderProgressBar { - background-color:#333 !important; -} - -.soria .dijitSliderImageHandleH { - border:0px; - width:15px; - height:18px; - background:url("../images/preciseSliderThumb.png") no-repeat center top; - cursor:pointer; -} -.soria .dijitSliderFocused .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumbFocus.png"); - #background-image:url("../images/preciseSliderThumbFocus.gif"); -} - -.dj_ie6 .soria .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumb.gif"); -} - -.soria .dijitSliderLeftBumper { - border-left-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} - -.soria .dijitSliderRightBumper { - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; - border-color: #b4b4b4; - border-right-width: 1px; -} - -.soria .dijitSliderImageHandleV { - border:0px; - width:20px; - height:15px; - background:url("../images/sliderThumb.png") no-repeat center center; - cursor:pointer; -} - -.soria .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.png"); -} -.dj_ie6 .soria .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.gif"); -} - -.soria .dijitSliderBottomBumper { - border-bottom-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} - -.soria .dijitSliderTopBumper { - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y top left; - border-color: #b4b4b4; - border-top-width: 1px; -} - -.soria .dijitSliderIncrementIconH, -.soria .dijitSliderIncrementIconV { - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -45px top; - width:15px; height:15px; - cursor:pointer; -} -.soria .dijitSliderIncrementIconH { - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -30px top; -} - -.soria .dijitSliderDecrementIconH, -.soria .dijitSliderDecrementIconV { - width:15px; - height:15px; - cursor:pointer; - background:url('../images/spriteRoundedIconsSmall.png') no-repeat -15px top; -} -.soria .dijitSliderDecrementIconH { background:url('../images/spriteRoundedIconsSmall.png') no-repeat 0px top; } - -.soria .dijitSliderButtonInner { - visibility:hidden; -} - -.soria .dijitSliderDisabled { - opacity:0.6 !important; -} - -.dj_ie6 .soria .dijitSliderDisabled, -.dj_ie6 .soria .dijitSliderDisabled .dijitRuleContainer, -.dj_ie6 .soria .dijitSliderDisabled .dijitSliderRemainingBar, -.dj_ie6 .soria .dijitSliderDisabled .dijitSliderProgressBar { - filter: gray() alpha(opacity=40); -} diff --git a/includes/js/dijit/themes/soria/form/Slider_rtl.css b/includes/js/dijit/themes/soria/form/Slider_rtl.css deleted file mode 100644 index febfd0a..0000000 --- a/includes/js/dijit/themes/soria/form/Slider_rtl.css +++ /dev/null @@ -1,27 +0,0 @@ - -.dijitRtl .dijitSliderProgressBarH, -.dijitRtl .dijitSliderRemainingBarH, -.dijitRtl .dijitSliderLeftBumper, -.dijitRtl .dijitSliderRightBumper, -.dijitRtl .dijitSliderTopBumper { - background-position: top right; -} -.dijitRtl .dijitSliderProgressBarV, -.dijitRtl .dijitSliderRemainingBarV, -.dijitRtl .dijitSliderBottomBumper { - background-position: bottom right; -} -.dijitRtl .dijitSliderLeftBumper { - border-left-width: 0px; - border-right-width: 1px; -} -.dijitRtl .dijitSliderRightBumper { - border-left-width: 1px; - border-right-width: 0px; -} -.dijitRtl .dijitSliderIncrementIconH { - background-image:url('../images/arrowLeft.png'); -} -.dijitRtl .dijitSliderDecrementIconH { - background-image:url('../images/arrowRight.png'); -} diff --git a/includes/js/dijit/themes/soria/form/Slider_rtl.css.commented.css b/includes/js/dijit/themes/soria/form/Slider_rtl.css.commented.css deleted file mode 100644 index 930be3d..0000000 --- a/includes/js/dijit/themes/soria/form/Slider_rtl.css.commented.css +++ /dev/null @@ -1,34 +0,0 @@ - -/* Slider */ - -.dijitRtl .dijitSliderProgressBarH, -.dijitRtl .dijitSliderRemainingBarH, -.dijitRtl .dijitSliderLeftBumper, -.dijitRtl .dijitSliderRightBumper, -.dijitRtl .dijitSliderTopBumper { - background-position: top right; -} - -.dijitRtl .dijitSliderProgressBarV, -.dijitRtl .dijitSliderRemainingBarV, -.dijitRtl .dijitSliderBottomBumper { - background-position: bottom right; -} - -.dijitRtl .dijitSliderLeftBumper { - border-left-width: 0px; - border-right-width: 1px; -} - -.dijitRtl .dijitSliderRightBumper { - border-left-width: 1px; - border-right-width: 0px; -} - -.dijitRtl .dijitSliderIncrementIconH { - background-image:url('../images/arrowLeft.png'); -} - -.dijitRtl .dijitSliderDecrementIconH { - background-image:url('../images/arrowRight.png'); -} diff --git a/includes/js/dijit/themes/soria/form/Textarea.css b/includes/js/dijit/themes/soria/form/Textarea.css deleted file mode 100644 index 0e0226b..0000000 --- a/includes/js/dijit/themes/soria/form/Textarea.css +++ /dev/null @@ -1,11 +0,0 @@ -.soria .dijitTextBox { - margin: 0em 0.1em; -} -.soria .dijitTextBox, -.soria .dijitTextArea { - - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #c4c4c4; - line-height: normal; -} diff --git a/includes/js/dijit/themes/soria/form/Textarea.css.commented.css b/includes/js/dijit/themes/soria/form/Textarea.css.commented.css deleted file mode 100644 index b950beb..0000000 --- a/includes/js/dijit/themes/soria/form/Textarea.css.commented.css +++ /dev/null @@ -1,15 +0,0 @@ -.soria .dijitTextBox { - margin: 0em 0.1em; -} - -.soria .dijitTextBox, -.soria .dijitTextArea { - /* For all except dijit.form.NumberSpinner: the actual input element. - For TextBox, ComboBox, Spinner: the table that contains the input. - Otherwise the actual input element. - */ - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #c4c4c4; - line-height: normal; -} diff --git a/includes/js/dijit/themes/soria/form/TimeTextBox.css b/includes/js/dijit/themes/soria/form/TimeTextBox.css deleted file mode 100644 index d450925..0000000 --- a/includes/js/dijit/themes/soria/form/TimeTextBox.css +++ /dev/null @@ -1 +0,0 @@ -@CHARSET "UTF-8"; diff --git a/includes/js/dijit/themes/soria/form/TimeTextBox.css.commented.css b/includes/js/dijit/themes/soria/form/TimeTextBox.css.commented.css deleted file mode 100644 index d450925..0000000 --- a/includes/js/dijit/themes/soria/form/TimeTextBox.css.commented.css +++ /dev/null @@ -1 +0,0 @@ -@CHARSET "UTF-8"; diff --git a/includes/js/dijit/themes/soria/images/accordionItemActive.gif b/includes/js/dijit/themes/soria/images/accordionItemActive.gif deleted file mode 100644 index 249a153..0000000 Binary files a/includes/js/dijit/themes/soria/images/accordionItemActive.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/accordionItemActive.png b/includes/js/dijit/themes/soria/images/accordionItemActive.png deleted file mode 100644 index 92c7431..0000000 Binary files a/includes/js/dijit/themes/soria/images/accordionItemActive.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/buttonActive.png b/includes/js/dijit/themes/soria/images/buttonActive.png deleted file mode 100644 index f815983..0000000 Binary files a/includes/js/dijit/themes/soria/images/buttonActive.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/buttonDisabled.png b/includes/js/dijit/themes/soria/images/buttonDisabled.png deleted file mode 100644 index f76e4ab..0000000 Binary files a/includes/js/dijit/themes/soria/images/buttonDisabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/buttonEnabled.png b/includes/js/dijit/themes/soria/images/buttonEnabled.png deleted file mode 100644 index 3c55c83..0000000 Binary files a/includes/js/dijit/themes/soria/images/buttonEnabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/buttonHover.png b/includes/js/dijit/themes/soria/images/buttonHover.png deleted file mode 100644 index a22ebda..0000000 Binary files a/includes/js/dijit/themes/soria/images/buttonHover.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/dndCopy.png b/includes/js/dijit/themes/soria/images/dndCopy.png deleted file mode 100644 index baecd7c..0000000 Binary files a/includes/js/dijit/themes/soria/images/dndCopy.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/dndMove.png b/includes/js/dijit/themes/soria/images/dndMove.png deleted file mode 100644 index 07f878c..0000000 Binary files a/includes/js/dijit/themes/soria/images/dndMove.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/dndNoCopy.png b/includes/js/dijit/themes/soria/images/dndNoCopy.png deleted file mode 100644 index 9bf9c33..0000000 Binary files a/includes/js/dijit/themes/soria/images/dndNoCopy.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/dndNoMove.png b/includes/js/dijit/themes/soria/images/dndNoMove.png deleted file mode 100644 index cb8bd8b..0000000 Binary files a/includes/js/dijit/themes/soria/images/dndNoMove.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/editor.gif b/includes/js/dijit/themes/soria/images/editor.gif deleted file mode 100644 index 1c96329..0000000 Binary files a/includes/js/dijit/themes/soria/images/editor.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/editor_rtl.gif b/includes/js/dijit/themes/soria/images/editor_rtl.gif deleted file mode 100644 index ef04938..0000000 Binary files a/includes/js/dijit/themes/soria/images/editor_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/preciseSliderThumb.gif b/includes/js/dijit/themes/soria/images/preciseSliderThumb.gif deleted file mode 100644 index 53b33e5..0000000 Binary files a/includes/js/dijit/themes/soria/images/preciseSliderThumb.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/preciseSliderThumb.png b/includes/js/dijit/themes/soria/images/preciseSliderThumb.png deleted file mode 100644 index 045bf35..0000000 Binary files a/includes/js/dijit/themes/soria/images/preciseSliderThumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/preciseSliderThumbFocus.gif b/includes/js/dijit/themes/soria/images/preciseSliderThumbFocus.gif deleted file mode 100644 index 8c6f92e..0000000 Binary files a/includes/js/dijit/themes/soria/images/preciseSliderThumbFocus.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/preciseSliderThumbFocus.png b/includes/js/dijit/themes/soria/images/preciseSliderThumbFocus.png deleted file mode 100644 index c235849..0000000 Binary files a/includes/js/dijit/themes/soria/images/preciseSliderThumbFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/progressBarAnim.gif b/includes/js/dijit/themes/soria/images/progressBarAnim.gif deleted file mode 100644 index 73e25e1..0000000 Binary files a/includes/js/dijit/themes/soria/images/progressBarAnim.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/progressBarEmpty.png b/includes/js/dijit/themes/soria/images/progressBarEmpty.png deleted file mode 100644 index 04d81df..0000000 Binary files a/includes/js/dijit/themes/soria/images/progressBarEmpty.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/progressBarFull.png b/includes/js/dijit/themes/soria/images/progressBarFull.png deleted file mode 100644 index bed17b3..0000000 Binary files a/includes/js/dijit/themes/soria/images/progressBarFull.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/sliderEmpty.png b/includes/js/dijit/themes/soria/images/sliderEmpty.png deleted file mode 100644 index 99fbd72..0000000 Binary files a/includes/js/dijit/themes/soria/images/sliderEmpty.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/sliderEmptyVertical.png b/includes/js/dijit/themes/soria/images/sliderEmptyVertical.png deleted file mode 100644 index 2d497e3..0000000 Binary files a/includes/js/dijit/themes/soria/images/sliderEmptyVertical.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/sliderFull.png b/includes/js/dijit/themes/soria/images/sliderFull.png deleted file mode 100644 index 171eb54..0000000 Binary files a/includes/js/dijit/themes/soria/images/sliderFull.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/sliderFullFocus.png b/includes/js/dijit/themes/soria/images/sliderFullFocus.png deleted file mode 100644 index 0956a72..0000000 Binary files a/includes/js/dijit/themes/soria/images/sliderFullFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/sliderFullVertical.png b/includes/js/dijit/themes/soria/images/sliderFullVertical.png deleted file mode 100644 index 35845da..0000000 Binary files a/includes/js/dijit/themes/soria/images/sliderFullVertical.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/sliderFullVerticalFocus.png b/includes/js/dijit/themes/soria/images/sliderFullVerticalFocus.png deleted file mode 100644 index 9b158bb..0000000 Binary files a/includes/js/dijit/themes/soria/images/sliderFullVerticalFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/sliderThumb.png b/includes/js/dijit/themes/soria/images/sliderThumb.png deleted file mode 100644 index b6abbd2..0000000 Binary files a/includes/js/dijit/themes/soria/images/sliderThumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/sliderThumbFocus.gif b/includes/js/dijit/themes/soria/images/sliderThumbFocus.gif deleted file mode 100644 index f8d306f..0000000 Binary files a/includes/js/dijit/themes/soria/images/sliderThumbFocus.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/sliderThumbFocus.png b/includes/js/dijit/themes/soria/images/sliderThumbFocus.png deleted file mode 100644 index 73ee705..0000000 Binary files a/includes/js/dijit/themes/soria/images/sliderThumbFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/splitContainerSizerH-thumb.png b/includes/js/dijit/themes/soria/images/splitContainerSizerH-thumb.png deleted file mode 100644 index 0e8f397..0000000 Binary files a/includes/js/dijit/themes/soria/images/splitContainerSizerH-thumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/splitContainerSizerH.png b/includes/js/dijit/themes/soria/images/splitContainerSizerH.png deleted file mode 100644 index 7cdf79a..0000000 Binary files a/includes/js/dijit/themes/soria/images/splitContainerSizerH.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/splitContainerSizerV-thumb.png b/includes/js/dijit/themes/soria/images/splitContainerSizerV-thumb.png deleted file mode 100644 index 7f12fed..0000000 Binary files a/includes/js/dijit/themes/soria/images/splitContainerSizerV-thumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/splitContainerSizerV.png b/includes/js/dijit/themes/soria/images/splitContainerSizerV.png deleted file mode 100644 index 9ff14d6..0000000 Binary files a/includes/js/dijit/themes/soria/images/splitContainerSizerV.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteArrows.gif b/includes/js/dijit/themes/soria/images/spriteArrows.gif deleted file mode 100644 index fc81207..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteArrows.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteArrows.png b/includes/js/dijit/themes/soria/images/spriteArrows.png deleted file mode 100644 index 73aa700..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteArrows.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteCheckbox.gif b/includes/js/dijit/themes/soria/images/spriteCheckbox.gif deleted file mode 100644 index d2c4ebf..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteCheckbox.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteCheckbox.png b/includes/js/dijit/themes/soria/images/spriteCheckbox.png deleted file mode 100644 index e992330..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteCheckbox.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteDivIcons.gif b/includes/js/dijit/themes/soria/images/spriteDivIcons.gif deleted file mode 100644 index f5c58e4..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteDivIcons.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteDivIcons.png b/includes/js/dijit/themes/soria/images/spriteDivIcons.png deleted file mode 100644 index d76325f..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteDivIcons.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteRadio.gif b/includes/js/dijit/themes/soria/images/spriteRadio.gif deleted file mode 100644 index 8dd6e57..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteRadio.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteRadio.png b/includes/js/dijit/themes/soria/images/spriteRadio.png deleted file mode 100644 index 14c1080..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteRadio.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmall.gif b/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmall.gif deleted file mode 100644 index 795ea84..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmall.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmall.png b/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmall.png deleted file mode 100644 index 10c0d13..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmall.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmallBl.gif b/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmallBl.gif deleted file mode 100644 index 6758181..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmallBl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmallBl.png b/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmallBl.png deleted file mode 100644 index 2c9f51a..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteRoundedIconsSmallBl.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteTree.gif b/includes/js/dijit/themes/soria/images/spriteTree.gif deleted file mode 100644 index e546e28..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteTree.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteTree.png b/includes/js/dijit/themes/soria/images/spriteTree.png deleted file mode 100644 index 33ae07b..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteTree.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteTree_rtl.gif b/includes/js/dijit/themes/soria/images/spriteTree_rtl.gif deleted file mode 100644 index bbcc64b..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteTree_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/spriteTree_rtl.png b/includes/js/dijit/themes/soria/images/spriteTree_rtl.png deleted file mode 100644 index b06afdb..0000000 Binary files a/includes/js/dijit/themes/soria/images/spriteTree_rtl.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabBottomActiveC.gif b/includes/js/dijit/themes/soria/images/tabBottomActiveC.gif deleted file mode 100644 index fb61df9..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabBottomActiveC.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabBottomActiveSpriteLR.gif b/includes/js/dijit/themes/soria/images/tabBottomActiveSpriteLR.gif deleted file mode 100644 index 7c2ed86..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabBottomActiveSpriteLR.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabBottomEnabledC.gif b/includes/js/dijit/themes/soria/images/tabBottomEnabledC.gif deleted file mode 100644 index 0a5f0f8..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabBottomEnabledC.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabBottomEnabledSpriteLR.gif b/includes/js/dijit/themes/soria/images/tabBottomEnabledSpriteLR.gif deleted file mode 100644 index a77da39..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabBottomEnabledSpriteLR.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabBottomHoverC.gif b/includes/js/dijit/themes/soria/images/tabBottomHoverC.gif deleted file mode 100644 index 47b9da2..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabBottomHoverC.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabBottomHoverSpriteLR.gif b/includes/js/dijit/themes/soria/images/tabBottomHoverSpriteLR.gif deleted file mode 100644 index 59f3edd..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabBottomHoverSpriteLR.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabContainerSprite.gif b/includes/js/dijit/themes/soria/images/tabContainerSprite.gif deleted file mode 100644 index f0b3842..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabContainerSprite.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabLeftChecked.gif b/includes/js/dijit/themes/soria/images/tabLeftChecked.gif deleted file mode 100644 index 3e7475a..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabLeftChecked.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabRightChecked.gif b/includes/js/dijit/themes/soria/images/tabRightChecked.gif deleted file mode 100644 index ec4b659..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabRightChecked.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabStripe.gif b/includes/js/dijit/themes/soria/images/tabStripe.gif deleted file mode 100644 index 51a2d40..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabStripe.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabStripeBottom.gif b/includes/js/dijit/themes/soria/images/tabStripeBottom.gif deleted file mode 100644 index 41b1ac0..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabStripeBottom.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabStripeLeft.gif b/includes/js/dijit/themes/soria/images/tabStripeLeft.gif deleted file mode 100644 index b2214fa..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabStripeLeft.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tabStripeRight.gif b/includes/js/dijit/themes/soria/images/tabStripeRight.gif deleted file mode 100644 index bff3115..0000000 Binary files a/includes/js/dijit/themes/soria/images/tabStripeRight.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/titleBar.png b/includes/js/dijit/themes/soria/images/titleBar.png deleted file mode 100644 index cbf98da..0000000 Binary files a/includes/js/dijit/themes/soria/images/titleBar.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/titleBarActive.png b/includes/js/dijit/themes/soria/images/titleBarActive.png deleted file mode 100644 index 92c7431..0000000 Binary files a/includes/js/dijit/themes/soria/images/titleBarActive.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tooltipConnectorDown.gif b/includes/js/dijit/themes/soria/images/tooltipConnectorDown.gif deleted file mode 100644 index 9c38495..0000000 Binary files a/includes/js/dijit/themes/soria/images/tooltipConnectorDown.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tooltipConnectorDown.png b/includes/js/dijit/themes/soria/images/tooltipConnectorDown.png deleted file mode 100644 index d75af71..0000000 Binary files a/includes/js/dijit/themes/soria/images/tooltipConnectorDown.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tooltipConnectorLeft.gif b/includes/js/dijit/themes/soria/images/tooltipConnectorLeft.gif deleted file mode 100644 index fc947e0..0000000 Binary files a/includes/js/dijit/themes/soria/images/tooltipConnectorLeft.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tooltipConnectorLeft.png b/includes/js/dijit/themes/soria/images/tooltipConnectorLeft.png deleted file mode 100644 index f3de66a..0000000 Binary files a/includes/js/dijit/themes/soria/images/tooltipConnectorLeft.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tooltipConnectorRight.gif b/includes/js/dijit/themes/soria/images/tooltipConnectorRight.gif deleted file mode 100644 index b0e8097..0000000 Binary files a/includes/js/dijit/themes/soria/images/tooltipConnectorRight.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tooltipConnectorRight.png b/includes/js/dijit/themes/soria/images/tooltipConnectorRight.png deleted file mode 100644 index ed6efc4..0000000 Binary files a/includes/js/dijit/themes/soria/images/tooltipConnectorRight.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tooltipConnectorUp.gif b/includes/js/dijit/themes/soria/images/tooltipConnectorUp.gif deleted file mode 100644 index 54bcf65..0000000 Binary files a/includes/js/dijit/themes/soria/images/tooltipConnectorUp.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/tooltipConnectorUp.png b/includes/js/dijit/themes/soria/images/tooltipConnectorUp.png deleted file mode 100644 index 7f7a5d8..0000000 Binary files a/includes/js/dijit/themes/soria/images/tooltipConnectorUp.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/treeExpand_loading.gif b/includes/js/dijit/themes/soria/images/treeExpand_loading.gif deleted file mode 100644 index db9ddd0..0000000 Binary files a/includes/js/dijit/themes/soria/images/treeExpand_loading.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/treeI.gif b/includes/js/dijit/themes/soria/images/treeI.gif deleted file mode 100644 index 6f669e2..0000000 Binary files a/includes/js/dijit/themes/soria/images/treeI.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/treeI_half.gif b/includes/js/dijit/themes/soria/images/treeI_half.gif deleted file mode 100644 index e5fd015..0000000 Binary files a/includes/js/dijit/themes/soria/images/treeI_half.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/treeI_half_rtl.gif b/includes/js/dijit/themes/soria/images/treeI_half_rtl.gif deleted file mode 100644 index 44ad021..0000000 Binary files a/includes/js/dijit/themes/soria/images/treeI_half_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/treeI_rtl.gif b/includes/js/dijit/themes/soria/images/treeI_rtl.gif deleted file mode 100644 index 0d32a2f..0000000 Binary files a/includes/js/dijit/themes/soria/images/treeI_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/validationInputBg.gif b/includes/js/dijit/themes/soria/images/validationInputBg.gif deleted file mode 100644 index c28475c..0000000 Binary files a/includes/js/dijit/themes/soria/images/validationInputBg.gif and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/validationInputBg.png b/includes/js/dijit/themes/soria/images/validationInputBg.png deleted file mode 100644 index f3039f9..0000000 Binary files a/includes/js/dijit/themes/soria/images/validationInputBg.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/images/warning.png b/includes/js/dijit/themes/soria/images/warning.png deleted file mode 100644 index c52f83d..0000000 Binary files a/includes/js/dijit/themes/soria/images/warning.png and /dev/null differ diff --git a/includes/js/dijit/themes/soria/layout/AccordionContainer.css b/includes/js/dijit/themes/soria/layout/AccordionContainer.css deleted file mode 100644 index 5824f35..0000000 --- a/includes/js/dijit/themes/soria/layout/AccordionContainer.css +++ /dev/null @@ -1,39 +0,0 @@ - - -.soria .dijitAccordionContainer { - border-color: #b1badf; -} -.soria .dijitAccordionPane { - background-color: #e7e7e7; - font-size: 0.9em; - font-weight: bold; - color: #373941; -} -.soria .dijitAccordionTitle { - background:#fafafa url("../images/titleBar.png") repeat-x top left; - border-top: 1px solid #b9bbdd; - padding: 5px 4px 6px 8px; - cursor:pointer; -} -.soria .dijitAccordionTitle-selected { - background: #f9f9f9 url("../images/accordionItemActive.png") top repeat-x; - font-weight: bold; - border-top: 1px solid #b9bbdd; - border-bottom: 1px solid #b9bbdd; - padding: 5px 4px 5px 8px; - cursor: default; - color: #243C5F; -} -.soria .dijitAccordionArrow { - background:url("../images/spriteRoundedIconsSmallBl.gif") no-repeat; - width:15px; - height:15px; - margin-top:-1px; -} -.soria .dijitAccordionTitle-selected .dijitAccordionArrow { - background:url("../images/spriteRoundedIconsSmallBl.gif") no-repeat -15px top; - margin-top:-1px; -} -.soria .dijitAccordionBody { - background: #fff; -} diff --git a/includes/js/dijit/themes/soria/layout/AccordionContainer.css.commented.css b/includes/js/dijit/themes/soria/layout/AccordionContainer.css.commented.css deleted file mode 100644 index fb299df..0000000 --- a/includes/js/dijit/themes/soria/layout/AccordionContainer.css.commented.css +++ /dev/null @@ -1,48 +0,0 @@ -/** - * dijit.layout.Accordioncontainer - * - */ - -.soria .dijitAccordionContainer { - border-color: #b1badf; -} - -.soria .dijitAccordionPane { - background-color: #e7e7e7; - font-size: 0.9em; - font-weight: bold; - color: #373941; -} - -.soria .dijitAccordionTitle { - background:#fafafa url("../images/titleBar.png") repeat-x top left; - border-top: 1px solid #b9bbdd; - padding: 5px 4px 6px 8px; - cursor:pointer; -} - -.soria .dijitAccordionTitle-selected { - background: #f9f9f9 url("../images/accordionItemActive.png") top repeat-x; - font-weight: bold; - border-top: 1px solid #b9bbdd; - border-bottom: 1px solid #b9bbdd; - padding: 5px 4px 5px 8px; - cursor: default; - color: #243C5F; -} - -.soria .dijitAccordionArrow { - background:url("../images/spriteRoundedIconsSmallBl.gif") no-repeat; - width:15px; - height:15px; - margin-top:-1px; -} - -.soria .dijitAccordionTitle-selected .dijitAccordionArrow { - background:url("../images/spriteRoundedIconsSmallBl.gif") no-repeat -15px top; - margin-top:-1px; -} - -.soria .dijitAccordionBody { - background: #fff; -} diff --git a/includes/js/dijit/themes/soria/layout/AccordionContainer_rtl.css b/includes/js/dijit/themes/soria/layout/AccordionContainer_rtl.css deleted file mode 100644 index 4ceda54..0000000 --- a/includes/js/dijit/themes/soria/layout/AccordionContainer_rtl.css +++ /dev/null @@ -1,3 +0,0 @@ -.dijitRtl .dijitAccordionArrow { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/soria/layout/AccordionContainer_rtl.css.commented.css b/includes/js/dijit/themes/soria/layout/AccordionContainer_rtl.css.commented.css deleted file mode 100644 index 4ceda54..0000000 --- a/includes/js/dijit/themes/soria/layout/AccordionContainer_rtl.css.commented.css +++ /dev/null @@ -1,3 +0,0 @@ -.dijitRtl .dijitAccordionArrow { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/soria/layout/BorderContainer.css b/includes/js/dijit/themes/soria/layout/BorderContainer.css deleted file mode 100644 index 84883ba..0000000 --- a/includes/js/dijit/themes/soria/layout/BorderContainer.css +++ /dev/null @@ -1,27 +0,0 @@ - -.soria .dijitSplitterH { - background:url("../images/splitContainerSizerH.png") repeat-x #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - height:5px; -} -.soria .dijitSplitterH .dijitSplitterThumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat; - top:1px; - width:19px; - height:2px; -} -.soria .dijitSplitterV { - background:url("../images/splitContainerSizerV.png") repeat-y #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - width:5px; -} -.soria .dijitSplitterV .dijitSplitterThumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat; - left:1px; - height:19px; - width:5px; -} diff --git a/includes/js/dijit/themes/soria/layout/BorderContainer.css.commented.css b/includes/js/dijit/themes/soria/layout/BorderContainer.css.commented.css deleted file mode 100644 index b21c545..0000000 --- a/includes/js/dijit/themes/soria/layout/BorderContainer.css.commented.css +++ /dev/null @@ -1,34 +0,0 @@ -/** - * dijit.layout.BorderContainer - * - */ - -.soria .dijitSplitterH { - background:url("../images/splitContainerSizerH.png") repeat-x #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - height:5px; -} - -.soria .dijitSplitterH .dijitSplitterThumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat; - top:1px; - width:19px; - height:2px; -} - -.soria .dijitSplitterV { - background:url("../images/splitContainerSizerV.png") repeat-y #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - width:5px; -} - -.soria .dijitSplitterV .dijitSplitterThumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat; - left:1px; - height:19px; - width:5px; -} diff --git a/includes/js/dijit/themes/soria/layout/SplitContainer.css b/includes/js/dijit/themes/soria/layout/SplitContainer.css deleted file mode 100644 index 88b0de2..0000000 --- a/includes/js/dijit/themes/soria/layout/SplitContainer.css +++ /dev/null @@ -1,27 +0,0 @@ - -.soria .dijitSplitContainerSizerH { - background:url("../images/splitContainerSizerV.png") repeat-y #cddef4; - border:0; - border-left:0px solid #436496; - border-right:0px solid #436496; - width:5px; -} -.soria .dijitSplitContainerSizerH .thumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat #ccc; - left:1px; - width:2px; - height:19px; -} -.soria .dijitSplitContainerSizerV { - background:url("../images/splitContainerSizerH.png") repeat-x #cddef4; - border:0; - border-top:0px solid #436496; - border-bottom:0px solid #436496; - height:2px; -} -.soria .dijitSplitContainerSizerV .thumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat #ccc; - top:1px; - width:19px; - height:5px; -} diff --git a/includes/js/dijit/themes/soria/layout/SplitContainer.css.commented.css b/includes/js/dijit/themes/soria/layout/SplitContainer.css.commented.css deleted file mode 100644 index 743a99b..0000000 --- a/includes/js/dijit/themes/soria/layout/SplitContainer.css.commented.css +++ /dev/null @@ -1,34 +0,0 @@ -/** - * dijit.layout.SplitContainer - * - */ - -.soria .dijitSplitContainerSizerH { - background:url("../images/splitContainerSizerV.png") repeat-y #cddef4; - border:0; - border-left:0px solid #436496; - border-right:0px solid #436496; - width:5px; -} - -.soria .dijitSplitContainerSizerH .thumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat #ccc; - left:1px; - width:2px; - height:19px; -} - -.soria .dijitSplitContainerSizerV { - background:url("../images/splitContainerSizerH.png") repeat-x #cddef4; - border:0; - border-top:0px solid #436496; - border-bottom:0px solid #436496; - height:2px; -} - -.soria .dijitSplitContainerSizerV .thumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat #ccc; - top:1px; - width:19px; - height:5px; -} diff --git a/includes/js/dijit/themes/soria/layout/TabContainer.css b/includes/js/dijit/themes/soria/layout/TabContainer.css deleted file mode 100644 index c1a6858..0000000 --- a/includes/js/dijit/themes/soria/layout/TabContainer.css +++ /dev/null @@ -1,281 +0,0 @@ - - -.soria .dijitTabPaneWrapper { - - background:#fff; - border:1px solid #b1badf; -} -.soria .dijitTab { - line-height:normal; - margin-right:3px; - padding:0px; - background: url("../images/tabContainerSprite.gif") no-repeat 0 -300px; - font-size: 0.9em; - font-weight: bold; - color: #373941; - margin-bottom: -1px; -} -.soria dijitTabChecked { - margin-bottom: -2px; -} -.soria .dijitTabInnerDiv .dijitTabContent { - padding:8px 10px 4px 10px; - background: url("../images/tabContainerSprite.gif") repeat-x 0 -350px; -} -.soria .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabContainerSprite.gif") no-repeat; - background-position: right -400px; - border: none; -} -.soria .dijitTabHover, -.soria .dijitTabCloseButtonHover { - color: #243C5F; - background: url("../images/tabContainerSprite.gif") no-repeat 0px -150px; -} -.soria .dijitTabHover .dijitTabInnerDiv, -.soria .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -250px; - border: none; -} -.soria .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.soria .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabContainerSprite.gif") repeat-x 0 -200px; - padding:8px 10px 4px 10px; -} -.soria .dijitTabChecked, -.soria .dijitTabCloseButtonChecked -{ - - background: url("../images/tabContainerSprite.gif") no-repeat 0px -0px; -} -.soria .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabContainerSprite.gif") no-repeat right -100px; - border: none; -} -.soria .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabContainerSprite.gif") repeat-x 0 -50px; - padding:8px 10px 5px 10px; - color: #243C5F !important; -} -.soria .dijitTabLabels-top { - border-left: 1px solid #b1badf; - border-top: 1px solid #b1badf; - border-right: 1px solid #b1badf; - padding-top: 2px; - padding-left: 3px; - padding-right: 3px; - background: #F0F4FC url("../images/tabStripe.gif") repeat-x left bottom; - padding-bottom: 4px; -} -.soria .dijitAlignLeft .dijitTab, -.soria .dijitAlignRight .dijitTab { - margin-right:0px; - margin-bottom:5px; -} -.soria .dijitAlignTop .dijitTabChecked, -.soria .dijitAlignTop .dijitTabCloseButtonChecked -{ - border-bottom-color:white; - vertical-align:bottom; -} -.soria .dijitAlignBottom .dijitTabChecked, -.soria .dijitAlignBottom .dijitTabCloseButtonChecked -{ - border-top-color:white; - -} -.soria .dijitAlignLeft .dijitTabChecked, -.soria .dijitAlignLeft .dijitTabCloseButtonChecked -{ - border-right-color:white; -} -.soria .dijitAlignRight .dijitTabChecked, -.soria .dijitAlignRight .dijitTabCloseButtonChecked -{ - border-left-color:white; -} -.soria .dijitTabLabels-bottom { - padding-bottom: 2px; - padding-left: 3px; - background-color: #f0f4fc; - border-left: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-right: 1px solid #b1badf; - background: #F0F4FC url("../images/tabStripeBottom.gif") repeat-x left top; - padding-top: 3px; - padding-right: 3px; -} -.soria .dijitAlignBottom .dijitTab { - line-height:normal; - margin-right:3px; - padding:0px; - background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom left; - font-size: 0.9em; - font-weight: bold; - color: #373941; - margin-bottom: 0px; - margin-top: 1px; -} -.soria .dijitAlignBottom .dijitTabChecked { - margin-bottom: 0px; - margin-top: 0px !important; -} -.soria .dijitAlignBottom .dijitTabInnerDiv .dijitTabContent { - padding:6px 10px 6px 10px; - background: url("../images/tabBottomEnabledC.gif") repeat-x bottom left; -} -.soria .dijitAlignBottom .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom right; - border: none; -} -.soria .dijitAlignBottom .dijitTabHover, -.soria .dijitAlignBottom .dijitTabCloseButtonHover { - color: #243C5F; - background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom left; -} -.soria .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv, -.soria .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom right; - border: none; -} -.soria .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.soria .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabBottomHoverC.gif") repeat-x bottom left; - padding:6px 10px 6px 10px; -} -.dj_ie6 .soria .dijitAlignBottom .dijitTabHover, -.dj_ie6 .soria .dijitAlignBottom .dijitTabCloseButtonHover { - background-image: url("../images/tabHover.gif"); -} -.soria .dijitAlignBottom .dijitTabChecked, -.soria .dijitAlignBottom .dijitTabCloseButtonChecked -{ - - background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom left; -} -.soria .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom right; - border: none; -} -.soria .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabBottomActiveC.gif") repeat-x bottom left; - padding:7px 10px 6px 10px; -} -.soria .dijitAlignLeft .dijitTab { - margin-right: 1px !important; -} -.soria .dijitAlignLeft .dijitTabChecked { - margin-right: 0px !important; -} -.soria .dijitAlignLeft .dijitTabChecked .dijitTabInnerDiv { - background: url("../images/tabLeftChecked.gif") no-repeat right top !important; - padding-left: 10px; - border-bottom: 1px solid #8ba0bd !important; -} -.soria .dijitAlignLeft .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -350px; - padding-left: 10px; - border-bottom: 1px solid #b9bbdd; -} -.soria .dijitAlignLeft .dijitTabHover .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -200px; - padding-left: 10px; - border-bottom: 1px solid #b9bbdd; -} -.soria .dijitTabLabels-left-h { - padding-left: 2px; - padding-top: 3px; - background-color: #f0f4fc; - border-left: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #F0F4FC url("../images/tabStripeLeft.gif") repeat-y right top; - padding-right: 3px; -} -.soria .dijitAlignLeft .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} -.soria .dijitTabLabels-right-h { - padding-right: 2px; - padding-top: 3px; - background-color: #f0f4fc; - border-right: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #F0F4FC url("../images/tabStripeRight.gif") repeat-y left top; - padding-left: 3px; -} -.soria .dijitAlignRight .dijitTab { - margin-left: 1px; -} -.soria .dijitAlignRight .dijitTabChecked { - margin-left: 0px; -} -.soria .dijitAlignRight .dijitTabChecked { - background: url("../images/tabRightChecked.gif") no-repeat left top !important; -} -.soria .dijitAlignRight .dijitTab { - background: url("../images/tabContainerSprite.gif") no-repeat left -350px; -} -.soria .dijitAlignRight .dijitTabHover .dijitTab { - background: url("../images/tabContainerSprite.gif") no-repeat left -200px; -} -.soria .dijitAlignRight .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} -.soria .dijitAlignRight .dijitTabChecked .dijitTabInnerDiv { - border-bottom: 1px solid #8ba0bd !important; -} -.soria .dijitAlignRight .dijitTabInnerDiv { - border-bottom: 1px solid #b9bbdd; -} -.soria .dijitAlignRight .dijitTabHover .dijitTabInnerDiv { - border-bottom: 1px solid #b9bbdd; -} -.soria .dijitTab .dijitClosable { - position: relative; - padding-left: 10px !important; - padding-right: 20px !important; -} -.soria .dijitTab img { - padding: 0; - margin: 0; -} -.soria .dijitTab .dijitClosable .closeImage { - position:absolute; - top: 5px; - right: 5px; - height: 15px; - width: 15px; - padding: 0; - margin: 0; - background: url("../images/spriteRoundedIconsSmallBl.png") no-repeat -60px top; -} -.dj_ie6 .dijitTab .dijitClosable .closeImage { - background:url("../images/spriteRoundedIconsSmallBl.gif") no-repeat -60px top; -} -.dj_ie6 .soria .dijitTabCloseButton .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmallBl.gif") no-repeat -60px top; -} -.soria .dijitTabHover .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmallBl.png") no-repeat -60px -15px !important; -} -.dj_ie6 .soria .dijitTabHover .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmallBl.gif") no-repeat -60px -15px !important; -} -.dj_ie6 .soria .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - left:-20px; -} -.soria .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - top: auto; - bottom: 7px; - right: 3px; -} -.soria .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - top: 7px; - left: 3px; -} diff --git a/includes/js/dijit/themes/soria/layout/TabContainer.css.commented.css b/includes/js/dijit/themes/soria/layout/TabContainer.css.commented.css deleted file mode 100644 index c559cfc..0000000 --- a/includes/js/dijit/themes/soria/layout/TabContainer.css.commented.css +++ /dev/null @@ -1,372 +0,0 @@ -/** - * dijit.layout.TabContainer - * - * To style TabContainer with rounded corners - * you can use these classes: .dijitTab (left), .dijitTabContent (center), dijitTabInnerDiv (right) - * For tabs aligned to top you can style a stripe div right underneath the tabs using .dijitTabStripe - */ - -/* Classes for all types of tabs (top/bottom/left/right) */ - -.soria .dijitTabPaneWrapper { /* Container for tab content */ - /* - overflow: hidden; - */ - background:#fff; - border:1px solid #b1badf; -} - -.soria .dijitTab { - line-height:normal; - margin-right:3px; /* space between one tab and the next in top/bottom mode */ - padding:0px; - background: url("../images/tabContainerSprite.gif") no-repeat 0 -300px; - font-size: 0.9em; - font-weight: bold; - color: #373941; - margin-bottom: -1px; -} - -.soria dijitTabChecked { - margin-bottom: -2px; -} - -.soria .dijitTabInnerDiv .dijitTabContent { - padding:8px 10px 4px 10px; - background: url("../images/tabContainerSprite.gif") repeat-x 0 -350px; -} - -.soria .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabContainerSprite.gif") no-repeat; - background-position: right -400px; - border: none; -} - -.soria .dijitTabHover, -.soria .dijitTabCloseButtonHover { - color: #243C5F; - background: url("../images/tabContainerSprite.gif") no-repeat 0px -150px; -} - -.soria .dijitTabHover .dijitTabInnerDiv, -.soria .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -250px; - border: none; -} - -.soria .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.soria .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabContainerSprite.gif") repeat-x 0 -200px; - padding:8px 10px 4px 10px; -} - -.soria .dijitTabChecked, -.soria .dijitTabCloseButtonChecked -{ - /* the selected tab (with or without hover) */ - background: url("../images/tabContainerSprite.gif") no-repeat 0px -0px; -} - -.soria .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabContainerSprite.gif") no-repeat right -100px; - border: none; -} - -.soria .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabContainerSprite.gif") repeat-x 0 -50px; - padding:8px 10px 5px 10px; - color: #243C5F !important; -} - -/* top specific classes */ - -.soria .dijitTabLabels-top { - border-left: 1px solid #b1badf; - border-top: 1px solid #b1badf; - border-right: 1px solid #b1badf; - padding-top: 2px; - padding-left: 3px; - padding-right: 3px; - background: #F0F4FC url("../images/tabStripe.gif") repeat-x left bottom; - padding-bottom: 4px; -} -/* -.soria .dijitAlignTop .dijitTabStripe { - background: url("../images/tabStripe.gif") repeat-x left bottom; - padding-left: 2px; - padding-top: 0px; - height: 4px; - clear: both; - font-size: 1px; - margin-left: -3px; -} -*/ - -.soria .dijitAlignLeft .dijitTab, -.soria .dijitAlignRight .dijitTab { - margin-right:0px; - margin-bottom:5px; /* space between one tab and the next in left/right mode */ -} - -/* make the active tab white on the side next to the content pane */ -.soria .dijitAlignTop .dijitTabChecked, -.soria .dijitAlignTop .dijitTabCloseButtonChecked -{ - border-bottom-color:white; - vertical-align:bottom; -} - -.soria .dijitAlignBottom .dijitTabChecked, -.soria .dijitAlignBottom .dijitTabCloseButtonChecked -{ - border-top-color:white; - /*-moz-border-radius:2px 2px 0px 0px; eliminate some border detritrus on moz */ -} - -.soria .dijitAlignLeft .dijitTabChecked, -.soria .dijitAlignLeft .dijitTabCloseButtonChecked -{ - border-right-color:white; -} - -.soria .dijitAlignRight .dijitTabChecked, -.soria .dijitAlignRight .dijitTabCloseButtonChecked -{ - border-left-color:white; -} - -/* bottom specific classes */ - -.soria .dijitTabLabels-bottom { - padding-bottom: 2px; - padding-left: 3px; - background-color: #f0f4fc; - border-left: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-right: 1px solid #b1badf; - background: #F0F4FC url("../images/tabStripeBottom.gif") repeat-x left top; - padding-top: 3px; - padding-right: 3px; -} -/* -.soria .dijitAlignBottom .dijitTabStripe { - background: url("../images/tabStripe.gif") repeat-x left bottom; - padding-left: 2px; - padding-top: 0px; - height: 4px; - clear: both; - font-size: 1px; - margin-left: -3px; -} -*/ -.soria .dijitAlignBottom .dijitTab { - line-height:normal; - margin-right:3px; /* space between one tab and the next in top/bottom mode */ - padding:0px; - background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom left; - font-size: 0.9em; - font-weight: bold; - color: #373941; - margin-bottom: 0px; - margin-top: 1px; -} - -.soria .dijitAlignBottom .dijitTabChecked { - margin-bottom: 0px; - margin-top: 0px !important; -} - -.soria .dijitAlignBottom .dijitTabInnerDiv .dijitTabContent { - padding:6px 10px 6px 10px; - background: url("../images/tabBottomEnabledC.gif") repeat-x bottom left; -} - -.soria .dijitAlignBottom .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom right; - border: none; -} - -.soria .dijitAlignBottom .dijitTabHover, -.soria .dijitAlignBottom .dijitTabCloseButtonHover { - color: #243C5F; - background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom left; -} - -.soria .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv, -.soria .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom right; - border: none; -} - -.soria .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.soria .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabBottomHoverC.gif") repeat-x bottom left; - padding:6px 10px 6px 10px; -} - -.dj_ie6 .soria .dijitAlignBottom .dijitTabHover, -.dj_ie6 .soria .dijitAlignBottom .dijitTabCloseButtonHover { - background-image: url("../images/tabHover.gif"); -} - -.soria .dijitAlignBottom .dijitTabChecked, -.soria .dijitAlignBottom .dijitTabCloseButtonChecked -{ - /* the selected tab (with or without hover) */ - background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom left; -} - -.soria .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom right; - border: none; -} - -.soria .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url("../images/tabBottomActiveC.gif") repeat-x bottom left; - padding:7px 10px 6px 10px; -} - -/* left specific classes */ -.soria .dijitAlignLeft .dijitTab { - margin-right: 1px !important; -} - -.soria .dijitAlignLeft .dijitTabChecked { - margin-right: 0px !important; -} - -.soria .dijitAlignLeft .dijitTabChecked .dijitTabInnerDiv { - background: url("../images/tabLeftChecked.gif") no-repeat right top !important; - padding-left: 10px; - border-bottom: 1px solid #8ba0bd !important; -} - -.soria .dijitAlignLeft .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -350px; - padding-left: 10px; - border-bottom: 1px solid #b9bbdd; -} -.soria .dijitAlignLeft .dijitTabHover .dijitTabInnerDiv { - background: url("../images/tabContainerSprite.gif") no-repeat right -200px; - padding-left: 10px; - border-bottom: 1px solid #b9bbdd; -} - -.soria .dijitTabLabels-left-h { - padding-left: 2px; - padding-top: 3px; - background-color: #f0f4fc; - border-left: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #F0F4FC url("../images/tabStripeLeft.gif") repeat-y right top; - padding-right: 3px; -} - -.soria .dijitAlignLeft .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} - -/* right specific classes */ -.soria .dijitTabLabels-right-h { - padding-right: 2px; - padding-top: 3px; - background-color: #f0f4fc; - border-right: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #F0F4FC url("../images/tabStripeRight.gif") repeat-y left top; - padding-left: 3px; -} - -.soria .dijitAlignRight .dijitTab { - margin-left: 1px; -} - -.soria .dijitAlignRight .dijitTabChecked { - margin-left: 0px; -} - -.soria .dijitAlignRight .dijitTabChecked { - background: url("../images/tabRightChecked.gif") no-repeat left top !important; -} - -.soria .dijitAlignRight .dijitTab { - background: url("../images/tabContainerSprite.gif") no-repeat left -350px; -} -.soria .dijitAlignRight .dijitTabHover .dijitTab { - background: url("../images/tabContainerSprite.gif") no-repeat left -200px; -} -.soria .dijitAlignRight .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} - -.soria .dijitAlignRight .dijitTabChecked .dijitTabInnerDiv { - border-bottom: 1px solid #8ba0bd !important; -} - -.soria .dijitAlignRight .dijitTabInnerDiv { - border-bottom: 1px solid #b9bbdd; -} -.soria .dijitAlignRight .dijitTabHover .dijitTabInnerDiv { - border-bottom: 1px solid #b9bbdd; -} - -/* make space for a positioned close button */ -.soria .dijitTab .dijitClosable { - position: relative; - padding-left: 10px !important; - padding-right: 20px !important; -} - -.soria .dijitTab img { - padding: 0; - margin: 0; -} - -.soria .dijitTab .dijitClosable .closeImage { - position:absolute; - top: 5px; - right: 5px; - height: 15px; - width: 15px; - padding: 0; - margin: 0; - background: url("../images/spriteRoundedIconsSmallBl.png") no-repeat -60px top; -} -.dj_ie6 .dijitTab .dijitClosable .closeImage { - background:url("../images/spriteRoundedIconsSmallBl.gif") no-repeat -60px top; -} -.dj_ie6 .soria .dijitTabCloseButton .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmallBl.gif") no-repeat -60px top; -} - -.soria .dijitTabHover .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmallBl.png") no-repeat -60px -15px !important; -} -.dj_ie6 .soria .dijitTabHover .dijitClosable .closeImage { - background: url("../images/spriteRoundedIconsSmallBl.gif") no-repeat -60px -15px !important; -} - -/* correct for IE6. - We cant force hasLayout as that blows out the shrink wrapped tabs - ..so we shim in the closeImage position properties instead -*/ -.dj_ie6 .soria .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - left:-20px; -} - -.soria .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - top: auto; - bottom: 7px; - right: 3px; -} - -.soria .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - top: 7px; - left: 3px; -} diff --git a/includes/js/dijit/themes/soria/layout/TabContainer_rtl.css b/includes/js/dijit/themes/soria/layout/TabContainer_rtl.css deleted file mode 100644 index 1f498ce..0000000 --- a/includes/js/dijit/themes/soria/layout/TabContainer_rtl.css +++ /dev/null @@ -1,55 +0,0 @@ - -.dijitRtl .dijitTab { - margin-right:0; - margin-left:3px; -} -.dijitRtl .dijitTab .dijitTabInnerDiv { - border-left:none; -} -.dijitRtl .dijitTab .dijitClosable { - padding: 0 10px 0 20px; -} -.dijitRtl .dijitTab .closeImage { - position:static; -} -.dj_gecko .dijitTab .closeImage { - position:relative; - float:none; - padding:0; -} -.dijitRtl .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; - background-position: -60px top; -} -.dj_ie .dijitRtl .dijitTab .dijitClosable .closeImage { - width:12px !important; -} -.dijitRtl .dijitAlignLeft .dijitTab, -.dijitRtl .dijitAlignRight .dijitTab { - margin-left:0px; -} -.dijitRtl .dijitAlignBottom .dijitTab { - margin-right:0; - margin-left:3px; -} -.dijitRtl .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitTabInnerDiv { - padding-left:10px; - padding-right:20px; -} -.dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:20px; - padding-right:10px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitClosable .closeImage { - left:auto; - right:3px; -} -.dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} diff --git a/includes/js/dijit/themes/soria/layout/TabContainer_rtl.css.commented.css b/includes/js/dijit/themes/soria/layout/TabContainer_rtl.css.commented.css deleted file mode 100644 index d0b6c84..0000000 --- a/includes/js/dijit/themes/soria/layout/TabContainer_rtl.css.commented.css +++ /dev/null @@ -1,69 +0,0 @@ -/* TabContainer */ - -.dijitRtl .dijitTab { - margin-right:0; - margin-left:3px; /* space between one tab and the next in top/bottom mode */ -} - -.dijitRtl .dijitTab .dijitTabInnerDiv { - border-left:none; -} - -.dijitRtl .dijitTab .dijitClosable { - padding: 0 10px 0 20px; -} - -.dijitRtl .dijitTab .closeImage { - position:static; -} - -.dj_gecko .dijitTab .closeImage { - position:relative; - float:none; - padding:0; -} - -.dijitRtl .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; - background-position: -60px top; -} - -.dj_ie .dijitRtl .dijitTab .dijitClosable .closeImage { - width:12px !important; -} - -.dijitRtl .dijitAlignLeft .dijitTab, -.dijitRtl .dijitAlignRight .dijitTab { - margin-left:0px; -} - -.dijitRtl .dijitAlignBottom .dijitTab { - margin-right:0; - margin-left:3px; /* space between one tab and the next in top/bottom mode */ -} - -.dijitRtl .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} - -.dijitRtl .dijitAlignRight .dijitTab .dijitTabInnerDiv { - padding-left:10px; - padding-right:20px; -} - -.dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:20px; - padding-right:10px; -} - -.dijitRtl .dijitAlignRight .dijitTab .dijitClosable .closeImage { - left:auto; - right:3px; -} - -.dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} diff --git a/includes/js/dijit/themes/soria/soria.css b/includes/js/dijit/themes/soria/soria.css deleted file mode 100644 index f965241..0000000 --- a/includes/js/dijit/themes/soria/soria.css +++ /dev/null @@ -1,1386 +0,0 @@ - -@import url("../dijit.css"); -.soria .dijitSliderDisabled *, -.soria .dijitDisabledClickableRegion, -.soria .dijitSpinnerDisabled *, -.soria .dijitButtonDisabled *, -.soria .dijitDropDownButtonDisabled *, -.soria .dijitComboButtonDisabled *, -.soria .dijitComboBoxDisabled * -{ - cursor: not-allowed !important; -} -.soria .dojoDndItemBefore { - border-top: 2px solid #369; -} -.soria .dojoDndItemAfter { - border-bottom: 2px solid #369; -} -.soria .dojoDndItemOver { - cursor:pointer; -} -.soria table.dojoDndAvatar { -moz-border-radius: 0; border: 1px solid #ccc; border-collapse: collapse; background-color: #fff; font-size: 75%; color: black;} -.soria .dojoDndAvatar td { border: none; } -.soria .dojoDndAvatar tr { border: none; } -.soria .dojoDndAvatarHeader td { height: 20px; padding: 0 0 0 21px; } -.soria .dojoDndAvatarItem td { padding: 2px;} -.soria.dojoDndMove .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoMove.png); background-repeat: no-repeat; background-position: 2px center;} -.soria.dojoDndCopy .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoCopy.png); background-repeat: no-repeat; background-position: 2px center;} -.soria.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndMove.png); background-repeat: no-repeat; background-position: 2px center;} -.soria.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndCopy.png); background-repeat: no-repeat; background-position: 2px center;} - - -.soria .dijitTabPaneWrapper { - - background:#fff; - border:1px solid #b1badf; -} -.soria .dijitTab { - line-height:normal; - margin-right:3px; - padding:0px; - background: url(images/tabContainerSprite.gif) no-repeat 0 -300px; - font-size: 0.9em; - font-weight: bold; - color: #373941; - margin-bottom: -1px; -} -.soria dijitTabChecked { - margin-bottom: -2px; -} -.soria .dijitTabInnerDiv .dijitTabContent { - padding:8px 10px 4px 10px; - background: url(images/tabContainerSprite.gif) repeat-x 0 -350px; -} -.soria .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url(images/tabContainerSprite.gif) no-repeat; - background-position: right -400px; - border: none; -} -.soria .dijitTabHover, -.soria .dijitTabCloseButtonHover { - color: #243C5F; - background: url(images/tabContainerSprite.gif) no-repeat 0px -150px; -} -.soria .dijitTabHover .dijitTabInnerDiv, -.soria .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url(images/tabContainerSprite.gif) no-repeat right -250px; - border: none; -} -.soria .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.soria .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url(images/tabContainerSprite.gif) repeat-x 0 -200px; - padding:8px 10px 4px 10px; -} -.soria .dijitTabChecked, -.soria .dijitTabCloseButtonChecked -{ - - background: url(images/tabContainerSprite.gif) no-repeat 0px -0px; -} -.soria .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url(images/tabContainerSprite.gif) no-repeat right -100px; - border: none; -} -.soria .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url(images/tabContainerSprite.gif) repeat-x 0 -50px; - padding:8px 10px 5px 10px; - color: #243C5F !important; -} -.soria .dijitTabLabels-top { - border-left: 1px solid #b1badf; - border-top: 1px solid #b1badf; - border-right: 1px solid #b1badf; - padding-top: 2px; - padding-left: 3px; - padding-right: 3px; - background: #F0F4FC url(images/tabStripe.gif) repeat-x left bottom; - padding-bottom: 4px; -} -.soria .dijitAlignLeft .dijitTab, -.soria .dijitAlignRight .dijitTab { - margin-right:0px; - margin-bottom:5px; -} -.soria .dijitAlignTop .dijitTabChecked, -.soria .dijitAlignTop .dijitTabCloseButtonChecked -{ - border-bottom-color:white; - vertical-align:bottom; -} -.soria .dijitAlignBottom .dijitTabChecked, -.soria .dijitAlignBottom .dijitTabCloseButtonChecked -{ - border-top-color:white; - -} -.soria .dijitAlignLeft .dijitTabChecked, -.soria .dijitAlignLeft .dijitTabCloseButtonChecked -{ - border-right-color:white; -} -.soria .dijitAlignRight .dijitTabChecked, -.soria .dijitAlignRight .dijitTabCloseButtonChecked -{ - border-left-color:white; -} -.soria .dijitTabLabels-bottom { - padding-bottom: 2px; - padding-left: 3px; - background-color: #f0f4fc; - border-left: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-right: 1px solid #b1badf; - background: #F0F4FC url(images/tabStripeBottom.gif) repeat-x left top; - padding-top: 3px; - padding-right: 3px; -} -.soria .dijitAlignBottom .dijitTab { - line-height:normal; - margin-right:3px; - padding:0px; - background: url(images/tabBottomEnabledSpriteLR.gif) no-repeat bottom left; - font-size: 0.9em; - font-weight: bold; - color: #373941; - margin-bottom: 0px; - margin-top: 1px; -} -.soria .dijitAlignBottom .dijitTabChecked { - margin-bottom: 0px; - margin-top: 0px !important; -} -.soria .dijitAlignBottom .dijitTabInnerDiv .dijitTabContent { - padding:6px 10px 6px 10px; - background: url(images/tabBottomEnabledC.gif) repeat-x bottom left; -} -.soria .dijitAlignBottom .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url(images/tabBottomEnabledSpriteLR.gif) no-repeat bottom right; - border: none; -} -.soria .dijitAlignBottom .dijitTabHover, -.soria .dijitAlignBottom .dijitTabCloseButtonHover { - color: #243C5F; - background: url(images/tabBottomHoverSpriteLR.gif) no-repeat bottom left; -} -.soria .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv, -.soria .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv { - background: url(images/tabBottomHoverSpriteLR.gif) no-repeat bottom right; - border: none; -} -.soria .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv .dijitTabContent, -.soria .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent { - background: url(images/tabBottomHoverC.gif) repeat-x bottom left; - padding:6px 10px 6px 10px; -} -.dj_ie6 .soria .dijitAlignBottom .dijitTabHover, -.dj_ie6 .soria .dijitAlignBottom .dijitTabCloseButtonHover { - background-image: url(images/tabHover.gif); -} -.soria .dijitAlignBottom .dijitTabChecked, -.soria .dijitAlignBottom .dijitTabCloseButtonChecked -{ - - background: url(images/tabBottomActiveSpriteLR.gif) no-repeat bottom left; -} -.soria .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv { - padding:0px 10px 0px 10px; - background: url(images/tabBottomActiveSpriteLR.gif) no-repeat bottom right; - border: none; -} -.soria .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv .dijitTabContent { - background: url(images/tabBottomActiveC.gif) repeat-x bottom left; - padding:7px 10px 6px 10px; -} -.soria .dijitAlignLeft .dijitTab { - margin-right: 1px !important; -} -.soria .dijitAlignLeft .dijitTabChecked { - margin-right: 0px !important; -} -.soria .dijitAlignLeft .dijitTabChecked .dijitTabInnerDiv { - background: url(images/tabLeftChecked.gif) no-repeat right top !important; - padding-left: 10px; - border-bottom: 1px solid #8ba0bd !important; -} -.soria .dijitAlignLeft .dijitTabInnerDiv { - background: url(images/tabContainerSprite.gif) no-repeat right -350px; - padding-left: 10px; - border-bottom: 1px solid #b9bbdd; -} -.soria .dijitAlignLeft .dijitTabHover .dijitTabInnerDiv { - background: url(images/tabContainerSprite.gif) no-repeat right -200px; - padding-left: 10px; - border-bottom: 1px solid #b9bbdd; -} -.soria .dijitTabLabels-left-h { - padding-left: 2px; - padding-top: 3px; - background-color: #f0f4fc; - border-left: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #F0F4FC url(images/tabStripeLeft.gif) repeat-y right top; - padding-right: 3px; -} -.soria .dijitAlignLeft .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} -.soria .dijitTabLabels-right-h { - padding-right: 2px; - padding-top: 3px; - background-color: #f0f4fc; - border-right: 1px solid #b1badf; - border-bottom: 1px solid #b1badf; - border-top: 1px solid #b1badf; - background: #F0F4FC url(images/tabStripeRight.gif) repeat-y left top; - padding-left: 3px; -} -.soria .dijitAlignRight .dijitTab { - margin-left: 1px; -} -.soria .dijitAlignRight .dijitTabChecked { - margin-left: 0px; -} -.soria .dijitAlignRight .dijitTabChecked { - background: url(images/tabRightChecked.gif) no-repeat left top !important; -} -.soria .dijitAlignRight .dijitTab { - background: url(images/tabContainerSprite.gif) no-repeat left -350px; -} -.soria .dijitAlignRight .dijitTabHover .dijitTab { - background: url(images/tabContainerSprite.gif) no-repeat left -200px; -} -.soria .dijitAlignRight .dijitTabInnerDiv .dijitTabContent { - padding:7px 10px 6px 10px !important; -} -.soria .dijitAlignRight .dijitTabChecked .dijitTabInnerDiv { - border-bottom: 1px solid #8ba0bd !important; -} -.soria .dijitAlignRight .dijitTabInnerDiv { - border-bottom: 1px solid #b9bbdd; -} -.soria .dijitAlignRight .dijitTabHover .dijitTabInnerDiv { - border-bottom: 1px solid #b9bbdd; -} -.soria .dijitTab .dijitClosable { - position: relative; - padding-left: 10px !important; - padding-right: 20px !important; -} -.soria .dijitTab img { - padding: 0; - margin: 0; -} -.soria .dijitTab .dijitClosable .closeImage { - position:absolute; - top: 5px; - right: 5px; - height: 15px; - width: 15px; - padding: 0; - margin: 0; - background: url(images/spriteRoundedIconsSmallBl.png) no-repeat -60px top; -} -.dj_ie6 .dijitTab .dijitClosable .closeImage { - background:url(images/spriteRoundedIconsSmallBl.gif) no-repeat -60px top; -} -.dj_ie6 .soria .dijitTabCloseButton .dijitClosable .closeImage { - background: url(images/spriteRoundedIconsSmallBl.gif) no-repeat -60px top; -} -.soria .dijitTabHover .dijitClosable .closeImage { - background: url(images/spriteRoundedIconsSmallBl.png) no-repeat -60px -15px !important; -} -.dj_ie6 .soria .dijitTabHover .dijitClosable .closeImage { - background: url(images/spriteRoundedIconsSmallBl.gif) no-repeat -60px -15px !important; -} -.dj_ie6 .soria .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - left:-20px; -} -.soria .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - top: auto; - bottom: 7px; - right: 3px; -} -.soria .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - top: 7px; - left: 3px; -} - - -.soria .dijitAccordionContainer { - border-color: #b1badf; -} -.soria .dijitAccordionPane { - background-color: #e7e7e7; - font-size: 0.9em; - font-weight: bold; - color: #373941; -} -.soria .dijitAccordionTitle { - background:#fafafa url(images/titleBar.png) repeat-x top left; - border-top: 1px solid #b9bbdd; - padding: 5px 4px 6px 8px; - cursor:pointer; -} -.soria .dijitAccordionTitle-selected { - background: #f9f9f9 url(images/accordionItemActive.png) top repeat-x; - font-weight: bold; - border-top: 1px solid #b9bbdd; - border-bottom: 1px solid #b9bbdd; - padding: 5px 4px 5px 8px; - cursor: default; - color: #243C5F; -} -.soria .dijitAccordionArrow { - background:url(images/spriteRoundedIconsSmallBl.gif) no-repeat; - width:15px; - height:15px; - margin-top:-1px; -} -.soria .dijitAccordionTitle-selected .dijitAccordionArrow { - background:url(images/spriteRoundedIconsSmallBl.gif) no-repeat -15px top; - margin-top:-1px; -} -.soria .dijitAccordionBody { - background: #fff; -} - -.soria .dijitSplitContainerSizerH { - background:url(images/splitContainerSizerV.png) repeat-y #cddef4; - border:0; - border-left:0px solid #436496; - border-right:0px solid #436496; - width:5px; -} -.soria .dijitSplitContainerSizerH .thumb { - background:url(images/splitContainerSizerV-thumb.png) no-repeat #ccc; - left:1px; - width:2px; - height:19px; -} -.soria .dijitSplitContainerSizerV { - background:url(images/splitContainerSizerH.png) repeat-x #cddef4; - border:0; - border-top:0px solid #436496; - border-bottom:0px solid #436496; - height:2px; -} -.soria .dijitSplitContainerSizerV .thumb { - background:url(images/splitContainerSizerH-thumb.png) no-repeat #ccc; - top:1px; - width:19px; - height:5px; -} - -.soria .dijitSplitterH { - background:url(images/splitContainerSizerH.png) repeat-x #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - height:5px; -} -.soria .dijitSplitterH .dijitSplitterThumb { - background:url(images/splitContainerSizerH-thumb.png) no-repeat; - top:1px; - width:19px; - height:2px; -} -.soria .dijitSplitterV { - background:url(images/splitContainerSizerV.png) repeat-y #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - width:5px; -} -.soria .dijitSplitterV .dijitSplitterThumb { - background:url(images/splitContainerSizerV-thumb.png) no-repeat; - left:1px; - height:19px; - width:5px; -} -.soria .dijitInputField INPUT, -.soria .dijitTextBox, -.soria .dijitComboBox, -.soria .dijitSpinner { - margin: 0em 0.1em; -} -.soria .dijitTextBox, -.soria .dijitComboBox, -.soria .dijitSpinner, -.soria .dijitInlineEditor input, -.soria .dijitTextArea { - - background:#fff url(images/validationInputBg.png) repeat-x top left; - #background:#fff url(images/validationInputBg.gif) repeat-x top left; - border:1px solid #8ba0bd; - line-height: normal; -} -.soria .dijitComboBox .dijitButtonNode { - padding: 0 0.2em; -} -.soria .dijitComboBox .dijitButtonNode, -.soria .dijitSpinner .dijitButtonNode { - - border-color: #8ba0bd; - border-left: 1px solid #8ba0bd; -} -.soria .dijitTextBoxFocused, -.soria .dijitComboBoxFocused, -.soria .dijitSpinnerFocused { - - border-color:#406b9b; -} -.soria .dijitComboBoxFocused .dijitButtonNode, .soria .dijitSpinnerFocused .dijitButtonNode { - border-left-color:#8ba0bd; -} -.soria .dijitSpinnerFocused .dijitDownArrowButton { - border-top-color:#8ba0bd; -} -.soria .dijitError { - border-color:#f3d118; - background-color:#f9f7ba; - background-image:none; -} -.dj_ie6 .soria .dijitError INPUT { - - background-color:#f9f7ba !important; -} -.soria .dijitErrorFocused { - background-color:#ff6; - background-image:none; -} -.dj_ie6 .soria .dijitErrorFocused INPUT { - - background-color:#ff6 !important; -} -.soria .dijitValidationIcon { - - width: 16px; - background: transparent url(images/warning.png) no-repeat center center; -} -.soria .dijitButtonNode { - - - border:1px solid #8ba0bd; - border-bottom:1px solid #657c9c; - border-right:1px solid #657c9c; - padding: 0.2em; - background:#bcd5f0 url(images/buttonEnabled.png) repeat-x top left; -} -.dj_ie .soria .dijitButtonNode { - zoom: 1; -} -.soria .dijitButtonText { - padding: 0 0.3em; -} -.soria .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} -.soria .dijitArrowButton { - color: #111; -} -.soria .dijitComboButton .dijitDownArrowButton { - padding-right:4px; -} -.dj_ff2 .soria .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .soria .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.soria .dijitButtonDisabled .dijitButtonNode, -.soria .dijitToggleButtonDisabled .dijitButtonNode, -.soria .dijitDropDownButtonDisabled .dijitButtonNode, -.soria .dijitComboButtonDisabled .dijitButtonNode, -.soria .dijitComboBoxDisabled, -.soria .dijitSpinnerDisabled, -.soria .dijitSpinnerDisabled .dijitButtonNode { - - border-color: #b9bbdd #b9bbdd #b9bbdd #b9bbdd; - - background:#c3d3e5 url(images/buttonDisabled.png) top repeat-x; - opacity: 0.60; -} -.dj_ie .soria .dijitButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitToggleButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitDropDownButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitComboButtonDisabled .dijitButtonNode *, -.dj_ie .soria .dijitSpinnerDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); -} -.soria .dijitButtonHover .dijitButtonNode, -.soria .dijitToggleButtonHover .dijitButtonNode, -.soria .dijitDropDownButtonHover .dijitButtonNode, -.soria .dijitComboButtonHover .dijitButtonContents, -.soria .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.soria .dijitComboBoxHover .dijitDownArrowButton, -.soria .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.soria .dijitSpinnerDownArrowHover .dijitDownArrowButton { - - - color:#000; - background:#acc5e2 url(images/buttonHover.png) repeat-x top left; -} -.soria .dijitSpinnerUpArrowActive .dijitUpArrowButton, -.soria .dijitSpinnerDownArrowActive .dijitDownArrowButton, -.soria .dijitButtonActive .dijitButtonNode, -.soria .dijitToggleButtonActive .dijitButtonNode, -.soria .dijitDropDownButtonActive .dijitButtonNode, -.soria .dijitComboButtonActive .dijitButtonContents, -.soria .dijitDownArrowActive .dijitDownArrowButton, -.soria .dijitComboBoxActive .dijitDownArrowButton { - - border-color:#657c9c; - background: #91b4e5 url(images/buttonActive.png) top left repeat-x; -} -.soria .dijitArrowButtonInner { - background:url(images/spriteArrows.png) no-repeat left top; - width: 11px; -} -.soria .dijitUpArrowButton .dijitArrowButtonInner { - background:url(images/spriteArrows.png) no-repeat -22px top; - width: 11px; -} -.dj_ie6 .soria .dijitArrowButtonInner { - background:url(images/spriteArrows.gif) no-repeat left top; - width: 11px; -} -.dj_ie6 .soria .dijitUpArrowButton .dijitArrowButtonInner { - background:url(images/spriteArrows.gif) no-repeat -22px top; - width: 11px; -} -.soria .dijitComboBox .dijitArrowButton .dijitArrowButtonInner { - background:url(images/spriteArrows.png) no-repeat left center; - width: 11px; -} -.soria .dijitComboBoxHover .dijitArrowButtonInner { - -} -.soria .dijitToggleButton .dijitCheckBox, -.soria .dijitToggleButton .dijitCheckBoxIcon { - background-image: url(images/spriteCheckbox.gif); -} -.soria .dijitCheckBox, -.soria .dijitCheckBoxIcon { - background-image: url(images/spriteCheckbox.gif); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.soria .dijitCheckBox, -.soria .dijitToggleButton .dijitCheckBoxIcon { - - background-position: -16px; -} -.soria .dijitCheckBoxChecked, -.soria .dijitToggleButtonChecked .dijitCheckBoxIcon { - - background-position: 0px; -} -.soria .dijitCheckBoxDisabled { - - background-position: -48px; -} -.soria .dijitCheckBoxCheckedDisabled { - - background-position: -32px; -} -.soria .dijitCheckBoxHover, -.soria .dijitCheckBoxFocused { - - background-position: -80px; -} -.soria .dijitCheckBoxCheckedHover, - .soria .dijitCheckBoxCheckedFocused { - - background-position: -64px; -} -.soria .dijitToggleButton .dijitRadio, -.soria .dijitToggleButton .dijitRadioIcon { - background-image: url(images/spriteRadio.gif); -} -.soria .dijitRadio, -.soria .dijitRadioIcon { - background-image: url(images/spriteRadio.gif); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.soria .dijitRadio, -.soria .dijitToggleButton .dijitRadioIcon { - - background-position: -16px; -} -.soria .dijitRadioChecked, -.soria .dijitToggleButtonChecked .dijitRadioIcon { - - background-position: 0px; -} -.soria .dijitRadioCheckedDisabled { - - background-position: -48px; -} -.soria .dijitRadioDisabled { - - background-position: -32px; -} -.soria .dijitRadioHover, -.soria .dijitRadioFocused { - - background-position: -80px; -} -.soria .dijitRadioCheckedHover, -.soria .dijitRadioCheckedFocused { - - background-position: -64px; -} -.soria .dijitTextBox { - margin: 0em 0.1em; -} -.soria .dijitTextBox, -.soria .dijitTextArea { - - background:#fff url(images/validationInputBg.png) repeat-x top left; - #background:#fff url(images/validationInputBg.gif) repeat-x top left; - border:1px solid #c4c4c4; - line-height: normal; -} -.soria .dijitSliderProgressBarH { - border-color: #b1badf; - background: #c0c2c5 url(images/sliderFull.png) repeat-x top left; -} -.soria .dijitSliderProgressBarV { - border-color: #b1badf; - background: #c0c2c5 url(images/sliderFullVertical.png) repeat-y bottom left; -} -.soria .dijitSliderFocused .dijitSliderProgressBarH, -.soria .dijitSliderFocused .dijitSliderLeftBumper { - background-image:url(images/sliderFullFocus.png); -} -.soria .dijitSliderFocused .dijitSliderProgressBarV, -.soria .dijitSliderFocused .dijitSliderBottomBumper { - background-image:url(images/sliderFullVerticalFocus.png); -} -.soria .dijitSliderRemainingBarV { - border-color: #b4b4b4; - background: #dcdcdc url(images/sliderEmptyVertical.png) repeat-y bottom left; -} -.soria .dijitSliderRemainingBarH { - border-color: #b4b4b4; - background: #dcdcdc url(images/sliderEmpty.png) repeat-x top left; -} -.soria .dijitSliderBar { - border-style: solid; - outline:1px; - -} -.soria .dijitSliderFocused .dijitSliderBar { - border-color:#8ba0bd; -} -.dijit_a11y .dijitSliderProgressBar { - background-color:#333 !important; -} -.soria .dijitSliderImageHandleH { - border:0px; - width:15px; - height:18px; - background:url(images/preciseSliderThumb.png) no-repeat center top; - cursor:pointer; -} -.soria .dijitSliderFocused .dijitSliderImageHandleH { - background-image:url(images/preciseSliderThumbFocus.png); - #background-image:url(images/preciseSliderThumbFocus.gif); -} -.dj_ie6 .soria .dijitSliderImageHandleH { - background-image:url(images/preciseSliderThumb.gif); -} -.soria .dijitSliderLeftBumper { - border-left-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url(images/sliderFull.png) repeat-x top left; -} -.soria .dijitSliderRightBumper { - background: #dcdcdc url(images/sliderEmpty.png) repeat-x top left; - border-color: #b4b4b4; - border-right-width: 1px; -} -.soria .dijitSliderImageHandleV { - border:0px; - width:20px; - height:15px; - background:url(images/sliderThumb.png) no-repeat center center; - cursor:pointer; -} -.soria .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url(images/sliderThumbFocus.png); -} -.dj_ie6 .soria .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url(images/sliderThumbFocus.gif); -} -.soria .dijitSliderBottomBumper { - border-bottom-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url(images/sliderFullVertical.png) repeat-y bottom left; -} -.soria .dijitSliderTopBumper { - background: #dcdcdc url(images/sliderEmptyVertical.png) repeat-y top left; - border-color: #b4b4b4; - border-top-width: 1px; -} -.soria .dijitSliderIncrementIconH, -.soria .dijitSliderIncrementIconV { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -45px top; - width:15px; height:15px; - cursor:pointer; -} -.soria .dijitSliderIncrementIconH { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -30px top; -} -.soria .dijitSliderDecrementIconH, -.soria .dijitSliderDecrementIconV { - width:15px; - height:15px; - cursor:pointer; - background:url(images/spriteRoundedIconsSmall.png) no-repeat -15px top; -} -.soria .dijitSliderDecrementIconH { background:url(images/spriteRoundedIconsSmall.png) no-repeat 0px top; } -.soria .dijitSliderButtonInner { - visibility:hidden; -} -.soria .dijitSliderDisabled { - opacity:0.6 !important; -} -.dj_ie6 .soria .dijitSliderDisabled, -.dj_ie6 .soria .dijitSliderDisabled .dijitRuleContainer, -.dj_ie6 .soria .dijitSliderDisabled .dijitSliderRemainingBar, -.dj_ie6 .soria .dijitSliderDisabled .dijitSliderProgressBar { - filter: gray() alpha(opacity=40); -} -.soria .dijitTreeNode { - background : url(images/treeI.gif) no-repeat; - background-position : top left; - background-repeat : repeat-y; - margin-left: 19px; - zoom: 1; -} -.soria .dijitTreeIsLast { - background: url(images/treeI_half.gif) no-repeat; -} -.soria .dijitTreeLabel { - font-weight: normal; - margin-left: 3px; -} -.soria .dijitTreeIsRoot { - margin-left: 0; - background-image: none; -} -.soria .dijitTreeExpando { - width: 18px; - height: 18px; -} -.soria .dijitTreeContent { - min-height: 18px; - min-width: 18px; - margin-left:18px; - padding-top:3px; - padding-left:1px; -} -.soria .dijitTreeExpand { - width: 18px; - height: 18px; - background-repeat : no-repeat; -} -.soria .dijitTreeNodeEmphasized { - background-color: Highlight; - color: HighlightText; -} -.soria .dijitTreeLabelFocused { - outline: 1px invert dotted; - background:#dde7f2; -} -.soria .dijitTreeExpandoOpened { - background: url(images/spriteTree.gif) no-repeat -18px top; -} -.soria .dijitTreeExpandoClosed { - background-image: url(images/spriteTree.gif); -} -.soria .dijitTreeExpandoLeaf { - background: url(images/spriteTree.gif) no-repeat -36px top; -} -.soria .dijitTreeExpandoLoading { - background-image: url(images/treeExpand_loading.gif); -} -.soria .dijitTreeIcon { - width: 16px; - height: 16px; -} -.soria .dijitFolderOpened { - background: url(images/spriteDivIcons.gif) no-repeat -16px top; -} -.soria .dijitFolderClosed { - background: url(images/spriteDivIcons.gif) no-repeat top left; -} -.soria .dijitLeaf { - background: url(images/spriteDivIcons.gif) no-repeat -32px top; -} -.soria .dijitProgressBar { - margin:2px 0px 2px 0px; -} -.soria .dijitProgressBarEmpty{ - - background:#fff url(images/progressBarEmpty.png) repeat-x center center; - border-color: #8ba0bd; -} -.soria .dijitProgressBarTile{ - - background:#f0f0f0 url(images/progressBarFull.png) repeat-x center center; -} -.soria .dijitProgressBarFull { - border-right:1px solid #8ba0bd; -} -.soria .dijitProgressBarLabel { - - color:#293a4b; -} -.soria .dijitProgressBarIndeterminate .dijitProgressBarTile { - - background:#cad2de url(images/progressBarAnim.gif) repeat-x center center; -} - - -.soria .dijitTitlePane .dijitTitlePaneTitle { - background: #cccccc; - background:#fff url(images/titleBar.png) repeat-x top left; - border:1px solid #bfbfbf; - padding:4px 4px 2px 4px; - cursor: pointer; - font-size: 0.9em; - font-weight: bold; - color: #6d6d6d; -} -.soria .dijitTitlePane .dijitArrowNode { - width:15px; - height:15px; - float:right; - margin-top: -2px; -} -.soria .dijitTitlePaneFocused .dijitTitlePaneTextNode { - color: #243C5F; -} -.soria .dijitOpen .dijitTitlePaneTextNode { - color: #243C5F; -} -.soria .dijitTitlePane .dijitClosed .dijitArrowNode { - background: url(images/spriteRoundedIconsSmall.png) no-repeat top left; -} -.dj_ie6 .soria .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat top left; -} -.soria .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -15px top; -} -.dj_ie6 .soria .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat -15px top; -} -.soria .dijitTitlePane .dijitArrowNodeInner { - visibility:hidden; -} -.dijit_a11y .dijitTitlePane .dijitArrowNodeInner { - visibility:visible; -} -.soria .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - margin-right:5px; -} -.soria .dijitOpen .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - position:relative; - top:2px; -} -.soria .dijitTitlePaneContentOuter { - background: #ffffff; - border:1px solid #bfbfbf; - border-top: 0px solid #3d3d3d; -} -.soria .dijitTitlePaneContentInner { - padding:10px; -} -.dj_ie6 .soria .dijitTitlePaneContentOuter, -.dj_ie6 .soria .dijitTitlePane .dijitTitlePaneTitle { - zoom: 1; -} -.soria .dijitClickableRegion { - background-color : #ffc !important; -} - -.soria .dijitCalendarIncrementControl { - - width:15px; - height:15px; -} -.dj_ie6 .soria .dijitCalendarIncrementControl { - padding:.1em; - font-size:.1em; -} -.soria .dijitCalendarIncreaseInner, -.soria .dijitCalendarDecreaseInner { - visibility:hidden; -} -.soria .dijitCalendarDecrease { - background:url(images/spriteRoundedIconsSmall.png) no-repeat top left; -} -.dj_ie6 .soria .dijitCalendarDecrease { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat top left; -} -.soria .dijitCalendarIncrease { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -30px top; -} -.dj_ie6 .soria .dijitCalendarIncrease { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat -30px top; -} -.soria table.dijitCalendarContainer { - font-size: 100%; - border-spacing: 0; - border-collapse: separate; - border: 1px solid #b1badf; - margin: 0; -} -.soria .dijitCalendarMonthContainer th { - - background:#bed7f0 url(images/titleBar.png) repeat-x top; - padding-top:.3em; - padding-bottom:.2em; - text-align:center; -} -.dj_ie6 .soria .dijitCalendarMonthContainer th { - padding-top:.1em; - padding-bottom:0em; -} -.soria .dijitCalendarDayLabelTemplate { - - background:#bed7f0; - font-weight:normal; - padding-top:.15em; - padding-bottom:.2em; - border-bottom: 1px solid #b1badf; - color:#293a4b; - text-align:center; -} -.soria .dijitCalendarBodyContainer { - border-bottom: 1px solid #eeeeee; -} -.soria .dijitCalendarMonthLabel { - color:#293a4b; - font-weight: bold; -} -.dj_ie7 .soria .dijitCalendarDateTemplate, -.dj_ie6 .soria .dijitCalendarDateTemplate { - font-size: 0.8em; -} -.soria .dijitCalendarDateTemplate { - - font-size: 0.9em; - font-weight: bold; - text-align: center; - padding: 0.3em 0.3em 0.1em 0.3em; - letter-spacing: 1px; - background-color: #fff; - border:#fff solid 1px !important; -} -.soria .dijitCalendarPreviousMonth, -.soria .dijitCalendarNextMonth { - - color:#999999; - background-color:#fdfdfd !important; - border:#fdfdfd solid 1px !important; -} -.soria .dijitCalendarPreviousMonthDisabled, -.soria .dijitCalendarNextMonthDisabled { - - background-color:#a4a5a6 !important; -} -.soria .dijitCalendarCurrentMonth { - -} -.soria .dijitCalendarCurrentMonthDisabled { - - background-color:#bbbbbc !important; -} -.soria .dijitCalendarDisabledDate { - - - text-decoration:line-through !important; - cursor:default !important; -} -.soria .dijitCalendarCurrentDate { - - text-decoration:underline; - font-weight:bold; -} -.soria .dijitCalendarSelectedDate { - - background-color:#b9cbf1 !important; - color:black !important; - border:#4b5aaa solid 1px !important; -} -.soria .dijitCalendarYearContainer { - - background:white url(images/titleBar.png) repeat-x top; -} -.soria .dijitCalendarYearLabel { - - margin:0; - padding:0.4em 0 0.25em 0; - text-align:center; -} -.soria .dijitCalendarSelectedYear { - - color:black; - padding:0.2em; - padding-bottom:0.1em; - background-color:#b9cbf1 !important; - border:#4b5aaa solid 1px !important; -} -.soria .dijitCalendarNextYear, -.soria .dijitCalendarPreviousYear { - - color:black !important; - font-weight:normal; -} -.soria .dijitToolbar { - padding: 3px 0 1px 3px; - border-bottom: 1px solid #ccc; - background:#eaeaea url(images/titleBar.png) repeat-x top left; -} -.soria .dijitToolbar .dijitButtonNode { - background: none; - margin: 0px !important; - padding: 0px !important; - border: none; - font-size: 12px; -} -.soria .dijitToolbar .dijitButton, -.soria .dijitToolbar .dijitToggleButton, -.soria .dijitToolbar .dijitDropDownButton { - background: none; - margin: 1px; - padding: 0px; - border: 1px solid transparent; -} -.soria .dijitToolbar .dijitButtonChecked, -.soria .dijitToolbar .dijitToggleButtonChecked { - background-color:#d8e5f8; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} -.soria .dijitToolbar .dijitButtonCheckedHover, -.soria .dijitToolbar .dijitToggleButtonCheckedHover - { - background-color:#9abbea; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} -.soria .dijitToolbar .dijitButtonHover, -.soria .dijitToolbar .dijitToggleButtonHover, -.soria .dijitToolbar .dijitDropDownButtonHover { - - border: 1px solid #316ac5; - background-color:#9abbea; -} -.soria .dijitToolbar label { - padding: 3px 3px 0 6px; -} -.dj_ie .soria .dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ie .soria .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused, -.dj_ff2 .soria.dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .soria .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.dj_ie6 .soria .dijitToolbar .dijitButton, -.dj_ie6 .soria .dijitToolbar .dijitToggleButton, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButton { - - margin: 2px; - padding: 0px 2px; - border: 0px; -} -.dj_ie6 .soria .dijitToolbar .dijitButtonChecked, -.dj_ie6 .soria .dijitToolbar .dijitToggleButtonChecked, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButtonChecked { - background-color:#d8e5f8; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .soria .dijitToolbar .dijitButtonCheckedHover, -.dj_ie6 .soria .dijitToolbar .dijitToggleButtonCheckedHover, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButtonCheckedHover { - background-color:#9abbea; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .soria .dijitToolbar .dijitButtonHover, -.dj_ie6 .soria .dijitToolbar .dijitToggleButtonHover, -.dj_ie6 .soria .dijitToolbar .dijitDropDownButtonHover { - background-color:#9abbea; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} -.soria .dijitDialog { - background: #eee; - border: 1px solid #cbcbcb; - -webkit-box-shadow: 0px 5px 10px #adadad; - padding: 0px; -} -.soria .dijitDialog .dijitDialogTitle { - border-top: none; - border-left: none; - border-right: none; - font-size: 0.9em; - color: #3243C5F; -} -.soria .dijitDialog .dijitDialogPaneContent { - background: #ffffff; - border:none; - border-top: 1px solid #b1badf; - padding:10px; -} -.soria .dijitDialogTitleBar { - - background: #fafafa url(images/titleBar.png) repeat-x top left; - - padding: 5px 6px 3px 2px; - cursor: move; - outline:0; -} -.soria .dijitDialogTitle { - - font-weight: bold; - padding: 8px 12px 8px 12px; - outline:0; -} -.soria .dijitDialogCloseIcon { - - background : url(images/spriteRoundedIconsSmallBl.png) no-repeat right top; - float: right; - position: absolute; - vertical-align: middle; - right: 6px; - top: 4px; - height: 15px; - width: 15px; - cursor: pointer; -} -.dj_ie6 .soria .dijitDialogCloseIcon { - background : url(images/spriteRoundedIconsSmallBl.gif) no-repeat right top; -} -.soria .dijitDialogContent { - - padding: 8px; -} -.soria .dijitTooltip, -.soria .dijitTooltipDialog { - - opacity: 0.95; - background: transparent; -} -.dijitTooltipBelow { - - padding-top: 10px; -} -.dijitTooltipAbove { - - padding-bottom: 10px; -} -.soria .dijitTooltipContainer { - - background-color: #fff; - border:1px solid #cbcbcb; - padding:0.45em; - -} -.soria .dijitTooltipConnector { - - border:0px; - z-index: 2; -} -.soria .dijitTooltipABRight .dijitTooltipConnector { - - left: auto !important; - right: 6px; -} -.soria .dijitTooltipBelow .dijitTooltipConnector { - - top: 0px; - left: 6px; - background:url(images/tooltipConnectorUp.png) no-repeat top left; - width:17px; - height:11px; -} -.dj_ie6 .soria .dijitTooltipBelow .dijitTooltipConnector { - background-image: url(images/tooltipConnectorUp.gif); -} -.soria .dijitTooltipAbove .dijitTooltipConnector { - - bottom: 0px; - left: 6px; - background:url(images/tooltipConnectorDown.png) no-repeat top left; - width:17px; - height:11px; -} -.dj_ie6 .soria .dijitTooltipAbove .dijitTooltipConnector { - background-image: url(images/tooltipConnectorDown.gif); - bottom: -5px; -} -.soria .dijitTooltipLeft { - padding-right: 10px; -} -.dj_ie6 .soria .dijitTooltipLeft { - padding-left: 11px; -} -.soria .dijitTooltipLeft .dijitTooltipConnector { - - right: 0px; - bottom: 7px; - background:url(images/tooltipConnectorRight.png) no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .soria .dijitTooltipLeft .dijitTooltipConnector { - background-image: url(images/tooltipConnectorRight.gif); -} -.soria .dijitTooltipRight { - padding-left: 10px; -} -.soria .dijitTooltipRight .dijitTooltipConnector { - - left: 0px; - bottom: 7px; - background:url(images/tooltipConnectorLeft.png) no-repeat top left; - width:11px; - height:17px; -} -.dj_ie6 .soria .dijitTooltipRight .dijitTooltipConnector { - background-image: url(images/tooltipConnectorLeft.gif); -} -.soria .dijitMenu { - border: 1px solid #cbcbcb; - margin: 0px; - padding: 0px; - background-color: #fff; -} -.soria .dijitMenuItem { - background-color: #fff; - font: menu; - margin: 0px; - color: #243C5F; -} -.soria .dijitMenuPreviousButton, .soria .dijitMenuNextButton { - font-style: italic; -} -.soria .dijitMenuItem TD { - padding:1px; -} -.soria .dijitMenuItemHover { - background-color: #d9e6f9; - color: #243C5F; -} -.soria .dijitMenuItemIcon { - width: 15px; - height: 15px; - -} -.soria .dijitMenuExpand { - display:none; -} -.soria .dijitMenuExpandEnabled { - - width:15px; - height:15px; - background:url(images/spriteRoundedIconsSmall.png) no-repeat -30px top; - display:block; -} -.dj_ie6 .soria .dijitMenuExpandEnabled { - background-image:url(images/spriteRoundedIconsSmall.gif); -} -.soria .dijitMenuExpandInner { - display:none; -} -.soria .dijitMenuSeparator { - background-color: #fff; - height: 1px; -} -.soria .dijitMenuSeparatorTop { - border-bottom: 1px solid #fff; -} -.soria .dijitMenuSeparatorBottom { - border-top: 1px solid #8ba0bd; -} -.dijitIEFixedToolbar { - position:absolute; - - top: expression(eval((document.documentElement||document.body).scrollTop)); -} -.soria .dijitToolbar .dijitToolbarSeparator { - background: url(images/editor.gif); -} -.soria .dijitEditorIcon { - background-image: url(images/editor.gif); - background-repeat: no-repeat; - width: 18px; - height: 18px; - text-align: center; -} -.soria .dijitEditorIconSep { background-position: 0px; } -.soria .dijitEditorIconBackColor { background-position: -18px; } -.soria .dijitEditorIconBold { background-position: -36px; } -.soria .dijitEditorIconCancel { background-position: -54px; } -.soria .dijitEditorIconCopy { background-position: -72px; } -.soria .dijitEditorIconCreateLink { background-position: -90px; } -.soria .dijitEditorIconCut { background-position: -108px; } -.soria .dijitEditorIconDelete { background-position: -126px; } -.soria .dijitEditorIconForeColor { background-position: -144px; } -.soria .dijitEditorIconHiliteColor { background-position: -162px; } -.soria .dijitEditorIconIndent { background-position: -180px; } -.soria .dijitEditorIconInsertHorizontalRule { background-position: -198px; } -.soria .dijitEditorIconInsertImage { background-position: -216px; } -.soria .dijitEditorIconInsertOrderedList { background-position: -234px; } -.soria .dijitEditorIconInsertTable { background-position: -252px; } -.soria .dijitEditorIconInsertUnorderedList { background-position: -270px; } -.soria .dijitEditorIconItalic { background-position: -288px; } -.soria .dijitEditorIconJustifyCenter { background-position: -306px; } -.soria .dijitEditorIconJustifyFull { background-position: -324px; } -.soria .dijitEditorIconJustifyLeft { background-position: -342px; } -.soria .dijitEditorIconJustifyRight { background-position: -360px; } -.soria .dijitEditorIconLeftToRight { background-position: -378px; } -.soria .dijitEditorIconListBulletIndent { background-position: -396px; } -.soria .dijitEditorIconListBulletOutdent { background-position: -414px; } -.soria .dijitEditorIconListNumIndent { background-position: -432px; } -.soria .dijitEditorIconListNumOutdent { background-position: -450px; } -.soria .dijitEditorIconOutdent { background-position: -468px; } -.soria .dijitEditorIconPaste { background-position: -486px; } -.soria .dijitEditorIconRedo { background-position: -504px; } -.soria .dijitEditorIconRemoveFormat { background-position: -522px; } -.soria .dijitEditorIconRightToLeft { background-position: -540px; } -.soria .dijitEditorIconSave { background-position: -558px; } -.soria .dijitEditorIconSpace { background-position: -576px; } -.soria .dijitEditorIconStrikethrough { background-position: -594px; } -.soria .dijitEditorIconSubscript { background-position: -612px; } -.soria .dijitEditorIconSuperscript { background-position: -630px; } -.soria .dijitEditorIconUnderline { background-position: -648px; } -.soria .dijitEditorIconUndo { background-position: -666px; } -.soria .dijitEditorIconWikiword { background-position: -684px; } -.soria .dijitEditorIconToggleDir { background-position: -540px; } -.dijitColorPalette { - border:1px solid #cbcbcb; - background:#fff; - -moz-border-radius: 0px !important; -} diff --git a/includes/js/dijit/themes/soria/soria.css.commented.css b/includes/js/dijit/themes/soria/soria.css.commented.css deleted file mode 100644 index d2bdd78..0000000 --- a/includes/js/dijit/themes/soria/soria.css.commented.css +++ /dev/null @@ -1,39 +0,0 @@ -/* - Adds cosmetic styling to Dijit. Users may swap with a custom theme CSS file. - - NOTES: - --- - Dialog.css contains css classes for both Dialog and Tooltip! - This because currently a dijit.TooltipDialog exist. Until this is resolved - you need to include Dialog.css for both dijits - --- - Toolbar.css contains classes also used in Editor. Until this is resolved - you need to include Toolbar.css for both Toolbar and Editor - --- - Button.css contains classes for combobox, - -*/ - -@import url("../dijit.css"); -@import url("Common.css"); - -@import url("layout/TabContainer.css"); -@import url("layout/AccordionContainer.css"); -@import url("layout/SplitContainer.css"); -@import url("layout/BorderContainer.css"); -@import url("form/Common.css"); -@import url("form/Button.css"); -@import url("form/ComboBox.css"); -@import url("form/Checkbox.css"); -@import url("form/RadioButton.css"); -@import url("form/Textarea.css"); -@import url("form/Slider.css"); -@import url("Tree.css"); -@import url("ProgressBar.css"); -@import url("TitlePane.css"); -@import url("Calendar.css"); -@import url("Toolbar.css"); -@import url("Dialog.css"); -@import url("Menu.css"); -@import url("Editor.css"); -@import url("ColorPalette.css"); diff --git a/includes/js/dijit/themes/soria/soria_rtl.css b/includes/js/dijit/themes/soria/soria_rtl.css deleted file mode 100644 index 134c52e..0000000 --- a/includes/js/dijit/themes/soria/soria_rtl.css +++ /dev/null @@ -1,317 +0,0 @@ - -.dj_gecko .dijitRtl .dijitInputField { - direction: ltr; -} -.dj_gecko .dijitRtl .dijitInputField * { - direction: rtl; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpando, .dijitRtl .dijitTreeContainer .dijitTreeExpand { - float:right; -} -.dijitRtl .dijitExpandoText { - float: right; - padding-left: 3px; - padding-right: 0; -} -.dijitRtl .dijitComboBox .dijitInputField { - border-right-width:1px !important; - border-left-width:0 !important; -} -.dijitRtl .dijitCalendarNextYear { - margin:0 0.55em 0 0; -} -.dijitRtl .dijitCalendarPreviousYear { - margin:0 0 0 0.55em; -} -.dijitRtl .dijitProgressBarFull .dijitProgressBarLabel { - right:0; -} -.dijitRtl .dijitComboButton .dijitButtonContents { - border-right-width:1px !important; -} -.dijitRtl .dijitA11ySideArrow { - margin-left:1em; - margin-right:0; -} -.dijitRtl .dijitAccordionArrow, -.dijitRtl .dijitAccordionTitle .arrowTextUp, -.dijitRtl .dijitAccordionTitle .arrowTextDown { - float: left; -} -.dijitRtl .dijitSliderImageHandleV { - left:auto; - right:-6px; -} -.dj_ie .dijitRtl .dijitSliderImageHandleV { - right:-10px; -} -.dijitRtl .dijitSliderMoveableH { - right:auto; - left:0; -} -.dijitRtl .dijitRuleContainerV { - float:right; -} -.dj_gecko .dijitRtl .dijitRuleContainerV { - float:left; -} -.dj_ie .dijitRtl .dijitRuleContainerV { - text-align:right; -} -.dj_ie .dijitRtl .dijitRuleLabelV { - text-align:left; -} -.dj_ie .dijitRtl .dijitRuleLabelH { - zoom:1; -} -.dj_ie .dijitRtl .dijitSliderProgressBarH { - right:0; - left:auto; -} -.dj_gecko .dijitRtl .dijitSliderProgressBarH { - float:right; - right:0; - left:auto; -} -.dijitRtl .dijitTab { - float:right; -} -.dj_ie .dijitRtl .dijitTab, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv span { - position:static; - zoom:1; -} -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignLeft { - margin-left:1px !important; -} -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignRight { - margin-right:1px !important; -} -.dj_ie6 .dijitRtl .dijitTab { - - width:1px; -} -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignLeft { - - margin-left:1px !important; -} -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignRight { - - margin-right:1px !important; -} -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignLeft { - overflow-x:visible; - margin-left:2px !important; -} -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignRight { - overflow-x:visible; - margin-right:2px !important; -} -.dj_ie7 .dijitRtl .dijitTab .dijitTabInnerDiv { - float:left; -} -.dj_ie7 .dijitRtl .dijitTab .closeImage { - padding: 0 0 0 12px; -} -.dj_ie .dijitRtl .dijitAlignRight .dijitTab { - position:relative; -} -.dijitRtl .dijitTitlePane .dijitArrowNode { - float: left; -} -.dijitRtl .dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - right: auto; - left: 0; - border-width: 0 1px 0 0 !important; -} -.dijitRtl .dijitSpinnerButtonContainer { - float: left; -} -.dijitRtl .dijit_a11y .dijitSpinnerButtonContainer { - margin-left: none; - margin-right: 2px; -} -.dijitRtl DIV.dijitArrowButton, .dijitRtl .dijitValidationIcon, .dijitRtl .dijitValidationIconText { - float: left; -} -.dijitRtl .dijitContentPaneLoading, .dijitRtl .dijitContentPaneError { - background-position:right; - padding-right:25px; -} -.dijitRtl .dijitTab { - margin-right:0; - margin-left:3px; -} -.dijitRtl .dijitTab .dijitTabInnerDiv { - border-left:none; -} -.dijitRtl .dijitTab .dijitClosable { - padding: 0 10px 0 20px; -} -.dijitRtl .dijitTab .closeImage { - position:static; -} -.dj_gecko .dijitTab .closeImage { - position:relative; - float:none; - padding:0; -} -.dijitRtl .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; - background-position: -60px top; -} -.dj_ie .dijitRtl .dijitTab .dijitClosable .closeImage { - width:12px !important; -} -.dijitRtl .dijitAlignLeft .dijitTab, -.dijitRtl .dijitAlignRight .dijitTab { - margin-left:0px; -} -.dijitRtl .dijitAlignBottom .dijitTab { - margin-right:0; - margin-left:3px; -} -.dijitRtl .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitTabInnerDiv { - padding-left:10px; - padding-right:20px; -} -.dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:20px; - padding-right:10px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitClosable .closeImage { - left:auto; - right:3px; -} -.dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} -.dijitRtl .dijitAccordionArrow { - background-position: -30px top; -} -.dijitRtl .dijitSliderProgressBarH, -.dijitRtl .dijitSliderRemainingBarH, -.dijitRtl .dijitSliderLeftBumper, -.dijitRtl .dijitSliderRightBumper, -.dijitRtl .dijitSliderTopBumper { - background-position: top right; -} -.dijitRtl .dijitSliderProgressBarV, -.dijitRtl .dijitSliderRemainingBarV, -.dijitRtl .dijitSliderBottomBumper { - background-position: bottom right; -} -.dijitRtl .dijitSliderLeftBumper { - border-left-width: 0px; - border-right-width: 1px; -} -.dijitRtl .dijitSliderRightBumper { - border-left-width: 1px; - border-right-width: 0px; -} -.dijitRtl .dijitSliderIncrementIconH { - background-image:url(images/arrowLeft.png); -} -.dijitRtl .dijitSliderDecrementIconH { - background-image:url(images/arrowRight.png); -} -.dijitRtl .dijitComboBox .dijitButtonNode { - border-width: 0px 0px 0px 1px; -} -.dijitRtl .dijitComboBox .dijitButtonNode, -.dijitRtl .dijitSpinner .dijitButtonNode { - - border-color: #8ba0bd; - border-left: 0px solid #8ba0bd; - border-right: 1px solid #8ba0bd; -} -.dijitRtl .dijitTreeContainer .dijitTreeNode { - background-image : url(images/treeI_rtl.gif); - background-position : top right; - margin-left: auto; - margin-right: 19px; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsRoot { - margin-left: auto; - margin-right: 0; - background-image: none; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsLast { - background-image: url(images/treeI_half_rtl.gif); -} -.dijitRtl .dijitTreeContainer .dijitTreeContent { - margin-left: auto; - margin-right: 18px; - padding-left: auto; - padding-right: 1px; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoOpened { - background: url(images/spriteTree_rtl.gif) no-repeat -18px top; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoClosed { - background-image: url(images/spriteTree_rtl.gif); -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoLeaf { - background: url(images/spriteTree_rtl.gif) no-repeat -36px top; -} -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} -.dj_ie6 .dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position: -30px top; -} -.dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} -.dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; - float: left; - right: auto; - left: 5px; -} -.dj_ie6 .dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; -} -.dj_ie .dijitRtl .dijitTooltipLeft { - margin-right: 0px; - margin-left: 13px; -} -.dj_ie .dijitRtl .dijitTooltipRight { - margin-left: 26px; - margin-right: -13px; -} -.dj_ie .dijitRtl .dijitTooltipDialog { - zoom:1 !important; -} -.dijitRtl .dijitMenuItem .dijitMenuItemIcon { - padding-left: 3px; - padding-right: 0px; -} -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url(images/arrowLeft.png); -} -.dj_ie6 .dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url(images/arrowLeft.gif); -} -.dijitRtl .dijitEditorIcon { - background-image: url(images/editor_rtl.gif); -} -.dijitRtl .dijitToolbar .dijitToolbarSeparator { - background-image: url(images/editor_rtl.gif); -} diff --git a/includes/js/dijit/themes/soria/soria_rtl.css.commented.css b/includes/js/dijit/themes/soria/soria_rtl.css.commented.css deleted file mode 100644 index 0984f57..0000000 --- a/includes/js/dijit/themes/soria/soria_rtl.css.commented.css +++ /dev/null @@ -1,28 +0,0 @@ -/* - Adds cosmetic styling to Dijit. Users may swap with a custom theme CSS file. - - NOTES: - --- - Dialog.css contains css classes for both Dialog and Tooltip! - This because currently a dijit.TooltipDialog exist. Until this is resolved - you need to include Dialog.css for both dijits - --- - Toolbar.css contains classes also used in Editor. Until this is resolved - you need to include Toolbar.css for both Toolbar and Editor - --- - Button.css contains classes for combobox, - -*/ - -@import url("../dijit_rtl.css"); -@import url("layout/TabContainer_rtl.css"); -@import url("layout/AccordionContainer_rtl.css"); -@import url("form/Slider_rtl.css"); -@import url("form/Button_rtl.css"); -@import url("form/Common_rtl.css"); -@import url("Tree_rtl.css"); -@import url("TitlePane_rtl.css"); -@import url("Calendar_rtl.css"); -@import url("Dialog_rtl.css"); -@import url("Menu_rtl.css"); -@import url("Editor_rtl.css"); diff --git a/includes/js/dijit/themes/templateThemeTest.html b/includes/js/dijit/themes/templateThemeTest.html deleted file mode 100644 index 0573ba7..0000000 --- a/includes/js/dijit/themes/templateThemeTest.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - Test Widget Templates in Multiple Themes - - - - - - - - - -

          Tundra

          -
          - - - -

          - - - -

          - - - -

          - - - - -

          - - - - - -
          -
          - -

          Noir

          -
          -
          -
          - -

          Soria

          -
          -
          -
          - -

          a11y mode

          -
          -
          -
          - - - - - - - diff --git a/includes/js/dijit/themes/themeTester.html b/includes/js/dijit/themes/themeTester.html deleted file mode 100644 index 99fa625..0000000 --- a/includes/js/dijit/themes/themeTester.html +++ /dev/null @@ -1,745 +0,0 @@ - - - - Dijit Theme Tester - - - - - - - - - - - - - - - -
          Loading themeTester ...
          - - -
          -
          - - - - - -
          - -

          Dijit Theme Test Page

          - - -
          - -
          - -
          -

          Tooltips:

          -
            -
          • - rich text tooltip - - Embedded bold RICH text weirdness! - -
          • - -
          • anchor tooltip - tooltip on anchor -
          • - -
          - -
          - -

          Dialogs:

          - - -
          - Show Tooltip Dialog -
          - - - - - - - - - - - -
          - -
          -
          -
          -
          -
          - -
          - -
          -
          -
          - -
          - - -
          - -
          - -

          Dijit Color Palette(7x10)

          -
          -
          - Test color is: - -

          -
          -
          - - - -
          - - -
          - - - - - - - - - - -
          - -

          dijit.Editor:

          - -
          - -
          -
          - - -

          dijit.InlineEditBox + dijit.form.TextBox on <h3>

          - - (HTML before) -

          - Edit me - I trigger the onChange callback -

          - (HTML after) - -
          - -

          dijit.InlineEditBox + dijit.form.Textarea

          - - (HTML before) -

          - I'm one big paragraph. Go ahead and edit me. I dare you. - The quick brown fox jumped over the lazy dog. Blah blah blah blah blah blah blah ... -

          - (HTML after) - -

          - These links will - disable / - enable - the text area above. -

          - -
          - -

          dijit.form.DateTextBox:

          - - (HTML inline before) - 12/30/2005 - (HTML after) - -
          - -

          dijit.form.TimeTextBox:

          - - (HTML inline before) - 9:00 AM - (HTML after) - -
          - - -

          dijit.form.FilteringSelect + Inline + remote data store:

          - (HTML inline before) - - Indiana - - (HTML after) - -
          - - - - - - -
          - - -
          - - -
          -

          You can explore this single page after applying a Theme - for use in creation of your own theme.

          - -

          I am whole slew of Widgets on a page. Jump to dijit tests to - test individual components.

          - -

          There is a right-click [context] pop-up menu here, as well.

          -
          - -
          - -
          - -
          -

          I am the last Tab

          - -
          - -
          - -
          -
          - - - - - - diff --git a/includes/js/dijit/themes/themeTesterImages/blackButtonEnabled.gif b/includes/js/dijit/themes/themeTesterImages/blackButtonEnabled.gif deleted file mode 100644 index 9174efd..0000000 Binary files a/includes/js/dijit/themes/themeTesterImages/blackButtonEnabled.gif and /dev/null differ diff --git a/includes/js/dijit/themes/themeTesterImages/blackButtonHover.gif b/includes/js/dijit/themes/themeTesterImages/blackButtonHover.gif deleted file mode 100644 index 16f087c..0000000 Binary files a/includes/js/dijit/themes/themeTesterImages/blackButtonHover.gif and /dev/null differ diff --git a/includes/js/dijit/themes/themeTesterQuirk.html b/includes/js/dijit/themes/themeTesterQuirk.html deleted file mode 100644 index 9f5e26c..0000000 --- a/includes/js/dijit/themes/themeTesterQuirk.html +++ /dev/null @@ -1,743 +0,0 @@ - - - Dijit Theme Tester - - - - - - - - - - - - - - - -
          Loading themeTester ...
          - - -
          -
          - - - - - -
          - -

          Dijit Theme Test Page

          - - -
          - -
          - -
          -

          Tooltips:

          -
            -
          • - rich text tooltip - - Embedded bold RICH text weirdness! - -
          • - -
          • anchor tooltip - tooltip on anchor -
          • - -
          - -
          - -

          Dialogs:

          - - -
          - Show Tooltip Dialog -
          - - - - - - - - - - - -
          - -
          -
          -
          -
          -
          - -
          - -
          -
          -
          - -
          - - -
          - -
          - -

          Dijit Color Palette(7x10)

          -
          -
          - Test color is: - -

          -
          -
          - - - -
          - - -
          - - - - - - - - - - -
          - -

          dijit.Editor:

          - -
          - -
          -
          - - -

          dijit.InlineEditBox + dijit.form.TextBox on <h3>

          - - (HTML before) -

          - Edit me - I trigger the onChange callback -

          - (HTML after) - -
          - -

          dijit.InlineEditBox + dijit.form.Textarea

          - - (HTML before) -

          - I'm one big paragraph. Go ahead and edit me. I dare you. - The quick brown fox jumped over the lazy dog. Blah blah blah blah blah blah blah ... -

          - (HTML after) - -

          - These links will - disable / - enable - the text area above. -

          - -
          - -

          dijit.form.DateTextBox:

          - - (HTML inline before) - 12/30/2005 - (HTML after) - -
          - -

          dijit.form.TimeTextBox:

          - - (HTML inline before) - 9:00 AM - (HTML after) - -
          - - -

          dijit.form.FilteringSelect + Inline + remote data store:

          - (HTML inline before) - - Indiana - - (HTML after) - -
          - - - - - - -
          - - -
          - - -
          -

          You can explore this single page after applying a Theme - for use in creation of your own theme.

          - -

          I am whole slew of Widgets on a page. Jump to dijit tests to - test individual components.

          - -

          There is a right-click [context] pop-up menu here, as well.

          -
          - -
          - -
          - -
          -

          I am the last Tab

          - -
          - -
          - -
          -
          - - - - - - diff --git a/includes/js/dijit/themes/tundra/Calendar.css b/includes/js/dijit/themes/tundra/Calendar.css deleted file mode 100644 index 4a75069..0000000 --- a/includes/js/dijit/themes/tundra/Calendar.css +++ /dev/null @@ -1,132 +0,0 @@ - - -.tundra .dijitCalendarIncrementControl { - - width:15px; - height:15px; -} -.dj_ie6 .tundra .dijitCalendarIncrementControl { - padding:.1em; - font-size:.1em; -} -.tundra .dijitCalendarIncreaseInner, -.tundra .dijitCalendarDecreaseInner { - visibility:hidden; -} -.tundra .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.png") no-repeat top left; -} -.dj_ie6 .tundra .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat top left; -} -.tundra .dijitCalendarIncrease { - background:url("images/spriteRoundedIconsSmall.png") no-repeat -30px top; -} -.dj_ie6 .tundra .dijitCalendarIncrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat -30px top; -} -.tundra table.dijitCalendarContainer { - font-size: 100%; - border-spacing: 0; - border-collapse: separate; - border: 1px solid #ccc; - margin: 0; -} -.tundra .dijitCalendarMonthContainer th { - - background:#d3d3d3 url("images/titleBar.png") repeat-x top; - padding-top:.3em; - padding-bottom:.2em; - text-align:center; -} -.dj_ie6 .tundra .dijitCalendarMonthContainer th { - padding-top:.1em; - padding-bottom:0em; -} -.tundra .dijitCalendarDayLabelTemplate { - - background:white url("images/calendarDayLabel.png") repeat-x bottom; - font-weight:normal; - padding-top:.15em; - padding-bottom:0em; - border-top: 1px solid #eeeeee; - color:#293a4b; - text-align:center; -} -.tundra .dijitCalendarBodyContainer { - border-bottom: 1px solid #eeeeee; -} -.tundra .dijitCalendarMonthLabel { - color:#293a4b; - font-weight: bold; -} -.dj_ie7 .tundra .dijitCalendarDateTemplate, -.dj_ie6 .tundra .dijitCalendarDateTemplate { - font-size: 0.8em; -} -.tundra .dijitCalendarDateTemplate { - - font-size: 0.9em; - font-weight: bold; - text-align: center; - padding: 0.3em 0.3em 0.05em 0.3em; - letter-spacing: 1px; -} -.tundra .dijitCalendarPreviousMonth, -.tundra .dijitCalendarNextMonth { - - color:#999999; - background-color:#f8f8f8 !important; -} -.tundra .dijitCalendarPreviousMonthDisabled, -.tundra .dijitCalendarNextMonthDisabled { - - background-color:#a4a5a6 !important; -} -.tundra .dijitCalendarCurrentMonth { - - background-color:white !important; -} -.tundra .dijitCalendarCurrentMonthDisabled { - - background-color:#bbbbbc !important; -} -.tundra .dijitCalendarCurrentDate { - - text-decoration:underline; - font-weight:bold; -} -.tundra .dijitCalendarCurrentDate { - - text-decoration:underline; - font-weight:bold; -} -.tundra .dijitCalendarSelectedDate { - - background-color:#bbc4d0 !important; - color:black !important; -} -.tundra .dijitCalendarYearContainer { - - background:white url("images/calendarYearLabel.png") repeat-x bottom; - border-top:1px solid #ccc; -} -.tundra .dijitCalendarYearLabel { - - margin:0; - padding:0.4em 0 0.25em 0; - text-align:center; -} -.tundra .dijitCalendarSelectedYear { - - color:black; - padding:0.2em; - padding-bottom:0.1em; - background-color:#bbc4d0 !important; -} -.tundra .dijitCalendarNextYear, -.tundra .dijitCalendarPreviousYear { - - color:black !important; - font-weight:normal; -} diff --git a/includes/js/dijit/themes/tundra/Calendar.css.commented.css b/includes/js/dijit/themes/tundra/Calendar.css.commented.css deleted file mode 100644 index 53f9a83..0000000 --- a/includes/js/dijit/themes/tundra/Calendar.css.commented.css +++ /dev/null @@ -1,154 +0,0 @@ -/* Calendar*/ - -.tundra .dijitCalendarIncrementControl { - /* next/prev month buttons */ - width:15px; - height:15px; - -} -.dj_ie6 .tundra .dijitCalendarIncrementControl { - padding:.1em; - font-size:.1em; -} - -.tundra .dijitCalendarIncreaseInner, -.tundra .dijitCalendarDecreaseInner { - visibility:hidden; -} - -.tundra .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.png") no-repeat top left; -} -.dj_ie6 .tundra .dijitCalendarDecrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat top left; -} - -.tundra .dijitCalendarIncrease { - background:url("images/spriteRoundedIconsSmall.png") no-repeat -30px top; -} -.dj_ie6 .tundra .dijitCalendarIncrease { - background:url("images/spriteRoundedIconsSmall.gif") no-repeat -30px top; -} - -.tundra table.dijitCalendarContainer { - font-size: 100%; - border-spacing: 0; - border-collapse: separate; - border: 1px solid #ccc; - margin: 0; -} - -.tundra .dijitCalendarMonthContainer th { - /* month header cell */ - background:#d3d3d3 url("images/titleBar.png") repeat-x top; - padding-top:.3em; - padding-bottom:.2em; - text-align:center; -} -.dj_ie6 .tundra .dijitCalendarMonthContainer th { - padding-top:.1em; - padding-bottom:0em; -} - -.tundra .dijitCalendarDayLabelTemplate { - /* day of week labels */ - background:white url("images/calendarDayLabel.png") repeat-x bottom; - font-weight:normal; - padding-top:.15em; - padding-bottom:0em; - border-top: 1px solid #eeeeee; - color:#293a4b; - text-align:center; -} - -.tundra .dijitCalendarBodyContainer { - border-bottom: 1px solid #eeeeee; -} - -.tundra .dijitCalendarMonthLabel { - color:#293a4b; - font-weight: bold; -} - -.dj_ie7 .tundra .dijitCalendarDateTemplate, -.dj_ie6 .tundra .dijitCalendarDateTemplate { - font-size: 0.8em; -} - -.tundra .dijitCalendarDateTemplate { - /* style for each day cell */ - font-size: 0.9em; - font-weight: bold; - text-align: center; - padding: 0.3em 0.3em 0.05em 0.3em; - letter-spacing: 1px; -} - - -.tundra .dijitCalendarPreviousMonth, -.tundra .dijitCalendarNextMonth { - /* days that are part of the previous or next month */ - color:#999999; - background-color:#f8f8f8 !important; -} - -.tundra .dijitCalendarPreviousMonthDisabled, -.tundra .dijitCalendarNextMonthDisabled { - /* days that are part of the previous or next month - disabled*/ - background-color:#a4a5a6 !important; -} - -.tundra .dijitCalendarCurrentMonth { - /* days that are part of this month */ - background-color:white !important; -} - -.tundra .dijitCalendarCurrentMonthDisabled { - /* days that are part of this month - disabled */ - background-color:#bbbbbc !important; -} - -.tundra .dijitCalendarCurrentDate { - /* cell for today's date */ - text-decoration:underline; - font-weight:bold; -} - -.tundra .dijitCalendarCurrentDate { - /* cell for today's date */ - text-decoration:underline; - font-weight:bold; -} - -.tundra .dijitCalendarSelectedDate { - /* cell for the selected date */ - background-color:#bbc4d0 !important; - color:black !important; -} -.tundra .dijitCalendarYearContainer { - /* footer of the table that contains the year display/selector */ - background:white url("images/calendarYearLabel.png") repeat-x bottom; - border-top:1px solid #ccc; -} - -.tundra .dijitCalendarYearLabel { - /* container for all of 3 year labels */ - margin:0; - padding:0.4em 0 0.25em 0; - text-align:center; -} - -.tundra .dijitCalendarSelectedYear { - /* label for selected year */ - color:black; - padding:0.2em; - padding-bottom:0.1em; - background-color:#bbc4d0 !important; -} - -.tundra .dijitCalendarNextYear, -.tundra .dijitCalendarPreviousYear { - /* label for next/prev years */ - color:black !important; - font-weight:normal; -} diff --git a/includes/js/dijit/themes/tundra/Calendar_rtl.css b/includes/js/dijit/themes/tundra/Calendar_rtl.css deleted file mode 100644 index e64cdf2..0000000 --- a/includes/js/dijit/themes/tundra/Calendar_rtl.css +++ /dev/null @@ -1,13 +0,0 @@ - -.dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} -.dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/tundra/Calendar_rtl.css.commented.css b/includes/js/dijit/themes/tundra/Calendar_rtl.css.commented.css deleted file mode 100644 index 84146f8..0000000 --- a/includes/js/dijit/themes/tundra/Calendar_rtl.css.commented.css +++ /dev/null @@ -1,16 +0,0 @@ - -/* Calendar */ - -.dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} - -.dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} diff --git a/includes/js/dijit/themes/tundra/ColorPalette.css b/includes/js/dijit/themes/tundra/ColorPalette.css deleted file mode 100644 index 56fa558..0000000 --- a/includes/js/dijit/themes/tundra/ColorPalette.css +++ /dev/null @@ -1,5 +0,0 @@ -.dijitColorPalette { - border:1px solid #7eabcd; - background:#fff; - -moz-border-radius: 0px !important; -} diff --git a/includes/js/dijit/themes/tundra/ColorPalette.css.commented.css b/includes/js/dijit/themes/tundra/ColorPalette.css.commented.css deleted file mode 100644 index 56fa558..0000000 --- a/includes/js/dijit/themes/tundra/ColorPalette.css.commented.css +++ /dev/null @@ -1,5 +0,0 @@ -.dijitColorPalette { - border:1px solid #7eabcd; - background:#fff; - -moz-border-radius: 0px !important; -} diff --git a/includes/js/dijit/themes/tundra/Common.css b/includes/js/dijit/themes/tundra/Common.css deleted file mode 100644 index 1089f4b..0000000 --- a/includes/js/dijit/themes/tundra/Common.css +++ /dev/null @@ -1,37 +0,0 @@ - -.tundra .dijitSliderDisabled *, -.tundra .dijitDisabledClickableRegion, -.tundra .dijitSpinnerDisabled *, -.tundra .dijitButtonDisabled *, -.tundra .dijitDropDownButtonDisabled *, -.tundra .dijitComboButtonDisabled *, -.tundra .dijitComboBoxDisabled * -{ - cursor: not-allowed !important; -} -.tundra .dojoDndItemBefore { - border-top: 2px solid #369; -} -.tundra .dojoDndItemAfter { - border-bottom: 2px solid #369; -} -.tundra .dojoDndItemOver { - cursor:pointer; -} -.tundra table.dojoDndAvatar { -moz-border-radius: 0; border: 1px solid #ccc; border-collapse: collapse; background-color: #fff; font-size: 75%; color: black;} -.tundra .dojoDndAvatar td { border: none; } -.tundra .dojoDndAvatar tr { border: none; } -.tundra .dojoDndAvatarHeader td { height: 20px; padding: 0 0 0 21px; } -.tundra .dojoDndAvatarItem td { padding: 2px;} -.tundra.dojoDndMove .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoMove.png); background-repeat: no-repeat; background-position: 2px center;} -.tundra.dojoDndCopy .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoCopy.png); background-repeat: no-repeat; background-position: 2px center;} -.tundra.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndMove.png); background-repeat: no-repeat; background-position: 2px center;} -.tundra.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndCopy.png); background-repeat: no-repeat; background-position: 2px center;} -.tundra .dijitContentPaneLoading { - background:url('images/loading.gif') no-repeat left center; - padding-left:25px; -} -.tundra .dijitContentPaneError { - background:url('images/warning.png') no-repeat left center; - padding-left:25px; -} diff --git a/includes/js/dijit/themes/tundra/Common.css.commented.css b/includes/js/dijit/themes/tundra/Common.css.commented.css deleted file mode 100644 index 6419b38..0000000 --- a/includes/js/dijit/themes/tundra/Common.css.commented.css +++ /dev/null @@ -1,45 +0,0 @@ -/**** Disabled cursor *****/ -.tundra .dijitSliderDisabled *, -.tundra .dijitDisabledClickableRegion, /* a region the user would be able to click on, but it's disabled */ -.tundra .dijitSpinnerDisabled *, -.tundra .dijitButtonDisabled *, -.tundra .dijitDropDownButtonDisabled *, -.tundra .dijitComboButtonDisabled *, -.tundra .dijitComboBoxDisabled * -{ - cursor: not-allowed !important; -} - -/* DnD avatar-specific settings */ -/* For now it uses a default set of rules. Some other DnD classes can be modified as well. */ -.tundra .dojoDndItemBefore { - border-top: 2px solid #369; -} - -.tundra .dojoDndItemAfter { - border-bottom: 2px solid #369; -} - -.tundra .dojoDndItemOver { - cursor:pointer; -} - -.tundra table.dojoDndAvatar { -moz-border-radius: 0; border: 1px solid #ccc; border-collapse: collapse; background-color: #fff; font-size: 75%; color: black;} -.tundra .dojoDndAvatar td { border: none; } -.tundra .dojoDndAvatar tr { border: none; } -.tundra .dojoDndAvatarHeader td { height: 20px; padding: 0 0 0 21px; } -.tundra .dojoDndAvatarItem td { padding: 2px;} -.tundra.dojoDndMove .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoMove.png); background-repeat: no-repeat; background-position: 2px center;} -.tundra.dojoDndCopy .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoCopy.png); background-repeat: no-repeat; background-position: 2px center;} -.tundra.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndMove.png); background-repeat: no-repeat; background-position: 2px center;} -.tundra.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndCopy.png); background-repeat: no-repeat; background-position: 2px center;} - -.tundra .dijitContentPaneLoading { - background:url('images/loading.gif') no-repeat left center; - padding-left:25px; -} - -.tundra .dijitContentPaneError { - background:url('images/warning.png') no-repeat left center; - padding-left:25px; -} diff --git a/includes/js/dijit/themes/tundra/Dialog.css b/includes/js/dijit/themes/tundra/Dialog.css deleted file mode 100644 index 9fcccd5..0000000 --- a/includes/js/dijit/themes/tundra/Dialog.css +++ /dev/null @@ -1,145 +0,0 @@ - -.tundra .dijitDialog { - background: #fff; - border: 1px solid #7eabcd; - -webkit-box-shadow: 0px 5px 10px #adadad; - padding: 0px; -} -.tundra .dijitDialog .dijitDialogTitle { - border-top: none; - border-left: none; - border-right: none; -} -.tundra .dijitDialog .dijitDialogPaneContent { - background: #fff; - border:none; - border-top: 1px solid #d3d3d3; - padding:10px; -} -.tundra .dijitDialogTitleBar { - - background: #fafafa url("images/titleBar.png") repeat-x top left; - - padding: 5px 6px 3px 2px; - cursor: move; - outline:0; -} -.tundra .dijitDialogTitle { - - font-weight: bold; - padding: 8px 12px 8px 12px; - outline:0; -} -.tundra .dijitDialogCloseIcon { - - background : url("images/spriteRoundedIconsSmall.png") no-repeat right top; - float: right; - position: absolute; - vertical-align: middle; - right: 6px; - top: 4px; - height: 15px; - width: 15px; - cursor: pointer; -} -.dj_ie6 .tundra .dijitDialogCloseIcon { - background : url("images/spriteRoundedIconsSmall.gif") no-repeat right top; -} -.tundra .dijitDialogContent { - - padding: 8px; -} -.tundra .dijitTooltip, -.tundra .dijitTooltipDialog { - - - background: transparent; -} -.dijitTooltipBelow { - - padding-top: 13px; -} -.dijitTooltipAbove { - - padding-bottom: 13px; -} -.tundra .dijitTooltipContainer { - - background: #ffffff url("images/popupMenuBg.gif") repeat-x bottom left; - border:1px solid #7eabcd; - padding:0.45em; - -webkit-border-radius: 6px; -} -.tundra .dijitTooltipConnector { - - border:0px; - z-index: 2; -} -.tundra .dijitTooltipABRight .dijitTooltipConnector { - - left: auto !important; - right: 3px; -} -.tundra .dijitTooltipBelow .dijitTooltipConnector { - - top: 0px; - left: 3px; - background:url("images/tooltipConnectorUp.png") no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipBelow .dijitTooltipConnector { - background-image: url("images/tooltipConnectorUp.gif"); -} -.tundra .dijitTooltipAbove .dijitTooltipConnector { - - bottom: 0px; - left: 3px; - background:url("images/tooltipConnectorDown.png") no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipAbove .dijitTooltipConnector { - background-image: url("images/tooltipConnectorDown.gif"); - bottom: -3px; -} -.tundra .dijitTooltipLeft { - padding-right: 14px; -} -.dj_ie6 .tundra .dijitTooltipLeft { - padding-left: 15px; -} -.tundra .dijitTooltipLeft .dijitTooltipConnector { - - right: 0px; - bottom: 7px; - background:url("images/tooltipConnectorRight.png") no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipLeft .dijitTooltipConnector { - background-image: url("images/tooltipConnectorRight.gif"); -} -.tundra .dijitTooltipRight { - padding-left: 14px; -} -.tundra .dijitTooltipRight .dijitTooltipConnector { - - left: 0px; - bottom: 7px; - background:url("images/tooltipConnectorLeft.png") no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipRight .dijitTooltipConnector { - background-image: url("images/tooltipConnectorLeft.gif"); -} -.dj_safari .tundra .dijitPopup .dijitTooltipContainer, -.dj_safari .tundra .dijitPopup .dijitMenu { - - -webkit-box-shadow: 0px 5px 10px #adadad; -} -.tundra .dijitPopup > div, -.tundra .dijitPopup > table { - opacity: 0.95; -} diff --git a/includes/js/dijit/themes/tundra/Dialog.css.commented.css b/includes/js/dijit/themes/tundra/Dialog.css.commented.css deleted file mode 100644 index 1782b55..0000000 --- a/includes/js/dijit/themes/tundra/Dialog.css.commented.css +++ /dev/null @@ -1,179 +0,0 @@ - -/* Dialog */ - - - -.tundra .dijitDialog { - background: #fff; - border: 1px solid #7eabcd; - -webkit-box-shadow: 0px 5px 10px #adadad; - padding: 0px; -} - -.tundra .dijitDialog .dijitDialogTitle { - border-top: none; - border-left: none; - border-right: none; -} - -.tundra .dijitDialog .dijitDialogPaneContent { - background: #fff; - border:none; - border-top: 1px solid #d3d3d3; /* #cddde9; /* w/out this, an

          on the top line causes a gap between the .content and .label */ - padding:10px; - -} - -.tundra .dijitDialogTitleBar { - /* outer container for the titlebar of the dialog */ - background: #fafafa url("images/titleBar.png") repeat-x top left; - /* border: 1px solid #bfbfbf; */ - padding: 5px 6px 3px 2px; - cursor: move; - outline:0; /* remove this line if keyboard focus on dialog startup is an issue. tab still takes you to first focusable element */ -} - -.tundra .dijitDialogTitle { - /* typography and styling of the dialog title */ - font-weight: bold; - padding: 8px 12px 8px 12px; - outline:0; -} - -.tundra .dijitDialogCloseIcon { - /* the default close icon for the dialog */ - background : url("images/spriteRoundedIconsSmall.png") no-repeat right top; - float: right; - position: absolute; - vertical-align: middle; - right: 6px; - top: 4px; - height: 15px; - width: 15px; - cursor: pointer; -} -.dj_ie6 .tundra .dijitDialogCloseIcon { - background : url("images/spriteRoundedIconsSmall.gif") no-repeat right top; -} - -.tundra .dijitDialogContent { - /* the body of the dialog */ - padding: 8px; -} - - -/* Tooltip and TooltipDialog */ - -.tundra .dijitTooltip, -.tundra .dijitTooltipDialog { - /* the outermost dom node, holding the connector and container */ - /* opacity: 0.95; */ - background: transparent; /* make the area on the sides of the arrow transparent */ -} - -.dijitTooltipBelow { - /* leave room for arrow above content */ - padding-top: 13px; -} - -.dijitTooltipAbove { - /* leave room for arrow below content */ - padding-bottom: 13px; -} - -.tundra .dijitTooltipContainer { - /* - The part with the text. - */ - background: #ffffff url("images/popupMenuBg.gif") repeat-x bottom left; - border:1px solid #7eabcd; - padding:0.45em; - -webkit-border-radius: 6px; -} - -.tundra .dijitTooltipConnector { - /* the arrow piece */ - border:0px; - z-index: 2; -} -.tundra .dijitTooltipABRight .dijitTooltipConnector { - /* above or below tooltip, but the arrow appears on the right, - and the right edges of target and tooltip are aligned rather than the left */ - left: auto !important; - right: 3px; -} - -.tundra .dijitTooltipBelow .dijitTooltipConnector { - /* the arrow piece for tooltips below an element */ - top: 0px; - left: 3px; - background:url("images/tooltipConnectorUp.png") no-repeat top left; - width:16px; - height:14px; -} - -.dj_ie6 .tundra .dijitTooltipBelow .dijitTooltipConnector { - background-image: url("images/tooltipConnectorUp.gif"); -} - -.tundra .dijitTooltipAbove .dijitTooltipConnector { - /* the arrow piece for tooltips above an element */ - bottom: 0px; - left: 3px; - background:url("images/tooltipConnectorDown.png") no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipAbove .dijitTooltipConnector { - background-image: url("images/tooltipConnectorDown.gif"); - bottom: -3px; -} - -.tundra .dijitTooltipLeft { - padding-right: 14px; -} -.dj_ie6 .tundra .dijitTooltipLeft { - padding-left: 15px; -} -.tundra .dijitTooltipLeft .dijitTooltipConnector { - /* the arrow piece for tooltips to the left of an element, bottom borders aligned */ - right: 0px; - bottom: 7px; - background:url("images/tooltipConnectorRight.png") no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipLeft .dijitTooltipConnector { - background-image: url("images/tooltipConnectorRight.gif"); -} - -.tundra .dijitTooltipRight { - padding-left: 14px; -} -.tundra .dijitTooltipRight .dijitTooltipConnector { - /* the arrow piece for tooltips to the right of an element, bottom borders aligned */ - left: 0px; - bottom: 7px; - background:url("images/tooltipConnectorLeft.png") no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipRight .dijitTooltipConnector { - background-image: url("images/tooltipConnectorLeft.gif"); -} - - -.dj_safari .tundra .dijitPopup .dijitTooltipContainer, -.dj_safari .tundra .dijitPopup .dijitMenu { - /* -webkit-border-radius: 5px; */ - -webkit-box-shadow: 0px 5px 10px #adadad; -} - - -/* - * Control opacity of popups - */ -.tundra .dijitPopup > div, -.tundra .dijitPopup > table { - opacity: 0.95; -} diff --git a/includes/js/dijit/themes/tundra/Dialog_rtl.css b/includes/js/dijit/themes/tundra/Dialog_rtl.css deleted file mode 100644 index 2f29eda..0000000 --- a/includes/js/dijit/themes/tundra/Dialog_rtl.css +++ /dev/null @@ -1,21 +0,0 @@ - -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; - float: left; - right: auto; - left: 5px; -} -.dj_ie6 .dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; -} -.dj_ie .dijitRtl .dijitTooltipLeft { - margin-right: 0px; - margin-left: 13px; -} -.dj_ie .dijitRtl .dijitTooltipRight { - margin-left: 26px; - margin-right: -13px; -} -.dj_ie .dijitRtl .dijitTooltipDialog { - zoom:1 !important; -} diff --git a/includes/js/dijit/themes/tundra/Dialog_rtl.css.commented.css b/includes/js/dijit/themes/tundra/Dialog_rtl.css.commented.css deleted file mode 100644 index 74b193a..0000000 --- a/includes/js/dijit/themes/tundra/Dialog_rtl.css.commented.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Dialog */ -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; - float: left; - right: auto; - left: 5px; -} - -/*FIXME: redundant?*/ -.dj_ie6 .dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; -} - - -/* ToolTip */ - -.dj_ie .dijitRtl .dijitTooltipLeft { - margin-right: 0px; - margin-left: 13px; -} - -.dj_ie .dijitRtl .dijitTooltipRight { - margin-left: 26px; - margin-right: -13px; -} - -.dj_ie .dijitRtl .dijitTooltipDialog { - zoom:1 !important; -} diff --git a/includes/js/dijit/themes/tundra/Editor.css b/includes/js/dijit/themes/tundra/Editor.css deleted file mode 100644 index aed1e46..0000000 --- a/includes/js/dijit/themes/tundra/Editor.css +++ /dev/null @@ -1,55 +0,0 @@ -.dijitIEFixedToolbar { - position:absolute; - - top: expression(eval((document.documentElement||document.body).scrollTop)); -} -.tundra .dijitToolbar .dijitToolbarSeparator { - background: url('images/editor.gif'); -} -.tundra .dijitEditorIcon { - background-image: url('images/editor.gif'); - background-repeat: no-repeat; - width: 18px; - height: 18px; - text-align: center; -} -.tundra .dijitEditorIconSep { background-position: 0px; } -.tundra .dijitEditorIconBackColor { background-position: -18px; } -.tundra .dijitEditorIconBold { background-position: -36px; } -.tundra .dijitEditorIconCancel { background-position: -54px; } -.tundra .dijitEditorIconCopy { background-position: -72px; } -.tundra .dijitEditorIconCreateLink { background-position: -90px; } -.tundra .dijitEditorIconCut { background-position: -108px; } -.tundra .dijitEditorIconDelete { background-position: -126px; } -.tundra .dijitEditorIconForeColor { background-position: -144px; } -.tundra .dijitEditorIconHiliteColor { background-position: -162px; } -.tundra .dijitEditorIconIndent { background-position: -180px; } -.tundra .dijitEditorIconInsertHorizontalRule { background-position: -198px; } -.tundra .dijitEditorIconInsertImage { background-position: -216px; } -.tundra .dijitEditorIconInsertOrderedList { background-position: -234px; } -.tundra .dijitEditorIconInsertTable { background-position: -252px; } -.tundra .dijitEditorIconInsertUnorderedList { background-position: -270px; } -.tundra .dijitEditorIconItalic { background-position: -288px; } -.tundra .dijitEditorIconJustifyCenter { background-position: -306px; } -.tundra .dijitEditorIconJustifyFull { background-position: -324px; } -.tundra .dijitEditorIconJustifyLeft { background-position: -342px; } -.tundra .dijitEditorIconJustifyRight { background-position: -360px; } -.tundra .dijitEditorIconLeftToRight { background-position: -378px; } -.tundra .dijitEditorIconListBulletIndent { background-position: -396px; } -.tundra .dijitEditorIconListBulletOutdent { background-position: -414px; } -.tundra .dijitEditorIconListNumIndent { background-position: -432px; } -.tundra .dijitEditorIconListNumOutdent { background-position: -450px; } -.tundra .dijitEditorIconOutdent { background-position: -468px; } -.tundra .dijitEditorIconPaste { background-position: -486px; } -.tundra .dijitEditorIconRedo { background-position: -504px; } -.tundra .dijitEditorIconRemoveFormat { background-position: -522px; } -.tundra .dijitEditorIconRightToLeft { background-position: -540px; } -.tundra .dijitEditorIconSave { background-position: -558px; } -.tundra .dijitEditorIconSpace { background-position: -576px; } -.tundra .dijitEditorIconStrikethrough { background-position: -594px; } -.tundra .dijitEditorIconSubscript { background-position: -612px; } -.tundra .dijitEditorIconSuperscript { background-position: -630px; } -.tundra .dijitEditorIconUnderline { background-position: -648px; } -.tundra .dijitEditorIconUndo { background-position: -666px; } -.tundra .dijitEditorIconWikiword { background-position: -684px; } -.tundra .dijitEditorIconToggleDir { background-position: -540px; } diff --git a/includes/js/dijit/themes/tundra/Editor.css.commented.css b/includes/js/dijit/themes/tundra/Editor.css.commented.css deleted file mode 100644 index a656cf4..0000000 --- a/includes/js/dijit/themes/tundra/Editor.css.commented.css +++ /dev/null @@ -1,58 +0,0 @@ -.dijitIEFixedToolbar { - position:absolute; - /* top:0; */ - top: expression(eval((document.documentElement||document.body).scrollTop)); -} - -.tundra .dijitToolbar .dijitToolbarSeparator { - background: url('images/editor.gif'); -} - -.tundra .dijitEditorIcon { - background-image: url('images/editor.gif'); /* editor icons sprite image */ - background-repeat: no-repeat; - width: 18px; - height: 18px; - text-align: center; -} -.tundra .dijitEditorIconSep { background-position: 0px; } -.tundra .dijitEditorIconBackColor { background-position: -18px; } -.tundra .dijitEditorIconBold { background-position: -36px; } -.tundra .dijitEditorIconCancel { background-position: -54px; } -.tundra .dijitEditorIconCopy { background-position: -72px; } -.tundra .dijitEditorIconCreateLink { background-position: -90px; } -.tundra .dijitEditorIconCut { background-position: -108px; } -.tundra .dijitEditorIconDelete { background-position: -126px; } -.tundra .dijitEditorIconForeColor { background-position: -144px; } -.tundra .dijitEditorIconHiliteColor { background-position: -162px; } -.tundra .dijitEditorIconIndent { background-position: -180px; } -.tundra .dijitEditorIconInsertHorizontalRule { background-position: -198px; } -.tundra .dijitEditorIconInsertImage { background-position: -216px; } -.tundra .dijitEditorIconInsertOrderedList { background-position: -234px; } -.tundra .dijitEditorIconInsertTable { background-position: -252px; } -.tundra .dijitEditorIconInsertUnorderedList { background-position: -270px; } -.tundra .dijitEditorIconItalic { background-position: -288px; } -.tundra .dijitEditorIconJustifyCenter { background-position: -306px; } -.tundra .dijitEditorIconJustifyFull { background-position: -324px; } -.tundra .dijitEditorIconJustifyLeft { background-position: -342px; } -.tundra .dijitEditorIconJustifyRight { background-position: -360px; } -.tundra .dijitEditorIconLeftToRight { background-position: -378px; } -.tundra .dijitEditorIconListBulletIndent { background-position: -396px; } -.tundra .dijitEditorIconListBulletOutdent { background-position: -414px; } -.tundra .dijitEditorIconListNumIndent { background-position: -432px; } -.tundra .dijitEditorIconListNumOutdent { background-position: -450px; } -.tundra .dijitEditorIconOutdent { background-position: -468px; } -.tundra .dijitEditorIconPaste { background-position: -486px; } -.tundra .dijitEditorIconRedo { background-position: -504px; } -.tundra .dijitEditorIconRemoveFormat { background-position: -522px; } -.tundra .dijitEditorIconRightToLeft { background-position: -540px; } -.tundra .dijitEditorIconSave { background-position: -558px; } -.tundra .dijitEditorIconSpace { background-position: -576px; } -.tundra .dijitEditorIconStrikethrough { background-position: -594px; } -.tundra .dijitEditorIconSubscript { background-position: -612px; } -.tundra .dijitEditorIconSuperscript { background-position: -630px; } -.tundra .dijitEditorIconUnderline { background-position: -648px; } -.tundra .dijitEditorIconUndo { background-position: -666px; } -.tundra .dijitEditorIconWikiword { background-position: -684px; } -.tundra .dijitEditorIconToggleDir { background-position: -540px; /* padding: 0; margin: 0; color:#555555; - font-family:verdana,arial,sans-serif; font-weight: 800; font-size: 70%; */} diff --git a/includes/js/dijit/themes/tundra/Editor_rtl.css b/includes/js/dijit/themes/tundra/Editor_rtl.css deleted file mode 100644 index 2e936ec..0000000 --- a/includes/js/dijit/themes/tundra/Editor_rtl.css +++ /dev/null @@ -1,7 +0,0 @@ - -.dijitRtl .dijitEditorIcon { - background-image: url('images/editor_rtl.gif'); -} -.dijitRtl .dijitToolbar .dijitToolbarSeparator { - background-image: url('images/editor_rtl.gif'); -} diff --git a/includes/js/dijit/themes/tundra/Editor_rtl.css.commented.css b/includes/js/dijit/themes/tundra/Editor_rtl.css.commented.css deleted file mode 100644 index 2a2df3e..0000000 --- a/includes/js/dijit/themes/tundra/Editor_rtl.css.commented.css +++ /dev/null @@ -1,9 +0,0 @@ -/* Editor */ -.dijitRtl .dijitEditorIcon { - background-image: url('images/editor_rtl.gif'); /* editor icons sprite image */ -} - -/* Toolbar */ -.dijitRtl .dijitToolbar .dijitToolbarSeparator { - background-image: url('images/editor_rtl.gif'); -} diff --git a/includes/js/dijit/themes/tundra/Menu.css b/includes/js/dijit/themes/tundra/Menu.css deleted file mode 100644 index 2e685d0..0000000 --- a/includes/js/dijit/themes/tundra/Menu.css +++ /dev/null @@ -1,45 +0,0 @@ -.tundra .dijitMenu { - border: 1px solid #7eabcd; - margin: 0px; - padding: 0px; -} -.tundra .dijitMenuItem { - background-color: #f7f7f7; - font: menu; - margin: 0; -} -.tundra .dijitMenuPreviousButton, .tundra .dijitMenuNextButton { - font-style: italic; -} -.tundra .dijitMenuItem td { - padding:2px; -} -.tundra .dijitMenuItemHover { - background-color: #60a1ea; - color:#fff; -} -.tundra .dijitMenuItemIcon { - width: 16px; - height: 16px; -} -.tundra .dijitMenuExpand { - display:none; -} -.tundra .dijitMenuExpandEnabled { - width:16px; - height:16px; - background:url('images/arrowRight.gif') no-repeat center center; - display:block; -} -.tundra .dijitMenuExpandInner { - display:none; -} -.tundra .dijitMenuSeparator { - background-color: #f7f7f7; -} -.tundra .dijitMenuSeparatorTop { - border-bottom: 1px solid #9b9b9b; -} -.tundra .dijitMenuSeparatorBottom { - border-top: 1px solid #e8e8e8; -} diff --git a/includes/js/dijit/themes/tundra/Menu.css.commented.css b/includes/js/dijit/themes/tundra/Menu.css.commented.css deleted file mode 100644 index bed92ca..0000000 --- a/includes/js/dijit/themes/tundra/Menu.css.commented.css +++ /dev/null @@ -1,54 +0,0 @@ -.tundra .dijitMenu { - border: 1px solid #7eabcd; - margin: 0px; - padding: 0px; -} - -.tundra .dijitMenuItem { - background-color: #f7f7f7; - font: menu; - margin: 0; -} -.tundra .dijitMenuPreviousButton, .tundra .dijitMenuNextButton { - font-style: italic; -} -.tundra .dijitMenuItem td { - padding:2px; -} - -.tundra .dijitMenuItemHover { - background-color: #60a1ea; - color:#fff; -} - -.tundra .dijitMenuItemIcon { - width: 16px; - height: 16px; -} - -.tundra .dijitMenuExpand { - display:none; -} -.tundra .dijitMenuExpandEnabled { - width:16px; - height:16px; - background:url('images/arrowRight.gif') no-repeat center center; - display:block; -} - -.tundra .dijitMenuExpandInner { - display:none; -} - -.tundra .dijitMenuSeparator { - background-color: #f7f7f7; -} - -/* separator can be two pixels -- set border of either one to 0px to have only one */ -.tundra .dijitMenuSeparatorTop { - border-bottom: 1px solid #9b9b9b; -} - -.tundra .dijitMenuSeparatorBottom { - border-top: 1px solid #e8e8e8; -} diff --git a/includes/js/dijit/themes/tundra/Menu_rtl.css b/includes/js/dijit/themes/tundra/Menu_rtl.css deleted file mode 100644 index 1c4ab3f..0000000 --- a/includes/js/dijit/themes/tundra/Menu_rtl.css +++ /dev/null @@ -1,7 +0,0 @@ -.dijitRtl .dijitMenuItem .dijitMenuItemIcon { - padding-left: 3px; - padding-right: 0px; -} -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url('images/arrowLeft.gif'); -} diff --git a/includes/js/dijit/themes/tundra/Menu_rtl.css.commented.css b/includes/js/dijit/themes/tundra/Menu_rtl.css.commented.css deleted file mode 100644 index f8f4bb3..0000000 --- a/includes/js/dijit/themes/tundra/Menu_rtl.css.commented.css +++ /dev/null @@ -1,8 +0,0 @@ -.dijitRtl .dijitMenuItem .dijitMenuItemIcon { - padding-left: 3px; - padding-right: 0px; -} - -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url('images/arrowLeft.gif'); -} diff --git a/includes/js/dijit/themes/tundra/ProgressBar.css b/includes/js/dijit/themes/tundra/ProgressBar.css deleted file mode 100644 index 2263381..0000000 --- a/includes/js/dijit/themes/tundra/ProgressBar.css +++ /dev/null @@ -1,23 +0,0 @@ -.tundra .dijitProgressBar { - margin:2px 0px 2px 0px; -} -.tundra .dijitProgressBarEmpty{ - - background:#fff url("images/progressBarEmpty.png") repeat-x top left; - border-color: #a2a2a2 #b8b8b8 #b8b8b8 #a2a2a2; -} -.tundra .dijitProgressBarTile{ - - background:#f0f0f0 url("images/progressBarFull.png") repeat-x center center; -} -.tundra .dijitProgressBarFull { - border-right:1px solid #b8b8b8; -} -.tundra .dijitProgressBarLabel { - - color:#293a4b; -} -.tundra .dijitProgressBarIndeterminate .dijitProgressBarTile { - - background:#cad2de url("images/progressBarAnim.gif") repeat-x center center; -} diff --git a/includes/js/dijit/themes/tundra/ProgressBar.css.commented.css b/includes/js/dijit/themes/tundra/ProgressBar.css.commented.css deleted file mode 100644 index 190c517..0000000 --- a/includes/js/dijit/themes/tundra/ProgressBar.css.commented.css +++ /dev/null @@ -1,28 +0,0 @@ -.tundra .dijitProgressBar { - margin:2px 0px 2px 0px; -} - -.tundra .dijitProgressBarEmpty{ - /* outer container and background of the bar that's not finished yet*/ - background:#fff url("images/progressBarEmpty.png") repeat-x top left; - border-color: #a2a2a2 #b8b8b8 #b8b8b8 #a2a2a2; -} - -.tundra .dijitProgressBarTile{ - /* inner container for finished portion when in 'tile' (image) mode */ - background:#f0f0f0 url("images/progressBarFull.png") repeat-x center center; -} - -.tundra .dijitProgressBarFull { - border-right:1px solid #b8b8b8; -} - -.tundra .dijitProgressBarLabel { - /* Set to a color that contrasts with both the "Empty" and "Full" parts. */ - color:#293a4b; -} - -.tundra .dijitProgressBarIndeterminate .dijitProgressBarTile { - /* use an animated gif for the progress bar in 'indeterminate' mode */ - background:#cad2de url("images/progressBarAnim.gif") repeat-x center center; -} diff --git a/includes/js/dijit/themes/tundra/TitlePane.css b/includes/js/dijit/themes/tundra/TitlePane.css deleted file mode 100644 index 7cff86a..0000000 --- a/includes/js/dijit/themes/tundra/TitlePane.css +++ /dev/null @@ -1,55 +0,0 @@ -.tundra .dijitTitlePane .dijitTitlePaneTitle { - background: #cccccc; - background:#fff url("images/titleBar.png") repeat-x bottom left; - border:1px solid #bfbfbf; - padding:4px 4px 2px 4px; - cursor: pointer; -} -.tundra .dijitTitlePane .dijitArrowNode { - width:16px; - height:16px; - float:right; -} -.tundra .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url('images/arrowRight.png') no-repeat center center; -} -.tundra .dijitTitlePaneFocused .dijitTitlePaneTextNode { - text-decoration:underline; -} -.dj_ie6 .tundra .dijitTitlePane .dijitClosed .dijitArrowNode { - background-image:url('images/arrowRight.gif'); -} -.tundra .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url('images/arrowDown.png') no-repeat center center; -} -.dj_ie6 .tundra .dijitTitlePane .dijitOpen .dijitArrowNode { - background-image:url('images/arrowDown.gif'); -} -.tundra .dijitTitlePane .dijitArrowNodeInner { - visibility:hidden; -} -.dijit_a11y .dijitTitlePane .dijitArrowNodeInner { - visibility:visible; -} -.tundra .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - margin-right:5px; -} -.tundra .dijitOpen .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - position:relative; - top:2px; -} -.tundra .dijitTitlePaneContentOuter { - background: #ffffff; - border:1px solid #bfbfbf; - border-top: 1px solid #ccc; -} -.tundra .dijitTitlePaneContentInner { - padding:10px; -} -.dj_ie6 .tundra .dijitTitlePaneContentOuter, -.dj_ie6 .tundra .dijitTitlePane .dijitTitlePaneTitle { - zoom: 1; -} -.tundra .dijitClickableRegion { - background-color : #ffc !important; -} diff --git a/includes/js/dijit/themes/tundra/TitlePane.css.commented.css b/includes/js/dijit/themes/tundra/TitlePane.css.commented.css deleted file mode 100644 index b4fb596..0000000 --- a/includes/js/dijit/themes/tundra/TitlePane.css.commented.css +++ /dev/null @@ -1,63 +0,0 @@ -.tundra .dijitTitlePane .dijitTitlePaneTitle { - background: #cccccc; - background:#fff url("images/titleBar.png") repeat-x bottom left; - border:1px solid #bfbfbf; - padding:4px 4px 2px 4px; - cursor: pointer; -} - -/* TODO: merge these, and all other icons to a series of background-image:() and background-position: -16*n px styles */ -.tundra .dijitTitlePane .dijitArrowNode { - width:16px; - height:16px; - float:right; -} -.tundra .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url('images/arrowRight.png') no-repeat center center; -} - -.tundra .dijitTitlePaneFocused .dijitTitlePaneTextNode { - text-decoration:underline; -} - -.dj_ie6 .tundra .dijitTitlePane .dijitClosed .dijitArrowNode { - background-image:url('images/arrowRight.gif'); -} -.tundra .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url('images/arrowDown.png') no-repeat center center; -} -.dj_ie6 .tundra .dijitTitlePane .dijitOpen .dijitArrowNode { - background-image:url('images/arrowDown.gif'); -} -.tundra .dijitTitlePane .dijitArrowNodeInner { - visibility:hidden; -} -.dijit_a11y .dijitTitlePane .dijitArrowNodeInner { - visibility:visible; -} - -.tundra .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - margin-right:5px; -} - -.tundra .dijitOpen .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - position:relative; - top:2px; -} - -.tundra .dijitTitlePaneContentOuter { - background: #ffffff; - border:1px solid #bfbfbf; - border-top: 1px solid #ccc; /* w/out this, an

          on the top line causes a gap between the .content and .label */ -} -.tundra .dijitTitlePaneContentInner { - padding:10px; -} -/* force hasLayout to ensure borders etc, show up */ -.dj_ie6 .tundra .dijitTitlePaneContentOuter, -.dj_ie6 .tundra .dijitTitlePane .dijitTitlePaneTitle { - zoom: 1; -} -.tundra .dijitClickableRegion { - background-color : #ffc !important; -} diff --git a/includes/js/dijit/themes/tundra/TitlePane_rtl.css b/includes/js/dijit/themes/tundra/TitlePane_rtl.css deleted file mode 100644 index dfa7d89..0000000 --- a/includes/js/dijit/themes/tundra/TitlePane_rtl.css +++ /dev/null @@ -1,6 +0,0 @@ -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url('images/arrowRight.png') no-repeat center center; -} -.dj_ie6 .dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-image:url('images/arrowRight.gif'); -} diff --git a/includes/js/dijit/themes/tundra/TitlePane_rtl.css.commented.css b/includes/js/dijit/themes/tundra/TitlePane_rtl.css.commented.css deleted file mode 100644 index dfa7d89..0000000 --- a/includes/js/dijit/themes/tundra/TitlePane_rtl.css.commented.css +++ /dev/null @@ -1,6 +0,0 @@ -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url('images/arrowRight.png') no-repeat center center; -} -.dj_ie6 .dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-image:url('images/arrowRight.gif'); -} diff --git a/includes/js/dijit/themes/tundra/Toolbar.css b/includes/js/dijit/themes/tundra/Toolbar.css deleted file mode 100644 index c5d232b..0000000 --- a/includes/js/dijit/themes/tundra/Toolbar.css +++ /dev/null @@ -1,83 +0,0 @@ -.tundra .dijitToolbar { - padding: 3px 0 1px 3px; - border-bottom: 1px solid #ccc; - background:#eaeaea url("images/titleBar.png") repeat-x top left; -} -.tundra .dijitToolbar .dijitButtonNode { - background: none; - margin: 0px !important; - padding: 0px !important; - border: none; - font-size: 12px; -} -.tundra .dijitToolbar .dijitButton, -.tundra .dijitToolbar .dijitToggleButton, -.tundra .dijitToolbar .dijitDropDownButton { - background: none; - margin: 1px; - padding: 0px; - border: 1px solid transparent; -} -.tundra .dijitToolbar .dijitButtonChecked, -.tundra .dijitToolbar .dijitToggleButtonChecked { - background-color:#d4dff2; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} -.tundra .dijitToolbar .dijitButtonCheckedHover, -.tundra .dijitToolbar .dijitToggleButtonCheckedHover - { - background-color:#abc1e5; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} -.tundra .dijitToolbar .dijitButtonHover, -.tundra .dijitToolbar .dijitToggleButtonHover, -.tundra .dijitToolbar .dijitDropDownButtonHover { - - border: 1px solid #316ac5; - background-color:#abc1e5; -} -.tundra .dijitToolbar label { - padding: 3px 3px 0 6px; -} -.dj_ie .tundra .dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ie .tundra .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused, -.dj_ff2 .tundra.dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .tundra .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.dj_ie6 .tundra .dijitToolbar .dijitButton, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButton, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButton { - - margin: 2px; - padding: 0px 2px; - border: 0px; -} -.dj_ie6 .tundra .dijitToolbar .dijitButtonChecked, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButtonChecked, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButtonChecked { - background-color:#c1d2ee; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .tundra .dijitToolbar .dijitButtonCheckedHover, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButtonCheckedHover, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButtonCheckedHover { - background-color:#c1d2ee; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .tundra .dijitToolbar .dijitButtonHover, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButtonHover, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButtonHover { - background-color:#c1d2ee; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} diff --git a/includes/js/dijit/themes/tundra/Toolbar.css.commented.css b/includes/js/dijit/themes/tundra/Toolbar.css.commented.css deleted file mode 100644 index 42c62ef..0000000 --- a/includes/js/dijit/themes/tundra/Toolbar.css.commented.css +++ /dev/null @@ -1,95 +0,0 @@ -.tundra .dijitToolbar { - padding: 3px 0 1px 3px; - border-bottom: 1px solid #ccc; - background:#eaeaea url("images/titleBar.png") repeat-x top left; -} - -.tundra .dijitToolbar .dijitButtonNode { - background: none; - margin: 0px !important; - padding: 0px !important; - border: none; - font-size: 12px; -} - -.tundra .dijitToolbar .dijitButton, -.tundra .dijitToolbar .dijitToggleButton, -.tundra .dijitToolbar .dijitDropDownButton { - background: none; - margin: 1px; - padding: 0px; - border: 1px solid transparent; -} - -.tundra .dijitToolbar .dijitButtonChecked, -.tundra .dijitToolbar .dijitToggleButtonChecked { - background-color:#d4dff2; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} - -.tundra .dijitToolbar .dijitButtonCheckedHover, -.tundra .dijitToolbar .dijitToggleButtonCheckedHover - { - background-color:#abc1e5; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} - -.tundra .dijitToolbar .dijitButtonHover, -.tundra .dijitToolbar .dijitToggleButtonHover, -.tundra .dijitToolbar .dijitDropDownButtonHover { - /* TODO: change this from Hover to Selected so that button is still highlighted while drop down is being used */ - border: 1px solid #316ac5; - background-color:#abc1e5; -} - -.tundra .dijitToolbar label { - padding: 3px 3px 0 6px; -} - -.dj_ie .tundra .dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ie .tundra .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused, -.dj_ff2 .tundra.dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .tundra .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} - -/* IE6 specific rules */ -.dj_ie6 .tundra .dijitToolbar .dijitButton, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButton, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButton { - /* workaround no transparent border support in IE6 */ - margin: 2px; - padding: 0px 2px; - border: 0px; -} - -.dj_ie6 .tundra .dijitToolbar .dijitButtonChecked, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButtonChecked, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButtonChecked { - background-color:#c1d2ee; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} - -.dj_ie6 .tundra .dijitToolbar .dijitButtonCheckedHover, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButtonCheckedHover, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButtonCheckedHover { - background-color:#c1d2ee; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} - -.dj_ie6 .tundra .dijitToolbar .dijitButtonHover, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButtonHover, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButtonHover { - background-color:#c1d2ee; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} diff --git a/includes/js/dijit/themes/tundra/Tree.css b/includes/js/dijit/themes/tundra/Tree.css deleted file mode 100644 index 954be37..0000000 --- a/includes/js/dijit/themes/tundra/Tree.css +++ /dev/null @@ -1,65 +0,0 @@ - -.tundra .dijitTreeNode { - background-image : url('images/i.gif'); - background-position : top left; - background-repeat : repeat-y; - margin-left: 19px; - zoom: 1; -} -.tundra .dijitTreeIsLast { - background: url('images/i_half.gif') no-repeat; -} -.tundra .dijitTreeIsRoot { - margin-left: 0; - background-image: none; -} -.tundra .dijitTreeExpando { - width: 18px; - height: 18px; -} -.tundra .dijitTreeContent { - min-height: 18px; - min-width: 18px; - margin-left:18px; - padding-top:3px; - padding-left:1px; -} -.tundra .dijitTreeExpand { - width: 18px; - height: 18px; - background-repeat : no-repeat; -} -.tundra .dijitTreeNodeEmphasized { - background-color: Highlight; - color: HighlightText; -} -.tundra .dijitTreeLabelFocused { - outline: 1px invert dotted; - background:#dde7f2; -} -.tundra .dijitTreeExpandoOpened { - background-image: url('images/treeExpand_minus.gif'); -} -.tundra .dijitTreeExpandoClosed { - background-image: url('images/treeExpand_plus.gif'); -} -.tundra .dijitTreeExpandoLeaf { - background-image: url('images/treeExpand_leaf.gif'); -} -.tundra .dijitTreeExpandoLoading { - background-image: url('images/treeExpand_loading.gif'); -} -.tundra .dijitTreeIcon { - width: 16px; - height: 16px; - padding-right: 4px; -} -.tundra .dijitFolderOpened { - background: url('images/folderOpened.gif') no-repeat; -} -.tundra .dijitFolderClosed { - background: url('images/folderClosed.gif') no-repeat; -} -.tundra .dijitLeaf { - background: url('images/leaf.gif') no-repeat; -} diff --git a/includes/js/dijit/themes/tundra/Tree.css.commented.css b/includes/js/dijit/themes/tundra/Tree.css.commented.css deleted file mode 100644 index b172a66..0000000 --- a/includes/js/dijit/themes/tundra/Tree.css.commented.css +++ /dev/null @@ -1,86 +0,0 @@ - -/* Tree */ - -.tundra .dijitTreeNode { - background-image : url('images/i.gif'); - background-position : top left; - background-repeat : repeat-y; - margin-left: 19px; - zoom: 1; /* MOW: what the heck is this doing in here? */ -} - -/* left vertical line (grid) for all nodes */ -.tundra .dijitTreeIsLast { - background: url('images/i_half.gif') no-repeat; -} - -.tundra .dijitTreeIsRoot { - margin-left: 0; - background-image: none; -} - -.tundra .dijitTreeExpando { - width: 18px; - height: 18px; -} - -.tundra .dijitTreeContent { - min-height: 18px; - min-width: 18px; - margin-left:18px; - padding-top:3px; - padding-left:1px; -} - - -.tundra .dijitTreeExpand { - width: 18px; - height: 18px; - background-repeat : no-repeat; -} - -/* same style as IE selection */ -.tundra .dijitTreeNodeEmphasized { - background-color: Highlight; - color: HighlightText; -} - -/* don't use :focus due to opera and IE's lack of support on div's */ -.tundra .dijitTreeLabelFocused { - outline: 1px invert dotted; - background:#dde7f2; -} - -.tundra .dijitTreeExpandoOpened { - background-image: url('images/treeExpand_minus.gif'); -} - -.tundra .dijitTreeExpandoClosed { - background-image: url('images/treeExpand_plus.gif'); -} - -.tundra .dijitTreeExpandoLeaf { - background-image: url('images/treeExpand_leaf.gif'); -} - -.tundra .dijitTreeExpandoLoading { - background-image: url('images/treeExpand_loading.gif'); -} - -.tundra .dijitTreeIcon { - width: 16px; - height: 16px; - padding-right: 4px; -} - -.tundra .dijitFolderOpened { - background: url('images/folderOpened.gif') no-repeat; -} - -.tundra .dijitFolderClosed { - background: url('images/folderClosed.gif') no-repeat; -} - -.tundra .dijitLeaf { - background: url('images/leaf.gif') no-repeat; -} diff --git a/includes/js/dijit/themes/tundra/Tree_rtl.css b/includes/js/dijit/themes/tundra/Tree_rtl.css deleted file mode 100644 index 5b4ba1f..0000000 --- a/includes/js/dijit/themes/tundra/Tree_rtl.css +++ /dev/null @@ -1,30 +0,0 @@ - -.dijitRtl .dijitTreeContainer .dijitTreeNode { - background-image : url('images/i_rtl.gif'); - background-position : top right; - margin-left: auto; - margin-right: 19px; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsRoot { - margin-left: auto; - margin-right: 0; - background-image: none; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsLast { - background-image: url('images/i_half_rtl.gif'); -} -.dijitRtl .dijitTreeContainer .dijitTreeContent { - margin-left: auto; - margin-right: 18px; - padding-left: auto; - padding-right: 1px; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoOpened { - background-image: url('images/treeExpand_minus_rtl.gif'); -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoClosed { - background-image: url('images/treeExpand_plus_rtl.gif'); -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoLeaf { - background-image: url('images/treeExpand_leaf_rtl.gif'); -} diff --git a/includes/js/dijit/themes/tundra/Tree_rtl.css.commented.css b/includes/js/dijit/themes/tundra/Tree_rtl.css.commented.css deleted file mode 100644 index 52e0135..0000000 --- a/includes/js/dijit/themes/tundra/Tree_rtl.css.commented.css +++ /dev/null @@ -1,37 +0,0 @@ - -/* Tree */ -.dijitRtl .dijitTreeContainer .dijitTreeNode { - background-image : url('images/i_rtl.gif'); - background-position : top right; - margin-left: auto; - margin-right: 19px; -} - -.dijitRtl .dijitTreeContainer .dijitTreeIsRoot { - margin-left: auto; - margin-right: 0; - background-image: none; -} - -.dijitRtl .dijitTreeContainer .dijitTreeIsLast { - background-image: url('images/i_half_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeContent { - margin-left: auto; - margin-right: 18px; - padding-left: auto; - padding-right: 1px; -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoOpened { - background-image: url('images/treeExpand_minus_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoClosed { - background-image: url('images/treeExpand_plus_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoLeaf { - background-image: url('images/treeExpand_leaf_rtl.gif'); -} diff --git a/includes/js/dijit/themes/tundra/form/Button.css b/includes/js/dijit/themes/tundra/form/Button.css deleted file mode 100644 index 40e1e0f..0000000 --- a/includes/js/dijit/themes/tundra/form/Button.css +++ /dev/null @@ -1,93 +0,0 @@ - -.tundra .dijitButtonNode { - - - border:1px solid #c0c0c0; - border-bottom:1px solid #9b9b9b; - border-right:1px solid #9b9b9b; - padding: 0.2em; - background:#fff url("../images/buttonEnabled.png") repeat-x bottom left; -} -.dj_ie .tundra .dijitButtonNode { - zoom: 1; -} -.tundra .dijitButtonText { - padding: 0 0.3em; -} -.tundra .dijitComboBox .dijitButtonNode { - border: 0px; -} -.tundra .dijitArrowButton { - color: #111; -} -.tundra .dijitComboButton .dijitDownArrowButton { - padding-right:4px; -} -.dj_ff2 .tundra .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .tundra .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.tundra .dijitButtonDisabled .dijitButtonNode, -.tundra .dijitToggleButtonDisabled .dijitButtonNode, -.tundra .dijitDropDownButtonDisabled .dijitButtonNode, -.tundra .dijitComboButtonDisabled .dijitButtonNode, -.tundra .dijitComboBoxDisabled, -.tundra .dijitSpinnerDisabled, -.tundra .dijitSpinnerDisabled .dijitButtonNode { - - border-color: #d5d5d5 #bdbdbd #bdbdbd #d5d5d5; - - background:#e4e4e4 url("../images/buttonDisabled.png") top repeat-x; - opacity: 0.60; -} -.dj_ie .tundra .dijitButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitToggleButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitDropDownButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitComboButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitSpinnerDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); -} -.tundra .dijitButtonHover .dijitButtonNode, -.tundra .dijitToggleButtonHover .dijitButtonNode, -.tundra .dijitDropDownButtonHover .dijitButtonNode, -.tundra .dijitComboButtonHover .dijitButtonContents, -.tundra .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.tundra .dijitComboBoxHover .dijitDownArrowButton, -.tundra .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.tundra .dijitSpinnerDownArrowHover .dijitDownArrowButton { - - - border-color:#a5beda; - border-bottom-color:#5c7590; - border-right-color:#5c7590; - color:#000; - background:#fcfdff url("../images/buttonHover.png") repeat-x bottom; -} -.tundra .dijitSpinnerUpArrowActive .dijitUpArrowButton, -.tundra .dijitSpinnerDownArrowActive .dijitDownArrowButton, -.tundra .dijitButtonActive .dijitButtonNode, -.tundra .dijitToggleButtonActive .dijitButtonNode, -.tundra .dijitDropDownButtonActive .dijitButtonNode, -.tundra .dijitComboButtonActive .dijitButtonContents, -.tundra .dijitDownArrowActive .dijitDownArrowButton, -.tundra .dijitComboBoxActive .dijitDownArrowButton { - - border-color:#366dba; - background: #ededed url("../images/buttonActive.png") bottom repeat-x; -} -.tundra .dijitArrowButtonInner { - background:url("../images/arrowDown.png") no-repeat center center; -} -.tundra .dijitUpArrowButton .dijitArrowButtonInner { background-image:url("../images/arrowUp.png"); } -.dj_ie6 .tundra .dijitArrowButtonInner { - background-image:url("../images/arrowDown.gif"); -} -.dj_ie6 .tundra .dijitUpArrowButton .dijitArrowButtonInner { - background-image:url("../images/arrowUp.gif"); -} -.tundra .dijitComboBox .dijitArrowButton .dijitArrowButtonInner { - background:url("../images/comboArrowDown.gif") no-repeat center center; -} -.tundra .dijitComboBoxHover .dijitArrowButtonInner { - -} diff --git a/includes/js/dijit/themes/tundra/form/Button.css.commented.css b/includes/js/dijit/themes/tundra/form/Button.css.commented.css deleted file mode 100644 index f5bd15a..0000000 --- a/includes/js/dijit/themes/tundra/form/Button.css.commented.css +++ /dev/null @@ -1,113 +0,0 @@ - -/***** - dijit.form.Button - dijit.form.DropDownButton - dijit.form.ComboButton - dijit.form.ComboBox (partial) - *****/ - -.tundra .dijitButtonNode { - /* enabled state - inner */ - /* border:1px outset #a0a0a0; */ - border:1px solid #c0c0c0; - border-bottom:1px solid #9b9b9b; - border-right:1px solid #9b9b9b; - padding: 0.2em; - background:#fff url("../images/buttonEnabled.png") repeat-x bottom left; -} -.dj_ie .tundra .dijitButtonNode { - zoom: 1; -} - -.tundra .dijitButtonText { - padding: 0 0.3em; -} - -.tundra .dijitComboBox .dijitButtonNode { - border: 0px; -} - -.tundra .dijitArrowButton { - color: #111; -} - -.tundra .dijitComboButton .dijitDownArrowButton { - padding-right:4px; -} - -.dj_ff2 .tundra .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .tundra .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} - -.tundra .dijitButtonDisabled .dijitButtonNode, -.tundra .dijitToggleButtonDisabled .dijitButtonNode, -.tundra .dijitDropDownButtonDisabled .dijitButtonNode, -.tundra .dijitComboButtonDisabled .dijitButtonNode, -.tundra .dijitComboBoxDisabled, -.tundra .dijitSpinnerDisabled, -.tundra .dijitSpinnerDisabled .dijitButtonNode { - /* disabled state - inner */ - border-color: #d5d5d5 #bdbdbd #bdbdbd #d5d5d5; - /*color:#b4b4b4;*/ - background:#e4e4e4 url("../images/buttonDisabled.png") top repeat-x; - opacity: 0.60; /* Safari, Opera and Mozilla */ -} -.dj_ie .tundra .dijitButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitToggleButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitDropDownButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitComboButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitSpinnerDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); /* IE */ -} - -.tundra .dijitButtonHover .dijitButtonNode, -.tundra .dijitToggleButtonHover .dijitButtonNode, -.tundra .dijitDropDownButtonHover .dijitButtonNode, -.tundra .dijitComboButtonHover .dijitButtonContents, -.tundra .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.tundra .dijitComboBoxHover .dijitDownArrowButton, -.tundra .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.tundra .dijitSpinnerDownArrowHover .dijitDownArrowButton { - /* hover state - inner */ - /* TODO: change from Hover to Selected so that button is still highlighted while drop down is being used */ - border-color:#a5beda; - border-bottom-color:#5c7590; - border-right-color:#5c7590; - color:#000; - background:#fcfdff url("../images/buttonHover.png") repeat-x bottom; -} - -.tundra .dijitSpinnerUpArrowActive .dijitUpArrowButton, -.tundra .dijitSpinnerDownArrowActive .dijitDownArrowButton, -.tundra .dijitButtonActive .dijitButtonNode, -.tundra .dijitToggleButtonActive .dijitButtonNode, -.tundra .dijitDropDownButtonActive .dijitButtonNode, -.tundra .dijitComboButtonActive .dijitButtonContents, -.tundra .dijitDownArrowActive .dijitDownArrowButton, -.tundra .dijitComboBoxActive .dijitDownArrowButton { - /* active state - inner (for when you are pressing a normal button, or - * when a toggle button is in a depressed state - */ - border-color:#366dba; - background: #ededed url("../images/buttonActive.png") bottom repeat-x; -} - - - -.tundra .dijitArrowButtonInner { - background:url("../images/arrowDown.png") no-repeat center center; -} -.tundra .dijitUpArrowButton .dijitArrowButtonInner { background-image:url("../images/arrowUp.png"); } -.dj_ie6 .tundra .dijitArrowButtonInner { - background-image:url("../images/arrowDown.gif"); -} -.dj_ie6 .tundra .dijitUpArrowButton .dijitArrowButtonInner { - background-image:url("../images/arrowUp.gif"); -} -.tundra .dijitComboBox .dijitArrowButton .dijitArrowButtonInner { - background:url("../images/comboArrowDown.gif") no-repeat center center; -} -.tundra .dijitComboBoxHover .dijitArrowButtonInner { - /* TODO: url("../images/arrowDownHover.png") but in IE6 it flickers some? */ -} diff --git a/includes/js/dijit/themes/tundra/form/Checkbox.css b/includes/js/dijit/themes/tundra/form/Checkbox.css deleted file mode 100644 index 0c59885..0000000 --- a/includes/js/dijit/themes/tundra/form/Checkbox.css +++ /dev/null @@ -1,40 +0,0 @@ -.tundra .dijitToggleButton .dijitCheckBoxIcon { - background-image: url('../images/checkmarkNoBorder.gif'); -} -.tundra .dijitCheckBox, -.tundra .dijitCheckBoxIcon { - background-image: url('../images/checkmark.gif'); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.tundra .dijitCheckBox, -.tundra .dijitToggleButton .dijitCheckBoxIcon { - - background-position: -16px; -} -.tundra .dijitCheckBoxChecked, -.tundra .dijitToggleButtonChecked .dijitCheckBoxIcon { - - background-position: 0px; -} -.tundra .dijitCheckBoxDisabled { - - background-position: -48px; -} -.tundra .dijitCheckBoxCheckedDisabled { - - background-position: -32px; -} -.tundra .dijitCheckBoxHover, -.tundra .dijitCheckBoxFocused { - - background-position: -80px; -} -.tundra .dijitCheckBoxCheckedHover, -.tundra .dijitCheckBoxCheckedFocused { - - background-position: -64px; -} diff --git a/includes/js/dijit/themes/tundra/form/Checkbox.css.commented.css b/includes/js/dijit/themes/tundra/form/Checkbox.css.commented.css deleted file mode 100644 index 8b7b2cc..0000000 --- a/includes/js/dijit/themes/tundra/form/Checkbox.css.commented.css +++ /dev/null @@ -1,47 +0,0 @@ -.tundra .dijitToggleButton .dijitCheckBoxIcon { - background-image: url('../images/checkmarkNoBorder.gif'); -} - -.tundra .dijitCheckBox, -.tundra .dijitCheckBoxIcon /* inside a toggle button */ { - background-image: url('../images/checkmark.gif'); /* checkbox sprite image */ - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} - -.tundra .dijitCheckBox, -.tundra .dijitToggleButton .dijitCheckBoxIcon { - /* unchecked */ - background-position: -16px; -} - -.tundra .dijitCheckBoxChecked, -.tundra .dijitToggleButtonChecked .dijitCheckBoxIcon { - /* checked */ - background-position: 0px; -} - -.tundra .dijitCheckBoxDisabled { - /* disabled */ - background-position: -48px; -} - -.tundra .dijitCheckBoxCheckedDisabled { - /* disabled but checked */ - background-position: -32px; -} - -.tundra .dijitCheckBoxHover, -.tundra .dijitCheckBoxFocused { - /* hovering over an unchecked enabled checkbox */ - background-position: -80px; -} - -.tundra .dijitCheckBoxCheckedHover, -.tundra .dijitCheckBoxCheckedFocused { - /* hovering over a checked enabled checkbox */ - background-position: -64px; -} diff --git a/includes/js/dijit/themes/tundra/form/Common.css b/includes/js/dijit/themes/tundra/form/Common.css deleted file mode 100644 index d8ab7a0..0000000 --- a/includes/js/dijit/themes/tundra/form/Common.css +++ /dev/null @@ -1,83 +0,0 @@ - -.tundra .dijitInputField INPUT, -.tundra .dijitTextBox, -.tundra .dijitComboBox, -.tundra .dijitSpinner { - margin: 0em 0.1em; -} -.tundra .dijitTextBox, -.tundra .dijitComboBox, -.tundra .dijitSpinner, -.tundra .dijitInlineEditor input { - - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #b3b3b3; - line-height: normal; -} -.tundra .dijitComboBox .dijitButtonNode { - padding: 0 0.2em; -} -.tundra .dijitComboBox .dijitButtonNode, -.tundra .dijitSpinner .dijitButtonNode { - - border-color: #9b9b9b; -} -.tundra .dijitTextBoxFocused, -.tundra .dijitComboBoxFocused, -.tundra .dijitSpinnerFocused { - - border-color:#406b9b; -} -.tundra .dijitComboBoxFocused .dijitButtonNode, .tundra .dijitSpinnerFocused .dijitButtonNode { - border-left-color:#366dba; -} -.tundra .dijitSpinnerFocused .dijitDownArrowButton { - border-top-color:#366dba; -} -.tundra .dijitError { - border-color:#f3d118; - background-color:#f9f7ba; - background-image:none; -} -.dj_ie6 .tundra .dijitError INPUT { - - background-color:#f9f7ba !important; -} -.tundra .dijitErrorFocused { - background-color:#ff6; - background-image:none; -} -.dj_ie6 .tundra .dijitErrorFocused INPUT { - - background-color:#ff6 !important; -} -.tundra .dijitValidationIcon { - - width: 16px; - background: transparent url('../images/warning.png') no-repeat center center; -} -.tundra .dijitInlineValue { - - padding:3px; - margin:4px; -} -.tundra .dijitInlineEditor { - - display: inline-block; - display: -moz-inline-stack; - #display:inline; - -} -.dijitInlineEditor .saveButton, -.dijitInlineEditor .cancelButton { - margin:3px 3px 3px 0px; -} -.RichTextEditable { - border:1px solid #bfbfbf; - border-top:0; -} -.dj_ie6 .tundra .dijitInputField -{ - background: url("../images/validationInputBg.gif") repeat-x top left #fff; -} diff --git a/includes/js/dijit/themes/tundra/form/Common.css.commented.css b/includes/js/dijit/themes/tundra/form/Common.css.commented.css deleted file mode 100644 index 5bbb265..0000000 --- a/includes/js/dijit/themes/tundra/form/Common.css.commented.css +++ /dev/null @@ -1,126 +0,0 @@ - -/**** - dijit.form.TextBox - dijit.form.ValidationTextBox - dijit.form.SerializableTextBox - dijit.form.RangeBoundTextBox - dijit.form.NumberTextBox - dijit.form.CurrencyTextBox - dijit.form.NumberSpinner - dijit.form.ComboBox (partial) - ****/ - -.tundra .dijitInputField INPUT, -.tundra .dijitTextBox, -.tundra .dijitComboBox, -.tundra .dijitSpinner { - margin: 0em 0.1em; -} - -.tundra .dijitTextBox, -.tundra .dijitComboBox, -.tundra .dijitSpinner, -.tundra .dijitInlineEditor input { - /* For all except dijit.form.NumberSpinner: the actual input element. - For TextBox, ComboBox, Spinner: the table that contains the input. - Otherwise the actual input element. - */ - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #b3b3b3; - line-height: normal; -} - -.tundra .dijitComboBox .dijitButtonNode { - padding: 0 0.2em; -} -.tundra .dijitComboBox .dijitButtonNode, -.tundra .dijitSpinner .dijitButtonNode { - /* line between the input area and the drop down button */ - border-color: #9b9b9b; -} - -.tundra .dijitTextBoxFocused, -.tundra .dijitComboBoxFocused, -.tundra .dijitSpinnerFocused { - /* input field when focused (ie: typing affects it) */ - border-color:#406b9b; -} -.tundra .dijitComboBoxFocused .dijitButtonNode, .tundra .dijitSpinnerFocused .dijitButtonNode { - border-left-color:#366dba; -} -.tundra .dijitSpinnerFocused .dijitDownArrowButton { - border-top-color:#366dba; -} - -.tundra .dijitError { - border-color:#f3d118; - background-color:#f9f7ba; - background-image:none; -} -.dj_ie6 .tundra .dijitError INPUT { - /* background-color: transparent on an doesn't work on IE6 */ - background-color:#f9f7ba !important; -} - -.tundra .dijitErrorFocused { - background-color:#ff6; - background-image:none; -} -.dj_ie6 .tundra .dijitErrorFocused INPUT { - /* background-color: transparent on an doesn't work on IE6 */ - background-color:#ff6 !important; -} - -/* Validation errors */ -.tundra .dijitValidationIcon { - /* prevent height change when widget goes from valid to invalid state */ - width: 16px; - background: transparent url('../images/warning.png') no-repeat center center; -} - - - -/* inline edit boxen */ -.tundra .dijitInlineValue { - /* span around an inline-editable value when NOT in edit mode */ - padding:3px; - margin:4px; -} - - -/* MOW: trying to get this to look like a mini-dialog. Advised? */ -.tundra .dijitInlineEditor { - /* fieldset surrounding an inlineEditor in edit mode */ - display: inline-block; - display: -moz-inline-stack; - #display:inline; - /* - border-style: solid; - border-color: #7788a0 #344257 #344257 #7788a0; - border-width:1px 2px 2px 1px; - -moz-border-radius:0px 2px 0px 2px; make BL and TR corners indent on Moz so it looks like we have a shadow - background-color:white; - */ -} - -.dijitInlineEditor .saveButton, -.dijitInlineEditor .cancelButton { - margin:3px 3px 3px 0px; -} - -.RichTextEditable { - border:1px solid #bfbfbf; - border-top:0; -} - -/* - * IE6: can't display PNG images with gradient transparency. - * Want to use filter property for those images, but then need to specify a path relative - * to the main page, rather than relative to this file... using gifs for now - */ - -.dj_ie6 .tundra .dijitInputField -{ - background: url("../images/validationInputBg.gif") repeat-x top left #fff; -} diff --git a/includes/js/dijit/themes/tundra/form/RadioButton.css b/includes/js/dijit/themes/tundra/form/RadioButton.css deleted file mode 100644 index bc99ef0..0000000 --- a/includes/js/dijit/themes/tundra/form/RadioButton.css +++ /dev/null @@ -1,41 +0,0 @@ -.tundra .dijitToggleButton .dijitRadio, -.tundra .dijitToggleButton .dijitRadioIcon { - background-image: url('../images/checkmarkNoBorder.gif'); -} -.tundra .dijitRadio, -.tundra .dijitRadioIcon { - background-image: url('../images/checkmark.gif'); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.tundra .dijitRadio, -.tundra .dijitToggleButton .dijitRadioIcon { - - background-position: -112px; -} -.tundra .dijitRadioChecked, -.tundra .dijitToggleButtonChecked .dijitRadioIcon { - - background-position: -96px; -} -.tundra .dijitRadioDisabled { - - background-position: -144px; -} -.tundra .dijitRadioCheckedDisabled { - - background-position: -128px; -} -.tundra .dijitRadioHover, -.tundra .dijitRadioFocused { - - background-position: -176px; -} -.tundra .dijitRadioCheckedHover, -.tundra .dijitRadioCheckedFocused { - - background-position: -160px; -} diff --git a/includes/js/dijit/themes/tundra/form/RadioButton.css.commented.css b/includes/js/dijit/themes/tundra/form/RadioButton.css.commented.css deleted file mode 100644 index e1d7713..0000000 --- a/includes/js/dijit/themes/tundra/form/RadioButton.css.commented.css +++ /dev/null @@ -1,49 +0,0 @@ -.tundra .dijitToggleButton .dijitRadio, -.tundra .dijitToggleButton .dijitRadioIcon { - background-image: url('../images/checkmarkNoBorder.gif'); -} - -.tundra .dijitRadio, -.tundra .dijitRadioIcon { /* inside a toggle button */ - background-image: url('../images/checkmark.gif'); /* checkbox sprite image */ - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} - -.tundra .dijitRadio, -.tundra .dijitToggleButton .dijitRadioIcon { - /* unselected */ - background-position: -112px; -} - -.tundra .dijitRadioChecked, -.tundra .dijitToggleButtonChecked .dijitRadioIcon { - /* selected */ - background-position: -96px; -} - -.tundra .dijitRadioDisabled { - /* unselected and disabled */ - background-position: -144px; -} - -.tundra .dijitRadioCheckedDisabled { - /* selected but disabled */ - background-position: -128px; -} - -.tundra .dijitRadioHover, -.tundra .dijitRadioFocused { - /* hovering over an unselected enabled radio button */ - background-position: -176px; -} - -.tundra .dijitRadioCheckedHover, -.tundra .dijitRadioCheckedFocused { - /* hovering over a selected enabled radio button */ - background-position: -160px; -} - diff --git a/includes/js/dijit/themes/tundra/form/Slider.css b/includes/js/dijit/themes/tundra/form/Slider.css deleted file mode 100644 index ecbc923..0000000 --- a/includes/js/dijit/themes/tundra/form/Slider.css +++ /dev/null @@ -1,113 +0,0 @@ -.tundra .dijitSliderProgressBarH { - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} -.tundra .dijitSliderProgressBarV { - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} -.tundra .dijitSliderFocused .dijitSliderProgressBarH, -.tundra .dijitSliderFocused .dijitSliderLeftBumper { - background-image:url("../images/sliderFullFocus.png"); -} -.tundra .dijitSliderFocused .dijitSliderProgressBarV, -.tundra .dijitSliderFocused .dijitSliderBottomBumper { - background-image:url("../images/sliderFullVerticalFocus.png"); -} -.tundra .dijitSliderRemainingBarV { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y bottom left; -} -.tundra .dijitSliderRemainingBarH { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; -} -.tundra .dijitSliderBar { - border-style: solid; - outline:1px; -} -.tundra .dijitSliderFocused .dijitSliderBar { - border-color:#333; -} -.dijit_a11y .dijitSliderProgressBar { - background-color:#333 !important; -} -.tundra .dijitSliderImageHandleH { - border:0px; - width:16px; - height:16px; - background:url("../images/preciseSliderThumb.png") no-repeat center top; - cursor:pointer; -} -.tundra .dijitSliderFocused .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumbFocus.png"); - #background-image:url("../images/preciseSliderThumbFocus.gif"); -} -.dj_ie6 .tundra .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumb.gif"); -} -.tundra .dijitSliderLeftBumper { - border-left-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} -.tundra .dijitSliderRightBumper { - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; - border-color: #b4b4b4; - border-right-width: 1px; -} -.tundra .dijitSliderImageHandleV { - border:0px; - width:16px; - height:16px; - background:url("../images/sliderThumb.png") no-repeat center center; - cursor:pointer; -} -.tundra .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.png"); -} -.dj_ie6 .tundra .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.gif"); -} -.tundra .dijitSliderBottomBumper { - border-bottom-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} -.tundra .dijitSliderTopBumper { - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y top left; - border-color: #b4b4b4; - border-top-width: 1px; -} -.tundra .dijitSliderIncrementIconH, -.tundra .dijitSliderIncrementIconV { - background:url('../images/arrowUp.png') no-repeat center center; - width:16px; height:16px; - cursor:pointer; -} -.tundra .dijitSliderIncrementIconH { - background-image:url('../images/arrowRight.png'); -} -.tundra .dijitSliderDecrementIconH, -.tundra .dijitSliderDecrementIconV { - width:16px; - height:16px; - cursor:pointer; - background:url('../images/arrowDown.png') no-repeat center center; -} -.tundra .dijitSliderDecrementIconH { background-image:url('../images/arrowLeft.png'); } -.tundra .dijitSliderButtonInner { - visibility:hidden; -} -.tundra .dijitSliderDisabled { - opacity:0.6 !important; -} -.dj_ie6 .tundra .dijitSliderDisabled, -.dj_ie6 .tundra .dijitSliderDisabled .dijitRuleContainer, -.dj_ie6 .tundra .dijitSliderDisabled .dijitSliderRemainingBar, -.dj_ie6 .tundra .dijitSliderDisabled .dijitSliderProgressBar { - filter: gray() alpha(opacity=40); -} -.tundra .dijitSliderDisabled * { - cursor: not-allowed !important; -} diff --git a/includes/js/dijit/themes/tundra/form/Slider.css.commented.css b/includes/js/dijit/themes/tundra/form/Slider.css.commented.css deleted file mode 100644 index 0e0a5c8..0000000 --- a/includes/js/dijit/themes/tundra/form/Slider.css.commented.css +++ /dev/null @@ -1,134 +0,0 @@ -.tundra .dijitSliderProgressBarH { - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} - -.tundra .dijitSliderProgressBarV { - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} - -.tundra .dijitSliderFocused .dijitSliderProgressBarH, -.tundra .dijitSliderFocused .dijitSliderLeftBumper { - background-image:url("../images/sliderFullFocus.png"); -} - -.tundra .dijitSliderFocused .dijitSliderProgressBarV, -.tundra .dijitSliderFocused .dijitSliderBottomBumper { - background-image:url("../images/sliderFullVerticalFocus.png"); -} - -.tundra .dijitSliderRemainingBarV { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y bottom left; -} - -.tundra .dijitSliderRemainingBarH { - border-color: #b4b4b4; - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; -} - -.tundra .dijitSliderBar { - border-style: solid; - outline:1px; -} -.tundra .dijitSliderFocused .dijitSliderBar { - border-color:#333; -} - -.dijit_a11y .dijitSliderProgressBar { - background-color:#333 !important; -} - -.tundra .dijitSliderImageHandleH { - border:0px; - width:16px; - height:16px; - background:url("../images/preciseSliderThumb.png") no-repeat center top; - cursor:pointer; -} -.tundra .dijitSliderFocused .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumbFocus.png"); - #background-image:url("../images/preciseSliderThumbFocus.gif"); -} - -.dj_ie6 .tundra .dijitSliderImageHandleH { - background-image:url("../images/preciseSliderThumb.gif"); -} - -.tundra .dijitSliderLeftBumper { - border-left-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFull.png") repeat-x top left; -} - -.tundra .dijitSliderRightBumper { - background: #dcdcdc url("../images/sliderEmpty.png") repeat-x top left; - border-color: #b4b4b4; - border-right-width: 1px; -} - -.tundra .dijitSliderImageHandleV { - border:0px; - width:16px; - height:16px; - background:url("../images/sliderThumb.png") no-repeat center center; - cursor:pointer; -} - -.tundra .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.png"); -} -.dj_ie6 .tundra .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url("../images/sliderThumbFocus.gif"); -} - -.tundra .dijitSliderBottomBumper { - border-bottom-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("../images/sliderFullVertical.png") repeat-y bottom left; -} - -.tundra .dijitSliderTopBumper { - background: #dcdcdc url("../images/sliderEmptyVertical.png") repeat-y top left; - border-color: #b4b4b4; - border-top-width: 1px; -} - -.tundra .dijitSliderIncrementIconH, -.tundra .dijitSliderIncrementIconV { - background:url('../images/arrowUp.png') no-repeat center center; - width:16px; height:16px; - cursor:pointer; -} -.tundra .dijitSliderIncrementIconH { - background-image:url('../images/arrowRight.png'); -} - -.tundra .dijitSliderDecrementIconH, -.tundra .dijitSliderDecrementIconV { - width:16px; - height:16px; - cursor:pointer; - background:url('../images/arrowDown.png') no-repeat center center; -} -.tundra .dijitSliderDecrementIconH { background-image:url('../images/arrowLeft.png'); } - -.tundra .dijitSliderButtonInner { - visibility:hidden; -} - -.tundra .dijitSliderDisabled { - opacity:0.6 !important; -} - -.dj_ie6 .tundra .dijitSliderDisabled, -.dj_ie6 .tundra .dijitSliderDisabled .dijitRuleContainer, -.dj_ie6 .tundra .dijitSliderDisabled .dijitSliderRemainingBar, -.dj_ie6 .tundra .dijitSliderDisabled .dijitSliderProgressBar { - filter: gray() alpha(opacity=40); -} - -.tundra .dijitSliderDisabled * { - cursor: not-allowed !important; -} diff --git a/includes/js/dijit/themes/tundra/form/Slider_rtl.css b/includes/js/dijit/themes/tundra/form/Slider_rtl.css deleted file mode 100644 index af024e5..0000000 --- a/includes/js/dijit/themes/tundra/form/Slider_rtl.css +++ /dev/null @@ -1,26 +0,0 @@ -.dijitRtl .dijitSliderProgressBarH, -.dijitRtl .dijitSliderRemainingBarH, -.dijitRtl .dijitSliderLeftBumper, -.dijitRtl .dijitSliderRightBumper, -.dijitRtl .dijitSliderTopBumper { - background-position: top right; -} -.dijitRtl .dijitSliderProgressBarV, -.dijitRtl .dijitSliderRemainingBarV, -.dijitRtl .dijitSliderBottomBumper { - background-position: bottom right; -} -.dijitRtl .dijitSliderLeftBumper { - border-left-width: 0px; - border-right-width: 1px; -} -.dijitRtl .dijitSliderRightBumper { - border-left-width: 1px; - border-right-width: 0px; -} -.dijitRtl .dijitSliderIncrementIconH { - background-image:url('../images/arrowLeft.png'); -} -.dijitRtl .dijitSliderDecrementIconH { - background-image:url('../images/arrowRight.png'); -} diff --git a/includes/js/dijit/themes/tundra/form/Slider_rtl.css.commented.css b/includes/js/dijit/themes/tundra/form/Slider_rtl.css.commented.css deleted file mode 100644 index d6b80b8..0000000 --- a/includes/js/dijit/themes/tundra/form/Slider_rtl.css.commented.css +++ /dev/null @@ -1,31 +0,0 @@ -.dijitRtl .dijitSliderProgressBarH, -.dijitRtl .dijitSliderRemainingBarH, -.dijitRtl .dijitSliderLeftBumper, -.dijitRtl .dijitSliderRightBumper, -.dijitRtl .dijitSliderTopBumper { - background-position: top right; -} - -.dijitRtl .dijitSliderProgressBarV, -.dijitRtl .dijitSliderRemainingBarV, -.dijitRtl .dijitSliderBottomBumper { - background-position: bottom right; -} - -.dijitRtl .dijitSliderLeftBumper { - border-left-width: 0px; - border-right-width: 1px; -} - -.dijitRtl .dijitSliderRightBumper { - border-left-width: 1px; - border-right-width: 0px; -} - -.dijitRtl .dijitSliderIncrementIconH { - background-image:url('../images/arrowLeft.png'); -} - -.dijitRtl .dijitSliderDecrementIconH { - background-image:url('../images/arrowRight.png'); -} diff --git a/includes/js/dijit/themes/tundra/form/TextArea.css b/includes/js/dijit/themes/tundra/form/TextArea.css deleted file mode 100644 index a4f0be1..0000000 --- a/includes/js/dijit/themes/tundra/form/TextArea.css +++ /dev/null @@ -1,7 +0,0 @@ -.tundra .dijitTextArea { - - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #b3b3b3; - line-height: normal; -} diff --git a/includes/js/dijit/themes/tundra/form/TextArea.css.commented.css b/includes/js/dijit/themes/tundra/form/TextArea.css.commented.css deleted file mode 100644 index 2f25001..0000000 --- a/includes/js/dijit/themes/tundra/form/TextArea.css.commented.css +++ /dev/null @@ -1,10 +0,0 @@ -.tundra .dijitTextArea { - /* For all except dijit.form.NumberSpinner: the actual input element. - For TextBox, ComboBox, Spinner: the table that contains the input. - Otherwise the actual input element. - */ - background:#fff url("../images/validationInputBg.png") repeat-x top left; - #background:#fff url('../images/validationInputBg.gif') repeat-x top left; - border:1px solid #b3b3b3; - line-height: normal; -} diff --git a/includes/js/dijit/themes/tundra/images/accordionItemActive.gif b/includes/js/dijit/themes/tundra/images/accordionItemActive.gif deleted file mode 100644 index f7e04a3..0000000 Binary files a/includes/js/dijit/themes/tundra/images/accordionItemActive.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/arrowDown.gif b/includes/js/dijit/themes/tundra/images/arrowDown.gif deleted file mode 100644 index 7a73f82..0000000 Binary files a/includes/js/dijit/themes/tundra/images/arrowDown.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/arrowDown.png b/includes/js/dijit/themes/tundra/images/arrowDown.png deleted file mode 100644 index 148b810..0000000 Binary files a/includes/js/dijit/themes/tundra/images/arrowDown.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/arrowLeft.gif b/includes/js/dijit/themes/tundra/images/arrowLeft.gif deleted file mode 100644 index 22e8649..0000000 Binary files a/includes/js/dijit/themes/tundra/images/arrowLeft.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/arrowLeft.png b/includes/js/dijit/themes/tundra/images/arrowLeft.png deleted file mode 100644 index ff0dbfc..0000000 Binary files a/includes/js/dijit/themes/tundra/images/arrowLeft.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/arrowRight.gif b/includes/js/dijit/themes/tundra/images/arrowRight.gif deleted file mode 100644 index 7e21dc0..0000000 Binary files a/includes/js/dijit/themes/tundra/images/arrowRight.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/arrowRight.png b/includes/js/dijit/themes/tundra/images/arrowRight.png deleted file mode 100644 index c8b64ef..0000000 Binary files a/includes/js/dijit/themes/tundra/images/arrowRight.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/arrowUp.gif b/includes/js/dijit/themes/tundra/images/arrowUp.gif deleted file mode 100644 index 9452da0..0000000 Binary files a/includes/js/dijit/themes/tundra/images/arrowUp.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/arrowUp.png b/includes/js/dijit/themes/tundra/images/arrowUp.png deleted file mode 100644 index c4c06ce..0000000 Binary files a/includes/js/dijit/themes/tundra/images/arrowUp.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/buttonActive.png b/includes/js/dijit/themes/tundra/images/buttonActive.png deleted file mode 100644 index 09417b1..0000000 Binary files a/includes/js/dijit/themes/tundra/images/buttonActive.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/buttonDisabled.png b/includes/js/dijit/themes/tundra/images/buttonDisabled.png deleted file mode 100644 index 70766f4..0000000 Binary files a/includes/js/dijit/themes/tundra/images/buttonDisabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/buttonEnabled.png b/includes/js/dijit/themes/tundra/images/buttonEnabled.png deleted file mode 100644 index 924522a..0000000 Binary files a/includes/js/dijit/themes/tundra/images/buttonEnabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/buttonHover.png b/includes/js/dijit/themes/tundra/images/buttonHover.png deleted file mode 100644 index b074e4e..0000000 Binary files a/includes/js/dijit/themes/tundra/images/buttonHover.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/calendarDayLabel.png b/includes/js/dijit/themes/tundra/images/calendarDayLabel.png deleted file mode 100644 index c1a1553..0000000 Binary files a/includes/js/dijit/themes/tundra/images/calendarDayLabel.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/calendarMonthLabel.png b/includes/js/dijit/themes/tundra/images/calendarMonthLabel.png deleted file mode 100644 index fd2cf0a..0000000 Binary files a/includes/js/dijit/themes/tundra/images/calendarMonthLabel.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/calendarYearLabel.png b/includes/js/dijit/themes/tundra/images/calendarYearLabel.png deleted file mode 100644 index dd344f5..0000000 Binary files a/includes/js/dijit/themes/tundra/images/calendarYearLabel.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/checkboxActive.png b/includes/js/dijit/themes/tundra/images/checkboxActive.png deleted file mode 100644 index 24c935b..0000000 Binary files a/includes/js/dijit/themes/tundra/images/checkboxActive.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/checkboxDisabled.png b/includes/js/dijit/themes/tundra/images/checkboxDisabled.png deleted file mode 100644 index f02a752..0000000 Binary files a/includes/js/dijit/themes/tundra/images/checkboxDisabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/checkboxEnabled.png b/includes/js/dijit/themes/tundra/images/checkboxEnabled.png deleted file mode 100644 index 2205f07..0000000 Binary files a/includes/js/dijit/themes/tundra/images/checkboxEnabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/checkboxHover.png b/includes/js/dijit/themes/tundra/images/checkboxHover.png deleted file mode 100644 index 1dfeea8..0000000 Binary files a/includes/js/dijit/themes/tundra/images/checkboxHover.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/checkmark.gif b/includes/js/dijit/themes/tundra/images/checkmark.gif deleted file mode 100644 index 77237aa..0000000 Binary files a/includes/js/dijit/themes/tundra/images/checkmark.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/checkmark.png b/includes/js/dijit/themes/tundra/images/checkmark.png deleted file mode 100644 index a473c9c..0000000 Binary files a/includes/js/dijit/themes/tundra/images/checkmark.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/checkmarkNoBorder.gif b/includes/js/dijit/themes/tundra/images/checkmarkNoBorder.gif deleted file mode 100644 index 11dc800..0000000 Binary files a/includes/js/dijit/themes/tundra/images/checkmarkNoBorder.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/checkmarkNoBorder.png b/includes/js/dijit/themes/tundra/images/checkmarkNoBorder.png deleted file mode 100644 index 7696e28..0000000 Binary files a/includes/js/dijit/themes/tundra/images/checkmarkNoBorder.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/circleIcon.gif b/includes/js/dijit/themes/tundra/images/circleIcon.gif deleted file mode 100644 index d582290..0000000 Binary files a/includes/js/dijit/themes/tundra/images/circleIcon.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/circleIcon.png b/includes/js/dijit/themes/tundra/images/circleIcon.png deleted file mode 100644 index 6f059e6..0000000 Binary files a/includes/js/dijit/themes/tundra/images/circleIcon.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/comboArrowDown.gif b/includes/js/dijit/themes/tundra/images/comboArrowDown.gif deleted file mode 100644 index e00a87b..0000000 Binary files a/includes/js/dijit/themes/tundra/images/comboArrowDown.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/dijitProgressBarAnim.gif b/includes/js/dijit/themes/tundra/images/dijitProgressBarAnim.gif deleted file mode 100644 index 167a3e0..0000000 Binary files a/includes/js/dijit/themes/tundra/images/dijitProgressBarAnim.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/dijitProgressBarAnim.psd b/includes/js/dijit/themes/tundra/images/dijitProgressBarAnim.psd deleted file mode 100644 index 0a7bf23..0000000 Binary files a/includes/js/dijit/themes/tundra/images/dijitProgressBarAnim.psd and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/dndCopy.png b/includes/js/dijit/themes/tundra/images/dndCopy.png deleted file mode 100644 index baecd7c..0000000 Binary files a/includes/js/dijit/themes/tundra/images/dndCopy.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/dndMove.png b/includes/js/dijit/themes/tundra/images/dndMove.png deleted file mode 100644 index 07f878c..0000000 Binary files a/includes/js/dijit/themes/tundra/images/dndMove.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/dndNoCopy.png b/includes/js/dijit/themes/tundra/images/dndNoCopy.png deleted file mode 100644 index 9bf9c33..0000000 Binary files a/includes/js/dijit/themes/tundra/images/dndNoCopy.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/dndNoMove.png b/includes/js/dijit/themes/tundra/images/dndNoMove.png deleted file mode 100644 index cb8bd8b..0000000 Binary files a/includes/js/dijit/themes/tundra/images/dndNoMove.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/dojoTundraGradientBg.gif b/includes/js/dijit/themes/tundra/images/dojoTundraGradientBg.gif deleted file mode 100644 index 0da1239..0000000 Binary files a/includes/js/dijit/themes/tundra/images/dojoTundraGradientBg.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/dojoTundraGradientBg.png b/includes/js/dijit/themes/tundra/images/dojoTundraGradientBg.png deleted file mode 100644 index ac118dd..0000000 Binary files a/includes/js/dijit/themes/tundra/images/dojoTundraGradientBg.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/doubleArrowDown.png b/includes/js/dijit/themes/tundra/images/doubleArrowDown.png deleted file mode 100644 index 92678d2..0000000 Binary files a/includes/js/dijit/themes/tundra/images/doubleArrowDown.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/doubleArrowUp.png b/includes/js/dijit/themes/tundra/images/doubleArrowUp.png deleted file mode 100644 index bba30fe..0000000 Binary files a/includes/js/dijit/themes/tundra/images/doubleArrowUp.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/editor.gif b/includes/js/dijit/themes/tundra/images/editor.gif deleted file mode 100644 index 1c96329..0000000 Binary files a/includes/js/dijit/themes/tundra/images/editor.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/editor_rtl.gif b/includes/js/dijit/themes/tundra/images/editor_rtl.gif deleted file mode 100644 index ef04938..0000000 Binary files a/includes/js/dijit/themes/tundra/images/editor_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/folderClosed.gif b/includes/js/dijit/themes/tundra/images/folderClosed.gif deleted file mode 100644 index d32d313..0000000 Binary files a/includes/js/dijit/themes/tundra/images/folderClosed.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/folderOpened.gif b/includes/js/dijit/themes/tundra/images/folderOpened.gif deleted file mode 100644 index 45359fb..0000000 Binary files a/includes/js/dijit/themes/tundra/images/folderOpened.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/i.gif b/includes/js/dijit/themes/tundra/images/i.gif deleted file mode 100644 index ebd95a7..0000000 Binary files a/includes/js/dijit/themes/tundra/images/i.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/i_half.gif b/includes/js/dijit/themes/tundra/images/i_half.gif deleted file mode 100644 index 2947c4f..0000000 Binary files a/includes/js/dijit/themes/tundra/images/i_half.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/i_half_rtl.gif b/includes/js/dijit/themes/tundra/images/i_half_rtl.gif deleted file mode 100644 index 4f60ec4..0000000 Binary files a/includes/js/dijit/themes/tundra/images/i_half_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/i_rtl.gif b/includes/js/dijit/themes/tundra/images/i_rtl.gif deleted file mode 100644 index 7dafaad..0000000 Binary files a/includes/js/dijit/themes/tundra/images/i_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/leaf.gif b/includes/js/dijit/themes/tundra/images/leaf.gif deleted file mode 100644 index 85b0178..0000000 Binary files a/includes/js/dijit/themes/tundra/images/leaf.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/loading.gif b/includes/js/dijit/themes/tundra/images/loading.gif deleted file mode 100644 index 6e7c8e5..0000000 Binary files a/includes/js/dijit/themes/tundra/images/loading.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/menu.png b/includes/js/dijit/themes/tundra/images/menu.png deleted file mode 100644 index f5b93d1..0000000 Binary files a/includes/js/dijit/themes/tundra/images/menu.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/minusButton.gif b/includes/js/dijit/themes/tundra/images/minusButton.gif deleted file mode 100644 index 48d5172..0000000 Binary files a/includes/js/dijit/themes/tundra/images/minusButton.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/no.gif b/includes/js/dijit/themes/tundra/images/no.gif deleted file mode 100644 index 9021a14..0000000 Binary files a/includes/js/dijit/themes/tundra/images/no.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/noX.gif b/includes/js/dijit/themes/tundra/images/noX.gif deleted file mode 100644 index 4a16dc7..0000000 Binary files a/includes/js/dijit/themes/tundra/images/noX.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/plusButton.gif b/includes/js/dijit/themes/tundra/images/plusButton.gif deleted file mode 100644 index 103c021..0000000 Binary files a/includes/js/dijit/themes/tundra/images/plusButton.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/popupMenuBg.gif b/includes/js/dijit/themes/tundra/images/popupMenuBg.gif deleted file mode 100644 index 15f4f1b..0000000 Binary files a/includes/js/dijit/themes/tundra/images/popupMenuBg.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/preciseSliderThumb.gif b/includes/js/dijit/themes/tundra/images/preciseSliderThumb.gif deleted file mode 100644 index 15d4879..0000000 Binary files a/includes/js/dijit/themes/tundra/images/preciseSliderThumb.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/preciseSliderThumb.png b/includes/js/dijit/themes/tundra/images/preciseSliderThumb.png deleted file mode 100644 index f2fc338..0000000 Binary files a/includes/js/dijit/themes/tundra/images/preciseSliderThumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/preciseSliderThumbFocus.gif b/includes/js/dijit/themes/tundra/images/preciseSliderThumbFocus.gif deleted file mode 100644 index b44611c..0000000 Binary files a/includes/js/dijit/themes/tundra/images/preciseSliderThumbFocus.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/preciseSliderThumbFocus.png b/includes/js/dijit/themes/tundra/images/preciseSliderThumbFocus.png deleted file mode 100644 index fb06323..0000000 Binary files a/includes/js/dijit/themes/tundra/images/preciseSliderThumbFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarAnim-1.png b/includes/js/dijit/themes/tundra/images/progressBarAnim-1.png deleted file mode 100644 index cfc3fd2..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarAnim-1.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarAnim-2.png b/includes/js/dijit/themes/tundra/images/progressBarAnim-2.png deleted file mode 100644 index d27981d..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarAnim-2.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarAnim-3.png b/includes/js/dijit/themes/tundra/images/progressBarAnim-3.png deleted file mode 100644 index 3b92a7d..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarAnim-3.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarAnim-4.png b/includes/js/dijit/themes/tundra/images/progressBarAnim-4.png deleted file mode 100644 index 61e4276..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarAnim-4.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarAnim-5.png b/includes/js/dijit/themes/tundra/images/progressBarAnim-5.png deleted file mode 100644 index 48b189a..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarAnim-5.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarAnim-6.png b/includes/js/dijit/themes/tundra/images/progressBarAnim-6.png deleted file mode 100644 index af50c4d..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarAnim-6.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarAnim-7.png b/includes/js/dijit/themes/tundra/images/progressBarAnim-7.png deleted file mode 100644 index a4fffa3..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarAnim-7.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarAnim-8.png b/includes/js/dijit/themes/tundra/images/progressBarAnim-8.png deleted file mode 100644 index b4c92f3..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarAnim-8.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarAnim-9.png b/includes/js/dijit/themes/tundra/images/progressBarAnim-9.png deleted file mode 100644 index d8bff13..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarAnim-9.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarAnim.gif b/includes/js/dijit/themes/tundra/images/progressBarAnim.gif deleted file mode 100644 index d3df139..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarAnim.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarAnim.psd b/includes/js/dijit/themes/tundra/images/progressBarAnim.psd deleted file mode 100644 index 0a7bf23..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarAnim.psd and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarEmpty.png b/includes/js/dijit/themes/tundra/images/progressBarEmpty.png deleted file mode 100644 index 84c0e2e..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarEmpty.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/progressBarFull.png b/includes/js/dijit/themes/tundra/images/progressBarFull.png deleted file mode 100644 index 0ce60f5..0000000 Binary files a/includes/js/dijit/themes/tundra/images/progressBarFull.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/radioButtonActive.png b/includes/js/dijit/themes/tundra/images/radioButtonActive.png deleted file mode 100644 index 60840c7..0000000 Binary files a/includes/js/dijit/themes/tundra/images/radioButtonActive.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/radioButtonActiveDisabled.png b/includes/js/dijit/themes/tundra/images/radioButtonActiveDisabled.png deleted file mode 100644 index b49724e..0000000 Binary files a/includes/js/dijit/themes/tundra/images/radioButtonActiveDisabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/radioButtonActiveHover.png b/includes/js/dijit/themes/tundra/images/radioButtonActiveHover.png deleted file mode 100644 index f21d4e5..0000000 Binary files a/includes/js/dijit/themes/tundra/images/radioButtonActiveHover.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/radioButtonDisabled.png b/includes/js/dijit/themes/tundra/images/radioButtonDisabled.png deleted file mode 100644 index 8da7e78..0000000 Binary files a/includes/js/dijit/themes/tundra/images/radioButtonDisabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/radioButtonEnabled.png b/includes/js/dijit/themes/tundra/images/radioButtonEnabled.png deleted file mode 100644 index 4342fea..0000000 Binary files a/includes/js/dijit/themes/tundra/images/radioButtonEnabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/radioButtonHover.png b/includes/js/dijit/themes/tundra/images/radioButtonHover.png deleted file mode 100644 index fcb697f..0000000 Binary files a/includes/js/dijit/themes/tundra/images/radioButtonHover.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/sliderEmpty.png b/includes/js/dijit/themes/tundra/images/sliderEmpty.png deleted file mode 100644 index 070c12f..0000000 Binary files a/includes/js/dijit/themes/tundra/images/sliderEmpty.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/sliderEmptyVertical.png b/includes/js/dijit/themes/tundra/images/sliderEmptyVertical.png deleted file mode 100644 index 45aceb7..0000000 Binary files a/includes/js/dijit/themes/tundra/images/sliderEmptyVertical.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/sliderFull.png b/includes/js/dijit/themes/tundra/images/sliderFull.png deleted file mode 100644 index 4b3fcbb..0000000 Binary files a/includes/js/dijit/themes/tundra/images/sliderFull.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/sliderFullFocus.png b/includes/js/dijit/themes/tundra/images/sliderFullFocus.png deleted file mode 100644 index ee19356..0000000 Binary files a/includes/js/dijit/themes/tundra/images/sliderFullFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/sliderFullVertical.png b/includes/js/dijit/themes/tundra/images/sliderFullVertical.png deleted file mode 100644 index e7618e8..0000000 Binary files a/includes/js/dijit/themes/tundra/images/sliderFullVertical.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/sliderFullVerticalFocus.png b/includes/js/dijit/themes/tundra/images/sliderFullVerticalFocus.png deleted file mode 100644 index 3ab37e6..0000000 Binary files a/includes/js/dijit/themes/tundra/images/sliderFullVerticalFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/sliderThumb.png b/includes/js/dijit/themes/tundra/images/sliderThumb.png deleted file mode 100644 index fe33583..0000000 Binary files a/includes/js/dijit/themes/tundra/images/sliderThumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/sliderThumbFocus.gif b/includes/js/dijit/themes/tundra/images/sliderThumbFocus.gif deleted file mode 100644 index 15dd3d9..0000000 Binary files a/includes/js/dijit/themes/tundra/images/sliderThumbFocus.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/sliderThumbFocus.png b/includes/js/dijit/themes/tundra/images/sliderThumbFocus.png deleted file mode 100644 index fe9763a..0000000 Binary files a/includes/js/dijit/themes/tundra/images/sliderThumbFocus.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/smallArrowDown.png b/includes/js/dijit/themes/tundra/images/smallArrowDown.png deleted file mode 100644 index cabd01c..0000000 Binary files a/includes/js/dijit/themes/tundra/images/smallArrowDown.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/smallArrowUp.png b/includes/js/dijit/themes/tundra/images/smallArrowUp.png deleted file mode 100644 index a4dd670..0000000 Binary files a/includes/js/dijit/themes/tundra/images/smallArrowUp.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/splitContainerSizerH-thumb.png b/includes/js/dijit/themes/tundra/images/splitContainerSizerH-thumb.png deleted file mode 100644 index e7bc204..0000000 Binary files a/includes/js/dijit/themes/tundra/images/splitContainerSizerH-thumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/splitContainerSizerH.png b/includes/js/dijit/themes/tundra/images/splitContainerSizerH.png deleted file mode 100644 index 0e5e471..0000000 Binary files a/includes/js/dijit/themes/tundra/images/splitContainerSizerH.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/splitContainerSizerV-thumb.png b/includes/js/dijit/themes/tundra/images/splitContainerSizerV-thumb.png deleted file mode 100644 index 410a0a7..0000000 Binary files a/includes/js/dijit/themes/tundra/images/splitContainerSizerV-thumb.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/splitContainerSizerV.png b/includes/js/dijit/themes/tundra/images/splitContainerSizerV.png deleted file mode 100644 index 6781f0e..0000000 Binary files a/includes/js/dijit/themes/tundra/images/splitContainerSizerV.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/spriteRoundedIconsSmall.gif b/includes/js/dijit/themes/tundra/images/spriteRoundedIconsSmall.gif deleted file mode 100644 index 251389a..0000000 Binary files a/includes/js/dijit/themes/tundra/images/spriteRoundedIconsSmall.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/spriteRoundedIconsSmall.png b/includes/js/dijit/themes/tundra/images/spriteRoundedIconsSmall.png deleted file mode 100644 index e81ba07..0000000 Binary files a/includes/js/dijit/themes/tundra/images/spriteRoundedIconsSmall.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tabActive.png b/includes/js/dijit/themes/tundra/images/tabActive.png deleted file mode 100644 index eaf1ed4..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tabActive.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tabClose.gif b/includes/js/dijit/themes/tundra/images/tabClose.gif deleted file mode 100644 index 2cb0ee1..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tabClose.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tabClose.png b/includes/js/dijit/themes/tundra/images/tabClose.png deleted file mode 100644 index 136cd22..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tabClose.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tabCloseHover.gif b/includes/js/dijit/themes/tundra/images/tabCloseHover.gif deleted file mode 100644 index f59471e..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tabCloseHover.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tabCloseHover.png b/includes/js/dijit/themes/tundra/images/tabCloseHover.png deleted file mode 100644 index 290e77f..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tabCloseHover.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tabDisabled.png b/includes/js/dijit/themes/tundra/images/tabDisabled.png deleted file mode 100644 index ea0f617..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tabDisabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tabEnabled.png b/includes/js/dijit/themes/tundra/images/tabEnabled.png deleted file mode 100644 index d40cf45..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tabEnabled.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tabHover.gif b/includes/js/dijit/themes/tundra/images/tabHover.gif deleted file mode 100644 index 471e0ee..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tabHover.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tabHover.png b/includes/js/dijit/themes/tundra/images/tabHover.png deleted file mode 100644 index 16487f1..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tabHover.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/titleBar.png b/includes/js/dijit/themes/tundra/images/titleBar.png deleted file mode 100644 index 617d9d4..0000000 Binary files a/includes/js/dijit/themes/tundra/images/titleBar.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/titleBarBg.gif b/includes/js/dijit/themes/tundra/images/titleBarBg.gif deleted file mode 100644 index 1cd57cf..0000000 Binary files a/includes/js/dijit/themes/tundra/images/titleBarBg.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tooltipConnectorDown.gif b/includes/js/dijit/themes/tundra/images/tooltipConnectorDown.gif deleted file mode 100644 index 015447e..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tooltipConnectorDown.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tooltipConnectorDown.png b/includes/js/dijit/themes/tundra/images/tooltipConnectorDown.png deleted file mode 100644 index c502c83..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tooltipConnectorDown.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tooltipConnectorLeft.gif b/includes/js/dijit/themes/tundra/images/tooltipConnectorLeft.gif deleted file mode 100644 index 846b3b8..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tooltipConnectorLeft.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tooltipConnectorLeft.png b/includes/js/dijit/themes/tundra/images/tooltipConnectorLeft.png deleted file mode 100644 index a5c2720..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tooltipConnectorLeft.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tooltipConnectorRight.gif b/includes/js/dijit/themes/tundra/images/tooltipConnectorRight.gif deleted file mode 100644 index 2564c3a..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tooltipConnectorRight.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tooltipConnectorRight.png b/includes/js/dijit/themes/tundra/images/tooltipConnectorRight.png deleted file mode 100644 index 57e8be0..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tooltipConnectorRight.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tooltipConnectorUp.gif b/includes/js/dijit/themes/tundra/images/tooltipConnectorUp.gif deleted file mode 100644 index b8ff4c0..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tooltipConnectorUp.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/tooltipConnectorUp.png b/includes/js/dijit/themes/tundra/images/tooltipConnectorUp.png deleted file mode 100644 index b891f88..0000000 Binary files a/includes/js/dijit/themes/tundra/images/tooltipConnectorUp.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/treeExpand_leaf.gif b/includes/js/dijit/themes/tundra/images/treeExpand_leaf.gif deleted file mode 100644 index 4b1c6c1..0000000 Binary files a/includes/js/dijit/themes/tundra/images/treeExpand_leaf.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/treeExpand_leaf_rtl.gif b/includes/js/dijit/themes/tundra/images/treeExpand_leaf_rtl.gif deleted file mode 100644 index b563d7c..0000000 Binary files a/includes/js/dijit/themes/tundra/images/treeExpand_leaf_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/treeExpand_loading.gif b/includes/js/dijit/themes/tundra/images/treeExpand_loading.gif deleted file mode 100644 index 424d376..0000000 Binary files a/includes/js/dijit/themes/tundra/images/treeExpand_loading.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/treeExpand_minus.gif b/includes/js/dijit/themes/tundra/images/treeExpand_minus.gif deleted file mode 100644 index 5977782..0000000 Binary files a/includes/js/dijit/themes/tundra/images/treeExpand_minus.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/treeExpand_minus_rtl.gif b/includes/js/dijit/themes/tundra/images/treeExpand_minus_rtl.gif deleted file mode 100644 index cf50054..0000000 Binary files a/includes/js/dijit/themes/tundra/images/treeExpand_minus_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/treeExpand_mius.gif b/includes/js/dijit/themes/tundra/images/treeExpand_mius.gif deleted file mode 100644 index 5977782..0000000 Binary files a/includes/js/dijit/themes/tundra/images/treeExpand_mius.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/treeExpand_plus.gif b/includes/js/dijit/themes/tundra/images/treeExpand_plus.gif deleted file mode 100644 index 2b96a55..0000000 Binary files a/includes/js/dijit/themes/tundra/images/treeExpand_plus.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/treeExpand_plus_rtl.gif b/includes/js/dijit/themes/tundra/images/treeExpand_plus_rtl.gif deleted file mode 100644 index 11f9916..0000000 Binary files a/includes/js/dijit/themes/tundra/images/treeExpand_plus_rtl.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/validationInputBg.gif b/includes/js/dijit/themes/tundra/images/validationInputBg.gif deleted file mode 100644 index 5a9916a..0000000 Binary files a/includes/js/dijit/themes/tundra/images/validationInputBg.gif and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/validationInputBg.png b/includes/js/dijit/themes/tundra/images/validationInputBg.png deleted file mode 100644 index d222fb4..0000000 Binary files a/includes/js/dijit/themes/tundra/images/validationInputBg.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/images/warning.png b/includes/js/dijit/themes/tundra/images/warning.png deleted file mode 100644 index c52f83d..0000000 Binary files a/includes/js/dijit/themes/tundra/images/warning.png and /dev/null differ diff --git a/includes/js/dijit/themes/tundra/layout/AccordionContainer.css b/includes/js/dijit/themes/tundra/layout/AccordionContainer.css deleted file mode 100644 index 6d27e24..0000000 --- a/includes/js/dijit/themes/tundra/layout/AccordionContainer.css +++ /dev/null @@ -1,31 +0,0 @@ - -.tundra .dijitAccordionPane { - background-color: #e7e7e7; -} -.tundra .dijitAccordionTitle { - background:#fafafa url("../images/titleBar.png") repeat-x bottom left; - border-top: 1px solid #bfbfbf; - padding: 6px 4px 6px 8px; - cursor:pointer; -} -.tundra .dijitAccordionTitle-selected { - background: #f9f9f9 url("../images/accordionItemActive.gif") bottom repeat-x; - font-weight: bold; - border-top: 1px solid #aaaaaa; - border-bottom: 1px solid #bfbfbf; - padding: 6px 4px 6px 8px; - cursor: default; -} -.tundra .dijitAccordionArrow { - background:url("../images/plusButton.gif") no-repeat; - width:15px; - height:15px; - margin-top:2px; -} -.tundra .dijitAccordionTitle-selected .dijitAccordionArrow { - background:none; - margin-top:2px; -} -.tundra .dijitAccordionBody { - background: #fff; -} diff --git a/includes/js/dijit/themes/tundra/layout/AccordionContainer.css.commented.css b/includes/js/dijit/themes/tundra/layout/AccordionContainer.css.commented.css deleted file mode 100644 index 14d46ae..0000000 --- a/includes/js/dijit/themes/tundra/layout/AccordionContainer.css.commented.css +++ /dev/null @@ -1,37 +0,0 @@ -/* Accordion */ - -.tundra .dijitAccordionPane { - background-color: #e7e7e7; -} - -.tundra .dijitAccordionTitle { - background:#fafafa url("../images/titleBar.png") repeat-x bottom left; - border-top: 1px solid #bfbfbf; - padding: 6px 4px 6px 8px; - cursor:pointer; -} - -.tundra .dijitAccordionTitle-selected { - background: #f9f9f9 url("../images/accordionItemActive.gif") bottom repeat-x; - font-weight: bold; - border-top: 1px solid #aaaaaa; - border-bottom: 1px solid #bfbfbf; - padding: 6px 4px 6px 8px; - cursor: default; -} - -.tundra .dijitAccordionArrow { - background:url("../images/plusButton.gif") no-repeat; - width:15px; - height:15px; - margin-top:2px; -} - -.tundra .dijitAccordionTitle-selected .dijitAccordionArrow { - background:none; - margin-top:2px; -} - -.tundra .dijitAccordionBody { - background: #fff; -} diff --git a/includes/js/dijit/themes/tundra/layout/BorderContainer.css b/includes/js/dijit/themes/tundra/layout/BorderContainer.css deleted file mode 100644 index 56bbef4..0000000 --- a/includes/js/dijit/themes/tundra/layout/BorderContainer.css +++ /dev/null @@ -1,27 +0,0 @@ - -.tundra .dijitSplitterH { - background:url("../images/splitContainerSizerH.png") repeat-x #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - height:5px; -} -.tundra .dijitSplitterH .dijitSplitterThumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat; - top:1px; - width:19px; - height:2px; -} -.tundra .dijitSplitterV { - background:url("../images/splitContainerSizerV.png") repeat-y #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - width:5px; -} -.tundra .dijitSplitterV .dijitSplitterThumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat; - left:1px; - height:19px; - width:5px; -} diff --git a/includes/js/dijit/themes/tundra/layout/BorderContainer.css.commented.css b/includes/js/dijit/themes/tundra/layout/BorderContainer.css.commented.css deleted file mode 100644 index da28106..0000000 --- a/includes/js/dijit/themes/tundra/layout/BorderContainer.css.commented.css +++ /dev/null @@ -1,31 +0,0 @@ -/* BorderContainer */ - -.tundra .dijitSplitterH { - background:url("../images/splitContainerSizerH.png") repeat-x #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - height:5px; -} - -.tundra .dijitSplitterH .dijitSplitterThumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat; - top:1px; - width:19px; - height:2px; -} - -.tundra .dijitSplitterV { - background:url("../images/splitContainerSizerV.png") repeat-y #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - width:5px; -} - -.tundra .dijitSplitterV .dijitSplitterThumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat; - left:1px; - height:19px; - width:5px; -} diff --git a/includes/js/dijit/themes/tundra/layout/SplitContainer.css b/includes/js/dijit/themes/tundra/layout/SplitContainer.css deleted file mode 100644 index b9945d6..0000000 --- a/includes/js/dijit/themes/tundra/layout/SplitContainer.css +++ /dev/null @@ -1,31 +0,0 @@ -.tundra .dijitSplitContainerSizerH { - background:url("../images/splitContainerSizerV.png") repeat-y #fff; - border:0; - border-left:1px solid #bfbfbf; - border-right:1px solid #bfbfbf; - width:7px; -} -.tundra .dijitSplitContainerSizerH .thumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat #ccc; - left:1px; - width:3px; - height:19px; - overflow: hidden; -} -.tundra .dijitSplitContainerSizerV { - background:url("../images/splitContainerSizerH.png") repeat-x #fff; - border:0; - border-top:1px solid #bfbfbf; - border-bottom:1px solid #bfbfbf; - height:7px; -} -.tundra .dijitSplitContainerSizerV .thumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat #ccc; - top:1px; - width:19px; - height:3px; - overflow: hidden; -} -.tundra .dijitSplitter { - border-color: #bfbfbf; -} diff --git a/includes/js/dijit/themes/tundra/layout/SplitContainer.css.commented.css b/includes/js/dijit/themes/tundra/layout/SplitContainer.css.commented.css deleted file mode 100644 index 53cdf82..0000000 --- a/includes/js/dijit/themes/tundra/layout/SplitContainer.css.commented.css +++ /dev/null @@ -1,35 +0,0 @@ -.tundra .dijitSplitContainerSizerH { - background:url("../images/splitContainerSizerV.png") repeat-y #fff; - border:0; - border-left:1px solid #bfbfbf; - border-right:1px solid #bfbfbf; - width:7px; -} - -.tundra .dijitSplitContainerSizerH .thumb { - background:url("../images/splitContainerSizerV-thumb.png") no-repeat #ccc; - left:1px; - width:3px; - height:19px; - overflow: hidden; -} - -.tundra .dijitSplitContainerSizerV { - background:url("../images/splitContainerSizerH.png") repeat-x #fff; - border:0; - border-top:1px solid #bfbfbf; - border-bottom:1px solid #bfbfbf; - height:7px; -} - -.tundra .dijitSplitContainerSizerV .thumb { - background:url("../images/splitContainerSizerH-thumb.png") no-repeat #ccc; - top:1px; - width:19px; - height:3px; - overflow: hidden; -} - -.tundra .dijitSplitter { - border-color: #bfbfbf; -} diff --git a/includes/js/dijit/themes/tundra/layout/TabContainer.css b/includes/js/dijit/themes/tundra/layout/TabContainer.css deleted file mode 100644 index a15daf8..0000000 --- a/includes/js/dijit/themes/tundra/layout/TabContainer.css +++ /dev/null @@ -1,109 +0,0 @@ - -.tundra .dijitTabPaneWrapper { - - background:#fff; - border:1px solid #ccc; -} -.tundra .dijitTab { - line-height:normal; - margin-right:5px; - padding:0px; - border:1px solid #ccc; - background:#e2e2e2 url("../images/tabEnabled.png") repeat-x; -} -.tundra .dijitAlignLeft .dijitTab, -.tundra .dijitAlignRight .dijitTab { - margin-right:0px; - margin-bottom:5px; -} -.tundra .dijitTabInnerDiv { - padding:6px 10px 4px 10px; - border-left:1px solid #fff; - border-bottom:1px solid #fff; -} -.tundra .dijitTabHover, -.tundra .dijitTabCloseButtonHover { - color: #243C5F; - border-top-color:#92a0b3; - border-left-color:#92a0b3; - border-right-color:#92a0b3; - background:#e2e2e2 url("../images/tabHover.png") repeat-x bottom; -} -.dj_ie6 .tundra .dijitTabHover, -.dj_ie6 .tundra .dijitTabCloseButtonHover { - background-image: url("../images/tabHover.gif"); -} -.tundra .dijitTabChecked, -.tundra .dijitTabCloseButtonChecked -{ - - background-color:#fff; - border-color: #ccc; - background-image:none; -} -.tundra .dijitAlignTop .dijitTabChecked, -.tundra .dijitAlignTop .dijitTabCloseButtonChecked -{ - border-bottom-color:white; - vertical-align:bottom; -} -.tundra .dijitAlignBottom .dijitTabChecked, -.tundra .dijitAlignBottom .dijitTabCloseButtonChecked -{ - border-top-color:white; - -moz-border-radius:2px 2px 0px 0px; -} -.tundra .dijitAlignLeft .dijitTabChecked, -.tundra .dijitAlignLeft .dijitTabCloseButtonChecked -{ - border-right-color:white; -} -.tundra .dijitAlignRight .dijitTabChecked, -.tundra .dijitAlignRight .dijitTabCloseButtonChecked -{ - border-left-color:white; -} -.tundra .dijitTab .dijitClosable { - position: relative; - padding:6px 20px 4px 10px; -} -.tundra .dijitTab .dijitClosable .closeImage { - position:absolute; - top: 7px; - right: 3px; - height: 12px; - width: 12px; - padding: 0; - margin: 0; - background: url("../images/tabClose.png") no-repeat right top; -} -.dj_ie6 .dijitTab .dijitClosable .closeImage { - background-image:url("../images/tabClose.gif"); -} -.tundra .dijitTabCloseButton .dijitClosable .closeImage { - background-image : url("../images/tabClose.png"); -} -.dj_ie6 .tundra .dijitTabCloseButton .dijitClosable .closeImage { - background-image : url("../images/tabClose.gif"); -} -.tundra .dijitTabCloseButtonHover .dijitClosable .closeImage { - background-image : url("../images/tabCloseHover.png"); -} -.dj_ie6 .tundra .dijitTabCloseButtonHover .dijitClosable .closeImage { - background-image : url("../images/tabCloseHover.gif"); -} -.tundra .dijitAlignLeft .dijitTab .dijitClosable { - padding:6px 10px 4px 20px; -} -.dj_ie6 .tundra .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - left:-20px; -} -.tundra .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - top: auto; - bottom: 7px; - right: 3px; -} -.tundra .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - top: 7px; - left: 3px; -} diff --git a/includes/js/dijit/themes/tundra/layout/TabContainer.css.commented.css b/includes/js/dijit/themes/tundra/layout/TabContainer.css.commented.css deleted file mode 100644 index ee3ff6b..0000000 --- a/includes/js/dijit/themes/tundra/layout/TabContainer.css.commented.css +++ /dev/null @@ -1,138 +0,0 @@ - -/* Tabs */ - -.tundra .dijitTabPaneWrapper { - /* - overflow: hidden; - */ - background:#fff; - border:1px solid #ccc; -} - -.tundra .dijitTab { - line-height:normal; - margin-right:5px; /* space between one tab and the next in top/bottom mode */ - padding:0px; - border:1px solid #ccc; - background:#e2e2e2 url("../images/tabEnabled.png") repeat-x; -} - -.tundra .dijitAlignLeft .dijitTab, -.tundra .dijitAlignRight .dijitTab { - margin-right:0px; - margin-bottom:5px; /* space between one tab and the next in left/right mode */ -} - -.tundra .dijitTabInnerDiv { - padding:6px 10px 4px 10px; - border-left:1px solid #fff; - border-bottom:1px solid #fff; -} - -.tundra .dijitTabHover, -.tundra .dijitTabCloseButtonHover { - color: #243C5F; - border-top-color:#92a0b3; - border-left-color:#92a0b3; - border-right-color:#92a0b3; - background:#e2e2e2 url("../images/tabHover.png") repeat-x bottom; -} - -.dj_ie6 .tundra .dijitTabHover, -.dj_ie6 .tundra .dijitTabCloseButtonHover { - background-image: url("../images/tabHover.gif"); -} - -.tundra .dijitTabChecked, -.tundra .dijitTabCloseButtonChecked -{ - /* the selected tab (with or without hover) */ - background-color:#fff; - border-color: #ccc; - background-image:none; -} - -/* make the active tab white on the side next to the content pane */ -.tundra .dijitAlignTop .dijitTabChecked, -.tundra .dijitAlignTop .dijitTabCloseButtonChecked -{ - border-bottom-color:white; - vertical-align:bottom; -} - -.tundra .dijitAlignBottom .dijitTabChecked, -.tundra .dijitAlignBottom .dijitTabCloseButtonChecked -{ - border-top-color:white; - -moz-border-radius:2px 2px 0px 0px; /* eliminate some border detritrus on moz */ -} - -.tundra .dijitAlignLeft .dijitTabChecked, -.tundra .dijitAlignLeft .dijitTabCloseButtonChecked -{ - border-right-color:white; -} - -.tundra .dijitAlignRight .dijitTabChecked, -.tundra .dijitAlignRight .dijitTabCloseButtonChecked -{ - border-left-color:white; -} - - -/* make space for a positioned close button */ -.tundra .dijitTab .dijitClosable { - position: relative; - padding:6px 20px 4px 10px; -} - -.tundra .dijitTab .dijitClosable .closeImage { - position:absolute; - top: 7px; - right: 3px; - height: 12px; - width: 12px; - padding: 0; - margin: 0; - background: url("../images/tabClose.png") no-repeat right top; -} -.dj_ie6 .dijitTab .dijitClosable .closeImage { - background-image:url("../images/tabClose.gif"); -} - -.tundra .dijitTabCloseButton .dijitClosable .closeImage { - background-image : url("../images/tabClose.png"); -} -.dj_ie6 .tundra .dijitTabCloseButton .dijitClosable .closeImage { - background-image : url("../images/tabClose.gif"); -} - -.tundra .dijitTabCloseButtonHover .dijitClosable .closeImage { - background-image : url("../images/tabCloseHover.png"); -} -.dj_ie6 .tundra .dijitTabCloseButtonHover .dijitClosable .closeImage { - background-image : url("../images/tabCloseHover.gif"); -} - -.tundra .dijitAlignLeft .dijitTab .dijitClosable { - padding:6px 10px 4px 20px; -} - -/* correct for IE6. - We cant force hasLayout as that blows out the shrink wrapped tabs - ..so we shim in the closeImage position properties instead -*/ -.dj_ie6 .tundra .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - left:-20px; -} - -.tundra .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - top: auto; - bottom: 7px; - right: 3px; -} - -.tundra .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - top: 7px; - left: 3px; -} diff --git a/includes/js/dijit/themes/tundra/layout/TabContainer_rtl.css b/includes/js/dijit/themes/tundra/layout/TabContainer_rtl.css deleted file mode 100644 index a866bca..0000000 --- a/includes/js/dijit/themes/tundra/layout/TabContainer_rtl.css +++ /dev/null @@ -1,71 +0,0 @@ -.dijitRtl .dijitTab { - margin-right:0; - margin-left:5px; -} -.dijitRtl .dijitTab .dijitTabInnerDiv { - border-left:none; - border-right:1px solid #fff; -} -.dijitRtl .dijitTab .dijitClosable { - padding: 6px 10px 4px 20px; -} -.dijitRtl .dijitTab .closeImage { - position:static; - padding: 0px 12px 0px 0px; -} -.dj_gecko .dijitTab .closeImage { - position:relative; - float:none; - padding:0; -} -.dijitRtl .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; - background-position: left top; -} -.dj_ie .dijitRtl .dijitTab .dijitClosable .closeImage { - width:12px !important; -} -.dijitRtl .dijitAlignLeft .dijitTab, -.dijitRtl .dijitAlignRight .dijitTab { - margin-left:0px; -} -.dijitRtl .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitTabInnerDiv { - padding-left:10px; - padding-right:20px; -} -.dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:20px; - padding-right:10px; -} -.dj_ie .dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:19px; -} -.dj_gecko .dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:11px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitClosable .closeImage { - left:auto; - right:3px; -} -.dj_ie7 .dijitRtl .dijitAlignLeft .dijitTab .dijitTabContent{ - position:relative; -} -.dj_ie7 .dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage{ - position:absolute; - top:2px; - left:3px; -} -.dj_ie6 .dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage{ - float:left; -} -.dj_ie6 .dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .tabLabel{ - float:right; -} -.dj_ie .dijitTab .dijitTabInnerDiv{ - width : 1%; -} diff --git a/includes/js/dijit/themes/tundra/layout/TabContainer_rtl.css.commented.css b/includes/js/dijit/themes/tundra/layout/TabContainer_rtl.css.commented.css deleted file mode 100644 index 9c6151f..0000000 --- a/includes/js/dijit/themes/tundra/layout/TabContainer_rtl.css.commented.css +++ /dev/null @@ -1,89 +0,0 @@ -.dijitRtl .dijitTab { - margin-right:0; - margin-left:5px; /* space between one tab and the next in top/bottom mode */ -} - -.dijitRtl .dijitTab .dijitTabInnerDiv { - border-left:none; - border-right:1px solid #fff; -} - -.dijitRtl .dijitTab .dijitClosable { - padding: 6px 10px 4px 20px; -} - -.dijitRtl .dijitTab .closeImage { - position:static; - padding: 0px 12px 0px 0px; -} - -.dj_gecko .dijitTab .closeImage { - position:relative; - float:none; - padding:0; -} - -.dijitRtl .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; - background-position: left top; -} - -.dj_ie .dijitRtl .dijitTab .dijitClosable .closeImage { - width:12px !important; -} - -.dijitRtl .dijitAlignLeft .dijitTab, -.dijitRtl .dijitAlignRight .dijitTab { - margin-left:0px; -} - -.dijitRtl .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} - -.dijitRtl .dijitAlignRight .dijitTab .dijitTabInnerDiv { - padding-left:10px; - padding-right:20px; -} - -.dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:20px; - padding-right:10px; -} - -.dj_ie .dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:19px; -} - -.dj_gecko .dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:11px; -} - -.dijitRtl .dijitAlignRight .dijitTab .dijitClosable .closeImage { - left:auto; - right:3px; -} - -.dj_ie7 .dijitRtl .dijitAlignLeft .dijitTab .dijitTabContent{ - position:relative; -} - -.dj_ie7 .dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage{ - position:absolute; - top:2px; - left:3px; -} - -.dj_ie6 .dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage{ - float:left; -} - -.dj_ie6 .dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .tabLabel{ - float:right; -} - -.dj_ie .dijitTab .dijitTabInnerDiv{ - width : 1%; -} diff --git a/includes/js/dijit/themes/tundra/tundra.css b/includes/js/dijit/themes/tundra/tundra.css deleted file mode 100644 index 8b26b1c..0000000 --- a/includes/js/dijit/themes/tundra/tundra.css +++ /dev/null @@ -1,1213 +0,0 @@ - -@import url("../dijit.css"); -.tundra .dijitSliderDisabled *, -.tundra .dijitDisabledClickableRegion, -.tundra .dijitSpinnerDisabled *, -.tundra .dijitButtonDisabled *, -.tundra .dijitDropDownButtonDisabled *, -.tundra .dijitComboButtonDisabled *, -.tundra .dijitComboBoxDisabled * -{ - cursor: not-allowed !important; -} -.tundra .dojoDndItemBefore { - border-top: 2px solid #369; -} -.tundra .dojoDndItemAfter { - border-bottom: 2px solid #369; -} -.tundra .dojoDndItemOver { - cursor:pointer; -} -.tundra table.dojoDndAvatar { -moz-border-radius: 0; border: 1px solid #ccc; border-collapse: collapse; background-color: #fff; font-size: 75%; color: black;} -.tundra .dojoDndAvatar td { border: none; } -.tundra .dojoDndAvatar tr { border: none; } -.tundra .dojoDndAvatarHeader td { height: 20px; padding: 0 0 0 21px; } -.tundra .dojoDndAvatarItem td { padding: 2px;} -.tundra.dojoDndMove .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoMove.png); background-repeat: no-repeat; background-position: 2px center;} -.tundra.dojoDndCopy .dojoDndAvatarHeader {background-color: #f58383; background-image: url(images/dndNoCopy.png); background-repeat: no-repeat; background-position: 2px center;} -.tundra.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndMove.png); background-repeat: no-repeat; background-position: 2px center;} -.tundra.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-color: #97e68d; background-image: url(images/dndCopy.png); background-repeat: no-repeat; background-position: 2px center;} -.tundra .dijitContentPaneLoading { - background:url(images/loading.gif) no-repeat left center; - padding-left:25px; -} -.tundra .dijitContentPaneError { - background:url(images/warning.png) no-repeat left center; - padding-left:25px; -} -.tundra .dijitTabPaneWrapper { - - background:#fff; - border:1px solid #ccc; -} -.tundra .dijitTab { - line-height:normal; - margin-right:5px; - padding:0px; - border:1px solid #ccc; - background:#e2e2e2 url(images/tabEnabled.png) repeat-x; -} -.tundra .dijitAlignLeft .dijitTab, -.tundra .dijitAlignRight .dijitTab { - margin-right:0px; - margin-bottom:5px; -} -.tundra .dijitTabInnerDiv { - padding:6px 10px 4px 10px; - border-left:1px solid #fff; - border-bottom:1px solid #fff; -} -.tundra .dijitTabHover, -.tundra .dijitTabCloseButtonHover { - color: #243C5F; - border-top-color:#92a0b3; - border-left-color:#92a0b3; - border-right-color:#92a0b3; - background:#e2e2e2 url(images/tabHover.png) repeat-x bottom; -} -.dj_ie6 .tundra .dijitTabHover, -.dj_ie6 .tundra .dijitTabCloseButtonHover { - background-image: url(images/tabHover.gif); -} -.tundra .dijitTabChecked, -.tundra .dijitTabCloseButtonChecked -{ - - background-color:#fff; - border-color: #ccc; - background-image:none; -} -.tundra .dijitAlignTop .dijitTabChecked, -.tundra .dijitAlignTop .dijitTabCloseButtonChecked -{ - border-bottom-color:white; - vertical-align:bottom; -} -.tundra .dijitAlignBottom .dijitTabChecked, -.tundra .dijitAlignBottom .dijitTabCloseButtonChecked -{ - border-top-color:white; - -moz-border-radius:2px 2px 0px 0px; -} -.tundra .dijitAlignLeft .dijitTabChecked, -.tundra .dijitAlignLeft .dijitTabCloseButtonChecked -{ - border-right-color:white; -} -.tundra .dijitAlignRight .dijitTabChecked, -.tundra .dijitAlignRight .dijitTabCloseButtonChecked -{ - border-left-color:white; -} -.tundra .dijitTab .dijitClosable { - position: relative; - padding:6px 20px 4px 10px; -} -.tundra .dijitTab .dijitClosable .closeImage { - position:absolute; - top: 7px; - right: 3px; - height: 12px; - width: 12px; - padding: 0; - margin: 0; - background: url(images/tabClose.png) no-repeat right top; -} -.dj_ie6 .dijitTab .dijitClosable .closeImage { - background-image:url(images/tabClose.gif); -} -.tundra .dijitTabCloseButton .dijitClosable .closeImage { - background-image : url(images/tabClose.png); -} -.dj_ie6 .tundra .dijitTabCloseButton .dijitClosable .closeImage { - background-image : url(images/tabClose.gif); -} -.tundra .dijitTabCloseButtonHover .dijitClosable .closeImage { - background-image : url(images/tabCloseHover.png); -} -.dj_ie6 .tundra .dijitTabCloseButtonHover .dijitClosable .closeImage { - background-image : url(images/tabCloseHover.gif); -} -.tundra .dijitAlignLeft .dijitTab .dijitClosable { - padding:6px 10px 4px 20px; -} -.dj_ie6 .tundra .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - left:-20px; -} -.tundra .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - top: auto; - bottom: 7px; - right: 3px; -} -.tundra .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - top: 7px; - left: 3px; -} -.tundra .dijitAccordionPane { - background-color: #e7e7e7; -} -.tundra .dijitAccordionTitle { - background:#fafafa url(images/titleBar.png) repeat-x bottom left; - border-top: 1px solid #bfbfbf; - padding: 6px 4px 6px 8px; - cursor:pointer; -} -.tundra .dijitAccordionTitle-selected { - background: #f9f9f9 url(images/accordionItemActive.gif) bottom repeat-x; - font-weight: bold; - border-top: 1px solid #aaaaaa; - border-bottom: 1px solid #bfbfbf; - padding: 6px 4px 6px 8px; - cursor: default; -} -.tundra .dijitAccordionArrow { - background:url(images/plusButton.gif) no-repeat; - width:15px; - height:15px; - margin-top:2px; -} -.tundra .dijitAccordionTitle-selected .dijitAccordionArrow { - background:none; - margin-top:2px; -} -.tundra .dijitAccordionBody { - background: #fff; -} -.tundra .dijitSplitContainerSizerH { - background:url(images/splitContainerSizerV.png) repeat-y #fff; - border:0; - border-left:1px solid #bfbfbf; - border-right:1px solid #bfbfbf; - width:7px; -} -.tundra .dijitSplitContainerSizerH .thumb { - background:url(images/splitContainerSizerV-thumb.png) no-repeat #ccc; - left:1px; - width:3px; - height:19px; - overflow: hidden; -} -.tundra .dijitSplitContainerSizerV { - background:url(images/splitContainerSizerH.png) repeat-x #fff; - border:0; - border-top:1px solid #bfbfbf; - border-bottom:1px solid #bfbfbf; - height:7px; -} -.tundra .dijitSplitContainerSizerV .thumb { - background:url(images/splitContainerSizerH-thumb.png) no-repeat #ccc; - top:1px; - width:19px; - height:3px; - overflow: hidden; -} -.tundra .dijitSplitter { - border-color: #bfbfbf; -} -.tundra .dijitSplitterH { - background:url(images/splitContainerSizerH.png) repeat-x #fff; - border:0; - border-left:0px solid #d3d3d3; - border-right:0px solid #d3d3d3; - height:5px; -} -.tundra .dijitSplitterH .dijitSplitterThumb { - background:url(images/splitContainerSizerH-thumb.png) no-repeat; - top:1px; - width:19px; - height:2px; -} -.tundra .dijitSplitterV { - background:url(images/splitContainerSizerV.png) repeat-y #fff; - border:0; - border-top:0px solid #d3d3d3; - border-bottom:0px solid #d3d3d3; - width:5px; -} -.tundra .dijitSplitterV .dijitSplitterThumb { - background:url(images/splitContainerSizerV-thumb.png) no-repeat; - left:1px; - height:19px; - width:5px; -} -.tundra .dijitInputField INPUT, -.tundra .dijitTextBox, -.tundra .dijitComboBox, -.tundra .dijitSpinner { - margin: 0em 0.1em; -} -.tundra .dijitTextBox, -.tundra .dijitComboBox, -.tundra .dijitSpinner, -.tundra .dijitInlineEditor input { - - background:#fff url(images/validationInputBg.png) repeat-x top left; - #background:#fff url(images/validationInputBg.gif) repeat-x top left; - border:1px solid #b3b3b3; - line-height: normal; -} -.tundra .dijitComboBox .dijitButtonNode { - padding: 0 0.2em; -} -.tundra .dijitComboBox .dijitButtonNode, -.tundra .dijitSpinner .dijitButtonNode { - - border-color: #9b9b9b; -} -.tundra .dijitTextBoxFocused, -.tundra .dijitComboBoxFocused, -.tundra .dijitSpinnerFocused { - - border-color:#406b9b; -} -.tundra .dijitComboBoxFocused .dijitButtonNode, .tundra .dijitSpinnerFocused .dijitButtonNode { - border-left-color:#366dba; -} -.tundra .dijitSpinnerFocused .dijitDownArrowButton { - border-top-color:#366dba; -} -.tundra .dijitError { - border-color:#f3d118; - background-color:#f9f7ba; - background-image:none; -} -.dj_ie6 .tundra .dijitError INPUT { - - background-color:#f9f7ba !important; -} -.tundra .dijitErrorFocused { - background-color:#ff6; - background-image:none; -} -.dj_ie6 .tundra .dijitErrorFocused INPUT { - - background-color:#ff6 !important; -} -.tundra .dijitValidationIcon { - - width: 16px; - background: transparent url(images/warning.png) no-repeat center center; -} -.tundra .dijitInlineValue { - - padding:3px; - margin:4px; -} -.tundra .dijitInlineEditor { - - display: inline-block; - display: -moz-inline-stack; - #display:inline; - -} -.dijitInlineEditor .saveButton, -.dijitInlineEditor .cancelButton { - margin:3px 3px 3px 0px; -} -.RichTextEditable { - border:1px solid #bfbfbf; - border-top:0; -} -.dj_ie6 .tundra .dijitInputField -{ - background: url(images/validationInputBg.gif) repeat-x top left #fff; -} -.tundra .dijitButtonNode { - - - border:1px solid #c0c0c0; - border-bottom:1px solid #9b9b9b; - border-right:1px solid #9b9b9b; - padding: 0.2em; - background:#fff url(images/buttonEnabled.png) repeat-x bottom left; -} -.dj_ie .tundra .dijitButtonNode { - zoom: 1; -} -.tundra .dijitButtonText { - padding: 0 0.3em; -} -.tundra .dijitComboBox .dijitButtonNode { - border: 0px; -} -.tundra .dijitArrowButton { - color: #111; -} -.tundra .dijitComboButton .dijitDownArrowButton { - padding-right:4px; -} -.dj_ff2 .tundra .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .tundra .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.tundra .dijitButtonDisabled .dijitButtonNode, -.tundra .dijitToggleButtonDisabled .dijitButtonNode, -.tundra .dijitDropDownButtonDisabled .dijitButtonNode, -.tundra .dijitComboButtonDisabled .dijitButtonNode, -.tundra .dijitComboBoxDisabled, -.tundra .dijitSpinnerDisabled, -.tundra .dijitSpinnerDisabled .dijitButtonNode { - - border-color: #d5d5d5 #bdbdbd #bdbdbd #d5d5d5; - - background:#e4e4e4 url(images/buttonDisabled.png) top repeat-x; - opacity: 0.60; -} -.dj_ie .tundra .dijitButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitToggleButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitDropDownButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitComboButtonDisabled .dijitButtonNode *, -.dj_ie .tundra .dijitSpinnerDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); -} -.tundra .dijitButtonHover .dijitButtonNode, -.tundra .dijitToggleButtonHover .dijitButtonNode, -.tundra .dijitDropDownButtonHover .dijitButtonNode, -.tundra .dijitComboButtonHover .dijitButtonContents, -.tundra .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.tundra .dijitComboBoxHover .dijitDownArrowButton, -.tundra .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.tundra .dijitSpinnerDownArrowHover .dijitDownArrowButton { - - - border-color:#a5beda; - border-bottom-color:#5c7590; - border-right-color:#5c7590; - color:#000; - background:#fcfdff url(images/buttonHover.png) repeat-x bottom; -} -.tundra .dijitSpinnerUpArrowActive .dijitUpArrowButton, -.tundra .dijitSpinnerDownArrowActive .dijitDownArrowButton, -.tundra .dijitButtonActive .dijitButtonNode, -.tundra .dijitToggleButtonActive .dijitButtonNode, -.tundra .dijitDropDownButtonActive .dijitButtonNode, -.tundra .dijitComboButtonActive .dijitButtonContents, -.tundra .dijitDownArrowActive .dijitDownArrowButton, -.tundra .dijitComboBoxActive .dijitDownArrowButton { - - border-color:#366dba; - background: #ededed url(images/buttonActive.png) bottom repeat-x; -} -.tundra .dijitArrowButtonInner { - background:url(images/arrowDown.png) no-repeat center center; -} -.tundra .dijitUpArrowButton .dijitArrowButtonInner { background-image:url(images/arrowUp.png); } -.dj_ie6 .tundra .dijitArrowButtonInner { - background-image:url(images/arrowDown.gif); -} -.dj_ie6 .tundra .dijitUpArrowButton .dijitArrowButtonInner { - background-image:url(images/arrowUp.gif); -} -.tundra .dijitComboBox .dijitArrowButton .dijitArrowButtonInner { - background:url(images/comboArrowDown.gif) no-repeat center center; -} -.tundra .dijitComboBoxHover .dijitArrowButtonInner { - -} -.tundra .dijitToggleButton .dijitCheckBoxIcon { - background-image: url(images/checkmarkNoBorder.gif); -} -.tundra .dijitCheckBox, -.tundra .dijitCheckBoxIcon { - background-image: url(images/checkmark.gif); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.tundra .dijitCheckBox, -.tundra .dijitToggleButton .dijitCheckBoxIcon { - - background-position: -16px; -} -.tundra .dijitCheckBoxChecked, -.tundra .dijitToggleButtonChecked .dijitCheckBoxIcon { - - background-position: 0px; -} -.tundra .dijitCheckBoxDisabled { - - background-position: -48px; -} -.tundra .dijitCheckBoxCheckedDisabled { - - background-position: -32px; -} -.tundra .dijitCheckBoxHover, -.tundra .dijitCheckBoxFocused { - - background-position: -80px; -} -.tundra .dijitCheckBoxCheckedHover, -.tundra .dijitCheckBoxCheckedFocused { - - background-position: -64px; -} -.tundra .dijitToggleButton .dijitRadio, -.tundra .dijitToggleButton .dijitRadioIcon { - background-image: url(images/checkmarkNoBorder.gif); -} -.tundra .dijitRadio, -.tundra .dijitRadioIcon { - background-image: url(images/checkmark.gif); - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} -.tundra .dijitRadio, -.tundra .dijitToggleButton .dijitRadioIcon { - - background-position: -112px; -} -.tundra .dijitRadioChecked, -.tundra .dijitToggleButtonChecked .dijitRadioIcon { - - background-position: -96px; -} -.tundra .dijitRadioDisabled { - - background-position: -144px; -} -.tundra .dijitRadioCheckedDisabled { - - background-position: -128px; -} -.tundra .dijitRadioHover, -.tundra .dijitRadioFocused { - - background-position: -176px; -} -.tundra .dijitRadioCheckedHover, -.tundra .dijitRadioCheckedFocused { - - background-position: -160px; -} -.tundra .dijitTextArea { - - background:#fff url(images/validationInputBg.png) repeat-x top left; - #background:#fff url(images/validationInputBg.gif) repeat-x top left; - border:1px solid #b3b3b3; - line-height: normal; -} -.tundra .dijitSliderProgressBarH { - border-color: #aab0bb; - background: #c0c2c5 url(images/sliderFull.png) repeat-x top left; -} -.tundra .dijitSliderProgressBarV { - border-color: #aab0bb; - background: #c0c2c5 url(images/sliderFullVertical.png) repeat-y bottom left; -} -.tundra .dijitSliderFocused .dijitSliderProgressBarH, -.tundra .dijitSliderFocused .dijitSliderLeftBumper { - background-image:url(images/sliderFullFocus.png); -} -.tundra .dijitSliderFocused .dijitSliderProgressBarV, -.tundra .dijitSliderFocused .dijitSliderBottomBumper { - background-image:url(images/sliderFullVerticalFocus.png); -} -.tundra .dijitSliderRemainingBarV { - border-color: #b4b4b4; - background: #dcdcdc url(images/sliderEmptyVertical.png) repeat-y bottom left; -} -.tundra .dijitSliderRemainingBarH { - border-color: #b4b4b4; - background: #dcdcdc url(images/sliderEmpty.png) repeat-x top left; -} -.tundra .dijitSliderBar { - border-style: solid; - outline:1px; -} -.tundra .dijitSliderFocused .dijitSliderBar { - border-color:#333; -} -.dijit_a11y .dijitSliderProgressBar { - background-color:#333 !important; -} -.tundra .dijitSliderImageHandleH { - border:0px; - width:16px; - height:16px; - background:url(images/preciseSliderThumb.png) no-repeat center top; - cursor:pointer; -} -.tundra .dijitSliderFocused .dijitSliderImageHandleH { - background-image:url(images/preciseSliderThumbFocus.png); - #background-image:url(images/preciseSliderThumbFocus.gif); -} -.dj_ie6 .tundra .dijitSliderImageHandleH { - background-image:url(images/preciseSliderThumb.gif); -} -.tundra .dijitSliderLeftBumper { - border-left-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url(images/sliderFull.png) repeat-x top left; -} -.tundra .dijitSliderRightBumper { - background: #dcdcdc url(images/sliderEmpty.png) repeat-x top left; - border-color: #b4b4b4; - border-right-width: 1px; -} -.tundra .dijitSliderImageHandleV { - border:0px; - width:16px; - height:16px; - background:url(images/sliderThumb.png) no-repeat center center; - cursor:pointer; -} -.tundra .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url(images/sliderThumbFocus.png); -} -.dj_ie6 .tundra .dijitSliderFocused .dijitSliderImageHandleV { - background-image:url(images/sliderThumbFocus.gif); -} -.tundra .dijitSliderBottomBumper { - border-bottom-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url(images/sliderFullVertical.png) repeat-y bottom left; -} -.tundra .dijitSliderTopBumper { - background: #dcdcdc url(images/sliderEmptyVertical.png) repeat-y top left; - border-color: #b4b4b4; - border-top-width: 1px; -} -.tundra .dijitSliderIncrementIconH, -.tundra .dijitSliderIncrementIconV { - background:url(images/arrowUp.png) no-repeat center center; - width:16px; height:16px; - cursor:pointer; -} -.tundra .dijitSliderIncrementIconH { - background-image:url(images/arrowRight.png); -} -.tundra .dijitSliderDecrementIconH, -.tundra .dijitSliderDecrementIconV { - width:16px; - height:16px; - cursor:pointer; - background:url(images/arrowDown.png) no-repeat center center; -} -.tundra .dijitSliderDecrementIconH { background-image:url(images/arrowLeft.png); } -.tundra .dijitSliderButtonInner { - visibility:hidden; -} -.tundra .dijitSliderDisabled { - opacity:0.6 !important; -} -.dj_ie6 .tundra .dijitSliderDisabled, -.dj_ie6 .tundra .dijitSliderDisabled .dijitRuleContainer, -.dj_ie6 .tundra .dijitSliderDisabled .dijitSliderRemainingBar, -.dj_ie6 .tundra .dijitSliderDisabled .dijitSliderProgressBar { - filter: gray() alpha(opacity=40); -} -.tundra .dijitSliderDisabled * { - cursor: not-allowed !important; -} -.tundra .dijitTreeNode { - background-image : url(images/i.gif); - background-position : top left; - background-repeat : repeat-y; - margin-left: 19px; - zoom: 1; -} -.tundra .dijitTreeIsLast { - background: url(images/i_half.gif) no-repeat; -} -.tundra .dijitTreeIsRoot { - margin-left: 0; - background-image: none; -} -.tundra .dijitTreeExpando { - width: 18px; - height: 18px; -} -.tundra .dijitTreeContent { - min-height: 18px; - min-width: 18px; - margin-left:18px; - padding-top:3px; - padding-left:1px; -} -.tundra .dijitTreeExpand { - width: 18px; - height: 18px; - background-repeat : no-repeat; -} -.tundra .dijitTreeNodeEmphasized { - background-color: Highlight; - color: HighlightText; -} -.tundra .dijitTreeLabelFocused { - outline: 1px invert dotted; - background:#dde7f2; -} -.tundra .dijitTreeExpandoOpened { - background-image: url(images/treeExpand_minus.gif); -} -.tundra .dijitTreeExpandoClosed { - background-image: url(images/treeExpand_plus.gif); -} -.tundra .dijitTreeExpandoLeaf { - background-image: url(images/treeExpand_leaf.gif); -} -.tundra .dijitTreeExpandoLoading { - background-image: url(images/treeExpand_loading.gif); -} -.tundra .dijitTreeIcon { - width: 16px; - height: 16px; - padding-right: 4px; -} -.tundra .dijitFolderOpened { - background: url(images/folderOpened.gif) no-repeat; -} -.tundra .dijitFolderClosed { - background: url(images/folderClosed.gif) no-repeat; -} -.tundra .dijitLeaf { - background: url(images/leaf.gif) no-repeat; -} -.tundra .dijitProgressBar { - margin:2px 0px 2px 0px; -} -.tundra .dijitProgressBarEmpty{ - - background:#fff url(images/progressBarEmpty.png) repeat-x top left; - border-color: #a2a2a2 #b8b8b8 #b8b8b8 #a2a2a2; -} -.tundra .dijitProgressBarTile{ - - background:#f0f0f0 url(images/progressBarFull.png) repeat-x center center; -} -.tundra .dijitProgressBarFull { - border-right:1px solid #b8b8b8; -} -.tundra .dijitProgressBarLabel { - - color:#293a4b; -} -.tundra .dijitProgressBarIndeterminate .dijitProgressBarTile { - - background:#cad2de url(images/progressBarAnim.gif) repeat-x center center; -} -.tundra .dijitTitlePane .dijitTitlePaneTitle { - background: #cccccc; - background:#fff url(images/titleBar.png) repeat-x bottom left; - border:1px solid #bfbfbf; - padding:4px 4px 2px 4px; - cursor: pointer; -} -.tundra .dijitTitlePane .dijitArrowNode { - width:16px; - height:16px; - float:right; -} -.tundra .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url(images/arrowRight.png) no-repeat center center; -} -.tundra .dijitTitlePaneFocused .dijitTitlePaneTextNode { - text-decoration:underline; -} -.dj_ie6 .tundra .dijitTitlePane .dijitClosed .dijitArrowNode { - background-image:url(images/arrowRight.gif); -} -.tundra .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url(images/arrowDown.png) no-repeat center center; -} -.dj_ie6 .tundra .dijitTitlePane .dijitOpen .dijitArrowNode { - background-image:url(images/arrowDown.gif); -} -.tundra .dijitTitlePane .dijitArrowNodeInner { - visibility:hidden; -} -.dijit_a11y .dijitTitlePane .dijitArrowNodeInner { - visibility:visible; -} -.tundra .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - margin-right:5px; -} -.tundra .dijitOpen .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - position:relative; - top:2px; -} -.tundra .dijitTitlePaneContentOuter { - background: #ffffff; - border:1px solid #bfbfbf; - border-top: 1px solid #ccc; -} -.tundra .dijitTitlePaneContentInner { - padding:10px; -} -.dj_ie6 .tundra .dijitTitlePaneContentOuter, -.dj_ie6 .tundra .dijitTitlePane .dijitTitlePaneTitle { - zoom: 1; -} -.tundra .dijitClickableRegion { - background-color : #ffc !important; -} - -.tundra .dijitCalendarIncrementControl { - - width:15px; - height:15px; -} -.dj_ie6 .tundra .dijitCalendarIncrementControl { - padding:.1em; - font-size:.1em; -} -.tundra .dijitCalendarIncreaseInner, -.tundra .dijitCalendarDecreaseInner { - visibility:hidden; -} -.tundra .dijitCalendarDecrease { - background:url(images/spriteRoundedIconsSmall.png) no-repeat top left; -} -.dj_ie6 .tundra .dijitCalendarDecrease { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat top left; -} -.tundra .dijitCalendarIncrease { - background:url(images/spriteRoundedIconsSmall.png) no-repeat -30px top; -} -.dj_ie6 .tundra .dijitCalendarIncrease { - background:url(images/spriteRoundedIconsSmall.gif) no-repeat -30px top; -} -.tundra table.dijitCalendarContainer { - font-size: 100%; - border-spacing: 0; - border-collapse: separate; - border: 1px solid #ccc; - margin: 0; -} -.tundra .dijitCalendarMonthContainer th { - - background:#d3d3d3 url(images/titleBar.png) repeat-x top; - padding-top:.3em; - padding-bottom:.2em; - text-align:center; -} -.dj_ie6 .tundra .dijitCalendarMonthContainer th { - padding-top:.1em; - padding-bottom:0em; -} -.tundra .dijitCalendarDayLabelTemplate { - - background:white url(images/calendarDayLabel.png) repeat-x bottom; - font-weight:normal; - padding-top:.15em; - padding-bottom:0em; - border-top: 1px solid #eeeeee; - color:#293a4b; - text-align:center; -} -.tundra .dijitCalendarBodyContainer { - border-bottom: 1px solid #eeeeee; -} -.tundra .dijitCalendarMonthLabel { - color:#293a4b; - font-weight: bold; -} -.dj_ie7 .tundra .dijitCalendarDateTemplate, -.dj_ie6 .tundra .dijitCalendarDateTemplate { - font-size: 0.8em; -} -.tundra .dijitCalendarDateTemplate { - - font-size: 0.9em; - font-weight: bold; - text-align: center; - padding: 0.3em 0.3em 0.05em 0.3em; - letter-spacing: 1px; -} -.tundra .dijitCalendarPreviousMonth, -.tundra .dijitCalendarNextMonth { - - color:#999999; - background-color:#f8f8f8 !important; -} -.tundra .dijitCalendarPreviousMonthDisabled, -.tundra .dijitCalendarNextMonthDisabled { - - background-color:#a4a5a6 !important; -} -.tundra .dijitCalendarCurrentMonth { - - background-color:white !important; -} -.tundra .dijitCalendarCurrentMonthDisabled { - - background-color:#bbbbbc !important; -} -.tundra .dijitCalendarCurrentDate { - - text-decoration:underline; - font-weight:bold; -} -.tundra .dijitCalendarCurrentDate { - - text-decoration:underline; - font-weight:bold; -} -.tundra .dijitCalendarSelectedDate { - - background-color:#bbc4d0 !important; - color:black !important; -} -.tundra .dijitCalendarYearContainer { - - background:white url(images/calendarYearLabel.png) repeat-x bottom; - border-top:1px solid #ccc; -} -.tundra .dijitCalendarYearLabel { - - margin:0; - padding:0.4em 0 0.25em 0; - text-align:center; -} -.tundra .dijitCalendarSelectedYear { - - color:black; - padding:0.2em; - padding-bottom:0.1em; - background-color:#bbc4d0 !important; -} -.tundra .dijitCalendarNextYear, -.tundra .dijitCalendarPreviousYear { - - color:black !important; - font-weight:normal; -} -.tundra .dijitToolbar { - padding: 3px 0 1px 3px; - border-bottom: 1px solid #ccc; - background:#eaeaea url(images/titleBar.png) repeat-x top left; -} -.tundra .dijitToolbar .dijitButtonNode { - background: none; - margin: 0px !important; - padding: 0px !important; - border: none; - font-size: 12px; -} -.tundra .dijitToolbar .dijitButton, -.tundra .dijitToolbar .dijitToggleButton, -.tundra .dijitToolbar .dijitDropDownButton { - background: none; - margin: 1px; - padding: 0px; - border: 1px solid transparent; -} -.tundra .dijitToolbar .dijitButtonChecked, -.tundra .dijitToolbar .dijitToggleButtonChecked { - background-color:#d4dff2; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} -.tundra .dijitToolbar .dijitButtonCheckedHover, -.tundra .dijitToolbar .dijitToggleButtonCheckedHover - { - background-color:#abc1e5; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px !important; -} -.tundra .dijitToolbar .dijitButtonHover, -.tundra .dijitToolbar .dijitToggleButtonHover, -.tundra .dijitToolbar .dijitDropDownButtonHover { - - border: 1px solid #316ac5; - background-color:#abc1e5; -} -.tundra .dijitToolbar label { - padding: 3px 3px 0 6px; -} -.dj_ie .tundra .dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ie .tundra .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused, -.dj_ff2 .tundra.dijitToolbar .dijitComboButton .dijitButtonContentsFocused, -.dj_ff2 .tundra .dijitToolbar .dijitComboButton .dijitDownArrowButtonFocused { - border: 1px black dotted !important; -} -.dj_ie6 .tundra .dijitToolbar .dijitButton, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButton, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButton { - - margin: 2px; - padding: 0px 2px; - border: 0px; -} -.dj_ie6 .tundra .dijitToolbar .dijitButtonChecked, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButtonChecked, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButtonChecked { - background-color:#c1d2ee; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .tundra .dijitToolbar .dijitButtonCheckedHover, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButtonCheckedHover, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButtonCheckedHover { - background-color:#c1d2ee; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} -.dj_ie6 .tundra .dijitToolbar .dijitButtonHover, -.dj_ie6 .tundra .dijitToolbar .dijitToggleButtonHover, -.dj_ie6 .tundra .dijitToolbar .dijitDropDownButtonHover { - background-color:#c1d2ee; - border:1px solid #316ac5; - margin: 1px !important; - padding: 0px 2px !important; -} -.tundra .dijitDialog { - background: #fff; - border: 1px solid #7eabcd; - -webkit-box-shadow: 0px 5px 10px #adadad; - padding: 0px; -} -.tundra .dijitDialog .dijitDialogTitle { - border-top: none; - border-left: none; - border-right: none; -} -.tundra .dijitDialog .dijitDialogPaneContent { - background: #fff; - border:none; - border-top: 1px solid #d3d3d3; - padding:10px; -} -.tundra .dijitDialogTitleBar { - - background: #fafafa url(images/titleBar.png) repeat-x top left; - - padding: 5px 6px 3px 2px; - cursor: move; - outline:0; -} -.tundra .dijitDialogTitle { - - font-weight: bold; - padding: 8px 12px 8px 12px; - outline:0; -} -.tundra .dijitDialogCloseIcon { - - background : url(images/spriteRoundedIconsSmall.png) no-repeat right top; - float: right; - position: absolute; - vertical-align: middle; - right: 6px; - top: 4px; - height: 15px; - width: 15px; - cursor: pointer; -} -.dj_ie6 .tundra .dijitDialogCloseIcon { - background : url(images/spriteRoundedIconsSmall.gif) no-repeat right top; -} -.tundra .dijitDialogContent { - - padding: 8px; -} -.tundra .dijitTooltip, -.tundra .dijitTooltipDialog { - - - background: transparent; -} -.dijitTooltipBelow { - - padding-top: 13px; -} -.dijitTooltipAbove { - - padding-bottom: 13px; -} -.tundra .dijitTooltipContainer { - - background: #ffffff url(images/popupMenuBg.gif) repeat-x bottom left; - border:1px solid #7eabcd; - padding:0.45em; - -webkit-border-radius: 6px; -} -.tundra .dijitTooltipConnector { - - border:0px; - z-index: 2; -} -.tundra .dijitTooltipABRight .dijitTooltipConnector { - - left: auto !important; - right: 3px; -} -.tundra .dijitTooltipBelow .dijitTooltipConnector { - - top: 0px; - left: 3px; - background:url(images/tooltipConnectorUp.png) no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipBelow .dijitTooltipConnector { - background-image: url(images/tooltipConnectorUp.gif); -} -.tundra .dijitTooltipAbove .dijitTooltipConnector { - - bottom: 0px; - left: 3px; - background:url(images/tooltipConnectorDown.png) no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipAbove .dijitTooltipConnector { - background-image: url(images/tooltipConnectorDown.gif); - bottom: -3px; -} -.tundra .dijitTooltipLeft { - padding-right: 14px; -} -.dj_ie6 .tundra .dijitTooltipLeft { - padding-left: 15px; -} -.tundra .dijitTooltipLeft .dijitTooltipConnector { - - right: 0px; - bottom: 7px; - background:url(images/tooltipConnectorRight.png) no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipLeft .dijitTooltipConnector { - background-image: url(images/tooltipConnectorRight.gif); -} -.tundra .dijitTooltipRight { - padding-left: 14px; -} -.tundra .dijitTooltipRight .dijitTooltipConnector { - - left: 0px; - bottom: 7px; - background:url(images/tooltipConnectorLeft.png) no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipRight .dijitTooltipConnector { - background-image: url(images/tooltipConnectorLeft.gif); -} -.dj_safari .tundra .dijitPopup .dijitTooltipContainer, -.dj_safari .tundra .dijitPopup .dijitMenu { - - -webkit-box-shadow: 0px 5px 10px #adadad; -} -.tundra .dijitPopup > div, -.tundra .dijitPopup > table { - opacity: 0.95; -} -.tundra .dijitMenu { - border: 1px solid #7eabcd; - margin: 0px; - padding: 0px; -} -.tundra .dijitMenuItem { - background-color: #f7f7f7; - font: menu; - margin: 0; -} -.tundra .dijitMenuPreviousButton, .tundra .dijitMenuNextButton { - font-style: italic; -} -.tundra .dijitMenuItem td { - padding:2px; -} -.tundra .dijitMenuItemHover { - background-color: #60a1ea; - color:#fff; -} -.tundra .dijitMenuItemIcon { - width: 16px; - height: 16px; -} -.tundra .dijitMenuExpand { - display:none; -} -.tundra .dijitMenuExpandEnabled { - width:16px; - height:16px; - background:url(images/arrowRight.gif) no-repeat center center; - display:block; -} -.tundra .dijitMenuExpandInner { - display:none; -} -.tundra .dijitMenuSeparator { - background-color: #f7f7f7; -} -.tundra .dijitMenuSeparatorTop { - border-bottom: 1px solid #9b9b9b; -} -.tundra .dijitMenuSeparatorBottom { - border-top: 1px solid #e8e8e8; -} -.dijitIEFixedToolbar { - position:absolute; - - top: expression(eval((document.documentElement||document.body).scrollTop)); -} -.tundra .dijitToolbar .dijitToolbarSeparator { - background: url(images/editor.gif); -} -.tundra .dijitEditorIcon { - background-image: url(images/editor.gif); - background-repeat: no-repeat; - width: 18px; - height: 18px; - text-align: center; -} -.tundra .dijitEditorIconSep { background-position: 0px; } -.tundra .dijitEditorIconBackColor { background-position: -18px; } -.tundra .dijitEditorIconBold { background-position: -36px; } -.tundra .dijitEditorIconCancel { background-position: -54px; } -.tundra .dijitEditorIconCopy { background-position: -72px; } -.tundra .dijitEditorIconCreateLink { background-position: -90px; } -.tundra .dijitEditorIconCut { background-position: -108px; } -.tundra .dijitEditorIconDelete { background-position: -126px; } -.tundra .dijitEditorIconForeColor { background-position: -144px; } -.tundra .dijitEditorIconHiliteColor { background-position: -162px; } -.tundra .dijitEditorIconIndent { background-position: -180px; } -.tundra .dijitEditorIconInsertHorizontalRule { background-position: -198px; } -.tundra .dijitEditorIconInsertImage { background-position: -216px; } -.tundra .dijitEditorIconInsertOrderedList { background-position: -234px; } -.tundra .dijitEditorIconInsertTable { background-position: -252px; } -.tundra .dijitEditorIconInsertUnorderedList { background-position: -270px; } -.tundra .dijitEditorIconItalic { background-position: -288px; } -.tundra .dijitEditorIconJustifyCenter { background-position: -306px; } -.tundra .dijitEditorIconJustifyFull { background-position: -324px; } -.tundra .dijitEditorIconJustifyLeft { background-position: -342px; } -.tundra .dijitEditorIconJustifyRight { background-position: -360px; } -.tundra .dijitEditorIconLeftToRight { background-position: -378px; } -.tundra .dijitEditorIconListBulletIndent { background-position: -396px; } -.tundra .dijitEditorIconListBulletOutdent { background-position: -414px; } -.tundra .dijitEditorIconListNumIndent { background-position: -432px; } -.tundra .dijitEditorIconListNumOutdent { background-position: -450px; } -.tundra .dijitEditorIconOutdent { background-position: -468px; } -.tundra .dijitEditorIconPaste { background-position: -486px; } -.tundra .dijitEditorIconRedo { background-position: -504px; } -.tundra .dijitEditorIconRemoveFormat { background-position: -522px; } -.tundra .dijitEditorIconRightToLeft { background-position: -540px; } -.tundra .dijitEditorIconSave { background-position: -558px; } -.tundra .dijitEditorIconSpace { background-position: -576px; } -.tundra .dijitEditorIconStrikethrough { background-position: -594px; } -.tundra .dijitEditorIconSubscript { background-position: -612px; } -.tundra .dijitEditorIconSuperscript { background-position: -630px; } -.tundra .dijitEditorIconUnderline { background-position: -648px; } -.tundra .dijitEditorIconUndo { background-position: -666px; } -.tundra .dijitEditorIconWikiword { background-position: -684px; } -.tundra .dijitEditorIconToggleDir { background-position: -540px; } -.dijitColorPalette { - border:1px solid #7eabcd; - background:#fff; - -moz-border-radius: 0px !important; -} diff --git a/includes/js/dijit/themes/tundra/tundra.css.commented.css b/includes/js/dijit/themes/tundra/tundra.css.commented.css deleted file mode 100644 index 6b3fc7b..0000000 --- a/includes/js/dijit/themes/tundra/tundra.css.commented.css +++ /dev/null @@ -1,37 +0,0 @@ -/* - Adds cosmetic styling to Dijit. Users may swap with a custom theme CSS file. - - NOTES: - --- - Dialog.css contains css classes for both Dialog and Tooltip! - This because currently a dijit.TooltipDialog exist. Until this is resolved - you need to include Dialog.css for both dijits - --- - Toolbar.css contains classes also used in Editor. Until this is resolved - you need to include Toolbar.css for both Toolbar and Editor - --- - Button.css contains classes for combobox, - -*/ -@import url("../dijit.css"); -@import url("Common.css"); - -@import url("layout/TabContainer.css"); -@import url("layout/AccordionContainer.css"); -@import url("layout/SplitContainer.css"); -@import url("layout/BorderContainer.css"); -@import url("form/Common.css"); -@import url("form/Button.css"); -@import url("form/Checkbox.css"); -@import url("form/RadioButton.css"); -@import url("form/TextArea.css"); -@import url("form/Slider.css"); -@import url("Tree.css"); -@import url("ProgressBar.css"); -@import url("TitlePane.css"); -@import url("Calendar.css"); -@import url("Toolbar.css"); -@import url("Dialog.css"); -@import url("Menu.css"); -@import url("Editor.css"); -@import url("ColorPalette.css"); diff --git a/includes/js/dijit/themes/tundra/tundra_rtl.css b/includes/js/dijit/themes/tundra/tundra_rtl.css deleted file mode 100644 index 21b028d..0000000 --- a/includes/js/dijit/themes/tundra/tundra_rtl.css +++ /dev/null @@ -1,317 +0,0 @@ -.dj_gecko .dijitRtl .dijitInputField { - direction: ltr; -} -.dj_gecko .dijitRtl .dijitInputField * { - direction: rtl; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpando, .dijitRtl .dijitTreeContainer .dijitTreeExpand { - float:right; -} -.dijitRtl .dijitExpandoText { - float: right; - padding-left: 3px; - padding-right: 0; -} -.dijitRtl .dijitComboBox .dijitInputField { - border-right-width:1px !important; - border-left-width:0 !important; -} -.dijitRtl .dijitCalendarNextYear { - margin:0 0.55em 0 0; -} -.dijitRtl .dijitCalendarPreviousYear { - margin:0 0 0 0.55em; -} -.dijitRtl .dijitProgressBarFull .dijitProgressBarLabel { - right:0; -} -.dijitRtl .dijitComboButton .dijitButtonContents { - border-right-width:1px !important; -} -.dijitRtl .dijitA11ySideArrow { - margin-left:1em; - margin-right:0; -} -.dijitRtl .dijitAccordionArrow, -.dijitRtl .dijitAccordionTitle .arrowTextUp, -.dijitRtl .dijitAccordionTitle .arrowTextDown { - float: left; -} -.dijitRtl .dijitSliderImageHandleV { - left:auto; - right:-6px; -} -.dj_ie .dijitRtl .dijitSliderImageHandleV { - right:-10px; -} -.dijitRtl .dijitSliderMoveableH { - right:auto; - left:0; -} -.dijitRtl .dijitRuleContainerV { - float:right; -} -.dj_gecko .dijitRtl .dijitRuleContainerV { - float:left; -} -.dj_ie .dijitRtl .dijitRuleContainerV { - text-align:right; -} -.dj_ie .dijitRtl .dijitRuleLabelV { - text-align:left; -} -.dj_ie .dijitRtl .dijitRuleLabelH { - zoom:1; -} -.dj_ie .dijitRtl .dijitSliderProgressBarH { - right:0; - left:auto; -} -.dj_gecko .dijitRtl .dijitSliderProgressBarH { - float:right; - right:0; - left:auto; -} -.dijitRtl .dijitTab { - float:right; -} -.dj_ie .dijitRtl .dijitTab, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv span { - position:static; - zoom:1; -} -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignLeft { - margin-left:1px !important; -} -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignRight { - margin-right:1px !important; -} -.dj_ie6 .dijitRtl .dijitTab { - - width:1px; -} -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignLeft { - - margin-left:1px !important; -} -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignRight { - - margin-right:1px !important; -} -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignLeft { - overflow-x:visible; - margin-left:2px !important; -} -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignRight { - overflow-x:visible; - margin-right:2px !important; -} -.dj_ie7 .dijitRtl .dijitTab .dijitTabInnerDiv { - float:left; -} -.dj_ie7 .dijitRtl .dijitTab .closeImage { - padding: 0 0 0 12px; -} -.dj_ie .dijitRtl .dijitAlignRight .dijitTab { - position:relative; -} -.dijitRtl .dijitTitlePane .dijitArrowNode { - float: left; -} -.dijitRtl .dijitSpinner .dijitInputLayoutContainer .dijitArrowButton { - right: auto; - left: 0; - border-width: 0 1px 0 0 !important; -} -.dijitRtl .dijitSpinnerButtonContainer { - float: left; -} -.dijitRtl .dijit_a11y .dijitSpinnerButtonContainer { - margin-left: none; - margin-right: 2px; -} -.dijitRtl DIV.dijitArrowButton, .dijitRtl .dijitValidationIcon, .dijitRtl .dijitValidationIconText { - float: left; -} -.dijitRtl .dijitContentPaneLoading, .dijitRtl .dijitContentPaneError { - background-position:right; - padding-right:25px; -} -.dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} -.dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarIncrease { - background-position: 0px top; -} -.dj_ie6 .dijitRtl .dijitCalendarDecrease { - background-position: -30px top; -} -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; - float: left; - right: auto; - left: 5px; -} -.dj_ie6 .dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position: -60px top; -} -.dj_ie .dijitRtl .dijitTooltipLeft { - margin-right: 0px; - margin-left: 13px; -} -.dj_ie .dijitRtl .dijitTooltipRight { - margin-left: 26px; - margin-right: -13px; -} -.dj_ie .dijitRtl .dijitTooltipDialog { - zoom:1 !important; -} -.dijitRtl .dijitEditorIcon { - background-image: url(images/editor_rtl.gif); -} -.dijitRtl .dijitToolbar .dijitToolbarSeparator { - background-image: url(images/editor_rtl.gif); -} -.dijitRtl .dijitMenuItem .dijitMenuItemIcon { - padding-left: 3px; - padding-right: 0px; -} -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url(images/arrowLeft.gif); -} -.dijitRtl .dijitTreeContainer .dijitTreeNode { - background-image : url(images/i_rtl.gif); - background-position : top right; - margin-left: auto; - margin-right: 19px; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsRoot { - margin-left: auto; - margin-right: 0; - background-image: none; -} -.dijitRtl .dijitTreeContainer .dijitTreeIsLast { - background-image: url(images/i_half_rtl.gif); -} -.dijitRtl .dijitTreeContainer .dijitTreeContent { - margin-left: auto; - margin-right: 18px; - padding-left: auto; - padding-right: 1px; -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoOpened { - background-image: url(images/treeExpand_minus_rtl.gif); -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoClosed { - background-image: url(images/treeExpand_plus_rtl.gif); -} -.dijitRtl .dijitTreeContainer .dijitTreeExpandoLeaf { - background-image: url(images/treeExpand_leaf_rtl.gif); -} -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url(images/arrowRight.png) no-repeat center center; -} -.dj_ie6 .dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-image:url(images/arrowRight.gif); -} -.dijitRtl .dijitTab { - margin-right:0; - margin-left:5px; -} -.dijitRtl .dijitTab .dijitTabInnerDiv { - border-left:none; - border-right:1px solid #fff; -} -.dijitRtl .dijitTab .dijitClosable { - padding: 6px 10px 4px 20px; -} -.dijitRtl .dijitTab .closeImage { - position:static; - padding: 0px 12px 0px 0px; -} -.dj_gecko .dijitTab .closeImage { - position:relative; - float:none; - padding:0; -} -.dijitRtl .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; - background-position: left top; -} -.dj_ie .dijitRtl .dijitTab .dijitClosable .closeImage { - width:12px !important; -} -.dijitRtl .dijitAlignLeft .dijitTab, -.dijitRtl .dijitAlignRight .dijitTab { - margin-left:0px; -} -.dijitRtl .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitTabInnerDiv { - padding-left:10px; - padding-right:20px; -} -.dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:20px; - padding-right:10px; -} -.dj_ie .dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:19px; -} -.dj_gecko .dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:11px; -} -.dijitRtl .dijitAlignRight .dijitTab .dijitClosable .closeImage { - left:auto; - right:3px; -} -.dj_ie7 .dijitRtl .dijitAlignLeft .dijitTab .dijitTabContent{ - position:relative; -} -.dj_ie7 .dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage{ - position:absolute; - top:2px; - left:3px; -} -.dj_ie6 .dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage{ - float:left; -} -.dj_ie6 .dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .tabLabel{ - float:right; -} -.dj_ie .dijitTab .dijitTabInnerDiv{ - width : 1%; -} -.dijitRtl .dijitSliderProgressBarH, -.dijitRtl .dijitSliderRemainingBarH, -.dijitRtl .dijitSliderLeftBumper, -.dijitRtl .dijitSliderRightBumper, -.dijitRtl .dijitSliderTopBumper { - background-position: top right; -} -.dijitRtl .dijitSliderProgressBarV, -.dijitRtl .dijitSliderRemainingBarV, -.dijitRtl .dijitSliderBottomBumper { - background-position: bottom right; -} -.dijitRtl .dijitSliderLeftBumper { - border-left-width: 0px; - border-right-width: 1px; -} -.dijitRtl .dijitSliderRightBumper { - border-left-width: 1px; - border-right-width: 0px; -} -.dijitRtl .dijitSliderIncrementIconH { - background-image:url(images/arrowLeft.png); -} -.dijitRtl .dijitSliderDecrementIconH { - background-image:url(images/arrowRight.png); -} diff --git a/includes/js/dijit/themes/tundra/tundra_rtl.css.commented.css b/includes/js/dijit/themes/tundra/tundra_rtl.css.commented.css deleted file mode 100644 index 6d26d3a..0000000 --- a/includes/js/dijit/themes/tundra/tundra_rtl.css.commented.css +++ /dev/null @@ -1,9 +0,0 @@ -@import url("../dijit_rtl.css"); -@import url("Calendar_rtl.css"); -@import url("Dialog_rtl.css"); -@import url("Editor_rtl.css"); -@import url("Menu_rtl.css"); -@import url("Tree_rtl.css"); -@import url("TitlePane_rtl.css"); -@import url("layout/TabContainer_rtl.css"); -@import url("form/Slider_rtl.css"); diff --git a/includes/js/dojo/AdapterRegistry.js b/includes/js/dojo/AdapterRegistry.js deleted file mode 100644 index 34bc8be..0000000 --- a/includes/js/dojo/AdapterRegistry.js +++ /dev/null @@ -1,99 +0,0 @@ -if(!dojo._hasResource["dojo.AdapterRegistry"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.AdapterRegistry"] = true; -dojo.provide("dojo.AdapterRegistry"); - -dojo.AdapterRegistry = function(/*Boolean?*/ returnWrappers){ - // summary: - // A registry to make contextual calling/searching easier. - // description: - // Objects of this class keep list of arrays in the form [name, check, - // wrap, directReturn] that are used to determine what the contextual - // result of a set of checked arguments is. All check/wrap functions - // in this registry should be of the same arity. - // example: - // | // create a new registry - // | var reg = new dojo.AdapterRegistry(); - // | reg.register("handleString", - // | dojo.isString, - // | function(str){ - // | // do something with the string here - // | } - // | ); - // | reg.register("handleArr", - // | dojo.isArray, - // | function(arr){ - // | // do something with the array here - // | } - // | ); - // | - // | // now we can pass reg.match() *either* an array or a string and - // | // the value we pass will get handled by the right function - // | reg.match("someValue"); // will call the first function - // | reg.match(["someValue"]); // will call the second - - this.pairs = []; - this.returnWrappers = returnWrappers || false; // Boolean -} - -dojo.extend(dojo.AdapterRegistry, { - register: function(/*String*/ name, /*Function*/ check, /*Function*/ wrap, /*Boolean?*/ directReturn, /*Boolean?*/ override){ - // summary: - // register a check function to determine if the wrap function or - // object gets selected - // name: - // a way to identify this matcher. - // check: - // a function that arguments are passed to from the adapter's - // match() function. The check function should return true if the - // given arguments are appropriate for the wrap function. - // directReturn: - // If directReturn is true, the value passed in for wrap will be - // returned instead of being called. Alternately, the - // AdapterRegistry can be set globally to "return not call" using - // the returnWrappers property. Either way, this behavior allows - // the registry to act as a "search" function instead of a - // function interception library. - // override: - // If override is given and true, the check function will be given - // highest priority. Otherwise, it will be the lowest priority - // adapter. - this.pairs[((override) ? "unshift" : "push")]([name, check, wrap, directReturn]); - }, - - match: function(/* ... */){ - // summary: - // Find an adapter for the given arguments. If no suitable adapter - // is found, throws an exception. match() accepts any number of - // arguments, all of which are passed to all matching functions - // from the registered pairs. - for(var i = 0; i < this.pairs.length; i++){ - var pair = this.pairs[i]; - if(pair[1].apply(this, arguments)){ - if((pair[3])||(this.returnWrappers)){ - return pair[2]; - }else{ - return pair[2].apply(this, arguments); - } - } - } - throw new Error("No match found"); - }, - - unregister: function(name){ - // summary: Remove a named adapter from the registry - - // FIXME: this is kind of a dumb way to handle this. On a large - // registry this will be slow-ish and we can use the name as a lookup - // should we choose to trade memory for speed. - for(var i = 0; i < this.pairs.length; i++){ - var pair = this.pairs[i]; - if(pair[0] == name){ - this.pairs.splice(i, 1); - return true; - } - } - return false; - } -}); - -} diff --git a/includes/js/dojo/DeferredList.js b/includes/js/dojo/DeferredList.js deleted file mode 100644 index 0a77d11..0000000 --- a/includes/js/dojo/DeferredList.js +++ /dev/null @@ -1,88 +0,0 @@ -if(!dojo._hasResource["dojo.DeferredList"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.DeferredList"] = true; -dojo.provide("dojo.DeferredList"); -dojo.declare("dojo.DeferredList", dojo.Deferred, { - constructor: function(/*Array*/ list, /*Boolean?*/ fireOnOneCallback, /*Boolean?*/ fireOnOneErrback, /*Boolean?*/ consumeErrors, /*Function?*/ canceller){ - // summary: - // Provides event handling for a group of Deferred objects. - // description: - // DeferredList takes an array of existing deferreds and returns a new deferred of its own - // this new deferred will typically have its callback fired when all of the deferreds in - // the given list have fired their own deferreds. The parameters `fireOnOneCallback` and - // fireOnOneErrback, will fire before all the deferreds as appropriate - // - // list: - // The list of deferreds to be synchronizied with this DeferredList - // fireOnOneCallback: - // Will cause the DeferredLists callback to be fired as soon as any - // of the deferreds in its list have been fired instead of waiting until - // the entire list has finished - // fireonOneErrback: - // Will cause the errback to fire upon any of the deferreds errback - // canceller: - // A deferred canceller function, see dojo.Deferred - this.list = list; - this.resultList = new Array(this.list.length); - - // Deferred init - this.chain = []; - this.id = this._nextId(); - this.fired = -1; - this.paused = 0; - this.results = [null, null]; - this.canceller = canceller; - this.silentlyCancelled = false; - - if(this.list.length === 0 && !fireOnOneCallback){ - this.callback(this.resultList); - } - - this.finishedCount = 0; - this.fireOnOneCallback = fireOnOneCallback; - this.fireOnOneErrback = fireOnOneErrback; - this.consumeErrors = consumeErrors; - - dojo.forEach(this.list, function(d, index){ - d.addCallback(this, function(r){ this._cbDeferred(index, true, r); return r; }); - d.addErrback(this, function(r){ this._cbDeferred(index, false, r); return r; }); - }, this); - }, - - _cbDeferred: function(index, succeeded, result){ - // summary: - // The DeferredLists' callback handler - - this.resultList[index] = [succeeded, result]; this.finishedCount += 1; - if(this.fired !== 0){ - if(succeeded && this.fireOnOneCallback){ - this.callback([index, result]); - }else if(!succeeded && this.fireOnOneErrback){ - this.errback(result); - }else if(this.finishedCount == this.list.length){ - this.callback(this.resultList); - } - } - if(!succeeded && this.consumeErrors){ - result = null; - } - return result; - }, - - gatherResults: function(deferredList){ - // summary: - // Gathers the results of the deferreds for packaging - // as the parameters to the Deferred Lists' callback - - var d = new dojo.DeferredList(deferredList, false, true, false); - d.addCallback(function(results){ - var ret = []; - dojo.forEach(results, function(result){ - ret.push(result[1]); - }); - return ret; - }); - return d; - } -}); - -} diff --git a/includes/js/dojo/LICENSE b/includes/js/dojo/LICENSE deleted file mode 100644 index 3fa2720..0000000 --- a/includes/js/dojo/LICENSE +++ /dev/null @@ -1,195 +0,0 @@ -Dojo is available under *either* the terms of the modified BSD license *or* the -Academic Free License version 2.1. As a recipient of Dojo, you may choose which -license to receive this code under (except as noted in per-module LICENSE -files). Some modules may not be the copyright of the Dojo Foundation. These -modules contain explicit declarations of copyright in both the LICENSE files in -the directories in which they reside and in the code itself. No external -contributions are allowed under licenses which are fundamentally incompatible -with the AFL or BSD licenses that Dojo is distributed under. - -The text of the AFL and BSD licenses is reproduced below. - -------------------------------------------------------------------------------- -The "New" BSD License: -********************** - -Copyright (c) 2005-2008, The Dojo Foundation -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 Dojo Foundation nor the names of its 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. - -------------------------------------------------------------------------------- -The Academic Free License, v. 2.1: -********************************** - -This Academic Free License (the "License") applies to any original work of -authorship (the "Original Work") whose owner (the "Licensor") has placed the -following notice immediately following the copyright notice for the Original -Work: - -Licensed under the Academic Free License version 2.1 - -1) Grant of Copyright License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license to do the -following: - -a) to reproduce the Original Work in copies; - -b) to prepare derivative works ("Derivative Works") based upon the Original -Work; - -c) to distribute copies of the Original Work and Derivative Works to the -public; - -d) to perform the Original Work publicly; and - -e) to display the Original Work publicly. - -2) Grant of Patent License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license, under patent -claims owned or controlled by the Licensor that are embodied in the Original -Work as furnished by the Licensor, to make, use, sell and offer for sale the -Original Work and Derivative Works. - -3) Grant of Source Code License. The term "Source Code" means the preferred -form of the Original Work for making modifications to it and all available -documentation describing how to modify the Original Work. Licensor hereby -agrees to provide a machine-readable copy of the Source Code of the Original -Work along with each copy of the Original Work that Licensor distributes. -Licensor reserves the right to satisfy this obligation by placing a -machine-readable copy of the Source Code in an information repository -reasonably calculated to permit inexpensive and convenient access by You for as -long as Licensor continues to distribute the Original Work, and by publishing -the address of that information repository in a notice immediately following -the copyright notice that applies to the Original Work. - -4) Exclusions From License Grant. Neither the names of Licensor, nor the names -of any contributors to the Original Work, nor any of their trademarks or -service marks, may be used to endorse or promote products derived from this -Original Work without express prior written permission of the Licensor. Nothing -in this License shall be deemed to grant any rights to trademarks, copyrights, -patents, trade secrets or any other intellectual property of Licensor except as -expressly stated herein. No patent license is granted to make, use, sell or -offer to sell embodiments of any patent claims other than the licensed claims -defined in Section 2. No right is granted to the trademarks of Licensor even if -such marks are included in the Original Work. Nothing in this License shall be -interpreted to prohibit Licensor from licensing under different terms from this -License any Original Work that Licensor otherwise would have a right to -license. - -5) This section intentionally omitted. - -6) Attribution Rights. You must retain, in the Source Code of any Derivative -Works that You create, all copyright, patent or trademark notices from the -Source Code of the Original Work, as well as any notices of licensing and any -descriptive text identified therein as an "Attribution Notice." You must cause -the Source Code for any Derivative Works that You create to carry a prominent -Attribution Notice reasonably calculated to inform recipients that You have -modified the Original Work. - -7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that -the copyright in and to the Original Work and the patent rights granted herein -by Licensor are owned by the Licensor or are sublicensed to You under the terms -of this License with the permission of the contributor(s) of those copyrights -and patent rights. Except as expressly stated in the immediately proceeding -sentence, the Original Work is provided under this License on an "AS IS" BASIS -and WITHOUT WARRANTY, either express or implied, including, without limitation, -the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. -This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No -license to Original Work is granted hereunder except under this disclaimer. - -8) Limitation of Liability. Under no circumstances and under no legal theory, -whether in tort (including negligence), contract, or otherwise, shall the -Licensor be liable to any person for any direct, indirect, special, incidental, -or consequential damages of any character arising as a result of this License -or the use of the Original Work including, without limitation, damages for loss -of goodwill, work stoppage, computer failure or malfunction, or any and all -other commercial damages or losses. This limitation of liability shall not -apply to liability for death or personal injury resulting from Licensor's -negligence to the extent applicable law prohibits such limitation. Some -jurisdictions do not allow the exclusion or limitation of incidental or -consequential damages, so this exclusion and limitation may not apply to You. - -9) Acceptance and Termination. If You distribute copies of the Original Work or -a Derivative Work, You must make a reasonable effort under the circumstances to -obtain the express assent of recipients to the terms of this License. Nothing -else but this License (or another written agreement between Licensor and You) -grants You permission to create Derivative Works based upon the Original Work -or to exercise any of the rights granted in Section 1 herein, and any attempt -to do so except under the terms of this License (or another written agreement -between Licensor and You) is expressly prohibited by U.S. copyright law, the -equivalent laws of other countries, and by international treaty. Therefore, by -exercising any of the rights granted to You in Section 1 herein, You indicate -Your acceptance of this License and all of its terms and conditions. - -10) Termination for Patent Action. This License shall terminate automatically -and You may no longer exercise any of the rights granted to You by this License -as of the date You commence an action, including a cross-claim or counterclaim, -against Licensor or any licensee alleging that the Original Work infringes a -patent. This termination provision shall not apply for an action alleging -patent infringement by combinations of the Original Work with other software or -hardware. - -11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this -License may be brought only in the courts of a jurisdiction wherein the -Licensor resides or in which Licensor conducts its primary business, and under -the laws of that jurisdiction excluding its conflict-of-law provisions. The -application of the United Nations Convention on Contracts for the International -Sale of Goods is expressly excluded. Any use of the Original Work outside the -scope of this License or after its termination shall be subject to the -requirements and penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et -seq., the equivalent laws of other countries, and international treaty. This -section shall survive the termination of this License. - -12) Attorneys Fees. In any action to enforce the terms of this License or -seeking damages relating thereto, the prevailing party shall be entitled to -recover its costs and expenses, including, without limitation, reasonable -attorneys' fees and costs incurred in connection with such action, including -any appeal of such action. This section shall survive the termination of this -License. - -13) Miscellaneous. This License represents the complete agreement concerning -the subject matter hereof. If any provision of this License is held to be -unenforceable, such provision shall be reformed only to the extent necessary to -make it enforceable. - -14) Definition of "You" in This License. "You" throughout this License, whether -in upper or lower case, means an individual or a legal entity exercising rights -under, and complying with all of the terms of, this License. For legal -entities, "You" includes any entity that controls, is controlled by, or is -under common control with you. For purposes of this definition, "control" means -(i) the power, direct or indirect, to cause the direction or management of such -entity, whether by contract or otherwise, or (ii) ownership of fifty percent -(50%) or more of the outstanding shares, or (iii) beneficial ownership of such -entity. - -15) Right to Use. You may use the Original Work in all ways not otherwise -restricted or conditioned by this License or by law, and Licensor promises not -to interfere with or be responsible for such uses by You. - -This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved. -Permission is hereby granted to copy and distribute this license without -modification. This license may not be modified without the express written -permission of its copyright owner. diff --git a/includes/js/dojo/NodeList-fx.js b/includes/js/dojo/NodeList-fx.js deleted file mode 100644 index ede0a89..0000000 --- a/includes/js/dojo/NodeList-fx.js +++ /dev/null @@ -1,137 +0,0 @@ -if(!dojo._hasResource["dojo.NodeList-fx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.NodeList-fx"] = true; -dojo.provide("dojo.NodeList-fx"); -dojo.require("dojo.fx"); - -/*===== -dojo["NodeList-fx"] = { - // summary: Adds dojo.fx animation support to dojo.query() -}; -=====*/ - -dojo.extend(dojo.NodeList, { - _anim: function(obj, method, args){ - args = args||{}; - return dojo.fx.combine( - this.map(function(item){ - var tmpArgs = { node: item }; - dojo.mixin(tmpArgs, args); - return obj[method](tmpArgs); - }) - ); // dojo._Animation - }, - - wipeIn: function(args){ - // summary: - // wipe in all elements of this NodeList. Returns an instance of dojo._Animation - // example: - // Fade in all tables with class "blah": - // | dojo.query("table.blah").wipeIn().play(); - return this._anim(dojo.fx, "wipeIn", args); // dojo._Animation - }, - - wipeOut: function(args){ - // summary: - // wipe out all elements of this NodeList. Returns an instance of dojo._Animation - // example: - // Wipe out all tables with class "blah": - // | dojo.query("table.blah").wipeOut().play(); - return this._anim(dojo.fx, "wipeOut", args); // dojo._Animation - }, - - slideTo: function(args){ - // summary: - // slide all elements of the node list to the specified place. - // Returns an instance of dojo._Animation - // example: - // | Move all tables with class "blah" to 300/300: - // | dojo.query("table.blah").slideTo({ - // | left: 40, - // | top: 50 - // | }).play(); - return this._anim(dojo.fx, "slideTo", args); // dojo._Animation - }, - - - fadeIn: function(args){ - // summary: - // fade in all elements of this NodeList. Returns an instance of dojo._Animation - // example: - // Fade in all tables with class "blah": - // | dojo.query("table.blah").fadeIn().play(); - return this._anim(dojo, "fadeIn", args); // dojo._Animation - }, - - fadeOut: function(args){ - // summary: - // fade out all elements of this NodeList. Returns an instance of dojo._Animation - // example: - // Fade out all elements with class "zork": - // | dojo.query(".zork").fadeOut().play(); - // example: - // Fade them on a delay and do something at the end: - // | var fo = dojo.query(".zork").fadeOut(); - // | dojo.connect(fo, "onEnd", function(){ /*...*/ }); - // | fo.play(); - return this._anim(dojo, "fadeOut", args); // dojo._Animation - }, - - animateProperty: function(args){ - // summary: - // see dojo.animateProperty(). Animate all elements of this - // NodeList across the properties specified. - // example: - // | dojo.query(".zork").animateProperty({ - // | duration: 500, - // | properties: { - // | color: { start: "black", end: "white" }, - // | left: { end: 300 } - // | } - // | }).play(); - return this._anim(dojo, "animateProperty", args); // dojo._Animation - }, - - anim: function( /*Object*/ properties, - /*Integer?*/ duration, - /*Function?*/ easing, - /*Function?*/ onEnd, - /*Integer?*/ delay){ - // summary: - // Animate one or more CSS properties for all nodes in this list. - // The returned animation object will already be playing when it - // is returned. See the docs for `dojo.anim` for full details. - // properties: Object - // the properties to animate - // duration: Integer? - // Optional. The time to run the animations for - // easing: Function? - // Optional. The easing function to use. - // onEnd: Function? - // A function to be called when the animation ends - // delay: - // how long to delay playing the returned animation - // example: - // Another way to fade out: - // | dojo.query(".thinger").anim({ opacity: 0 }); - // example: - // animate all elements with the "thigner" class to a width of 500 - // pixels over half a second - // | dojo.query(".thinger").anim({ width: 500 }, 700); - var canim = dojo.fx.combine( - this.map(function(item){ - return dojo.animateProperty({ - node: item, - properties: properties, - duration: duration||350, - easing: easing - }); - }) - ); - if(onEnd){ - dojo.connect(canim, "onEnd", onEnd); - } - return canim.play(delay||0); // dojo._Animation - } -}); - -} diff --git a/includes/js/dojo/OpenAjax.js b/includes/js/dojo/OpenAjax.js deleted file mode 100644 index 32cf358..0000000 --- a/includes/js/dojo/OpenAjax.js +++ /dev/null @@ -1,194 +0,0 @@ -/******************************************************************************* - * OpenAjax.js - * - * Reference implementation of the OpenAjax Hub, as specified by OpenAjax Alliance. - * Specification is under development at: - * - * http://www.openajax.org/member/wiki/OpenAjax_Hub_Specification - * - * Copyright 2006-2007 OpenAjax Alliance - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 . Unless - * required by applicable law or agreed to in writing, software distributed - * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. - * - ******************************************************************************/ - -// prevent re-definition of the OpenAjax object -if(!window["OpenAjax"]){ - OpenAjax = new function(){ - // summary: the OpenAjax hub - // description: see http://www.openajax.org/member/wiki/OpenAjax_Hub_Specification - - var t = true; - var f = false; - var g = window; - var libs; - var ooh = "org.openajax.hub."; - - var h = {}; - this.hub = h; - h.implementer = "http://openajax.org"; - h.implVersion = "0.6"; - h.specVersion = "0.6"; - h.implExtraData = {}; - var libs = {}; - h.libraries = libs; - - h.registerLibrary = function(prefix, nsURL, version, extra){ - libs[prefix] = { - prefix: prefix, - namespaceURI: nsURL, - version: version, - extraData: extra - }; - this.publish(ooh+"registerLibrary", libs[prefix]); - } - h.unregisterLibrary = function(prefix){ - this.publish(ooh+"unregisterLibrary", libs[prefix]); - delete libs[prefix]; - } - - h._subscriptions = { c:{}, s:[] }; - h._cleanup = []; - h._subIndex = 0; - h._pubDepth = 0; - - h.subscribe = function(name, callback, scope, subscriberData, filter){ - if(!scope){ - scope = window; - } - var handle = name + "." + this._subIndex; - var sub = { scope: scope, cb: callback, fcb: filter, data: subscriberData, sid: this._subIndex++, hdl: handle }; - var path = name.split("."); - this._subscribe(this._subscriptions, path, 0, sub); - return handle; - } - - h.publish = function(name, message){ - var path = name.split("."); - this._pubDepth++; - this._publish(this._subscriptions, path, 0, name, message); - this._pubDepth--; - if((this._cleanup.length > 0) && (this._pubDepth == 0)){ - for(var i = 0; i < this._cleanup.length; i++){ - this.unsubscribe(this._cleanup[i].hdl); - } - delete(this._cleanup); - this._cleanup = []; - } - } - - h.unsubscribe = function(sub){ - var path = sub.split("."); - var sid = path.pop(); - this._unsubscribe(this._subscriptions, path, 0, sid); - } - - h._subscribe = function(tree, path, index, sub){ - var token = path[index]; - if(index == path.length){ - tree.s.push(sub); - }else{ - if(typeof tree.c == "undefined"){ - tree.c = {}; - } - if(typeof tree.c[token] == "undefined"){ - tree.c[token] = { c: {}, s: [] }; - this._subscribe(tree.c[token], path, index + 1, sub); - }else{ - this._subscribe( tree.c[token], path, index + 1, sub); - } - } - } - - h._publish = function(tree, path, index, name, msg){ - if(typeof tree != "undefined"){ - var node; - if(index == path.length) { - node = tree; - }else{ - this._publish(tree.c[path[index]], path, index + 1, name, msg); - this._publish(tree.c["*"], path, index + 1, name, msg); - node = tree.c["**"]; - } - if(typeof node != "undefined"){ - var callbacks = node.s; - var max = callbacks.length; - for(var i = 0; i < max; i++){ - if(callbacks[i].cb){ - var sc = callbacks[i].scope; - var cb = callbacks[i].cb; - var fcb = callbacks[i].fcb; - var d = callbacks[i].data; - if(typeof cb == "string"){ - // get a function object - cb = sc[cb]; - } - if(typeof fcb == "string"){ - // get a function object - fcb = sc[fcb]; - } - if((!fcb) || - (fcb.call(sc, name, msg, d))) { - cb.call(sc, name, msg, d); - } - } - } - } - } - } - - h._unsubscribe = function(tree, path, index, sid) { - if(typeof tree != "undefined") { - if(index < path.length) { - var childNode = tree.c[path[index]]; - this._unsubscribe(childNode, path, index + 1, sid); - if(childNode.s.length == 0) { - for(var x in childNode.c) - return; - delete tree.c[path[index]]; - } - return; - } - else { - var callbacks = tree.s; - var max = callbacks.length; - for(var i = 0; i < max; i++) - if(sid == callbacks[i].sid) { - if(this._pubDepth > 0) { - callbacks[i].cb = null; - this._cleanup.push(callbacks[i]); - } - else - callbacks.splice(i, 1); - return; - } - } - } - } - // The following function is provided for automatic testing purposes. - // It is not expected to be deployed in run-time OpenAjax Hub implementations. - h.reinit = function() - { - for (var lib in OpenAjax.hub.libraries) { - delete OpenAjax.hub.libraries[lib]; - } - OpenAjax.hub.registerLibrary("OpenAjax", "http://openajax.org/hub", "0.6", {}); - - delete OpenAjax._subscriptions; - OpenAjax._subscriptions = {c:{},s:[]}; - delete OpenAjax._cleanup; - OpenAjax._cleanup = []; - OpenAjax._subIndex = 0; - OpenAjax._pubDepth = 0; - } - }; - // Register the OpenAjax Hub itself as a library. - OpenAjax.hub.registerLibrary("OpenAjax", "http://openajax.org/hub", "0.6", {}); - -} diff --git a/includes/js/dojo/_base.js b/includes/js/dojo/_base.js deleted file mode 100644 index e1a7edd..0000000 --- a/includes/js/dojo/_base.js +++ /dev/null @@ -1,13 +0,0 @@ -if(!dojo._hasResource["dojo._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base"] = true; -dojo.provide("dojo._base"); -dojo.require("dojo._base.lang"); -dojo.require("dojo._base.declare"); -dojo.require("dojo._base.connect"); -dojo.require("dojo._base.Deferred"); -dojo.require("dojo._base.json"); -dojo.require("dojo._base.array"); -dojo.require("dojo._base.Color"); -dojo.requireIf(dojo.isBrowser, "dojo._base.browser"); - -} diff --git a/includes/js/dojo/_base/Color.js b/includes/js/dojo/_base/Color.js deleted file mode 100644 index 38d0584..0000000 --- a/includes/js/dojo/_base/Color.js +++ /dev/null @@ -1,156 +0,0 @@ -if(!dojo._hasResource["dojo._base.Color"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.Color"] = true; -dojo.provide("dojo._base.Color"); -dojo.require("dojo._base.array"); -dojo.require("dojo._base.lang"); - -dojo.Color = function(/*Array|String|Object*/ color){ - // summary: - // takes a named string, hex string, array of rgb or rgba values, - // an object with r, g, b, and a properties, or another dojo.Color object - if(color){ this.setColor(color); } -}; - -// FIXME: there's got to be a more space-efficient way to encode or discover these!! Use hex? -dojo.Color.named = { - black: [0,0,0], - silver: [192,192,192], - gray: [128,128,128], - white: [255,255,255], - maroon: [128,0,0], - red: [255,0,0], - purple: [128,0,128], - fuchsia: [255,0,255], - green: [0,128,0], - lime: [0,255,0], - olive: [128,128,0], - yellow: [255,255,0], - navy: [0,0,128], - blue: [0,0,255], - teal: [0,128,128], - aqua: [0,255,255] -}; - - -dojo.extend(dojo.Color, { - r: 255, g: 255, b: 255, a: 1, - _set: function(r, g, b, a){ - var t = this; t.r = r; t.g = g; t.b = b; t.a = a; - }, - setColor: function(/*Array|String|Object*/ color){ - // summary: - // takes a named string, hex string, array of rgb or rgba values, - // an object with r, g, b, and a properties, or another dojo.Color object - var d = dojo; - if(d.isString(color)){ - d.colorFromString(color, this); - }else if(d.isArray(color)){ - d.colorFromArray(color, this); - }else{ - this._set(color.r, color.g, color.b, color.a); - if(!(color instanceof d.Color)){ this.sanitize(); } - } - return this; // dojo.Color - }, - sanitize: function(){ - // summary: - // makes sure that the object has correct attributes - // description: - // the default implementation does nothing, include dojo.colors to - // augment it to real checks - return this; // dojo.Color - }, - toRgb: function(){ - // summary: returns 3 component array of rgb values - var t = this; - return [t.r, t.g, t.b]; // Array - }, - toRgba: function(){ - // summary: returns a 4 component array of rgba values - var t = this; - return [t.r, t.g, t.b, t.a]; // Array - }, - toHex: function(){ - // summary: returns a css color string in hexadecimal representation - var arr = dojo.map(["r", "g", "b"], function(x){ - var s = this[x].toString(16); - return s.length < 2 ? "0" + s : s; - }, this); - return "#" + arr.join(""); // String - }, - toCss: function(/*Boolean?*/ includeAlpha){ - // summary: returns a css color string in rgb(a) representation - var t = this, rgb = t.r + ", " + t.g + ", " + t.b; - return (includeAlpha ? "rgba(" + rgb + ", " + t.a : "rgb(" + rgb) + ")"; // String - }, - toString: function(){ - // summary: returns a visual representation of the color - return this.toCss(true); // String - } -}); - -dojo.blendColors = function( - /*dojo.Color*/ start, - /*dojo.Color*/ end, - /*Number*/ weight, - /*dojo.Color?*/ obj -){ - // summary: - // blend colors end and start with weight from 0 to 1, 0.5 being a 50/50 blend, - // can reuse a previously allocated dojo.Color object for the result - var d = dojo, t = obj || new dojo.Color(); - d.forEach(["r", "g", "b", "a"], function(x){ - t[x] = start[x] + (end[x] - start[x]) * weight; - if(x != "a"){ t[x] = Math.round(t[x]); } - }); - return t.sanitize(); // dojo.Color -}; - -dojo.colorFromRgb = function(/*String*/ color, /*dojo.Color?*/ obj){ - // summary: get rgb(a) array from css-style color declarations - var m = color.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/); - return m && dojo.colorFromArray(m[1].split(/\s*,\s*/), obj); // dojo.Color -}; - -dojo.colorFromHex = function(/*String*/ color, /*dojo.Color?*/ obj){ - // summary: converts a hex string with a '#' prefix to a color object. - // Supports 12-bit #rgb shorthand. - var d = dojo, t = obj || new d.Color(), - bits = (color.length == 4) ? 4 : 8, - mask = (1 << bits) - 1; - color = Number("0x" + color.substr(1)); - if(isNaN(color)){ - return null; // dojo.Color - } - d.forEach(["b", "g", "r"], function(x){ - var c = color & mask; - color >>= bits; - t[x] = bits == 4 ? 17 * c : c; - }); - t.a = 1; - return t; // dojo.Color -}; - -dojo.colorFromArray = function(/*Array*/ a, /*dojo.Color?*/ obj){ - // summary: builds a color from 1, 2, 3, or 4 element array - var t = obj || new dojo.Color(); - t._set(Number(a[0]), Number(a[1]), Number(a[2]), Number(a[3])); - if(isNaN(t.a)){ t.a = 1; } - return t.sanitize(); // dojo.Color -}; - -dojo.colorFromString = function(/*String*/ str, /*dojo.Color?*/ obj){ - // summary: - // parses str for a color value. - // description: - // Acceptable input values for str may include arrays of any form - // accepted by dojo.colorFromArray, hex strings such as "#aaaaaa", or - // rgb or rgba strings such as "rgb(133, 200, 16)" or "rgba(10, 10, - // 10, 50)" - // returns: - // a dojo.Color object. If obj is passed, it will be the return value. - var a = dojo.Color.named[str]; - return a && dojo.colorFromArray(a, obj) || dojo.colorFromRgb(str, obj) || dojo.colorFromHex(str, obj); -}; - -} diff --git a/includes/js/dojo/_base/Deferred.js b/includes/js/dojo/_base/Deferred.js deleted file mode 100644 index 9fe8918..0000000 --- a/includes/js/dojo/_base/Deferred.js +++ /dev/null @@ -1,408 +0,0 @@ -if(!dojo._hasResource["dojo._base.Deferred"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.Deferred"] = true; -dojo.provide("dojo._base.Deferred"); -dojo.require("dojo._base.lang"); - -dojo.Deferred = function(/*Function?*/ canceller){ - // summary: - // Encapsulates a sequence of callbacks in response to a value that - // may not yet be available. This is modeled after the Deferred class - // from Twisted . - // description: - // JavaScript has no threads, and even if it did, threads are hard. - // Deferreds are a way of abstracting non-blocking events, such as the - // final response to an XMLHttpRequest. Deferreds create a promise to - // return a response a some point in the future and an easy way to - // register your interest in receiving that response. - // - // The most important methods for Deffered users are: - // - // * addCallback(handler) - // * addErrback(handler) - // * callback(result) - // * errback(result) - // - // In general, when a function returns a Deferred, users then "fill - // in" the second half of the contract by registering callbacks and - // error handlers. You may register as many callback and errback - // handlers as you like and they will be executed in the order - // registered when a result is provided. Usually this result is - // provided as the result of an asynchronous operation. The code - // "managing" the Deferred (the code that made the promise to provide - // an answer later) will use the callback() and errback() methods to - // communicate with registered listeners about the result of the - // operation. At this time, all registered result handlers are called - // *with the most recent result value*. - // - // Deferred callback handlers are treated as a chain, and each item in - // the chain is required to return a value that will be fed into - // successive handlers. The most minimal callback may be registered - // like this: - // - // | var d = new dojo.Deferred(); - // | d.addCallback(function(result){ return result; }); - // - // Perhaps the most common mistake when first using Deferreds is to - // forget to return a value (in most cases, the value you were - // passed). - // - // The sequence of callbacks is internally represented as a list of - // 2-tuples containing the callback/errback pair. For example, the - // following call sequence: - // - // | var d = new dojo.Deferred(); - // | d.addCallback(myCallback); - // | d.addErrback(myErrback); - // | d.addBoth(myBoth); - // | d.addCallbacks(myCallback, myErrback); - // - // is translated into a Deferred with the following internal - // representation: - // - // | [ - // | [myCallback, null], - // | [null, myErrback], - // | [myBoth, myBoth], - // | [myCallback, myErrback] - // | ] - // - // The Deferred also keeps track of its current status (fired). Its - // status may be one of three things: - // - // * -1: no value yet (initial condition) - // * 0: success - // * 1: error - // - // A Deferred will be in the error state if one of the following three - // conditions are met: - // - // 1. The result given to callback or errback is "instanceof" Error - // 2. The previous callback or errback raised an exception while - // executing - // 3. The previous callback or errback returned a value - // "instanceof" Error - // - // Otherwise, the Deferred will be in the success state. The state of - // the Deferred determines the next element in the callback sequence - // to run. - // - // When a callback or errback occurs with the example deferred chain, - // something equivalent to the following will happen (imagine - // that exceptions are caught and returned): - // - // | // d.callback(result) or d.errback(result) - // | if(!(result instanceof Error)){ - // | result = myCallback(result); - // | } - // | if(result instanceof Error){ - // | result = myErrback(result); - // | } - // | result = myBoth(result); - // | if(result instanceof Error){ - // | result = myErrback(result); - // | }else{ - // | result = myCallback(result); - // | } - // - // The result is then stored away in case another step is added to the - // callback sequence. Since the Deferred already has a value - // available, any new callbacks added will be called immediately. - // - // There are two other "advanced" details about this implementation - // that are useful: - // - // Callbacks are allowed to return Deferred instances themselves, so - // you can build complicated sequences of events with ease. - // - // The creator of the Deferred may specify a canceller. The canceller - // is a function that will be called if Deferred.cancel is called - // before the Deferred fires. You can use this to implement clean - // aborting of an XMLHttpRequest, etc. Note that cancel will fire the - // deferred with a CancelledError (unless your canceller returns - // another kind of error), so the errbacks should be prepared to - // handle that error for cancellable Deferreds. - // example: - // | var deferred = new dojo.Deferred(); - // | setTimeout(function(){ deferred.callback({success: true}); }, 1000); - // | return deferred; - // example: - // Deferred objects are often used when making code asynchronous. It - // may be easiest to write functions in a synchronous manner and then - // split code using a deferred to trigger a response to a long-lived - // operation. For example, instead of register a callback function to - // denote when a rendering operation completes, the function can - // simply return a deferred: - // - // | // callback style: - // | function renderLotsOfData(data, callback){ - // | var success = false - // | try{ - // | for(var x in data){ - // | renderDataitem(data[x]); - // | } - // | success = true; - // | }catch(e){ } - // | if(callback){ - // | callback(success); - // | } - // | } - // - // | // using callback style - // | renderLotsOfData(someDataObj, function(success){ - // | // handles success or failure - // | if(!success){ - // | promptUserToRecover(); - // | } - // | }); - // | // NOTE: no way to add another callback here!! - // example: - // Using a Deferred doesn't simplify the sending code any, but it - // provides a standard interface for callers and senders alike, - // providing both with a simple way to service multiple callbacks for - // an operation and freeing both sides from worrying about details - // such as "did this get called already?". With Deferreds, new - // callbacks can be added at any time. - // - // | // Deferred style: - // | function renderLotsOfData(data){ - // | var d = new dojo.Deferred(); - // | try{ - // | for(var x in data){ - // | renderDataitem(data[x]); - // | } - // | d.callback(true); - // | }catch(e){ - // | d.errback(new Error("rendering failed")); - // | } - // | return d; - // | } - // - // | // using Deferred style - // | renderLotsOfData(someDataObj).addErrback(function(){ - // | promptUserToRecover(); - // | }); - // | // NOTE: addErrback and addCallback both return the Deferred - // | // again, so we could chain adding callbacks or save the - // | // deferred for later should we need to be notified again. - // example: - // In this example, renderLotsOfData is syncrhonous and so both - // versions are pretty artificial. Putting the data display on a - // timeout helps show why Deferreds rock: - // - // | // Deferred style and async func - // | function renderLotsOfData(data){ - // | var d = new dojo.Deferred(); - // | setTimeout(function(){ - // | try{ - // | for(var x in data){ - // | renderDataitem(data[x]); - // | } - // | d.callback(true); - // | }catch(e){ - // | d.errback(new Error("rendering failed")); - // | } - // | }, 100); - // | return d; - // | } - // - // | // using Deferred style - // | renderLotsOfData(someDataObj).addErrback(function(){ - // | promptUserToRecover(); - // | }); - // - // Note that the caller doesn't have to change his code at all to - // handle the asynchronous case. - - this.chain = []; - this.id = this._nextId(); - this.fired = -1; - this.paused = 0; - this.results = [null, null]; - this.canceller = canceller; - this.silentlyCancelled = false; -}; - -dojo.extend(dojo.Deferred, { - /* - makeCalled: function(){ - // summary: - // returns a new, empty deferred, which is already in the called - // state. Calling callback() or errback() on this deferred will - // yeild an error and adding new handlers to it will result in - // them being called immediately. - var deferred = new dojo.Deferred(); - deferred.callback(); - return deferred; - }, - - toString: function(){ - var state; - if(this.fired == -1){ - state = 'unfired'; - }else{ - state = this.fired ? 'success' : 'error'; - } - return 'Deferred(' + this.id + ', ' + state + ')'; - }, - */ - - _nextId: (function(){ - var n = 1; - return function(){ return n++; }; - })(), - - cancel: function(){ - // summary: - // Cancels a Deferred that has not yet received a value, or is - // waiting on another Deferred as its value. - // description: - // If a canceller is defined, the canceller is called. If the - // canceller did not return an error, or there was no canceller, - // then the errback chain is started. - var err; - if(this.fired == -1){ - if(this.canceller){ - err = this.canceller(this); - }else{ - this.silentlyCancelled = true; - } - if(this.fired == -1){ - if(!(err instanceof Error)){ - var res = err; - err = new Error("Deferred Cancelled"); - err.dojoType = "cancel"; - err.cancelResult = res; - } - this.errback(err); - } - }else if( (this.fired == 0) && - (this.results[0] instanceof dojo.Deferred) - ){ - this.results[0].cancel(); - } - }, - - - _resback: function(res){ - // summary: - // The private primitive that means either callback or errback - this.fired = ((res instanceof Error) ? 1 : 0); - this.results[this.fired] = res; - this._fire(); - }, - - _check: function(){ - if(this.fired != -1){ - if(!this.silentlyCancelled){ - throw new Error("already called!"); - } - this.silentlyCancelled = false; - return; - } - }, - - callback: function(res){ - // summary: - // Begin the callback sequence with a non-error value. - - /* - callback or errback should only be called once on a given - Deferred. - */ - this._check(); - this._resback(res); - }, - - errback: function(/*Error*/res){ - // summary: - // Begin the callback sequence with an error result. - this._check(); - if(!(res instanceof Error)){ - res = new Error(res); - } - this._resback(res); - }, - - addBoth: function(/*Function|Object*/cb, /*String?*/cbfn){ - // summary: - // Add the same function as both a callback and an errback as the - // next element on the callback sequence.This is useful for code - // that you want to guarantee to run, e.g. a finalizer. - var enclosed = dojo.hitch.apply(dojo, arguments); - return this.addCallbacks(enclosed, enclosed); - }, - - addCallback: function(/*Function|Object*/cb, /*String?*/cbfn /*...*/){ - // summary: - // Add a single callback to the end of the callback sequence. - return this.addCallbacks(dojo.hitch.apply(dojo, arguments)); - }, - - addErrback: function(cb, cbfn){ - // summary: - // Add a single callback to the end of the callback sequence. - return this.addCallbacks(null, dojo.hitch.apply(dojo, arguments)); - }, - - addCallbacks: function(cb, eb){ - // summary: - // Add separate callback and errback to the end of the callback - // sequence. - this.chain.push([cb, eb]) - if(this.fired >= 0){ - this._fire(); - } - return this; - }, - - _fire: function(){ - // summary: - // Used internally to exhaust the callback sequence when a result - // is available. - var chain = this.chain; - var fired = this.fired; - var res = this.results[fired]; - var self = this; - var cb = null; - while( - (chain.length > 0) && - (this.paused == 0) - ){ - // Array - var f = chain.shift()[fired]; - if(!f){ continue; } - try{ - res = f(res); - fired = ((res instanceof Error) ? 1 : 0); - if(res instanceof dojo.Deferred){ - cb = function(res){ - self._resback(res); - // inlined from _pause() - self.paused--; - if( - (self.paused == 0) && - (self.fired >= 0) - ){ - self._fire(); - } - } - // inlined from _unpause - this.paused++; - } - }catch(err){ - console.debug(err); - fired = 1; - res = err; - } - } - this.fired = fired; - this.results[fired] = res; - if((cb)&&(this.paused)){ - // this is for "tail recursion" in case the dependent - // deferred is already fired - res.addBoth(cb); - } - } -}); - -} diff --git a/includes/js/dojo/_base/NodeList.js b/includes/js/dojo/_base/NodeList.js deleted file mode 100644 index c10e18d..0000000 --- a/includes/js/dojo/_base/NodeList.js +++ /dev/null @@ -1,532 +0,0 @@ -if(!dojo._hasResource["dojo._base.NodeList"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.NodeList"] = true; -dojo.provide("dojo._base.NodeList"); -dojo.require("dojo._base.lang"); -dojo.require("dojo._base.array"); - -(function(){ - - var d = dojo; - - var tnl = function(arr){ - // decorate an array to make it look like a NodeList - arr.constructor = dojo.NodeList; - dojo._mixin(arr, dojo.NodeList.prototype); - return arr; - } - - var _mapIntoDojo = function(func, alwaysThis){ - // returns a function which, when executed in the scope of its caller, - // applies the passed arguments to a particular dojo.* function (named - // in func) and aggregates the returns. if alwaysThis is true, it - // always returns the scope object and not the collected returns from - // the Dojo method - return function(){ - var _a = arguments; - var aa = d._toArray(_a, 0, [null]); - var s = this.map(function(i){ - aa[0] = i; - return d[func].apply(d, aa); - }); - return (alwaysThis || ( (_a.length > 1) || !d.isString(_a[0]) )) ? this : s; // String||dojo.NodeList - } - }; - - dojo.NodeList = function(){ - // summary: - // dojo.NodeList is as subclass of Array which adds syntactic - // sugar for chaining, common iteration operations, animation, - // and node manipulation. NodeLists are most often returned as - // the result of dojo.query() calls. - // example: - // create a node list from a node - // | new dojo.NodeList(dojo.byId("foo")); - - return tnl(Array.apply(null, arguments)); - } - - dojo.NodeList._wrap = tnl; - - dojo.extend(dojo.NodeList, { - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array#Methods - - // FIXME: handle return values for #3244 - // http://trac.dojotoolkit.org/ticket/3244 - - // FIXME: - // need to wrap or implement: - // join (perhaps w/ innerHTML/outerHTML overload for toString() of items?) - // reduce - // reduceRight - - slice: function(/*===== begin, end =====*/){ - // summary: - // Returns a new NodeList, maintaining this one in place - // description: - // This method behaves exactly like the Array.slice method - // with the caveat that it returns a dojo.NodeList and not a - // raw Array. For more details, see: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:slice - // begin: Integer - // Can be a positive or negative integer, with positive - // integers noting the offset to begin at, and negative - // integers denoting an offset from the end (i.e., to the left - // of the end) - // end: Integer? - // Optional parameter to describe what position relative to - // the NodeList's zero index to end the slice at. Like begin, - // can be positive or negative. - var a = dojo._toArray(arguments); - return tnl(a.slice.apply(this, a)); - }, - - splice: function(/*===== index, howmany, item =====*/){ - // summary: - // Returns a new NodeList, manipulating this NodeList based on - // the arguments passed, potentially splicing in new elements - // at an offset, optionally deleting elements - // description: - // This method behaves exactly like the Array.splice method - // with the caveat that it returns a dojo.NodeList and not a - // raw Array. For more details, see: - // - // index: Integer - // begin can be a positive or negative integer, with positive - // integers noting the offset to begin at, and negative - // integers denoting an offset from the end (i.e., to the left - // of the end) - // howmany: Integer? - // Optional parameter to describe what position relative to - // the NodeList's zero index to end the slice at. Like begin, - // can be positive or negative. - // item: Object...? - // Any number of optional parameters may be passed in to be - // spliced into the NodeList - // returns: - // dojo.NodeList - var a = dojo._toArray(arguments); - return tnl(a.splice.apply(this, a)); - }, - - concat: function(/*===== item =====*/){ - // summary: - // Returns a new NodeList comprised of items in this NodeList - // as well as items passed in as parameters - // description: - // This method behaves exactly like the Array.concat method - // with the caveat that it returns a dojo.NodeList and not a - // raw Array. For more details, see: - // - // item: Object...? - // Any number of optional parameters may be passed in to be - // spliced into the NodeList - // returns: - // dojo.NodeList - var a = dojo._toArray(arguments, 0, [this]); - return tnl(a.concat.apply([], a)); - }, - - indexOf: function(/*Object*/ value, /*Integer?*/ fromIndex){ - // summary: - // see dojo.indexOf(). The primary difference is that the acted-on - // array is implicitly this NodeList - // value: - // The value to search for. - // fromIndex: - // The loction to start searching from. Optional. Defaults to 0. - // description: - // For more details on the behavior of indexOf, see: - // - // returns: - // Positive Integer or 0 for a match, -1 of not found. - return d.indexOf(this, value, fromIndex); // Integer - }, - - lastIndexOf: function(/*===== value, fromIndex =====*/){ - // summary: - // see dojo.lastIndexOf(). The primary difference is that the - // acted-on array is implicitly this NodeList - // description: - // For more details on the behavior of lastIndexOf, see: - // - // value: Object - // The value to search for. - // fromIndex: Integer? - // The loction to start searching from. Optional. Defaults to 0. - // returns: - // Positive Integer or 0 for a match, -1 of not found. - return d.lastIndexOf.apply(d, d._toArray(arguments, 0, [this])); // Integer - }, - - every: function(/*Function*/callback, /*Object?*/thisObject){ - // summary: - // see `dojo.every()` and: - // - // Takes the same structure of arguments and returns as - // dojo.every() with the caveat that the passed array is - // implicitly this NodeList - return d.every(this, callback, thisObject); // Boolean - }, - - some: function(/*Function*/callback, /*Object?*/thisObject){ - // summary: - // see dojo.some() and: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:some - // Takes the same structure of arguments and returns as - // dojo.some() with the caveat that the passed array is - // implicitly this NodeList - return d.some(this, callback, thisObject); // Boolean - }, - - map: function(/*Function*/ func, /*Function?*/ obj){ - // summary: - // see dojo.map(). The primary difference is that the acted-on - // array is implicitly this NodeList and the return is a - // dojo.NodeList (a subclass of Array) - - return d.map(this, func, obj, d.NodeList); // dojo.NodeList - }, - - forEach: function(callback, thisObj){ - // summary: - // see dojo.forEach(). The primary difference is that the acted-on - // array is implicitly this NodeList - - d.forEach(this, callback, thisObj); - // non-standard return to allow easier chaining - return this; // dojo.NodeList - }, - - // custom methods - - coords: function(){ - // summary: - // Returns the box objects all elements in a node list as - // an Array (*not* a NodeList) - - return d.map(this, d.coords); // Array - }, - - /*===== - attr: function(property, value){ - // summary: - // gets or sets the DOM attribute for every element in the - // NodeList - // property: String - // the attribute to get/set - // value: String? - // optional. The value to set the property to - // return: - // if no value is passed, the result is an array of attribute values - // If a value is passed, the return is this NodeList - }, - - style: function(property, value){ - // summary: - // gets or sets the CSS property for every element in the NodeList - // property: String - // the CSS property to get/set, in JavaScript notation - // ("lineHieght" instead of "line-height") - // value: String? - // optional. The value to set the property to - // return: - // if no value is passed, the result is an array of strings. - // If a value is passed, the return is this NodeList - }, - - addClass: function(className){ - // summary: - // adds the specified class to every node in the list - // className: String - // the CSS class to add - // return: - // dojo.NodeList, this list - }, - - removeClass: function(className){ - // summary: - // removes the specified class from every node in the list - // className: String - // the CSS class to add - // return: - // dojo.NodeList, this list - }, - - toggleClass: function(className, condition){ - // summary: - // Adds a class to node if not present, or removes if present. - // Pass a boolean condition if you want to explicitly add or remove. - // condition: Boolean? - // If passed, true means to add the class, false means to remove. - // className: String - // the CSS class to add - // return: dojo.NodeList - // this list - }, - - connect: function(methodName, objOrFunc, funcName){ - // summary: - // attach event handlers to every item of the NodeList. Uses dojo.connect() - // so event properties are normalized - // methodName: String - // the name of the method to attach to. For DOM events, this should be - // the lower-case name of the event - // objOrFunc: Object|Function|String - // if 2 arguments are passed (methodName, objOrFunc), objOrFunc should - // reference a function or be the name of the function in the global - // namespace to attach. If 3 arguments are provided - // (methodName, objOrFunc, funcName), objOrFunc must be the scope to - // locate the bound function in - // funcName: String? - // optional. A string naming the function in objOrFunc to bind to the - // event. May also be a function reference. - // example: - // add an onclick handler to every button on the page - // | dojo.query("div:nth-child(odd)").connect("onclick", function(e){ - // | console.debug("clicked!"); - // | }); - // example: - // attach foo.bar() to every odd div's onmouseover - // | dojo.query("div:nth-child(odd)").connect("onmouseover", foo, "bar"); - }, - =====*/ - attr: _mapIntoDojo("attr"), - style: _mapIntoDojo("style"), - addClass: _mapIntoDojo("addClass", true), - removeClass: _mapIntoDojo("removeClass", true), - toggleClass: _mapIntoDojo("toggleClass", true), - connect: _mapIntoDojo("connect", true), - - // FIXME: connectPublisher()? connectRunOnce()? - - place: function(/*String||Node*/ queryOrNode, /*String*/ position){ - // summary: - // places elements of this node list relative to the first element matched - // by queryOrNode. Returns the original NodeList. - // queryOrNode: - // may be a string representing any valid CSS3 selector or a DOM node. - // In the selector case, only the first matching element will be used - // for relative positioning. - // position: - // can be one of: - // * "last"||"end" (default) - // * "first||"start" - // * "before" - // * "after" - // or an offset in the childNodes property - var item = d.query(queryOrNode)[0]; - return this.forEach(function(i){ d.place(i, item, (position||"last")); }); // dojo.NodeList - }, - - orphan: function(/*String?*/ simpleFilter){ - // summary: - // removes elements in this list that match the simple - // filter from their parents and returns them as a new - // NodeList. - // simpleFilter: - // single-expression CSS filter - // return: - // `dojo.NodeList` the orpahned elements - var orphans = simpleFilter ? d._filterQueryResult(this, simpleFilter) : this; - orphans.forEach(function(item){ - if(item.parentNode){ - item.parentNode.removeChild(item); - } - }); - return orphans; // dojo.NodeList - }, - - adopt: function(/*String||Array||DomNode*/ queryOrListOrNode, /*String?*/ position){ - // summary: - // places any/all elements in queryOrListOrNode at a - // position relative to the first element in this list. - // Returns a dojo.NodeList of the adopted elements. - // queryOrListOrNode: - // a DOM node or a query string or a query result. - // Represents the nodes to be adopted relative to the - // first element of this NodeList. - // position: - // can be one of: - // * "last"||"end" (default) - // * "first||"start" - // * "before" - // * "after" - // or an offset in the childNodes property - var item = this[0]; - return d.query(queryOrListOrNode).forEach(function(ai){ d.place(ai, item, position || "last"); }); // dojo.NodeList - }, - - // FIXME: do we need this? - query: function(/*String*/ queryStr){ - // summary: - // Returns a new, flattened NodeList. Elements of the new list - // satisfy the passed query but use elements of the - // current NodeList as query roots. - - if(!queryStr){ return this; } - - // FIXME: probably slow - // FIXME: use map? - var ret = d.NodeList(); - this.forEach(function(item){ - d.query(queryStr, item).forEach(function(subItem){ - if(subItem !== undefined){ - ret.push(subItem); - } - }); - }); - return ret; // dojo.NodeList - }, - - filter: function(/*String*/ simpleQuery){ - // summary: - // "masks" the built-in javascript filter() method to support - // passing a simple string filter in addition to supporting - // filtering function objects. - // example: - // "regular" JS filter syntax as exposed in dojo.filter: - // | dojo.query("*").filter(function(item){ - // | // highlight every paragraph - // | return (item.nodeName == "p"); - // | }).styles("backgroundColor", "yellow"); - // example: - // the same filtering using a CSS selector - // | dojo.query("*").filter("p").styles("backgroundColor", "yellow"); - - var items = this; - var _a = arguments; - var r = d.NodeList(); - var rp = function(t){ - if(t !== undefined){ - r.push(t); - } - } - if(d.isString(simpleQuery)){ - items = d._filterQueryResult(this, _a[0]); - if(_a.length == 1){ - // if we only got a string query, pass back the filtered results - return items; // dojo.NodeList - } - // if we got a callback, run it over the filtered items - _a.shift(); - } - // handle the (callback, [thisObject]) case - d.forEach(d.filter(items, _a[0], _a[1]), rp); - return r; // dojo.NodeList - }, - - /* - // FIXME: should this be "copyTo" and include parenting info? - clone: function(){ - // summary: - // creates node clones of each element of this list - // and returns a new list containing the clones - }, - */ - - addContent: function(/*String*/ content, /*String||Integer?*/ position){ - // summary: - // add a node or some HTML as a string to every item in the list. - // Returns the original list. - // description: - // a copy of the HTML content is added to each item in the - // list, with an optional position argument. If no position - // argument is provided, the content is appended to the end of - // each item. - // content: - // the HTML in string format to add at position to every item - // position: - // can be one of: - // * "last"||"end" (default) - // * "first||"start" - // * "before" - // * "after" - // or an offset in the childNodes property - // example: - // appends content to the end if the position is ommitted - // | dojo.query("h3 > p").addContent("hey there!"); - // example: - // add something to the front of each element that has a "thinger" property: - // | dojo.query("[thinger]").addContent("...", "first"); - // example: - // adds a header before each element of the list - // | dojo.query(".note").addContent("

          NOTE:

          ", "before"); - var ta = d.doc.createElement("span"); - if(d.isString(content)){ - ta.innerHTML = content; - }else{ - ta.appendChild(content); - } - if(position === undefined){ - position = "last"; - } - var ct = (position == "first" || position == "after") ? "lastChild" : "firstChild"; - this.forEach(function(item){ - var tn = ta.cloneNode(true); - while(tn[ct]){ - d.place(tn[ct], item, position); - } - }); - return this; // dojo.NodeList - }, - - empty: function(){ - // summary: - // clears all content from each node in the list - return this.forEach("item.innerHTML='';"); // dojo.NodeList - - // FIXME: should we be checking for and/or disposing of widgets below these nodes? - }, - - instantiate: function(/*String|Object*/ declaredClass, /*Object?*/ properties){ - // summary: - // Create a new instance of a specified class, using the - // specified properties and each node in the nodeList as a - // srcNodeRef - // - var c = d.isFunction(declaredClass) ? declaredClass : d.getObject(declaredClass); - return this.forEach(function(i){ - new c(properties||{},i); - }) // dojo.NodeList - } - - }); - - // syntactic sugar for DOM events - d.forEach([ - "blur", "focus", "click", "keydown", "keypress", "keyup", "mousedown", - "mouseenter", "mouseleave", "mousemove", "mouseout", "mouseover", - "mouseup" - ], function(evt){ - var _oe = "on"+evt; - dojo.NodeList.prototype[_oe] = function(a, b){ - return this.connect(_oe, a, b); - } - // FIXME: should these events trigger publishes? - /* - return (a ? this.connect(_oe, a, b) : - this.forEach(function(n){ - // FIXME: - // listeners get buried by - // addEventListener and can't be dug back - // out to be triggered externally. - // see: - // http://developer.mozilla.org/en/docs/DOM:element - - console.debug(n, evt, _oe); - - // FIXME: need synthetic event support! - var _e = { target: n, faux: true, type: evt }; - // dojo._event_listener._synthesizeEvent({}, { target: n, faux: true, type: evt }); - try{ n[evt](_e); }catch(e){ console.debug(e); } - try{ n[_oe](_e); }catch(e){ console.debug(e); } - }) - ); - } - */ - } - ); - -})(); - -} diff --git a/includes/js/dojo/_base/_loader/bootstrap.js b/includes/js/dojo/_base/_loader/bootstrap.js deleted file mode 100644 index c62ab6a..0000000 --- a/includes/js/dojo/_base/_loader/bootstrap.js +++ /dev/null @@ -1,436 +0,0 @@ -/*===== -// note: -// 'djConfig' does not exist under 'dojo.*' so that it can be set before the -// 'dojo' variable exists. -// note: -// Setting any of these variables *after* the library has loaded does -// nothing at all. - -djConfig = { - // summary: - // Application code can set the global 'djConfig' prior to loading - // the library to override certain global settings for how dojo works. - // - // isDebug: Boolean - // Defaults to `false`. If set to `true`, ensures that Dojo provides - // extende debugging feedback via Firebug. If Firebug is not available - // on your platform, setting `isDebug` to `true` will force Dojo to - // pull in (and display) the version of Firebug Lite which is - // integrated into the Dojo distribution, thereby always providing a - // debugging/logging console when `isDebug` is enabled. Note that - // Firebug's `console.*` methods are ALWAYS defined by Dojo. If - // `isDebug` is false and you are on a platform without Firebug, these - // methods will be defined as no-ops. - isDebug: false, - // debugAtAllCosts: Boolean - // Defaults to `false`. If set to `true`, this triggers an alternate - // mode of the package system in which dependencies are detected and - // only then are resources evaluated in dependency order via - // ` - // | - d._modulePrefixes[module] = { name: module, value: prefix }; - } - - dojo.requireLocalization = function(/*String*/moduleName, /*String*/bundleName, /*String?*/locale, /*String?*/availableFlatLocales){ - // summary: - // Declares translated resources and loads them if necessary, in the - // same style as dojo.require. Contents of the resource bundle are - // typically strings, but may be any name/value pair, represented in - // JSON format. See also dojo.i18n.getLocalization. - // moduleName: - // name of the package containing the "nls" directory in which the - // bundle is found - // bundleName: - // bundle name, i.e. the filename without the '.js' suffix - // locale: - // the locale to load (optional) By default, the browser's user - // locale as defined by dojo.locale - // availableFlatLocales: - // A comma-separated list of the available, flattened locales for this - // bundle. This argument should only be set by the build process. - // description: - // Load translated resource bundles provided underneath the "nls" - // directory within a package. Translated resources may be located in - // different packages throughout the source tree. For example, a - // particular widget may define one or more resource bundles, - // structured in a program as follows, where moduleName is - // mycode.mywidget and bundleNames available include bundleone and - // bundletwo: - // - // | ... - // | mycode/ - // | mywidget/ - // | nls/ - // | bundleone.js (the fallback translation, English in this example) - // | bundletwo.js (also a fallback translation) - // | de/ - // | bundleone.js - // | bundletwo.js - // | de-at/ - // | bundleone.js - // | en/ - // | (empty; use the fallback translation) - // | en-us/ - // | bundleone.js - // | en-gb/ - // | bundleone.js - // | es/ - // | bundleone.js - // | bundletwo.js - // | ...etc - // | ... - // - // Each directory is named for a locale as specified by RFC 3066, - // (http://www.ietf.org/rfc/rfc3066.txt), normalized in lowercase. - // Note that the two bundles in the example do not define all the - // same variants. For a given locale, bundles will be loaded for - // that locale and all more general locales above it, including a - // fallback at the root directory. For example, a declaration for - // the "de-at" locale will first load `nls/de-at/bundleone.js`, - // then `nls/de/bundleone.js` and finally `nls/bundleone.js`. The - // data will be flattened into a single Object so that lookups - // will follow this cascading pattern. An optional build step can - // preload the bundles to avoid data redundancy and the multiple - // network hits normally required to load these resources. - - d.require("dojo.i18n"); - d.i18n._requireLocalization.apply(d.hostenv, arguments); - }; - - - var ore = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"); - var ire = new RegExp("^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$"); - - dojo._Url = function(/*dojo._Url||String...*/){ - // summary: - // Constructor to create an object representing a URL. - // It is marked as private, since we might consider removing - // or simplifying it. - // description: - // Each argument is evaluated in order relative to the next until - // a canonical uri is produced. To get an absolute Uri relative to - // the current document use: - // new dojo._Url(document.baseURI, url) - - var n = null; - - // TODO: support for IPv6, see RFC 2732 - var _a = arguments; - var uri = [_a[0]]; - // resolve uri components relative to each other - for(var i = 1; i<_a.length; i++){ - if(!_a[i]){ continue; } - - // Safari doesn't support this.constructor so we have to be explicit - // FIXME: Tracked (and fixed) in Webkit bug 3537. - // http://bugs.webkit.org/show_bug.cgi?id=3537 - var relobj = new d._Url(_a[i]+""); - var uriobj = new d._Url(uri[0]+""); - - if( - relobj.path == "" && - !relobj.scheme && - !relobj.authority && - !relobj.query - ){ - if(relobj.fragment != n){ - uriobj.fragment = relobj.fragment; - } - relobj = uriobj; - }else if(!relobj.scheme){ - relobj.scheme = uriobj.scheme; - - if(!relobj.authority){ - relobj.authority = uriobj.authority; - - if(relobj.path.charAt(0) != "/"){ - var path = uriobj.path.substring(0, - uriobj.path.lastIndexOf("/") + 1) + relobj.path; - - var segs = path.split("/"); - for(var j = 0; j < segs.length; j++){ - if(segs[j] == "."){ - // flatten "./" references - if(j == segs.length - 1){ - segs[j] = ""; - }else{ - segs.splice(j, 1); - j--; - } - }else if(j > 0 && !(j == 1 && segs[0] == "") && - segs[j] == ".." && segs[j-1] != ".."){ - // flatten "../" references - if(j == (segs.length - 1)){ - segs.splice(j, 1); - segs[j - 1] = ""; - }else{ - segs.splice(j - 1, 2); - j -= 2; - } - } - } - relobj.path = segs.join("/"); - } - } - } - - uri = []; - if(relobj.scheme){ - uri.push(relobj.scheme, ":"); - } - if(relobj.authority){ - uri.push("//", relobj.authority); - } - uri.push(relobj.path); - if(relobj.query){ - uri.push("?", relobj.query); - } - if(relobj.fragment){ - uri.push("#", relobj.fragment); - } - } - - this.uri = uri.join(""); - - // break the uri into its main components - var r = this.uri.match(ore); - - this.scheme = r[2] || (r[1] ? "" : n); - this.authority = r[4] || (r[3] ? "" : n); - this.path = r[5]; // can never be undefined - this.query = r[7] || (r[6] ? "" : n); - this.fragment = r[9] || (r[8] ? "" : n); - - if(this.authority != n){ - // server based naming authority - r = this.authority.match(ire); - - this.user = r[3] || n; - this.password = r[4] || n; - this.host = r[5]; - this.port = r[7] || n; - } - } - - dojo._Url.prototype.toString = function(){ return this.uri; }; - - dojo.moduleUrl = function(/*String*/module, /*dojo._Url||String*/url){ - // summary: - // Returns a `dojo._Url` object relative to a module. - // example: - // | var pngPath = dojo.moduleUrl("acme","images/small.png"); - // | console.dir(pngPath); // list the object properties - // | // create an image and set it's source to pngPath's value: - // | var img = document.createElement("img"); - // | // NOTE: we assign the string representation of the url object - // | img.src = pngPath.toString(); - // | // add our image to the document - // | dojo.body().appendChild(img); - // example: - // you may de-reference as far as you like down the package - // hierarchy. This is sometimes handy to avoid lenghty relative - // urls or for building portable sub-packages. In this example, - // the `acme.widget` and `acme.util` directories may be located - // under different roots (see `dojo.registerModulePath`) but the - // the modules which reference them can be unaware of their - // relative locations on the filesystem: - // | // somewhere in a configuration block - // | dojo.registerModulePath("acme.widget", "../../acme/widget"); - // | dojo.registerModulePath("acme.util", "../../util"); - // | - // | // ... - // | - // | // code in a module using acme resources - // | var tmpltPath = dojo.moduleUrl("acme.widget","templates/template.html"); - // | var dataPath = dojo.moduleUrl("acme.util","resources/data.json"); - - var loc = d._getModuleSymbols(module).join('/'); - if(!loc){ return null; } - if(loc.lastIndexOf("/") != loc.length-1){ - loc += "/"; - } - - //If the path is an absolute path (starts with a / or is on another - //domain/xdomain) then don't add the baseUrl. - var colonIndex = loc.indexOf(":"); - if(loc.charAt(0) != "/" && (colonIndex == -1 || colonIndex > loc.indexOf("/"))){ - loc = d.baseUrl + loc; - } - - return new d._Url(loc, url); // String - } -})(); - -} diff --git a/includes/js/dojo/_base/_loader/loader_debug.js b/includes/js/dojo/_base/_loader/loader_debug.js deleted file mode 100644 index 7e52373..0000000 --- a/includes/js/dojo/_base/_loader/loader_debug.js +++ /dev/null @@ -1,61 +0,0 @@ -if(!dojo._hasResource["dojo._base._loader.loader_debug"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base._loader.loader_debug"] = true; -dojo.provide("dojo._base._loader.loader_debug"); - -//Override dojo.provide, so we can trigger the next -//script tag for the next local module. We can only add one -//at a time because there are browsers that execute script tags -//in the order that the code is received, and not in the DOM order. -dojo.nonDebugProvide = dojo.provide; - -dojo.provide = function(resourceName){ - var dbgQueue = dojo["_xdDebugQueue"]; - if(dbgQueue && dbgQueue.length > 0 && resourceName == dbgQueue["currentResourceName"]){ - //Set a timeout so the module can be executed into existence. Normally the - //dojo.provide call in a module is the first line. Don't want to risk attaching - //another script tag until the current one finishes executing. - if(dojo.isAIR){ - window.setTimeout(function(){dojo._xdDebugFileLoaded(resourceName);}, 1); - }else{ - window.setTimeout(dojo._scopeName + "._xdDebugFileLoaded('" + resourceName + "')", 1); - } - } - - return dojo.nonDebugProvide.apply(dojo, arguments); -} - -dojo._xdDebugFileLoaded = function(resourceName){ - - if(!this._xdDebugScopeChecked){ - //If using a scoped dojo, we need to expose dojo as a real global - //for the debugAtAllCosts stuff to work. - if(dojo._scopeName != "dojo"){ - window.dojo = window[dojo.config.scopeMap[0][1]]; - window.dijit = window[dojo.config.scopeMap[1][1]]; - window.dojox = window[dojo.config.scopeMap[2][1]]; - } - - this._xdDebugScopeChecked = true; - } - - var dbgQueue = this._xdDebugQueue; - - if(resourceName && resourceName == dbgQueue.currentResourceName){ - dbgQueue.shift(); - } - - if(dbgQueue.length == 0){ - dbgQueue.currentResourceName = null; - this._xdNotifyLoaded(); - }else{ - if(resourceName == dbgQueue.currentResourceName){ - dbgQueue.currentResourceName = dbgQueue[0].resourceName; - var element = document.createElement("script"); - element.type = "text/javascript"; - element.src = dbgQueue[0].resourcePath; - document.getElementsByTagName("head")[0].appendChild(element); - } - } -} - -} diff --git a/includes/js/dojo/_base/_loader/loader_xd.js b/includes/js/dojo/_base/_loader/loader_xd.js deleted file mode 100644 index d851df8..0000000 --- a/includes/js/dojo/_base/_loader/loader_xd.js +++ /dev/null @@ -1,631 +0,0 @@ -if(!dojo._hasResource["dojo._base._loader.loader_xd"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base._loader.loader_xd"] = true; -//Cross-domain resource loader. -dojo.provide("dojo._base._loader.loader_xd"); - -dojo._xdReset = function(){ - //summary: Internal xd loader function. Resets the xd state. - - //This flag indicates where or not we have crossed into xdomain territory. Once any resource says - //it is cross domain, then the rest of the resources have to be treated as xdomain because we need - //to evaluate resources in order. If there is a xdomain resource followed by a xhr resource, we can't load - //the xhr resource until the one before it finishes loading. The text of the xhr resource will be converted - //to match the format for a xd resource and put in the xd load queue. - this._isXDomain = dojo.config.useXDomain || false; - - this._xdTimer = 0; - this._xdInFlight = {}; - this._xdOrderedReqs = []; - this._xdDepMap = {}; - this._xdContents = []; - this._xdDefList = []; -} - -//Call reset immediately to set the state. -dojo._xdReset(); - -dojo._xdCreateResource = function(/*String*/contents, /*String*/resourceName, /*String*/resourcePath){ - //summary: Internal xd loader function. Creates an xd module source given an - //non-xd module contents. - - //Remove comments. Not perfect, but good enough for dependency resolution. - var depContents = contents.replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg , ""); - - //Find dependencies. - var deps = []; - var depRegExp = /dojo.(require|requireIf|provide|requireAfterIf|platformRequire|requireLocalization)\(([\w\W]*?)\)/mg; - var match; - while((match = depRegExp.exec(depContents)) != null){ - if(match[1] == "requireLocalization"){ - //Need to load the local bundles asap, since they are not - //part of the list of modules watched for loading. - eval(match[0]); - }else{ - deps.push('"' + match[1] + '", ' + match[2]); - } - } - - //Create resource object and the call to _xdResourceLoaded. - var output = []; - output.push(dojo._scopeName + "._xdResourceLoaded({\n"); - - //Add dependencies - if(deps.length > 0){ - output.push("depends: ["); - for(var i = 0; i < deps.length; i++){ - if(i > 0){ - output.push(",\n"); - } - output.push("[" + deps[i] + "]"); - } - output.push("],"); - } - - //Add the contents of the file inside a function. - //Pass in scope arguments so we can support multiple versions of the - //same module on a page. - output.push("\ndefineResource: function(" + dojo._scopePrefixArgs + "){"); - - //Don't put in the contents in the debugAtAllCosts case - //since the contents may have syntax errors. Let those - //get pushed up when the script tags are added to the page - //in the debugAtAllCosts case. - if(!dojo.config["debugAtAllCosts"] || resourceName == "dojo._base._loader.loader_debug"){ - output.push(contents); - } - //Add isLocal property so we know if we have to do something different - //in debugAtAllCosts situations. - output.push("\n}, resourceName: '" + resourceName + "', resourcePath: '" + resourcePath + "'});"); - - return output.join(""); //String -} - -dojo._xdIsXDomainPath = function(/*string*/relpath) { - //summary: Figure out whether the path is local or x-domain - //If there is a colon before the first / then, we have a URL with a protocol. - - var colonIndex = relpath.indexOf(":"); - var slashIndex = relpath.indexOf("/"); - - if(colonIndex > 0 && colonIndex < slashIndex){ - return true; - }else{ - //Is the base script URI-based URL a cross domain URL? - //If so, then the relpath will be evaluated relative to - //baseUrl, and therefore qualify as xdomain. - //Only treat it as xdomain if the page does not have a - //host (file:// url) or if the baseUrl does not match the - //current window's domain. - var url = this.baseUrl; - colonIndex = url.indexOf(":"); - slashIndex = url.indexOf("/"); - if(colonIndex > 0 && colonIndex < slashIndex && (!location.host || url.indexOf("http://" + location.host) != 0)){ - return true; - } - } - return false; -} - -dojo._loadPath = function(/*String*/relpath, /*String?*/module, /*Function?*/cb){ - //summary: Internal xd loader function. Overrides loadPath() from loader.js. - //xd loading requires slightly different behavior from loadPath(). - - var currentIsXDomain = this._xdIsXDomainPath(relpath); - this._isXDomain |= currentIsXDomain; - - var uri = ((relpath.charAt(0) == '/' || relpath.match(/^\w+:/)) ? "" : this.baseUrl) + relpath; - - try{ - return ((!module || this._isXDomain) ? this._loadUri(uri, cb, currentIsXDomain, module) : this._loadUriAndCheck(uri, module, cb)); //Boolean - }catch(e){ - console.debug(e); - return false; //Boolean - } -} - -dojo._loadUri = function(/*String*/uri, /*Function?*/cb, /*boolean*/currentIsXDomain, /*String?*/module){ - //summary: Internal xd loader function. Overrides loadUri() from loader.js. - // xd loading requires slightly different behavior from loadPath(). - //description: Wanted to override getText(), but it is used by - // the widget code in too many, synchronous ways right now. - if(this._loadedUrls[uri]){ - return 1; //Boolean - } - - //Add the module (resource) to the list of modules. - //Only do this work if we have a modlue name. Otherwise, - //it is a non-xd i18n bundle, which can load immediately and does not - //need to be tracked. Also, don't track dojo.i18n, since it is a prerequisite - //and will be loaded correctly if we load it right away: it has no dependencies. - if(this._isXDomain && module && module != "dojo.i18n"){ - this._xdOrderedReqs.push(module); - - //Add to waiting resources if it is an xdomain resource. - //Don't add non-xdomain i18n bundles, those get evaled immediately. - if(currentIsXDomain || uri.indexOf("/nls/") == -1){ - this._xdInFlight[module] = true; - - //Increment inFlightCount - //This will stop the modulesLoaded from firing all the way. - this._inFlightCount++; - } - - //Start timer - if(!this._xdTimer){ - if(dojo.isAIR){ - this._xdTimer = setInterval(function(){dojo._xdWatchInFlight();}, 100); - }else{ - this._xdTimer = setInterval(dojo._scopeName + "._xdWatchInFlight();", 100); - } - } - this._xdStartTime = (new Date()).getTime(); - } - - if (currentIsXDomain){ - //Fix name to be a .xd.fileextension name. - var lastIndex = uri.lastIndexOf('.'); - if(lastIndex <= 0){ - lastIndex = uri.length - 1; - } - - var xdUri = uri.substring(0, lastIndex) + ".xd"; - if(lastIndex != uri.length - 1){ - xdUri += uri.substring(lastIndex, uri.length); - } - - if (dojo.isAIR){ - xdUri = xdUri.replace("app:/", "/"); - } - - //Add to script src - var element = document.createElement("script"); - element.type = "text/javascript"; - element.src = xdUri; - if(!this.headElement){ - this._headElement = document.getElementsByTagName("head")[0]; - - //Head element may not exist, particularly in html - //html 4 or tag soup cases where the page does not - //have a head tag in it. Use html element, since that will exist. - //Seems to be an issue mostly with Opera 9 and to lesser extent Safari 2 - if(!this._headElement){ - this._headElement = document.getElementsByTagName("html")[0]; - } - } - this._headElement.appendChild(element); - }else{ - var contents = this._getText(uri, null, true); - if(contents == null){ return 0; /*boolean*/} - - //If this is not xdomain, or if loading a i18n resource bundle, then send it down - //the normal eval/callback path. - if(this._isXDomain - && uri.indexOf("/nls/") == -1 - && module != "dojo.i18n"){ - var res = this._xdCreateResource(contents, module, uri); - dojo.eval(res); - }else{ - if(cb){ - contents = '('+contents+')'; - }else{ - //Only do the scoping if no callback. If a callback is specified, - //it is most likely the i18n bundle stuff. - contents = this._scopePrefix + contents + this._scopeSuffix; - } - var value = dojo["eval"](contents+"\r\n//@ sourceURL="+uri); - if(cb){ - cb(value); - } - } - } - - //These steps are done in the non-xd loader version of this function. - //Maintain these steps to fit in with the existing system. - this._loadedUrls[uri] = true; - this._loadedUrls.push(uri); - return true; //Boolean -} - -dojo._xdResourceLoaded = function(/*Object*/res){ - //summary: Internal xd loader function. Called by an xd module resource when - //it has been loaded via a script tag. - var deps = res.depends; - var requireList = null; - var requireAfterList = null; - var provideList = []; - if(deps && deps.length > 0){ - var dep = null; - var insertHint = 0; - var attachedResource = false; - for(var i = 0; i < deps.length; i++){ - dep = deps[i]; - - //Look for specific dependency indicators. - if (dep[0] == "provide"){ - provideList.push(dep[1]); - }else{ - if(!requireList){ - requireList = []; - } - if(!requireAfterList){ - requireAfterList = []; - } - - var unpackedDeps = this._xdUnpackDependency(dep); - if(unpackedDeps.requires){ - requireList = requireList.concat(unpackedDeps.requires); - } - if(unpackedDeps.requiresAfter){ - requireAfterList = requireAfterList.concat(unpackedDeps.requiresAfter); - } - } - - //Call the dependency indicator to allow for the normal dojo setup. - //Only allow for one dot reference, for the i18n._preloadLocalizations calls - //(and maybe future, one-dot things). - var depType = dep[0]; - var objPath = depType.split("."); - if(objPath.length == 2){ - dojo[objPath[0]][objPath[1]].apply(dojo[objPath[0]], dep.slice(1)); - }else{ - dojo[depType].apply(dojo, dep.slice(1)); - } - } - - - //If loading the debugAtAllCosts module, eval it right away since we need - //its functions to properly load the other modules. - if(provideList.length == 1 && provideList[0] == "dojo._base._loader.loader_debug"){ - res.defineResource(dojo); - }else{ - //Save off the resource contents for definition later. - var contentIndex = this._xdContents.push({ - content: res.defineResource, - resourceName: res["resourceName"], - resourcePath: res["resourcePath"], - isDefined: false - }) - 1; - - //Add provide/requires to dependency map. - for(var i = 0; i < provideList.length; i++){ - this._xdDepMap[provideList[i]] = { requires: requireList, requiresAfter: requireAfterList, contentIndex: contentIndex }; - } - } - - //Now update the inflight status for any provided resources in this loaded resource. - //Do this at the very end (in a *separate* for loop) to avoid shutting down the - //inflight timer check too soon. - for(var i = 0; i < provideList.length; i++){ - this._xdInFlight[provideList[i]] = false; - } - } -} - -dojo._xdLoadFlattenedBundle = function(/*String*/moduleName, /*String*/bundleName, /*String?*/locale, /*Object*/bundleData){ - //summary: Internal xd loader function. Used when loading - //a flattened localized bundle via a script tag. - locale = locale || "root"; - var jsLoc = dojo.i18n.normalizeLocale(locale).replace('-', '_'); - var bundleResource = [moduleName, "nls", bundleName].join("."); - var bundle = dojo["provide"](bundleResource); - bundle[jsLoc] = bundleData; - - //Assign the bundle for the original locale(s) we wanted. - var mapName = [moduleName, jsLoc, bundleName].join("."); - var bundleMap = dojo._xdBundleMap[mapName]; - if(bundleMap){ - for(var param in bundleMap){ - bundle[param] = bundleData; - } - } -}; - - -dojo._xdInitExtraLocales = function(){ - // Simulate the extra locale work that dojo.requireLocalization does. - - var extra = dojo.config.extraLocale; - if(extra){ - if(!extra instanceof Array){ - extra = [extra]; - } - - dojo._xdReqLoc = dojo.xdRequireLocalization; - dojo.xdRequireLocalization = function(m, b, locale, fLocales){ - dojo._xdReqLoc(m,b,locale, fLocales); - if(locale){return;} - for(var i=0; i bestLocale.length){ - bestLocale = locales[i]; - } - } - } - - var fixedBestLocale = bestLocale.replace('-', '_'); - //See if the bundle we are going to use is already loaded. - var bundleResource = dojo.getObject([moduleName, "nls", bundleName].join(".")); - if(bundleResource && bundleResource[fixedBestLocale]){ - bundle[jsLoc.replace('-', '_')] = bundleResource[fixedBestLocale]; - }else{ - //Need to remember what locale we wanted and which one we actually use. - //Then when we load the one we are actually using, use that bundle for the one - //we originally wanted. - var mapName = [moduleName, (fixedBestLocale||"root"), bundleName].join("."); - var bundleMap = dojo._xdBundleMap[mapName]; - if(!bundleMap){ - bundleMap = dojo._xdBundleMap[mapName] = {}; - } - bundleMap[jsLoc.replace('-', '_')] = true; - - //Do just a normal dojo.require so the resource tracking stuff works as usual. - dojo.require(moduleName + ".nls" + (bestLocale ? "." + bestLocale : "") + "." + bundleName); - } -} - -// Replace dojo.requireLocalization with a wrapper -dojo._xdRealRequireLocalization = dojo.requireLocalization; -dojo.requireLocalization = function(/*String*/moduleName, /*String*/bundleName, /*String?*/locale, /*String*/availableFlatLocales){ - // summary: loads a bundle intelligently based on whether the module is - // local or xd. Overrides the local-case implementation. - - var modulePath = this.moduleUrl(moduleName).toString(); - if (this._xdIsXDomainPath(modulePath)) { - // call cross-domain loader - return dojo.xdRequireLocalization.apply(dojo, arguments); - } else { - // call local-loader - return dojo._xdRealRequireLocalization.apply(dojo, arguments); - } -} - -//This is a bit brittle: it has to know about the dojo methods that deal with dependencies -//It would be ideal to intercept the actual methods and do something fancy at that point, -//but I have concern about knowing which provide to match to the dependency in that case, -//since scripts can load whenever they want, and trigger new calls to dojo._xdResourceLoaded(). -dojo._xdUnpackDependency = function(/*Array*/dep){ - //summary: Internal xd loader function. Determines what to do with a dependency - //that was listed in an xd version of a module contents. - - //Extract the dependency(ies). - var newDeps = null; - var newAfterDeps = null; - switch(dep[0]){ - case "requireIf": - case "requireAfterIf": - //First arg (dep[1]) is the test. Depedency is dep[2]. - if(dep[1] === true){ - newDeps = [{name: dep[2], content: null}]; - } - break; - case "platformRequire": - var modMap = dep[1]; - var common = modMap["common"]||[]; - var newDeps = (modMap[dojo.hostenv.name_]) ? common.concat(modMap[dojo.hostenv.name_]||[]) : common.concat(modMap["default"]||[]); - //Flatten the array of arrays into a one-level deep array. - //Each result could be an array of 3 elements (the 3 arguments to dojo.require). - //We only need the first one. - if(newDeps){ - for(var i = 0; i < newDeps.length; i++){ - if(newDeps[i] instanceof Array){ - newDeps[i] = {name: newDeps[i][0], content: null}; - }else{ - newDeps[i] = {name: newDeps[i], content: null}; - } - } - } - break; - case "require": - //Just worry about dep[1] - newDeps = [{name: dep[1], content: null}]; - break; - case "i18n._preloadLocalizations": - //We can eval these immediately, since they load i18n bundles. - //Since i18n bundles have no dependencies, whenever they are loaded - //in a script tag, they are evaluated immediately, so we do not have to - //treat them has an explicit dependency for the dependency mapping. - //We can call it immediately since dojo.i18n is part of dojo.xd.js. - dojo.i18n._preloadLocalizations.apply(dojo.i18n._preloadLocalizations, dep.slice(1)); - break; - } - - //The requireIf and requireAfterIf needs to be evaluated after the current resource is evaluated. - if(dep[0] == "requireAfterIf" || dep[0] == "requireIf"){ - newAfterDeps = newDeps; - newDeps = null; - } - return {requires: newDeps, requiresAfter: newAfterDeps}; //Object -} - -dojo._xdWalkReqs = function(){ - //summary: Internal xd loader function. - //Walks the requires and evaluates module resource contents in - //the right order. - var reqChain = null; - var req; - for(var i = 0; i < this._xdOrderedReqs.length; i++){ - req = this._xdOrderedReqs[i]; - if(this._xdDepMap[req]){ - reqChain = [req]; - reqChain[req] = true; //Allow for fast lookup of the req in the array - this._xdEvalReqs(reqChain); - } - } -} - -dojo._xdEvalReqs = function(/*Array*/reqChain){ - //summary: Internal xd loader function. - //Does a depth first, breadth second search and eval of required modules. - while(reqChain.length > 0){ - var req = reqChain[reqChain.length - 1]; - var res = this._xdDepMap[req]; - if(res){ - //Trace down any requires for this resource. - //START dojo._xdTraceReqs() inlining for small Safari 2.0 call stack - var reqs = res.requires; - if(reqs && reqs.length > 0){ - var nextReq; - for(var i = 0; i < reqs.length; i++){ - nextReq = reqs[i].name; - if(nextReq && !reqChain[nextReq]){ - //New req depedency. Follow it down. - reqChain.push(nextReq); - reqChain[nextReq] = true; - this._xdEvalReqs(reqChain); - } - } - } - //END dojo._xdTraceReqs() inlining for small Safari 2.0 call stack - - //Evaluate the resource. - var contents = this._xdContents[res.contentIndex]; - if(!contents.isDefined){ - var content = contents.content; - content["resourceName"] = contents["resourceName"]; - content["resourcePath"] = contents["resourcePath"]; - this._xdDefList.push(content); - contents.isDefined = true; - } - this._xdDepMap[req] = null; - - //Trace down any requireAfters for this resource. - //START dojo._xdTraceReqs() inlining for small Safari 2.0 call stack - var reqs = res.requiresAfter; - if(reqs && reqs.length > 0){ - var nextReq; - for(var i = 0; i < reqs.length; i++){ - nextReq = reqs[i].name; - if(nextReq && !reqChain[nextReq]){ - //New req depedency. Follow it down. - reqChain.push(nextReq); - reqChain[nextReq] = true; - this._xdEvalReqs(reqChain); - } - } - } - //END dojo._xdTraceReqs() inlining for small Safari 2.0 call stack - } - - //Done with that require. Remove it and go to the next one. - reqChain.pop(); - } -} - -dojo._xdClearInterval = function(){ - //summary: Internal xd loader function. - //Clears the interval timer used to check on the - //status of in-flight xd module resource requests. - clearInterval(this._xdTimer); - this._xdTimer = 0; -} - -dojo._xdWatchInFlight = function(){ - //summary: Internal xd loader function. - //Monitors in-flight requests for xd module resources. - - var noLoads = ""; - var waitInterval = (dojo.config.xdWaitSeconds || 15) * 1000; - var expired = (this._xdStartTime + waitInterval) < (new Date()).getTime(); - - //If any xdInFlight are true, then still waiting for something to load. - //Come back later. If we timed out, report the things that did not load. - for(var param in this._xdInFlight){ - if(this._xdInFlight[param] === true){ - if(expired){ - noLoads += param + " "; - }else{ - return; - } - } - } - - //All done. Clean up and notify. - this._xdClearInterval(); - - if(expired){ - throw "Could not load cross-domain resources: " + noLoads; - } - - this._xdWalkReqs(); - - var defLength = this._xdDefList.length; - for(var i= 0; i < defLength; i++){ - var content = dojo._xdDefList[i]; - if(dojo.config["debugAtAllCosts"] && content["resourceName"]){ - if(!this["_xdDebugQueue"]){ - this._xdDebugQueue = []; - } - this._xdDebugQueue.push({resourceName: content.resourceName, resourcePath: content.resourcePath}); - }else{ - //Evaluate the resource to bring it into being. - //Pass in scope args to allow multiple versions of modules in a page. - content.apply(dojo.global, dojo._scopeArgs); - } - } - - //Evaluate any resources that were not evaled before. - //This normally shouldn't happen with proper dojo.provide and dojo.require - //usage, but providing it just in case. Note that these may not be executed - //in the original order that the developer intended. - for(var i = 0; i < this._xdContents.length; i++){ - var current = this._xdContents[i]; - if(current.content && !current.isDefined){ - //Pass in scope args to allow multiple versions of modules in a page. - current.content.apply(dojo.global, dojo._scopeArgs); - } - } - - //Clean up for the next round of xd loading. - this._xdReset(); - - if(this["_xdDebugQueue"] && this._xdDebugQueue.length > 0){ - this._xdDebugFileLoaded(); - }else{ - this._xdNotifyLoaded(); - } -} - -dojo._xdNotifyLoaded = function(){ - //Clear inflight count so we will finally do finish work. - this._inFlightCount = 0; - - //Only trigger call loaded if dj_load_init has run. - if(this._initFired && !this._loadNotifying){ - this._callLoaded(); - } -} - -} diff --git a/includes/js/dojo/_base/array.js b/includes/js/dojo/_base/array.js deleted file mode 100644 index b0c68fa..0000000 --- a/includes/js/dojo/_base/array.js +++ /dev/null @@ -1,182 +0,0 @@ -if(!dojo._hasResource["dojo._base.array"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.array"] = true; -dojo.require("dojo._base.lang"); -dojo.provide("dojo._base.array"); - -(function(){ - var _getParts = function(arr, obj, cb){ - return [ - dojo.isString(arr) ? arr.split("") : arr, - obj || dojo.global, - // FIXME: cache the anonymous functions we create here? - dojo.isString(cb) ? new Function("item", "index", "array", cb) : cb - ]; - }; - - dojo.mixin(dojo, { - indexOf: function( /*Array*/ array, - /*Object*/ value, - /*Integer?*/ fromIndex, - /*Boolean?*/ findLast){ - // summary: - // locates the first index of the provided value in the - // passed array. If the value is not found, -1 is returned. - // description: - // For details on this method, see: - // - - var step = 1, end = array.length || 0, i = 0; - if(findLast){ - i = end - 1; - step = end = -1; - } - if(fromIndex != undefined){ i = fromIndex; } - if((findLast && i > end) || i < end){ - for(; i != end; i += step){ - if(array[i] == value){ return i; } - } - } - return -1; // Number - }, - - lastIndexOf: function(/*Array*/array, /*Object*/value, /*Integer?*/fromIndex){ - // summary: - // locates the last index of the provided value in the passed array. - // If the value is not found, -1 is returned. - // description: - // For details on this method, see: - // - return dojo.indexOf(array, value, fromIndex, true); // Number - }, - - forEach: function(/*Array|String*/arr, /*Function|String*/callback, /*Object?*/thisObject){ - // summary: - // for every item in arr, callback is invoked. Return values are ignored. - // arr: the array to iterate on. If a string, operates on individual characters. - // callback: a function is invoked with three arguments: item, index, and array - // thisObject: may be used to scope the call to callback - // description: - // This function corresponds to the JavaScript 1.6 Array.forEach() method. - // In environments that support JavaScript 1.6, this function is a passthrough to the built-in method. - // For more details, see: - // - - // match the behavior of the built-in forEach WRT empty arrs - if(!arr || !arr.length){ return; } - - // FIXME: there are several ways of handilng thisObject. Is - // dojo.global always the default context? - var _p = _getParts(arr, thisObject, callback); arr = _p[0]; - for(var i=0,l=_p[0].length; i - // example: - // | dojo.every([1, 2, 3, 4], function(item){ return item>1; }); - // returns false - // example: - // | dojo.every([1, 2, 3, 4], function(item){ return item>0; }); - // returns true - return this._everyOrSome(true, arr, callback, thisObject); // Boolean - }, - - some: function(/*Array|String*/arr, /*Function|String*/callback, /*Object?*/thisObject){ - // summary: - // Determines whether or not any item in arr satisfies the - // condition implemented by callback. - // arr: the array to iterate on. If a string, operates on individual characters. - // callback: a function is invoked with three arguments: item, index, and array and returns true - // if the condition is met. - // thisObject: may be used to scope the call to callback - // description: - // This function corresponds to the JavaScript 1.6 Array.some() method. - // In environments that support JavaScript 1.6, this function is a passthrough to the built-in method. - // For more details, see: - // - // example: - // | dojo.some([1, 2, 3, 4], function(item){ return item>1; }); - // returns true - // example: - // | dojo.some([1, 2, 3, 4], function(item){ return item<1; }); - // returns false - return this._everyOrSome(false, arr, callback, thisObject); // Boolean - }, - - map: function(/*Array|String*/arr, /*Function|String*/callback, /*Function?*/thisObject){ - // summary: - // applies callback to each element of arr and returns - // an Array with the results - // arr: the array to iterate on. If a string, operates on individual characters. - // callback: a function is invoked with three arguments: item, index, and array and returns a value - // thisObject: may be used to scope the call to callback - // description: - // This function corresponds to the JavaScript 1.6 Array.map() method. - // In environments that support JavaScript 1.6, this function is a passthrough to the built-in method. - // For more details, see: - // - // example: - // | dojo.map([1, 2, 3, 4], function(item){ return item+1 }); - // returns [2, 3, 4, 5] - var _p = _getParts(arr, thisObject, callback); arr = _p[0]; - var outArr = (arguments[3] ? (new arguments[3]()) : []); - for(var i=0;i - // example: - // | dojo.filter([1, 2, 3, 4], function(item){ return item>1; }); - // returns [2, 3, 4] - - var _p = _getParts(arr, thisObject, callback); arr = _p[0]; - var outArr = []; - for(var i = 0; i < arr.length; i++){ - if(_p[2].call(_p[1], arr[i], i, arr)){ - outArr.push(arr[i]); - } - } - return outArr; // Array - } - }); -})(); - -} diff --git a/includes/js/dojo/_base/browser.js b/includes/js/dojo/_base/browser.js deleted file mode 100644 index 9ee17a7..0000000 --- a/includes/js/dojo/_base/browser.js +++ /dev/null @@ -1,21 +0,0 @@ -if(!dojo._hasResource["dojo._base.browser"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.browser"] = true; -dojo.provide("dojo._base.browser"); - -dojo.require("dojo._base.window"); -dojo.require("dojo._base.event"); -dojo.require("dojo._base.html"); -dojo.require("dojo._base.NodeList"); -dojo.require("dojo._base.query"); -dojo.require("dojo._base.xhr"); -dojo.require("dojo._base.fx"); - -//Need this to be the last code segment in base, so do not place any -//dojo.requireIf calls in this file. Otherwise, due to how the build system -//puts all requireIf dependencies after the current file, the require calls -//could be called before all of base is defined. -if(dojo.config.require){ - dojo.forEach(dojo.config.require, "dojo['require'](item);"); -} - -} diff --git a/includes/js/dojo/_base/connect.js b/includes/js/dojo/_base/connect.js deleted file mode 100644 index 5111372..0000000 --- a/includes/js/dojo/_base/connect.js +++ /dev/null @@ -1,285 +0,0 @@ -if(!dojo._hasResource["dojo._base.connect"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.connect"] = true; -dojo.provide("dojo._base.connect"); -dojo.require("dojo._base.lang"); - -// this file courtesy of the TurboAjax Group, licensed under a Dojo CLA - -// low-level delegation machinery -dojo._listener = { - // create a dispatcher function - getDispatcher: function(){ - // following comments pulled out-of-line to prevent cloning them - // in the returned function. - // - indices (i) that are really in the array of listeners (ls) will - // not be in Array.prototype. This is the 'sparse array' trick - // that keeps us safe from libs that take liberties with built-in - // objects - // - listener is invoked with current scope (this) - return function(){ - var ap=Array.prototype, c=arguments.callee, ls=c._listeners, t=c.target; - // return value comes from original target function - var r=t && t.apply(this, arguments); - // invoke listeners after target function - for(var i in ls){ - if(!(i in ap)){ - ls[i].apply(this, arguments); - } - } - // return value comes from original target function - return r; - } - }, - // add a listener to an object - add: function(/*Object*/ source, /*String*/ method, /*Function*/ listener){ - // Whenever 'method' is invoked, 'listener' will have the same scope. - // Trying to supporting a context object for the listener led to - // complexity. - // Non trivial to provide 'once' functionality here - // because listener could be the result of a dojo.hitch call, - // in which case two references to the same hitch target would not - // be equivalent. - source = source || dojo.global; - // The source method is either null, a dispatcher, or some other function - var f = source[method]; - // Ensure a dispatcher - if(!f||!f._listeners){ - var d = dojo._listener.getDispatcher(); - // original target function is special - d.target = f; - // dispatcher holds a list of listeners - d._listeners = []; - // redirect source to dispatcher - f = source[method] = d; - } - // The contract is that a handle is returned that can - // identify this listener for disconnect. - // - // The type of the handle is private. Here is it implemented as Integer. - // DOM event code has this same contract but handle is Function - // in non-IE browsers. - // - // We could have separate lists of before and after listeners. - return f._listeners.push(listener) ; /*Handle*/ - }, - // remove a listener from an object - remove: function(/*Object*/ source, /*String*/ method, /*Handle*/ handle){ - var f = (source||dojo.global)[method]; - // remember that handle is the index+1 (0 is not a valid handle) - if(f && f._listeners && handle--){ - delete f._listeners[handle]; - } - } -}; - -// Multiple delegation for arbitrary methods. - -// This unit knows nothing about DOM, -// but we include DOM aware -// documentation and dontFix -// argument here to help the autodocs. -// Actual DOM aware code is in event.js. - -dojo.connect = function(/*Object|null*/ obj, - /*String*/ event, - /*Object|null*/ context, - /*String|Function*/ method, - /*Boolean*/ dontFix){ - // summary: - // Create a link that calls one function when another executes. - // - // description: - // Connects method to event, so that after event fires, method - // does too. All connected functions are passed the same arguments as - // the event function was initially called with. You may connect as - // many methods to event as needed. - // - // event must be a string. If obj is null, dojo.global is used. - // - // null arguments may simply be omitted. - // - // obj[event] can resolve to a function or undefined (null). - // If obj[event] is null, it is assigned a function. - // - // The return value is a handle that is needed to - // remove this connection with dojo.disconnect. - // - // obj: - // The source object for the event function. - // Defaults to dojo.global if null. - // If obj is a DOM node, the connection is delegated - // to the DOM event manager (unless dontFix is true). - // - // event: - // String name of the event function in obj. - // I.e. identifies a property obj[event]. - // - // context: - // The object that method will receive as "this". - // - // If context is null and method is a function, then method - // inherits the context of event. - // - // If method is a string then context must be the source - // object object for method (context[method]). If context is null, - // dojo.global is used. - // - // method: - // A function reference, or name of a function in context. - // The function identified by method fires after event does. - // method receives the same arguments as the event. - // See context argument comments for information on method's scope. - // - // dontFix: - // If obj is a DOM node, set dontFix to true to prevent delegation - // of this connection to the DOM event manager. - // - // example: - // When obj.onchange(), do ui.update(): - // | dojo.connect(obj, "onchange", ui, "update"); - // | dojo.connect(obj, "onchange", ui, ui.update); // same - // - // example: - // Using return value for disconnect: - // | var link = dojo.connect(obj, "onchange", ui, "update"); - // | ... - // | dojo.disconnect(link); - // - // example: - // When onglobalevent executes, watcher.handler is invoked: - // | dojo.connect(null, "onglobalevent", watcher, "handler"); - // - // example: - // When ob.onCustomEvent executes, customEventHandler is invoked: - // | dojo.connect(ob, "onCustomEvent", null, "customEventHandler"); - // | dojo.connect(ob, "onCustomEvent", "customEventHandler"); // same - // - // example: - // When ob.onCustomEvent executes, customEventHandler is invoked - // with the same scope (this): - // | dojo.connect(ob, "onCustomEvent", null, customEventHandler); - // | dojo.connect(ob, "onCustomEvent", customEventHandler); // same - // - // example: - // When globalEvent executes, globalHandler is invoked - // with the same scope (this): - // | dojo.connect(null, "globalEvent", null, globalHandler); - // | dojo.connect("globalEvent", globalHandler); // same - - // normalize arguments - var a=arguments, args=[], i=0; - // if a[0] is a String, obj was ommited - args.push(dojo.isString(a[0]) ? null : a[i++], a[i++]); - // if the arg-after-next is a String or Function, context was NOT omitted - var a1 = a[i+1]; - args.push(dojo.isString(a1)||dojo.isFunction(a1) ? a[i++] : null, a[i++]); - // absorb any additional arguments - for(var l=a.length; i90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222); - // synthesize keypress for most unprintables and CTRL-keys - if(unprintable||evt.ctrlKey){ - var c = unprintable ? 0 : k; - if(evt.ctrlKey){ - if(k==3 || k==13){ - return; // IE will post CTRL-BREAK, CTRL-ENTER as keypress natively - }else if(c>95 && c<106){ - c -= 48; // map CTRL-[numpad 0-9] to ASCII - }else if((!evt.shiftKey)&&(c>=65&&c<=90)){ - c += 32; // map CTRL-[A-Z] to lowercase - }else{ - c = del._punctMap[c] || c; // map other problematic CTRL combinations to ASCII - } - } - // simulate a keypress event - var faux = del._synthesizeEvent(evt, {type: 'keypress', faux: true, charCode: c}); - kp.call(evt.currentTarget, faux); - evt.cancelBubble = faux.cancelBubble; - evt.returnValue = faux.returnValue; - _trySetKeyCode(evt, faux.keyCode); - } - }, - // Called in Event scope - _stopPropagation: function(){ - this.cancelBubble = true; - }, - _preventDefault: function(){ - // Setting keyCode to 0 is the only way to prevent certain keypresses (namely - // ctrl-combinations that correspond to menu accelerator keys). - // Otoh, it prevents upstream listeners from getting this information - // Try to split the difference here by clobbering keyCode only for ctrl - // combinations. If you still need to access the key upstream, bubbledKeyCode is - // provided as a workaround. - this.bubbledKeyCode = this.keyCode; - if(this.ctrlKey){_trySetKeyCode(this, 0);} - this.returnValue = false; - } - }); - - // override stopEvent for IE - dojo.stopEvent = function(evt){ - evt = evt || window.event; - del._stopPropagation.call(evt); - del._preventDefault.call(evt); - } - } - - del._synthesizeEvent = function(evt, props){ - var faux = dojo.mixin({}, evt, props); - del._setKeyChar(faux); - // FIXME: would prefer to use dojo.hitch: dojo.hitch(evt, evt.preventDefault); - // but it throws an error when preventDefault is invoked on Safari - // does Event.preventDefault not support "apply" on Safari? - faux.preventDefault = function(){ evt.preventDefault(); }; - faux.stopPropagation = function(){ evt.stopPropagation(); }; - return faux; - } - - // Opera event normalization - if(dojo.isOpera){ - dojo.mixin(del, { - _fixEvent: function(evt, sender){ - switch(evt.type){ - case "keypress": - var c = evt.which; - if(c==3){ - c=99; // Mozilla maps CTRL-BREAK to CTRL-c - } - // can't trap some keys at all, like INSERT and DELETE - // there is no differentiating info between DELETE and ".", or INSERT and "-" - c = ((c<41)&&(!evt.shiftKey) ? 0 : c); - if((evt.ctrlKey)&&(!evt.shiftKey)&&(c>=65)&&(c<=90)){ - // lowercase CTRL-[A-Z] keys - c += 32; - } - return del._synthesizeEvent(evt, { charCode: c }); - } - return evt; - } - }); - } - - // Safari event normalization - if(dojo.isSafari){ - dojo.mixin(del, { - _fixEvent: function(evt, sender){ - switch(evt.type){ - case "keypress": - var c = evt.charCode, s = evt.shiftKey, k = evt.keyCode; - // FIXME: This is a hack, suggest we rethink keyboard strategy. - // Arrow and page keys have 0 "keyCode" in keypress events.on Safari for Windows - k = k || identifierMap[evt.keyIdentifier] || 0; - if(evt.keyIdentifier=="Enter"){ - c = 0; // differentiate Enter from CTRL-m (both code 13) - }else if((evt.ctrlKey)&&(c>0)&&(c<27)){ - c += 96; // map CTRL-[A-Z] codes to ASCII - } else if (c==dojo.keys.SHIFT_TAB) { - c = dojo.keys.TAB; // morph SHIFT_TAB into TAB + shiftKey: true - s = true; - } else { - c = (c>=32 && c<63232 ? c : 0); // avoid generating keyChar for non-printables - } - return del._synthesizeEvent(evt, {charCode: c, shiftKey: s, keyCode: k}); - } - return evt; - } - }); - - dojo.mixin(dojo.keys, { - SHIFT_TAB: 25, - UP_ARROW: 63232, - DOWN_ARROW: 63233, - LEFT_ARROW: 63234, - RIGHT_ARROW: 63235, - F1: 63236, - F2: 63237, - F3: 63238, - F4: 63239, - F5: 63240, - F6: 63241, - F7: 63242, - F8: 63243, - F9: 63244, - F10: 63245, - F11: 63246, - F12: 63247, - PAUSE: 63250, - DELETE: 63272, - HOME: 63273, - END: 63275, - PAGE_UP: 63276, - PAGE_DOWN: 63277, - INSERT: 63302, - PRINT_SCREEN: 63248, - SCROLL_LOCK: 63249, - NUM_LOCK: 63289 - }); - var dk = dojo.keys, identifierMap = { "Up": dk.UP_ARROW, "Down": dk.DOWN_ARROW, "Left": dk.LEFT_ARROW, "Right": dk.RIGHT_ARROW, "PageUp": dk.PAGE_UP, "PageDown": dk.PAGE_DOWN }; - } -})(); - -if(dojo.isIE){ - // keep this out of the closure - // closing over 'iel' or 'ieh' b0rks leak prevention - // ls[i] is an index into the master handler array - dojo._ieDispatcher = function(args, sender){ - var ap=Array.prototype, h=dojo._ie_listener.handlers, c=args.callee, ls=c._listeners, t=h[c.target]; - // return value comes from original target function - var r = t && t.apply(sender, args); - // invoke listeners after target function - for(var i in ls){ - if(!(i in ap)){ - h[ls[i]].apply(sender, args); - } - } - return r; - } - dojo._getIeDispatcher = function(){ - // ensure the returned function closes over nothing - return new Function(dojo._scopeName + "._ieDispatcher(arguments, this)"); // function - } - // keep this out of the closure to reduce RAM allocation - dojo._event_listener._fixCallback = function(fp){ - var f = dojo._event_listener._fixEvent; - return function(e){ return fp.call(this, f(e, this)); }; - } -} - -} diff --git a/includes/js/dojo/_base/fx.js b/includes/js/dojo/_base/fx.js deleted file mode 100644 index 33307a9..0000000 --- a/includes/js/dojo/_base/fx.js +++ /dev/null @@ -1,584 +0,0 @@ -if(!dojo._hasResource["dojo._base.fx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.fx"] = true; -dojo.provide("dojo._base.fx"); -dojo.require("dojo._base.Color"); -dojo.require("dojo._base.connect"); -dojo.require("dojo._base.declare"); -dojo.require("dojo._base.lang"); -dojo.require("dojo._base.html"); - -/* - Animation losely package based on Dan Pupius' work, contributed under CLA: - http://pupius.co.uk/js/Toolkit.Drawing.js -*/ -(function(){ - - var d = dojo; - - dojo._Line = function(/*int*/ start, /*int*/ end){ - // summary: - // dojo._Line is the object used to generate values from a start value - // to an end value - // start: int - // Beginning value for range - // end: int - // Ending value for range - this.start = start; - this.end = end; - this.getValue = function(/*float*/ n){ - // summary: returns the point on the line - // n: a floating point number greater than 0 and less than 1 - return ((this.end - this.start) * n) + this.start; // Decimal - } - } - - d.declare("dojo._Animation", null, { - // summary - // A generic animation class that fires callbacks into its handlers - // object at various states. Nearly all dojo animation functions - // return an instance of this method, usually without calling the - // .play() method beforehand. Therefore, you will likely need to - // call .play() on instances of dojo._Animation when one is - // returned. - constructor: function(/*Object*/ args){ - d.mixin(this, args); - if(d.isArray(this.curve)){ - /* curve: Array - pId: a */ - this.curve = new d._Line(this.curve[0], this.curve[1]); - } - }, - - // duration: Integer - // The time in milliseonds the animation will take to run - duration: 350, - - /*===== - // curve: dojo._Line||Array - // A two element array of start and end values, or a dojo._Line instance to be - // used in the Animation. - curve: null, - - // easing: Function - // A Function to adjust the acceleration (or deceleration) of the progress - // across a dojo._Line - easing: null, - =====*/ - - // repeat: Integer - // The number of times to loop the animation - repeat: 0, - - // rate: Integer - // the time in milliseconds to wait before advancing to next frame - // (used as a fps timer: rate/1000 = fps) - rate: 10 /* 100 fps */, - - /*===== - // delay: Integer - // The time in milliseconds to wait before starting animation after it has been .play()'ed - delay: null, - - // events - // - // beforeBegin: Event - // Synthetic event fired before a dojo._Animation begins playing (synchronous) - beforeBegin: null, - - // onBegin: Event - // Synthetic event fired as a dojo._Animation begins playing (useful?) - onBegin: null, - - // onAnimate: Event - // Synthetic event fired at each interval of a dojo._Animation - onAnimate: null, - - // onEnd: Event - // Synthetic event fired after the final frame of a dojo._Animation - onEnd: null, - - // onPlay: Event - // Synthetic event fired any time a dojo._Animation is play()'ed - onPlay: null, - - // onPause: Event - // Synthetic event fired when a dojo._Animation is paused - onPause: null, - - // onStop: Event - // Synthetic event fires when a dojo._Animation is stopped - onStop: null, - - =====*/ - - _percent: 0, - _startRepeatCount: 0, - - _fire: function(/*Event*/ evt, /*Array?*/ args){ - // summary: - // Convenience function. Fire event "evt" and pass it the - // arguments specified in "args". - // evt: - // The event to fire. - // args: - // The arguments to pass to the event. - try{ - if(this[evt]){ - this[evt].apply(this, args||[]); - } - }catch(e){ - // squelch and log because we shouldn't allow exceptions in - // synthetic event handlers to cause the internal timer to run - // amuck, potentially pegging the CPU. I'm not a fan of this - // squelch, but hopefully logging will make it clear what's - // going on - console.error("exception in animation handler for:", evt); - console.error(e); - } - return this; // dojo._Animation - }, - - play: function(/*int?*/ delay, /*Boolean?*/ gotoStart){ - // summary: - // Start the animation. - // delay: - // How many milliseconds to delay before starting. - // gotoStart: - // If true, starts the animation from the beginning; otherwise, - // starts it from its current position. - var _t = this; - if(gotoStart){ - _t._stopTimer(); - _t._active = _t._paused = false; - _t._percent = 0; - }else if(_t._active && !_t._paused){ - return _t; // dojo._Animation - } - - _t._fire("beforeBegin"); - - var de = delay||_t.delay; - var _p = dojo.hitch(_t, "_play", gotoStart); - if(de > 0){ - setTimeout(_p, de); - return _t; // dojo._Animation - } - _p(); - return _t; - }, - - _play: function(gotoStart){ - var _t = this; - _t._startTime = new Date().valueOf(); - if(_t._paused){ - _t._startTime -= _t.duration * _t._percent; - } - _t._endTime = _t._startTime + _t.duration; - - _t._active = true; - _t._paused = false; - - var value = _t.curve.getValue(_t._percent); - if(!_t._percent){ - if(!_t._startRepeatCount){ - _t._startRepeatCount = _t.repeat; - } - _t._fire("onBegin", [value]); - } - - _t._fire("onPlay", [value]); - - _t._cycle(); - return _t; // dojo._Animation - }, - - pause: function(){ - // summary: Pauses a running animation. - this._stopTimer(); - if(!this._active){ return this; /*dojo._Animation*/ } - this._paused = true; - this._fire("onPause", [this.curve.getValue(this._percent)]); - return this; // dojo._Animation - }, - - gotoPercent: function(/*Decimal*/ percent, /*Boolean?*/ andPlay){ - // summary: - // Sets the progress of the animation. - // percent: - // A percentage in decimal notation (between and including 0.0 and 1.0). - // andPlay: - // If true, play the animation after setting the progress. - this._stopTimer(); - this._active = this._paused = true; - this._percent = percent; - if(andPlay){ this.play(); } - return this; // dojo._Animation - }, - - stop: function(/*boolean?*/ gotoEnd){ - // summary: Stops a running animation. - // gotoEnd: If true, the animation will end. - if(!this._timer){ return this; /* dojo._Animation */ } - this._stopTimer(); - if(gotoEnd){ - this._percent = 1; - } - this._fire("onStop", [this.curve.getValue(this._percent)]); - this._active = this._paused = false; - return this; // dojo._Animation - }, - - status: function(){ - // summary: Returns a string token representation of the status of - // the animation, one of: "paused", "playing", "stopped" - if(this._active){ - return this._paused ? "paused" : "playing"; // String - } - return "stopped"; // String - }, - - _cycle: function(){ - var _t = this; - if(_t._active){ - var curr = new Date().valueOf(); - var step = (curr - _t._startTime) / (_t._endTime - _t._startTime); - - if(step >= 1){ - step = 1; - } - _t._percent = step; - - // Perform easing - if(_t.easing){ - step = _t.easing(step); - } - - _t._fire("onAnimate", [_t.curve.getValue(step)]); - - if(_t._percent < 1){ - _t._startTimer(); - }else{ - _t._active = false; - - if(_t.repeat > 0){ - _t.repeat--; - _t.play(null, true); - }else if(_t.repeat == -1){ - _t.play(null, true); - }else{ - if(_t._startRepeatCount){ - _t.repeat = _t._startRepeatCount; - _t._startRepeatCount = 0; - } - } - _t._percent = 0; - _t._fire("onEnd"); - _t._stopTimer(); - } - } - return _t; // dojo._Animation - } - }); - - var ctr = 0; - var _globalTimerList = []; - var runner = { - run: function(){ } - }; - var timer = null; - dojo._Animation.prototype._startTimer = function(){ - // this._timer = setTimeout(dojo.hitch(this, "_cycle"), this.rate); - if(!this._timer){ - this._timer = d.connect(runner, "run", this, "_cycle"); - ctr++; - } - if(!timer){ - timer = setInterval(d.hitch(runner, "run"), this.rate); - } - }; - - dojo._Animation.prototype._stopTimer = function(){ - if(this._timer){ - d.disconnect(this._timer); - this._timer = null; - ctr--; - } - if(ctr <= 0){ - clearInterval(timer); - timer = null; - ctr = 0; - } - }; - - var _makeFadeable = (d.isIE) ? function(node){ - // only set the zoom if the "tickle" value would be the same as the - // default - var ns = node.style; - if(!ns.zoom.length && d.style(node, "zoom") == "normal"){ - // make sure the node "hasLayout" - // NOTE: this has been tested with larger and smaller user-set text - // sizes and works fine - ns.zoom = "1"; - // node.style.zoom = "normal"; - } - // don't set the width to auto if it didn't already cascade that way. - // We don't want to f anyones designs - if(!ns.width.length && d.style(node, "width") == "auto"){ - ns.width = "auto"; - } - } : function(){}; - - dojo._fade = function(/*Object*/ args){ - // summary: - // Returns an animation that will fade the node defined by - // args.node from the start to end values passed (args.start - // args.end) (end is mandatory, start is optional) - - args.node = d.byId(args.node); - var fArgs = d.mixin({ properties: {} }, args); - var props = (fArgs.properties.opacity = {}); - props.start = !("start" in fArgs) ? - function(){ - return Number(d.style(fArgs.node, "opacity")); - } : fArgs.start; - props.end = fArgs.end; - - var anim = d.animateProperty(fArgs); - d.connect(anim, "beforeBegin", d.partial(_makeFadeable, fArgs.node)); - - return anim; // dojo._Animation - } - - /*===== - dojo.__FadeArgs = function(node, duration, easing){ - // node: DOMNode|String - // The node referenced in the animation - // duration: Integer? - // Duration of the animation in milliseconds. - // easing: Function? - // An easing function. - this.node = node; - this.duration = duration; - this.easing = easing; - } - =====*/ - - dojo.fadeIn = function(/*dojo.__FadeArgs*/ args){ - // summary: - // Returns an animation that will fade node defined in 'args' from - // its current opacity to fully opaque. - return d._fade(d.mixin({ end: 1 }, args)); // dojo._Animation - } - - dojo.fadeOut = function(/*dojo.__FadeArgs*/ args){ - // summary: - // Returns an animation that will fade node defined in 'args' - // from its current opacity to fully transparent. - return d._fade(d.mixin({ end: 0 }, args)); // dojo._Animation - } - - dojo._defaultEasing = function(/*Decimal?*/ n){ - // summary: The default easing function for dojo._Animation(s) - return 0.5 + ((Math.sin((n + 1.5) * Math.PI))/2); - } - - var PropLine = function(properties){ - // PropLine is an internal class which is used to model the values of - // an a group of CSS properties across an animation lifecycle. In - // particular, the "getValue" function handles getting interpolated - // values between start and end for a particular CSS value. - this._properties = properties; - for(var p in properties){ - var prop = properties[p]; - if(prop.start instanceof d.Color){ - // create a reusable temp color object to keep intermediate results - prop.tempColor = new d.Color(); - } - } - this.getValue = function(r){ - var ret = {}; - for(var p in this._properties){ - var prop = this._properties[p]; - var start = prop.start; - if(start instanceof d.Color){ - ret[p] = d.blendColors(start, prop.end, r, prop.tempColor).toCss(); - }else if(!d.isArray(start)){ - ret[p] = ((prop.end - start) * r) + start + (p != "opacity" ? prop.units||"px" : ""); - } - } - return ret; - } - } - - /*===== - dojo.declare("dojo.__AnimArgs", [dojo.__FadeArgs], { - // Properties: Object? - // A hash map of style properties to Objects describing the transition, - // such as the properties of dojo._Line with an additional 'unit' property - properties: {} - - //TODOC: add event callbacks - }); - =====*/ - - dojo.animateProperty = function(/*dojo.__AnimArgs*/ args){ - // summary: - // Returns an animation that will transition the properties of - // node defined in 'args' depending how they are defined in - // 'args.properties' - // - // description: - // dojo.animateProperty is the foundation of most dojo.fx - // animations. It takes an object of "properties" corresponding to - // style properties, and animates them in parallel over a set - // duration. - // - // example: - // A simple animation that changes the width of the specified node. - // | dojo.animateProperty({ - // | node: "nodeId", - // | properties: { width: 400 }, - // | }).play(); - // Dojo figures out the start value for the width and converts the - // integer specified for the width to the more expressive but - // verbose form `{ width: { end: '400', units: 'px' } }` which you - // can also specify directly - // example: - // animate width, height, and padding over 2 seconds...the - // pedantic way: - // | dojo.animateProperty({ node: node, duration:2000, - // | properties: { - // | width: { start: '200', end: '400', unit:"px" }, - // | height: { start:'200', end: '400', unit:"px" }, - // | paddingTop: { start:'5', end:'50', unit:"px" } - // | } - // | }).play(); - // - // example: - // plug in a different easing function and register a callback for - // when the animation ends. Easing functions accept values between - // zero and one and return a value on that basis. In this case, an - // exponential-in curve. - // | dojo.animateProperty({ - // | node: "nodeId", - // | // dojo figures out the start value - // | properties: { width: { end: 400 } }, - // | easing: function(n){ - // | return (n==0) ? 0 : Math.pow(2, 10 * (n - 1)); - // | }, - // | onEnd: function(){ - // | // called when the animation finishes - // | } - // | }).play(500); // delay playing half a second - - args.node = d.byId(args.node); - if(!args.easing){ args.easing = d._defaultEasing; } - - var anim = new d._Animation(args); - d.connect(anim, "beforeBegin", anim, function(){ - var pm = {}; - for(var p in this.properties){ - // Make shallow copy of properties into pm because we overwrite - // some values below. In particular if start/end are functions - // we don't want to overwrite them or the functions won't be - // called if the animation is reused. - if(p == "width" || p == "height"){ - this.node.display = "block"; - } - var prop = this.properties[p]; - prop = pm[p] = d.mixin({}, (d.isObject(prop) ? prop: { end: prop })); - - if(d.isFunction(prop.start)){ - prop.start = prop.start(); - } - if(d.isFunction(prop.end)){ - prop.end = prop.end(); - } - var isColor = (p.toLowerCase().indexOf("color") >= 0); - function getStyle(node, p){ - // dojo.style(node, "height") can return "auto" or "" on IE; this is more reliable: - var v = ({height: node.offsetHeight, width: node.offsetWidth})[p]; - if(v !== undefined){ return v; } - v = d.style(node, p); - return (p=="opacity") ? Number(v) : (isColor ? v : parseFloat(v)); - } - if(!("end" in prop)){ - prop.end = getStyle(this.node, p); - }else if(!("start" in prop)){ - prop.start = getStyle(this.node, p); - } - - if(isColor){ - prop.start = new d.Color(prop.start); - prop.end = new d.Color(prop.end); - }else{ - prop.start = (p == "opacity") ? Number(prop.start) : parseFloat(prop.start); - } - } - this.curve = new PropLine(pm); - }); - d.connect(anim, "onAnimate", anim, function(propValues){ - // try{ - for(var s in propValues){ - d.style(this.node, s, propValues[s]); - // this.node.style[s] = propValues[s]; - } - }); - return anim; // dojo._Animation - } - - dojo.anim = function( /*DOMNode|String*/ node, - /*Object*/ properties, - /*Integer?*/ duration, - /*Function?*/ easing, - /*Function?*/ onEnd, - /*Integer?*/ delay){ - // summary: - // A simpler interface to `dojo.animateProperty()`, also returns - // an instance of `dojo._Animation` but begins the animation - // immediately, unlike nearly every other Dojo animation API. - // description: - // `dojo.anim` is a simpler (but somewhat less powerful) version - // of `dojo.animateProperty`. It uses defaults for many basic properties - // and allows for positional parameters to be used in place of the - // packed "property bag" which is used for other Dojo animation - // methods. - // - // The `dojo._Animation` object returned from `dojo.anim` will be - // already playing when it is returned from this function, so - // calling play() on it again is (usually) a no-op. - // node: - // a DOM node or the id of a node to animate CSS properties on - // duration: - // The number of milliseconds over which the animation - // should run. Defaults to the global animation default duration - // (350ms). - // easing: - // An easing function over which to calculate acceleration - // and deceleration of the animation through its duration. - // A default easing algorithm is provided, but you may - // plug in any you wish. A large selection of easing algorithms - // are available in `dojox.fx.easing`. - // onEnd: - // A function to be called when the animation finishes - // running. - // delay: - // The number of milliseconds to delay beginning the - // animation by. The default is 0. - // example: - // Fade out a node - // | dojo.anim("id", { opacity: 0 }); - // example: - // Fade out a node over a full second - // | dojo.anim("id", { opacity: 0 }, 1000); - return d.animateProperty({ - node: node, - duration: duration||d._Animation.prototype.duration, - properties: properties, - easing: easing, - onEnd: onEnd - }).play(delay||0); - } -})(); - -} diff --git a/includes/js/dojo/_base/html.js b/includes/js/dojo/_base/html.js deleted file mode 100644 index d673eb1..0000000 --- a/includes/js/dojo/_base/html.js +++ /dev/null @@ -1,1227 +0,0 @@ -if(!dojo._hasResource["dojo._base.html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.html"] = true; -dojo.require("dojo._base.lang"); -dojo.provide("dojo._base.html"); - -// FIXME: need to add unit tests for all the semi-public methods - -try{ - document.execCommand("BackgroundImageCache", false, true); -}catch(e){ - // sane browsers don't have cache "issues" -} - -// ============================= -// DOM Functions -// ============================= - -/*===== -dojo.byId = function(id, doc){ - // summary: - // Returns DOM node with matching `id` attribute or `null` - // if not found, similar to "$" function in another library. - // If `id` is a DomNode, this function is a no-op. - // - // id: String|DOMNode - // A string to match an HTML id attribute or a reference to a DOM Node - // - // doc: Document? - // Document to work in. Defaults to the current value of - // dojo.doc. Can be used to retrieve - // node references from other documents. -=====*/ -if(dojo.isIE || dojo.isOpera){ - dojo.byId = function(id, doc){ - if(dojo.isString(id)){ - var _d = doc || dojo.doc; - var te = _d.getElementById(id); - // attributes.id.value is better than just id in case the - // user has a name=id inside a form - if(te && te.attributes.id.value == id){ - return te; - }else{ - var eles = _d.all[id]; - if(!eles || !eles.length){ return eles; } - // if more than 1, choose first with the correct id - var i=0; - while((te=eles[i++])){ - if(te.attributes.id.value == id){ return te; } - } - } - }else{ - return id; // DomNode - } - } -}else{ - dojo.byId = function(id, doc){ - return dojo.isString(id) ? (doc || dojo.doc).getElementById(id) : id; // DomNode - } -} -/*===== -} -=====*/ - -(function(){ - /* - dojo.createElement = function(obj, parent, position){ - // TODO: need to finish this! - } - */ - - var d = dojo; - - var _destroyContainer = null; - dojo.addOnUnload(function(){ - _destroyContainer=null; //prevent IE leak - }); - dojo._destroyElement = function(/*String||DomNode*/node){ - // summary: - // removes node from its parent, clobbers it and all of its - // children. - // node: - // the element to be destroyed, either as an ID or a reference - - node = d.byId(node); - try{ - if(!_destroyContainer){ - _destroyContainer = document.createElement("div"); - } - _destroyContainer.appendChild(node.parentNode ? node.parentNode.removeChild(node) : node); - // NOTE: see http://trac.dojotoolkit.org/ticket/2931. This may be a bug and not a feature - _destroyContainer.innerHTML = ""; - }catch(e){ - /* squelch */ - } - }; - - dojo.isDescendant = function(/*DomNode|String*/node, /*DomNode|String*/ancestor){ - // summary: - // Returns true if node is a descendant of ancestor - // node: id or node reference to test - // ancestor: id or node reference of potential parent to test against - try{ - node = d.byId(node); - ancestor = d.byId(ancestor); - while(node){ - if(node === ancestor){ - return true; // Boolean - } - node = node.parentNode; - } - }catch(e){ /* squelch, return false */ } - return false; // Boolean - }; - - dojo.setSelectable = function(/*DomNode|String*/node, /*Boolean*/selectable){ - // summary: enable or disable selection on a node - // node: - // id or reference to node - // selectable: - node = d.byId(node); - if(d.isMozilla){ - node.style.MozUserSelect = selectable ? "" : "none"; - }else if(d.isKhtml){ - node.style.KhtmlUserSelect = selectable ? "auto" : "none"; - }else if(d.isIE){ - node.unselectable = selectable ? "" : "on"; - d.query("*", node).forEach(function(descendant){ - descendant.unselectable = selectable ? "" : "on"; - }); - } - //FIXME: else? Opera? - }; - - var _insertBefore = function(/*Node*/node, /*Node*/ref){ - ref.parentNode.insertBefore(node, ref); - return true; // boolean - } - - var _insertAfter = function(/*Node*/node, /*Node*/ref){ - // summary: - // Try to insert node after ref - var pn = ref.parentNode; - if(ref == pn.lastChild){ - pn.appendChild(node); - }else{ - return _insertBefore(node, ref.nextSibling); // boolean - } - return true; // boolean - } - - dojo.place = function(/*String|DomNode*/node, /*String|DomNode*/refNode, /*String|Number*/position){ - // summary: - // Attempt to insert node into the DOM, choosing from various positioning options. - // Returns true if successful, false otherwise. - // node: - // id or node reference to place relative to refNode - // refNode: - // id or node reference to use as basis for placement - // position: - // string noting the position of node relative to refNode or a - // number indicating the location in the childNodes collection of - // refNode. Accepted string values are: - // - // * before - // * after - // * first - // * last - // - // "first" and "last" indicate positions as children of refNode. - - // FIXME: need to write tests for this!!!! - if(!node || !refNode || position === undefined){ - return false; // boolean - } - node = d.byId(node); - refNode = d.byId(refNode); - if(typeof position == "number"){ - var cn = refNode.childNodes; - if((position == 0 && cn.length == 0) || - cn.length == position){ - refNode.appendChild(node); return true; - } - if(position == 0){ - return _insertBefore(node, refNode.firstChild); - } - return _insertAfter(node, cn[position-1]); - } - switch(position.toLowerCase()){ - case "before": - return _insertBefore(node, refNode); // boolean - case "after": - return _insertAfter(node, refNode); // boolean - case "first": - if(refNode.firstChild){ - return _insertBefore(node, refNode.firstChild); // boolean - } - // else fallthrough... - default: // aka: last - refNode.appendChild(node); - return true; // boolean - } - } - - // Box functions will assume this model. - // On IE/Opera, BORDER_BOX will be set if the primary document is in quirks mode. - // Can be set to change behavior of box setters. - - // can be either: - // "border-box" - // "content-box" (default) - dojo.boxModel = "content-box"; - - // We punt per-node box mode testing completely. - // If anybody cares, we can provide an additional (optional) unit - // that overrides existing code to include per-node box sensitivity. - - // Opera documentation claims that Opera 9 uses border-box in BackCompat mode. - // but experiments (Opera 9.10.8679 on Windows Vista) indicate that it actually continues to use content-box. - // IIRC, earlier versions of Opera did in fact use border-box. - // Opera guys, this is really confusing. Opera being broken in quirks mode is not our fault. - - if(d.isIE /*|| dojo.isOpera*/){ - var _dcm = document.compatMode; - // client code may have to adjust if compatMode varies across iframes - d.boxModel = _dcm == "BackCompat" || _dcm == "QuirksMode" || d.isIE<6 ? "border-box" : "content-box"; // FIXME: remove IE < 6 support? - } - - // ============================= - // Style Functions - // ============================= - - // getComputedStyle drives most of the style code. - // Wherever possible, reuse the returned object. - // - // API functions below that need to access computed styles accept an - // optional computedStyle parameter. - // If this parameter is omitted, the functions will call getComputedStyle themselves. - // This way, calling code can access computedStyle once, and then pass the reference to - // multiple API functions. - -/*===== - dojo.getComputedStyle = function(node){ - // summary: - // Returns a "computed style" object. - // - // description: - // Gets a "computed style" object which can be used to gather - // information about the current state of the rendered node. - // - // Note that this may behave differently on different browsers. - // Values may have different formats and value encodings across - // browsers. - // - // Note also that this method is expensive. Wherever possible, - // reuse the returned object. - // - // Use the dojo.style() method for more consistent (pixelized) - // return values. - // - // node: DOMNode - // A reference to a DOM node. Does NOT support taking an - // ID string for speed reasons. - // example: - // | dojo.getComputedStyle(dojo.byId('foo')).borderWidth; - return; // CSS2Properties - } -=====*/ - - var gcs, dv = document.defaultView; - if(d.isSafari){ - gcs = function(/*DomNode*/node){ - var s = dv.getComputedStyle(node, null); - if(!s && node.style){ - node.style.display = ""; - s = dv.getComputedStyle(node, null); - } - return s || {}; - }; - }else if(d.isIE){ - gcs = function(node){ - return node.currentStyle; - }; - }else{ - gcs = function(node){ - return dv.getComputedStyle(node, null); - }; - } - dojo.getComputedStyle = gcs; - - if(!d.isIE){ - dojo._toPixelValue = function(element, value){ - // style values can be floats, client code may want - // to round for integer pixels. - return parseFloat(value) || 0; - } - }else{ - dojo._toPixelValue = function(element, avalue){ - if(!avalue){ return 0; } - // on IE7, medium is usually 4 pixels - if(avalue=="medium"){ return 4; } - // style values can be floats, client code may - // want to round this value for integer pixels. - if(avalue.slice && (avalue.slice(-2)=='px')){ return parseFloat(avalue); } - with(element){ - var sLeft = style.left; - var rsLeft = runtimeStyle.left; - runtimeStyle.left = currentStyle.left; - try{ - // 'avalue' may be incompatible with style.left, which can cause IE to throw - // this has been observed for border widths using "thin", "medium", "thick" constants - // those particular constants could be trapped by a lookup - // but perhaps there are more - style.left = avalue; - avalue = style.pixelLeft; - }catch(e){ - avalue = 0; - } - style.left = sLeft; - runtimeStyle.left = rsLeft; - } - return avalue; - } - } - var px = d._toPixelValue; - - // FIXME: there opacity quirks on FF that we haven't ported over. Hrm. - /*===== - dojo._getOpacity = function(node){ - // summary: - // Returns the current opacity of the passed node as a - // floating-point value between 0 and 1. - // node: DomNode - // a reference to a DOM node. Does NOT support taking an - // ID string for speed reasons. - // return: Number between 0 and 1 - } - =====*/ - - dojo._getOpacity = d.isIE ? function(node){ - try{ - return node.filters.alpha.opacity / 100; // Number - }catch(e){ - return 1; // Number - } - } : function(node){ - return gcs(node).opacity; - }; - - /*===== - dojo._setOpacity = function(node, opacity){ - // summary: - // set the opacity of the passed node portably. Returns the - // new opacity of the node. - // node: DOMNode - // a reference to a DOM node. Does NOT support taking an - // ID string for performance reasons. - // opacity: Number - // A Number between 0 and 1. 0 specifies transparent. - // return: Number between 0 and 1 - } - =====*/ - - dojo._setOpacity = d.isIE ? function(/*DomNode*/node, /*Number*/opacity){ - if(opacity == 1){ - // on IE7 Alpha(Filter opacity=100) makes text look fuzzy so remove it altogether (bug #2661) - var filterRE = /FILTER:[^;]*;?/i; - node.style.cssText = node.style.cssText.replace(filterRE, ""); - if(node.nodeName.toLowerCase() == "tr"){ - d.query("> td", node).forEach(function(i){ - i.style.cssText = i.style.cssText.replace(filterRE, ""); - }); - } - }else{ - var o = "Alpha(Opacity="+ opacity * 100 +")"; - node.style.filter = o; - } - if(node.nodeName.toLowerCase() == "tr"){ - d.query("> td", node).forEach(function(i){ - i.style.filter = o; - }); - } - return opacity; - } : function(node, opacity){ - return node.style.opacity = opacity; - }; - - var _pixelNamesCache = { - left: true, top: true - }; - var _pixelRegExp = /margin|padding|width|height|max|min|offset/; // |border - var _toStyleValue = function(node, type, value){ - type = type.toLowerCase(); - if(d.isIE && value == "auto"){ - if(type == "height"){ return node.offsetHeight; } - if(type == "width"){ return node.offsetWidth; } - } - if(!(type in _pixelNamesCache)){ - // if(dojo.isOpera && type == "cssText"){ - // FIXME: add workaround for #2855 here - // } - _pixelNamesCache[type] = _pixelRegExp.test(type); - } - return _pixelNamesCache[type] ? px(node, value) : value; - } - - var _floatStyle = d.isIE ? "styleFloat" : "cssFloat"; - var _floatAliases = { "cssFloat": _floatStyle, "styleFloat": _floatStyle, "float": _floatStyle }; - - // public API - - dojo.style = function( /*DomNode|String*/ node, - /*String?|Object?*/ style, - /*String?*/ value){ - // summary: - // Accesses styles on a node. If 2 arguments are - // passed, acts as a getter. If 3 arguments are passed, acts - // as a setter. - // node: - // id or reference to node to get/set style for - // style: - // the style property to set in DOM-accessor format - // ("borderWidth", not "border-width") or an object with key/value - // pairs suitable for setting each property. - // value: - // If passed, sets value on the node for style, handling - // cross-browser concerns. - // example: - // Passing only an ID or node returns the computed style object of - // the node: - // | dojo.style("thinger"); - // example: - // Passing a node and a style property returns the current - // normalized, computed value for that property: - // | dojo.style("thinger", "opacity"); // 1 by default - // - // example: - // Passing a node, a style property, and a value changes the - // current display of the node and returns the new computed value - // | dojo.style("thinger", "opacity", 0.5); // == 0.5 - // - // example: - // Passing a node, an object-style style property sets each of the values in turn and returns the computed style object of the node: - // | dojo.style("thinger", { - // | "opacity": 0.5, - // | "border": "3px solid black", - // | "height": 300 - // | }); - // - // example: - // When the CSS style property is hyphenated, the JavaScript property is camelCased. - // font-size becomes fontSize, and so on. - // | dojo.style("thinger",{ - // | fontSize:"14pt", - // | letterSpacing:"1.2em" - // | }); - // - // example: - // dojo.NodeList implements .style() using the same syntax, omitting the "node" parameter, calling - // dojo.style() on every element of the list. See: dojo.query and dojo.NodeList - // | dojo.query(".someClassName").style("visibility","hidden"); - // | // or - // | dojo.query("#baz > div").style({ - // | opacity:0.75, - // | fontSize:"13pt" - // | }); - - var n = d.byId(node), args = arguments.length, op = (style=="opacity"); - style = _floatAliases[style] || style; - if(args == 3){ - return op ? d._setOpacity(n, value) : n.style[style] = value; /*Number*/ - } - if(args == 2 && op){ - return d._getOpacity(n); - } - var s = gcs(n); - if(args == 2 && !d.isString(style)){ - for(var x in style){ - d.style(node, x, style[x]); - } - return s; - } - return (args == 1) ? s : _toStyleValue(n, style, s[style]); /* CSS2Properties||String||Number */ - } - - // ============================= - // Box Functions - // ============================= - - dojo._getPadExtents = function(/*DomNode*/n, /*Object*/computedStyle){ - // summary: - // Returns object with special values specifically useful for node - // fitting. - // - // * l/t = left/top padding (respectively) - // * w = the total of the left and right padding - // * h = the total of the top and bottom padding - // - // If 'node' has position, l/t forms the origin for child nodes. - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - s = computedStyle||gcs(n), - l = px(n, s.paddingLeft), - t = px(n, s.paddingTop); - return { - l: l, - t: t, - w: l+px(n, s.paddingRight), - h: t+px(n, s.paddingBottom) - }; - } - - dojo._getBorderExtents = function(/*DomNode*/n, /*Object*/computedStyle){ - // summary: - // returns an object with properties useful for noting the border - // dimensions. - // - // * l/t = the sum of left/top border (respectively) - // * w = the sum of the left and right border - // * h = the sum of the top and bottom border - // - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - ne = "none", - s = computedStyle||gcs(n), - bl = (s.borderLeftStyle != ne ? px(n, s.borderLeftWidth) : 0), - bt = (s.borderTopStyle != ne ? px(n, s.borderTopWidth) : 0); - return { - l: bl, - t: bt, - w: bl + (s.borderRightStyle!=ne ? px(n, s.borderRightWidth) : 0), - h: bt + (s.borderBottomStyle!=ne ? px(n, s.borderBottomWidth) : 0) - }; - } - - dojo._getPadBorderExtents = function(/*DomNode*/n, /*Object*/computedStyle){ - // summary: - // returns object with properties useful for box fitting with - // regards to padding. - // - // * l/t = the sum of left/top padding and left/top border (respectively) - // * w = the sum of the left and right padding and border - // * h = the sum of the top and bottom padding and border - // - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - s = computedStyle||gcs(n), - p = d._getPadExtents(n, s), - b = d._getBorderExtents(n, s); - return { - l: p.l + b.l, - t: p.t + b.t, - w: p.w + b.w, - h: p.h + b.h - }; - } - - dojo._getMarginExtents = function(n, computedStyle){ - // summary: - // returns object with properties useful for box fitting with - // regards to box margins (i.e., the outer-box). - // - // * l/t = marginLeft, marginTop, respectively - // * w = total width, margin inclusive - // * h = total height, margin inclusive - // - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - s = computedStyle||gcs(n), - l = px(n, s.marginLeft), - t = px(n, s.marginTop), - r = px(n, s.marginRight), - b = px(n, s.marginBottom); - if(d.isSafari && (s.position != "absolute")){ - // FIXME: Safari's version of the computed right margin - // is the space between our right edge and the right edge - // of our offsetParent. - // What we are looking for is the actual margin value as - // determined by CSS. - // Hack solution is to assume left/right margins are the same. - r = l; - } - return { - l: l, - t: t, - w: l+r, - h: t+b - }; - } - - // Box getters work in any box context because offsetWidth/clientWidth - // are invariant wrt box context - // - // They do *not* work for display: inline objects that have padding styles - // because the user agent ignores padding (it's bogus styling in any case) - // - // Be careful with IMGs because they are inline or block depending on - // browser and browser mode. - - // Although it would be easier to read, there are not separate versions of - // _getMarginBox for each browser because: - // 1. the branching is not expensive - // 2. factoring the shared code wastes cycles (function call overhead) - // 3. duplicating the shared code wastes bytes - - dojo._getMarginBox = function(/*DomNode*/node, /*Object*/computedStyle){ - // summary: - // returns an object that encodes the width, height, left and top - // positions of the node's margin box. - var s = computedStyle||gcs(node), me = d._getMarginExtents(node, s); - var l = node.offsetLeft - me.l, t = node.offsetTop - me.t; - if(d.isMoz){ - // Mozilla: - // If offsetParent has a computed overflow != visible, the offsetLeft is decreased - // by the parent's border. - // We don't want to compute the parent's style, so instead we examine node's - // computed left/top which is more stable. - var sl = parseFloat(s.left), st = parseFloat(s.top); - if(!isNaN(sl) && !isNaN(st)){ - l = sl, t = st; - }else{ - // If child's computed left/top are not parseable as a number (e.g. "auto"), we - // have no choice but to examine the parent's computed style. - var p = node.parentNode; - if(p && p.style){ - var pcs = gcs(p); - if(pcs.overflow != "visible"){ - var be = d._getBorderExtents(p, pcs); - l += be.l, t += be.t; - } - } - } - }else if(d.isOpera){ - // On Opera, offsetLeft includes the parent's border - var p = node.parentNode; - if(p){ - var be = d._getBorderExtents(p); - l -= be.l, t -= be.t; - } - } - return { - l: l, - t: t, - w: node.offsetWidth + me.w, - h: node.offsetHeight + me.h - }; - } - - dojo._getContentBox = function(node, computedStyle){ - // summary: - // Returns an object that encodes the width, height, left and top - // positions of the node's content box, irrespective of the - // current box model. - - // clientWidth/Height are important since the automatically account for scrollbars - // fallback to offsetWidth/Height for special cases (see #3378) - var s=computedStyle||gcs(node), pe=d._getPadExtents(node, s), be=d._getBorderExtents(node, s), w=node.clientWidth, h; - if(!w){ - w=node.offsetWidth, h=node.offsetHeight; - }else{ - h=node.clientHeight, be.w = be.h = 0; - } - // On Opera, offsetLeft includes the parent's border - if(d.isOpera){ pe.l += be.l; pe.t += be.t; }; - return { - l: pe.l, - t: pe.t, - w: w - pe.w - be.w, - h: h - pe.h - be.h - }; - } - - dojo._getBorderBox = function(node, computedStyle){ - var s=computedStyle||gcs(node), pe=d._getPadExtents(node, s), cb=d._getContentBox(node, s); - return { - l: cb.l - pe.l, - t: cb.t - pe.t, - w: cb.w + pe.w, - h: cb.h + pe.h - }; - } - - // Box setters depend on box context because interpretation of width/height styles - // vary wrt box context. - // - // The value of dojo.boxModel is used to determine box context. - // dojo.boxModel can be set directly to change behavior. - // - // Beware of display: inline objects that have padding styles - // because the user agent ignores padding (it's a bogus setup anyway) - // - // Be careful with IMGs because they are inline or block depending on - // browser and browser mode. - // - // Elements other than DIV may have special quirks, like built-in - // margins or padding, or values not detectable via computedStyle. - // In particular, margins on TABLE do not seems to appear - // at all in computedStyle on Mozilla. - - dojo._setBox = function(/*DomNode*/node, /*Number?*/l, /*Number?*/t, /*Number?*/w, /*Number?*/h, /*String?*/u){ - // summary: - // sets width/height/left/top in the current (native) box-model - // dimentions. Uses the unit passed in u. - // node: DOM Node reference. Id string not supported for performance reasons. - // l: optional. left offset from parent. - // t: optional. top offset from parent. - // w: optional. width in current box model. - // h: optional. width in current box model. - // u: optional. unit measure to use for other measures. Defaults to "px". - u = u || "px"; - var s = node.style; - if(!isNaN(l)){ s.left = l+u; } - if(!isNaN(t)){ s.top = t+u; } - if(w>=0){ s.width = w+u; } - if(h>=0){ s.height = h+u; } - } - - dojo._usesBorderBox = function(/*DomNode*/node){ - // summary: - // True if the node uses border-box layout. - - // We could test the computed style of node to see if a particular box - // has been specified, but there are details and we choose not to bother. - var n = node.tagName; - // For whatever reason, TABLE and BUTTON are always border-box by default. - // If you have assigned a different box to either one via CSS then - // box functions will break. - return d.boxModel=="border-box" || n=="TABLE" || n=="BUTTON"; // boolean - } - - dojo._setContentSize = function(/*DomNode*/node, /*Number*/widthPx, /*Number*/heightPx, /*Object*/computedStyle){ - // summary: - // Sets the size of the node's contents, irrespective of margins, - // padding, or borders. - if(d._usesBorderBox(node)){ - var pb = d._getPadBorderExtents(node, computedStyle); - if(widthPx >= 0){ widthPx += pb.w; } - if(heightPx >= 0){ heightPx += pb.h; } - } - d._setBox(node, NaN, NaN, widthPx, heightPx); - } - - dojo._setMarginBox = function(/*DomNode*/node, /*Number?*/leftPx, /*Number?*/topPx, - /*Number?*/widthPx, /*Number?*/heightPx, - /*Object*/computedStyle){ - // summary: - // sets the size of the node's margin box and placement - // (left/top), irrespective of box model. Think of it as a - // passthrough to dojo._setBox that handles box-model vagaries for - // you. - - var s = computedStyle||gcs(node); - // Some elements have special padding, margin, and box-model settings. - // To use box functions you may need to set padding, margin explicitly. - // Controlling box-model is harder, in a pinch you might set dojo.boxModel. - var bb=d._usesBorderBox(node), - pb=bb ? _nilExtents : d._getPadBorderExtents(node, s), - mb=d._getMarginExtents(node, s); - if(widthPx>=0){ widthPx = Math.max(widthPx - pb.w - mb.w, 0); } - if(heightPx>=0){ heightPx = Math.max(heightPx - pb.h - mb.h, 0); } - d._setBox(node, leftPx, topPx, widthPx, heightPx); - } - - var _nilExtents = { l:0, t:0, w:0, h:0 }; - - // public API - - dojo.marginBox = function(/*DomNode|String*/node, /*Object?*/box){ - // summary: - // Getter/setter for the margin-box of node. - // description: - // Returns an object in the expected format of box (regardless - // if box is passed). The object might look like: - // `{ l: 50, t: 200, w: 300: h: 150 }` - // for a node offset from its parent 50px to the left, 200px from - // the top with a margin width of 300px and a margin-height of - // 150px. - // node: - // id or reference to DOM Node to get/set box for - // box: - // If passed, denotes that dojo.marginBox() should - // update/set the margin box for node. Box is an object in the - // above format. All properties are optional if passed. - var n=d.byId(node), s=gcs(n), b=box; - return !b ? d._getMarginBox(n, s) : d._setMarginBox(n, b.l, b.t, b.w, b.h, s); // Object - } - - dojo.contentBox = function(/*DomNode|String*/node, /*Object?*/box){ - // summary: - // Getter/setter for the content-box of node. - // description: - // Returns an object in the expected format of box (regardless if box is passed). - // The object might look like: - // `{ l: 50, t: 200, w: 300: h: 150 }` - // for a node offset from its parent 50px to the left, 200px from - // the top with a content width of 300px and a content-height of - // 150px. Note that the content box may have a much larger border - // or margin box, depending on the box model currently in use and - // CSS values set/inherited for node. - // node: - // id or reference to DOM Node to get/set box for - // box: - // If passed, denotes that dojo.contentBox() should - // update/set the content box for node. Box is an object in the - // above format. All properties are optional if passed. - var n=dojo.byId(node), s=gcs(n), b=box; - return !b ? d._getContentBox(n, s) : d._setContentSize(n, b.w, b.h, s); // Object - } - - // ============================= - // Positioning - // ============================= - - var _sumAncestorProperties = function(node, prop){ - if(!(node = (node||0).parentNode)){return 0}; - var val, retVal = 0, _b = d.body(); - while(node && node.style){ - if(gcs(node).position == "fixed"){ - return 0; - } - val = node[prop]; - if(val){ - retVal += val - 0; - // opera and khtml #body & #html has the same values, we only - // need one value - if(node == _b){ break; } - } - node = node.parentNode; - } - return retVal; // integer - } - - dojo._docScroll = function(){ - var - _b = d.body(), - _w = d.global, - de = d.doc.documentElement; - return { - y: (_w.pageYOffset || de.scrollTop || _b.scrollTop || 0), - x: (_w.pageXOffset || d._fixIeBiDiScrollLeft(de.scrollLeft) || _b.scrollLeft || 0) - }; - }; - - dojo._isBodyLtr = function(){ - //FIXME: could check html and body tags directly instead of computed style? need to ignore case, accept empty values - return !("_bodyLtr" in d) ? - d._bodyLtr = gcs(d.body()).direction == "ltr" : - d._bodyLtr; // Boolean - } - - dojo._getIeDocumentElementOffset = function(){ - // summary - // The following values in IE contain an offset: - // event.clientX - // event.clientY - // node.getBoundingClientRect().left - // node.getBoundingClientRect().top - // But other position related values do not contain this offset, such as - // node.offsetLeft, node.offsetTop, node.style.left and node.style.top. - // The offset is always (2, 2) in LTR direction. When the body is in RTL - // direction, the offset counts the width of left scroll bar's width. - // This function computes the actual offset. - - //NOTE: assumes we're being called in an IE browser - - var de = d.doc.documentElement; - //FIXME: use this instead? var de = d.compatMode == "BackCompat" ? d.body : d.documentElement; - - return (d.isIE >= 7) ? - {x: de.getBoundingClientRect().left, y: de.getBoundingClientRect().top} - : - // IE 6.0 - {x: d._isBodyLtr() || window.parent == window ? - de.clientLeft : de.offsetWidth - de.clientWidth - de.clientLeft, - y: de.clientTop}; // Object - }; - - dojo._fixIeBiDiScrollLeft = function(/*Integer*/ scrollLeft){ - // In RTL direction, scrollLeft should be a negative value, but IE - // returns a positive one. All codes using documentElement.scrollLeft - // must call this function to fix this error, otherwise the position - // will offset to right when there is a horizontal scrollbar. - var dd = d.doc; - if(d.isIE && !dojo._isBodyLtr()){ - var de = dd.compatMode == "BackCompat" ? dd.body : dd.documentElement; - return scrollLeft + de.clientWidth - de.scrollWidth; // Integer - } - return scrollLeft; // Integer - } - - dojo._abs = function(/*DomNode*/node, /*Boolean?*/includeScroll){ - // summary: - // Gets the position of the passed element relative to - // the viewport (if includeScroll==false), or relative to the - // document root (if includeScroll==true). - // - // Returns an object of the form: - // { x: 100, y: 300 } - // if includeScroll is passed, the x and y values will include any - // document offsets that may affect the position relative to the - // viewport. - - // FIXME: need to decide in the brave-new-world if we're going to be - // margin-box or border-box. - var ownerDocument = node.ownerDocument; - var ret = { - x: 0, - y: 0 - }; - - // targetBoxType == "border-box" - var db = d.body(); - if(d.isIE || (d.isFF >= 3)){ - var client = node.getBoundingClientRect(); - var offset = (d.isIE) ? d._getIeDocumentElementOffset() : { x: 0, y: 0}; - ret.x = client.left - offset.x; - ret.y = client.top - offset.y; - }else if(ownerDocument["getBoxObjectFor"]){ - // mozilla - var bo = ownerDocument.getBoxObjectFor(node), - b = d._getBorderExtents(node); - ret.x = bo.x - b.l - _sumAncestorProperties(node, "scrollLeft"); - ret.y = bo.y - b.t - _sumAncestorProperties(node, "scrollTop"); - }else{ - if(node["offsetParent"]){ - var endNode; - // in Safari, if the node is an absolutely positioned child of - // the body and the body has a margin the offset of the child - // and the body contain the body's margins, so we need to end - // at the body - // FIXME: getting contrary results to the above in latest WebKit. - if(d.isSafari && - //(node.style.getPropertyValue("position") == "absolute") && - (gcs(node).position == "absolute") && - (node.parentNode == db)){ - endNode = db; - }else{ - endNode = db.parentNode; - } - if(node.parentNode != db){ - var nd = node; - if(d.isOpera){ nd = db; } - ret.x -= _sumAncestorProperties(nd, "scrollLeft"); - ret.y -= _sumAncestorProperties(nd, "scrollTop"); - } - var curnode = node; - do{ - var n = curnode.offsetLeft; - //FIXME: ugly hack to workaround the submenu in - //popupmenu2 does not shown up correctly in opera. - //Someone have a better workaround? - if(!d.isOpera || n > 0){ - ret.x += isNaN(n) ? 0 : n; - } - var t = curnode.offsetTop; - ret.y += isNaN(t) ? 0 : t; - if(d.isSafari && curnode != node){ - var cs = gcs(curnode); - ret.x += px(curnode, cs.borderLeftWidth); - ret.y += px(curnode, cs.borderTopWidth); - } - curnode = curnode.offsetParent; - }while((curnode != endNode) && curnode); - }else if(node.x && node.y){ - ret.x += isNaN(node.x) ? 0 : node.x; - ret.y += isNaN(node.y) ? 0 : node.y; - } - } - // account for document scrolling - // if offsetParent is used, ret value already includes scroll position - // so we may have to actually remove that value if !includeScroll - if(includeScroll){ - var scroll = d._docScroll(); - ret.y += scroll.y; - ret.x += scroll.x; - } - - return ret; // object - } - - // FIXME: need a setter for coords or a moveTo!! - dojo.coords = function(/*DomNode|String*/node, /*Boolean?*/includeScroll){ - // summary: - // Returns an object that measures margin box width/height and - // absolute positioning data from dojo._abs(). - // - // description: - // Returns an object that measures margin box width/height and - // absolute positioning data from dojo._abs(). - // Return value will be in the form: - // `{ l: 50, t: 200, w: 300: h: 150, x: 100, y: 300 }` - // Does not act as a setter. If includeScroll is passed, the x and - // y params are affected as one would expect in dojo._abs(). - var n=d.byId(node), s=gcs(n), mb=d._getMarginBox(n, s); - var abs = d._abs(n, includeScroll); - mb.x = abs.x; - mb.y = abs.y; - return mb; - } - - // ============================= - // Element attribute Functions - // ============================= - - var _fixAttrName = function(/*String*/name){ - switch(name.toLowerCase()){ - case "tabindex": - // Internet Explorer will only set or remove tabindex - // if it is spelled "tabIndex" - // console.debug((dojo.isIE && dojo.isIE < 8)? "tabIndex" : "tabindex"); - return (d.isIE && d.isIE < 8) ? "tabIndex" : "tabindex"; - default: - return name; - } - } - - // non-deprecated HTML4 attributes with default values - // http://www.w3.org/TR/html401/index/attributes.html - // FF and Safari will return the default values if you - // access the attributes via a property but not - // via getAttribute() - var _attrProps = { - colspan: "colSpan", - enctype: "enctype", - frameborder: "frameborder", - method: "method", - rowspan: "rowSpan", - scrolling: "scrolling", - shape: "shape", - span: "span", - type: "type", - valuetype: "valueType" - } - - dojo.hasAttr = function(/*DomNode|String*/node, /*String*/name){ - // summary: - // Returns true if the requested attribute is specified on the - // given element, and false otherwise. - // node: - // id or reference to the element to check - // name: - // the name of the attribute - // returns: - // true if the requested attribute is specified on the - // given element, and false otherwise - var attr = d.byId(node).getAttributeNode(_fixAttrName(name)); - return attr ? attr.specified : false; // Boolean - } - - var _evtHdlrMap = { - - } - - var _ctr = 0; - var _attrId = dojo._scopeName + "attrid"; - - dojo.attr = function(/*DomNode|String*/node, /*String|Object*/name, /*String?*/value){ - // summary: - // Gets or sets an attribute on an HTML element. - // description: - // Handles normalized getting and setting of attributes on DOM - // Nodes. If 2 arguments are passed, and a the second argumnt is a - // string, acts as a getter. - // - // If a third argument is passed, or if the second argumnt is a - // map of attributes, acts as a setter. - // - // When passing functions as values, note that they will not be - // directly assigned to slots on the node, but rather the default - // behavior will be removed and the new behavior will be added - // using `dojo.connect()`, meaning that event handler properties - // will be normalized and that some caveats with regards to - // non-standard behaviors for onsubmit apply. Namely that you - // should cancel form submission using `dojo.stopEvent()` on the - // passed event object instead of returning a boolean value from - // the handler itself. - // node: - // id or reference to the element to get or set the attribute on - // name: - // the name of the attribute to get or set. - // value: - // The value to set for the attribute - // returns: - // when used as a getter, the value of the requested attribute - // or null if that attribute does not have a specified or - // default value; - // - // when user as a setter, undefined - // example: - // | // get the current value of the "foo" attribute on a node - // | dojo.attr(dojo.byId("nodeId"), "foo"); - // | - // | // we can just pass the id: - // | dojo.attr("nodeId", "foo"); - // | - // | // use attr() to set the tab index - // | dojo.attr("nodeId", "tabindex", 3); - // | - // | // set multiple values at once, including event handlers: - // | dojo.attr("formId", { - // | "foo": "bar", - // | "tabindex": -1, - // | "method": "POST", - // | "onsubmit": function(e){ - // | // stop submitting the form. Note that the IE behavior - // | // of returning true or false will have no effect here - // | // since our handler is connect()ed to the built-in - // | // onsubmit behavior and so we need to use - // | // dojo.stopEvent() to ensure that the submission - // | // doesn't proceed. - // | dojo.stopEvent(e); - // | - // | // submit the form with Ajax - // | dojo.xhrPost({ form: "formId" }); - // | } - // | }); - - var args = arguments.length; - if(args == 2 && !d.isString(name)){ - for(var x in name){ d.attr(node, x, name[x]); } - return; - } - node = d.byId(node); - name = _fixAttrName(name); - if(args == 3){ - if(d.isFunction(value)){ - // clobber if we can - var attrId = d.attr(node, _attrId); - if(!attrId){ - attrId = _ctr++; - d.attr(node, _attrId, attrId); - } - if(!_evtHdlrMap[attrId]){ - _evtHdlrMap[attrId] = {}; - } - var h = _evtHdlrMap[attrId][name]; - if(h){ - d.disconnect(h); - }else{ - try{ - delete node[name]; - }catch(e){} - } - - // ensure that event objects are normalized, etc. - _evtHdlrMap[attrId][name] = d.connect(node, name, value); - - }else if(typeof value == "boolean"){ // e.g. onsubmit, disabled - // if a function, we should normalize the event object here!!! - node[name] = value; - }else{ - node.setAttribute(name, value); - } - return; - }else{ - // should we access this attribute via a property or - // via getAttribute()? - var prop = _attrProps[name.toLowerCase()]; - if(prop){ - return node[prop]; - }else{ - var value = node[name]; - return (typeof value == 'boolean' || typeof value == 'function') ? value : (d.hasAttr(node, name) ? node.getAttribute(name) : null); - } - } - } - - dojo.removeAttr = function(/*DomNode|String*/node, /*String*/name){ - // summary: - // Removes an attribute from an HTML element. - // node: - // id or reference to the element to remove the attribute from - // name: - // the name of the attribute to remove - d.byId(node).removeAttribute(_fixAttrName(name)); - } -})(); - -// ============================= -// (CSS) Class Functions -// ============================= - -dojo.hasClass = function(/*DomNode|String*/node, /*String*/classStr){ - // summary: - // Returns whether or not the specified classes are a portion of the - // class list currently applied to the node. - return ((" "+dojo.byId(node).className+" ").indexOf(" "+classStr+" ") >= 0); // Boolean -}; - -dojo.addClass = function(/*DomNode|String*/node, /*String*/classStr){ - // summary: - // Adds the specified classes to the end of the class list on the - // passed node. - node = dojo.byId(node); - var cls = node.className; - if((" "+cls+" ").indexOf(" "+classStr+" ") < 0){ - node.className = cls + (cls ? ' ' : '') + classStr; - } -}; - -dojo.removeClass = function(/*DomNode|String*/node, /*String*/classStr){ - // summary: Removes the specified classes from node. - node = dojo.byId(node); - var t = dojo.trim((" " + node.className + " ").replace(" " + classStr + " ", " ")); - if(node.className != t){ node.className = t; } -}; - -dojo.toggleClass = function(/*DomNode|String*/node, /*String*/classStr, /*Boolean?*/condition){ - // summary: - // Adds a class to node if not present, or removes if present. - // Pass a boolean condition if you want to explicitly add or remove. - // condition: - // If passed, true means to add the class, false means to remove. - if(condition === undefined){ - condition = !dojo.hasClass(node, classStr); - } - dojo[condition ? "addClass" : "removeClass"](node, classStr); -}; - -} diff --git a/includes/js/dojo/_base/json.js b/includes/js/dojo/_base/json.js deleted file mode 100644 index 55d8035..0000000 --- a/includes/js/dojo/_base/json.js +++ /dev/null @@ -1,137 +0,0 @@ -if(!dojo._hasResource["dojo._base.json"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.json"] = true; -dojo.provide("dojo._base.json"); - -dojo.fromJson = function(/*String*/ json){ - // summary: - // Parses a [JSON](http://json.org) string to return a JavaScript object. - // json: - // a string literal of a JSON item, for instance: - // `'{ "foo": [ "bar", 1, { "baz": "thud" } ] }'` - - return eval("(" + json + ")"); // Object -} - -dojo._escapeString = function(/*String*/str){ - //summary: - // Adds escape sequences for non-visual characters, double quote and - // backslash and surrounds with double quotes to form a valid string - // literal. - return ('"' + str.replace(/(["\\])/g, '\\$1') + '"'). - replace(/[\f]/g, "\\f").replace(/[\b]/g, "\\b").replace(/[\n]/g, "\\n"). - replace(/[\t]/g, "\\t").replace(/[\r]/g, "\\r"); // string -} - -dojo.toJsonIndentStr = "\t"; -dojo.toJson = function(/*Object*/ it, /*Boolean?*/ prettyPrint, /*String?*/ _indentStr){ - // summary: - // Returns a [JSON](http://json.org) serialization of an object. - // - // description: - // Returns a [JSON](http://json.org) serialization of an object. - // Note that this doesn't check for infinite recursion, so don't do that! - // - // it: - // an object to be serialized. Objects may define their own - // serialization via a special "__json__" or "json" function - // property. If a specialized serializer has been defined, it will - // be used as a fallback. - // - // prettyPrint: - // if true, we indent objects and arrays to make the output prettier. - // The variable dojo.toJsonIndentStr is used as the indent string - // -- to use something other than the default (tab), - // change that variable before calling dojo.toJson(). - // - // _indentStr: - // private variable for recursive calls when pretty printing, do not use. - - if(it === undefined){ - return "undefined"; - } - var objtype = typeof it; - if(objtype == "number" || objtype == "boolean"){ - return it + ""; - } - if(it === null){ - return "null"; - } - if(dojo.isString(it)){ - return dojo._escapeString(it); - } - if(it.nodeType && it.cloneNode){ // isNode - return ""; // FIXME: would something like outerHTML be better here? - } - // recurse - var recurse = arguments.callee; - // short-circuit for objects that support "json" serialization - // if they return "self" then just pass-through... - var newObj; - _indentStr = _indentStr || ""; - var nextIndent = prettyPrint ? _indentStr + dojo.toJsonIndentStr : ""; - if(typeof it.__json__ == "function"){ - newObj = it.__json__(); - if(it !== newObj){ - return recurse(newObj, prettyPrint, nextIndent); - } - } - if(typeof it.json == "function"){ - newObj = it.json(); - if(it !== newObj){ - return recurse(newObj, prettyPrint, nextIndent); - } - } - - var sep = prettyPrint ? " " : ""; - var newLine = prettyPrint ? "\n" : ""; - - // array - if(dojo.isArray(it)){ - var res = dojo.map(it, function(obj){ - var val = recurse(obj, prettyPrint, nextIndent); - if(typeof val != "string"){ - val = "undefined"; - } - return newLine + nextIndent + val; - }); - return "[" + res.join("," + sep) + newLine + _indentStr + "]"; - } - /* - // look in the registry - try { - window.o = it; - newObj = dojo.json.jsonRegistry.match(it); - return recurse(newObj, prettyPrint, nextIndent); - }catch(e){ - // console.debug(e); - } - // it's a function with no adapter, skip it - */ - if(objtype == "function"){ - return null; // null - } - // generic object code path - var output = []; - for(var key in it){ - var keyStr; - if(typeof key == "number"){ - keyStr = '"' + key + '"'; - }else if(typeof key == "string"){ - keyStr = dojo._escapeString(key); - }else{ - // skip non-string or number keys - continue; - } - val = recurse(it[key], prettyPrint, nextIndent); - if(typeof val != "string"){ - // skip non-serializable values - continue; - } - // FIXME: use += on Moz!! - // MOW NOTE: using += is a pain because you have to account for the dangling comma... - output.push(newLine + nextIndent + keyStr + ":" + sep + val); - } - return "{" + output.join("," + sep) + newLine + _indentStr + "}"; // String -} - -} diff --git a/includes/js/dojo/_base/lang.js b/includes/js/dojo/_base/lang.js deleted file mode 100644 index feedc21..0000000 --- a/includes/js/dojo/_base/lang.js +++ /dev/null @@ -1,257 +0,0 @@ -if(!dojo._hasResource["dojo._base.lang"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.lang"] = true; -dojo.provide("dojo._base.lang"); - -// Crockford (ish) functions - -dojo.isString = function(/*anything*/ it){ - // summary: - // Return true if it is a String - return !!arguments.length && it != null && (typeof it == "string" || it instanceof String); // Boolean -} - -dojo.isArray = function(/*anything*/ it){ - // summary: - // Return true if it is an Array - return it && (it instanceof Array || typeof it == "array"); // Boolean -} - -/*===== -dojo.isFunction = function(it){ - // summary: Return true if it is a Function - // it: anything - // return: Boolean -} -=====*/ - -dojo.isFunction = (function(){ - var _isFunction = function(/*anything*/ it){ - return it && (typeof it == "function" || it instanceof Function); // Boolean - }; - - return dojo.isSafari ? - // only slow this down w/ gratuitious casting in Safari since it's what's b0rken - function(/*anything*/ it){ - if(typeof it == "function" && it == "[object NodeList]"){ return false; } - return _isFunction(it); // Boolean - } : _isFunction; -})(); - -dojo.isObject = function(/*anything*/ it){ - // summary: - // Returns true if it is a JavaScript object (or an Array, a Function - // or null) - return it !== undefined && - (it === null || typeof it == "object" || dojo.isArray(it) || dojo.isFunction(it)); // Boolean -} - -dojo.isArrayLike = function(/*anything*/ it){ - // summary: - // similar to dojo.isArray() but more permissive - // description: - // Doesn't strongly test for "arrayness". Instead, settles for "isn't - // a string or number and has a length property". Arguments objects - // and DOM collections will return true when passed to - // dojo.isArrayLike(), but will return false when passed to - // dojo.isArray(). - // return: - // If it walks like a duck and quicks like a duck, return `true` - var d = dojo; - return it && it !== undefined && - // keep out built-in constructors (Number, String, ...) which have length - // properties - !d.isString(it) && !d.isFunction(it) && - !(it.tagName && it.tagName.toLowerCase() == 'form') && - (d.isArray(it) || isFinite(it.length)); // Boolean -} - -dojo.isAlien = function(/*anything*/ it){ - // summary: - // Returns true if it is a built-in function or some other kind of - // oddball that *should* report as a function but doesn't - return it && !dojo.isFunction(it) && /\{\s*\[native code\]\s*\}/.test(String(it)); // Boolean -} - -dojo.extend = function(/*Object*/ constructor, /*Object...*/ props){ - // summary: - // Adds all properties and methods of props to constructor's - // prototype, making them available to all instances created with - // constructor. - for(var i=1, l=arguments.length; i 2){ - return dojo._hitchArgs.apply(dojo, arguments); // Function - } - if(!method){ - method = scope; - scope = null; - } - if(dojo.isString(method)){ - scope = scope || dojo.global; - if(!scope[method]){ throw(['dojo.hitch: scope["', method, '"] is null (scope="', scope, '")'].join('')); } - return function(){ return scope[method].apply(scope, arguments || []); }; // Function - } - return !scope ? method : function(){ return method.apply(scope, arguments || []); }; // Function -} - -/*===== -dojo.delegate = function(obj, props){ - // summary: - // returns a new object which "looks" to obj for properties which it - // does not have a value for. Optionally takes a bag of properties to - // seed the returned object with initially. - // description: - // This is a small implementaton of the Boodman/Crockford delegation - // pattern in JavaScript. An intermediate object constructor mediates - // the prototype chain for the returned object, using it to delegate - // down to obj for property lookup when object-local lookup fails. - // This can be thought of similarly to ES4's "wrap", save that it does - // not act on types but rather on pure objects. - // obj: - // The object to delegate to for properties not found directly on the - // return object or in props. - // props: - // an object containing properties to assign to the returned object - // returns: - // an Object of anonymous type - // example: - // | var foo = { bar: "baz" }; - // | var thinger = dojo.delegate(foo, { thud: "xyzzy"}); - // | thinger.bar == "baz"; // delegated to foo - // | foo.thud == undefined; // by definition - // | thinger.thud == "xyzzy"; // mixed in from props - // | foo.bar = "thonk"; - // | thinger.bar == "thonk"; // still delegated to foo's bar -} -=====*/ - - -dojo.delegate = dojo._delegate = function(obj, props){ - - // boodman/crockford delegation - function TMP(){}; - TMP.prototype = obj; - var tmp = new TMP(); - if(props){ - dojo.mixin(tmp, props); - } - return tmp; // Object -} - -dojo.partial = function(/*Function|String*/method /*, ...*/){ - // summary: - // similar to hitch() except that the scope object is left to be - // whatever the execution context eventually becomes. - // description: - // Calling dojo.partial is the functional equivalent of calling: - // | dojo.hitch(null, funcName, ...); - var arr = [ null ]; - return dojo.hitch.apply(dojo, arr.concat(dojo._toArray(arguments))); // Function -} - -dojo._toArray = function(/*Object*/obj, /*Number?*/offset, /*Array?*/ startWith){ - // summary: - // Converts an array-like object (i.e. arguments, DOMCollection) to an - // array. Returns a new Array with the elements of obj. - // obj: - // the object to "arrayify". We expect the object to have, at a - // minimum, a length property which corresponds to integer-indexed - // properties. - // offset: - // the location in obj to start iterating from. Defaults to 0. - // Optional. - // startWith: - // An array to pack with the properties of obj. If provided, - // properties in obj are appended at the end of startWith and - // startWith is the returned array. - var arr = startWith||[]; - for(var x = offset || 0; x < obj.length; x++){ - arr.push(obj[x]); - } - return arr; // Array -} - -dojo.clone = function(/*anything*/ o){ - // summary: - // Clones objects (including DOM nodes) and all children. - // Warning: do not clone cyclic structures. - if(!o){ return o; } - if(dojo.isArray(o)){ - var r = []; - for(var i = 0; i < o.length; ++i){ - r.push(dojo.clone(o[i])); - } - return r; // Array - } - if(!dojo.isObject(o)){ - return o; /*anything*/ - } - if(o.nodeType && o.cloneNode){ // isNode - return o.cloneNode(true); // Node - } - if(o instanceof Date){ - return new Date(o.getTime()); // Date - } - // Generic objects - var r = new o.constructor(); // specific to dojo.declare()'d classes! - for(var i in o){ - if(!(i in r) || r[i] != o[i]){ - r[i] = dojo.clone(o[i]); - } - } - return r; // Object -} - -dojo.trim = function(/*String*/ str){ - // summary: - // trims whitespaces from both sides of the string - // description: - // This version of trim() was selected for inclusion into the base due - // to its compact size and relatively good performance (see Steven - // Levithan's blog: - // http://blog.stevenlevithan.com/archives/faster-trim-javascript). - // The fastest but longest version of this function is located at - // dojo.string.trim() - return str.replace(/^\s\s*/, '').replace(/\s\s*$/, ''); // String -} - -} diff --git a/includes/js/dojo/_base/query.js b/includes/js/dojo/_base/query.js deleted file mode 100644 index 8743df8..0000000 --- a/includes/js/dojo/_base/query.js +++ /dev/null @@ -1,1191 +0,0 @@ -if(!dojo._hasResource["dojo._base.query"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.query"] = true; -dojo.provide("dojo._base.query"); -dojo.require("dojo._base.NodeList"); - -/* - dojo.query() architectural overview: - - dojo.query is a relatively full-featured CSS3 query library. It is - designed to take any valid CSS3 selector and return the nodes matching - the selector. To do this quickly, it processes queries in several - steps, applying caching where profitable. - - The steps (roughly in reverse order of the way they appear in the code): - 1.) check to see if we already have a "query dispatcher" - - if so, use that with the given parameterization. Skip to step 4. - 2.) attempt to determine which branch to dispatch the query to: - - JS (optimized DOM iteration) - - xpath (for browsers that support it and where it's fast) - - native (not available in any browser yet) - 3.) tokenize and convert to executable "query dispatcher" - - this is where the lion's share of the complexity in the - system lies. In the DOM version, the query dispatcher is - assembled as a chain of "yes/no" test functions pertaining to - a section of a simple query statement (".blah:nth-child(odd)" - but not "div div", which is 2 simple statements). Individual - statement dispatchers are cached (to prevent re-definition) - as are entire dispatch chains (to make re-execution of the - same query fast) - - in the xpath path, tokenization yeilds a concatenation of - parameterized xpath selectors. As with the DOM version, both - simple selector blocks and overall evaluators are cached to - prevent re-defintion - 4.) the resulting query dispatcher is called in the passed scope (by default the top-level document) - - for DOM queries, this results in a recursive, top-down - evaluation of nodes based on each simple query section - - xpath queries can, thankfully, be executed in one shot - 5.) matched nodes are pruned to ensure they are unique -*/ - -;(function(){ - // define everything in a closure for compressability reasons. "d" is an - // alias to "dojo" since it's so frequently used. This seems a - // transformation that the build system could perform on a per-file basis. - - //////////////////////////////////////////////////////////////////////// - // Utility code - //////////////////////////////////////////////////////////////////////// - - var d = dojo; - var childNodesName = dojo.isIE ? "children" : "childNodes"; - var caseSensitive = false; - - var getQueryParts = function(query){ - // summary: state machine for query tokenization - if(">~+".indexOf(query.charAt(query.length-1)) >= 0){ - query += " *" - } - query += " "; // ensure that we terminate the state machine - - var ts = function(s, e){ - return d.trim(query.slice(s, e)); - } - - // the overall data graph of the full query, as represented by queryPart objects - var qparts = []; - // state keeping vars - var inBrackets = -1; - var inParens = -1; - var inMatchFor = -1; - var inPseudo = -1; - var inClass = -1; - var inId = -1; - var inTag = -1; - var lc = ""; // the last character - var cc = ""; // the current character - var pStart; - // iteration vars - var x = 0; // index in the query - var ql = query.length; - var currentPart = null; // data structure representing the entire clause - var _cp = null; // the current pseudo or attr matcher - - var endTag = function(){ - if(inTag >= 0){ - var tv = (inTag == x) ? null : ts(inTag, x).toLowerCase(); - currentPart[ (">~+".indexOf(tv) < 0) ? "tag" : "oper" ] = tv; - inTag = -1; - } - } - - var endId = function(){ - if(inId >= 0){ - currentPart.id = ts(inId, x).replace(/\\/g, ""); - inId = -1; - } - } - - var endClass = function(){ - if(inClass >= 0){ - currentPart.classes.push(ts(inClass+1, x).replace(/\\/g, "")); - inClass = -1; - } - } - - var endAll = function(){ - endId(); endTag(); endClass(); - } - - for(; lc=cc, cc=query.charAt(x),x= 0){ - // look for a the close first - if(cc == "]"){ - if(!_cp.attr){ - _cp.attr = ts(inBrackets+1, x); - }else{ - _cp.matchFor = ts((inMatchFor||inBrackets+1), x); - } - var cmf = _cp.matchFor; - if(cmf){ - if( (cmf.charAt(0) == '"') || (cmf.charAt(0) == "'") ){ - _cp.matchFor = cmf.substring(1, cmf.length-1); - } - } - currentPart.attrs.push(_cp); - _cp = null; // necessaray? - inBrackets = inMatchFor = -1; - }else if(cc == "="){ - var addToCc = ("|~^$*".indexOf(lc) >=0 ) ? lc : ""; - _cp.type = addToCc+cc; - _cp.attr = ts(inBrackets+1, x-addToCc.length); - inMatchFor = x+1; - } - // now look for other clause parts - }else if(inParens >= 0){ - if(cc == ")"){ - if(inPseudo >= 0){ - _cp.value = ts(inParens+1, x); - } - inPseudo = inParens = -1; - } - }else if(cc == "#"){ - endAll(); - inId = x+1; - }else if(cc == "."){ - endAll(); - inClass = x; - }else if(cc == ":"){ - endAll(); - inPseudo = x; - }else if(cc == "["){ - endAll(); - inBrackets = x; - _cp = { - /*===== - attr: null, type: null, matchFor: null - =====*/ - }; - }else if(cc == "("){ - if(inPseudo >= 0){ - _cp = { - name: ts(inPseudo+1, x), - value: null - } - currentPart.pseudos.push(_cp); - } - inParens = x; - }else if(cc == " " && lc != cc){ - // note that we expect the string to be " " terminated - endAll(); - if(inPseudo >= 0){ - currentPart.pseudos.push({ name: ts(inPseudo+1, x) }); - } - currentPart.hasLoops = ( - currentPart.pseudos.length || - currentPart.attrs.length || - currentPart.classes.length ); - currentPart.query = ts(pStart, x); - currentPart.tag = (currentPart["oper"]) ? null : (currentPart.tag || "*"); - qparts.push(currentPart); - currentPart = null; - } - } - return qparts; - }; - - - //////////////////////////////////////////////////////////////////////// - // XPath query code - //////////////////////////////////////////////////////////////////////// - - // this array is a lookup used to generate an attribute matching function. - // There is a similar lookup/generator list for the DOM branch with similar - // calling semantics. - var xPathAttrs = { - "*=": function(attr, value){ - return "[contains(@"+attr+", '"+ value +"')]"; - }, - "^=": function(attr, value){ - return "[starts-with(@"+attr+", '"+ value +"')]"; - }, - "$=": function(attr, value){ - return "[substring(@"+attr+", string-length(@"+attr+")-"+(value.length-1)+")='"+value+"']"; - }, - "~=": function(attr, value){ - return "[contains(concat(' ',@"+attr+",' '), ' "+ value +" ')]"; - }, - "|=": function(attr, value){ - return "[contains(concat(' ',@"+attr+",' '), ' "+ value +"-')]"; - }, - "=": function(attr, value){ - return "[@"+attr+"='"+ value +"']"; - } - }; - - // takes a list of attribute searches, the overall query, a function to - // generate a default matcher, and a closure-bound method for providing a - // matching function that generates whatever type of yes/no distinguisher - // the query method needs. The method is a bit tortured and hard to read - // because it needs to be used in both the XPath and DOM branches. - var handleAttrs = function( attrList, - query, - getDefault, - handleMatch){ - d.forEach(query.attrs, function(attr){ - var matcher; - // type, attr, matchFor - if(attr.type && attrList[attr.type]){ - matcher = attrList[attr.type](attr.attr, attr.matchFor); - }else if(attr.attr.length){ - matcher = getDefault(attr.attr); - } - if(matcher){ handleMatch(matcher); } - }); - } - - var buildPath = function(query){ - var xpath = "."; - var qparts = getQueryParts(d.trim(query)); - while(qparts.length){ - var tqp = qparts.shift(); - var prefix; - var postfix = ""; - if(tqp.oper == ">"){ - prefix = "/"; - // prefix = "/child::*"; - tqp = qparts.shift(); - }else if(tqp.oper == "~"){ - prefix = "/following-sibling::"; // get element following siblings - tqp = qparts.shift(); - }else if(tqp.oper == "+"){ - // FIXME: - // fails when selecting subsequent siblings by node type - // because the position() checks the position in the list - // of matching elements and not the localized siblings - prefix = "/following-sibling::"; - postfix = "[position()=1]"; - tqp = qparts.shift(); - }else{ - prefix = "//"; - // prefix = "/descendant::*" - } - - // get the tag name (if any) - - xpath += prefix + tqp.tag + postfix; - - // check to see if it's got an id. Needs to come first in xpath. - if(tqp.id){ - xpath += "[@id='"+tqp.id+"'][1]"; - } - - d.forEach(tqp.classes, function(cn){ - var cnl = cn.length; - var padding = " "; - if(cn.charAt(cnl-1) == "*"){ - padding = ""; cn = cn.substr(0, cnl-1); - } - xpath += - "[contains(concat(' ',@class,' '), ' "+ - cn + padding + "')]"; - }); - - handleAttrs(xPathAttrs, tqp, - function(condition){ - return "[@"+condition+"]"; - }, - function(matcher){ - xpath += matcher; - } - ); - - // FIXME: need to implement pseudo-class checks!! - }; - return xpath; - }; - - var _xpathFuncCache = {}; - var getXPathFunc = function(path){ - if(_xpathFuncCache[path]){ - return _xpathFuncCache[path]; - } - - var doc = d.doc; - // don't need to memoize. The closure scope handles it for us. - var xpath = buildPath(path); - - var tf = function(parent){ - // XPath query strings are memoized. - var ret = []; - var xpathResult; - try{ - xpathResult = doc.evaluate(xpath, parent, null, - // XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null); - XPathResult.ANY_TYPE, null); - }catch(e){ - console.debug("failure in exprssion:", xpath, "under:", parent); - console.debug(e); - } - var result = xpathResult.iterateNext(); - while(result){ - ret.push(result); - result = xpathResult.iterateNext(); - } - return ret; - } - return _xpathFuncCache[path] = tf; - }; - - /* - d.xPathMatch = function(query){ - // XPath based DOM query system. Handles a small subset of CSS - // selectors, subset is identical to the non-XPath version of this - // function. - - return getXPathFunc(query)(); - } - */ - - //////////////////////////////////////////////////////////////////////// - // DOM query code - //////////////////////////////////////////////////////////////////////// - - var _filtersCache = {}; - var _simpleFiltersCache = {}; - - // the basic building block of the yes/no chaining system. agree(f1, f2) - // generates a new function which returns the boolean results of both of - // the passed functions to a single logical-anded result. - var agree = function(first, second){ - if(!first){ return second; } - if(!second){ return first; } - - return function(){ - return first.apply(window, arguments) && second.apply(window, arguments); - } - } - - var _childElements = function(root){ - var ret = []; - var te, x=0, tret = root[childNodesName]; - while(te=tret[x++]){ - if(te.nodeType == 1){ ret.push(te); } - } - return ret; - } - - var _nextSiblings = function(root, single){ - var ret = []; - var te = root; - while(te = te.nextSibling){ - if(te.nodeType == 1){ - ret.push(te); - if(single){ break; } - } - } - return ret; - } - - var _filterDown = function(element, queryParts, matchArr, idx){ - // NOTE: - // in the fast path! this function is called recursively and for - // every run of a query. - var nidx = idx+1; - var isFinal = (queryParts.length == nidx); - var tqp = queryParts[idx]; - - // see if we can constrain our next level to direct children - if(tqp.oper){ - var ecn = (tqp.oper == ">") ? - _childElements(element) : - _nextSiblings(element, (tqp.oper == "+")); - - if(!ecn || !ecn.length){ - return; - } - nidx++; - isFinal = (queryParts.length == nidx); - // kinda janky, too much array alloc - var tf = getFilterFunc(queryParts[idx+1]); - // for(var x=ecn.length-1, te; x>=0, te=ecn[x]; x--){ - for(var x=0, ecnl=ecn.length, te; x=0, te=elements[x]; x--){ - var x = elements.length - 1, te; - while(te = elements[x--]){ - _filterDown(te, queryParts, ret, 0); - } - return ret; - } - - var getFilterFunc = function(q){ - // note: query can't have spaces! - if(_filtersCache[q.query]){ - return _filtersCache[q.query]; - } - var ff = null; - - // does it have a tagName component? - if(q.tag){ - if(q.tag == "*"){ - ff = agree(ff, - function(elem){ - return (elem.nodeType == 1); - } - ); - }else{ - // tag name match - ff = agree(ff, - function(elem){ - return ( - (elem.nodeType == 1) && - (q.tag == elem.tagName.toLowerCase()) - ); - // return isTn; - } - ); - } - } - - // does the node have an ID? - if(q.id){ - ff = agree(ff, - function(elem){ - return ( - (elem.nodeType == 1) && - (elem.id == q.id) - ); - } - ); - } - - if(q.hasLoops){ - // if we have other query param parts, make sure we add them to the - // filter chain - ff = agree(ff, getSimpleFilterFunc(q)); - } - - return _filtersCache[q.query] = ff; - } - - var getNodeIndex = function(node){ - // NOTE: - // we could have a more accurate caching mechanism by invalidating - // caches after the query has finished, but I think that'd lead to - // significantly more cache churn than the cache would provide - // value for in the common case. Generally, we're more - // conservative (and therefore, more accurate) than jQuery and - // DomQuery WRT node node indexes, but there may be corner cases - // in which we fall down. How much we care about them is TBD. - - var pn = node.parentNode; - var pnc = pn.childNodes; - - // check to see if we can trust the cache. If not, re-key the whole - // thing and return our node match from that. - - var nidx = -1; - var child = pn.firstChild; - if(!child){ - return nidx; - } - - var ci = node["__cachedIndex"]; - var cl = pn["__cachedLength"]; - - // only handle cache building if we've gone out of sync - if(((typeof cl == "number")&&(cl != pnc.length))||(typeof ci != "number")){ - // rip though the whole set, building cache indexes as we go - pn["__cachedLength"] = pnc.length; - var idx = 1; - do{ - // we only assign indexes for nodes with nodeType == 1, as per: - // http://www.w3.org/TR/css3-selectors/#nth-child-pseudo - // only elements are counted in the search order, and they - // begin at 1 for the first child's index - - if(child === node){ - nidx = idx; - } - if(child.nodeType == 1){ - child["__cachedIndex"] = idx; - idx++; - } - child = child.nextSibling; - }while(child); - }else{ - // NOTE: - // could be incorrect in some cases (node swaps involving the - // passed node, etc.), but we ignore those due to the relative - // unlikelihood of that occuring - nidx = ci; - } - return nidx; - } - - var firedCount = 0; - - var blank = ""; - var _getAttr = function(elem, attr){ - if(attr == "class"){ - return elem.className || blank; - } - if(attr == "for"){ - return elem.htmlFor || blank; - } - return elem.getAttribute(attr, 2) || blank; - } - - var attrs = { - "*=": function(attr, value){ - return function(elem){ - // E[foo*="bar"] - // an E element whose "foo" attribute value contains - // the substring "bar" - return (_getAttr(elem, attr).indexOf(value)>=0); - } - }, - "^=": function(attr, value){ - // E[foo^="bar"] - // an E element whose "foo" attribute value begins exactly - // with the string "bar" - return function(elem){ - return (_getAttr(elem, attr).indexOf(value)==0); - } - }, - "$=": function(attr, value){ - // E[foo$="bar"] - // an E element whose "foo" attribute value ends exactly - // with the string "bar" - var tval = " "+value; - return function(elem){ - var ea = " "+_getAttr(elem, attr); - return (ea.lastIndexOf(value)==(ea.length-value.length)); - } - }, - "~=": function(attr, value){ - // E[foo~="bar"] - // an E element whose "foo" attribute value is a list of - // space-separated values, one of which is exactly equal - // to "bar" - - // return "[contains(concat(' ',@"+attr+",' '), ' "+ value +" ')]"; - var tval = " "+value+" "; - return function(elem){ - var ea = " "+_getAttr(elem, attr)+" "; - return (ea.indexOf(tval)>=0); - } - }, - "|=": function(attr, value){ - // E[hreflang|="en"] - // an E element whose "hreflang" attribute has a - // hyphen-separated list of values beginning (from the - // left) with "en" - var valueDash = " "+value+"-"; - return function(elem){ - var ea = " "+(elem.getAttribute(attr, 2) || ""); - return ( - (ea == value) || - (ea.indexOf(valueDash)==0) - ); - } - }, - "=": function(attr, value){ - return function(elem){ - return (_getAttr(elem, attr) == value); - } - } - }; - - var pseudos = { - "first-child": function(name, condition){ - return function(elem){ - if(elem.nodeType != 1){ return false; } - // check to see if any of the previous siblings are elements - var fc = elem.previousSibling; - while(fc && (fc.nodeType != 1)){ - fc = fc.previousSibling; - } - return (!fc); - } - }, - "last-child": function(name, condition){ - return function(elem){ - if(elem.nodeType != 1){ return false; } - // check to see if any of the next siblings are elements - var nc = elem.nextSibling; - while(nc && (nc.nodeType != 1)){ - nc = nc.nextSibling; - } - return (!nc); - } - }, - "empty": function(name, condition){ - return function(elem){ - // DomQuery and jQuery get this wrong, oddly enough. - // The CSS 3 selectors spec is pretty explicit about - // it, too. - var cn = elem.childNodes; - var cnl = elem.childNodes.length; - // if(!cnl){ return true; } - for(var x=cnl-1; x >= 0; x--){ - var nt = cn[x].nodeType; - if((nt == 1)||(nt == 3)){ return false; } - } - return true; - } - }, - "contains": function(name, condition){ - return function(elem){ - // FIXME: I dislike this version of "contains", as - // whimsical attribute could set it off. An inner-text - // based version might be more accurate, but since - // jQuery and DomQuery also potentially get this wrong, - // I'm leaving it for now. - return (elem.innerHTML.indexOf(condition) >= 0); - } - }, - "not": function(name, condition){ - var ntf = getFilterFunc(getQueryParts(condition)[0]); - return function(elem){ - return (!ntf(elem)); - } - }, - "nth-child": function(name, condition){ - var pi = parseInt; - if(condition == "odd"){ - return function(elem){ - return ( - ((getNodeIndex(elem)) % 2) == 1 - ); - } - }else if((condition == "2n")|| - (condition == "even")){ - return function(elem){ - return ((getNodeIndex(elem) % 2) == 0); - } - }else if(condition.indexOf("0n+") == 0){ - var ncount = pi(condition.substr(3)); - return function(elem){ - return (elem.parentNode[childNodesName][ncount-1] === elem); - } - }else if( (condition.indexOf("n+") > 0) && - (condition.length > 3) ){ - var tparts = condition.split("n+", 2); - var pred = pi(tparts[0]); - var idx = pi(tparts[1]); - return function(elem){ - return ((getNodeIndex(elem) % pred) == idx); - } - }else if(condition.indexOf("n") == -1){ - var ncount = pi(condition); - return function(elem){ - return (getNodeIndex(elem) == ncount); - } - } - } - }; - - var defaultGetter = (d.isIE) ? function(cond){ - var clc = cond.toLowerCase(); - return function(elem){ - return elem[cond]||elem[clc]; - } - } : function(cond){ - return function(elem){ - return (elem && elem.getAttribute && elem.hasAttribute(cond)); - } - }; - - var getSimpleFilterFunc = function(query){ - - var fcHit = (_simpleFiltersCache[query.query]||_filtersCache[query.query]); - if(fcHit){ return fcHit; } - - var ff = null; - - // the only case where we'll need the tag name is if we came from an ID query - if(query.id){ // do we have an ID component? - if(query.tag != "*"){ - ff = agree(ff, function(elem){ - return (elem.tagName.toLowerCase() == query.tag); - }); - } - } - - // if there's a class in our query, generate a match function for it - d.forEach(query.classes, function(cname, idx, arr){ - // get the class name - var isWildcard = cname.charAt(cname.length-1) == "*"; - if(isWildcard){ - cname = cname.substr(0, cname.length-1); - } - // I dislike the regex thing, even if memozied in a cache, but it's VERY short - var re = new RegExp("(?:^|\\s)" + cname + (isWildcard ? ".*" : "") + "(?:\\s|$)"); - ff = agree(ff, function(elem){ - return re.test(elem.className); - }); - ff.count = idx; - }); - - d.forEach(query.pseudos, function(pseudo){ - if(pseudos[pseudo.name]){ - ff = agree(ff, pseudos[pseudo.name](pseudo.name, pseudo.value)); - } - }); - - handleAttrs(attrs, query, defaultGetter, - function(tmatcher){ ff = agree(ff, tmatcher); } - ); - if(!ff){ - ff = function(){ return true; }; - } - return _simpleFiltersCache[query.query] = ff; - } - - var _getElementsFuncCache = { }; - - var getElementsFunc = function(query, root){ - var fHit = _getElementsFuncCache[query.query]; - if(fHit){ return fHit; } - - // NOTE: this function is in the fast path! not memoized!!! - - // the query doesn't contain any spaces, so there's only so many - // things it could be - - if(query.id && !query.hasLoops && !query.tag){ - // ID-only query. Easy. - return _getElementsFuncCache[query.query] = function(root){ - // FIXME: if root != document, check for parenting! - return [ d.byId(query.id) ]; - } - } - - var filterFunc = getSimpleFilterFunc(query); - - var retFunc; - if(query.tag && query.id && !query.hasLoops){ - // we got a filtered ID search (e.g., "h4#thinger") - retFunc = function(root){ - var te = d.byId(query.id); - if(filterFunc(te)){ - return [ te ]; - } - } - }else{ - var tret; - - if(!query.hasLoops){ - // it's just a plain-ol elements-by-tag-name query from the root - retFunc = function(root){ - var ret = []; - var te, x=0, tret = root.getElementsByTagName(query.tag); - while(te=tret[x++]){ - ret.push(te); - } - return ret; - } - }else{ - retFunc = function(root){ - var ret = []; - var te, x=0, tret = root.getElementsByTagName(query.tag); - while(te=tret[x++]){ - if(filterFunc(te)){ - ret.push(te); - } - } - return ret; - } - } - } - return _getElementsFuncCache[query.query] = retFunc; - } - - var _partsCache = {}; - - //////////////////////////////////////////////////////////////////////// - // the query runner - //////////////////////////////////////////////////////////////////////// - - // this is the second level of spliting, from full-length queries (e.g., - // "div.foo .bar") into simple query expressions (e.g., ["div.foo", - // ".bar"]) - var _queryFuncCache = { - "*": d.isIE ? - function(root){ - return root.all; - } : - function(root){ - return root.getElementsByTagName("*"); - }, - "~": _nextSiblings, - "+": function(root){ return _nextSiblings(root, true); }, - ">": _childElements - }; - - var getStepQueryFunc = function(query){ - // if it's trivial, get a fast-path dispatcher - var qparts = getQueryParts(d.trim(query)); - // if(query[query.length-1] == ">"){ query += " *"; } - if(qparts.length == 1){ - var tt = getElementsFunc(qparts[0]); - tt.nozip = true; - return tt; - } - - // otherwise, break it up and return a runner that iterates over the parts recursively - var sqf = function(root){ - var localQueryParts = qparts.slice(0); // clone the src arr - var candidates; - if(localQueryParts[0].oper == ">"){ // FIXME: what if it's + or ~? - candidates = [ root ]; - // root = document; - }else{ - candidates = getElementsFunc(localQueryParts.shift())(root); - } - return filterDown(candidates, localQueryParts); - } - return sqf; - } - - // a specialized method that implements our primoridal "query optimizer". - // This allows us to dispatch queries to the fastest subsystem we can get. - var _getQueryFunc = ( - // NOTE: - // XPath on the Webkit nighlies is slower than it's DOM iteration - // for most test cases - // FIXME: - // we should try to capture some runtime speed data for each query - // function to determine on the fly if we should stick w/ the - // potentially optimized variant or if we should try something - // new. - (document["evaluate"] && !d.isSafari) ? - function(query){ - // has xpath support that's faster than DOM - var qparts = query.split(" "); - // can we handle it? - if( (document["evaluate"])&& - (query.indexOf(":") == -1)&& - (query.indexOf("+") == -1) // skip direct sibling matches. See line ~344 - ){ - // dojo.debug(query); - // should we handle it? - - // kind of a lame heuristic, but it works - if( - // a "div div div" style query - ((qparts.length > 2)&&(query.indexOf(">") == -1))|| - // or something else with moderate complexity. kinda janky - (qparts.length > 3)|| - (query.indexOf("[")>=0)|| - // or if it's a ".thinger" query - ((1 == qparts.length)&&(0 <= query.indexOf("."))) - - ){ - // use get and cache a xpath runner for this selector - return getXPathFunc(query); - } - } - - // fallthrough - return getStepQueryFunc(query); - } : getStepQueryFunc - ); - // uncomment to disable XPath for testing and tuning the DOM path - // _getQueryFunc = getStepQueryFunc; - - // FIXME: we've got problems w/ the NodeList query()/filter() functions if we go XPath for everything - - // uncomment to disable DOM queries for testing and tuning XPath - // _getQueryFunc = getXPathFunc; - - // this is the primary caching for full-query results. The query dispatcher - // functions are generated here and then pickled for hash lookup in the - // future - var getQueryFunc = function(query){ - // return a cached version if one is available - var qcz = query.charAt(0); - if(d.doc["querySelectorAll"] && - ( (!d.isSafari) || (d.isSafari > 3.1) ) && // see #5832 - // as per CSS 3, we can't currently start w/ combinator: - // http://www.w3.org/TR/css3-selectors/#w3cselgrammar - (">+~".indexOf(qcz) == -1) - ){ - return function(root){ - var r = root.querySelectorAll(query); - r.nozip = true; // skip expensive duplication checks and just wrap in a NodeList - return r; - }; - } - if(_queryFuncCache[query]){ return _queryFuncCache[query]; } - if(0 > query.indexOf(",")){ - // if it's not a compound query (e.g., ".foo, .bar"), cache and return a dispatcher - return _queryFuncCache[query] = _getQueryFunc(query); - }else{ - // if it's a complex query, break it up into it's constituent parts - // and return a dispatcher that will merge the parts when run - - // var parts = query.split(", "); - var parts = query.split(/\s*,\s*/); - var tf = function(root){ - var pindex = 0; // avoid array alloc for every invocation - var ret = []; - var tp; - while(tp = parts[pindex++]){ - ret = ret.concat(_getQueryFunc(tp, tp.indexOf(" "))(root)); - } - return ret; - } - // ...cache and return - return _queryFuncCache[query] = tf; - } - } - - // FIXME: - // Dean's Base2 uses a system whereby queries themselves note if - // they'll need duplicate filtering. We need to get on that plan!! - - // attempt to efficiently determine if an item in a list is a dupe, - // returning a list of "uniques", hopefully in doucment order - var _zipIdx = 0; - var _zip = function(arr){ - if(arr && arr.nozip){ return d.NodeList._wrap(arr); } - var ret = new d.NodeList(); - if(!arr){ return ret; } - if(arr[0]){ - ret.push(arr[0]); - } - if(arr.length < 2){ return ret; } - _zipIdx++; - arr[0]["_zipIdx"] = _zipIdx; - for(var x=1, te; te = arr[x]; x++){ - if(arr[x]["_zipIdx"] != _zipIdx){ - ret.push(te); - } - te["_zipIdx"] = _zipIdx; - } - // FIXME: should we consider stripping these properties? - return ret; - } - - // the main executor - d.query = function(/*String*/ query, /*String|DOMNode?*/ root){ - // summary: - // Returns nodes which match the given CSS3 selector, searching the - // entire document by default but optionally taking a node to scope - // the search by. Returns an instance of dojo.NodeList. - // description: - // dojo.query() is the swiss army knife of DOM node manipulation in - // Dojo. Much like Prototype's "$$" (bling-bling) function or JQuery's - // "$" function, dojo.query provides robust, high-performance - // CSS-based node selector support with the option of scoping searches - // to a particular sub-tree of a document. - // - // Supported Selectors: - // -------------------- - // - // dojo.query() supports a rich set of CSS3 selectors, including: - // - // * class selectors (e.g., `.foo`) - // * node type selectors like `span` - // * ` ` descendant selectors - // * `>` child element selectors - // * `#foo` style ID selectors - // * `*` universal selector - // * `~`, the immediately preceeded-by sibling selector - // * `+`, the preceeded-by sibling selector - // * attribute queries: - // | * `[foo]` attribute presence selector - // | * `[foo='bar']` attribute value exact match - // | * `[foo~='bar']` attribute value list item match - // | * `[foo^='bar']` attribute start match - // | * `[foo$='bar']` attribute end match - // | * `[foo*='bar']` attribute substring match - // * `:first-child`, `:last-child` positional selectors - // * `:empty` content emtpy selector - // * `:empty` content emtpy selector - // * `:nth-child(n)`, `:nth-child(2n+1)` style positional calculations - // * `:nth-child(even)`, `:nth-child(odd)` positional selectors - // * `:not(...)` negation pseudo selectors - // - // Any legal combination of these selectors will work with - // `dojo.query()`, including compound selectors ("," delimited). - // Very complex and useful searches can be constructed with this - // palette of selectors and when combined with functions for - // maniplation presented by dojo.NodeList, many types of DOM - // manipulation operations become very straightforward. - // - // Unsupported Selectors: - // ---------------------- - // - // While dojo.query handles many CSS3 selectors, some fall outside of - // what's resaonable for a programmatic node querying engine to - // handle. Currently unsupported selectors include: - // - // * namespace-differentiated selectors of any form - // * all `::` pseduo-element selectors - // * certain pseduo-selectors which don't get a lot of day-to-day use: - // | * `:root`, `:lang()`, `:target`, `:focus` - // * all visual and state selectors: - // | * `:root`, `:active`, `:hover`, `:visisted`, `:link`, - // `:enabled`, `:disabled`, `:checked` - // * `:*-of-type` pseudo selectors - // - // dojo.query and XML Documents: - // ----------------------------- - // - // `dojo.query` currently only supports searching XML documents - // whose tags and attributes are 100% lower-case. This is a known - // limitation and will [be addressed soon](http://trac.dojotoolkit.org/ticket/3866) - // Non-selector Queries: - // --------------------- - // - // If something other than a String is passed for the query, - // `dojo.query` will return a new `dojo.NodeList` constructed from - // that parameter alone and all further processing will stop. This - // means that if you have a reference to a node or NodeList, you - // can quickly construct a new NodeList from the original by - // calling `dojo.query(node)` or `dojo.query(list)`. - // - // query: - // The CSS3 expression to match against. For details on the syntax of - // CSS3 selectors, see - // root: - // A DOMNode (or node id) to scope the search from. Optional. - // returns: dojo.NodeList - // An instance of `dojo.NodeList`. Many methods are available on - // NodeLists for searching, iterating, manipulating, and handling - // events on the matched nodes in the returned list. - // example: - // search the entire document for elements with the class "foo": - // | dojo.query(".foo"); - // these elements will match: - // | - // | - // |

          - // example: - // search the entire document for elements with the classes "foo" *and* "bar": - // | dojo.query(".foo.bar"); - // these elements will match: - // | - // while these will not: - // | - // |

          - // example: - // find `` elements which are descendants of paragraphs and - // which have a "highlighted" class: - // | dojo.query("p span.highlighted"); - // the innermost span in this fragment matches: - // |

          - // | ... - // | ... - // | - // |

          - // example: - // set an "odd" class on all odd table rows inside of the table - // `#tabular_data`, using the `>` (direct child) selector to avoid - // affecting any nested tables: - // | dojo.query("#tabular_data > tbody > tr:nth-child(odd)").addClass("odd"); - // example: - // remove all elements with the class "error" from the document - // and store them in a list: - // | var errors = dojo.query(".error").orphan(); - // example: - // add an onclick handler to every submit button in the document - // which causes the form to be sent via Ajax instead: - // | dojo.query("input[type='submit']").onclick(function(e){ - // | dojo.stopEvent(e); // prevent sending the form - // | var btn = e.target; - // | dojo.xhrPost({ - // | form: btn.form, - // | load: function(data){ - // | // replace the form with the response - // | var div = dojo.doc.createElement("div"); - // | dojo.place(div, btn.form, "after"); - // | div.innerHTML = data; - // | dojo.style(btn.form, "display", "none"); - // | } - // | }); - // | }); - - - // NOTE: elementsById is not currently supported - // NOTE: ignores xpath-ish queries for now - - if(query.constructor == d.NodeList){ - return query; - } - if(!d.isString(query)){ - return new d.NodeList(query); // dojo.NodeList - } - if(d.isString(root)){ - root = d.byId(root); - } - - return _zip(getQueryFunc(query)(root||d.doc)); // dojo.NodeList - } - - /* - // exposing this was a mistake - d.query.attrs = attrs; - */ - // exposing this because new pseudo matches are only executed through the - // DOM query path (never through the xpath optimizing branch) - d.query.pseudos = pseudos; - - // one-off function for filtering a NodeList based on a simple selector - d._filterQueryResult = function(nodeList, simpleFilter){ - var tnl = new d.NodeList(); - var ff = (simpleFilter) ? getFilterFunc(getQueryParts(simpleFilter)[0]) : function(){ return true; }; - for(var x=0, te; te = nodeList[x]; x++){ - if(ff(te)){ tnl.push(te); } - } - return tnl; - } -})(); - -} diff --git a/includes/js/dojo/_base/window.js b/includes/js/dojo/_base/window.js deleted file mode 100644 index 892768d..0000000 --- a/includes/js/dojo/_base/window.js +++ /dev/null @@ -1,145 +0,0 @@ -if(!dojo._hasResource["dojo._base.window"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.window"] = true; -dojo.provide("dojo._base.window"); - -dojo._gearsObject = function(){ - // summary: - // factory method to get a Google Gears plugin instance to - // expose in the browser runtime environment, if present - var factory; - var results; - - var gearsObj = dojo.getObject("google.gears"); - if(gearsObj){ return gearsObj; } // already defined elsewhere - - if(typeof GearsFactory != "undefined"){ // Firefox - factory = new GearsFactory(); - }else{ - if(dojo.isIE){ - // IE - try{ - factory = new ActiveXObject("Gears.Factory"); - }catch(e){ - // ok to squelch; there's no gears factory. move on. - } - }else if(navigator.mimeTypes["application/x-googlegears"]){ - // Safari? - factory = document.createElement("object"); - factory.setAttribute("type", "application/x-googlegears"); - factory.setAttribute("width", 0); - factory.setAttribute("height", 0); - factory.style.display = "none"; - document.documentElement.appendChild(factory); - } - } - - // still nothing? - if(!factory){ return null; } - - // define the global objects now; don't overwrite them though if they - // were somehow set internally by the Gears plugin, which is on their - // dev roadmap for the future - dojo.setObject("google.gears.factory", factory); - return dojo.getObject("google.gears"); -}; - -/*===== -dojo.isGears = { - // summary: True if client is using Google Gears -}; -=====*/ -// see if we have Google Gears installed, and if -// so, make it available in the runtime environment -// and in the Google standard 'google.gears' global object -dojo.isGears = (!!dojo._gearsObject())||0; - -/*===== -dojo.doc = { - // summary: - // Alias for the current document. 'dojo.doc' can be modified - // for temporary context shifting. Also see dojo.withDoc(). - // description: - // Refer to dojo.doc rather - // than referring to 'window.document' to ensure your code runs - // correctly in managed contexts. - // example: - // | n.appendChild(dojo.doc.createElement('div')); -} -=====*/ -dojo.doc = window["document"] || null; - -dojo.body = function(){ - // summary: - // Return the body element of the document - // return the body object associated with dojo.doc - // example: - // | dojo.body().appendChild(dojo.doc.createElement('div')); - - // Note: document.body is not defined for a strict xhtml document - // Would like to memoize this, but dojo.doc can change vi dojo.withDoc(). - return dojo.doc.body || dojo.doc.getElementsByTagName("body")[0]; // Node -} - -dojo.setContext = function(/*Object*/globalObject, /*DocumentElement*/globalDocument){ - // summary: - // changes the behavior of many core Dojo functions that deal with - // namespace and DOM lookup, changing them to work in a new global - // context (e.g., an iframe). The varibles dojo.global and dojo.doc - // are modified as a result of calling this function and the result of - // `dojo.body()` likewise differs. - dojo.global = globalObject; - dojo.doc = globalDocument; -}; - -dojo._fireCallback = function(callback, context, cbArguments){ - if(context && dojo.isString(callback)){ - callback = context[callback]; - } - return callback.apply(context, cbArguments || [ ]); -} - -dojo.withGlobal = function( /*Object*/globalObject, - /*Function*/callback, - /*Object?*/thisObject, - /*Array?*/cbArguments){ - // summary: - // Call callback with globalObject as dojo.global and - // globalObject.document as dojo.doc. If provided, globalObject - // will be executed in the context of object thisObject - // description: - // When callback() returns or throws an error, the dojo.global - // and dojo.doc will be restored to its previous state. - var rval; - var oldGlob = dojo.global; - var oldDoc = dojo.doc; - try{ - dojo.setContext(globalObject, globalObject.document); - rval = dojo._fireCallback(callback, thisObject, cbArguments); - }finally{ - dojo.setContext(oldGlob, oldDoc); - } - return rval; -} - -dojo.withDoc = function( /*Object*/documentObject, - /*Function*/callback, - /*Object?*/thisObject, - /*Array?*/cbArguments){ - // summary: - // Call callback with documentObject as dojo.doc. If provided, - // callback will be executed in the context of object thisObject - // description: - // When callback() returns or throws an error, the dojo.doc will - // be restored to its previous state. - var rval; - var oldDoc = dojo.doc; - try{ - dojo.doc = documentObject; - rval = dojo._fireCallback(callback, thisObject, cbArguments); - }finally{ - dojo.doc = oldDoc; - } - return rval; -}; - -} diff --git a/includes/js/dojo/_base/xhr.js b/includes/js/dojo/_base/xhr.js deleted file mode 100644 index f6e7f1a..0000000 --- a/includes/js/dojo/_base/xhr.js +++ /dev/null @@ -1,730 +0,0 @@ -if(!dojo._hasResource["dojo._base.xhr"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.xhr"] = true; -dojo.provide("dojo._base.xhr"); -dojo.require("dojo._base.Deferred"); -dojo.require("dojo._base.json"); -dojo.require("dojo._base.lang"); -dojo.require("dojo._base.query"); - -(function(){ - var _d = dojo; - function setValue(/*Object*/obj, /*String*/name, /*String*/value){ - //summary: - // For the nameed property in object, set the value. If a value - // already exists and it is a string, convert the value to be an - // array of values. - var val = obj[name]; - if(_d.isString(val)){ - obj[name] = [val, value]; - }else if(_d.isArray(val)){ - val.push(value); - }else{ - obj[name] = value; - } - } - - dojo.formToObject = function(/*DOMNode||String*/ formNode){ - // summary: - // dojo.formToObject returns the values encoded in an HTML form as - // string properties in an object which it then returns. Disabled form - // elements, buttons, and other non-value form elements are skipped. - // Multi-select elements are returned as an array of string values. - // description: - // This form: - // - // |
          - // | - // | - // | - // | - // |
          - // - // yields this object structure as the result of a call to - // formToObject(): - // - // | { - // | blah: "blah", - // | multi: [ - // | "thud", - // | "thonk" - // | ] - // | }; - - var ret = {}; - var iq = "input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]), select, textarea"; - _d.query(iq, formNode).filter(function(node){ - return !node.disabled && node.name; - }).forEach(function(item){ - var _in = item.name; - var type = (item.type||"").toLowerCase(); - if(type == "radio" || type == "checkbox"){ - if(item.checked){ setValue(ret, _in, item.value); } - }else if(item.multiple){ - ret[_in] = []; - _d.query("option", item).forEach(function(opt){ - if(opt.selected){ - setValue(ret, _in, opt.value); - } - }); - }else{ - setValue(ret, _in, item.value); - if(type == "image"){ - ret[_in+".x"] = ret[_in+".y"] = ret[_in].x = ret[_in].y = 0; - } - } - }); - return ret; // Object - } - - dojo.objectToQuery = function(/*Object*/ map){ - // summary: - // takes a name/value mapping object and returns a string representing - // a URL-encoded version of that object. - // example: - // this object: - // - // | { - // | blah: "blah", - // | multi: [ - // | "thud", - // | "thonk" - // | ] - // | }; - // - // yields the following query string: - // - // | "blah=blah&multi=thud&multi=thonk" - - // FIXME: need to implement encodeAscii!! - var enc = encodeURIComponent; - var pairs = []; - var backstop = {}; - for(var name in map){ - var value = map[name]; - if(value != backstop[name]){ - var assign = enc(name) + "="; - if(_d.isArray(value)){ - for(var i=0; i < value.length; i++){ - pairs.push(assign + enc(value[i])); - } - }else{ - pairs.push(assign + enc(value)); - } - } - } - return pairs.join("&"); // String - } - - dojo.formToQuery = function(/*DOMNode||String*/ formNode){ - // summary: - // Returns a URL-encoded string representing the form passed as either a - // node or string ID identifying the form to serialize - return _d.objectToQuery(_d.formToObject(formNode)); // String - } - - dojo.formToJson = function(/*DOMNode||String*/ formNode, /*Boolean?*/prettyPrint){ - // summary: - // return a serialized JSON string from a form node or string - // ID identifying the form to serialize - return _d.toJson(_d.formToObject(formNode), prettyPrint); // String - } - - dojo.queryToObject = function(/*String*/ str){ - // summary: - // returns an object representing a de-serialized query section of a - // URL. Query keys with multiple values are returned in an array. - // description: - // This string: - // - // | "foo=bar&foo=baz&thinger=%20spaces%20=blah&zonk=blarg&" - // - // results in this object structure: - // - // | { - // | foo: [ "bar", "baz" ], - // | thinger: " spaces =blah", - // | zonk: "blarg" - // | } - // - // Note that spaces and other urlencoded entities are correctly - // handled. - - // FIXME: should we grab the URL string if we're not passed one? - var ret = {}; - var qp = str.split("&"); - var dec = decodeURIComponent; - _d.forEach(qp, function(item){ - if(item.length){ - var parts = item.split("="); - var name = dec(parts.shift()); - var val = dec(parts.join("=")); - if(_d.isString(ret[name])){ - ret[name] = [ret[name]]; - } - if(_d.isArray(ret[name])){ - ret[name].push(val); - }else{ - ret[name] = val; - } - } - }); - return ret; // Object - } - - /* - from refactor.txt: - - all bind() replacement APIs take the following argument structure: - - { - url: "blah.html", - - // all below are optional, but must be supported in some form by - // every IO API - timeout: 1000, // milliseconds - handleAs: "text", // replaces the always-wrong "mimetype" - content: { - key: "value" - }, - - // browser-specific, MAY be unsupported - sync: true, // defaults to false - form: dojo.byId("someForm") - } - */ - - // need to block async callbacks from snatching this thread as the result - // of an async callback might call another sync XHR, this hangs khtml forever - // must checked by watchInFlight() - - dojo._blockAsync = false; - - dojo._contentHandlers = { - "text": function(xhr){ return xhr.responseText; }, - "json": function(xhr){ - if(!dojo.config.usePlainJson){ - console.warn("Consider using mimetype:text/json-comment-filtered" - + " to avoid potential security issues with JSON endpoints" - + " (use djConfig.usePlainJson=true to turn off this message)"); - } - return (xhr.status == 204) ? undefined : _d.fromJson(xhr.responseText); - }, - "json-comment-filtered": function(xhr){ - // NOTE: we provide the json-comment-filtered option as one solution to - // the "JavaScript Hijacking" issue noted by Fortify and others. It is - // not appropriate for all circumstances. - - var value = xhr.responseText; - var cStartIdx = value.indexOf("\/*"); - var cEndIdx = value.lastIndexOf("*\/"); - if(cStartIdx == -1 || cEndIdx == -1){ - throw new Error("JSON was not comment filtered"); - } - return (xhr.status == 204) ? undefined : - _d.fromJson(value.substring(cStartIdx+2, cEndIdx)); - }, - "javascript": function(xhr){ - // FIXME: try Moz and IE specific eval variants? - return _d.eval(xhr.responseText); - }, - "xml": function(xhr){ - var result = xhr.responseXML; - if(_d.isIE && (!result || window.location.protocol == "file:")){ - _d.forEach(["MSXML2", "Microsoft", "MSXML", "MSXML3"], function(prefix){ - try{ - var dom = new ActiveXObject(prefix + ".XMLDOM"); - dom.async = false; - dom.loadXML(xhr.responseText); - result = dom; - }catch(e){ /* Not available. Squelch and try next one. */ } - }); - } - return result; // DOMDocument - } - }; - - dojo._contentHandlers["json-comment-optional"] = function(xhr){ - var handlers = _d._contentHandlers; - try{ - return handlers["json-comment-filtered"](xhr); - }catch(e){ - return handlers["json"](xhr); - } - }; - - /*===== - dojo.__IoArgs = function(){ - // url: String - // URL to server endpoint. - // content: Object? - // Contains properties with string values. These - // properties will be serialized as name1=value2 and - // passed in the request. - // timeout: Integer? - // Milliseconds to wait for the response. If this time - // passes, the then error callbacks are called. - // form: DOMNode? - // DOM node for a form. Used to extract the form values - // and send to the server. - // preventCache: Boolean? - // Default is false. If true, then a - // "dojo.preventCache" parameter is sent in the request - // with a value that changes with each request - // (timestamp). Useful only with GET-type requests. - // handleAs: String? - // Acceptable values depend on the type of IO - // transport (see specific IO calls for more information). - // load: Function? - // function(response, ioArgs){}. response is an Object, ioArgs - // is of type dojo.__IoCallbackArgs. The load function will be - // called on a successful response. - // error: Function? - // function(response, ioArgs){}. response is an Object, ioArgs - // is of type dojo.__IoCallbackArgs. The error function will - // be called in an error case. - // handle: Function? - // function(response, ioArgs){}. response is an Object, ioArgs - // is of type dojo.__IoCallbackArgs. The handle function will - // be called in either the successful or error case. For - // the load, error and handle functions, the ioArgs object - // will contain the following properties: - this.url = url; - this.content = content; - this.timeout = timeout; - this.form = form; - this.preventCache = preventCache; - this.handleAs = handleAs; - this.load = load; - this.error = error; - this.handle = handle; - } - =====*/ - - /*===== - dojo.__IoCallbackArgs = function(args, xhr, url, query, handleAs, id, canDelete, json){ - // args: Object - // the original object argument to the IO call. - // xhr: XMLHttpRequest - // For XMLHttpRequest calls only, the - // XMLHttpRequest object that was used for the - // request. - // url: String - // The final URL used for the call. Many times it - // will be different than the original args.url - // value. - // query: String - // For non-GET requests, the - // name1=value1&name2=value2 parameters sent up in - // the request. - // handleAs: String - // The final indicator on how the response will be - // handled. - // id: String - // For dojo.io.script calls only, the internal - // script ID used for the request. - // canDelete: Boolean - // For dojo.io.script calls only, indicates - // whether the script tag that represents the - // request can be deleted after callbacks have - // been called. Used internally to know when - // cleanup can happen on JSONP-type requests. - // json: Object - // For dojo.io.script calls only: holds the JSON - // response for JSONP-type requests. Used - // internally to hold on to the JSON responses. - // You should not need to access it directly -- - // the same object should be passed to the success - // callbacks directly. - this.args = args; - this.xhr = xhr; - this.url = url; - this.query = query; - this.handleAs = handleAs; - this.id = id; - this.canDelete = canDelete; - this.json = json; - } - =====*/ - - - - dojo._ioSetArgs = function(/*dojo.__IoArgs*/args, - /*Function*/canceller, - /*Function*/okHandler, - /*Function*/errHandler){ - // summary: - // sets up the Deferred and ioArgs property on the Deferred so it - // can be used in an io call. - // args: - // The args object passed into the public io call. Recognized properties on - // the args object are: - // canceller: - // The canceller function used for the Deferred object. The function - // will receive one argument, the Deferred object that is related to the - // canceller. - // okHandler: - // The first OK callback to be registered with Deferred. It has the opportunity - // to transform the OK response. It will receive one argument -- the Deferred - // object returned from this function. - // errHandler: - // The first error callback to be registered with Deferred. It has the opportunity - // to do cleanup on an error. It will receive two arguments: error (the - // Error object) and dfd, the Deferred object returned from this function. - - var ioArgs = {args: args, url: args.url}; - - //Get values from form if requestd. - var formObject = null; - if(args.form){ - var form = _d.byId(args.form); - //IE requires going through getAttributeNode instead of just getAttribute in some form cases, - //so use it for all. See #2844 - var actnNode = form.getAttributeNode("action"); - ioArgs.url = ioArgs.url || (actnNode ? actnNode.value : null); - formObject = _d.formToObject(form); - } - - // set up the query params - var miArgs = [{}]; - - if(formObject){ - // potentially over-ride url-provided params w/ form values - miArgs.push(formObject); - } - if(args.content){ - // stuff in content over-rides what's set by form - miArgs.push(args.content); - } - if(args.preventCache){ - miArgs.push({"dojo.preventCache": new Date().valueOf()}); - } - ioArgs.query = _d.objectToQuery(_d.mixin.apply(null, miArgs)); - - // .. and the real work of getting the deferred in order, etc. - ioArgs.handleAs = args.handleAs || "text"; - var d = new _d.Deferred(canceller); - d.addCallbacks(okHandler, function(error){ - return errHandler(error, d); - }); - - //Support specifying load, error and handle callback functions from the args. - //For those callbacks, the "this" object will be the args object. - //The callbacks will get the deferred result value as the - //first argument and the ioArgs object as the second argument. - var ld = args.load; - if(ld && _d.isFunction(ld)){ - d.addCallback(function(value){ - return ld.call(args, value, ioArgs); - }); - } - var err = args.error; - if(err && _d.isFunction(err)){ - d.addErrback(function(value){ - return err.call(args, value, ioArgs); - }); - } - var handle = args.handle; - if(handle && _d.isFunction(handle)){ - d.addBoth(function(value){ - return handle.call(args, value, ioArgs); - }); - } - - d.ioArgs = ioArgs; - - // FIXME: need to wire up the xhr object's abort method to something - // analagous in the Deferred - return d; - } - - var _deferredCancel = function(/*Deferred*/dfd){ - //summary: canceller function for dojo._ioSetArgs call. - - dfd.canceled = true; - var xhr = dfd.ioArgs.xhr; - var _at = typeof xhr.abort; - if(_at == "function" || _at == "unknown"){ - xhr.abort(); - } - var err = new Error("xhr cancelled"); - err.dojoType = "cancel"; - return err; - } - var _deferredOk = function(/*Deferred*/dfd){ - //summary: okHandler function for dojo._ioSetArgs call. - - return _d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr); - } - var _deferError = function(/*Error*/error, /*Deferred*/dfd){ - //summary: errHandler function for dojo._ioSetArgs call. - - // console.debug("xhr error in:", dfd.ioArgs.xhr); - console.debug(error); - return error; - } - - var _makeXhrDeferred = function(/*dojo.__XhrArgs*/args){ - //summary: makes the Deferred object for this xhr request. - var dfd = _d._ioSetArgs(args, _deferredCancel, _deferredOk, _deferError); - //Pass the args to _xhrObj, to allow xhr iframe proxy interceptions. - dfd.ioArgs.xhr = _d._xhrObj(dfd.ioArgs.args); - return dfd; - } - - // avoid setting a timer per request. It degrades performance on IE - // something fierece if we don't use unified loops. - var _inFlightIntvl = null; - var _inFlight = []; - var _watchInFlight = function(){ - //summary: - // internal method that checks each inflight XMLHttpRequest to see - // if it has completed or if the timeout situation applies. - - var now = (new Date()).getTime(); - // make sure sync calls stay thread safe, if this callback is called - // during a sync call and this results in another sync call before the - // first sync call ends the browser hangs - if(!_d._blockAsync){ - // we need manual loop because we often modify _inFlight (and therefore 'i') while iterating - // note: the second clause is an assigment on purpose, lint may complain - for(var i = 0, tif; i < _inFlight.length && (tif = _inFlight[i]); i++){ - var dfd = tif.dfd; - try{ - if(!dfd || dfd.canceled || !tif.validCheck(dfd)){ - _inFlight.splice(i--, 1); - }else if(tif.ioCheck(dfd)){ - _inFlight.splice(i--, 1); - tif.resHandle(dfd); - }else if(dfd.startTime){ - //did we timeout? - if(dfd.startTime + (dfd.ioArgs.args.timeout || 0) < now){ - _inFlight.splice(i--, 1); - var err = new Error("timeout exceeded"); - err.dojoType = "timeout"; - dfd.errback(err); - //Cancel the request so the io module can do appropriate cleanup. - dfd.cancel(); - } - } - }catch(e){ - // FIXME: make sure we errback! (fixed? remove console.debug?) - console.debug(e); - dfd.errback(new Error("_watchInFlightError!")); - } - } - } - - if(!_inFlight.length){ - clearInterval(_inFlightIntvl); - _inFlightIntvl = null; - return; - } - - } - - dojo._ioCancelAll = function(){ - //summary: Cancels all pending IO requests, regardless of IO type - //(xhr, script, iframe). - try{ - _d.forEach(_inFlight, function(i){ - i.dfd.cancel(); - }); - }catch(e){/*squelch*/} - } - - //Automatically call cancel all io calls on unload - //in IE for trac issue #2357. - if(_d.isIE){ - _d.addOnUnload(_d._ioCancelAll); - } - - _d._ioWatch = function(/*Deferred*/dfd, - /*Function*/validCheck, - /*Function*/ioCheck, - /*Function*/resHandle){ - //summary: watches the io request represented by dfd to see if it completes. - //dfd: - // The Deferred object to watch. - //validCheck: - // Function used to check if the IO request is still valid. Gets the dfd - // object as its only argument. - //ioCheck: - // Function used to check if basic IO call worked. Gets the dfd - // object as its only argument. - //resHandle: - // Function used to process response. Gets the dfd - // object as its only argument. - if(dfd.ioArgs.args.timeout){ - dfd.startTime = (new Date()).getTime(); - } - _inFlight.push({dfd: dfd, validCheck: validCheck, ioCheck: ioCheck, resHandle: resHandle}); - if(!_inFlightIntvl){ - _inFlightIntvl = setInterval(_watchInFlight, 50); - } - _watchInFlight(); // handle sync requests - } - - var _defaultContentType = "application/x-www-form-urlencoded"; - - var _validCheck = function(/*Deferred*/dfd){ - return dfd.ioArgs.xhr.readyState; //boolean - } - var _ioCheck = function(/*Deferred*/dfd){ - return 4 == dfd.ioArgs.xhr.readyState; //boolean - } - var _resHandle = function(/*Deferred*/dfd){ - var xhr = dfd.ioArgs.xhr; - if(_d._isDocumentOk(xhr)){ - dfd.callback(dfd); - }else{ - var err = new Error("Unable to load " + dfd.ioArgs.url + " status:" + xhr.status); - err.status = xhr.status; - err.responseText = xhr.responseText; - dfd.errback(err); - } - } - - var _doIt = function(/*String*/type, /*Deferred*/dfd){ - // IE 6 is a steaming pile. It won't let you call apply() on the native function (xhr.open). - // workaround for IE6's apply() "issues" - var ioArgs = dfd.ioArgs; - var args = ioArgs.args; - var xhr = ioArgs.xhr; - xhr.open(type, ioArgs.url, args.sync !== true, args.user || undefined, args.password || undefined); - if(args.headers){ - for(var hdr in args.headers){ - if(hdr.toLowerCase() === "content-type" && !args.contentType){ - args.contentType = args.headers[hdr]; - }else{ - xhr.setRequestHeader(hdr, args.headers[hdr]); - } - } - } - // FIXME: is this appropriate for all content types? - xhr.setRequestHeader("Content-Type", args.contentType || _defaultContentType); - if(!args.headers || !args.headers["X-Requested-With"]){ - xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); - } - // FIXME: set other headers here! - try{ - xhr.send(ioArgs.query); - }catch(e){ - dfd.cancel(); - } - _d._ioWatch(dfd, _validCheck, _ioCheck, _resHandle); - xhr = null; - return dfd; //Deferred - } - - dojo._ioAddQueryToUrl = function(/*dojo.__IoCallbackArgs*/ioArgs){ - //summary: Adds query params discovered by the io deferred construction to the URL. - //Only use this for operations which are fundamentally GET-type operations. - if(ioArgs.query.length){ - ioArgs.url += (ioArgs.url.indexOf("?") == -1 ? "?" : "&") + ioArgs.query; - ioArgs.query = null; - } - } - - /*===== - dojo.declare("dojo.__XhrArgs", dojo.__IoArgs, { - constructor: function(){ - // summary: - // In addition to the properties listed for the dojo._IoArgs type, - // the following properties are allowed for dojo.xhr* methods. - // handleAs: String? - // Acceptable values are: text (default), json, json-comment-optional, - // json-comment-filtered, javascript, xml - // sync: Boolean? - // false is default. Indicates whether the request should - // be a synchronous (blocking) request. - // headers: Object? - // Additional HTTP headers to send in the request. - this.handleAs = handleAs; - this.sync = sync; - this.headers = headers; - } - }); - =====*/ - - dojo.xhr = function(/*String*/ method, /*dojo.__XhrArgs*/ args, /*Boolean?*/ hasBody){ - // summary: - // Sends an HTTP request with the given method. If the request has an - // HTTP body, then pass true for hasBody. The method argument should be uppercase. - // Also look at dojo.xhrGet(), xhrPost(), xhrPut() and dojo.xhrDelete() for shortcuts - // for those HTTP methods. There are also methods for "raw" PUT and POST methods - // via dojo.rawXhrPut() and dojo.rawXhrPost() respectively. - var dfd = _makeXhrDeferred(args); - if(!hasBody){ - _d._ioAddQueryToUrl(dfd.ioArgs); - } - return _doIt(method, dfd); // dojo.Deferred - } - - dojo.xhrGet = function(/*dojo.__XhrArgs*/ args){ - // summary: - // Sends an HTTP GET request to the server. - return _d.xhr("GET", args); //dojo.Deferred - } - - dojo.xhrPost = function(/*dojo.__XhrArgs*/ args){ - //summary: - // Sends an HTTP POST request to the server. - return _d.xhr("POST", args, true); // dojo.Deferred - } - - dojo.rawXhrPost = function(/*dojo.__XhrArgs*/ args){ - // summary: - // Sends an HTTP POST request to the server. In addtion to the properties - // listed for the dojo.__XhrArgs type, the following property is allowed: - // postData: - // String. The raw data to send in the body of the POST request. - var dfd = _makeXhrDeferred(args); - dfd.ioArgs.query = args.postData; - return _doIt("POST", dfd); // dojo.Deferred - } - - dojo.xhrPut = function(/*dojo.__XhrArgs*/ args){ - // summary: - // Sends an HTTP PUT request to the server. - return _d.xhr("PUT", args, true); // dojo.Deferred - } - - dojo.rawXhrPut = function(/*dojo.__XhrArgs*/ args){ - // summary: - // Sends an HTTP PUT request to the server. In addtion to the properties - // listed for the dojo.__XhrArgs type, the following property is allowed: - // putData: - // String. The raw data to send in the body of the PUT request. - var dfd = _makeXhrDeferred(args); - var ioArgs = dfd.ioArgs; - if(args.putData){ - ioArgs.query = args.putData; - args.putData = null; - } - return _doIt("PUT", dfd); // dojo.Deferred - } - - dojo.xhrDelete = function(/*dojo.__XhrArgs*/ args){ - // summary: - // Sends an HTTP DELETE request to the server. - return _d.xhr("DELETE", args); //dojo.Deferred - } - - /* - dojo.wrapForm = function(formNode){ - //summary: - // A replacement for FormBind, but not implemented yet. - - // FIXME: need to think harder about what extensions to this we might - // want. What should we allow folks to do w/ this? What events to - // set/send? - throw new Error("dojo.wrapForm not yet implemented"); - } - */ -})(); - -} diff --git a/includes/js/dojo/_firebug/LICENSE b/includes/js/dojo/_firebug/LICENSE deleted file mode 100644 index 8c777a2..0000000 --- a/includes/js/dojo/_firebug/LICENSE +++ /dev/null @@ -1,37 +0,0 @@ -License Disclaimer: - -All contents of this directory are Copyright (c) the Dojo Foundation, with the -following exceptions: -------------------------------------------------------------------------------- - -firebug.html, firebug.js, errIcon.png, infoIcon.png, warningIcon.png: - * Copyright (c) 2006-2007, Joe Hewitt, All rights reserved. - Distributed under the terms of the BSD License (see below) - -------------------------------------------------------------------------------- - -Copyright (c) 2006-2007, Joe Hewitt -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 Dojo Foundation nor the names of its 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. diff --git a/includes/js/dojo/_firebug/errorIcon.png b/includes/js/dojo/_firebug/errorIcon.png deleted file mode 100644 index 2d75261..0000000 Binary files a/includes/js/dojo/_firebug/errorIcon.png and /dev/null differ diff --git a/includes/js/dojo/_firebug/firebug.css b/includes/js/dojo/_firebug/firebug.css deleted file mode 100644 index 0b154f2..0000000 --- a/includes/js/dojo/_firebug/firebug.css +++ /dev/null @@ -1,176 +0,0 @@ -.firebug { - margin: 0; - background:#fff; - font-family: Lucida Grande, Tahoma, sans-serif; - font-size: 11px; - overflow: hidden; - border: 1px solid black; - position: relative; -} -.firebug a { - text-decoration: none; -} -.firebug a:hover { - text-decoration: underline; -} -.firebug a:visited{ - color:#0000FF; -} -.firebug #firebugToolbar { - height: 14px; - border-top: 1px solid ThreeDHighlight; - border-bottom: 1px solid ThreeDShadow; - padding: 2px 6px; - background: ThreeDFace; -} -.firebug .firebugToolbarRight { - position: absolute; - top: 4px; - right: 6px; -} -.firebug #firebugLog, .firebug #objectLog { - overflow: auto; - position: absolute; - left: 0; - width: 100%; -} -#objectLog{ - overflow:scroll; - height:258px; -} -.firebug #firebugCommandLine { - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 18px; - border: none; - border-top: 1px solid ThreeDShadow; -} -.firebug .logRow { - position: relative; - border-bottom: 1px solid #D7D7D7; - padding: 2px 4px 1px 6px; - background-color: #FFFFFF; -} -.firebug .logRow-command { - font-family: Monaco, monospace; - color: blue; -} -.firebug .objectBox-null { - padding: 0 2px; - border: 1px solid #666666; - background-color: #888888; - color: #FFFFFF; -} -.firebug .objectBox-string { - font-family: Monaco, monospace; - color: red; - white-space: pre; -} -.firebug .objectBox-number { - color: #000088; -} -.firebug .objectBox-function { - font-family: Monaco, monospace; - color: DarkGreen; -} -.firebug .objectBox-object { - color: DarkGreen; - font-weight: bold; -} -.firebug .logRow-info, -.firebug .logRow-error, -.firebug .logRow-warning - { - background: #00FFFF no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} -.firebug .logRow-info { - background: #FFF url(infoIcon.png) no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} -.firebug .logRow-warning { - - background: #00FFFF url(warningIcon.png) no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} -.firebug .logRow-error { - background: LightYellow url(errorIcon.png) no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} -.firebug .errorMessage { - vertical-align: top; - color: #FF0000; -} -.firebug .objectBox-sourceLink { - position: absolute; - right: 4px; - top: 2px; - padding-left: 8px; - font-family: Lucida Grande, sans-serif; - font-weight: bold; - color: #0000FF; -} -.firebug .logRow-group { - background: #EEEEEE; - border-bottom: none; -} -.firebug .logGroup { - background: #EEEEEE; -} -.firebug .logGroupBox { - margin-left: 24px; - border-top: 1px solid #D7D7D7; - border-left: 1px solid #D7D7D7; -} -.firebug .selectorTag, -.firebug .selectorId, -.firebug .selectorClass { - font-family: Monaco, monospace; - font-weight: normal; -} -.firebug .selectorTag { - color: #0000FF; -} -.firebug .selectorId { - color: DarkBlue; -} -.firebug .selectorClass { - color: red; -} -.firebug .objectBox-element { - font-family: Monaco, monospace; - color: #000088; -} -.firebug .nodeChildren { - margin-left: 16px; -} -.firebug .nodeTag { - color: blue; -} -.firebug .nodeValue { - color: #FF0000; - font-weight: normal; -} -.firebug .nodeText, -.firebug .nodeComment { - margin: 0 2px; - vertical-align: top; -} -.firebug .nodeText { - color: #333333; -} -.firebug .nodeComment { - color: DarkGreen; -} -.firebug .propertyNameCell { - vertical-align: top; -} -.firebug .propertyName { - font-weight: bold; -} diff --git a/includes/js/dojo/_firebug/firebug.css.commented.css b/includes/js/dojo/_firebug/firebug.css.commented.css deleted file mode 100644 index 8c4c4f4..0000000 --- a/includes/js/dojo/_firebug/firebug.css.commented.css +++ /dev/null @@ -1,222 +0,0 @@ -.firebug { - margin: 0; - background:#fff; - font-family: Lucida Grande, Tahoma, sans-serif; - font-size: 11px; - overflow: hidden; - border: 1px solid black; - position: relative; -} - -.firebug a { - text-decoration: none; -} - -.firebug a:hover { - text-decoration: underline; -} -.firebug a:visited{ - color:#0000FF; -} -.firebug #firebugToolbar { - height: 14px; - border-top: 1px solid ThreeDHighlight; - border-bottom: 1px solid ThreeDShadow; - padding: 2px 6px; - background: ThreeDFace; -} - -.firebug .firebugToolbarRight { - position: absolute; - top: 4px; - right: 6px; -} - -.firebug #firebugLog, .firebug #objectLog { - overflow: auto; - position: absolute; - left: 0; - width: 100%; -} -#objectLog{ - overflow:scroll; - height:258px; -} -.firebug #firebugCommandLine { - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 18px; - border: none; - border-top: 1px solid ThreeDShadow; -} - -/************************************************************************************************/ - -.firebug .logRow { - position: relative; - border-bottom: 1px solid #D7D7D7; - padding: 2px 4px 1px 6px; - background-color: #FFFFFF; -} - -.firebug .logRow-command { - font-family: Monaco, monospace; - color: blue; -} - -.firebug .objectBox-null { - padding: 0 2px; - border: 1px solid #666666; - background-color: #888888; - color: #FFFFFF; -} - -.firebug .objectBox-string { - font-family: Monaco, monospace; - color: red; - white-space: pre; -} - -.firebug .objectBox-number { - color: #000088; -} - -.firebug .objectBox-function { - font-family: Monaco, monospace; - color: DarkGreen; -} - -.firebug .objectBox-object { - color: DarkGreen; - font-weight: bold; -} - -/************************************************************************************************/ - -.firebug .logRow-info, -.firebug .logRow-error, -.firebug .logRow-warning - { - background: #00FFFF no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} - -.firebug .logRow-info { - background: #FFF url(infoIcon.png) no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} - -.firebug .logRow-warning { - - background: #00FFFF url(warningIcon.png) no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} - -.firebug .logRow-error { - - background: LightYellow url(errorIcon.png) no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} - -.firebug .errorMessage { - vertical-align: top; - color: #FF0000; -} - -.firebug .objectBox-sourceLink { - position: absolute; - right: 4px; - top: 2px; - padding-left: 8px; - font-family: Lucida Grande, sans-serif; - font-weight: bold; - color: #0000FF; -} - -/************************************************************************************************/ - -.firebug .logRow-group { - background: #EEEEEE; - border-bottom: none; -} - -.firebug .logGroup { - background: #EEEEEE; -} - -.firebug .logGroupBox { - margin-left: 24px; - border-top: 1px solid #D7D7D7; - border-left: 1px solid #D7D7D7; -} - -/************************************************************************************************/ - -.firebug .selectorTag, -.firebug .selectorId, -.firebug .selectorClass { - font-family: Monaco, monospace; - font-weight: normal; -} - -.firebug .selectorTag { - color: #0000FF; -} - -.firebug .selectorId { - color: DarkBlue; -} - -.firebug .selectorClass { - color: red; -} - -/************************************************************************************************/ - -.firebug .objectBox-element { - font-family: Monaco, monospace; - color: #000088; -} - -.firebug .nodeChildren { - margin-left: 16px; -} - -.firebug .nodeTag { - color: blue; -} - -.firebug .nodeValue { - color: #FF0000; - font-weight: normal; -} - -.firebug .nodeText, -.firebug .nodeComment { - margin: 0 2px; - vertical-align: top; -} - -.firebug .nodeText { - color: #333333; -} - -.firebug .nodeComment { - color: DarkGreen; -} - -/************************************************************************************************/ - -.firebug .propertyNameCell { - vertical-align: top; -} - -.firebug .propertyName { - font-weight: bold; -} diff --git a/includes/js/dojo/_firebug/firebug.js b/includes/js/dojo/_firebug/firebug.js deleted file mode 100644 index ee189b2..0000000 --- a/includes/js/dojo/_firebug/firebug.js +++ /dev/null @@ -1,1103 +0,0 @@ -if(!dojo._hasResource["dojo._firebug.firebug"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._firebug.firebug"] = true; -dojo.provide("dojo._firebug.firebug"); - -dojo.deprecated = function(/*String*/ behaviour, /*String?*/ extra, /*String?*/ removal){ - // summary: - // Log a debug message to indicate that a behavior has been - // deprecated. - // extra: Text to append to the message. - // removal: - // Text to indicate when in the future the behavior will be removed. - var message = "DEPRECATED: " + behaviour; - if(extra){ message += " " + extra; } - if(removal){ message += " -- will be removed in version: " + removal; } - console.warn(message); -} - -dojo.experimental = function(/* String */ moduleName, /* String? */ extra){ - // summary: Marks code as experimental. - // description: - // This can be used to mark a function, file, or module as - // experimental. Experimental code is not ready to be used, and the - // APIs are subject to change without notice. Experimental code may be - // completed deleted without going through the normal deprecation - // process. - // moduleName: - // The name of a module, or the name of a module file or a specific - // function - // extra: - // some additional message for the user - // example: - // | dojo.experimental("dojo.data.Result"); - // example: - // | dojo.experimental("dojo.weather.toKelvin()", "PENDING approval from NOAA"); - var message = "EXPERIMENTAL: " + moduleName + " -- APIs subject to change without notice."; - if(extra){ message += " " + extra; } - console.warn(message); -} - -// FIREBUG LITE - // summary: Firebug Lite, the baby brother to Joe Hewitt's Firebug for Mozilla Firefox - // description: - // Opens a console for logging, debugging, and error messages. - // Contains partial functionality to Firebug. See function list below. - // NOTE: - // Firebug is a Firefox extension created by Joe Hewitt (see license). You do not need Dojo to run Firebug. - // Firebug Lite is included in Dojo by permission from Joe Hewitt - // If you are new to Firebug, or used to the Dojo 0.4 dojo.debug, you can learn Firebug - // functionality by reading the function comments below or visiting http://www.getfirebug.com/docs.html - // NOTE: - // To test Firebug Lite in Firefox, set console = null; - // - // example: - // Supports inline objects in object inspector window (only simple trace of dom nodes, however) - // | console.log("my object", {foo:"bar"}) - // example: - // Option for console to open in popup window - // | var djConfig = {isDebug: true, popup:true }; - // example: - // Option for console height (ignored for popup) - // | var djConfig = {isDebug: true, debugHeight:100 }; - -if((!("console" in window) || !("firebug" in console)) && - dojo.config.noFirebugLite !== true){ - -(function(){ - // don't build a firebug frame in iframes - try{ - if(window != window.parent){ - // but if we've got a parent logger, connect to it - if(window.parent["console"]){ - window.console = window.parent.console; - } - return; - } - }catch(e){/*squelch*/} - - window.console = { - _connects: [], - log: function(){ - // summary: - // Sends arguments to console. - logFormatted(arguments, ""); - }, - - debug: function(){ - // summary: - // Sends arguments to console. Missing finctionality to show script line of trace. - logFormatted(arguments, "debug"); - }, - - info: function(){ - // summary: - // Sends arguments to console, highlighted with (I) icon. - logFormatted(arguments, "info"); - }, - - warn: function(){ - // summary: - // Sends warning arguments to console, highlighted with (!) icon and blue style. - logFormatted(arguments, "warning"); - }, - - error: function(){ - // summary: - // Sends error arguments (object) to console, highlighted with (X) icon and yellow style - // NEW: error object now displays in object inspector - logFormatted(arguments, "error"); - }, - - assert: function(truth, message){ - // summary: - // Tests for true. Throws exception if false. - if(!truth){ - var args = []; - for(var i = 1; i < arguments.length; ++i){ - args.push(arguments[i]); - } - - logFormatted(args.length ? args : ["Assertion Failure"], "error"); - throw message ? message : "Assertion Failure"; - } - }, - - dir: function(object){ - // summary: - // Traces object. Only partially implemented. - - var pairs = []; - for(var prop in object){ - try{ - pairs.push([prop, object[prop]]); - }catch(e){ - /* squelch */ - } - } - - pairs.sort(function(a, b){ - return a[0] < b[0] ? -1 : 1; - }); - - var html = ['']; - for(var i = 0; i < pairs.length; ++i){ - var name = pairs[i][0], value = pairs[i][1]; - - html.push('', - '', ''); - } - html.push('
          ', - escapeHTML(name), ''); - appendObject(value, html); - html.push('
          '); - - logRow(html, "dir"); - }, - - dirxml: function(node){ - // summary: - // - var html = []; - - appendNode(node, html); - logRow(html, "dirxml"); - }, - - group: function(){ - // summary: - // collects log messages into a group, starting with this call and ending with - // groupEnd(). Missing collapse functionality - logRow(arguments, "group", pushGroup); - }, - - groupEnd: function(){ - // summary: - // Closes group. See above - logRow(arguments, "", popGroup); - }, - - time: function(name){ - // summary: - // Starts timers assigned to name given in argument. Timer stops and displays on timeEnd(title); - // example: - // | console.time("load"); - // | console.time("myFunction"); - // | console.timeEnd("load"); - // | console.timeEnd("myFunction"); - timeMap[name] = (new Date()).getTime(); - }, - - timeEnd: function(name){ - // summary: - // See above. - if(name in timeMap){ - var delta = (new Date()).getTime() - timeMap[name]; - logFormatted([name+ ":", delta+"ms"]); - delete timeMap[name]; - } - }, - - count: function(){ - // summary: - // Not supported - this.warn(["count() not supported."]); - }, - - trace: function(){ - // summary: - // Not supported - this.warn(["trace() not supported."]); - }, - - profile: function(){ - // summary: - // Not supported - this.warn(["profile() not supported."]); - }, - - profileEnd: function(){ }, - - clear: function(){ - // summary: - // Clears message console. Do not call this directly - while(consoleBody.childNodes.length){ - dojo._destroyElement(consoleBody.firstChild); - } - dojo.forEach(this._connects,dojo.disconnect); - }, - - open: function(){ - // summary: - // Opens message console. Do not call this directly - toggleConsole(true); - }, - - close: function(){ - // summary: - // Closes message console. Do not call this directly - if(frameVisible){ - toggleConsole(); - } - }, - closeObjectInspector:function(){ - // summary: - // Closes object inspector and opens message console. Do not call this directly - consoleObjectInspector.innerHTML = ""; - consoleObjectInspector.style.display = "none"; - consoleBody.style.display = "block"; - } - }; - - // *************************************************************************** - - // using global objects so they can be accessed - // most of the objects in this script are run anonomously - var _firebugDoc = document; - var _firebugWin = window; - var __consoleAnchorId__ = 0; - - var consoleFrame = null; - var consoleBody = null; - var commandLine = null; - var consoleToolbar = null; - - var frameVisible = false; - var messageQueue = []; - var groupStack = []; - var timeMap = {}; - - var clPrefix = ">>> "; - - // *************************************************************************** - - function toggleConsole(forceOpen){ - frameVisible = forceOpen || !frameVisible; - if(consoleFrame){ - consoleFrame.style.display = frameVisible ? "block" : "none"; - } - } - - function focusCommandLine(){ - toggleConsole(true); - if(commandLine){ - commandLine.focus(); - } - } - - function openWin(x,y,w,h){ - var win = window.open("","_firebug","status=0,menubar=0,resizable=1,top="+y+",left="+x+",width="+w+",height="+h+",scrollbars=1,addressbar=0"); - if(!win){ - var msg = "Firebug Lite could not open a pop-up window, most likely because of a blocker.\n" + - "Either enable pop-ups for this domain, or change the djConfig to popup=false."; - alert(msg); - } - createResizeHandler(win); - var newDoc=win.document; - //Safari needs an HTML height - HTMLstring= 'Firebug Lite\n' + - '\n' + - '
          ' + - ''; - - newDoc.write(HTMLstring); - newDoc.close(); - return win; - } - - function createResizeHandler(wn){ - // summary - // Creates handle for onresize window. Called from script in popup's body tag (so that it will work with IE). - // - - var d = new Date(); - d.setTime(d.getTime()+(60*24*60*60*1000)); // 60 days - d = d.toUTCString(); - - var dc = wn.document, - getViewport; - - if (wn.innerWidth){ - getViewport = function(){ - return{w:wn.innerWidth, h:wn.innerHeight}; - } - }else if (dc.documentElement && dc.documentElement.clientWidth){ - getViewport = function(){ - return{w:dc.documentElement.clientWidth, h:dc.documentElement.clientHeight}; - } - }else if (dc.body){ - getViewport = function(){ - return{w:dc.body.clientWidth, h:dc.body.clientHeight}; - } - } - - - window.onFirebugResize = function(){ - - //resize the height of the console log body - layout(getViewport().h); - - clearInterval(wn._firebugWin_resize); - wn._firebugWin_resize = setTimeout(function(){ - var x = wn.screenLeft, - y = wn.screenTop, - w = wn.outerWidth || wn.document.body.offsetWidth, - h = wn.outerHeight || wn.document.body.offsetHeight; - - document.cookie = "_firebugPosition=" + [x,y,w,h].join(",") + "; expires="+d+"; path=/"; - - }, 5000); //can't capture window.onMove - long timeout gives better chance of capturing a resize, then the move - - } - } - - - /*****************************************************************************/ - - - function createFrame(){ - if(consoleFrame){ - return; - } - - if(dojo.config.popup){ - var containerHeight = "100%"; - var cookieMatch = document.cookie.match(/(?:^|; )_firebugPosition=([^;]*)/); - var p = cookieMatch ? cookieMatch[1].split(",") : [2,2,320,480]; - - _firebugWin = openWin(p[0],p[1],p[2],p[3]); // global - _firebugDoc = _firebugWin.document; // global - - djConfig.debugContainerId = 'fb'; - - // connecting popup - _firebugWin.console = window.console; - _firebugWin.dojo = window.dojo; - }else{ - _firebugDoc = document; - containerHeight = (dojo.config.debugHeight || 300) + "px"; - } - - var styleElement = _firebugDoc.createElement("link"); - styleElement.href = dojo.moduleUrl("dojo._firebug", "firebug.css"); - styleElement.rel = "stylesheet"; - styleElement.type = "text/css"; - var styleParent = _firebugDoc.getElementsByTagName("head"); - if(styleParent){ - styleParent = styleParent[0]; - } - if(!styleParent){ - styleParent = _firebugDoc.getElementsByTagName("html")[0]; - } - if(dojo.isIE){ - window.setTimeout(function(){ styleParent.appendChild(styleElement); }, 0); - }else{ - styleParent.appendChild(styleElement); - } - - if(dojo.config.debugContainerId){ - consoleFrame = _firebugDoc.getElementById(dojo.config.debugContainerId); - } - if(!consoleFrame){ - consoleFrame = _firebugDoc.createElement("div"); - _firebugDoc.body.appendChild(consoleFrame); - } - consoleFrame.className += " firebug"; - consoleFrame.style.height = containerHeight; - consoleFrame.style.display = (frameVisible ? "block" : "none"); - - var closeStr = dojo.config.popup ? "" : ' Close'; - consoleFrame.innerHTML = - '
          ' - + ' Clear' - + ' ' - + closeStr - + ' ' - + '
          ' - + '' - + '
          ' - + ''; - - - consoleToolbar = _firebugDoc.getElementById("firebugToolbar"); - consoleToolbar.onmousedown = onSplitterMouseDown; - - commandLine = _firebugDoc.getElementById("firebugCommandLine"); - addEvent(commandLine, "keydown", onCommandLineKeyDown); - - addEvent(_firebugDoc, dojo.isIE || dojo.isSafari ? "keydown" : "keypress", onKeyDown); - - consoleBody = _firebugDoc.getElementById("firebugLog"); - consoleObjectInspector = _firebugDoc.getElementById("objectLog"); - - layout(); - flush(); - } - - dojo.addOnLoad(createFrame); - - function clearFrame(){ - _firebugDoc = null; - - if(_firebugWin.console){ - _firebugWin.console.clear(); - } - _firebugWin = null; - consoleFrame = null; - consoleBody = null; - consoleObjectInspector = null; - commandLine = null; - messageQueue = []; - groupStack = []; - timeMap = {}; - } - dojo.addOnUnload(clearFrame); - - function evalCommandLine(){ - var text = commandLine.value; - commandLine.value = ""; - - logRow([clPrefix, text], "command"); - - var value; - try{ - value = eval(text); - }catch(e){ - console.debug(e); // put exception on the console - } - - console.log(value); - } - - function layout(h){ - var height = h ? - h - (consoleToolbar.offsetHeight + commandLine.offsetHeight +25 + (h*.01)) + "px" : - consoleFrame.offsetHeight - (consoleToolbar.offsetHeight + commandLine.offsetHeight) + "px"; - - consoleBody.style.top = consoleToolbar.offsetHeight + "px"; - consoleBody.style.height = height; - consoleObjectInspector.style.height = height; - consoleObjectInspector.style.top = consoleToolbar.offsetHeight + "px"; - commandLine.style.bottom = 0; - } - - function logRow(message, className, handler){ - if(consoleBody){ - writeMessage(message, className, handler); - }else{ - messageQueue.push([message, className, handler]); - } - } - - function flush(){ - var queue = messageQueue; - messageQueue = []; - - for(var i = 0; i < queue.length; ++i){ - writeMessage(queue[i][0], queue[i][1], queue[i][2]); - } - } - - function writeMessage(message, className, handler){ - var isScrolledToBottom = - consoleBody.scrollTop + consoleBody.offsetHeight >= consoleBody.scrollHeight; - - handler = handler||writeRow; - - handler(message, className); - - if(isScrolledToBottom){ - consoleBody.scrollTop = consoleBody.scrollHeight - consoleBody.offsetHeight; - } - } - - function appendRow(row){ - var container = groupStack.length ? groupStack[groupStack.length-1] : consoleBody; - container.appendChild(row); - } - - function writeRow(message, className){ - var row = consoleBody.ownerDocument.createElement("div"); - row.className = "logRow" + (className ? " logRow-"+className : ""); - row.innerHTML = message.join(""); - appendRow(row); - } - - function pushGroup(message, className){ - logFormatted(message, className); - - //var groupRow = consoleBody.ownerDocument.createElement("div"); - //groupRow.className = "logGroup"; - var groupRowBox = consoleBody.ownerDocument.createElement("div"); - groupRowBox.className = "logGroupBox"; - //groupRow.appendChild(groupRowBox); - appendRow(groupRowBox); - groupStack.push(groupRowBox); - } - - function popGroup(){ - groupStack.pop(); - } - - // *************************************************************************** - - function logFormatted(objects, className){ - var html = []; - - var format = objects[0]; - var objIndex = 0; - - if(typeof(format) != "string"){ - format = ""; - objIndex = -1; - } - - var parts = parseFormat(format); - - for(var i = 0; i < parts.length; ++i){ - var part = parts[i]; - if(part && typeof part == "object"){ - part.appender(objects[++objIndex], html); - }else{ - appendText(part, html); - } - } - - - var ids = []; - var obs = []; - for(i = objIndex+1; i < objects.length; ++i){ - appendText(" ", html); - - var object = objects[i]; - if(object === undefined || object === null ){ - appendNull(object, html); - - }else if(typeof(object) == "string"){ - appendText(object, html); - - }else if(object.nodeType == 9){ - appendText("[ XmlDoc ]", html); - - }else if(object.nodeType == 1){ - // simple tracing of dom nodes - appendText("< "+object.tagName+" id=\""+ object.id+"\" />", html); - - }else{ - // Create link for object inspector - // need to create an ID for this link, since it is currently text - var id = "_a" + __consoleAnchorId__++; - ids.push(id); - // need to save the object, so the arrays line up - obs.push(object); - var str = ''+getObjectAbbr(object)+''; - - appendLink( str , html); - } - } - - logRow(html, className); - - // Now that the row is inserted in the DOM, loop through all of the links that were just created - for(i=0; i" + printObject( this.obj ) + ""; - })); - } - } - - function parseFormat(format){ - var parts = []; - - var reg = /((^%|[^\\]%)(\d+)?(\.)([a-zA-Z]))|((^%|[^\\]%)([a-zA-Z]))/; - var appenderMap = {s: appendText, d: appendInteger, i: appendInteger, f: appendFloat}; - - for(var m = reg.exec(format); m; m = reg.exec(format)){ - var type = m[8] ? m[8] : m[5]; - var appender = type in appenderMap ? appenderMap[type] : appendObject; - var precision = m[3] ? parseInt(m[3]) : (m[4] == "." ? -1 : 0); - - parts.push(format.substr(0, m[0][0] == "%" ? m.index : m.index+1)); - parts.push({appender: appender, precision: precision}); - - format = format.substr(m.index+m[0].length); - } - - parts.push(format); - - return parts; - } - - function escapeHTML(value){ - function replaceChars(ch){ - switch(ch){ - case "<": - return "<"; - case ">": - return ">"; - case "&": - return "&"; - case "'": - return "'"; - case '"': - return """; - } - return "?"; - } - return String(value).replace(/[<>&"']/g, replaceChars); - } - - function objectToString(object){ - try{ - return object+""; - }catch(e){ - return null; - } - } - - // *************************************************************************** - function appendLink(object, html){ - // needed for object links - no HTML escaping - html.push( objectToString(object) ); - } - - function appendText(object, html){ - html.push(escapeHTML(objectToString(object))); - } - - function appendNull(object, html){ - html.push('', escapeHTML(objectToString(object)), ''); - } - - function appendString(object, html){ - html.push('"', escapeHTML(objectToString(object)), - '"'); - } - - function appendInteger(object, html){ - html.push('', escapeHTML(objectToString(object)), ''); - } - - function appendFloat(object, html){ - html.push('', escapeHTML(objectToString(object)), ''); - } - - function appendFunction(object, html){ - html.push('', getObjectAbbr(object), ''); - } - - function appendObject(object, html){ - try{ - if(object === undefined){ - appendNull("undefined", html); - }else if(object === null){ - appendNull("null", html); - }else if(typeof object == "string"){ - appendString(object, html); - }else if(typeof object == "number"){ - appendInteger(object, html); - }else if(typeof object == "function"){ - appendFunction(object, html); - }else if(object.nodeType == 1){ - appendSelector(object, html); - }else if(typeof object == "object"){ - appendObjectFormatted(object, html); - }else{ - appendText(object, html); - } - }catch(e){ - /* squelch */ - } - } - - function appendObjectFormatted(object, html){ - var text = objectToString(object); - var reObject = /\[object (.*?)\]/; - - var m = reObject.exec(text); - html.push('', m ? m[1] : text, ''); - } - - function appendSelector(object, html){ - html.push(''); - - html.push('', escapeHTML(object.nodeName.toLowerCase()), ''); - if(object.id){ - html.push('#', escapeHTML(object.id), ''); - } - if(object.className){ - html.push('.', escapeHTML(object.className), ''); - } - - html.push(''); - } - - function appendNode(node, html){ - if(node.nodeType == 1){ - html.push( - '
          ', - '<', node.nodeName.toLowerCase(), ''); - - for(var i = 0; i < node.attributes.length; ++i){ - var attr = node.attributes[i]; - if(!attr.specified){ continue; } - - html.push(' ', attr.nodeName.toLowerCase(), - '="', escapeHTML(attr.nodeValue), - '"'); - } - - if(node.firstChild){ - html.push('>
          '); - - for(var child = node.firstChild; child; child = child.nextSibling){ - appendNode(child, html); - } - - html.push('
          </', - node.nodeName.toLowerCase(), '>
          '); - }else{ - html.push('/>

          '); - } - }else if (node.nodeType == 3){ - html.push('
          ', escapeHTML(node.nodeValue), - '
          '); - } - } - - // *************************************************************************** - - function addEvent(object, name, handler){ - if(document.all){ - object.attachEvent("on"+name, handler); - }else{ - object.addEventListener(name, handler, false); - } - } - - function removeEvent(object, name, handler){ - if(document.all){ - object.detachEvent("on"+name, handler); - }else{ - object.removeEventListener(name, handler, false); - } - } - - function cancelEvent(event){ - if(document.all){ - event.cancelBubble = true; - }else{ - event.stopPropagation(); - } - } - - function onError(msg, href, lineNo){ - var lastSlash = href.lastIndexOf("/"); - var fileName = lastSlash == -1 ? href : href.substr(lastSlash+1); - - var html = [ - '', msg, '', - '' - ]; - - logRow(html, "error"); - } - - - //After converting to div instead of iframe, now getting two keydowns right away in IE 6. - //Make sure there is a little bit of delay. - var onKeyDownTime = (new Date()).getTime(); - - function onKeyDown(event){ - var timestamp = (new Date()).getTime(); - if(timestamp > onKeyDownTime + 200){ - event = dojo.fixEvent(event); - var keys = dojo.keys; - var ekc = event.keyCode; - onKeyDownTime = timestamp; - if(ekc == keys.F12){ - toggleConsole(); - }else if( - (ekc == keys.NUMPAD_ENTER || ekc == 76) && - event.shiftKey && - (event.metaKey || event.ctrlKey) - ){ - focusCommandLine(); - }else{ - return; - } - cancelEvent(event); - } - } - - - function onSplitterMouseDown(event){ - if(dojo.isSafari || dojo.isOpera){ - return; - } - - addEvent(document, "mousemove", onSplitterMouseMove); - addEvent(document, "mouseup", onSplitterMouseUp); - - for(var i = 0; i < frames.length; ++i){ - addEvent(frames[i].document, "mousemove", onSplitterMouseMove); - addEvent(frames[i].document, "mouseup", onSplitterMouseUp); - } - } - - function onSplitterMouseMove(event){ - var win = document.all ? - event.srcElement.ownerDocument.parentWindow : - event.target.ownerDocument.defaultView; - - var clientY = event.clientY; - if(win != win.parent){ - clientY += win.frameElement ? win.frameElement.offsetTop : 0; - } - - var height = consoleFrame.offsetTop + consoleFrame.clientHeight; - var y = height - clientY; - - consoleFrame.style.height = y + "px"; - layout(); - } - - function onSplitterMouseUp(event){ - removeEvent(document, "mousemove", onSplitterMouseMove); - removeEvent(document, "mouseup", onSplitterMouseUp); - - for(var i = 0; i < frames.length; ++i){ - removeEvent(frames[i].document, "mousemove", onSplitterMouseMove); - removeEvent(frames[i].document, "mouseup", onSplitterMouseUp); - } - } - - function onCommandLineKeyDown(event){ - if(event.keyCode == 13 && commandLine.value){ - addToHistory(commandLine.value); - evalCommandLine(); - }else if(event.keyCode == 27){ - commandLine.value = ""; - }else if(event.keyCode == dojo.keys.UP_ARROW || event.charCode == dojo.keys.UP_ARROW){ - navigateHistory("older"); - }else if(event.keyCode == dojo.keys.DOWN_ARROW || event.charCode == dojo.keys.DOWN_ARROW){ - navigateHistory("newer"); - }else if(event.keyCode == dojo.keys.HOME || event.charCode == dojo.keys.HOME){ - historyPosition = 1; - navigateHistory("older"); - }else if(event.keyCode == dojo.keys.END || event.charCode == dojo.keys.END){ - historyPosition = 999999; - navigateHistory("newer"); - } - } - - var historyPosition = -1; - var historyCommandLine = null; - - function addToHistory(value){ - var history = cookie("firebug_history"); - history = (history) ? dojo.fromJson(history) : []; - var pos = dojo.indexOf(history, value); - if (pos != -1){ - history.splice(pos, 1); - } - history.push(value); - cookie("firebug_history", dojo.toJson(history), 30); - while(history.length && !cookie("firebug_history")){ - history.shift(); - cookie("firebug_history", dojo.toJson(history), 30); - } - historyCommandLine = null; - historyPosition = -1; - } - - function navigateHistory(direction){ - var history = cookie("firebug_history"); - history = (history) ? dojo.fromJson(history) : []; - if(!history.length){ - return; - } - - if(historyCommandLine === null){ - historyCommandLine = commandLine.value; - } - - if(historyPosition == -1){ - historyPosition = history.length; - } - - if(direction == "older"){ - --historyPosition; - if(historyPosition < 0){ - historyPosition = 0; - } - }else if(direction == "newer"){ - ++historyPosition; - if(historyPosition > history.length){ - historyPosition = history.length; - } - } - - if(historyPosition == history.length){ - commandLine.value = historyCommandLine; - historyCommandLine = null; - }else{ - commandLine.value = history[historyPosition]; - } - } - - function cookie(name, value){ - var c = document.cookie; - if(arguments.length == 1){ - var matches = c.match(new RegExp("(?:^|; )" + name + "=([^;]*)")); - return matches ? decodeURIComponent(matches[1]) : undefined; // String or undefined - }else{ - var d = new Date(); - d.setMonth(d.getMonth()+1); - document.cookie = name + "=" + encodeURIComponent(value) + ((d.toUtcString) ? "; expires=" + d.toUTCString() : ""); - } - }; - - function isArray(it){ - return it && it instanceof Array || typeof it == "array"; - } - - //*************************************************************************************************** - // Print Object Helpers - function getAtts(o){ - //Get amount of items in an object - if(isArray(o)){ - return "[array with " + o.length + " slots]"; - }else{ - var i = 0; - for(var nm in o){ - i++; - } - return "{object with " + i + " items}"; - } - } - - function printObject(o, i, txt, used){ - // Recursively trace object, indenting to represent depth for display in object inspector - // TODO: counter to prevent overly complex or looped objects (will probably help with dom nodes) - var br = "\n"; // using a
          ... otherwise we'd need a 
          - var ind = " "; - txt = txt || ""; - i = i || ind; - used = used || []; - looking: - for(var nm in o){ - if(o[nm] === window || o[nm] === document){ - continue; - }else if(o[nm] && o[nm].nodeType){ - if(o[nm].nodeType == 1){ - txt += i+nm + " : < "+o[nm].tagName+" id=\""+ o[nm].id+"\" />" + br; - }else if(o[nm].nodeType == 3){ - txt += i+nm + " : [ TextNode "+o[nm].data + " ]" + br; - } - }else if(typeof o[nm] == "object" && (o[nm] instanceof String || o[nm] instanceof Number || o[nm] instanceof Boolean)){ - txt += i+nm + " : " + o[nm] + br; - }else if(typeof(o[nm]) == "object" && o[nm]){ - for(var j = 0, seen; seen = used[j]; j++){ - if(o[nm] === seen){ - txt += i+nm + " : RECURSION" + br; - continue looking; - } - } - used.push(o[nm]); - txt += i+nm +" -> " + getAtts(o[nm]) + br; - txt += printObject(o[nm], i+ind, "", used); - }else if(typeof o[nm] == "undefined"){ - txt += i+nm + " : undefined" + br; - }else if(nm == "toString" && typeof o[nm] == "function"){ - var toString = o[nm](); - if(typeof toString == "string" && toString.match(/function ?(.*?)\(/)){ - toString = escapeHTML(getObjectAbbr(o[nm])); - } - txt += i+nm +" : " + toString + br; - }else{ - txt += i+nm +" : "+ escapeHTML(getObjectAbbr(o[nm])) + br; - } - } - txt += br; // keeps data from running to the edge of page - return txt; - } - - function getObjectAbbr(obj){ - // Gets an abbreviation of an object for display in log - // X items in object, including id - // X items in an array - // TODO: Firebug Sr. actually goes by char count - var isError = (obj instanceof Error); - var nm = (obj && (obj.id || obj.name || obj.ObjectID || obj.widgetId)); - if(!isError && nm){ return "{"+nm+"}"; } - - var obCnt = 2; - var arCnt = 4; - var cnt = 0; - - if(isError){ - nm = "[ Error: "+(obj.message || obj.description || obj)+" ]"; - }else if(isArray(obj)){ - nm = "[" + obj.slice(0,arCnt).join(","); - if(obj.length > arCnt){ - nm += " ... ("+obj.length+" items)"; - } - nm += "]"; - }else if(typeof obj == "function"){ - nm = obj + ""; - var reg = /function\s*([^\(]*)(\([^\)]*\))[^\{]*\{/; - var m = reg.exec(nm); - if(m){ - if(!m[1]){ - m[1] = "function"; - } - nm = m[1] + m[2]; - }else{ - nm = "function()"; - } - }else if(typeof obj != "object" || typeof obj == "string"){ - nm = obj + ""; - }else{ - nm = "{"; - for(var i in obj){ - cnt++; - if(cnt > obCnt){ break; } - nm += i+"="+obj[i]+" "; - } - nm+="}"; - } - - return nm; - } - - //************************************************************************************* - - window.onerror = onError; - addEvent(document, dojo.isIE || dojo.isSafari ? "keydown" : "keypress", onKeyDown); - - if( (document.documentElement.getAttribute("debug") == "true")|| - (dojo.config.isDebug) - ){ - toggleConsole(true); - } -})(); -} - -} diff --git a/includes/js/dojo/_firebug/infoIcon.png b/includes/js/dojo/_firebug/infoIcon.png deleted file mode 100644 index da1e533..0000000 Binary files a/includes/js/dojo/_firebug/infoIcon.png and /dev/null differ diff --git a/includes/js/dojo/_firebug/warningIcon.png b/includes/js/dojo/_firebug/warningIcon.png deleted file mode 100644 index de51084..0000000 Binary files a/includes/js/dojo/_firebug/warningIcon.png and /dev/null differ diff --git a/includes/js/dojo/back.js b/includes/js/dojo/back.js deleted file mode 100644 index 3c62b82..0000000 --- a/includes/js/dojo/back.js +++ /dev/null @@ -1,394 +0,0 @@ -if(!dojo._hasResource["dojo.back"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.back"] = true; -dojo.provide("dojo.back"); - -/*===== -dojo.back = { - // summary: Browser history management resources -} -=====*/ - - -(function(){ - var back = dojo.back; - - // everyone deals with encoding the hash slightly differently - - function getHash(){ - var h = window.location.hash; - if(h.charAt(0) == "#"){ h = h.substring(1); } - return dojo.isMozilla ? h : decodeURIComponent(h); - } - - function setHash(h){ - if(!h){ h = ""; } - window.location.hash = encodeURIComponent(h); - historyCounter = history.length; - } - - // if we're in the test for these methods, expose them on dojo.back. ok'd with alex. - if(dojo.exists("tests.back-hash")){ - back.getHash = getHash; - back.setHash = setHash; - } - - var initialHref = (typeof(window) !== "undefined") ? window.location.href : ""; - var initialHash = (typeof(window) !== "undefined") ? getHash() : ""; - var initialState = null; - - var locationTimer = null; - var bookmarkAnchor = null; - var historyIframe = null; - var forwardStack = []; - var historyStack = []; - var moveForward = false; - var changingUrl = false; - var historyCounter; - - function handleBackButton(){ - //summary: private method. Do not call this directly. - - //The "current" page is always at the top of the history stack. - //console.debug("handlingBackButton"); - var current = historyStack.pop(); - if(!current){ return; } - var last = historyStack[historyStack.length-1]; - if(!last && historyStack.length == 0){ - last = initialState; - } - if(last){ - if(last.kwArgs["back"]){ - last.kwArgs["back"](); - }else if(last.kwArgs["backButton"]){ - last.kwArgs["backButton"](); - }else if(last.kwArgs["handle"]){ - last.kwArgs.handle("back"); - } - } - forwardStack.push(current); - //console.debug("done handling back"); - } - - back.goBack = handleBackButton; - - function handleForwardButton(){ - //summary: private method. Do not call this directly. - //console.debug("handling forward"); - var last = forwardStack.pop(); - if(!last){ return; } - if(last.kwArgs["forward"]){ - last.kwArgs.forward(); - }else if(last.kwArgs["forwardButton"]){ - last.kwArgs.forwardButton(); - }else if(last.kwArgs["handle"]){ - last.kwArgs.handle("forward"); - } - historyStack.push(last); - //console.debug("done handling forward"); - } - - back.goForward = handleForwardButton; - - function createState(url, args, hash){ - //summary: private method. Do not call this directly. - return {"url": url, "kwArgs": args, "urlHash": hash}; //Object - } - - function getUrlQuery(url){ - //summary: private method. Do not call this directly. - var segments = url.split("?"); - if(segments.length < 2){ - return null; //null - } - else{ - return segments[1]; //String - } - } - - function loadIframeHistory(){ - //summary: private method. Do not call this directly. - var url = (dojo.config["dojoIframeHistoryUrl"] || dojo.moduleUrl("dojo", "resources/iframe_history.html")) + "?" + (new Date()).getTime(); - moveForward = true; - if(historyIframe){ - dojo.isSafari ? historyIframe.location = url : window.frames[historyIframe.name].location = url; - }else{ - //console.warn("dojo.back: Not initialised. You need to call dojo.back.init() from a - // | - d._modulePrefixes[module] = { name: module, value: prefix }; - } - - dojo.requireLocalization = function(/*String*/moduleName, /*String*/bundleName, /*String?*/locale, /*String?*/availableFlatLocales){ - // summary: - // Declares translated resources and loads them if necessary, in the - // same style as dojo.require. Contents of the resource bundle are - // typically strings, but may be any name/value pair, represented in - // JSON format. See also dojo.i18n.getLocalization. - // moduleName: - // name of the package containing the "nls" directory in which the - // bundle is found - // bundleName: - // bundle name, i.e. the filename without the '.js' suffix - // locale: - // the locale to load (optional) By default, the browser's user - // locale as defined by dojo.locale - // availableFlatLocales: - // A comma-separated list of the available, flattened locales for this - // bundle. This argument should only be set by the build process. - // description: - // Load translated resource bundles provided underneath the "nls" - // directory within a package. Translated resources may be located in - // different packages throughout the source tree. For example, a - // particular widget may define one or more resource bundles, - // structured in a program as follows, where moduleName is - // mycode.mywidget and bundleNames available include bundleone and - // bundletwo: - // - // | ... - // | mycode/ - // | mywidget/ - // | nls/ - // | bundleone.js (the fallback translation, English in this example) - // | bundletwo.js (also a fallback translation) - // | de/ - // | bundleone.js - // | bundletwo.js - // | de-at/ - // | bundleone.js - // | en/ - // | (empty; use the fallback translation) - // | en-us/ - // | bundleone.js - // | en-gb/ - // | bundleone.js - // | es/ - // | bundleone.js - // | bundletwo.js - // | ...etc - // | ... - // - // Each directory is named for a locale as specified by RFC 3066, - // (http://www.ietf.org/rfc/rfc3066.txt), normalized in lowercase. - // Note that the two bundles in the example do not define all the - // same variants. For a given locale, bundles will be loaded for - // that locale and all more general locales above it, including a - // fallback at the root directory. For example, a declaration for - // the "de-at" locale will first load `nls/de-at/bundleone.js`, - // then `nls/de/bundleone.js` and finally `nls/bundleone.js`. The - // data will be flattened into a single Object so that lookups - // will follow this cascading pattern. An optional build step can - // preload the bundles to avoid data redundancy and the multiple - // network hits normally required to load these resources. - - d.require("dojo.i18n"); - d.i18n._requireLocalization.apply(d.hostenv, arguments); - }; - - - var ore = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"); - var ire = new RegExp("^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$"); - - dojo._Url = function(/*dojo._Url||String...*/){ - // summary: - // Constructor to create an object representing a URL. - // It is marked as private, since we might consider removing - // or simplifying it. - // description: - // Each argument is evaluated in order relative to the next until - // a canonical uri is produced. To get an absolute Uri relative to - // the current document use: - // new dojo._Url(document.baseURI, url) - - var n = null; - - // TODO: support for IPv6, see RFC 2732 - var _a = arguments; - var uri = [_a[0]]; - // resolve uri components relative to each other - for(var i = 1; i<_a.length; i++){ - if(!_a[i]){ continue; } - - // Safari doesn't support this.constructor so we have to be explicit - // FIXME: Tracked (and fixed) in Webkit bug 3537. - // http://bugs.webkit.org/show_bug.cgi?id=3537 - var relobj = new d._Url(_a[i]+""); - var uriobj = new d._Url(uri[0]+""); - - if( - relobj.path == "" && - !relobj.scheme && - !relobj.authority && - !relobj.query - ){ - if(relobj.fragment != n){ - uriobj.fragment = relobj.fragment; - } - relobj = uriobj; - }else if(!relobj.scheme){ - relobj.scheme = uriobj.scheme; - - if(!relobj.authority){ - relobj.authority = uriobj.authority; - - if(relobj.path.charAt(0) != "/"){ - var path = uriobj.path.substring(0, - uriobj.path.lastIndexOf("/") + 1) + relobj.path; - - var segs = path.split("/"); - for(var j = 0; j < segs.length; j++){ - if(segs[j] == "."){ - // flatten "./" references - if(j == segs.length - 1){ - segs[j] = ""; - }else{ - segs.splice(j, 1); - j--; - } - }else if(j > 0 && !(j == 1 && segs[0] == "") && - segs[j] == ".." && segs[j-1] != ".."){ - // flatten "../" references - if(j == (segs.length - 1)){ - segs.splice(j, 1); - segs[j - 1] = ""; - }else{ - segs.splice(j - 1, 2); - j -= 2; - } - } - } - relobj.path = segs.join("/"); - } - } - } - - uri = []; - if(relobj.scheme){ - uri.push(relobj.scheme, ":"); - } - if(relobj.authority){ - uri.push("//", relobj.authority); - } - uri.push(relobj.path); - if(relobj.query){ - uri.push("?", relobj.query); - } - if(relobj.fragment){ - uri.push("#", relobj.fragment); - } - } - - this.uri = uri.join(""); - - // break the uri into its main components - var r = this.uri.match(ore); - - this.scheme = r[2] || (r[1] ? "" : n); - this.authority = r[4] || (r[3] ? "" : n); - this.path = r[5]; // can never be undefined - this.query = r[7] || (r[6] ? "" : n); - this.fragment = r[9] || (r[8] ? "" : n); - - if(this.authority != n){ - // server based naming authority - r = this.authority.match(ire); - - this.user = r[3] || n; - this.password = r[4] || n; - this.host = r[5]; - this.port = r[7] || n; - } - } - - dojo._Url.prototype.toString = function(){ return this.uri; }; - - dojo.moduleUrl = function(/*String*/module, /*dojo._Url||String*/url){ - // summary: - // Returns a `dojo._Url` object relative to a module. - // example: - // | var pngPath = dojo.moduleUrl("acme","images/small.png"); - // | console.dir(pngPath); // list the object properties - // | // create an image and set it's source to pngPath's value: - // | var img = document.createElement("img"); - // | // NOTE: we assign the string representation of the url object - // | img.src = pngPath.toString(); - // | // add our image to the document - // | dojo.body().appendChild(img); - // example: - // you may de-reference as far as you like down the package - // hierarchy. This is sometimes handy to avoid lenghty relative - // urls or for building portable sub-packages. In this example, - // the `acme.widget` and `acme.util` directories may be located - // under different roots (see `dojo.registerModulePath`) but the - // the modules which reference them can be unaware of their - // relative locations on the filesystem: - // | // somewhere in a configuration block - // | dojo.registerModulePath("acme.widget", "../../acme/widget"); - // | dojo.registerModulePath("acme.util", "../../util"); - // | - // | // ... - // | - // | // code in a module using acme resources - // | var tmpltPath = dojo.moduleUrl("acme.widget","templates/template.html"); - // | var dataPath = dojo.moduleUrl("acme.util","resources/data.json"); - - var loc = d._getModuleSymbols(module).join('/'); - if(!loc){ return null; } - if(loc.lastIndexOf("/") != loc.length-1){ - loc += "/"; - } - - //If the path is an absolute path (starts with a / or is on another - //domain/xdomain) then don't add the baseUrl. - var colonIndex = loc.indexOf(":"); - if(loc.charAt(0) != "/" && (colonIndex == -1 || colonIndex > loc.indexOf("/"))){ - loc = d.baseUrl + loc; - } - - return new d._Url(loc, url); // String - } -})(); - -/*===== -dojo.isBrowser = { - // example: - // | if(dojo.isBrowser){ ... } -}; - -dojo.isFF = { - // example: - // | if(dojo.isFF > 1){ ... } -}; - -dojo.isIE = { - // example: - // | if(dojo.isIE > 6){ - // | // we are IE7 - // | } -}; - -dojo.isSafari = { - // example: - // | if(dojo.isSafari){ ... } - // example: - // Detect iPhone: - // | if(dojo.isSafari && (navigator.userAgent.indexOf("iPhone") < 0)){ - // | // we are iPhone. iPod touch reports "iPod" above - // | } -}; - -dojo = { - // isBrowser: Boolean - // True if the client is a web-browser - isBrowser: true, - // isFF: Number - // Greater than zero if client is FireFox. 0 otherwise. Corresponds to - // major detected FireFox version (1.5, 2, 3, etc.) - isFF: 2, - // isIE: Number - // Greater than zero if client is MSIE(PC). 0 otherwise. Corresponds to - // major detected IE version (6, 7, 8, etc.) - isIE: 6, - // isKhtml: Number - // Greater than zero if client is a KTHML-derived browser (Konqueror, - // Safari, etc.). 0 otherwise. Corresponds to major detected version. - isKhtml: 0, - // isMozilla: Number - // Greater than zero if client is a Mozilla-based browser (Firefox, - // SeaMonkey). 0 otherwise. Corresponds to major detected version. - isMozilla: 0, - // isOpera: Number - // Greater than zero if client is Opera. 0 otherwise. Corresponds to - // major detected version. - isOpera: 0, - // isSafari: Number - // Greater than zero if client is Safari or iPhone. 0 otherwise. - isSafari: 0 -} -=====*/ - -if(typeof window != 'undefined'){ - dojo.isBrowser = true; - dojo._name = "browser"; - - - // attempt to figure out the path to dojo if it isn't set in the config - (function(){ - var d = dojo; - // this is a scope protection closure. We set browser versions and grab - // the URL we were loaded from here. - - // grab the node we were loaded from - if(document && document.getElementsByTagName){ - var scripts = document.getElementsByTagName("script"); - var rePkg = /dojo(\.xd)?\.js(\W|$)/i; - for(var i = 0; i < scripts.length; i++){ - var src = scripts[i].getAttribute("src"); - if(!src){ continue; } - var m = src.match(rePkg); - if(m){ - // find out where we came from - if(!d.config.baseUrl){ - d.config.baseUrl = src.substring(0, m.index); - } - // and find out if we need to modify our behavior - var cfg = scripts[i].getAttribute("djConfig"); - if(cfg){ - var cfgo = eval("({ "+cfg+" })"); - for(var x in cfgo){ - dojo.config[x] = cfgo[x]; - } - } - break; // "first Dojo wins" - } - } - } - d.baseUrl = d.config.baseUrl; - - // fill in the rendering support information in dojo.render.* - var n = navigator; - var dua = n.userAgent; - var dav = n.appVersion; - var tv = parseFloat(dav); - - d.isOpera = (dua.indexOf("Opera") >= 0) ? tv : 0; - // safari detection derived from: - // http://developer.apple.com/internet/safari/faq.html#anchor2 - // http://developer.apple.com/internet/safari/uamatrix.html - var idx = Math.max(dav.indexOf("WebKit"), dav.indexOf("Safari"), 0); - if(idx){ - // try to grab the explicit Safari version first. If we don't get - // one, look for 419.3+ as the indication that we're on something - // "Safari 3-ish". Lastly, default to "Safari 2" handling. - d.isSafari = parseFloat(dav.split("Version/")[1]) || ( ( parseFloat(dav.substr(idx+7)) >= 419.3 ) ? 3 : 2 ) || 2; - } - d.isAIR = (dua.indexOf("AdobeAIR") >= 0) ? 1 : 0; - d.isKhtml = (dav.indexOf("Konqueror") >= 0 || d.isSafari) ? tv : 0; - d.isMozilla = d.isMoz = (dua.indexOf("Gecko") >= 0 && !d.isKhtml) ? tv : 0; - d.isFF = d.isIE = 0; - if(d.isMoz){ - d.isFF = parseFloat(dua.split("Firefox/")[1]) || 0; - } - if(document.all && !d.isOpera){ - d.isIE = parseFloat(dav.split("MSIE ")[1]) || 0; - } - - //Workaround to get local file loads of dojo to work on IE 7 - //by forcing to not use native xhr. - if(dojo.isIE && window.location.protocol === "file:"){ - dojo.config.ieForceActiveXXhr=true; - } - - var cm = document.compatMode; - d.isQuirks = cm == "BackCompat" || cm == "QuirksMode" || d.isIE < 6; - - // TODO: is the HTML LANG attribute relevant? - d.locale = dojo.config.locale || (d.isIE ? n.userLanguage : n.language).toLowerCase(); - - // These are in order of decreasing likelihood; this will change in time. - d._XMLHTTP_PROGIDS = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP', 'Msxml2.XMLHTTP.4.0']; - - d._xhrObj = function(){ - // summary: - // does the work of portably generating a new XMLHTTPRequest - // object. - var http = null; - var last_e = null; - if(!dojo.isIE || !dojo.config.ieForceActiveXXhr){ - try{ http = new XMLHttpRequest(); }catch(e){} - } - if(!http){ - for(var i=0; i<3; ++i){ - var progid = d._XMLHTTP_PROGIDS[i]; - try{ - http = new ActiveXObject(progid); - }catch(e){ - last_e = e; - } - - if(http){ - d._XMLHTTP_PROGIDS = [progid]; // so faster next time - break; - } - } - } - - if(!http){ - throw new Error("XMLHTTP not available: "+last_e); - } - - return http; // XMLHTTPRequest instance - } - - d._isDocumentOk = function(http){ - var stat = http.status || 0; - return (stat >= 200 && stat < 300) || // Boolean - stat == 304 || // allow any 2XX response code - stat == 1223 || // get it out of the cache - (!stat && (location.protocol=="file:" || location.protocol=="chrome:") ); // Internet Explorer mangled the status code - } - - //See if base tag is in use. - //This is to fix http://trac.dojotoolkit.org/ticket/3973, - //but really, we need to find out how to get rid of the dojo._Url reference - //below and still have DOH work with the dojo.i18n test following some other - //test that uses the test frame to load a document (trac #2757). - //Opera still has problems, but perhaps a larger issue of base tag support - //with XHR requests (hasBase is true, but the request is still made to document - //path, not base path). - var owloc = window.location+""; - var base = document.getElementsByTagName("base"); - var hasBase = (base && base.length > 0); - - d._getText = function(/*URI*/ uri, /*Boolean*/ fail_ok){ - // summary: Read the contents of the specified uri and return those contents. - // uri: - // A relative or absolute uri. If absolute, it still must be in - // the same "domain" as we are. - // fail_ok: - // Default false. If fail_ok and loading fails, return null - // instead of throwing. - // returns: The response text. null is returned when there is a - // failure and failure is okay (an exception otherwise) - - // alert("_getText: " + uri); - - // NOTE: must be declared before scope switches ie. this._xhrObj() - var http = this._xhrObj(); - - if(!hasBase && dojo._Url){ - uri = (new dojo._Url(owloc, uri)).toString(); - } - /* - console.debug("_getText:", uri); - console.debug(window.location+""); - alert(uri); - */ - - if(d.config.cacheBust){ - uri += (uri.indexOf("?") == -1 ? "?" : "&") + String(d.config.cacheBust).replace(/\W+/g,""); - } - - http.open('GET', uri, false); - try{ - http.send(null); - // alert(http); - if(!d._isDocumentOk(http)){ - var err = Error("Unable to load "+uri+" status:"+ http.status); - err.status = http.status; - err.responseText = http.responseText; - throw err; - } - }catch(e){ - if(fail_ok){ return null; } // null - // rethrow the exception - throw e; - } - return http.responseText; // String - } - })(); - - dojo._initFired = false; - // BEGIN DOMContentLoaded, from Dean Edwards (http://dean.edwards.name/weblog/2006/06/again/) - dojo._loadInit = function(e){ - dojo._initFired = true; - // allow multiple calls, only first one will take effect - // A bug in khtml calls events callbacks for document for event which isnt supported - // for example a created contextmenu event calls DOMContentLoaded, workaround - var type = (e && e.type) ? e.type.toLowerCase() : "load"; - if(arguments.callee.initialized || (type != "domcontentloaded" && type != "load")){ return; } - arguments.callee.initialized = true; - if("_khtmlTimer" in dojo){ - clearInterval(dojo._khtmlTimer); - delete dojo._khtmlTimer; - } - - if(dojo._inFlightCount == 0){ - dojo._modulesLoaded(); - } - } - - dojo._fakeLoadInit = function(){ - dojo._loadInit({type: "load"}); - } - - if(!dojo.config.afterOnLoad){ - // START DOMContentLoaded - // Mozilla and Opera 9 expose the event we could use - if(document.addEventListener){ - // NOTE: - // due to a threading issue in Firefox 2.0, we can't enable - // DOMContentLoaded on that platform. For more information, see: - // http://trac.dojotoolkit.org/ticket/1704 - if(dojo.isOpera || dojo.isFF >= 3 || (dojo.isMoz && dojo.config.enableMozDomContentLoaded === true)){ - document.addEventListener("DOMContentLoaded", dojo._loadInit, null); - } - - // mainly for Opera 8.5, won't be fired if DOMContentLoaded fired already. - // also used for Mozilla because of trac #1640 - window.addEventListener("load", dojo._loadInit, null); - } - - if(dojo.isAIR){ - window.addEventListener("load", dojo._loadInit, null); - }else if(/(WebKit|khtml)/i.test(navigator.userAgent)){ // sniff - dojo._khtmlTimer = setInterval(function(){ - if(/loaded|complete/.test(document.readyState)){ - dojo._loadInit(); // call the onload handler - } - }, 10); - } - // END DOMContentLoaded - } - - (function(){ - var _w = window; - var _handleNodeEvent = function(/*String*/evtName, /*Function*/fp){ - // summary: - // non-destructively adds the specified function to the node's - // evtName handler. - // evtName: should be in the form "onclick" for "onclick" handlers. - // Make sure you pass in the "on" part. - var oldHandler = _w[evtName] || function(){}; - _w[evtName] = function(){ - fp.apply(_w, arguments); - oldHandler.apply(_w, arguments); - }; - }; - - if(dojo.isIE){ - // for Internet Explorer. readyState will not be achieved on init - // call, but dojo doesn't need it however, we'll include it - // because we don't know if there are other functions added that - // might. Note that this has changed because the build process - // strips all comments -- including conditional ones. - if(!dojo.config.afterOnLoad){ - document.write('' - + '' - ); - } - - // IE WebControl hosted in an application can fire "beforeunload" and "unload" - // events when control visibility changes, causing Dojo to unload too soon. The - // following code fixes the problem - // Reference: http://support.microsoft.com/default.aspx?scid=kb;en-us;199155 - var _unloading = true; - _handleNodeEvent("onbeforeunload", function(){ - _w.setTimeout(function(){ _unloading = false; }, 0); - }); - _handleNodeEvent("onunload", function(){ - if(_unloading){ dojo.unloaded(); } - }); - - try{ - document.namespaces.add("v","urn:schemas-microsoft-com:vml"); - document.createStyleSheet().addRule("v\\:*", "behavior:url(#default#VML)"); - }catch(e){} - }else{ - // FIXME: dojo.unloaded requires dojo scope, so using anon function wrapper. - _handleNodeEvent("onbeforeunload", function() { dojo.unloaded(); }); - } - - })(); - - /* - OpenAjax.subscribe("OpenAjax", "onload", function(){ - if(dojo._inFlightCount == 0){ - dojo._modulesLoaded(); - } - }); - - OpenAjax.subscribe("OpenAjax", "onunload", function(){ - dojo.unloaded(); - }); - */ -} //if (typeof window != 'undefined') - -//Register any module paths set up in djConfig. Need to do this -//in the hostenvs since hostenv_browser can read djConfig from a -//script tag's attribute. -(function(){ - var mp = dojo.config["modulePaths"]; - if(mp){ - for(var param in mp){ - dojo.registerModulePath(param, mp[param]); - } - } -})(); - -//Load debug code if necessary. -if(dojo.config.isDebug){ - dojo.require("dojo._firebug.firebug"); -} - -if(dojo.config.debugAtAllCosts){ - dojo.config.useXDomain = true; - dojo.require("dojo._base._loader.loader_xd"); - dojo.require("dojo._base._loader.loader_debug"); - dojo.require("dojo.i18n"); -} - -if(!dojo._hasResource["dojo._base.lang"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.lang"] = true; -dojo.provide("dojo._base.lang"); - -// Crockford (ish) functions - -dojo.isString = function(/*anything*/ it){ - // summary: - // Return true if it is a String - return !!arguments.length && it != null && (typeof it == "string" || it instanceof String); // Boolean -} - -dojo.isArray = function(/*anything*/ it){ - // summary: - // Return true if it is an Array - return it && (it instanceof Array || typeof it == "array"); // Boolean -} - -/*===== -dojo.isFunction = function(it){ - // summary: Return true if it is a Function - // it: anything - // return: Boolean -} -=====*/ - -dojo.isFunction = (function(){ - var _isFunction = function(/*anything*/ it){ - return it && (typeof it == "function" || it instanceof Function); // Boolean - }; - - return dojo.isSafari ? - // only slow this down w/ gratuitious casting in Safari since it's what's b0rken - function(/*anything*/ it){ - if(typeof it == "function" && it == "[object NodeList]"){ return false; } - return _isFunction(it); // Boolean - } : _isFunction; -})(); - -dojo.isObject = function(/*anything*/ it){ - // summary: - // Returns true if it is a JavaScript object (or an Array, a Function - // or null) - return it !== undefined && - (it === null || typeof it == "object" || dojo.isArray(it) || dojo.isFunction(it)); // Boolean -} - -dojo.isArrayLike = function(/*anything*/ it){ - // summary: - // similar to dojo.isArray() but more permissive - // description: - // Doesn't strongly test for "arrayness". Instead, settles for "isn't - // a string or number and has a length property". Arguments objects - // and DOM collections will return true when passed to - // dojo.isArrayLike(), but will return false when passed to - // dojo.isArray(). - // return: - // If it walks like a duck and quicks like a duck, return `true` - var d = dojo; - return it && it !== undefined && - // keep out built-in constructors (Number, String, ...) which have length - // properties - !d.isString(it) && !d.isFunction(it) && - !(it.tagName && it.tagName.toLowerCase() == 'form') && - (d.isArray(it) || isFinite(it.length)); // Boolean -} - -dojo.isAlien = function(/*anything*/ it){ - // summary: - // Returns true if it is a built-in function or some other kind of - // oddball that *should* report as a function but doesn't - return it && !dojo.isFunction(it) && /\{\s*\[native code\]\s*\}/.test(String(it)); // Boolean -} - -dojo.extend = function(/*Object*/ constructor, /*Object...*/ props){ - // summary: - // Adds all properties and methods of props to constructor's - // prototype, making them available to all instances created with - // constructor. - for(var i=1, l=arguments.length; i 2){ - return dojo._hitchArgs.apply(dojo, arguments); // Function - } - if(!method){ - method = scope; - scope = null; - } - if(dojo.isString(method)){ - scope = scope || dojo.global; - if(!scope[method]){ throw(['dojo.hitch: scope["', method, '"] is null (scope="', scope, '")'].join('')); } - return function(){ return scope[method].apply(scope, arguments || []); }; // Function - } - return !scope ? method : function(){ return method.apply(scope, arguments || []); }; // Function -} - -/*===== -dojo.delegate = function(obj, props){ - // summary: - // returns a new object which "looks" to obj for properties which it - // does not have a value for. Optionally takes a bag of properties to - // seed the returned object with initially. - // description: - // This is a small implementaton of the Boodman/Crockford delegation - // pattern in JavaScript. An intermediate object constructor mediates - // the prototype chain for the returned object, using it to delegate - // down to obj for property lookup when object-local lookup fails. - // This can be thought of similarly to ES4's "wrap", save that it does - // not act on types but rather on pure objects. - // obj: - // The object to delegate to for properties not found directly on the - // return object or in props. - // props: - // an object containing properties to assign to the returned object - // returns: - // an Object of anonymous type - // example: - // | var foo = { bar: "baz" }; - // | var thinger = dojo.delegate(foo, { thud: "xyzzy"}); - // | thinger.bar == "baz"; // delegated to foo - // | foo.thud == undefined; // by definition - // | thinger.thud == "xyzzy"; // mixed in from props - // | foo.bar = "thonk"; - // | thinger.bar == "thonk"; // still delegated to foo's bar -} -=====*/ - - -dojo.delegate = dojo._delegate = function(obj, props){ - - // boodman/crockford delegation - function TMP(){}; - TMP.prototype = obj; - var tmp = new TMP(); - if(props){ - dojo.mixin(tmp, props); - } - return tmp; // Object -} - -dojo.partial = function(/*Function|String*/method /*, ...*/){ - // summary: - // similar to hitch() except that the scope object is left to be - // whatever the execution context eventually becomes. - // description: - // Calling dojo.partial is the functional equivalent of calling: - // | dojo.hitch(null, funcName, ...); - var arr = [ null ]; - return dojo.hitch.apply(dojo, arr.concat(dojo._toArray(arguments))); // Function -} - -dojo._toArray = function(/*Object*/obj, /*Number?*/offset, /*Array?*/ startWith){ - // summary: - // Converts an array-like object (i.e. arguments, DOMCollection) to an - // array. Returns a new Array with the elements of obj. - // obj: - // the object to "arrayify". We expect the object to have, at a - // minimum, a length property which corresponds to integer-indexed - // properties. - // offset: - // the location in obj to start iterating from. Defaults to 0. - // Optional. - // startWith: - // An array to pack with the properties of obj. If provided, - // properties in obj are appended at the end of startWith and - // startWith is the returned array. - var arr = startWith||[]; - for(var x = offset || 0; x < obj.length; x++){ - arr.push(obj[x]); - } - return arr; // Array -} - -dojo.clone = function(/*anything*/ o){ - // summary: - // Clones objects (including DOM nodes) and all children. - // Warning: do not clone cyclic structures. - if(!o){ return o; } - if(dojo.isArray(o)){ - var r = []; - for(var i = 0; i < o.length; ++i){ - r.push(dojo.clone(o[i])); - } - return r; // Array - } - if(!dojo.isObject(o)){ - return o; /*anything*/ - } - if(o.nodeType && o.cloneNode){ // isNode - return o.cloneNode(true); // Node - } - if(o instanceof Date){ - return new Date(o.getTime()); // Date - } - // Generic objects - var r = new o.constructor(); // specific to dojo.declare()'d classes! - for(var i in o){ - if(!(i in r) || r[i] != o[i]){ - r[i] = dojo.clone(o[i]); - } - } - return r; // Object -} - -dojo.trim = function(/*String*/ str){ - // summary: - // trims whitespaces from both sides of the string - // description: - // This version of trim() was selected for inclusion into the base due - // to its compact size and relatively good performance (see Steven - // Levithan's blog: - // http://blog.stevenlevithan.com/archives/faster-trim-javascript). - // The fastest but longest version of this function is located at - // dojo.string.trim() - return str.replace(/^\s\s*/, '').replace(/\s\s*$/, ''); // String -} - -} - -if(!dojo._hasResource["dojo._base.declare"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.declare"] = true; -dojo.provide("dojo._base.declare"); - - -// this file courtesy of the TurboAjax group, licensed under a Dojo CLA - -dojo.declare = function(/*String*/ className, /*Function|Function[]*/ superclass, /*Object*/ props){ - // summary: - // Create a feature-rich constructor from compact notation - // className: - // The name of the constructor (loosely, a "class") - // stored in the "declaredClass" property in the created prototype - // superclass: - // May be null, a Function, or an Array of Functions. If an array, - // the first element is used as the prototypical ancestor and - // any following Functions become mixin ancestors. - // props: - // An object whose properties are copied to the - // created prototype. - // Add an instance-initialization function by making it a property - // named "constructor". - // description: - // Create a constructor using a compact notation for inheritance and - // prototype extension. - // - // All superclasses (including mixins) must be Functions (not simple Objects). - // - // Mixin ancestors provide a type of multiple inheritance. Prototypes of mixin - // ancestors are copied to the new class: changes to mixin prototypes will - // not affect classes to which they have been mixed in. - // - // "className" is cached in "declaredClass" property of the new class. - // - // example: - // | dojo.declare("my.classes.bar", my.classes.foo, { - // | // properties to be added to the class prototype - // | someValue: 2, - // | // initialization function - // | constructor: function(){ - // | this.myComplicatedObject = new ReallyComplicatedObject(); - // | }, - // | // other functions - // | someMethod: function(){ - // | doStuff(); - // | } - // | ); - - // process superclass argument - // var dd=dojo.declare, mixins=null; - var dd = arguments.callee, mixins; - if(dojo.isArray(superclass)){ - mixins = superclass; - superclass = mixins.shift(); - } - // construct intermediate classes for mixins - if(mixins){ - dojo.forEach(mixins, function(m){ - if(!m){ throw(className + ": mixin #" + i + " is null"); } // It's likely a required module is not loaded - superclass = dd._delegate(superclass, m); - }); - } - // prepare values - var init = (props||0).constructor, ctor = dd._delegate(superclass), fn; - // name methods (experimental) - for(var i in props){ if(dojo.isFunction(fn = props[i]) && !0[i]){fn.nom = i;} } // 0[i] checks Object.prototype - // decorate prototype - dojo.extend(ctor, {declaredClass: className, _constructor: init, preamble: null}, props || 0); - // special help for IE - ctor.prototype.constructor = ctor; - // create named reference - return dojo.setObject(className, ctor); // Function -}; - -dojo.mixin(dojo.declare, { - _delegate: function(base, mixin){ - var bp = (base||0).prototype, mp = (mixin||0).prototype; - // fresh constructor, fresh prototype - var ctor = dojo.declare._makeCtor(); - // cache ancestry - dojo.mixin(ctor, {superclass: bp, mixin: mp, extend: dojo.declare._extend}); - // chain prototypes - if(base){ctor.prototype = dojo._delegate(bp);} - // add mixin and core - dojo.extend(ctor, dojo.declare._core, mp||0, {_constructor: null, preamble: null}); - // special help for IE - ctor.prototype.constructor = ctor; - // name this class for debugging - ctor.prototype.declaredClass = (bp||0).declaredClass + '_' + (mp||0).declaredClass; - return ctor; - }, - _extend: function(props){ - for(var i in props){ if(dojo.isFunction(fn=props[i]) && !0[i]){fn.nom=i;} } - dojo.extend(this, props); - }, - _makeCtor: function(){ - // we have to make a function, but don't want to close over anything - return function(){ this._construct(arguments); }; - }, - _core: { - _construct: function(args){ - var c=args.callee, s=c.superclass, ct=s&&s.constructor, m=c.mixin, mct=m&&m.constructor, a=args, ii, fn; - // side-effect of = used on purpose here, lint may complain, don't try this at home - if(a[0]){ - // FIXME: preambles for each mixin should be allowed - // FIXME: - // should we allow the preamble here NOT to modify the - // default args, but instead to act on each mixin - // independently of the class instance being constructed - // (for impedence matching)? - - // allow any first argument w/ a "preamble" property to act as a - // class preamble (not exclusive of the prototype preamble) - if(/*dojo.isFunction*/((fn = a[0].preamble))){ - a = fn.apply(this, a) || a; - } - } - // prototype preamble - if((fn = c.prototype.preamble)){a = fn.apply(this, a) || a;} - // FIXME: - // need to provide an optional prototype-settable - // "_explicitSuper" property which disables this - // initialize superclass - if(ct&&ct.apply){ct.apply(this, a);} - // initialize mixin - if(mct&&mct.apply){mct.apply(this, a);} - // initialize self - if((ii=c.prototype._constructor)){ii.apply(this, args);} - // post construction - if(this.constructor.prototype==c.prototype && (ct=this.postscript)){ ct.apply(this, args); } - }, - _findMixin: function(mixin){ - var c = this.constructor, p, m; - while(c){ - p = c.superclass; - m = c.mixin; - if(m==mixin || (m instanceof mixin.constructor)){return p;} - if(m && (m=m._findMixin(mixin))){return m;} - c = p && p.constructor; - } - }, - _findMethod: function(name, method, ptype, has){ - // consciously trading readability for bytes and speed in this low-level method - var p=ptype, c, m, f; - do{ - c = p.constructor; - m = c.mixin; - // find method by name in our mixin ancestor - if(m && (m=this._findMethod(name, method, m, has))){return m;} - // if we found a named method that either exactly-is or exactly-is-not 'method' - if((f=p[name])&&(has==(f==method))){return p;} - // ascend chain - p = c.superclass; - }while(p); - // if we couldn't find an ancestor in our primary chain, try a mixin chain - return !has && (p=this._findMixin(ptype)) && this._findMethod(name, method, p, has); - }, - inherited: function(name, args, newArgs){ - // optionalize name argument (experimental) - var a = arguments; - if(!dojo.isString(a[0])){newArgs=args; args=name; name=args.callee.nom;} - a = newArgs||args; - var c = args.callee, p = this.constructor.prototype, fn, mp; - // if not an instance override - if(this[name] != c || p[name] == c){ - mp = this._findMethod(name, c, p, true); - if(!mp){throw(this.declaredClass + ': inherited method "' + name + '" mismatch');} - p = this._findMethod(name, c, mp, false); - } - fn = p && p[name]; - if(!fn){throw(mp.declaredClass + ': inherited method "' + name + '" not found');} - // if the function exists, invoke it in our scope - return fn.apply(this, a); - } - } -}); - -} - -if(!dojo._hasResource["dojo._base.connect"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.connect"] = true; -dojo.provide("dojo._base.connect"); - - -// this file courtesy of the TurboAjax Group, licensed under a Dojo CLA - -// low-level delegation machinery -dojo._listener = { - // create a dispatcher function - getDispatcher: function(){ - // following comments pulled out-of-line to prevent cloning them - // in the returned function. - // - indices (i) that are really in the array of listeners (ls) will - // not be in Array.prototype. This is the 'sparse array' trick - // that keeps us safe from libs that take liberties with built-in - // objects - // - listener is invoked with current scope (this) - return function(){ - var ap=Array.prototype, c=arguments.callee, ls=c._listeners, t=c.target; - // return value comes from original target function - var r=t && t.apply(this, arguments); - // invoke listeners after target function - for(var i in ls){ - if(!(i in ap)){ - ls[i].apply(this, arguments); - } - } - // return value comes from original target function - return r; - } - }, - // add a listener to an object - add: function(/*Object*/ source, /*String*/ method, /*Function*/ listener){ - // Whenever 'method' is invoked, 'listener' will have the same scope. - // Trying to supporting a context object for the listener led to - // complexity. - // Non trivial to provide 'once' functionality here - // because listener could be the result of a dojo.hitch call, - // in which case two references to the same hitch target would not - // be equivalent. - source = source || dojo.global; - // The source method is either null, a dispatcher, or some other function - var f = source[method]; - // Ensure a dispatcher - if(!f||!f._listeners){ - var d = dojo._listener.getDispatcher(); - // original target function is special - d.target = f; - // dispatcher holds a list of listeners - d._listeners = []; - // redirect source to dispatcher - f = source[method] = d; - } - // The contract is that a handle is returned that can - // identify this listener for disconnect. - // - // The type of the handle is private. Here is it implemented as Integer. - // DOM event code has this same contract but handle is Function - // in non-IE browsers. - // - // We could have separate lists of before and after listeners. - return f._listeners.push(listener) ; /*Handle*/ - }, - // remove a listener from an object - remove: function(/*Object*/ source, /*String*/ method, /*Handle*/ handle){ - var f = (source||dojo.global)[method]; - // remember that handle is the index+1 (0 is not a valid handle) - if(f && f._listeners && handle--){ - delete f._listeners[handle]; - } - } -}; - -// Multiple delegation for arbitrary methods. - -// This unit knows nothing about DOM, -// but we include DOM aware -// documentation and dontFix -// argument here to help the autodocs. -// Actual DOM aware code is in event.js. - -dojo.connect = function(/*Object|null*/ obj, - /*String*/ event, - /*Object|null*/ context, - /*String|Function*/ method, - /*Boolean*/ dontFix){ - // summary: - // Create a link that calls one function when another executes. - // - // description: - // Connects method to event, so that after event fires, method - // does too. All connected functions are passed the same arguments as - // the event function was initially called with. You may connect as - // many methods to event as needed. - // - // event must be a string. If obj is null, dojo.global is used. - // - // null arguments may simply be omitted. - // - // obj[event] can resolve to a function or undefined (null). - // If obj[event] is null, it is assigned a function. - // - // The return value is a handle that is needed to - // remove this connection with dojo.disconnect. - // - // obj: - // The source object for the event function. - // Defaults to dojo.global if null. - // If obj is a DOM node, the connection is delegated - // to the DOM event manager (unless dontFix is true). - // - // event: - // String name of the event function in obj. - // I.e. identifies a property obj[event]. - // - // context: - // The object that method will receive as "this". - // - // If context is null and method is a function, then method - // inherits the context of event. - // - // If method is a string then context must be the source - // object object for method (context[method]). If context is null, - // dojo.global is used. - // - // method: - // A function reference, or name of a function in context. - // The function identified by method fires after event does. - // method receives the same arguments as the event. - // See context argument comments for information on method's scope. - // - // dontFix: - // If obj is a DOM node, set dontFix to true to prevent delegation - // of this connection to the DOM event manager. - // - // example: - // When obj.onchange(), do ui.update(): - // | dojo.connect(obj, "onchange", ui, "update"); - // | dojo.connect(obj, "onchange", ui, ui.update); // same - // - // example: - // Using return value for disconnect: - // | var link = dojo.connect(obj, "onchange", ui, "update"); - // | ... - // | dojo.disconnect(link); - // - // example: - // When onglobalevent executes, watcher.handler is invoked: - // | dojo.connect(null, "onglobalevent", watcher, "handler"); - // - // example: - // When ob.onCustomEvent executes, customEventHandler is invoked: - // | dojo.connect(ob, "onCustomEvent", null, "customEventHandler"); - // | dojo.connect(ob, "onCustomEvent", "customEventHandler"); // same - // - // example: - // When ob.onCustomEvent executes, customEventHandler is invoked - // with the same scope (this): - // | dojo.connect(ob, "onCustomEvent", null, customEventHandler); - // | dojo.connect(ob, "onCustomEvent", customEventHandler); // same - // - // example: - // When globalEvent executes, globalHandler is invoked - // with the same scope (this): - // | dojo.connect(null, "globalEvent", null, globalHandler); - // | dojo.connect("globalEvent", globalHandler); // same - - // normalize arguments - var a=arguments, args=[], i=0; - // if a[0] is a String, obj was ommited - args.push(dojo.isString(a[0]) ? null : a[i++], a[i++]); - // if the arg-after-next is a String or Function, context was NOT omitted - var a1 = a[i+1]; - args.push(dojo.isString(a1)||dojo.isFunction(a1) ? a[i++] : null, a[i++]); - // absorb any additional arguments - for(var l=a.length; i. - // description: - // JavaScript has no threads, and even if it did, threads are hard. - // Deferreds are a way of abstracting non-blocking events, such as the - // final response to an XMLHttpRequest. Deferreds create a promise to - // return a response a some point in the future and an easy way to - // register your interest in receiving that response. - // - // The most important methods for Deffered users are: - // - // * addCallback(handler) - // * addErrback(handler) - // * callback(result) - // * errback(result) - // - // In general, when a function returns a Deferred, users then "fill - // in" the second half of the contract by registering callbacks and - // error handlers. You may register as many callback and errback - // handlers as you like and they will be executed in the order - // registered when a result is provided. Usually this result is - // provided as the result of an asynchronous operation. The code - // "managing" the Deferred (the code that made the promise to provide - // an answer later) will use the callback() and errback() methods to - // communicate with registered listeners about the result of the - // operation. At this time, all registered result handlers are called - // *with the most recent result value*. - // - // Deferred callback handlers are treated as a chain, and each item in - // the chain is required to return a value that will be fed into - // successive handlers. The most minimal callback may be registered - // like this: - // - // | var d = new dojo.Deferred(); - // | d.addCallback(function(result){ return result; }); - // - // Perhaps the most common mistake when first using Deferreds is to - // forget to return a value (in most cases, the value you were - // passed). - // - // The sequence of callbacks is internally represented as a list of - // 2-tuples containing the callback/errback pair. For example, the - // following call sequence: - // - // | var d = new dojo.Deferred(); - // | d.addCallback(myCallback); - // | d.addErrback(myErrback); - // | d.addBoth(myBoth); - // | d.addCallbacks(myCallback, myErrback); - // - // is translated into a Deferred with the following internal - // representation: - // - // | [ - // | [myCallback, null], - // | [null, myErrback], - // | [myBoth, myBoth], - // | [myCallback, myErrback] - // | ] - // - // The Deferred also keeps track of its current status (fired). Its - // status may be one of three things: - // - // * -1: no value yet (initial condition) - // * 0: success - // * 1: error - // - // A Deferred will be in the error state if one of the following three - // conditions are met: - // - // 1. The result given to callback or errback is "instanceof" Error - // 2. The previous callback or errback raised an exception while - // executing - // 3. The previous callback or errback returned a value - // "instanceof" Error - // - // Otherwise, the Deferred will be in the success state. The state of - // the Deferred determines the next element in the callback sequence - // to run. - // - // When a callback or errback occurs with the example deferred chain, - // something equivalent to the following will happen (imagine - // that exceptions are caught and returned): - // - // | // d.callback(result) or d.errback(result) - // | if(!(result instanceof Error)){ - // | result = myCallback(result); - // | } - // | if(result instanceof Error){ - // | result = myErrback(result); - // | } - // | result = myBoth(result); - // | if(result instanceof Error){ - // | result = myErrback(result); - // | }else{ - // | result = myCallback(result); - // | } - // - // The result is then stored away in case another step is added to the - // callback sequence. Since the Deferred already has a value - // available, any new callbacks added will be called immediately. - // - // There are two other "advanced" details about this implementation - // that are useful: - // - // Callbacks are allowed to return Deferred instances themselves, so - // you can build complicated sequences of events with ease. - // - // The creator of the Deferred may specify a canceller. The canceller - // is a function that will be called if Deferred.cancel is called - // before the Deferred fires. You can use this to implement clean - // aborting of an XMLHttpRequest, etc. Note that cancel will fire the - // deferred with a CancelledError (unless your canceller returns - // another kind of error), so the errbacks should be prepared to - // handle that error for cancellable Deferreds. - // example: - // | var deferred = new dojo.Deferred(); - // | setTimeout(function(){ deferred.callback({success: true}); }, 1000); - // | return deferred; - // example: - // Deferred objects are often used when making code asynchronous. It - // may be easiest to write functions in a synchronous manner and then - // split code using a deferred to trigger a response to a long-lived - // operation. For example, instead of register a callback function to - // denote when a rendering operation completes, the function can - // simply return a deferred: - // - // | // callback style: - // | function renderLotsOfData(data, callback){ - // | var success = false - // | try{ - // | for(var x in data){ - // | renderDataitem(data[x]); - // | } - // | success = true; - // | }catch(e){ } - // | if(callback){ - // | callback(success); - // | } - // | } - // - // | // using callback style - // | renderLotsOfData(someDataObj, function(success){ - // | // handles success or failure - // | if(!success){ - // | promptUserToRecover(); - // | } - // | }); - // | // NOTE: no way to add another callback here!! - // example: - // Using a Deferred doesn't simplify the sending code any, but it - // provides a standard interface for callers and senders alike, - // providing both with a simple way to service multiple callbacks for - // an operation and freeing both sides from worrying about details - // such as "did this get called already?". With Deferreds, new - // callbacks can be added at any time. - // - // | // Deferred style: - // | function renderLotsOfData(data){ - // | var d = new dojo.Deferred(); - // | try{ - // | for(var x in data){ - // | renderDataitem(data[x]); - // | } - // | d.callback(true); - // | }catch(e){ - // | d.errback(new Error("rendering failed")); - // | } - // | return d; - // | } - // - // | // using Deferred style - // | renderLotsOfData(someDataObj).addErrback(function(){ - // | promptUserToRecover(); - // | }); - // | // NOTE: addErrback and addCallback both return the Deferred - // | // again, so we could chain adding callbacks or save the - // | // deferred for later should we need to be notified again. - // example: - // In this example, renderLotsOfData is syncrhonous and so both - // versions are pretty artificial. Putting the data display on a - // timeout helps show why Deferreds rock: - // - // | // Deferred style and async func - // | function renderLotsOfData(data){ - // | var d = new dojo.Deferred(); - // | setTimeout(function(){ - // | try{ - // | for(var x in data){ - // | renderDataitem(data[x]); - // | } - // | d.callback(true); - // | }catch(e){ - // | d.errback(new Error("rendering failed")); - // | } - // | }, 100); - // | return d; - // | } - // - // | // using Deferred style - // | renderLotsOfData(someDataObj).addErrback(function(){ - // | promptUserToRecover(); - // | }); - // - // Note that the caller doesn't have to change his code at all to - // handle the asynchronous case. - - this.chain = []; - this.id = this._nextId(); - this.fired = -1; - this.paused = 0; - this.results = [null, null]; - this.canceller = canceller; - this.silentlyCancelled = false; -}; - -dojo.extend(dojo.Deferred, { - /* - makeCalled: function(){ - // summary: - // returns a new, empty deferred, which is already in the called - // state. Calling callback() or errback() on this deferred will - // yeild an error and adding new handlers to it will result in - // them being called immediately. - var deferred = new dojo.Deferred(); - deferred.callback(); - return deferred; - }, - - toString: function(){ - var state; - if(this.fired == -1){ - state = 'unfired'; - }else{ - state = this.fired ? 'success' : 'error'; - } - return 'Deferred(' + this.id + ', ' + state + ')'; - }, - */ - - _nextId: (function(){ - var n = 1; - return function(){ return n++; }; - })(), - - cancel: function(){ - // summary: - // Cancels a Deferred that has not yet received a value, or is - // waiting on another Deferred as its value. - // description: - // If a canceller is defined, the canceller is called. If the - // canceller did not return an error, or there was no canceller, - // then the errback chain is started. - var err; - if(this.fired == -1){ - if(this.canceller){ - err = this.canceller(this); - }else{ - this.silentlyCancelled = true; - } - if(this.fired == -1){ - if(!(err instanceof Error)){ - var res = err; - err = new Error("Deferred Cancelled"); - err.dojoType = "cancel"; - err.cancelResult = res; - } - this.errback(err); - } - }else if( (this.fired == 0) && - (this.results[0] instanceof dojo.Deferred) - ){ - this.results[0].cancel(); - } - }, - - - _resback: function(res){ - // summary: - // The private primitive that means either callback or errback - this.fired = ((res instanceof Error) ? 1 : 0); - this.results[this.fired] = res; - this._fire(); - }, - - _check: function(){ - if(this.fired != -1){ - if(!this.silentlyCancelled){ - throw new Error("already called!"); - } - this.silentlyCancelled = false; - return; - } - }, - - callback: function(res){ - // summary: - // Begin the callback sequence with a non-error value. - - /* - callback or errback should only be called once on a given - Deferred. - */ - this._check(); - this._resback(res); - }, - - errback: function(/*Error*/res){ - // summary: - // Begin the callback sequence with an error result. - this._check(); - if(!(res instanceof Error)){ - res = new Error(res); - } - this._resback(res); - }, - - addBoth: function(/*Function|Object*/cb, /*String?*/cbfn){ - // summary: - // Add the same function as both a callback and an errback as the - // next element on the callback sequence.This is useful for code - // that you want to guarantee to run, e.g. a finalizer. - var enclosed = dojo.hitch.apply(dojo, arguments); - return this.addCallbacks(enclosed, enclosed); - }, - - addCallback: function(/*Function|Object*/cb, /*String?*/cbfn /*...*/){ - // summary: - // Add a single callback to the end of the callback sequence. - return this.addCallbacks(dojo.hitch.apply(dojo, arguments)); - }, - - addErrback: function(cb, cbfn){ - // summary: - // Add a single callback to the end of the callback sequence. - return this.addCallbacks(null, dojo.hitch.apply(dojo, arguments)); - }, - - addCallbacks: function(cb, eb){ - // summary: - // Add separate callback and errback to the end of the callback - // sequence. - this.chain.push([cb, eb]) - if(this.fired >= 0){ - this._fire(); - } - return this; - }, - - _fire: function(){ - // summary: - // Used internally to exhaust the callback sequence when a result - // is available. - var chain = this.chain; - var fired = this.fired; - var res = this.results[fired]; - var self = this; - var cb = null; - while( - (chain.length > 0) && - (this.paused == 0) - ){ - // Array - var f = chain.shift()[fired]; - if(!f){ continue; } - try{ - res = f(res); - fired = ((res instanceof Error) ? 1 : 0); - if(res instanceof dojo.Deferred){ - cb = function(res){ - self._resback(res); - // inlined from _pause() - self.paused--; - if( - (self.paused == 0) && - (self.fired >= 0) - ){ - self._fire(); - } - } - // inlined from _unpause - this.paused++; - } - }catch(err){ - console.debug(err); - fired = 1; - res = err; - } - } - this.fired = fired; - this.results[fired] = res; - if((cb)&&(this.paused)){ - // this is for "tail recursion" in case the dependent - // deferred is already fired - res.addBoth(cb); - } - } -}); - -} - -if(!dojo._hasResource["dojo._base.json"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.json"] = true; -dojo.provide("dojo._base.json"); - -dojo.fromJson = function(/*String*/ json){ - // summary: - // Parses a [JSON](http://json.org) string to return a JavaScript object. - // json: - // a string literal of a JSON item, for instance: - // `'{ "foo": [ "bar", 1, { "baz": "thud" } ] }'` - - return eval("(" + json + ")"); // Object -} - -dojo._escapeString = function(/*String*/str){ - //summary: - // Adds escape sequences for non-visual characters, double quote and - // backslash and surrounds with double quotes to form a valid string - // literal. - return ('"' + str.replace(/(["\\])/g, '\\$1') + '"'). - replace(/[\f]/g, "\\f").replace(/[\b]/g, "\\b").replace(/[\n]/g, "\\n"). - replace(/[\t]/g, "\\t").replace(/[\r]/g, "\\r"); // string -} - -dojo.toJsonIndentStr = "\t"; -dojo.toJson = function(/*Object*/ it, /*Boolean?*/ prettyPrint, /*String?*/ _indentStr){ - // summary: - // Returns a [JSON](http://json.org) serialization of an object. - // - // description: - // Returns a [JSON](http://json.org) serialization of an object. - // Note that this doesn't check for infinite recursion, so don't do that! - // - // it: - // an object to be serialized. Objects may define their own - // serialization via a special "__json__" or "json" function - // property. If a specialized serializer has been defined, it will - // be used as a fallback. - // - // prettyPrint: - // if true, we indent objects and arrays to make the output prettier. - // The variable dojo.toJsonIndentStr is used as the indent string - // -- to use something other than the default (tab), - // change that variable before calling dojo.toJson(). - // - // _indentStr: - // private variable for recursive calls when pretty printing, do not use. - - if(it === undefined){ - return "undefined"; - } - var objtype = typeof it; - if(objtype == "number" || objtype == "boolean"){ - return it + ""; - } - if(it === null){ - return "null"; - } - if(dojo.isString(it)){ - return dojo._escapeString(it); - } - if(it.nodeType && it.cloneNode){ // isNode - return ""; // FIXME: would something like outerHTML be better here? - } - // recurse - var recurse = arguments.callee; - // short-circuit for objects that support "json" serialization - // if they return "self" then just pass-through... - var newObj; - _indentStr = _indentStr || ""; - var nextIndent = prettyPrint ? _indentStr + dojo.toJsonIndentStr : ""; - if(typeof it.__json__ == "function"){ - newObj = it.__json__(); - if(it !== newObj){ - return recurse(newObj, prettyPrint, nextIndent); - } - } - if(typeof it.json == "function"){ - newObj = it.json(); - if(it !== newObj){ - return recurse(newObj, prettyPrint, nextIndent); - } - } - - var sep = prettyPrint ? " " : ""; - var newLine = prettyPrint ? "\n" : ""; - - // array - if(dojo.isArray(it)){ - var res = dojo.map(it, function(obj){ - var val = recurse(obj, prettyPrint, nextIndent); - if(typeof val != "string"){ - val = "undefined"; - } - return newLine + nextIndent + val; - }); - return "[" + res.join("," + sep) + newLine + _indentStr + "]"; - } - /* - // look in the registry - try { - window.o = it; - newObj = dojo.json.jsonRegistry.match(it); - return recurse(newObj, prettyPrint, nextIndent); - }catch(e){ - // console.debug(e); - } - // it's a function with no adapter, skip it - */ - if(objtype == "function"){ - return null; // null - } - // generic object code path - var output = []; - for(var key in it){ - var keyStr; - if(typeof key == "number"){ - keyStr = '"' + key + '"'; - }else if(typeof key == "string"){ - keyStr = dojo._escapeString(key); - }else{ - // skip non-string or number keys - continue; - } - val = recurse(it[key], prettyPrint, nextIndent); - if(typeof val != "string"){ - // skip non-serializable values - continue; - } - // FIXME: use += on Moz!! - // MOW NOTE: using += is a pain because you have to account for the dangling comma... - output.push(newLine + nextIndent + keyStr + ":" + sep + val); - } - return "{" + output.join("," + sep) + newLine + _indentStr + "}"; // String -} - -} - -if(!dojo._hasResource["dojo._base.array"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.array"] = true; - -dojo.provide("dojo._base.array"); - -(function(){ - var _getParts = function(arr, obj, cb){ - return [ - dojo.isString(arr) ? arr.split("") : arr, - obj || dojo.global, - // FIXME: cache the anonymous functions we create here? - dojo.isString(cb) ? new Function("item", "index", "array", cb) : cb - ]; - }; - - dojo.mixin(dojo, { - indexOf: function( /*Array*/ array, - /*Object*/ value, - /*Integer?*/ fromIndex, - /*Boolean?*/ findLast){ - // summary: - // locates the first index of the provided value in the - // passed array. If the value is not found, -1 is returned. - // description: - // For details on this method, see: - // - - var step = 1, end = array.length || 0, i = 0; - if(findLast){ - i = end - 1; - step = end = -1; - } - if(fromIndex != undefined){ i = fromIndex; } - if((findLast && i > end) || i < end){ - for(; i != end; i += step){ - if(array[i] == value){ return i; } - } - } - return -1; // Number - }, - - lastIndexOf: function(/*Array*/array, /*Object*/value, /*Integer?*/fromIndex){ - // summary: - // locates the last index of the provided value in the passed array. - // If the value is not found, -1 is returned. - // description: - // For details on this method, see: - // - return dojo.indexOf(array, value, fromIndex, true); // Number - }, - - forEach: function(/*Array|String*/arr, /*Function|String*/callback, /*Object?*/thisObject){ - // summary: - // for every item in arr, callback is invoked. Return values are ignored. - // arr: the array to iterate on. If a string, operates on individual characters. - // callback: a function is invoked with three arguments: item, index, and array - // thisObject: may be used to scope the call to callback - // description: - // This function corresponds to the JavaScript 1.6 Array.forEach() method. - // In environments that support JavaScript 1.6, this function is a passthrough to the built-in method. - // For more details, see: - // - - // match the behavior of the built-in forEach WRT empty arrs - if(!arr || !arr.length){ return; } - - // FIXME: there are several ways of handilng thisObject. Is - // dojo.global always the default context? - var _p = _getParts(arr, thisObject, callback); arr = _p[0]; - for(var i=0,l=_p[0].length; i - // example: - // | dojo.every([1, 2, 3, 4], function(item){ return item>1; }); - // returns false - // example: - // | dojo.every([1, 2, 3, 4], function(item){ return item>0; }); - // returns true - return this._everyOrSome(true, arr, callback, thisObject); // Boolean - }, - - some: function(/*Array|String*/arr, /*Function|String*/callback, /*Object?*/thisObject){ - // summary: - // Determines whether or not any item in arr satisfies the - // condition implemented by callback. - // arr: the array to iterate on. If a string, operates on individual characters. - // callback: a function is invoked with three arguments: item, index, and array and returns true - // if the condition is met. - // thisObject: may be used to scope the call to callback - // description: - // This function corresponds to the JavaScript 1.6 Array.some() method. - // In environments that support JavaScript 1.6, this function is a passthrough to the built-in method. - // For more details, see: - // - // example: - // | dojo.some([1, 2, 3, 4], function(item){ return item>1; }); - // returns true - // example: - // | dojo.some([1, 2, 3, 4], function(item){ return item<1; }); - // returns false - return this._everyOrSome(false, arr, callback, thisObject); // Boolean - }, - - map: function(/*Array|String*/arr, /*Function|String*/callback, /*Function?*/thisObject){ - // summary: - // applies callback to each element of arr and returns - // an Array with the results - // arr: the array to iterate on. If a string, operates on individual characters. - // callback: a function is invoked with three arguments: item, index, and array and returns a value - // thisObject: may be used to scope the call to callback - // description: - // This function corresponds to the JavaScript 1.6 Array.map() method. - // In environments that support JavaScript 1.6, this function is a passthrough to the built-in method. - // For more details, see: - // - // example: - // | dojo.map([1, 2, 3, 4], function(item){ return item+1 }); - // returns [2, 3, 4, 5] - var _p = _getParts(arr, thisObject, callback); arr = _p[0]; - var outArr = (arguments[3] ? (new arguments[3]()) : []); - for(var i=0;i - // example: - // | dojo.filter([1, 2, 3, 4], function(item){ return item>1; }); - // returns [2, 3, 4] - - var _p = _getParts(arr, thisObject, callback); arr = _p[0]; - var outArr = []; - for(var i = 0; i < arr.length; i++){ - if(_p[2].call(_p[1], arr[i], i, arr)){ - outArr.push(arr[i]); - } - } - return outArr; // Array - } - }); -})(); - -} - -if(!dojo._hasResource["dojo._base.Color"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.Color"] = true; -dojo.provide("dojo._base.Color"); - - - -dojo.Color = function(/*Array|String|Object*/ color){ - // summary: - // takes a named string, hex string, array of rgb or rgba values, - // an object with r, g, b, and a properties, or another dojo.Color object - if(color){ this.setColor(color); } -}; - -// FIXME: there's got to be a more space-efficient way to encode or discover these!! Use hex? -dojo.Color.named = { - black: [0,0,0], - silver: [192,192,192], - gray: [128,128,128], - white: [255,255,255], - maroon: [128,0,0], - red: [255,0,0], - purple: [128,0,128], - fuchsia: [255,0,255], - green: [0,128,0], - lime: [0,255,0], - olive: [128,128,0], - yellow: [255,255,0], - navy: [0,0,128], - blue: [0,0,255], - teal: [0,128,128], - aqua: [0,255,255] -}; - - -dojo.extend(dojo.Color, { - r: 255, g: 255, b: 255, a: 1, - _set: function(r, g, b, a){ - var t = this; t.r = r; t.g = g; t.b = b; t.a = a; - }, - setColor: function(/*Array|String|Object*/ color){ - // summary: - // takes a named string, hex string, array of rgb or rgba values, - // an object with r, g, b, and a properties, or another dojo.Color object - var d = dojo; - if(d.isString(color)){ - d.colorFromString(color, this); - }else if(d.isArray(color)){ - d.colorFromArray(color, this); - }else{ - this._set(color.r, color.g, color.b, color.a); - if(!(color instanceof d.Color)){ this.sanitize(); } - } - return this; // dojo.Color - }, - sanitize: function(){ - // summary: - // makes sure that the object has correct attributes - // description: - // the default implementation does nothing, include dojo.colors to - // augment it to real checks - return this; // dojo.Color - }, - toRgb: function(){ - // summary: returns 3 component array of rgb values - var t = this; - return [t.r, t.g, t.b]; // Array - }, - toRgba: function(){ - // summary: returns a 4 component array of rgba values - var t = this; - return [t.r, t.g, t.b, t.a]; // Array - }, - toHex: function(){ - // summary: returns a css color string in hexadecimal representation - var arr = dojo.map(["r", "g", "b"], function(x){ - var s = this[x].toString(16); - return s.length < 2 ? "0" + s : s; - }, this); - return "#" + arr.join(""); // String - }, - toCss: function(/*Boolean?*/ includeAlpha){ - // summary: returns a css color string in rgb(a) representation - var t = this, rgb = t.r + ", " + t.g + ", " + t.b; - return (includeAlpha ? "rgba(" + rgb + ", " + t.a : "rgb(" + rgb) + ")"; // String - }, - toString: function(){ - // summary: returns a visual representation of the color - return this.toCss(true); // String - } -}); - -dojo.blendColors = function( - /*dojo.Color*/ start, - /*dojo.Color*/ end, - /*Number*/ weight, - /*dojo.Color?*/ obj -){ - // summary: - // blend colors end and start with weight from 0 to 1, 0.5 being a 50/50 blend, - // can reuse a previously allocated dojo.Color object for the result - var d = dojo, t = obj || new dojo.Color(); - d.forEach(["r", "g", "b", "a"], function(x){ - t[x] = start[x] + (end[x] - start[x]) * weight; - if(x != "a"){ t[x] = Math.round(t[x]); } - }); - return t.sanitize(); // dojo.Color -}; - -dojo.colorFromRgb = function(/*String*/ color, /*dojo.Color?*/ obj){ - // summary: get rgb(a) array from css-style color declarations - var m = color.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/); - return m && dojo.colorFromArray(m[1].split(/\s*,\s*/), obj); // dojo.Color -}; - -dojo.colorFromHex = function(/*String*/ color, /*dojo.Color?*/ obj){ - // summary: converts a hex string with a '#' prefix to a color object. - // Supports 12-bit #rgb shorthand. - var d = dojo, t = obj || new d.Color(), - bits = (color.length == 4) ? 4 : 8, - mask = (1 << bits) - 1; - color = Number("0x" + color.substr(1)); - if(isNaN(color)){ - return null; // dojo.Color - } - d.forEach(["b", "g", "r"], function(x){ - var c = color & mask; - color >>= bits; - t[x] = bits == 4 ? 17 * c : c; - }); - t.a = 1; - return t; // dojo.Color -}; - -dojo.colorFromArray = function(/*Array*/ a, /*dojo.Color?*/ obj){ - // summary: builds a color from 1, 2, 3, or 4 element array - var t = obj || new dojo.Color(); - t._set(Number(a[0]), Number(a[1]), Number(a[2]), Number(a[3])); - if(isNaN(t.a)){ t.a = 1; } - return t.sanitize(); // dojo.Color -}; - -dojo.colorFromString = function(/*String*/ str, /*dojo.Color?*/ obj){ - // summary: - // parses str for a color value. - // description: - // Acceptable input values for str may include arrays of any form - // accepted by dojo.colorFromArray, hex strings such as "#aaaaaa", or - // rgb or rgba strings such as "rgb(133, 200, 16)" or "rgba(10, 10, - // 10, 50)" - // returns: - // a dojo.Color object. If obj is passed, it will be the return value. - var a = dojo.Color.named[str]; - return a && dojo.colorFromArray(a, obj) || dojo.colorFromRgb(str, obj) || dojo.colorFromHex(str, obj); -}; - -} - -if(!dojo._hasResource["dojo._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base"] = true; -dojo.provide("dojo._base"); - - - - - - - - - -} - -if(!dojo._hasResource["dojo._base.window"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.window"] = true; -dojo.provide("dojo._base.window"); - -dojo._gearsObject = function(){ - // summary: - // factory method to get a Google Gears plugin instance to - // expose in the browser runtime environment, if present - var factory; - var results; - - var gearsObj = dojo.getObject("google.gears"); - if(gearsObj){ return gearsObj; } // already defined elsewhere - - if(typeof GearsFactory != "undefined"){ // Firefox - factory = new GearsFactory(); - }else{ - if(dojo.isIE){ - // IE - try{ - factory = new ActiveXObject("Gears.Factory"); - }catch(e){ - // ok to squelch; there's no gears factory. move on. - } - }else if(navigator.mimeTypes["application/x-googlegears"]){ - // Safari? - factory = document.createElement("object"); - factory.setAttribute("type", "application/x-googlegears"); - factory.setAttribute("width", 0); - factory.setAttribute("height", 0); - factory.style.display = "none"; - document.documentElement.appendChild(factory); - } - } - - // still nothing? - if(!factory){ return null; } - - // define the global objects now; don't overwrite them though if they - // were somehow set internally by the Gears plugin, which is on their - // dev roadmap for the future - dojo.setObject("google.gears.factory", factory); - return dojo.getObject("google.gears"); -}; - -/*===== -dojo.isGears = { - // summary: True if client is using Google Gears -}; -=====*/ -// see if we have Google Gears installed, and if -// so, make it available in the runtime environment -// and in the Google standard 'google.gears' global object -dojo.isGears = (!!dojo._gearsObject())||0; - -/*===== -dojo.doc = { - // summary: - // Alias for the current document. 'dojo.doc' can be modified - // for temporary context shifting. Also see dojo.withDoc(). - // description: - // Refer to dojo.doc rather - // than referring to 'window.document' to ensure your code runs - // correctly in managed contexts. - // example: - // | n.appendChild(dojo.doc.createElement('div')); -} -=====*/ -dojo.doc = window["document"] || null; - -dojo.body = function(){ - // summary: - // Return the body element of the document - // return the body object associated with dojo.doc - // example: - // | dojo.body().appendChild(dojo.doc.createElement('div')); - - // Note: document.body is not defined for a strict xhtml document - // Would like to memoize this, but dojo.doc can change vi dojo.withDoc(). - return dojo.doc.body || dojo.doc.getElementsByTagName("body")[0]; // Node -} - -dojo.setContext = function(/*Object*/globalObject, /*DocumentElement*/globalDocument){ - // summary: - // changes the behavior of many core Dojo functions that deal with - // namespace and DOM lookup, changing them to work in a new global - // context (e.g., an iframe). The varibles dojo.global and dojo.doc - // are modified as a result of calling this function and the result of - // `dojo.body()` likewise differs. - dojo.global = globalObject; - dojo.doc = globalDocument; -}; - -dojo._fireCallback = function(callback, context, cbArguments){ - if(context && dojo.isString(callback)){ - callback = context[callback]; - } - return callback.apply(context, cbArguments || [ ]); -} - -dojo.withGlobal = function( /*Object*/globalObject, - /*Function*/callback, - /*Object?*/thisObject, - /*Array?*/cbArguments){ - // summary: - // Call callback with globalObject as dojo.global and - // globalObject.document as dojo.doc. If provided, globalObject - // will be executed in the context of object thisObject - // description: - // When callback() returns or throws an error, the dojo.global - // and dojo.doc will be restored to its previous state. - var rval; - var oldGlob = dojo.global; - var oldDoc = dojo.doc; - try{ - dojo.setContext(globalObject, globalObject.document); - rval = dojo._fireCallback(callback, thisObject, cbArguments); - }finally{ - dojo.setContext(oldGlob, oldDoc); - } - return rval; -} - -dojo.withDoc = function( /*Object*/documentObject, - /*Function*/callback, - /*Object?*/thisObject, - /*Array?*/cbArguments){ - // summary: - // Call callback with documentObject as dojo.doc. If provided, - // callback will be executed in the context of object thisObject - // description: - // When callback() returns or throws an error, the dojo.doc will - // be restored to its previous state. - var rval; - var oldDoc = dojo.doc; - try{ - dojo.doc = documentObject; - rval = dojo._fireCallback(callback, thisObject, cbArguments); - }finally{ - dojo.doc = oldDoc; - } - return rval; -}; - -} - -if(!dojo._hasResource["dojo._base.event"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.event"] = true; -dojo.provide("dojo._base.event"); - - -// this file courtesy of the TurboAjax Group, licensed under a Dojo CLA - -(function(){ - // DOM event listener machinery - var del = (dojo._event_listener = { - add: function(/*DOMNode*/node, /*String*/name, /*Function*/fp){ - if(!node){return;} - name = del._normalizeEventName(name); - fp = del._fixCallback(name, fp); - var oname = name; - if(!dojo.isIE && (name == "mouseenter" || name == "mouseleave")){ - var ofp = fp; - //oname = name; - name = (name == "mouseenter") ? "mouseover" : "mouseout"; - fp = function(e){ - // thanks ben! - if(!dojo.isDescendant(e.relatedTarget, node)){ - // e.type = oname; // FIXME: doesn't take? SJM: event.type is generally immutable. - return ofp.call(this, e); - } - } - } - node.addEventListener(name, fp, false); - return fp; /*Handle*/ - }, - remove: function(/*DOMNode*/node, /*String*/event, /*Handle*/handle){ - // summary: - // clobbers the listener from the node - // node: - // DOM node to attach the event to - // event: - // the name of the handler to remove the function from - // handle: - // the handle returned from add - if (node){ - node.removeEventListener(del._normalizeEventName(event), handle, false); - } - }, - _normalizeEventName: function(/*String*/name){ - // Generally, name should be lower case, unless it is special - // somehow (e.g. a Mozilla DOM event). - // Remove 'on'. - return name.slice(0,2) =="on" ? name.slice(2) : name; - }, - _fixCallback: function(/*String*/name, fp){ - // By default, we only invoke _fixEvent for 'keypress' - // If code is added to _fixEvent for other events, we have - // to revisit this optimization. - // This also applies to _fixEvent overrides for Safari and Opera - // below. - return name != "keypress" ? fp : function(e){ return fp.call(this, del._fixEvent(e, this)); }; - }, - _fixEvent: function(evt, sender){ - // _fixCallback only attaches us to keypress. - // Switch on evt.type anyway because we might - // be called directly from dojo.fixEvent. - switch(evt.type){ - case "keypress": - del._setKeyChar(evt); - break; - } - return evt; - }, - _setKeyChar: function(evt){ - evt.keyChar = evt.charCode ? String.fromCharCode(evt.charCode) : ''; - } - }); - - // DOM events - - dojo.fixEvent = function(/*Event*/evt, /*DOMNode*/sender){ - // summary: - // normalizes properties on the event object including event - // bubbling methods, keystroke normalization, and x/y positions - // evt: Event - // native event object - // sender: DOMNode - // node to treat as "currentTarget" - return del._fixEvent(evt, sender); - } - - dojo.stopEvent = function(/*Event*/evt){ - // summary: - // prevents propagation and clobbers the default action of the - // passed event - // evt: Event - // The event object. If omitted, window.event is used on IE. - evt.preventDefault(); - evt.stopPropagation(); - // NOTE: below, this method is overridden for IE - } - - // the default listener to use on dontFix nodes, overriden for IE - var node_listener = dojo._listener; - - // Unify connect and event listeners - dojo._connect = function(obj, event, context, method, dontFix){ - // FIXME: need a more strict test - var isNode = obj && (obj.nodeType||obj.attachEvent||obj.addEventListener); - // choose one of three listener options: raw (connect.js), DOM event on a Node, custom event on a Node - // we need the third option to provide leak prevention on broken browsers (IE) - var lid = !isNode ? 0 : (!dontFix ? 1 : 2), l = [dojo._listener, del, node_listener][lid]; - // create a listener - var h = l.add(obj, event, dojo.hitch(context, method)); - // formerly, the disconnect package contained "l" directly, but if client code - // leaks the disconnect package (by connecting it to a node), referencing "l" - // compounds the problem. - // instead we return a listener id, which requires custom _disconnect below. - // return disconnect package - return [ obj, event, h, lid ]; - } - - dojo._disconnect = function(obj, event, handle, listener){ - ([dojo._listener, del, node_listener][listener]).remove(obj, event, handle); - } - - // Constants - - // Public: client code should test - // keyCode against these named constants, as the - // actual codes can vary by browser. - dojo.keys = { - // summary: definitions for common key values - BACKSPACE: 8, - TAB: 9, - CLEAR: 12, - ENTER: 13, - SHIFT: 16, - CTRL: 17, - ALT: 18, - PAUSE: 19, - CAPS_LOCK: 20, - ESCAPE: 27, - SPACE: 32, - PAGE_UP: 33, - PAGE_DOWN: 34, - END: 35, - HOME: 36, - LEFT_ARROW: 37, - UP_ARROW: 38, - RIGHT_ARROW: 39, - DOWN_ARROW: 40, - INSERT: 45, - DELETE: 46, - HELP: 47, - LEFT_WINDOW: 91, - RIGHT_WINDOW: 92, - SELECT: 93, - NUMPAD_0: 96, - NUMPAD_1: 97, - NUMPAD_2: 98, - NUMPAD_3: 99, - NUMPAD_4: 100, - NUMPAD_5: 101, - NUMPAD_6: 102, - NUMPAD_7: 103, - NUMPAD_8: 104, - NUMPAD_9: 105, - NUMPAD_MULTIPLY: 106, - NUMPAD_PLUS: 107, - NUMPAD_ENTER: 108, - NUMPAD_MINUS: 109, - NUMPAD_PERIOD: 110, - NUMPAD_DIVIDE: 111, - F1: 112, - F2: 113, - F3: 114, - F4: 115, - F5: 116, - F6: 117, - F7: 118, - F8: 119, - F9: 120, - F10: 121, - F11: 122, - F12: 123, - F13: 124, - F14: 125, - F15: 126, - NUM_LOCK: 144, - SCROLL_LOCK: 145 - }; - - // IE event normalization - if(dojo.isIE){ - var _trySetKeyCode = function(e, code){ - try{ - // squelch errors when keyCode is read-only - // (e.g. if keyCode is ctrl or shift) - return (e.keyCode = code); - }catch(e){ - return 0; - } - } - - // by default, use the standard listener - var iel = dojo._listener; - // dispatcher tracking property - if(!dojo.config._allow_leaks){ - // custom listener that handles leak protection for DOM events - node_listener = iel = dojo._ie_listener = { - // support handler indirection: event handler functions are - // referenced here. Event dispatchers hold only indices. - handlers: [], - // add a listener to an object - add: function(/*Object*/ source, /*String*/ method, /*Function*/ listener){ - source = source || dojo.global; - var f = source[method]; - if(!f||!f._listeners){ - var d = dojo._getIeDispatcher(); - // original target function is special - d.target = f && (ieh.push(f) - 1); - // dispatcher holds a list of indices into handlers table - d._listeners = []; - // redirect source to dispatcher - f = source[method] = d; - } - return f._listeners.push(ieh.push(listener) - 1) ; /*Handle*/ - }, - // remove a listener from an object - remove: function(/*Object*/ source, /*String*/ method, /*Handle*/ handle){ - var f = (source||dojo.global)[method], l = f && f._listeners; - if(f && l && handle--){ - delete ieh[l[handle]]; - delete l[handle]; - } - } - }; - // alias used above - var ieh = iel.handlers; - } - - dojo.mixin(del, { - add: function(/*DOMNode*/node, /*String*/event, /*Function*/fp){ - if(!node){return;} // undefined - event = del._normalizeEventName(event); - if(event=="onkeypress"){ - // we need to listen to onkeydown to synthesize - // keypress events that otherwise won't fire - // on IE - var kd = node.onkeydown; - if(!kd || !kd._listeners || !kd._stealthKeydownHandle){ - var h = del.add(node, "onkeydown", del._stealthKeyDown); - kd = node.onkeydown; - kd._stealthKeydownHandle = h; - kd._stealthKeydownRefs = 1; - }else{ - kd._stealthKeydownRefs++; - } - } - return iel.add(node, event, del._fixCallback(fp)); - }, - remove: function(/*DOMNode*/node, /*String*/event, /*Handle*/handle){ - event = del._normalizeEventName(event); - iel.remove(node, event, handle); - if(event=="onkeypress"){ - var kd = node.onkeydown; - if(--kd._stealthKeydownRefs <= 0){ - iel.remove(node, "onkeydown", kd._stealthKeydownHandle); - delete kd._stealthKeydownHandle; - } - } - }, - _normalizeEventName: function(/*String*/eventName){ - // Generally, eventName should be lower case, unless it is - // special somehow (e.g. a Mozilla event) - // ensure 'on' - return eventName.slice(0,2) != "on" ? "on" + eventName : eventName; - }, - _nop: function(){}, - _fixEvent: function(/*Event*/evt, /*DOMNode*/sender){ - // summary: - // normalizes properties on the event object including event - // bubbling methods, keystroke normalization, and x/y positions - // evt: native event object - // sender: node to treat as "currentTarget" - if(!evt){ - var w = sender && (sender.ownerDocument || sender.document || sender).parentWindow || window; - evt = w.event; - } - if(!evt){return(evt);} - evt.target = evt.srcElement; - evt.currentTarget = (sender || evt.srcElement); - evt.layerX = evt.offsetX; - evt.layerY = evt.offsetY; - // FIXME: scroll position query is duped from dojo.html to - // avoid dependency on that entire module. Now that HTML is in - // Base, we should convert back to something similar there. - var se = evt.srcElement, doc = (se && se.ownerDocument) || document; - // DO NOT replace the following to use dojo.body(), in IE, document.documentElement should be used - // here rather than document.body - var docBody = ((dojo.isIE < 6) || (doc["compatMode"] == "BackCompat")) ? doc.body : doc.documentElement; - var offset = dojo._getIeDocumentElementOffset(); - evt.pageX = evt.clientX + dojo._fixIeBiDiScrollLeft(docBody.scrollLeft || 0) - offset.x; - evt.pageY = evt.clientY + (docBody.scrollTop || 0) - offset.y; - if(evt.type == "mouseover"){ - evt.relatedTarget = evt.fromElement; - } - if(evt.type == "mouseout"){ - evt.relatedTarget = evt.toElement; - } - evt.stopPropagation = del._stopPropagation; - evt.preventDefault = del._preventDefault; - return del._fixKeys(evt); - }, - _fixKeys: function(evt){ - switch(evt.type){ - case "keypress": - var c = ("charCode" in evt ? evt.charCode : evt.keyCode); - if (c==10){ - // CTRL-ENTER is CTRL-ASCII(10) on IE, but CTRL-ENTER on Mozilla - c=0; - evt.keyCode = 13; - }else if(c==13||c==27){ - c=0; // Mozilla considers ENTER and ESC non-printable - }else if(c==3){ - c=99; // Mozilla maps CTRL-BREAK to CTRL-c - } - // Mozilla sets keyCode to 0 when there is a charCode - // but that stops the event on IE. - evt.charCode = c; - del._setKeyChar(evt); - break; - } - return evt; - }, - // some ctrl-key combinations (mostly w/punctuation) do not emit a char code in IE - // we map those virtual key codes to ascii here - // not valid for all (non-US) keyboards, so maybe we shouldn't bother - _punctMap: { - 106:42, - 111:47, - 186:59, - 187:43, - 188:44, - 189:45, - 190:46, - 191:47, - 192:96, - 219:91, - 220:92, - 221:93, - 222:39 - }, - _stealthKeyDown: function(evt){ - // IE doesn't fire keypress for most non-printable characters. - // other browsers do, we simulate it here. - var kp = evt.currentTarget.onkeypress; - // only works if kp exists and is a dispatcher - if(!kp || !kp._listeners){ return; } - // munge key/charCode - var k=evt.keyCode; - // These are Windows Virtual Key Codes - // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/VirtualKeyCodes.asp - var unprintable = (k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222); - // synthesize keypress for most unprintables and CTRL-keys - if(unprintable||evt.ctrlKey){ - var c = unprintable ? 0 : k; - if(evt.ctrlKey){ - if(k==3 || k==13){ - return; // IE will post CTRL-BREAK, CTRL-ENTER as keypress natively - }else if(c>95 && c<106){ - c -= 48; // map CTRL-[numpad 0-9] to ASCII - }else if((!evt.shiftKey)&&(c>=65&&c<=90)){ - c += 32; // map CTRL-[A-Z] to lowercase - }else{ - c = del._punctMap[c] || c; // map other problematic CTRL combinations to ASCII - } - } - // simulate a keypress event - var faux = del._synthesizeEvent(evt, {type: 'keypress', faux: true, charCode: c}); - kp.call(evt.currentTarget, faux); - evt.cancelBubble = faux.cancelBubble; - evt.returnValue = faux.returnValue; - _trySetKeyCode(evt, faux.keyCode); - } - }, - // Called in Event scope - _stopPropagation: function(){ - this.cancelBubble = true; - }, - _preventDefault: function(){ - // Setting keyCode to 0 is the only way to prevent certain keypresses (namely - // ctrl-combinations that correspond to menu accelerator keys). - // Otoh, it prevents upstream listeners from getting this information - // Try to split the difference here by clobbering keyCode only for ctrl - // combinations. If you still need to access the key upstream, bubbledKeyCode is - // provided as a workaround. - this.bubbledKeyCode = this.keyCode; - if(this.ctrlKey){_trySetKeyCode(this, 0);} - this.returnValue = false; - } - }); - - // override stopEvent for IE - dojo.stopEvent = function(evt){ - evt = evt || window.event; - del._stopPropagation.call(evt); - del._preventDefault.call(evt); - } - } - - del._synthesizeEvent = function(evt, props){ - var faux = dojo.mixin({}, evt, props); - del._setKeyChar(faux); - // FIXME: would prefer to use dojo.hitch: dojo.hitch(evt, evt.preventDefault); - // but it throws an error when preventDefault is invoked on Safari - // does Event.preventDefault not support "apply" on Safari? - faux.preventDefault = function(){ evt.preventDefault(); }; - faux.stopPropagation = function(){ evt.stopPropagation(); }; - return faux; - } - - // Opera event normalization - if(dojo.isOpera){ - dojo.mixin(del, { - _fixEvent: function(evt, sender){ - switch(evt.type){ - case "keypress": - var c = evt.which; - if(c==3){ - c=99; // Mozilla maps CTRL-BREAK to CTRL-c - } - // can't trap some keys at all, like INSERT and DELETE - // there is no differentiating info between DELETE and ".", or INSERT and "-" - c = ((c<41)&&(!evt.shiftKey) ? 0 : c); - if((evt.ctrlKey)&&(!evt.shiftKey)&&(c>=65)&&(c<=90)){ - // lowercase CTRL-[A-Z] keys - c += 32; - } - return del._synthesizeEvent(evt, { charCode: c }); - } - return evt; - } - }); - } - - // Safari event normalization - if(dojo.isSafari){ - dojo.mixin(del, { - _fixEvent: function(evt, sender){ - switch(evt.type){ - case "keypress": - var c = evt.charCode, s = evt.shiftKey, k = evt.keyCode; - // FIXME: This is a hack, suggest we rethink keyboard strategy. - // Arrow and page keys have 0 "keyCode" in keypress events.on Safari for Windows - k = k || identifierMap[evt.keyIdentifier] || 0; - if(evt.keyIdentifier=="Enter"){ - c = 0; // differentiate Enter from CTRL-m (both code 13) - }else if((evt.ctrlKey)&&(c>0)&&(c<27)){ - c += 96; // map CTRL-[A-Z] codes to ASCII - } else if (c==dojo.keys.SHIFT_TAB) { - c = dojo.keys.TAB; // morph SHIFT_TAB into TAB + shiftKey: true - s = true; - } else { - c = (c>=32 && c<63232 ? c : 0); // avoid generating keyChar for non-printables - } - return del._synthesizeEvent(evt, {charCode: c, shiftKey: s, keyCode: k}); - } - return evt; - } - }); - - dojo.mixin(dojo.keys, { - SHIFT_TAB: 25, - UP_ARROW: 63232, - DOWN_ARROW: 63233, - LEFT_ARROW: 63234, - RIGHT_ARROW: 63235, - F1: 63236, - F2: 63237, - F3: 63238, - F4: 63239, - F5: 63240, - F6: 63241, - F7: 63242, - F8: 63243, - F9: 63244, - F10: 63245, - F11: 63246, - F12: 63247, - PAUSE: 63250, - DELETE: 63272, - HOME: 63273, - END: 63275, - PAGE_UP: 63276, - PAGE_DOWN: 63277, - INSERT: 63302, - PRINT_SCREEN: 63248, - SCROLL_LOCK: 63249, - NUM_LOCK: 63289 - }); - var dk = dojo.keys, identifierMap = { "Up": dk.UP_ARROW, "Down": dk.DOWN_ARROW, "Left": dk.LEFT_ARROW, "Right": dk.RIGHT_ARROW, "PageUp": dk.PAGE_UP, "PageDown": dk.PAGE_DOWN }; - } -})(); - -if(dojo.isIE){ - // keep this out of the closure - // closing over 'iel' or 'ieh' b0rks leak prevention - // ls[i] is an index into the master handler array - dojo._ieDispatcher = function(args, sender){ - var ap=Array.prototype, h=dojo._ie_listener.handlers, c=args.callee, ls=c._listeners, t=h[c.target]; - // return value comes from original target function - var r = t && t.apply(sender, args); - // invoke listeners after target function - for(var i in ls){ - if(!(i in ap)){ - h[ls[i]].apply(sender, args); - } - } - return r; - } - dojo._getIeDispatcher = function(){ - // ensure the returned function closes over nothing - return new Function(dojo._scopeName + "._ieDispatcher(arguments, this)"); // function - } - // keep this out of the closure to reduce RAM allocation - dojo._event_listener._fixCallback = function(fp){ - var f = dojo._event_listener._fixEvent; - return function(e){ return fp.call(this, f(e, this)); }; - } -} - -} - -if(!dojo._hasResource["dojo._base.html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.html"] = true; - -dojo.provide("dojo._base.html"); - -// FIXME: need to add unit tests for all the semi-public methods - -try{ - document.execCommand("BackgroundImageCache", false, true); -}catch(e){ - // sane browsers don't have cache "issues" -} - -// ============================= -// DOM Functions -// ============================= - -/*===== -dojo.byId = function(id, doc){ - // summary: - // Returns DOM node with matching `id` attribute or `null` - // if not found, similar to "$" function in another library. - // If `id` is a DomNode, this function is a no-op. - // - // id: String|DOMNode - // A string to match an HTML id attribute or a reference to a DOM Node - // - // doc: Document? - // Document to work in. Defaults to the current value of - // dojo.doc. Can be used to retrieve - // node references from other documents. -=====*/ -if(dojo.isIE || dojo.isOpera){ - dojo.byId = function(id, doc){ - if(dojo.isString(id)){ - var _d = doc || dojo.doc; - var te = _d.getElementById(id); - // attributes.id.value is better than just id in case the - // user has a name=id inside a form - if(te && te.attributes.id.value == id){ - return te; - }else{ - var eles = _d.all[id]; - if(!eles || !eles.length){ return eles; } - // if more than 1, choose first with the correct id - var i=0; - while((te=eles[i++])){ - if(te.attributes.id.value == id){ return te; } - } - } - }else{ - return id; // DomNode - } - } -}else{ - dojo.byId = function(id, doc){ - return dojo.isString(id) ? (doc || dojo.doc).getElementById(id) : id; // DomNode - } -} -/*===== -} -=====*/ - -(function(){ - /* - dojo.createElement = function(obj, parent, position){ - // TODO: need to finish this! - } - */ - - var d = dojo; - - var _destroyContainer = null; - dojo.addOnUnload(function(){ - _destroyContainer=null; //prevent IE leak - }); - dojo._destroyElement = function(/*String||DomNode*/node){ - // summary: - // removes node from its parent, clobbers it and all of its - // children. - // node: - // the element to be destroyed, either as an ID or a reference - - node = d.byId(node); - try{ - if(!_destroyContainer){ - _destroyContainer = document.createElement("div"); - } - _destroyContainer.appendChild(node.parentNode ? node.parentNode.removeChild(node) : node); - // NOTE: see http://trac.dojotoolkit.org/ticket/2931. This may be a bug and not a feature - _destroyContainer.innerHTML = ""; - }catch(e){ - /* squelch */ - } - }; - - dojo.isDescendant = function(/*DomNode|String*/node, /*DomNode|String*/ancestor){ - // summary: - // Returns true if node is a descendant of ancestor - // node: id or node reference to test - // ancestor: id or node reference of potential parent to test against - try{ - node = d.byId(node); - ancestor = d.byId(ancestor); - while(node){ - if(node === ancestor){ - return true; // Boolean - } - node = node.parentNode; - } - }catch(e){ /* squelch, return false */ } - return false; // Boolean - }; - - dojo.setSelectable = function(/*DomNode|String*/node, /*Boolean*/selectable){ - // summary: enable or disable selection on a node - // node: - // id or reference to node - // selectable: - node = d.byId(node); - if(d.isMozilla){ - node.style.MozUserSelect = selectable ? "" : "none"; - }else if(d.isKhtml){ - node.style.KhtmlUserSelect = selectable ? "auto" : "none"; - }else if(d.isIE){ - node.unselectable = selectable ? "" : "on"; - d.query("*", node).forEach(function(descendant){ - descendant.unselectable = selectable ? "" : "on"; - }); - } - //FIXME: else? Opera? - }; - - var _insertBefore = function(/*Node*/node, /*Node*/ref){ - ref.parentNode.insertBefore(node, ref); - return true; // boolean - } - - var _insertAfter = function(/*Node*/node, /*Node*/ref){ - // summary: - // Try to insert node after ref - var pn = ref.parentNode; - if(ref == pn.lastChild){ - pn.appendChild(node); - }else{ - return _insertBefore(node, ref.nextSibling); // boolean - } - return true; // boolean - } - - dojo.place = function(/*String|DomNode*/node, /*String|DomNode*/refNode, /*String|Number*/position){ - // summary: - // Attempt to insert node into the DOM, choosing from various positioning options. - // Returns true if successful, false otherwise. - // node: - // id or node reference to place relative to refNode - // refNode: - // id or node reference to use as basis for placement - // position: - // string noting the position of node relative to refNode or a - // number indicating the location in the childNodes collection of - // refNode. Accepted string values are: - // - // * before - // * after - // * first - // * last - // - // "first" and "last" indicate positions as children of refNode. - - // FIXME: need to write tests for this!!!! - if(!node || !refNode || position === undefined){ - return false; // boolean - } - node = d.byId(node); - refNode = d.byId(refNode); - if(typeof position == "number"){ - var cn = refNode.childNodes; - if((position == 0 && cn.length == 0) || - cn.length == position){ - refNode.appendChild(node); return true; - } - if(position == 0){ - return _insertBefore(node, refNode.firstChild); - } - return _insertAfter(node, cn[position-1]); - } - switch(position.toLowerCase()){ - case "before": - return _insertBefore(node, refNode); // boolean - case "after": - return _insertAfter(node, refNode); // boolean - case "first": - if(refNode.firstChild){ - return _insertBefore(node, refNode.firstChild); // boolean - } - // else fallthrough... - default: // aka: last - refNode.appendChild(node); - return true; // boolean - } - } - - // Box functions will assume this model. - // On IE/Opera, BORDER_BOX will be set if the primary document is in quirks mode. - // Can be set to change behavior of box setters. - - // can be either: - // "border-box" - // "content-box" (default) - dojo.boxModel = "content-box"; - - // We punt per-node box mode testing completely. - // If anybody cares, we can provide an additional (optional) unit - // that overrides existing code to include per-node box sensitivity. - - // Opera documentation claims that Opera 9 uses border-box in BackCompat mode. - // but experiments (Opera 9.10.8679 on Windows Vista) indicate that it actually continues to use content-box. - // IIRC, earlier versions of Opera did in fact use border-box. - // Opera guys, this is really confusing. Opera being broken in quirks mode is not our fault. - - if(d.isIE /*|| dojo.isOpera*/){ - var _dcm = document.compatMode; - // client code may have to adjust if compatMode varies across iframes - d.boxModel = _dcm == "BackCompat" || _dcm == "QuirksMode" || d.isIE<6 ? "border-box" : "content-box"; // FIXME: remove IE < 6 support? - } - - // ============================= - // Style Functions - // ============================= - - // getComputedStyle drives most of the style code. - // Wherever possible, reuse the returned object. - // - // API functions below that need to access computed styles accept an - // optional computedStyle parameter. - // If this parameter is omitted, the functions will call getComputedStyle themselves. - // This way, calling code can access computedStyle once, and then pass the reference to - // multiple API functions. - -/*===== - dojo.getComputedStyle = function(node){ - // summary: - // Returns a "computed style" object. - // - // description: - // Gets a "computed style" object which can be used to gather - // information about the current state of the rendered node. - // - // Note that this may behave differently on different browsers. - // Values may have different formats and value encodings across - // browsers. - // - // Note also that this method is expensive. Wherever possible, - // reuse the returned object. - // - // Use the dojo.style() method for more consistent (pixelized) - // return values. - // - // node: DOMNode - // A reference to a DOM node. Does NOT support taking an - // ID string for speed reasons. - // example: - // | dojo.getComputedStyle(dojo.byId('foo')).borderWidth; - return; // CSS2Properties - } -=====*/ - - var gcs, dv = document.defaultView; - if(d.isSafari){ - gcs = function(/*DomNode*/node){ - var s = dv.getComputedStyle(node, null); - if(!s && node.style){ - node.style.display = ""; - s = dv.getComputedStyle(node, null); - } - return s || {}; - }; - }else if(d.isIE){ - gcs = function(node){ - return node.currentStyle; - }; - }else{ - gcs = function(node){ - return dv.getComputedStyle(node, null); - }; - } - dojo.getComputedStyle = gcs; - - if(!d.isIE){ - dojo._toPixelValue = function(element, value){ - // style values can be floats, client code may want - // to round for integer pixels. - return parseFloat(value) || 0; - } - }else{ - dojo._toPixelValue = function(element, avalue){ - if(!avalue){ return 0; } - // on IE7, medium is usually 4 pixels - if(avalue=="medium"){ return 4; } - // style values can be floats, client code may - // want to round this value for integer pixels. - if(avalue.slice && (avalue.slice(-2)=='px')){ return parseFloat(avalue); } - with(element){ - var sLeft = style.left; - var rsLeft = runtimeStyle.left; - runtimeStyle.left = currentStyle.left; - try{ - // 'avalue' may be incompatible with style.left, which can cause IE to throw - // this has been observed for border widths using "thin", "medium", "thick" constants - // those particular constants could be trapped by a lookup - // but perhaps there are more - style.left = avalue; - avalue = style.pixelLeft; - }catch(e){ - avalue = 0; - } - style.left = sLeft; - runtimeStyle.left = rsLeft; - } - return avalue; - } - } - var px = d._toPixelValue; - - // FIXME: there opacity quirks on FF that we haven't ported over. Hrm. - /*===== - dojo._getOpacity = function(node){ - // summary: - // Returns the current opacity of the passed node as a - // floating-point value between 0 and 1. - // node: DomNode - // a reference to a DOM node. Does NOT support taking an - // ID string for speed reasons. - // return: Number between 0 and 1 - } - =====*/ - - dojo._getOpacity = d.isIE ? function(node){ - try{ - return node.filters.alpha.opacity / 100; // Number - }catch(e){ - return 1; // Number - } - } : function(node){ - return gcs(node).opacity; - }; - - /*===== - dojo._setOpacity = function(node, opacity){ - // summary: - // set the opacity of the passed node portably. Returns the - // new opacity of the node. - // node: DOMNode - // a reference to a DOM node. Does NOT support taking an - // ID string for performance reasons. - // opacity: Number - // A Number between 0 and 1. 0 specifies transparent. - // return: Number between 0 and 1 - } - =====*/ - - dojo._setOpacity = d.isIE ? function(/*DomNode*/node, /*Number*/opacity){ - if(opacity == 1){ - // on IE7 Alpha(Filter opacity=100) makes text look fuzzy so remove it altogether (bug #2661) - var filterRE = /FILTER:[^;]*;?/i; - node.style.cssText = node.style.cssText.replace(filterRE, ""); - if(node.nodeName.toLowerCase() == "tr"){ - d.query("> td", node).forEach(function(i){ - i.style.cssText = i.style.cssText.replace(filterRE, ""); - }); - } - }else{ - var o = "Alpha(Opacity="+ opacity * 100 +")"; - node.style.filter = o; - } - if(node.nodeName.toLowerCase() == "tr"){ - d.query("> td", node).forEach(function(i){ - i.style.filter = o; - }); - } - return opacity; - } : function(node, opacity){ - return node.style.opacity = opacity; - }; - - var _pixelNamesCache = { - left: true, top: true - }; - var _pixelRegExp = /margin|padding|width|height|max|min|offset/; // |border - var _toStyleValue = function(node, type, value){ - type = type.toLowerCase(); - if(d.isIE && value == "auto"){ - if(type == "height"){ return node.offsetHeight; } - if(type == "width"){ return node.offsetWidth; } - } - if(!(type in _pixelNamesCache)){ - // if(dojo.isOpera && type == "cssText"){ - // FIXME: add workaround for #2855 here - // } - _pixelNamesCache[type] = _pixelRegExp.test(type); - } - return _pixelNamesCache[type] ? px(node, value) : value; - } - - var _floatStyle = d.isIE ? "styleFloat" : "cssFloat"; - var _floatAliases = { "cssFloat": _floatStyle, "styleFloat": _floatStyle, "float": _floatStyle }; - - // public API - - dojo.style = function( /*DomNode|String*/ node, - /*String?|Object?*/ style, - /*String?*/ value){ - // summary: - // Accesses styles on a node. If 2 arguments are - // passed, acts as a getter. If 3 arguments are passed, acts - // as a setter. - // node: - // id or reference to node to get/set style for - // style: - // the style property to set in DOM-accessor format - // ("borderWidth", not "border-width") or an object with key/value - // pairs suitable for setting each property. - // value: - // If passed, sets value on the node for style, handling - // cross-browser concerns. - // example: - // Passing only an ID or node returns the computed style object of - // the node: - // | dojo.style("thinger"); - // example: - // Passing a node and a style property returns the current - // normalized, computed value for that property: - // | dojo.style("thinger", "opacity"); // 1 by default - // - // example: - // Passing a node, a style property, and a value changes the - // current display of the node and returns the new computed value - // | dojo.style("thinger", "opacity", 0.5); // == 0.5 - // - // example: - // Passing a node, an object-style style property sets each of the values in turn and returns the computed style object of the node: - // | dojo.style("thinger", { - // | "opacity": 0.5, - // | "border": "3px solid black", - // | "height": 300 - // | }); - // - // example: - // When the CSS style property is hyphenated, the JavaScript property is camelCased. - // font-size becomes fontSize, and so on. - // | dojo.style("thinger",{ - // | fontSize:"14pt", - // | letterSpacing:"1.2em" - // | }); - // - // example: - // dojo.NodeList implements .style() using the same syntax, omitting the "node" parameter, calling - // dojo.style() on every element of the list. See: dojo.query and dojo.NodeList - // | dojo.query(".someClassName").style("visibility","hidden"); - // | // or - // | dojo.query("#baz > div").style({ - // | opacity:0.75, - // | fontSize:"13pt" - // | }); - - var n = d.byId(node), args = arguments.length, op = (style=="opacity"); - style = _floatAliases[style] || style; - if(args == 3){ - return op ? d._setOpacity(n, value) : n.style[style] = value; /*Number*/ - } - if(args == 2 && op){ - return d._getOpacity(n); - } - var s = gcs(n); - if(args == 2 && !d.isString(style)){ - for(var x in style){ - d.style(node, x, style[x]); - } - return s; - } - return (args == 1) ? s : _toStyleValue(n, style, s[style]); /* CSS2Properties||String||Number */ - } - - // ============================= - // Box Functions - // ============================= - - dojo._getPadExtents = function(/*DomNode*/n, /*Object*/computedStyle){ - // summary: - // Returns object with special values specifically useful for node - // fitting. - // - // * l/t = left/top padding (respectively) - // * w = the total of the left and right padding - // * h = the total of the top and bottom padding - // - // If 'node' has position, l/t forms the origin for child nodes. - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - s = computedStyle||gcs(n), - l = px(n, s.paddingLeft), - t = px(n, s.paddingTop); - return { - l: l, - t: t, - w: l+px(n, s.paddingRight), - h: t+px(n, s.paddingBottom) - }; - } - - dojo._getBorderExtents = function(/*DomNode*/n, /*Object*/computedStyle){ - // summary: - // returns an object with properties useful for noting the border - // dimensions. - // - // * l/t = the sum of left/top border (respectively) - // * w = the sum of the left and right border - // * h = the sum of the top and bottom border - // - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - ne = "none", - s = computedStyle||gcs(n), - bl = (s.borderLeftStyle != ne ? px(n, s.borderLeftWidth) : 0), - bt = (s.borderTopStyle != ne ? px(n, s.borderTopWidth) : 0); - return { - l: bl, - t: bt, - w: bl + (s.borderRightStyle!=ne ? px(n, s.borderRightWidth) : 0), - h: bt + (s.borderBottomStyle!=ne ? px(n, s.borderBottomWidth) : 0) - }; - } - - dojo._getPadBorderExtents = function(/*DomNode*/n, /*Object*/computedStyle){ - // summary: - // returns object with properties useful for box fitting with - // regards to padding. - // - // * l/t = the sum of left/top padding and left/top border (respectively) - // * w = the sum of the left and right padding and border - // * h = the sum of the top and bottom padding and border - // - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - s = computedStyle||gcs(n), - p = d._getPadExtents(n, s), - b = d._getBorderExtents(n, s); - return { - l: p.l + b.l, - t: p.t + b.t, - w: p.w + b.w, - h: p.h + b.h - }; - } - - dojo._getMarginExtents = function(n, computedStyle){ - // summary: - // returns object with properties useful for box fitting with - // regards to box margins (i.e., the outer-box). - // - // * l/t = marginLeft, marginTop, respectively - // * w = total width, margin inclusive - // * h = total height, margin inclusive - // - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - s = computedStyle||gcs(n), - l = px(n, s.marginLeft), - t = px(n, s.marginTop), - r = px(n, s.marginRight), - b = px(n, s.marginBottom); - if(d.isSafari && (s.position != "absolute")){ - // FIXME: Safari's version of the computed right margin - // is the space between our right edge and the right edge - // of our offsetParent. - // What we are looking for is the actual margin value as - // determined by CSS. - // Hack solution is to assume left/right margins are the same. - r = l; - } - return { - l: l, - t: t, - w: l+r, - h: t+b - }; - } - - // Box getters work in any box context because offsetWidth/clientWidth - // are invariant wrt box context - // - // They do *not* work for display: inline objects that have padding styles - // because the user agent ignores padding (it's bogus styling in any case) - // - // Be careful with IMGs because they are inline or block depending on - // browser and browser mode. - - // Although it would be easier to read, there are not separate versions of - // _getMarginBox for each browser because: - // 1. the branching is not expensive - // 2. factoring the shared code wastes cycles (function call overhead) - // 3. duplicating the shared code wastes bytes - - dojo._getMarginBox = function(/*DomNode*/node, /*Object*/computedStyle){ - // summary: - // returns an object that encodes the width, height, left and top - // positions of the node's margin box. - var s = computedStyle||gcs(node), me = d._getMarginExtents(node, s); - var l = node.offsetLeft - me.l, t = node.offsetTop - me.t; - if(d.isMoz){ - // Mozilla: - // If offsetParent has a computed overflow != visible, the offsetLeft is decreased - // by the parent's border. - // We don't want to compute the parent's style, so instead we examine node's - // computed left/top which is more stable. - var sl = parseFloat(s.left), st = parseFloat(s.top); - if(!isNaN(sl) && !isNaN(st)){ - l = sl, t = st; - }else{ - // If child's computed left/top are not parseable as a number (e.g. "auto"), we - // have no choice but to examine the parent's computed style. - var p = node.parentNode; - if(p && p.style){ - var pcs = gcs(p); - if(pcs.overflow != "visible"){ - var be = d._getBorderExtents(p, pcs); - l += be.l, t += be.t; - } - } - } - }else if(d.isOpera){ - // On Opera, offsetLeft includes the parent's border - var p = node.parentNode; - if(p){ - var be = d._getBorderExtents(p); - l -= be.l, t -= be.t; - } - } - return { - l: l, - t: t, - w: node.offsetWidth + me.w, - h: node.offsetHeight + me.h - }; - } - - dojo._getContentBox = function(node, computedStyle){ - // summary: - // Returns an object that encodes the width, height, left and top - // positions of the node's content box, irrespective of the - // current box model. - - // clientWidth/Height are important since the automatically account for scrollbars - // fallback to offsetWidth/Height for special cases (see #3378) - var s=computedStyle||gcs(node), pe=d._getPadExtents(node, s), be=d._getBorderExtents(node, s), w=node.clientWidth, h; - if(!w){ - w=node.offsetWidth, h=node.offsetHeight; - }else{ - h=node.clientHeight, be.w = be.h = 0; - } - // On Opera, offsetLeft includes the parent's border - if(d.isOpera){ pe.l += be.l; pe.t += be.t; }; - return { - l: pe.l, - t: pe.t, - w: w - pe.w - be.w, - h: h - pe.h - be.h - }; - } - - dojo._getBorderBox = function(node, computedStyle){ - var s=computedStyle||gcs(node), pe=d._getPadExtents(node, s), cb=d._getContentBox(node, s); - return { - l: cb.l - pe.l, - t: cb.t - pe.t, - w: cb.w + pe.w, - h: cb.h + pe.h - }; - } - - // Box setters depend on box context because interpretation of width/height styles - // vary wrt box context. - // - // The value of dojo.boxModel is used to determine box context. - // dojo.boxModel can be set directly to change behavior. - // - // Beware of display: inline objects that have padding styles - // because the user agent ignores padding (it's a bogus setup anyway) - // - // Be careful with IMGs because they are inline or block depending on - // browser and browser mode. - // - // Elements other than DIV may have special quirks, like built-in - // margins or padding, or values not detectable via computedStyle. - // In particular, margins on TABLE do not seems to appear - // at all in computedStyle on Mozilla. - - dojo._setBox = function(/*DomNode*/node, /*Number?*/l, /*Number?*/t, /*Number?*/w, /*Number?*/h, /*String?*/u){ - // summary: - // sets width/height/left/top in the current (native) box-model - // dimentions. Uses the unit passed in u. - // node: DOM Node reference. Id string not supported for performance reasons. - // l: optional. left offset from parent. - // t: optional. top offset from parent. - // w: optional. width in current box model. - // h: optional. width in current box model. - // u: optional. unit measure to use for other measures. Defaults to "px". - u = u || "px"; - var s = node.style; - if(!isNaN(l)){ s.left = l+u; } - if(!isNaN(t)){ s.top = t+u; } - if(w>=0){ s.width = w+u; } - if(h>=0){ s.height = h+u; } - } - - dojo._usesBorderBox = function(/*DomNode*/node){ - // summary: - // True if the node uses border-box layout. - - // We could test the computed style of node to see if a particular box - // has been specified, but there are details and we choose not to bother. - var n = node.tagName; - // For whatever reason, TABLE and BUTTON are always border-box by default. - // If you have assigned a different box to either one via CSS then - // box functions will break. - return d.boxModel=="border-box" || n=="TABLE" || n=="BUTTON"; // boolean - } - - dojo._setContentSize = function(/*DomNode*/node, /*Number*/widthPx, /*Number*/heightPx, /*Object*/computedStyle){ - // summary: - // Sets the size of the node's contents, irrespective of margins, - // padding, or borders. - if(d._usesBorderBox(node)){ - var pb = d._getPadBorderExtents(node, computedStyle); - if(widthPx >= 0){ widthPx += pb.w; } - if(heightPx >= 0){ heightPx += pb.h; } - } - d._setBox(node, NaN, NaN, widthPx, heightPx); - } - - dojo._setMarginBox = function(/*DomNode*/node, /*Number?*/leftPx, /*Number?*/topPx, - /*Number?*/widthPx, /*Number?*/heightPx, - /*Object*/computedStyle){ - // summary: - // sets the size of the node's margin box and placement - // (left/top), irrespective of box model. Think of it as a - // passthrough to dojo._setBox that handles box-model vagaries for - // you. - - var s = computedStyle||gcs(node); - // Some elements have special padding, margin, and box-model settings. - // To use box functions you may need to set padding, margin explicitly. - // Controlling box-model is harder, in a pinch you might set dojo.boxModel. - var bb=d._usesBorderBox(node), - pb=bb ? _nilExtents : d._getPadBorderExtents(node, s), - mb=d._getMarginExtents(node, s); - if(widthPx>=0){ widthPx = Math.max(widthPx - pb.w - mb.w, 0); } - if(heightPx>=0){ heightPx = Math.max(heightPx - pb.h - mb.h, 0); } - d._setBox(node, leftPx, topPx, widthPx, heightPx); - } - - var _nilExtents = { l:0, t:0, w:0, h:0 }; - - // public API - - dojo.marginBox = function(/*DomNode|String*/node, /*Object?*/box){ - // summary: - // Getter/setter for the margin-box of node. - // description: - // Returns an object in the expected format of box (regardless - // if box is passed). The object might look like: - // `{ l: 50, t: 200, w: 300: h: 150 }` - // for a node offset from its parent 50px to the left, 200px from - // the top with a margin width of 300px and a margin-height of - // 150px. - // node: - // id or reference to DOM Node to get/set box for - // box: - // If passed, denotes that dojo.marginBox() should - // update/set the margin box for node. Box is an object in the - // above format. All properties are optional if passed. - var n=d.byId(node), s=gcs(n), b=box; - return !b ? d._getMarginBox(n, s) : d._setMarginBox(n, b.l, b.t, b.w, b.h, s); // Object - } - - dojo.contentBox = function(/*DomNode|String*/node, /*Object?*/box){ - // summary: - // Getter/setter for the content-box of node. - // description: - // Returns an object in the expected format of box (regardless if box is passed). - // The object might look like: - // `{ l: 50, t: 200, w: 300: h: 150 }` - // for a node offset from its parent 50px to the left, 200px from - // the top with a content width of 300px and a content-height of - // 150px. Note that the content box may have a much larger border - // or margin box, depending on the box model currently in use and - // CSS values set/inherited for node. - // node: - // id or reference to DOM Node to get/set box for - // box: - // If passed, denotes that dojo.contentBox() should - // update/set the content box for node. Box is an object in the - // above format. All properties are optional if passed. - var n=dojo.byId(node), s=gcs(n), b=box; - return !b ? d._getContentBox(n, s) : d._setContentSize(n, b.w, b.h, s); // Object - } - - // ============================= - // Positioning - // ============================= - - var _sumAncestorProperties = function(node, prop){ - if(!(node = (node||0).parentNode)){return 0}; - var val, retVal = 0, _b = d.body(); - while(node && node.style){ - if(gcs(node).position == "fixed"){ - return 0; - } - val = node[prop]; - if(val){ - retVal += val - 0; - // opera and khtml #body & #html has the same values, we only - // need one value - if(node == _b){ break; } - } - node = node.parentNode; - } - return retVal; // integer - } - - dojo._docScroll = function(){ - var - _b = d.body(), - _w = d.global, - de = d.doc.documentElement; - return { - y: (_w.pageYOffset || de.scrollTop || _b.scrollTop || 0), - x: (_w.pageXOffset || d._fixIeBiDiScrollLeft(de.scrollLeft) || _b.scrollLeft || 0) - }; - }; - - dojo._isBodyLtr = function(){ - //FIXME: could check html and body tags directly instead of computed style? need to ignore case, accept empty values - return !("_bodyLtr" in d) ? - d._bodyLtr = gcs(d.body()).direction == "ltr" : - d._bodyLtr; // Boolean - } - - dojo._getIeDocumentElementOffset = function(){ - // summary - // The following values in IE contain an offset: - // event.clientX - // event.clientY - // node.getBoundingClientRect().left - // node.getBoundingClientRect().top - // But other position related values do not contain this offset, such as - // node.offsetLeft, node.offsetTop, node.style.left and node.style.top. - // The offset is always (2, 2) in LTR direction. When the body is in RTL - // direction, the offset counts the width of left scroll bar's width. - // This function computes the actual offset. - - //NOTE: assumes we're being called in an IE browser - - var de = d.doc.documentElement; - //FIXME: use this instead? var de = d.compatMode == "BackCompat" ? d.body : d.documentElement; - - return (d.isIE >= 7) ? - {x: de.getBoundingClientRect().left, y: de.getBoundingClientRect().top} - : - // IE 6.0 - {x: d._isBodyLtr() || window.parent == window ? - de.clientLeft : de.offsetWidth - de.clientWidth - de.clientLeft, - y: de.clientTop}; // Object - }; - - dojo._fixIeBiDiScrollLeft = function(/*Integer*/ scrollLeft){ - // In RTL direction, scrollLeft should be a negative value, but IE - // returns a positive one. All codes using documentElement.scrollLeft - // must call this function to fix this error, otherwise the position - // will offset to right when there is a horizontal scrollbar. - var dd = d.doc; - if(d.isIE && !dojo._isBodyLtr()){ - var de = dd.compatMode == "BackCompat" ? dd.body : dd.documentElement; - return scrollLeft + de.clientWidth - de.scrollWidth; // Integer - } - return scrollLeft; // Integer - } - - dojo._abs = function(/*DomNode*/node, /*Boolean?*/includeScroll){ - // summary: - // Gets the position of the passed element relative to - // the viewport (if includeScroll==false), or relative to the - // document root (if includeScroll==true). - // - // Returns an object of the form: - // { x: 100, y: 300 } - // if includeScroll is passed, the x and y values will include any - // document offsets that may affect the position relative to the - // viewport. - - // FIXME: need to decide in the brave-new-world if we're going to be - // margin-box or border-box. - var ownerDocument = node.ownerDocument; - var ret = { - x: 0, - y: 0 - }; - - // targetBoxType == "border-box" - var db = d.body(); - if(d.isIE || (d.isFF >= 3)){ - var client = node.getBoundingClientRect(); - var offset = (d.isIE) ? d._getIeDocumentElementOffset() : { x: 0, y: 0}; - ret.x = client.left - offset.x; - ret.y = client.top - offset.y; - }else if(ownerDocument["getBoxObjectFor"]){ - // mozilla - var bo = ownerDocument.getBoxObjectFor(node), - b = d._getBorderExtents(node); - ret.x = bo.x - b.l - _sumAncestorProperties(node, "scrollLeft"); - ret.y = bo.y - b.t - _sumAncestorProperties(node, "scrollTop"); - }else{ - if(node["offsetParent"]){ - var endNode; - // in Safari, if the node is an absolutely positioned child of - // the body and the body has a margin the offset of the child - // and the body contain the body's margins, so we need to end - // at the body - // FIXME: getting contrary results to the above in latest WebKit. - if(d.isSafari && - //(node.style.getPropertyValue("position") == "absolute") && - (gcs(node).position == "absolute") && - (node.parentNode == db)){ - endNode = db; - }else{ - endNode = db.parentNode; - } - if(node.parentNode != db){ - var nd = node; - if(d.isOpera){ nd = db; } - ret.x -= _sumAncestorProperties(nd, "scrollLeft"); - ret.y -= _sumAncestorProperties(nd, "scrollTop"); - } - var curnode = node; - do{ - var n = curnode.offsetLeft; - //FIXME: ugly hack to workaround the submenu in - //popupmenu2 does not shown up correctly in opera. - //Someone have a better workaround? - if(!d.isOpera || n > 0){ - ret.x += isNaN(n) ? 0 : n; - } - var t = curnode.offsetTop; - ret.y += isNaN(t) ? 0 : t; - if(d.isSafari && curnode != node){ - var cs = gcs(curnode); - ret.x += px(curnode, cs.borderLeftWidth); - ret.y += px(curnode, cs.borderTopWidth); - } - curnode = curnode.offsetParent; - }while((curnode != endNode) && curnode); - }else if(node.x && node.y){ - ret.x += isNaN(node.x) ? 0 : node.x; - ret.y += isNaN(node.y) ? 0 : node.y; - } - } - // account for document scrolling - // if offsetParent is used, ret value already includes scroll position - // so we may have to actually remove that value if !includeScroll - if(includeScroll){ - var scroll = d._docScroll(); - ret.y += scroll.y; - ret.x += scroll.x; - } - - return ret; // object - } - - // FIXME: need a setter for coords or a moveTo!! - dojo.coords = function(/*DomNode|String*/node, /*Boolean?*/includeScroll){ - // summary: - // Returns an object that measures margin box width/height and - // absolute positioning data from dojo._abs(). - // - // description: - // Returns an object that measures margin box width/height and - // absolute positioning data from dojo._abs(). - // Return value will be in the form: - // `{ l: 50, t: 200, w: 300: h: 150, x: 100, y: 300 }` - // Does not act as a setter. If includeScroll is passed, the x and - // y params are affected as one would expect in dojo._abs(). - var n=d.byId(node), s=gcs(n), mb=d._getMarginBox(n, s); - var abs = d._abs(n, includeScroll); - mb.x = abs.x; - mb.y = abs.y; - return mb; - } - - // ============================= - // Element attribute Functions - // ============================= - - var _fixAttrName = function(/*String*/name){ - switch(name.toLowerCase()){ - case "tabindex": - // Internet Explorer will only set or remove tabindex - // if it is spelled "tabIndex" - // console.debug((dojo.isIE && dojo.isIE < 8)? "tabIndex" : "tabindex"); - return (d.isIE && d.isIE < 8) ? "tabIndex" : "tabindex"; - default: - return name; - } - } - - // non-deprecated HTML4 attributes with default values - // http://www.w3.org/TR/html401/index/attributes.html - // FF and Safari will return the default values if you - // access the attributes via a property but not - // via getAttribute() - var _attrProps = { - colspan: "colSpan", - enctype: "enctype", - frameborder: "frameborder", - method: "method", - rowspan: "rowSpan", - scrolling: "scrolling", - shape: "shape", - span: "span", - type: "type", - valuetype: "valueType" - } - - dojo.hasAttr = function(/*DomNode|String*/node, /*String*/name){ - // summary: - // Returns true if the requested attribute is specified on the - // given element, and false otherwise. - // node: - // id or reference to the element to check - // name: - // the name of the attribute - // returns: - // true if the requested attribute is specified on the - // given element, and false otherwise - var attr = d.byId(node).getAttributeNode(_fixAttrName(name)); - return attr ? attr.specified : false; // Boolean - } - - var _evtHdlrMap = { - - } - - var _ctr = 0; - var _attrId = dojo._scopeName + "attrid"; - - dojo.attr = function(/*DomNode|String*/node, /*String|Object*/name, /*String?*/value){ - // summary: - // Gets or sets an attribute on an HTML element. - // description: - // Handles normalized getting and setting of attributes on DOM - // Nodes. If 2 arguments are passed, and a the second argumnt is a - // string, acts as a getter. - // - // If a third argument is passed, or if the second argumnt is a - // map of attributes, acts as a setter. - // - // When passing functions as values, note that they will not be - // directly assigned to slots on the node, but rather the default - // behavior will be removed and the new behavior will be added - // using `dojo.connect()`, meaning that event handler properties - // will be normalized and that some caveats with regards to - // non-standard behaviors for onsubmit apply. Namely that you - // should cancel form submission using `dojo.stopEvent()` on the - // passed event object instead of returning a boolean value from - // the handler itself. - // node: - // id or reference to the element to get or set the attribute on - // name: - // the name of the attribute to get or set. - // value: - // The value to set for the attribute - // returns: - // when used as a getter, the value of the requested attribute - // or null if that attribute does not have a specified or - // default value; - // - // when user as a setter, undefined - // example: - // | // get the current value of the "foo" attribute on a node - // | dojo.attr(dojo.byId("nodeId"), "foo"); - // | - // | // we can just pass the id: - // | dojo.attr("nodeId", "foo"); - // | - // | // use attr() to set the tab index - // | dojo.attr("nodeId", "tabindex", 3); - // | - // | // set multiple values at once, including event handlers: - // | dojo.attr("formId", { - // | "foo": "bar", - // | "tabindex": -1, - // | "method": "POST", - // | "onsubmit": function(e){ - // | // stop submitting the form. Note that the IE behavior - // | // of returning true or false will have no effect here - // | // since our handler is connect()ed to the built-in - // | // onsubmit behavior and so we need to use - // | // dojo.stopEvent() to ensure that the submission - // | // doesn't proceed. - // | dojo.stopEvent(e); - // | - // | // submit the form with Ajax - // | dojo.xhrPost({ form: "formId" }); - // | } - // | }); - - var args = arguments.length; - if(args == 2 && !d.isString(name)){ - for(var x in name){ d.attr(node, x, name[x]); } - return; - } - node = d.byId(node); - name = _fixAttrName(name); - if(args == 3){ - if(d.isFunction(value)){ - // clobber if we can - var attrId = d.attr(node, _attrId); - if(!attrId){ - attrId = _ctr++; - d.attr(node, _attrId, attrId); - } - if(!_evtHdlrMap[attrId]){ - _evtHdlrMap[attrId] = {}; - } - var h = _evtHdlrMap[attrId][name]; - if(h){ - d.disconnect(h); - }else{ - try{ - delete node[name]; - }catch(e){} - } - - // ensure that event objects are normalized, etc. - _evtHdlrMap[attrId][name] = d.connect(node, name, value); - - }else if(typeof value == "boolean"){ // e.g. onsubmit, disabled - // if a function, we should normalize the event object here!!! - node[name] = value; - }else{ - node.setAttribute(name, value); - } - return; - }else{ - // should we access this attribute via a property or - // via getAttribute()? - var prop = _attrProps[name.toLowerCase()]; - if(prop){ - return node[prop]; - }else{ - var value = node[name]; - return (typeof value == 'boolean' || typeof value == 'function') ? value : (d.hasAttr(node, name) ? node.getAttribute(name) : null); - } - } - } - - dojo.removeAttr = function(/*DomNode|String*/node, /*String*/name){ - // summary: - // Removes an attribute from an HTML element. - // node: - // id or reference to the element to remove the attribute from - // name: - // the name of the attribute to remove - d.byId(node).removeAttribute(_fixAttrName(name)); - } -})(); - -// ============================= -// (CSS) Class Functions -// ============================= - -dojo.hasClass = function(/*DomNode|String*/node, /*String*/classStr){ - // summary: - // Returns whether or not the specified classes are a portion of the - // class list currently applied to the node. - return ((" "+dojo.byId(node).className+" ").indexOf(" "+classStr+" ") >= 0); // Boolean -}; - -dojo.addClass = function(/*DomNode|String*/node, /*String*/classStr){ - // summary: - // Adds the specified classes to the end of the class list on the - // passed node. - node = dojo.byId(node); - var cls = node.className; - if((" "+cls+" ").indexOf(" "+classStr+" ") < 0){ - node.className = cls + (cls ? ' ' : '') + classStr; - } -}; - -dojo.removeClass = function(/*DomNode|String*/node, /*String*/classStr){ - // summary: Removes the specified classes from node. - node = dojo.byId(node); - var t = dojo.trim((" " + node.className + " ").replace(" " + classStr + " ", " ")); - if(node.className != t){ node.className = t; } -}; - -dojo.toggleClass = function(/*DomNode|String*/node, /*String*/classStr, /*Boolean?*/condition){ - // summary: - // Adds a class to node if not present, or removes if present. - // Pass a boolean condition if you want to explicitly add or remove. - // condition: - // If passed, true means to add the class, false means to remove. - if(condition === undefined){ - condition = !dojo.hasClass(node, classStr); - } - dojo[condition ? "addClass" : "removeClass"](node, classStr); -}; - -} - -if(!dojo._hasResource["dojo._base.NodeList"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.NodeList"] = true; -dojo.provide("dojo._base.NodeList"); - - - -(function(){ - - var d = dojo; - - var tnl = function(arr){ - // decorate an array to make it look like a NodeList - arr.constructor = dojo.NodeList; - dojo._mixin(arr, dojo.NodeList.prototype); - return arr; - } - - var _mapIntoDojo = function(func, alwaysThis){ - // returns a function which, when executed in the scope of its caller, - // applies the passed arguments to a particular dojo.* function (named - // in func) and aggregates the returns. if alwaysThis is true, it - // always returns the scope object and not the collected returns from - // the Dojo method - return function(){ - var _a = arguments; - var aa = d._toArray(_a, 0, [null]); - var s = this.map(function(i){ - aa[0] = i; - return d[func].apply(d, aa); - }); - return (alwaysThis || ( (_a.length > 1) || !d.isString(_a[0]) )) ? this : s; // String||dojo.NodeList - } - }; - - dojo.NodeList = function(){ - // summary: - // dojo.NodeList is as subclass of Array which adds syntactic - // sugar for chaining, common iteration operations, animation, - // and node manipulation. NodeLists are most often returned as - // the result of dojo.query() calls. - // example: - // create a node list from a node - // | new dojo.NodeList(dojo.byId("foo")); - - return tnl(Array.apply(null, arguments)); - } - - dojo.NodeList._wrap = tnl; - - dojo.extend(dojo.NodeList, { - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array#Methods - - // FIXME: handle return values for #3244 - // http://trac.dojotoolkit.org/ticket/3244 - - // FIXME: - // need to wrap or implement: - // join (perhaps w/ innerHTML/outerHTML overload for toString() of items?) - // reduce - // reduceRight - - slice: function(/*===== begin, end =====*/){ - // summary: - // Returns a new NodeList, maintaining this one in place - // description: - // This method behaves exactly like the Array.slice method - // with the caveat that it returns a dojo.NodeList and not a - // raw Array. For more details, see: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:slice - // begin: Integer - // Can be a positive or negative integer, with positive - // integers noting the offset to begin at, and negative - // integers denoting an offset from the end (i.e., to the left - // of the end) - // end: Integer? - // Optional parameter to describe what position relative to - // the NodeList's zero index to end the slice at. Like begin, - // can be positive or negative. - var a = dojo._toArray(arguments); - return tnl(a.slice.apply(this, a)); - }, - - splice: function(/*===== index, howmany, item =====*/){ - // summary: - // Returns a new NodeList, manipulating this NodeList based on - // the arguments passed, potentially splicing in new elements - // at an offset, optionally deleting elements - // description: - // This method behaves exactly like the Array.splice method - // with the caveat that it returns a dojo.NodeList and not a - // raw Array. For more details, see: - // - // index: Integer - // begin can be a positive or negative integer, with positive - // integers noting the offset to begin at, and negative - // integers denoting an offset from the end (i.e., to the left - // of the end) - // howmany: Integer? - // Optional parameter to describe what position relative to - // the NodeList's zero index to end the slice at. Like begin, - // can be positive or negative. - // item: Object...? - // Any number of optional parameters may be passed in to be - // spliced into the NodeList - // returns: - // dojo.NodeList - var a = dojo._toArray(arguments); - return tnl(a.splice.apply(this, a)); - }, - - concat: function(/*===== item =====*/){ - // summary: - // Returns a new NodeList comprised of items in this NodeList - // as well as items passed in as parameters - // description: - // This method behaves exactly like the Array.concat method - // with the caveat that it returns a dojo.NodeList and not a - // raw Array. For more details, see: - // - // item: Object...? - // Any number of optional parameters may be passed in to be - // spliced into the NodeList - // returns: - // dojo.NodeList - var a = dojo._toArray(arguments, 0, [this]); - return tnl(a.concat.apply([], a)); - }, - - indexOf: function(/*Object*/ value, /*Integer?*/ fromIndex){ - // summary: - // see dojo.indexOf(). The primary difference is that the acted-on - // array is implicitly this NodeList - // value: - // The value to search for. - // fromIndex: - // The loction to start searching from. Optional. Defaults to 0. - // description: - // For more details on the behavior of indexOf, see: - // - // returns: - // Positive Integer or 0 for a match, -1 of not found. - return d.indexOf(this, value, fromIndex); // Integer - }, - - lastIndexOf: function(/*===== value, fromIndex =====*/){ - // summary: - // see dojo.lastIndexOf(). The primary difference is that the - // acted-on array is implicitly this NodeList - // description: - // For more details on the behavior of lastIndexOf, see: - // - // value: Object - // The value to search for. - // fromIndex: Integer? - // The loction to start searching from. Optional. Defaults to 0. - // returns: - // Positive Integer or 0 for a match, -1 of not found. - return d.lastIndexOf.apply(d, d._toArray(arguments, 0, [this])); // Integer - }, - - every: function(/*Function*/callback, /*Object?*/thisObject){ - // summary: - // see `dojo.every()` and: - // - // Takes the same structure of arguments and returns as - // dojo.every() with the caveat that the passed array is - // implicitly this NodeList - return d.every(this, callback, thisObject); // Boolean - }, - - some: function(/*Function*/callback, /*Object?*/thisObject){ - // summary: - // see dojo.some() and: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:some - // Takes the same structure of arguments and returns as - // dojo.some() with the caveat that the passed array is - // implicitly this NodeList - return d.some(this, callback, thisObject); // Boolean - }, - - map: function(/*Function*/ func, /*Function?*/ obj){ - // summary: - // see dojo.map(). The primary difference is that the acted-on - // array is implicitly this NodeList and the return is a - // dojo.NodeList (a subclass of Array) - - return d.map(this, func, obj, d.NodeList); // dojo.NodeList - }, - - forEach: function(callback, thisObj){ - // summary: - // see dojo.forEach(). The primary difference is that the acted-on - // array is implicitly this NodeList - - d.forEach(this, callback, thisObj); - // non-standard return to allow easier chaining - return this; // dojo.NodeList - }, - - // custom methods - - coords: function(){ - // summary: - // Returns the box objects all elements in a node list as - // an Array (*not* a NodeList) - - return d.map(this, d.coords); // Array - }, - - /*===== - attr: function(property, value){ - // summary: - // gets or sets the DOM attribute for every element in the - // NodeList - // property: String - // the attribute to get/set - // value: String? - // optional. The value to set the property to - // return: - // if no value is passed, the result is an array of attribute values - // If a value is passed, the return is this NodeList - }, - - style: function(property, value){ - // summary: - // gets or sets the CSS property for every element in the NodeList - // property: String - // the CSS property to get/set, in JavaScript notation - // ("lineHieght" instead of "line-height") - // value: String? - // optional. The value to set the property to - // return: - // if no value is passed, the result is an array of strings. - // If a value is passed, the return is this NodeList - }, - - addClass: function(className){ - // summary: - // adds the specified class to every node in the list - // className: String - // the CSS class to add - // return: - // dojo.NodeList, this list - }, - - removeClass: function(className){ - // summary: - // removes the specified class from every node in the list - // className: String - // the CSS class to add - // return: - // dojo.NodeList, this list - }, - - toggleClass: function(className, condition){ - // summary: - // Adds a class to node if not present, or removes if present. - // Pass a boolean condition if you want to explicitly add or remove. - // condition: Boolean? - // If passed, true means to add the class, false means to remove. - // className: String - // the CSS class to add - // return: dojo.NodeList - // this list - }, - - connect: function(methodName, objOrFunc, funcName){ - // summary: - // attach event handlers to every item of the NodeList. Uses dojo.connect() - // so event properties are normalized - // methodName: String - // the name of the method to attach to. For DOM events, this should be - // the lower-case name of the event - // objOrFunc: Object|Function|String - // if 2 arguments are passed (methodName, objOrFunc), objOrFunc should - // reference a function or be the name of the function in the global - // namespace to attach. If 3 arguments are provided - // (methodName, objOrFunc, funcName), objOrFunc must be the scope to - // locate the bound function in - // funcName: String? - // optional. A string naming the function in objOrFunc to bind to the - // event. May also be a function reference. - // example: - // add an onclick handler to every button on the page - // | dojo.query("div:nth-child(odd)").connect("onclick", function(e){ - // | console.debug("clicked!"); - // | }); - // example: - // attach foo.bar() to every odd div's onmouseover - // | dojo.query("div:nth-child(odd)").connect("onmouseover", foo, "bar"); - }, - =====*/ - attr: _mapIntoDojo("attr"), - style: _mapIntoDojo("style"), - addClass: _mapIntoDojo("addClass", true), - removeClass: _mapIntoDojo("removeClass", true), - toggleClass: _mapIntoDojo("toggleClass", true), - connect: _mapIntoDojo("connect", true), - - // FIXME: connectPublisher()? connectRunOnce()? - - place: function(/*String||Node*/ queryOrNode, /*String*/ position){ - // summary: - // places elements of this node list relative to the first element matched - // by queryOrNode. Returns the original NodeList. - // queryOrNode: - // may be a string representing any valid CSS3 selector or a DOM node. - // In the selector case, only the first matching element will be used - // for relative positioning. - // position: - // can be one of: - // * "last"||"end" (default) - // * "first||"start" - // * "before" - // * "after" - // or an offset in the childNodes property - var item = d.query(queryOrNode)[0]; - return this.forEach(function(i){ d.place(i, item, (position||"last")); }); // dojo.NodeList - }, - - orphan: function(/*String?*/ simpleFilter){ - // summary: - // removes elements in this list that match the simple - // filter from their parents and returns them as a new - // NodeList. - // simpleFilter: - // single-expression CSS filter - // return: - // `dojo.NodeList` the orpahned elements - var orphans = simpleFilter ? d._filterQueryResult(this, simpleFilter) : this; - orphans.forEach(function(item){ - if(item.parentNode){ - item.parentNode.removeChild(item); - } - }); - return orphans; // dojo.NodeList - }, - - adopt: function(/*String||Array||DomNode*/ queryOrListOrNode, /*String?*/ position){ - // summary: - // places any/all elements in queryOrListOrNode at a - // position relative to the first element in this list. - // Returns a dojo.NodeList of the adopted elements. - // queryOrListOrNode: - // a DOM node or a query string or a query result. - // Represents the nodes to be adopted relative to the - // first element of this NodeList. - // position: - // can be one of: - // * "last"||"end" (default) - // * "first||"start" - // * "before" - // * "after" - // or an offset in the childNodes property - var item = this[0]; - return d.query(queryOrListOrNode).forEach(function(ai){ d.place(ai, item, position || "last"); }); // dojo.NodeList - }, - - // FIXME: do we need this? - query: function(/*String*/ queryStr){ - // summary: - // Returns a new, flattened NodeList. Elements of the new list - // satisfy the passed query but use elements of the - // current NodeList as query roots. - - if(!queryStr){ return this; } - - // FIXME: probably slow - // FIXME: use map? - var ret = d.NodeList(); - this.forEach(function(item){ - d.query(queryStr, item).forEach(function(subItem){ - if(subItem !== undefined){ - ret.push(subItem); - } - }); - }); - return ret; // dojo.NodeList - }, - - filter: function(/*String*/ simpleQuery){ - // summary: - // "masks" the built-in javascript filter() method to support - // passing a simple string filter in addition to supporting - // filtering function objects. - // example: - // "regular" JS filter syntax as exposed in dojo.filter: - // | dojo.query("*").filter(function(item){ - // | // highlight every paragraph - // | return (item.nodeName == "p"); - // | }).styles("backgroundColor", "yellow"); - // example: - // the same filtering using a CSS selector - // | dojo.query("*").filter("p").styles("backgroundColor", "yellow"); - - var items = this; - var _a = arguments; - var r = d.NodeList(); - var rp = function(t){ - if(t !== undefined){ - r.push(t); - } - } - if(d.isString(simpleQuery)){ - items = d._filterQueryResult(this, _a[0]); - if(_a.length == 1){ - // if we only got a string query, pass back the filtered results - return items; // dojo.NodeList - } - // if we got a callback, run it over the filtered items - _a.shift(); - } - // handle the (callback, [thisObject]) case - d.forEach(d.filter(items, _a[0], _a[1]), rp); - return r; // dojo.NodeList - }, - - /* - // FIXME: should this be "copyTo" and include parenting info? - clone: function(){ - // summary: - // creates node clones of each element of this list - // and returns a new list containing the clones - }, - */ - - addContent: function(/*String*/ content, /*String||Integer?*/ position){ - // summary: - // add a node or some HTML as a string to every item in the list. - // Returns the original list. - // description: - // a copy of the HTML content is added to each item in the - // list, with an optional position argument. If no position - // argument is provided, the content is appended to the end of - // each item. - // content: - // the HTML in string format to add at position to every item - // position: - // can be one of: - // * "last"||"end" (default) - // * "first||"start" - // * "before" - // * "after" - // or an offset in the childNodes property - // example: - // appends content to the end if the position is ommitted - // | dojo.query("h3 > p").addContent("hey there!"); - // example: - // add something to the front of each element that has a "thinger" property: - // | dojo.query("[thinger]").addContent("...", "first"); - // example: - // adds a header before each element of the list - // | dojo.query(".note").addContent("

          NOTE:

          ", "before"); - var ta = d.doc.createElement("span"); - if(d.isString(content)){ - ta.innerHTML = content; - }else{ - ta.appendChild(content); - } - if(position === undefined){ - position = "last"; - } - var ct = (position == "first" || position == "after") ? "lastChild" : "firstChild"; - this.forEach(function(item){ - var tn = ta.cloneNode(true); - while(tn[ct]){ - d.place(tn[ct], item, position); - } - }); - return this; // dojo.NodeList - }, - - empty: function(){ - // summary: - // clears all content from each node in the list - return this.forEach("item.innerHTML='';"); // dojo.NodeList - - // FIXME: should we be checking for and/or disposing of widgets below these nodes? - }, - - instantiate: function(/*String|Object*/ declaredClass, /*Object?*/ properties){ - // summary: - // Create a new instance of a specified class, using the - // specified properties and each node in the nodeList as a - // srcNodeRef - // - var c = d.isFunction(declaredClass) ? declaredClass : d.getObject(declaredClass); - return this.forEach(function(i){ - new c(properties||{},i); - }) // dojo.NodeList - } - - }); - - // syntactic sugar for DOM events - d.forEach([ - "blur", "focus", "click", "keydown", "keypress", "keyup", "mousedown", - "mouseenter", "mouseleave", "mousemove", "mouseout", "mouseover", - "mouseup" - ], function(evt){ - var _oe = "on"+evt; - dojo.NodeList.prototype[_oe] = function(a, b){ - return this.connect(_oe, a, b); - } - // FIXME: should these events trigger publishes? - /* - return (a ? this.connect(_oe, a, b) : - this.forEach(function(n){ - // FIXME: - // listeners get buried by - // addEventListener and can't be dug back - // out to be triggered externally. - // see: - // http://developer.mozilla.org/en/docs/DOM:element - - console.debug(n, evt, _oe); - - // FIXME: need synthetic event support! - var _e = { target: n, faux: true, type: evt }; - // dojo._event_listener._synthesizeEvent({}, { target: n, faux: true, type: evt }); - try{ n[evt](_e); }catch(e){ console.debug(e); } - try{ n[_oe](_e); }catch(e){ console.debug(e); } - }) - ); - } - */ - } - ); - -})(); - -} - -if(!dojo._hasResource["dojo._base.query"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.query"] = true; -dojo.provide("dojo._base.query"); - - -/* - dojo.query() architectural overview: - - dojo.query is a relatively full-featured CSS3 query library. It is - designed to take any valid CSS3 selector and return the nodes matching - the selector. To do this quickly, it processes queries in several - steps, applying caching where profitable. - - The steps (roughly in reverse order of the way they appear in the code): - 1.) check to see if we already have a "query dispatcher" - - if so, use that with the given parameterization. Skip to step 4. - 2.) attempt to determine which branch to dispatch the query to: - - JS (optimized DOM iteration) - - xpath (for browsers that support it and where it's fast) - - native (not available in any browser yet) - 3.) tokenize and convert to executable "query dispatcher" - - this is where the lion's share of the complexity in the - system lies. In the DOM version, the query dispatcher is - assembled as a chain of "yes/no" test functions pertaining to - a section of a simple query statement (".blah:nth-child(odd)" - but not "div div", which is 2 simple statements). Individual - statement dispatchers are cached (to prevent re-definition) - as are entire dispatch chains (to make re-execution of the - same query fast) - - in the xpath path, tokenization yeilds a concatenation of - parameterized xpath selectors. As with the DOM version, both - simple selector blocks and overall evaluators are cached to - prevent re-defintion - 4.) the resulting query dispatcher is called in the passed scope (by default the top-level document) - - for DOM queries, this results in a recursive, top-down - evaluation of nodes based on each simple query section - - xpath queries can, thankfully, be executed in one shot - 5.) matched nodes are pruned to ensure they are unique -*/ - -;(function(){ - // define everything in a closure for compressability reasons. "d" is an - // alias to "dojo" since it's so frequently used. This seems a - // transformation that the build system could perform on a per-file basis. - - //////////////////////////////////////////////////////////////////////// - // Utility code - //////////////////////////////////////////////////////////////////////// - - var d = dojo; - var childNodesName = dojo.isIE ? "children" : "childNodes"; - var caseSensitive = false; - - var getQueryParts = function(query){ - // summary: state machine for query tokenization - if(">~+".indexOf(query.charAt(query.length-1)) >= 0){ - query += " *" - } - query += " "; // ensure that we terminate the state machine - - var ts = function(s, e){ - return d.trim(query.slice(s, e)); - } - - // the overall data graph of the full query, as represented by queryPart objects - var qparts = []; - // state keeping vars - var inBrackets = -1; - var inParens = -1; - var inMatchFor = -1; - var inPseudo = -1; - var inClass = -1; - var inId = -1; - var inTag = -1; - var lc = ""; // the last character - var cc = ""; // the current character - var pStart; - // iteration vars - var x = 0; // index in the query - var ql = query.length; - var currentPart = null; // data structure representing the entire clause - var _cp = null; // the current pseudo or attr matcher - - var endTag = function(){ - if(inTag >= 0){ - var tv = (inTag == x) ? null : ts(inTag, x).toLowerCase(); - currentPart[ (">~+".indexOf(tv) < 0) ? "tag" : "oper" ] = tv; - inTag = -1; - } - } - - var endId = function(){ - if(inId >= 0){ - currentPart.id = ts(inId, x).replace(/\\/g, ""); - inId = -1; - } - } - - var endClass = function(){ - if(inClass >= 0){ - currentPart.classes.push(ts(inClass+1, x).replace(/\\/g, "")); - inClass = -1; - } - } - - var endAll = function(){ - endId(); endTag(); endClass(); - } - - for(; lc=cc, cc=query.charAt(x),x= 0){ - // look for a the close first - if(cc == "]"){ - if(!_cp.attr){ - _cp.attr = ts(inBrackets+1, x); - }else{ - _cp.matchFor = ts((inMatchFor||inBrackets+1), x); - } - var cmf = _cp.matchFor; - if(cmf){ - if( (cmf.charAt(0) == '"') || (cmf.charAt(0) == "'") ){ - _cp.matchFor = cmf.substring(1, cmf.length-1); - } - } - currentPart.attrs.push(_cp); - _cp = null; // necessaray? - inBrackets = inMatchFor = -1; - }else if(cc == "="){ - var addToCc = ("|~^$*".indexOf(lc) >=0 ) ? lc : ""; - _cp.type = addToCc+cc; - _cp.attr = ts(inBrackets+1, x-addToCc.length); - inMatchFor = x+1; - } - // now look for other clause parts - }else if(inParens >= 0){ - if(cc == ")"){ - if(inPseudo >= 0){ - _cp.value = ts(inParens+1, x); - } - inPseudo = inParens = -1; - } - }else if(cc == "#"){ - endAll(); - inId = x+1; - }else if(cc == "."){ - endAll(); - inClass = x; - }else if(cc == ":"){ - endAll(); - inPseudo = x; - }else if(cc == "["){ - endAll(); - inBrackets = x; - _cp = { - /*===== - attr: null, type: null, matchFor: null - =====*/ - }; - }else if(cc == "("){ - if(inPseudo >= 0){ - _cp = { - name: ts(inPseudo+1, x), - value: null - } - currentPart.pseudos.push(_cp); - } - inParens = x; - }else if(cc == " " && lc != cc){ - // note that we expect the string to be " " terminated - endAll(); - if(inPseudo >= 0){ - currentPart.pseudos.push({ name: ts(inPseudo+1, x) }); - } - currentPart.hasLoops = ( - currentPart.pseudos.length || - currentPart.attrs.length || - currentPart.classes.length ); - currentPart.query = ts(pStart, x); - currentPart.tag = (currentPart["oper"]) ? null : (currentPart.tag || "*"); - qparts.push(currentPart); - currentPart = null; - } - } - return qparts; - }; - - - //////////////////////////////////////////////////////////////////////// - // XPath query code - //////////////////////////////////////////////////////////////////////// - - // this array is a lookup used to generate an attribute matching function. - // There is a similar lookup/generator list for the DOM branch with similar - // calling semantics. - var xPathAttrs = { - "*=": function(attr, value){ - return "[contains(@"+attr+", '"+ value +"')]"; - }, - "^=": function(attr, value){ - return "[starts-with(@"+attr+", '"+ value +"')]"; - }, - "$=": function(attr, value){ - return "[substring(@"+attr+", string-length(@"+attr+")-"+(value.length-1)+")='"+value+"']"; - }, - "~=": function(attr, value){ - return "[contains(concat(' ',@"+attr+",' '), ' "+ value +" ')]"; - }, - "|=": function(attr, value){ - return "[contains(concat(' ',@"+attr+",' '), ' "+ value +"-')]"; - }, - "=": function(attr, value){ - return "[@"+attr+"='"+ value +"']"; - } - }; - - // takes a list of attribute searches, the overall query, a function to - // generate a default matcher, and a closure-bound method for providing a - // matching function that generates whatever type of yes/no distinguisher - // the query method needs. The method is a bit tortured and hard to read - // because it needs to be used in both the XPath and DOM branches. - var handleAttrs = function( attrList, - query, - getDefault, - handleMatch){ - d.forEach(query.attrs, function(attr){ - var matcher; - // type, attr, matchFor - if(attr.type && attrList[attr.type]){ - matcher = attrList[attr.type](attr.attr, attr.matchFor); - }else if(attr.attr.length){ - matcher = getDefault(attr.attr); - } - if(matcher){ handleMatch(matcher); } - }); - } - - var buildPath = function(query){ - var xpath = "."; - var qparts = getQueryParts(d.trim(query)); - while(qparts.length){ - var tqp = qparts.shift(); - var prefix; - var postfix = ""; - if(tqp.oper == ">"){ - prefix = "/"; - // prefix = "/child::*"; - tqp = qparts.shift(); - }else if(tqp.oper == "~"){ - prefix = "/following-sibling::"; // get element following siblings - tqp = qparts.shift(); - }else if(tqp.oper == "+"){ - // FIXME: - // fails when selecting subsequent siblings by node type - // because the position() checks the position in the list - // of matching elements and not the localized siblings - prefix = "/following-sibling::"; - postfix = "[position()=1]"; - tqp = qparts.shift(); - }else{ - prefix = "//"; - // prefix = "/descendant::*" - } - - // get the tag name (if any) - - xpath += prefix + tqp.tag + postfix; - - // check to see if it's got an id. Needs to come first in xpath. - if(tqp.id){ - xpath += "[@id='"+tqp.id+"'][1]"; - } - - d.forEach(tqp.classes, function(cn){ - var cnl = cn.length; - var padding = " "; - if(cn.charAt(cnl-1) == "*"){ - padding = ""; cn = cn.substr(0, cnl-1); - } - xpath += - "[contains(concat(' ',@class,' '), ' "+ - cn + padding + "')]"; - }); - - handleAttrs(xPathAttrs, tqp, - function(condition){ - return "[@"+condition+"]"; - }, - function(matcher){ - xpath += matcher; - } - ); - - // FIXME: need to implement pseudo-class checks!! - }; - return xpath; - }; - - var _xpathFuncCache = {}; - var getXPathFunc = function(path){ - if(_xpathFuncCache[path]){ - return _xpathFuncCache[path]; - } - - var doc = d.doc; - // don't need to memoize. The closure scope handles it for us. - var xpath = buildPath(path); - - var tf = function(parent){ - // XPath query strings are memoized. - var ret = []; - var xpathResult; - try{ - xpathResult = doc.evaluate(xpath, parent, null, - // XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null); - XPathResult.ANY_TYPE, null); - }catch(e){ - console.debug("failure in exprssion:", xpath, "under:", parent); - console.debug(e); - } - var result = xpathResult.iterateNext(); - while(result){ - ret.push(result); - result = xpathResult.iterateNext(); - } - return ret; - } - return _xpathFuncCache[path] = tf; - }; - - /* - d.xPathMatch = function(query){ - // XPath based DOM query system. Handles a small subset of CSS - // selectors, subset is identical to the non-XPath version of this - // function. - - return getXPathFunc(query)(); - } - */ - - //////////////////////////////////////////////////////////////////////// - // DOM query code - //////////////////////////////////////////////////////////////////////// - - var _filtersCache = {}; - var _simpleFiltersCache = {}; - - // the basic building block of the yes/no chaining system. agree(f1, f2) - // generates a new function which returns the boolean results of both of - // the passed functions to a single logical-anded result. - var agree = function(first, second){ - if(!first){ return second; } - if(!second){ return first; } - - return function(){ - return first.apply(window, arguments) && second.apply(window, arguments); - } - } - - var _childElements = function(root){ - var ret = []; - var te, x=0, tret = root[childNodesName]; - while(te=tret[x++]){ - if(te.nodeType == 1){ ret.push(te); } - } - return ret; - } - - var _nextSiblings = function(root, single){ - var ret = []; - var te = root; - while(te = te.nextSibling){ - if(te.nodeType == 1){ - ret.push(te); - if(single){ break; } - } - } - return ret; - } - - var _filterDown = function(element, queryParts, matchArr, idx){ - // NOTE: - // in the fast path! this function is called recursively and for - // every run of a query. - var nidx = idx+1; - var isFinal = (queryParts.length == nidx); - var tqp = queryParts[idx]; - - // see if we can constrain our next level to direct children - if(tqp.oper){ - var ecn = (tqp.oper == ">") ? - _childElements(element) : - _nextSiblings(element, (tqp.oper == "+")); - - if(!ecn || !ecn.length){ - return; - } - nidx++; - isFinal = (queryParts.length == nidx); - // kinda janky, too much array alloc - var tf = getFilterFunc(queryParts[idx+1]); - // for(var x=ecn.length-1, te; x>=0, te=ecn[x]; x--){ - for(var x=0, ecnl=ecn.length, te; x=0, te=elements[x]; x--){ - var x = elements.length - 1, te; - while(te = elements[x--]){ - _filterDown(te, queryParts, ret, 0); - } - return ret; - } - - var getFilterFunc = function(q){ - // note: query can't have spaces! - if(_filtersCache[q.query]){ - return _filtersCache[q.query]; - } - var ff = null; - - // does it have a tagName component? - if(q.tag){ - if(q.tag == "*"){ - ff = agree(ff, - function(elem){ - return (elem.nodeType == 1); - } - ); - }else{ - // tag name match - ff = agree(ff, - function(elem){ - return ( - (elem.nodeType == 1) && - (q.tag == elem.tagName.toLowerCase()) - ); - // return isTn; - } - ); - } - } - - // does the node have an ID? - if(q.id){ - ff = agree(ff, - function(elem){ - return ( - (elem.nodeType == 1) && - (elem.id == q.id) - ); - } - ); - } - - if(q.hasLoops){ - // if we have other query param parts, make sure we add them to the - // filter chain - ff = agree(ff, getSimpleFilterFunc(q)); - } - - return _filtersCache[q.query] = ff; - } - - var getNodeIndex = function(node){ - // NOTE: - // we could have a more accurate caching mechanism by invalidating - // caches after the query has finished, but I think that'd lead to - // significantly more cache churn than the cache would provide - // value for in the common case. Generally, we're more - // conservative (and therefore, more accurate) than jQuery and - // DomQuery WRT node node indexes, but there may be corner cases - // in which we fall down. How much we care about them is TBD. - - var pn = node.parentNode; - var pnc = pn.childNodes; - - // check to see if we can trust the cache. If not, re-key the whole - // thing and return our node match from that. - - var nidx = -1; - var child = pn.firstChild; - if(!child){ - return nidx; - } - - var ci = node["__cachedIndex"]; - var cl = pn["__cachedLength"]; - - // only handle cache building if we've gone out of sync - if(((typeof cl == "number")&&(cl != pnc.length))||(typeof ci != "number")){ - // rip though the whole set, building cache indexes as we go - pn["__cachedLength"] = pnc.length; - var idx = 1; - do{ - // we only assign indexes for nodes with nodeType == 1, as per: - // http://www.w3.org/TR/css3-selectors/#nth-child-pseudo - // only elements are counted in the search order, and they - // begin at 1 for the first child's index - - if(child === node){ - nidx = idx; - } - if(child.nodeType == 1){ - child["__cachedIndex"] = idx; - idx++; - } - child = child.nextSibling; - }while(child); - }else{ - // NOTE: - // could be incorrect in some cases (node swaps involving the - // passed node, etc.), but we ignore those due to the relative - // unlikelihood of that occuring - nidx = ci; - } - return nidx; - } - - var firedCount = 0; - - var blank = ""; - var _getAttr = function(elem, attr){ - if(attr == "class"){ - return elem.className || blank; - } - if(attr == "for"){ - return elem.htmlFor || blank; - } - return elem.getAttribute(attr, 2) || blank; - } - - var attrs = { - "*=": function(attr, value){ - return function(elem){ - // E[foo*="bar"] - // an E element whose "foo" attribute value contains - // the substring "bar" - return (_getAttr(elem, attr).indexOf(value)>=0); - } - }, - "^=": function(attr, value){ - // E[foo^="bar"] - // an E element whose "foo" attribute value begins exactly - // with the string "bar" - return function(elem){ - return (_getAttr(elem, attr).indexOf(value)==0); - } - }, - "$=": function(attr, value){ - // E[foo$="bar"] - // an E element whose "foo" attribute value ends exactly - // with the string "bar" - var tval = " "+value; - return function(elem){ - var ea = " "+_getAttr(elem, attr); - return (ea.lastIndexOf(value)==(ea.length-value.length)); - } - }, - "~=": function(attr, value){ - // E[foo~="bar"] - // an E element whose "foo" attribute value is a list of - // space-separated values, one of which is exactly equal - // to "bar" - - // return "[contains(concat(' ',@"+attr+",' '), ' "+ value +" ')]"; - var tval = " "+value+" "; - return function(elem){ - var ea = " "+_getAttr(elem, attr)+" "; - return (ea.indexOf(tval)>=0); - } - }, - "|=": function(attr, value){ - // E[hreflang|="en"] - // an E element whose "hreflang" attribute has a - // hyphen-separated list of values beginning (from the - // left) with "en" - var valueDash = " "+value+"-"; - return function(elem){ - var ea = " "+(elem.getAttribute(attr, 2) || ""); - return ( - (ea == value) || - (ea.indexOf(valueDash)==0) - ); - } - }, - "=": function(attr, value){ - return function(elem){ - return (_getAttr(elem, attr) == value); - } - } - }; - - var pseudos = { - "first-child": function(name, condition){ - return function(elem){ - if(elem.nodeType != 1){ return false; } - // check to see if any of the previous siblings are elements - var fc = elem.previousSibling; - while(fc && (fc.nodeType != 1)){ - fc = fc.previousSibling; - } - return (!fc); - } - }, - "last-child": function(name, condition){ - return function(elem){ - if(elem.nodeType != 1){ return false; } - // check to see if any of the next siblings are elements - var nc = elem.nextSibling; - while(nc && (nc.nodeType != 1)){ - nc = nc.nextSibling; - } - return (!nc); - } - }, - "empty": function(name, condition){ - return function(elem){ - // DomQuery and jQuery get this wrong, oddly enough. - // The CSS 3 selectors spec is pretty explicit about - // it, too. - var cn = elem.childNodes; - var cnl = elem.childNodes.length; - // if(!cnl){ return true; } - for(var x=cnl-1; x >= 0; x--){ - var nt = cn[x].nodeType; - if((nt == 1)||(nt == 3)){ return false; } - } - return true; - } - }, - "contains": function(name, condition){ - return function(elem){ - // FIXME: I dislike this version of "contains", as - // whimsical attribute could set it off. An inner-text - // based version might be more accurate, but since - // jQuery and DomQuery also potentially get this wrong, - // I'm leaving it for now. - return (elem.innerHTML.indexOf(condition) >= 0); - } - }, - "not": function(name, condition){ - var ntf = getFilterFunc(getQueryParts(condition)[0]); - return function(elem){ - return (!ntf(elem)); - } - }, - "nth-child": function(name, condition){ - var pi = parseInt; - if(condition == "odd"){ - return function(elem){ - return ( - ((getNodeIndex(elem)) % 2) == 1 - ); - } - }else if((condition == "2n")|| - (condition == "even")){ - return function(elem){ - return ((getNodeIndex(elem) % 2) == 0); - } - }else if(condition.indexOf("0n+") == 0){ - var ncount = pi(condition.substr(3)); - return function(elem){ - return (elem.parentNode[childNodesName][ncount-1] === elem); - } - }else if( (condition.indexOf("n+") > 0) && - (condition.length > 3) ){ - var tparts = condition.split("n+", 2); - var pred = pi(tparts[0]); - var idx = pi(tparts[1]); - return function(elem){ - return ((getNodeIndex(elem) % pred) == idx); - } - }else if(condition.indexOf("n") == -1){ - var ncount = pi(condition); - return function(elem){ - return (getNodeIndex(elem) == ncount); - } - } - } - }; - - var defaultGetter = (d.isIE) ? function(cond){ - var clc = cond.toLowerCase(); - return function(elem){ - return elem[cond]||elem[clc]; - } - } : function(cond){ - return function(elem){ - return (elem && elem.getAttribute && elem.hasAttribute(cond)); - } - }; - - var getSimpleFilterFunc = function(query){ - - var fcHit = (_simpleFiltersCache[query.query]||_filtersCache[query.query]); - if(fcHit){ return fcHit; } - - var ff = null; - - // the only case where we'll need the tag name is if we came from an ID query - if(query.id){ // do we have an ID component? - if(query.tag != "*"){ - ff = agree(ff, function(elem){ - return (elem.tagName.toLowerCase() == query.tag); - }); - } - } - - // if there's a class in our query, generate a match function for it - d.forEach(query.classes, function(cname, idx, arr){ - // get the class name - var isWildcard = cname.charAt(cname.length-1) == "*"; - if(isWildcard){ - cname = cname.substr(0, cname.length-1); - } - // I dislike the regex thing, even if memozied in a cache, but it's VERY short - var re = new RegExp("(?:^|\\s)" + cname + (isWildcard ? ".*" : "") + "(?:\\s|$)"); - ff = agree(ff, function(elem){ - return re.test(elem.className); - }); - ff.count = idx; - }); - - d.forEach(query.pseudos, function(pseudo){ - if(pseudos[pseudo.name]){ - ff = agree(ff, pseudos[pseudo.name](pseudo.name, pseudo.value)); - } - }); - - handleAttrs(attrs, query, defaultGetter, - function(tmatcher){ ff = agree(ff, tmatcher); } - ); - if(!ff){ - ff = function(){ return true; }; - } - return _simpleFiltersCache[query.query] = ff; - } - - var _getElementsFuncCache = { }; - - var getElementsFunc = function(query, root){ - var fHit = _getElementsFuncCache[query.query]; - if(fHit){ return fHit; } - - // NOTE: this function is in the fast path! not memoized!!! - - // the query doesn't contain any spaces, so there's only so many - // things it could be - - if(query.id && !query.hasLoops && !query.tag){ - // ID-only query. Easy. - return _getElementsFuncCache[query.query] = function(root){ - // FIXME: if root != document, check for parenting! - return [ d.byId(query.id) ]; - } - } - - var filterFunc = getSimpleFilterFunc(query); - - var retFunc; - if(query.tag && query.id && !query.hasLoops){ - // we got a filtered ID search (e.g., "h4#thinger") - retFunc = function(root){ - var te = d.byId(query.id); - if(filterFunc(te)){ - return [ te ]; - } - } - }else{ - var tret; - - if(!query.hasLoops){ - // it's just a plain-ol elements-by-tag-name query from the root - retFunc = function(root){ - var ret = []; - var te, x=0, tret = root.getElementsByTagName(query.tag); - while(te=tret[x++]){ - ret.push(te); - } - return ret; - } - }else{ - retFunc = function(root){ - var ret = []; - var te, x=0, tret = root.getElementsByTagName(query.tag); - while(te=tret[x++]){ - if(filterFunc(te)){ - ret.push(te); - } - } - return ret; - } - } - } - return _getElementsFuncCache[query.query] = retFunc; - } - - var _partsCache = {}; - - //////////////////////////////////////////////////////////////////////// - // the query runner - //////////////////////////////////////////////////////////////////////// - - // this is the second level of spliting, from full-length queries (e.g., - // "div.foo .bar") into simple query expressions (e.g., ["div.foo", - // ".bar"]) - var _queryFuncCache = { - "*": d.isIE ? - function(root){ - return root.all; - } : - function(root){ - return root.getElementsByTagName("*"); - }, - "~": _nextSiblings, - "+": function(root){ return _nextSiblings(root, true); }, - ">": _childElements - }; - - var getStepQueryFunc = function(query){ - // if it's trivial, get a fast-path dispatcher - var qparts = getQueryParts(d.trim(query)); - // if(query[query.length-1] == ">"){ query += " *"; } - if(qparts.length == 1){ - var tt = getElementsFunc(qparts[0]); - tt.nozip = true; - return tt; - } - - // otherwise, break it up and return a runner that iterates over the parts recursively - var sqf = function(root){ - var localQueryParts = qparts.slice(0); // clone the src arr - var candidates; - if(localQueryParts[0].oper == ">"){ // FIXME: what if it's + or ~? - candidates = [ root ]; - // root = document; - }else{ - candidates = getElementsFunc(localQueryParts.shift())(root); - } - return filterDown(candidates, localQueryParts); - } - return sqf; - } - - // a specialized method that implements our primoridal "query optimizer". - // This allows us to dispatch queries to the fastest subsystem we can get. - var _getQueryFunc = ( - // NOTE: - // XPath on the Webkit nighlies is slower than it's DOM iteration - // for most test cases - // FIXME: - // we should try to capture some runtime speed data for each query - // function to determine on the fly if we should stick w/ the - // potentially optimized variant or if we should try something - // new. - (document["evaluate"] && !d.isSafari) ? - function(query){ - // has xpath support that's faster than DOM - var qparts = query.split(" "); - // can we handle it? - if( (document["evaluate"])&& - (query.indexOf(":") == -1)&& - (query.indexOf("+") == -1) // skip direct sibling matches. See line ~344 - ){ - // dojo.debug(query); - // should we handle it? - - // kind of a lame heuristic, but it works - if( - // a "div div div" style query - ((qparts.length > 2)&&(query.indexOf(">") == -1))|| - // or something else with moderate complexity. kinda janky - (qparts.length > 3)|| - (query.indexOf("[")>=0)|| - // or if it's a ".thinger" query - ((1 == qparts.length)&&(0 <= query.indexOf("."))) - - ){ - // use get and cache a xpath runner for this selector - return getXPathFunc(query); - } - } - - // fallthrough - return getStepQueryFunc(query); - } : getStepQueryFunc - ); - // uncomment to disable XPath for testing and tuning the DOM path - // _getQueryFunc = getStepQueryFunc; - - // FIXME: we've got problems w/ the NodeList query()/filter() functions if we go XPath for everything - - // uncomment to disable DOM queries for testing and tuning XPath - // _getQueryFunc = getXPathFunc; - - // this is the primary caching for full-query results. The query dispatcher - // functions are generated here and then pickled for hash lookup in the - // future - var getQueryFunc = function(query){ - // return a cached version if one is available - var qcz = query.charAt(0); - if(d.doc["querySelectorAll"] && - ( (!d.isSafari) || (d.isSafari > 3.1) ) && // see #5832 - // as per CSS 3, we can't currently start w/ combinator: - // http://www.w3.org/TR/css3-selectors/#w3cselgrammar - (">+~".indexOf(qcz) == -1) - ){ - return function(root){ - var r = root.querySelectorAll(query); - r.nozip = true; // skip expensive duplication checks and just wrap in a NodeList - return r; - }; - } - if(_queryFuncCache[query]){ return _queryFuncCache[query]; } - if(0 > query.indexOf(",")){ - // if it's not a compound query (e.g., ".foo, .bar"), cache and return a dispatcher - return _queryFuncCache[query] = _getQueryFunc(query); - }else{ - // if it's a complex query, break it up into it's constituent parts - // and return a dispatcher that will merge the parts when run - - // var parts = query.split(", "); - var parts = query.split(/\s*,\s*/); - var tf = function(root){ - var pindex = 0; // avoid array alloc for every invocation - var ret = []; - var tp; - while(tp = parts[pindex++]){ - ret = ret.concat(_getQueryFunc(tp, tp.indexOf(" "))(root)); - } - return ret; - } - // ...cache and return - return _queryFuncCache[query] = tf; - } - } - - // FIXME: - // Dean's Base2 uses a system whereby queries themselves note if - // they'll need duplicate filtering. We need to get on that plan!! - - // attempt to efficiently determine if an item in a list is a dupe, - // returning a list of "uniques", hopefully in doucment order - var _zipIdx = 0; - var _zip = function(arr){ - if(arr && arr.nozip){ return d.NodeList._wrap(arr); } - var ret = new d.NodeList(); - if(!arr){ return ret; } - if(arr[0]){ - ret.push(arr[0]); - } - if(arr.length < 2){ return ret; } - _zipIdx++; - arr[0]["_zipIdx"] = _zipIdx; - for(var x=1, te; te = arr[x]; x++){ - if(arr[x]["_zipIdx"] != _zipIdx){ - ret.push(te); - } - te["_zipIdx"] = _zipIdx; - } - // FIXME: should we consider stripping these properties? - return ret; - } - - // the main executor - d.query = function(/*String*/ query, /*String|DOMNode?*/ root){ - // summary: - // Returns nodes which match the given CSS3 selector, searching the - // entire document by default but optionally taking a node to scope - // the search by. Returns an instance of dojo.NodeList. - // description: - // dojo.query() is the swiss army knife of DOM node manipulation in - // Dojo. Much like Prototype's "$$" (bling-bling) function or JQuery's - // "$" function, dojo.query provides robust, high-performance - // CSS-based node selector support with the option of scoping searches - // to a particular sub-tree of a document. - // - // Supported Selectors: - // -------------------- - // - // dojo.query() supports a rich set of CSS3 selectors, including: - // - // * class selectors (e.g., `.foo`) - // * node type selectors like `span` - // * ` ` descendant selectors - // * `>` child element selectors - // * `#foo` style ID selectors - // * `*` universal selector - // * `~`, the immediately preceeded-by sibling selector - // * `+`, the preceeded-by sibling selector - // * attribute queries: - // | * `[foo]` attribute presence selector - // | * `[foo='bar']` attribute value exact match - // | * `[foo~='bar']` attribute value list item match - // | * `[foo^='bar']` attribute start match - // | * `[foo$='bar']` attribute end match - // | * `[foo*='bar']` attribute substring match - // * `:first-child`, `:last-child` positional selectors - // * `:empty` content emtpy selector - // * `:empty` content emtpy selector - // * `:nth-child(n)`, `:nth-child(2n+1)` style positional calculations - // * `:nth-child(even)`, `:nth-child(odd)` positional selectors - // * `:not(...)` negation pseudo selectors - // - // Any legal combination of these selectors will work with - // `dojo.query()`, including compound selectors ("," delimited). - // Very complex and useful searches can be constructed with this - // palette of selectors and when combined with functions for - // maniplation presented by dojo.NodeList, many types of DOM - // manipulation operations become very straightforward. - // - // Unsupported Selectors: - // ---------------------- - // - // While dojo.query handles many CSS3 selectors, some fall outside of - // what's resaonable for a programmatic node querying engine to - // handle. Currently unsupported selectors include: - // - // * namespace-differentiated selectors of any form - // * all `::` pseduo-element selectors - // * certain pseduo-selectors which don't get a lot of day-to-day use: - // | * `:root`, `:lang()`, `:target`, `:focus` - // * all visual and state selectors: - // | * `:root`, `:active`, `:hover`, `:visisted`, `:link`, - // `:enabled`, `:disabled`, `:checked` - // * `:*-of-type` pseudo selectors - // - // dojo.query and XML Documents: - // ----------------------------- - // - // `dojo.query` currently only supports searching XML documents - // whose tags and attributes are 100% lower-case. This is a known - // limitation and will [be addressed soon](http://trac.dojotoolkit.org/ticket/3866) - // Non-selector Queries: - // --------------------- - // - // If something other than a String is passed for the query, - // `dojo.query` will return a new `dojo.NodeList` constructed from - // that parameter alone and all further processing will stop. This - // means that if you have a reference to a node or NodeList, you - // can quickly construct a new NodeList from the original by - // calling `dojo.query(node)` or `dojo.query(list)`. - // - // query: - // The CSS3 expression to match against. For details on the syntax of - // CSS3 selectors, see - // root: - // A DOMNode (or node id) to scope the search from. Optional. - // returns: dojo.NodeList - // An instance of `dojo.NodeList`. Many methods are available on - // NodeLists for searching, iterating, manipulating, and handling - // events on the matched nodes in the returned list. - // example: - // search the entire document for elements with the class "foo": - // | dojo.query(".foo"); - // these elements will match: - // | - // | - // |

          - // example: - // search the entire document for elements with the classes "foo" *and* "bar": - // | dojo.query(".foo.bar"); - // these elements will match: - // | - // while these will not: - // | - // |

          - // example: - // find `` elements which are descendants of paragraphs and - // which have a "highlighted" class: - // | dojo.query("p span.highlighted"); - // the innermost span in this fragment matches: - // |

          - // | ... - // | ... - // | - // |

          - // example: - // set an "odd" class on all odd table rows inside of the table - // `#tabular_data`, using the `>` (direct child) selector to avoid - // affecting any nested tables: - // | dojo.query("#tabular_data > tbody > tr:nth-child(odd)").addClass("odd"); - // example: - // remove all elements with the class "error" from the document - // and store them in a list: - // | var errors = dojo.query(".error").orphan(); - // example: - // add an onclick handler to every submit button in the document - // which causes the form to be sent via Ajax instead: - // | dojo.query("input[type='submit']").onclick(function(e){ - // | dojo.stopEvent(e); // prevent sending the form - // | var btn = e.target; - // | dojo.xhrPost({ - // | form: btn.form, - // | load: function(data){ - // | // replace the form with the response - // | var div = dojo.doc.createElement("div"); - // | dojo.place(div, btn.form, "after"); - // | div.innerHTML = data; - // | dojo.style(btn.form, "display", "none"); - // | } - // | }); - // | }); - - - // NOTE: elementsById is not currently supported - // NOTE: ignores xpath-ish queries for now - - if(query.constructor == d.NodeList){ - return query; - } - if(!d.isString(query)){ - return new d.NodeList(query); // dojo.NodeList - } - if(d.isString(root)){ - root = d.byId(root); - } - - return _zip(getQueryFunc(query)(root||d.doc)); // dojo.NodeList - } - - /* - // exposing this was a mistake - d.query.attrs = attrs; - */ - // exposing this because new pseudo matches are only executed through the - // DOM query path (never through the xpath optimizing branch) - d.query.pseudos = pseudos; - - // one-off function for filtering a NodeList based on a simple selector - d._filterQueryResult = function(nodeList, simpleFilter){ - var tnl = new d.NodeList(); - var ff = (simpleFilter) ? getFilterFunc(getQueryParts(simpleFilter)[0]) : function(){ return true; }; - for(var x=0, te; te = nodeList[x]; x++){ - if(ff(te)){ tnl.push(te); } - } - return tnl; - } -})(); - -} - -if(!dojo._hasResource["dojo._base.xhr"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.xhr"] = true; -dojo.provide("dojo._base.xhr"); - - - - - -(function(){ - var _d = dojo; - function setValue(/*Object*/obj, /*String*/name, /*String*/value){ - //summary: - // For the nameed property in object, set the value. If a value - // already exists and it is a string, convert the value to be an - // array of values. - var val = obj[name]; - if(_d.isString(val)){ - obj[name] = [val, value]; - }else if(_d.isArray(val)){ - val.push(value); - }else{ - obj[name] = value; - } - } - - dojo.formToObject = function(/*DOMNode||String*/ formNode){ - // summary: - // dojo.formToObject returns the values encoded in an HTML form as - // string properties in an object which it then returns. Disabled form - // elements, buttons, and other non-value form elements are skipped. - // Multi-select elements are returned as an array of string values. - // description: - // This form: - // - // |
          - // | - // | - // | - // | - // |
          - // - // yields this object structure as the result of a call to - // formToObject(): - // - // | { - // | blah: "blah", - // | multi: [ - // | "thud", - // | "thonk" - // | ] - // | }; - - var ret = {}; - var iq = "input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]), select, textarea"; - _d.query(iq, formNode).filter(function(node){ - return !node.disabled && node.name; - }).forEach(function(item){ - var _in = item.name; - var type = (item.type||"").toLowerCase(); - if(type == "radio" || type == "checkbox"){ - if(item.checked){ setValue(ret, _in, item.value); } - }else if(item.multiple){ - ret[_in] = []; - _d.query("option", item).forEach(function(opt){ - if(opt.selected){ - setValue(ret, _in, opt.value); - } - }); - }else{ - setValue(ret, _in, item.value); - if(type == "image"){ - ret[_in+".x"] = ret[_in+".y"] = ret[_in].x = ret[_in].y = 0; - } - } - }); - return ret; // Object - } - - dojo.objectToQuery = function(/*Object*/ map){ - // summary: - // takes a name/value mapping object and returns a string representing - // a URL-encoded version of that object. - // example: - // this object: - // - // | { - // | blah: "blah", - // | multi: [ - // | "thud", - // | "thonk" - // | ] - // | }; - // - // yields the following query string: - // - // | "blah=blah&multi=thud&multi=thonk" - - // FIXME: need to implement encodeAscii!! - var enc = encodeURIComponent; - var pairs = []; - var backstop = {}; - for(var name in map){ - var value = map[name]; - if(value != backstop[name]){ - var assign = enc(name) + "="; - if(_d.isArray(value)){ - for(var i=0; i < value.length; i++){ - pairs.push(assign + enc(value[i])); - } - }else{ - pairs.push(assign + enc(value)); - } - } - } - return pairs.join("&"); // String - } - - dojo.formToQuery = function(/*DOMNode||String*/ formNode){ - // summary: - // Returns a URL-encoded string representing the form passed as either a - // node or string ID identifying the form to serialize - return _d.objectToQuery(_d.formToObject(formNode)); // String - } - - dojo.formToJson = function(/*DOMNode||String*/ formNode, /*Boolean?*/prettyPrint){ - // summary: - // return a serialized JSON string from a form node or string - // ID identifying the form to serialize - return _d.toJson(_d.formToObject(formNode), prettyPrint); // String - } - - dojo.queryToObject = function(/*String*/ str){ - // summary: - // returns an object representing a de-serialized query section of a - // URL. Query keys with multiple values are returned in an array. - // description: - // This string: - // - // | "foo=bar&foo=baz&thinger=%20spaces%20=blah&zonk=blarg&" - // - // results in this object structure: - // - // | { - // | foo: [ "bar", "baz" ], - // | thinger: " spaces =blah", - // | zonk: "blarg" - // | } - // - // Note that spaces and other urlencoded entities are correctly - // handled. - - // FIXME: should we grab the URL string if we're not passed one? - var ret = {}; - var qp = str.split("&"); - var dec = decodeURIComponent; - _d.forEach(qp, function(item){ - if(item.length){ - var parts = item.split("="); - var name = dec(parts.shift()); - var val = dec(parts.join("=")); - if(_d.isString(ret[name])){ - ret[name] = [ret[name]]; - } - if(_d.isArray(ret[name])){ - ret[name].push(val); - }else{ - ret[name] = val; - } - } - }); - return ret; // Object - } - - /* - from refactor.txt: - - all bind() replacement APIs take the following argument structure: - - { - url: "blah.html", - - // all below are optional, but must be supported in some form by - // every IO API - timeout: 1000, // milliseconds - handleAs: "text", // replaces the always-wrong "mimetype" - content: { - key: "value" - }, - - // browser-specific, MAY be unsupported - sync: true, // defaults to false - form: dojo.byId("someForm") - } - */ - - // need to block async callbacks from snatching this thread as the result - // of an async callback might call another sync XHR, this hangs khtml forever - // must checked by watchInFlight() - - dojo._blockAsync = false; - - dojo._contentHandlers = { - "text": function(xhr){ return xhr.responseText; }, - "json": function(xhr){ - if(!dojo.config.usePlainJson){ - console.warn("Consider using mimetype:text/json-comment-filtered" - + " to avoid potential security issues with JSON endpoints" - + " (use djConfig.usePlainJson=true to turn off this message)"); - } - return (xhr.status == 204) ? undefined : _d.fromJson(xhr.responseText); - }, - "json-comment-filtered": function(xhr){ - // NOTE: we provide the json-comment-filtered option as one solution to - // the "JavaScript Hijacking" issue noted by Fortify and others. It is - // not appropriate for all circumstances. - - var value = xhr.responseText; - var cStartIdx = value.indexOf("\/*"); - var cEndIdx = value.lastIndexOf("*\/"); - if(cStartIdx == -1 || cEndIdx == -1){ - throw new Error("JSON was not comment filtered"); - } - return (xhr.status == 204) ? undefined : - _d.fromJson(value.substring(cStartIdx+2, cEndIdx)); - }, - "javascript": function(xhr){ - // FIXME: try Moz and IE specific eval variants? - return _d.eval(xhr.responseText); - }, - "xml": function(xhr){ - var result = xhr.responseXML; - if(_d.isIE && (!result || window.location.protocol == "file:")){ - _d.forEach(["MSXML2", "Microsoft", "MSXML", "MSXML3"], function(prefix){ - try{ - var dom = new ActiveXObject(prefix + ".XMLDOM"); - dom.async = false; - dom.loadXML(xhr.responseText); - result = dom; - }catch(e){ /* Not available. Squelch and try next one. */ } - }); - } - return result; // DOMDocument - } - }; - - dojo._contentHandlers["json-comment-optional"] = function(xhr){ - var handlers = _d._contentHandlers; - try{ - return handlers["json-comment-filtered"](xhr); - }catch(e){ - return handlers["json"](xhr); - } - }; - - /*===== - dojo.__IoArgs = function(){ - // url: String - // URL to server endpoint. - // content: Object? - // Contains properties with string values. These - // properties will be serialized as name1=value2 and - // passed in the request. - // timeout: Integer? - // Milliseconds to wait for the response. If this time - // passes, the then error callbacks are called. - // form: DOMNode? - // DOM node for a form. Used to extract the form values - // and send to the server. - // preventCache: Boolean? - // Default is false. If true, then a - // "dojo.preventCache" parameter is sent in the request - // with a value that changes with each request - // (timestamp). Useful only with GET-type requests. - // handleAs: String? - // Acceptable values depend on the type of IO - // transport (see specific IO calls for more information). - // load: Function? - // function(response, ioArgs){}. response is an Object, ioArgs - // is of type dojo.__IoCallbackArgs. The load function will be - // called on a successful response. - // error: Function? - // function(response, ioArgs){}. response is an Object, ioArgs - // is of type dojo.__IoCallbackArgs. The error function will - // be called in an error case. - // handle: Function? - // function(response, ioArgs){}. response is an Object, ioArgs - // is of type dojo.__IoCallbackArgs. The handle function will - // be called in either the successful or error case. For - // the load, error and handle functions, the ioArgs object - // will contain the following properties: - this.url = url; - this.content = content; - this.timeout = timeout; - this.form = form; - this.preventCache = preventCache; - this.handleAs = handleAs; - this.load = load; - this.error = error; - this.handle = handle; - } - =====*/ - - /*===== - dojo.__IoCallbackArgs = function(args, xhr, url, query, handleAs, id, canDelete, json){ - // args: Object - // the original object argument to the IO call. - // xhr: XMLHttpRequest - // For XMLHttpRequest calls only, the - // XMLHttpRequest object that was used for the - // request. - // url: String - // The final URL used for the call. Many times it - // will be different than the original args.url - // value. - // query: String - // For non-GET requests, the - // name1=value1&name2=value2 parameters sent up in - // the request. - // handleAs: String - // The final indicator on how the response will be - // handled. - // id: String - // For dojo.io.script calls only, the internal - // script ID used for the request. - // canDelete: Boolean - // For dojo.io.script calls only, indicates - // whether the script tag that represents the - // request can be deleted after callbacks have - // been called. Used internally to know when - // cleanup can happen on JSONP-type requests. - // json: Object - // For dojo.io.script calls only: holds the JSON - // response for JSONP-type requests. Used - // internally to hold on to the JSON responses. - // You should not need to access it directly -- - // the same object should be passed to the success - // callbacks directly. - this.args = args; - this.xhr = xhr; - this.url = url; - this.query = query; - this.handleAs = handleAs; - this.id = id; - this.canDelete = canDelete; - this.json = json; - } - =====*/ - - - - dojo._ioSetArgs = function(/*dojo.__IoArgs*/args, - /*Function*/canceller, - /*Function*/okHandler, - /*Function*/errHandler){ - // summary: - // sets up the Deferred and ioArgs property on the Deferred so it - // can be used in an io call. - // args: - // The args object passed into the public io call. Recognized properties on - // the args object are: - // canceller: - // The canceller function used for the Deferred object. The function - // will receive one argument, the Deferred object that is related to the - // canceller. - // okHandler: - // The first OK callback to be registered with Deferred. It has the opportunity - // to transform the OK response. It will receive one argument -- the Deferred - // object returned from this function. - // errHandler: - // The first error callback to be registered with Deferred. It has the opportunity - // to do cleanup on an error. It will receive two arguments: error (the - // Error object) and dfd, the Deferred object returned from this function. - - var ioArgs = {args: args, url: args.url}; - - //Get values from form if requestd. - var formObject = null; - if(args.form){ - var form = _d.byId(args.form); - //IE requires going through getAttributeNode instead of just getAttribute in some form cases, - //so use it for all. See #2844 - var actnNode = form.getAttributeNode("action"); - ioArgs.url = ioArgs.url || (actnNode ? actnNode.value : null); - formObject = _d.formToObject(form); - } - - // set up the query params - var miArgs = [{}]; - - if(formObject){ - // potentially over-ride url-provided params w/ form values - miArgs.push(formObject); - } - if(args.content){ - // stuff in content over-rides what's set by form - miArgs.push(args.content); - } - if(args.preventCache){ - miArgs.push({"dojo.preventCache": new Date().valueOf()}); - } - ioArgs.query = _d.objectToQuery(_d.mixin.apply(null, miArgs)); - - // .. and the real work of getting the deferred in order, etc. - ioArgs.handleAs = args.handleAs || "text"; - var d = new _d.Deferred(canceller); - d.addCallbacks(okHandler, function(error){ - return errHandler(error, d); - }); - - //Support specifying load, error and handle callback functions from the args. - //For those callbacks, the "this" object will be the args object. - //The callbacks will get the deferred result value as the - //first argument and the ioArgs object as the second argument. - var ld = args.load; - if(ld && _d.isFunction(ld)){ - d.addCallback(function(value){ - return ld.call(args, value, ioArgs); - }); - } - var err = args.error; - if(err && _d.isFunction(err)){ - d.addErrback(function(value){ - return err.call(args, value, ioArgs); - }); - } - var handle = args.handle; - if(handle && _d.isFunction(handle)){ - d.addBoth(function(value){ - return handle.call(args, value, ioArgs); - }); - } - - d.ioArgs = ioArgs; - - // FIXME: need to wire up the xhr object's abort method to something - // analagous in the Deferred - return d; - } - - var _deferredCancel = function(/*Deferred*/dfd){ - //summary: canceller function for dojo._ioSetArgs call. - - dfd.canceled = true; - var xhr = dfd.ioArgs.xhr; - var _at = typeof xhr.abort; - if(_at == "function" || _at == "unknown"){ - xhr.abort(); - } - var err = new Error("xhr cancelled"); - err.dojoType = "cancel"; - return err; - } - var _deferredOk = function(/*Deferred*/dfd){ - //summary: okHandler function for dojo._ioSetArgs call. - - return _d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr); - } - var _deferError = function(/*Error*/error, /*Deferred*/dfd){ - //summary: errHandler function for dojo._ioSetArgs call. - - // console.debug("xhr error in:", dfd.ioArgs.xhr); - console.debug(error); - return error; - } - - var _makeXhrDeferred = function(/*dojo.__XhrArgs*/args){ - //summary: makes the Deferred object for this xhr request. - var dfd = _d._ioSetArgs(args, _deferredCancel, _deferredOk, _deferError); - //Pass the args to _xhrObj, to allow xhr iframe proxy interceptions. - dfd.ioArgs.xhr = _d._xhrObj(dfd.ioArgs.args); - return dfd; - } - - // avoid setting a timer per request. It degrades performance on IE - // something fierece if we don't use unified loops. - var _inFlightIntvl = null; - var _inFlight = []; - var _watchInFlight = function(){ - //summary: - // internal method that checks each inflight XMLHttpRequest to see - // if it has completed or if the timeout situation applies. - - var now = (new Date()).getTime(); - // make sure sync calls stay thread safe, if this callback is called - // during a sync call and this results in another sync call before the - // first sync call ends the browser hangs - if(!_d._blockAsync){ - // we need manual loop because we often modify _inFlight (and therefore 'i') while iterating - // note: the second clause is an assigment on purpose, lint may complain - for(var i = 0, tif; i < _inFlight.length && (tif = _inFlight[i]); i++){ - var dfd = tif.dfd; - try{ - if(!dfd || dfd.canceled || !tif.validCheck(dfd)){ - _inFlight.splice(i--, 1); - }else if(tif.ioCheck(dfd)){ - _inFlight.splice(i--, 1); - tif.resHandle(dfd); - }else if(dfd.startTime){ - //did we timeout? - if(dfd.startTime + (dfd.ioArgs.args.timeout || 0) < now){ - _inFlight.splice(i--, 1); - var err = new Error("timeout exceeded"); - err.dojoType = "timeout"; - dfd.errback(err); - //Cancel the request so the io module can do appropriate cleanup. - dfd.cancel(); - } - } - }catch(e){ - // FIXME: make sure we errback! (fixed? remove console.debug?) - console.debug(e); - dfd.errback(new Error("_watchInFlightError!")); - } - } - } - - if(!_inFlight.length){ - clearInterval(_inFlightIntvl); - _inFlightIntvl = null; - return; - } - - } - - dojo._ioCancelAll = function(){ - //summary: Cancels all pending IO requests, regardless of IO type - //(xhr, script, iframe). - try{ - _d.forEach(_inFlight, function(i){ - i.dfd.cancel(); - }); - }catch(e){/*squelch*/} - } - - //Automatically call cancel all io calls on unload - //in IE for trac issue #2357. - if(_d.isIE){ - _d.addOnUnload(_d._ioCancelAll); - } - - _d._ioWatch = function(/*Deferred*/dfd, - /*Function*/validCheck, - /*Function*/ioCheck, - /*Function*/resHandle){ - //summary: watches the io request represented by dfd to see if it completes. - //dfd: - // The Deferred object to watch. - //validCheck: - // Function used to check if the IO request is still valid. Gets the dfd - // object as its only argument. - //ioCheck: - // Function used to check if basic IO call worked. Gets the dfd - // object as its only argument. - //resHandle: - // Function used to process response. Gets the dfd - // object as its only argument. - if(dfd.ioArgs.args.timeout){ - dfd.startTime = (new Date()).getTime(); - } - _inFlight.push({dfd: dfd, validCheck: validCheck, ioCheck: ioCheck, resHandle: resHandle}); - if(!_inFlightIntvl){ - _inFlightIntvl = setInterval(_watchInFlight, 50); - } - _watchInFlight(); // handle sync requests - } - - var _defaultContentType = "application/x-www-form-urlencoded"; - - var _validCheck = function(/*Deferred*/dfd){ - return dfd.ioArgs.xhr.readyState; //boolean - } - var _ioCheck = function(/*Deferred*/dfd){ - return 4 == dfd.ioArgs.xhr.readyState; //boolean - } - var _resHandle = function(/*Deferred*/dfd){ - var xhr = dfd.ioArgs.xhr; - if(_d._isDocumentOk(xhr)){ - dfd.callback(dfd); - }else{ - var err = new Error("Unable to load " + dfd.ioArgs.url + " status:" + xhr.status); - err.status = xhr.status; - err.responseText = xhr.responseText; - dfd.errback(err); - } - } - - var _doIt = function(/*String*/type, /*Deferred*/dfd){ - // IE 6 is a steaming pile. It won't let you call apply() on the native function (xhr.open). - // workaround for IE6's apply() "issues" - var ioArgs = dfd.ioArgs; - var args = ioArgs.args; - var xhr = ioArgs.xhr; - xhr.open(type, ioArgs.url, args.sync !== true, args.user || undefined, args.password || undefined); - if(args.headers){ - for(var hdr in args.headers){ - if(hdr.toLowerCase() === "content-type" && !args.contentType){ - args.contentType = args.headers[hdr]; - }else{ - xhr.setRequestHeader(hdr, args.headers[hdr]); - } - } - } - // FIXME: is this appropriate for all content types? - xhr.setRequestHeader("Content-Type", args.contentType || _defaultContentType); - if(!args.headers || !args.headers["X-Requested-With"]){ - xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); - } - // FIXME: set other headers here! - try{ - xhr.send(ioArgs.query); - }catch(e){ - dfd.cancel(); - } - _d._ioWatch(dfd, _validCheck, _ioCheck, _resHandle); - xhr = null; - return dfd; //Deferred - } - - dojo._ioAddQueryToUrl = function(/*dojo.__IoCallbackArgs*/ioArgs){ - //summary: Adds query params discovered by the io deferred construction to the URL. - //Only use this for operations which are fundamentally GET-type operations. - if(ioArgs.query.length){ - ioArgs.url += (ioArgs.url.indexOf("?") == -1 ? "?" : "&") + ioArgs.query; - ioArgs.query = null; - } - } - - /*===== - dojo.declare("dojo.__XhrArgs", dojo.__IoArgs, { - constructor: function(){ - // summary: - // In addition to the properties listed for the dojo._IoArgs type, - // the following properties are allowed for dojo.xhr* methods. - // handleAs: String? - // Acceptable values are: text (default), json, json-comment-optional, - // json-comment-filtered, javascript, xml - // sync: Boolean? - // false is default. Indicates whether the request should - // be a synchronous (blocking) request. - // headers: Object? - // Additional HTTP headers to send in the request. - this.handleAs = handleAs; - this.sync = sync; - this.headers = headers; - } - }); - =====*/ - - dojo.xhr = function(/*String*/ method, /*dojo.__XhrArgs*/ args, /*Boolean?*/ hasBody){ - // summary: - // Sends an HTTP request with the given method. If the request has an - // HTTP body, then pass true for hasBody. The method argument should be uppercase. - // Also look at dojo.xhrGet(), xhrPost(), xhrPut() and dojo.xhrDelete() for shortcuts - // for those HTTP methods. There are also methods for "raw" PUT and POST methods - // via dojo.rawXhrPut() and dojo.rawXhrPost() respectively. - var dfd = _makeXhrDeferred(args); - if(!hasBody){ - _d._ioAddQueryToUrl(dfd.ioArgs); - } - return _doIt(method, dfd); // dojo.Deferred - } - - dojo.xhrGet = function(/*dojo.__XhrArgs*/ args){ - // summary: - // Sends an HTTP GET request to the server. - return _d.xhr("GET", args); //dojo.Deferred - } - - dojo.xhrPost = function(/*dojo.__XhrArgs*/ args){ - //summary: - // Sends an HTTP POST request to the server. - return _d.xhr("POST", args, true); // dojo.Deferred - } - - dojo.rawXhrPost = function(/*dojo.__XhrArgs*/ args){ - // summary: - // Sends an HTTP POST request to the server. In addtion to the properties - // listed for the dojo.__XhrArgs type, the following property is allowed: - // postData: - // String. The raw data to send in the body of the POST request. - var dfd = _makeXhrDeferred(args); - dfd.ioArgs.query = args.postData; - return _doIt("POST", dfd); // dojo.Deferred - } - - dojo.xhrPut = function(/*dojo.__XhrArgs*/ args){ - // summary: - // Sends an HTTP PUT request to the server. - return _d.xhr("PUT", args, true); // dojo.Deferred - } - - dojo.rawXhrPut = function(/*dojo.__XhrArgs*/ args){ - // summary: - // Sends an HTTP PUT request to the server. In addtion to the properties - // listed for the dojo.__XhrArgs type, the following property is allowed: - // putData: - // String. The raw data to send in the body of the PUT request. - var dfd = _makeXhrDeferred(args); - var ioArgs = dfd.ioArgs; - if(args.putData){ - ioArgs.query = args.putData; - args.putData = null; - } - return _doIt("PUT", dfd); // dojo.Deferred - } - - dojo.xhrDelete = function(/*dojo.__XhrArgs*/ args){ - // summary: - // Sends an HTTP DELETE request to the server. - return _d.xhr("DELETE", args); //dojo.Deferred - } - - /* - dojo.wrapForm = function(formNode){ - //summary: - // A replacement for FormBind, but not implemented yet. - - // FIXME: need to think harder about what extensions to this we might - // want. What should we allow folks to do w/ this? What events to - // set/send? - throw new Error("dojo.wrapForm not yet implemented"); - } - */ -})(); - -} - -if(!dojo._hasResource["dojo._base.fx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.fx"] = true; -dojo.provide("dojo._base.fx"); - - - - - - -/* - Animation losely package based on Dan Pupius' work, contributed under CLA: - http://pupius.co.uk/js/Toolkit.Drawing.js -*/ -(function(){ - - var d = dojo; - - dojo._Line = function(/*int*/ start, /*int*/ end){ - // summary: - // dojo._Line is the object used to generate values from a start value - // to an end value - // start: int - // Beginning value for range - // end: int - // Ending value for range - this.start = start; - this.end = end; - this.getValue = function(/*float*/ n){ - // summary: returns the point on the line - // n: a floating point number greater than 0 and less than 1 - return ((this.end - this.start) * n) + this.start; // Decimal - } - } - - d.declare("dojo._Animation", null, { - // summary - // A generic animation class that fires callbacks into its handlers - // object at various states. Nearly all dojo animation functions - // return an instance of this method, usually without calling the - // .play() method beforehand. Therefore, you will likely need to - // call .play() on instances of dojo._Animation when one is - // returned. - constructor: function(/*Object*/ args){ - d.mixin(this, args); - if(d.isArray(this.curve)){ - /* curve: Array - pId: a */ - this.curve = new d._Line(this.curve[0], this.curve[1]); - } - }, - - // duration: Integer - // The time in milliseonds the animation will take to run - duration: 350, - - /*===== - // curve: dojo._Line||Array - // A two element array of start and end values, or a dojo._Line instance to be - // used in the Animation. - curve: null, - - // easing: Function - // A Function to adjust the acceleration (or deceleration) of the progress - // across a dojo._Line - easing: null, - =====*/ - - // repeat: Integer - // The number of times to loop the animation - repeat: 0, - - // rate: Integer - // the time in milliseconds to wait before advancing to next frame - // (used as a fps timer: rate/1000 = fps) - rate: 10 /* 100 fps */, - - /*===== - // delay: Integer - // The time in milliseconds to wait before starting animation after it has been .play()'ed - delay: null, - - // events - // - // beforeBegin: Event - // Synthetic event fired before a dojo._Animation begins playing (synchronous) - beforeBegin: null, - - // onBegin: Event - // Synthetic event fired as a dojo._Animation begins playing (useful?) - onBegin: null, - - // onAnimate: Event - // Synthetic event fired at each interval of a dojo._Animation - onAnimate: null, - - // onEnd: Event - // Synthetic event fired after the final frame of a dojo._Animation - onEnd: null, - - // onPlay: Event - // Synthetic event fired any time a dojo._Animation is play()'ed - onPlay: null, - - // onPause: Event - // Synthetic event fired when a dojo._Animation is paused - onPause: null, - - // onStop: Event - // Synthetic event fires when a dojo._Animation is stopped - onStop: null, - - =====*/ - - _percent: 0, - _startRepeatCount: 0, - - _fire: function(/*Event*/ evt, /*Array?*/ args){ - // summary: - // Convenience function. Fire event "evt" and pass it the - // arguments specified in "args". - // evt: - // The event to fire. - // args: - // The arguments to pass to the event. - try{ - if(this[evt]){ - this[evt].apply(this, args||[]); - } - }catch(e){ - // squelch and log because we shouldn't allow exceptions in - // synthetic event handlers to cause the internal timer to run - // amuck, potentially pegging the CPU. I'm not a fan of this - // squelch, but hopefully logging will make it clear what's - // going on - console.error("exception in animation handler for:", evt); - console.error(e); - } - return this; // dojo._Animation - }, - - play: function(/*int?*/ delay, /*Boolean?*/ gotoStart){ - // summary: - // Start the animation. - // delay: - // How many milliseconds to delay before starting. - // gotoStart: - // If true, starts the animation from the beginning; otherwise, - // starts it from its current position. - var _t = this; - if(gotoStart){ - _t._stopTimer(); - _t._active = _t._paused = false; - _t._percent = 0; - }else if(_t._active && !_t._paused){ - return _t; // dojo._Animation - } - - _t._fire("beforeBegin"); - - var de = delay||_t.delay; - var _p = dojo.hitch(_t, "_play", gotoStart); - if(de > 0){ - setTimeout(_p, de); - return _t; // dojo._Animation - } - _p(); - return _t; - }, - - _play: function(gotoStart){ - var _t = this; - _t._startTime = new Date().valueOf(); - if(_t._paused){ - _t._startTime -= _t.duration * _t._percent; - } - _t._endTime = _t._startTime + _t.duration; - - _t._active = true; - _t._paused = false; - - var value = _t.curve.getValue(_t._percent); - if(!_t._percent){ - if(!_t._startRepeatCount){ - _t._startRepeatCount = _t.repeat; - } - _t._fire("onBegin", [value]); - } - - _t._fire("onPlay", [value]); - - _t._cycle(); - return _t; // dojo._Animation - }, - - pause: function(){ - // summary: Pauses a running animation. - this._stopTimer(); - if(!this._active){ return this; /*dojo._Animation*/ } - this._paused = true; - this._fire("onPause", [this.curve.getValue(this._percent)]); - return this; // dojo._Animation - }, - - gotoPercent: function(/*Decimal*/ percent, /*Boolean?*/ andPlay){ - // summary: - // Sets the progress of the animation. - // percent: - // A percentage in decimal notation (between and including 0.0 and 1.0). - // andPlay: - // If true, play the animation after setting the progress. - this._stopTimer(); - this._active = this._paused = true; - this._percent = percent; - if(andPlay){ this.play(); } - return this; // dojo._Animation - }, - - stop: function(/*boolean?*/ gotoEnd){ - // summary: Stops a running animation. - // gotoEnd: If true, the animation will end. - if(!this._timer){ return this; /* dojo._Animation */ } - this._stopTimer(); - if(gotoEnd){ - this._percent = 1; - } - this._fire("onStop", [this.curve.getValue(this._percent)]); - this._active = this._paused = false; - return this; // dojo._Animation - }, - - status: function(){ - // summary: Returns a string token representation of the status of - // the animation, one of: "paused", "playing", "stopped" - if(this._active){ - return this._paused ? "paused" : "playing"; // String - } - return "stopped"; // String - }, - - _cycle: function(){ - var _t = this; - if(_t._active){ - var curr = new Date().valueOf(); - var step = (curr - _t._startTime) / (_t._endTime - _t._startTime); - - if(step >= 1){ - step = 1; - } - _t._percent = step; - - // Perform easing - if(_t.easing){ - step = _t.easing(step); - } - - _t._fire("onAnimate", [_t.curve.getValue(step)]); - - if(_t._percent < 1){ - _t._startTimer(); - }else{ - _t._active = false; - - if(_t.repeat > 0){ - _t.repeat--; - _t.play(null, true); - }else if(_t.repeat == -1){ - _t.play(null, true); - }else{ - if(_t._startRepeatCount){ - _t.repeat = _t._startRepeatCount; - _t._startRepeatCount = 0; - } - } - _t._percent = 0; - _t._fire("onEnd"); - _t._stopTimer(); - } - } - return _t; // dojo._Animation - } - }); - - var ctr = 0; - var _globalTimerList = []; - var runner = { - run: function(){ } - }; - var timer = null; - dojo._Animation.prototype._startTimer = function(){ - // this._timer = setTimeout(dojo.hitch(this, "_cycle"), this.rate); - if(!this._timer){ - this._timer = d.connect(runner, "run", this, "_cycle"); - ctr++; - } - if(!timer){ - timer = setInterval(d.hitch(runner, "run"), this.rate); - } - }; - - dojo._Animation.prototype._stopTimer = function(){ - if(this._timer){ - d.disconnect(this._timer); - this._timer = null; - ctr--; - } - if(ctr <= 0){ - clearInterval(timer); - timer = null; - ctr = 0; - } - }; - - var _makeFadeable = (d.isIE) ? function(node){ - // only set the zoom if the "tickle" value would be the same as the - // default - var ns = node.style; - if(!ns.zoom.length && d.style(node, "zoom") == "normal"){ - // make sure the node "hasLayout" - // NOTE: this has been tested with larger and smaller user-set text - // sizes and works fine - ns.zoom = "1"; - // node.style.zoom = "normal"; - } - // don't set the width to auto if it didn't already cascade that way. - // We don't want to f anyones designs - if(!ns.width.length && d.style(node, "width") == "auto"){ - ns.width = "auto"; - } - } : function(){}; - - dojo._fade = function(/*Object*/ args){ - // summary: - // Returns an animation that will fade the node defined by - // args.node from the start to end values passed (args.start - // args.end) (end is mandatory, start is optional) - - args.node = d.byId(args.node); - var fArgs = d.mixin({ properties: {} }, args); - var props = (fArgs.properties.opacity = {}); - props.start = !("start" in fArgs) ? - function(){ - return Number(d.style(fArgs.node, "opacity")); - } : fArgs.start; - props.end = fArgs.end; - - var anim = d.animateProperty(fArgs); - d.connect(anim, "beforeBegin", d.partial(_makeFadeable, fArgs.node)); - - return anim; // dojo._Animation - } - - /*===== - dojo.__FadeArgs = function(node, duration, easing){ - // node: DOMNode|String - // The node referenced in the animation - // duration: Integer? - // Duration of the animation in milliseconds. - // easing: Function? - // An easing function. - this.node = node; - this.duration = duration; - this.easing = easing; - } - =====*/ - - dojo.fadeIn = function(/*dojo.__FadeArgs*/ args){ - // summary: - // Returns an animation that will fade node defined in 'args' from - // its current opacity to fully opaque. - return d._fade(d.mixin({ end: 1 }, args)); // dojo._Animation - } - - dojo.fadeOut = function(/*dojo.__FadeArgs*/ args){ - // summary: - // Returns an animation that will fade node defined in 'args' - // from its current opacity to fully transparent. - return d._fade(d.mixin({ end: 0 }, args)); // dojo._Animation - } - - dojo._defaultEasing = function(/*Decimal?*/ n){ - // summary: The default easing function for dojo._Animation(s) - return 0.5 + ((Math.sin((n + 1.5) * Math.PI))/2); - } - - var PropLine = function(properties){ - // PropLine is an internal class which is used to model the values of - // an a group of CSS properties across an animation lifecycle. In - // particular, the "getValue" function handles getting interpolated - // values between start and end for a particular CSS value. - this._properties = properties; - for(var p in properties){ - var prop = properties[p]; - if(prop.start instanceof d.Color){ - // create a reusable temp color object to keep intermediate results - prop.tempColor = new d.Color(); - } - } - this.getValue = function(r){ - var ret = {}; - for(var p in this._properties){ - var prop = this._properties[p]; - var start = prop.start; - if(start instanceof d.Color){ - ret[p] = d.blendColors(start, prop.end, r, prop.tempColor).toCss(); - }else if(!d.isArray(start)){ - ret[p] = ((prop.end - start) * r) + start + (p != "opacity" ? prop.units||"px" : ""); - } - } - return ret; - } - } - - /*===== - dojo.declare("dojo.__AnimArgs", [dojo.__FadeArgs], { - // Properties: Object? - // A hash map of style properties to Objects describing the transition, - // such as the properties of dojo._Line with an additional 'unit' property - properties: {} - - //TODOC: add event callbacks - }); - =====*/ - - dojo.animateProperty = function(/*dojo.__AnimArgs*/ args){ - // summary: - // Returns an animation that will transition the properties of - // node defined in 'args' depending how they are defined in - // 'args.properties' - // - // description: - // dojo.animateProperty is the foundation of most dojo.fx - // animations. It takes an object of "properties" corresponding to - // style properties, and animates them in parallel over a set - // duration. - // - // example: - // A simple animation that changes the width of the specified node. - // | dojo.animateProperty({ - // | node: "nodeId", - // | properties: { width: 400 }, - // | }).play(); - // Dojo figures out the start value for the width and converts the - // integer specified for the width to the more expressive but - // verbose form `{ width: { end: '400', units: 'px' } }` which you - // can also specify directly - // example: - // animate width, height, and padding over 2 seconds...the - // pedantic way: - // | dojo.animateProperty({ node: node, duration:2000, - // | properties: { - // | width: { start: '200', end: '400', unit:"px" }, - // | height: { start:'200', end: '400', unit:"px" }, - // | paddingTop: { start:'5', end:'50', unit:"px" } - // | } - // | }).play(); - // - // example: - // plug in a different easing function and register a callback for - // when the animation ends. Easing functions accept values between - // zero and one and return a value on that basis. In this case, an - // exponential-in curve. - // | dojo.animateProperty({ - // | node: "nodeId", - // | // dojo figures out the start value - // | properties: { width: { end: 400 } }, - // | easing: function(n){ - // | return (n==0) ? 0 : Math.pow(2, 10 * (n - 1)); - // | }, - // | onEnd: function(){ - // | // called when the animation finishes - // | } - // | }).play(500); // delay playing half a second - - args.node = d.byId(args.node); - if(!args.easing){ args.easing = d._defaultEasing; } - - var anim = new d._Animation(args); - d.connect(anim, "beforeBegin", anim, function(){ - var pm = {}; - for(var p in this.properties){ - // Make shallow copy of properties into pm because we overwrite - // some values below. In particular if start/end are functions - // we don't want to overwrite them or the functions won't be - // called if the animation is reused. - if(p == "width" || p == "height"){ - this.node.display = "block"; - } - var prop = this.properties[p]; - prop = pm[p] = d.mixin({}, (d.isObject(prop) ? prop: { end: prop })); - - if(d.isFunction(prop.start)){ - prop.start = prop.start(); - } - if(d.isFunction(prop.end)){ - prop.end = prop.end(); - } - var isColor = (p.toLowerCase().indexOf("color") >= 0); - function getStyle(node, p){ - // dojo.style(node, "height") can return "auto" or "" on IE; this is more reliable: - var v = ({height: node.offsetHeight, width: node.offsetWidth})[p]; - if(v !== undefined){ return v; } - v = d.style(node, p); - return (p=="opacity") ? Number(v) : (isColor ? v : parseFloat(v)); - } - if(!("end" in prop)){ - prop.end = getStyle(this.node, p); - }else if(!("start" in prop)){ - prop.start = getStyle(this.node, p); - } - - if(isColor){ - prop.start = new d.Color(prop.start); - prop.end = new d.Color(prop.end); - }else{ - prop.start = (p == "opacity") ? Number(prop.start) : parseFloat(prop.start); - } - } - this.curve = new PropLine(pm); - }); - d.connect(anim, "onAnimate", anim, function(propValues){ - // try{ - for(var s in propValues){ - d.style(this.node, s, propValues[s]); - // this.node.style[s] = propValues[s]; - } - }); - return anim; // dojo._Animation - } - - dojo.anim = function( /*DOMNode|String*/ node, - /*Object*/ properties, - /*Integer?*/ duration, - /*Function?*/ easing, - /*Function?*/ onEnd, - /*Integer?*/ delay){ - // summary: - // A simpler interface to `dojo.animateProperty()`, also returns - // an instance of `dojo._Animation` but begins the animation - // immediately, unlike nearly every other Dojo animation API. - // description: - // `dojo.anim` is a simpler (but somewhat less powerful) version - // of `dojo.animateProperty`. It uses defaults for many basic properties - // and allows for positional parameters to be used in place of the - // packed "property bag" which is used for other Dojo animation - // methods. - // - // The `dojo._Animation` object returned from `dojo.anim` will be - // already playing when it is returned from this function, so - // calling play() on it again is (usually) a no-op. - // node: - // a DOM node or the id of a node to animate CSS properties on - // duration: - // The number of milliseconds over which the animation - // should run. Defaults to the global animation default duration - // (350ms). - // easing: - // An easing function over which to calculate acceleration - // and deceleration of the animation through its duration. - // A default easing algorithm is provided, but you may - // plug in any you wish. A large selection of easing algorithms - // are available in `dojox.fx.easing`. - // onEnd: - // A function to be called when the animation finishes - // running. - // delay: - // The number of milliseconds to delay beginning the - // animation by. The default is 0. - // example: - // Fade out a node - // | dojo.anim("id", { opacity: 0 }); - // example: - // Fade out a node over a full second - // | dojo.anim("id", { opacity: 0 }, 1000); - return d.animateProperty({ - node: node, - duration: duration||d._Animation.prototype.duration, - properties: properties, - easing: easing, - onEnd: onEnd - }).play(delay||0); - } -})(); - -} - -if(!dojo._hasResource["dojo._base.browser"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.browser"] = true; -dojo.provide("dojo._base.browser"); - - - - - - - - - -//Need this to be the last code segment in base, so do not place any -//dojo.requireIf calls in this file. Otherwise, due to how the build system -//puts all requireIf dependencies after the current file, the require calls -//could be called before all of base is defined. -if(dojo.config.require){ - dojo.forEach(dojo.config.require, "dojo['require'](item);"); -} - -} - - - if(dojo.config.afterOnLoad && dojo.isBrowser){ - //Dojo is being added to the page after page load, so just trigger - //the init sequence after a timeout. Using a timeout so the rest of this - //script gets evaluated properly. This work needs to happen after the - //dojo.config.require work done in dojo._base. - window.setTimeout(dojo._fakeLoadInit, 1000); - } - -})(); - diff --git a/includes/js/dojo/fx.js b/includes/js/dojo/fx.js deleted file mode 100644 index 1473531..0000000 --- a/includes/js/dojo/fx.js +++ /dev/null @@ -1,415 +0,0 @@ -if(!dojo._hasResource["dojo.fx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.fx"] = true; -dojo.provide("dojo.fx"); -dojo.provide("dojo.fx.Toggler"); - -/*===== -dojo.fx = { - // summary: Effects library on top of Base animations -}; -=====*/ - -(function(){ - var _baseObj = { - _fire: function(evt, args){ - if(this[evt]){ - this[evt].apply(this, args||[]); - } - return this; - } - }; - - var _chain = function(animations){ - this._index = -1; - this._animations = animations||[]; - this._current = this._onAnimateCtx = this._onEndCtx = null; - - this.duration = 0; - dojo.forEach(this._animations, function(a){ - this.duration += a.duration; - if(a.delay){ this.duration += a.delay; } - }, this); - }; - dojo.extend(_chain, { - _onAnimate: function(){ - this._fire("onAnimate", arguments); - }, - _onEnd: function(){ - dojo.disconnect(this._onAnimateCtx); - dojo.disconnect(this._onEndCtx); - this._onAnimateCtx = this._onEndCtx = null; - if(this._index + 1 == this._animations.length){ - this._fire("onEnd"); - }else{ - // switch animations - this._current = this._animations[++this._index]; - this._onAnimateCtx = dojo.connect(this._current, "onAnimate", this, "_onAnimate"); - this._onEndCtx = dojo.connect(this._current, "onEnd", this, "_onEnd"); - this._current.play(0, true); - } - }, - play: function(/*int?*/ delay, /*Boolean?*/ gotoStart){ - if(!this._current){ this._current = this._animations[this._index = 0]; } - if(!gotoStart && this._current.status() == "playing"){ return this; } - var beforeBegin = dojo.connect(this._current, "beforeBegin", this, function(){ - this._fire("beforeBegin"); - }), - onBegin = dojo.connect(this._current, "onBegin", this, function(arg){ - this._fire("onBegin", arguments); - }), - onPlay = dojo.connect(this._current, "onPlay", this, function(arg){ - this._fire("onPlay", arguments); - dojo.disconnect(beforeBegin); - dojo.disconnect(onBegin); - dojo.disconnect(onPlay); - }); - if(this._onAnimateCtx){ - dojo.disconnect(this._onAnimateCtx); - } - this._onAnimateCtx = dojo.connect(this._current, "onAnimate", this, "_onAnimate"); - if(this._onEndCtx){ - dojo.disconnect(this._onEndCtx); - } - this._onEndCtx = dojo.connect(this._current, "onEnd", this, "_onEnd"); - this._current.play.apply(this._current, arguments); - return this; - }, - pause: function(){ - if(this._current){ - var e = dojo.connect(this._current, "onPause", this, function(arg){ - this._fire("onPause", arguments); - dojo.disconnect(e); - }); - this._current.pause(); - } - return this; - }, - gotoPercent: function(/*Decimal*/percent, /*Boolean?*/ andPlay){ - this.pause(); - var offset = this.duration * percent; - this._current = null; - dojo.some(this._animations, function(a){ - if(a.duration <= offset){ - this._current = a; - return true; - } - offset -= a.duration; - return false; - }); - if(this._current){ - this._current.gotoPercent(offset / _current.duration, andPlay); - } - return this; - }, - stop: function(/*boolean?*/ gotoEnd){ - if(this._current){ - if(gotoEnd){ - for(; this._index + 1 < this._animations.length; ++this._index){ - this._animations[this._index].stop(true); - } - this._current = this._animations[this._index]; - } - var e = dojo.connect(this._current, "onStop", this, function(arg){ - this._fire("onStop", arguments); - dojo.disconnect(e); - }); - this._current.stop(); - } - return this; - }, - status: function(){ - return this._current ? this._current.status() : "stopped"; - }, - destroy: function(){ - if(this._onAnimateCtx){ dojo.disconnect(this._onAnimateCtx); } - if(this._onEndCtx){ dojo.disconnect(this._onEndCtx); } - } - }); - dojo.extend(_chain, _baseObj); - - dojo.fx.chain = function(/*dojo._Animation[]*/ animations){ - // summary: Chain a list of dojo._Animation s to run in sequence - // example: - // | dojo.fx.chain([ - // | dojo.fadeIn({ node:node }), - // | dojo.fadeOut({ node:otherNode }) - // | ]).play(); - // - return new _chain(animations) // dojo._Animation - }; - - var _combine = function(animations){ - this._animations = animations||[]; - this._connects = []; - this._finished = 0; - - this.duration = 0; - dojo.forEach(animations, function(a){ - var duration = a.duration; - if(a.delay){ duration += a.delay; } - if(this.duration < duration){ this.duration = duration; } - this._connects.push(dojo.connect(a, "onEnd", this, "_onEnd")); - }, this); - - this._pseudoAnimation = new dojo._Animation({curve: [0, 1], duration: this.duration}); - dojo.forEach(["beforeBegin", "onBegin", "onPlay", "onAnimate", "onPause", "onStop"], - function(evt){ - this._connects.push(dojo.connect(this._pseudoAnimation, evt, dojo.hitch(this, "_fire", evt))); - }, - this - ); - }; - dojo.extend(_combine, { - _doAction: function(action, args){ - dojo.forEach(this._animations, function(a){ - a[action].apply(a, args); - }); - return this; - }, - _onEnd: function(){ - if(++this._finished == this._animations.length){ - this._fire("onEnd"); - } - }, - _call: function(action, args){ - var t = this._pseudoAnimation; - t[action].apply(t, args); - }, - play: function(/*int?*/ delay, /*Boolean?*/ gotoStart){ - this._finished = 0; - this._doAction("play", arguments); - this._call("play", arguments); - return this; - }, - pause: function(){ - this._doAction("pause", arguments); - this._call("pause", arguments); - return this; - }, - gotoPercent: function(/*Decimal*/percent, /*Boolean?*/ andPlay){ - var ms = this.duration * percent; - dojo.forEach(this._animations, function(a){ - a.gotoPercent(a.duration < ms ? 1 : (ms / a.duration), andPlay); - }); - this._call("gotoProcent", arguments); - return this; - }, - stop: function(/*boolean?*/ gotoEnd){ - this._doAction("stop", arguments); - this._call("stop", arguments); - return this; - }, - status: function(){ - return this._pseudoAnimation.status(); - }, - destroy: function(){ - dojo.forEach(this._connects, dojo.disconnect); - } - }); - dojo.extend(_combine, _baseObj); - - dojo.fx.combine = function(/*dojo._Animation[]*/ animations){ - // summary: Combine a list of dojo._Animation s to run in parallel - // example: - // | dojo.fx.combine([ - // | dojo.fadeIn({ node:node }), - // | dojo.fadeOut({ node:otherNode }) - // | ]).play(); - return new _combine(animations); // dojo._Animation - }; -})(); - -dojo.declare("dojo.fx.Toggler", null, { - // summary: - // class constructor for an animation toggler. It accepts a packed - // set of arguments about what type of animation to use in each - // direction, duration, etc. - // - // example: - // | var t = new dojo.fx.Toggler({ - // | node: "nodeId", - // | showDuration: 500, - // | // hideDuration will default to "200" - // | showFunc: dojo.wipeIn, - // | // hideFunc will default to "fadeOut" - // | }); - // | t.show(100); // delay showing for 100ms - // | // ...time passes... - // | t.hide(); - - // FIXME: need a policy for where the toggler should "be" the next - // time show/hide are called if we're stopped somewhere in the - // middle. - - constructor: function(args){ - var _t = this; - - dojo.mixin(_t, args); - _t.node = args.node; - _t._showArgs = dojo.mixin({}, args); - _t._showArgs.node = _t.node; - _t._showArgs.duration = _t.showDuration; - _t.showAnim = _t.showFunc(_t._showArgs); - - _t._hideArgs = dojo.mixin({}, args); - _t._hideArgs.node = _t.node; - _t._hideArgs.duration = _t.hideDuration; - _t.hideAnim = _t.hideFunc(_t._hideArgs); - - dojo.connect(_t.showAnim, "beforeBegin", dojo.hitch(_t.hideAnim, "stop", true)); - dojo.connect(_t.hideAnim, "beforeBegin", dojo.hitch(_t.showAnim, "stop", true)); - }, - - // node: DomNode - // the node to toggle - node: null, - - // showFunc: Function - // The function that returns the dojo._Animation to show the node - showFunc: dojo.fadeIn, - - // hideFunc: Function - // The function that returns the dojo._Animation to hide the node - hideFunc: dojo.fadeOut, - - // showDuration: - // Time in milliseconds to run the show Animation - showDuration: 200, - - // hideDuration: - // Time in milliseconds to run the hide Animation - hideDuration: 200, - - /*===== - _showArgs: null, - _showAnim: null, - - _hideArgs: null, - _hideAnim: null, - - _isShowing: false, - _isHiding: false, - =====*/ - - show: function(delay){ - // summary: Toggle the node to showing - return this.showAnim.play(delay || 0); - }, - - hide: function(delay){ - // summary: Toggle the node to hidden - return this.hideAnim.play(delay || 0); - } -}); - -dojo.fx.wipeIn = function(/*Object*/ args){ - // summary - // Returns an animation that will expand the - // node defined in 'args' object from it's current height to - // it's natural height (with no scrollbar). - // Node must have no margin/border/padding. - args.node = dojo.byId(args.node); - var node = args.node, s = node.style; - - var anim = dojo.animateProperty(dojo.mixin({ - properties: { - height: { - // wrapped in functions so we wait till the last second to query (in case value has changed) - start: function(){ - // start at current [computed] height, but use 1px rather than 0 - // because 0 causes IE to display the whole panel - s.overflow="hidden"; - if(s.visibility=="hidden"||s.display=="none"){ - s.height="1px"; - s.display=""; - s.visibility=""; - return 1; - }else{ - var height = dojo.style(node, "height"); - return Math.max(height, 1); - } - }, - end: function(){ - return node.scrollHeight; - } - } - } - }, args)); - - dojo.connect(anim, "onEnd", function(){ - s.height = "auto"; - }); - - return anim; // dojo._Animation -} - -dojo.fx.wipeOut = function(/*Object*/ args){ - // summary - // Returns an animation that will shrink node defined in "args" - // from it's current height to 1px, and then hide it. - var node = args.node = dojo.byId(args.node); - var s = node.style; - - var anim = dojo.animateProperty(dojo.mixin({ - properties: { - height: { - end: 1 // 0 causes IE to display the whole panel - } - } - }, args)); - - dojo.connect(anim, "beforeBegin", function(){ - s.overflow = "hidden"; - s.display = ""; - }); - dojo.connect(anim, "onEnd", function(){ - s.height = "auto"; - s.display = "none"; - }); - - return anim; // dojo._Animation -} - -dojo.fx.slideTo = function(/*Object?*/ args){ - // summary - // Returns an animation that will slide "node" - // defined in args Object from its current position to - // the position defined by (args.left, args.top). - // example: - // | dojo.fx.slideTo({ node: node, left:"40", top:"50", unit:"px" }).play() - - var node = (args.node = dojo.byId(args.node)); - - var top = null; - var left = null; - - var init = (function(n){ - return function(){ - var cs = dojo.getComputedStyle(n); - var pos = cs.position; - top = (pos == 'absolute' ? n.offsetTop : parseInt(cs.top) || 0); - left = (pos == 'absolute' ? n.offsetLeft : parseInt(cs.left) || 0); - if(pos != 'absolute' && pos != 'relative'){ - var ret = dojo.coords(n, true); - top = ret.y; - left = ret.x; - n.style.position="absolute"; - n.style.top=top+"px"; - n.style.left=left+"px"; - } - }; - })(node); - init(); - - var anim = dojo.animateProperty(dojo.mixin({ - properties: { - top: { end: args.top||0 }, - left: { end: args.left||0 } - } - }, args)); - dojo.connect(anim, "beforeBegin", anim, init); - - return anim; // dojo._Animation -} - -} diff --git a/includes/js/dojo/i18n.js b/includes/js/dojo/i18n.js deleted file mode 100644 index 6f417b3..0000000 --- a/includes/js/dojo/i18n.js +++ /dev/null @@ -1,249 +0,0 @@ -if(!dojo._hasResource["dojo.i18n"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.i18n"] = true; -dojo.provide("dojo.i18n"); - -/*===== -dojo.i18n = { - // summary: Utility classes to enable loading of resources for internationalization (i18n) -}; -=====*/ - -dojo.i18n.getLocalization = function(/*String*/packageName, /*String*/bundleName, /*String?*/locale){ - // summary: - // Returns an Object containing the localization for a given resource - // bundle in a package, matching the specified locale. - // description: - // Returns a hash containing name/value pairs in its prototypesuch - // that values can be easily overridden. Throws an exception if the - // bundle is not found. Bundle must have already been loaded by - // `dojo.requireLocalization()` or by a build optimization step. NOTE: - // try not to call this method as part of an object property - // definition (`var foo = { bar: dojo.i18n.getLocalization() }`). In - // some loading situations, the bundle may not be available in time - // for the object definition. Instead, call this method inside a - // function that is run after all modules load or the page loads (like - // in `dojo.addOnLoad()`), or in a widget lifecycle method. - // packageName: - // package which is associated with this resource - // bundleName: - // the base filename of the resource bundle (without the ".js" suffix) - // locale: - // the variant to load (optional). By default, the locale defined by - // the host environment: dojo.locale - - locale = dojo.i18n.normalizeLocale(locale); - - // look for nearest locale match - var elements = locale.split('-'); - var module = [packageName,"nls",bundleName].join('.'); - var bundle = dojo._loadedModules[module]; - if(bundle){ - var localization; - for(var i = elements.length; i > 0; i--){ - var loc = elements.slice(0, i).join('_'); - if(bundle[loc]){ - localization = bundle[loc]; - break; - } - } - if(!localization){ - localization = bundle.ROOT; - } - - // make a singleton prototype so that the caller won't accidentally change the values globally - if(localization){ - var clazz = function(){}; - clazz.prototype = localization; - return new clazz(); // Object - } - } - - throw new Error("Bundle not found: " + bundleName + " in " + packageName+" , locale=" + locale); -}; - -dojo.i18n.normalizeLocale = function(/*String?*/locale){ - // summary: - // Returns canonical form of locale, as used by Dojo. - // - // description: - // All variants are case-insensitive and are separated by '-' as specified in [RFC 3066](http://www.ietf.org/rfc/rfc3066.txt). - // If no locale is specified, the dojo.locale is returned. dojo.locale is defined by - // the user agent's locale unless overridden by djConfig. - - var result = locale ? locale.toLowerCase() : dojo.locale; - if(result == "root"){ - result = "ROOT"; - } - return result; // String -}; - -dojo.i18n._requireLocalization = function(/*String*/moduleName, /*String*/bundleName, /*String?*/locale, /*String?*/availableFlatLocales){ - // summary: - // See dojo.requireLocalization() - // description: - // Called by the bootstrap, but factored out so that it is only - // included in the build when needed. - - var targetLocale = dojo.i18n.normalizeLocale(locale); - var bundlePackage = [moduleName, "nls", bundleName].join("."); - // NOTE: - // When loading these resources, the packaging does not match what is - // on disk. This is an implementation detail, as this is just a - // private data structure to hold the loaded resources. e.g. - // `tests/hello/nls/en-us/salutations.js` is loaded as the object - // `tests.hello.nls.salutations.en_us={...}` The structure on disk is - // intended to be most convenient for developers and translators, but - // in memory it is more logical and efficient to store in a different - // order. Locales cannot use dashes, since the resulting path will - // not evaluate as valid JS, so we translate them to underscores. - - //Find the best-match locale to load if we have available flat locales. - var bestLocale = ""; - if(availableFlatLocales){ - var flatLocales = availableFlatLocales.split(","); - for(var i = 0; i < flatLocales.length; i++){ - //Locale must match from start of string. - if(targetLocale.indexOf(flatLocales[i]) == 0){ - if(flatLocales[i].length > bestLocale.length){ - bestLocale = flatLocales[i]; - } - } - } - if(!bestLocale){ - bestLocale = "ROOT"; - } - } - - //See if the desired locale is already loaded. - var tempLocale = availableFlatLocales ? bestLocale : targetLocale; - var bundle = dojo._loadedModules[bundlePackage]; - var localizedBundle = null; - if(bundle){ - if(dojo.config.localizationComplete && bundle._built){return;} - var jsLoc = tempLocale.replace(/-/g, '_'); - var translationPackage = bundlePackage+"."+jsLoc; - localizedBundle = dojo._loadedModules[translationPackage]; - } - - if(!localizedBundle){ - bundle = dojo["provide"](bundlePackage); - var syms = dojo._getModuleSymbols(moduleName); - var modpath = syms.concat("nls").join("/"); - var parent; - - dojo.i18n._searchLocalePath(tempLocale, availableFlatLocales, function(loc){ - var jsLoc = loc.replace(/-/g, '_'); - var translationPackage = bundlePackage + "." + jsLoc; - var loaded = false; - if(!dojo._loadedModules[translationPackage]){ - // Mark loaded whether it's found or not, so that further load attempts will not be made - dojo["provide"](translationPackage); - var module = [modpath]; - if(loc != "ROOT"){module.push(loc);} - module.push(bundleName); - var filespec = module.join("/") + '.js'; - loaded = dojo._loadPath(filespec, null, function(hash){ - // Use singleton with prototype to point to parent bundle, then mix-in result from loadPath - var clazz = function(){}; - clazz.prototype = parent; - bundle[jsLoc] = new clazz(); - for(var j in hash){ bundle[jsLoc][j] = hash[j]; } - }); - }else{ - loaded = true; - } - if(loaded && bundle[jsLoc]){ - parent = bundle[jsLoc]; - }else{ - bundle[jsLoc] = parent; - } - - if(availableFlatLocales){ - //Stop the locale path searching if we know the availableFlatLocales, since - //the first call to this function will load the only bundle that is needed. - return true; - } - }); - } - - //Save the best locale bundle as the target locale bundle when we know the - //the available bundles. - if(availableFlatLocales && targetLocale != bestLocale){ - bundle[targetLocale.replace(/-/g, '_')] = bundle[bestLocale.replace(/-/g, '_')]; - } -}; - -(function(){ - // If other locales are used, dojo.requireLocalization should load them as - // well, by default. - // - // Override dojo.requireLocalization to do load the default bundle, then - // iterate through the extraLocale list and load those translations as - // well, unless a particular locale was requested. - - var extra = dojo.config.extraLocale; - if(extra){ - if(!extra instanceof Array){ - extra = [extra]; - } - - var req = dojo.i18n._requireLocalization; - dojo.i18n._requireLocalization = function(m, b, locale, availableFlatLocales){ - req(m,b,locale, availableFlatLocales); - if(locale){return;} - for(var i=0; i 0; i--){ - searchlist.push(elements.slice(0, i).join('-')); - } - searchlist.push(false); - if(down){searchlist.reverse();} - - for(var j = searchlist.length - 1; j >= 0; j--){ - var loc = searchlist[j] || "ROOT"; - var stop = searchFunc(loc); - if(stop){ break; } - } -}; - -dojo.i18n._preloadLocalizations = function(/*String*/bundlePrefix, /*Array*/localesGenerated){ - // summary: - // Load built, flattened resource bundles, if available for all - // locales used in the page. Only called by built layer files. - - function preload(locale){ - locale = dojo.i18n.normalizeLocale(locale); - dojo.i18n._searchLocalePath(locale, true, function(loc){ - for(var i=0; i
          ]]> - - - 1 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Dojo Demo Engine Update]]> - - http://shaneosullivan.wordpress.com/2008/01/07/dojo-demo-engine-update/ - 2008-01-12T13:22:38Z - 2008-01-07T01:02:43Z - -

          A short while ago I posted about the demo engine I’m writing for the Dojo Ajax Toolkit. Click here to read that post or go to http://www.skynet.ie/~sos/js/demo/dojo/dojoc/demos/featureexplorer.html to see it in action.

          - -

          Features

          -

          Since that post, quite a lot of work has gone into both the features and the content of the demo engine, and the development process has solidified nicely. Some of the features include:

          -
            -
          • Tree navigation. A dijit.Tree widget, reading from a remote JSON data store is used to navigate the various demos.
          • -
          • Search feature. A dijit.form.ComboBox widget, reading from the same JSON data store as the tree, can be used to dynamically search for demos by matching any part of their name.
          • - -
          • Theme switcher. A dijit.form.ComboBox widget is used to switch between the CSS styles that Dojo provides.
          • -
          • URL addressability. Using a hash identifier (e.g. #Dojo_Query_By%20Class) in the URL of the demo engine causes it to open that demo when it has finished loading. For example, if you click this link, it will open the dojo.query demo showing you how to select nodes by class name. Opening any demo changes the URL in the browser to the URL for that demo, for easy bookmarking.
          • - -
          • Integrated build process. A simple build script is integrated with the Dojo build process. It builds a JSON data file listing all the existing demos and their respective files. It also builds files with URL links for each demo.
          • -
          -

          Content

          -

          To date, a lot of content has been added. Many, many widgets in Dijit and DojoX
          -
          have have been added, including the majority of the Form Controls.

          - -

          The latest, pretty cool additions have been the IO and dojo.query demos. These cover things such as:

          -
            -
          • Performing a XMLHttpRequest request
          • -
          • Using an iFrame transport
          • -
          • Submitting a form asynchronously
          • -
          • Loading remote JavaScript files from another domain
          • -
          • Selecting nodes using CSS selectors with dojo.query
          • - -
          • Performing operations on the NodeList returned from dojo.query
          • -
          • Attaching events to the NodeList returned from dojo.query
          • -
          -

          File Naming Scheme
          -A simple file naming scheme is used to add content to the demo framework. Each folder beneath the root folder represents a demo. Each file in a folder must be named the same as the folder, with five possible extensions. For example, given a folder with the name ‘Button‘, the possible files are:

          -
            - -
          • Button.html - this contains the demo to be displayed. Any JavaScript code inside <script> tags is executed, and any <link type=”text/css”> and <style> tags have their CSS loaded. The executed code is shown in the View tab, and and the source code is shown in the XML tab. The <html>, <head> and <body> tags are not required.
          • - -
          • Button.js - this contains pure JavaScript code that performs the same operations as Button.html, if applicable. It is not executed however. It is shown in the JS tab.
          • -
          • Button.txt - this contains the text description of the demo. It is loaded above the tabs.
          • -
          • Button.links - this contains a JSON array of URL links. The build script transforms these links into HTML, and the result is loaded into the Links tab. One neat feature of this is that all links from sub folders are integrated with the parent folder and displayed in a nested structure. Do, for example, clicking on Dijit will show all the links for all widgets in the Dijit project.
          • - -
          • Button.full.html - this is standalone demo, that is designed to run outside the demo engine. The View tab provides a link to the external file.
          • -
          • sort.txt - this contains a comma separated list of the child folders contained in this folder. It specifies the order in which to display the child demos in the tree. If this file is not specified, then an alphabetical ordering is used.
          • -
          -

          All of these files are optional. If a file in a folder does not match this naming scheme, it is assumed to be some kind of resource that the demo needs, such as an image or a JSON data file. In this case, the file can be named whatever you like.

          -

          The tree structure in the demo engine mirrors the folder layout.

          - -

          Still To Do

          -

          There remains quite a lot of work ahead. There are a few bugs remaining, some more cross browser testing is needed, and of course more content is required, particularly the base Dojo package.

          -

          In the relatively near future this should be opened up to the public for development. The Dojo folks are setting up a source control server for community additions, and this demo engine should be part of that. Once that is done, people can start adding all sorts of cool stuff!
          -Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 3 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Navigating in an IE Modal Dialog]]> - - http://shaneosullivan.wordpress.com/2007/12/31/navigating-in-an-ie-modal-dialog/ - 2007-12-31T16:36:21Z - 2007-12-31T16:36:21Z - -

          Internet Explorer has a nice feature where a new window can be opened modally using the window.showModalDialog function, meaning that the page that opened it cannot be accessed until the new window is closed. This can be useful in many situations.

          - -

          However, the main limitation of IE Modal Dialogs (other than being non-standard), is that any hyperlink clicked in a modal dialog causes another, non modal, dialog to be opened, rather than opening the page linked to in the same window, as would happen in a normal pop up window.

          -

          The key to solving this problem is to note that a modal dialog only opens another window when a GET request is made, not when a POST request is made. However, an anchor tag automatically causes a GET request, so the solution is to:

          -
            -
          1. Catch the click on each anchor tag, cancel it,
          2. -
          3. Submit a dynamically created FORM element, with it’s method set to ‘POST’ and it’s action set to the URL of the link clicked.
          4. - -
          -

          While it is possible to put a listener on each anchor tag to achieve this, such an approach will not scale well. Instead, place a listener on the body tag. The example below is done using methods from the Dojo Ajax Toolkit, since that the toolkit I use the most, but you can of course use whatever methods you like to achieve the same result:

          -

          <script type="text/javascript">
          -dojo.addOnLoad(function(){
          -dojo.connect(dojo.body(), “onclick”, function(evt) {
          -if(evt.target.tagName != “A”) {return true;}
          -dojo.stopEvent(evt);
          -var form = document.createElement(”form”);
          -form.setAttribute(”target”, window.name ? window.name : “SrPopUp”);
          -form.setAttribute(”action”, url);
          -form.setAttribute(”method”,”POST”);
          -document.appendChild(form);
          -form.submit();
          -return false;
          -});
          -});
          - -</script>

          -

          This method assumes that you have control over the content of the page being shown in the modal dialog. It would also make sense to add a similar listener to the body tag for key events, as a user can trigger an anchor tag by tabbing to it and hitting enter.

          -

          Thanks to Danny Goodman and Steiner Overbeck Cook for coming up with this solution.
          -Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 1 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[A new Demo engine for Dojo]]> - - http://shaneosullivan.wordpress.com/2007/12/04/a-new-demo-engine-for-dojo/ - 2008-01-12T13:23:15Z - 2007-12-04T09:29:16Z - -

          A couple of weeks ago I saw a cool demo framework for an Ajax toolkit just released as open source. It’s a very slick implementation, with a tree listing all the various demos, and a tabbed area showing the implementation, and the widget in practice.

          - -

          So, I think to myself, this is exactly what the Dojo Ajax Toolkit is missing! Cut to today, and I’ve put the first rough cut at the demo framework on the web for people’s perusal. Check it out at http://www.skynet.ie/~sos/js/demo/dojo/dojoc/demos/featureexplorer.html .

          -

          Note: I have written a follow up post here.

          -

          Some of the features include:

          -
            - -
          • Tree navigation for the demos. Demos can be nested as deep as required.
          • -
          • View tab. This shows the widgets in action.
          • -
          • HTML tab. This shows how to instantiate the widget using HTML markup.
          • -
          • JS tab. This shows how to instantiate the widget using JavaScript code.
          • -
          • Links tab. This shows various hyperlinks to alternate content for that demo, e.g. the Dojo Book.
          • -
          • Demo description. Gives a text description of the demo.
          • -
          • Theme selector. This allows you to change from one CSS theme to another
          • -
          • Ability to link to standalone demos that open in a new page. This is useful for large demos that show the integration of many widgets together, and may not fit well within the demo framework itself. See the Dijit/Mail demo for an example of this.
          • - -
          • A build system that takes a very simple naming scheme for the demos, and creates a JSON data store that the framework runs off of. So, whenever a user adds a new demo, they simply have to re-run the build step, and that’s it! No need for a server side script, so you can run this right off your hard drive.
          • -
          -

          This is still very much beta code, and there are a couple of errors floating around, but those will of course be hunted down. There are also some Internet Explorer issues that I’ll get to soon, so try this in Firefox for now (update Dec 05 2007 - most of these have been solved, with one or two small bugs remaining). I’m in discussions to get this into the Dojo toolkit, so that the community at large can start adding in demos. I’ve put in quite a few already, but it’s so easy to do that this could become a huge resource for the Dojo community.

          -

          If you have any suggestions, please let me know.

          -

          Demo Framework
          - -Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 3 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Upgrading Ubuntu Feisty Fawn (7.04) to Gutsy Gibbon (7.10)]]> - - http://shaneosullivan.wordpress.com/2007/10/18/upgrading-ubuntu-feisty-fawn-704-to-gutsy-gibbon-710/ - 2008-01-12T10:26:42Z - 2007-10-18T16:11:37Z - -

          Today I’ve begun the process of upgrading my Ubuntu installation of version 7.04 to version 7.10. To see my previous tutorial of getting Ubuntu installed on my IBM Thinkpad X41, see http://shaneosullivan.wordpress.com/2007/02/16/installing-ubuntu-edgy-on-a-thinkpad-x41-tablet/.

          - -

          This post lists whatever issues I found when upgrading, and my solutions to them. For the official instructions, see https://help.ubuntu.com/community/GutsyUpgrades.

          -

          Third Party software sources cause problems

          -

          My first problem was caused by having links to third party software distribution sites. When running the “update-manager -d” command, I received an error, saying the dbus couldn’t run.

          -

          This was caused by having third party software sources enabled that no longer existed, for whatever reason.

          - -

          To fix this:

          -
            -
          1. click “System/Administration/Software Sources”
          2. -
          3. Click the “Third-Party Software” tab
          4. -
          5. Deselect any non-Ubuntu software sources. You can always reselect them after the upgrade
          6. - -
          -

          Modifying the software channels gets stuck

          -

          When the second step in the “Distribution Upgrade” application is running, that is, the “Modifying the software channels” step, it got stuck downloading files. It would say

          -

          Downloading file 36 of 97

          -

          and stay at that number for a long time. This was not a bandwidth issue, it simply stopped. To fix this

          -
            -
          1. Click the “Cancel” button.
          2. - -
          3. Run the “update-manager -d” command again.
          4. -
          5. Repeat this each time it gets stuck downloading files. I had to do this four times for it to work completely.
          6. -
          -

          Dual monitors didn’t work correctly

          -

          When booted up with an external monitor plugged in, the desktop was fixed at 640 * 480 pixels resolution. I found someone else with a similar issue at http://ubuntuforums.org/showthread.php?t=566947 , but their solution didn’t work for me. I solved this by:

          - -
            -
          1. Unplugging the monitor.
          2. -
          3. Restart the machine, and log in.
          4. -
          5. Click “System/Administration/Screens and Graphics
          6. -
          7. Click the “Graphics Card” tab.
          8. - -
          9. Click the “Driver” button
          10. -
          11. From the “Driver” dropdown list, choose “i810 - Intel Integrated Graphics Chipsets
          12. -
          13. Restart the machine.
          14. - -
          -

          Compiz has problems with dual monitors

          -

          Compiz (the 3D graphics stuff) causes problems and refuses to work at all if I am using dual monitors. Still working on this one.

          -

          Some Eclipse plug-ins no longer work

          -

          As a Java developer, I often use the Eclipse development platform. I include some non-standard plugins in the application, like plugins for Subversion support. However, when Ubuntu is upgraded to 7.10, the base Eclipse platform in upgraded, but not the non-standard plugins, which stops some of them from working.

          -

          Update: actually, this didn’t fix my Eclipse problems, please ignore :-)

          - -

          The solution is to upgrade the plugins in the usual Eclipse manner:

          -
            -
          1. Open Eclipse
          2. -
          3. Click Help/Software Updates/Find and Install
          4. -
          5. Click Finish
          6. -
          7. Wait a while…
          8. -
          - -

          Running low on disk space after upgrade

          -

          My laptop was running out of disk space after the install, as it downloaded quite a few packages. I found a very good blog post on how to clean up your Ubuntu install at http://www.ubuntugeek.com/cleaning-up-all-unnecessary-junk-files-in-ubuntu.html.

          -

          Make sure to read comment #7 also, that alone saved me 1GB.

          -

          Some Thinkpad features no longer work

          -

          I found that some things didn’t work that did work before, for example the stylus pen and the middle ’scroller’ button of the mouse. If this happens, just reapply the settings I describe here, as the upgrade removed them. This solved the problems for me.

          - -

          Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 25 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Introducing the new Dojo Image Widgets]]> - - http://shaneosullivan.wordpress.com/2007/10/13/introducing-the-new-dojo-image-widgets/ - 2008-01-08T11:23:13Z - 2007-10-13T11:09:13Z - - - - - - - - - - - - - - - - -

          In previous posts (here for the Dojo 0.4.3 version, here and here), I wrote how I wrote an image gallery for version 0.4.3 of the Dojo Ajax Toolkit, and how I was translating it for the latest version of the toolkit, version 1.0.

          - -

          Well, that work is now, finally, complete, and I have to say, I’m pretty damn happy with the results. The code is now part of the dojox.image project (dojox is the Dojo extensions project, for cool new code that may in the future make it into the core code base if enough people like/want it).

          -

          If you’d like to just see the gallery in action, have a look at the Photos page on my personal website, or see the links at the bottom of the post, otherwise, read on!

          -

          Update: changes have been made to the widgets since this post was written, resulting in some badly aligned images. This will be fixed in the next few days. (Oct 25th 2007)

          -

          Update: issue above has been fixed (Oct 29th 2007)

          - -

          All For One….

          -

          The gallery is composed of three widgets:

          -
            -
          • dojox.image.ThumbnailPicker - a widget to list many small images in either a horizontal or vertical orientation, scroll through them, and attach click events that other widgets can listen to
          • -
          • dojox.image.SlideShow - a widget that displays one image at a time, and can run a slideshow, changing the images every ‘x’ seconds.
          • -
          • dojox.image.Gallery - A wrapper around the ThumbnailPicker, and SlideShow widgets.
          • - -
          -

          Both the ThumbnailPicker and Slideshow widgets can also be used on their own, and have no dependencies on each other.
          -

          -

          Dojo Data Is Too Cool for School

          -

          One of the coolest features of all of these widgets is that they all feed off image data provided by the dojo.data API. What this basically means is that each widget can display images from any source, with no modification whatsoever. You simply pass it a Dojo data store, and is shows the pictures. Some of the data stores currently in the Dojo toolkit include:

          -
            -
          • dojo.data.ItemFileReadStore - pull in simple JSON data in an array. You could use this if you simply have a directory of images on your own web server you would like to display
          • -
          • dojox.data.FlickrRestStore (demo) - query the Flickr photo sharing website for images. This is all done on the browser, with no need for any server-side redirects. This is another of my additions to the Dojo toolkit - I love Flickr, feel free to check out my photo stream here. I previously wrote another blog post on this data store here.
          • - -
          • dojox.data.PicasaStore (demo) - query Google’s Picasa image sharing website for images. As with the Flickr data store, this is done on the browser, with no need for server side support.
          • -
          -

          and many more….. You can also write your own data store if you so desire, but the ones included in the toolkit should cover almost everything you might need.

          -

          Gimme, Gimme, Gimme!

          -

          So, how can I get this, you ask! Well, you can:

          - -

          Update: Dojo 1.0 is now released. Get it at http://www.dojotoolkit.org/downloads
          -As always, any and all feedback is welcome. Also, a big thanks to Peter Higgins, owner of the dojox.image project, and Jared Jurkiewicz, owner of the dojo.data project, for all their helpful ideas, and for reviewing/committing my code to the Dojo project.
          -Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 46 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Dojo Grid has landed]]> - - http://shaneosullivan.wordpress.com/2007/10/05/dojo-grid-has-landed/ - 2007-10-14T21:46:03Z - 2007-10-05T13:23:17Z - -

          The previously announced Dojo Grid has landed in source control, and is in the nightly builds. It has all sorts of fancy functionality, like support for lazy loading huge data sets, individual styling of rows and columns, inline editing etc.

          - -

          Check it out at http://archive.dojotoolkit.org/nightly/checkout/dojox/grid/tests/

          -

          Very cool stuff!

          -

          Update: The Sitepen guys have recently blogged about the grid at http://www.sitepen.com/blog/2007/10/13/dojo-grid-update/

          -

          Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 0 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[A TortoiseSVN replacement for Ubuntu]]> - - http://shaneosullivan.wordpress.com/2007/10/04/a-tortoisesvn-replacement-for-ubuntu/ - 2007-10-04T15:50:50Z - 2007-10-04T15:50:50Z - -

          I work on a number of open source projects, and many of them use the Subversion version control system to manage their code. Before my switch from Windows XP to Ubuntu Linux (which I am still ecstatically happy with btw), I became a big fan of TortoiseSVN, an extremely useful Subversion client that integrates itself directly into Windows Explorer.

          - -

          TortoiseSVN is simple to use, very intuitive, and does everything I need from it. You simply right click on a folder you want to store your checked out files in, give it the URL of the Subversion server, and it checks out the code, updates it, checks it back in (if you have permission), performs file diffs ….. basically everything you need to do is integrated right in with your file browser.

          -

          So, I miss this in Ubuntu, as TortoiseSVN is Windows only. However, I recently found a replacement, which integrates nicely with Nautilus, the Ubuntu file browser. While it is not as slick as TortoiseSVN, it works in a very similar way. You right click on a folder, and have a selection of SVN operations you can perform.

          -

          See http://marius.scurtescu.com/2005/08/24/nautilus_scripts_for_subversion for details.

          -

          Nautilus Subversion Menu

          -

          Nautilus Subversion Dialog

          -

          One thing that is missing from this is the display of icons in the file browser (Nautilus) to inform you of the state of a file - checked out, modified, not added to source control etc. Another person has developed a solution to this, which unfortunately I have not, yet, been able to get working, but perhaps you will have more luck.

          - -

          See http://www.kryogenix.org/days/2006/09/12/extremely-noddy-tortoisesvn-for-the-gnome-desktop for details on this.
          -Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 3 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Querying Flickr with Dojo!]]> - - http://shaneosullivan.wordpress.com/2007/09/22/querying-flickr-with-dojo/ - 2007-09-22T18:26:51Z - 2007-09-22T16:10:05Z - -

          I’ve recently submitted a new data store for the Dojo Ajax Toolkit that makes it very simple to query Flickr for your and other peoples images. For those not familiar with Flickr, it is a photo sharing website, one of the most popular on the net. However, what makes it quite special is the comprehensive public APIs that it exposes.

          - -

          While these APIs are extremely useful, however, they are also very complex, with a steep learning curve before you can even get started. In steps Dojo and their new Data API specification, whose stated aim is to have a single unified interface to all data sources, so that users of a data store won’t have to care if they’re reading from a database, from a XML or JSON file, or from some remote service like Flickr.

          -

          So, long story short, I’ve written an implementation of the Dojo Data APIs to query data from Flickr. It is part of the DojoX project, and is called dojox.data.FlickrRestStore. It provides quite a few methods of querying for photos:

          -
            -
          • By one or more tags, matchine any or all of them
          • -
          • By user id
          • - -
          • By set id
          • -
          • Full text search
          • -
          • Sorting on date taken, date published or ‘interestingness’
          • -
          -

          FlickrRestStore also performs caching of image data, so if you request the data twice it won’t make a second remote request.

          -

          The store is also designed to be accessed by multiple clients simultaneously. If two clients request the same data, only one request is made, with both clients being notified of the identical results.

          -

          Examples

          - -

          I’ve put a fairly comprehensive set of examples in the Dojo book at http://dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dijit-and-dojo
          -/using-dojo-data/available-stores/flickr-rest-s#examples
          .

          -

          You can see a Demo of it running at http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/data/demos/demo_FlickrRestStore.html .

          -

          The unit tests cover quite a few cases also, and you can see them at http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/data/tests/stores/FlickrRestStore.js

          -

          To get the code, you can:

          - - -

          Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 3 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Specifying the callback function with the Flickr JSON APIs]]> - - http://shaneosullivan.wordpress.com/2007/09/13/specifying-the-callback-function-with-the-flickr-json-apis/ - 2007-09-13T09:54:53Z - 2007-09-13T09:31:30Z - -

          Flickr is a photo sharing website that has a very flexible set of APIs that other applications and websites can use to access the photos it stores. This post shows you how to specify a callback function that Flickr can call to pass your web application information on photos it stores.

          - -

          Quite a while ago I looked into the Flickr APIs for a website I was writing. Looking at the service that returns photo data in JSON (Javascript Object Notation), I noticed that it did so by calling a predefined function, jsonFlickrApi, passing in the data to that function. This seemed to be an obvious weak spot, since if more than one widget on a page were accessing the Flickr REST services, they would clash with each other, possibly receiving each others data. Obviously not a good thing.

          -

          Cut to today. I’ve been working on a JavaScript data store that operates against the Flickr REST services for the Dojo Ajax Toolkit, and had another look at the Flickr APIs. Now, whether I missed it before (doubtful, as I looked specifically for it), or the fine Flickr folk have listened to complaints (very likely), but there is now a parameter that can be passed to the Flickr API that specifies the callback function to use when the data is retrieved from Flickr.

          -

          All you have to do is pass a parameter jsoncallback to Flickr, with the name of the function you want to be called with the data, and thats it.

          - -

          E.g. if I had a function:

          -

          function myCallbackFunction(data) {

          -

          alert(”I received ” + data.photos.photo.length +” photos”);

          -

          }

          -

          I could then specify a <script> element in my HTML page to retrieve the data in a cross site manner (since you can’t make cross site XmlHttpRequest calls), like so:

          - -

          <SCRIPT type=”text/javascript” src=”http://www.flickr.com/services/rest/?format=json&jsoncallback=myCallbackFunction
          -&method=flickr.people.getPublicPhotos
          -&api_key=8c6803164dbc395fb7131c9d54843627
          -&user_id=44153025%40N00&per_page=1″>

          - -

          </SCRIPT>

          -

          Note the jsoncallback parameter in the src attribute. This results in JavaScript similar to:

          -

          myCallbackFunction({”photos”:{”page”:1, “pages”:489, “perpage”:1, “total”:”489″, “photo”:[{”id”:”1352049918″, “owner”:”44153025@N00″, “secret”:”5636009306″, “server”:”1111″, “farm”:2, “title”:”The Liffey Panorama”, “ispublic”:1, “isfriend”:0, “isfamily”:0}]}, “stat”:”ok”});

          - -

          being called.

          -

          Thanks Flickr! Nice to see them listening, and continually improving. This will make web applications built on Flickr much more robust, without the need of ridiculous hackery to get around unnecessarily difficult APIs. See http://www.flickr.com/services/api/response.json.html for the offical info on JSON responses.

          -

          Keep an eye out for my dojox.data.FlickrRestStore being release some day soon!!
          -Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 0 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Image Gallery, Slideshow, and Flickr data source for Dojo 0.9]]> - - http://shaneosullivan.wordpress.com/2007/09/04/image-gallery-slideshow-and-flickr-data-source-for-dojo-09/ - 2007-09-05T08:32:22Z - 2007-09-04T23:32:51Z - -

          In a previous post (see here) I spoke about how I’d written an Image Gallery widget that worked with Dojo Ajax Toolkit version 0.4.2 and 0.4.3. I contacted the good folks at Dojo about updating it for the latest release, 0.9, and adding it to the toolkit.

          - -

          They were very receptive to the idea, with a few suggestions. Firstly, rather than having its own method of storing information, it should run off the dojo.data API, and secondly, it should go into the newly created dojox.image project.

          -

          Both of these suggestions were perfectly reasonable, so, cut to a few weeks later and I’ve finished my first pass at converting over the code from 0.4.3 to 0.9. As the Dojo APIs have changed drastically recently, this was no simple matter, but thats the subject of another blog post.

          -

          The code is not finished (or even checked in) yet, but you can see some examples of it running from test pages. There are two separate widgets:

          -
            -
          • dojox.image.SlideShow - a simple widget that runs a slide show of images, with urls loaded from a dojo.data store.
          • -
          • dojox.image.ImageGallery - this wraps the SlideShow widget, adding thumbnail views. This is also loaded from a dojo.data store.
          • -
          -

          Finally, I’ve implemented a dojo.data store that reads from the Flickr REST APIs, to pull down lists of photos. This store is more complex than the existing Flickr store, as it does caching of results, as well as going against a much more flexible API, meaning that expanding its capabilities later is possible.

          - -

          Whether or not this goes into dojox or not is still undecided. However, you can see the widgets running using this data store.

          -

          See the test files at http://www.skynet.ie/~sos/js2/dojox/image/tests for examples of this working.

          -

          Note that this is NOT the final code. It may still be buggy, may look different in the future (it’s pretty basic now), and the code will be cleaned up. However, if you have any suggestions, please feel free to leave comments on this post.

          -

          Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 1 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Dojo event performance tip]]> - - http://shaneosullivan.wordpress.com/2007/08/23/dojo-event-performance-tip/ - 2007-08-23T12:38:36Z - 2007-08-23T12:29:08Z - -

          When working with the Dojo Ajax Toolkit and using it’s dojo.event package to listen to DOM and custom events, the two most common approaches are:

          - -
            -
          1. Listen for an event (or function call) to be triggered on an object, and when it is to run a custom function, e.g.
            - var alertFn = function() {alert(”widget is showing”);};
            -dojo.event.connect(myWidget, “onShow”, alertFn);
          2. -

            This basically says that when the “onShow” function is called on some widget, called myWidget, run a function that does a simple alert. Of course you can do whatever you like inside this function.

            - -
          3. Listen for an event (or function call) to be triggered on an object, and when it is to run a custom function defined in the scope of an object, e.g.
            - var myObj = {
            -alertFn: function() {alert(”widget is showing”);}
            -};
            -dojo.event.connect(myWidget, “onShow”,myObj, “alertFn”);

            -

            This is saying that I have an object called “myObj“, which has a function called “alertFn“, and when the “onShow” method on “myWidget” is called, call the “alertFn” function on “myObj“.

          4. - -
          -

          I’ve found that when working with Dojo version 0.4.2 and 0.4.3, using the second approach is far far quicker. It turns out that internally, if you simply pass an anonymous function to Dojo, it will add that function to an internal structure and do a brute force search on that internal structure to make sure that this function is unique. This can result in a very significant performance hit - I’ve seen it take up over 50% of the startup time of a page on one of our more JavaScript heavy applications.

          -

          So, the conclusion is that if you are dojo.event.connect, which is one of the most useful functions in the toolkit, make sure to use four arguments to the function (approach #2 above), rather than just three (approach #1 above). If necessary, place a simple wrapper around the function as I have shown.
          -Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 0 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Dojo 0.9 released]]> - - http://shaneosullivan.wordpress.com/2007/08/22/dojo-09-released/ - 2007-09-04T15:23:50Z - 2007-08-22T10:24:51Z - -

          The latest version of the Dojo Ajax Toolkit has just been released into the wild. Version 0.9 is a very streamlined progression of the toolkit, with many of the less essential features pushed out to another project, DojoX, and the Dojo widgets given their own project, Dijit.

          - -

          Another big change is the the main JavaScript file in Dojo, dojo.js, is no longer customisable. It now contains the most common features required by most web developers, and nothing more. As a result, it is far smaller than previous incarnations, down to ~24k when gzipped.

          -

          Some resources:

          -

          James Burke has written up a very informative post about what exactly is baked into the default build of dojo.js, which you can find at http://dojotoolkit.org/2007/08/22/dissecting-0-9s-dojo-js . Well worth a read.

          -

          Bill Keese wrote up a guided tour of 0.9 at http://dojotoolkit.org/2007/08/20/dijit-0-9-guided-tour.

          -

          The Dojo book for version 0.9 can be found at http://dojotoolkit.org/book/dojo-book-0-9-0. It’s almost finished (almost!) as of today, Aug 22 2007.

          - -

          The Ajaxian post on Dojo 0.9 can be read at http://ajaxian.com/archives/dojo-09-final-version-released.

          -

          Download the toolkit from http://build.dojotoolkit.org/0.9.0. This page gives some information on how you can use Dojo from AOL’s hosting servers, so you never have to download it at all.
          -Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 2 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Dojo theme browser shows off Dijit widgets]]> - - http://shaneosullivan.wordpress.com/2007/08/17/dojo-theme-browser-shows-off-dijit-widgets/ - 2007-11-05T13:45:45Z - 2007-08-17T12:18:57Z - -

          The Dojo/Dijit (Dojo’s widget project) toolkit has created a page where you can view many of their widgets using the four CSS themes written so far for Dojo. This is cool for a couple of reasons.

          - -

          Firstly, it showcases the excellent work the Dijit developers have put into new themeing skins. There are four themes completed so far, and changing the look of Dojo is now as simple as including a different CSS file on your web page. All Dijit widgets now run off a single CSS file, rather than each having their own CSS file.

          -

          Secondly, it shows the usage of many of Dijit’s widgets (say that five times in a row! :-) ). Many of the demos from the 0.4.* days are gone now, and this is about as comprehensive a demo of Dojo’s widgets as you’re likely to see for a while. And yes, they are very nice indeed.

          -

          Go to http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/themes/themeTester.html to see the default theme (tundra) in use. Click on the “Alternate Themes” tab at the bottom of the page to switch themes to one of the alternate themes.

          - -

          Enjoy!

          -

          Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 2 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Why is my web page slow? YSlow for Firebug can tell you.]]> - - http://shaneosullivan.wordpress.com/2007/07/25/why-is-my-web-page-slow-yslow-for-firebug-can-tell-you/ - 2007-07-26T08:28:03Z - 2007-07-25T15:08:30Z - -

          Yahoo have released a very useful extension for Firebug, which is itself an extension for Firefox, which can be used to analyze a web page’s performance. The extension, called YSlow, appears as a separate pane in Firebug, and gives you a whole load of statistics about your page.

          - -

          However, in addition to the bare numbers, it also gives your page a ranking, from zero to a hundred, and offers tips in plain English on you can improve the performance of your page.

          -

          All in all, a very handy little addition to a web developer’s toolkit.

          -

          One caveat is that it is of course not perfect - I tried to use it on Gmail, and it gave the site a 98% mark (practically impossible to achieve in reality), as the initial page of the Gmail application simply loads a single JavaScript page and not much else. Therefore, YSlow seems to only analyze content sent down the wire to browser upon page load, and ignores generated content. However, this does not take away from the fact that it is perfectly suitable for the vast majority of websites out there.

          -

          More information available here, or read Ajaxian’s post here.
          -Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 1 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Flickr and Dojo Image Gallery]]> - - http://shaneosullivan.wordpress.com/2007/07/03/flickr-and-dojo-image-gallery/ - 2007-07-19T10:44:19Z - 2007-07-03T15:53:33Z - -

          I have created an Image Gallery widget built on Dojo 0.4.3 that integrates nicely with Flickr. The widget it written entirely using JavaScript and CSS as a standalone Dojo widget, and is released under the same open source license as Dojo, the Academic Free License.

          - -

          For more information, including the code and examples, see http://www.skynet.ie/~sos/ajax/imagegallery.php.

          -

          Some of the features of the widget include:

          -
            -
          • Pages of thumbnails.
          • -
          • Intelligent pre-loading of images so the images you are looking at are loaded first.
          • -
          • Fade effects for transitioning of images
          • -
          • Populated using JSON data - any JSON data, not just Flickr.
          • -
          • Flickr integration - remotely load your Flickr images.
          • - -
          • Paging through a Flickr collection.
          • -
          • Slideshow
          • -
          -

          The widget can be instantiated from both HTML markup and programmatically in JavaScript.

          -

          To view your own Flickr pictures on the widget, without installing it on your own site, go to http://www.skynet.ie/~sos/ajax/yourpics.php .

          -

          There is a discussion thread in the Flickr API group at http://www.flickr.com/groups/api/discuss/72157600624623643.

          -

          So, why create this widget? Well, firstly I wanted a JavaScript image gallery that would list thumbnails and allow me to page through Flickr photos. Also, a slide show would have been nice. I was surprised to discover that I couldn’t find one that I liked in the twenty or so minutes I spent looking for one. I found a handy Flash based one, but I wanted a HTML and JavaScript only widget. So I grabbed Dojo 0.4.3 (my JavaScript library of choice right now) and wrote one.

          - -

          Here is a screen shot:

          -


          -Screenshot

          -

          The widget has all the features that I personally require at the moment, but will probably evolve as I think of new things to add. If you have any suggestions/bug reports, please comment on this post.

          -

          Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 7 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Is Dojo being ignored by developers?]]> - - http://shaneosullivan.wordpress.com/2007/06/19/is-dojo-being-ignored-by-developers/ - 2007-06-26T10:18:09Z - 2007-06-19T10:36:49Z - -

          The two main areas of interest for me over the last year or two, blog-wise that is, have been the Dojo Ajax toolkit, one of the more popular open source JavaScript toolkits, and Ubuntu Linux, the very popular operating system that is seen by many as the best chance Linux has of succeeding on the desktop.

          - -

          Due to the fact that my blog is hosted on Wordpress.com, I am provided with very detailed statistics on which blog posts are more popular, what days they are accessed on etc. Looking at these, a very definite trend has become apparent

          -

          While the number of hits received by the Ubuntu blogs remains more or less steady, hits on Dojo blog posts falls dramatically on the weekend.

          -

          While this is not an exact measurement by any means, it points to a worrying possibility. People are obviously working with Ubuntu on their spare time, installing it, upgrading, adding applications and window managers etc, and need help doing this. They are personally interested in Ubuntu, not just professionally. This is one of the main reasons for Ubuntu’s success - people are excited and motivated by it. They want to work and play with it on their own time.

          - -

          This does not seem to be the case for Dojo.

          -

          Dojo has the backing of many large and small companies, including two I have worked for, my previous employer IBM, and my current employer Curam. Both of these are attracted to Dojo for a number of reasons, chief among them being it’s good design and wide range of features. The very large size of the toolkit is not a problem for them (and corporations in general) because it will be included in websites that employees will use to do their everyday work tasks (e.g. using a corporate installation of IBM WebSphere Portal), so the JavaScript is cached and the performance hit is avoided.

          -

          However, for hobbyists, this is not the case. A person might only visit a single page on their website, and a ~200KB overhead for perhaps something simple like a collapsible menu and some fading effects is simply not feasible. I’ve experienced this recently when writing a simple website for myself - all I wanted was some fading/sliding effects, but the huge overhead just wasn’t worth it. And I am a very big supporter of Dojo (I’ve contributed code even - here and here), and use it every day at work.

          - -

          The Dojo team are working hard on the 0.9 release, which is addressing many of these issues, bringing the base size down to a more manageable size (at time of writing dojo.js is down to 68KB). I look forward to the day when my site statistics change, when Dojo can stand on the shoulders of many thousands of enthusiastic hackers rather than being held up by a few big corporations. I really do.

          -

          However, this does not seem to be the case today. Version 0.9 has a lot of work to do.
          -Share this post: digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 5 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Dojo Charting example to show website statistics]]> - - http://shaneosullivan.wordpress.com/2007/06/15/dojo-charting-example-to-show-website-statistics-2/ - 2007-06-15T12:38:24Z - 2007-06-15T12:35:35Z - -

          I’ve created an example usage of the Dojo Charting engine, which you can find at http://www.skynet.ie/~sos/pageStats.php. View the source to see how it works.
          -It’s a modified version of the unit test available with the Dojo toolkit, but used in a specific scenario - in this case, to graph the page impressions for my personal website . The JSON data on the page is dynamically generated by PHP, however all other processing is done in JavaScript.

          - -

          You can filter the data to show info on any combination of pages, and also use a number of different chart types.

          -

          The code is well documented, so should be easy to follow.
          -Some other good examples of using the Dojo Charting engine can be found here and here.
          -Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 4 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[GreaseMonkey script to add Digg-like links to posts]]> - - http://shaneosullivan.wordpress.com/2007/05/22/greasemonkey-script-to-add-digg-like-links-to-posts/ - 2007-05-23T14:56:07Z - 2007-05-22T16:57:02Z - -

          I decided today that I wanted to put links at the bottom of each of my blog posts that would allow people to perform actions on the post, e.g:

          - - -

          My blog is on Wordpress.com which doesn’t seem to have a plugin that will allow me to do this. So, I got off my ass and wrote a GreaseMonkey Firefox script that’ll do it for me. You can download this script by going to http://userscripts.org/scripts/show/9421 and clicking the “Install This Script” button.

          - -

          The links that are inserted are at the bottom of this post. The script is open source (GPL license), so take it, play with it, whatever. If you find any bugs, please let me know by commenting on this post.
          -Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

          - -
          ]]> - - - 8 - - - - Shane O'Sullivan - http://shaneosullivan.wordpress.com/ - - <![CDATA[Article on the square pegs and round holes of desktop and web applications]]> - - http://shaneosullivan.wordpress.com/2007/05/22/article-on-the-square-pegs-and-round-holes-of-desktop-and-web-applications/ - 2007-05-22T08:57:59Z - 2007-05-22T08:49:00Z - -

          Bill Higgins of IBM has written a very well thought out article of why web applications should look and act like web applications, and not the desktop variety. Well worth a read - http://billhiggins.us/weblog/2007/05/17/the-uncanny-valley-of-user-interface-design

          - - ]]>
          - - - 0 -
          - - diff --git a/includes/js/dojox/data/tests/stores/books.html b/includes/js/dojox/data/tests/stores/books.html deleted file mode 100644 index 8535cec..0000000 --- a/includes/js/dojox/data/tests/stores/books.html +++ /dev/null @@ -1,118 +0,0 @@ - - - Books.html - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          isbntitleauthor
          1Title of 1Author of 1
          2Title of 2Author of 2
          3Title of 3Author of 3
          4Title of 4Author of 4
          5Title of 5Author of 5
          6Title of 6Author of 6
          7Title of 7Author of 7
          8Title of 8Author of 8
          9Title of 9Author of 9
          10Title of 10Author of 10
          11Title of 11Author of 11
          12Title of 12Author of 12
          13Title of 13Author of 13
          14Title of 14Author of 14
          15Title of 15Author of 15
          16Title of 16Author of 16
          17Title of 17Author of 17
          18Title of 18Author of 18
          19Title of 19Author of 19
          20Title of 20Author of 20
          - - diff --git a/includes/js/dojox/data/tests/stores/books.xml b/includes/js/dojox/data/tests/stores/books.xml deleted file mode 100644 index 4c330e6..0000000 --- a/includes/js/dojox/data/tests/stores/books.xml +++ /dev/null @@ -1,103 +0,0 @@ - - - - 1 - Title of 1 - Author of 1 - - - 2 - Title of 2 - Author of 2 - - - 3 - Title of 3 - Author of 3 - - - 4 - Title of 4 - Author of 4 - - - 5 - Title of 5 - Author of 5 - - - 6 - Title of 6 - Author of 6 - - - 7 - Title of 7 - Author of 7 - - - 8 - Title of 8 - Author of 8 - - - 9 - Title of 9 - Author of 9 - - - 10 - Title of 10 - Author of 10 - - - 11 - Title of 11 - Author of 11 - - - 12 - Title of 12 - Author of 12 - - - 13 - Title of 13 - Author of 13 - - - 14 - Title of 14 - Author of 14 - - - 15 - Title of 15 - Author of 15 - - - 16 - Title of 16 - Author of 16 - - - 17 - Title of 17 - Author of 17 - - - 18 - Title of 18 - Author of 18 - - - 19 - Title of 19 - Author of 19 - - - 20 - Title of 20 - Author of 20 - - diff --git a/includes/js/dojox/data/tests/stores/books2.html b/includes/js/dojox/data/tests/stores/books2.html deleted file mode 100644 index c0b3550..0000000 --- a/includes/js/dojox/data/tests/stores/books2.html +++ /dev/null @@ -1,43 +0,0 @@ - - - Books2.html - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          isbntitleauthor
          A9B57CTitle of 1Author of 1
          A9B57FTitle of 2Author of 2
          A9B577Title of 3Author of 3
          A9B574Title of 4Author of 4
          A9B5CCTitle of 5Author of 5
          - - \ No newline at end of file diff --git a/includes/js/dojox/data/tests/stores/books2.xml b/includes/js/dojox/data/tests/stores/books2.xml deleted file mode 100644 index d1fa494..0000000 --- a/includes/js/dojox/data/tests/stores/books2.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - A9B57C - Title of 1 - Author of 1 - - - A9B57F - Title of 2 - Author of 2 - - - A9B577 - Title of 3 - Author of 3 - - - A9B574 - Title of 4 - Author of 4 - - - A9B5CC - Title of 5 - Author of 5 - - diff --git a/includes/js/dojox/data/tests/stores/books3.html b/includes/js/dojox/data/tests/stores/books3.html deleted file mode 100644 index 7d0f81d..0000000 --- a/includes/js/dojox/data/tests/stores/books3.html +++ /dev/null @@ -1,14 +0,0 @@ - - - Books2.html - - - - - \ No newline at end of file diff --git a/includes/js/dojox/data/tests/stores/books3.xml b/includes/js/dojox/data/tests/stores/books3.xml deleted file mode 100644 index c44b4c3..0000000 --- a/includes/js/dojox/data/tests/stores/books3.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - Category 1 - - 1 - Title of 1 - Author of 1 - - - 2 - Title of 2 - Author of 2 - - - 3 - Title of 3 - Author of 3 - - - 4 - Title of 4 - Author of 4 - - - 5 - Title of 5 - Author of 5 - - - diff --git a/includes/js/dojox/data/tests/stores/books_isbnAttr.xml b/includes/js/dojox/data/tests/stores/books_isbnAttr.xml deleted file mode 100644 index b9f3d27..0000000 --- a/includes/js/dojox/data/tests/stores/books_isbnAttr.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - Title of 1 - Author of 1 - - - Title of 2 - Author of 2 - - - Title of 3 - Author of 3 - - - Title of 4 - Author of 4 - - - Title of 5 - Author of 5 - - diff --git a/includes/js/dojox/data/tests/stores/books_isbnAttr2.xml b/includes/js/dojox/data/tests/stores/books_isbnAttr2.xml deleted file mode 100644 index a6ce005..0000000 --- a/includes/js/dojox/data/tests/stores/books_isbnAttr2.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - Title of 1 - Author of 1 - - - Title of 2 - Author of 2 - - - Title of 3 - Author of 3 - - - Title of 4 - Author of 4 - - - Title of 5 - Author of 5 - - diff --git a/includes/js/dojox/data/tests/stores/geography.xml b/includes/js/dojox/data/tests/stores/geography.xml deleted file mode 100644 index 070a8c1..0000000 --- a/includes/js/dojox/data/tests/stores/geography.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - geography.opml - 2006-11-10 - 2006-11-13 - Magellan, Ferdinand - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/includes/js/dojox/data/tests/stores/geography_withspeciallabel.xml b/includes/js/dojox/data/tests/stores/geography_withspeciallabel.xml deleted file mode 100644 index 597c164..0000000 --- a/includes/js/dojox/data/tests/stores/geography_withspeciallabel.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - geography.opml - 2006-11-10 - 2006-11-13 - Magellan, Ferdinand - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/includes/js/dojox/data/tests/stores/jsonPathStore.js b/includes/js/dojox/data/tests/stores/jsonPathStore.js deleted file mode 100644 index 9a42a18..0000000 --- a/includes/js/dojox/data/tests/stores/jsonPathStore.js +++ /dev/null @@ -1,604 +0,0 @@ -if(!dojo._hasResource["dojox.data.tests.stores.jsonPathStore"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.data.tests.stores.jsonPathStore"] = true; -dojo.provide("dojox.data.tests.stores.jsonPathStore"); -dojo.require("dojox.data.jsonPathStore"); - -dojox.data.tests.stores.jsonPathStore.error = function(t, d, errData){ - // summary: - // The error callback function to be used for all of the tests. - d.errback(errData); -} - -dojox.data.tests.testData=dojo.toJson({"store": {"book": [{"category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95}, {"category": "fiction", "author": "Evelyn Waugh", "title": "Sword of Honour", "price": 12.99}, {"category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-553-21311-3", "price": 8.99}, {"category": "fiction", "author": "J. R. R. Tolkien", "title": "The Lord of the Rings", "isbn": "0-395-19395-8", "price": 22.99}], "bicycle": {"color": "red", "price": 19.95}}}); - -dojox.data.tests.test_ID_Data=dojo.toJson({"gadgetList": {"myId": "product", "1000": {"name": "Gadget", "type": "Junk", "myId": "1000", "price": "19.99"}, "1001": {"name": "Gadget2", "type": "Junk", "myId": "1010", "price": "17.99"}, "1003": {"name": "Gadget3", "type": "Junk", "myId": "1009", "price": "15.99"}, "1004": {"name": "Gadget4", "type": "Junk", "myId": "1008", "price": "13.99"}, "1005": {"name": "Gadget5", "type": "Junk", "myId": "1007", "price": "11.99"}, "1006": {"name": "Gadget6", "type": "Junk", "myId": "1006", "price": "9.99"}}, "testList": {"a": {"name": "test", "type": "Junk", "myId": "3000", "price": "19.99"}, "b": {"name": "test2", "type": "Junk", "myId": "3010", "price": "17.99"}, "c": {"name": "test3", "type": "Junk", "myId": "3009", "price": "15.99"}, "d": {"name": "test4", "type": "Junk", "myId": "3008", "price": "13.99"}, "e": {"name": "test5", "type": "Junk", "myId": "3007", "price": "11.99"}, "f": {"name": "test6", "type": "Junk", "myId": "3006", "price": "9.99"}}, "bricknbrack": [{"name": "BrickNBrack", "type": "Junk", "myId": "2000", "price": "19.99"}, {"name": "BrickNBrack2", "type": "Junk", "myId": "2010", "price": "17.99"}, {"name": "BrickNBrack3", "type": "Junk", "myId": "2009", "price": "15.99"}, {"name": "BrickNBrack4", "type": "Junk", "myId": "2008", "price": "13.99"}, {"name": "BrickNBrack5", "type": "Junk", "myId": "2007", "price": "11.99"}, {"name": "BrickNBrack6", "type": "Junk", "myId": "2006", "price": "9.99"}]}); - -doh.register("dojox.data.tests.stores.jsonPathStore", - [ - { - name: "Create, Index, Export: {clone: true, suppressExportMeta: true}", - options: {clone: true, suppressExportMeta: true}, - runTest: function(t) { - var original= dojox.data.tests.test_ID_Data; - var store= new dojox.data.jsonPathStore({ - data: original, - mode: dojox.data.SYNC_MODE, - idAttribute: "myId", - indexOnLoad: true - }); - - //snapshot of the store after creation; - var storeWithMeta = dojo.toJson(store._data); - var result = store.dump(this.options); - doh.assertEqual(storeWithMeta, result); - } - }, - { - name: "Create, Index, Export: {cleanMeta: true, clone: true}", - options: {cleanMeta: true, clone: true, suppressExportMeta: true}, - runTest: function(t) { - var original= dojox.data.tests.test_ID_Data; - var store= new dojox.data.jsonPathStore({ - data: original, - mode: dojox.data.SYNC_MODE, - idAttribute: "myId", - indexOnLoad: true - }); - - var result = store.dump(this.options); - doh.assertEqual(original, result); - } - }, - { - name: "Create, Index, Export: {suppressExportMeta: true}", - options: {suppressExportMeta: true}, - runTest: function(t) { - var original= dojox.data.tests.test_ID_Data; - var store= new dojox.data.jsonPathStore({ - data: original, - mode: dojox.data.SYNC_MODE, - idAttribute: "myId", - indexOnLoad: true - }); - - //snapshot of the store after creation; - var storeWithMeta = dojo.toJson(store._data); - var result = store.dump(this.options); - doh.assertEqual(storeWithMeta, result); - } - }, - { - name: "Create, Index, Export: {clone: true, type: 'raw', suppressExportMeta: true}", - options: {clone: true, type: "raw", suppressExportMeta: true}, - runTest: function(t) { - var original= dojox.data.tests.test_ID_Data; - var store= new dojox.data.jsonPathStore({ - data: original, - mode: dojox.data.SYNC_MODE, - idAttribute: "myId", - indexOnLoad: true - }); - - //snapshot of the store after creation; - var storeWithMeta = dojo.toJson(store._data); - var result = dojo.toJson(store.dump(this.options)); - doh.assertEqual(storeWithMeta, result); - } - }, - { - name: "Create, Index, Export: {clone: true, suppressExportMeta: true}", - options: {cleanMeta: true}, - runTest: function(t) { - var original= dojox.data.tests.test_ID_Data; - var store= new dojox.data.jsonPathStore({ - data: original, - mode: dojox.data.SYNC_MODE, - idAttribute: "myId", - indexOnLoad: true - }); - - //snapshot of the store after creation; - var result = store.dump(this.options); - doh.assertEqual(original, result); - } - }, - { - name: "Create, Index, Export: {type: raw}", - options: {type: "raw"}, - runTest: function(t) { - var original= dojox.data.tests.test_ID_Data; - var store= new dojox.data.jsonPathStore({ - data: original, - mode: dojox.data.SYNC_MODE, - idAttribute: "myId", - indexOnLoad: true - }); - - //snapshot of the store after creation; - var result = dojo.toJson(store.dump(this.options)); - var storeWithMeta = dojo.toJson(store._data); - doh.assertEqual(storeWithMeta, result); - } - }, - { - name: "ReadAPI: fetch() Empty Request Test [SYNC_MODE]", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE}); - var success = dojo.toJson([{"book": [{"category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95, "_meta": {"path": "$['store']['book'][0]", "autoId": true, "referenceIds": ["_ref_1"]}, "_id": "_auto_3"}, {"category": "fiction", "author": "Evelyn Waugh", "title": "Sword of Honour", "price": 12.99, "_meta": {"path": "$['store']['book'][1]", "autoId": true, "referenceIds": ["_ref_2"]}, "_id": "_auto_4"}, {"category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-553-21311-3", "price": 8.99, "_meta": {"path": "$['store']['book'][2]", "autoId": true, "referenceIds": ["_ref_3"]}, "_id": "_auto_5"}, {"category": "fiction", "author": "J. R. R. Tolkien", "title": "The Lord of the Rings", "isbn": "0-395-19395-8", "price": 22.99, "_meta": {"path": "$['store']['book'][3]", "autoId": true, "referenceIds": ["_ref_4"]}, "_id": "_auto_6"}], "bicycle": {"color": "red", "price": 19.95, "_meta": {"path": "$['store']['bicycle']", "autoId": true, "referenceIds": ["_ref_5"]}, "_id": "_auto_2"}, "_meta": {"path": "$['store']", "autoId": true, "referenceIds": ["_ref_0"]}, "_id": "_auto_0"}, [{"category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95, "_meta": {"path": "$['store']['book'][0]", "autoId": true, "referenceIds": ["_ref_1"]}, "_id": "_auto_3"}, {"category": "fiction", "author": "Evelyn Waugh", "title": "Sword of Honour", "price": 12.99, "_meta": {"path": "$['store']['book'][1]", "autoId": true, "referenceIds": ["_ref_2"]}, "_id": "_auto_4"}, {"category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-553-21311-3", "price": 8.99, "_meta": {"path": "$['store']['book'][2]", "autoId": true, "referenceIds": ["_ref_3"]}, "_id": "_auto_5"}, {"category": "fiction", "author": "J. R. R. Tolkien", "title": "The Lord of the Rings", "isbn": "0-395-19395-8", "price": 22.99, "_meta": {"path": "$['store']['book'][3]", "autoId": true, "referenceIds": ["_ref_4"]}, "_id": "_auto_6"}], {"color": "red", "price": 19.95, "_meta": {"path": "$['store']['bicycle']", "autoId": true, "referenceIds": ["_ref_5"]}, "_id": "_auto_2"}, {"category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95, "_meta": {"path": "$['store']['book'][0]", "autoId": true, "referenceIds": ["_ref_1"]}, "_id": "_auto_3"}, {"category": "fiction", "author": "Evelyn Waugh", "title": "Sword of Honour", "price": 12.99, "_meta": {"path": "$['store']['book'][1]", "autoId": true, "referenceIds": ["_ref_2"]}, "_id": "_auto_4"}, {"category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-553-21311-3", "price": 8.99, "_meta": {"path": "$['store']['book'][2]", "autoId": true, "referenceIds": ["_ref_3"]}, "_id": "_auto_5"}, {"category": "fiction", "author": "J. R. R. Tolkien", "title": "The Lord of the Rings", "isbn": "0-395-19395-8", "price": 22.99, "_meta": {"path": "$['store']['book'][3]", "autoId": true, "referenceIds": ["_ref_4"]}, "_id": "_auto_6"}]); - var result = dojo.toJson(store.fetch()); - doh.assertEqual(success, result); - return true; - } - }, - - { - name: "ReadAPI: fetch('$.store.book[*]') test [SYNC_MODE]", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE}); - var success = dojo.toJson([{"category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95, "_meta": {"path": "$['store']['book'][0]", "autoId": true, "referenceIds": ["_ref_1"]}, "_id": "_auto_3"}, {"category": "fiction", "author": "Evelyn Waugh", "title": "Sword of Honour", "price": 12.99, "_meta": {"path": "$['store']['book'][1]", "autoId": true, "referenceIds": ["_ref_2"]}, "_id": "_auto_4"}, {"category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-553-21311-3", "price": 8.99, "_meta": {"path": "$['store']['book'][2]", "autoId": true, "referenceIds": ["_ref_3"]}, "_id": "_auto_5"}, {"category": "fiction", "author": "J. R. R. Tolkien", "title": "The Lord of the Rings", "isbn": "0-395-19395-8", "price": 22.99, "_meta": {"path": "$['store']['book'][3]", "autoId": true, "referenceIds": ["_ref_4"]}, "_id": "_auto_6"}]); - var result = dojo.toJson(store.fetch({query:"$.store.book[*]"})); - doh.assertEqual(success, result); - return true; - } - }, - { - name: "ReadAPI: fetch('$.store.book[*]') test [ASYNC_MODE forced SYNC_MODE by string parameter]", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.ASYNC_MODE}); - var success = dojo.toJson([{"category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95, "_meta": {"path": "$['store']['book'][0]", "autoId": true, "referenceIds": ["_ref_1"]}, "_id": "_auto_3"}, {"category": "fiction", "author": "Evelyn Waugh", "title": "Sword of Honour", "price": 12.99, "_meta": {"path": "$['store']['book'][1]", "autoId": true, "referenceIds": ["_ref_2"]}, "_id": "_auto_4"}, {"category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-553-21311-3", "price": 8.99, "_meta": {"path": "$['store']['book'][2]", "autoId": true, "referenceIds": ["_ref_3"]}, "_id": "_auto_5"}, {"category": "fiction", "author": "J. R. R. Tolkien", "title": "The Lord of the Rings", "isbn": "0-395-19395-8", "price": 22.99, "_meta": {"path": "$['store']['book'][3]", "autoId": true, "referenceIds": ["_ref_4"]}, "_id": "_auto_6"}]); - var result = dojo.toJson(store.fetch("$.store.book[*]")); - doh.assertEqual(success, result); - return true; - } - }, - { - name: "ReadAPI: fetch({query: '$.store.book[*]', start: 2})", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE}); - var success = dojo.toJson([{"category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-553-21311-3", "price": 8.99, "_meta": {"path": "$['store']['book'][2]", "autoId": true, "referenceIds": ["_ref_3"]}, "_id": "_auto_5"}, {"category": "fiction", "author": "J. R. R. Tolkien", "title": "The Lord of the Rings", "isbn": "0-395-19395-8", "price": 22.99, "_meta": {"path": "$['store']['book'][3]", "autoId": true, "referenceIds": ["_ref_4"]}, "_id": "_auto_6"}]); - var result = dojo.toJson(store.fetch({query: '$.store.book[*]', start: 2})); - doh.assertEqual(success, result); - return true; - } - }, - { - name: "ReadAPI: fetch({query: '$.store.book[*]', start: 2, count: 1})", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE}); - var result = store.fetch({query: "$.store.book[*]", start: 2, count: 1}); - doh.assertEqual(result[0].author, 'Herman Melville'); - return true; - } - }, - - { - name: "ReadAPI: fetch(query: '$.store.book[0]'...callbacks...) [ASYNC_MODE]", - runTest: function(datastore, t){ - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData}); - var d = new doh.Deferred(); - function onBegin(count, args){ - doh.assertEqual(1, count); - } - function onItem(item){ - doh.assertTrue(store.isItem(item)); - } - - function onComplete(results){ - doh.assertEqual(1, results.length); - doh.assertEqual("Nigel Rees", results[0]["author"]); - d.callback(true); - } - - function onError(errData){ - t.assertTrue(false); - d.errback(errData); - } - - store.fetch({query: "$.store.book[0]", onBegin: onBegin, onItem: onItem, onError: onError, onComplete: onComplete}); - return d; // Deferred - } - }, - { - name: "ReadAPI: isItem() test", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE}); - var result = store.fetch("$.store.book[*].author"); - doh.assertFalse(store.isItem(result[0])); - result = store.fetch("$.store.book[*]"); - doh.assertTrue(store.isItem(result[0])); - return true; - } - }, - { - name: "ReadAPI: getValue() test", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE}); - var data = store.fetch("$.store.book[*]"); - var result = store.getValue(data[0], "author"); - doh.assertEqual("Nigel Rees", result); - return true; - } - }, - { - name: "ReadAPI: getValues() test", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE}); - var result = store.fetch("$.store.book[*]"); - doh.assertEqual(dojo.toJson(store.getValues(result[0], "author")),dojo.toJson(["Nigel Rees"])); - return true; - } - }, - { - name: "ReadAPI: getAttributes() test", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE}); - var result = store.fetch("$.store.book[*]"); - doh.assertEqual(dojo.toJson(store.getAttributes(result[0])),'["category","author","title","price","_meta","_id"]'); - return true; - } - }, - { - name: "ReadAPI: getAttributes() test [hideMetaAttributes]", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE, hideMetaAttributes: true}); - var result = store.fetch("$.store.book[*]"); - doh.assertEqual('["category","author","title","price","_id"]',dojo.toJson(store.getAttributes(result[0]))); - return true; - } - }, - { - name: "ReadAPI: hasAttribute() test", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE}); - var result = store.fetch("$.store.book[*]"); - doh.assertTrue(store.hasAttribute(result[0], "author")); - doh.assertFalse(store.hasAttribute(result[0],"_im_invalid_fooBar")); - return true; - } - }, - - { - name: "ReadAPI: containsValue() test", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE}); - var result = store.fetch("$.store.book[*]"); - doh.assertTrue(store.containsValue(result[0], "author", "Nigel Rees")); - doh.assertFalse(store.containsValue(result[0], "author", "_im_invalid_fooBar")); - return true; - } - }, - { - name: "ReadAPI: getFeatures() test", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE}); - //doh.debug("Store Features: ", dojo.toJson(store.getFeatures())); - var success='{"dojo.data.api.Read":true,"dojo.data.api.Identity":true,"dojo.data.api.Write":true,"dojo.data.api.Notification":true}'; - doh.assertEqual(success,dojo.toJson(store.getFeatures())); - return true; - } - }, - { - name: "ReadAPI: getLabel(item) test [multiple label attributes]", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE, labelAttribute: ["title", "author"]}); - var result = store.fetch("$.store.book[0]")[0]; - doh.assertEqual("Sayings of the Century Nigel Rees",store.getLabel(result)); - return true; - } - }, - { - name: "ReadAPI: getLabelAttributes(item) test [multiple label attributes]", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE, labelAttribute: ["title", "author"]}); - var result = store.fetch("$.store.book[0]")[0]; - doh.assertEqual('["title","author"]',dojo.toJson(store.getLabelAttributes(result))); - return true; - } - }, - { - name: "ReadAPI: getLabelAttributes(item) test [single label attribute]", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE, labelAttribute: ["title"]}); - var result = store.fetch("$.store.book[0]")[0]; - doh.assertEqual('["title"]',dojo.toJson(store.getLabelAttributes(result))); - return true; - } - }, - { - name: "jsonPathStore Feature: override createLabel", - runTest: function(t) { - var createLabel = function(item){ - return item[this.labelAttribute[0]] + " By " + item[this.labelAttribute[1]]; - }; - - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE, labelAttribute: ["title", "author"], createLabel: createLabel}); - var result = store.fetch("$.store.book[0]")[0]; - doh.assertEqual('Sayings of the Century By Nigel Rees',store.getLabel(result)); - return true; - } - }, - { - name: "jsonPathStore Feature: autoIdentity", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE, idAttribute: "_id"}); - var result = dojo.toJson(store.fetch("$.store.book[0]")[0]); - var success=dojo.toJson( {"category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95, "_meta": {"path": "$['store']['book'][0]", "autoId": true, "referenceIds": ["_ref_1"]}, "_id": "_auto_3"}); - doh.assertEqual(success,result); - return true; - } - }, - - { - name: "jsonPathStore Feature: autoIdentity [clean export removing added id attributes in addition to meta]", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE, idAttribute: "_id"}); - //do a search to popuplate some of the itesm with autoId data - var result = store.fetch("$.store.book[0]"); - result = store.dump({cleanMeta: true}); - doh.assertEqual(dojox.data.tests.testData,result); - return true; - } - }, - - { - name: "IdentityAPI: getIdentity(item)", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE, idAttribute: "_id"}); - var data= store.fetch("$.store.book[0]")[0]; - var result= store.getIdentity(data); - var success="_auto_3"; - doh.assertEqual(success,result); - return true; - } - }, - - { - - name: "IdentityAPI: fetchItemByIdentity(item) [SYNC_MODE]", - runTest: function(t){ - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE, idAttribute: "_id"}); - - var data= store.fetch("$.store.book[0]")[0]; - var id = store.getIdentity(data); - var result = dojo.toJson(store.fetchItemByIdentity({identity:id})); - var success = dojo.toJson(data); - doh.assertEqual(success,result); - return true; - } - }, - { - - name: "jsonPathStore Feature: byId(item) [fetchItemByIdentity alias] [SYNC_MODE]", - runTest: function(t){ - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE, idAttribute: "_id"}); - - var data= store.fetch("$.store.book[0]")[0]; - var id = store.getIdentity(data); - var result = dojo.toJson(store.byId({identity:id})); - var success = dojo.toJson(data); - doh.assertEqual(success,result); - return true; - } - }, - - { - name: "IdentityAPI: fetchItemByIdentity(id) single Item [ASYNC_MODE]", - timeout: 1000, - runTest: function(datastore, t){ - // summary: - // Simple test of the fetchItemByIdentity function of the store. - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, indexOnLoad: true}); - var d = new doh.Deferred(); - var query = {query: "$.store.book[0]", mode: dojox.data.SYNC_MODE}; - var data = store.fetch(query)[0]; - var id = store.getIdentity(data); - - function onItem(item){ - doh.assertTrue(store.isItem(item)); - doh.assertEqual(data["author"], item["author"]); - d.callback(true); - } - - function onError(errData){ - - t.assertTrue(false); - d.errback(errData); - } - - store.fetchItemByIdentity({identity: id, onItem: onItem, onError: onError}); - - return d; // Deferred - } - }, - { - name: "IdentityAPI: getIdentityAttributes(item) ", - runTest: function(t) { - var store= new dojox.data.jsonPathStore({data:dojox.data.tests.testData, mode: dojox.data.SYNC_MODE, idAttribute: "_id"}); - var data= store.fetch("$.store.book[0]")[0]; - var result = dojo.toJson(store.getIdentityAttributes(data)); - var success = '["_id"]'; - doh.assertEqual(success,result); - return true; - } - }, - { - name: "WriteAPI: newItem(item) add to store root.", - runTest: function(t) { - var original = dojox.data.tests.testData; - var store= new dojox.data.jsonPathStore({data:original, mode: dojox.data.SYNC_MODE, idAttribute: "_id"}); - - var testObject = { - propA: "foo", - propB: "bar" - } - - var testObject2 = { - propA: "foo", - propB: "bar" - } - - var newItem = store.newItem(testObject); - doh.assertTrue(store.isItem(newItem)); - - newItem = store.newItem(testObject2); - doh.assertTrue(store.isItem(newItem)); - - return true; - } - }, - { - name: "WriteAPI: newItem(item) no idAttribute on data item, added only with pInfo", - runTest: function(t) { - var original = dojox.data.tests.testData; - var store= new dojox.data.jsonPathStore({data:original, mode: dojox.data.SYNC_MODE}); - - var parentItem = store.fetch("$.store.book[0]")[0]; - - var testObject = { - propA: "foo", - propB: "bar" - } - - var newItem = store.newItem(testObject,{parent: parentItem, attribute: "TEST_PROPERTY"}); - doh.assertTrue(store.isItem(newItem)); - return true; - } - }, - { - name: "WriteAPI: newItem(item) given id, no parent Attribute", - runTest: function(t) { - var original = dojox.data.tests.testData; - var store= new dojox.data.jsonPathStore({data:original, mode: dojox.data.SYNC_MODE, idAttribute: "_id"}); - - var parentItem = store.fetch("$.store.book[0]")[0]; - - var testObject = { - _id: "99999", - propA: "foo", - propB: "bar" - } - - var newItem = store.newItem(testObject,{parent: parentItem}); - doh.assertTrue(store.isItem(newItem)); - return true; - } - }, - { - name: "WriteAPI: newItem(item) given id and parent Attribute", - runTest: function(t) { - var original = dojox.data.tests.testData; - var store= new dojox.data.jsonPathStore({data:original, mode: dojox.data.SYNC_MODE, idAttribute: "_id"}); - - var parentItem = store.fetch("$.store.book[0]")[0]; - - var testObject = { - _id: "99999", - propA: "foo", - propB: "bar" - } - - var newItem = store.newItem(testObject,{parent: parentItem, attribute: "TEST"}); - doh.assertTrue(store.isItem(newItem)); - return true; - } - }, - { - name: "WriteAPI: newItem(item) adding to an array", - runTest: function(t) { - var original = dojox.data.tests.testData; - var store= new dojox.data.jsonPathStore({data:original, mode: dojox.data.SYNC_MODE, idAttribute: "_id"}); - - var parentItem = store.fetch("$.store")[0]; - - var testObject = { - _id: "99999", - propA: "foo", - propB: "bar" - } - - var newItem = store.newItem(testObject,{parent: parentItem, attribute: "book"}); - doh.assertTrue(store.isItem(newItem)); - return true; - } - }, - { - name: "WriteAPI: setValue(item, value)", - runTest: function(t) { - var original = dojox.data.tests.testData; - var store= new dojox.data.jsonPathStore({data:original, mode: dojox.data.SYNC_MODE, indexOnLoad: true, idAttribute: "_id"}); - var item = store.fetch("$.store")[0]; - - var snapshot = store.dump({clone:true, cleanMeta: false, suppressExportMeta: true}); - - store.setValue(item, "Foo", "Bar"); - doh.assertEqual(store._data.store.Foo, "Bar"); - doh.assertTrue(store._data.store._meta.isDirty); - store.save(); - doh.assertFalse(store._data.store._meta.isDirty); - return true; - } - }, - { - name: "WriteAPI: setValues(item, value)", - runTest: function(t) { - var original = dojox.data.tests.testData; - var store= new dojox.data.jsonPathStore({data:original, mode: dojox.data.SYNC_MODE, indexOnLoad: true, idAttribute: "_id"}); - var item = store.fetch("$.store")[0]; - - var snapshot = store.dump({clone:true, cleanMeta: false, suppressExportMeta: true}); - - store.setValues(item, "Foo", ["Bar", "Diddly", "Ar"]); - doh.assertEqual(store._data.store.Foo[0], "Bar"); - doh.assertEqual(store._data.store.Foo.length, 3); - doh.assertTrue(store._data.store._meta.isDirty); - store.save(); - doh.assertFalse(store._data.store._meta.isDirty); - return true; - } - }, - { - name: "WriteAPI: unsetAttribute(item, attribute)", - runTest: function(t) { - var original = dojox.data.tests.testData; - var store= new dojox.data.jsonPathStore({data:original, mode: dojox.data.SYNC_MODE, indexOnLoad: true, idAttribute: "_id"}); - var item = store.fetch("$.store")[0]; - - var snapshot = store.dump({clone:true, cleanMeta: false, suppressExportMeta: true}); - - store.setValues(item, "Foo", ["Bar", "Diddly", "Ar"]); - doh.assertEqual(store._data.store.Foo[0], "Bar"); - doh.assertEqual(store._data.store.Foo.length, 3); - doh.assertTrue(store._data.store._meta.isDirty); - store.save(); - doh.assertFalse(store._data.store._meta.isDirty); - store.unsetAttribute(item,"Foo"); - doh.assertFalse(item.Foo); - doh.assertTrue(store._data.store._meta.isDirty); - store.save(); - doh.assertFalse(store._data.store._meta.isDirty); - return true; - } - }, - { - name: "WriteAPI: revert()", - runTest: function(t) { - var original = dojox.data.tests.testData; - var store= new dojox.data.jsonPathStore({data:original, mode: dojox.data.SYNC_MODE, indexOnLoad: true, idAttribute: "_id"}); - var item = store.fetch("$.store")[0]; - - var snapshot = store.dump({clone:true, cleanMeta: false, suppressExportMeta: true}); - - store.setValues(item, "Foo", ["Bar", "Diddly", "Ar"]); - doh.assertEqual(store._data.store.Foo[0], "Bar"); - doh.assertEqual(store._data.store.Foo.length, 3); - doh.assertTrue(store._data.store._meta.isDirty); - store.revert(); - doh.assertFalse(store._data.store._meta.isDirty); - doh.assertFalse(store._data.store.Foo); - return true; - } - } - ] -); - -} diff --git a/includes/js/dojox/data/tests/stores/movies.csv b/includes/js/dojox/data/tests/stores/movies.csv deleted file mode 100644 index baf71eb..0000000 --- a/includes/js/dojox/data/tests/stores/movies.csv +++ /dev/null @@ -1,9 +0,0 @@ -Title, Year, Producer -City of God, 2002, Katia Lund -Rain,, Christine Jeffs -2001: A Space Odyssey, , Stanley Kubrick -"This is a ""fake"" movie title", 1957, Sidney Lumet -Alien, 1979 , Ridley Scott -"The Sequel to ""Dances With Wolves.""", 1982, Ridley Scott -"Caine Mutiny, The", 1954, "Dymtryk ""the King"", Edward" - diff --git a/includes/js/dojox/data/tests/stores/movies2.csv b/includes/js/dojox/data/tests/stores/movies2.csv deleted file mode 100644 index 401bcfc..0000000 --- a/includes/js/dojox/data/tests/stores/movies2.csv +++ /dev/null @@ -1,9 +0,0 @@ -Title, Year, Producer -City of God, 2002, Katia Lund -Rain,"", Christine Jeffs -2001: A Space Odyssey, , Stanley Kubrick -"This is a ""fake"" movie title", 1957, Sidney Lumet -Alien, 1979 , Ridley Scott -"The Sequel to ""Dances With Wolves.""", 1982, Ridley Scott -"Caine Mutiny, The", 1954, "Dymtryk ""the King"", Edward" - diff --git a/includes/js/dojox/data/tests/stores/patterns.csv b/includes/js/dojox/data/tests/stores/patterns.csv deleted file mode 100644 index a9bee64..0000000 --- a/includes/js/dojox/data/tests/stores/patterns.csv +++ /dev/null @@ -1,11 +0,0 @@ -uniqueId, value -9, jfq4@#!$!@Rf14r14i5u -6, BaBaMaSaRa***Foo -2, bar*foo -8, 123abc -4, bit$Bite -3, 123abc -10, 123abcdefg -1, foo*bar -7, -5, 123abc diff --git a/includes/js/dojox/data/tests/stores/properties.js b/includes/js/dojox/data/tests/stores/properties.js deleted file mode 100644 index bbdd38d..0000000 --- a/includes/js/dojox/data/tests/stores/properties.js +++ /dev/null @@ -1,10 +0,0 @@ -/*[ - // Properties of December 1, 2007 - { "year": "2007" }, - { "nmonth": "12" }, - { "month": "December" }, - { "nday": "1" }, - { "day": "Saturday" }, - { "dayOfYear": "335" }, - { "weekOfYear": "48" } -]*/ diff --git a/includes/js/dojox/data/tests/stores/snap_pipeline.php b/includes/js/dojox/data/tests/stores/snap_pipeline.php deleted file mode 100644 index a7e6033..0000000 --- a/includes/js/dojox/data/tests/stores/snap_pipeline.php +++ /dev/null @@ -1,72 +0,0 @@ -= count($rows) || $limit < 0) { - header("HTTP/1.1 400 Bad Request"); - echo "sn.start and/or sn.limit out of range"; - exit(0); - } - - $slice = array_slice($rows, $start, $limit); - - header("Content-type: application/javascript"); - echo $prefix . "(["; - - $out_rows = array("[" . join(", ", $field_names) . "]"); - foreach($slice as $r) { - $out_rows[] = "[" . join(", ", $r) . "]"; - } - - echo join(", ", $out_rows); - echo "])"; - } - -?> - diff --git a/includes/js/dojox/data/tests/test_Tree_vs_jsonPathStore.html b/includes/js/dojox/data/tests/test_Tree_vs_jsonPathStore.html deleted file mode 100644 index f06bafe..0000000 --- a/includes/js/dojox/data/tests/test_Tree_vs_jsonPathStore.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - Dijit Tree Test - - - - - - - - - - - - -

          Dijit Tree Test - dojo.data.Notification API support

          - -
          - -
          - -
          -

          Current Selection: Tree Root - -

          Selected Item:

          - Name:
          - Description:

          -
          Update Item
          - -

          New Item

          -

          Enter an Id, Name, and optionally a description to be added as a new item to the store. Upon successful addition, the tree will recieve notification of this event and respond accordingly. If you select a node the item will be added to that node, otherwise the item will be added to the tree root. "Id" is the identifer here and as such must be unique for all items in the store.

          - Id:
          - Name:
          - Description:

          - -
          Add Item to Store
          -
          - - - - - diff --git a/includes/js/dojox/data/tests/treeTest.json b/includes/js/dojox/data/tests/treeTest.json deleted file mode 100644 index 70cc7d8..0000000 --- a/includes/js/dojox/data/tests/treeTest.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - node1: { id: 'node1', name:'node1', someProperty:'somePropertyA', children:[ - { id: 'node1.1',name:'node1.1', someProperty:'somePropertyA1'}, - { id: 'node1.2',name:'node1.2', someProperty:'somePropertyA2'} - ]}, - node2:{ id: 'node2', name:'node2', someProperty:'somePropertyB'}, - node3:{ id: 'node3', name:'node3', someProperty:'somePropertyC'}, - node4:{ id: 'node4', name:'node4', someProperty:'somePropertyA'}, - node5:{ id: 'node5', name:'node5', someProperty:'somePropertyB'} -} diff --git a/includes/js/dojox/date/README b/includes/js/dojox/date/README deleted file mode 100644 index 8ad5aba..0000000 --- a/includes/js/dojox/date/README +++ /dev/null @@ -1,36 +0,0 @@ -------------------------------------------------------------------------------- -DojoX Date -------------------------------------------------------------------------------- -Version 0.9 -Release date: 5/17/2007 -------------------------------------------------------------------------------- -Project state: -experimental -------------------------------------------------------------------------------- -Credits - Paul Sowden, Adam Peller (dojox.date.posix) - Neil Roberts (dojox.date.php) -------------------------------------------------------------------------------- -Project description - -Placeholder for any kind of date operations, including formatters that are -common to other languages (posix and php). -------------------------------------------------------------------------------- -Dependencies: - -Depends only on the Dojo Core. -------------------------------------------------------------------------------- -Documentation - -See the API documentation for details. -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/date/* - -Install into the following directory structure: -/dojox/date/ - -...which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- diff --git a/includes/js/dojox/date/php.js b/includes/js/dojox/date/php.js deleted file mode 100644 index 3cee1a2..0000000 --- a/includes/js/dojox/date/php.js +++ /dev/null @@ -1,312 +0,0 @@ -if(!dojo._hasResource["dojox.date.php"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.date.php"] = true; -dojo.provide("dojox.date.php"); -dojo.require("dojo.date"); -dojo.require("dojox.string.tokenize"); - -dojox.date.php.format = function(/*Date*/ date, /*String*/ format){ - // summary: Get a formatted string for a given date object - var df = new dojox.date.php.DateFormat(format); - return df.format(date); -} - -dojox.date.php.DateFormat = function(/*String*/ format){ - // summary: Format the internal date object - if(!this.regex){ - var keys = []; - for(var key in this.constructor.prototype){ - if(dojo.isString(key) && key.length == 1 && dojo.isFunction(this[key])){ - keys.push(key); - } - } - this.constructor.prototype.regex = new RegExp("(?:(\\\\.)|([" + keys.join("") + "]))", "g"); - } - - var replacements = []; - - this.tokens = dojox.string.tokenize(format, this.regex, function(escape, token, i){ - if(token){ - replacements.push([i, token]); - return token; - } - if(escape){ - return escape.charAt(1); - } - }); - - this.replacements = replacements; -} -dojo.extend(dojox.date.php.DateFormat, { - weekdays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], - weekdays_3: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], - months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], - months_3: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], - monthdays: [31,28,31,30,31,30,31,31,30,31,30,31], - - format: function(/*Date*/ date){ - this.date = date; - for(var i = 0, replacement; replacement = this.replacements[i]; i++){ - this.tokens[replacement[0]] = this[replacement[1]](); - } - return this.tokens.join(""); - }, - - // Day - - d: function(){ - // summary: Day of the month, 2 digits with leading zeros - var j = this.j(); - return (j.length == 1) ? "0" + j : j; - }, - - D: function(){ - // summary: A textual representation of a day, three letters - return this.weekdays_3[this.date.getDay()]; - }, - - j: function(){ - // summary: Day of the month without leading zeros - return this.date.getDate() + ""; - }, - - l: function(){ - // summary: A full textual representation of the day of the week - return this.weekdays[this.date.getDay()]; - }, - - N: function(){ - // summary: ISO-8601 numeric representation of the day of the week (added in PHP 5.1.0) - var w = this.w(); - return (!w) ? 7 : w; - }, - - S: function(){ - // summary: English ordinal suffix for the day of the month, 2 characters - switch(this.date.getDate()){ - case 11: case 12: case 13: return "th"; - case 1: case 21: case 31: return "st"; - case 2: case 22: return "nd"; - case 3: case 23: return "rd"; - default: return "th"; - } - }, - - w: function(){ - // summary: Numeric representation of the day of the week - return this.date.getDay() + ""; - }, - - z: function(){ - // summary: The day of the year (starting from 0) - var millis = this.date.getTime() - new Date(this.date.getFullYear(), 0, 1).getTime(); - return Math.floor(millis/86400000) + ""; - }, - - // Week - - W: function(){ - // summary: ISO-8601 week number of year, weeks starting on Monday (added in PHP 4.1.0) - var week; - var jan1_w = new Date(this.date.getFullYear(), 0, 1).getDay() + 1; - var w = this.date.getDay() + 1; - var z = parseInt(this.z()); - - if(z <= (8 - jan1_w) && jan1_w > 4){ - var last_year = new Date(this.date.getFullYear() - 1, this.date.getMonth(), this.date.getDate()); - if(jan1_w == 5 || (jan1_w == 6 && dojo.date.isLeapYear(last_year))){ - week = 53; - }else{ - week = 52; - } - }else{ - var i; - if(Boolean(this.L())){ - i = 366; - }else{ - i = 365; - } - if((i - z) < (4 - w)){ - week = 1; - }else{ - var j = z + (7 - w) + (jan1_w - 1); - week = Math.ceil(j / 7); - if(jan1_w > 4){ - --week; - } - } - } - - return week; - }, - - // Month - - F: function(){ - // summary: A full textual representation of a month, such as January or March - return this.months[this.date.getMonth()]; - }, - - m: function(){ - // summary: Numeric representation of a month, with leading zeros - var n = this.n(); - return (n.length == 1) ? "0" + n : n; - }, - - M: function(){ - // summary: A short textual representation of a month, three letters - return this.months_3[this.date.getMonth()]; - }, - - n: function(){ - // summary: Numeric representation of a month, without leading zeros - return this.date.getMonth() + 1 + ""; - }, - - t: function(){ - // summary: Number of days in the given month - return (Boolean(this.L()) && this.date.getMonth() == 1) ? 29 : this.monthdays[this.getMonth()]; - }, - - // Year - - L: function(){ - // summary: Whether it's a leap year - return (dojo.date.isLeapYear(this.date)) ? "1" : "0"; - }, - - o: function(){ - // summary: - // ISO-8601 year number. This has the same value as Y, except that if - // the ISO week number (W) belongs to the previous or next year, that year is used instead. (added in PHP 5.1.0) - // TODO: Figure out what this means - }, - - Y: function(){ - // summary: A full numeric representation of a year, 4 digits - return this.date.getFullYear() + ""; - }, - - y: function(){ - // summary: A two digit representation of a year - return this.Y().slice(-2); - }, - - // Time - - a: function(){ - // summary: Lowercase Ante meridiem and Post meridiem - return this.date.getHours() >= 12 ? "pm" : "am"; - }, - - b: function(){ - // summary: Uppercase Ante meridiem and Post meridiem - return this.a().toUpperCase(); - }, - - B: function(){ - // summary: - // Swatch Internet time - // A day is 1,000 beats. All time is measured from GMT + 1 - var off = this.date.getTimezoneOffset() + 60; - var secs = (this.date.getHours() * 3600) + (this.date.getMinutes() * 60) + this.getSeconds() + (off * 60); - var beat = Math.abs(Math.floor(secs / 86.4) % 1000) + ""; - while(beat.length < 2) beat = "0" + beat; - return beat; - }, - - g: function(){ - // summary: 12-hour format of an hour without leading zeros - return (this.date.getHours() > 12) ? this.date.getHours() - 12 + "" : this.date.getHours() + ""; - }, - - G: function(){ - // summary: 24-hour format of an hour without leading zeros - return this.date.getHours() + ""; - }, - - h: function(){ - // summary: 12-hour format of an hour with leading zeros - var g = this.g(); - return (g.length == 1) ? "0" + g : g; - }, - - H: function(){ - // summary: 24-hour format of an hour with leading zeros - var G = this.G(); - return (G.length == 1) ? "0" + G : G; - }, - - i: function(){ - // summary: Minutes with leading zeros - var mins = this.date.getMinutes() + ""; - return (mins.length == 1) ? "0" + mins : mins; - }, - - s: function(){ - // summary: Seconds, with leading zeros - var secs = this.date.getSeconds() + ""; - return (secs.length == 1) ? "0" + secs : secs; - }, - - // Timezone - - e: function(){ - // summary: Timezone identifier (added in PHP 5.1.0) - return dojo.date.getTimezoneName(this.date); - }, - - I: function(){ - // summary: Whether or not the date is in daylight saving time - // TODO: Can dojo.date do this? - }, - - O: function(){ - // summary: Difference to Greenwich time (GMT) in hours - var off = Math.abs(this.date.getTimezoneOffset()); - var hours = Math.floor(off / 60) + ""; - var mins = (off % 60) + ""; - if(hours.length == 1) hours = "0" + hours; - if(mins.length == 1) hours = "0" + mins; - return ((this.date.getTimezoneOffset() < 0) ? "+" : "-") + hours + mins; - }, - - P: function(){ - // summary: Difference to Greenwich time (GMT) with colon between hours and minutes (added in PHP 5.1.3) - var O = this.O(); - return O.substring(0, 2) + ":" + O.substring(2, 4); - }, - - T: function(){ - // summary: Timezone abbreviation - - // Guess... - return this.e().substring(0, 3); - }, - - Z: function(){ - // summary: - // Timezone offset in seconds. The offset for timezones west of UTC is always negative, - // and for those east of UTC is always positive. - return this.date.getTimezoneOffset() * -60; - }, - - // Full Date/Time - - c: function(){ - // summary: ISO 8601 date (added in PHP 5) - return this.Y() + "-" + this.m() + "-" + this.d() + "T" + this.h() + ":" + this.i() + ":" + this.s() + this.P(); - }, - - r: function(){ - // summary: RFC 2822 formatted date - return this.D() + ", " + this.d() + " " + this.M() + " " + this.Y() + " " + this.H() + ":" + this.i() + ":" + this.s() + " " + this.O(); - }, - - U: function(){ - // summary: Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT) - return Math.floor(this.date.getTime() / 1000); - } - -}); - -} diff --git a/includes/js/dojox/date/posix.js b/includes/js/dojox/date/posix.js deleted file mode 100644 index 88e9c47..0000000 --- a/includes/js/dojox/date/posix.js +++ /dev/null @@ -1,293 +0,0 @@ -if(!dojo._hasResource["dojox.date.posix"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.date.posix"] = true; -dojo.provide("dojox.date.posix"); - -dojo.require("dojo.date"); -dojo.require("dojo.date.locale"); -dojo.require("dojo.string"); - -dojox.date.posix.strftime = function(/*Date*/dateObject, /*String*/format, /*String?*/locale){ -// -// summary: -// Formats the date object using the specifications of the POSIX strftime function -// -// description: -// see http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html - - // zero pad - var padChar = null; - var _ = function(s, n){ - return dojo.string.pad(s, n || 2, padChar || "0"); - }; - - var bundle = dojo.date.locale._getGregorianBundle(locale); - - var $ = function(property){ - switch(property){ - case "a": // abbreviated weekday name according to the current locale - return dojo.date.locale.getNames('days', 'abbr', 'format', locale)[dateObject.getDay()]; - - case "A": // full weekday name according to the current locale - return dojo.date.locale.getNames('days', 'wide', 'format', locale)[dateObject.getDay()]; - - case "b": - case "h": // abbreviated month name according to the current locale - return dojo.date.locale.getNames('months', 'abbr', 'format', locale)[dateObject.getMonth()]; - - case "B": // full month name according to the current locale - return dojo.date.locale.getNames('months', 'wide', 'format', locale)[dateObject.getMonth()]; - - case "c": // preferred date and time representation for the current - // locale - return dojo.date.locale.format(dateObject, {formatLength: 'full', locale: locale}); - - case "C": // century number (the year divided by 100 and truncated - // to an integer, range 00 to 99) - return _(Math.floor(dateObject.getFullYear()/100)); - - case "d": // day of the month as a decimal number (range 01 to 31) - return _(dateObject.getDate()); - - case "D": // same as %m/%d/%y - return $("m") + "/" + $("d") + "/" + $("y"); - - case "e": // day of the month as a decimal number, a single digit is - // preceded by a space (range ' 1' to '31') - if(padChar == null){ padChar = " "; } - return _(dateObject.getDate()); - - case "f": // month as a decimal number, a single digit is - // preceded by a space (range ' 1' to '12') - if(padChar == null){ padChar = " "; } - return _(dateObject.getMonth()+1); - - case "g": // like %G, but without the century. - break; - - case "G": // The 4-digit year corresponding to the ISO week number - // (see %V). This has the same format and value as %Y, - // except that if the ISO week number belongs to the - // previous or next year, that year is used instead. - dojo.unimplemented("unimplemented modifier 'G'"); - break; - - case "F": // same as %Y-%m-%d - return $("Y") + "-" + $("m") + "-" + $("d"); - - case "H": // hour as a decimal number using a 24-hour clock (range - // 00 to 23) - return _(dateObject.getHours()); - - case "I": // hour as a decimal number using a 12-hour clock (range - // 01 to 12) - return _(dateObject.getHours() % 12 || 12); - - case "j": // day of the year as a decimal number (range 001 to 366) - return _(dojo.date.locale._getDayOfYear(dateObject), 3); - - case "k": // Hour as a decimal number using a 24-hour clock (range - // 0 to 23 (space-padded)) - if(padChar == null){ padChar = " "; } - return _(dateObject.getHours()); - - case "l": // Hour as a decimal number using a 12-hour clock (range - // 1 to 12 (space-padded)) - if(padChar == null){ padChar = " "; } - return _(dateObject.getHours() % 12 || 12); - - case "m": // month as a decimal number (range 01 to 12) - return _(dateObject.getMonth() + 1); - - case "M": // minute as a decimal number - return _(dateObject.getMinutes()); - - case "n": - return "\n"; - - case "p": // either `am' or `pm' according to the given time value, - // or the corresponding strings for the current locale - return bundle[dateObject.getHours() < 12 ? "am" : "pm"]; - - case "r": // time in a.m. and p.m. notation - return $("I") + ":" + $("M") + ":" + $("S") + " " + $("p"); - - case "R": // time in 24 hour notation - return $("H") + ":" + $("M"); - - case "S": // second as a decimal number - return _(dateObject.getSeconds()); - - case "t": - return "\t"; - - case "T": // current time, equal to %H:%M:%S - return $("H") + ":" + $("M") + ":" + $("S"); - - case "u": // weekday as a decimal number [1,7], with 1 representing - // Monday - return String(dateObject.getDay() || 7); - - case "U": // week number of the current year as a decimal number, - // starting with the first Sunday as the first day of the - // first week - return _(dojo.date.locale._getWeekOfYear(dateObject)); - - case "V": // week number of the year (Monday as the first day of the - // week) as a decimal number [01,53]. If the week containing - // 1 January has four or more days in the new year, then it - // is considered week 1. Otherwise, it is the last week of - // the previous year, and the next week is week 1. - return _(dojox.date.posix.getIsoWeekOfYear(dateObject)); - - case "W": // week number of the current year as a decimal number, - // starting with the first Monday as the first day of the - // first week - return _(dojo.date.locale._getWeekOfYear(dateObject, 1)); - - case "w": // day of the week as a decimal, Sunday being 0 - return String(dateObject.getDay()); - - case "x": // preferred date representation for the current locale - // without the time - return dojo.date.locale.format(dateObject, {selector:'date', formatLength: 'full', locale:locale}); - - case "X": // preferred time representation for the current locale - // without the date - return dojo.date.locale.format(dateObject, {selector:'time', formatLength: 'full', locale:locale}); - - case "y": // year as a decimal number without a century (range 00 to - // 99) - return _(dateObject.getFullYear()%100); - - case "Y": // year as a decimal number including the century - return String(dateObject.getFullYear()); - - case "z": // time zone or name or abbreviation - var timezoneOffset = dateObject.getTimezoneOffset(); - return (timezoneOffset > 0 ? "-" : "+") + - _(Math.floor(Math.abs(timezoneOffset)/60)) + ":" + - _(Math.abs(timezoneOffset)%60); - - case "Z": // time zone or name or abbreviation - return dojo.date.getTimezoneName(dateObject); - - case "%": - return "%"; - } - }; - - // parse the formatting string and construct the resulting string - var string = ""; - var i = 0; - var index = 0; - var switchCase = null; - while ((index = format.indexOf("%", i)) != -1){ - string += format.substring(i, index++); - - // inspect modifier flag - switch (format.charAt(index++)) { - case "_": // Pad a numeric result string with spaces. - padChar = " "; break; - case "-": // Do not pad a numeric result string. - padChar = ""; break; - case "0": // Pad a numeric result string with zeros. - padChar = "0"; break; - case "^": // Convert characters in result string to uppercase. - switchCase = "upper"; break; - case "*": // Convert characters in result string to lowercase - switchCase = "lower"; break; - case "#": // Swap the case of the result string. - switchCase = "swap"; break; - default: // no modifier flag so decrement the index - padChar = null; index--; break; - } - - // toggle case if a flag is set - var property = $(format.charAt(index++)); - switch (switchCase){ - case "upper": - property = property.toUpperCase(); - break; - case "lower": - property = property.toLowerCase(); - break; - case "swap": // Upper to lower, and versey-vicea - var compareString = property.toLowerCase(); - var swapString = ''; - var ch = ''; - for (var j = 0; j < property.length; j++){ - ch = property.charAt(j); - swapString += (ch == compareString.charAt(j)) ? - ch.toUpperCase() : ch.toLowerCase(); - } - property = swapString; - break; - default: - break; - } - switchCase = null; - - string += property; - i = index; - } - string += format.substring(i); - - return string; // String -}; - -dojox.date.posix.getStartOfWeek = function(/*Date*/dateObject, /*Number*/firstDay){ - // summary: Return a date object representing the first day of the given - // date's week. - if(isNaN(firstDay)){ - firstDay = dojo.cldr.supplemental.getFirstDayOfWeek ? dojo.cldr.supplemental.getFirstDayOfWeek() : 0; - } - var offset = firstDay; - if(dateObject.getDay() >= firstDay){ - offset -= dateObject.getDay(); - }else{ - offset -= (7 - dateObject.getDay()); - } - var date = new Date(dateObject); - date.setHours(0, 0, 0, 0); - return dojo.date.add(date, "day", offset); // Date -} - -dojox.date.posix.setIsoWeekOfYear = function(/*Date*/dateObject, /*Number*/week){ - // summary: Set the ISO8601 week number of the given date. - // The week containing January 4th is the first week of the year. - // week: - // can be positive or negative: -1 is the year's last week. - if(!week){ return dateObject; } - var currentWeek = dojox.date.posix.getIsoWeekOfYear(dateObject); - var offset = week - currentWeek; - if(week < 0){ - var weeks = dojox.date.posix.getIsoWeeksInYear(dateObject); - offset = (weeks + week + 1) - currentWeek; - } - return dojo.date.add(dateObject, "week", offset); // Date -} - -dojox.date.posix.getIsoWeekOfYear = function(/*Date*/dateObject){ - // summary: Get the ISO8601 week number of the given date. - // The week containing January 4th is the first week of the year. - // See http://en.wikipedia.org/wiki/ISO_week_date - var weekStart = dojox.date.posix.getStartOfWeek(dateObject, 1); - var yearStart = new Date(dateObject.getFullYear(), 0, 4); // January 4th - yearStart = dojox.date.posix.getStartOfWeek(yearStart, 1); - var diff = weekStart.getTime() - yearStart.getTime(); - if(diff < 0){ return dojox.date.posix.getIsoWeeksInYear(weekStart); } // Integer - return Math.ceil(diff / 604800000) + 1; // Integer -} - -dojox.date.posix.getIsoWeeksInYear = function(/*Date*/dateObject) { - // summary: Determine the number of ISO8601 weeks in the year of the given - // date. Most years have 52 but some have 53. - // See http://www.phys.uu.nl/~vgent/calendar/isocalendar_text3.htm - function p(y) { - return y + Math.floor(y/4) - Math.floor(y/100) + Math.floor(y/400); - } - var y = dateObject.getFullYear(); - return ( p(y) % 7 == 4 || p(y-1) % 7 == 3 ) ? 53 : 52; // Integer -} - -} diff --git a/includes/js/dojox/date/tests/module.js b/includes/js/dojox/date/tests/module.js deleted file mode 100644 index 9e1a297..0000000 --- a/includes/js/dojox/date/tests/module.js +++ /dev/null @@ -1,12 +0,0 @@ -if(!dojo._hasResource["dojox.date.tests.module"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.date.tests.module"] = true; -dojo.provide("dojox.date.tests.module"); - -try{ - dojo.require("dojox.date.tests.posix"); -}catch(e){ - doh.debug(e); -} - - -} diff --git a/includes/js/dojox/date/tests/posix.js b/includes/js/dojox/date/tests/posix.js deleted file mode 100644 index 84039f9..0000000 --- a/includes/js/dojox/date/tests/posix.js +++ /dev/null @@ -1,236 +0,0 @@ -if(!dojo._hasResource["dojox.date.tests.posix"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.date.tests.posix"] = true; -dojo.provide("dojox.date.tests.posix"); -dojo.require("dojox.date.posix"); - -tests.register("dojox.date.tests.posix", - [ - - //FIXME: set up by loading 'en' resources -function test_date_strftime(t){ - var date = new Date(2006, 7, 11, 0, 55, 12, 3456); - t.is("06/08/11", dojox.date.posix.strftime(date, "%y/%m/%d")); - - var dt = null; // Date to test - var fmt = ''; // Format to test - var res = ''; // Expected result - - dt = new Date(2006, 0, 1, 18, 23); - fmt = '%a'; - res = 'Sun'; - t.is(res, dojox.date.posix.strftime(dt, fmt, 'en')); - - fmt = '%A'; - res = 'Sunday'; - t.is(res, dojox.date.posix.strftime(dt, fmt, 'en')); - - fmt = '%b'; - res = 'Jan'; - t.is(res, dojox.date.posix.strftime(dt, fmt, 'en')); - - fmt = '%B'; - res = 'January'; - t.is(res, dojox.date.posix.strftime(dt, fmt, 'en')); - - fmt = '%c'; - res = 'Sunday, January 1, 2006 6:23:00 PM'; - t.is(res, dojox.date.posix.strftime(dt, fmt).substring(0, res.length)); - - fmt = '%C'; - res = '20'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%d'; - res = '01'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%D'; - res = '01/01/06'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%e'; - res = ' 1'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%h'; - res = 'Jan'; - t.is(res, dojox.date.posix.strftime(dt, fmt, 'en')); - - fmt = '%H'; - res = '18'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%I'; - res = '06'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%j'; - res = '001'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%k'; - res = '18'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%l'; - res = ' 6'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%m'; - res = '01'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%M'; - res = '23'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%p'; - res = 'PM'; - t.is(res, dojox.date.posix.strftime(dt, fmt, 'en')); - - fmt = '%r'; - res = '06:23:00 PM'; - t.is(res, dojox.date.posix.strftime(dt, fmt, 'en')); - - fmt = '%R'; - res = '18:23'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%S'; - res = '00'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%T'; - res = '18:23:00'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%u'; - res = '7'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%w'; - res = '0'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%x'; - res = 'Sunday, January 1, 2006'; - t.is(res, dojox.date.posix.strftime(dt, fmt, 'en')); - - fmt = '%X'; - res = '6:23:00 PM'; - t.is(res, dojox.date.posix.strftime(dt, fmt, 'en').substring(0,res.length)); - - fmt = '%y'; - res = '06'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%Y'; - res = '2006'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); - - fmt = '%%'; - res = '%'; - t.is(res, dojox.date.posix.strftime(dt, fmt)); -}, -function test_date_getStartOfWeek(t){ - var weekStart; - - // Monday - var date = new Date(2007, 0, 1); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 1), 1); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 2), 1); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 3), 1); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 4), 1); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 5), 1); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 6), 1); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 7), 1); - t.is(date, weekStart); - - // Sunday - date = new Date(2007, 0, 7); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 7), 0); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 8), 0); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 9), 0); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 10), 0); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 11), 0); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 12), 0); - t.is(date, weekStart); - weekStart = dojox.date.posix.getStartOfWeek(new Date(2007, 0, 13), 0); - t.is(date, weekStart); -}, - -function test_date_setIsoWeekOfYear(t){ - var date = new Date(2006,10,10); - var result = dojox.date.posix.setIsoWeekOfYear(date, 1); - t.is(new Date(2006,0,6), result); - result = dojox.date.posix.setIsoWeekOfYear(date, 10); - result = dojox.date.posix.setIsoWeekOfYear(date, 2); - t.is(new Date(2006,0,13), result); - result = dojox.date.posix.setIsoWeekOfYear(date, 10); - t.is(new Date(2006,2,10), result); - result = dojox.date.posix.setIsoWeekOfYear(date, 52); - t.is(new Date(2006,11,29), result); - var result = dojox.date.posix.setIsoWeekOfYear(date, -1); - t.is(new Date(2006,11,29), result); - var result = dojox.date.posix.setIsoWeekOfYear(date, -2); - t.is(new Date(2006,11,22), result); - var result = dojox.date.posix.setIsoWeekOfYear(date, -10); - t.is(new Date(2006,9,27), result); - - date = new Date(2004,10,10); - result = dojox.date.posix.setIsoWeekOfYear(date, 1); - t.is(new Date(2003,11,31), result); - result = dojox.date.posix.setIsoWeekOfYear(date, 2); - t.is(new Date(2004,0,7), result); - result = dojox.date.posix.setIsoWeekOfYear(date, -1); - t.is(new Date(2004,11,29), result); -}, - -function test_date_getIsoWeekOfYear(t){ - var week = dojox.date.posix.getIsoWeekOfYear(new Date(2006,0,1)); - t.is(52, week); - week = dojox.date.posix.getIsoWeekOfYear(new Date(2006,0,4)); - t.is(1, week); - week = dojox.date.posix.getIsoWeekOfYear(new Date(2006,11,31)); - t.is(52, week); - week = dojox.date.posix.getIsoWeekOfYear(new Date(2007,0,1)); - t.is(1, week); - week = dojox.date.posix.getIsoWeekOfYear(new Date(2007,11,31)); - t.is(53, week); - week = dojox.date.posix.getIsoWeekOfYear(new Date(2008,0,1)); - t.is(1, week); - week = dojox.date.posix.getIsoWeekOfYear(new Date(2007,11,31)); - t.is(53, week); -}, - -function test_date_getIsoWeeksInYear(t){ - // 44 long years in a 400 year cycle. - var longYears = [4, 9, 15, 20, 26, 32, 37, 43, 48, 54, 60, 65, 71, 76, 82, - 88, 93, 99, 105, 111, 116, 122, 128, 133, 139, 144, 150, 156, 161, 167, - 172, 178, 184, 189, 195, 201, 207, 212, 218, 224, 229, 235, 240, 246, - 252, 257, 263, 268, 274, 280, 285, 291, 296, 303, 308, 314, 320, 325, - 331, 336, 342, 348, 353, 359, 364, 370, 376, 381, 387, 392, 398]; - - var i, j, weeks, result; - for(i=0; i < 400; i++) { - weeks = 52; - if(i == longYears[0]) { weeks = 53; longYears.shift(); } - result = dojox.date.posix.getIsoWeeksInYear(new Date(2000 + i, 0, 1)); - t.is(/*weeks +" weeks in "+ (2000+i), */weeks, result); - } -} - ] -); - -} diff --git a/includes/js/dojox/date/tests/runTests.html b/includes/js/dojox/date/tests/runTests.html deleted file mode 100644 index 57f6ba1..0000000 --- a/includes/js/dojox/date/tests/runTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - Dojox Unit Test Runner - - - Redirecting to D.O.H runner. - - diff --git a/includes/js/dojox/dtl.js b/includes/js/dojox/dtl.js deleted file mode 100644 index 2128ab6..0000000 --- a/includes/js/dojox/dtl.js +++ /dev/null @@ -1,6 +0,0 @@ -if(!dojo._hasResource["dojox.dtl"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl"] = true; -dojo.provide("dojox.dtl"); -dojo.require("dojox.dtl._base"); - -} diff --git a/includes/js/dojox/dtl/Context.js b/includes/js/dojox/dtl/Context.js deleted file mode 100644 index f608506..0000000 --- a/includes/js/dojox/dtl/Context.js +++ /dev/null @@ -1,87 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.Context"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.Context"] = true; -dojo.provide("dojox.dtl.Context"); -dojo.require("dojox.dtl._base"); - -dojox.dtl.Context = dojo.extend(function(dict){ - this._this = {}; - dojox.dtl._Context.call(this, dict); -}, dojox.dtl._Context.prototype, -{ - extend: function(/*dojox.dtl.Context|Object*/ obj){ - // summary: Returns a clone of this context object, with the items from the - // passed objecct mixed in. - var context = new dojox.dtl.Context(); - var keys = this.getKeys(); - var i, key; - for(i = 0; key = keys[i]; i++){ - if(typeof obj[key] != "undefined"){ - context[key] = obj[key]; - }else{ - context[key] = this[key]; - } - } - - if(obj instanceof dojox.dtl.Context){ - keys = obj.getKeys(); - }else if(typeof obj == "object"){ - keys = []; - for(key in obj){ - keys.push(key); - } - } - - for(i = 0; key = keys[i]; i++){ - context[key] = obj[key]; - } - - return context; - }, - filter: function(/*dojox.dtl.Context|Object|String...*/ filter){ - // summary: Returns a clone of this context, only containing the items - // defined in the filter. - var context = new dojox.dtl.Context(); - var keys = []; - var i, arg; - if(filter instanceof dojox.dtl.Context){ - keys = filter.getKeys(); - }else if(typeof filter == "object"){ - for(var key in filter){ - keys.push(key); - } - }else{ - for(i = 0; arg = arguments[i]; i++){ - if(typeof arg == "string"){ - keys.push(arg); - } - } - } - - for(i = 0, key; key = keys[i]; i++){ - context[key] = this[key]; - } - - return context; - }, - setThis: function(/*Object*/ _this){ - this._this = _this; - }, - getThis: function(){ - return this._this; - }, - hasKey: function(key){ - if(typeof this[key] != "undefined"){ - return true; - } - - for(var i = 0, dict; dict = this._dicts[i]; i++){ - if(typeof dict[key] != "undefined"){ - return true; - } - } - - return false; - } -}); - -} diff --git a/includes/js/dojox/dtl/README b/includes/js/dojox/dtl/README deleted file mode 100644 index a6cc8c3..0000000 --- a/includes/js/dojox/dtl/README +++ /dev/null @@ -1,207 +0,0 @@ -------------------------------------------------------------------------------- -DojoX Django Template Language -------------------------------------------------------------------------------- -Version 0.0 -Release date: 09/20/2007 -------------------------------------------------------------------------------- -Project state: experimental/feature incomplete -------------------------------------------------------------------------------- -Project authors - Neil Roberts (pottedmeat@dojotoolkit.org) -------------------------------------------------------------------------------- -Project description - -The Django Template language uses a system of templates that can be compiled -once and rendered indefinitely afterwards. It uses a simple system of tags -and filters. - -This is a 1:1 match with the Django Template Language as outlined in -http://www.djangoproject.com/documentation/templates/. All applicable tags and -filters have been implemented (see below), along with new filters and tags as -necessary (see below). - -The Django Template Language is intended within Django to only handle text. -Our implementation is able to handle HTML in addition to text. Actually, the -text and HTML portions of dojox.dtl are two separate layers, the HTML layer -sits on top of the text layer (base). It's also been implemented in such a way -that you have little to fear when moving your code from Django to dojox.dtl. -Your existing templates should work, and will benefit from the massive -performance gain of being able to manipulate nodes, rather than having to do -clunky innerHTML swaps you would have to do with a text-only system. It also -allows for new HTML-centric abilities, outlined below. - -Despite having two levels of complexity, if you write your tags correctly, they -will work in both environments. -------------------------------------------------------------------------------- -Dependencies - -Base: -dojox.string.Builder - -Date filters and tags: -dojox.date.php - -Widget: -dijit._Widget -dijit._Container -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/dtl.js -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/dtl/* - -Install into the following directory structure: -/dojox/dtl/ - -...which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- -What's Been Done - -Note: HTML Unit Tests should only be around for the oddities of HTML, tag/filter -code is the same for each environment with minor exceptions. Cloning of all tags -should be tested inside a for loop. - -| Implemented | Tag | Text Unit Test | HTML Unit Test | -| X | block | X | | -| X | comment | X | | -| X | cycle | X | | -| X | debug | X | | -| X | extends | X | | -| X | filter | X | | -| X | firstof | X | | -| X | for | X | | -| X | if | X | | -| X | ifchanged | X | X | -| X | ifequal | X | | -| X | ifnotequal | X | | -| X | include | X | X | -| X | load | X | | -| X | now | X | | -| X | regroup | X | | -| X | spaceless | X | X | -| X | ssi | X | X | -| X | templatetag | X | | -| N/A | url | | | -| X | widthratio | X | | -| X | with | X | | - -| Implemented | Filter | Text Unit Test | HTML Unit Test | -| X | add | X | | -| X | addslashes | X | | -| X | capfirst | X | | -| X | center | X | | -| X | cut | X | | -| X | date | X | | -| X | default | X | | -| X | default_if_none | X | | -| X | dictsort | X | | -| X | dictsort_reversed | X | | -| X | divisibleby | X | | -| X | escape | X | | -| X | filesizeformat | X | | -| X | first | X | | -| X | fix_ampersands | X | | -| X | floatformat | X | | -| X | get_digit | X | | -| X | iriencode | X | | -| X | join | X | | -| X | length | X | | -| X | length_is | X | | -| X | linebreaks | X | | -| X | linebreaksbr | X | | -| X | linenumbers | X | | -| X | ljust | X | | -| X | lower | X | | -| X | make_list | X | | -| X | phone2numeric | X | | -| X | pluralize | X | | -| X | pprint | X | | -| X | random | X | | -| X | removetags | X | | -| X | rjust | X | | -| X | slice | X | | -| X | slugify | X | | -| X | stringformat | X | | -| X | striptags | X | | -| X | time | X | | -| X | timesince | X | | -| X | timeuntil | X | | -| X | title | X | | -| X | truncatewords | X | | -| X | truncatewords_html | X | | -| X | unordered_list | X | | -| X | upper | X | | -| X | urlencode | X | | -| X | urlize | X | | -| X | urlizetrunc | X | | -| X | wordcount | X | | -| X | wordwrap | X | | -| X | yesno | X | | -------------------------------------------------------------------------------- -HTML-Specific Additions -------------------------------------------------------------------------------- -{%extends "shared:templates/template.html" %} - -When using the {% extends %} tag, we don't always want to replace the parent -node in DOM. For example, if we have a list view and a detail view, but both -share the same base template, we want it to share the parent template. This -basically means that the same nodes will be used in the parent for both views. - -To use this, simply add "shared:" to the beginning of the specified template. -------------------------------------------------------------------------------- - - -Some browsers treat comment nodes as full fledged nodes. If performance is -important to you, you can wrap your markup in comments. The comments will be -automatically stripped for browsers that cannot support this. -------------------------------------------------------------------------------- -Attribute Tags - -If a tag name begins with "attr:" then it will be able to inject an object -into the parsed template. (See dojox.dtl.tag.event.EventNode) - -onclick/onmouseover/etc attributes work by attaching to the rendering object. - -tstyle attribute allows for styles to be changed dynamically. Use them just -like a "style" attribute. - -attach attribute attaches the node to the rendering object. -------------------------------------------------------------------------------- -New Context Functions - -setThis() and getThis() returns the object "in charge" of the current rendering. -This is used so that we can attach events. - -mixin() and filter() clone the current context, and either add to or reduce -the keys in the context. -------------------------------------------------------------------------------- -Buffers - -Both the base and HTML versions of dojox.dtl use buffers. The base version uses -dojox.string.Builder and the HTML version uses dojox.dtl.HtmlBuffer. - -The HTML buffer has several calls important to rendering: - -setParent/getParent/concat/remove: - -setParent and concat are used in order to render our HTML. As we move through -the parsed template, different nodes change the parent or add on to the -current parent. getParent is useful in things like the attribute tags, since -they can use getParent to find the node that they're an attribute on. remove is -used during unrendering. - -setAttribute: - -Sets an attribute on the current parent -------------------------------------------------------------------------------- -Tags Need clone/unrender Functions. - -One of the biggest challenges of getting dojox.dtl to work in an HTML -environment was logic blocks. Nodes and objects inside a for loop need to be -cloned, they can't simply be re-rendered, especially if they involve a Node. -Also, in the case of an if/else block, we need to be able to not just render -one of the blocks, but also unrender the second. - -This is really simple code, a good example is the dojox.dtl.HtmlNode -object. Each function in this object is only one line long. \ No newline at end of file diff --git a/includes/js/dojox/dtl/_HtmlTemplated.js b/includes/js/dojox/dtl/_HtmlTemplated.js deleted file mode 100644 index 8947a8d..0000000 --- a/includes/js/dojox/dtl/_HtmlTemplated.js +++ /dev/null @@ -1,72 +0,0 @@ -if(!dojo._hasResource["dojox.dtl._HtmlTemplated"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl._HtmlTemplated"] = true; -dojo.provide("dojox.dtl._HtmlTemplated"); -dojo.require("dijit._Templated"); -dojo.require("dojox.dtl.html"); -dojo.require("dojox.dtl.render.html"); -dojo.require("dojox.dtl.contrib.dijit"); - -dojox.dtl._HtmlTemplated = { - prototype: { - _dijitTemplateCompat: false, - buildRendering: function(){ - this.domNode = this.srcNodeRef; - - if(!this._render){ - var ddcd = dojox.dtl.contrib.dijit; - var old = ddcd.widgetsInTemplate; - ddcd.widgetsInTemplate = this.widgetsInTemplate; - this._template = this._getCachedTemplate(this.templatePath, this.templateString); - this._render = new dojox.dtl.render.html.Render(this.domNode, this._template); - ddcd.widgetsInTemplate = old; - } - - var self = this; - this._rendering = setTimeout(function(){ self.render(); }, 10); - }, - setTemplate: function(/*String|dojo._Url*/ template, /*dojox.dtl.Context?*/ context){ - // summary: - // Quickly switch between templated by location - if(dojox.dtl.text._isTemplate(template)){ - this._template = this._getCachedTemplate(null, template); - }else{ - this._template = this._getCachedTemplate(template); - } - this.render(context); - }, - render: function(/*dojox.dtl.Context?*/ context){ - if(this._rendering){ - clearTimeout(this._rendering); - delete this._rendering; - } - this._render.render(this._getContext(context)); - }, - _getContext: function(context){ - if (!(context instanceof dojox.dtl.Context)) { - context = false; - } - context = context || new dojox.dtl.Context(this); - context.setThis(this); - return context; - }, - _getCachedTemplate: function(templatePath, templateString){ - if(!this._templates){ - this._templates = {}; - } - var key = templateString || templatePath.toString(); - var tmplts = this._templates; - if(tmplts[key]){ - return tmplts[key]; - } - return (tmplts[key] = new dojox.dtl.HtmlTemplate( - dijit._Templated.getCachedTemplate( - templatePath, - templateString, - true - ) - )); - } - } -}; - -} diff --git a/includes/js/dojox/dtl/_Templated.js b/includes/js/dojox/dtl/_Templated.js deleted file mode 100644 index 1472fe9..0000000 --- a/includes/js/dojox/dtl/_Templated.js +++ /dev/null @@ -1,93 +0,0 @@ -if(!dojo._hasResource["dojox.dtl._Templated"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl._Templated"] = true; -dojo.provide("dojox.dtl._Templated"); -dojo.require("dijit._Templated"); -dojo.require("dojox.dtl._base"); - -dojo.declare("dojox.dtl._Templated", dijit._Templated, { - _dijitTemplateCompat: false, - buildRendering: function(){ - var node; - - if(this.domNode && !this._template){ - return; - } - - if(!this._template){ - var t = this.getCachedTemplate( - this.templatePath, - this.templateString, - this._skipNodeCache - ); - if(t instanceof dojox.dtl.Template) { - this._template = t; - }else{ - node = t; - } - } - if(!node){ - var nodes = dijit._Templated._createNodesFromText( - this._template.render(new dojox.dtl._Context(this)) - ); - for(var i = 0; i < nodes.length; i++){ - if(nodes[i].nodeType == 1){ - node = nodes[i]; - break; - } - } - } - - this._attachTemplateNodes(node); - - var source = this.srcNodeRef; - if(source && source.parentNode){ - source.parentNode.replaceChild(node, source); - } - - if(this.widgetsInTemplate){ - var childWidgets = dojo.parser.parse(node); - this._attachTemplateNodes(childWidgets, function(n,p){ - return n[p]; - }); - } - - if(this.domNode){ - dojo.place(node, this.domNode, "before"); - this.destroyDescendants(); - dojo._destroyElement(this.domNode); - } - this.domNode = node; - - this._fillContent(source); - }, - _templateCache: {}, - getCachedTemplate: function(templatePath, templateString, alwaysUseString){ - // summary: - // Layer for dijit._Templated.getCachedTemplate - var tmplts = this._templateCache; - var key = templateString || templatePath; - if(tmplts[key]){ - return tmplts[key]; - } - - templateString = dojo.string.trim(templateString || dijit._Templated._sanitizeTemplateString(dojo._getText(templatePath))); - - if( this._dijitTemplateCompat && - (alwaysUseString || templateString.match(/\$\{([^\}]+)\}/g)) - ){ - templateString = this._stringRepl(templateString); - } - - // If we always use a string, or find no variables, just store it as a node - if(alwaysUseString || !templateString.match(/\{[{%]([^\}]+)[%}]\}/g)){ - return (tmplts[key] = dijit._Templated._createNodesFromText(templateString)[0]); - }else{ - return (tmplts[key] = new dojox.dtl.Template(templateString)); - } - }, - render: function(){ - this.buildRendering(); - } -}); - -} diff --git a/includes/js/dojox/dtl/_base.js b/includes/js/dojox/dtl/_base.js deleted file mode 100644 index f42f245..0000000 --- a/includes/js/dojox/dtl/_base.js +++ /dev/null @@ -1,570 +0,0 @@ -if(!dojo._hasResource["dojox.dtl._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl._base"] = true; -dojo.provide("dojox.dtl._base"); - -dojo.require("dojox.string.Builder"); -dojo.require("dojox.string.tokenize"); - -(function(){ - var dd = dojox.dtl; - - dd._Context = dojo.extend(function(dict){ - // summary: Pass one of these when rendering a template to tell the template what values to use. - dojo.mixin(this, dict || {}); - this._dicts = []; - }, - { - push: function(){ - var dict = {}; - var keys = this.getKeys(); - for(var i = 0, key; key = keys[i]; i++){ - dict[key] = this[key]; - delete this[key]; - } - this._dicts.unshift(dict); - }, - pop: function(){ - if(!this._dicts.length){ - throw new Error("pop() called on empty Context"); - } - var dict = this._dicts.shift(); - dojo.mixin(this, dict); - }, - getKeys: function(){ - var keys = []; - for(var key in this){ - if(this.hasOwnProperty(key) && key != "_dicts" && key != "_this"){ - keys.push(key); - } - } - return keys; - }, - get: function(key, otherwise){ - if(typeof this[key] != "undefined"){ - return this._normalize(this[key]); - } - - for(var i = 0, dict; dict = this._dicts[i]; i++){ - if(typeof dict[key] != "undefined"){ - return this._normalize(dict[key]); - } - } - - return otherwise; - }, - _normalize: function(value){ - if(value instanceof Date){ - value.year = value.getFullYear(); - value.month = value.getMonth() + 1; - value.day = value.getDate(); - value.date = value.year + "-" + ("0" + value.month).slice(-2) + "-" + ("0" + value.day).slice(-2); - value.hour = value.getHours(); - value.minute = value.getMinutes(); - value.second = value.getSeconds(); - value.microsecond = value.getMilliseconds(); - } - return value; - }, - update: function(dict){ - this.push(); - if(dict){ - dojo.mixin(this, dict); - } - } - }); - - var ddt = dd.text = { - types: {tag: -1, varr: -2, text: 3}, - pySplit: function(str){ - // summary: Split a string according to Python's split function - str = dojo.trim(str); - return (!str.length) ? [] : str.split(/\s+/g); - }, - _get: function(module, name, errorless){ - // summary: Used to find both tags and filters - var params = dd.register.get(module, name.toLowerCase(), errorless); - if(!params){ - if(!errorless){ - throw new Error("No tag found for " + name); - } - return null; - } - - var fn = params[1]; - var require = params[2]; - - var parts; - if(fn.indexOf(":") != -1){ - parts = fn.split(":"); - fn = parts.pop(); - } - - dojo["require"](require); - - var parent = dojo.getObject(require); - - return parent[fn || name] || parent[name + "_"]; - }, - getTag: function(name, errorless){ - return ddt._get("tag", name, errorless); - }, - getFilter: function(name, errorless){ - return ddt._get("filter", name, errorless); - }, - getTemplate: function(file){ - return new dd.Template(dd.getTemplateString(file)); - }, - getTemplateString: function(file){ - return dojo._getText(file.toString()) || ""; - }, - _resolveLazy: function(location, sync, json){ - if(sync){ - if(json){ - return dojo.fromJson(dojo._getText(location)) || {}; - }else{ - return dd.text.getTemplateString(location); - } - }else{ - return dojo.xhrGet({ - handleAs: (json) ? "json" : "text", - url: location - }); - } - }, - _resolveTemplateArg: function(arg, sync){ - if(ddt._isTemplate(arg)){ - if(!sync){ - var d = new dojo.Deferred(); - d.callback(arg); - return d; - } - return arg; - } - return ddt._resolveLazy(arg, sync); - }, - _isTemplate: function(arg){ - return (typeof arg == "undefined") || (dojo.isString(arg) && (arg.match(/^\s*[<{]/) || arg.indexOf(" ") != -1)); - }, - _resolveContextArg: function(arg, sync){ - if(arg.constructor == Object){ - if(!sync){ - var d = new dojo.Deferred; - d.callback(arg); - return d; - } - return arg; - } - return ddt._resolveLazy(arg, sync, true); - }, - _re: /(?:\{\{\s*(.+?)\s*\}\}|\{%\s*(load\s*)?(.+?)\s*%\})/g, - tokenize: function(str){ - return dojox.string.tokenize(str, ddt._re, ddt._parseDelims); - }, - _parseDelims: function(varr, load, tag){ - var types = ddt.types; - if(varr){ - return [types.varr, varr]; - }else if(load){ - var parts = dd.text.pySplit(tag); - for(var i = 0, part; part = parts[i]; i++){ - dojo["require"](part); - } - }else{ - return [types.tag, tag]; - } - } - } - - dd.Template = dojo.extend(function(/*String|dojo._Url*/ template){ - // template: - // The string or location of the string to - // use as a template - var str = ddt._resolveTemplateArg(template, true) || ""; - var tokens = ddt.tokenize(str); - var parser = new dd._Parser(tokens); - this.nodelist = parser.parse(); - }, - { - update: function(node, context){ - // node: DOMNode|String|dojo.NodeList - // A node reference or set of nodes - // context: dojo._Url|String|Object - // The context object or location - return ddt._resolveContextArg(context).addCallback(this, function(contextObject){ - var content = this.render(new dd._Context(contextObject)); - if(node.forEach){ - node.forEach(function(item){ - item.innerHTML = content; - }); - }else{ - dojo.byId(node).innerHTML = content; - } - return this; - }); - }, - render: function(context, /*concatenatable?*/ buffer){ - buffer = buffer || this.getBuffer(); - context = context || new dd._Context({}); - return this.nodelist.render(context, buffer) + ""; - }, - getBuffer: function(){ - dojo.require("dojox.string.Builder"); - return new dojox.string.Builder(); - } - }); - - dd._Filter = dojo.extend(function(token){ - // summary: Uses a string to find (and manipulate) a variable - if(!token) throw new Error("Filter must be called with variable name"); - this.contents = token; - - var cache = this._cache[token]; - if(cache){ - this.key = cache[0]; - this.filters = cache[1]; - }else{ - this.filters = []; - dojox.string.tokenize(token, this._re, this._tokenize, this); - this._cache[token] = [this.key, this.filters]; - } - }, - { - _cache: {}, - _re: /(?:^_\("([^\\"]*(?:\\.[^\\"])*)"\)|^"([^\\"]*(?:\\.[^\\"]*)*)"|^([a-zA-Z0-9_.]+)|\|(\w+)(?::(?:_\("([^\\"]*(?:\\.[^\\"])*)"\)|"([^\\"]*(?:\\.[^\\"]*)*)"|([a-zA-Z0-9_.]+)|'([^\\']*(?:\\.[^\\']*)*)'))?|^'([^\\']*(?:\\.[^\\']*)*)')/g, - _values: { - 0: '"', // _("text") - 1: '"', // "text" - 2: "", // variable - 8: '"' // 'text' - }, - _args: { - 4: '"', // :_("text") - 5: '"', // :"text" - 6: "", // :variable - 7: "'"// :'text' - }, - _tokenize: function(){ - var pos, arg; - - for(var i = 0, has = []; i < arguments.length; i++){ - has[i] = (typeof arguments[i] != "undefined" && dojo.isString(arguments[i]) && arguments[i]); - } - - if(!this.key){ - for(pos in this._values){ - if(has[pos]){ - this.key = this._values[pos] + arguments[pos] + this._values[pos]; - break; - } - } - }else{ - for(pos in this._args){ - if(has[pos]){ - var value = arguments[pos]; - if(this._args[pos] == "'"){ - value = value.replace(/\\'/g, "'"); - }else if(this._args[pos] == '"'){ - value = value.replace(/\\"/g, '"'); - } - arg = [!this._args[pos], value]; - break; - } - } - // Get a named filter - var fn = ddt.getFilter(arguments[3]); - if(!dojo.isFunction(fn)) throw new Error(arguments[3] + " is not registered as a filter"); - this.filters.push([fn, arg]); - } - }, - getExpression: function(){ - return this.contents; - }, - resolve: function(context){ - var str = this.resolvePath(this.key, context); - for(var i = 0, filter; filter = this.filters[i]; i++){ - // Each filter has the function in [0], a boolean in [1][0] of whether it's a variable or a string - // and [1][1] is either the variable name of the string content. - if(filter[1]){ - if(filter[1][0]){ - str = filter[0](str, this.resolvePath(filter[1][1], context)); - }else{ - str = filter[0](str, filter[1][1]); - } - }else{ - str = filter[0](str); - } - } - return str; - }, - resolvePath: function(path, context){ - var current, parts; - var first = path.charAt(0); - var last = path.slice(-1); - if(!isNaN(parseInt(first))){ - current = (path.indexOf(".") == -1) ? parseInt(path) : parseFloat(path); - }else if(first == '"' && first == last){ - current = path.slice(1, -1); - }else{ - if(path == "true"){ return true; } - if(path == "false"){ return false; } - if(path == "null" || path == "None"){ return null; } - parts = path.split("."); - current = context.get(parts[0]); - for(var i = 1; i < parts.length; i++){ - var part = parts[i]; - if(current){ - if(dojo.isObject(current) && part == "items" && typeof current[part] == "undefined"){ - var items = []; - for(var key in current){ - items.push([key, current[key]]); - } - current = items; - continue; - } - - if(current.get && dojo.isFunction(current.get)){ - current = current.get(part); - }else if(typeof current[part] == "undefined"){ - current = current[part]; - break; - }else{ - current = current[part]; - } - - if(dojo.isFunction(current)){ - if(current.alters_data){ - current = ""; - }else{ - current = current(); - } - } - }else{ - return ""; - } - } - } - return current; - } - }); - - dd._TextNode = dd._Node = dojo.extend(function(/*Object*/ obj){ - // summary: Basic catch-all node - this.contents = obj; - }, - { - set: function(data){ - this.contents = data; - }, - render: function(context, buffer){ - // summary: Adds content onto the buffer - return buffer.concat(this.contents); - } - }); - - dd._NodeList = dojo.extend(function(/*Node[]*/ nodes){ - // summary: Allows us to render a group of nodes - this.contents = nodes || []; - this.last = ""; - }, - { - push: function(node){ - // summary: Add a new node to the list - this.contents.push(node); - }, - render: function(context, buffer){ - // summary: Adds all content onto the buffer - for(var i = 0; i < this.contents.length; i++){ - buffer = this.contents[i].render(context, buffer); - if(!buffer) throw new Error("Template must return buffer"); - } - return buffer; - }, - dummyRender: function(context){ - return this.render(context, dd.Template.prototype.getBuffer()).toString(); - }, - unrender: function(){ return arguments[1]; }, - clone: function(){ return this; } - }); - - dd._VarNode = dojo.extend(function(str){ - // summary: A node to be processed as a variable - this.contents = new dd._Filter(str); - }, - { - render: function(context, buffer){ - var str = this.contents.resolve(context); - return buffer.concat(str); - } - }); - - dd._noOpNode = new function(){ - // summary: Adds a no-op node. Useful in custom tags - this.render = this.unrender = function(){ return arguments[1]; } - this.clone = function(){ return this; } - } - - dd._Parser = dojo.extend(function(tokens){ - // summary: Parser used during initialization and for tag groups. - this.contents = tokens; - }, - { - i: 0, - parse: function(/*Array?*/ stop_at){ - // summary: Turns tokens into nodes - // description: Steps into tags are they're found. Blocks use the parse object - // to find their closing tag (the stop_at array). stop_at is inclusive, it - // returns the node that matched. - var types = ddt.types; - var terminators = {}; - stop_at = stop_at || []; - for(var i = 0; i < stop_at.length; i++){ - terminators[stop_at[i]] = true; - } - - var nodelist = new dd._NodeList(); - while(this.i < this.contents.length){ - token = this.contents[this.i++]; - if(dojo.isString(token)){ - nodelist.push(new dd._TextNode(token)); - }else{ - var type = token[0]; - var text = token[1]; - if(type == types.varr){ - nodelist.push(new dd._VarNode(text)); - }else if(type == types.tag){ - if(terminators[text]){ - --this.i; - return nodelist; - } - var cmd = text.split(/\s+/g); - if(cmd.length){ - cmd = cmd[0]; - var fn = ddt.getTag(cmd); - if(fn){ - nodelist.push(fn(this, text)); - } - } - } - } - } - - if(stop_at.length){ - throw new Error("Could not find closing tag(s): " + stop_at.toString()); - } - - this.contents.length = 0; - return nodelist; - }, - next: function(){ - // summary: Returns the next token in the list. - var token = this.contents[this.i++]; - return {type: token[0], text: token[1]}; - }, - skipPast: function(endtag){ - var types = ddt.types; - while(this.i < this.contents.length){ - var token = this.contents[this.i++]; - if(token[0] == types.tag && token[1] == endtag){ - return; - } - } - throw new Error("Unclosed tag found when looking for " + endtag); - }, - getVarNodeConstructor: function(){ - return dd._VarNode; - }, - getTextNodeConstructor: function(){ - return dd._TextNode; - }, - getTemplate: function(file){ - return new dd.Template(file); - } - }); - - dd.register = { - _registry: { - attributes: [], - tags: [], - filters: [] - }, - get: function(/*String*/ module, /*String*/ name){ - var registry = dd.register._registry[module + "s"]; - for(var i = 0, entry; entry = registry[i]; i++){ - if(dojo.isString(entry[0])){ - if(entry[0] == name){ - return entry; - } - }else if(name.match(entry[0])){ - return entry; - } - } - }, - getAttributeTags: function(){ - var tags = []; - var registry = dd.register._registry.attributes; - for(var i = 0, entry; entry = registry[i]; i++){ - if(entry.length == 3){ - tags.push(entry); - }else{ - var fn = dojo.getObject(entry[1]); - if(fn && dojo.isFunction(fn)){ - entry.push(fn); - tags.push(entry); - } - } - } - return tags; - }, - _any: function(type, base, locations){ - for(var path in locations){ - for(var i = 0, fn; fn = locations[path][i]; i++){ - var key = fn; - if(dojo.isArray(fn)){ - key = fn[0]; - fn = fn[1]; - } - if(dojo.isString(key)){ - if(key.substr(0, 5) == "attr:"){ - var attr = fn; - if(attr.substr(0, 5) == "attr:"){ - attr = attr.slice(5); - } - dd.register._registry.attributes.push([attr, base + "." + path + "." + attr]); - } - key = key.toLowerCase(); - } - dd.register._registry[type].push([ - key, - fn, - base + "." + path - ]); - } - } - }, - tags: function(/*String*/ base, /*Object*/ locations){ - dd.register._any("tags", base, locations); - }, - filters: function(/*String*/ base, /*Object*/ locations){ - dd.register._any("filters", base, locations); - } - } - - dd.register.tags("dojox.dtl.tag", { - "date": ["now"], - "logic": ["if", "for", "ifequal", "ifnotequal"], - "loader": ["extends", "block", "include", "load", "ssi"], - "misc": ["comment", "debug", "filter", "firstof", "spaceless", "templatetag", "widthratio", "with"], - "loop": ["cycle", "ifchanged", "regroup"] - }); - dd.register.filters("dojox.dtl.filter", { - "dates": ["date", "time", "timesince", "timeuntil"], - "htmlstrings": ["escape", "linebreaks", "linebreaksbr", "removetags", "striptags"], - "integers": ["add", "get_digit"], - "lists": ["dictsort", "dictsortreversed", "first", "join", "length", "length_is", "random", "slice", "unordered_list"], - "logic": ["default", "default_if_none", "divisibleby", "yesno"], - "misc": ["filesizeformat", "pluralize", "phone2numeric", "pprint"], - "strings": ["addslashes", "capfirst", "center", "cut", "fix_ampersands", "floatformat", "iriencode", "linenumbers", "ljust", "lower", "make_list", "rjust", "slugify", "stringformat", "title", "truncatewords", "truncatewords_html", "upper", "urlencode", "urlize", "urlizetrunc", "wordcount", "wordwrap"] - }); -})(); - -} diff --git a/includes/js/dojox/dtl/contrib/data.js b/includes/js/dojox/dtl/contrib/data.js deleted file mode 100644 index 5ca3aa7..0000000 --- a/includes/js/dojox/dtl/contrib/data.js +++ /dev/null @@ -1,89 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.contrib.data"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.contrib.data"] = true; -dojo.provide("dojox.dtl.contrib.data"); -dojo.require("dojox.dtl._base"); - -(function(){ - var dd = dojox.dtl; - var ddcd = dd.contrib.data; - - ddcd._BoundItem = dojo.extend(function(item, store){ - this.item = item; - this.store = store; - }, - { - get: function(key){ - var store = this.store; - var item = this.item; - - if(key == "getLabel"){ - return store.getLabel(item); - }else if(key == "getAttributes"){ - return store.getAttributes(item); - }else if(key == "getIdentity"){ - if(store.getIdentity){ - return store.getIdentity(item); - } - return "Store has no identity API"; - }else{ - if(store.hasAttribute(item, key)){ - var value = store.getValue(item, key); - return (dojo.isObject(value) && store.isItem(value)) ? new ddcd._BoundItem(value, store) : value; - }else if(key.slice(-1) == "s" && store.hasAttribute(item, key.slice(0, -1))){ - return dojo.map(store.getValues(item, key.slice(0, -1)), function(value){ - return (dojo.isObject(value) && store.isItem(value)) ? new ddcd._BoundItem(value, store) : value; - }); - } - } - } - }); - - ddcd.BindDataNode = dojo.extend(function(items, store, alias){ - this.items = new dd._Filter(items); - this.store = new dd._Filter(store); - this.alias = alias; - }, - { - render: function(context, buffer){ - var items = this.items.resolve(context); - var store = this.store.resolve(context); - if(!store){ - throw new Error("data_bind didn't receive a store"); - } - - var list = []; - if(items){ - for(var i = 0, item; item = items[i]; i++){ - list.push(new ddcd._BoundItem(item, store)); - } - } - - context[this.alias] = list; - return buffer; - }, - unrender: function(context, buffer){ - return buffer; - }, - clone: function(){ - return this; - } - }); - - dojo.mixin(ddcd, { - bind_data: function(parser, text){ - var parts = dd.text.pySplit(text); - - if(parts[2] != 'to' || parts[4] != 'as' || !parts[5]){ - throw new Error("data_bind expects the format: 'data_bind items to store as varName'"); - } - - return new ddcd.BindDataNode(parts[1], parts[3], parts[5]); - } - }); - - dd.register.tags("dojox.dtl.contrib", { - "data": ["bind_data"] - }); -})(); - -} diff --git a/includes/js/dojox/dtl/contrib/dijit.js b/includes/js/dojox/dtl/contrib/dijit.js deleted file mode 100644 index 41caf33..0000000 --- a/includes/js/dojox/dtl/contrib/dijit.js +++ /dev/null @@ -1,220 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.contrib.dijit"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.contrib.dijit"] = true; -dojo.provide("dojox.dtl.contrib.dijit"); - -dojo.require("dojox.dtl.html"); -dojo.require("dojo.parser"); - -(function(){ - var dd = dojox.dtl; - var ddcd = dd.contrib.dijit; - - ddcd.AttachNode = dojo.extend(function(keys, object){ - this._keys = keys; - this._object = object; - }, - { - render: function(context, buffer){ - if(!this._rendered){ - this._rendered = true; - for(var i=0, key; key = this._keys[i]; i++){ - context.getThis()[key] = this._object || buffer.getParent(); - } - } - return buffer; - }, - unrender: function(context, buffer){ - if(this._rendered){ - this._rendered = false; - for(var i=0, key; key = this._keys[i]; i++){ - if(context.getThis()[key] === (this._object || buffer.getParent())){ - delete context.getThis()[key]; - } - } - } - return buffer; - }, - clone: function(buffer){ - return new this.constructor(this._keys, this._object); - } - }); - - ddcd.EventNode = dojo.extend(function(command, obj){ - this._command = command; - - var type, events = command.split(/\s*,\s*/); - var trim = dojo.trim; - var types = []; - var fns = []; - while(type = events.pop()){ - if(type){ - var fn = null; - if(type.indexOf(":") != -1){ - // oh, if only JS had tuple assignment - var funcNameArr = type.split(":"); - type = trim(funcNameArr[0]); - fn = trim(funcNameArr[1]); - }else{ - type = trim(type); - } - if(!fn){ - fn = type; - } - types.push(type); - fns.push(fn); - } - } - - this._types = types; - this._fns = fns; - this._object = obj; - this._rendered = []; - }, - { - // _clear: Boolean - // Make sure we kill the actual tags (onclick problems, etc) - _clear: false, - render: function(context, buffer){ - for(var i = 0, type; type = this._types[i]; i++){ - if(!this._clear && !this._object){ - buffer.getParent()[type] = null; - } - var fn = this._fns[i]; - var args; - if(fn.indexOf(" ") != -1){ - if(this._rendered[i]){ - dojo.disconnect(this._rendered[i]); - this._rendered[i] = false; - } - args = dojo.map(fn.split(" ").slice(1), function(item){ - return new dd._Filter(item).resolve(context); - }); - fn = fn[0]; - } - if(!this._rendered[i]){ - if(!this._object){ - this._rendered[i] = buffer.addEvent(context, type, fn, args); - }else{ - this._rendered[i] = dojo.connect(this._object, type, context.getThis(), fn); - } - } - } - this._clear = true; - - return buffer; - }, - unrender: function(context, buffer){ - while(this._rendered.length){ - dojo.disconnect(this._rendered.pop()); - } - return buffer; - }, - clone: function(){ - return new this.constructor(this._command, this._object); - } - }); - - function cloneNode(n1){ - var n2 = n1.cloneNode(true); - if(dojo.isIE){ - dojo.query("script", n2).forEach("item.text = this[index].text;", dojo.query("script", n1)); - } - return n2; - } - - ddcd.DojoTypeNode = dojo.extend(function(node, parsed){ - this._node = node; - this._parsed = parsed; - - var events = node.getAttribute("dojoAttachEvent"); - if(events){ - this._events = new ddcd.EventNode(dojo.trim(events)); - } - var attach = node.getAttribute("dojoAttachPoint"); - if(attach){ - this._attach = new ddcd.AttachNode(dojo.trim(attach).split(/\s*,\s*/)); - } - - if (!parsed){ - this._dijit = dojo.parser.instantiate([cloneNode(node)])[0]; - }else{ - node = cloneNode(node); - var old = ddcd.widgetsInTemplate; - ddcd.widgetsInTemplate = false; - this._template = new dd.HtmlTemplate(node); - ddcd.widgetsInTemplate = old; - } - }, - { - render: function(context, buffer){ - if(this._parsed){ - var _buffer = new dd.HtmlBuffer(); - this._template.render(context, _buffer); - var root = cloneNode(_buffer.getRootNode()); - var div = document.createElement("div"); - div.appendChild(root); - var rendered = div.innerHTML; - div.removeChild(root); - if(rendered != this._rendered){ - this._rendered = rendered; - if(this._dijit){ - this._dijit.destroyRecursive(); - } - this._dijit = dojo.parser.instantiate([root])[0]; - } - } - - var node = this._dijit.domNode; - - if(this._events){ - this._events._object = this._dijit; - this._events.render(context, buffer); - } - if(this._attach){ - this._attach._object = this._dijit; - this._attach.render(context, buffer); - } - - return buffer.concat(node); - }, - unrender: function(context, buffer){ - return buffer.remove(this._dijit.domNode); - }, - clone: function(){ - return new this.constructor(this._node, this._parsed); - } - }); - - dojo.mixin(ddcd, { - widgetsInTemplate: true, - dojoAttachPoint: function(parser, text){ - return new ddcd.AttachNode(dojo.trim(text).slice(16).split(/\s*,\s*/)); - }, - dojoAttachEvent: function(parser, text){ - return new ddcd.EventNode(text.slice(16)); - }, - dojoType: function(parser, text){ - if(ddcd.widgetsInTemplate){ - var node = parser.swallowNode(); - var parsed = false; - if(text.slice(-7) == " parsed"){ - parsed = true; - node.setAttribute("dojoType", dojo.trim(text).slice(0, -7)); - } - return new ddcd.DojoTypeNode(node, parsed); - } - return dd._noOpNode; - }, - on: function(parser, text){ - // summary: Associates an event type to a function (on the current widget) by name - var parts = text.split(" "); - return new ddcd.EventNode(parts[0] + ":" + parts.slice(1).join(" ")); - } - }); - - dd.register.tags("dojox.dtl.contrib", { - "dijit": ["attr:dojoType", "attr:dojoAttachPoint", ["attr:attach", "dojoAttachPoint"], "attr:dojoAttachEvent", [/(attr:)?on(click|key(up))/i, "on"]] - }); -})(); - -} diff --git a/includes/js/dojox/dtl/contrib/html.js b/includes/js/dojox/dtl/contrib/html.js deleted file mode 100644 index 260bbe2..0000000 --- a/includes/js/dojox/dtl/contrib/html.js +++ /dev/null @@ -1,107 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.contrib.html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.contrib.html"] = true; -dojo.provide("dojox.dtl.contrib.html"); - -dojo.require("dojox.dtl.html"); - -(function(){ - var dd = dojox.dtl; - var ddch = dd.contrib.html; - - ddch.HtmlNode = dojo.extend(function(name){ - this.contents = new dd._Filter(name); - this._div = document.createElement("div"); - this._lasts = []; - }, - { - render: function(context, buffer){ - var text = this.contents.resolve(context); - if(text){ - text = text.replace(/<(\/?script)/ig, '<$1').replace(/\bon[a-z]+\s*=/ig, ''); - if(this._rendered && this._last != text){ - buffer = this.unrender(context, buffer); - } - this._last = text; - - // This can get reset in the above tag - if(!this._rendered){ - this._rendered = true; - var div = this._div; - div.innerHTML = text; - var children = div.childNodes; - while(children.length){ - var removed = div.removeChild(children[0]); - this._lasts.push(removed); - buffer = buffer.concat(removed); - } - } - } - - return buffer; - }, - unrender: function(context, buffer){ - if(this._rendered){ - this._rendered = false; - this._last = ""; - for(var i = 0, node; node = this._lasts[i++];){ - buffer = buffer.remove(node); - dojo._destroyElement(node); - } - this._lasts = []; - } - return buffer; - }, - clone: function(buffer){ - return new this.constructor(this.contents.getExpression()); - } - }); - - ddch.StyleNode = dojo.extend(function(styles){ - this.contents = {}; - this._styles = styles; - for(var key in styles){ - this.contents[key] = new dd.Template(styles[key]); - } - }, - { - render: function(context, buffer){ - for(var key in this.contents){ - dojo.style(buffer.getParent(), key, this.contents[key].render(context)); - } - return buffer; - }, - unrender: function(context, buffer){ - return buffer; - }, - clone: function(buffer){ - return new this.constructor(this._styles); - } - }); - - dojo.mixin(ddch, { - html: function(parser, text){ - var parts = text.split(" ", 2); - return new ddch.HtmlNode(parts[1]); - }, - tstyle: function(parser, text){ - var styles = {}; - text = text.replace(/^tstyle\s+/, ""); - var rules = text.split(/\s*;\s*/g); - for(var i = 0, rule; rule = rules[i]; i++){ - var parts = rule.split(/\s*:\s*/g); - var key = parts[0]; - var value = parts[1]; - if(value.indexOf("{{") == 0){ - styles[key] = value; - } - } - return new ddch.StyleNode(styles); - } - }); - - dd.register.tags("dojox.dtl.contrib", { - "html": ["html", "attr:tstyle"] - }); -})(); - -} diff --git a/includes/js/dojox/dtl/contrib/objects.js b/includes/js/dojox/dtl/contrib/objects.js deleted file mode 100644 index d29c0df..0000000 --- a/includes/js/dojox/dtl/contrib/objects.js +++ /dev/null @@ -1,15 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.contrib.objects"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.contrib.objects"] = true; -dojo.provide("dojox.dtl.contrib.objects"); - -dojo.mixin(dojox.dtl.contrib.objects, { - key: function(value, arg){ - return value[arg]; - } -}); - -dojox.dtl.register.filters("dojox.dtl.contrib", { - "objects": ["key"] -}); - -} diff --git a/includes/js/dojox/dtl/demos/demo_Animation.html b/includes/js/dojox/dtl/demos/demo_Animation.html deleted file mode 100644 index 1a5e278..0000000 --- a/includes/js/dojox/dtl/demos/demo_Animation.html +++ /dev/null @@ -1,45 +0,0 @@ - - - Testing dojox.dtl using animation to change attributes - - - - -
          - - \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/demo_Blog.html b/includes/js/dojox/dtl/demos/demo_Blog.html deleted file mode 100644 index c9bd990..0000000 --- a/includes/js/dojox/dtl/demos/demo_Blog.html +++ /dev/null @@ -1,96 +0,0 @@ - - - Testing dojox.dtl using a blog example - - - - -
          - - diff --git a/includes/js/dojox/dtl/demos/demo_Data.html b/includes/js/dojox/dtl/demos/demo_Data.html deleted file mode 100644 index 93bb76f..0000000 --- a/includes/js/dojox/dtl/demos/demo_Data.html +++ /dev/null @@ -1,58 +0,0 @@ - - - Demo using the dojo.data bind_data tag - - - - -
          - - - \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/demo_Dijitless.html b/includes/js/dojox/dtl/demos/demo_Dijitless.html deleted file mode 100644 index 2aaceaa..0000000 --- a/includes/js/dojox/dtl/demos/demo_Dijitless.html +++ /dev/null @@ -1,50 +0,0 @@ - - - Demo using dojox.dtl._HtmlTemplated without Dijit - - - - -
          - - diff --git a/includes/js/dojox/dtl/demos/demo_Events.html b/includes/js/dojox/dtl/demos/demo_Events.html deleted file mode 100644 index aa3da46..0000000 --- a/includes/js/dojox/dtl/demos/demo_Events.html +++ /dev/null @@ -1,46 +0,0 @@ - - - Demo using dojox.dtl._Templated - - - - - -
          - - - \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/demo_HtmlTemplated.html b/includes/js/dojox/dtl/demos/demo_HtmlTemplated.html deleted file mode 100644 index 71dabe4..0000000 --- a/includes/js/dojox/dtl/demos/demo_HtmlTemplated.html +++ /dev/null @@ -1,40 +0,0 @@ - - - Demo using dojox.dtl._HtmlTemplated - - - - - -
          - - - \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/demo_Inline.html b/includes/js/dojox/dtl/demos/demo_Inline.html deleted file mode 100644 index 6e17d8e..0000000 --- a/includes/js/dojox/dtl/demos/demo_Inline.html +++ /dev/null @@ -1,48 +0,0 @@ - - - Demo using dojox.dtl._HtmlTemplated inline in DOM - - - - -
            - {% for item in items %} -
          • {{ item }}
          • - {% endfor %} -
          - -
            - {% for item in items reversed %} -
          • {{ item }}
          • - {% endfor %} -
          - - diff --git a/includes/js/dojox/dtl/demos/demo_NodeList.html b/includes/js/dojox/dtl/demos/demo_NodeList.html deleted file mode 100644 index d1ab0a8..0000000 --- a/includes/js/dojox/dtl/demos/demo_NodeList.html +++ /dev/null @@ -1,37 +0,0 @@ - - - Demo using dojox.dtl._Templated - - - - -
          -
          -
          -
          - - diff --git a/includes/js/dojox/dtl/demos/demo_Table.html b/includes/js/dojox/dtl/demos/demo_Table.html deleted file mode 100644 index 56dc8ac..0000000 --- a/includes/js/dojox/dtl/demos/demo_Table.html +++ /dev/null @@ -1,4072 +0,0 @@ - - - Demo to show a massive nested for loop to render a table - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          IndexNumericTextCurrencyDate
          0158.9Bill$22.442008-12-28
          1690.4Joe$3.032009-07-03
          2843Bob$11.142010-09-30
          357.8Matt$70.642009-12-16
          4494.6Mark$9.132010-05-11
          5766.3Tom$55.342008-03-10
          6699.3Jake$26.242008-11-26
          7487.8Greg$72.942010-06-23
          8786.2Adam$34.642008-09-19
          9188.6Steve$6.332009-01-01
          10898.4George$22.242009-09-18
          11222.2John$91.242009-10-23
          12707.9Phil$75.542010-02-28
          13585.5Jack$81.342009-03-24
          14213.8Paul$30.742009-07-08
          15968.5Rob$7.332008-02-06
          1639.3Walt$77.342008-12-05
          17335.7Nathan$26.142008-01-27
          18127.6Dan$4.732009-03-03
          19365.3Jeff$23.542009-05-15
          20692.9Bill$13.342010-01-26
          21244.9Joe$35.642009-10-16
          22827Bob$6.332009-01-06
          23519.6Matt$64.942008-06-03
          24917.8Mark$86.342009-05-24
          25407.1Tom$83.142009-08-17
          26449.3Jake$87.042008-11-27
          27753.5Greg$20.642009-09-25
          28787Adam$33.442009-11-18
          29166.9Steve$69.942010-08-17
          30609.6George$39.242011-01-18
          31274John$63.642009-01-02
          32850.3Phil$46.342009-03-17
          33181.4Jack$98.342008-02-04
          34325.3Paul$90.142010-10-30
          35776.3Rob$30.842010-04-17
          36300.8Walt$75.742009-11-18
          37598Nathan$51.042010-07-15
          38155.6Dan$29.742008-06-04
          39759.8Jeff$46.442010-08-21
          40599.2Bill$7.432008-09-16
          41571.9Joe$34.842010-09-23
          42900.3Bob$19.842009-01-09
          43292.2Matt$37.942008-12-21
          44333Mark$70.542008-08-28
          45236.4Tom$48.142009-08-19
          46970.9Jake$78.242008-11-10
          47575.8Greg$37.942010-06-24
          48386.7Adam$53.542008-04-02
          49531.1Steve$29.542009-09-21
          50374.3George$89.442009-12-15
          51609.1John$46.642011-01-22
          52480.3Phil$36.642008-07-07
          53814.8Jack$65.842009-09-19
          54132.2Paul$99.142008-10-12
          55350.1Rob$22.842010-04-22
          56875.7Walt$19.842009-08-12
          57158.1Nathan$77.442010-10-25
          58950.9Dan$16.142009-05-05
          5941.1Jeff$69.242010-04-11
          60595.4Bill$6.632009-12-09
          61223.4Joe$67.542008-03-30
          62199.2Bob$15.642009-05-28
          63372.8Matt$97.042008-04-28
          64925.7Mark$10.242008-04-17
          65183.1Tom$45.342009-01-05
          66921.2Jake$32.842009-08-23
          67440.8Greg$48.642008-12-04
          68339.8Adam$43.742009-06-08
          69773.7Steve$47.842008-06-17
          70502.3George$7.332008-09-01
          71124.8John$29.742010-10-22
          72213Phil$49.642008-02-18
          73667.3Jack$86.942008-01-14
          74779.8Paul$79.442008-05-12
          75883.3Rob$97.742009-10-17
          76214.4Walt$89.942010-11-01
          77743.7Nathan$33.942009-03-16
          7847Dan$67.942010-08-04
          79511Jeff$45.342008-12-08
          80666.7Bill$95.542009-03-03
          81888.5Joe$8.032010-02-09
          82785.4Bob$29.342008-07-06
          83837.7Matt$96.042008-02-05
          84860.2Mark$74.042010-08-12
          85985Tom$62.342010-07-17
          86562.3Jake$83.742010-03-21
          87467.6Greg$58.142008-02-16
          88859Adam$62.842010-04-12
          89687.5Steve$13.942008-07-17
          90993.9George$80.542008-05-26
          91373.8John$69.442008-08-26
          9250.4Phil$47.942009-07-30
          93222.8Jack$31.742009-06-14
          94263.9Paul$17.742008-08-16
          9599.2Rob$16.242010-08-07
          96911.8Walt$72.442010-01-31
          97623Nathan$19.242008-10-03
          98673.4Dan$5.032010-09-29
          99402.8Jeff$73.842008-01-06
          100584.8Bill$73.242010-07-26
          101721.7Joe$10.642009-08-06
          102938.1Bob$15.642011-02-11
          103447.1Matt$37.942008-12-12
          104915.9Mark$64.342009-07-05
          105124.2Tom$74.242010-01-08
          106955.3Jake$65.342009-02-23
          107623.6Greg$27.642009-10-02
          108872.6Adam$95.042009-11-30
          109749.4Steve$35.342009-01-30
          110764.7George$93.742008-03-26
          111585.4John$65.942008-07-26
          11299.8Phil$59.742009-01-23
          11393.2Jack$4.432010-04-06
          114403.3Paul$96.042009-02-16
          115890.2Rob$8.432008-04-23
          116538.9Walt$3.932010-05-19
          117911.6Nathan$66.342008-02-02
          118475.9Dan$53.542011-02-05
          11990.7Jeff$28.542009-01-16
          120443.3Bill$5.032008-11-05
          121527.7Joe$63.542010-12-07
          122717.7Bob$73.542009-08-28
          12363.5Matt$82.842009-10-18
          124788Mark$23.142009-09-02
          125155Tom$12.142009-12-08
          126263.6Jake$66.042010-01-22
          12725.6Greg$57.242008-12-28
          12863.9Adam$4.732010-09-09
          12952Steve$13.842008-06-03
          130392.5George$58.142008-07-31
          131670.3John$10.942010-08-04
          132607Phil$82.742009-10-01
          133140.7Jack$89.042009-03-16
          134718.3Paul$67.842009-12-08
          135255.9Rob$83.342010-04-27
          136877.6Walt$9.732009-03-29
          137538.6Nathan$12.242011-01-20
          138862.5Dan$18.642008-01-13
          139721.9Jeff$23.842008-06-21
          140866.2Bill$63.042010-04-25
          14159.9Joe$30.142010-08-29
          142888.4Bob$90.842010-02-09
          143451.5Matt$4.832009-10-05
          144842.2Mark$76.742008-09-27
          145463.9Tom$2.232008-03-18
          146206.6Jake$90.042008-07-08
          147609.3Greg$43.842008-11-26
          148583.6Adam$30.142009-06-29
          149605.2Steve$2.332010-03-31
          150764.8George$88.942009-01-27
          151505.6John$94.942010-01-10
          152355.4Phil$83.742009-09-25
          15331.9Jack$28.842009-11-20
          154598.4Paul$13.142009-02-23
          155842.9Rob$59.442009-03-20
          156920.5Walt$80.142008-11-24
          15794.5Nathan$41.042010-04-16
          158390.6Dan$99.442008-01-28
          159872.6Jeff$59.942008-02-23
          160592.3Bill$36.442010-12-18
          161942.4Joe$86.942010-10-19
          162593Bob$22.442010-04-13
          163151.1Matt$25.642008-01-11
          164757.4Mark$85.542008-06-10
          165130Tom$69.842010-04-29
          166525Jake$61.842009-09-10
          167819.8Greg$71.342010-12-29
          168552.9Adam$10.342010-12-22
          169586.8Steve$97.542009-09-13
          170643.5George$56.842010-11-08
          171588.9John$51.042010-06-10
          172482.9Phil$10.342007-12-25
          173213.9Jack$25.442008-10-17
          174233.2Paul$1.132008-05-01
          175383Rob$14.242010-07-18
          176127.1Walt$66.742009-05-01
          177672.2Nathan$48.642008-06-03
          178627.4Dan$3.932008-09-30
          179576.3Jeff$62.642008-09-01
          180124.1Bill$26.942010-06-20
          18135.3Joe$85.842008-11-30
          182815.7Bob$34.142009-03-30
          183820.6Matt$55.542010-01-18
          18481.8Mark$78.842010-01-31
          185197.5Tom$17.142010-07-14
          18610.8Jake$29.842009-06-23
          187442Greg$97.042011-01-06
          188585.7Adam$59.742007-12-21
          189832.2Steve$17.442009-12-14
          19054.3George$29.842010-10-22
          191844John$33.342010-05-10
          192143.9Phil$14.942008-04-07
          193546.8Jack$96.942010-01-09
          194203.8Paul$5.132009-05-09
          195872.3Rob$24.842009-11-22
          196682.3Walt$25.942010-11-02
          197158.7Nathan$70.142010-09-28
          198121.2Dan$28.742009-06-19
          199122.6Jeff$11.942010-01-06
          200749.8Bill$17.342010-12-17
          201646.1Joe$1.732008-11-05
          202400.4Bob$16.142009-04-26
          203495.5Matt$70.842009-03-21
          204145.3Mark$91.242009-05-19
          205582.9Tom$78.442010-03-02
          206191.3Jake$46.642010-12-27
          20797.5Greg$62.542010-01-15
          208973.7Adam$74.642010-12-13
          209447.2Steve$86.842008-02-27
          21094.3George$61.842008-09-15
          21139John$26.442008-10-04
          212316.7Phil$66.542009-04-09
          213743Jack$16.042008-05-05
          214138.4Paul$30.542008-01-24
          215584.7Rob$88.842010-07-19
          216279.3Walt$7.932008-11-08
          217233Nathan$17.742010-11-01
          218887.8Dan$15.042010-01-11
          219829.3Jeff$59.842009-08-12
          220889.7Bill$69.242008-05-27
          221123.3Joe$73.142009-03-29
          222373.9Bob$4.732008-03-06
          223785.6Matt$79.042008-09-07
          224904.9Mark$92.942009-08-26
          225935.8Tom$51.342009-04-19
          226750.5Jake$79.342009-07-19
          22731.2Greg$2.532010-02-09
          228936.7Adam$91.342010-08-02
          229588Steve$74.242009-04-23
          230107.7George$63.242008-05-01
          231245.7John$75.542010-08-25
          232647.8Phil$12.942010-10-19
          233714.6Jack$91.542010-02-18
          234941.3Paul$82.042009-11-28
          235473.3Rob$75.542008-05-13
          236893.4Walt$50.642010-11-17
          237392.7Nathan$53.742010-12-16
          23868.8Dan$47.442010-09-06
          239895.2Jeff$6.132009-11-12
          240319.1Bill$16.942008-09-12
          241434.7Joe$41.542011-02-04
          242281.1Bob$6.332008-05-02
          243174.8Matt$77.742008-01-24
          244859Mark$71.842010-08-30
          245471.8Tom$19.142009-11-19
          246597.9Jake$8.532008-04-26
          247516.5Greg$47.842010-01-08
          248460.6Adam$54.642008-05-08
          249317.8Steve$44.142008-07-18
          250917.4George$76.042009-01-30
          251149.1John$19.542010-05-25
          252136.1Phil$47.642010-08-05
          253252.2Jack$65.142009-11-20
          254283Paul$51.042008-12-29
          255133.3Rob$98.242009-08-08
          256739Walt$57.942009-11-14
          257850.4Nathan$9.632008-03-19
          258498.6Dan$55.642009-12-11
          259620.3Jeff$87.442008-03-04
          260803.4Bill$79.142010-08-01
          261155.5Joe$94.042008-01-13
          262922.3Bob$7.632009-07-17
          263751.6Matt$32.942008-06-07
          264357.9Mark$61.142010-01-18
          265682.4Tom$74.542009-12-28
          266198.4Jake$48.442008-08-28
          267799.1Greg$33.442008-12-17
          268877.4Adam$83.342010-09-21
          269501.7Steve$45.342010-04-28
          270567.4George$25.642009-08-30
          271393.4John$41.142009-06-22
          272414.4Phil$33.442009-09-18
          273911.4Jack$8.532010-10-03
          27459.2Paul$44.342009-07-10
          275716.7Rob$12.642008-09-18
          276355.7Walt$32.442010-04-01
          277573.9Nathan$12.342008-02-20
          278887.7Dan$0.032010-10-10
          279757.8Jeff$50.242009-01-15
          280501.7Bill$6.932009-11-07
          28136.9Joe$46.342007-12-27
          282512.4Bob$87.742009-01-16
          28364.3Matt$78.842009-04-25
          284944.6Mark$84.742010-09-20
          285436.3Tom$56.442011-02-12
          286672.6Jake$92.042008-12-21
          287392.6Greg$49.442009-05-13
          288446.5Adam$38.142009-05-13
          289333Steve$13.942010-12-15
          290672.1George$64.142008-01-02
          291267.3John$67.842009-06-21
          292273.9Phil$19.042009-01-29
          293614.3Jack$25.442008-05-29
          29440Paul$19.942011-02-04
          295908.8Rob$63.542009-09-17
          296903.1Walt$30.842009-06-17
          297221.2Nathan$70.042011-01-09
          298662.1Dan$14.742009-01-23
          299103.2Jeff$47.942009-07-03
          30046.2Bill$15.242008-05-13
          30158.3Joe$41.942010-07-06
          302533Bob$69.342011-02-10
          303884.6Matt$30.742008-09-30
          30424.5Mark$34.742009-05-18
          30511.7Tom$25.642008-03-22
          306563Jake$15.942009-03-12
          30734.1Greg$38.042008-03-30
          308998.8Adam$4.232008-09-16
          309344.7Steve$14.542010-03-25
          310829.5George$19.142010-09-16
          311955John$24.942008-11-12
          312758Phil$78.342011-01-23
          313750.8Jack$66.742008-11-11
          314997.8Paul$69.142009-12-18
          315443.5Rob$70.342010-10-10
          316524Walt$26.642008-02-09
          317912Nathan$30.042009-04-24
          3181000Dan$29.942009-06-11
          319234.5Jeff$64.342009-11-26
          320948.4Bill$47.342010-07-05
          321813.7Joe$42.842008-02-18
          32297.7Bob$18.642010-08-11
          32374.3Matt$93.742009-07-22
          324357.7Mark$93.442008-07-29
          325988Tom$37.842010-10-21
          326873.8Jake$90.242008-06-24
          327918.3Greg$81.442009-06-06
          328342.7Adam$81.442010-05-18
          329809Steve$4.832009-03-31
          330420.4George$99.742010-09-30
          331223John$81.042008-12-06
          332275Phil$90.842009-07-09
          333109.5Jack$98.242009-04-27
          334610.9Paul$34.042009-02-10
          335803.7Rob$32.842010-04-23
          336699.6Walt$20.142009-12-30
          337861.4Nathan$12.042009-05-28
          338323.4Dan$46.242008-10-25
          33984.3Jeff$27.142008-12-19
          340488.6Bill$69.242008-12-15
          341365.7Joe$91.542008-05-10
          342670.8Bob$19.042008-01-24
          343161.5Matt$29.942008-01-03
          344588.8Mark$91.042009-01-30
          345950.3Tom$71.442010-02-13
          346689.5Jake$41.342010-10-04
          347330.4Greg$27.442007-12-20
          348785Adam$59.842009-06-07
          34953.2Steve$68.242010-04-17
          350369.6George$17.142009-04-25
          351682.4John$53.642009-01-17
          352805.3Phil$20.742009-08-24
          353836Jack$36.942010-08-05
          354848.6Paul$95.742010-04-23
          355201Rob$90.742009-05-26
          356880.9Walt$59.742010-09-16
          357762.2Nathan$92.742008-05-29
          358763.1Dan$71.242010-04-21
          359226.4Jeff$76.542009-04-18
          360960.8Bill$13.542009-11-02
          361386.9Joe$81.742008-05-14
          362727.6Bob$62.342009-01-08
          363257.8Matt$45.942010-03-11
          36487Mark$30.742010-01-20
          365826Tom$50.842009-10-05
          366278.6Jake$38.942008-06-25
          367144.2Greg$15.142008-04-02
          368284.2Adam$91.442010-07-05
          36922Steve$14.142009-10-07
          370441.8George$10.142010-03-12
          37132.2John$48.842009-08-13
          372158.8Phil$21.642008-06-02
          373492.4Jack$47.342009-11-14
          374194.4Paul$56.042010-11-05
          375853.5Rob$38.642009-04-14
          376420Walt$66.542010-07-09
          377583.4Nathan$80.942010-12-30
          378674Dan$9.332010-09-22
          379476.8Jeff$11.542008-01-01
          38044.9Bill$55.742008-04-27
          381748Joe$58.942009-11-13
          382268.4Bob$74.842010-07-21
          383411.3Matt$24.042008-11-18
          38412.8Mark$43.442010-08-29
          385921.3Tom$28.842008-09-18
          386337.8Jake$70.842010-10-27
          387143.3Greg$29.142010-03-20
          38899.8Adam$96.542010-07-06
          389970.4Steve$44.242010-11-16
          390981.5George$48.742009-06-21
          39193.8John$23.442008-03-02
          392694.2Phil$50.342010-07-16
          393510.3Jack$91.442008-02-17
          394799.7Paul$92.742009-07-04
          395649.5Rob$84.842010-06-02
          396885.6Walt$18.642009-06-28
          397786.6Nathan$32.942010-05-31
          398496.7Dan$42.942010-04-21
          399299.9Jeff$39.942008-07-13
          400218.1Bill$38.142010-01-27
          401693.2Joe$47.442010-10-26
          402757.2Bob$16.942009-03-29
          403568.9Matt$67.942008-12-20
          404620.5Mark$47.842008-09-26
          405106.4Tom$12.842008-04-04
          406880.1Jake$1.332008-11-05
          407361.5Greg$80.042009-11-20
          408133.8Adam$29.742008-01-29
          409871.1Steve$59.642009-05-05
          41050George$81.542010-07-20
          411715.4John$50.842008-11-18
          412615.3Phil$26.542009-06-01
          41318.1Jack$83.442008-05-25
          414335Paul$45.442009-11-30
          415578.7Rob$56.042010-04-27
          416670.5Walt$44.042010-05-12
          417948.2Nathan$80.242009-09-23
          418554.8Dan$93.642010-09-01
          419590.3Jeff$80.742009-05-22
          42024.8Bill$85.742008-10-19
          421839.9Joe$57.242010-05-29
          422129.3Bob$18.742008-01-29
          423587.2Matt$20.542010-09-20
          424723.7Mark$54.042008-12-27
          425338.5Tom$11.942010-10-07
          42681Jake$78.942008-12-28
          427836.9Greg$73.842008-05-13
          428392.7Adam$29.242008-02-29
          429245Steve$88.342010-09-19
          430693.7George$90.742010-04-06
          431956.8John$74.742008-11-27
          432727.5Phil$87.742009-07-02
          433763Jack$46.442010-02-24
          434632Paul$18.742008-09-10
          435955.1Rob$52.642009-01-26
          436838.7Walt$60.742008-05-27
          437162.7Nathan$44.442010-09-27
          438288.6Dan$83.642008-06-30
          439350.1Jeff$8.132008-02-15
          440218.4Bill$77.542010-12-31
          441943.2Joe$73.142010-03-14
          442240Bob$45.942009-10-22
          443724Matt$22.242008-02-09
          444413.3Mark$85.442008-09-13
          445642.8Tom$80.942010-05-14
          446991.3Jake$64.842009-02-13
          447129.2Greg$81.042010-07-11
          4484.6Adam$9.932010-01-02
          449172.2Steve$44.942010-04-06
          450222.3George$66.742009-07-19
          451179.7John$61.042008-09-11
          452884.3Phil$85.042010-02-24
          453465.3Jack$57.442010-11-08
          454510Paul$98.742010-05-22
          455741.8Rob$63.042009-10-13
          456499.2Walt$62.142008-08-31
          457863.3Nathan$75.042008-01-24
          458670.7Dan$75.542008-05-17
          459314.2Jeff$92.742009-10-19
          46038.7Bill$14.942008-09-28
          461537.8Joe$32.942010-09-05
          462768.2Bob$21.342010-03-15
          463457.5Matt$67.942008-11-07
          464368.5Mark$18.942008-10-23
          465133.3Tom$93.042010-10-22
          466706.9Jake$43.042009-08-10
          467927.9Greg$29.342008-10-25
          468959.1Adam$96.342008-01-16
          46988.8Steve$27.842010-12-24
          470667.2George$31.642008-04-13
          471912.6John$85.442009-04-29
          472768.1Phil$62.242010-01-01
          473473.8Jack$8.032008-12-25
          474753.4Paul$44.842009-07-31
          47520.3Rob$58.142009-05-11
          476917.3Walt$28.842010-09-20
          477435.6Nathan$21.642008-06-24
          478704.3Dan$17.542008-05-12
          479728.1Jeff$26.442009-03-29
          480678.9Bill$93.142010-03-30
          481779.1Joe$84.342009-10-12
          482208.3Bob$61.142008-07-31
          483850.8Matt$8.532008-10-31
          484171.8Mark$83.842010-04-03
          485681.4Tom$85.942008-12-04
          486121.1Jake$77.642009-11-02
          487990.2Greg$21.142010-07-10
          488152Adam$91.642011-01-28
          489277Steve$64.442008-09-28
          490679.5George$32.342008-07-10
          491398John$10.242008-01-10
          492970.4Phil$31.042009-12-18
          493164.7Jack$16.142010-03-26
          494438.5Paul$33.242009-09-20
          495160.2Rob$1.432009-04-10
          496463Walt$13.542008-07-24
          49753.9Nathan$12.542009-03-26
          498860.6Dan$27.742008-12-18
          499842.2Jeff$55.442011-01-02
          - - - \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/demo_Templated.html b/includes/js/dojox/dtl/demos/demo_Templated.html deleted file mode 100644 index b538811..0000000 --- a/includes/js/dojox/dtl/demos/demo_Templated.html +++ /dev/null @@ -1,36 +0,0 @@ - - - Demo using dojox.dtl._Templated - - - - -
          - - - diff --git a/includes/js/dojox/dtl/demos/demo_Tree.html b/includes/js/dojox/dtl/demos/demo_Tree.html deleted file mode 100644 index 692d863..0000000 --- a/includes/js/dojox/dtl/demos/demo_Tree.html +++ /dev/null @@ -1,33 +0,0 @@ - - - Demo to show recursion in DTL - - - - -
          - - - \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/json/blog/get_blog_1.json b/includes/js/dojox/dtl/demos/json/blog/get_blog_1.json deleted file mode 100644 index 9c7dd9f..0000000 --- a/includes/js/dojox/dtl/demos/json/blog/get_blog_1.json +++ /dev/null @@ -1 +0,0 @@ -{"teaser":"I'd be able to write a lot faster.","body":"I think I wouldn't be able to think.","date":1189125242601,"author":"jim"} \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/json/blog/get_blog_3.json b/includes/js/dojox/dtl/demos/json/blog/get_blog_3.json deleted file mode 100644 index 7c0a937..0000000 --- a/includes/js/dojox/dtl/demos/json/blog/get_blog_3.json +++ /dev/null @@ -1 +0,0 @@ -{"teaser":"There was SO much sand","body":"I tried to walk so fast that I wouldn't leave foot prints.","date":1190245842601,"author":"jim"} \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/json/blog/get_blog_list.json b/includes/js/dojox/dtl/demos/json/blog/get_blog_list.json deleted file mode 100644 index 40f14a7..0000000 --- a/includes/js/dojox/dtl/demos/json/blog/get_blog_list.json +++ /dev/null @@ -1 +0,0 @@ -{"blog_list":{"3":{"title":"My Trip to the Beach"},"1":{"title":"If I Were a Robot"}}} \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/json/blog/get_page_about.json b/includes/js/dojox/dtl/demos/json/blog/get_page_about.json deleted file mode 100644 index 05ddb9c..0000000 --- a/includes/js/dojox/dtl/demos/json/blog/get_page_about.json +++ /dev/null @@ -1 +0,0 @@ -{"title":"About Jim","body":"

          Jim is an avid golfer, enjoys long walks on the beach, and eating hot pockets

          When he's not scalding his mouth, you'll find him throwing rocks at pigeons.

          "} \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/json/fruit.json b/includes/js/dojox/dtl/demos/json/fruit.json deleted file mode 100644 index e7a0bf8..0000000 --- a/includes/js/dojox/dtl/demos/json/fruit.json +++ /dev/null @@ -1 +0,0 @@ -{ items: ["apple", "banana", "pear"] } \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/json/morefruit.json b/includes/js/dojox/dtl/demos/json/morefruit.json deleted file mode 100644 index 6a8beea..0000000 --- a/includes/js/dojox/dtl/demos/json/morefruit.json +++ /dev/null @@ -1 +0,0 @@ -{ items: ["pineapple", "orange", "tomato"] } \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/templates/animation.html b/includes/js/dojox/dtl/demos/templates/animation.html deleted file mode 100644 index 56c38f3..0000000 --- a/includes/js/dojox/dtl/demos/templates/animation.html +++ /dev/null @@ -1,5 +0,0 @@ -{% load dojox.dtl.contrib.dijit dojox.dtl.contrib.html %} -
          -
           
          -
           
          -
          \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/templates/blog_base.html b/includes/js/dojox/dtl/demos/templates/blog_base.html deleted file mode 100644 index 1438a6b..0000000 --- a/includes/js/dojox/dtl/demos/templates/blog_base.html +++ /dev/null @@ -1,8 +0,0 @@ -
          -

          - - -
          \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/templates/blog_detail.html b/includes/js/dojox/dtl/demos/templates/blog_detail.html deleted file mode 100644 index 2b6146d..0000000 --- a/includes/js/dojox/dtl/demos/templates/blog_detail.html +++ /dev/null @@ -1,10 +0,0 @@ - - - -
          -

          -
          posted on by
          -

          -

          -
          - \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/templates/blog_list.html b/includes/js/dojox/dtl/demos/templates/blog_list.html deleted file mode 100644 index 2413605..0000000 --- a/includes/js/dojox/dtl/demos/templates/blog_list.html +++ /dev/null @@ -1,9 +0,0 @@ - - - -
            - -
          • {{ blog.title }}
          • - -
          - \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/templates/blog_page.html b/includes/js/dojox/dtl/demos/templates/blog_page.html deleted file mode 100644 index aeeb762..0000000 --- a/includes/js/dojox/dtl/demos/templates/blog_page.html +++ /dev/null @@ -1,7 +0,0 @@ - - - -
          - -
          - \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/templates/countrychildren.html b/includes/js/dojox/dtl/demos/templates/countrychildren.html deleted file mode 100644 index fbdbebe..0000000 --- a/includes/js/dojox/dtl/demos/templates/countrychildren.html +++ /dev/null @@ -1 +0,0 @@ -
        1. {{ country.type }}: {{ country.name }}{% if country.children %}
            {% for country in country.childrens %}{% include countrychildren %}{% endfor %}
          {% endif %}
        2. \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/templates/gallery.html b/includes/js/dojox/dtl/demos/templates/gallery.html deleted file mode 100644 index 7fe6d8c..0000000 --- a/includes/js/dojox/dtl/demos/templates/gallery.html +++ /dev/null @@ -1,16 +0,0 @@ -{% load dojox.dtl.contrib.data %} -{% bind_data items to store as flickr %} -
          - - - - {% for item in flickr %}{% endfor %} - - - - - -
          - {% if selected %}{% endif %} -
          -
          \ No newline at end of file diff --git a/includes/js/dojox/dtl/demos/templates/nodelist.html b/includes/js/dojox/dtl/demos/templates/nodelist.html deleted file mode 100644 index ddf7def..0000000 --- a/includes/js/dojox/dtl/demos/templates/nodelist.html +++ /dev/null @@ -1,5 +0,0 @@ -
          -
            - {% for item in items %}
          • {{ item }}
          • {% endfor %} -
          -
          \ No newline at end of file diff --git a/includes/js/dojox/dtl/ext-dojo/NodeList.js b/includes/js/dojox/dtl/ext-dojo/NodeList.js deleted file mode 100644 index 64e9a93..0000000 --- a/includes/js/dojox/dtl/ext-dojo/NodeList.js +++ /dev/null @@ -1,33 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.ext-dojo.NodeList"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.ext-dojo.NodeList"] = true; -dojo.provide("dojox.dtl.ext-dojo.NodeList"); -dojo.require("dojox.dtl._base"); - -dojo.extend(dojo.NodeList, { - dtl: function(template, context){ - // args: dojox.dtl.__StringArgs|String - // The template string or location - // context: dojox.dtl.__ObjectArgs|Object - // The context object or location - var d = dojox.dtl; - - var self = this; - var render = function(data){ - var content = template.render(new d._Context(context)); - self.forEach(function(node){ - node.innerHTML = content; - }); - } - - d.text._resolveTemplateArg(template).addCallback(function(templateString){ - template = new d.Template(templateString); - d.text._resolveContextArg(context).addCallback(function(contextObject){ - render(contextObject); - }); - }); - - return this; - } -}); - -} diff --git a/includes/js/dojox/dtl/filter/dates.js b/includes/js/dojox/dtl/filter/dates.js deleted file mode 100644 index 3ca2022..0000000 --- a/includes/js/dojox/dtl/filter/dates.js +++ /dev/null @@ -1,54 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.filter.dates"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.filter.dates"] = true; -dojo.provide("dojox.dtl.filter.dates"); - -dojo.require("dojox.dtl.utils.date"); - -(function(){ - var ddfd = dojox.dtl.filter.dates; - - dojo.mixin(ddfd, { - _toDate: function(value){ - if(value instanceof Date){ - return value; - } - value = new Date(value); - if(value.getTime() == new Date(0).getTime()){ - return ""; - } - return value; - }, - date: function(value, arg){ - // summary: Formats a date according to the given format - value = ddfd._toDate(value); - if(!value) return ""; - arg = arg || "N j, Y"; - return dojox.dtl.utils.date.format(value, arg); - }, - time: function(value, arg){ - // summary: Formats a time according to the given format - value = ddfd._toDate(value); - if(!value) return ""; - arg = arg || "P"; - return dojox.dtl.utils.date.format(value, arg); - }, - timesince: function(value, arg){ - // summary: Formats a date as the time since that date (i.e. "4 days, 6 hours") - value = ddfd._toDate(value); - if(!value) return ""; - var timesince = dojox.dtl.utils.date.timesince; - if(arg) return timesince(arg, value); - return timesince(value); - }, - timeuntil: function(value, arg){ - // summary: Formats a date as the time until that date (i.e. "4 days, 6 hours") - value = ddfd._toDate(value); - if(!value) return ""; - var timesince = dojox.dtl.utils.date.timesince; - if(arg) return timesince(arg, value); - return timesince(new Date(), value); - } - }); -})(); - -} diff --git a/includes/js/dojox/dtl/filter/htmlstrings.js b/includes/js/dojox/dtl/filter/htmlstrings.js deleted file mode 100644 index d4feb93..0000000 --- a/includes/js/dojox/dtl/filter/htmlstrings.js +++ /dev/null @@ -1,59 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.filter.htmlstrings"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.filter.htmlstrings"] = true; -dojo.provide("dojox.dtl.filter.htmlstrings"); - -dojo.require("dojox.dtl._base"); - -dojo.mixin(dojox.dtl.filter.htmlstrings, { - _escapeamp: /&/g, - _escapelt: //g, - _escapeqt: /'/g, - _escapedblqt: /"/g, - _linebreaksrn: /(\r\n|\n\r)/g, - _linebreaksn: /\n{2,}/g, - _linebreakss: /(^\s+|\s+$)/g, - _linebreaksbr: /\n/g, - _removetagsfind: /[a-z0-9]+/g, - _striptags: /<[^>]*?>/g, - escape: function(value){ - // summary: Escapes a string's HTML - var dh = dojox.dtl.filter.htmlstrings; - return value.replace(dh._escapeamp, '&').replace(dh._escapelt, '<').replace(dh._escapegt, '>').replace(dh._escapedblqt, '"').replace(dh._escapeqt, '''); - }, - linebreaks: function(value){ - // summary: Converts newlines into

          and
          s - var output = []; - var dh = dojox.dtl.filter.htmlstrings; - value = value.replace(dh._linebreaksrn, "\n"); - var parts = value.split(dh._linebreaksn); - for(var i = 0; i < parts.length; i++){ - var part = parts[i].replace(dh._linebreakss, "").replace(dh._linebreaksbr, "
          ") - output.push("

          " + part + "

          "); - } - - return output.join("\n\n"); - }, - linebreaksbr: function(value){ - // summary: Converts newlines into
          s - var dh = dojox.dtl.filter.htmlstrings; - return value.replace(dh._linebreaksrn, "\n").replace(dh._linebreaksbr, "
          "); - }, - removetags: function(value, arg){ - // summary: Removes a space separated list of [X]HTML tags from the output" - var dh = dojox.dtl.filter.htmlstrings; - var tags = []; - var group; - while(group = dh._removetagsfind.exec(arg)){ - tags.push(group[0]); - } - tags = "(" + tags.join("|") + ")"; - return value.replace(new RegExp("]*>", "gi"), ""); - }, - striptags: function(value){ - // summary: Strips all [X]HTML tags - return value.replace(dojox.dtl.filter.htmlstrings._striptags, ""); - } -}); - -} diff --git a/includes/js/dojox/dtl/filter/integers.js b/includes/js/dojox/dtl/filter/integers.js deleted file mode 100644 index 0c54a90..0000000 --- a/includes/js/dojox/dtl/filter/integers.js +++ /dev/null @@ -1,32 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.filter.integers"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.filter.integers"] = true; -dojo.provide("dojox.dtl.filter.integers"); - -dojo.mixin(dojox.dtl.filter.integers, { - add: function(value, arg){ - value = parseInt(value); - arg = parseInt(arg); - return isNaN(arg) ? value : value + arg; - }, - get_digit: function(value, arg){ - // summary: - // Given a whole number, returns the 1-based requested digit of it - // desciprtion: - // 1 is the right-most digit, 2 is the second-right-most digit, etc. Returns the - // original value for invalid input (if input or argument is not an integer, - // or if argument is less than 1). Otherwise, output is always an integer. - value = parseInt(value); - arg = parseInt(arg) - 1; - if(arg >= 0){ - value += ""; - if(arg < value.length){ - value = parseInt(value.charAt(arg)); - }else{ - value = 0; - } - } - return (isNaN(value) ? 0 : value); - } -}); - -} diff --git a/includes/js/dojox/dtl/filter/lists.js b/includes/js/dojox/dtl/filter/lists.js deleted file mode 100644 index b095242..0000000 --- a/includes/js/dojox/dtl/filter/lists.js +++ /dev/null @@ -1,137 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.filter.lists"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.filter.lists"] = true; -dojo.provide("dojox.dtl.filter.lists") - -dojo.require("dojox.dtl._base"); - -dojo.mixin(dojox.dtl.filter.lists, { - _dictsort: function(a, b){ - if(a[0] == b[0]) return 0; - return (a[0] < b[0]) ? -1 : 1; - }, - dictsort: function(value, arg){ - // summary: Takes a list of dicts, returns that list sorted by the property given in the argument. - if(!arg) return value; - - var i, item, items = []; - if(!dojo.isArray(value)){ - var obj = value, value = []; - for(var key in obj){ - value.push(obj[k]); - } - } - for(i = 0; i < value.length; i++){ - items.push([new dojox.dtl._Filter('var.' + arg).resolve(new dojox.dtl._Context({ 'var' : value[i]})), value[i]]); - } - items.sort(dojox.dtl.filter.lists._dictsort); - var output = []; - for(i = 0; item = items[i]; i++){ - output.push(item[1]); - } - return output; - }, - dictsortreversed: function(value, arg){ - // summary: Takes a list of dicts, returns that list sorted in reverse order by the property given in the argument. - if(!arg) return value; - - var dictsort = dojox.dtl.filter.lists.dictsort(value, arg); - return dictsort.reverse(); - }, - first: function(value){ - // summary: Returns the first item in a list - return (value.length) ? value[0] : ""; - }, - join: function(value, arg){ - // summary: Joins a list with a string, like Python's ``str.join(list)`` - // description: - // Django throws a compile error, but JS can't do arg checks - // so we're left with run time errors, which aren't wise for something - // as trivial here as an empty arg. - return value.join(arg || ","); - }, - length: function(value){ - // summary: Returns the length of the value - useful for lists - return (isNaN(value.length)) ? (value + "").length : value.length; - }, - length_is: function(value, arg){ - // summary: Returns a boolean of whether the value's length is the argument - return value.length == parseInt(arg); - }, - random: function(value){ - // summary: Returns a random item from the list - return value[Math.floor(Math.random() * value.length)]; - }, - slice: function(value, arg){ - // summary: Returns a slice of the list. - // description: - // Uses the same syntax as Python's list slicing; see - // http://diveintopython.org/native_data_types/lists.html#odbchelper.list.slice - // for an introduction. - // Also uses the optional third value to denote every X item. - arg = arg || ""; - var parts = arg.split(":"); - var bits = []; - for(var i = 0; i < parts.length; i++){ - if(!parts[i].length){ - bits.push(null); - }else{ - bits.push(parseInt(parts[i])); - } - } - - if(bits[0] === null){ - bits[0] = 0; - } - if(bits[0] < 0){ - bits[0] = value.length + bits[0]; - } - if(bits.length < 2 || bits[1] === null){ - bits[1] = value.length; - } - if(bits[1] < 0){ - bits[1] = value.length + bits[1]; - } - - return value.slice(bits[0], bits[1]); - }, - _unordered_list: function(value, tabs){ - var ddl = dojox.dtl.filter.lists; - var i, indent = ""; - for(i = 0; i < tabs; i++){ - indent += "\t"; - } - if(value[1] && value[1].length){ - var recurse = []; - for(i = 0; i < value[1].length; i++){ - recurse.push(ddl._unordered_list(value[1][i], tabs + 1)) - } - return indent + "
        3. " + value[0] + "\n" + indent + "
            \n" + recurse.join("\n") + "\n" + indent + "
          \n" + indent + "
        4. "; - }else{ - return indent + "
        5. " + value[0] + "
        6. "; - } - }, - unordered_list: function(value){ - // summary: - // Recursively takes a self-nested list and returns an HTML unordered list -- - // WITHOUT opening and closing
            tags. - // description: - // The list is assumed to be in the proper format. For example, if ``var`` contains - // ``['States', [['Kansas', [['Lawrence', []], ['Topeka', []]]], ['Illinois', []]]]``, - // then ``{{ var|unordered_list }}`` would return:: - // - // |
          • States - // |
              - // |
            • Kansas - // |
                - // |
              • Lawrence
              • - // |
              • Topeka
              • - // |
              - // |
            • - // |
            • Illinois
            • - // |
            - // |
          • - return dojox.dtl.filter.lists._unordered_list(value, 1); - } -}); - -} diff --git a/includes/js/dojox/dtl/filter/logic.js b/includes/js/dojox/dtl/filter/logic.js deleted file mode 100644 index b69a1a8..0000000 --- a/includes/js/dojox/dtl/filter/logic.js +++ /dev/null @@ -1,34 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.filter.logic"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.filter.logic"] = true; -dojo.provide("dojox.dtl.filter.logic"); - -dojo.mixin(dojox.dtl.filter.logic, { - default_: function(value, arg){ - // summary: If value is unavailable, use given default - return value || arg || ""; - }, - default_if_none: function(value, arg){ - // summary: If value is null, use given default - return (value === null) ? arg || "" : value || ""; - }, - divisibleby: function(value, arg){ - // summary: Returns true if the value is devisible by the argument" - return (parseInt(value) % parseInt(arg)) == 0; - }, - _yesno: /\s*,\s*/g, - yesno: function(value, arg){ - // summary: - // arg being a comma-delimited string, value of true/false/none - // chooses the appropriate item from the string - if(!arg) arg = 'yes,no,maybe'; - var parts = arg.split(dojox.dtl.filter.logic._yesno); - if(parts.length < 2){ - return value; - } - if(value) return parts[0]; - if((!value && value !== null) || parts.length < 3) return parts[1]; - return parts[2]; - } -}); - -} diff --git a/includes/js/dojox/dtl/filter/misc.js b/includes/js/dojox/dtl/filter/misc.js deleted file mode 100644 index 0704d25..0000000 --- a/includes/js/dojox/dtl/filter/misc.js +++ /dev/null @@ -1,59 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.filter.misc"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.filter.misc"] = true; -dojo.provide("dojox.dtl.filter.misc"); - -dojo.mixin(dojox.dtl.filter.misc, { - filesizeformat: function(value){ - // summary: Format the value like a 'human-readable' file size (i.e. 13 KB, 4.1 MB, 102bytes, etc). - value = parseFloat(value); - if(value < 1024){ - return (value == 1) ? value + " byte" : value + " bytes"; - }else if(value < 1024 * 1024){ - return (value / 1024).toFixed(1) + " KB"; - }else if(value < 1024 * 1024 * 1024){ - return (value / 1024 / 1024).toFixed(1) + " MB"; - } - return (value / 1024 / 1024 / 1024).toFixed(1) + " GB"; - }, - pluralize: function(value, arg){ - // summary: - // Returns a plural suffix if the value is not 1, for '1 vote' vs. '2 votes' - // description: - // By default, 's' is used as a suffix; if an argument is provided, that string - // is used instead. If the provided argument contains a comma, the text before - // the comma is used for the singular case. - arg = arg || 's'; - if(arg.indexOf(",") == -1){ - arg = "," + arg; - } - var parts = arg.split(","); - if(parts.length > 2){ - return ""; - } - var singular = parts[0]; - var plural = parts[1]; - - if(parseInt(value) != 1){ - return plural; - } - return singular; - }, - _phone2numeric: { a: 2, b: 2, c: 2, d: 3, e: 3, f: 3, g: 4, h: 4, i: 4, j: 5, k: 5, l: 5, m: 6, n: 6, o: 6, p: 7, r: 7, s: 7, t: 8, u: 8, v: 8, w: 9, x: 9, y: 9 }, - phone2numeric: function(value){ - // summary: Takes a phone number and converts it in to its numerical equivalent - var dm = dojox.dtl.filter.misc; - value = value + ""; - var output = ""; - for(var i = 0; i < value.length; i++){ - var chr = value.charAt(i).toLowerCase(); - (dm._phone2numeric[chr]) ? output += dm._phone2numeric[chr] : output += value.charAt(i); - } - return output; - }, - pprint: function(value){ - // summary: A wrapper around toJson unless something better comes along - return dojo.toJson(value); - } -}); - -} diff --git a/includes/js/dojox/dtl/filter/strings.js b/includes/js/dojox/dtl/filter/strings.js deleted file mode 100644 index 1270574..0000000 --- a/includes/js/dojox/dtl/filter/strings.js +++ /dev/null @@ -1,327 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.filter.strings"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.filter.strings"] = true; -dojo.provide("dojox.dtl.filter.strings"); - -dojo.require("dojox.dtl.filter.htmlstrings"); -dojo.require("dojox.string.sprintf"); -dojo.require("dojox.string.tokenize"); - -dojo.mixin(dojox.dtl.filter.strings, { - _urlquote: function(/*String*/ url, /*String?*/ safe){ - if(!safe){ - safe = "/"; - } - return dojox.string.tokenize(url, /([^\w-_.])/g, function(token){ - if(safe.indexOf(token) == -1){ - if(token == " "){ - return "+"; - }else{ - return "%" + token.charCodeAt(0).toString(16).toUpperCase(); - } - } - return token; - }).join(""); - }, - addslashes: function(value){ - // summary: Adds slashes - useful for passing strings to JavaScript, for example. - return value.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/'/g, "\\'"); - }, - capfirst: function(value){ - // summary: Capitalizes the first character of the value - value = "" + value; - return value.charAt(0).toUpperCase() + value.substring(1); - }, - center: function(value, arg){ - // summary: Centers the value in a field of a given width - arg = arg || value.length; - value = value + ""; - var diff = arg - value.length; - if(diff % 2){ - value = value + " "; - diff -= 1; - } - for(var i = 0; i < diff; i += 2){ - value = " " + value + " "; - } - return value; - }, - cut: function(value, arg){ - // summary: Removes all values of arg from the given string - arg = arg + "" || ""; - value = value + ""; - return value.replace(new RegExp(arg, "g"), ""); - }, - _fix_ampersands: /&(?!(\w+|#\d+);)/g, - fix_ampersands: function(value){ - // summary: Replaces ampersands with ``&`` entities - return value.replace(dojox.dtl.filter.strings._fix_ampersands, "&"); - }, - floatformat: function(value, arg){ - // summary: Format a number according to arg - // description: - // If called without an argument, displays a floating point - // number as 34.2 -- but only if there's a point to be displayed. - // With a positive numeric argument, it displays that many decimal places - // always. - // With a negative numeric argument, it will display that many decimal - // places -- but only if there's places to be displayed. - arg = parseInt(arg || -1); - value = parseFloat(value); - var m = value - value.toFixed(0); - if(!m && arg < 0){ - return value.toFixed(); - } - value = value.toFixed(Math.abs(arg)); - return (arg < 0) ? parseFloat(value) + "" : value; - }, - iriencode: function(value){ - return dojox.dtl.filter.strings._urlquote(value, "/#%[]=:;$&()+,!"); - }, - linenumbers: function(value){ - // summary: Displays text with line numbers - var df = dojox.dtl.filter; - var lines = value.split("\n"); - var output = []; - var width = (lines.length + "").length; - for(var i = 0, line; i < lines.length; i++){ - line = lines[i]; - output.push(df.strings.ljust(i + 1, width) + ". " + df.htmlstrings.escape(line)); - } - return output.join("\n"); - }, - ljust: function(value, arg){ - value = value + ""; - arg = parseInt(arg); - while(value.length < arg){ - value = value + " "; - } - return value; - }, - lower: function(value){ - // summary: Converts a string into all lowercase - return (value + "").toLowerCase(); - }, - make_list: function(value){ - // summary: - // Returns the value turned into a list. For an integer, it's a list of - // digits. For a string, it's a list of characters. - var output = []; - if(typeof value == "number"){ - value = value + ""; - } - if(value.charAt){ - for(var i = 0; i < value.length; i++){ - output.push(value.charAt(i)); - } - return output; - } - if(typeof value == "object"){ - for(var key in value){ - output.push(value[key]); - } - return output; - } - return []; - }, - rjust: function(value, arg){ - value = value + ""; - arg = parseInt(arg); - while(value.length < arg){ - value = " " + value; - } - return value; - }, - slugify: function(value){ - // summary: Converts to lowercase, removes - // non-alpha chars and converts spaces to hyphens - value = value.replace(/[^\w\s-]/g, "").toLowerCase(); - return value.replace(/[\-\s]+/g, "-"); - }, - _strings: {}, - stringformat: function(value, arg){ - // summary: - // Formats the variable according to the argument, a string formatting specifier. - // This specifier uses Python string formating syntax, with the exception that - // the leading "%" is dropped. - arg = "" + arg; - var strings = dojox.dtl.filter.strings._strings; - if(!strings[arg]){ - strings[arg] = new dojox.string.sprintf.Formatter("%" + arg); - } - return strings[arg].format(value); - }, - title: function(value){ - // summary: Converts a string into titlecase - var last, title = ""; - for(var i = 0, current; i < value.length; i++){ - current = value.charAt(i); - if(last == " " || last == "\n" || last == "\t" || !last){ - title += current.toUpperCase(); - }else{ - title += current.toLowerCase(); - } - last = current; - } - return title; - }, - _truncatewords: /[ \n\r\t]/, - truncatewords: function(value, arg){ - // summary: Truncates a string after a certain number of words - // arg: Integer - // Number of words to truncate after - arg = parseInt(arg); - if(!arg){ - return value; - } - - for(var i = 0, j = value.length, count = 0, current, last; i < value.length; i++){ - current = value.charAt(i); - if(dojox.dtl.filter.strings._truncatewords.test(last)){ - if(!dojox.dtl.filter.strings._truncatewords.test(current)){ - ++count; - if(count == arg){ - return value.substring(0, j + 1); - } - } - }else if(!dojox.dtl.filter.strings._truncatewords.test(current)){ - j = i; - } - last = current; - } - return value; - }, - _truncate_words: /(&.*?;|<.*?>|(\w[\w\-]*))/g, - _truncate_tag: /<(\/)?([^ ]+?)(?: (\/)| .*?)?>/, - _truncate_singlets: { br: true, col: true, link: true, base: true, img: true, param: true, area: true, hr: true, input: true }, - truncatewords_html: function(value, arg){ - arg = parseInt(arg); - - if(arg <= 0){ - return ""; - } - - var strings = dojox.dtl.filter.strings; - var words = 0; - var open = []; - - var output = dojox.string.tokenize(value, strings._truncate_words, function(all, word){ - if(word){ - // It's an actual non-HTML word - ++words; - if(words < arg){ - return word; - }else if(words == arg){ - return word + " ..."; - } - } - // Check for tag - var tag = all.match(strings._truncate_tag); - if(!tag || words >= arg){ - // Don't worry about non tags or tags after our truncate point - return; - } - var closing = tag[1]; - var tagname = tag[2].toLowerCase(); - var selfclosing = tag[3]; - if(closing || strings._truncate_singlets[tagname]){ - }else if(closing){ - var i = dojo.indexOf(open, tagname); - if(i != -1){ - open = open.slice(i + 1); - } - }else{ - open.unshift(tagname); - } - return all; - }).join(""); - - output = output.replace(/\s+$/g, ""); - - for(var i = 0, tag; tag = open[i]; i++){ - output += ""; - } - - return output; - }, - upper: function(value){ - return value.toUpperCase(); - }, - urlencode: function(value){ - return dojox.dtl.filter.strings._urlquote(value); - }, - _urlize: /^((?:[(>]|<)*)(.*?)((?:[.,)>\n]|>)*)$/, - _urlize2: /^\S+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+$/, - urlize: function(value){ - return dojox.dtl.filter.strings.urlizetrunc(value); - }, - urlizetrunc: function(value, arg){ - arg = parseInt(arg); - return dojox.string.tokenize(value, /(\S+)/g, function(word){ - var matches = dojox.dtl.filter.strings._urlize.exec(word); - if(!matches){ - return word; - } - var lead = matches[1]; - var middle = matches[2]; - var trail = matches[3]; - - var startsWww = middle.indexOf("www.") == 0; - var hasAt = middle.indexOf("@") != -1; - var hasColon = middle.indexOf(":") != -1; - var startsHttp = middle.indexOf("http://") == 0; - var startsHttps = middle.indexOf("https://") == 0; - var firstAlpha = /[a-zA-Z0-9]/.test(middle.charAt(0)); - var last4 = middle.substring(middle.length - 4); - - var trimmed = middle; - if(arg > 3){ - trimmed = trimmed.substring(0, arg - 3) + "..."; - } - - if(startsWww || (!hasAt && !startsHttp && middle.length && firstAlpha && (last4 == ".org" || last4 == ".net" || last4 == ".com"))){ - return '' + trimmed + ''; - }else if(startsHttp || startsHttps){ - return '' + trimmed + ''; - }else if(hasAt && !startsWww && !hasColon && dojox.dtl.filter.strings._urlize2.test(middle)){ - return '' + middle + ''; - } - return word; - }).join(""); - }, - wordcount: function(value){ - return dojox.dtl.text.pySplit(value).length; - }, - wordwrap: function(value, arg){ - arg = parseInt(arg); - // summary: Wraps words at specified line length - var output = []; - var parts = value.split(/ /g); - if(parts.length){ - var word = parts.shift(); - output.push(word); - var pos = word.length - word.lastIndexOf("\n") - 1; - for(var i = 0; i < parts.length; i++){ - word = parts[i]; - if(word.indexOf("\n") != -1){ - var lines = word.split(/\n/g); - }else{ - var lines = [word]; - } - pos += lines[0].length + 1; - if(arg && pos > arg){ - output.push("\n"); - pos = lines[lines.length - 1].length; - }else{ - output.push(" "); - if(lines.length > 1){ - pos = lines[lines.length - 1].length; - } - } - output.push(word); - } - } - return output.join(""); - } -}); - -} diff --git a/includes/js/dojox/dtl/html.js b/includes/js/dojox/dtl/html.js deleted file mode 100644 index c984157..0000000 --- a/includes/js/dojox/dtl/html.js +++ /dev/null @@ -1,818 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.html"] = true; -dojo.provide("dojox.dtl.html"); - -dojo.require("dojox.dtl._base"); -dojo.require("dojox.dtl.Context"); - -(function(){ - var dd = dojox.dtl; - - var ddt = dd.text; - var ddh = dd.html = { - types: dojo.mixin({change: -11, attr: -12, custom: -13, elem: 1, text: 3}, ddt.types), - _attributes: {}, - _re4: /^function anonymous\(\)\s*{\s*(.*)\s*}$/, - getTemplate: function(text){ - if(typeof this._commentable == "undefined"){ - // Check to see if the browser can handle comments - this._commentable = false; - var div = document.createElement("div"); - div.innerHTML = ""; - if(div.childNodes.length && div.childNodes[0].nodeType == 8 && div.childNodes[0].data == "comment"){ - this._commentable = true; - } - } - - if(!this._commentable){ - // Strip comments - text = text.replace(//g, "$1"); - } - - var match; - var pairs = [ - [true, "select", "option"], - [dojo.isSafari, "tr", "th"], - [dojo.isSafari, "tr", "td"], - [dojo.isSafari, "thead", "tr", "th"], - [dojo.isSafari, "tbody", "tr", "td"] - ]; - // Some tags can't contain text. So we wrap the text in tags that they can have. - for(var i = 0, pair; pair = pairs[i]; i++){ - if(!pair[0]){ - continue; - } - if(text.indexOf("<" + pair[1]) != -1){ - var selectRe = new RegExp("<" + pair[1] + "[\\s\\S]*?>([\\s\\S]+?)", "ig"); - while(match = selectRe.exec(text)){ - // Do it like this to make sure we don't double-wrap - var found = false; - var tokens = dojox.string.tokenize(match[1], new RegExp("(<" + pair[2] + "[\\s\\S]*?>[\\s\\S]*?)", "ig"), function(child){ found = true; return {data: child}; }); - if(found){ - var replace = []; - for(var j = 0; j < tokens.length; j++) { - if(dojo.isObject(tokens[j])){ - replace.push(tokens[j].data); - }else{ - var close = pair[pair.length - 1]; - var k, replacement = ""; - for(k = 2; k < pair.length - 1; k++){ - replacement += "<" + pair[k] + ">"; - } - replacement += "<" + close + ' iscomment="true">' + dojo.trim(tokens[j]) + ""; - for(k = 2; k < pair.length - 1; k++){ - replacement += ""; - } - replace.push(replacement); - } - } - text = text.replace(match[1], replace.join("")); - } - } - } - } - - var re = /\b([a-zA-Z]+)=['"]/g; - while(match = re.exec(text)){ - this._attributes[match[1].toLowerCase()] = true; - } - var div = document.createElement("div"); - div.innerHTML = text; - var output = {nodes: []}; - while(div.childNodes.length){ - output.nodes.push(div.removeChild(div.childNodes[0])) - } - - return output; - }, - tokenize: function(/*Node*/ nodes){ - var tokens = []; - - for(var i = 0, node; node = nodes[i++];){ - if(node.nodeType != 1){ - this.__tokenize(node, tokens); - }else{ - this._tokenize(node, tokens); - } - } - - return tokens; - }, - _swallowed: [], - _tokenize: function(/*Node*/ node, /*Array*/ tokens){ - var types = this.types; - var first = false; - var swallowed = this._swallowed; - var i, j, tag, child; - - if(!tokens.first){ - // Try to efficiently associate tags that use an attribute to - // remove the node from DOM (eg dojoType) so that we can efficiently - // locate them later in the tokenizing. - first = tokens.first = true; - var tags = dd.register.getAttributeTags(); - for(i = 0; tag = tags[i]; i++){ - try{ - (tag[2])({ swallowNode: function(){ throw 1; }}, ""); - }catch(e){ - swallowed.push(tag); - } - } - } - - - for(i = 0; tag = swallowed[i]; i++){ - var text = node.getAttribute(tag[0]); - if(text){ - var swallowed = false; - var custom = (tag[2])({ swallowNode: function(){ swallowed = true; return node; }}, text); - if(swallowed){ - if(node.parentNode && node.parentNode.removeChild){ - node.parentNode.removeChild(node); - } - tokens.push([types.custom, custom]); - return; - } - } - } - - var children = []; - if(dojo.isIE && node.tagName == "SCRIPT"){ - children.push({ - nodeType: 3, - data: node.text - }); - node.text = ""; - }else{ - for(i = 0; child = node.childNodes[i]; i++){ - children.push(child); - } - } - - tokens.push([types.elem, node]); - - var change = false; - if(children.length){ - // Only do a change request if we need to - tokens.push([types.change, node]); - change = true; - } - - for(var key in this._attributes){ - var value = ""; - if(key == "class"){ - value = node.className || value; - }else if(key == "for"){ - value = node.htmlFor || value; - }else if(key == "value" && node.value == node.innerHTML){ - // Sometimes .value is set the same as the contents of the item (button) - continue; - }else if(node.getAttribute){ - value = node.getAttribute(key, 2) || value; - if(key == "href" || key == "src"){ - if(dojo.isIE){ - var hash = location.href.lastIndexOf(location.hash); - var href = location.href.substring(0, hash).split("/"); - href.pop(); - href = href.join("/") + "/"; - if(value.indexOf(href) == 0){ - value = value.replace(href, ""); - } - value = decodeURIComponent(value); - } - if(value.indexOf("{%") != -1 || value.indexOf("{{") != -1){ - node.setAttribute(key, ""); - } - } - } - if(typeof value == "function"){ - value = value.toString().replace(this._re4, "$1"); - } - - if(!change){ - // Only do a change request if we need to - tokens.push([types.change, node]); - change = true; - } - // We'll have to resolve attributes during parsing - tokens.push([types.attr, node, key, value]); - } - - for(i = 0, child; child = children[i]; i++){ - if(child.nodeType == 1 && child.getAttribute("iscomment")){ - child.parentNode.removeChild(child); - child = { - nodeType: 8, - data: child.innerHTML - }; - } - this.__tokenize(child, tokens); - } - - if(!first && node.parentNode && node.parentNode.tagName){ - if(change){ - tokens.push([types.change, node, true]); - } - tokens.push([types.change, node.parentNode]); - node.parentNode.removeChild(node); - }else{ - // If this node is parentless, it's a base node, so we have to "up" change to itself - // and note that it's a top-level to watch for errors - tokens.push([types.change, node, true, true]); - } - }, - __tokenize: function(child, tokens){ - var types = this.types; - var data = child.data; - switch(child.nodeType){ - case 1: - this._tokenize(child, tokens); - return; - case 3: - if(data.match(/[^\s\n]/) && (data.indexOf("{{") != -1 || data.indexOf("{%") != -1)){ - var texts = ddt.tokenize(data); - for(var j = 0, text; text = texts[j]; j++){ - if(typeof text == "string"){ - tokens.push([types.text, text]); - }else{ - tokens.push(text); - } - } - }else{ - tokens.push([child.nodeType, child]); - } - if(child.parentNode) child.parentNode.removeChild(child); - return; - case 8: - if(data.indexOf("{%") == 0){ - var text = dojo.trim(data.slice(2, -2)); - if(text.substr(0, 5) == "load "){ - var parts = dd.text.pySplit(dojo.trim(text)); - for(var i = 1, part; part = parts[i]; i++){ - dojo["require"](part); - } - } - tokens.push([types.tag, text]); - } - if(data.indexOf("{{") == 0){ - tokens.push([types.varr, dojo.trim(data.slice(2, -2))]); - } - if(child.parentNode) child.parentNode.removeChild(child); - return; - } - } - }; - - dd.HtmlTemplate = dojo.extend(function(/*String|DOMNode|dojo._Url*/ obj){ - // summary: Use this object for HTML templating - if(!obj.nodes){ - var node = dojo.byId(obj); - if(node){ - dojo.forEach(["class", "src", "href", "name", "value"], function(item){ - ddh._attributes[item] = true; - }); - obj = { - nodes: [node] - }; - }else{ - if(typeof obj == "object"){ - obj = ddt.getTemplateString(obj); - } - obj = ddh.getTemplate(obj); - } - } - - var tokens = ddh.tokenize(obj.nodes); - if(dd.tests){ - this.tokens = tokens.slice(0); - } - - var parser = new dd._HtmlParser(tokens); - this.nodelist = parser.parse(); - }, - { - _count: 0, - _re: /\bdojo:([a-zA-Z0-9_]+)\b/g, - setClass: function(str){ - this.getRootNode().className = str; - }, - getRootNode: function(){ - return this.rootNode; - }, - getBuffer: function(){ - return new dd.HtmlBuffer(); - }, - render: function(context, buffer){ - buffer = buffer || this.getBuffer(); - this.rootNode = null; - var output = this.nodelist.render(context || new dd.Context({}), buffer); - this.rootNode = buffer.getRootNode(); - for(var i = 0, node; node = buffer._cache[i]; i++){ - if(node._cache){ - node._cache.length = 0; - } - } - return output; - }, - unrender: function(context, buffer){ - return this.nodelist.unrender(context, buffer); - } - }); - - dd.HtmlBuffer = dojo.extend(function(/*Node*/ parent){ - // summary: Allows the manipulation of DOM - // description: - // Use this to append a child, change the parent, or - // change the attribute of the current node. - this._parent = parent; - this._cache = []; - }, - { - concat: function(/*DOMNode*/ node){ - var parent = this._parent; - if(node.parentNode && node.parentNode.tagName && parent && !parent._dirty){ - return this; - } - - if(node.nodeType == 1 && !this.rootNode){ - this.rootNode = node || true; - } - - if(!parent){ - if(node.nodeType == 3 && dojo.trim(node.data)){ - throw new Error("Text should not exist outside of the root node in template"); - } - return this; - } - if(this._closed && (node.nodeType != 3 || dojo.trim(node.data))){ - throw new Error("Content should not exist outside of the root node in template"); - } - if(parent._dirty){ - if(node._drawn && node.parentNode == parent){ - var caches = parent._cache; - if(caches){ - for(var i = 0, cache; cache = caches[i]; i++){ - this.onAddNode(cache); - parent.insertBefore(cache, node); - this.onAddNodeComplete(cache); - } - caches.length = 0; - } - } - parent._dirty = false; - } - if(!parent._cache){ - parent._cache = []; - this._cache.push(parent); - } - parent._dirty = true; - parent._cache.push(node); - return this; - }, - remove: function(obj){ - if(typeof obj == "string"){ - if(this._parent){ - this._parent.removeAttribute(obj); - } - }else{ - if(obj.nodeType == 1 && !this.getRootNode() && !this._removed){ - this._removed = true; - return this; - } - if(obj.parentNode){ - this.onRemoveNode(); - if(obj.parentNode){ - obj.parentNode.removeChild(obj); - } - } - } - return this; - }, - setAttribute: function(key, value){ - if(key == "class"){ - this._parent.className = value; - }else if(key == "for"){ - this._parent.htmlFor = value; - }else if(this._parent.setAttribute){ - this._parent.setAttribute(key, value); - } - return this; - }, - addEvent: function(context, type, fn, /*Array|Function*/ args){ - if(!context.getThis()){ throw new Error("You must use Context.setObject(instance)"); } - this.onAddEvent(this.getParent(), type, fn); - var resolved = fn; - if(dojo.isArray(args)){ - resolved = function(e){ - this[fn].apply(this, [e].concat(args)); - } - } - return dojo.connect(this.getParent(), type, context.getThis(), resolved); - }, - setParent: function(node, /*Boolean?*/ up, /*Boolean?*/ root){ - if(!this._parent) this._parent = this._first = node; - - if(up && root && node === this._first){ - this._closed = true; - } - - if(up){ - var parent = this._parent; - var script = ""; - var ie = dojo.isIE && parent.tagName == "SCRIPT"; - if(ie){ - parent.text = ""; - } - if(parent._dirty){ - var caches = parent._cache; - for(var i = 0, cache; cache = caches[i]; i++){ - if(cache !== parent){ - this.onAddNode(cache); - if(ie){ - script += cache.data; - }else{ - parent.appendChild(cache); - } - this.onAddNodeComplete(cache); - } - } - caches.length = 0; - parent._dirty = false; - } - if(ie){ - parent.text = script; - } - } - - this.onSetParent(node, up); - this._parent = node; - return this; - }, - getParent: function(){ - return this._parent; - }, - getRootNode: function(){ - return this.rootNode; - }, - onSetParent: function(node, up){ - // summary: Stub called when setParent is used. - }, - onAddNode: function(node){ - // summary: Stub called before new nodes are added - }, - onAddNodeComplete: function(node){ - // summary: Stub called after new nodes are added - }, - onRemoveNode: function(node){ - // summary: Stub called when nodes are removed - }, - onClone: function(/*DOMNode*/ from, /*DOMNode*/ to){ - // summary: Stub called when a node is duplicated - }, - onAddEvent: function(/*DOMNode*/ node, /*String*/ type, /*String*/ description){ - // summary: Stub to call when you're adding an event - } - }); - - dd._HtmlNode = dojo.extend(function(node){ - // summary: Places a node into DOM - this.contents = node; - }, - { - render: function(context, buffer){ - this._rendered = true; - return buffer.concat(this.contents); - }, - unrender: function(context, buffer){ - if(!this._rendered){ - return buffer; - } - this._rendered = false; - return buffer.remove(this.contents); - }, - clone: function(buffer){ - return new this.constructor(this.contents); - } - }); - - dd._HtmlNodeList = dojo.extend(function(/*Node[]*/ nodes){ - // summary: A list of any HTML-specific node object - // description: - // Any object that's used in the constructor or added - // through the push function much implement the - // render, unrender, and clone functions. - this.contents = nodes || []; - }, - { - push: function(node){ - this.contents.push(node); - }, - unshift: function(node){ - this.contents.unshift(node); - }, - render: function(context, buffer, /*Node*/ instance){ - buffer = buffer || dd.HtmlTemplate.prototype.getBuffer(); - - if(instance){ - var parent = buffer.getParent(); - } - for(var i = 0; i < this.contents.length; i++){ - buffer = this.contents[i].render(context, buffer); - if(!buffer) throw new Error("Template node render functions must return their buffer"); - } - if(parent){ - buffer.setParent(parent); - } - return buffer; - }, - dummyRender: function(context, buffer, asNode){ - // summary: A really expensive way of checking to see how a rendering will look. - // Used in the ifchanged tag - var div = document.createElement("div"); - - var parent = buffer.getParent(); - var old = parent._clone; - // Tell the clone system to attach itself to our new div - parent._clone = div; - var nodelist = this.clone(buffer, div); - if(old){ - // Restore state if there was a previous clone - parent._clone = old; - }else{ - // Remove if there was no clone - parent._clone = null; - } - - buffer = dd.HtmlTemplate.prototype.getBuffer(); - nodelist.unshift(new dd.ChangeNode(div)); - nodelist.push(new dd.ChangeNode(div, true)); - nodelist.render(context, buffer); - - if(asNode){ - return buffer.getRootNode(); - } - - var html = div.innerHTML; - return (dojo.isIE) ? html.replace(/\s*_(dirty|clone)="[^"]*"/g, "") : html; - }, - unrender: function(context, buffer){ - for(var i = 0; i < this.contents.length; i++){ - buffer = this.contents[i].unrender(context, buffer); - if(!buffer) throw new Error("Template node render functions must return their buffer"); - } - return buffer; - }, - clone: function(buffer){ - // summary: - // Used to create an identical copy of a NodeList, useful for things like the for tag. - var parent = buffer.getParent(); - var contents = this.contents; - var nodelist = new dd._HtmlNodeList(); - var cloned = []; - for(var i = 0; i < contents.length; i++){ - var clone = contents[i].clone(buffer); - if(clone instanceof dd.ChangeNode || clone instanceof dd._HtmlNode){ - var item = clone.contents._clone; - if(item){ - clone.contents = item; - }else if(parent != clone.contents && clone instanceof dd._HtmlNode){ - var node = clone.contents; - clone.contents = clone.contents.cloneNode(false); - buffer.onClone(node, clone.contents); - cloned.push(node); - node._clone = clone.contents; - } - } - nodelist.push(clone); - } - - for(var i = 0, clone; clone = cloned[i]; i++){ - clone._clone = null; - } - - return nodelist; - } - }); - - dd._HtmlVarNode = dojo.extend(function(str){ - // summary: A node to be processed as a variable - // description: - // Will render an object that supports the render function - // and the getRootNode function - this.contents = new dd._Filter(str); - this._lists = {}; - }, - { - render: function(context, buffer){ - this._rendered = true; - - var str = this.contents.resolve(context); - if(str && str.render && str.getRootNode){ - var root = this._curr = str.getRootNode(); - var lists = this._lists; - var list = lists[root]; - if(!list){ - list = lists[root] = new dd._HtmlNodeList(); - list.push(new dd.ChangeNode(buffer.getParent())); - list.push(new dd._HtmlNode(root)); - list.push(str); - list.push(new dd.ChangeNode(buffer.getParent())); - } - return list.render(context, buffer); - }else{ - if(!this._txt){ - this._txt = document.createTextNode(str); - } - this._txt.data = str; - return buffer.concat(this._txt); - } - }, - unrender: function(context, buffer){ - if(!this._rendered){ - return buffer; - } - this._rendered = false; - if(this._curr){ - return this._lists[this._curr].unrender(context, buffer); - }else if(this._txt){ - return buffer.remove(this._txt); - } - return buffer; - }, - clone: function(){ - return new this.constructor(this.contents.getExpression()); - } - }); - - dd.ChangeNode = dojo.extend(function(node, /*Boolean?*/ up, /*Bookean*/ root){ - // summary: Changes the parent during render/unrender - this.contents = node; - this.up = up; - this.root = root; - }, - { - render: function(context, buffer){ - return buffer.setParent(this.contents, this.up, this.root); - }, - unrender: function(context, buffer){ - if(!this.contents.parentNode){ - return buffer; - } - if(!buffer.getParent()){ - return buffer; - } - return buffer.setParent(this.contents); - }, - clone: function(){ - return new this.constructor(this.contents, this.up, this.root); - } - }); - - dd.AttributeNode = dojo.extend(function(key, value, nodelist){ - // summary: Works on attributes - this.key = key; - this.value = value; - this.nodelist = nodelist || (new dd.Template(value)).nodelist; - - this.contents = ""; - }, - { - render: function(context, buffer){ - var key = this.key; - var value = this.nodelist.dummyRender(context); - if(this._rendered){ - if(value != this.contents){ - this.contents = value; - return buffer.setAttribute(key, value); - } - }else{ - this._rendered = true; - this.contents = value; - return buffer.setAttribute(key, value); - } - return buffer; - }, - unrender: function(context, buffer){ - return buffer.remove(this.key); - }, - clone: function(buffer){ - return new this.constructor(this.key, this.value, this.nodelist.clone(buffer)); - } - }); - - dd._HtmlTextNode = dojo.extend(function(str){ - // summary: Adds a straight text node without any processing - this.contents = document.createTextNode(str); - }, - { - set: function(data){ - this.contents.data = data; - }, - render: function(context, buffer){ - return buffer.concat(this.contents); - }, - unrender: function(context, buffer){ - return buffer.remove(this.contents); - }, - clone: function(){ - return new this.constructor(this.contents.data); - } - }); - - dd._HtmlParser = dojo.extend(function(tokens){ - // summary: Turn a simple array into a set of objects - // description: - // This is also used by all tags to move through - // the list of nodes. - this.contents = tokens; - }, - { - i: 0, - parse: function(/*Array?*/ stop_at){ - var types = ddh.types; - var terminators = {}; - var tokens = this.contents; - if(!stop_at){ - stop_at = []; - } - for(var i = 0; i < stop_at.length; i++){ - terminators[stop_at[i]] = true; - } - var nodelist = new dd._HtmlNodeList(); - while(this.i < tokens.length){ - var token = tokens[this.i++]; - var type = token[0]; - var value = token[1]; - if(type == types.custom){ - nodelist.push(value); - }else if(type == types.change){ - var changeNode = new dd.ChangeNode(value, token[2], token[3]); - value[changeNode.attr] = changeNode; - nodelist.push(changeNode); - }else if(type == types.attr){ - var fn = ddt.getTag("attr:" + token[2], true); - if(fn && token[3]){ - nodelist.push(fn(null, token[2] + " " + token[3])); - }else if(dojo.isString(token[3]) && (token[3].indexOf("{%") != -1 || token[3].indexOf("{{") != -1)){ - nodelist.push(new dd.AttributeNode(token[2], token[3])); - } - }else if(type == types.elem){ - var fn = ddt.getTag("node:" + value.tagName.toLowerCase(), true); - if(fn){ - // TODO: We need to move this to tokenization so that it's before the - // node and the parser can be passed here instead of null - nodelist.push(fn(null, value, value.tagName.toLowerCase())); - } - nodelist.push(new dd._HtmlNode(value)); - }else if(type == types.varr){ - nodelist.push(new dd._HtmlVarNode(value)); - }else if(type == types.text){ - nodelist.push(new dd._HtmlTextNode(value.data || value)); - }else if(type == types.tag){ - if(terminators[value]){ - --this.i; - return nodelist; - } - var cmd = value.split(/\s+/g); - if(cmd.length){ - cmd = cmd[0]; - var fn = ddt.getTag(cmd); - if(typeof fn != "function"){ - throw new Error("Function not found for " + cmd); - } - var tpl = fn(this, value); - if(tpl){ - nodelist.push(tpl); - } - } - } - } - - if(stop_at.length){ - throw new Error("Could not find closing tag(s): " + stop_at.toString()); - } - - return nodelist; - }, - next: function(){ - // summary: Used by tags to discover what token was found - var token = this.contents[this.i++]; - return {type: token[0], text: token[1]}; - }, - skipPast: function(endtag){ - return dd.Parser.prototype.skipPast.call(this, endtag); - }, - getVarNodeConstructor: function(){ - return dd._HtmlVarNode; - }, - getTextNodeConstructor: function(){ - return dd._HtmlTextNode; - }, - getTemplate: function(/*String*/ loc){ - return new dd.HtmlTemplate(ddh.getTemplate(loc)); - } - }); - -})(); - -} diff --git a/includes/js/dojox/dtl/render/html.js b/includes/js/dojox/dtl/render/html.js deleted file mode 100644 index 943dfbe..0000000 --- a/includes/js/dojox/dtl/render/html.js +++ /dev/null @@ -1,76 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.render.html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.render.html"] = true; -dojo.provide("dojox.dtl.render.html"); -dojo.require("dojox.dtl.Context"); - -dojox.dtl.render.html.sensitivity = { - // summary: - // Set conditions under which to buffer changes - // description: - // Necessary if you make a lot of changes to your template. - // What happens is that the entire node, from the attached DOM Node - // down gets swapped with a clone, and until the entire rendering - // is complete, we don't replace the clone again. In this way, renders are - // "batched". - // - // But, if we're only changing a small number of nodes, we might no want to buffer at all. - // The higher numbers mean that even small changes will result in buffering. - // Each higher level includes the lower levels. - NODE: 1, // If a node changes, implement buffering - ATTRIBUTE: 2, // If an attribute or node changes, implement buffering - TEXT: 3 // If any text at all changes, implement buffering -} -dojox.dtl.render.html.Render = function(/*DOMNode?*/ attachPoint, /*dojox.dtl.HtmlTemplate?*/ tpl){ - this._tpl = tpl; - this.domNode = attachPoint; - this._swap = dojo.hitch(this, function(){ - // summary: Swaps the node out the first time the DOM is changed - // description: Gets swapped back it at end of render - if(this.domNode === this._tpl.getRootNode()){ - var frag = this.domNode; - this.domNode = this.domNode.cloneNode(true); - frag.parentNode.replaceChild(this.domNode, frag); - } - }); -} -dojo.extend(dojox.dtl.render.html.Render, { - sensitivity: dojox.dtl.render.html.sensitivity, - setAttachPoint: function(/*Node*/ node){ - this.domNode = node; - }, - render: function(/*Object*/ context, /*dojox.dtl.HtmlTemplate?*/ tpl, /*dojox.dtl.HtmlBuffer?*/ buffer){ - if(!this.domNode){ - throw new Error("You cannot use the Render object without specifying where you want to render it"); - } - - tpl = tpl || this._tpl; - buffer = buffer || tpl.getBuffer(); - context = context || new dojox.dtl.Context(); - - if(context.getThis() && context.getThis().buffer == this.sensitivity.NODE){ - var onAddNode = dojo.connect(buffer, "onAddNode", this, "_swap"); - var onRemoveNode = dojo.connect(buffer, "onRemoveNode", this, "_swap"); - } - - if(this._tpl && this._tpl !== tpl){ - this._tpl.unrender(context, buffer); - } - this._tpl = tpl; - - var frag = tpl.render(context, buffer).getParent(); - if(!frag){ - throw new Error("Rendered template does not have a root node"); - } - - dojo.disconnect(onAddNode); - dojo.disconnect(onRemoveNode); - - if(this.domNode !== frag){ - this.domNode.parentNode.replaceChild(frag, this.domNode); - dojo._destroyElement(this.domNode); - this.domNode = frag; - } - } -}); - -} diff --git a/includes/js/dojox/dtl/tag/date.js b/includes/js/dojox/dtl/tag/date.js deleted file mode 100644 index fba4089..0000000 --- a/includes/js/dojox/dtl/tag/date.js +++ /dev/null @@ -1,29 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tag.date"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tag.date"] = true; -dojo.provide("dojox.dtl.tag.date"); - -dojo.require("dojox.dtl._base"); -dojo.require("dojox.dtl.utils.date"); - -dojox.dtl.tag.date.NowNode = function(format, TextNode){ - this.format = new dojox.dtl.utils.date.DateFormat(format); - this.contents = new TextNode(""); -} -dojo.extend(dojox.dtl.tag.date.NowNode, { - render: function(context, buffer){ - this.contents.set(this.format.format(new Date())); - return this.contents.render(context, buffer); - } -}); - -dojox.dtl.tag.date.now = function(parser, text){ - // Split by either :" or :' - var parts = text.split((text.substring(0, 5) == "now '") ? "'" : '"'); - if(parts.length != 3){ - throw new Error("'now' statement takes one argument"); - } - var format = parts[1]; - return new dojox.dtl.tag.date.NowNode(format, parser.getTextNodeConstructor()); -} - -} diff --git a/includes/js/dojox/dtl/tag/loader.js b/includes/js/dojox/dtl/tag/loader.js deleted file mode 100644 index 36c81bc..0000000 --- a/includes/js/dojox/dtl/tag/loader.js +++ /dev/null @@ -1,277 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tag.loader"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tag.loader"] = true; -dojo.provide("dojox.dtl.tag.loader"); - -dojo.require("dojox.dtl._base"); - -(function(){ - var dd = dojox.dtl; - var ddtl = dd.tag.loader; - - ddtl.BlockNode = dojo.extend(function(name, nodelist){ - this.name = name; - this.nodelist = nodelist; // Can be overridden - }, - { - render: function(context, buffer){ - var name = this.name; - var nodelist = this.nodelist; - if(buffer.blocks){ - var block = buffer.blocks[name]; - if(block){ - nodelist = block.nodelist; - block.used = true; - } - } - this.rendered = nodelist; - return nodelist.render(context, buffer, this); - }, - unrender: function(context, buffer){ - return this.rendered.unrender(context, buffer); - }, - clone: function(buffer){ - return new this.constructor(this.name, this.nodelist.clone(buffer)); - }, - setOverride: function(nodelist){ - // summary: In a shared parent, we override, not overwrite - if(!this.override){ - this.override = nodelist; - } - }, - toString: function(){ return "dojox.dtl.tag.loader.BlockNode"; } - }); - - ddtl.ExtendsNode = dojo.extend(function(getTemplate, nodelist, shared, parent, key){ - this.getTemplate = getTemplate; - this.nodelist = nodelist; - this.shared = shared; - this.parent = parent; - this.key = key; - }, - { - parents: {}, - getParent: function(context){ - if(!this.parent){ - this.parent = context.get(this.key, false); - if(!this.parent){ - throw new Error("extends tag used a variable that did not resolve"); - } - if(typeof this.parent == "object"){ - if(this.parent.url){ - if(this.parent.shared){ - this.shared = true; - } - this.parent = this.parent.url.toString(); - }else{ - this.parent = this.parent.toString(); - } - } - if(this.parent && this.parent.indexOf("shared:") == 0){ - this.shared = true; - this.parent = this.parent.substring(7, parent.length); - } - } - var parent = this.parent; - if(!parent){ - throw new Error("Invalid template name in 'extends' tag."); - } - if(parent.render){ - return parent; - } - if(this.parents[parent]){ - return this.parents[parent]; - } - this.parent = this.getTemplate(dojox.dtl.text.getTemplateString(parent)); - if(this.shared){ - this.parents[parent] = this.parent; - } - return this.parent; - }, - render: function(context, buffer){ - var parent = this.getParent(context); - - buffer.blocks = buffer.blocks || {}; - - // The parent won't always be in the default parent's nodelist - for(var i = 0, node; node = this.nodelist.contents[i]; i++){ - if(node instanceof dojox.dtl.tag.loader.BlockNode){ - buffer.blocks[node.name] = { - shared: this.shared, - nodelist: node.nodelist, - used: false - } - } - } - - this.rendered = parent; - buffer = parent.nodelist.render(context, buffer, this); - - var rerender = false; - for(var name in buffer.blocks){ - var block = buffer.blocks[name]; - if(!block.used){ - rerender = true; - parent.nodelist[0].nodelist.append(block.nodelist); - } - } - - if(rerender){ - buffer = parent.nodelist.render(context, buffer, this); - } - - return buffer; - }, - unrender: function(context, buffer){ - return this.rendered.unrender(context, buffer, this); - }, - toString: function(){ return "dojox.dtl.block.ExtendsNode"; } - }); - - ddtl.IncludeNode = dojo.extend(function(path, constant, getTemplate, TextNode, parsed){ - this._path = path; - this.constant = constant; - this.path = (constant) ? path : new dd._Filter(path); - this.getTemplate = getTemplate; - this.TextNode = TextNode; - this.parsed = (arguments.length == 5) ? parsed : true; - }, - { - _cache: [{}, {}], - render: function(context, buffer){ - var location = ((this.constant) ? this.path : this.path.resolve(context)).toString(); - var parsed = Number(this.parsed); - var dirty = false; - if(location != this.last){ - dirty = true; - if(this.last){ - buffer = this.unrender(context, buffer); - } - this.last = location; - } - - var cache = this._cache[parsed]; - - if(parsed){ - if(!cache[location]){ - cache[location] = dd.text._resolveTemplateArg(location, true); - } - if(dirty){ - var template = this.getTemplate(cache[location]); - this.rendered = template.nodelist; - } - return this.rendered.render(context, buffer, this); - }else{ - if(this.TextNode == dd._TextNode){ - if(dirty){ - this.rendered = new this.TextNode(""); - this.rendered.set(dd.text._resolveTemplateArg(location, true)); - } - return this.rendered.render(context, buffer); - }else{ - if(!cache[location]){ - var nodelist = []; - var div = document.createElement("div"); - div.innerHTML = dd.text._resolveTemplateArg(location, true); - var children = div.childNodes; - while(children.length){ - var removed = div.removeChild(children[0]); - nodelist.push(removed); - } - cache[location] = nodelist; - } - if(dirty){ - this.nodelist = []; - var exists = true; - for(var i = 0, child; child = cache[location][i]; i++){ - this.nodelist.push(child.cloneNode(true)); - } - } - for(var i = 0, node; node = this.nodelist[i]; i++){ - buffer = buffer.concat(node); - } - } - } - return buffer; - }, - unrender: function(context, buffer){ - if(this.rendered){ - buffer = this.rendered.unrender(context, buffer); - } - if(this.nodelist){ - for(var i = 0, node; node = this.nodelist[i]; i++){ - buffer = buffer.remove(node); - } - } - return buffer; - }, - clone: function(buffer){ - return new this.constructor(this._path, this.constant, this.getTemplate, this.TextNode, this.parsed); - } - }); - - dojo.mixin(ddtl, { - block: function(parser, text){ - var parts = text.split(" "); - var name = parts[1]; - - parser._blocks = parser._blocks || {}; - parser._blocks[name] = parser._blocks[name] || []; - parser._blocks[name].push(name); - - var nodelist = parser.parse(["endblock", "endblock " + name]); - parser.next(); - return new dojox.dtl.tag.loader.BlockNode(name, nodelist); - }, - extends_: function(parser, text){ - var parts = text.split(" "); - var shared = false; - var parent = null; - var key = null; - if(parts[1].charAt(0) == '"' || parts[1].charAt(0) == "'"){ - parent = parts[1].substring(1, parts[1].length - 1); - }else{ - key = parts[1]; - } - if(parent && parent.indexOf("shared:") == 0){ - shared = true; - parent = parent.substring(7, parent.length); - } - var nodelist = parser.parse(); - return new dojox.dtl.tag.loader.ExtendsNode(parser.getTemplate, nodelist, shared, parent, key); - }, - include: function(parser, token){ - var parts = dd.text.pySplit(token); - if(parts.length != 2){ - throw new Error(parts[0] + " tag takes one argument: the name of the template to be included"); - } - var path = parts[1]; - var constant = false; - if((path.charAt(0) == '"' || path.slice(-1) == "'") && path.charAt(0) == path.slice(-1)){ - path = path.slice(1, -1); - constant = true; - } - return new ddtl.IncludeNode(path, constant, parser.getTemplate, parser.getTextNodeConstructor()); - }, - ssi: function(parser, token){ - // We're going to treat things a little differently here. - // First of all, this tag is *not* portable, so I'm not - // concerned about it being a "drop in" replacement. - - // Instead, we'll just replicate the include tag, but with that - // optional "parsed" parameter. - var parts = dd.text.pySplit(token); - var parsed = false; - if(parts.length == 3){ - parsed = (parts.pop() == "parsed"); - if(!parsed){ - throw new Error("Second (optional) argument to ssi tag must be 'parsed'"); - } - } - var node = ddtl.include(parser, parts.join(" ")); - node.parsed = parsed; - return node; - } - }); -})(); - -} diff --git a/includes/js/dojox/dtl/tag/logic.js b/includes/js/dojox/dtl/tag/logic.js deleted file mode 100644 index 90909ce..0000000 --- a/includes/js/dojox/dtl/tag/logic.js +++ /dev/null @@ -1,272 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tag.logic"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tag.logic"] = true; -dojo.provide("dojox.dtl.tag.logic"); - -dojo.require("dojox.dtl._base"); - -(function(){ - var dd = dojox.dtl; - var ddt = dd.text; - var ddtl = dd.tag.logic; - - ddtl.IfNode = dojo.extend(function(bools, trues, falses, type){ - this.bools = bools; - this.trues = trues; - this.falses = falses; - this.type = type; - }, - { - render: function(context, buffer){ - var i, bool, ifnot, filter, value; - if(this.type == "or"){ - for(i = 0; bool = this.bools[i]; i++){ - ifnot = bool[0]; - filter = bool[1]; - value = filter.resolve(context); - if((value && !ifnot) || (ifnot && !value)){ - if(this.falses){ - buffer = this.falses.unrender(context, buffer); - } - return (this.trues) ? this.trues.render(context, buffer, this) : buffer; - } - } - if(this.trues){ - buffer = this.trues.unrender(context, buffer); - } - return (this.falses) ? this.falses.render(context, buffer, this) : buffer; - }else{ - for(i = 0; bool = this.bools[i]; i++){ - ifnot = bool[0]; - filter = bool[1]; - value = filter.resolve(context); - // If we ever encounter a false value - if(value == ifnot){ - if(this.trues){ - buffer = this.trues.unrender(context, buffer); - } - return (this.falses) ? this.falses.render(context, buffer, this) : buffer; - } - } - if(this.falses){ - buffer = this.falses.unrender(context, buffer); - } - return (this.trues) ? this.trues.render(context, buffer, this) : buffer; - } - return buffer; - }, - unrender: function(context, buffer){ - buffer = (this.trues) ? this.trues.unrender(context, buffer) : buffer; - buffer = (this.falses) ? this.falses.unrender(context, buffer) : buffer; - return buffer; - }, - clone: function(buffer){ - var trues = (this.trues) ? this.trues.clone(buffer) : null; - var falses = (this.falses) ? this.falses.clone(buffer) : null; - return new this.constructor(this.bools, trues, falses, this.type); - } - }); - - ddtl.IfEqualNode = dojo.extend(function(var1, var2, trues, falses, negate){ - this.var1 = new dd._Filter(var1); - this.var2 = new dd._Filter(var2); - this.trues = trues; - this.falses = falses; - this.negate = negate; - }, - { - render: function(context, buffer){ - var var1 = this.var1.resolve(context); - var var2 = this.var2.resolve(context); - if((this.negate && var1 != var2) || (!this.negate && var1 == var2)){ - if(this.falses){ - buffer = this.falses.unrender(context, buffer); - } - return (this.trues) ? this.trues.render(context, buffer, this) : buffer; - } - if(this.trues){ - buffer = this.trues.unrender(context, buffer); - } - return (this.falses) ? this.falses.render(context, buffer, this) : buffer; - }, - unrender: function(context, buffer){ - return ddtl.IfNode.prototype.unrender.call(this, context, buffer); - }, - clone: function(buffer){ - return new this.constructor(this.var1.getExpression(), this.var2.getExpression(), this.trues.clone(buffer), this.falses.clone(buffer), this.negate); - } - }); - - ddtl.ForNode = dojo.extend(function(assign, loop, reversed, nodelist){ - this.assign = assign; - this.loop = new dd._Filter(loop); - this.reversed = reversed; - this.nodelist = nodelist; - this.pool = []; - }, - { - render: function(context, buffer){ - var i, j, k; - var dirty = false; - var assign = this.assign; - - for(k = 0; k < assign.length; k++){ - if(typeof context[assign[k]] != "undefined"){ - dirty = true; - context.push(); - break; - } - } - - var items = this.loop.resolve(context) || []; - for(i = items.length; i < this.pool.length; i++){ - this.pool[i].unrender(context, buffer); - } - if(this.reversed){ - items = items.slice(0).reverse(); - } - - var isObject = dojo.isObject(items) && !dojo.isArrayLike(items); - var arred = []; - if(isObject){ - for(var key in items){ - arred.push(items[key]); - } - }else{ - arred = items; - } - - var forloop = context.forloop = { - parentloop: context.forloop || {} - }; - var j = 0; - for(i = 0; i < arred.length; i++){ - var item = arred[i]; - - forloop.counter0 = j; - forloop.counter = j + 1; - forloop.revcounter0 = arred.length - j - 1; - forloop.revcounter = arred.length - j; - forloop.first = !j; - forloop.last = (j == arred.length - 1); - - if(assign.length > 1 && dojo.isArrayLike(item)){ - if(!dirty){ - dirty = true; - context.push(); - } - var zipped = {}; - for(k = 0; k < item.length && k < assign.length; k++){ - zipped[assign[k]] = item[k]; - } - context.update(zipped); - }else{ - context[assign[0]] = item; - } - - if(j + 1 > this.pool.length){ - this.pool.push(this.nodelist.clone(buffer)); - } - buffer = this.pool[j].render(context, buffer, this); - ++j; - } - - delete context.forloop; - for(k = 0; k < assign.length; k++){ - delete context[assign[k]]; - } - if(dirty){ - context.pop(); - } - return buffer; - }, - unrender: function(context, buffer){ - for(var i = 0, pool; pool = this.pool[i]; i++){ - buffer = pool.unrender(context, buffer); - } - return buffer; - }, - clone: function(buffer){ - return new this.constructor(this.assign, this.loop.getExpression(), this.reversed, this.nodelist.clone(buffer)); - } - }); - - dojo.mixin(ddtl, { - if_: function(parser, text){ - var i, part, type, bools = [], parts = ddt.pySplit(text); - parts.shift(); - text = parts.join(" "); - parts = text.split(" and "); - if(parts.length == 1){ - type = "or"; - parts = text.split(" or "); - }else{ - type = "and"; - for(i = 0; i < parts.length; i++){ - if(parts[i].indexOf(" or ") != -1){ - // Note, since we split by and, this is the only place we need to error check - throw new Error("'if' tags can't mix 'and' and 'or'"); - } - } - } - for(i = 0; part = parts[i]; i++){ - var not = false; - if(part.indexOf("not ") == 0){ - part = part.slice(4); - not = true; - } - bools.push([not, new dd._Filter(part)]); - } - var trues = parser.parse(["else", "endif"]); - var falses = false; - var token = parser.next(); - if(token.text == "else"){ - falses = parser.parse(["endif"]); - parser.next(); - } - return new ddtl.IfNode(bools, trues, falses, type); - }, - _ifequal: function(parser, text, negate){ - var parts = ddt.pySplit(text); - if(parts.length != 3){ - throw new Error(parts[0] + " takes two arguments"); - } - var end = 'end' + parts[0]; - var trues = parser.parse(["else", end]); - var falses = false; - var token = parser.next(); - if(token.text == "else"){ - falses = parser.parse([end]); - parser.next(); - } - return new ddtl.IfEqualNode(parts[1], parts[2], trues, falses, negate); - }, - ifequal: function(parser, text){ - return ddtl._ifequal(parser, text); - }, - ifnotequal: function(parser, text){ - return ddtl._ifequal(parser, text, true); - }, - for_: function(parser, text){ - var parts = ddt.pySplit(text); - if(parts.length < 4){ - throw new Error("'for' statements should have at least four words: " + text); - } - var reversed = parts[parts.length - 1] == "reversed"; - var index = (reversed) ? -3 : -2; - if(parts[parts.length + index] != "in"){ - throw new Error("'for' tag received an invalid argument: " + text); - } - var loopvars = parts.slice(1, index).join(" ").split(/ *, */); - for(var i = 0; i < loopvars.length; i++){ - if(!loopvars[i] || loopvars[i].indexOf(" ") != -1){ - throw new Error("'for' tag received an invalid argument: " + text); - } - } - var nodelist = parser.parse(["endfor"]); - parser.next(); - return new ddtl.ForNode(loopvars, parts[parts.length + index + 1], reversed, nodelist); - } - }); -})(); - -} diff --git a/includes/js/dojox/dtl/tag/loop.js b/includes/js/dojox/dtl/tag/loop.js deleted file mode 100644 index 3626c52..0000000 --- a/includes/js/dojox/dtl/tag/loop.js +++ /dev/null @@ -1,196 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tag.loop"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tag.loop"] = true; -dojo.provide("dojox.dtl.tag.loop"); - -dojo.require("dojox.dtl._base"); -dojo.require("dojox.string.tokenize"); - -(function(){ - var dd = dojox.dtl; - var ddtl = dd.tag.loop; - - ddtl.CycleNode = dojo.extend(function(cyclevars, name, TextNode, shared){ - this.cyclevars = cyclevars; - this.name = name; - this.TextNode = TextNode; - this.shared = shared || {counter: -1, map: {}}; - }, - { - render: function(context, buffer){ - if(context.forloop && !context.forloop.counter0){ - this.shared.counter = -1; - } - - ++this.shared.counter; - var value = this.cyclevars[this.shared.counter % this.cyclevars.length]; - - var map = this.shared.map; - if(!map[value]){ - map[value] = new dd._Filter(value); - } - value = map[value].resolve(context, buffer); - - if(this.name){ - context[this.name] = value; - } - if(!this.contents){ - this.contents = new this.TextNode(""); - } - this.contents.set(value); - return this.contents.render(context, buffer); - }, - unrender: function(context, buffer){ - return this.contents.unrender(context, buffer); - }, - clone: function(){ - return new this.constructor(this.cyclevars, this.name, this.TextNode, this.shared); - } - }); - - ddtl.IfChangedNode = dojo.extend(function(nodes, vars, shared){ - this.nodes = nodes; - this._vars = vars; - this.shared = shared || {last: null}; - this.vars = dojo.map(vars, function(item){ - return new dojox.dtl._Filter(item); - }); - }, { - render: function(context, buffer){ - if(context.forloop && context.forloop.first){ - this.shared.last = null; - } - - var change; - if(this.vars.length){ - change = dojo.toJson(dojo.map(this.vars, function(item){ - return item.resolve(context); - })); - }else{ - change = this.nodes.dummyRender(context, buffer); - } - - if(change != this.shared.last){ - var firstloop = (this.shared.last === null); - this.shared.last = change; - context.push(); - context.ifchanged = {firstloop: firstloop} - buffer = this.nodes.render(context, buffer); - context.pop(); - } - return buffer; - }, - unrender: function(context, buffer){ - this.nodes.unrender(context, buffer); - }, - clone: function(buffer){ - return new this.constructor(this.nodes.clone(buffer), this._vars, this.shared); - } - }); - - ddtl.RegroupNode = dojo.extend(function(expression, key, alias){ - this._expression = expression; - this.expression = new dd._Filter(expression); - this.key = key; - this.alias = alias; - }, - { - _push: function(container, grouper, stack){ - if(stack.length){ - container.push({ grouper: grouper, list: stack }) - } - }, - render: function(context, buffer){ - context[this.alias] = []; - var list = this.expression.resolve(context); - if(list){ - var last = null; - var stack = []; - for(var i = 0; i < list.length; i++){ - var id = list[i][this.key]; - if(last !== id){ - this._push(context[this.alias], last, stack); - last = id; - stack = [list[i]]; - }else{ - stack.push(list[i]); - } - } - this._push(context[this.alias], last, stack); - } - return buffer; - }, - unrender: function(context, buffer){ - return buffer; - }, - clone: function(context, buffer){ - return this; - } - }); - - dojo.mixin(ddtl, { - cycle: function(parser, text){ - // summary: Cycle among the given strings each time this tag is encountered - var args = text.split(" "); - - if(args.length < 2){ - throw new Error("'cycle' tag requires at least two arguments"); - } - - if(args[1].indexOf(",") != -1){ - var vars = args[1].split(","); - args = [args[0]]; - for(var i = 0; i < vars.length; i++){ - args.push('"' + vars[i] + '"'); - } - } - - if(args.length == 2){ - var name = args[args.length - 1]; - - if(!parser._namedCycleNodes){ - throw new Error("No named cycles in template: '" + name + "' is not defined"); - } - if(!parser._namedCycleNodes[name]){ - throw new Error("Named cycle '" + name + "' does not exist"); - } - - return parser._namedCycleNodes[name]; - } - - if(args.length > 4 && args[args.length - 2] == "as"){ - var name = args[args.length - 1]; - - var node = new ddtl.CycleNode(args.slice(1, args.length - 2), name, parser.getTextNodeConstructor()); - - if(!parser._namedCycleNodes){ - parser._namedCycleNodes = {}; - } - parser._namedCycleNodes[name] = node; - }else{ - node = new ddtl.CycleNode(args.slice(1), null, parser.getTextNodeConstructor()); - } - - return node; - }, - ifchanged: function(parser, text){ - var parts = dojox.dtl.text.pySplit(text); - var nodes = parser.parse(["endifchanged"]); - parser.next(); - return new ddtl.IfChangedNode(nodes, parts.slice(1)); - }, - regroup: function(parser, text){ - var tokens = dojox.string.tokenize(dojo.trim(text), /(\s+)/g, function(spaces){ - return spaces; - }); - if(tokens.length < 11 || tokens[tokens.length - 3] != "as" || tokens[tokens.length - 7] != "by"){ - throw new Error("Expected the format: regroup list by key as newList"); - } - var expression = tokens.slice(2, -8).join(""); - var key = tokens[tokens.length - 5]; - var alias = tokens[tokens.length - 1]; - return new ddtl.RegroupNode(expression, key, alias); - } - }); -})(); - -} diff --git a/includes/js/dojox/dtl/tag/misc.js b/includes/js/dojox/dtl/tag/misc.js deleted file mode 100644 index 31610d7..0000000 --- a/includes/js/dojox/dtl/tag/misc.js +++ /dev/null @@ -1,291 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tag.misc"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tag.misc"] = true; -dojo.provide("dojox.dtl.tag.misc"); -dojo.require("dojox.dtl._base"); - -(function(){ - var dd = dojox.dtl; - var ddtm = dd.tag.misc; - - ddtm.DebugNode = dojo.extend(function(TextNode){ - this._TextNode = TextNode; - }, - { - render: function(context, buffer){ - var keys = context.getKeys(); - var debug = ""; - for(var i = 0, key; key = keys[i]; i++){ - console.debug("DEBUG", key, ":", context[key]); - debug += key + ": " + dojo.toJson(context[key]) + "\n\n"; - } - return new this._TextNode(debug).render(context, buffer, this); - }, - unrender: function(context, buffer){ - return buffer; - }, - clone: function(buffer){ - return new this.constructor(this._TextNode); - }, - toString: function(){ return "ddtm.DebugNode"; } - }); - - ddtm.FilterNode = dojo.extend(function(varnode, nodelist){ - this._varnode = varnode; - this._nodelist = nodelist; - }, - { - render: function(context, buffer){ - // Doing this in HTML requires a different buffer with a fake root node - var output = this._nodelist.render(context, new dojox.string.Builder()); - context.update({ "var": output.toString() }); - var filtered = this._varnode.render(context, buffer); - context.pop(); - return buffer; - }, - unrender: function(context, buffer){ - return buffer; - }, - clone: function(buffer){ - return new this.constructor(this._expression, this._nodelist.clone(buffer)); - } - }); - - ddtm.FirstOfNode = dojo.extend(function(vars, TextNode){ - this._vars = vars; - this.vars = dojo.map(vars, function(item){ - return new dojox.dtl._Filter(item); - }); - this.contents = new TextNode(""); - }, - { - render: function(context, buffer){ - for(var i = 0, item; item = this.vars[i]; i++){ - var resolved = item.resolve(context); - if(typeof resolved != "undefined"){ - if(resolved === null){ - resolved = "null"; - } - this.contents.set(resolved); - return this.contents.render(context, buffer); - } - } - return this.contents.unrender(context, buffer); - }, - unrender: function(context, buffer){ - return this.contents.unrender(context, buffer); - }, - clone: function(buffer){ - return new this.constructor(this._vars, this.contents.constructor); - } - }); - - ddtm.SpacelessNode = dojo.extend(function(nodelist, TextNode){ - this.nodelist = nodelist; - this.TextNode = TextNode; - }, - { - render: function(context, buffer){ - if(buffer.onAddNodeComplete){ - // Unfortunately, we have to branch here - var watch = [ - dojo.connect(buffer, "onAddNodeComplete", this, "_watch"), - dojo.connect(buffer, "onSetParent", this, "_watchParent") - ]; - buffer = this.nodelist.render(context, buffer); - dojo.disconnect(watch[0]); - dojo.disconnect(watch[1]); - }else{ - if(!this.contents){ - this.contents = new this.TextNode(""); - } - var value = this.nodelist.dummyRender(context); - this.contents.set(value.replace(/>\s+<')); - buffer = this.contents.render(context, buffer); - } - return buffer; - }, - unrender: function(context, buffer){ - return this.nodelist.unrender(context, buffer); - }, - clone: function(buffer){ - return new this.constructor(this.nodelist.clone(buffer)); - }, - _isEmpty: function(node){ - return (node.nodeType == 3 && !node.data.match(/[^\s\n]/)); - }, - _watch: function(node){ - if(this._isEmpty(node)){ - var remove = false; - if(node.parentNode.firstChild == node){ - node.parentNode.removeChild(node); - } - }else{ - var children = node.parentNode.childNodes; - if(node.nodeType == 1 && children.length > 2){ - for(var i = 2, child; child = children[i]; i++){ - if(children[i - 2].nodeType == 1 && this._isEmpty(children[i - 1])){ - node.parentNode.removeChild(children[i - 1]); - return; - } - } - } - } - }, - _watchParent: function(node){ - var children = node.childNodes; - if(children.length){ - while(node.childNodes.length){ - var last = node.childNodes[node.childNodes.length - 1]; - if(!this._isEmpty(last)){ - return; - } - node.removeChild(last); - } - } - } - }); - - ddtm.TemplateTagNode = dojo.extend(function(tag, TextNode){ - this.tag = tag; - this.contents = new TextNode(""); - }, - { - mapping: { - openblock: "{%", - closeblock: "%}", - openvariable: "{{", - closevariable: "}}", - openbrace: "{", - closebrace: "}", - opencomment: "{#", - closecomment: "#}" - }, - render: function(context, buffer){ - this.contents.set(this.mapping[this.tag]); - return this.contents.render(context, buffer); - }, - unrender: function(context, buffer){ - return this.contents.unrender(context, buffer); - }, - clone: function(buffer){ - return new this.constructor(this.tag, this.contents.constructor); - } - }); - - ddtm.WidthRatioNode = dojo.extend(function(current, max, width, TextNode){ - this.current = new dd._Filter(current); - this.max = new dd._Filter(max); - this.width = width; - this.contents = new TextNode(""); - }, - { - render: function(context, buffer){ - var current = +this.current.resolve(context); - var max = +this.max.resolve(context); - if(typeof current != "number" || typeof max != "number" || !max){ - this.contents.set(""); - }else{ - this.contents.set("" + Math.round((current / max) * this.width)); - } - return this.contents.render(context, buffer); - }, - unrender: function(context, buffer){ - return this.contents.unrender(context, buffer); - }, - clone: function(buffer){ - return new this.constructor(this.current.getExpression(), this.max.getExpression(), this.width, this.contents.constructor); - } - }); - - ddtm.WithNode = dojo.extend(function(target, alias, nodelist){ - this.target = new dd._Filter(target); - this.alias = alias; - this.nodelist = nodelist; - }, - { - render: function(context, buffer){ - var target = this.target.resolve(context); - context.push(); - context[this.alias] = target; - buffer = this.nodelist.render(context, buffer); - context.pop(); - return buffer; - }, - unrender: function(context, buffer){ - return buffer; - }, - clone: function(buffer){ - return new this.constructor(this.target.getExpression(), this.alias, this.nodelist.clone(buffer)); - } - }); - - dojo.mixin(ddtm, { - comment: function(parser, text){ - // summary: Ignore everything between {% comment %} and {% endcomment %} - parser.skipPast("endcomment"); - return dd._noOpNode; - }, - debug: function(parser, text){ - // summary: Output the current context, maybe add more stuff later. - return new ddtm.DebugNode(parser.getTextNodeConstructor()); - }, - filter: function(parser, text){ - // summary: Filter the contents of the blog through variable filters. - var parts = text.split(" ", 2); - var varnode = new (parser.getVarNodeConstructor())("var|" + parts[1]); - var nodelist = parser.parse(["endfilter"]); - parser.next(); - return new ddtm.FilterNode(varnode, nodelist); - }, - firstof: function(parser, text){ - var parts = dojox.dtl.text.pySplit(text).slice(1); - if(!parts.length){ - throw new Error("'firstof' statement requires at least one argument"); - } - return new ddtm.FirstOfNode(parts, parser.getTextNodeConstructor()); - }, - spaceless: function(parser, text){ - var nodelist = parser.parse(["endspaceless"]); - parser.next(); - return new ddtm.SpacelessNode(nodelist, parser.getTextNodeConstructor()); - }, - templatetag: function(parser, text){ - var parts = dd.text.pySplit(text); - if(parts.length != 2){ - throw new Error("'templatetag' statement takes one argument"); - } - var tag = parts[1]; - var mapping = ddtm.TemplateTagNode.prototype.mapping; - if(!mapping[tag]){ - var keys = []; - for(var key in mapping){ - keys.push(key); - } - throw new Error("Invalid templatetag argument: '" + tag + "'. Must be one of: " + keys.join(", ")); - } - return new ddtm.TemplateTagNode(tag, parser.getTextNodeConstructor()); - }, - widthratio: function(parser, text){ - var parts = dd.text.pySplit(text); - if(parts.length != 4){ - throw new Error("widthratio takes three arguments"); - } - var width = +parts[3]; - if(typeof width != "number"){ - throw new Error("widthratio final argument must be an integer"); - } - return new ddtm.WidthRatioNode(parts[1], parts[2], width, parser.getTextNodeConstructor()); - }, - with_: function(parser, text){ - var parts = dd.text.pySplit(text); - if(parts.length != 4 || parts[2] != "as"){ - throw new Error("do_width expected format as 'with value as name'"); - } - var nodelist = parser.parse(["endwith"]); - parser.next(); - return new ddtm.WithNode(parts[1], parts[3], nodelist); - } - }); -})(); - -} diff --git a/includes/js/dojox/dtl/tests/context.js b/includes/js/dojox/dtl/tests/context.js deleted file mode 100644 index a366098..0000000 --- a/includes/js/dojox/dtl/tests/context.js +++ /dev/null @@ -1,79 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tests.context"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tests.context"] = true; -dojo.provide("dojox.dtl.tests.context"); - -dojo.require("dojox.dtl"); -dojo.require("dojox.dtl.Context"); - -doh.register("dojox.dtl.context", - [ - function test_context_creation(t){ - var context = new dojox.dtl.Context({ foo: "foo", bar: "bar" }); - t.is("foo", context.foo); - t.is("bar", context.bar); - }, - function test_context_push(t){ - var context = new dojox.dtl.Context({ foo: "foo", bar: "bar" }); - context.push(); - for(var key in context._dicts[0]){ - t.t(key == "foo" || key == "bar"); - } - }, - function test_context_pop(t){ - var context = new dojox.dtl.Context({ foo: "foo", bar: "bar" }); - context.push(); - t.is("undefined", typeof context.foo); - t.is("undefined", typeof context.bar); - context.pop(); - t.is("foo", context.foo); - t.is("bar", context.bar); - }, - function test_context_overpop(t){ - var context = new dojox.dtl.Context(); - try{ - context.pop(); - t.t(false); - }catch(e){ - t.is("pop() called on empty Context", e.message); - } - }, - function test_context_filter(t){ - var context = new dojox.dtl.Context({ foo: "one", bar: "two", baz: "three" }); - var filtered = context.filter("foo", "bar"); - t.is(filtered.foo, "one"); - t.is(filtered.bar, "two"); - t.f(filtered.baz); - - filtered = context.filter({ bar: true, baz: true }); - t.f(filtered.foo); - t.is(filtered.bar, "two"); - t.is(filtered.baz, "three"); - - filtered = context.filter(new dojox.dtl.Context({ foo: true, baz: true })); - t.is(filtered.foo, "one"); - t.f(filtered.bar); - t.is(filtered.baz, "three"); - }, - function test_context_extend(t){ - var context = new dojox.dtl.Context({ foo: "one" }); - var extended = context.extend({ bar: "two", baz: "three" }); - t.is(extended.foo, "one"); - t.is(extended.bar, "two"); - t.is(extended.baz, "three"); - - extended = context.extend({ barr: "two", bazz: "three" }); - t.is(extended.foo, "one"); - t.f(extended.bar); - t.f(extended.baz); - t.is(extended.barr, "two"); - t.is(extended.bazz, "three"); - - t.f(context.bar) - t.f(context.baz); - t.f(context.barr); - t.f(context.bazz); - } - ] -); - -} diff --git a/includes/js/dojox/dtl/tests/demo_Templated_Jaxer.html b/includes/js/dojox/dtl/tests/demo_Templated_Jaxer.html deleted file mode 100644 index 29e5470..0000000 --- a/includes/js/dojox/dtl/tests/demo_Templated_Jaxer.html +++ /dev/null @@ -1,87 +0,0 @@ - - - Demo using dojox.dtl._Templated - - - - -

            Using Dojo's Django Template language on Jaxer

            -

            - Aptana's Jaxer is server side JavaScript (SSJS) server. With some modifications to - a web page, Dojo can be run on the server. With Dojo running on the server, you can - utilize the Dojo's Django Template library rendering engine to do templating within - Jaxer. The latest build of Dojo includes some patches to properly work with Jaxer, - so you need a build of Dojo later than 2/18/08 to work with Jaxer. Next, the - following modifications to your page are needed to run Jaxer: -

              -
            • - You must explicitly set the base url of the Dojo library. Jaxer does not provide - the ability for Dojo to auto-detect the base url as it can in other environments. - Therefore you must declare the base url with the djConfig global variable: -
              -	<script runat="server">
              -		djConfig = {baseUrl:"/dojo/", // use the base path of dojo here
              -					usePlainJson: true, parseOnLoad: true};
              -	</script>
              -							
              -
            • -
            • - Next, you must add the runat attribute with a value of "server" to all of the script - tags that you want executed on the server. Your script tags should look like: -
              -	<script runat="server" type="text/javascript" src="../../../dojo/dojo.js"></script>
              -							
              -
            • -
            • - Last, you must dojo.require("dojo.jaxer") with a script tag. This should immediately - follow the declaration of dojo.js: -
              -	<script runat="server" type="text/javascript" src="../../../dojo/dojo.js"></script>
              -	<script runat="server" type="text/javascript">dojo.require("dojo.jaxer");</script>
              -							
              -
            • -
            -

            -

            - Once this is done, Dojo should load in Jaxer, and you can utilize the library capabilities of - Dojo. In particular, you can now use DTL renderer as you would on - the browser. If you are running this in Jaxer, below should be a working demonstration of - a template that is rendered on the server. -

            -
            -

            - It is important to note that Jaxer is not capable of transferring the programmaticaly set - event handlers for widgets, it can only send the static HTML to the browser. This means - you can use DTL as a templating engine to create HTML on the server, but Dojo client side widgets - are still necessary if you want to use interactive widgets on the browser. -

            - - - \ No newline at end of file diff --git a/includes/js/dojox/dtl/tests/html/buffer.js b/includes/js/dojox/dtl/tests/html/buffer.js deleted file mode 100644 index 3077d8c..0000000 --- a/includes/js/dojox/dtl/tests/html/buffer.js +++ /dev/null @@ -1,35 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tests.html.buffer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tests.html.buffer"] = true; -dojo.provide("dojox.dtl.tests.html.buffer"); - -dojo.require("dojox.dtl.html"); -dojo.require("dojox.dtl.Context"); -dojo.require("dojox.dtl.tests.html.util"); - -doh.register("dojox.dtl.html.buffer", - [ - function test_insertion_order_text(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - first: false, - last: false - }); - - var template = new dd.HtmlTemplate("
            {% if first %}first{% endif %}middle{% if last %}last{% endif %}
            "); - t.is("
            middle
            ", dd.tests.html.util.render(template, context)); - - context.first = true; - t.is("
            firstmiddle
            ", dd.tests.html.util.render(template, context)); - - context.first = false; - context.last = true; - t.is("
            middlelast
            ", dd.tests.html.util.render(template, context)); - - context.first = true; - t.is("
            firstmiddlelast
            ", dd.tests.html.util.render(template, context)); - } - ] -); - -} diff --git a/includes/js/dojox/dtl/tests/html/tag.js b/includes/js/dojox/dtl/tests/html/tag.js deleted file mode 100644 index c964913..0000000 --- a/includes/js/dojox/dtl/tests/html/tag.js +++ /dev/null @@ -1,233 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tests.html.tag"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tests.html.tag"] = true; -dojo.provide("dojox.dtl.tests.html.tag"); - -dojo.require("dojox.dtl.html"); -dojo.require("dojox.dtl.Context"); -dojo.require("dojox.dtl.tests.html.util"); - -doh.register("dojox.dtl.html.tag", - [ - function test_errors(t){ - var dd = dojox.dtl; - var template; - - // No root node after rendering - var found = false; - try { - template = new dd.HtmlTemplate('No div'); - dd.tests.html.util.render(template); - }catch(e){ - t.is("Text should not exist outside of the root node in template", e.message); - found = true; - } - t.t(found); - - var context = new dojox.dtl.Context({test: "Pocket"}); - found = false; - try { - template = new dd.HtmlTemplate('{{ test }}'); - dd.tests.html.util.render(template, context); - }catch(e){ - t.is("Text should not exist outside of the root node in template", e.message); - found = true; - } - t.t(found); - - template = new dd.HtmlTemplate('
            extra content'); - found = false; - try { - dd.tests.html.util.render(template); - }catch(e){ - t.is("Content should not exist outside of the root node in template", e.message); - found = true; - } - t.t(found); - - // More than one top-level node (except for blocks) - template = new dd.HtmlTemplate('
            '); - found = false; - try { - dd.tests.html.util.render(template); - }catch(e){ - t.is("Content should not exist outside of the root node in template", e.message); - found = true; - } - t.t(found); - - // Logic block rules out any root node - template = new dd.HtmlTemplate('{% if missing %}
            {% endif %}'); - found = false; - try { - dd.tests.html.util.render(template); - }catch(e){ - t.is("Rendered template does not have a root node", e.message); - found = true; - } - t.t(found); - }, - function test_structures(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - actions: ["ate", "picked"], - items: [ - { - name: "apple" - }, - { - name: "banana", - date: new Date(2007, 2, 16, 14, 30, 10) - }, - { - name: "orange", - date: new Date(2008, 0, 1, 12, 0, 0) - } - ] - }); - - var template = new dd.HtmlTemplate('
              I {% for action in actions %}{% if not forloop.first %}, {% endif %}{{action}}{% endfor %} the following:
                {% for item in items %}
              • {{ item.name }}{% if item.date %} at {{ item.date|date:"P" }}{% endif %}
              • {% endfor %}
            '); - t.is('
              I ate, picked the following:
              • apple
              • banana at 2:30 pm
              • orange at noon
            ', dd.tests.html.util.render(template, context)); - }, - function test_tag_extend(t){ - // Problems to look for: - // * Content outside of blocks - }, - function test_tag_for(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - items: ["apple", "banana", "lemon"] - }); - var template = new dd.HtmlTemplate('
              {% for item in items %}
            • {{ item }}
            • {% endfor %}
            '); - - t.is('
            • apple
            • banana
            • lemon
            ', dd.tests.html.util.render(template, context)); - - // The line break is there to make sure our regex works - template = new dd.HtmlTemplate('
            '); - - t.is('
            ', dd.tests.html.util.render(template, context)); - }, - function test_tag_if(t){ - var dd = dojox.dtl; - - var context = new dd.Context({key: true}); - var template = new dd.HtmlTemplate('{% if key %}
            has key
            {% else %}
            no key
            {% endif %}'); - t.is("
            has key
            ", dd.tests.html.util.render(template, context)); - context.key = false; - t.is("
            no key
            ", dd.tests.html.util.render(template, context)); - }, - function test_tag_ifchanged(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - year: 2008, - days: [ - new Date(2008, 0, 12), - new Date(2008, 0, 28), - new Date(2008, 1, 1), - new Date(2008, 1, 1), - new Date(2008, 1, 1) - ] - }); - - var template = new dd.HtmlTemplate("

            Archive for {{ year }}

            "+ -"{% for date in days %}"+ -'{% ifchanged %}

            Month:

            {{ date|date:"F" }}

            {% endifchanged %}'+ -'{{ date|date:\'j\' }}'+ -"{% endfor %}
            "); - - t.is('

            Archive for 2008

            '+ -'

            Month:

            January

            '+ -'12'+ -'28'+ -'

            Month:

            February

            '+ -'1'+ -'1'+ -'1
            ', dd.tests.html.util.render(template, context)); - - template = new dd.HtmlTemplate('
            {% for date in days %}'+ -'{% ifchanged date.date %} {{ date.date }} {% endifchanged %}'+ -'{% ifchanged date.hour date.date %}'+ -'{{ date.hour }}'+ -'{% endifchanged %}'+ -'{% endfor %}
            '); - t.is('
            2008-01-12 0 2008-01-28 0 2008-02-01 0
            ', dd.tests.html.util.render(template, context)); - }, - function test_tag_ifequal(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - items: [ - { name: "apple", color: "red" }, - { name: "banana", color: "yellow" }, - { name: "pear", color: "green" }, - { name: "kiwi", color: "brown" } - ], - edit_item: "banana" - }); - - var template = new dd.HtmlTemplate("
              {% for item in items %}
            • {{ item.name }}
            • {% endfor %}
            "); - t.is('
            • apple
            • banana
            • pear
            • kiwi
            ', dd.tests.html.util.render(template, context)); - - template = new dd.HtmlTemplate("
              {% for item in items %}
            • {{ item.name }}

              {{ item.color }}

            • {% endfor %}
            "); - t.is('
            • apple

              red

            • banana

              yellow

            • pear

              green

            • kiwi

              brown

            ', dd.tests.html.util.render(template, context)); - - template = new dd.HtmlTemplate("
              {% for item in items %}
            • {% ifequal item.name edit_item %}
              {% else %}{{ item.name }}

              {{ item.color }}

              {% endifequal %}
            • {% endfor %}
            "); - t.is('
            • apple

              red


            • pear

              green

            • kiwi

              brown

            ', dd.tests.html.util.render(template, context)); - - template = new dd.HtmlTemplate("
              {% for item in items %}
            • {% ifequal item.name edit_item %}

              {% else %}
              {{ item.name }}

              {{ item.color }}

              {% endifequal %}
            • {% endfor %}
            "); - t.is('
            • apple

              red


            • pear

              green

            • kiwi

              brown

            ', dd.tests.html.util.render(template, context)); - - template = new dd.HtmlTemplate("
              {% for item in items %}{% ifequal item.name edit_item %}

            • {% else %}
            • {{ item.name }}

              {{ item.color }}

            • {% endifequal %}{% endfor %}
            "); - t.is('
            • apple

              red


            • pear

              green

            • kiwi

              brown

            ', dd.tests.html.util.render(template, context)); - }, - function test_tag_include(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - hello: dojo.moduleUrl("dojox.dtl.tests.templates", "hello.html"), - person: "Bob", - people: ["Charles", "Ralph", "Julia"] - }); - - var template = new dd.HtmlTemplate("
            {% include hello %}
            "); - t.is("
            Hello, Bob
            ", dd.tests.html.util.render(template, context)); - - template = new dd.HtmlTemplate('
            {% include "../../dojox/dtl/tests/templates/hello.html" %}
            '); - t.is("
            Hello, Bob
            ", dd.tests.html.util.render(template, context)); - - template = new dd.HtmlTemplate('
            {% for person in people %}
            {% include hello %}
            {% endfor %}
            '); - t.is('
            Hello, Charles
            Hello, Ralph
            Hello, Julia
            ', dd.tests.html.util.render(template, context)); - }, - function test_tag_spaceless(t){ - var dd = dojox.dtl; - - var template = new dd.HtmlTemplate("{% spaceless %}
              \n
            • Hot
            • \n\n
            • Pocket
            • \n
            {% endspaceless %}"); - t.is("
            • Hot
            • Pocket
            ", dd.tests.html.util.render(template)); - }, - function test_tag_ssi(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - hello: dojo.moduleUrl("dojox.dtl.tests.templates", "hello.html"), - person: "Bob", - people: ["Charles", "Ralph", "Julia"] - }); - - var template = new dd.HtmlTemplate("
            {% ssi hello parsed %}
            "); - t.is("
            Hello, Bob
            ", dd.tests.html.util.render(template, context)); - - template = new dd.HtmlTemplate("
            {% ssi hello %}
            "); - t.is("
            Hello, {{ person }}
            ", dd.tests.html.util.render(template, context)); - - template = new dd.HtmlTemplate('
            {% ssi "../../dojox/dtl/tests/templates/hello.html" parsed %}
            '); - t.is("
            Hello, Bob
            ", dd.tests.html.util.render(template, context)); - - template = new dd.HtmlTemplate('
            {% for person in people %}{% ssi hello parsed %} {% endfor %}
            '); - t.is("
            Hello, Charles Hello, Ralph Hello, Julia
            ", dd.tests.html.util.render(template, context)); - } - ] -); - -} diff --git a/includes/js/dojox/dtl/tests/html/util.js b/includes/js/dojox/dtl/tests/html/util.js deleted file mode 100644 index b4efe5a..0000000 --- a/includes/js/dojox/dtl/tests/html/util.js +++ /dev/null @@ -1,160 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tests.html.util"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tests.html.util"] = true; -dojo.provide("dojox.dtl.tests.html.util"); - -dojo.require("dojox.dtl.html"); -dojo.require("dojox.dtl.render.html"); -dojo.require("dojox.string.Builder"); - -dojox.dtl.HtmlBuffer.prototype.onClone = function(from, to){ - var clones = this._clones = this._clones || []; - - for(var i = 0, group; group = clones[i]; i++){ - for(var j = 0, item; item = group[j]; j++){ - if(item === from){ - group.push(to); - return - }else if(item === to){ - group.push(from); - return; - } - } - } - - clones.push([from, to]); -} -dojox.dtl.HtmlBuffer.prototype.onAddEvent = function(node, type, description){ - var events = this._events = this._events || []; - - var found = false; - for(var i = 0, evt; evt = events[i]; i++){ - if(evt[0] === node){ - found = true; - evt[1] = type; - evt[2] = description; - } - } - - if(!found){ - events.push([node, type, description]); - } -} - -dojox.dtl.tests.html.util.render = function(/*HtmlTemplate*/ template, /*Context*/ context) { - try { - var div = document.createElement("div"); - dojo.style(div, "visibility", "hidden"); - var attach = document.createElement("div"); - div.appendChild(attach); - dojo.body().appendChild(div); - - var buffer = template.getBuffer(); - var canvas = new dojox.dtl.render.html.Render(attach, template); - canvas.render(context, template, buffer); - var clones = buffer._clones; - var events = buffer._events; - - var first = dojox.dtl.tests.html.util.serialize(canvas.domNode, template.tokens, clones, events).toString(); - - buffer = template.getBuffer(); - buffer._clones = clones; - buffer._events = events; - canvas.render(context, template, buffer); - - var second = dojox.dtl.tests.html.util.serialize(canvas.domNode, template.tokens, clones, events).toString(); - - doh.is("Compare re-render: " + first, "Compare re-render: " + second); - return first; - } - catch(e){ - throw e; - }finally{ - div.parentNode.removeChild(div); - } -} - -dojox.dtl.tests.html.util.serialize = function(node, tokens, clones, events, output) { - var types = dojox.dtl.html.types; - clones = clones || []; - events = events || []; - - if (node.nodeType == 3) { - output.append(node.nodeValue); - }else{ - var name = node.nodeName.toLowerCase(); - - if (!output) { - output = new dojox.string.Builder(); - } - output.append("<").append(name); - - var attributes = dojo.filter(tokens, function(token){ - if(token[0] == types.attr){ - for(var i = 0, group; group = clones[i]; i++){ - // group is any set of nodes that were originally the sam - var count = 0; - for(var j = 0, item; item = group[j]; j++){ - if(item === token[1] || item === node){ - if(count++){ - // This is entered when we have 2 hits within a clone group. - // The first would be the original node - // The second would be if our current node is a clone - // of the original - return true; - } - } - } - } - } - }); - - for(var i = 0, attribute; attribute = attributes[i]; i++){ - var value = ""; - if(attribute[2] == "class"){ - value = node.className || value; - }else if(attribute[2] == "for"){ - value = node.htmlFor || value; - }else if(node.getAttribute){ - value = node.getAttribute(attribute[2], 2) || value; - if(dojo.isIE && (attribute[2] == "href" || attribute[2] == "src")){ - if(dojo.isIE){ - var hash = location.href.lastIndexOf(location.hash); - var href = location.href.substring(0, hash).split("/"); - href.pop(); - href = href.join("/") + "/"; - if(value.indexOf(href) == 0){ - value = value.replace(href, ""); - } - value = decodeURIComponent(value); - } - } - } - if(value){ - output.append(" ").append(attribute[2]).append('="').append(value.replace(/"/g, '\\"')).append('"'); - } - } - - // Deal with events - if(events){ - for(var i = 0, evt; evt = events[i]; i++){ - if(evt[0] === node){ - output.append(" ").append(evt[1]).append('="').append(evt[2]).append('"'); - } - } - } - - if(!node.childNodes.length){ - output.append("/>"); - }else{ - output.append(">"); - dojo.forEach(node.childNodes, function(node){ - dojox.dtl.tests.html.util.serialize(node, tokens, clones, events, output); - }); - output.append(""); - } - - return output; - } -} - -} diff --git a/includes/js/dojox/dtl/tests/module.js b/includes/js/dojox/dtl/tests/module.js deleted file mode 100644 index 57dcafb..0000000 --- a/includes/js/dojox/dtl/tests/module.js +++ /dev/null @@ -1,15 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tests.module"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tests.module"] = true; -dojo.provide("dojox.dtl.tests.module"); - -try{ - dojo.require("dojox.dtl.tests.text.filter"); - dojo.require("dojox.dtl.tests.text.tag"); - dojo.require("dojox.dtl.tests.html.tag"); - dojo.require("dojox.dtl.tests.html.buffer"); - dojo.require("dojox.dtl.tests.context"); -}catch(e){ - doh.debug(e); -} - -} diff --git a/includes/js/dojox/dtl/tests/runTests.html b/includes/js/dojox/dtl/tests/runTests.html deleted file mode 100644 index 32338f6..0000000 --- a/includes/js/dojox/dtl/tests/runTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - Dojox Djanto Template Language D.O.H. Unit Test Runner - - - Redirecting to D.O.H runner. - - \ No newline at end of file diff --git a/includes/js/dojox/dtl/tests/templates/hello.html b/includes/js/dojox/dtl/tests/templates/hello.html deleted file mode 100644 index 18e4c1a..0000000 --- a/includes/js/dojox/dtl/tests/templates/hello.html +++ /dev/null @@ -1 +0,0 @@ -Hello, {{ person }} \ No newline at end of file diff --git a/includes/js/dojox/dtl/tests/templates/pocket.html b/includes/js/dojox/dtl/tests/templates/pocket.html deleted file mode 100644 index f78c520..0000000 --- a/includes/js/dojox/dtl/tests/templates/pocket.html +++ /dev/null @@ -1 +0,0 @@ -{% block pocket %}Hot{% endblock %} Pocket \ No newline at end of file diff --git a/includes/js/dojox/dtl/tests/templates/pocket2.html b/includes/js/dojox/dtl/tests/templates/pocket2.html deleted file mode 100644 index 547f9a2..0000000 --- a/includes/js/dojox/dtl/tests/templates/pocket2.html +++ /dev/null @@ -1 +0,0 @@ -{% for item in items %}({% block pocket %}Hot{% endblock %}) {% endfor %}Pocket \ No newline at end of file diff --git a/includes/js/dojox/dtl/tests/text/filter.js b/includes/js/dojox/dtl/tests/text/filter.js deleted file mode 100644 index d96f931..0000000 --- a/includes/js/dojox/dtl/tests/text/filter.js +++ /dev/null @@ -1,740 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tests.text.filter"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tests.text.filter"] = true; -dojo.provide("dojox.dtl.tests.text.filter"); - -dojo.require("dojox.dtl"); -dojo.require("dojox.dtl.Context"); -dojo.require("dojox.dtl.utils.date"); -dojo.require("dojox.date.php"); -dojo.require("dojox.string.sprintf"); - -// If you update something here, update it in the HTML tests -doh.register("dojox.dtl.text.filter", - [ - function test_filter_add(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ four: 4 }); - tpl = new dd.Template('{{ four|add:"6" }}'); - t.is("10", tpl.render(context)); - context.four = "4"; - t.is("10", tpl.render(context)); - tpl = new dd.Template('{{ four|add:"six" }}'); - t.is("4", tpl.render(context)); - tpl = new dd.Template('{{ four|add:"6.6" }}'); - t.is("10", tpl.render(context)); - }, - function test_filter_addslashes(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ unslashed: "Test back slashes \\, double quotes \" and single quotes '" }) - var tpl = new dd.Template('{{ unslashed|addslashes }}'); - t.is("Test back slashes \\\\, double quotes \\\" and single quotes \\'", tpl.render(context)); - }, - function test_filter_capfirst(t){ - var dd = dojox.dtl; - - var tpl = new dd.Template('{{ uncapped|capfirst }}'); - t.is("Cap", tpl.render(new dd.Context({ uncapped: "cap" }))); - }, - function test_filter_center(t){ - var dd = dojox.dtl; - - var context = new dd.Context(); - var tpl = new dd.Template('{{ narrow|center }}'); - context.narrow = "even"; - t.is("even", tpl.render(context)); - context.narrow = "odd"; - t.is("odd", tpl.render(context)); - tpl = new dd.Template('{{ narrow|center:"5" }}'); - context.narrow = "even"; - t.is("even ", tpl.render(context)); - context.narrow = "odd"; - t.is(" odd ", tpl.render(context)); - tpl = new dd.Template('{{ narrow|center:"6" }}'); - context.narrow = "even"; - t.is(" even ", tpl.render(context)); - context.narrow = "odd"; - t.is(" odd ", tpl.render(context)); - tpl = new dd.Template('{{ narrow|center:"12" }}'); - context.narrow = "even"; - t.is(" even ", tpl.render(context)); - context.narrow = "odd"; - t.is(" odd ", tpl.render(context)); - }, - function test_filter_cut(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ uncut: "Apples and oranges" }); - var tpl = new dd.Template('{{ uncut|cut }}'); - t.is("Apples and oranges", tpl.render(context)); - tpl = new dd.Template('{{ uncut|cut:"A" }}'); - t.is("pples and oranges", tpl.render(context)); - tpl = new dd.Template('{{ uncut|cut:" " }}'); - t.is("Applesandoranges", tpl.render(context)); - tpl = new dd.Template('{{ uncut|cut:"e" }}'); - t.is("Appls and orangs", tpl.render(context)); - }, - function test_filter_date(t){ - var dd = dojox.dtl; - var context = new dd.Context({ now: new Date(2007, 0, 1), then: new Date(2007, 1, 1) }); - - var tpl = new dd.Template('{{ now|date }}'); - t.is(dojox.dtl.utils.date.format(context.now, "N j, Y"), tpl.render(context)); - - context.then = new Date(2007, 0, 1); - tpl = new dd.Template('{{ now|date:"d" }}'); - t.is("01", tpl.render(context)); - - tpl = new dd.Template('{{ now|date:"D" }}'); - t.is("Mon", tpl.render(context)); - - tpl = new dd.Template('{{ now|date:"j" }}'); - t.is("1", tpl.render(context)); - - tpl = new dd.Template('{{ now|date:"l" }}'); - t.is("Monday", tpl.render(context)); - - tpl = new dd.Template('{{ now|date:"N" }}'); - t.is("Jan.", tpl.render(context)); - - tpl = new dd.Template('{{ now|date:"S" }}'); - t.is("st", tpl.render(context)); - context.now.setDate(2); - t.is("nd", tpl.render(context)); - context.now.setDate(3); - t.is("rd", tpl.render(context)); - context.now.setDate(4); - t.is("th", tpl.render(context)); - context.now.setDate(5); - t.is("th", tpl.render(context)); - context.now.setDate(6); - t.is("th", tpl.render(context)); - context.now.setDate(7); - t.is("th", tpl.render(context)); - context.now.setDate(8); - t.is("th", tpl.render(context)); - context.now.setDate(9); - t.is("th", tpl.render(context)); - context.now.setDate(10); - t.is("th", tpl.render(context)); - context.now.setDate(11); - t.is("th", tpl.render(context)); - context.now.setDate(12); - t.is("th", tpl.render(context)); - context.now.setDate(13); - t.is("th", tpl.render(context)); - context.now.setDate(14); - t.is("th", tpl.render(context)); - context.now.setDate(15); - t.is("th", tpl.render(context)); - context.now.setDate(16); - t.is("th", tpl.render(context)); - context.now.setDate(17); - t.is("th", tpl.render(context)); - context.now.setDate(18); - t.is("th", tpl.render(context)); - context.now.setDate(19); - t.is("th", tpl.render(context)); - context.now.setDate(20); - t.is("th", tpl.render(context)); - context.now.setDate(21); - t.is("st", tpl.render(context)); - context.now.setDate(22); - t.is("nd", tpl.render(context)); - context.now.setDate(23); - t.is("rd", tpl.render(context)); - context.now.setDate(24); - t.is("th", tpl.render(context)); - context.now.setDate(25); - t.is("th", tpl.render(context)); - context.now.setDate(26); - t.is("th", tpl.render(context)); - context.now.setDate(27); - t.is("th", tpl.render(context)); - context.now.setDate(28); - t.is("th", tpl.render(context)); - context.now.setDate(29); - t.is("th", tpl.render(context)); - context.now.setDate(30); - t.is("th", tpl.render(context)); - context.now.setDate(31); - t.is("st", tpl.render(context)); - context.now.setDate(1); - - tpl = new dd.Template('{{ now|date:"w" }}'); - t.is("1", tpl.render(context)); - - tpl = new dd.Template('{{ now|date:"z" }}'); - t.is("0", tpl.render(context)); - - tpl = new dd.Template('{{ now|date:"W" }}'); - t.is("1", tpl.render(context)); - }, - function test_filter_default(t){ - var dd = dojox.dtl; - - var context = new dd.Context(); - tpl = new dd.Template('{{ empty|default }}'); - t.is("", tpl.render(context)); - tpl = new dd.Template('{{ empty|default:"full" }}'); - t.is("full", tpl.render(context)); - context.empty = "not empty"; - t.is("not empty", tpl.render(context)); - }, - function test_filter_default_if_none(t){ - var dd = dojox.dtl; - - var context = new dd.Context(); - tpl = new dd.Template('{{ empty|default_if_none }}'); - t.is("", tpl.render(context)); - tpl = new dd.Template('{{ empty|default_if_none:"full" }}'); - t.is("", tpl.render(context)); - context.empty = null; - t.is("full", tpl.render(context)); - context.empty = "not empty"; - t.is("not empty", tpl.render(context)); - }, - function test_filter_dictsort(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - fruit: [ - { name: "lemons", toString: function(){ return this.name; } }, - { name: "apples", toString: function(){ return this.name; } }, - { name: "grapes", toString: function(){ return this.name; } } - ] - }); - tpl = new dd.Template('{{ fruit|dictsort|join:"|" }}'); - t.is("lemons|apples|grapes", tpl.render(context)); - tpl = new dd.Template('{{ fruit|dictsort:"name"|join:"|" }}'); - t.is("apples|grapes|lemons", tpl.render(context)); - }, - function test_filter_dictsort_reversed(t){ - var dd = dojox.dtl; - - context = new dd.Context({ - fruit: [ - { name: "lemons", toString: function(){ return this.name; } }, - { name: "apples", toString: function(){ return this.name; } }, - { name: "grapes", toString: function(){ return this.name; } } - ] - }); - tpl = new dd.Template('{{ fruit|dictsortreversed:"name"|join:"|" }}'); - t.is("lemons|grapes|apples", tpl.render(context)); - }, - function test_filter_divisibleby(t){ - var dd = dojox.dtl; - - context = new dd.Context(); - tpl = new dd.Template('{{ 4|divisibleby:"2" }}'); - t.is("true", tpl.render(context)); - context = new dd.Context({ number: 4 }); - tpl = new dd.Template('{{ number|divisibleby:3 }}'); - t.is("false", tpl.render(context)); - }, - function test_filter_escape(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ unescaped: "Try & cover the \"major\" 'situations' at once" }); - tpl = new dd.Template('{{ unescaped|escape }}'); - t.is("Try & cover <all> the "major" 'situations' at once", tpl.render(context)); - }, - function test_filter_filesizeformat(t){ - var dd = dojox.dtl; - - var tpl = new dd.Template('{{ 1|filesizeformat }}'); - t.is("1 byte", tpl.render()); - tpl = new dd.Template('{{ 512|filesizeformat }}'); - t.is("512 bytes", tpl.render()); - tpl = new dd.Template('{{ 1024|filesizeformat }}'); - t.is("1.0 KB", tpl.render()); - tpl = new dd.Template('{{ 2048|filesizeformat }}'); - t.is("2.0 KB", tpl.render()); - tpl = new dd.Template('{{ 1048576|filesizeformat }}'); - t.is("1.0 MB", tpl.render()); - tpl = new dd.Template('{{ 1073741824|filesizeformat }}'); - t.is("1.0 GB", tpl.render()); - }, - function test_filter_first(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - fruit: [ - { name: "lemons", toString: function(){ return this.name; } }, - { name: "apples", toString: function(){ return this.name; } }, - { name: "grapes", toString: function(){ return this.name; } } - ] - }); - tpl = new dd.Template('{{ fruit|first }}'); - t.is("lemons", tpl.render(context)); - }, - function test_filter_fix_ampersands(t){ - var dd = dojox.dtl; - - var tpl = new dd.Template('{{ "One & Two"|fix_ampersands }}'); - t.is("One & Two", tpl.render()); - }, - function test_filter_floatformat(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ num1: 34.23234, num2: 34.00000 }); - var tpl = new dd.Template('{{ num1|floatformat }}'); - t.is("34.2", tpl.render(context)); - tpl = new dd.Template('{{ num2|floatformat }}'); - t.is("34", tpl.render(context)); - tpl = new dd.Template('{{ num1|floatformat:3 }}'); - t.is("34.232", tpl.render(context)); - tpl = new dd.Template('{{ num2|floatformat:3 }}'); - t.is("34.000", tpl.render(context)); - tpl = new dd.Template('{{ num1|floatformat:-3 }}'); - t.is("34.2", tpl.render(context)); - tpl = new dd.Template('{{ num2|floatformat:-3 }}'); - t.is("34", tpl.render(context)); - }, - function test_filter_get_digit(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ pi: 314159265 }); - var tpl = new dd.Template('{{ pi|get_digit:1 }}'); - t.is("3", tpl.render(context)); - tpl = new dd.Template('{{ pi|get_digit:"2" }}'); - t.is("1", tpl.render(context)); - tpl = new dd.Template('{{ pi|get_digit:0 }}'); - t.is("314159265", tpl.render(context)); - tpl = new dd.Template('{{ "nada"|get_digit:1 }}'); - t.is("0", tpl.render(context)); - }, - function test_filter_iriencode(t){ - var dd = dojox.dtl; - - var tpl = new dd.Template('{{ "http://homepage.com/~user"|urlencode|iriencode }}'); - t.is("http%3A//homepage.com/%7Euser", tpl.render()); - tpl = new dd.Template('{{ "pottedmeat@dojotoolkit.org"|iriencode }}'); - t.is("pottedmeat%40dojotoolkit.org", tpl.render()); - }, - function test_filter_join(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ items: ["foo", "bar", "baz" ]}); - var tpl = new dd.Template("{{ items|join }}"); - t.is("foo,bar,baz", tpl.render(context)); - - tpl = new dd.Template('{{ items|join:"mustard" }}'); - t.is("foomustardbarmustardbaz", tpl.render(context)); - }, - function test_filter_length(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - fruit: [ - { name: "lemons", toString: function(){ return this.name; } }, - { name: "apples", toString: function(){ return this.name; } }, - { name: "grapes", toString: function(){ return this.name; } } - ] - }); - tpl = new dd.Template('{{ fruit|length }}'); - t.is("3", tpl.render(context)); - tpl = new dd.Template('{{ fruit|first|length }}'); - t.is("6", tpl.render(context)); - }, - function test_filter_length_is(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - fruit: [ - { name: "lemons", toString: function(){ return this.name; } }, - { name: "apples", toString: function(){ return this.name; } }, - { name: "grapes", toString: function(){ return this.name; } } - ] - }); - tpl = new dd.Template('{{ fruit|length_is:"3" }}'); - t.is("true", tpl.render(context)); - tpl = new dd.Template('{{ fruit|length_is:"4" }}'); - t.is("false", tpl.render(context)); - }, - function test_filter_linebreaks(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ unbroken: "This is just\r\n\n\ra bunch\nof text\n\n\nand such" }); - tpl = new dd.Template('{{ unbroken|linebreaks }}'); - t.is("

            This is just

            \n\n

            a bunch
            of text

            \n\n

            and such

            ", tpl.render(context)); - }, - function test_filter_linebreaksbr(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ unbroken: "This is just\r\n\n\ra bunch\nof text\n\n\nand such" }); - tpl = new dd.Template('{{ unbroken|linebreaksbr }}'); - t.is("This is just

            a bunch
            of text


            and such", tpl.render(context)); - }, - function test_filter_linenumbers(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ lines: "One\nTwo\nThree\nFour\n" }); - var tpl = new dd.Template('{{ lines|linenumbers }}'); - t.is("1. One\n2. Two\n3. Three\n4. Four\n5. ", tpl.render(context)); - }, - function test_filter_ljust(t){ - var dd = dojox.dtl; - - var context = new dd.Context(); - var tpl = new dd.Template('{{ narrow|ljust }}'); - context.narrow = "even"; - t.is("even", tpl.render(context)); - context.narrow = "odd"; - t.is("odd", tpl.render(context)); - tpl = new dd.Template('{{ narrow|ljust:"5" }}'); - context.narrow = "even"; - t.is("even ", tpl.render(context)); - context.narrow = "odd"; - t.is("odd ", tpl.render(context)); - tpl = new dd.Template('{{ narrow|ljust:"6" }}'); - context.narrow = "even"; - t.is("even ", tpl.render(context)); - context.narrow = "odd"; - t.is("odd ", tpl.render(context)); - tpl = new dd.Template('{{ narrow|ljust:"12" }}'); - context.narrow = "even"; - t.is("even ", tpl.render(context)); - context.narrow = "odd"; - t.is("odd ", tpl.render(context)); - }, - function test_filter_lower(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ mixed: "MiXeD" }); - var tpl = new dd.Template('{{ mixed|lower }}'); - t.is("mixed", tpl.render(context)); - }, - function test_filter_make_list(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ word: "foo", number: 314159265, arr: ["first", "second"], obj: {first: "first", second: "second"} }); - var tpl = new dd.Template('{{ word|make_list|join:"|" }} {{ number|make_list|join:"|" }} {{ arr|make_list|join:"|" }} {{ obj|make_list|join:"|" }}'); - t.is("f|o|o 3|1|4|1|5|9|2|6|5 first|second first|second", tpl.render(context)); - }, - function test_filter_phone2numeric(t){ - var dd = dojox.dtl; - - tpl = new dd.Template('{{ "1-800-pottedmeat"|phone2numeric }}'); - t.is("1-800-7688336328", tpl.render()); - }, - function test_filter_pluralize(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ animals: ["bear", "cougar", "aardvark"] }); - var tpl = new dd.Template('{{ animals|length }} animal{{ animals|length|pluralize }}'); - t.is("3 animals", tpl.render(context)); - context.animals = ["bear"]; - t.is("1 animal", tpl.render(context)); - context = new dd.Context({ fairies: ["tinkerbell", "Andy Dick" ]}); - tpl = new dd.Template('{{ fairies|length }} fair{{ fairies|length|pluralize:"y,ies" }}'); - t.is("2 fairies", tpl.render(context)); - context.fairies.pop(); - t.is("1 fairy", tpl.render(context)); - }, - function test_filter_pprint(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ animals: ["bear", "cougar", "aardvark"] }); - tpl = new dd.Template("{{ animals|pprint }}"); - t.is('["bear","cougar","aardvark"]', tpl.render(context)); - }, - function test_filter_random(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - fruit: [ - { name: "lemons", toString: function(){ return this.name; } }, - { name: "apples", toString: function(){ return this.name; } }, - { name: "grapes", toString: function(){ return this.name; } } - ] - }); - tpl = new dd.Template('{{ fruit|random }}'); - result = tpl.render(context); - t.t(result == "lemons" || result == "apples" || result == "grapes"); - var different = false; - for(var i = 0; i < 10; i++){ - // Check to see if it changes - if(result != tpl.render(context) && result == "lemons" || result == "apples" || result == "grapes"){ - different = true; - break; - } - } - t.t(different); - }, - function test_filter_removetags(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ tagged: "I'm gonna do something with the filter" }); - tpl = new dd.Template('{{ tagged|removetags:"script " }}'); - t.is("I'm gonna do something evil with the filter", tpl.render(context)); - }, - function test_filter_rjust(t){ - var dd = dojox.dtl; - - var context = new dd.Context(); - var tpl = new dd.Template('{{ narrow|rjust }}'); - context.narrow = "even"; - t.is("even", tpl.render(context)); - context.narrow = "odd"; - t.is("odd", tpl.render(context)); - tpl = new dd.Template('{{ narrow|rjust:"5" }}'); - context.narrow = "even"; - t.is(" even", tpl.render(context)); - context.narrow = "odd"; - t.is(" odd", tpl.render(context)); - tpl = new dd.Template('{{ narrow|rjust:"6" }}'); - context.narrow = "even"; - t.is(" even", tpl.render(context)); - context.narrow = "odd"; - t.is(" odd", tpl.render(context)); - tpl = new dd.Template('{{ narrow|rjust:"12" }}'); - context.narrow = "even"; - t.is(" even", tpl.render(context)); - context.narrow = "odd"; - t.is(" odd", tpl.render(context)); - }, - function test_filter_slice(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - fruit: [ - { name: "lemons", toString: function(){ return this.name; } }, - { name: "apples", toString: function(){ return this.name; } }, - { name: "grapes", toString: function(){ return this.name; } } - ] - }); - tpl = new dd.Template('{{ fruit|slice:":1"|join:"|" }}'); - t.is("lemons", tpl.render(context)); - tpl = new dd.Template('{{ fruit|slice:"1"|join:"|" }}'); - t.is("apples|grapes", tpl.render(context)); - tpl = new dd.Template('{{ fruit|slice:"1:3"|join:"|" }}'); - t.is("apples|grapes", tpl.render(context)); - tpl = new dd.Template('{{ fruit|slice:""|join:"|" }}'); - t.is("lemons|apples|grapes", tpl.render(context)); - tpl = new dd.Template('{{ fruit|slice:"-1"|join:"|" }}'); - t.is("grapes", tpl.render(context)); - tpl = new dd.Template('{{ fruit|slice:":-1"|join:"|" }}'); - t.is("lemons|apples", tpl.render(context)); - tpl = new dd.Template('{{ fruit|slice:"-2:-1"|join:"|" }}'); - t.is("apples", tpl.render(context)); - }, - function test_filter_slugify(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ unslugged: "Apples and oranges()"}); - tpl = new dd.Template('{{ unslugged|slugify }}'); - t.is("apples-and-oranges", tpl.render(context)); - }, - function test_filter_stringformat(t){ - var dd = dojox.dtl; - - var tpl = new dd.Template('{{ 42|stringformat:"7.3f" }}'); - t.is(" 42.000", tpl.render()); - }, - function test_filter_striptags(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ tagged: "I'm gonna do something with the filter" }); - tpl = new dd.Template('{{ tagged|striptags }}'); - t.is("I'm gonna do something evil with the filter", tpl.render(context)); - }, - function test_filter_time(t){ - var dd = dojox.dtl; - var context = new dd.Context({ now: new Date(2007, 0, 1) }); - - tpl = new dd.Template('{{ now|time }}'); - t.is(dojox.dtl.utils.date.format(context.now, "P"), tpl.render(context)); - }, - function test_filter_timesince(t){ - var dd = dojox.dtl; - var context = new dd.Context({ now: new Date(2007, 0, 1), then: new Date(2007, 1, 1) }); - - tpl = new dd.Template('{{ now|timesince:then }}'); - t.is("1 month", tpl.render(context)); - context.then = new Date(2007, 0, 5); - t.is("4 days", tpl.render(context)); - context.then = new Date(2007, 0, 17); - t.is("2 weeks", tpl.render(context)); - context.then = new Date(2008, 1, 1); - t.is("1 year", tpl.render(context)); - }, - function test_filter_timeuntil(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ now: new Date(2007, 0, 1), then: new Date(2007, 1, 1) }); - var tpl = new dd.Template('{{ now|timeuntil:then }}'); - t.is("1 month", tpl.render(context)); - context.then = new Date(2007, 0, 5); - t.is("4 days", tpl.render(context)); - context.then = new Date(2007, 0, 17); - t.is("2 weeks", tpl.render(context)); - context.then = new Date(2008, 1, 1); - t.is("1 year", tpl.render(context)); - }, - function test_filter_title(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ name: "potted meat" }); - var tpl = new dd.Template("{{ name|title }}"); - t.is("Potted Meat", tpl.render(context)); - - context.name = "What's going on?"; - t.is("What's Going On?", tpl.render(context)); - - context.name = "use\nline\nbREAKs\tand tabs"; - t.is("Use\nLine\nBreaks\tAnd Tabs", tpl.render(context)); - }, - function test_filter_truncatewords(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ word: "potted meat writes a lot of tests" }); - var tpl = new dd.Template("{{ word|truncatewords }}"); - t.is(context.word, tpl.render(context)); - - tpl = new dd.Template('{{ word|truncatewords:"1" }}'); - t.is("potted", tpl.render(context)); - - tpl = new dd.Template('{{ word|truncatewords:"2" }}'); - t.is("potted meat", tpl.render(context)); - - tpl = new dd.Template('{{ word|truncatewords:20" }}'); - t.is(context.word, tpl.render(context)); - - context.word = "potted \nmeat \nwrites a lot of tests"; - tpl = new dd.Template('{{ word|truncatewords:"3" }}'); - t.is("potted \nmeat \nwrites", tpl.render(context)); - }, - function test_filter_truncatewords_html(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - body: "Test a string that ends inside a tag with different args", - size: 2 - }) - var tpl = new dd.Template('{{ body|truncatewords_html:size }}'); - t.is("Test a ...", tpl.render(context)); - context.size = 4; - t.is("Test a string that ...", tpl.render(context)); - context.size = 6; - t.is("Test a string that ends inside ...", tpl.render(context)); - }, - function test_filter_unordered_list(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ states: ["States", [["Kansas", [["Lawrence", []], ["Topeka", []]]], ["Illinois", []]]] }); - tpl = new dd.Template('{{ states|unordered_list }}'); - t.is("\t
          • States\n\t
              \n\t\t
            • Kansas\n\t\t
                \n\t\t\t
              • Lawrence
              • \n\t\t\t
              • Topeka
              • \n\t\t
              \n\t\t
            • \n\t\t
            • Illinois
            • \n\t
            \n\t
          • ", tpl.render(context)); - }, - function test_filter_upper(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ mixed: "MiXeD" }); - var tpl = new dd.Template('{{ mixed|upper }}'); - t.is("MIXED", tpl.render(context)); - }, - function test_filter_urlencode(t){ - var dd = dojox.dtl; - - var tpl = new dd.Template('{{ "http://homepage.com/~user"|urlencode }}'); - t.is("http%3A//homepage.com/%7Euser", tpl.render()); - }, - function test_filter_urlize(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - body: "My favorite websites are www.televisionwithoutpity.com, http://daringfireball.net and you can email me at pottedmeat@sitepen.com" - }); - var tpl = new dd.Template("{{ body|urlize }}"); - t.is('My favorite websites are www.televisionwithoutpity.com http://daringfireball.net and you can email me at pottedmeat@sitepen.com', tpl.render(context)); - }, - function test_filter_urlizetrunc(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - body: "My favorite websites are www.televisionwithoutpity.com, http://daringfireball.net and you can email me at pottedmeat@sitepen.com" - }); - var tpl = new dd.Template("{{ body|urlizetrunc }}"); - t.is('My favorite websites are www.televisionwithoutpity.com http://daringfireball.net and you can email me at pottedmeat@sitepen.com', tpl.render(context)); - tpl = new dd.Template('{{ body|urlizetrunc:"2" }}'); - t.is('My favorite websites are www.televisionwithoutpity.com http://daringfireball.net and you can email me at pottedmeat@sitepen.com', tpl.render(context)); - tpl = new dd.Template('{{ body|urlizetrunc:"10" }}'); - t.is('My favorite websites are www.tel... http://... and you can email me at pottedmeat@sitepen.com', tpl.render(context)); - }, - function test_filter_wordcount(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - food: "Hot Pocket" - }); - var tpl = new dd.Template("{{ food|wordcount }}"); - t.is("2", tpl.render(context)); - context.food = ""; - t.is("0", tpl.render(context)); - context.food = "A nice barbecue, maybe a little grilled veggies, some cole slaw."; - t.is("11", tpl.render(context)); - }, - function test_filter_wordwrap(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - body: "shrimp gumbo, shrimp pie, shrimp scampi, shrimp stew, fried shrimp, baked shrimp, shrimp o grotten, grilled shrimp, shrimp on a stick, shrimp salad, shrimp pop overs, shrimp cake, shrimp legs, shrimp stuffed eggs, shrimp cre oll, shrimp soup, creamed shrimp on toast, shrimp crapes, shrimply good crescent rolls, shrimp pizza, scalloped shrimp, boiled shrimp, shrimp cocktail" - }); - var tpl = new dd.Template("{{ body|wordwrap }}"); - t.is(context.body, tpl.render(context)); - tpl = new dd.Template("{{ body|wordwrap:width }}"); - context.width = 10; - t.is("shrimp\ngumbo,\nshrimp\npie,\nshrimp\nscampi,\nshrimp\nstew,\nfried\nshrimp,\nbaked\nshrimp,\nshrimp o\ngrotten,\ngrilled\nshrimp,\nshrimp on\na stick,\nshrimp\nsalad,\nshrimp pop\novers,\nshrimp\ncake,\nshrimp\nlegs,\nshrimp\nstuffed\neggs,\nshrimp cre\noll,\nshrimp\nsoup,\ncreamed\nshrimp on\ntoast,\nshrimp\ncrapes,\nshrimply\ngood\ncrescent\nrolls,\nshrimp\npizza,\nscalloped\nshrimp,\nboiled\nshrimp,\nshrimp\ncocktail", tpl.render(context)); - tpl = new dd.Template('{{ body|wordwrap:"80" }}'); - t.is("shrimp gumbo, shrimp pie, shrimp scampi, shrimp stew, fried shrimp, baked\nshrimp, shrimp o grotten, grilled shrimp, shrimp on a stick, shrimp salad,\nshrimp pop overs, shrimp cake, shrimp legs, shrimp stuffed eggs, shrimp cre oll,\nshrimp soup, creamed shrimp on toast, shrimp crapes, shrimply good crescent\nrolls, shrimp pizza, scalloped shrimp, boiled shrimp, shrimp cocktail", tpl.render(context)); - }, - function test_filter_yesno(t){ - var dd = dojox.dtl; - - var context = new dd.Context(); - tpl = new dd.Template('{{ true|yesno }}'); - t.is("yes", tpl.render(context)); - context = new dd.Context({ test: "value" }); - tpl = new dd.Template('{{ test|yesno }}'); - t.is("yes", tpl.render(context)); - tpl = new dd.Template('{{ false|yesno }}'); - t.is("no", tpl.render(context)); - tpl = new dd.Template('{{ null|yesno }}'); - t.is("maybe", tpl.render(context)); - tpl = new dd.Template('{{ true|yesno:"bling,whack,soso" }}'); - t.is("bling", tpl.render(context)); - context = new dd.Context({ test: "value" }); - tpl = new dd.Template('{{ test|yesno:"bling,whack,soso" }}'); - t.is("bling", tpl.render(context)); - tpl = new dd.Template('{{ false|yesno:"bling,whack,soso" }}'); - t.is("whack", tpl.render(context)); - tpl = new dd.Template('{{ null|yesno:"bling,whack,soso" }}'); - t.is("soso", tpl.render(context)); - tpl = new dd.Template('{{ null|yesno:"bling,whack" }}'); - t.is("whack", tpl.render(context)); - }, - function test_filter_contrib_key(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - headers: ["action", "type"], - items: [ - { - action: "eat", - type: "apple", - }, - { - action: "mash", - type: "banana" - } - ] - }); - - var tpl = new dd.Template("{% load dojox.dtl.contrib.objects %}
              {% for item in items %}
              • {% for header in headers %}
              • {{ header }}: {{ item|key:header }}
              • {% endfor %}
            • {% endfor %}
            "); - t.is('
              • action: eat
              • type: apple
              • action: mash
              • type: banana
            ', tpl.render(context)); - } - ] -); - -} diff --git a/includes/js/dojox/dtl/tests/text/load.js b/includes/js/dojox/dtl/tests/text/load.js deleted file mode 100644 index b4c7472..0000000 --- a/includes/js/dojox/dtl/tests/text/load.js +++ /dev/null @@ -1,6 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tests.text.load"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tests.text.load"] = true; -dojo.provide("dojox.dtl.tests.text.load"); -// Test for the {% load %} tag - -} diff --git a/includes/js/dojox/dtl/tests/text/tag.js b/includes/js/dojox/dtl/tests/text/tag.js deleted file mode 100644 index 7abbc43..0000000 --- a/includes/js/dojox/dtl/tests/text/tag.js +++ /dev/null @@ -1,480 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.tests.text.tag"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.tests.text.tag"] = true; -dojo.provide("dojox.dtl.tests.text.tag"); - -dojo.require("dojox.dtl"); -dojo.require("dojox.dtl.Context"); - -doh.register("dojox.dtl.text.tag", - [ - function test_tag_block_and_extends(t){ - var dd = dojox.dtl; - - // Simple (messy) string-based extension - var template = new dd.Template('{% extends "../../dojox/dtl/tests/templates/pocket.html" %}{% block pocket %}Simple{% endblock %}'); - t.is("Simple Pocket", template.render()); - - // Variable replacement - var context = new dd.Context({ - parent: "../../dojox/dtl/tests/templates/pocket.html" - }) - template = new dd.Template('{% extends parent %}{% block pocket %}Variabled{% endblock %}'); - t.is("Variabled Pocket", template.render(context)); - - // Nicer dojo.moduleUrl and variable based extension - context.parent = dojo.moduleUrl("dojox.dtl.tests.templates", "pocket.html"); - template = new dd.Template('{% extends parent %}{% block pocket %}Slightly More Advanced{% endblock %}'); - t.is("Slightly More Advanced Pocket", template.render(context)); - - // dojo.moduleUrl with support for more variables. - // This is important for HTML templates where the "shared" flag will be important. - context.parent = { - url: dojo.moduleUrl("dojox.dtl.tests.templates", "pocket.html") - } - template = new dd.Template('{% extends parent %}{% block pocket %}Super{% endblock %}'); - t.is("Super Pocket", template.render(context)); - }, - function test_tag_block(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - parent: dojo.moduleUrl("dojox.dtl.tests.templates", "pocket2.html"), - items: ["apple", "banana", "lemon" ] - }); - - var template = new dd.Template("{% extends parent %}{% block pocket %}My {{ item }}{% endblock %}"); - t.is("(My apple) (My banana) (My lemon) Pocket", template.render(context)); - }, - function test_tag_comment(t){ - var dd = dojox.dtl; - - var template = new dd.Template('Hot{% comment %}Make me disappear{% endcomment %} Pocket'); - t.is("Hot Pocket", template.render()); - - var found = false; - try{ - template = new dd.Template('Hot{% comment %}Make me disappear Pocket'); - }catch(e){ - t.is("Unclosed tag found when looking for endcomment", e.message); - found = true; - } - t.t(found); - }, - function test_tag_cycle(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - items: ["apple", "banana", "lemon"], - unplugged: "Torrey" - }); - var template = new dd.Template("{% for item in items %}{% cycle 'Hot' 'Diarrhea' unplugged 'Extra' %} Pocket. {% endfor %}"); - t.is("Hot Pocket. Diarrhea Pocket. Torrey Pocket. ", template.render(context)); - // Make sure that it doesn't break on re-render - t.is("Hot Pocket. Diarrhea Pocket. Torrey Pocket. ", template.render(context)); - - // Test repeating the loop - context.items.push("guava", "mango", "pineapple"); - t.is("Hot Pocket. Diarrhea Pocket. Torrey Pocket. Extra Pocket. Hot Pocket. Diarrhea Pocket. ", template.render(context)); - - // Repeat the above tests for the old style - // ======================================== - context.items = context.items.slice(0, 3); - template = new dd.Template("{% for item in items %}{% cycle Hot,Diarrhea,Torrey,Extra %} Pocket. {% endfor %}"); - t.is("Hot Pocket. Diarrhea Pocket. Torrey Pocket. ", template.render(context)); - // Make sure that it doesn't break on re-render - t.is("Hot Pocket. Diarrhea Pocket. Torrey Pocket. ", template.render(context)); - - // Test repeating the loop - context.items.push("guava", "mango", "pineapple"); - t.is("Hot Pocket. Diarrhea Pocket. Torrey Pocket. Extra Pocket. Hot Pocket. Diarrhea Pocket. ", template.render(context)); - - // Now test outside of the for loop - // ================================ - context = new dojox.dtl.Context({ unplugged: "Torrey" }); - template = new dd.Template("{% cycle 'Hot' 'Diarrhea' unplugged 'Extra' as steakum %} Pocket. {% cycle steakum %} Pocket. {% cycle steakum %} Pocket."); - t.is("Hot Pocket. Diarrhea Pocket. Torrey Pocket.", template.render(context)); - - template = new dd.Template("{% cycle 'Hot' 'Diarrhea' unplugged 'Extra' as steakum %} Pocket. {% cycle steakum %} Pocket. {% cycle steakum %} Pocket. {% cycle steakum %} Pocket. {% cycle steakum %} Pocket. {% cycle steakum %} Pocket."); - t.is("Hot Pocket. Diarrhea Pocket. Torrey Pocket. Extra Pocket. Hot Pocket. Diarrhea Pocket.", template.render(context)); -//t.t(false) - // Test for nested objects - context.items = { - list: ["apple", "banana", "lemon"] - }; - template = new dd.Template("{% for item in items.list %}{% cycle 'Hot' 'Diarrhea' unplugged 'Extra' %} Pocket. {% endfor %}"); - t.is("Hot Pocket. Diarrhea Pocket. Torrey Pocket. ", template.render(context)); - // Make sure that it doesn't break on re-render - t.is("Hot Pocket. Diarrhea Pocket. Torrey Pocket. ", template.render(context)); - }, - function test_tag_debug(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - items: ["apple", "banana", "lemon"], - unplugged: "Torrey" - }); - var template = new dd.Template("{% debug %}"); - t.is('items: ["apple","banana","lemon"]\n\nunplugged: "Torrey"\n\n', template.render(context)); - }, - function test_tag_filter(t){ - var dd = dojox.dtl; - - var template = new dd.Template('{% filter lower|center:"15" %}Hot Pocket{% endfilter %}'); - t.is(" hot pocket ", template.render()); - }, - function test_tag_firstof(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - found: "unicorn" - }); - - var template = new dd.Template("{% firstof one two three four found %}"); - t.is("unicorn", template.render(context)); - - context.four = null; - t.is("null", template.render(context)); - - context.three = false; - t.is("false", template.render(context)); - }, - function test_tag_for(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - items: ["apple", "banana", "lemon"] - }); - var template = new dd.Template("{% for item in items %}
          • {{ item }}
          • {% endfor %}"); - t.is("
          • apple
          • banana
          • lemon
          • ", template.render(context)); - - template = new dd.Template("{% for item in items reversed %}
          • {{ item }}
          • {% endfor %}"); - t.is("
          • lemon
          • banana
          • apple
          • ", template.render(context)); - - context.items = { - apple: "Red Delicious", - banana: "Cavendish", - lemon: "Citrus" - }; - template = new dd.Template("{% for key, value in items.items %}
          • {{ value }} {{ key|title }}
          • {% endfor %}"); - t.is("
          • Red Delicious Apple
          • Cavendish Banana
          • Citrus Lemon
          • ", template.render(context)); - - // The same thing above, but using "zipped" sets - context.items = [ - ["apple", "Red Delicious", 1.99], - ["banana", "Cavendish", 0.49], - ["lemon", "Citrus", 0.29] - ]; - template = new dd.Template("{% for fruit, type, price in items %}
          • {{ type }} {{ fruit|title }} costs ${{ price}}
          • {% endfor %}"); - t.is("
          • Red Delicious Apple costs $1.99
          • Cavendish Banana costs $0.49
          • Citrus Lemon costs $0.29
          • ", template.render(context)); - - template = new dd.Template("{% for fruit, type, price in items reversed %}
          • {{ type }} {{ fruit|title }} costs ${{ price}}
          • {% endfor %}"); - t.is("
          • Citrus Lemon costs $0.29
          • Cavendish Banana costs $0.49
          • Red Delicious Apple costs $1.99
          • ", template.render(context)); - - // Now to create some errors - var found = false; - try { - template = new dd.Template("{% for item initems %}
          • {{ item }}
          • {% endfor %}"); - }catch(e){ - found = true; - t.is("'for' statements should have at least four words: for item initems", e.message); - } - t.t(found); - - found = false; - try { - template = new dd.Template("{% for item ni items %}
          • {{ item }}
          • {% endfor %}"); - }catch(e){ - found = true; - t.is("'for' tag received an invalid argument: for item ni items", e.message); - } - t.t(found); - - found = false; - try { - template = new dd.Template("{% for my item in items %}
          • {{ item }}
          • {% endfor %}"); - }catch(e){ - found = true; - t.is("'for' tag received an invalid argument: for my item in items", e.message); - } - t.t(found); - }, - function test_tag_if(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - jokes: { - hot_pockets: true, - unicycles: true, - bacon: true - } - }); - var template = new dd.Template("Comedian is {% if jokes.hot_pockets and jokes.unicycles and jokes.bacon %}funny{% else %}not funny{% endif %}"); - t.is("Comedian is funny", template.render(context)); - - context.jokes.unicycles = false; - t.is("Comedian is not funny", template.render(context)); - - context.comedians = { - hedberg: true, - gaffigan: true, - cook: true - }; - template = new dd.Template("Show will be {% if comedians.hedberg or comedians.gaffigan %}worth seeing{% else %}not worth seeing{% endif %}"); - t.is("Show will be worth seeing", template.render(context)); - - // NOTE: "and" is implied by nesting. eg {% if sunny %}{% if windy %}It's Sunny and Windy{% endif %}{% endif %} - // Not mixing ands and ors allows for MUCH faster rendering - template = new dd.Template("Show will {% if comedians.hedberg or comedians.gaffigan %}{% if comedians.cook %}not {% endif %}be worth seeing{% else %}not be worth seeing{% endif %}"); - t.is("Show will not be worth seeing", template.render(context)); - - context.comedians.cook = false; - t.is("Show will be worth seeing", template.render(context)); - - template = new dd.Template("Show will be {% if comedians.hedberg and comedians.gaffigan and not comedians.cook %}AWESOME{% else %}almost awesome{% endif %}"); - t.is("Show will be AWESOME", template.render(context)); - - context.comedians.cook = true; - t.is("Show will be almost awesome", template.render(context)); - - // Now we test for errors. - var found = false; - try { - template = new dd.Template("Show will be {% if comedians.hedberg or comedians.gaffigan and not comedians.cook %}worth seeing{% else %}not worth seeing{% endif %}"); - }catch(e){ - found = true; - t.is("'if' tags can't mix 'and' and 'or'", e.message); - } - t.t(found); - }, - function test_tag_ifchanged(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - year: 2008, - days: [ - new Date(2008, 0, 12), - new Date(2008, 0, 28), - new Date(2008, 1, 1), - new Date(2008, 1, 1), - new Date(2008, 1, 1) - ] - }); - - var template = new dd.Template("

            Archive for {{ year }}

            "+ -"{% for date in days %}"+ -'{% ifchanged %}

            {{ date|date:"F" }}

            {% endifchanged %}'+ -'{{ date|date:\'j\' }}'+ -"{% endfor %}"); - t.is('

            Archive for 2008

            '+ -'

            January

            '+ -'12'+ -'28'+ -'

            February

            '+ -'1'+ -'1'+ -'1', template.render(context)); - - template = new dd.Template('{% for date in days %}'+ -'{% ifchanged date.date %} {{ date.date }} {% endifchanged %}'+ -'{% ifchanged date.hour date.date %}'+ -'{{ date.hour }}'+ -'{% endifchanged %}'+ -'{% endfor %}'); - t.is(' 2008-01-12 0 2008-01-28 0 2008-02-01 0', template.render(context)); - }, - function test_tag_ifequal(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - user: { - id: 314 - }, - comment: { - user_id: 314 - } - }); - - var template = new dd.Template("{% ifequal user.id comment.user_id %}You posted this{% endifequal %}"); - t.is("You posted this", template.render(context)); - - context.user.id = 313; - t.is("", template.render(context)); - - // Errors - var found = false; - try { - template = new dd.Template("{% ifequal user.id %}You posted this{% endifequal %}"); - }catch(e){ - found = true; - t.is("ifequal takes two arguments", e.message); - } - t.t(found); - - found = false; - try { - template = new dd.Template("{% ifequal user.id comment.user_id %}You posted this{% endif %}"); - }catch(e){ - found = true; - t.is("No tag found for endif", e.message); - } - t.t(found); - }, - function test_tag_ifnotequal(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - favorite: "hedberg", - comedian: "cook" - }); - - var template = new dd.Template("{% ifnotequal favorite comedian %}Not your favorite{% else %}Your favorite{% endifnotequal %}"); - t.is("Not your favorite", template.render(context)); - - context.comedian = "hedberg"; - t.is("Your favorite", template.render(context)); - }, - function test_tag_include(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - hello: dojo.moduleUrl("dojox.dtl.tests.templates", "hello.html"), - person: "Bob", - people: ["Charles", "Ralph", "Julia"] - }); - - var template = new dd.Template("{% include hello %}"); - t.is("Hello, Bob", template.render(context)); - - template = new dd.Template('{% include "../../dojox/dtl/tests/templates/hello.html" %}'); - t.is("Hello, Bob", template.render(context)); - - template = new dd.Template('{% for person in people %}{% include hello %} {% endfor %}'); - t.is("Hello, Charles Hello, Ralph Hello, Julia ", template.render(context)); - }, - function test_tag_load(t){ - t.f(dojox.dtl.tests.text.load); - new dojox.dtl.Template("{% load dojox.dtl.tests.text.load %}"); - t.t(dojox.dtl.tests.text.load); - }, - function test_tag_now(t){ - var dd = dojox.dtl; - - var template = new dd.Template('It is {% now "jS F Y H:i" %}'); - t.t(template.render().match(/^It is \d{1,2}[a-z]{2} [A-Z][a-z]+ [0-9]{4,} \d{2}:\d{2}$/)); - - template = new dd.Template('It is the {% now "jS \\o\\f F" %}'); - t.t(template.render().match(/^It is the \d{1,2}[a-z]{2} of [A-Z][a-z]+$/)); - - template = new dd.Template("It is the {% now 'jS \\o\\f F' %}"); - t.t(template.render().match(/^It is the \d{1,2}[a-z]{2} of [A-Z][a-z]+$/)); - - var found = false; - try{ - template = new dd.Template("It is the {% now 'jS \\o\\f F %}"); - }catch(e){ - found = true; - t.is("'now' statement takes one argument", e.message); - } - t.t(found); - - found = false; - try{ - template = new dd.Template('It is the {% now "jS \\o\\f F %}'); - }catch(e){ - found = true; - t.is("'now' statement takes one argument", e.message); - } - t.t(found); - }, - function test_tag_regroup(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - people: [ - { firstName: "Bill", lastName: "Clinton", gender: "Male" }, - { firstName: "Margaret", lastName: "Thatcher", gender: "Female" }, - { firstName: "Path", lastName: "Smith", gender: "Unkown" }, - { firstName: "Condoleezza", lastName: "Rice", gender: "Female" }, - { firstName: "George", lastName: "Bush", gender: "Male" } - ] - }); - - var template = new dd.Template("{% regroup people|dictsort:'gender' by gender as grouped %}
              {% for group in grouped %}
            • {{ group.grouper }}
                {% for item in group.list %}
              • {{ item.firstName }} {{ item.lastName }}
              • {% endfor %}
            • {% endfor %}
            "); - t.t(template.render(context).match(new RegExp("^
            • Female
              • (Condoleezza Rice|Margaret Thatcher)
              • (Condoleezza Rice|Margaret Thatcher)
            • Male
              • (Bill Clinton|George Bush)
              • (Bill Clinton|George Bush)
            • Unkown
              • Path Smith
            $"))); - }, - function test_tag_spaceless(t){ - var dd = dojox.dtl; - - var template = new dd.Template("{% spaceless %}
              \n
            • Hot
            • \n\n
            • Pocket
            • \n
            {% endspaceless %}"); - t.is("
            • Hot
            • Pocket
            ", template.render()); - }, - function test_tag_ssi(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - hello: dojo.moduleUrl("dojox.dtl.tests.templates", "hello.html"), - person: "Bob", - people: ["Charles", "Ralph", "Julia"] - }); - - var template = new dd.Template("{% ssi hello parsed %}"); - t.is("Hello, Bob", template.render(context)); - - template = new dd.Template("{% ssi hello %}"); - t.is("Hello, {{ person }}", template.render(context)); - - template = new dd.Template('{% ssi "../../dojox/dtl/tests/templates/hello.html" parsed %}'); - t.is("Hello, Bob", template.render(context)); - - template = new dd.Template('{% for person in people %}{% ssi hello parsed %} {% endfor %}'); - t.is("Hello, Charles Hello, Ralph Hello, Julia ", template.render(context)); - }, - function test_tag_templatetag(t){ - var dd = dojox.dtl; - - var template = new dd.Template("{% templatetag openblock %}"); - t.is("{%", template.render()); - template = new dd.Template("{% templatetag closeblock %}"); - t.is("%}", template.render()); - template = new dd.Template("{% templatetag openvariable %}"); - t.is("{{", template.render()); - template = new dd.Template("{% templatetag closevariable %}"); - t.is("}}", template.render()); - template = new dd.Template("{% templatetag openbrace %}"); - t.is("{", template.render()); - template = new dd.Template("{% templatetag closebrace %}"); - t.is("}", template.render()); - template = new dd.Template("{% templatetag opencomment %}"); - t.is("{#", template.render()); - template = new dd.Template("{% templatetag closecomment %}"); - t.is("#}", template.render()); - }, - function test_tag_widthratio(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - this_value: 175, - max_value: 200 - }); - - var template = new dd.Template(''); - t.is('', template.render(context)); - }, - function test_tag_with(t){ - var dd = dojox.dtl; - - var context = new dd.Context({ - person: { - someSqlMethod: function(){ - return 4815162342; - } - } - }); - - var template = new dd.Template('{% with person.someSqlMethod as total %}{{ total }} object{{ total|pluralize }}{% endwith %}') - t.is("4815162342 objects", template.render(context)); - } - ] -); - -} diff --git a/includes/js/dojox/dtl/utils/date.js b/includes/js/dojox/dtl/utils/date.js deleted file mode 100644 index 65f8cb5..0000000 --- a/includes/js/dojox/dtl/utils/date.js +++ /dev/null @@ -1,72 +0,0 @@ -if(!dojo._hasResource["dojox.dtl.utils.date"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.dtl.utils.date"] = true; -dojo.provide("dojox.dtl.utils.date"); - -dojo.require("dojox.date.php"); - -dojox.dtl.utils.date.DateFormat = function(/*String*/ format){ - dojox.date.php.DateFormat.call(this, format); -} -dojo.extend(dojox.dtl.utils.date.DateFormat, dojox.date.php.DateFormat.prototype, { - f: function(){ - // summary: - // Time, in 12-hour hours and minutes, with minutes left off if they're zero. - // description: - // Examples: '1', '1:30', '2:05', '2' - // Proprietary extension. - return (!this.date.getMinutes()) ? this.g() : this.g() + ":" + this.i(); - }, - N: function(){ - // summary: Month abbreviation in Associated Press style. Proprietary extension. - return dojox.dtl.utils.date._months_ap[this.date.getMonth()]; - }, - P: function(){ - // summary: - // Time, in 12-hour hours, minutes and 'a.m.'/'p.m.', with minutes left off - // if they're zero and the strings 'midnight' and 'noon' if appropriate. - // description: - // Examples: '1 a.m.', '1:30 p.m.', 'midnight', 'noon', '12:30 p.m.' - // Proprietary extension. - if(!this.date.getMinutes() && !this.date.getHours()) return 'midnight'; - if(!this.date.getMinutes() && this.date.getHours() == 12) return 'noon'; - return this.f() + " " + this.a(); - } -}); - -dojo.mixin(dojox.dtl.utils.date, { - format: function(/*Date*/ date, /*String*/ format){ - var df = new dojox.dtl.utils.date.DateFormat(format); - return df.format(date); - }, - timesince: function(d, now){ - // summary: - // Takes two datetime objects and returns the time between then and now - // as a nicely formatted string, e.g "10 minutes" - // description: - // Adapted from http://blog.natbat.co.uk/archive/2003/Jun/14/time_since - if(!(d instanceof Date)){ - d = new Date(d.year, d.month, d.day); - } - if(!now){ - now = new Date(); - } - - var delta = Math.abs(now.getTime() - d.getTime()); - for(var i = 0, chunk; chunk = dojox.dtl.utils.date._chunks[i]; i++){ - var count = Math.floor(delta / chunk[0]); - if(count) break; - } - return count + " " + chunk[1](count); - }, - _chunks: [ - [60 * 60 * 24 * 365 * 1000, function(n){ return (n == 1) ? 'year' : 'years'; }], - [60 * 60 * 24 * 30 * 1000, function(n){ return (n == 1) ? 'month' : 'months'; }], - [60 * 60 * 24 * 7 * 1000, function(n){ return (n == 1) ? 'week' : 'weeks'; }], - [60 * 60 * 24 * 1000, function(n){ return (n == 1) ? 'day' : 'days'; }], - [60 * 60 * 1000, function(n){ return (n == 1) ? 'hour' : 'hours'; }], - [60 * 1000, function(n){ return (n == 1) ? 'minute' : 'minutes'; }] - ], - _months_ap: ["Jan.", "Feb.", "March", "April", "May", "June", "July", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."] -}); - -} diff --git a/includes/js/dojox/encoding/LICENSE b/includes/js/dojox/encoding/LICENSE deleted file mode 100644 index 032211b..0000000 --- a/includes/js/dojox/encoding/LICENSE +++ /dev/null @@ -1,9 +0,0 @@ -License Disclaimer: - -All contents of this directory are Copyright (c) the Dojo Foundation, with the -following exceptions: -------------------------------------------------------------------------------- - -MD5.js, SHA1.js: - * Copyright 1998-2005, Paul Johnstone - Distributed under the terms of the BSD License diff --git a/includes/js/dojox/encoding/README b/includes/js/dojox/encoding/README deleted file mode 100644 index 8826008..0000000 --- a/includes/js/dojox/encoding/README +++ /dev/null @@ -1,35 +0,0 @@ -------------------------------------------------------------------------------- -DojoX Encoding -------------------------------------------------------------------------------- -Version 0.1.0 -Release date: 7/30/2007 -------------------------------------------------------------------------------- -Project state: -experimental -------------------------------------------------------------------------------- -Credits - Eugene Lazutkin - Tom Trenka -------------------------------------------------------------------------------- -Project description - -DojoX Encoding provides a set of routines for common encoding algorithms. -------------------------------------------------------------------------------- -Dependencies: - -Encoding only depends on the Dojo Core. -------------------------------------------------------------------------------- -Documentation - -See the API documentation for details. -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/encoding/* - -Install into the following directory structure: -/dojox/encoding/ - -...which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- diff --git a/includes/js/dojox/encoding/_base.js b/includes/js/dojox/encoding/_base.js deleted file mode 100644 index 420ab91..0000000 --- a/includes/js/dojox/encoding/_base.js +++ /dev/null @@ -1,7 +0,0 @@ -if(!dojo._hasResource["dojox.encoding._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding._base"] = true; -dojo.provide("dojox.encoding._base"); - - - -} diff --git a/includes/js/dojox/encoding/ascii85.js b/includes/js/dojox/encoding/ascii85.js deleted file mode 100644 index c54bb72..0000000 --- a/includes/js/dojox/encoding/ascii85.js +++ /dev/null @@ -1,63 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.ascii85"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.ascii85"] = true; -dojo.provide("dojox.encoding.ascii85"); - -(function(){ - var c = function(input, length, result){ - var i, j, n, b = [0, 0, 0, 0, 0]; - for(i = 0; i < length; i += 4){ - n = ((input[i] * 256 + input[i+1]) * 256 + input[i+2]) * 256 + input[i+3]; - if(!n){ - result.push("z"); - }else{ - for(j = 0; j < 5; b[j++] = n % 85 + 33, n = Math.floor(n / 85)); - } - result.push(String.fromCharCode(b[4], b[3], b[2], b[1], b[0])); - } - }; - - dojox.encoding.ascii85.encode = function(input){ - // summary: encodes input data in ascii85 string - // input: Array: an array of numbers (0-255) to encode - var result = [], reminder = input.length % 4, length = input.length - reminder; - c(input, length, result); - if(reminder){ - var t = input.slice(length); - while(t.length < 4){ t.push(0); } - c(t, 4, result); - var x = result.pop(); - if(x == "z"){ x = "!!!!!"; } - result.push(x.substr(0, reminder + 1)); - } - return result.join(""); // String - }; - - dojox.encoding.ascii85.decode = function(input){ - // summary: decodes the input string back to array of numbers - // input: String: the input string to decode - var n = input.length, r = [], b = [0, 0, 0, 0, 0], i, j, t, x, y, d; - for(i = 0; i < n; ++i){ - if(input.charAt(i) == "z"){ - r.push(0, 0, 0, 0); - continue; - } - for(j = 0; j < 5; ++j){ b[j] = input.charCodeAt(i + j) - 33; } - d = n - i; - if(d < 5){ - for(j = d; j < 4; b[++j] = 0); - b[d] = 85; - } - t = (((b[0] * 85 + b[1]) * 85 + b[2]) * 85 + b[3]) * 85 + b[4]; - x = t & 255; - t >>>= 8; - y = t & 255; - t >>>= 8; - r.push(t >>> 8, t & 255, y, x); - for(j = d; j < 5; ++j, r.pop()); - i += 4; - } - return r; - }; -})(); - -} diff --git a/includes/js/dojox/encoding/base64.js b/includes/js/dojox/encoding/base64.js deleted file mode 100644 index 916e119..0000000 --- a/includes/js/dojox/encoding/base64.js +++ /dev/null @@ -1,66 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.base64"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.base64"] = true; -dojo.provide("dojox.encoding.base64"); - -(function(){ - var p="="; - var tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - var dxe=dojox.encoding; - - dxe.base64.encode=function(/* byte[] */ba){ - // summary - // Encode an array of bytes as a base64-encoded string - var s=[], l=ba.length; - var rm=l%3; - var x=l-rm; - for (var i=0; i>>18)&0x3f)); - s.push(tab.charAt((t>>>12)&0x3f)); - s.push(tab.charAt((t>>>6)&0x3f)); - s.push(tab.charAt(t&0x3f)); - } - // deal with trailers, based on patch from Peter Wood. - switch(rm){ - case 2:{ - var t=ba[i++]<<16|ba[i++]<<8; - s.push(tab.charAt((t>>>18)&0x3f)); - s.push(tab.charAt((t>>>12)&0x3f)); - s.push(tab.charAt((t>>>6)&0x3f)); - s.push(p); - break; - } - case 1:{ - var t=ba[i++]<<16; - s.push(tab.charAt((t>>>18)&0x3f)); - s.push(tab.charAt((t>>>12)&0x3f)); - s.push(p); - s.push(p); - break; - } - } - return s.join(""); // string - }; - - dxe.base64.decode=function(/* string */str){ - // summary - // Convert a base64-encoded string to an array of bytes - var s=str.split(""), out=[]; - var l=s.length; - while(s[--l]==p){ } // strip off trailing padding - for (var i=0; i>>16)&0xff); - out.push((t>>>8)&0xff); - out.push(t&0xff); - } - // strip off any null bytes - while(out[out.length-1]==0){ out.pop(); } - return out; // byte[] - }; -})(); - -} diff --git a/includes/js/dojox/encoding/bits.js b/includes/js/dojox/encoding/bits.js deleted file mode 100644 index 8beb167..0000000 --- a/includes/js/dojox/encoding/bits.js +++ /dev/null @@ -1,68 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.bits"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.bits"] = true; -dojo.provide("dojox.encoding.bits"); - -dojox.encoding.bits.OutputStream = function(){ - this.reset(); -}; - -dojo.extend(dojox.encoding.bits.OutputStream, { - reset: function(){ - this.buffer = []; - this.accumulator = 0; - this.available = 8; - }, - putBits: function(value, width){ - while(width){ - var w = Math.min(width, this.available); - var v = (w <= width ? value >>> (width - w) : value) << (this.available - w); - this.accumulator |= v & (255 >>> (8 - this.available)); - this.available -= w; - if(!this.available){ - this.buffer.push(this.accumulator); - this.accumulator = 0; - this.available = 8; - } - width -= w; - } - }, - getWidth: function(){ - return this.buffer.length * 8 + (8 - this.available); - }, - getBuffer: function(){ - var b = this.buffer; - if(this.available < 8){ b.push(this.accumulator & (255 << this.available)); } - this.reset(); - return b; - } -}); - -dojox.encoding.bits.InputStream = function(buffer, width){ - this.buffer = buffer; - this.width = width; - this.bbyte = this.bit = 0; -}; - -dojo.extend(dojox.encoding.bits.InputStream, { - getBits: function(width){ - var r = 0; - while(width){ - var w = Math.min(width, 8 - this.bit); - var v = this.buffer[this.bbyte] >>> (8 - this.bit - w); - r <<= w; - r |= v & ~(~0 << w); - this.bit += w; - if(this.bit == 8){ - ++this.bbyte; - this.bit = 0; - } - width -= w; - } - return r; - }, - getWidth: function(){ - return this.width - this.bbyte * 8 - this.bit; - } -}); - -} diff --git a/includes/js/dojox/encoding/compression/lzw.js b/includes/js/dojox/encoding/compression/lzw.js deleted file mode 100644 index 5e0cca7..0000000 --- a/includes/js/dojox/encoding/compression/lzw.js +++ /dev/null @@ -1,91 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.compression.lzw"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.compression.lzw"] = true; -dojo.provide("dojox.encoding.compression.lzw"); -dojo.require("dojox.encoding.bits"); - -(function(){ - var _bits = function(x){ - var w = 1; - for(var v = 2; x >= v; v <<= 1, ++w); - return w; - }; - - dojox.encoding.compression.lzw.Encoder = function(n){ - this.size = n; - this.init(); - }; - - dojo.extend(dojox.encoding.compression.lzw.Encoder, { - init: function(){ - this.dict = {}; - for(var i = 0; i < this.size; ++i){ - this.dict[String.fromCharCode(i)] = i; - } - this.width = _bits(this.code = this.size); - this.p = ""; - }, - encode: function(value, stream){ - var c = String.fromCharCode(value), p = this.p + c, r = 0; - // if already in the dictionary - if(p in this.dict){ - this.p = p; - return r; - } - stream.putBits(this.dict[this.p], this.width); - // if we need to increase the code length - if((this.code & (this.code + 1)) == 0){ - stream.putBits(this.code++, r = this.width++); - } - // add new string - this.dict[p] = this.code++; - this.p = c; - return r + this.width; - }, - flush: function(stream){ - if(this.p.length == 0){ - return 0; - } - stream.putBits(this.dict[this.p], this.width); - this.p = ""; - return this.width; - } - }); - - dojox.encoding.compression.lzw.Decoder = function(n){ - this.size = n; - this.init(); - }; - - dojo.extend(dojox.encoding.compression.lzw.Decoder, { - init: function(){ - this.codes = new Array(this.size); - for(var i = 0; i < this.size; ++i){ - this.codes[i] = String.fromCharCode(i); - } - this.width = _bits(this.size); - this.p = -1; - }, - decode: function(stream){ - var c = stream.getBits(this.width), v; - if(c < this.codes.length){ - v = this.codes[c]; - if(this.p >= 0){ - this.codes.push(this.codes[this.p] + v.substr(0, 1)); - } - }else{ - if((c & (c + 1)) == 0){ - this.codes.push(""); - ++this.width; - return ""; - } - var x = this.codes[this.p]; - v = x + x.substr(0, 1); - this.codes.push(v); - } - this.p = c; - return v; - } - }); -})(); - -} diff --git a/includes/js/dojox/encoding/compression/splay.js b/includes/js/dojox/encoding/compression/splay.js deleted file mode 100644 index 5902380..0000000 --- a/includes/js/dojox/encoding/compression/splay.js +++ /dev/null @@ -1,64 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.compression.splay"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.compression.splay"] = true; -dojo.provide("dojox.encoding.compression.splay"); -dojo.require("dojox.encoding.bits"); - -dojox.encoding.compression.Splay = function(n){ - this.up = new Array(2 * n + 1); - this.left = new Array(n); - this.right = new Array(n); - this.reset(); -}; - -dojo.extend(dojox.encoding.compression.Splay, { - reset: function(){ - for(var i = 1; i < this.up.length; this.up[i] = Math.floor((i - 1) / 2), ++i); - for(var i = 0; i < this.left.length; this.left[i] = 2 * i + 1, this.right[i] = 2 * i + 2, ++i); - }, - splay: function(i){ - var a = i + this.left.length; - do{ - var c = this.up[a]; - if(c){ // root - // rotated pair - var d = this.up[c]; - // swap descendants - var b = this.left[d]; - if(c == b){ - b = this.right[d]; - this.right[d] = a; - } else { - this.left[d] = a; - } - this[a == this.left[c] ? "left" : "right"][c] = b; - this.up[a] = d; - this.up[b] = c; - a = d; - }else{ - a = c; - } - }while(a); // root - }, - encode: function(value, stream){ - var s = [], a = value + this.left.length; - do{ - s.push(this.right[this.up[a]] == a); - a = this.up[a]; - }while(a); // root - this.splay(value); - var l = s.length; - while(s.length){ stream.putBits(s.pop() ? 1 : 0, 1); } - return l; - }, - decode: function(stream){ - var a = 0; // root; - do{ - a = this[stream.getBits(1) ? "right" : "left"][a]; - }while(a < this.left.length); - a -= this.left.length; - this.splay(a); - return a; - } -}); - -} diff --git a/includes/js/dojox/encoding/crypto/Blowfish.js b/includes/js/dojox/encoding/crypto/Blowfish.js deleted file mode 100644 index 94f58ca..0000000 --- a/includes/js/dojox/encoding/crypto/Blowfish.js +++ /dev/null @@ -1,481 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.crypto.Blowfish"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.crypto.Blowfish"] = true; -dojo.provide("dojox.encoding.crypto.Blowfish"); - -dojo.require("dojox.encoding.base64"); -dojo.require("dojox.encoding.crypto._base"); - -/* Blowfish - * Created based on the C# implementation by Marcus Hahn (http://www.hotpixel.net/) - * Unsigned math based on Paul Johnstone and Peter Wood patches. - * 2005-12-08 - */ -dojox.encoding.crypto.Blowfish = new function(){ - // summary - // Object for doing Blowfish encryption/decryption. - var POW2=Math.pow(2,2); - var POW3=Math.pow(2,3); - var POW4=Math.pow(2,4); - var POW8=Math.pow(2,8); - var POW16=Math.pow(2,16); - var POW24=Math.pow(2,24); - var iv=null; // CBC mode initialization vector - var boxes={ - p:[ - 0x243f6a88, 0x85a308d3, 0x13198a2e, 0x03707344, 0xa4093822, 0x299f31d0, 0x082efa98, 0xec4e6c89, - 0x452821e6, 0x38d01377, 0xbe5466cf, 0x34e90c6c, 0xc0ac29b7, 0xc97c50dd, 0x3f84d5b5, 0xb5470917, - 0x9216d5d9, 0x8979fb1b - ], - s0:[ - 0xd1310ba6, 0x98dfb5ac, 0x2ffd72db, 0xd01adfb7, 0xb8e1afed, 0x6a267e96, 0xba7c9045, 0xf12c7f99, - 0x24a19947, 0xb3916cf7, 0x0801f2e2, 0x858efc16, 0x636920d8, 0x71574e69, 0xa458fea3, 0xf4933d7e, - 0x0d95748f, 0x728eb658, 0x718bcd58, 0x82154aee, 0x7b54a41d, 0xc25a59b5, 0x9c30d539, 0x2af26013, - 0xc5d1b023, 0x286085f0, 0xca417918, 0xb8db38ef, 0x8e79dcb0, 0x603a180e, 0x6c9e0e8b, 0xb01e8a3e, - 0xd71577c1, 0xbd314b27, 0x78af2fda, 0x55605c60, 0xe65525f3, 0xaa55ab94, 0x57489862, 0x63e81440, - 0x55ca396a, 0x2aab10b6, 0xb4cc5c34, 0x1141e8ce, 0xa15486af, 0x7c72e993, 0xb3ee1411, 0x636fbc2a, - 0x2ba9c55d, 0x741831f6, 0xce5c3e16, 0x9b87931e, 0xafd6ba33, 0x6c24cf5c, 0x7a325381, 0x28958677, - 0x3b8f4898, 0x6b4bb9af, 0xc4bfe81b, 0x66282193, 0x61d809cc, 0xfb21a991, 0x487cac60, 0x5dec8032, - 0xef845d5d, 0xe98575b1, 0xdc262302, 0xeb651b88, 0x23893e81, 0xd396acc5, 0x0f6d6ff3, 0x83f44239, - 0x2e0b4482, 0xa4842004, 0x69c8f04a, 0x9e1f9b5e, 0x21c66842, 0xf6e96c9a, 0x670c9c61, 0xabd388f0, - 0x6a51a0d2, 0xd8542f68, 0x960fa728, 0xab5133a3, 0x6eef0b6c, 0x137a3be4, 0xba3bf050, 0x7efb2a98, - 0xa1f1651d, 0x39af0176, 0x66ca593e, 0x82430e88, 0x8cee8619, 0x456f9fb4, 0x7d84a5c3, 0x3b8b5ebe, - 0xe06f75d8, 0x85c12073, 0x401a449f, 0x56c16aa6, 0x4ed3aa62, 0x363f7706, 0x1bfedf72, 0x429b023d, - 0x37d0d724, 0xd00a1248, 0xdb0fead3, 0x49f1c09b, 0x075372c9, 0x80991b7b, 0x25d479d8, 0xf6e8def7, - 0xe3fe501a, 0xb6794c3b, 0x976ce0bd, 0x04c006ba, 0xc1a94fb6, 0x409f60c4, 0x5e5c9ec2, 0x196a2463, - 0x68fb6faf, 0x3e6c53b5, 0x1339b2eb, 0x3b52ec6f, 0x6dfc511f, 0x9b30952c, 0xcc814544, 0xaf5ebd09, - 0xbee3d004, 0xde334afd, 0x660f2807, 0x192e4bb3, 0xc0cba857, 0x45c8740f, 0xd20b5f39, 0xb9d3fbdb, - 0x5579c0bd, 0x1a60320a, 0xd6a100c6, 0x402c7279, 0x679f25fe, 0xfb1fa3cc, 0x8ea5e9f8, 0xdb3222f8, - 0x3c7516df, 0xfd616b15, 0x2f501ec8, 0xad0552ab, 0x323db5fa, 0xfd238760, 0x53317b48, 0x3e00df82, - 0x9e5c57bb, 0xca6f8ca0, 0x1a87562e, 0xdf1769db, 0xd542a8f6, 0x287effc3, 0xac6732c6, 0x8c4f5573, - 0x695b27b0, 0xbbca58c8, 0xe1ffa35d, 0xb8f011a0, 0x10fa3d98, 0xfd2183b8, 0x4afcb56c, 0x2dd1d35b, - 0x9a53e479, 0xb6f84565, 0xd28e49bc, 0x4bfb9790, 0xe1ddf2da, 0xa4cb7e33, 0x62fb1341, 0xcee4c6e8, - 0xef20cada, 0x36774c01, 0xd07e9efe, 0x2bf11fb4, 0x95dbda4d, 0xae909198, 0xeaad8e71, 0x6b93d5a0, - 0xd08ed1d0, 0xafc725e0, 0x8e3c5b2f, 0x8e7594b7, 0x8ff6e2fb, 0xf2122b64, 0x8888b812, 0x900df01c, - 0x4fad5ea0, 0x688fc31c, 0xd1cff191, 0xb3a8c1ad, 0x2f2f2218, 0xbe0e1777, 0xea752dfe, 0x8b021fa1, - 0xe5a0cc0f, 0xb56f74e8, 0x18acf3d6, 0xce89e299, 0xb4a84fe0, 0xfd13e0b7, 0x7cc43b81, 0xd2ada8d9, - 0x165fa266, 0x80957705, 0x93cc7314, 0x211a1477, 0xe6ad2065, 0x77b5fa86, 0xc75442f5, 0xfb9d35cf, - 0xebcdaf0c, 0x7b3e89a0, 0xd6411bd3, 0xae1e7e49, 0x00250e2d, 0x2071b35e, 0x226800bb, 0x57b8e0af, - 0x2464369b, 0xf009b91e, 0x5563911d, 0x59dfa6aa, 0x78c14389, 0xd95a537f, 0x207d5ba2, 0x02e5b9c5, - 0x83260376, 0x6295cfa9, 0x11c81968, 0x4e734a41, 0xb3472dca, 0x7b14a94a, 0x1b510052, 0x9a532915, - 0xd60f573f, 0xbc9bc6e4, 0x2b60a476, 0x81e67400, 0x08ba6fb5, 0x571be91f, 0xf296ec6b, 0x2a0dd915, - 0xb6636521, 0xe7b9f9b6, 0xff34052e, 0xc5855664, 0x53b02d5d, 0xa99f8fa1, 0x08ba4799, 0x6e85076a - ], - s1:[ - 0x4b7a70e9, 0xb5b32944, 0xdb75092e, 0xc4192623, 0xad6ea6b0, 0x49a7df7d, 0x9cee60b8, 0x8fedb266, - 0xecaa8c71, 0x699a17ff, 0x5664526c, 0xc2b19ee1, 0x193602a5, 0x75094c29, 0xa0591340, 0xe4183a3e, - 0x3f54989a, 0x5b429d65, 0x6b8fe4d6, 0x99f73fd6, 0xa1d29c07, 0xefe830f5, 0x4d2d38e6, 0xf0255dc1, - 0x4cdd2086, 0x8470eb26, 0x6382e9c6, 0x021ecc5e, 0x09686b3f, 0x3ebaefc9, 0x3c971814, 0x6b6a70a1, - 0x687f3584, 0x52a0e286, 0xb79c5305, 0xaa500737, 0x3e07841c, 0x7fdeae5c, 0x8e7d44ec, 0x5716f2b8, - 0xb03ada37, 0xf0500c0d, 0xf01c1f04, 0x0200b3ff, 0xae0cf51a, 0x3cb574b2, 0x25837a58, 0xdc0921bd, - 0xd19113f9, 0x7ca92ff6, 0x94324773, 0x22f54701, 0x3ae5e581, 0x37c2dadc, 0xc8b57634, 0x9af3dda7, - 0xa9446146, 0x0fd0030e, 0xecc8c73e, 0xa4751e41, 0xe238cd99, 0x3bea0e2f, 0x3280bba1, 0x183eb331, - 0x4e548b38, 0x4f6db908, 0x6f420d03, 0xf60a04bf, 0x2cb81290, 0x24977c79, 0x5679b072, 0xbcaf89af, - 0xde9a771f, 0xd9930810, 0xb38bae12, 0xdccf3f2e, 0x5512721f, 0x2e6b7124, 0x501adde6, 0x9f84cd87, - 0x7a584718, 0x7408da17, 0xbc9f9abc, 0xe94b7d8c, 0xec7aec3a, 0xdb851dfa, 0x63094366, 0xc464c3d2, - 0xef1c1847, 0x3215d908, 0xdd433b37, 0x24c2ba16, 0x12a14d43, 0x2a65c451, 0x50940002, 0x133ae4dd, - 0x71dff89e, 0x10314e55, 0x81ac77d6, 0x5f11199b, 0x043556f1, 0xd7a3c76b, 0x3c11183b, 0x5924a509, - 0xf28fe6ed, 0x97f1fbfa, 0x9ebabf2c, 0x1e153c6e, 0x86e34570, 0xeae96fb1, 0x860e5e0a, 0x5a3e2ab3, - 0x771fe71c, 0x4e3d06fa, 0x2965dcb9, 0x99e71d0f, 0x803e89d6, 0x5266c825, 0x2e4cc978, 0x9c10b36a, - 0xc6150eba, 0x94e2ea78, 0xa5fc3c53, 0x1e0a2df4, 0xf2f74ea7, 0x361d2b3d, 0x1939260f, 0x19c27960, - 0x5223a708, 0xf71312b6, 0xebadfe6e, 0xeac31f66, 0xe3bc4595, 0xa67bc883, 0xb17f37d1, 0x018cff28, - 0xc332ddef, 0xbe6c5aa5, 0x65582185, 0x68ab9802, 0xeecea50f, 0xdb2f953b, 0x2aef7dad, 0x5b6e2f84, - 0x1521b628, 0x29076170, 0xecdd4775, 0x619f1510, 0x13cca830, 0xeb61bd96, 0x0334fe1e, 0xaa0363cf, - 0xb5735c90, 0x4c70a239, 0xd59e9e0b, 0xcbaade14, 0xeecc86bc, 0x60622ca7, 0x9cab5cab, 0xb2f3846e, - 0x648b1eaf, 0x19bdf0ca, 0xa02369b9, 0x655abb50, 0x40685a32, 0x3c2ab4b3, 0x319ee9d5, 0xc021b8f7, - 0x9b540b19, 0x875fa099, 0x95f7997e, 0x623d7da8, 0xf837889a, 0x97e32d77, 0x11ed935f, 0x16681281, - 0x0e358829, 0xc7e61fd6, 0x96dedfa1, 0x7858ba99, 0x57f584a5, 0x1b227263, 0x9b83c3ff, 0x1ac24696, - 0xcdb30aeb, 0x532e3054, 0x8fd948e4, 0x6dbc3128, 0x58ebf2ef, 0x34c6ffea, 0xfe28ed61, 0xee7c3c73, - 0x5d4a14d9, 0xe864b7e3, 0x42105d14, 0x203e13e0, 0x45eee2b6, 0xa3aaabea, 0xdb6c4f15, 0xfacb4fd0, - 0xc742f442, 0xef6abbb5, 0x654f3b1d, 0x41cd2105, 0xd81e799e, 0x86854dc7, 0xe44b476a, 0x3d816250, - 0xcf62a1f2, 0x5b8d2646, 0xfc8883a0, 0xc1c7b6a3, 0x7f1524c3, 0x69cb7492, 0x47848a0b, 0x5692b285, - 0x095bbf00, 0xad19489d, 0x1462b174, 0x23820e00, 0x58428d2a, 0x0c55f5ea, 0x1dadf43e, 0x233f7061, - 0x3372f092, 0x8d937e41, 0xd65fecf1, 0x6c223bdb, 0x7cde3759, 0xcbee7460, 0x4085f2a7, 0xce77326e, - 0xa6078084, 0x19f8509e, 0xe8efd855, 0x61d99735, 0xa969a7aa, 0xc50c06c2, 0x5a04abfc, 0x800bcadc, - 0x9e447a2e, 0xc3453484, 0xfdd56705, 0x0e1e9ec9, 0xdb73dbd3, 0x105588cd, 0x675fda79, 0xe3674340, - 0xc5c43465, 0x713e38d8, 0x3d28f89e, 0xf16dff20, 0x153e21e7, 0x8fb03d4a, 0xe6e39f2b, 0xdb83adf7 - ], - s2:[ - 0xe93d5a68, 0x948140f7, 0xf64c261c, 0x94692934, 0x411520f7, 0x7602d4f7, 0xbcf46b2e, 0xd4a20068, - 0xd4082471, 0x3320f46a, 0x43b7d4b7, 0x500061af, 0x1e39f62e, 0x97244546, 0x14214f74, 0xbf8b8840, - 0x4d95fc1d, 0x96b591af, 0x70f4ddd3, 0x66a02f45, 0xbfbc09ec, 0x03bd9785, 0x7fac6dd0, 0x31cb8504, - 0x96eb27b3, 0x55fd3941, 0xda2547e6, 0xabca0a9a, 0x28507825, 0x530429f4, 0x0a2c86da, 0xe9b66dfb, - 0x68dc1462, 0xd7486900, 0x680ec0a4, 0x27a18dee, 0x4f3ffea2, 0xe887ad8c, 0xb58ce006, 0x7af4d6b6, - 0xaace1e7c, 0xd3375fec, 0xce78a399, 0x406b2a42, 0x20fe9e35, 0xd9f385b9, 0xee39d7ab, 0x3b124e8b, - 0x1dc9faf7, 0x4b6d1856, 0x26a36631, 0xeae397b2, 0x3a6efa74, 0xdd5b4332, 0x6841e7f7, 0xca7820fb, - 0xfb0af54e, 0xd8feb397, 0x454056ac, 0xba489527, 0x55533a3a, 0x20838d87, 0xfe6ba9b7, 0xd096954b, - 0x55a867bc, 0xa1159a58, 0xcca92963, 0x99e1db33, 0xa62a4a56, 0x3f3125f9, 0x5ef47e1c, 0x9029317c, - 0xfdf8e802, 0x04272f70, 0x80bb155c, 0x05282ce3, 0x95c11548, 0xe4c66d22, 0x48c1133f, 0xc70f86dc, - 0x07f9c9ee, 0x41041f0f, 0x404779a4, 0x5d886e17, 0x325f51eb, 0xd59bc0d1, 0xf2bcc18f, 0x41113564, - 0x257b7834, 0x602a9c60, 0xdff8e8a3, 0x1f636c1b, 0x0e12b4c2, 0x02e1329e, 0xaf664fd1, 0xcad18115, - 0x6b2395e0, 0x333e92e1, 0x3b240b62, 0xeebeb922, 0x85b2a20e, 0xe6ba0d99, 0xde720c8c, 0x2da2f728, - 0xd0127845, 0x95b794fd, 0x647d0862, 0xe7ccf5f0, 0x5449a36f, 0x877d48fa, 0xc39dfd27, 0xf33e8d1e, - 0x0a476341, 0x992eff74, 0x3a6f6eab, 0xf4f8fd37, 0xa812dc60, 0xa1ebddf8, 0x991be14c, 0xdb6e6b0d, - 0xc67b5510, 0x6d672c37, 0x2765d43b, 0xdcd0e804, 0xf1290dc7, 0xcc00ffa3, 0xb5390f92, 0x690fed0b, - 0x667b9ffb, 0xcedb7d9c, 0xa091cf0b, 0xd9155ea3, 0xbb132f88, 0x515bad24, 0x7b9479bf, 0x763bd6eb, - 0x37392eb3, 0xcc115979, 0x8026e297, 0xf42e312d, 0x6842ada7, 0xc66a2b3b, 0x12754ccc, 0x782ef11c, - 0x6a124237, 0xb79251e7, 0x06a1bbe6, 0x4bfb6350, 0x1a6b1018, 0x11caedfa, 0x3d25bdd8, 0xe2e1c3c9, - 0x44421659, 0x0a121386, 0xd90cec6e, 0xd5abea2a, 0x64af674e, 0xda86a85f, 0xbebfe988, 0x64e4c3fe, - 0x9dbc8057, 0xf0f7c086, 0x60787bf8, 0x6003604d, 0xd1fd8346, 0xf6381fb0, 0x7745ae04, 0xd736fccc, - 0x83426b33, 0xf01eab71, 0xb0804187, 0x3c005e5f, 0x77a057be, 0xbde8ae24, 0x55464299, 0xbf582e61, - 0x4e58f48f, 0xf2ddfda2, 0xf474ef38, 0x8789bdc2, 0x5366f9c3, 0xc8b38e74, 0xb475f255, 0x46fcd9b9, - 0x7aeb2661, 0x8b1ddf84, 0x846a0e79, 0x915f95e2, 0x466e598e, 0x20b45770, 0x8cd55591, 0xc902de4c, - 0xb90bace1, 0xbb8205d0, 0x11a86248, 0x7574a99e, 0xb77f19b6, 0xe0a9dc09, 0x662d09a1, 0xc4324633, - 0xe85a1f02, 0x09f0be8c, 0x4a99a025, 0x1d6efe10, 0x1ab93d1d, 0x0ba5a4df, 0xa186f20f, 0x2868f169, - 0xdcb7da83, 0x573906fe, 0xa1e2ce9b, 0x4fcd7f52, 0x50115e01, 0xa70683fa, 0xa002b5c4, 0x0de6d027, - 0x9af88c27, 0x773f8641, 0xc3604c06, 0x61a806b5, 0xf0177a28, 0xc0f586e0, 0x006058aa, 0x30dc7d62, - 0x11e69ed7, 0x2338ea63, 0x53c2dd94, 0xc2c21634, 0xbbcbee56, 0x90bcb6de, 0xebfc7da1, 0xce591d76, - 0x6f05e409, 0x4b7c0188, 0x39720a3d, 0x7c927c24, 0x86e3725f, 0x724d9db9, 0x1ac15bb4, 0xd39eb8fc, - 0xed545578, 0x08fca5b5, 0xd83d7cd3, 0x4dad0fc4, 0x1e50ef5e, 0xb161e6f8, 0xa28514d9, 0x6c51133c, - 0x6fd5c7e7, 0x56e14ec4, 0x362abfce, 0xddc6c837, 0xd79a3234, 0x92638212, 0x670efa8e, 0x406000e0 - ], - s3:[ - 0x3a39ce37, 0xd3faf5cf, 0xabc27737, 0x5ac52d1b, 0x5cb0679e, 0x4fa33742, 0xd3822740, 0x99bc9bbe, - 0xd5118e9d, 0xbf0f7315, 0xd62d1c7e, 0xc700c47b, 0xb78c1b6b, 0x21a19045, 0xb26eb1be, 0x6a366eb4, - 0x5748ab2f, 0xbc946e79, 0xc6a376d2, 0x6549c2c8, 0x530ff8ee, 0x468dde7d, 0xd5730a1d, 0x4cd04dc6, - 0x2939bbdb, 0xa9ba4650, 0xac9526e8, 0xbe5ee304, 0xa1fad5f0, 0x6a2d519a, 0x63ef8ce2, 0x9a86ee22, - 0xc089c2b8, 0x43242ef6, 0xa51e03aa, 0x9cf2d0a4, 0x83c061ba, 0x9be96a4d, 0x8fe51550, 0xba645bd6, - 0x2826a2f9, 0xa73a3ae1, 0x4ba99586, 0xef5562e9, 0xc72fefd3, 0xf752f7da, 0x3f046f69, 0x77fa0a59, - 0x80e4a915, 0x87b08601, 0x9b09e6ad, 0x3b3ee593, 0xe990fd5a, 0x9e34d797, 0x2cf0b7d9, 0x022b8b51, - 0x96d5ac3a, 0x017da67d, 0xd1cf3ed6, 0x7c7d2d28, 0x1f9f25cf, 0xadf2b89b, 0x5ad6b472, 0x5a88f54c, - 0xe029ac71, 0xe019a5e6, 0x47b0acfd, 0xed93fa9b, 0xe8d3c48d, 0x283b57cc, 0xf8d56629, 0x79132e28, - 0x785f0191, 0xed756055, 0xf7960e44, 0xe3d35e8c, 0x15056dd4, 0x88f46dba, 0x03a16125, 0x0564f0bd, - 0xc3eb9e15, 0x3c9057a2, 0x97271aec, 0xa93a072a, 0x1b3f6d9b, 0x1e6321f5, 0xf59c66fb, 0x26dcf319, - 0x7533d928, 0xb155fdf5, 0x03563482, 0x8aba3cbb, 0x28517711, 0xc20ad9f8, 0xabcc5167, 0xccad925f, - 0x4de81751, 0x3830dc8e, 0x379d5862, 0x9320f991, 0xea7a90c2, 0xfb3e7bce, 0x5121ce64, 0x774fbe32, - 0xa8b6e37e, 0xc3293d46, 0x48de5369, 0x6413e680, 0xa2ae0810, 0xdd6db224, 0x69852dfd, 0x09072166, - 0xb39a460a, 0x6445c0dd, 0x586cdecf, 0x1c20c8ae, 0x5bbef7dd, 0x1b588d40, 0xccd2017f, 0x6bb4e3bb, - 0xdda26a7e, 0x3a59ff45, 0x3e350a44, 0xbcb4cdd5, 0x72eacea8, 0xfa6484bb, 0x8d6612ae, 0xbf3c6f47, - 0xd29be463, 0x542f5d9e, 0xaec2771b, 0xf64e6370, 0x740e0d8d, 0xe75b1357, 0xf8721671, 0xaf537d5d, - 0x4040cb08, 0x4eb4e2cc, 0x34d2466a, 0x0115af84, 0xe1b00428, 0x95983a1d, 0x06b89fb4, 0xce6ea048, - 0x6f3f3b82, 0x3520ab82, 0x011a1d4b, 0x277227f8, 0x611560b1, 0xe7933fdc, 0xbb3a792b, 0x344525bd, - 0xa08839e1, 0x51ce794b, 0x2f32c9b7, 0xa01fbac9, 0xe01cc87e, 0xbcc7d1f6, 0xcf0111c3, 0xa1e8aac7, - 0x1a908749, 0xd44fbd9a, 0xd0dadecb, 0xd50ada38, 0x0339c32a, 0xc6913667, 0x8df9317c, 0xe0b12b4f, - 0xf79e59b7, 0x43f5bb3a, 0xf2d519ff, 0x27d9459c, 0xbf97222c, 0x15e6fc2a, 0x0f91fc71, 0x9b941525, - 0xfae59361, 0xceb69ceb, 0xc2a86459, 0x12baa8d1, 0xb6c1075e, 0xe3056a0c, 0x10d25065, 0xcb03a442, - 0xe0ec6e0e, 0x1698db3b, 0x4c98a0be, 0x3278e964, 0x9f1f9532, 0xe0d392df, 0xd3a0342b, 0x8971f21e, - 0x1b0a7441, 0x4ba3348c, 0xc5be7120, 0xc37632d8, 0xdf359f8d, 0x9b992f2e, 0xe60b6f47, 0x0fe3f11d, - 0xe54cda54, 0x1edad891, 0xce6279cf, 0xcd3e7e6f, 0x1618b166, 0xfd2c1d05, 0x848fd2c5, 0xf6fb2299, - 0xf523f357, 0xa6327623, 0x93a83531, 0x56cccd02, 0xacf08162, 0x5a75ebb5, 0x6e163697, 0x88d273cc, - 0xde966292, 0x81b949d0, 0x4c50901b, 0x71c65614, 0xe6c6c7bd, 0x327a140a, 0x45e1d006, 0xc3f27b9a, - 0xc9aa53fd, 0x62a80f00, 0xbb25bfe2, 0x35bdd2f6, 0x71126905, 0xb2040222, 0xb6cbcf7c, 0xcd769c2b, - 0x53113ec0, 0x1640e3d3, 0x38abbd60, 0x2547adf0, 0xba38209c, 0xf746ce76, 0x77afa1c5, 0x20756060, - 0x85cbfe4e, 0x8ae88dd8, 0x7aaaf9b0, 0x4cf9aa7e, 0x1948c25c, 0x02fb8a8c, 0x01c36ae4, 0xd6ebe1f9, - 0x90d4f869, 0xa65cdea0, 0x3f09252d, 0xc208e69f, 0xb74e6132, 0xce77e25b, 0x578fdfe3, 0x3ac372e6 - ] - } -//////////////////////////////////////////////////////////////////////////// -// fixes based on patch submitted by Peter Wood (#5791) - function add(x,y){ - return (((x>>0x10)+(y>>0x10)+(((x&0xffff)+(y&0xffff))>>0x10))<<0x10)|(((x&0xffff)+(y&0xffff))&0xffff); - } - function xor(x,y){ - return (((x>>0x10)^(y>>0x10))<<0x10)|(((x&0xffff)^(y&0xffff))&0xffff); - } - - function $(v, box){ - var d=box.s3[v&0xff]; v>>=8; - var c=box.s2[v&0xff]; v>>=8; - var b=box.s1[v&0xff]; v>>=8; - var a=box.s0[v&0xff]; - - var r = (((a>>0x10)+(b>>0x10)+(((a&0xffff)+(b&0xffff))>>0x10))<<0x10)|(((a&0xffff)+(b&0xffff))&0xffff); - r = (((r>>0x10)^(c>>0x10))<<0x10)|(((r&0xffff)^(c&0xffff))&0xffff); - return (((r>>0x10)+(d>>0x10)+(((r&0xffff)+(d&0xffff))>>0x10))<<0x10)|(((r&0xffff)+(d&0xffff))&0xffff); - } -//////////////////////////////////////////////////////////////////////////// - function eb(o, box){ - // TODO: see if this can't be made more efficient - var l=o.left; - var r=o.right; - l=xor(l,box.p[0]); - r=xor(r,xor($(l,box),box.p[1])); - l=xor(l,xor($(r,box),box.p[2])); - r=xor(r,xor($(l,box),box.p[3])); - l=xor(l,xor($(r,box),box.p[4])); - r=xor(r,xor($(l,box),box.p[5])); - l=xor(l,xor($(r,box),box.p[6])); - r=xor(r,xor($(l,box),box.p[7])); - l=xor(l,xor($(r,box),box.p[8])); - r=xor(r,xor($(l,box),box.p[9])); - l=xor(l,xor($(r,box),box.p[10])); - r=xor(r,xor($(l,box),box.p[11])); - l=xor(l,xor($(r,box),box.p[12])); - r=xor(r,xor($(l,box),box.p[13])); - l=xor(l,xor($(r,box),box.p[14])); - r=xor(r,xor($(l,box),box.p[15])); - l=xor(l,xor($(r,box),box.p[16])); - o.right=l; - o.left=xor(r,box.p[17]); - } - - function db(o, box){ - var l=o.left; - var r=o.right; - l=xor(l,box.p[17]); - r=xor(r,xor($(l,box),box.p[16])); - l=xor(l,xor($(r,box),box.p[15])); - r=xor(r,xor($(l,box),box.p[14])); - l=xor(l,xor($(r,box),box.p[13])); - r=xor(r,xor($(l,box),box.p[12])); - l=xor(l,xor($(r,box),box.p[11])); - r=xor(r,xor($(l,box),box.p[10])); - l=xor(l,xor($(r,box),box.p[9])); - r=xor(r,xor($(l,box),box.p[8])); - l=xor(l,xor($(r,box),box.p[7])); - r=xor(r,xor($(l,box),box.p[6])); - l=xor(l,xor($(r,box),box.p[5])); - r=xor(r,xor($(l,box),box.p[4])); - l=xor(l,xor($(r,box),box.p[3])); - r=xor(r,xor($(l,box),box.p[2])); - l=xor(l,xor($(r,box),box.p[1])); - o.right=l; - o.left=xor(r,box.p[0]); - } - - // Note that we aren't caching contexts here; it might take a little longer - // but we should be more secure this way. - function init(key){ - var k=key; - if(dojo.isString(k)){ - k = dojo.map(k.split(""), function(item){ - return item.charCodeAt(0) & 0xff; - }); - } - - // init the boxes - var pos=0, data=0, res={ left:0, right:0 }, i, j; - var box = { - p: dojo.map(boxes.p.slice(0), function(item){ - var l=k.length, j; - for(j=0; j<4; j++){ data=(data*POW8)|k[pos++ % l]; } - return (((item>>0x10)^(data>>0x10))<<0x10)|(((item&0xffff)^(data&0xffff))&0xffff); - }), - s0:boxes.s0.slice(0), - s1:boxes.s1.slice(0), - s2:boxes.s2.slice(0), - s3:boxes.s3.slice(0) - }; - - // encrypt p and the s boxes - for(i=0, l=box.p.length; i> 3, pos=0, o={}, isCBC=(mode==dojox.encoding.crypto.cipherModes.CBC); - var vector={left:iv.left||null, right:iv.right||null}; - for(var i=0; i>0x10)^(vector.left>>0x10))<<0x10)|(((o.left&0xffff)^(vector.left&0xffff))&0xffff); - o.right=(((o.right>>0x10)^(vector.right>>0x10))<<0x10)|(((o.right&0xffff)^(vector.right&0xffff))&0xffff); - } - - eb(o, bx); // encrypt the block - - if(isCBC){ - vector.left=o.left; - vector.right=o.right; - } - - cipher.push((o.left>>24)&0xff); - cipher.push((o.left>>16)&0xff); - cipher.push((o.left>>8)&0xff); - cipher.push(o.left&0xff); - cipher.push((o.right>>24)&0xff); - cipher.push((o.right>>16)&0xff); - cipher.push((o.right>>8)&0xff); - cipher.push(o.right&0xff); - pos+=8; - } - - switch(out){ - case dojox.encoding.crypto.outputTypes.Hex:{ - return dojo.map(cipher, function(item){ - return item.toString(16); - }).join(""); // string - } - case dojox.encoding.crypto.outputTypes.String:{ - return cipher.join(""); // string - } - case dojox.encoding.crypto.outputTypes.Raw:{ - return cipher; // array - } - default:{ - return dojox.encoding.base64.encode(cipher); // string - } - } - }; - - this.decrypt = function(/* string */ciphertext, /* string */key, /* object? */ao){ - // summary - // decrypts ciphertext using key; allows specification of how ciphertext is encoded via ao. - var ip=dojox.encoding.crypto.outputTypes.Base64; - var mode=dojox.encoding.crypto.cipherModes.EBC; - if (ao){ - if (ao.outputType) ip=ao.outputType; - if (ao.cipherMode) mode=ao.cipherMode; - } - var bx = init(key); - var pt=[]; - - var c=null; - switch(ip){ - case dojox.encoding.crypto.outputTypes.Hex:{ - c = []; - for(var i=0, l=ciphertext.length-1; i> 3, pos=0, o={}, isCBC=(mode==dojox.encoding.crypto.cipherModes.CBC); - var vector={left:iv.left||null, right:iv.right||null}; - for(var i=0; i>0x10)^(vector.left>>0x10))<<0x10)|(((o.left&0xffff)^(vector.left&0xffff))&0xffff); - o.right=(((o.right>>0x10)^(vector.right>>0x10))<<0x10)|(((o.right&0xffff)^(vector.right&0xffff))&0xffff); - vector.left=left; - vector.right=right; - } - - pt.push((o.left>>24)&0xff); - pt.push((o.left>>16)&0xff); - pt.push((o.left>>8)&0xff); - pt.push(o.left&0xff); - pt.push((o.right>>24)&0xff); - pt.push((o.right>>16)&0xff); - pt.push((o.right>>8)&0xff); - pt.push(o.right&0xff); - pos+=8; - } - - // check for padding, and remove. - if(pt[pt.length-1]==pt[pt.length-2]||pt[pt.length-1]==0x01){ - var n=pt[pt.length-1]; - pt.splice(pt.length-n, n); - } - - // convert to string - return dojo.map(pt, function(item){ - return String.fromCharCode(item); - }).join(""); // string - }; - - this.setIV("0000000000000000", dojox.encoding.crypto.outputTypes.Hex); -}(); - -} diff --git a/includes/js/dojox/encoding/crypto/_base.js b/includes/js/dojox/encoding/crypto/_base.js deleted file mode 100644 index 174d073..0000000 --- a/includes/js/dojox/encoding/crypto/_base.js +++ /dev/null @@ -1,19 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.crypto._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.crypto._base"] = true; -dojo.provide("dojox.encoding.crypto._base"); - -(function(){ - var c=dojox.encoding.crypto; - c.cipherModes={ - // summary - // Enumeration for various cipher modes. - ECB:0, CBC:1, PCBC:2, CFB:3, OFB:4, CTR:5 - }; - c.outputTypes={ - // summary - // Enumeration for input and output encodings. - Base64:0, Hex:1, String:2, Raw:3 - }; -})(); - -} diff --git a/includes/js/dojox/encoding/digests/MD5.js b/includes/js/dojox/encoding/digests/MD5.js deleted file mode 100644 index eb72d59..0000000 --- a/includes/js/dojox/encoding/digests/MD5.js +++ /dev/null @@ -1,177 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.digests.MD5"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.digests.MD5"] = true; -dojo.provide("dojox.encoding.digests.MD5"); - -dojo.require("dojox.encoding.digests._base"); - -/* A port of Paul Johnstone's MD5 implementation - * http://pajhome.org.uk/crypt/md5/index.html - * - * Copyright (C) Paul Johnston 1999 - 2002. - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet - * Distributed under the BSD License - * - * Dojo port by Tom Trenka - */ -(function(){ - var dxd=dojox.encoding.digests; - var chrsz=8; - - // MD5 rounds functions - function R(n,c){ return (n<>>(32-c)); } - function C(q,a,b,x,s,t){ return dxd.addWords(R(dxd.addWords(dxd.addWords(a, q), dxd.addWords(x, t)), s), b); } - function FF(a,b,c,d,x,s,t){ return C((b&c)|((~b)&d),a,b,x,s,t); } - function GG(a,b,c,d,x,s,t){ return C((b&d)|(c&(~d)),a,b,x,s,t); } - function HH(a,b,c,d,x,s,t){ return C(b^c^d,a,b,x,s,t); } - function II(a,b,c,d,x,s,t){ return C(c^(b|(~d)),a,b,x,s,t); } - - // the core MD5 rounds method - function core(x,len){ - x[len>>5]|=0x80<<((len)%32); - x[(((len+64)>>>9)<<4)+14]=len; - var a= 1732584193; - var b=-271733879; - var c=-1732584194; - var d= 271733878; - for(var i=0; i16){ - wa=core(wa, key.length*chrsz); - } - var l=[], r=[]; - for(var i=0; i<16; i++){ - l[i]=wa[i]^0x36363636; - r[i]=wa[i]^0x5c5c5c5c; - } - var h=core(l.concat(dxd.stringToWord(data)), 512+data.length*chrsz); - return core(r.concat(h), 640); - } - - // public function - dxd.MD5=function(/* string */data, /* dojox.encoding.digests.outputTypes? */outputType){ - // summary - // computes the digest of data, and returns the result according to type outputType - var out=outputType || dxd.outputTypes.Base64; - var wa=core(dxd.stringToWord(data), data.length*chrsz); - switch(out){ - case dxd.outputTypes.Raw:{ - return wa; // word[] - } - case dxd.outputTypes.Hex:{ - return dxd.wordToHex(wa); // string - } - case dxd.outputTypes.String:{ - return dxd.wordToString(wa); // string - } - default:{ - return dxd.wordToBase64(wa); // string - } - } - }; - - // make this private, for later use with a generic HMAC calculator. - dxd.MD5._hmac=function(/* string */data, /* string */key, /* dojox.encoding.digests.outputTypes? */outputType){ - // summary - // computes the digest of data, and returns the result according to type outputType - var out=outputType || dxd.outputTypes.Base64; - var wa=hmac(data, key); - switch(out){ - case dxd.outputTypes.Raw:{ - return wa; // word[] - } - case dxd.outputTypes.Hex:{ - return dxd.wordToHex(wa); // string - } - case dxd.outputTypes.String:{ - return dxd.wordToString(wa); // string - } - default:{ - return dxd.wordToBase64(wa); // string - } - } - }; -})(); - -} diff --git a/includes/js/dojox/encoding/digests/_base.js b/includes/js/dojox/encoding/digests/_base.js deleted file mode 100644 index 3ebae22..0000000 --- a/includes/js/dojox/encoding/digests/_base.js +++ /dev/null @@ -1,78 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.digests._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.digests._base"] = true; -dojo.provide("dojox.encoding.digests._base"); - -(function(){ - //TODO: see if it makes sense to meld this into one with the - // crypto base enums - var d=dojox.encoding.digests; - d.outputTypes={ - // summary - // Enumeration for input and output encodings. - Base64:0, Hex:1, String:2, Raw:3 - }; - - // word-based addition - d.addWords=function(/* word */a, /* word */b){ - // summary - // add a pair of words together with rollover - var l=(a&0xFFFF)+(b&0xFFFF); - var m=(a>>16)+(b>>16)+(l>>16); - return (m<<16)|(l&0xFFFF); // word - }; - - // word-based conversion method, for efficiency sake; - // most digests operate on words, and this should be faster - // than the encoding version (which works on bytes). - var chrsz=8; - var mask=(1<>5]|=(s.charCodeAt(i/chrsz)&mask)<<(i%32); - } - return wa; // word[] - }; - - d.wordToString=function(/* word[] */wa){ - // summary - // convert an array of words to a string - var s=[]; - for(var i=0, l=wa.length*32; i>5]>>>(i%32))&mask)); - } - return s.join(""); // string - } - - d.wordToHex=function(/* word[] */wa){ - // summary - // convert an array of words to a hex tab - var h="0123456789abcdef", s=[]; - for(var i=0, l=wa.length*4; i>2]>>((i%4)*8+4))&0xF)+h.charAt((wa[i>>2]>>((i%4)*8))&0xF)); - } - return s.join(""); // string - } - d.wordToBase64=function(/* word[] */wa){ - // summary - // convert an array of words to base64 encoding, should be more efficient - // than using dojox.encoding.base64 - var p="=", tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", s=[]; - for(var i=0, l=wa.length*4; i>2]>>8*(i%4))&0xFF)<<16)|(((wa[i+1>>2]>>8*((i+1)%4))&0xFF)<<8)|((wa[i+2>>2]>>8*((i+2)%4))&0xFF); - for(var j=0; j<4; j++){ - if(i*8+j*6>wa.length*32){ - s.push(p); - } else { - s.push(tab.charAt((t>>6*(3-j))&0x3F)); - } - } - } - return s.join(""); // string - }; -})(); - -} diff --git a/includes/js/dojox/encoding/easy64.js b/includes/js/dojox/encoding/easy64.js deleted file mode 100644 index 824ff3e..0000000 --- a/includes/js/dojox/encoding/easy64.js +++ /dev/null @@ -1,50 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.easy64"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.easy64"] = true; -dojo.provide("dojox.encoding.easy64"); - -(function(){ - var c = function(input, length, result){ - for(var i = 0; i < length; i += 3){ - result.push( - String.fromCharCode((input[i] >>> 2) + 33), - String.fromCharCode(((input[i] & 3) << 4) + (input[i + 1] >>> 4) + 33), - String.fromCharCode(((input[i + 1] & 15) << 2) + (input[i + 2] >>> 6) + 33), - String.fromCharCode((input[i + 2] & 63) + 33) - ); - } - }; - - dojox.encoding.easy64.encode = function(input){ - // summary: encodes input data in easy64 string - // input: Array: an array of numbers (0-255) to encode - var result = [], reminder = input.length % 3, length = input.length - reminder; - c(input, length, result); - if(reminder){ - var t = input.slice(length); - while(t.length < 3){ t.push(0); } - c(t, 3, result); - for(var i = 3; i > reminder; result.pop(), --i); - } - return result.join(""); // String - }; - - dojox.encoding.easy64.decode = function(input){ - // summary: decodes the input string back to array of numbers - // input: String: the input string to decode - var n = input.length, r = [], b = [0, 0, 0, 0], i, j, d; - for(i = 0; i < n; i += 4){ - for(j = 0; j < 4; ++j){ b[j] = input.charCodeAt(i + j) - 33; } - d = n - i; - for(j = d; j < 4; b[++j] = 0); - r.push( - (b[0] << 2) + (b[1] >>> 4), - ((b[1] & 15) << 4) + (b[2] >>> 2), - ((b[2] & 3) << 6) + b[3] - ); - for(j = d; j < 4; ++j, r.pop()); - } - return r; - }; -})(); - -} diff --git a/includes/js/dojox/encoding/tests/ascii85.js b/includes/js/dojox/encoding/tests/ascii85.js deleted file mode 100644 index d93329c..0000000 --- a/includes/js/dojox/encoding/tests/ascii85.js +++ /dev/null @@ -1,35 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.ascii85"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.ascii85"] = true; -dojo.provide("dojox.encoding.tests.ascii85"); -dojo.require("dojox.encoding.ascii85"); - -(function(){ - var msg1 = "The rain in Spain falls mainly on the plain."; - var msg2 = "The rain in Spain falls mainly on the plain.1"; - var msg3 = "The rain in Spain falls mainly on the plain.ab"; - var msg4 = "The rain in Spain falls mainly on the plain.!@#"; - var dca = dojox.encoding.ascii85; - - var s2b = function(s){ - var b = []; - for(var i = 0; i < s.length; ++i){ - b.push(s.charCodeAt(i)); - } - return b; - }; - - var b2s = function(b){ - var s = []; - dojo.forEach(b, function(c){ s.push(String.fromCharCode(c)); }); - return s.join(""); - }; - - tests.register("dojox.encoding.tests.ascii85", [ - function testMsg1(t){ t.assertEqual(msg1, b2s(dca.decode(dca.encode(s2b(msg1))))); }, - function testMsg2(t){ t.assertEqual(msg2, b2s(dca.decode(dca.encode(s2b(msg2))))); }, - function testMsg3(t){ t.assertEqual(msg3, b2s(dca.decode(dca.encode(s2b(msg3))))); }, - function testMsg4(t){ t.assertEqual(msg4, b2s(dca.decode(dca.encode(s2b(msg4))))); } - ]); -})(); - -} diff --git a/includes/js/dojox/encoding/tests/bits.js b/includes/js/dojox/encoding/tests/bits.js deleted file mode 100644 index dc7ae66..0000000 --- a/includes/js/dojox/encoding/tests/bits.js +++ /dev/null @@ -1,74 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.bits"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.bits"] = true; -dojo.provide("dojox.encoding.tests.bits"); -dojo.require("dojox.encoding.bits"); - -(function(){ - var msg1 = "The rain in Spain falls mainly on the plain."; - var msg2 = "The rain in Spain falls mainly on the plain.1"; - var msg3 = "The rain in Spain falls mainly on the plain.ab"; - var msg4 = "The rain in Spain falls mainly on the plain.!@#"; - var dcb = dojox.encoding.bits; - - var s2b = function(s){ - var b = []; - for(var i = 0; i < s.length; ++i){ - b.push(s.charCodeAt(i)); - } - return b; - }; - - var b2s = function(b){ - var s = []; - dojo.forEach(b, function(c){ s.push(String.fromCharCode(c)); }); - return s.join(""); - }; - - var testOut = function(msg){ - var a = new dojox.encoding.bits.OutputStream(); - for(var i = 0; i < msg.length; ++i){ - var v = msg.charCodeAt(i); - var j = Math.floor(Math.random() * 7) + 1; - a.putBits(v >>> (8 - j), j); - a.putBits(v, 8 - j); - } - return b2s(a.getBuffer()); - }; - - var testIn = function(msg){ - var a = new dojox.encoding.bits.InputStream(s2b(msg), msg.length * 8); - var r = []; - for(var i = 0; i < msg.length; ++i){ - var j = Math.floor(Math.random() * 7) + 1; - r.push((a.getBits(j) << (8 - j)) | a.getBits(8 - j)); - } - return b2s(r); - }; - - var test = function(msg){ - var a = new dojox.encoding.bits.InputStream(s2b(msg), msg.length * 8); - var o = new dojox.encoding.bits.OutputStream(); - while(a.getWidth() > 0){ - var w = Math.min(a.getWidth(), 3); - o.putBits(a.getBits(w), w); - } - return b2s(o.getBuffer()); - }; - - tests.register("dojox.encoding.tests.bits", [ - function testBitsOut1(t){ t.assertEqual(msg1, testOut(msg1)); }, - function testBitsOut2(t){ t.assertEqual(msg2, testOut(msg2)); }, - function testBitsOut3(t){ t.assertEqual(msg3, testOut(msg3)); }, - function testBitsOut4(t){ t.assertEqual(msg4, testOut(msg4)); }, - function testBitsIn1(t){ t.assertEqual(msg1, testIn(msg1)); }, - function testBitsIn2(t){ t.assertEqual(msg2, testIn(msg2)); }, - function testBitsIn3(t){ t.assertEqual(msg3, testIn(msg3)); }, - function testBitsIn4(t){ t.assertEqual(msg4, testIn(msg4)); }, - function testBits1(t){ t.assertEqual(msg1, test(msg1)); }, - function testBits2(t){ t.assertEqual(msg2, test(msg2)); }, - function testBits3(t){ t.assertEqual(msg3, test(msg3)); }, - function testBits4(t){ t.assertEqual(msg4, test(msg4)); } - ]); -})(); - -} diff --git a/includes/js/dojox/encoding/tests/compression/_base.js b/includes/js/dojox/encoding/tests/compression/_base.js deleted file mode 100644 index ec9d560..0000000 --- a/includes/js/dojox/encoding/tests/compression/_base.js +++ /dev/null @@ -1,12 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.compression._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.compression._base"] = true; -dojo.provide("dojox.encoding.tests.compression._base"); - -try{ - dojo.require("dojox.encoding.tests.compression.splay"); - dojo.require("dojox.encoding.tests.compression.lzw"); -}catch(e){ - doh.debug(e); -} - -} diff --git a/includes/js/dojox/encoding/tests/compression/colors.js b/includes/js/dojox/encoding/tests/compression/colors.js deleted file mode 100644 index caedbb1..0000000 --- a/includes/js/dojox/encoding/tests/compression/colors.js +++ /dev/null @@ -1,156 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.compression.colors"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.compression.colors"] = true; -dojo.provide("dojox.encoding.tests.compression.colors"); - -// all CSS3 colors -dojox.encoding.tests.compression.colors = { -aliceblue: [240,248,255], -antiquewhite: [250,235,215], -aqua: [0,255,255], -aquamarine: [127,255,212], -azure: [240,255,255], -beige: [245,245,220], -bisque: [255,228,196], -black: [0,0,0], -blanchedalmond: [255,235,205], -blue: [0,0,255], -blueviolet: [138,43,226], -brown: [165,42,42], -burlywood: [222,184,135], -cadetblue: [95,158,160], -chartreuse: [127,255,0], -chocolate: [210,105,30], -coral: [255,127,80], -cornflowerblue: [100,149,237], -cornsilk: [255,248,220], -crimson: [220,20,60], -cyan: [0,255,255], -darkblue: [0,0,139], -darkcyan: [0,139,139], -darkgoldenrod: [184,134,11], -darkgray: [169,169,169], -darkgreen: [0,100,0], -darkgrey: [169,169,169], -darkkhaki: [189,183,107], -darkmagenta: [139,0,139], -darkolivegreen: [85,107,47], -darkorange: [255,140,0], -darkorchid: [153,50,204], -darkred: [139,0,0], -darksalmon: [233,150,122], -darkseagreen: [143,188,143], -darkslateblue: [72,61,139], -darkslategray: [47,79,79], -darkslategrey: [47,79,79], -darkturquoise: [0,206,209], -darkviolet: [148,0,211], -deeppink: [255,20,147], -deepskyblue: [0,191,255], -dimgray: [105,105,105], -dimgrey: [105,105,105], -dodgerblue: [30,144,255], -firebrick: [178,34,34], -floralwhite: [255,250,240], -forestgreen: [34,139,34], -fuchsia: [255,0,255], -gainsboro: [220,220,220], -ghostwhite: [248,248,255], -gold: [255,215,0], -goldenrod: [218,165,32], -gray: [128,128,128], -green: [0,128,0], -greenyellow: [173,255,47], -grey: [128,128,128], -honeydew: [240,255,240], -hotpink: [255,105,180], -indianred: [205,92,92], -indigo: [75,0,130], -ivory: [255,255,240], -khaki: [240,230,140], -lavender: [230,230,250], -lavenderblush: [255,240,245], -lawngreen: [124,252,0], -lemonchiffon: [255,250,205], -lightblue: [173,216,230], -lightcoral: [240,128,128], -lightcyan: [224,255,255], -lightgoldenrodyellow: [250,250,210], -lightgray: [211,211,211], -lightgreen: [144,238,144], -lightgrey: [211,211,211], -lightpink: [255,182,193], -lightsalmon: [255,160,122], -lightseagreen: [32,178,170], -lightskyblue: [135,206,250], -lightslategray: [119,136,153], -lightslategrey: [119,136,153], -lightsteelblue: [176,196,222], -lightyellow: [255,255,224], -lime: [0,255,0], -limegreen: [50,205,50], -linen: [250,240,230], -magenta: [255,0,255], -maroon: [128,0,0], -mediumaquamarine: [102,205,170], -mediumblue: [0,0,205], -mediumorchid: [186,85,211], -mediumpurple: [147,112,219], -mediumseagreen: [60,179,113], -mediumslateblue: [123,104,238], -mediumspringgreen: [0,250,154], -mediumturquoise: [72,209,204], -mediumvioletred: [199,21,133], -midnightblue: [25,25,112], -mintcream: [245,255,250], -mistyrose: [255,228,225], -moccasin: [255,228,181], -navajowhite: [255,222,173], -navy: [0,0,128], -oldlace: [253,245,230], -olive: [128,128,0], -olivedrab: [107,142,35], -orange: [255,165,0], -orangered: [255,69,0], -orchid: [218,112,214], -palegoldenrod: [238,232,170], -palegreen: [152,251,152], -paleturquoise: [175,238,238], -palevioletred: [219,112,147], -papayawhip: [255,239,213], -peachpuff: [255,218,185], -peru: [205,133,63], -pink: [255,192,203], -plum: [221,160,221], -powderblue: [176,224,230], -purple: [128,0,128], -red: [255,0,0], -rosybrown: [188,143,143], -royalblue: [65,105,225], -saddlebrown: [139,69,19], -salmon: [250,128,114], -sandybrown: [244,164,96], -seagreen: [46,139,87], -seashell: [255,245,238], -sienna: [160,82,45], -silver: [192,192,192], -skyblue: [135,206,235], -slateblue: [106,90,205], -slategray: [112,128,144], -slategrey: [112,128,144], -snow: [255,250,250], -springgreen: [0,255,127], -steelblue: [70,130,180], -tan: [210,180,140], -teal: [0,128,128], -thistle: [216,191,216], -tomato: [255,99,71], -turquoise: [64,224,208], -violet: [238,130,238], -wheat: [245,222,179], -white: [255,255,255], -whitesmoke: [245,245,245], -yellow: [255,255,0], -yellowgreen: [154,205,50] -}; - -} diff --git a/includes/js/dojox/encoding/tests/compression/colors2.html b/includes/js/dojox/encoding/tests/compression/colors2.html deleted file mode 100644 index 24bb9fe..0000000 --- a/includes/js/dojox/encoding/tests/compression/colors2.html +++ /dev/null @@ -1,104 +0,0 @@ - - - Compress colors - - - - - - -

            Compress colors

            -

            -
            No status yet.
            - - diff --git a/includes/js/dojox/encoding/tests/compression/colors2.js b/includes/js/dojox/encoding/tests/compression/colors2.js deleted file mode 100644 index 52f9186..0000000 --- a/includes/js/dojox/encoding/tests/compression/colors2.js +++ /dev/null @@ -1,64 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.compression.colors2"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.compression.colors2"] = true; -dojo.provide("dojox.encoding.tests.compression.colors2"); - -// all CSS3 colors -dojox.encoding.tests.compression.colors2 = {}; - -(function(){ - var n = "!mi-='%@Md%8;F\"=E5(:$@nHf!(;HYAOL),#XJKa#UHDMYQ0@q6C8='JBa#m1`YRS;3_\\P=@.(bN\\!)0d:Nar*Fo]]G`\\[X7Cb@r#pc;D3!k*8^\"bS8DAYbu'J5[`7Fh5S1e8`@1^N\"n8R:+ZQt]Ab.S>NP-jkO\"N$oQpbVbYtZl1&rSs%_;'!e8\"ij:*R!%9&P.+o0%cF&0F<\"eWn+rm!a<(02!d\\-J\\O@`K![IaPrqh6H4S!U7CU!\"5jICR2\\X?!FilaO:$aE\"G1NIfMJ<.)1d;?OH9VU%LiGhi9=d?$EjW!BM0)1mGfg@\"os1\\E*A>+>YdjUK:P>T'7tj.UQ?<89]$:\\Li]GF*H8o*Z,o]Q_E]tq?C^%'^cfU9B9sH-^t.-R;J6P9!buNg*%$9#>Y'*n;MPc7=>*]sb&NmgKSZcd2nWt6I@SX7agi3!0)M'T3O@@/>W+I:H9?@A7tjT8':(9PG\\m@_T8Ws\\\".VLCkg7IYKZ7M3.XQqX$4V`bEQF?<#jJ>#4Z#6:ZeYffa.W#0CW3@s2*ESkiD6hN#EAhXBm5F%&U_=k*tFq@rYS/!:$=M9epZ<`=HN:X\"!CRI(`>iqTRe(S@A\"&0!Dib&)1p9P)$NZb^e+i_UHHq\\_8AYC+oiIMLj_TW=u'3Nn?c=#_6Z^s/;EY/3Z(cZ\"CaOq6g>>I+;'H>Nh`>\"-3NDnX+!(g67=pRcf38l7XNQ:_FJ,l2V)C@@A;H1dN#\\$n75qg6-:\".KQkn!?a7e\"J7C0p3Pn`]hKrG_4WG*5qo\\tH,20o2QOZljnj_lZ&C6!.u8Qu:_L$8$4.[V@`&A0J,fQL"; - var c = "nG*%[ldl.:s*t'unGiO]p\"]T._uKc;s6Io0!<7p,ih\\+ShRJ>JStLT5!7GR&s*mjUQ0nVHgtWT+!<<'!!/gi8Mn\"KLWMuisA,rU.WP,cVMZAZ8CG5^H!1>UdMZs7$&&[*;i\\9)sSDs7#O?N99:!s7#]/quHcnc)oX\\n:6&Is8VrldaQ[oORA4Ze'n?*_>g0S+L8#&cMDa@RV#^Na!8;DCmc^[I^5QAOBh4WT.i9#OiJH#TL]T8+>C#Ot='Dd6\"oV>kIMc]rOm\\!H0^qda@cKf4Kc#A2pE.F&MqYC3lIn#$sd^4r5J:Q:ef`,GO5iC#WK'r>>= 8; y = t & 255; t >>>= 8; - r.push(t >>> 8, t & 255, y, x); - } - return r; - }; - var B = function(f){ this.f = f; this.y = this.t = 0; }; - B.prototype.g = function(b){ - var r = 0; - while(b){ - var w = Math.min(b, 8 - this.t), v = this.f[this.y] >>> (8 - this.t - w); - r <<= w; r |= v & ~(~0 << w); - if((this.t += w) == 8){ ++this.y; this.t = 0; } - b -= w; - } - return r; - }; - var D = function(n, w){ - this.c = new Array(n); this.w = w; this.p = -1; - for(var i = 0; i < n; ++i){ this.c[i] = [i + 97]; } - }; - D.prototype.d = function(s){ - var c = s.g(this.w), v; - if(c < this.c.length){ - v = this.c[c]; - if(this.p >= 0){ - this.c.push(this.c[this.p].concat(v[0])); - } - }else{ - this.c.push([]); - ++this.w; - return []; - } - this.p = c; - return v; - }; - var i = new B(a(n)), d = new D(27, 5), t = []; - while(t.length < 1455){ - var v = d.d(i); - dojo.forEach(v, function(x){ t.push(x); }); - } - var n2 = dojo.map(t, function(x){ return String.fromCharCode(x); }).join("").split("{"); - i = a(c); - for(var j = 0, k = 0; j < n2.length; ++j){ - dojox.encoding.tests.compression.colors2[n2[j]] = [i[k++], i[k++], i[k++]]; - } - -})(); - -} diff --git a/includes/js/dojox/encoding/tests/compression/colors3.html b/includes/js/dojox/encoding/tests/compression/colors3.html deleted file mode 100644 index 482c75d..0000000 --- a/includes/js/dojox/encoding/tests/compression/colors3.html +++ /dev/null @@ -1,104 +0,0 @@ - - - Compress colors - - - - - - -

            Compress colors

            -

            -
            No status yet.
            - - diff --git a/includes/js/dojox/encoding/tests/compression/colors3.js b/includes/js/dojox/encoding/tests/compression/colors3.js deleted file mode 100644 index f0a1587..0000000 --- a/includes/js/dojox/encoding/tests/compression/colors3.js +++ /dev/null @@ -1,53 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.compression.colors3"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.compression.colors3"] = true; -dojo.provide("dojox.encoding.tests.compression.colors3"); - -// all CSS3 colors -dojox.encoding.tests.compression.colors3 = {}; - -(function(){ - var n = "!N!C@\",5%;!.4)1D7()4E!K!FS-!2).Q:52E`!B\"!;!)*+I!M!#&'E+9%(#!T9Q=.\"TE5F'6%$B91H/)DCQW=^&G#QY>:\"!!?*#D.57Z.]5**+0]/!G!!,X=/%2O'%1U&#W9%%86_BQU3#!N.!DA-%F>X'#9;6\"%+EK)X#A+A;+-+\"G\"T$76:L1;)'+?ENA1%L+C\\O+U+\"Q!+#,E+.E1H-[VA#\"5%O\\X)BS:%V2&2#,3I0NWE%F7?L8U!U\\\\B3C_GZ?P3N]A3\\]$)%TUK$E9EL6ZA`T%IFY$Q?/3;=Q)$QE#AQ\\11$&M!'$$XK!T?2%C7QU\"110A#/#:'U=C!7,\"=*!+BQ)%AG[)W&#CFBG\"A!/1E!5/$AU\"A/$J:*E+LQ77;%M6H/XD,H1'!)#U=&K1\"&R02U'$H5*[%Y+$3;/1'#\"-XQV8C(/GABVQQW+RS5U3QE!V<6[=YS@!0=1!:Z=93M$7W\":3;!Z0!GJM'\"QGAJ*=3(C&5I=0,6AP6H4+=:M:B)CO-D?]<,2^H-`7SEB(B5N5%Z9P!8BM`FK@D!9*!ZQ]]/D1SF[%RG.D+HO(8QI.BK.RS*/C#/GJOTUU/WSTX19$R[$T#'P&L\"]V03\\_Y5_UH!?/!;\"J>YHO%8S_`2]/H`T_'%?B4?AX!.:^X!Z9E0A!!S\"5M\"A:2^?AA2R*9;!.!!&1!!E:AN)7'16,AM\"+\"Y'D0.'*Q=.%!S)!'*S)@5*$7D*9H@#U710\"MUG4,)Z'!F-%15E\"\"J!#+$A0':>#G?1%8G#29I31U:2H\"I:3AK4C&C;ZY\"J[C]HG6!3&*4K!!AP9:IA#T2\"'A%-+9]WWJ*MU3I\"MWY\")$79\"*]QZ@:[ZZ#^43G=Q;!P)E%QN3RZQ4!Y.KP\"J_8\\B/3RD#S6+YB]*&!3M6A+#2Q'9M-&DI!!"; - var c = "]0D`_OP8!0``@``5]0``^@8=`_4%!!!!`_P.!!$`CCPCJ3IKXLC(8Z[A@`]!UGE?`X^1:*8N``D=X\"1]!0``!!#,!)O,O)9,K;GJ!'1!K;GJP<>LCQ#,67MP`YQ!G4,-CQ!![::[D\\S03$W,,U^0,U^0!-\\2F!$4`R34!,``;7FJ;7FJ(J$`MC)C``LQ)IMC`Q$`X.T=_0D``^=!WK5AA)#!!)!!L@]PA)#!]0`Q`WGUT6R=3Q##```Q]/;-ZO<[``$V@0Q!``L.L>DG])#!Y0``_PL3U^04E/[1U^04`\\<\"`[\"[),+KB]\\[>YC:>YC:M-4?```A!0]!-MUS_P$G`Q$`A!!!:MWK!!$.OF84EX$<0,.R?WDO!0K;3.(-RR7&'2FQ^@`[`_4B`_3V`^[N!!#!`@8GA)!!;YYD`[5!`U5!WH$7\\OCKG0O9L_\\OWX#4`_`6`^KZT95``]$,X;$>M/$GA!#!`Q!!P)_017HBCU54_I\"S^+2A,IN8``8OI&)NQ-$!B]\\L;FL.=)#1=)#1``L[!0^`2I+UUL3-!)#!W,`9`W.(1/$1\\I,O^>[T````^@8V``]!GMUS!!!!"; - var B = function(f){ var t = this; t.f = f; t.y = t.t = 0; t.x = f.charCodeAt(0) - 33; }; - B.prototype.g = function(b){ - var r = 0, t = this; - while(b){ - var w = Math.min(b, 6 - t.t), v = t.x >>> (6 - t.t - w); - r <<= w; r |= v & ~(~0 << w); - if((t.t += w) == 6){ t.x = t.f.charCodeAt(++t.y) - 33; t.t = 0; } - b -= w; - } - return r; - }; - var D = function(n, w){ - this.c = new Array(n); this.w = w; this.p = -1; - for(var i = 0; i < n; ++i){ this.c[i] = [i + 97]; } - }; - D.prototype.d = function(s){ - var c = s.g(this.w), t = this, v; - if(c < t.c.length){ - v = t.c[c]; - if(t.p >= 0){ - t.c.push(t.c[t.p].concat(v[0])); - } - }else{ - t.c.push([]); - ++t.w; - return []; - } - t.p = c; - return v; - }; - var i = new B(n), d = new D(27, 5), t = []; - while(t.length < 1455){ - var v = d.d(i); - dojo.forEach(v, function(x){ t.push(x); }); - } - var n2 = dojo.map(t, function(x){ return String.fromCharCode(x); }).join("").split("{"); - i = new B(c); - for(var j = 0; j < n2.length; ++j){ - dojox.encoding.tests.compression.colors3[n2[j]] = [i.g(8), i.g(8), i.g(8)]; - } -})(); - -} diff --git a/includes/js/dojox/encoding/tests/compression/lzw.js b/includes/js/dojox/encoding/tests/compression/lzw.js deleted file mode 100644 index 7956a0e..0000000 --- a/includes/js/dojox/encoding/tests/compression/lzw.js +++ /dev/null @@ -1,54 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.compression.lzw"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.compression.lzw"] = true; -dojo.provide("dojox.encoding.tests.compression.lzw"); -dojo.require("dojox.encoding.compression.lzw"); -dojo.require("dojox.encoding.bits"); - -(function(){ - var msg1 = "The rain in Spain falls mainly on the plain."; - var msg2 = "The rain in Spain falls mainly on the plain.1"; - var msg3 = "The rain in Spain falls mainly on the plain.ab"; - var msg4 = "The rain in Spain falls mainly on the plain.!@#"; - var dc = dojox.encoding.compression, dcb = dojox.encoding.bits, dcl = dc.lzw; - - var s2b = function(s){ - var b = []; - for(var i = 0; i < s.length; ++i){ - b.push(s.charCodeAt(i)); - } - return b; - }; - - var b2s = function(b){ - var s = []; - dojo.forEach(b, function(c){ s.push(String.fromCharCode(c)); }); - return s.join(""); - }; - - var encode = function(msg){ - var x = new dcb.OutputStream(), encoder = new dcl.Encoder(128); - dojo.forEach(s2b(msg), function(v){ encoder.encode(v, x); }); - encoder.flush(x); - console.debug("bits =", x.getWidth()); - return x.getBuffer(); - }; - - var decode = function(n, buf){ - var x = new dcb.InputStream(buf, buf.length * 8), decoder = new dcl.Decoder(128), t = [], w = 0; - while(w < n){ - var v = decoder.decode(x); - t.push(v); - w += v.length; - } - return t.join(""); - }; - - tests.register("dojox.encoding.tests.compression.lzw", [ - function testLzwMsg1(t){ t.assertEqual(msg1, decode(msg1.length, encode(msg1))); }, - function testLzwMsg2(t){ t.assertEqual(msg2, decode(msg2.length, encode(msg2))); }, - function testLzwMsg3(t){ t.assertEqual(msg3, decode(msg3.length, encode(msg3))); }, - function testLzwMsg4(t){ t.assertEqual(msg4, decode(msg4.length, encode(msg4))); } - ]); -})(); - -} diff --git a/includes/js/dojox/encoding/tests/compression/runTests.html b/includes/js/dojox/encoding/tests/compression/runTests.html deleted file mode 100644 index 4a24eef..0000000 --- a/includes/js/dojox/encoding/tests/compression/runTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - DojoX Compression Unit Test Runner - - - -

            Redirecting to D.O.H runner.

            - - diff --git a/includes/js/dojox/encoding/tests/compression/splay.js b/includes/js/dojox/encoding/tests/compression/splay.js deleted file mode 100644 index 44d157c..0000000 --- a/includes/js/dojox/encoding/tests/compression/splay.js +++ /dev/null @@ -1,49 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.compression.splay"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.compression.splay"] = true; -dojo.provide("dojox.encoding.tests.compression.splay"); -dojo.require("dojox.encoding.compression.splay"); -dojo.require("dojox.encoding.bits"); - -(function(){ - var msg1 = "The rain in Spain falls mainly on the plain."; - var msg2 = "The rain in Spain falls mainly on the plain.1"; - var msg3 = "The rain in Spain falls mainly on the plain.ab"; - var msg4 = "The rain in Spain falls mainly on the plain.!@#"; - var dc = dojox.encoding.compression, dcb = dojox.encoding.bits; - - var s2b = function(s){ - var b = []; - for(var i = 0; i < s.length; ++i){ - b.push(s.charCodeAt(i)); - } - return b; - }; - - var b2s = function(b){ - var s = []; - dojo.forEach(b, function(c){ s.push(String.fromCharCode(c)); }); - return s.join(""); - }; - - var encode = function(msg){ - var x = new dcb.OutputStream(), encoder = new dc.Splay(256); - dojo.forEach(s2b(msg), function(v){ encoder.encode(v, x); }); - console.debug("bits =", x.getWidth()); - return x.getBuffer(); - }; - - var decode = function(n, buf){ - var x = new dcb.InputStream(buf, buf.length * 8), decoder = new dc.Splay(256), t = []; - for(var i = 0; i < n; ++i){ t.push(decoder.decode(x)); } - return b2s(t); - }; - - tests.register("dojox.encoding.tests.compression.splay", [ - function testSplayMsg1(t){ t.assertEqual(msg1, decode(msg1.length, encode(msg1))); }, - function testSplayMsg2(t){ t.assertEqual(msg2, decode(msg2.length, encode(msg2))); }, - function testSplayMsg3(t){ t.assertEqual(msg3, decode(msg3.length, encode(msg3))); }, - function testSplayMsg4(t){ t.assertEqual(msg4, decode(msg4.length, encode(msg4))); } - ]); -})(); - -} diff --git a/includes/js/dojox/encoding/tests/compression/test.html b/includes/js/dojox/encoding/tests/compression/test.html deleted file mode 100644 index 8f07c59..0000000 --- a/includes/js/dojox/encoding/tests/compression/test.html +++ /dev/null @@ -1,61 +0,0 @@ - - - Test colors - - - - - - - -

            Test colors

            -

            -
            No status yet.
            - - diff --git a/includes/js/dojox/encoding/tests/compression/vq.html b/includes/js/dojox/encoding/tests/compression/vq.html deleted file mode 100644 index 7805bd4..0000000 --- a/includes/js/dojox/encoding/tests/compression/vq.html +++ /dev/null @@ -1,185 +0,0 @@ - - - Compress colors using VQ - - - - - - -

            Compress colors using VQ

            -

            Select desirable number of clusters:  

            -
            No status yet.
            -
            No results yet.
            - - diff --git a/includes/js/dojox/encoding/tests/crypto/Blowfish.js b/includes/js/dojox/encoding/tests/crypto/Blowfish.js deleted file mode 100644 index 3f5ac54..0000000 --- a/includes/js/dojox/encoding/tests/crypto/Blowfish.js +++ /dev/null @@ -1,35 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.crypto.Blowfish"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.crypto.Blowfish"] = true; -dojo.provide("dojox.encoding.tests.crypto.Blowfish"); -dojo.require("dojox.encoding.crypto.Blowfish"); - -(function(){ - var message="The rain in Spain falls mainly on the plain."; - var key="foobar"; - var base64Encrypted="WI5J5BPPVBuiTniVcl7KlIyNMmCosmKTU6a/ueyQuoUXyC5dERzwwdzfFsiU4vBw"; - var dxc=dojox.encoding.crypto; - - tests.register("dojox.encoding.crypto.tests.Blowfish", [ - function testEncrypt(t){ - var dt=new Date(); - t.assertEqual(base64Encrypted, dxc.Blowfish.encrypt(message, key)); - doh.debug("testEncrypt: ", new Date()-dt, "ms."); - }, - function testDecrypt(t){ - var dt=new Date(); - t.assertEqual(message, dxc.Blowfish.decrypt(base64Encrypted, key)); - doh.debug("testDecrypt: ", new Date()-dt, "ms."); - }, - function testShortMessage(t){ - var msg="pass"; - var pwd="foobar"; - var dt=new Date(); - var enc=dxc.Blowfish.encrypt(msg, pwd); - var dec=dxc.Blowfish.decrypt(enc, pwd); - t.assertEqual(dec, msg); - doh.debug("testShortMessage: ", new Date()-dt, "ms."); - } - ]); -})(); - -} diff --git a/includes/js/dojox/encoding/tests/crypto/_base.js b/includes/js/dojox/encoding/tests/crypto/_base.js deleted file mode 100644 index 24dc044..0000000 --- a/includes/js/dojox/encoding/tests/crypto/_base.js +++ /dev/null @@ -1,12 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.crypto._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.crypto._base"] = true; -dojo.provide("dojox.encoding.tests.crypto._base"); -dojo.require("dojox.encoding.crypto.Blowfish"); - -try{ - dojo.require("dojox.encoding.tests.crypto.Blowfish"); -}catch(e){ - doh.debug(e); -} - -} diff --git a/includes/js/dojox/encoding/tests/crypto/runTests.html b/includes/js/dojox/encoding/tests/crypto/runTests.html deleted file mode 100644 index 31e54ed..0000000 --- a/includes/js/dojox/encoding/tests/crypto/runTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - Dojox.wire Unit Test Runner - - - Redirecting to D.O.H runner. - - diff --git a/includes/js/dojox/encoding/tests/digests/MD5.js b/includes/js/dojox/encoding/tests/digests/MD5.js deleted file mode 100644 index 8bfcfeb..0000000 --- a/includes/js/dojox/encoding/tests/digests/MD5.js +++ /dev/null @@ -1,26 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.digests.MD5"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.digests.MD5"] = true; -dojo.provide("dojox.encoding.tests.digests.MD5"); -dojo.require("dojox.encoding.digests.MD5"); - -(function(){ - var message="The rain in Spain falls mainly on the plain."; - var base64="OUhxbVZ1Mtmu4zx9LzS5cA=="; - var hex="3948716d567532d9aee33c7d2f34b970"; - var s="9HqmVu2\xD9\xAE\xE3<}/4\xB9p"; - var ded=dojox.encoding.digests; - - tests.register("dojox.encoding.tests.digests.MD5", [ - function testBase64Compute(t){ - t.assertEqual(base64, ded.MD5(message)); - }, - function testHexCompute(t){ - t.assertEqual(hex, ded.MD5(message, ded.outputTypes.Hex)); - }, - function testStringCompute(t){ - t.assertEqual(s, ded.MD5(message, ded.outputTypes.String)); - } - ]); -})(); - -} diff --git a/includes/js/dojox/encoding/tests/digests/_base.js b/includes/js/dojox/encoding/tests/digests/_base.js deleted file mode 100644 index a2bc2fd..0000000 --- a/includes/js/dojox/encoding/tests/digests/_base.js +++ /dev/null @@ -1,12 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.digests._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.digests._base"] = true; -dojo.provide("dojox.encoding.tests.digests._base"); -dojo.require("dojox.encoding.digests._base"); - -try{ - dojo.require("dojox.encoding.tests.digests.MD5"); -}catch(e){ - doh.debug(e); -} - -} diff --git a/includes/js/dojox/encoding/tests/digests/runTests.html b/includes/js/dojox/encoding/tests/digests/runTests.html deleted file mode 100644 index 6c41e6e..0000000 --- a/includes/js/dojox/encoding/tests/digests/runTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - Dojox.wire Unit Test Runner - - - Redirecting to D.O.H runner. - - diff --git a/includes/js/dojox/encoding/tests/easy64.js b/includes/js/dojox/encoding/tests/easy64.js deleted file mode 100644 index 93876b1..0000000 --- a/includes/js/dojox/encoding/tests/easy64.js +++ /dev/null @@ -1,35 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.easy64"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.easy64"] = true; -dojo.provide("dojox.encoding.tests.easy64"); -dojo.require("dojox.encoding.easy64"); - -(function(){ - var msg1 = "The rain in Spain falls mainly on the plain."; - var msg2 = "The rain in Spain falls mainly on the plain.1"; - var msg3 = "The rain in Spain falls mainly on the plain.ab"; - var msg4 = "The rain in Spain falls mainly on the plain.!@#"; - var dce = dojox.encoding.easy64; - - var s2b = function(s){ - var b = []; - for(var i = 0; i < s.length; ++i){ - b.push(s.charCodeAt(i)); - } - return b; - }; - - var b2s = function(b){ - var s = []; - dojo.forEach(b, function(c){ s.push(String.fromCharCode(c)); }); - return s.join(""); - }; - - tests.register("dojox.encoding.tests.easy64", [ - function testEasyMsg1(t){ t.assertEqual(msg1, b2s(dce.decode(dce.encode(s2b(msg1))))); }, - function testEasyMsg2(t){ t.assertEqual(msg2, b2s(dce.decode(dce.encode(s2b(msg2))))); }, - function testEasyMsg3(t){ t.assertEqual(msg3, b2s(dce.decode(dce.encode(s2b(msg3))))); }, - function testEasyMsg4(t){ t.assertEqual(msg4, b2s(dce.decode(dce.encode(s2b(msg4))))); } - ]); -})(); - -} diff --git a/includes/js/dojox/encoding/tests/encoding.js b/includes/js/dojox/encoding/tests/encoding.js deleted file mode 100644 index 9d492cd..0000000 --- a/includes/js/dojox/encoding/tests/encoding.js +++ /dev/null @@ -1,13 +0,0 @@ -if(!dojo._hasResource["dojox.encoding.tests.encoding"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.encoding.tests.encoding"] = true; -dojo.provide("dojox.encoding.tests.encoding"); - -try{ - dojo.require("dojox.encoding.tests.ascii85"); - dojo.require("dojox.encoding.tests.easy64"); - dojo.require("dojox.encoding.tests.bits"); -}catch(e){ - doh.debug(e); -} - -} diff --git a/includes/js/dojox/encoding/tests/runTests.html b/includes/js/dojox/encoding/tests/runTests.html deleted file mode 100644 index b79c2d9..0000000 --- a/includes/js/dojox/encoding/tests/runTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - DojoX Compression Unit Test Runner - - - -

            Redirecting to D.O.H runner.

            - - diff --git a/includes/js/dojox/flash.js b/includes/js/dojox/flash.js deleted file mode 100644 index 75e2752..0000000 --- a/includes/js/dojox/flash.js +++ /dev/null @@ -1,6 +0,0 @@ -if(!dojo._hasResource["dojox.flash"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.flash"] = true; -dojo.provide("dojox.flash"); -dojo.require("dojox.flash._base"); - -} diff --git a/includes/js/dojox/flash/DojoExternalInterface.as b/includes/js/dojox/flash/DojoExternalInterface.as deleted file mode 100644 index d857968..0000000 --- a/includes/js/dojox/flash/DojoExternalInterface.as +++ /dev/null @@ -1,168 +0,0 @@ -/** - A wrapper around Flash 8's ExternalInterface; this is needed - because ExternalInterface has a number of serialization bugs that we - need to correct for. - - @author Brad Neuberg -*/ - -import flash.external.ExternalInterface; - -class DojoExternalInterface{ - public static var available:Boolean; - public static var dojoPath = ""; - - public static function initialize(){ - //trace("DojoExternalInterface.initialize"); - - // extract the dojo base path - DojoExternalInterface.dojoPath = DojoExternalInterface.getDojoPath(); - - // see if we need to do an express install - var install:ExpressInstall = new ExpressInstall(); - if(install.needsUpdate){ - install.init(); - } - - // set whether communication is available - DojoExternalInterface.available = ExternalInterface.available; - } - - /** Called when we are finished adding methods through addCallback. */ - public static function done(){ - //trace("done"); - DojoExternalInterface.call("dojox.flash.loaded"); - } - - public static function addCallback(methodName:String, instance:Object, - method:Function):Boolean{ - //trace("addCallback"); - ExternalInterface.addCallback(methodName, instance, function(){ - instance = (instance) ? instance : null; - var params = []; - if(arguments && arguments.length){ - for(var i = 0; i < arguments.length; i++){ - params[i] = DojoExternalInterface.decodeData(arguments[i]); - } - } - - var results = method.apply(instance, params); - results = DojoExternalInterface.encodeData(results); - - return results; - }); - - // tell JavaScript about DojoExternalInterface new method so we can create a proxy - ExternalInterface.call("dojox.flash.comm._addExternalInterfaceCallback", - methodName); - - return true; - } - - public static function call(methodName:String):Void{ - // we might have any number of optional arguments, so we have to - // pass them in dynamically; strip out the results callback - var parameters = new Array(); - for(var i = 0; i < arguments.length; i++){ - parameters.push(arguments[i]); - } - - // FIXME: Should we be encoding or decoding the data to get - // around Flash's serialization bugs? - - var results = ExternalInterface.call.apply(ExternalInterface, parameters); - - return results; - } - - /** - Called by Flash to indicate to JavaScript that we are ready to have - our Flash functions called. Calling loaded() - will fire the dojox.flash.loaded() event, so that JavaScript can know that - Flash has finished loading and adding its callbacks, and can begin to - interact with the Flash file. - */ - public static function loaded(){ - DojoExternalInterface.call("dojox.flash.loaded"); - } - - /** - Utility trace implementation that prints out to console.debug. - */ - public static function trace(msg){ - DojoExternalInterface.call("console.debug", "FLASH: " + msg); - } - - private static function decodeData(data):String{ - if(!data || typeof data != "string"){ - return data; - } - - // we have to use custom encodings for certain characters when passing - // them over; for example, passing a backslash over as //// from JavaScript - // to Flash doesn't work - data = replaceStr(data, "&custom_backslash;", "\\"); - - data = replaceStr(data, "\\\'", "\'"); - data = replaceStr(data, "\\\"", "\""); - - return data; - } - - private static function encodeData(data):String{ - if(!data || typeof data != "string"){ - return data; - } - - // certain XMLish characters break Flash's wire serialization for - // ExternalInterface; encode these into a custom encoding, rather than - // the standard entity encoding, because otherwise we won't be able to - // differentiate between our own encoding and any entity characters - // that are being used in the string itself - data = replaceStr(data, '<', '&custom_lt;'); - data = replaceStr(data, '>', '&custom_gt;'); - - // needed for IE - data = replaceStr(data, '\\', '&custom_backslash;'); - - // encode control characters and JavaScript delimiters - data = replaceStr(data, "\n", "\\n"); - data = replaceStr(data, "\r", "\\r"); - data = replaceStr(data, "\f", "\\f"); - data = replaceStr(data, "'", "\\'"); - data = replaceStr(data, '"', '\"'); - - return data; - } - - /** - Flash ActionScript has no String.replace method or support for - Regular Expressions! We roll our own very simple one. - */ - public static function replaceStr(inputStr:String, replaceThis:String, - withThis:String):String{ - var splitStr = inputStr.split(replaceThis); - if(!splitStr){ - return inputStr; - } - - inputStr = splitStr.join(withThis); - return inputStr; - } - - private static function getDojoPath(){ - var url = _root._url; - var start = url.indexOf("baseUrl=") + "baseUrl=".length; - var path = url.substring(start); - var end = path.indexOf("&"); - if(end != -1){ - path = path.substring(0, end); - } - - // some browsers append a junk string at the end: '%20'%20quality= - if(path.indexOf("'%20'%20quality=") != -1){ - path = path.substring(0, path.indexOf("'%20'%20quality=")); - } - return path; - } -} diff --git a/includes/js/dojox/flash/ExpressInstall.as b/includes/js/dojox/flash/ExpressInstall.as deleted file mode 100644 index 1801171..0000000 --- a/includes/js/dojox/flash/ExpressInstall.as +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Based on the expressinstall.as class created by Geoff Stearns as part - * of the FlashObject library. - * - * Use this file to invoke the Macromedia Flash Player Express Install functionality - * This file is intended for use with the FlashObject embed script. You can download FlashObject - * and this file at the following URL: http://blog.deconcept.com/flashobject/ - * - * Usage: - * var ExpressInstall = new ExpressInstall(); - * - * // test to see if install is needed: - * if (ExpressInstall.needsUpdate) { // returns true if update is needed - * ExpressInstall.init(); // starts the update - * } - * - * NOTE: Your Flash movie must be at least 214px by 137px in order to use ExpressInstall. - * - */ - -class ExpressInstall{ - public var needsUpdate:Boolean; - private var updater:MovieClip; - private var hold:MovieClip; - - public function ExpressInstall(){ - // does the user need to update? - this.needsUpdate = (_root.MMplayerType == undefined) ? false : true; - } - - public function init():Void{ - this.loadUpdater(); - } - - public function loadUpdater():Void{ - System.security.allowDomain("fpdownload.macromedia.com"); - - // hope that nothing is at a depth of 10000000, you can change this depth if needed, but you want - // it to be on top of your content if you have any stuff on the first frame - this.updater = _root.createEmptyMovieClip("expressInstallHolder", 10000000); - - // register the callback so we know if they cancel or there is an error - var _self = this; - this.updater.installStatus = _self.onInstallStatus; - this.hold = this.updater.createEmptyMovieClip("hold", 1); - - // can't use movieClipLoader because it has to work in 6.0.65 - this.updater.onEnterFrame = function():Void { - if(typeof this.hold.startUpdate == 'function'){ - _self.initUpdater(); - this.onEnterFrame = null; - } - } - - var cacheBuster:Number = Math.random(); - - this.hold.loadMovie("http://fpdownload.macromedia.com/pub/flashplayer/" - +"update/current/swf/autoUpdater.swf?"+ cacheBuster); - } - - private function initUpdater():Void{ - this.hold.redirectURL = _root.MMredirectURL; - this.hold.MMplayerType = _root.MMplayerType; - this.hold.MMdoctitle = _root.MMdoctitle; - this.hold.startUpdate(); - } - - public function onInstallStatus(msg):Void{ - getURL("javascript:dojox.flash.install._onInstallStatus('"+msg+"')"); - } -} diff --git a/includes/js/dojox/flash/README b/includes/js/dojox/flash/README deleted file mode 100644 index e01f3be..0000000 --- a/includes/js/dojox/flash/README +++ /dev/null @@ -1,31 +0,0 @@ -------------------------------------------------------------------------------- -dojox.flash -------------------------------------------------------------------------------- -Version 0.4 -Release date: MM/DD/YYYY -------------------------------------------------------------------------------- -Project state: experimental (currently broken) -------------------------------------------------------------------------------- -Project authors - Brad Neuberg (BradNeuberg@dojotoolkit.org) - Alex Russell (alex@dojotoolkit.org, only handled minor porting issues) -------------------------------------------------------------------------------- -Project description - -Infrastructure for high-performance Flash/JS communication -------------------------------------------------------------------------------- -Dependencies: - -MTASC for creating builds -------------------------------------------------------------------------------- -Documentation - -TODOC -------------------------------------------------------------------------------- -Installation instructions - -Not intended as a stand-alone module. -------------------------------------------------------------------------------- -Additional Notes - -TODOC diff --git a/includes/js/dojox/flash/_base.js b/includes/js/dojox/flash/_base.js deleted file mode 100644 index 5a372dd..0000000 --- a/includes/js/dojox/flash/_base.js +++ /dev/null @@ -1,762 +0,0 @@ -if(!dojo._hasResource["dojox.flash._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.flash._base"] = true; -dojo.provide("dojox.flash._base"); - -// for dijit.getViewport(), needed by dojox.flash.Embed.center() -dojo.require("dijit._base.place"); - -dojox.flash = function(){ - // summary: - // The goal of dojox.flash is to make it easy to extend Flash's capabilities - // into an Ajax/DHTML environment. - // - // dojox.flash provides an easy object for interacting with the Flash plugin. - // This object provides methods to determine the current version of the Flash - // plugin (dojox.flash.info); write out the necessary markup to - // dynamically insert a Flash object into the page (dojox.flash.Embed; and - // do dynamic installation and upgrading of the current Flash plugin in - // use (dojox.flash.Install). If you want to call methods on the Flash object - // embedded into the page it is your responsibility to use Flash's ExternalInterface - // API and get a reference to the Flash object yourself. - // - // To use dojox.flash, you must first wait until Flash is finished loading - // and initializing before you attempt communication or interaction. - // To know when Flash is finished use dojo.connect: - // - // dojo.connect(dojox.flash, "loaded", myInstance, "myCallback"); - // - // Then, while the page is still loading provide the file name: - // - // dojox.flash.setSwf(dojo.moduleUrl("dojox", "_storage/storage.swf")); - // - // If no SWF files are specified, then Flash is not initialized. - // - // Your Flash must use Flash's ExternalInterface to expose Flash methods and - // to call JavaScript. - // - // setSwf can take an optional 'visible' attribute to control whether - // the Flash object is visible or not on the page; the default is visible: - // - // dojox.flash.setSwf(dojo.moduleUrl("dojox", "_storage/storage.swf"), - // false); - // - // Once finished, you can query Flash version information: - // - // dojox.flash.info.version - // - // Or can communicate with Flash methods that were exposed: - // - // var f = dojox.flash.get(); - // var results = f.sayHello("Some Message"); - // - // Your Flash files should use DojoExternalInterface.as to register methods; - // this file wraps Flash's normal ExternalInterface but correct various - // serialization bugs that ExternalInterface has. - // - // Note that dojox.flash is not meant to be a generic Flash embedding - // mechanism; it is as generic as necessary to make Dojo Storage's - // Flash Storage Provider as clean and modular as possible. If you want - // a generic Flash embed mechanism see SWFObject - // (http://blog.deconcept.com/swfobject/). - // - // Notes: - // Note that dojox.flash can currently only work with one Flash object - // on the page; it does not yet support multiple Flash objects on - // the same page. - // - // Your code can detect whether the Flash player is installing or having - // its version revved in two ways. First, if dojox.flash detects that - // Flash installation needs to occur, it sets dojox.flash.info.installing - // to true. Second, you can detect if installation is necessary with the - // following callback: - // - // dojo.connect(dojox.flash, "installing", myInstance, "myCallback"); - // - // You can use this callback to delay further actions that might need Flash; - // when installation is finished the full page will be refreshed and the - // user will be placed back on your page with Flash installed. - // - // ------------------- - // Todo/Known Issues - // ------------------- - // * On Internet Explorer, after doing a basic install, the page is - // not refreshed or does not detect that Flash is now available. The way - // to fix this is to create a custom small Flash file that is pointed to - // during installation; when it is finished loading, it does a callback - // that says that Flash installation is complete on IE, and we can proceed - // to initialize the dojox.flash subsystem. - // * Things aren't super tested for sending complex objects to Flash - // methods, since Dojo Storage only needs strings - // - // Author- Brad Neuberg, http://codinginparadise.org -} - -dojox.flash = { - ready: false, - url: null, - - _visible: true, - _loadedListeners: new Array(), - _installingListeners: new Array(), - - setSwf: function(/* String */ url, /* boolean? */ visible){ - // summary: Sets the SWF files and versions we are using. - // url: String - // The URL to this Flash file. - // visible: boolean? - // Whether the Flash file is visible or not. If it is not visible we hide it off the - // screen. This defaults to true (i.e. the Flash file is visible). - this.url = url; - - if(typeof visible != "undefined"){ - this._visible = visible; - } - - // initialize ourselves - this._initialize(); - }, - - addLoadedListener: function(/* Function */ listener){ - // summary: - // Adds a listener to know when Flash is finished loading. - // Useful if you don't want a dependency on dojo.event. - // listener: Function - // A function that will be called when Flash is done loading. - - this._loadedListeners.push(listener); - }, - - addInstallingListener: function(/* Function */ listener){ - // summary: - // Adds a listener to know if Flash is being installed. - // Useful if you don't want a dependency on dojo.event. - // listener: Function - // A function that will be called if Flash is being - // installed - - this._installingListeners.push(listener); - }, - - loaded: function(){ - // summary: Called back when the Flash subsystem is finished loading. - // description: - // A callback when the Flash subsystem is finished loading and can be - // worked with. To be notified when Flash is finished loading, add a - // loaded listener: - // - // dojox.flash.addLoadedListener(loadedListener); - - dojox.flash.ready = true; - if(dojox.flash._loadedListeners.length > 0){ - for(var i = 0;i < dojox.flash._loadedListeners.length; i++){ - dojox.flash._loadedListeners[i].call(null); - } - } - }, - - installing: function(){ - // summary: Called if Flash is being installed. - // description: - // A callback to know if Flash is currently being installed or - // having its version revved. To be notified if Flash is installing, connect - // your callback to this method using the following: - // - // dojo.event.connect(dojox.flash, "installing", myInstance, "myCallback"); - - if(dojox.flash._installingListeners.length > 0){ - for(var i = 0; i < dojox.flash._installingListeners.length; i++){ - dojox.flash._installingListeners[i].call(null); - } - } - }, - - // Initializes dojox.flash. - _initialize: function(){ - //console.debug("dojox.flash._initialize"); - // see if we need to rev or install Flash on this platform - var installer = new dojox.flash.Install(); - dojox.flash.installer = installer; - - if(installer.needed() == true){ - installer.install(); - }else{ - // write the flash object into the page - dojox.flash.obj = new dojox.flash.Embed(this._visible); - dojox.flash.obj.write(); - - // setup the communicator - dojox.flash.comm = new dojox.flash.Communicator(); - } - } -}; - - -dojox.flash.Info = function(){ - // summary: A class that helps us determine whether Flash is available. - // description: - // A class that helps us determine whether Flash is available, - // it's major and minor versions, and what Flash version features should - // be used for Flash/JavaScript communication. Parts of this code - // are adapted from the automatic Flash plugin detection code autogenerated - // by the Macromedia Flash 8 authoring environment. - // - // An instance of this class can be accessed on dojox.flash.info after - // the page is finished loading. - // - // This constructor must be called before the page is finished loading. - - // Visual basic helper required to detect Flash Player ActiveX control - // version information on Internet Explorer - if(dojo.isIE){ - document.write([ - ' - - - - - -

            Test Dojox Flash

            - -

            For detailed test output see Firebug console (if Firefox). - This test should be run on Firefox, Internet Explorer, and Safari - to confirm that Dojox Flash is working correctly.

            - - \ No newline at end of file diff --git a/includes/js/dojox/flash/tests/test_flash.js b/includes/js/dojox/flash/tests/test_flash.js deleted file mode 100644 index 1b26eb2..0000000 --- a/includes/js/dojox/flash/tests/test_flash.js +++ /dev/null @@ -1,155 +0,0 @@ -// TODO: FIXME: Refactor this to use D.O.H. instead of its own assertions - -dojo.require("dojox.flash"); - -var flashLoaded = false; -var pageLoaded = false; -var testXML = testBook = null; - -function flashReady(){ - console.debug("flashReady"); - flashLoaded = true; - - if(isReady()){ - run(); - } -} - -function pageReady(){ - console.debug("pageReady"); - pageLoaded = true; - - loadResources(); - - if(isReady()){ - run(); - } -} - -function isReady(){ - return testXML && testBook && pageLoaded && flashLoaded; -} - -function loadResources(){ - console.debug("Trying to load resources"); - - var d = dojo.xhrGet({ - url: "../../storage/tests/resources/testXML.xml", - handleAs: "text" - }); - - d.addCallback(function(results){ - console.debug("testXML loaded"); - testXML = results; - if(isReady()){ - run(); - } - }); - - d.addErrback(function(error){ - console.debug("Unable to load testXML.xml: " + error); - }); - - d = dojo.xhrGet({ - url: "../../storage/tests/resources/testBook.txt", - handleAs: "text" - }); - - d.addCallback(function(results){ - console.debug("testBook loaded"); - testBook = results; - if(isReady()){ - run(); - } - }); - - d.addErrback(function(error){ - console.debug("Unable to load testXML.xml: " + error); - }); -} - -function run(){ - console.debug("run"); - try{ - var correct, actual; - - console.debug("Setting simple message..."); - correct = "hello world"; - dojox.flash.comm.setMessage(correct); - actual = dojox.flash.comm.getMessage(); - assert(correct, actual, "Setting/getting simple message did not work"); - - console.debug("Setting message with evil characters..."); - // our correct and actual values get tricky when we have double back - // slashes; do a trick so that they can be compared easier - var doubleSlash = "\\"; - doubleSlash = doubleSlash.charAt(0); - correct = "hello world\n\n\nasdfasdf!@#$@#%^[]{}&" + doubleSlash - + "
            $%^&%^&*^&()<><><>,./;\0\r\f\'][`~=\"+-]MORE!\n\rLESS"; - dojox.flash.comm.setMessage(correct); - actual = dojox.flash.comm.getMessage(); - assert(correct, actual, "Setting/getting message with evil characters did not work"); - - console.debug("Setting testXML..."); - correct = testXML; - dojox.flash.comm.setMessage(correct); - actual = dojox.flash.comm.getMessage(); - assert(correct, actual, "Setting/getting testXML did not work"); - - console.debug("Setting testBook(~300K)..."); - correct = testBook; - dojox.flash.comm.setMessage(correct); - actual = dojox.flash.comm.getMessage(); - assert(correct, actual, "Setting/getting testBook did not work"); - - console.debug("Setting testBook 3 times (~900K)..."); - correct = testBook + testBook + testBook; - dojox.flash.comm.setMessage(correct); - actual = dojox.flash.comm.getMessage(); - assert(correct, actual, "Setting/getting testBook X 3 did not work"); - - console.debug("Setting JSON..."); - var obj = {type: "car", color: "red", model: "Ford", year: "2008", - features: ["A/C", "automatic", "4-wheel drive"]}; - correct = dojo.toJson(obj, true); - dojox.flash.comm.setMessage(correct); - actual = dojox.flash.comm.getMessage(); - assert(correct, actual, "Setting/getting JSON did not work"); - - console.debug("Calling method that takes multiple values..."); - actual = dojox.flash.comm.multipleValues("key", "value", "namespace"); - assert("namespacekeyvalue", actual, "Setting/getting multiple values did not work"); - - var allPassed = document.createElement("p"); - allPassed.style.backgroundColor = "green"; - allPassed.style.color = "white"; - allPassed.style.fontSize = "24pt"; - allPassed.appendChild(document.createTextNode("All tests passed")); - var body = document.getElementsByTagName("body")[0]; - body.appendChild(allPassed); - }catch(e){ - console.debug(e.message || e); - } -} - -function assert(correct, actual, msg){ - //alert("correct="+correct+",\n\nactual="+actual); - if(correct != actual){ - var failed = document.createElement("p"); - failed.style.backgroundColor = "red"; - failed.style.color = "white"; - failed.style.fontSize = "24pt"; - failed.appendChild(document.createTextNode("Test failed: " + msg)); - var body = document.getElementsByTagName("body")[0]; - body.appendChild(failed); - - throw new Error("ASSERTION FAILED: " + msg); - }else{ - console.debug("Assertion passed"); - } -} - -console.debug("adding listeners..."); -dojox.flash.addLoadedListener(flashReady); -dojox.flash.setSwf("TestFlash.swf", true); -dojo.connect(dojo, "loaded", pageReady); diff --git a/includes/js/dojox/form/CheckedMultiSelect.js b/includes/js/dojox/form/CheckedMultiSelect.js deleted file mode 100644 index eb80c72..0000000 --- a/includes/js/dojox/form/CheckedMultiSelect.js +++ /dev/null @@ -1,223 +0,0 @@ -if(!dojo._hasResource["dojox.form.CheckedMultiSelect"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.form.CheckedMultiSelect"] = true; -dojo.provide("dojox.form.CheckedMultiSelect"); - -dojo.require("dijit.form.MultiSelect"); -dojo.require("dijit.form.CheckBox"); - -dojo.declare("dojox.form._CheckedMultiSelectItem", - [dijit._Widget, dijit._Templated], - { - // summary: - // The individual items for a CheckedMultiSelect - - widgetsInTemplate: true, - templateString:"
            ${option.innerHTML}
            \n", - - baseClass: "dojoxMultiSelectItem", - - // option: Element - // The option that is associated with this item - option: null, - parent: null, - - // disabled: boolean - // Whether or not this widget is disabled - disabled: false, - - _changeBox: function(){ - // summary: - // Called to force the select to match the state of the check box - // (only on click of the checkbox) - this.option.selected = this.checkBox.getValue() && true; - - // fire the parent's change - this.parent._onChange(); - - // refocus the parent - this.parent.focus(); - }, - - _labelClick: function(){ - // summary: - // Called when the label portion is clicked - dojo.stopEvent(e); - if(this.disabled){ - return; - } - var cb = this.checkBox; - cb.setValue(!cb.getValue()); - this._changeBox(); - }, - - _onMouse: function(e){ - // summary: - // Sets the hover state depending on mouse state (passes through - // to the check box) - this.checkBox._onMouse(e); - }, - - _onClick: function(e){ - // summary: - // Sets the click state (passes through to the check box) - this.checkBox._onClick(e); - }, - - _updateBox: function(){ - // summary: - // Called to force the box to match the state of the select - this.checkBox.setValue(this.option.selected); - }, - - setAttribute: function(attr, value){ - // summary: - // Disables (or enables) all the children as well - this.inherited(arguments); - switch(attr){ - case "disabled": - this.checkBox.setAttribute(attr, value); - break; - default: - break; - } - } -}); - -dojo.declare("dojox.form.CheckedMultiSelect", dijit.form.MultiSelect, { - // summary: - // Extends the core dijit MultiSelect to provide a "checkbox" selector - - templateString: "", - templateString:"
            . - - baseClass: "dojoxDropDownSelect", - - /*===== - dojox.form.__SelectOption = function(){ - // value: String - // The value of the option. Setting to empty (or missing) will - // place a separator at that location - // label: String - // The label for our option. It can contain html tags. - this.value = value; - this.label = label; - } - =====*/ - - // options: dojox.form.__SelectOption[] - // our set of options - options: null, - - // emptyLabel: string - // What to display in an "empty" dropdown - emptyLabel: "", - - // _isPopulated: boolean - // Whether or not we have been populated - _isPopulated: false, - - _addMenuItem: function(/* dojox.form.__SelectOption */ option){ - // summary: - // For the given option, add a menu item to our dropdown - // If the option doesn't have a value, then a separator is added - // in that place. - var menu = this.dropDown; - - if(!option.value){ - // We are a separator (no label set for it) - menu.addChild(new dijit.MenuSeparator()); - }else{ - // Just a regular menu option - var click = dojo.hitch(this, "setAttribute","value",option); - var mi = new dijit.MenuItem({ - id: this.id + "_item_" + option.value, - label: option.label, - onClick: click - }); - menu.addChild(mi); - - } - }, - - _resetButtonState: function(){ - // summary: - // Resets the menu and the length attribute of the button - and - // ensures that the label is appropriately set. - var len = this.options.length; - - // reset the menu to make it "populatable on the next click - var dropDown = this.dropDown; - dojo.forEach(dropDown.getChildren(), function(child){ - child.destroyRecursive(); - }); - this._isPopulated = false; - - // Set our length attribute and our value - this.setAttribute("readOnly", (len === 1)); - this.setAttribute("disabled", (len === 0)); - this.setAttribute("value", this.value); - }, - - _updateSelectedState: function(){ - // summary: - // Sets the "selected" class on the item for styling purposes - var val = this.value; - if(val){ - var testId = this.id + "_item_" + val; - dojo.forEach(this.dropDown.getChildren(), function(child){ - dojo[child.id === testId ? "addClass" : "removeClass"](child.domNode, - this.baseClass + "SelectedOption"); - }, this); - } - }, - - addOption: function(/* dojox.form.__SelectOption or string, optional */ value, /* string? */ label){ - // summary: - // Adds an option to the end of the select. If value is empty or - // missing, a separator is created instead. - - this.options.push(value.value ? value : { value:value, label:label }); - }, - - removeOption: function(/* string, dojox.form.__SelectOption or number */ valueOrIdx){ - // summary: - // Removes the given option - this.options = dojo.filter(this.options, function(node, idx){ - return !((typeof valueOrIdx === "number" && idx === valueOrIdx) || - (typeof valueOrIdx === "string" && node.value === valueOrIdx) || - (valueOrIdx.value && node.value === valueOrIdx.value)); - }); - }, - - setOptionLabel: function(/*string*/ value, /*string*/ label){ - dojo.forEach(this.options, function(node){ - if(node.value === value){ - node.label = label; - } - }); - }, - - destroy: function(){ - // summary: - // Clear out an outstanding hack handle - if(this._labelHackHandle){ - clearTimeout(this._labelHackHandle); - } - this.inherited(arguments); - }, - - setLabel: function(/* string */ content){ - // summary: - // Wraps our label in a div - that way, our rich text can work - // correctly. - - content = '
            ' + - content + - '
            '; - // Because FF2 has a problem with layout, we need to delay this - // call for it. - if(this._labelHackHandle){ - clearTimeout(this._labelHackHandle); - } - if(dojo.isFF === 2){ - this._labelHackHandle = setTimeout(dojo.hitch(this, function(){ - this._labelHackHandle = null; - dijit.form.DropDownButton.prototype.setLabel.call(this, content); - }), 0); - }else{ - this.inherited(arguments); - } - }, - - setAttribute: function(/*string*/ attr, /* anything */ value){ - // summary: sometime we get called to set our value - we need to - // make sure and route those requests through _setValue() - // instead. - if(attr === "value"){ - // If a string is passed, then we set our value from looking it up. - if(typeof value === "string"){ - value = dojo.filter(this.options, function(node){ - return node.value === value; - })[0]; - } - - // If we don't have a value, try to show the first item - if(!value){ - value = this.options[0] || { value: "", label: "" }; - } - this.value = value.value; - if(this._started){ - this.setLabel(value.label || this.emptyLabel || " "); - } - this._handleOnChange(value.value); - value = this.value; - }else{ - this.inherited(arguments); - } - }, - - _fillContent: function(){ - // summary: - // Loads our options and sets up our dropdown correctly. We - // don't want any content, so we don't call any inherit chain - // function. - var opts = this.options; - if(!opts){ - opts = this.options = this.srcNodeRef ? dojo.query(">", - this.srcNodeRef).map(function(node){ - if(node.getAttribute("type") === "separator"){ - return { value: "", label: "" }; - } - return { value: node.getAttribute("value"), - label: String(node.innerHTML) }; - }, this) : []; - } - - // Set the value to be the first, or the selected index - if(opts.length && !this.value){ - var si = this.srcNodeRef.selectedIndex; - this.value = opts[si != -1 ? si : 0].value; - } - - // Create the dropDown widget - this.dropDown = new dijit.Menu(); - }, - - postCreate: function(){ - // summary: sets up our event handling that we need for functioning - // as a select - - this.inherited(arguments); - - // Make our event connections for updating state - var fx = function(){ - dojo[this._opened ? "addClass" : "removeClass"](this.focusNode, - this.baseClass + "ButtonOpened"); - }; - this.connect(this, "_openDropDown", fx); - this.connect(this, "_closeDropDown", fx); - this.connect(this, "onChange", "_updateSelectedState"); - this.connect(this, "addOption", "_resetButtonState"); - this.connect(this, "removeOption", "_resetButtonState"); - this.connect(this, "setOptionLabel", "_resetButtonState"); - }, - - startup: function(){ - // summary: - // FF2 has layout problems if the reset call isn't done on a - // slight delay - this.inherited(arguments); - if(dojo.isFF === 2){ - setTimeout(dojo.hitch(this, this._resetButtonState), 0); - }else{ - this._resetButtonState(); - } - }, - - _populate: function(/* function */ callback){ - // summary: - // populates the menu (and does the callback, if passed) - - var dropDown = this.dropDown; - - // Add each menu item - dojo.forEach(this.options, this._addMenuItem, this); - - // Update states - this._updateSelectedState(); - dojo.addClass(this.dropDown.domNode, this.baseClass + "Menu"); - this._isPopulated = true; - if(callback){ callback.call(this); } - }, - - _toggleDropDown: function(){ - // summary: Overrides DropDownButton's toggle function to make sure - // that the values are correctly populated. - var dropDown = this.dropDown; - if(dropDown && !dropDown.isShowingNow && !this._isPopulated){ - this._populate(dojox.form.DropDownSelect.superclass._toggleDropDown); - }else{ - this.inherited(arguments); - } - } -}); - -} diff --git a/includes/js/dojox/form/PasswordValidator.js b/includes/js/dojox/form/PasswordValidator.js deleted file mode 100644 index e147ddf..0000000 --- a/includes/js/dojox/form/PasswordValidator.js +++ /dev/null @@ -1,280 +0,0 @@ -if(!dojo._hasResource["dojox.form.PasswordValidator"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.form.PasswordValidator"] = true; -dojo.provide("dojox.form.PasswordValidator"); - -dojo.require("dijit.form._FormWidget"); -dojo.require("dijit.form.ValidationTextBox"); - -dojo.requireLocalization("dojox.form", "PasswordValidator", null, "ROOT"); - -dojo.declare("dojox.form._ChildTextBox", dijit.form.ValidationTextBox, { - // summary: - // A class that is shared between all our children - extends - // ValidationTextBox and provides some shared functionality - // - // containerWidget: widget - // Our parent (the PasswordValidator) - containerWidget: null, - - // type: string - // Don't override this - we are all "password" types - type: "password", - - reset: function(){ - // summary: - // Force-set to empty string (we don't save passwords EVER)...and - // since _OldPWBox overrides setValue to check for empty string, - // call our parent class directly (not this.inherited()) - dijit.form.ValidationTextBox.prototype.setValue.call(this, "", true); - this._hasBeenBlurred = false; - } -}); - - - -dojo.declare("dojox.form._OldPWBox", dojox.form._ChildTextBox, { - // summary: - // A class representing our "old password" box. - // - // _isPWValid: boolean - // Whether or not the password is valid - _isPWValid: false, - - setValue: function(/* anything */ newVal, /* boolean? */ priority){ - // summary: - // Updates _isPWValid if this isn't our initial update by calling - // our PasswordValidator's pwCheck function - if(newVal === ""){ - newVal = dojox.form._OldPWBox.superclass.getValue.call(this); - } - if(priority !== null){ - // Priority is passed in as null, explicitly when this is an - // update (not initially set). We want to check our password now. - this._isPWValid = this.containerWidget.pwCheck(newVal); - } - this.inherited("setValue", arguments); - }, - - isValid: function(/* boolean */ isFocused){ - // Take into account the isPWValid setting - return this.inherited("isValid", arguments) && this._isPWValid; - }, - - _update: function(/* event */ e){ - // Only call validate() if we've been blurred or else we get popups - // too early. - if(this._hasBeenBlurred){ this.validate(true); } - this._onMouse(e); - }, - - getValue: function(){ - // summary: - // Only returns a value if our container widget is valid. This - // is to prevent exposure of "oldPW" too early. - if(this.containerWidget.isValid()){ - return this.inherited("getValue", arguments); - }else{ - return ""; - } - } -}); - - -dojo.declare("dojox.form._NewPWBox", dojox.form._ChildTextBox, { - // summary: - // A class representing our new password textbox - - // required: boolean - // Whether or not this widget is required (default: true) - required: true, - - onChange: function(){ - // summary: - // Validates our verify box - to make sure that a change to me is - // reflected there - this.containerWidget._inputWidgets[2].validate(false); - this.inherited(arguments); - } -}); - -dojo.declare("dojox.form._VerifyPWBox", dojox.form._ChildTextBox, { - // summary: - // A class representing our verify textbox - - isValid: function(isFocused){ - // summary: - // Validates that we match the "real" password - return this.inherited("isValid", arguments) && - (this.getValue() == this.containerWidget._inputWidgets[1].getValue()); - } -}); - -dojo.declare("dojox.form.PasswordValidator", dijit.form._FormValueWidget, { - // summary: - // A password validation widget that simplifies the "old/new/verify" - // style of requesting passwords. You will probably want to override - // this class and implement your own pwCheck function. - // - // required: boolean - // Whether or not it is required for form submission - required: true, - - // inputWidgets: TextBox[] - // An array of text boxes that are our components - _inputWidgets: null, - - // oldName: string? - // The name to send our old password as (when form is posted) - oldName: "", - - templateString:"
            \n\t\n
            \n", - - _hasBeenBlurred: false, - - isValid: function(/* boolean */ isFocused){ - // summary: we are valid if ALL our children are valid - return dojo.every(this._inputWidgets, function(i){ - if(i && i._setStateClass){ i._setStateClass(); } - return (!i || i.isValid()); - }); - }, - - validate: function(/* boolean */ isFocused){ - // summary: Validating this widget validates all our children - return dojo.every(dojo.map(this._inputWidgets, function(i){ - if(i && i.validate){ - i._hasBeenBlurred = (i._hasBeenBlurred || this._hasBeenBlurred); - return i.validate(); - } - return true; - }, this), "return item;"); - }, - - reset: function(){ - // summary: Resetting this widget resets all our children - this._hasBeenBlurred = false; - dojo.forEach(this._inputWidgets, function(i){ - if(i && i.reset){ i.reset(); } - }, this); - }, - - _createSubWidgets: function(){ - // summary: - // Turns the inputs inside this widget into "real" validation - // widgets - and sets up the needed connections. - var widgets = this._inputWidgets, - msg = dojo.i18n.getLocalization("dojox.form", "PasswordValidator", - this.lang); - dojo.forEach(widgets, function(i, idx){ - if(i){ - var p = {containerWidget: this}, c; - if(idx === 0){ - p.name = this.oldName; - p.invalidMessage = msg.badPasswordMessage; - c = dojox.form._OldPWBox; - }else if(idx === 1){ - p.required = this.required; - c = dojox.form._NewPWBox; - }else if(idx === 2){ - p.invalidMessage = msg.nomatchMessage; - c = dojox.form._VerifyPWBox; - } - widgets[idx] = new c(p, i); - } - }, this); - }, - - pwCheck: function(/* string */ password){ - // summary: - // Overridable function for validation of the old password box. - // - // This function is called and passed the old password. Return - // true if it's OK to continue, and false if it is not. - // - // IMPORTANT SECURITY NOTE: Do NOT EVER EVER EVER check this in - // HTML or JavaScript!!! - // - // You will probably want to override this function to callback - // to a server to verify the password (the callback will need to - // be syncronous) - and it's probably a good idea to validate - // it again on form submission before actually doing - // anything destructive - that's why the "oldName" value - // is available. - // - // And don't just fetch the password from the server - // either :) Send the test password (probably hashed, for - // security) and return from the server a status instead. - // - // Again - DON'T BE INSECURE!!! Security is left as an exercise - // for the reader :) - return false; - }, - - postCreate: function(){ - // summary: - // Sets up the correct widgets. You *MUST* specify one child - // text box (a simple HTML element) with pwType="new" - // *and* one child text box with pwType="verify". You *MAY* - // specify a third child text box with pwType="old" in order to - // prompt the user to enter in their old password before the - // widget returns that it is valid. - - this.inherited(arguments); - - // Turn my inputs into the correct stuff.... - var widgets = this._inputWidgets = []; - dojo.forEach(["old","new","verify"], function(i){ - widgets.push(dojo.query("input[pwType=" + i + "]", - this.containerNode)[0]); - }, this); - if (!widgets[1] || !widgets[2]){ - throw new Error("Need at least pwType=\"new\" and pwType=\"verify\""); - } - if (this.oldName && !widgets[0]){ - throw new Error("Need to specify pwType=\"old\" if using oldName"); - } - this._createSubWidgets(); - }, - - setAttribute: function(/* string */ attr, /* anything */ value){ - this.inherited(arguments); - - // Disabling (or enabling) the container disables (or enables) all - // the subwidgets as well - same for requiring - switch(attr){ - case "disabled": - case "required": - dojo.forEach(this._inputWidgets, function(i){ - if(i && i.setAttribute){ i.setAttribute(attr, value);} - }); - break; - default: - break; - } - }, - - getValue: function(){ - // summary: overridden to return an empty string if we aren't valid. - if (this.isValid()){ - return this._inputWidgets[1].getValue(); - }else{ - return ""; - } - }, - - focus: function(){ - // summary: - // places focus on the first invalid input widget - if all - // input widgets are valid, the first widget is focused. - var f = false; - dojo.forEach(this._inputWidgets, function(i){ - if(i && !i.isValid() && !f){ - i.focus(); - f = true; - } - }); - if(!f){ this._inputWidgets[1].focus(); } - } -}); - -} diff --git a/includes/js/dojox/form/README b/includes/js/dojox/form/README deleted file mode 100644 index 3fc4f7c..0000000 --- a/includes/js/dojox/form/README +++ /dev/null @@ -1,39 +0,0 @@ -------------------------------------------------------------------------------- -dojox.form Collection -------------------------------------------------------------------------------- -Version 1.0 -Release date: 02/26/2008 -------------------------------------------------------------------------------- -Project state: -experimental -------------------------------------------------------------------------------- -Credits - Nathan Toone (nathan) - -------------------------------------------------------------------------------- -Project description - - This is a collection of additional widgets that can be used in forms. -------------------------------------------------------------------------------- -Dependencies: - - Depends on dojo core and dijit -------------------------------------------------------------------------------- -Documentation - -------------------------------------------------------------------------------- -Installation instructions - - Install into /dojox/form -------------------------------------------------------------------------------- -Additional Notes (Brief widget list): - - * CheckedMultiSelect - an extension to dijit.form.MultiSelect which - uses check boxes instead of ctrl-click - - * PasswordValidator - a widget which simplifies the common "old/new/verify" - mechanism of specifying passwords - - * DropDownSelect - an extension to dijit.form.DropDownButton which is - meant to mirror the html
            \ No newline at end of file diff --git a/includes/js/dojox/form/resources/DropDownSelect.css b/includes/js/dojox/form/resources/DropDownSelect.css deleted file mode 100644 index cbd1971..0000000 --- a/includes/js/dojox/form/resources/DropDownSelect.css +++ /dev/null @@ -1,137 +0,0 @@ - -.dojoxDropDownSelect { - margin: 0.2em; -} -.dijit_a11y .dojoxDropDownSelectDisabled .dijitButtonNode { - border-style: dotted !important; - border-color: #999 !important; - color:#999 !important; -} -.dojoxDropDownSelect .dijitButtonNode { - padding: 0px; -} -.dijitButtonNode .dojoxDropDownSelectLabel * -{ - vertical-align: baseline; -} -.dojoxDropDownSelectSelectedOption * { - font-weight: bold; -} -.dojoxDropDownSelectDisabled .dijitArrowButtonInner, -.dojoxDropDownSelectReadOnly .dijitArrowButtonInner { - display: none; -} -.dojoxDropDownSelectMenu .dijitMenuItemIcon { - width: 1px; -} -.tundra .dojoxDropDownSelectDisabled * { - cursor: not-allowed !important; -} -.tundra .dojoxDropDownSelectReadOnly * { - cursor: default !important; -} -.tundra .dojoxDropDownSelectDisabled * { - cursor: not-allowed !important; -} -.tundra .dojoxDropDownSelectReadOnly * { - cursor: default !important; -} -.tundra .dojoxDropDownSelect .dijitButtonNode { - background:#fff url("../../../dijit/themes/tundra/images/validationInputBg.png") repeat-x top left; - #background:#fff url('../../../dijit/themes/tundra/images/validationInputBg.gif') repeat-x top left; - border:1px solid #b3b3b3; - line-height: normal; -} -.tundra .dojoxDropDownSelectDisabled .dijitButtonNode { - - border-color: #d5d5d5 #bdbdbd #bdbdbd #d5d5d5; - - background:#e4e4e4 url("../../../dijit/themes/tundra/images/buttonDisabled.png") top repeat-x; - opacity: 0.60; -} -.dj_ie .tundra .dojoxDropDownSelectDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); -} -.tundra .dojoxDropDownSelectHover .dijitButtonNode, -.tundra .dojoxDropDownSelect .dojoxDropDownSelectButtonOpened { - - - border-color:#a5beda; - border-bottom-color:#5c7590; - border-right-color:#5c7590; - color:#000; - background:#fcfdff url("../../../dijit/themes/tundra/images/buttonHover.png") repeat-x bottom; -} -.tundra .dojoxDropDownSelectActive .dijitButtonNode { - - border-color:#366dba; - background: #ededed url("../../../dijit/themes/tundra/images/buttonActive.png") bottom repeat-x; -} -.soria .dojoxDropDownSelectDisabled * { - cursor: not-allowed !important; -} -.soria .dojoxDropDownSelectReadOnly * { - cursor: default !important; -} -.soria .dojoxDropDownSelect .dijitButtonNode { - background:#fff url("../../../dijit/themes/soria/images/validationInputBg.png") repeat-x top left; - #background:#fff url('../../../dijit/themes/soria/images/validationInputBg.gif') repeat-x top left; - border:1px solid #8ba0bd; - line-height: normal; -} -.soria .dojoxDropDownSelectDisabled .dijitButtonNode { - - border-color: #b9bbdd #b9bbdd #b9bbdd #b9bbdd; - - background:#c3d3e5 url("../../../dijit/themes/soria/images/buttonDisabled.png") top repeat-x; - opacity: 0.60; -} -.dj_ie .soria .dojoxDropDownSelectDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); -} -.soria .dojoxDropDownSelectHover .dijitButtonNode, -.soria .dojoxDropDownSelect .dojoxDropDownSelectButtonOpened { - - - color:#000; - background:#acc5e2 url("../../../dijit/themes/soria/images/buttonHover.png") repeat-x top left; -} -.soria .dojoxDropDownSelectActive .dijitButtonNode { - - border-color:#657c9c; - background: #91b4e5 url("../../../dijit/themes/soria/images/buttonActive.png") top left repeat-x; -} -.nihilo .dojoxDropDownSelectDisabled * { - cursor: not-allowed !important; -} -.nihilo .dojoxDropDownSelectReadOnly * { - cursor: default !important; -} -.nihilo .dojoxDropDownSelect .dijitButtonNode { - background:#fff url("../../../dijit/themes/nihilo/images/validationInputBg.png") repeat-x top left; - #background:#fff url('../../../dijit/themes/nihilo/images/validationInputBg.gif') repeat-x top left; - border:1px solid #d3d3d3; - line-height: normal; -} -.nihilo .dojoxDropDownSelectDisabled .dijitButtonNode { - - border-color: #dedede; - - background:#fafafa url("../../../dijit/themes/nihilo/images/buttonDisabled.png") top repeat-x; - opacity: 0.60; -} -.dj_ie .nihilo .dojoxDropDownSelectDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); -} -.nihilo .dojoxDropDownSelectHover .dijitButtonNode, -.nihilo .dojoxDropDownSelect .dojoxDropDownSelectButtonOpened { - - - color:#000; - background:#fcfcfc url("../../../dijit/themes/nihilo/images/buttonHover.png") repeat-x top left; -} -.nihilo .dojoxDropDownSelectActive .dijitButtonNode { - - border-color:#dedede; - background: #f5f5f5 url("../../../dijit/themes/nihilo/images/buttonActive.png") top left repeat-x; -} diff --git a/includes/js/dojox/form/resources/DropDownSelect.css.commented.css b/includes/js/dojox/form/resources/DropDownSelect.css.commented.css deleted file mode 100644 index a0a0636..0000000 --- a/includes/js/dojox/form/resources/DropDownSelect.css.commented.css +++ /dev/null @@ -1,209 +0,0 @@ -/* -**---------------------------------------------------------------------------- -** DropDownSelect -**---------------------------------------------------------------------------- -*/ -/* Mirror dijitDropDownButton a bit */ -.dojoxDropDownSelect { - margin: 0.2em; -} -.dijit_a11y .dojoxDropDownSelectDisabled .dijitButtonNode { - border-style: dotted !important; - border-color: #999 !important; - color:#999 !important; -} - -/* And remove the padding - so it looks a "bit" more like a text box */ -.dojoxDropDownSelect .dijitButtonNode { - padding: 0px; -} - -/* Fix the baseline of our label (for multi-size font elements) */ -.dijitButtonNode .dojoxDropDownSelectLabel * -{ - vertical-align: baseline; -} - -/* Styling for the currently-selected option (rich text can mess this up) */ -.dojoxDropDownSelectSelectedOption * { - font-weight: bold; -} - -/* And remove the arrow when we are read-only or disabled (1 or 0 options) */ -.dojoxDropDownSelectDisabled .dijitArrowButtonInner, -.dojoxDropDownSelectReadOnly .dijitArrowButtonInner { - display: none; -} - -/* And hide (at least, mostly) the menuItemIcon column */ -.dojoxDropDownSelectMenu .dijitMenuItemIcon { - width: 1px; -} - -/* -**---------------------------------------------------------------------------- -** Common stylings -**---------------------------------------------------------------------------- -*/ -/* Cursor States */ -.tundra .dojoxDropDownSelectDisabled * { - cursor: not-allowed !important; -} -.tundra .dojoxDropDownSelectReadOnly * { - cursor: default !important; -} - - -/* -**---------------------------------------------------------------------------- -** Tundra stylings -**---------------------------------------------------------------------------- -*/ -/* Cursor States */ -.tundra .dojoxDropDownSelectDisabled * { - cursor: not-allowed !important; -} -.tundra .dojoxDropDownSelectReadOnly * { - cursor: default !important; -} - -/* Make unselected "look" more like a text box and less like a button */ -.tundra .dojoxDropDownSelect .dijitButtonNode { - background:#fff url("../../../dijit/themes/tundra/images/validationInputBg.png") repeat-x top left; - #background:#fff url('../../../dijit/themes/tundra/images/validationInputBg.gif') repeat-x top left; - border:1px solid #b3b3b3; - line-height: normal; -} - -/* Mirror DropDownButton */ -.tundra .dojoxDropDownSelectDisabled .dijitButtonNode { - /* disabled state - inner */ - border-color: #d5d5d5 #bdbdbd #bdbdbd #d5d5d5; - /*color:#b4b4b4;*/ - background:#e4e4e4 url("../../../dijit/themes/tundra/images/buttonDisabled.png") top repeat-x; - opacity: 0.60; /* Safari, Opera and Mozilla */ -} - -.dj_ie .tundra .dojoxDropDownSelectDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); /* IE */ -} - -.tundra .dojoxDropDownSelectHover .dijitButtonNode, -.tundra .dojoxDropDownSelect .dojoxDropDownSelectButtonOpened { - /* hover and opened state - inner */ - /* TODO: change from Hover to Selected so that button is still highlighted while drop down is being used */ - border-color:#a5beda; - border-bottom-color:#5c7590; - border-right-color:#5c7590; - color:#000; - background:#fcfdff url("../../../dijit/themes/tundra/images/buttonHover.png") repeat-x bottom; -} - -.tundra .dojoxDropDownSelectActive .dijitButtonNode { - /* active state - inner (for when you are pressing a normal button, or - * when a toggle button is in a depressed state - */ - border-color:#366dba; - background: #ededed url("../../../dijit/themes/tundra/images/buttonActive.png") bottom repeat-x; -} - - -/* -**---------------------------------------------------------------------------- -** Soria stylings -**---------------------------------------------------------------------------- -*/ -/* Cursor States */ -.soria .dojoxDropDownSelectDisabled * { - cursor: not-allowed !important; -} -.soria .dojoxDropDownSelectReadOnly * { - cursor: default !important; -} - -/* Make unselected "look" more like a text box and less like a button */ -.soria .dojoxDropDownSelect .dijitButtonNode { - background:#fff url("../../../dijit/themes/soria/images/validationInputBg.png") repeat-x top left; - #background:#fff url('../../../dijit/themes/soria/images/validationInputBg.gif') repeat-x top left; - border:1px solid #8ba0bd; - line-height: normal; -} - -/* Mirror DropDownButton */ -.soria .dojoxDropDownSelectDisabled .dijitButtonNode { - /* disabled state - inner */ - border-color: #b9bbdd #b9bbdd #b9bbdd #b9bbdd; - /*color:#b4b4b4;*/ - background:#c3d3e5 url("../../../dijit/themes/soria/images/buttonDisabled.png") top repeat-x; - opacity: 0.60; /* Safari, Opera and Mozilla */ -} - -.dj_ie .soria .dojoxDropDownSelectDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); /* IE */ -} - -.soria .dojoxDropDownSelectHover .dijitButtonNode, -.soria .dojoxDropDownSelect .dojoxDropDownSelectButtonOpened { - /* hover state - inner */ - /* TODO: change from Hover to Selected so that button is still highlighted while drop down is being used */ - color:#000; - background:#acc5e2 url("../../../dijit/themes/soria/images/buttonHover.png") repeat-x top left; -} - -.soria .dojoxDropDownSelectActive .dijitButtonNode { - /* active state - inner (for when you are pressing a normal button, or - * when a toggle button is in a depressed state - */ - border-color:#657c9c; - background: #91b4e5 url("../../../dijit/themes/soria/images/buttonActive.png") top left repeat-x; -} - -/* -**---------------------------------------------------------------------------- -** Nihilo stylings -**---------------------------------------------------------------------------- -*/ -/* Cursor States */ -.nihilo .dojoxDropDownSelectDisabled * { - cursor: not-allowed !important; -} -.nihilo .dojoxDropDownSelectReadOnly * { - cursor: default !important; -} - -/* Make unselected "look" more like a text box and less like a button */ -.nihilo .dojoxDropDownSelect .dijitButtonNode { - background:#fff url("../../../dijit/themes/nihilo/images/validationInputBg.png") repeat-x top left; - #background:#fff url('../../../dijit/themes/nihilo/images/validationInputBg.gif') repeat-x top left; - border:1px solid #d3d3d3; - line-height: normal; -} - -/* Mirror DropDownButton */ -.nihilo .dojoxDropDownSelectDisabled .dijitButtonNode { - /* disabled state - inner */ - border-color: #dedede; - /*color:#b4b4b4;*/ - background:#fafafa url("../../../dijit/themes/nihilo/images/buttonDisabled.png") top repeat-x; - opacity: 0.60; /* Safari, Opera and Mozilla */ -} - -.dj_ie .nihilo .dojoxDropDownSelectDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); /* IE */ -} - -.nihilo .dojoxDropDownSelectHover .dijitButtonNode, -.nihilo .dojoxDropDownSelect .dojoxDropDownSelectButtonOpened { - /* hover state - inner */ - /* TODO: change from Hover to Selected so that button is still highlighted while drop down is being used */ - color:#000; - background:#fcfcfc url("../../../dijit/themes/nihilo/images/buttonHover.png") repeat-x top left; -} - -.nihilo .dojoxDropDownSelectActive .dijitButtonNode { - /* active state - inner (for when you are pressing a normal button, or - * when a toggle button is in a depressed state - */ - border-color:#dedede; - background: #f5f5f5 url("../../../dijit/themes/nihilo/images/buttonActive.png") top left repeat-x; -} diff --git a/includes/js/dojox/form/resources/PasswordValidator.html b/includes/js/dojox/form/resources/PasswordValidator.html deleted file mode 100644 index 80a55ae..0000000 --- a/includes/js/dojox/form/resources/PasswordValidator.html +++ /dev/null @@ -1,3 +0,0 @@ -
            - -
            \ No newline at end of file diff --git a/includes/js/dojox/form/resources/_CheckedMultiSelectItem.html b/includes/js/dojox/form/resources/_CheckedMultiSelectItem.html deleted file mode 100644 index d9ec863..0000000 --- a/includes/js/dojox/form/resources/_CheckedMultiSelectItem.html +++ /dev/null @@ -1,4 +0,0 @@ -
            ${option.innerHTML}
            diff --git a/includes/js/dojox/form/tests/test_CheckedMultiSelect.html b/includes/js/dojox/form/tests/test_CheckedMultiSelect.html deleted file mode 100644 index b8729d2..0000000 --- a/includes/js/dojox/form/tests/test_CheckedMultiSelect.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - -

            Test: dojox.form.CheckedMultiSelect

            -

            Automated test

            -
            - -
            - -
            - -
            - - - -
            - - diff --git a/includes/js/dojox/form/tests/test_DropDownSelect.html b/includes/js/dojox/form/tests/test_DropDownSelect.html deleted file mode 100644 index 4487e54..0000000 --- a/includes/js/dojox/form/tests/test_DropDownSelect.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - -

            Test: dojox.form.DropDownSelect

            -

            Automated test

            -
            -

            Setting Defaults

            - - - -
            -

            Rich Text (Need to use divs and spans - since browsers hack selects to pieces)

            -
            - Alabama - Alaska - Arizona - Arkansas - California - New
              Mexico
            -
            -
            - Copy - Move - No Copy - No Move -
            -
            -

            Empty

            - -
            -

            Single Item

            - -
            - - - - -
            - - diff --git a/includes/js/dojox/form/tests/test_PasswordValidator.html b/includes/js/dojox/form/tests/test_PasswordValidator.html deleted file mode 100644 index e3b1e63..0000000 --- a/includes/js/dojox/form/tests/test_PasswordValidator.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - - - -

            Test: dojox.form.PasswordValidator

            -

            Automated test

            -

            No old password

            -
            -
            -
            -
            -
            -
            -
            -

            Old password (hard-coded to "oldpw2") - not passed to getValues

            -
            -
            - -
            -
            -
            -
            -
            -
            -

            Old password (hard-coded to "oldpw3") - passed to getValues

            -
            -
            - -
            -
            -
            -
            -
            -
            -

            In Table, Old password (hard-coded to "oldpw4") - not passed to getValues

            -
            -
            - - - - - - - - - - - - - - -
            -
            -
            -
            -

            In Table, Old password (hard-coded to "oldpw5") - passed to getValues

            -
            -
            - - - - - - - - - - - - - - -
            -
            -
            -
            -

            No old password, not required

            -
            -
            -
            -
            -
            -
            -
            - - - - diff --git a/includes/js/dojox/fx.js b/includes/js/dojox/fx.js deleted file mode 100644 index 635a570..0000000 --- a/includes/js/dojox/fx.js +++ /dev/null @@ -1,7 +0,0 @@ -if(!dojo._hasResource["dojox.fx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.fx"] = true; -dojo.provide("dojox.fx"); - -dojo.require("dojox.fx._base"); - -} diff --git a/includes/js/dojox/fx/README b/includes/js/dojox/fx/README deleted file mode 100644 index 7eb06a8..0000000 --- a/includes/js/dojox/fx/README +++ /dev/null @@ -1,77 +0,0 @@ -------------------------------------------------------------------------------- -dojox.fx -------------------------------------------------------------------------------- -Version 1.0.0 -Release date: 10/31/2007 -------------------------------------------------------------------------------- -Project state: -prototype / experimental -------------------------------------------------------------------------------- -Credits - Peter Higgins (dante) - Jonathan Bond-Caron (jbondc@gmail.com) - Shane O'Sullivan (shaneosullivan1@gmail.com) - Bryan Forbes (bforbes) - -------------------------------------------------------------------------------- -Project description - - dojox.fx provides a class of animation effects to use, and - other animation and Effects additions to dojo base. - -------------------------------------------------------------------------------- -Dependencies: - - dojox.fx requires dojo (core) and the dojo.fx package - dojox.fx.easing requires only dojo core. - dojox.fx.scroll requires dojox.fx._core and dojo.fx - -------------------------------------------------------------------------------- -Documentation - - existing API surface: - - dojox.fx._base: - - dojox.fx.crossFade - crossfade two nodes easily - - dojox.fx.sizeTo - size a node about it's center to a new width/height - - dojox.fx.slideBy - slide a node by a t,l offset - - dojox.fx.highlight - animates the background color of a node, and returns - it to the color it was. - - (all use standard _Animation properties, like duration, easing, node, etc) - - dojox.fx._core: - - dojox.fx._Line - a 2-d _Line implementation, backwards compatible with - dojo._Line ... you might could safely do something akin to - dojo._Line.prototype = dojox.fx._Line.prototype; - and enable this for all dojo _Animations? - - dojox.fx.style: - experimental CSS animation via class definitions - - dojox.fx.addClass - animate the effects of applying a class to a node - - dojox.fx.removeClass - " " " " removing a class from a node - - dojox.fx.toggleClass - wrapper for addClass/removeClass - - dojox.fx.easing: - a collection of easing functions to use - this is a "stand alone" class, and can be used via: - dojo.require("dojox.fx.easing"); - to use in an _Animation easing: property - ported/decoded by Bryan Forbes from Robert Penner's Flash easing - functions, contributed under CLA. - - dojox.fx.ext-dojo.NodeList - extensions to dojo.NodeList-fx wrapping the - relevant dojox.fx animations into dojo.NodeList - - dojox.fx.Shadow - Class to add drop shadows to a node - -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/dojo/dojox/trunk/fx.js -http://svn.dojotoolkit.org/dojo/dojox/trunk/fx/* - -Install into the following directory structure: -/dojox/fx/ - -...which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- diff --git a/includes/js/dojox/fx/Shadow.js b/includes/js/dojox/fx/Shadow.js deleted file mode 100644 index 7ed4c55..0000000 --- a/includes/js/dojox/fx/Shadow.js +++ /dev/null @@ -1,151 +0,0 @@ -if(!dojo._hasResource["dojox.fx.Shadow"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.fx.Shadow"] = true; -dojo.provide("dojox.fx.Shadow"); -dojo.experimental("dojox.fx.Shadow"); - -dojo.require("dijit._Widget"); -dojo.require("dojo.NodeList-fx"); - -dojo.declare("dojox.fx.Shadow", - dijit._Widget,{ - // summary: Adds a drop-shadow to a node. - // - // example: - // | // add drop shadows to all nodes with class="hasShadow" - // | dojo.query(".hasShadow").forEach(function(n){ - // | var foo = new dojox.fx.Shadow({ node: n }); - // | foo.startup(); - // | }); - // - // shadowPng: String - // Base location for drop-shadow images - shadowPng: dojo.moduleUrl("dojox.fx", "resources/shadow"), - - // shadowThickness: Integer - // How wide (in px) to make the shadow - shadowThickness: 7, - - // shadowOffset: Integer - // How deep to make the shadow appear to be - shadowOffset: 3, - - // opacity: Float - // Overall opacity of the shadow - opacity: 0.75, - - // animate: Boolean - // A toggle to disable animated transitions - animate: false, - - // node: DomNode - // The node we will be applying this shadow to - node: null, - - startup: function(){ - // summary: Initializes the shadow. - - this.inherited(arguments); - this.node.style.position = "relative"; - // make all the pieces of the shadow, and position/size them as much - // as possible (but a lot of the coordinates are set in sizeShadow - this.pieces={}; - var x1 = -1 * this.shadowThickness; - var y0 = this.shadowOffset; - var y1 = this.shadowOffset + this.shadowThickness; - this._makePiece("tl", "top", y0, "left", x1); - this._makePiece("l", "top", y1, "left", x1, "scale"); - this._makePiece("tr", "top", y0, "left", 0); - this._makePiece("r", "top", y1, "left", 0, "scale"); - this._makePiece("bl", "top", 0, "left", x1); - this._makePiece("b", "top", 0, "left", 0, "crop"); - this._makePiece("br", "top", 0, "left", 0); - - this.nodeList = dojo.query(".shadowPiece",this.node); - - this.setOpacity(this.opacity); - this.resize(); - }, - - _makePiece: function(name, vertAttach, vertCoord, horzAttach, horzCoord, sizing){ - // summary: append a shadow pieces to the node, and position it - var img; - var url = this.shadowPng + name.toUpperCase() + ".png"; - if((dojo.isIE)&&(dojo.isIE<7)){ - img=document.createElement("div"); - img.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+url+"'"+ - (sizing?", sizingMethod='"+sizing+"'":"") + ")"; - }else{ - img=document.createElement("img"); - img.src=url; - } - - img.style.position="absolute"; - img.style[vertAttach]=vertCoord+"px"; - img.style[horzAttach]=horzCoord+"px"; - img.style.width=this.shadowThickness+"px"; - img.style.height=this.shadowThickness+"px"; - dojo.addClass(img,"shadowPiece"); - this.pieces[name]=img; - this.node.appendChild(img); - - }, - - setOpacity: function(/* Float */n,/* Object? */animArgs){ - // summary: set the opacity of the underlay - // note: does not work in IE? FIXME. - if(dojo.isIE){ return; } - if(!animArgs){ animArgs = {}; } - if(this.animate){ - var _anims = []; - this.nodeList.forEach(function(node){ - _anims.push(dojo._fade(dojo.mixin(animArgs,{ node: node, end: n }))); - }); - dojo.fx.combine(_anims).play(); - }else{ - this.nodeList.style("opacity",n); - } - - }, - - setDisabled: function(/* Boolean */disabled){ - // summary: enable / disable the shadow - if(disabled){ - if(this.disabled){ return; } - if(this.animate){ this.nodeList.fadeOut().play(); - }else{ this.nodeList.style("visibility","hidden"); } - this.disabled = true; - }else{ - if(!this.disabled){ return; } - if(this.animate){ this.nodeList.fadeIn().play(); - }else{ this.nodeList.style("visibility","visible"); } - this.disabled = false; - } - }, - - resize: function(/* dojox.fx._arg.ShadowResizeArgs */args){ - // summary: Resizes the shadow based on width and height. - var x; var y; - if(args){ x = args.x; y = args.y; - }else{ - var co = dojo._getBorderBox(this.node); - x = co.w; y = co.h; - } - var sideHeight = y - (this.shadowOffset+this.shadowThickness); - if (sideHeight < 0) { sideHeight = 0; } - if (y < 1) { y = 1; } - if (x < 1) { x = 1; } - with(this.pieces){ - l.style.height = sideHeight+"px"; - r.style.height = sideHeight+"px"; - b.style.width = x+"px"; - bl.style.top = y+"px"; - b.style.top = y+"px"; - br.style.top = y+"px"; - tr.style.left = x+"px"; - r.style.left = x+"px"; - br.style.left = x+"px"; - } - } -}); - -} diff --git a/includes/js/dojox/fx/_arg.js b/includes/js/dojox/fx/_arg.js deleted file mode 100644 index b90f0d9..0000000 --- a/includes/js/dojox/fx/_arg.js +++ /dev/null @@ -1,27 +0,0 @@ -if(!dojo._hasResource["dojox.fx._arg"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.fx._arg"] = true; -dojo.provide("dojox.fx._arg"); - -dojox.fx._arg.StyleArgs = function(/*Object*/ args){ - // summary: - // The node and CSS class to use for style manipulations. - // node: DOMNode - // The node to manipulate - // cssClass: String - // The class to use during the manipulation - this.node = args.node; - this.cssClass = args.cssClass; -} - -dojox.fx._arg.ShadowResizeArgs = function(/*Object*/ args){ - // summary: - // The odd way to document object parameters. - // x: Integer - // the width to set - // y: Integer - // the height to set - this.x = args.x; - this.y = args.y; -} - -} diff --git a/includes/js/dojox/fx/_base.js b/includes/js/dojox/fx/_base.js deleted file mode 100644 index 61d23a7..0000000 --- a/includes/js/dojox/fx/_base.js +++ /dev/null @@ -1,240 +0,0 @@ -if(!dojo._hasResource["dojox.fx._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.fx._base"] = true; -dojo.provide("dojox.fx._base"); -// summary: add-on Animations to dojo.fx - -dojo.require("dojo.fx"); - -dojox.fx.sizeTo = function(/* Object */args){ - // summary: Create an animation that will size a node - // description: - // Returns an animation that will size "node" - // defined in args Object about it's center to - // a width and height defined by (args.width, args.height), - // supporting an optional method: chain||combine mixin - // (defaults to chain). - // - // - works best on absolutely or relatively positioned elements? - // - // example: - // | // size #myNode to 400px x 200px over 1 second - // | dojo.fx.sizeTo({ node:'myNode', - // | duration: 1000, - // | width: 400, - // | height: 200, - // | method: "chain" - // | }).play(); - // - var node = (args.node = dojo.byId(args.node)); - - var method = args.method || "chain"; - if(!args.duration){ args.duration = 500; } // default duration needed - if (method=="chain"){ args.duration = Math.floor(args.duration/2); } - - var top, newTop, left, newLeft, width, height = null; - - var init = (function(n){ - return function(){ - var cs = dojo.getComputedStyle(n); - var pos = cs.position; - top = (pos == 'absolute' ? n.offsetTop : parseInt(cs.top) || 0); - left = (pos == 'absolute' ? n.offsetLeft : parseInt(cs.left) || 0); - width = parseInt(cs.width); - height = parseInt(cs.height); - - newLeft = left - Math.floor((args.width - width)/2); - newTop = top - Math.floor((args.height - height)/2); - - if(pos != 'absolute' && pos != 'relative'){ - var ret = dojo.coords(n, true); - top = ret.y; - left = ret.x; - n.style.position="absolute"; - n.style.top=top+"px"; - n.style.left=left+"px"; - } - } - })(node); - init(); - - var anim1 = dojo.animateProperty(dojo.mixin({ - properties: { - height: { start: height, end: args.height || 0, unit:"px" }, - top: { start: top, end: newTop } - } - }, args)); - var anim2 = dojo.animateProperty(dojo.mixin({ - properties: { - width: { start: width, end: args.width || 0, unit:"px" }, - left: { start: left, end: newLeft } - } - }, args)); - - var anim = dojo.fx[((args.method == "combine") ? "combine" : "chain")]([anim1,anim2]); - dojo.connect(anim, "beforeBegin", anim, init); - return anim; // dojo._Animation -}; - -dojox.fx.slideBy = function(/* Object */args){ - // summary: Returns an animation to slide a node by a defined offset. - // - // description: - // Returns an animation that will slide a node (args.node) from it's - // current position to it's current posision plus the numbers defined - // in args.top and args.left. standard dojo.fx mixin's apply. - // - // example: - // | // slide domNode 50px down, and 22px left - // | dojox.fx.slideBy({ - // | node: domNode, duration:400, - // | top: 50, left: -22 - // | }).play(); - - var node = (args.node = dojo.byId(args.node)); - var top = null; var left = null; - - var init = (function(n){ - return function(){ - var cs = dojo.getComputedStyle(n); - var pos = cs.position; - top = (pos == 'absolute' ? n.offsetTop : parseInt(cs.top) || 0); - left = (pos == 'absolute' ? n.offsetLeft : parseInt(cs.left) || 0); - if(pos != 'absolute' && pos != 'relative'){ - var ret = dojo.coords(n, true); - top = ret.y; - left = ret.x; - n.style.position="absolute"; - n.style.top=top+"px"; - n.style.left=left+"px"; - } - } - })(node); - init(); - var _anim = dojo.animateProperty(dojo.mixin({ - properties: { - // FIXME: is there a way to update the _Line after creation? - // null start values allow chaining to work, animateProperty will - // determine them for us (except in ie6? -- ugh) - top: { /* start: top, */ end: top+(args.top||0) }, - left: { /* start: left,*/ end: left+(args.left||0) } - } - }, args)); - dojo.connect(_anim,"beforeBegin",_anim,init); - return _anim; // dojo._Animation -}; - -dojox.fx.crossFade = function(/* Object */args){ - // summary: Returns an animation cross fading two element simultaneously - // - // args: - // args.nodes: Array - two element array of domNodes, or id's - // - // all other standard animation args mixins apply. args.node ignored. - // - if(dojo.isArray(args.nodes)){ - // simple check for which node is visible, maybe too simple? - var node1 = args.nodes[0] = dojo.byId(args.nodes[0]); - var op1 = dojo.style(node1,"opacity"); - var node2 = args.nodes[1] = dojo.byId(args.nodes[1]); - var op2 = dojo.style(node2, "opacity"); - - var _anim = dojo.fx.combine([ - dojo[((op1==0)?"fadeIn":"fadeOut")](dojo.mixin({ - node: node1 - },args)), - dojo[((op1==0)?"fadeOut":"fadeIn")](dojo.mixin({ - node: node2 - },args)) - ]); - return _anim; // dojo._Animation - }else{ - // improper syntax in args, needs Array - return false; // Boolean - } -}; - -dojox.fx.highlight = function(/*Object*/ args){ - // summary: Highlight a node - // description: - // Returns an animation that sets the node background to args.color - // then gradually fades back the original node background color - // - // example: - // dojox.fx.highlight({ node:"foo" }).play(); - - var node = (args.node = dojo.byId(args.node)); - - args.duration = args.duration || 400; - // Assign default color light yellow - var startColor = args.color || '#ffff99'; - var endColor = dojo.style(node, "backgroundColor"); - var wasTransparent = (endColor == "transparent" || endColor == "rgba(0, 0, 0, 0)"); - - var anim = dojo.animateProperty(dojo.mixin({ - properties: { - backgroundColor: { start: startColor, end: endColor } - } - }, args)); - - dojo.connect(anim, "onEnd", anim, function(){ - if(wasTransparent){ - node.style.backgroundColor = "transparent"; - } - }); - - return anim; // dojo._Animation -}; - - -dojox.fx.wipeTo = function(/*Object*/ args){ - // summary: Animate a node wiping to a specific width or height - // - // description: - // Returns an animation that will expand the - // node defined in 'args' object from it's current to - // the height or width value given by the args object. - // - // default to height:, so leave height null and specify width: - // to wipeTo a width. note: this may be deprecated by a - // - // Note that the final value should not include - // units and should be an integer. Thus a valid args object - // would look something like this: - // - // dojox.fx.wipeTo({node: "nodeId", height: 200}).play(); - // - // Node must have no margin/border/padding, so put another - // node inside your target node for additional styling. - - args.node = dojo.byId(args.node); - var node = args.node, s = node.style; - - var dir = (args.width ? "width" : "height"); - var endVal = args[dir]; - - var props = {}; - props[dir] = { - // wrapped in functions so we wait till the last second to query (in case value has changed) - start: function(){ - // start at current [computed] height, but use 1px rather than 0 - // because 0 causes IE to display the whole panel - s.overflow="hidden"; - if(s.visibility=="hidden"||s.display=="none"){ - s[dir] = "1px"; - s.display=""; - s.visibility=""; - return 1; - }else{ - var now = dojo.style(node,dir); - return Math.max(now, 1); - } - }, - end: endVal, - unit: "px" - }; - - var anim = dojo.animateProperty(dojo.mixin({ properties: props },args)); - return anim; // dojo._Animation -} - -} diff --git a/includes/js/dojox/fx/_core.js b/includes/js/dojox/fx/_core.js deleted file mode 100644 index 54698ad..0000000 --- a/includes/js/dojox/fx/_core.js +++ /dev/null @@ -1,60 +0,0 @@ -if(!dojo._hasResource["dojox.fx._core"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.fx._core"] = true; -dojo.provide("dojox.fx._core"); - -dojox.fx._Line = function(start, end){ - // summary: a custom _Line to accomodate multi-dimensional values - // - // description: - // a normal dojo._Line is the curve, and does Line(start,end) - // for propertyAnimation. as we make more complicatied animations, we realize - // some properties can have 2, or 4 values relevant (x,y) or (t,l,r,b) for example - // - // this function provides support for those Lines, and is ported directly from 0.4 - // this is a lot of extra code for something so seldom used, so we'll put it here as - // and optional core addition. you can create a new line, and use it during onAnimate - // as you see fit. - // - // start: Integer|Array - // An Integer (or an Array of integers) to use as a starting point - // end: Integer|Array - // An Integer (or an Array of integers) to use as an ending point - // - // example: see dojox.fx.smoothScroll - // - // example: - // | // this is 10 .. 100 and 50 .. 500 - // | var curve = new dojox.fx._Line([10,50],[100,500]); - // | // dojo._Animation.onAnimate is called at every step of the animation - // | // to define current values. this _Line returns an array - // | // at each step. arguments[0] and [1] in this example. - // - this.start = start; - this.end = end; - if(dojo.isArray(start)){ - // multi-dimensional branch - var diff = []; - dojo.forEach(this.start, function(s,i){ - diff[i] = this.end[i] - s; - }, this); - - this.getValue = function(/*float*/ n){ - var res = []; - dojo.forEach(this.start, function(s, i){ - res[i] = (diff[i] * n) + s; - }, this); - return res; // Array - } - }else{ - // single value branch, document here for both branches: - var diff = end - start; - this.getValue = function(/*float*/ n){ - // summary: Returns the point on the line, or an array of points - // n: a floating point number greater than 0 and less than 1 - // returns: Mixed - return (diff * n) + this.start; // Decimal - } - } -}; - -} diff --git a/includes/js/dojox/fx/easing.js b/includes/js/dojox/fx/easing.js deleted file mode 100644 index 444a8e9..0000000 --- a/includes/js/dojox/fx/easing.js +++ /dev/null @@ -1,223 +0,0 @@ -if(!dojo._hasResource["dojox.fx.easing"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.fx.easing"] = true; -dojo.provide("dojox.fx.easing"); -/* - dojox.fx.easing is in this little file so you don't need dojox.fx to utilize this. - dojox.fx has a lot of fun animations, but this module is optimized for size ... - -*/ -dojox.fx.easing = { - // summary: Collection of easing functions to use beyond the default dojo._defaultEasing - // - // description: - // Easing functions are used to manipulate the iteration through - // an _Animation's _Line. _Line being the properties of an Animation, - // and the easing function progresses through that Line determing - // how quickly (or slowly) it should go. Or more accurately: modify - // the value of the _Line based on the percentage of animation completed. - // - // example: - // | dojo.require("dojox.fx.easing"); - // | var anim = dojo.fadeOut({ - // | node: 'node', - // | duration: 2000, - // | easing: dojox.fx.easing.quadIn - // | }).play(); - // - - linear: function(/* Decimal? */n){ - // summary: A linear easing function - return n; - }, - - quadIn: function(/* Decimal? */n){ - return Math.pow(n, 2); - }, - - quadOut: function(/* Decimal? */n){ - return n * (n-2) * -1; - }, - - quadInOut: function(/* Decimal? */n){ - n=n*2; - if(n<1){ return Math.pow(n, 2) / 2; } - return -1 * ((--n)*(n-2) - 1) / 2; - }, - - cubicIn: function(/* Decimal? */n){ - return Math.pow(n, 3); - }, - - cubicOut: function(/* Decimal? */n){ - return Math.pow(n-1, 3) + 1; - }, - - cubicInOut: function(/* Decimal? */n){ - n=n*2; - if(n<1){ return Math.pow(n, 3) / 2; } - n-=2; - return (Math.pow(n, 3) + 2) / 2; - }, - - quartIn: function(/* Decimal? */n){ - return Math.pow(n, 4); - }, - - quartOut: function(/* Decimal? */n){ - return -1 * (Math.pow(n-1, 4) - 1); - }, - - quartInOut: function(/* Decimal? */n){ - n=n*2; - if(n<1){ return Math.pow(n, 4) / 2; } - n-=2; - return -1/2 * (Math.pow(n, 4) - 2); - }, - - quintIn: function(/* Decimal? */n){ - return Math.pow(n, 5); - }, - - quintOut: function(/* Decimal? */n){ - return Math.pow(n-1, 5) + 1; - }, - - quintInOut: function(/* Decimal? */n){ - n=n*2; - if(n<1){ return Math.pow(n, 5) / 2; }; - n-=2; - return (Math.pow(n, 5) + 2) / 2; - }, - - sineIn: function(/* Decimal? */n){ - return -1 * Math.cos(n * (Math.PI/2)) + 1; - }, - - sineOut: function(/* Decimal? */n){ - return Math.sin(n * (Math.PI/2)); - }, - - sineInOut: function(/* Decimal? */n){ - return -1 * (Math.cos(Math.PI*n) - 1) / 2; - }, - - expoIn: function(/* Decimal? */n){ - return (n==0) ? 0 : Math.pow(2, 10 * (n - 1)); - }, - - expoOut: function(/* Decimal? */n){ - return (n==1) ? 1 : (-1 * Math.pow(2, -10 * n) + 1); - }, - - expoInOut: function(/* Decimal? */n){ - if(n==0){ return 0; } - if(n==1){ return 1; } - n = n*2; - if(n<1){ return Math.pow(2, 10 * (n-1)) / 2; } - --n; - return (-1 * Math.pow(2, -10 * n) + 2) / 2; - }, - - circIn: function(/* Decimal? */n){ - return -1 * (Math.sqrt(1 - Math.pow(n, 2)) - 1); - }, - - circOut: function(/* Decimal? */n){ - n = n-1; - return Math.sqrt(1 - Math.pow(n, 2)); - }, - - circInOut: function(/* Decimal? */n){ - n = n*2; - if(n<1){ return -1/2 * (Math.sqrt(1 - Math.pow(n, 2)) - 1); } - n-=2; - return 1/2 * (Math.sqrt(1 - Math.pow(n, 2)) + 1); - }, - - backIn: function(/* Decimal? */n){ - var s = 1.70158; - return Math.pow(n, 2) * ((s+1)*n - s); - }, - - backOut: function(/* Decimal? */n){ - // summary: an easing function that pops past the range briefly, and - // slowly comes back. - n = n - 1; - var s = 1.70158; - return Math.pow(n, 2) * ((s + 1) * n + s) + 1; - }, - - backInOut: function(/* Decimal? */n){ - var s = 1.70158 * 1.525; - n = n*2; - if(n < 1){ return (Math.pow(n, 2)*((s+1)*n - s))/2; } - n-=2; - return (Math.pow(n, 2)*((s+1)*n + s) + 2)/2; - }, - - elasticIn: function(/* Decimal? */n){ - if(n==0){ return 0; } - if(n==1){ return 1; } - var p = .3; - var s = p/4; - n = n - 1; - return -1 * Math.pow(2,10*n) * Math.sin((n-s)*(2*Math.PI)/p); - }, - - elasticOut: function(/* Decimal? */n){ - // summary: An easing function that elasticly snaps around the target value, near the end of the Animation - if(n==0) return 0; - if(n==1) return 1; - var p = .3; - var s = p/4; - return Math.pow(2,-10*n) * Math.sin((n-s)*(2*Math.PI)/p) + 1; - }, - - elasticInOut: function(/* Decimal? */n){ - // summary: An easing function that elasticly snaps around the value, near the beginning and end of the Animation - if(n==0) return 0; - n = n*2; - if(n==2) return 1; - var p = .3*1.5; - var s = p/4; - if(n<1){ - n-=1; - return -.5*(Math.pow(2,10*n) * Math.sin((n-s)*(2*Math.PI)/p)); - } - n-=1; - return .5*(Math.pow(2,-10*n) * Math.sin((n-s)*(2*Math.PI)/p)) + 1; - }, - - bounceIn: function(/* Decimal? */n){ - // summary: An easing function that "bounces" near the beginning of an Animation - return (1 - dojox.fx.easing.bounceOut(1-n)); // Decimal - }, - - bounceOut: function(/* Decimal? */n){ - // summary: An easing function that "bounces" near the end of an Animation - var s=7.5625; - var p=2.75; - var l; - if(n < (1 / p)){ - l = s*Math.pow(n, 2); - }else if(n < (2 / p)){ - n -= (1.5 / p); - l = s * Math.pow(n, 2) + .75; - }else if(n < (2.5 / p)){ - n -= (2.25 / p); - l = s * Math.pow(n, 2) + .9375; - }else{ - n -= (2.625 / p); - l = s * Math.pow(n, 2) + .984375; - } - return l; - }, - - bounceInOut: function(/* Decimal? */n){ - // summary: An easing function that "bounces" at the beginning and end of the Animation - if(n<0.5){ return dojox.fx.easing.bounceIn(n*2) / 2; } - return (dojox.fx.easing.bounceOut(n*2-1) / 2) + 0.5; // Decimal - } -}; - -} diff --git a/includes/js/dojox/fx/ext-dojo/NodeList.js b/includes/js/dojox/fx/ext-dojo/NodeList.js deleted file mode 100644 index 486b5fe..0000000 --- a/includes/js/dojox/fx/ext-dojo/NodeList.js +++ /dev/null @@ -1,66 +0,0 @@ -if(!dojo._hasResource["dojox.fx.ext-dojo.NodeList"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.fx.ext-dojo.NodeList"] = true; -dojo.provide("dojox.fx.ext-dojo.NodeList"); -dojo.experimental("dojox.fx.ext-dojo.NodeList"); -// summary: Core extensions to dojo.NodeList providing addtional fx to dojo.NodeList-fx -// description: -// A Package to extend dojo base NodeList with fx provided by the dojox.fx project. -// These are experimental animations, in an experimental - -dojo.require("dojo.NodeList-fx"); -dojo.require("dojox.fx"); - -dojo.extend(dojo.NodeList, { - - sizeTo: function(args){ - // summary: - // size all elements of this NodeList. Returns an instance of dojo._Animation - // example: - // | // size all divs with class "blah" - // | dojo.query("div.blah").sizeTo({ - // | width:50, - // | height:50 - // | }).play(); - return this._anim(dojox.fx, "sizeTo", args); // dojo._Animation - }, - - slideBy: function(args){ - // summary: - // slide all elements of this NodeList. Returns an instance of dojo._Animation - // - // example: - // | // slide all tables with class "blah" 10 px - // | dojo.query("table.blah").slideBy({ top:10, left:10 }).play(); - return this._anim(dojox.fx, "slideBy", args); // dojo._Animation - }, - - highlight: function(args){ - // summary: - // highlight all elements of the node list. - // Returns an instance of dojo._Animation - // example: - // | // highlight all links with class "foo" - // | dojo.query("a.foo").hightlight().play(); - return this._anim(dojox.fx, "highlight", args); // dojo._Animation - }, - - fadeTo: function(args){ - // summary: - // fade all elements of the node list to a specified opacity - // example: - // | // fade all elements with class "bar" to to 50% opacity - // | dojo.query(".bar").fadeTo({ end: 0.5 }).play(); - return this._anim(dojo,"_fade",args); - }, - - wipeTo: function(args){ - // summary: - // Wipe all elements of the NodeList to a specified width: or height: - // example: - // | dojo.query(".box").wipeTo({ width: 300px }).play(); - return this._anim(dojox.fx, "wipeTo", args); - } - -}); - -} diff --git a/includes/js/dojox/fx/resources/shadowB.png b/includes/js/dojox/fx/resources/shadowB.png deleted file mode 100644 index 0da8a2a..0000000 Binary files a/includes/js/dojox/fx/resources/shadowB.png and /dev/null differ diff --git a/includes/js/dojox/fx/resources/shadowBL.png b/includes/js/dojox/fx/resources/shadowBL.png deleted file mode 100644 index 4926283..0000000 Binary files a/includes/js/dojox/fx/resources/shadowBL.png and /dev/null differ diff --git a/includes/js/dojox/fx/resources/shadowBR.png b/includes/js/dojox/fx/resources/shadowBR.png deleted file mode 100644 index ee704df..0000000 Binary files a/includes/js/dojox/fx/resources/shadowBR.png and /dev/null differ diff --git a/includes/js/dojox/fx/resources/shadowL.png b/includes/js/dojox/fx/resources/shadowL.png deleted file mode 100644 index 67ebc2e..0000000 Binary files a/includes/js/dojox/fx/resources/shadowL.png and /dev/null differ diff --git a/includes/js/dojox/fx/resources/shadowR.png b/includes/js/dojox/fx/resources/shadowR.png deleted file mode 100644 index 8d0c99d..0000000 Binary files a/includes/js/dojox/fx/resources/shadowR.png and /dev/null differ diff --git a/includes/js/dojox/fx/resources/shadowT.png b/includes/js/dojox/fx/resources/shadowT.png deleted file mode 100644 index ea99436..0000000 Binary files a/includes/js/dojox/fx/resources/shadowT.png and /dev/null differ diff --git a/includes/js/dojox/fx/resources/shadowTL.png b/includes/js/dojox/fx/resources/shadowTL.png deleted file mode 100644 index 388742a..0000000 Binary files a/includes/js/dojox/fx/resources/shadowTL.png and /dev/null differ diff --git a/includes/js/dojox/fx/resources/shadowTR.png b/includes/js/dojox/fx/resources/shadowTR.png deleted file mode 100644 index c9d4f04..0000000 Binary files a/includes/js/dojox/fx/resources/shadowTR.png and /dev/null differ diff --git a/includes/js/dojox/fx/scroll.js b/includes/js/dojox/fx/scroll.js deleted file mode 100644 index 34111a2..0000000 --- a/includes/js/dojox/fx/scroll.js +++ /dev/null @@ -1,40 +0,0 @@ -if(!dojo._hasResource["dojox.fx.scroll"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.fx.scroll"] = true; -dojo.provide("dojox.fx.scroll"); -dojo.experimental("dojox.fx.scroll"); - -dojo.require("dojox.fx._core"); - -dojox.fx.smoothScroll = function(/* Object */args){ - // summary: Returns an animation that will smooth-scroll to a node (specified in etup()) - // description: This implementation support either horizental or vertical scroll, as well as - // both. In addition, element in iframe can be scrolled to correctly. - // offset: {x: int, y: int} this will be added to the target position - // duration: Duration of the animation in milliseconds. - // win: a node or window object to scroll - - if(!args.target){ args.target = dojo.coords(args.node,true); } - - var isWindow = dojo[(dojo.isIE ? "isObject" : "isFunction")](args["win"].scrollTo); - - var _anim = (isWindow) ? - (function(val){ - args.win.scrollTo(val[0],val[1]); - }) : - (function(val){ - args.win.scrollLeft = val[0]; - args.win.scrollTop = val[1]; - }); - - var anim = new dojo._Animation(dojo.mixin({ - beforeBegin: function(){ - if(this.curve){ delete this.curve; } - var current = isWindow ? dojo._docScroll() : {x: args.win.scrollLeft, y: args.win.scrollTop}; - anim.curve = new dojox.fx._Line([current.x,current.y],[args.target.x,args.target.y]); - }, - onAnimate: _anim - },args)); - return anim; // dojo._Animation -}; - -} diff --git a/includes/js/dojox/fx/style.js b/includes/js/dojox/fx/style.js deleted file mode 100644 index 895de9a..0000000 --- a/includes/js/dojox/fx/style.js +++ /dev/null @@ -1,219 +0,0 @@ -if(!dojo._hasResource["dojox.fx.style"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.fx.style"] = true; -dojo.provide("dojox.fx.style"); -dojo.experimental("dojox.fx.style"); -// -// summary: dojox.fx CSS Class _Animations: -// -// description: a set of functions to animate properties based on -// normalized CSS class definitions. -// -// provides: addClass, removeClass, and toggleClass -// -dojo.require("dojox.fx._base"); - -// FIXME: should the call signatures match dojo.addClass/removeClass/toggleClass and extend -// by having a third (or fourth) param to mix in additional _Animation args for advanced -// usage (delay: curve: repeat: easing: etc ... ) - -dojox.fx.addClass = function(/*dojox.fx._arg.StyleArgs*/ args){ - // summary: Animate the effects of adding a class to a node - // description: - // Creates an animation that will animate - // the properties of a node to the properties - // defined in a standard CSS .class definition. - // (calculating the differences itself) - // - // example: - // | - // | .bar { line-height: 12px; } - // | .foo { line-height: 40px; } - // |
            - // | Multi
            line
            text - // |
            - // | - // | // animate to line-height:40px - // | dojo.fx.addClass({ node:"test", cssClass:"foo" }).play(); - // - var node = (args.node = dojo.byId(args.node)); - - var pushClass = (function(n){ - // summary: onEnd we want to add the class to the node - // (as dojo.addClass naturally would) in case our - // class parsing misses anything the browser would - // otherwise interpret. this may cause some flicker, - // and will only apply the class so children can inherit - // after the animation is done (potentially more flicker) - return function(){ - dojo.addClass(n, args.cssClass); - n.style.cssText = _beforeStyle; - } - })(node); - - // _getCalculatedStleChanges is the core of our style/class animations - var mixedProperties = dojox.fx._getCalculatedStyleChanges(args,true); - var _beforeStyle = node.style.cssText; - var _anim = dojo.animateProperty(dojo.mixin({ - properties: mixedProperties - },args)); - dojo.connect(_anim,"onEnd",_anim,pushClass); - return _anim; // dojo._Animation -}; - -dojox.fx.removeClass = function(/*dojox.fx._arg.StyleArgs*/ args){ - // summary: Animate the effects of removing a class from a node - // description: - // Creates an animation that will animate the properties of a - // node (args.node) to the properties calculated after removing - // a standard CSS className from a that node. - // - // calls dojo.removeClass(args.cssClass) onEnd of animation - // - // standard dojo._Animation object rules apply. - // - // example: - // | // animate the removal of "foo" from a node with id="bar" - // | dojox.fx.removeClass({ - // | node: "bar", - // | cssClass: "foo" - // | }).play(); - - var node = (args.node = dojo.byId(args.node)); - - var pullClass = (function(n){ - // summary: onEnd we want to remove the class from the node - // (as dojo.removeClass naturally would) in case our class - // parsing misses anything the browser would otherwise - // interpret. this may cause some flicker, and will only - // apply the class so children can inherit after the - // animation is done (potentially more flicker) - // - return function(){ - dojo.removeClass(n, args.cssClass); - n.style.cssText = _beforeStyle; - } - })(node); - - var mixedProperties = dojox.fx._getCalculatedStyleChanges(args,false); - var _beforeStyle = node.style.cssText; - var _anim = dojo.animateProperty(dojo.mixin({ - properties: mixedProperties - },args)); - dojo.connect(_anim,"onEnd",_anim,pullClass); - return _anim; // dojo._Animation -}; - -dojox.fx.toggleClass = function(/*DomNode|String*/node, /*String*/cssClass, /*Boolean?*/condition){ - // summary: - // Animate the effects of Toggling a class on a Node - // - // description: - // creates an animation that will animate the effect of - // toggling a class on or off of a node. - // Adds a class to node if not present, or removes if present. - // Pass a boolean condition if you want to explicitly add or remove. - // node: - // The domNode (or string of the id) to toggle - // cssClass: - // String of the classname to add to the node - // condition: - // If passed, true means to add the class, false means to remove. - // - // example: - // | // add the class "sampleClass" to a node id="theNode" - // | dojox.fx.toggleClass("theNode","sampleClass",true).play(); - // example: - // | // toggle the class "sampleClass" on the node id="theNode" - // | dojox.fx.toggleClass("theNode","sampleClass").play(); - - if(typeof condition == "undefined"){ - condition = !dojo.hasClass(node, cssClass); - } - return dojox.fx[(condition ? "addClass" : "removeClass")]({ node: node, cssClass:cssClass }); // dojo._Animation - // TODO: support 4th param animMixin to allow passing of easing and duration and other _Animtion options -}; - -dojox.fx._allowedProperties = [ - // summary: Our pseudo map of properties we will check for. - // description: - // it should be much more intuitive. a way to normalize and - // "predict" intent, or even something more clever ... - // open to suggestions. - - // no-brainers: - "width", - "height", - // only if position = absolute || relative? - "left", "top", // "right", "bottom", - // these need to be filtered through dojo.colors? - // "background", // normalize to: - /* "backgroundImage", */ - // "backgroundPosition", // FIXME: to be effective, this needs "#px #px"? - "backgroundColor", - - "color", - - // "border", - "borderBottomColor", "borderBottomWidth", - "borderTopColor","borderTopWidth", - "borderLeftColor","borderLeftWidth", - "borderRightColor","borderRightWidth", - - // "padding", // normalize to: - "paddingLeft", "paddingRight", "paddingTop", "paddingBottom", - // "margin", // normalize to: - "marginLeft", "marginTop", "marginRight", "marginBottom", - - // unit import/delicate?: - "lineHeight", - "letterSpacing", - "fontSize" -]; - -dojox.fx._getStyleSnapshot = function(/* Object */cache){ - // summary: - // uses a dojo.getComputedStyle(node) cache reference and - // iterates through the 'documented/supported animate-able' - // properties. - // - // returns: Array - // an array of raw, calculcated values (no keys), to be normalized/compared - // elsewhere - return dojo.map(dojox.fx._allowedProperties,function(style){ - return cache[style]; // String - }); // Array -}; - -dojox.fx._getCalculatedStyleChanges = function(/*dojox.fx._arg.StyleArgs*/ args, /*Boolean*/addClass){ - // summary: calclate the difference in style properties between two states - // description: - // calculate and normalize(?) the differences between two states - // of a node (args.node) by quickly adding or removing a class, and - // iterateing over the results of dojox.fx._getStyleSnapshot() - // - // addClass: - // true to calculate what adding a class would do, - // false to calculate what removing the class would do - - var node = (args.node = dojo.byId(args.node)); - var cs = dojo.getComputedStyle(node); - - // take our snapShots - var _before = dojox.fx._getStyleSnapshot(cs); - dojo[(addClass ? "addClass" : "removeClass")](node,args.cssClass); - var _after = dojox.fx._getStyleSnapshot(cs); - dojo[(addClass ? "removeClass" : "addClass")](node,args.cssClass); - - var calculated = {}; - var i = 0; - dojo.forEach(dojox.fx._allowedProperties,function(prop){ - if(_before[i] != _after[i]){ - // FIXME: the static unit: px is not good, either. need to parse unit from computed style? - calculated[prop] = { end: parseInt(_after[i]) /* start: parseInt(_before[i]), unit: 'px' */ }; - } - i++; - }); - return calculated; -}; - -} diff --git a/includes/js/dojox/fx/tests/_animation.css b/includes/js/dojox/fx/tests/_animation.css deleted file mode 100644 index efab455..0000000 --- a/includes/js/dojox/fx/tests/_animation.css +++ /dev/null @@ -1,97 +0,0 @@ -.testBox { - border:1px solid #333; - width:75px; - height:75px; -} -.absolutely { position:absolute; - top:0; left:0; -} -.floating { - float:left; -} -.wide { - width:200px; -} -.tall { - height:200px; -} -.tiny { - width:3px; - height:3px; -} -.black { - color:#fff; - background-color:#000; -} -.white { - color:#666; - background-color:#fff; -} -.green { - color:#000; - background-color:#eef; -} -.red { - color:#fff; - background-color:#ffe; -} -.blue { - color:#000; - background-color:#fef !important; -} -.baseFont { - line-height:14px; - font:12px Arial,sans-serif; - letter-spacing:0.1em; -} -.spacedVertical { - line-height:42px; -} -.spacedHorizontal { - letter-spacing:0.42em; -} -.fontSizeTest { - font:20px Arial,sans-serif; -} -.bigMargin { - margin:30px; -} -.noMargin { - margin:0; -} -.mediumMargin { - margin:15px; -} -.bigMarginLeft { - margin-left:150px; -} -.padded { - padding:3px; -} -.noPadding { - padding:0; -} -.topPadding { - padding-top:50px; -} -.bigPadding { - padding:30px; -} -.offsetSome { - top:50px; - left:75px; -} -.topLeft { - top:0; - left:0; -} -.bottomRight { - bottom:0; - right:0; -} -.bothAxis { - top:10px; - left:10px; - right:10px; - bottom:10px; -} diff --git a/includes/js/dojox/fx/tests/_animation.css.commented.css b/includes/js/dojox/fx/tests/_animation.css.commented.css deleted file mode 100644 index ba01d03..0000000 --- a/includes/js/dojox/fx/tests/_animation.css.commented.css +++ /dev/null @@ -1,113 +0,0 @@ -.testBox { - border:1px solid #333; - width:75px; - height:75px; -} -.absolutely { position:absolute; - top:0; left:0; -} -.floating { - float:left; -} -.wide { - width:200px; -} -.tall { - height:200px; -} -.tiny { - width:3px; - height:3px; -} - - -.black { - color:#fff; - background-color:#000; -} - -.white { - color:#666; - background-color:#fff; -} - -.green { - color:#000; - background-color:#eef; -} -.red { - color:#fff; - background-color:#ffe; -} -.blue { - color:#000; - background-color:#fef !important; -} - -/* font sizes */ -.baseFont { - line-height:14px; - font:12px Arial,sans-serif; - letter-spacing:0.1em; -} - -.spacedVertical { - line-height:42px; -} -.spacedHorizontal { - letter-spacing:0.42em; -} -.fontSizeTest { - font:20px Arial,sans-serif; -} - -/* margins */ -.bigMargin { - margin:30px; -} -.noMargin { - margin:0; -} -.mediumMargin { - margin:15px; -} -.bigMarginLeft { - margin-left:150px; -} - -/* padding */ -.padded { - padding:3px; -} -.noPadding { - padding:0; -} -.topPadding { - padding-top:50px; -} -.bigPadding { - padding:30px; -} - -/* positioning */ - -.offsetSome { - top:50px; - left:75px; -} - -.topLeft { - top:0; - left:0; -} -.bottomRight { - bottom:0; - right:0; -} - -.bothAxis { - top:10px; - left:10px; - right:10px; - bottom:10px; -} diff --git a/includes/js/dojox/fx/tests/example_Line.html b/includes/js/dojox/fx/tests/example_Line.html deleted file mode 100644 index 4177e96..0000000 --- a/includes/js/dojox/fx/tests/example_Line.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - using a dojo._Line and dojo._Animation - - - - - - -

            an "animateProperty" for dojox.gfx

            -
            - - - diff --git a/includes/js/dojox/fx/tests/example_backgroundPosition.html b/includes/js/dojox/fx/tests/example_backgroundPosition.html deleted file mode 100644 index 5011213..0000000 --- a/includes/js/dojox/fx/tests/example_backgroundPosition.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - Animated background position example | The Dojo Toolkit - - - - - - - -

            dojo._Animation test:

            - -

            -

            Test
            -

            - - - diff --git a/includes/js/dojox/fx/tests/example_dojoAnimations.html b/includes/js/dojox/fx/tests/example_dojoAnimations.html deleted file mode 100644 index 2365ea1..0000000 --- a/includes/js/dojox/fx/tests/example_dojoAnimations.html +++ /dev/null @@ -1,442 +0,0 @@ - - - - - skeleton page | The Dojo Toolkit - - - - - - - - - -
            - -

            Dojo FX: base animations

            - - - - - - - -
            -
            -
             
            -
            -
            - - -

            Animate CSS Properties:

            - - - - - - - -
            -
            -

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. - Nam facilisis enim. Pellentesque in elit et lacus euismod dignissim. - Aliquam dolor pede, convallis eget, dictum a, blandit ac, urna. - Pellentesque sed nunc ut justo volutpat egestas. Class aptent taciti - sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. - In erat. -

            -
            -
            - -

            dojo.fx - Core animations

            - - - - - - - -
            -
            -
            -
            -
            - -

            dojo.query FX

            - - - - - - - - - - - -
            -
              -
            • odd row
            • -
            • even row
            • -
            • odd row
            • -
            • even row
            • -
            • odd row
            • -
            • even row
            • -
            • odd row
            • -
            • even row
            • -
            • odd row
            • -
            -
            -

            (FisheyeLite makes this easy. be creative:)

            -
              -
            • odd row
            • -
            • even row
            • -
            • odd row
            • -
            • even row
            • -
            • odd row
            • -
            • with id
            • -
            • odd row
            • -
            -

            -
            -
            - -
            - - diff --git a/includes/js/dojox/fx/tests/example_easingChart2D.html b/includes/js/dojox/fx/tests/example_easingChart2D.html deleted file mode 100644 index fd0d171..0000000 --- a/includes/js/dojox/fx/tests/example_easingChart2D.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - visualising dojo._Animation.easing via dojox.charting - - - - - - - - - - - - - -

            dojox.fx.easing

            - -

            this chart shows time (x axis) vs. position (y axis) for a movement from 0px to 30px modified by easing functions

            - - - -
            -
            -
            - - - diff --git a/includes/js/dojox/fx/tests/images/averycutedog.jpg b/includes/js/dojox/fx/tests/images/averycutedog.jpg deleted file mode 100644 index 335855e..0000000 Binary files a/includes/js/dojox/fx/tests/images/averycutedog.jpg and /dev/null differ diff --git a/includes/js/dojox/fx/tests/images/dot.png b/includes/js/dojox/fx/tests/images/dot.png deleted file mode 100644 index 1287a73..0000000 Binary files a/includes/js/dojox/fx/tests/images/dot.png and /dev/null differ diff --git a/includes/js/dojox/fx/tests/images/longBg.png b/includes/js/dojox/fx/tests/images/longBg.png deleted file mode 100644 index f89d23a..0000000 Binary files a/includes/js/dojox/fx/tests/images/longBg.png and /dev/null differ diff --git a/includes/js/dojox/fx/tests/test_Nodelist-fx.html b/includes/js/dojox/fx/tests/test_Nodelist-fx.html deleted file mode 100644 index 75c7a94..0000000 --- a/includes/js/dojox/fx/tests/test_Nodelist-fx.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - dojo.NodeList-fx and dojox.fx.ext-dojo.Nodelist | fx add-ons to dojo.query() - - - - - - - -

            NodeList and dojo.query "magic"

            - -
            -

            stuff going on:

            -
              -
            • watch the startup cycle
            • -
            • click col 6
            • -
            • click top right box
            • -
            • hover to highlight() node
            • -
            -
            - -
            -

            custom query:

            -
            -

            - dojo.query(""); -
            (dojo:)
            - -
            - - -
            - - -
            - - -
            - - - (x: 0, y:0)
            - -
            (dojox:)
            - - -
            - - -
            - - -
            - - -
            - -

            - - - - -
            -
            - -
            -
            1
            -
            2
            -
            3
            -
            4
            -
            5
            -
            6
            -
            7
            - -
            2
            -
            -
            -
            -
            -
            -
            - -
            3
            -
            -
            -
            -
            -
            -
            - -
            4
            -
            -
            -
            -
            -
            -
            - -
            - -
            - HTML AFTER -
            - -

            classes available to play with:

            - -
            -		.testBox
            -		.noIdHere
            -		each row: .rowOne .rowTwo .rowThree .rowFour
            -		each col: .iOne .iTwo .. iSeven
            -		#randomNode, #node9, #node7, #aNode, #node1, #node2, #node4, #node6
            -	
            - -

            the dojo.query() isn't limited to the testDiv, it parses the body. try: dojo.query("fieldset") and slideBy animation

            - - - diff --git a/includes/js/dojox/fx/tests/test_Shadow.html b/includes/js/dojox/fx/tests/test_Shadow.html deleted file mode 100644 index fd21fd2..0000000 --- a/includes/js/dojox/fx/tests/test_Shadow.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - dojox.fx.Shadow - Drop Shadows for DomNodes | The Dojo Toolkit - - - - - - - - -

            dojox.fx.Shadow tests

            - -
            -

            with margin:

            -

            Lorem

            - -

            with padding:

            -

            Lorem

            - -

            no padding:

            -

            Lorem

            - -

            position:absolute

            -

            Lorem

            - -
            -
            - - -

            - - - - diff --git a/includes/js/dojox/fx/tests/test_animateClass.html b/includes/js/dojox/fx/tests/test_animateClass.html deleted file mode 100644 index c963ca1..0000000 --- a/includes/js/dojox/fx/tests/test_animateClass.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - dojox.fx.style - animatated CSS functions | The Dojo Toolkit - - - - - - - - -

            dojox.fx.style tests

            - -

            - dojox.fx.style provides a few methods to animate the changes that would occur - when adding or removing a class from a domNode. -

            -
              -
            • dojox.fx.addClass(/* Object */)args); // Returns dojo._Animation
            • -
            • dojox.fx.removeClass(/* Object */args); // Returns dojo._Animation
            • -
            • dojox.fx.toggleClass(/* DomNode */node, /* String */cssClass,/* Boolean */force)
            • -
            - - - - - - - -

            testing sizes

            - - - - - - - -
            -
            -
            -
            -
            - -
            - -

            testing position

            -

            This is a div position:relative with a position:absolute div inside. testing various t/l/b/r combos. - normal css inheritance rules apply, so setting .foo .bar if .foo was defined last in the css text, .bar - will take precedent. the below position test shows the results of this: -

            - - - - - -
            -
            -
            - - - - - -

            Some properties - cannot be modified (fontFace, and so on), so to ensure the results at the end - of the animation are applied correctly and fully, the class name is set on the node - via dojo.add/removeClass(). -

            - - - - diff --git a/includes/js/dojox/fx/tests/test_crossFade.html b/includes/js/dojox/fx/tests/test_crossFade.html deleted file mode 100644 index 330a34a..0000000 --- a/includes/js/dojox/fx/tests/test_crossFade.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - dojox.fx - animation sets to use! - - - - - - - -

            dojox.fx.crossFade test

            - - -

            a simple demonstration of two nodes fading simultaneously

            -
            - -
            - -
            box2
            -
            -
            -
            - -

            two nodes with position:relative in a container with position:absolute, crossfading together.

            - -
            -
            - -
            box two
            -
            -
            -
            - -

            simple looping crossfade

            - -
            -
            -
            box one
            - -
            -
            -
            - - - -

            that's all, folks...

            - - - diff --git a/includes/js/dojox/fx/tests/test_easing.html b/includes/js/dojox/fx/tests/test_easing.html deleted file mode 100644 index fa7bf41..0000000 --- a/includes/js/dojox/fx/tests/test_easing.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - dojox.fx.easing functions: - - - - - - - -

            dojox.fx.easing function tests:

            - - (click block to play animation, or here to do all three) - -
            dojox.fx.easing.easeIn
            -

            -
            dojox.fx.easing.easeOut
            -

            -
            dojox.fx.easing.linear
            -

            -
            dojo default easing
            - -

            - dojox.fx.easing is stand-alone, and does not require the dojox.fx base files. to see a chart - of these functions see example_easingChart2D.html -

            - -
            bounce
            - - - diff --git a/includes/js/dojox/fx/tests/test_highlight.html b/includes/js/dojox/fx/tests/test_highlight.html deleted file mode 100644 index 1d5947e..0000000 --- a/includes/js/dojox/fx/tests/test_highlight.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - dojox.fx.highlight - - - - - - -

            dojox.fx.highlight tests

            - -
            -

            This is the default highlight

            -
            - -
            -

            BRING ATTENTION HERE!

            -
            - -
            -

            Highlight me

            -
            - - test #1 (default) -
            - test #2 (default - play twice) -
            - test #3 -
            - test #4 -
            - highlight via dojo.query - - - diff --git a/includes/js/dojox/fx/tests/test_scroll.html b/includes/js/dojox/fx/tests/test_scroll.html deleted file mode 100644 index a3ec9ed..0000000 --- a/includes/js/dojox/fx/tests/test_scroll.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - dojox.fx.scroll - - - - - - - - -

            dojox.fx.scroll tests

            - -

            YOU FOUND ME!

            -

            neat.

            -
            - -

            dojox.fx.scroll provides:

            -
              -
            • dojox.fx.smoothScroll()
            • -
            -

            - which will create and return a dojo._Animation to scroll - a window to a desired offset. (or a node that has overflow:auto/hidden, if you pass the domNode as the win: argument) -

            - - -

            getScroll

            -

            - Scroll top: 0
            - Scroll left: 0 -

            - - - -
            - -
            - -
            - -

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            - - -

            getElementsByClass

            - -

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            - -

            ContainsAny

            - -

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitaerisus.

            - - - diff --git a/includes/js/dojox/fx/tests/test_sizeTo.html b/includes/js/dojox/fx/tests/test_sizeTo.html deleted file mode 100644 index 0c21e9b..0000000 --- a/includes/js/dojox/fx/tests/test_sizeTo.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - dojox.fx.sizeTo | experimental fx add-ons for the Dojo Toolkit - - - - - - - -

            dojox.fx.sizeTo test

            - -

            quick sizeTo API overview:

            - -
            -        dojox.fx.sizeTo({
            -                // basic requirements:
            -                node: "aDomNodeId", // or a domNode reference        
            -                width: 200, // measured in px
            -                height: 200, // measured in px
            -                method: "chain" // is default, or "combine"               
            -        });
            -        
            -

            - little test blocks (works in FF/win/mac + ie6) dojo.query() test -

            - -
            -
            - mouse down / mouse up -
            -
            - hover / exit -
            - -
            - all of em' -
            -
            -
            - - (click the box labeled "all of em'" again to reset all nodes) - - HTML AFTER -
            - - - diff --git a/includes/js/dojox/fx/tests/test_slideBy.html b/includes/js/dojox/fx/tests/test_slideBy.html deleted file mode 100644 index a1a1960..0000000 --- a/includes/js/dojox/fx/tests/test_slideBy.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - dojox.fx - animation sets to use! - - - - - - - -

            dojox.fx.slideBy test

            - - top: 50, left:50 - top:-50, left:50 - top:-50, left:-50 - top:50, left:-50 - dojo.query() - chainTest - -
            - lorem. ipsum. -
            - -
            - -
            -
            a
            b
            c
            -
            - - - HTML AFTER -
            - - - - - diff --git a/includes/js/dojox/fx/tests/test_wipeTo.html b/includes/js/dojox/fx/tests/test_wipeTo.html deleted file mode 100644 index 539453b..0000000 --- a/includes/js/dojox/fx/tests/test_wipeTo.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - dojox.fx.wipeTo | experimental fx add-ons for the Dojo Toolkit - - - - - - - -

            dojox.fx.wipeTo test

            - -

            quick sizeTo API overview:

            - -
            -        dojox.fx.wipeTo({
            -                // basic requirements:
            -                node: "aDomNodeId", // or a domNode reference        
            -                width: 200 // measured in px
            -                // height: 200 // measured in px (only one at a time, see sizeTo)         
            -        });
            -        
            - -

            Some test boxes: (id="box1,box2,box3" etc ...)

            - - - - - - - -
            - I am some small text -
            - -
            - I am some small text -
            - -
            - I am some small text -
            - - -
            - -
            - - - diff --git a/includes/js/dojox/gfx.js b/includes/js/dojox/gfx.js deleted file mode 100644 index 85cbc52..0000000 --- a/includes/js/dojox/gfx.js +++ /dev/null @@ -1,40 +0,0 @@ -if(!dojo._hasResource["dojox.gfx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx"] = true; -dojo.provide("dojox.gfx"); - -dojo.require("dojox.gfx.matrix"); -dojo.require("dojox.gfx._base"); - -(function(){ - var renderers = (typeof dojo.config["gfxRenderer"] == "string" ? - dojo.config["gfxRenderer"] : "svg,vml,silverlight,canvas").split(","); - for(var i = 0; i < renderers.length; ++i){ - switch(renderers[i]){ - case "svg": - //TODO: need more comprehensive test for SVG - if(!dojo.isIE && (navigator.userAgent.indexOf("iPhone") < 0) && (navigator.userAgent.indexOf("iPod") < 0)){ dojox.gfx.renderer = "svg"; } - break; - case "vml": - if(dojo.isIE != 0){ dojox.gfx.renderer = "vml"; } - break; - case "silverlight": - //TODO: need more comprehensive test for Silverlight - if(window.Silverlight){ dojox.gfx.renderer = "silverlight"; } - break; - case "canvas": - //TODO: need more comprehensive test for Canvas - if(dojo.isIE == 0){ dojox.gfx.renderer = "canvas"; } - break; - } - if(dojox.gfx.renderer){ break; } - } - console.log("gfx renderer = " + dojox.gfx.renderer); -})(); - -// include a renderer conditionally -dojo.requireIf(dojox.gfx.renderer == "svg", "dojox.gfx.svg"); -dojo.requireIf(dojox.gfx.renderer == "vml", "dojox.gfx.vml"); -dojo.requireIf(dojox.gfx.renderer == "silverlight", "dojox.gfx.silverlight"); -dojo.requireIf(dojox.gfx.renderer == "canvas", "dojox.gfx.canvas"); - -} diff --git a/includes/js/dojox/gfx/Moveable.js b/includes/js/dojox/gfx/Moveable.js deleted file mode 100644 index 2717043..0000000 --- a/includes/js/dojox/gfx/Moveable.js +++ /dev/null @@ -1,101 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.Moveable"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.Moveable"] = true; -dojo.provide("dojox.gfx.Moveable"); - -dojo.require("dojox.gfx.Mover"); - -dojo.declare("dojox.gfx.Moveable", null, { - constructor: function(shape, params){ - // summary: an object, which makes a shape moveable - // shape: dojox.gfx.Shape: a shape object to be moved - // params: Object: an optional object with additional parameters; - // following parameters are recognized: - // delay: Number: delay move by this number of pixels - // mover: Object: a constructor of custom Mover - this.shape = shape; - this.delay = (params && params.delay > 0) ? params.delay : 0; - this.mover = (params && params.mover) ? params.mover : dojox.gfx.Mover; - this.events = [ - this.shape.connect("onmousedown", this, "onMouseDown"), - // cancel text selection and text dragging - //dojo.connect(this.handle, "ondragstart", dojo, "stopEvent"), - //dojo.connect(this.handle, "onselectstart", dojo, "stopEvent") - ]; - }, - - // methods - destroy: function(){ - // summary: stops watching for possible move, deletes all references, so the object can be garbage-collected - dojo.forEach(this.events, this.shape.disconnect, this.shape); - this.events = this.shape = null; - }, - - // mouse event processors - onMouseDown: function(e){ - // summary: event processor for onmousedown, creates a Mover for the shape - // e: Event: mouse event - if(this.delay){ - this.events.push(this.shape.connect("onmousemove", this, "onMouseMove")); - this.events.push(this.shape.connect("onmouseup", this, "onMouseUp")); - this._lastX = e.clientX; - this._lastY = e.clientY; - }else{ - new this.mover(this.shape, e, this); - } - dojo.stopEvent(e); - }, - onMouseMove: function(e){ - // summary: event processor for onmousemove, used only for delayed drags - // e: Event: mouse event - if(Math.abs(e.clientX - this._lastX) > this.delay || Math.abs(e.clientY - this._lastY) > this.delay){ - this.onMouseUp(e); - new this.mover(this.shape, e, this); - } - dojo.stopEvent(e); - }, - onMouseUp: function(e){ - // summary: event processor for onmouseup, used only for delayed delayed drags - // e: Event: mouse event - this.shape.disconnect(this.events.pop()); - this.shape.disconnect(this.events.pop()); - }, - - // local events - onMoveStart: function(/* dojox.gfx.Mover */ mover){ - // summary: called before every move operation - dojo.publish("/gfx/move/start", [mover]); - dojo.addClass(dojo.body(), "dojoMove"); - }, - onMoveStop: function(/* dojox.gfx.Mover */ mover){ - // summary: called after every move operation - dojo.publish("/gfx/move/stop", [mover]); - dojo.removeClass(dojo.body(), "dojoMove"); - }, - onFirstMove: function(/* dojox.gfx.Mover */ mover){ - // summary: called during the very first move notification, - // can be used to initialize coordinates, can be overwritten. - - // default implementation does nothing - }, - onMove: function(/* dojox.gfx.Mover */ mover, /* Object */ shift){ - // summary: called during every move notification, - // should actually move the node, can be overwritten. - this.onMoving(mover, shift); - this.shape.applyLeftTransform(shift); - this.onMoved(mover, shift); - }, - onMoving: function(/* dojox.gfx.Mover */ mover, /* Object */ shift){ - // summary: called before every incremental move, - // can be overwritten. - - // default implementation does nothing - }, - onMoved: function(/* dojox.gfx.Mover */ mover, /* Object */ shift){ - // summary: called after every incremental move, - // can be overwritten. - - // default implementation does nothing - } -}); - -} diff --git a/includes/js/dojox/gfx/Mover.js b/includes/js/dojox/gfx/Mover.js deleted file mode 100644 index 6a5d456..0000000 --- a/includes/js/dojox/gfx/Mover.js +++ /dev/null @@ -1,62 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.Mover"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.Mover"] = true; -dojo.provide("dojox.gfx.Mover"); - -dojo.declare("dojox.gfx.Mover", null, { - constructor: function(shape, e, host){ - // summary: an object, which makes a shape follow the mouse, - // used as a default mover, and as a base class for custom movers - // shape: dojox.gfx.Shape: a shape object to be moved - // e: Event: a mouse event, which started the move; - // only clientX and clientY properties are used - // host: Object?: object which implements the functionality of the move, - // and defines proper events (onMoveStart and onMoveStop) - this.shape = shape; - this.lastX = e.clientX - this.lastY = e.clientY; - var h = this.host = host, d = document, - firstEvent = dojo.connect(d, "onmousemove", this, "onFirstMove"); - this.events = [ - dojo.connect(d, "onmousemove", this, "onMouseMove"), - dojo.connect(d, "onmouseup", this, "destroy"), - // cancel text selection and text dragging - dojo.connect(d, "ondragstart", dojo, "stopEvent"), - dojo.connect(d, "onselectstart", dojo, "stopEvent"), - firstEvent - ]; - // notify that the move has started - if(h && h.onMoveStart){ - h.onMoveStart(this); - } - }, - // mouse event processors - onMouseMove: function(e){ - // summary: event processor for onmousemove - // e: Event: mouse event - var x = e.clientX; - var y = e.clientY; - this.host.onMove(this, {dx: x - this.lastX, dy: y - this.lastY}); - this.lastX = x; - this.lastY = y; - dojo.stopEvent(e); - }, - // utilities - onFirstMove: function(){ - // summary: it is meant to be called only once - this.host.onFirstMove(this); - dojo.disconnect(this.events.pop()); - }, - destroy: function(){ - // summary: stops the move, deletes all references, so the object can be garbage-collected - dojo.forEach(this.events, dojo.disconnect); - // undo global settings - var h = this.host; - if(h && h.onMoveStop){ - h.onMoveStop(this); - } - // destroy objects - this.events = this.shape = null; - } -}); - -} diff --git a/includes/js/dojox/gfx/README b/includes/js/dojox/gfx/README deleted file mode 100644 index c318ddb..0000000 --- a/includes/js/dojox/gfx/README +++ /dev/null @@ -1,102 +0,0 @@ -------------------------------------------------------------------------------- -dojox.gfx -------------------------------------------------------------------------------- -Version 1.100 -Release date: 08/01/2006 -------------------------------------------------------------------------------- -Project state: -beta -HTMLCanvas renderer: experimental -------------------------------------------------------------------------------- -Credits - Eugene Lazutkin (eugene.lazutkin@gmail.com) - Kun Xi (bookstack@gmail.com) - Chris Mitchell (ccmitchellusa@gmail.com) HTML Canvas -------------------------------------------------------------------------------- -Project description - -Implementation of simple portable 2D graphics library. -------------------------------------------------------------------------------- -Dependencies: - -Dojo Core -------------------------------------------------------------------------------- -Documentation - -Currently it can be found here: http://docs.google.com/Doc?id=d764479_1hnb2tn - -HTMLCanvas Renderer Status - -To use canvas rendering, insert 'canvas' at the beginning of the gfxRenderers list in your -djConfig, for example: - -canvas currently will only render on non-IE browsers (see dojox/gfx.js for where the renderer is loaded); -although it should be possible to use an IE canvas implementation (like Google's); however, it will be very slow. - -The following tests can be made to work with HTML Canvas with minor testcase modification: -dojox/gfx/tests - test_gfx.html-Bugs #1 - test_arc.html - test_bezier.html - test_pattern.html - test_gradient.html - test_linearGradient.html - test_image1.html - Limitation #3 - test_transform.html - Bug #1 - test_poly.html - Bug #1 -dojox/gfx/demos - butterfly.html - Bug #1 - lion.html - Bug #1 - tiger.html - Bug #1 - circles.html - No event processing yet :( - creator.html -dojox/chart - test_pie2d.html - Dojo Charts on iPhone anyone? :) - test_chart2d.html - - - // To make charts work, the following line needs to be added to the end of the - // Chart2D.js render() method (prior to return) - if(this.surface.render){this.surface.render()}; - -Known Limitations: -1) event handling- plan is to capture all events at canvas, perform intersect/hit - tests (not implemented) against scene graph, then propogate event to top-most - intersected shape. HtmlCanvas shape need intersectsStroke and intersectsBounds, - and intersects (region). -2) SVG and VML are "live" scene graphs; eg. any state change to objects in the - scene automatically get rendered in next engine render pass. For canvas, it's - procedural, and current implementation requires application to call surface.render() - whenever scene needs to be updated. Plan is to do dirty region checking based - on bounding boxes (currently not properly computed), and track dirty areas anytime - state changes (invalidate) separate from render phase. - Add the following call where changes to the scene graph are complete and you want to - render: - - if (surface.render){surface.render();} - -4) Text/Text Paths - Text shape is implemented using DIV overlays. Many text styles are not - applied, and outline/fills are not possible. This is due to limitations in Canvas spec. - Firefox 3.0 has proprietary text functions that we could test for and use once FF3 is out. - No luck on Safari. -3) No Image skewing - Limitation of Canvas - -Known Bugs: -1) Matrix xformations (applied from root to shape leaf nodes) not quite right--but very close. - Canvas does not have a built in transformation function that allows skewing. Need to - track skew matrix with Shape, and perform other trans/rot/scale transformations without - using canvas transform functions. - - -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/gfx.js -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/gfx/* - -Install into the following directory structure: -/dojox/gfx/ - -...which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- diff --git a/includes/js/dojox/gfx/_base.js b/includes/js/dojox/gfx/_base.js deleted file mode 100644 index 3b118c2..0000000 --- a/includes/js/dojox/gfx/_base.js +++ /dev/null @@ -1,288 +0,0 @@ -if(!dojo._hasResource["dojox.gfx._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx._base"] = true; -dojo.provide("dojox.gfx._base"); - -(function(){ - var g = dojox.gfx, b = g._base; - - // candidates for dojox.style (work on VML and SVG nodes) - g._hasClass = function(/*DomNode*/node, /*String*/classStr){ - // summary: - // Returns whether or not the specified classes are a portion of the - // class list currently applied to the node. - // return (new RegExp('(^|\\s+)'+classStr+'(\\s+|$)')).test(node.className) // Boolean - return ((" "+node.getAttribute("className")+" ").indexOf(" "+classStr+" ") >= 0); // Boolean - } - g._addClass = function(/*DomNode*/node, /*String*/classStr){ - // summary: - // Adds the specified classes to the end of the class list on the - // passed node. - var cls = node.getAttribute("className"); - if((" "+cls+" ").indexOf(" "+classStr+" ") < 0){ - node.setAttribute("className", cls + (cls ? ' ' : '') + classStr); - } - } - g._removeClass = function(/*DomNode*/node, /*String*/classStr){ - // summary: Removes classes from node. - node.setAttribute("className", node.getAttribute("className").replace(new RegExp('(^|\\s+)'+classStr+'(\\s+|$)'), "$1$2")); - } - - - // candidate for dojox.html.metrics (dynamic font resize handler is not implemented here) - - // derived from Morris John's emResized measurer - b._getFontMeasurements = function(){ - // summary - // Returns an object that has pixel equivilents of standard font size values. - var heights = { - '1em':0, '1ex':0, '100%':0, '12pt':0, '16px':0, 'xx-small':0, 'x-small':0, - 'small':0, 'medium':0, 'large':0, 'x-large':0, 'xx-large':0 - }; - - if(dojo.isIE){ - // we do a font-size fix if and only if one isn't applied already. - // NOTE: If someone set the fontSize on the HTML Element, this will kill it. - dojo.doc.documentElement.style.fontSize="100%"; - } - - // set up the measuring node. - var div=dojo.doc.createElement("div"); - div.style.position="absolute"; - div.style.left="-100px"; - div.style.top="0"; - div.style.width="30px"; - div.style.height="1000em"; - div.style.border="0"; - div.style.margin="0"; - div.style.padding="0"; - div.style.outline="0"; - div.style.lineHeight="1"; - div.style.overflow="hidden"; - dojo.body().appendChild(div); - - // do the measurements. - for(var p in heights){ - div.style.fontSize = p; - heights[p] = Math.round(div.offsetHeight * 12/16) * 16/12 / 1000; - } - - dojo.body().removeChild(div); - div = null; - return heights; // object - }; - - var fontMeasurements = null; - - b._getCachedFontMeasurements = function(recalculate){ - if(recalculate || !fontMeasurements){ - fontMeasurements = b._getFontMeasurements(); - } - return fontMeasurements; - }; - - // candidate for dojox.html.metrics - - var measuringNode = null, empty = {}; - b._getTextBox = function(/* String */ text, /* Object */ style, /* String? */ className){ - var m; - if(!measuringNode){ - m = measuringNode = dojo.doc.createElement("div"); - m.style.position = "absolute"; - m.style.left = "-10000px"; - m.style.top = "0"; - dojo.body().appendChild(m); - }else{ - m = measuringNode; - } - // reset styles - m.className = ""; - m.style.border = "0"; - m.style.margin = "0"; - m.style.padding = "0"; - m.style.outline = "0"; - // set new style - if(arguments.length > 1 && style){ - for(var i in style){ - if(i in empty){ continue; } - m.style[i] = style[i]; - } - } - // set classes - if(arguments.length > 2 && className){ - m.className = className; - } - // take a measure - m.innerHTML = text; - return dojo.marginBox(m); - }; - - // candidate for dojo.dom - - var uniqueId = 0; - b._getUniqueId = function(){ - // summary: returns a unique string for use with any DOM element - var id; - do{ - id = dojo._scopeName + "Unique" + (++uniqueId); - }while(dojo.byId(id)); - return id; - }; -})(); - -dojo.mixin(dojox.gfx, { - // summary: defines constants, prototypes, and utility functions - - // default shapes, which are used to fill in missing parameters - defaultPath: {type: "path", path: ""}, - defaultPolyline: {type: "polyline", points: []}, - defaultRect: {type: "rect", x: 0, y: 0, width: 100, height: 100, r: 0}, - defaultEllipse: {type: "ellipse", cx: 0, cy: 0, rx: 200, ry: 100}, - defaultCircle: {type: "circle", cx: 0, cy: 0, r: 100}, - defaultLine: {type: "line", x1: 0, y1: 0, x2: 100, y2: 100}, - defaultImage: {type: "image", x: 0, y: 0, width: 0, height: 0, src: ""}, - defaultText: {type: "text", x: 0, y: 0, text: "", - align: "start", decoration: "none", rotated: false, kerning: true }, - defaultTextPath: {type: "textpath", text: "", - align: "start", decoration: "none", rotated: false, kerning: true }, - - // default geometric attributes - defaultStroke: {type: "stroke", color: "black", style: "solid", width: 1, cap: "butt", join: 4}, - defaultLinearGradient: {type: "linear", x1: 0, y1: 0, x2: 100, y2: 100, - colors: [{offset: 0, color: "black"}, {offset: 1, color: "white"}]}, - defaultRadialGradient: {type: "radial", cx: 0, cy: 0, r: 100, - colors: [{offset: 0, color: "black"}, {offset: 1, color: "white"}]}, - defaultPattern: {type: "pattern", x: 0, y: 0, width: 0, height: 0, src: ""}, - defaultFont: {type: "font", style: "normal", variant: "normal", weight: "normal", - size: "10pt", family: "serif"}, - - normalizeColor: function(/*Color*/ color){ - // summary: converts any legal color representation to normalized dojo.Color object - return (color instanceof dojo.Color) ? color : new dojo.Color(color); // dojo.Color - }, - normalizeParameters: function(existed, update){ - // summary: updates an existing object with properties from an "update" object - // existed: Object: the "target" object to be updated - // update: Object: the "update" object, whose properties will be used to update the existed object - if(update){ - var empty = {}; - for(var x in existed){ - if(x in update && !(x in empty)){ - existed[x] = update[x]; - } - } - } - return existed; // Object - }, - makeParameters: function(defaults, update){ - // summary: copies the original object, and all copied properties from the "update" object - // defaults: Object: the object to be cloned before updating - // update: Object: the object, which properties are to be cloned during updating - if(!update) return dojo.clone(defaults); - var result = {}; - for(var i in defaults){ - if(!(i in result)){ - result[i] = dojo.clone((i in update) ? update[i] : defaults[i]); - } - } - return result; // Object - }, - formatNumber: function(x, addSpace){ - // summary: converts a number to a string using a fixed notation - // x: Number: number to be converted - // addSpace: Boolean?: if it is true, add a space before a positive number - var val = x.toString(); - if(val.indexOf("e") >= 0){ - val = x.toFixed(4); - }else{ - var point = val.indexOf("."); - if(point >= 0 && val.length - point > 5){ - val = x.toFixed(4); - } - } - if(x < 0){ - return val; // String - } - return addSpace ? " " + val : val; // String - }, - // font operations - makeFontString: function(font){ - // summary: converts a font object to a CSS font string - // font: Object: font object (see dojox.gfx.defaultFont) - return font.style + " " + font.variant + " " + font.weight + " " + font.size + " " + font.family; // Object - }, - splitFontString: function(str){ - // summary: converts a CSS font string to a font object - // str: String: a CSS font string - var font = dojo.clone(dojox.gfx.defaultFont); - var t = str.split(/\s+/); - do{ - if(t.length < 5){ break; } - font.style = t[0]; - font.varian = t[1]; - font.weight = t[2]; - var i = t[3].indexOf("/"); - font.size = i < 0 ? t[3] : t[3].substring(0, i); - var j = 4; - if(i < 0){ - if(t[4] == "/"){ - j = 6; - break; - } - if(t[4].substr(0, 1) == "/"){ - j = 5; - break; - } - } - if(j + 3 > t.length){ break; } - font.size = t[j]; - font.family = t[j + 1]; - }while(false); - return font; // Object - }, - // length operations - cm_in_pt: 72 / 2.54, // Number: centimeters per inch - mm_in_pt: 7.2 / 2.54, // Number: millimeters per inch - px_in_pt: function(){ - // summary: returns a number of pixels per point - return dojox.gfx._base._getCachedFontMeasurements()["12pt"] / 12; // Number - }, - pt2px: function(len){ - // summary: converts points to pixels - // len: Number: a value in points - return len * dojox.gfx.px_in_pt(); // Number - }, - px2pt: function(len){ - // summary: converts pixels to points - // len: Number: a value in pixels - return len / dojox.gfx.px_in_pt(); // Number - }, - normalizedLength: function(len) { - // summary: converts any length value to pixels - // len: String: a length, e.g., "12pc" - if(len.length == 0) return 0; - if(len.length > 2){ - var px_in_pt = dojox.gfx.px_in_pt(); - var val = parseFloat(len); - switch(len.slice(-2)){ - case "px": return val; - case "pt": return val * px_in_pt; - case "in": return val * 72 * px_in_pt; - case "pc": return val * 12 * px_in_pt; - case "mm": return val / dojox.gfx.mm_in_pt * px_in_pt; - case "cm": return val / dojox.gfx.cm_in_pt * px_in_pt; - } - } - return parseFloat(len); // Number - }, - - // a constant used to split a SVG/VML path into primitive components - pathVmlRegExp: /([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g, - pathSvgRegExp: /([A-Za-z])|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g, - - equalSources: function(a, b){ - // summary: compares event sources, returns true if they are equal - return a && b && a == b; - } -}); - -} diff --git a/includes/js/dojox/gfx/arc.js b/includes/js/dojox/gfx/arc.js deleted file mode 100644 index 4a0eade..0000000 --- a/includes/js/dojox/gfx/arc.js +++ /dev/null @@ -1,122 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.arc"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.arc"] = true; -dojo.provide("dojox.gfx.arc"); - -dojo.require("dojox.gfx.matrix"); - -(function(){ - var m = dojox.gfx.matrix, - unitArcAsBezier = function(alpha){ - // summary: return a start point, 1st and 2nd control points, and an end point of - // a an arc, which is reflected on the x axis - // alpha: Number: angle in radians, the arc will be 2 * angle size - var cosa = Math.cos(alpha), sina = Math.sin(alpha), - p2 = {x: cosa + (4 / 3) * (1 - cosa), y: sina - (4 / 3) * cosa * (1 - cosa) / sina}; - return { // Object - s: {x: cosa, y: -sina}, - c1: {x: p2.x, y: -p2.y}, - c2: p2, - e: {x: cosa, y: sina} - }; - }, - twoPI = 2 * Math.PI, pi4 = Math.PI / 4, pi8 = Math.PI / 8, - pi48 = pi4 + pi8, curvePI4 = unitArcAsBezier(pi8); - - dojo.mixin(dojox.gfx.arc, { - unitArcAsBezier: unitArcAsBezier, - curvePI4: curvePI4, - arcAsBezier: function(last, rx, ry, xRotg, large, sweep, x, y){ - // summary: calculates an arc as a series of Bezier curves - // given the last point and a standard set of SVG arc parameters, - // it returns an array of arrays of parameters to form a series of - // absolute Bezier curves. - // last: Object: a point-like object as a start of the arc - // rx: Number: a horizontal radius for the virtual ellipse - // ry: Number: a vertical radius for the virtual ellipse - // xRotg: Number: a rotation of an x axis of the virtual ellipse in degrees - // large: Boolean: which part of the ellipse will be used (the larger arc if true) - // sweep: Boolean: direction of the arc (CW if true) - // x: Number: the x coordinate of the end point of the arc - // y: Number: the y coordinate of the end point of the arc - - // calculate parameters - large = Boolean(large); - sweep = Boolean(sweep); - var xRot = m._degToRad(xRotg), - rx2 = rx * rx, ry2 = ry * ry, - pa = m.multiplyPoint( - m.rotate(-xRot), - {x: (last.x - x) / 2, y: (last.y - y) / 2} - ), - pax2 = pa.x * pa.x, pay2 = pa.y * pa.y, - c1 = Math.sqrt((rx2 * ry2 - rx2 * pay2 - ry2 * pax2) / (rx2 * pay2 + ry2 * pax2)); - if(isNaN(c1)){ c1 = 0; } - var ca = { - x: c1 * rx * pa.y / ry, - y: -c1 * ry * pa.x / rx - }; - if(large == sweep){ - ca = {x: -ca.x, y: -ca.y}; - } - // the center - var c = m.multiplyPoint( - [ - m.translate( - (last.x + x) / 2, - (last.y + y) / 2 - ), - m.rotate(xRot) - ], - ca - ); - // calculate the elliptic transformation - var elliptic_transform = m.normalize([ - m.translate(c.x, c.y), - m.rotate(xRot), - m.scale(rx, ry) - ]); - // start, end, and size of our arc - var inversed = m.invert(elliptic_transform), - sp = m.multiplyPoint(inversed, last), - ep = m.multiplyPoint(inversed, x, y), - startAngle = Math.atan2(sp.y, sp.x), - endAngle = Math.atan2(ep.y, ep.x), - theta = startAngle - endAngle; // size of our arc in radians - if(sweep){ theta = -theta; } - if(theta < 0){ - theta += twoPI; - }else if(theta > twoPI){ - theta -= twoPI; - } - - // draw curve chunks - var alpha = pi8, curve = curvePI4, step = sweep ? alpha : -alpha, - result = []; - for(var angle = theta; angle > 0; angle -= pi4){ - if(angle < pi48){ - alpha = angle / 2; - curve = unitArcAsBezier(alpha); - step = sweep ? alpha : -alpha; - angle = 0; // stop the loop - } - var c1, c2, e, - M = m.normalize([elliptic_transform, m.rotate(startAngle + step)]); - if(sweep){ - c1 = m.multiplyPoint(M, curve.c1); - c2 = m.multiplyPoint(M, curve.c2); - e = m.multiplyPoint(M, curve.e ); - }else{ - c1 = m.multiplyPoint(M, curve.c2); - c2 = m.multiplyPoint(M, curve.c1); - e = m.multiplyPoint(M, curve.s ); - } - // draw the curve - result.push([c1.x, c1.y, c2.x, c2.y, e.x, e.y]); - startAngle += 2 * step; - } - return result; // Object - } - }); -})(); - -} diff --git a/includes/js/dojox/gfx/attach.js b/includes/js/dojox/gfx/attach.js deleted file mode 100644 index 901f66f..0000000 --- a/includes/js/dojox/gfx/attach.js +++ /dev/null @@ -1,7 +0,0 @@ -dojo.require("dojox.gfx"); - -// include an attacher conditionally -dojo.requireIf(dojox.gfx.renderer == "svg", "dojox.gfx.svg_attach"); -dojo.requireIf(dojox.gfx.renderer == "vml", "dojox.gfx.vml_attach"); -dojo.requireIf(dojox.gfx.renderer == "silverlight", "dojox.gfx.silverlight_attach"); -dojo.requireIf(dojox.gfx.renderer == "canvas", "dojox.gfx.canvas_attach"); diff --git a/includes/js/dojox/gfx/canvas.js b/includes/js/dojox/gfx/canvas.js deleted file mode 100644 index 6872b2f..0000000 --- a/includes/js/dojox/gfx/canvas.js +++ /dev/null @@ -1,687 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.canvas"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.canvas"] = true; -dojo.provide("dojox.gfx.canvas"); - -dojo.require("dojox.gfx._base"); -dojo.require("dojox.gfx.shape"); -dojo.require("dojox.gfx.path"); -dojo.require("dojox.gfx.arc"); -dojo.require("dojox.gfx.decompose"); - -dojo.experimental("dojox.gfx.canvas"); - -(function(){ - var g = dojox.gfx, gs = g.shape, ga = g.arc, - m = g.matrix, mp = m.multiplyPoint, pi = Math.PI, twoPI = 2 * pi, halfPI = pi /2; - - dojo.extend(g.Shape, { - _render: function(/* Object */ ctx){ - // summary: render the shape - ctx.save(); - this._renderTransform(ctx); - this._renderShape(ctx); - this._renderFill(ctx, true); - this._renderStroke(ctx, true); - ctx.restore(); - }, - _renderTransform: function(/* Object */ ctx){ - if("canvasTransform" in this){ - var t = this.canvasTransform; - ctx.translate(t.dx, t.dy); - ctx.rotate(t.angle2); - ctx.scale(t.sx, t.sy); - ctx.rotate(t.angle1); - // The future implementation when vendors catch up with the spec: - // var t = this.matrix; - // ctx.transform(t.xx, t.yx, t.xy, t.yy, t.dx, t.dy); - } - }, - _renderShape: function(/* Object */ ctx){ - // nothing - }, - _renderFill: function(/* Object */ ctx, /* Boolean */ apply){ - if("canvasFill" in this){ - if("canvasFillImage" in this){ - this.canvasFill = ctx.createPattern(this.canvasFillImage, "repeat"); - delete this.canvasFillImage; - } - ctx.fillStyle = this.canvasFill; - if(apply){ ctx.fill(); } - }else{ - ctx.fillStyle = "rgba(0,0,0,0.0)"; - } - }, - _renderStroke: function(/* Object */ ctx, /* Boolean */ apply){ - var s = this.strokeStyle; - if(s){ - ctx.strokeStyle = s.color.toString(); - ctx.lineWidth = s.width; - ctx.lineCap = s.cap; - if(typeof s.join == "number"){ - ctx.lineJoin = "miter"; - ctx.miterLimit = s.join; - }else{ - ctx.lineJoin = s.join; - } - if(apply){ ctx.stroke(); } - }else if(!apply){ - ctx.strokeStyle = "rgba(0,0,0,0.0)"; - } - }, - - // events are not implemented - getEventSource: function(){ return null; }, - connect: function(){}, - disconnect: function(){} - }); - - var modifyMethod = function(shape, method, extra){ - var old = shape.prototype[method]; - shape.prototype[method] = extra ? - function(){ - this.surface.makeDirty(); - old.apply(this, arguments); - extra.call(this); - return this; - } : - function(){ - this.surface.makeDirty(); - return old.apply(this, arguments); - }; - }; - - modifyMethod(g.Shape, "setTransform", - function(){ - // prepare Canvas-specific structures - if(this.matrix){ - this.canvasTransform = g.decompose(this.matrix); - }else{ - delete this.canvasTransform; - } - }); - - modifyMethod(g.Shape, "setFill", - function(){ - // prepare Canvas-specific structures - var fs = this.fillStyle, f; - if(fs){ - if(typeof(fs) == "object" && "type" in fs){ - var ctx = this.surface.rawNode.getContext("2d"); - switch(fs.type){ - case "linear": - case "radial": - f = fs.type == "linear" ? - ctx.createLinearGradient(fs.x1, fs.y1, fs.x2, fs.y2) : - ctx.createRadialGradient(fs.cx, fs.cy, 0, fs.cx, fs.cy, fs.r); - dojo.forEach(fs.colors, function(step){ - f.addColorStop(step.offset, g.normalizeColor(step.color).toString()); - }); - break; - case "pattern": - var img = new Image(fs.width, fs.height); - this.surface.downloadImage(img, fs.src); - this.canvasFillImage = img; - } - }else{ - // Set fill color using CSS RGBA func style - f = fs.toString(); - } - this.canvasFill = f; - }else{ - delete this.canvasFill; - } - }); - - modifyMethod(g.Shape, "setStroke"); - modifyMethod(g.Shape, "setShape"); - - dojo.declare("dojox.gfx.Group", g.Shape, { - // summary: a group shape (Canvas), which can be used - // to logically group shapes (e.g, to propagate matricies) - constructor: function(){ - gs.Container._init.call(this); - }, - _render: function(/* Object */ ctx){ - // summary: render the group - ctx.save(); - this._renderTransform(ctx); - this._renderFill(ctx); - this._renderStroke(ctx); - for(var i = 0; i < this.children.length; ++i){ - this.children[i]._render(ctx); - } - ctx.restore(); - } - }); - - dojo.declare("dojox.gfx.Rect", gs.Rect, { - // summary: a rectangle shape (Canvas) - _renderShape: function(/* Object */ ctx){ - var s = this.shape, r = Math.min(s.r, s.height / 2, s.width / 2), - xl = s.x, xr = xl + s.width, yt = s.y, yb = yt + s.height, - xl2 = xl + r, xr2 = xr - r, yt2 = yt + r, yb2 = yb - r; - ctx.beginPath(); - ctx.moveTo(xl2, yt); - if(r){ - ctx.arc(xr2, yt2, r, -halfPI, 0, false); - ctx.arc(xr2, yb2, r, 0, halfPI, false); - ctx.arc(xl2, yb2, r, halfPI, pi, false); - ctx.arc(xl2, yt2, r, pi, halfPI, false); - }else{ - ctx.lineTo(xr2, yt); - ctx.lineTo(xr, yb2); - ctx.lineTo(xl2, yb); - ctx.lineTo(xl, yt2); - } - ctx.closePath(); - } - }); - - var bezierCircle = []; - (function(){ - var u = ga.curvePI4; - bezierCircle.push(u.s, u.c1, u.c2, u.e); - for(var a = 45; a < 360; a += 45){ - var r = m.rotateg(a); - bezierCircle.push(mp(r, u.c1), mp(r, u.c2), mp(r, u.e)); - } - })(); - - dojo.declare("dojox.gfx.Ellipse", gs.Ellipse, { - // summary: an ellipse shape (Canvas) - setShape: function(){ - g.Ellipse.superclass.setShape.apply(this, arguments); - // prepare Canvas-specific structures - var s = this.shape, t, c1, c2, r = [], - M = m.normalize([m.translate(s.cx, s.cy), m.scale(s.rx, s.ry)]); - t = mp(M, bezierCircle[0]); - r.push([t.x, t.y]); - for(var i = 1; i < bezierCircle.length; i += 3){ - c1 = mp(M, bezierCircle[i]); - c2 = mp(M, bezierCircle[i + 1]); - t = mp(M, bezierCircle[i + 2]); - r.push([c1.x, c1.y, c2.x, c2.y, t.x, t.y]); - } - this.canvasEllipse = r; - return this; - }, - _renderShape: function(/* Object */ ctx){ - var r = this.canvasEllipse; - ctx.beginPath(); - ctx.moveTo.apply(ctx, r[0]); - for(var i = 1; i < r.length; ++i){ - ctx.bezierCurveTo.apply(ctx, r[i]); - } - ctx.closePath(); - } - }); - - dojo.declare("dojox.gfx.Circle", gs.Circle, { - // summary: a circle shape (Canvas) - _renderShape: function(/* Object */ ctx){ - var s = this.shape; - ctx.beginPath(); - ctx.arc(s.cx, s.cy, s.r, 0, twoPI, 1); - } - }); - - dojo.declare("dojox.gfx.Line", gs.Line, { - // summary: a line shape (Canvas) - _renderShape: function(/* Object */ ctx){ - var s = this.shape; - ctx.beginPath(); - ctx.moveTo(s.x1, s.y1); - ctx.lineTo(s.x2, s.y2); - } - }); - - dojo.declare("dojox.gfx.Polyline", gs.Polyline, { - // summary: a polyline/polygon shape (Canvas) - setShape: function(){ - g.Polyline.superclass.setShape.apply(this, arguments); - // dojo.inherited("setShape", arguments); - // prepare Canvas-specific structures - var p = this.shape.points, f = p[0], r = [], c, i; - if(p.length){ - if(typeof f == "number"){ - r.push(f, p[1]); - i = 2; - }else{ - r.push(f.x, f.y); - i = 1; - } - for(; i < p.length; ++i){ - c = p[i]; - if(typeof c == "number"){ - r.push(c, p[++i]); - }else{ - r.push(c.x, c.y); - } - } - } - this.canvasPolyline = r; - return this; - }, - _renderShape: function(/* Object */ ctx){ - // console.debug("Polyline::_renderShape"); - var p = this.canvasPolyline; - if(p.length){ - ctx.beginPath(); - ctx.moveTo(p[0], p[1]); - for(var i = 2; i < p.length; i += 2){ - ctx.lineTo(p[i], p[i + 1]); - } - } - } - }); - - dojo.declare("dojox.gfx.Image", gs.Image, { - // summary: an image shape (Canvas) - setShape: function(){ - g.Image.superclass.setShape.apply(this, arguments); - // prepare Canvas-specific structures - var img = new Image(); - this.surface.downloadImage(img, this.shape.src); - this.canvasImage = img; - return this; - }, - _renderShape: function(/* Object */ ctx){ - var s = this.shape; - ctx.drawImage(this.canvasImage, s.x, s.y, s.width, s.height); - } - }); - - dojo.declare("dojox.gfx.Text", gs.Text, { - // summary: a text shape (Canvas) - _renderShape: function(/* Object */ ctx){ - var s = this.shape; - // nothing for the moment - } - }); - modifyMethod(g.Text, "setFont"); - - var pathRenderers = { - M: "_moveToA", m: "_moveToR", - L: "_lineToA", l: "_lineToR", - H: "_hLineToA", h: "_hLineToR", - V: "_vLineToA", v: "_vLineToR", - C: "_curveToA", c: "_curveToR", - S: "_smoothCurveToA", s: "_smoothCurveToR", - Q: "_qCurveToA", q: "_qCurveToR", - T: "_qSmoothCurveToA", t: "_qSmoothCurveToR", - A: "_arcTo", a: "_arcTo", - Z: "_closePath", z: "_closePath" - }; - - dojo.declare("dojox.gfx.Path", g.path.Path, { - // summary: a path shape (Canvas) - constructor: function(){ - this.last = {}; - this.lastControl = {}; - }, - setShape: function(){ - this.canvasPath = []; - return g.Path.superclass.setShape.apply(this, arguments); - }, - _updateWithSegment: function(segment){ - var last = dojo.clone(this.last); - this[pathRenderers[segment.action]](this.canvasPath, segment.action, segment.args); - this.last = last; - g.Path.superclass._updateWithSegment.apply(this, arguments); - }, - _renderShape: function(/* Object */ ctx){ - var r = this.canvasPath; - ctx.beginPath(); - for(var i = 0; i < r.length; i += 2){ - ctx[r[i]].apply(ctx, r[i + 1]); - } - }, - _moveToA: function(result, action, args){ - result.push("moveTo", [args[0], args[1]]); - for(var i = 2; i < args.length; i += 2){ - result.push("lineTo", [args[i], args[i + 1]]); - } - this.last.x = args[args.length - 2]; - this.last.y = args[args.length - 1]; - this.lastControl = {}; - }, - _moveToR: function(result, action, args){ - if("x" in this.last){ - result.push("moveTo", [this.last.x += args[0], this.last.y += args[1]]); - }else{ - result.push("moveTo", [this.last.x = args[0], this.last.y = args[1]]); - } - for(var i = 2; i < args.length; i += 2){ - result.push("lineTo", [this.last.x += args[i], this.last.y += args[i + 1]]); - } - this.lastControl = {}; - }, - _lineToA: function(result, action, args){ - for(var i = 0; i < args.length; i += 2){ - result.push("lineTo", [args[i], args[i + 1]]); - } - this.last.x = args[args.length - 2]; - this.last.y = args[args.length - 1]; - this.lastControl = {}; - }, - _lineToR: function(result, action, args){ - for(var i = 0; i < args.length; i += 2){ - result.push("lineTo", [this.last.x += args[i], this.last.y += args[i + 1]]); - } - this.lastControl = {}; - }, - _hLineToA: function(result, action, args){ - for(var i = 0; i < args.length; ++i){ - result.push("lineTo", [args[i], this.last.y]); - } - this.last.x = args[args.length - 1]; - this.lastControl = {}; - }, - _hLineToR: function(result, action, args){ - for(var i = 0; i < args.length; ++i){ - result.push("lineTo", [this.last.x += args[i], this.last.y]); - } - this.lastControl = {}; - }, - _vLineToA: function(result, action, args){ - for(var i = 0; i < args.length; ++i){ - result.push("lineTo", [this.last.x, args[i]]); - } - this.last.y = args[args.length - 1]; - this.lastControl = {}; - }, - _vLineToR: function(result, action, args){ - for(var i = 0; i < args.length; ++i){ - result.push("lineTo", [this.last.x, this.last.y += args[i]]); - } - this.lastControl = {}; - }, - _curveToA: function(result, action, args){ - for(var i = 0; i < args.length; i += 6){ - result.push("bezierCurveTo", args.slice(i, i + 6)); - } - this.last.x = args[args.length - 2]; - this.last.y = args[args.length - 1]; - this.lastControl.x = args[args.length - 4]; - this.lastControl.y = args[args.length - 3]; - this.lastControl.type = "C"; - }, - _curveToR: function(result, action, args){ - for(var i = 0; i < args.length; i += 6){ - result.push("bezierCurveTo", [ - this.last.x + args[i], - this.last.y + args[i + 1], - this.lastControl.x = this.last.x + args[i + 2], - this.lastControl.y = this.last.y + args[i + 3], - this.last.x + args[i + 4], - this.last.y + args[i + 5] - ]); - this.last.x += args[i + 4]; - this.last.y += args[i + 5]; - } - this.lastControl.type = "C"; - }, - _smoothCurveToA: function(result, action, args){ - for(var i = 0; i < args.length; i += 4){ - var valid = this.lastControl.type == "C"; - result.push("bezierCurveTo", [ - valid ? 2 * this.last.x - this.lastControl.x : this.last.x, - valid ? 2 * this.last.y - this.lastControl.y : this.last.y, - args[i], - args[i + 1], - args[i + 2], - args[i + 3] - ]); - this.lastControl.x = args[i]; - this.lastControl.y = args[i + 1]; - this.lastControl.type = "C"; - } - this.last.x = args[args.length - 2]; - this.last.y = args[args.length - 1]; - }, - _smoothCurveToR: function(result, action, args){ - for(var i = 0; i < args.length; i += 4){ - var valid = this.lastControl.type == "C"; - result.push("bezierCurveTo", [ - valid ? 2 * this.last.x - this.lastControl.x : this.last.x, - valid ? 2 * this.last.y - this.lastControl.y : this.last.y, - this.last.x + args[i], - this.last.y + args[i + 1], - this.last.x + args[i + 2], - this.last.y + args[i + 3] - ]); - this.lastControl.x = this.last.x + args[i]; - this.lastControl.y = this.last.y + args[i + 1]; - this.lastControl.type = "C"; - this.last.x += args[i + 2]; - this.last.y += args[i + 3]; - } - }, - _qCurveToA: function(result, action, args){ - for(var i = 0; i < args.length; i += 4){ - result.push("quadraticCurveTo", args.slice(i, i + 4)); - } - this.last.x = args[args.length - 2]; - this.last.y = args[args.length - 1]; - this.lastControl.x = args[args.length - 4]; - this.lastControl.y = args[args.length - 3]; - this.lastControl.type = "Q"; - }, - _qCurveToR: function(result, action, args){ - for(var i = 0; i < args.length; i += 4){ - result.push("quadraticCurveTo", [ - this.lastControl.x = this.last.x + args[i], - this.lastControl.y = this.last.y + args[i + 1], - this.last.x + args[i + 2], - this.last.y + args[i + 3] - ]); - this.last.x += args[i + 2]; - this.last.y += args[i + 3]; - } - this.lastControl.type = "Q"; - }, - _qSmoothCurveToA: function(result, action, args){ - for(var i = 0; i < args.length; i += 2){ - var valid = this.lastControl.type == "Q"; - result.push("quadraticCurveTo", [ - this.lastControl.x = valid ? 2 * this.last.x - this.lastControl.x : this.last.x, - this.lastControl.y = valid ? 2 * this.last.y - this.lastControl.y : this.last.y, - args[i], - args[i + 1] - ]); - this.lastControl.type = "Q"; - } - this.last.x = args[args.length - 2]; - this.last.y = args[args.length - 1]; - }, - _qSmoothCurveToR: function(result, action, args){ - for(var i = 0; i < args.length; i += 2){ - var valid = this.lastControl.type == "Q"; - result.push("quadraticCurveTo", [ - this.lastControl.x = valid ? 2 * this.last.x - this.lastControl.x : this.last.x, - this.lastControl.y = valid ? 2 * this.last.y - this.lastControl.y : this.last.y, - this.last.x + args[i], - this.last.y + args[i + 1] - ]); - this.lastControl.type = "Q"; - this.last.x += args[i]; - this.last.y += args[i + 1]; - } - }, - _arcTo: function(result, action, args){ - var relative = action == "a"; - for(var i = 0; i < args.length; i += 7){ - var x1 = args[i + 5], y1 = args[i + 6]; - if(relative){ - x1 += this.last.x; - y1 += this.last.y; - } - var arcs = ga.arcAsBezier( - this.last, args[i], args[i + 1], args[i + 2], - args[i + 3] ? 1 : 0, args[i + 4] ? 1 : 0, - x1, y1 - ); - dojo.forEach(arcs, function(p){ - result.push("bezierCurveTo", p); - }); - this.last.x = x1; - this.last.y = y1; - } - this.lastControl = {}; - }, - _closePath: function(result, action, args){ - result.push("closePath", []); - this.lastControl = {}; - } - }); - dojo.forEach(["moveTo", "lineTo", "hLineTo", "vLineTo", "curveTo", - "smoothCurveTo", "qCurveTo", "qSmoothCurveTo", "arcTo", "closePath"], - function(method){ modifyMethod(g.Path, method); } - ); - - dojo.declare("dojox.gfx.TextPath", g.path.TextPath, { - // summary: a text shape (Canvas) - _renderShape: function(/* Object */ ctx){ - var s = this.shape; - // nothing for the moment - } - }); - - dojo.declare("dojox.gfx.Surface", gs.Surface, { - // summary: a surface object to be used for drawings (Canvas) - constructor: function(){ - gs.Container._init.call(this); - this.pendingImageCount = 0; - this.makeDirty(); - }, - setDimensions: function(width, height){ - // summary: sets the width and height of the rawNode - // width: String: width of surface, e.g., "100px" - // height: String: height of surface, e.g., "100px" - this.width = g.normalizedLength(width); // in pixels - this.height = g.normalizedLength(height); // in pixels - if(!this.rawNode) return this; - this.rawNode.width = width; - this.rawNode.height = height; - this.makeDirty(); - return this; // self - }, - getDimensions: function(){ - // summary: returns an object with properties "width" and "height" - return this.rawNode ? {width: this.rawNode.width, height: this.rawNode.height} : null; // Object - }, - _render: function(){ - // summary: render the all shapes - if(this.pendingImageCount){ return; } - var ctx = this.rawNode.getContext("2d"); - ctx.save(); - ctx.clearRect(0, 0, this.rawNode.width, this.rawNode.height); - for(var i = 0; i < this.children.length; ++i){ - this.children[i]._render(ctx); - } - ctx.restore(); - if("pendingRender" in this){ - clearTimeout(this.pendingRender); - delete this.pendingRender; - } - }, - makeDirty: function(){ - // summary: internal method, which is called when we may need to redraw - if(!this.pendingImagesCount && !("pendingRender" in this)){ - this.pendingRender = setTimeout(dojo.hitch(this, this._render), 0); - } - }, - downloadImage: function(img, url){ - // summary: - // internal method, which starts an image download and renders, when it is ready - // img: Image: - // the image object - // url: String: - // the url of the image - var handler = dojo.hitch(this, this.onImageLoad); - if(!this.pendingImageCount++ && "pendingRender" in this){ - clearTimeout(this.pendingRender); - delete this.pendingRender; - } - img.onload = handler; - img.onerror = handler; - img.onabort = handler; - img.src = url; - }, - onImageLoad: function(){ - if(!--this.pendingImageCount){ this._render(); } - }, - - // events are not implemented - getEventSource: function(){ return null; }, - connect: function(){}, - disconnect: function(){} - }); - - g.createSurface = function(parentNode, width, height){ - // summary: creates a surface (Canvas) - // parentNode: Node: a parent node - // width: String: width of surface, e.g., "100px" - // height: String: height of surface, e.g., "100px" - - if(!width){ width = "100%"; } - if(!height){ height = "100%"; } - var s = new g.Surface(), - p = dojo.byId(parentNode), - c = p.ownerDocument.createElement("canvas"); - c.width = width; - c.height = height; - p.appendChild(c); - s.rawNode = c; - s.surface = s; - return s; // dojox.gfx.Surface - }; - - // Extenders - - var C = gs.Container, Container = { - add: function(shape){ - this.surface.makeDirty(); - return C.add.apply(this, arguments); - }, - remove: function(shape, silently){ - this.surface.makeDirty(); - return C.remove.apply(this, arguments); - }, - clear: function(){ - this.surface.makeDirty(); - return C.clear.apply(this, arguments); - }, - _moveChildToFront: function(shape){ - this.surface.makeDirty(); - return C._moveChildToFront.apply(this, arguments); - }, - _moveChildToBack: function(shape){ - this.surface.makeDirty(); - return C._moveChildToBack.apply(this, arguments); - } - }; - - dojo.mixin(gs.Creator, { - // summary: Canvas shape creators - createObject: function(shapeType, rawShape) { - // summary: creates an instance of the passed shapeType class - // shapeType: Function: a class constructor to create an instance of - // rawShape: Object: properties to be passed in to the classes "setShape" method - // overrideSize: Boolean: set the size explicitly, if true - var shape = new shapeType(); - shape.surface = this.surface; - shape.setShape(rawShape); - this.add(shape); - return shape; // dojox.gfx.Shape - } - }); - - dojo.extend(g.Group, Container); - dojo.extend(g.Group, gs.Creator); - - dojo.extend(g.Surface, Container); - dojo.extend(g.Surface, gs.Creator); -})(); - -} diff --git a/includes/js/dojox/gfx/canvas_attach.js b/includes/js/dojox/gfx/canvas_attach.js deleted file mode 100644 index 82ccd13..0000000 --- a/includes/js/dojox/gfx/canvas_attach.js +++ /dev/null @@ -1,8 +0,0 @@ -dojo.require("dojox.gfx.canvas"); - -dojo.experimental("dojox.gfx.canvas_attach"); - -// not implemented -dojox.gfx.attachNode = function(){ - return null; // for now -}; diff --git a/includes/js/dojox/gfx/decompose.js b/includes/js/dojox/gfx/decompose.js deleted file mode 100644 index 4e34ee6..0000000 --- a/includes/js/dojox/gfx/decompose.js +++ /dev/null @@ -1,139 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.decompose"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.decompose"] = true; -dojo.provide("dojox.gfx.decompose"); - -dojo.require("dojox.gfx.matrix"); - -(function(){ - var m = dojox.gfx.matrix; - - var eq = function(/* Number */ a, /* Number */ b){ - // summary: compare two FP numbers for equality - return Math.abs(a - b) <= 1e-6 * (Math.abs(a) + Math.abs(b)); // Boolean - }; - - var calcFromValues = function(/* Number */ r1, /* Number */ m1, /* Number */ r2, /* Number */ m2){ - // summary: uses two close FP ration and their original magnitudes to approximate the result - if(!isFinite(r1)){ - return r2; // Number - }else if(!isFinite(r2)){ - return r1; // Number - } - m1 = Math.abs(m1), m2 = Math.abs(m2); - return (m1 * r1 + m2 * r2) / (m1 + m2); // Number - }; - - var transpose = function(/* dojox.gfx.matrix.Matrix2D */ matrix){ - // matrix: dojox.gfx.matrix.Matrix2D: a 2D matrix-like object - var M = new m.Matrix2D(matrix); - return dojo.mixin(M, {dx: 0, dy: 0, xy: M.yx, yx: M.xy}); // dojox.gfx.matrix.Matrix2D - }; - - var scaleSign = function(/* dojox.gfx.matrix.Matrix2D */ matrix){ - return (matrix.xx * matrix.yy < 0 || matrix.xy * matrix.yx > 0) ? -1 : 1; // Number - }; - - var eigenvalueDecomposition = function(/* dojox.gfx.matrix.Matrix2D */ matrix){ - // matrix: dojox.gfx.matrix.Matrix2D: a 2D matrix-like object - var M = m.normalize(matrix), - b = -M.xx - M.yy, - c = M.xx * M.yy - M.xy * M.yx, - d = Math.sqrt(b * b - 4 * c), - l1 = -(b + (b < 0 ? -d : d)) / 2, - l2 = c / l1, - vx1 = M.xy / (l1 - M.xx), vy1 = 1, - vx2 = M.xy / (l2 - M.xx), vy2 = 1; - if(eq(l1, l2)){ - vx1 = 1, vy1 = 0, vx2 = 0, vy2 = 1; - } - if(!isFinite(vx1)){ - vx1 = 1, vy1 = (l1 - M.xx) / M.xy; - if(!isFinite(vy1)){ - vx1 = (l1 - M.yy) / M.yx, vy1 = 1; - if(!isFinite(vx1)){ - vx1 = 1, vy1 = M.yx / (l1 - M.yy); - } - } - } - if(!isFinite(vx2)){ - vx2 = 1, vy2 = (l2 - M.xx) / M.xy; - if(!isFinite(vy2)){ - vx2 = (l2 - M.yy) / M.yx, vy2 = 1; - if(!isFinite(vx2)){ - vx2 = 1, vy2 = M.yx / (l2 - M.yy); - } - } - } - var d1 = Math.sqrt(vx1 * vx1 + vy1 * vy1), - d2 = Math.sqrt(vx2 * vx2 + vy2 * vy2); - if(!isFinite(vx1 /= d1)){ vx1 = 0; } - if(!isFinite(vy1 /= d1)){ vy1 = 0; } - if(!isFinite(vx2 /= d2)){ vx2 = 0; } - if(!isFinite(vy2 /= d2)){ vy2 = 0; } - return { // Object - value1: l1, - value2: l2, - vector1: {x: vx1, y: vy1}, - vector2: {x: vx2, y: vy2} - }; - }; - - var decomposeSR = function(/* dojox.gfx.matrix.Matrix2D */ M, /* Object */ result){ - // summary: decomposes a matrix into [scale, rotate]; no checks are done. - var sign = scaleSign(M), - a = result.angle1 = (Math.atan2(M.yx, M.yy) + Math.atan2(-sign * M.xy, sign * M.xx)) / 2, - cos = Math.cos(a), sin = Math.sin(a); - result.sx = calcFromValues(M.xx / cos, cos, -M.xy / sin, sin); - result.sy = calcFromValues(M.yy / cos, cos, M.yx / sin, sin); - return result; // Object - }; - - var decomposeRS = function(/* dojox.gfx.matrix.Matrix2D */ M, /* Object */ result){ - // summary: decomposes a matrix into [rotate, scale]; no checks are done - var sign = scaleSign(M), - a = result.angle2 = (Math.atan2(sign * M.yx, sign * M.xx) + Math.atan2(-M.xy, M.yy)) / 2, - cos = Math.cos(a), sin = Math.sin(a); - result.sx = calcFromValues(M.xx / cos, cos, M.yx / sin, sin); - result.sy = calcFromValues(M.yy / cos, cos, -M.xy / sin, sin); - return result; // Object - }; - - dojox.gfx.decompose = function(matrix){ - // summary: decompose a 2D matrix into translation, scaling, and rotation components - // description: this function decompose a matrix into four logical components: - // translation, rotation, scaling, and one more rotation using SVD. - // The components should be applied in following order: - // | [translate, rotate(angle2), scale, rotate(angle1)] - // matrix: dojox.gfx.matrix.Matrix2D: a 2D matrix-like object - var M = m.normalize(matrix), - result = {dx: M.dx, dy: M.dy, sx: 1, sy: 1, angle1: 0, angle2: 0}; - // detect case: [scale] - if(eq(M.xy, 0) && eq(M.yx, 0)){ - return dojo.mixin(result, {sx: M.xx, sy: M.yy}); // Object - } - // detect case: [scale, rotate] - if(eq(M.xx * M.yx, -M.xy * M.yy)){ - return decomposeSR(M, result); // Object - } - // detect case: [rotate, scale] - if(eq(M.xx * M.xy, -M.yx * M.yy)){ - return decomposeRS(M, result); // Object - } - // do SVD - var MT = transpose(M), - u = eigenvalueDecomposition([M, MT]), - v = eigenvalueDecomposition([MT, M]), - U = new m.Matrix2D({xx: u.vector1.x, xy: u.vector2.x, yx: u.vector1.y, yy: u.vector2.y}), - VT = new m.Matrix2D({xx: v.vector1.x, xy: v.vector1.y, yx: v.vector2.x, yy: v.vector2.y}), - S = new m.Matrix2D([m.invert(U), M, m.invert(VT)]); - decomposeSR(VT, result); - S.xx *= result.sx; - S.yy *= result.sy; - decomposeRS(U, result); - S.xx *= result.sx; - S.yy *= result.sy; - return dojo.mixin(result, {sx: S.xx, sy: S.yy}); // Object - }; -})(); - -} diff --git a/includes/js/dojox/gfx/demos/beautify.html b/includes/js/dojox/gfx/demos/beautify.html deleted file mode 100644 index d1f02f5..0000000 --- a/includes/js/dojox/gfx/demos/beautify.html +++ /dev/null @@ -1,48 +0,0 @@ - - -Beautify JSON - - - - - - -

            Beautify JSON

            -

            Paste valid JSON in this textarea and receive a pretty-printed version of it. Use Firefox, if you want to be able to read comma-ended sequences (Python style). - Additionally it knows how to remove extra spaces from path elements.

            -

            -

            -     Process "path" elements -     Pretty-print JSON

            -

            This program is a companion for inspector.html.

            - - diff --git a/includes/js/dojox/gfx/demos/butterfly.html b/includes/js/dojox/gfx/demos/butterfly.html deleted file mode 100644 index 2b9f188..0000000 --- a/includes/js/dojox/gfx/demos/butterfly.html +++ /dev/null @@ -1,88 +0,0 @@ - - -dojox.gfx: Butterfly - - - - - - - - -

            dojox.gfx: Butterfly

            -

            This example was directly converted from SVG file.

            -

            This is a slightly modified version of a sample that shipped with JASC's WebDraw (www.jasc.com). Generated by Jasc WebDraw PR4(tm) on 06/07/01 12:18:39.

            - - - - - -
            Rotation (0)
            -
            -
            -
            -
            -
            -
            Scaling (1.000)
            -
            -
            -
            -
            -
            -
            - - diff --git a/includes/js/dojox/gfx/demos/career_test.html b/includes/js/dojox/gfx/demos/career_test.html deleted file mode 100644 index 3958395..0000000 --- a/includes/js/dojox/gfx/demos/career_test.html +++ /dev/null @@ -1,467 +0,0 @@ - - -dojox.gfx: Career Aptitude Test - - - - - - - - - - - - - -

            dojox.gfx: Career Aptitude Test

            -

            Warning: Canvas renderer doesn't implement event handling.

            - -
            -

            Thank you for your interest in "I can't believe it's manure" Eateries™ -and for submitting your resume for our review. While this is an automated response, -please be assured that every resume is reviewed by us, and forwarded to the hiring -managers if the skills fit our needs.

            -

            In order order to evaluate your skills we ask you to take a career aptitude test. -You will have an exciting chance to operate one of our state-of-the-art workstations -remotely. Don't forget: -

            -
              -
            1. Fish out a live speciment of dung-42 from the container.
            2. -
            3. Freeze it until you see an orange glow to kill the elements and make it less green.
            4. -
            5. Broil it until you see the orange glow again, and drop it on the table below.
            6. -
            7. You have to process all items without wasting resources and in minimal time.
            8. -
            -

            Warnings: don't overfreeze, don't overheat, don't drop the speciment, don't change the sequence, -don't touch the speciment in heating and freezing chambers until it is's ready.

            -

            Use your head and your mouse!

            -

            Please select the desired position:

            - - - - - - - - - - - - - -
            Workstation Supervisor 
            Shift Director 
            Vice President #49653 
            -
            - - - - - - - diff --git a/includes/js/dojox/gfx/demos/circles.html b/includes/js/dojox/gfx/demos/circles.html deleted file mode 100644 index ce4d0cd..0000000 --- a/includes/js/dojox/gfx/demos/circles.html +++ /dev/null @@ -1,90 +0,0 @@ - - -dojox.gfx: 100 draggable circles - - - - - - - - - - -

            dojox.gfx: 100 draggable circles

            -

            Warning: Canvas renderer doesn't implement event handling.

            -
            - - diff --git a/includes/js/dojox/gfx/demos/clock.html b/includes/js/dojox/gfx/demos/clock.html deleted file mode 100644 index 8d4d8c1..0000000 --- a/includes/js/dojox/gfx/demos/clock.html +++ /dev/null @@ -1,253 +0,0 @@ - - -dojox.gfx: interactive analog clock - - - - - - - - -

            dojox.gfx: interactive analog clock

            -

            Grab hands and set your own time.

            -

            Warning: Canvas renderer doesn't implement event handling.

            -
            -

            Current time: .

            -

            - - diff --git a/includes/js/dojox/gfx/demos/clockWidget.html b/includes/js/dojox/gfx/demos/clockWidget.html deleted file mode 100644 index 409523c..0000000 --- a/includes/js/dojox/gfx/demos/clockWidget.html +++ /dev/null @@ -1,332 +0,0 @@ - - -dojox.gfx: interactive analog clock - - - - - - - - -

            dojox.gfx: interactive analog clock

            -

            Grab hands and set your own time.

            -

            Warning: Canvas renderer doesn't implement event handling.

            - - - -
            - -
            -
            -
            -
            - -
            - - - - - - diff --git a/includes/js/dojox/gfx/demos/clock_black.html b/includes/js/dojox/gfx/demos/clock_black.html deleted file mode 100644 index 4c72770..0000000 --- a/includes/js/dojox/gfx/demos/clock_black.html +++ /dev/null @@ -1,253 +0,0 @@ - - -dojox.gfx: interactive analog clock - - - - - - - - -

            dojox.gfx: interactive analog clock

            -

            Grab hands and set your own time.

            -

            Warning: Canvas renderer doesn't implement event handling.

            -
            -

            Current time: .

            -

            - - diff --git a/includes/js/dojox/gfx/demos/creator.html b/includes/js/dojox/gfx/demos/creator.html deleted file mode 100644 index 48ddf5b..0000000 --- a/includes/js/dojox/gfx/demos/creator.html +++ /dev/null @@ -1,123 +0,0 @@ - - -Create DojoX GFX JSON - - - - - - - -

            Create DojoX GFX JSON

            -

            This is a helper file, which serves as a template to generate static pictures.

            - - - - -
            -
            -
            -
            -

            -

            -     

            - - diff --git a/includes/js/dojox/gfx/demos/data/Lars.json b/includes/js/dojox/gfx/demos/data/Lars.json deleted file mode 100644 index 320feb0..0000000 --- a/includes/js/dojox/gfx/demos/data/Lars.json +++ /dev/null @@ -1,1823 +0,0 @@ -[ - { - "name": "torso", - "children": [ - { - "name": "leftArm", - "shape": { - "type": "path", - "path": "M156.007,292.674c2.737,1.779,5.563,3.322,8.752,3.947c7.098,1.39,19.25-5.666,23.136-11.699 c1.572-2.441,8.077-21.031,11.177-14.271c1.224,2.67-1.59,4-1.399,6.462c3.108-1.425,5.48-5.242,8.918-2.182 c0.672,4.019-4.472,4.343-3.918,7.669c1.376,0.218,5.394-1.595,6.285-0.535c1.707,2.027-2.933,3.561-4.072,4.018 c-1.852,0.741-4.294,1.233-5.988,2.369c-2.636,1.768-4.766,5.143-7.034,7.4c-11.657,11.604-26.183,10.553-40.646,5.515 c-4.713-1.642-17.399-4.472-18.655-9.427c-1.647-6.502,5.523-7.999,10.184-6.74C147.658,286.528,151.725,289.891,156.007,292.674z" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "leftArmThumb", - "shape": { - "type": "path", - "path": "M188.257,284.902c-1.932-1.391-3.314-4.206-3.506-6.494c-0.149-1.786,0.59-6.522,3.199-3.95c0.792,0.78,0.083,2.155,0.558,2.943 c0.885,1.47,1.071,0.493,2.748,1.002c1.406,0.426,3.827,2.05,4.251,3.499" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "rightArm", - "shape": { - "type": "path", - "path": "M57.05,283.306c-5.502,5.354-13.185,8.541-18.249,14.221c-4.303,4.827-7.721,11.575-11.138,17.112 c-6.752,10.939-10.794,26.076-19.912,35.185c-3.869,3.866-7.637,5.721-7.251,12.032c0.932,0.372,1.548,0.589,2.418,0.683 c0.605-2.746,2.569-4.199,5.362-3.799c-0.14,3.365-3.512,5.941-3.228,9.235c0.364,4.223,3.983,5.968,7.181,2.662 c2.61-2.699,0.192-7.848,3.338-10.179c5.535-4.103,2.889,2.998,4.13,5.514c5.19,10.519,8.634-1.859,7.35-7.996 c-2.336-11.159-3.003-15.126,3.267-24.416c6.358-9.419,12.194-18.708,19.399-27.588c1.116-1.375,2.08-2.728,3.333-4" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "shirt", - "children": [ - { - "name": "tShirt", - "shape": { - "type": "path", - "path": "M96.509,268.264 c-2.301,0.323-4.69,0.205-6.945,0.72c-2.234,0.509-4.5,0.8-6.749,1.249c-4.369,0.872-8.206,3.265-12.3,5.024 c-3.259,1.401-6.644,2.571-9.763,4.26c-1.923,1.041-3.688,2.616-5.487,3.97c-1.543,1.16-3.495,2.11-4.854,3.562 c-2.205,2.354,0.896,7.408,1.854,9.873c0.92,2.368,2.149,4.82,2.749,7.29c0.228,0.937,0.235,2.058,0.875,2.873 c0.644,0.821,0.64,0.735,1.822,0.048c1.513-0.878,2.873-1.993,4.329-2.993c2.431-1.67,5.462-2.848,7.434-5.111 c-3.335,1.652-5.335,4.679-6.931,8.012c-1.398,2.92-4.482,35.854-5.389,38.947c-0.195,0.003-0.775,0.003-0.749,0.013 c20.561,0,41.123-0.07,61.684,0c2.1,0.007,3.607-0.497,5.529-1.252c0.715-0.281,2.257-0.356,2.807-0.745 c1.412-0.998-0.094-3.916-0.646-5.302c-1.425-3.579-2.111-37.767-4.726-40.543c1.842,0.057,4.127,1.311,5.937,1.95 c1.351,0.478,2.633,1.092,3.956,1.66c1.39,0.597,3.667,1.927,5.168,1.858c0.296-1.873,1.045-3.286,1.839-5.02 c0.943-2.061,1.155-4.214,1.528-6.415c0.351-2.07,0.898-3.787,1.939-5.635c0.531-0.942,1.356-1.73,1.693-2.768 c-0.443-0.402-1.043-0.907-1.603-1.125c-0.56-0.219-1.292-0.111-1.908-0.33c-1.237-0.438-2.44-1.089-3.669-1.576 c-3.773-1.499-7.519-2.983-11.319-4.466c-3.575-1.396-6.977-3.239-10.784-3.872c-1.735-0.289-3.467-0.529-5.073-0.906" - }, - "fill": "#4459A5", - "stroke": { - "color": "#000000", - "cap": "round" - } - }, - { - "name": "shirtNeck", - "shape": { - "type": "path", - "path": "M99.759,268.889 c-0.984,0.152-1.746-0.549-2.75-0.5c-1.369,0.066-1.649,0.872-2.153,2c-1.037,2.325-2.442,4.974,0.064,6.946 c2.53,1.991,6.964,1.717,9.829,0.803c1.616-0.516,3.045-1.24,3.825-2.867c0.508-1.061,0.935-2.771,0.149-3.598 c-0.231-0.243-0.562-0.376-0.84-0.534" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round" - } - }, - { - "name": "shirtLogo", - "children": [ - { - "children": [ - { - "shape": { - "type": "path", - "path": "M104.864,296.92c-0.151-0.003,7.101,0.41,7.052,0.404c0.132,0.028-0.172,0.633-0.021,0.632 c-0.226,0.028-7.244-0.454-7.28-0.464C104.657,297.518,104.776,296.904,104.864,296.92z" - }, - "stroke": { - } - } - ] - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M90.071,295.919c-0.199,0.004,6.792,0.43,6.79,0.446c0.153,0.005-0.031,0.663,0.012,0.665 c0.272,0.015-6.79-0.471-6.875-0.459C89.881,296.56,89.796,295.899,90.071,295.919z" - }, - "stroke": { - } - } - ] - }, - { - "shape": { - "type": "path", - "path": "M84.407,306.476c0.2-0.159,0.322-1.04,0.254,0.057 c-0.542-0.356-2.02,2.083-4.215,2.001c-1.887-1.706-4.559-3.384-4.302-7.092c0.652-2.599,3.082-4.084,5.213-3.942 c1.889,0.377,2.899,0.716,4,1.318c-0.497,0.957-0.175,0.866-0.459,0.703c0.456-2.398,0.598-5.75,0.312-7.855 c0.594-0.554,0.714,0.125,1.249,0.941c0.502-0.727,0.509-1.425,0.875-0.571c-0.207,1.328-0.809,7.186-0.711,10.174 c-0.126,2.797-0.375,4.354-0.051,4.985c-0.718,0.613-0.667,1.006-0.981,1.381c-0.72-1.33-1.056-0.132-1.339-0.157 C84.632,308.442,84.493,305.791,84.407,306.476z M81.186,307.176c2.403,0.206,3.734-2.164,3.841-4.222 c0.269-2.72-0.896-5.104-3.198-5.04c-1.972,0.437-3.46,2.188-3.331,4.638C78.171,306.265,79.847,306.961,81.186,307.176z" - }, - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M93.321,297.766c2.592,0.148,5.688,2.315,5.696,5.627 c-0.611,4.576-3.69,5.316-6.158,5.581c-2.68-0.76-5.708-1.872-5.413-6.472C88.086,299.394,90.653,297.875,93.321,297.766z M92.939,307.46c2.531,0.735,3.706-1.297,3.666-3.935c0.114-2.219-0.641-4.584-3.389-4.896c-2.29-0.552-3.366,2.188-3.661,4.688 C89.339,305.264,89.934,307.95,92.939,307.46z" - }, - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M99.688,303.916c0.03-1.511,0.055-4.731,0.022-4.646 c0.481-1.355,0.658-0.556,1.034-1.297c0.263,1.473,0.653,0.326,1.186,0.066c-0.386,2.517-0.513,3.347-0.574,4.949 c-0.068-0.47-0.128,2.28-0.238,2.188c-0.055,1.935-0.036,2.201-0.047,4.219c-0.079,0.914-0.28,2.412-1.126,3.831 c-0.61,1.212-1.73,1.146-3.24,1.651c0.073-0.945-0.065-1.242-0.096-1.822c0.098,0.138,0.213,0.604,0.225,0.398 c1.892,0.228,2.209-1.896,2.362-3.366c0.042,0.304,0.512-6.933,0.415-7.061C99.73,302.636,99.75,303.178,99.688,303.916z M100.978,295.564c0.717,0.14,1.11,0.61,1.099,1.156c0.052,0.552-0.595,0.993-1.286,1.015c-0.541-0.074-1.025-0.548-1.022-1.054 C99.813,296.084,100.292,295.643,100.978,295.564z" - }, - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M108.115,298.791c3.028-0.067,5.283,1.359,5.256,5.757 c-0.264,3.479-3.366,4.63-5.883,5.12c-2.429-0.034-5.619-2.241-5.16-5.811C102.322,300.085,105.715,298.845,108.115,298.791z M107.351,309.232c2.675-0.132,3.839-2.333,3.841-4.497c0.246-2.344-0.263-4.833-2.923-5.396 c-2.844,0.299-3.974,1.917-4.053,4.48C104.136,306.655,104.854,308.372,107.351,309.232z" - }, - "stroke": { - } - } - ] - } - ] - } - ] - }, - { - "name": "heads", - "children": [ - { - "name": "head1", - "children": [ - { - "name": "leftEart", - "children": [ - { - "shape": { - "type": "path", - "path": "M201.557,195.474 c7.734-4.547,16.591-5.012,18.405,4.443c2.43,12.659-3.317,13.328-14.598,13.328" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M211.711,203.09 c0.523,0.004,0.946-0.208,1.27-0.635" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M211.076,197.377 c3.062,3.013,5.489,5.624,4.443,10.155" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - } - ] - }, - { - "name": "bgHairTop", - "shape": { - "type": "path", - "path": "M54.384,199.306c-5.253-4.402-7.511-11.061-15.779-10.632c3.449-1.277,7.116-2.397,10.911-2.666 c-2.873-1.397-5.865-2.575-8.231-4.718c3.986-1.119,11.47-1.817,14.864,0.75c-5.183-2.758-8.397-7.816-13.062-10.598 c6.014-0.643,12.377,0.978,18.022,2.265c-2.547-4.486-6.682-10.83-10.523-14.297c5.033,1.052,10.647,4.518,15.062,7.177 c-1.614-4.176-5.634-8.406-7.859-12.513c10.312-1.125,12.522,4.919,19.7,9.932c-0.412-0.127-1.114-0.113-1.527,0.015 c0.875-7.261,3.058-12.8,8.258-18.566c6.771-7.507,17.812-9.131,24.095-15.381c-4.699,1.821-4.518,23.765-4.875,28.955" - }, - "fill": "#FFF471", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "bgHairLeft", - "shape": { - "type": "path", - "path": "M92.384,243.972c-6.334,7.929-12.601,12.241-22.465,15.362c3.65-1.263,7.735-5.86,7.695-9.928 c-2.208,0.218-4.49,0.605-6.498,1.097c1.244-1.097,2.087-3.239,3.198-4.396c-5.77,0.001-12.131,1.133-18.396,1.23 c5.013-2.809,10.665-3.25,12.398-9.246c-3.59,0.313-7.233,1.606-11.033,1.097c1.731-2.022,3.953-3.995,5.049-6.447 c-3.781,0.056-6.665,3.098-10.547,2.465c0.962-2.863,3.187-5.208,4.531-7.766c-5.59-0.273-11.658,2.45-17.732,2.564 c5.494-2.857,8.967-7.819,12.3-12.718c5.233-7.693,10.625-9.96,20.349-9.981c11.059-0.024,15.558,6.714,20.984,16 c2.786,4.767,7.249,14.375,0.832,18" - }, - "fill": "#FFF471", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "bgHair", - "shape": { - "type": "path", - "path": "M142.384,255.306c2.984,6.076,3.567,11.856,10.531,14.6c-0.134-3.114-0.094-6.664,1.619-9.033 c1.605,1.968,3.122,4.211,5.048,5.698c-0.29-1.769,0.412-4.024,0.233-5.828c3.445,0.26,4.979,3.965,8.468,4.479 c0.066-2.78,0.427-5.151,0.868-7.813c2.687,0.2,4.768,1.565,7.132,2.997c0.452-4.921-0.409-10.579-0.667-15.666 c-5.795-0.756-12.291,2.827-17.899,3.899c-4.414,0.844-14.136,0.524-15.333,6" - }, - "fill": "#FFF471", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "neck", - "shape": { - "type": "path", - "path": "M106.989,254.499c-2.932,6.063-4.613,11.997-8.947,17.137c7.288,10.195,16.311-10.9,15.183-17.026 c-1.926-1.138-3.928-1.589-6.236-1.38" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "headShape", - "shape": { - "type": "path", - "path": "M210.941,207.665c-0.843,3.985-2.081,7.982-3.769,11.783c-3.374,7.604-8.543,14.427-16.052,18.899 c-2.94,2.13-5.983,4.167-9.109,6.085c-25.013,15.342-55.353,23.08-82.254,10.57c-3.433-1.557-6.785-3.431-10.053-5.66 c-1.821-1.184-3.592-2.46-5.308-3.832c-1.715-1.373-3.375-2.842-4.972-4.412c-2.352-2.148-4.576-4.425-6.631-6.814 c-6.168-7.169-10.823-15.358-12.87-24.185c-0.649-3.284-0.84-6.634-0.5-9.975c4.48-13.743,14.22-24.364,26.109-32.149 c2.973-1.946,6.079-3.715,9.271-5.309c30.581-15.027,69.581-10.027,95.851,12.209c2.564,2.254,4.988,4.651,7.244,7.178 c4.513,5.054,8.354,10.626,11.312,16.64C210.178,201.505,210.798,204.496,210.941,207.665z" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "rightEar", - "children": [ - { - "shape": { - "type": "path", - "path": "M64.857,195.606 c-6.59-7.181-15.047-10.664-19.467,3.676c-1.235,4.007-1.87,14.468,1.29,17.786c4.223,4.435,13.591,0.529,19.055-0.015" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M52.407,196.743 c-1.702,3.613-1.257,7.505-1.27,11.424" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M51.772,209.437 c-3.39-4.661,0.922-5.769,5.078-6.347" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - } - ] - }, - { - "name": "fgHair", - "shape": { - "type": "path", - "path": "M90.384,154.639c8.453-11.353,15.678-13.458,28.581-15.915c-1.382,3.376-3.89,7.352-5.179,11.16 c5.01-1.816,9.571-6.545,15.218-8.413c11.355-3.755,23.852-1.903,35.671-2.213c-3.004,3.712-4.912,7.88-2.026,11.447 c5.856-2.212,13.37-6.871,19.635-6.646c0.263,4.561-0.024,9.278,0.201,13.841c3.509-1.201,6.015-3.04,8.277-5.148 s3.761-4.049,4.942-5.2c1.063,2.408,2.134,5.334,2.24,8.494c-0.182,3.462-0.866,6.794-2.66,9.291 c3.663,0.65,6.098-2.021,8.35-4.479c-0.655,4.349-3.164,8.604-3.851,13.013c2.178-0.072,4.382,0.216,6.367-0.48 c-1.389,3.093-3.069,7.287-6.616,8.414c-4.475,1.423-4.354-0.992-7.315-4.332c-4.892-5.518-9.774-6.791-15.872-9.464 c-6.585-2.887-10.983-6.47-17.963-8.219c-8.994-2.255-19.864-3.867-28.093-5.196c2.466,1.967,1.138,5.594,0.659,8.625 c-2.729-0.645-4.41-3.813-6.301-5.158c0.953,3.195,0.983,6.953-2.134,8.491c-6.145-5.226-9.199-9.721-17.527-11.647 c1,1.83,1.728,4.208,1.396,6.402c-0.751,4.971-0.289,3.134-3.836,2.466c-5.192-0.977-9.953-3.677-15.815-4.496 c3.292,2.002,5.469,5.017,7.418,8.21c-2.651,0.404-6.238,0.257-8.382,1.671c2.456,0.38,3.44,2.166,3.197,4.714 c-7.45,0.386-13.623,0.731-19.915,5.434" - }, - "fill": "#FFF471", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - } - ] - } - ] - }, - { - "name": "eyes", - "children": [ - { - "name": "eyes1", - "children": [ - { - "shape": { - "type": "path", - "path": "M123.163,176.668 c-5.066,1.17-9.01,7.888-13.666,10.335c-4.238,2.227-8.648,6.636-7.009,12.332c1.971,6.848,12.042,3.991,16.261,1.165 c5.282-3.539,9.59-8.517,12.006-14.524c1.523-3.787,2.568-7.272-1.509-9.391c-2.905-1.51-8.174-1.386-11.417-0.583" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M182.545,179.865 c-3.533,0.169-4.854-1.166-8.408-0.001c-3,0.983-6.24,1.936-8.852,3.743c-3.938,2.725-7.46,5.555-4.73,13.592 c1.973,5.811,8.791,7.571,14.656,6.667c5.537-0.854,9.078-4.977,11.408-10.007c3.666-7.918,0.943-11.639-6.742-13.659" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000", - "cap": "round" - } - }, - { - "shape": { - "type": "path", - "path": "M108.829,183.668c-1.308-1.03-4.557,0.011-5.6-1.733 c-1.056-1.765,1.735-5.409,2.984-6.192c5.684-3.562,15.946-0.39,19.95-6.742" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M163.877,167.198c2.369,1.282,6.539,0.307,9.408,0.815 c3.449,0.612,7.066,2.657,10.592,2.851" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M127.496,192.002c-4.917-2.12-9.188-1.708-8.608,4.942 c3.132,1.734,5.428-2.82,7.275-4.942" - }, - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M174.852,203.143c-0.293,0.12-0.307,0.577-0.943,0.282 c-1.605-3.188-0.404-6.507,2.676-8.192c2.15-1.176,5.67-1.759,7.471,0.359c0.199,0.234,0.412,0.521,0.514,0.813 c0.229,0.649-0.285,0.95-0.285,0.95s-3.988,6.009-3.285,1.934c0.438,1.743-5.537,5.743-2.287,1.653 c-1.955,2.583-2.525,1.977-3.859,2.868" - }, - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "eyes2", - "children": [ - { - "shape": { - "type": "path", - "path": "M98.668,186.108c0.668-8.915,15.545-13.749,22.667-15" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M169.667,178.108 c5.307,3.436,16.928,5.632,19.668,12.333" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M105.334,197.775c8.085-4.283,17.059-2.8,25-6.333" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M164.001,198.775c4.656-0.417,9.664,1.805,14.334,2.017 c3.951,0.18,5.773,0.189,9,2.316" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M124.001,188.108c3.039-0.258,4.594,2.571,5.301,4.983 c-1.096,1.242-2.065,2.646-2.968,4.017" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M168.335,194.108c-1.77,2.293-4.869,3.271-6.299,5.91 c1.377,0.991,3.02,2.122,3.965,3.424" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - } - ] - } - ] - }, - { - "name": "beard", - "children": [ - { - "shape": { - "type": "path", - "path": "M96.05,213.639 c-0.366,0.21-0.783,0.389-1.167,0.5" - }, - "fill": "#AFA8A5", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M102.55,211.972 c0.314-0.01,0.554-0.198,0.667-0.5" - }, - "fill": "#AFA8A5", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M105.717,208.805 c0.164-0.109,0.336-0.224,0.5-0.333" - }, - "fill": "#AFA8A5", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M111.05,207.972 c-0.651-1.81,0.859-2.262,2.333-1.5" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M117.717,209.805 c1.738,0,3.653,0.369,5.333,0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M132.717,214.472 c0.104-0.21,0.162-0.435,0.167-0.667" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M139.551,216.972 c0.215-0.175,0.465-0.426,0.666-0.667" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M144.551,213.305 c0.277-0.056,0.556-0.111,0.833-0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M147.884,216.639 c0.195,0.045,0.369-0.013,0.5-0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M148.384,214.139 c0.112-0.168,0.222-0.332,0.333-0.5" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M98.217,219.305c1.697-1.772,4.233-2.109,5.967-4.046c1.519-1.696,3.812-3.001,4.2-5.454" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M152.717,216.139 c0.611,0,1.223,0,1.834,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M160.384,217.472 c0.333,0,0.667,0,1,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M163.217,215.972 c0.321-0.042,0.658-0.175,0.834-0.333" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M164.217,218.805 c0.167,0,0.333,0,0.5,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M168.384,217.972 c0.056-0.056,0.111-0.111,0.167-0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M169.884,225.805 c0.491-0.397,0.882-0.926,1.167-1.5" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M172.717,221.972 c0.056,0,0.111,0,0.167,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M171.717,229.805 c0.334,0.075,0.659,0.025,0.834-0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M190.051,227.805 c0.163-0.242,0.398-0.423,0.666-0.5" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M197.384,221.472 c0.258-0.007,0.485-0.125,0.667-0.333" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M199.384,214.972 c-0.04-0.333,0.075-0.609,0.333-0.833" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M117.884,257.305 c0.056,0,0.111,0,0.167,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M142.717,252.472 c0.358,0.069,0.71,0.016,1-0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M137.884,256.472 c0.277,0,0.556,0,0.833,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M160.884,252.972 c0.366-0.138,0.765-0.402,1-0.667" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M171.384,250.139 c0.235-0.263,0.475-0.561,0.667-0.834" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M89.384,243.972 c0.537,0.378,1.329,0.876,1.833,1.333" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M79.05,225.472 c0.087,0.272,0.143,0.55,0.167,0.833" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M73.884,222.639 c0,0.167,0,0.333,0,0.5" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M72.55,219.805c0.466-0.325,0.875-0.797,1.167-1.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M71.717,211.972c0.422-0.553,0.776-1.305,1-2" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M78.55,214.472c0-0.111,0-0.222,0-0.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M79.384,218.805c-0.001-0.137,0.055-0.248,0.167-0.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M80.217,221.139c0.111,0,0.222,0,0.333,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M75.55,226.472c0.103-0.5,0.156-0.977,0.167-1.5" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M78.55,230.139c0.111,0,0.222,0,0.333,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M83.384,227.639c0.118-0.059,0.215-0.107,0.333-0.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M81.55,237.139c0.056,0,0.111,0,0.167,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M86.217,233.805c0.056,0,0.111,0,0.167,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M87.884,230.472c0.595-0.181,1.219-0.527,1.833-0.667" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M88.717,222.139 c-0.929,2.359-1.615,4.865-2.667,7.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M89.05,216.139 c0.784-0.736,1.709-1.565,2.833-1.5" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M94.217,210.139 c1.599-0.089,3.199-0.167,4.833-0.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M94.884,224.639 c0.052-0.588-0.004-1.155-0.167-1.667" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M92.384,228.305 c0.585-0.062,1.244-0.132,1.667-0.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M88.717,240.139 c0.111,0,0.222,0,0.333,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M95.884,243.305 c0.526,0.1,1.017-0.015,1.333-0.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M98.55,248.305 c0.069-0.24,0.265-0.926,0.333-1.166" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M96.55,249.805 c0.125,0.014,0.18-0.042,0.167-0.166" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M104.55,250.139 c0.01-0.238,0.126-0.428,0.333-0.5" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M106.884,251.972 c0.195,0.045,0.37-0.013,0.5-0.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M113.884,254.805 c0.758-0.586,1.595-1.171,2.382-1.774c0.072,0.376,0.418,0.685,0.48,1.079c0.833,0.265,1.624-0.021,1.638-0.971" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M122.217,254.639 c0.063-0.165,0.179-0.288,0.333-0.334" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M125.884,255.805 c1.13-0.745,2.783-0.962,3.667-2" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M132.217,255.972 c0.638-0.492,1.104-1.173,1.141-1.975c-1.11,0.062-1.449-0.888-1.475-1.858" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M129.717,249.305 c-0.045,0.154-0.168,0.271-0.333,0.334" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M136.551,252.305 c0.222,0,0.444,0,0.666,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M110.217,251.305 c0.056-0.056,0.111-0.11,0.167-0.166" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M140.717,251.805 c0.111,0,0.223,0,0.334,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M150.051,249.472 c0.111,0,0.222,0,0.333,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M143.217,255.472 c1.022-0.313,1.724-1.175,2.646-1.654c0.203,0.321,0.44,0.626,0.521,0.987" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M152.217,253.472 c0.165-0.063,0.288-0.179,0.334-0.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M155.051,254.639 c0.222,0,0.444,0,0.666,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M157.717,256.472 c0.326-0.027,0.546-0.073,0.834-0.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M163.217,252.639 c0.552-0.891,2.082-1.512,2.341-2.334c0.37-1.177-1.156-3.069-1.007-4.5" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M167.384,235.972 c0.118-0.54,0.353-1.064,0.667-1.5" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M170.717,242.805 c0-0.333,0-0.667,0-1" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M170.217,236.972 c0-0.333,0-0.667,0-1" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M179.051,235.805 c0.378-0.101,0.738-0.35,1-0.667" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M185.051,232.805 c0.379-0.319,0.656-0.702,0.833-1.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M188.051,231.139 c0.063-0.39,0.178-0.792,0.333-1.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M197.884,223.305 c-0.166,0.277-0.334,0.556-0.5,0.833" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - } - ] - }, - { - "name": "mouths", - "children": [ - { - "name": "mouth1", - "children": [ - { - "shape": { - "type": "path", - "path": "M177.122,216.821c-0.515,2.282-5.213,3.21-7.433,3.854 c-3.254,0.945-6.596,1.345-9.895,1.851c-3.26,0.5-6.665,0.671-10.107,0.671c-3.596,0-6.645,0.559-10.107,0.671 c-3.105,0.1-6.898-0.474-9.694-1.3c-3.527-1.043-6.672-1.666-10.096-3.062c-2.823-1.152-5.746-1.876-8.462-3.143 c-2.594-1.209-6.084-1.994-8.221-3.552c-1.068,1.834-5.867,3.748-8.1,4.546c-2.444,0.874-8.881,2.725-7.817,5.512 c0.457,1.195,1.948,2.273,2.63,3.385c0.774,1.261,1.139,2.601,2.057,3.859c1.83,2.5,4.506,4.773,6,7.34 c1.308,2.249,2.096,4.74,4.01,6.67c2.214,2.233,5.792,2.634,9.231,2.399c7.028-0.479,13.982-2.129,20.481-3.983 c3.295-0.941,6.699-1.536,10.087-2.686c3.272-1.111,6.641-3,9.402-4.777c5.248-3.377,10.278-6.409,14.283-10.705 c1.479-1.587,3.429-2.503,5.15-3.859" - }, - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M135.25,241.319 c0.723-4.757-10.487-8.47-14.898-9.526c-3.09-0.74-6.68-1.17-9.858-1.712c-2.758-0.47-6.865-0.836-9.437,0.369 c-1.385,0.649-2.843,1.724-4.141,2.513c2.156,3.964,4.728,8.861,9.468,11.506c3.229,1.801,5.511,0.777,8.859,0.373 c3.045-0.369,6.046-0.703,9.029-1.72c3.479-1.186,7.228-2.385,10.978-2.475" - }, - "fill": "#FFC0C0", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M148.656,225.547c1.267,0.697,1.301,2.838,0.671,3.9 c-0.702,1.182-2.063,1.4-3.306,2.01c-2.271,1.116-4.581,2.624-7.482,2.638c-4.619,0.023-2.143-4.067-0.253-5.869 c2.405-2.292,5.057-2.72,8.72-2.512c0.588,0.034,1.095,0.041,1.65,0.168" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M130.299,223.365 c2.687,0.437,5.619,4.384,3.727,6.422c-1.234,1.33-7.94,1.391-9.915,1.296c-4.896-0.233-2.502-2.445-0.613-4.525 c1.604-1.767,5.088-3.249,7.833-3.36" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M113.178,217.157 c2.56,0.958,4.922,5.057,5.352,7.215c0.377,1.885-0.324,2.106-2.526,2.643c-1.366,0.333-3.636,0.723-5.105,0.385 c-2.506-0.577-5.883-5.051-4.909-7.223c1.03-2.298,5.944-2.923,8.427-2.852" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M99.359,217.661 c2.038,0.432,4.015,4.279,2.468,5.625c-1.083,0.943-5.221,1.795-6.799,1.589c-4.032-0.526-2.265-4.102-0.866-5.872 c0.706-0.894,1.049-1.976,2.514-2.186c1.627-0.233,2.501,0.99,3.921,1.346" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M181.815,222.895c-3.101-2.75-4.764-8.777-9.282-10.403" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "mouth2", - "children": [ - { - "shape": { - "type": "path", - "path": "M87.57,221.951c5.563-1.759,11.066-1.32,16.694-1.782c2.93-0.24,5.228-1.14,8.309-0.927c3.142,0.217,6.085-0.235,9.289,0.176 c7.136,0.914,13.96,0.598,21.112,1.506c3.654,0.464,7.218,0.609,10.81,0.869c4.017,0.291,7.646,1.582,11.433,2.623 c2.948,0.812,6.347,1.618,9.011,2.99c2.521,1.298,6.354,2.856,8.3,4.72c-2.775,0.027-5.601,2.603-8.021,3.769 c-2.93,1.412-5.741,2.949-8.656,4.432c-5.599,2.849-11.885,5.468-18.104,6.53c-6.793,1.161-13.195,2.107-20.067,2.197 c-7.699,0.102-14.313-4.705-20.735-8.396c-2.071-1.19-4.69-2.182-6.504-3.666c-1.792-1.466-3.469-3.386-5.154-4.984 c-2.703-2.564-7.519-5.649-8.13-9.438" - }, - "stroke": { - "color": "#000000", - "width": "3", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M87.785,228.193 c-5.907-3.235-0.344-9.531,3.971-11.424" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2" - } - }, - { - "shape": { - "type": "path", - "path": "M184.679,227.228c-1.534,2.583-2.548,5.334-4.025,7.889" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M106.862,219.528 c-3.071-0.74-5.608,2.166-6.318,4.738c-0.379,1.375-0.494,2.55,0.748,3.337c1.519,0.962,2.905-0.052,4.418-0.332 c2.518-0.467,7.293,0.053,6.461-4.248c-0.568-2.938-3.743-3.682-6.338-3.335c-0.451,0.06-0.758,0.212-1.205,0.229" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M119.764,218.479 c-2.648,1.243-4.657,3.518-5.346,6.377c-0.866,3.594,3.9,3.711,6.356,2.865c2.64-0.91,4.77-3.351,3.299-6.133 c-1.01-1.91-3.979-2.548-6.026-2.823" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M130.388,219.492 c-1.753,1.382-4.069,4.525-4.835,6.61c-1.159,3.156,2.296,3.371,4.868,3.348c3.061-0.028,6.6-1.148,5.022-4.78 c-1.168-2.691-2.552-4.85-5.551-5.241" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M142.954,221.087 c-1.502,0.337-5.418,3.249-5.638,4.997c-0.292,2.311,4.856,4.536,6.854,4.234c2.503-0.377,4.384-3.175,3.167-5.65 c-0.92-1.873-3.36-2.252-4.508-3.932" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M155.354,222.663 c-2.039,0.426-4.212,2.287-4.766,4.444c-0.723,2.821,3.225,3.383,5.458,3.331c2.541-0.059,5.126-1.752,3.249-4.32 c-1.394-1.908-3.707-3.189-5.304-4.636" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M168.367,237.924 c-1.554-1.217-3.302-2.557-5.203-2.976c-2.973-0.654-3.537,2.131-3.377,4.406c0.205,2.913,1.032,3.883,3.901,2.344 c1.988-1.066,4.272-1.997,4.599-4.456" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M151.524,246.202 c-1.912-0.166-4.003-4.491-2.91-6.25c0.771-1.239,5.456-1.688,6.858-1.292c0.271,0.917,0.979,1.841,0.829,2.771 c-0.088,0.54-0.994,1.645-1.296,2.188c-1.08,1.951-2.133,1.866-3.998,2.684" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M145.911,241.457 c-0.209,1.649-0.215,2.702-1.528,3.801c-0.885,0.739-1.773,1.19-2.54,2.1c-0.786,0.933-1.226,2.38-2.792,1.812 c-1.042-0.377-1.959-2.318-2.138-3.311c-0.299-1.676-1.003-5.228,0.783-6.158c1.155-0.603,7.067-0.18,7.43,1.32" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M133.12,238.991 c-1.495-0.087-2.253-1.33-3.918-0.964c-1.42,0.311-2.489,1.354-2.54,2.836c-0.052,1.527,0.99,5.581,1.852,6.956 c2.363,3.771,4.329-1.535,5.516-3.159c1.117-1.526,2.643-2.053,2.271-3.958c-0.318-1.632-1.118-2.047-2.766-2.329 c-0.382-0.065-0.773-0.095-1.158-0.147" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M116.853,237.429 c-1.049,2.211-0.173,5.147,0.047,7.566c0.357,3.929,3.827,2.028,5.831,0.067c1.575-1.541,4.599-4.86,2.209-6.484 c-1.881-1.279-5.727-2.458-7.756-1.107" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M107.455,233.38 c-0.813,2.487-1.704,5.049,0.073,7.364c1.91,2.486,4.009,1.229,5.537-0.939c1.056-1.5,3.316-4.481,1.563-6.017 c-1.347-1.179-6.468-1.518-7.854-0.325" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "mouth3", - "children": [ - { - "shape": { - "type": "path", - "path": "M99.05,218.972 c1.691-0.875,3.313-2.39,4.833-3.537c1.231-0.928,2.782-1.671,3.5-3.072c1.846,3.486,7.661,4.669,11.003,6.067 c3.553,1.486,7.174,3.066,10.784,4.166c4.271,1.301,9.277,1.67,13.721,2.343c4.155,0.629,9.979,1.365,14.162,0.496 c1.181-0.245,2.343-1.024,3.462-1.446c0.162,1.905-3.637,3.023-4.933,3.487c-2.435,0.871-4.18,2.541-6.362,3.871 c-1.623,0.989-2.974,1.669-4.755,2.117c-1.77,0.445-3.353,0.806-4.825,1.878c-5.915,4.311-15.264,3.247-22.424,3.13 c-5.384-0.088-6.719-5.372-9.337-9c-1.437-1.991-2.843-3.854-3.796-6.138c-0.871-2.086-1.119-4.582-2.033-6.528" - }, - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M107.217,227.972 c1.182-2.033,4.375-2.176,6.5-1.963c2.879,0.289,4.124,1.217,6.168,3.167c1.834,1.749,5.906,5.509,5.64,8.271 c-2.808,0.89-7.847,0.402-10.346-1.104c-1.334-0.804-1.151-2.256-2.246-3.588c-0.712-0.866-1.836-2.673-2.855-3.311 c-0.209-0.94-2.106-1.499-3.028-1.805" - }, - "fill": "#F4BDBD", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - } - ] - } - ] - }, - { - "name": "personalProps", - "children": [ - { - "name": "hat", - "children": [ - { - "children": [ - { - "children": [ - { - "shape": { - "type": "path", - "path": "M88.374,173.144c0.474-0.074,16.606,2.725,18.01,5.879 c1.145,2.572,28.184,4.568,28.184,4.568l35.971-5.618l5.025,1.132l7.211,0.315l9.295,0.851l10.188,3.248l5.75,2.935 l1.615-1.832l-0.264-5.27l-3.967-7.087c0,0-22.045-13.031-23.273-13.703c-1.229-0.669-4.941-2.294-6.484-4.542 c-8.584-12.528-8.404-18.05-3.371-6.461c0,0,2.662-7.592,2.52-8.575c-0.143-0.982,0.355-5.031,0.355-5.031l2.396-6.832 c0,0-1.379-5.341-2.738-7.19c-1.357-1.844-15.793-4.078-18.162-4.011c-24.933,0.706-3.783,0.071-25.567,0.724 c-24.317,0.728-0.882-2.591-24.068,3.551c-24.228,6.418-5.35-1.298-23.187,6.142c-18.301,7.633-16.67,7.186-16.704,10.685 c-0.034,3.499-3.057-4.884-0.034,3.499c3.023,8.381,3.037-3.871,3.023,8.381c-0.015,12.252,6.696,4.557,1.678,12.373 c-5.017,7.813-3.831,7.91-0.179,8.543c17.017,2.953,4.157,4.378,17.427,3.175" - }, - "fill": "#FF0000", - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M156.605,114.92l-13.936,0.381l-11.633,0.343c-10.646,0.319-11.973-0.155-12.021-0.175l-0.599-0.238 l-0.577,0.514l0.049-0.047c-0.118,0.09-1.43,0.957-11.145,3.53c-9.989,2.646-12.812,2.931-13.421,2.704 c-0.822-0.306-0.821-0.306-7.791,2.604l-2.104,0.878c-16.037,6.689-17.342,7.324-17.342,10.316c0,0.019,0.001,0.041,0.001,0.06 c-0.224-0.108-0.459-0.199-0.787-0.04c-0.357,0.173-0.565,0.275-0.565,0.672c0,0.557,0.411,1.697,1.399,4.438 c0.924,2.561,1.71,3.671,2.714,3.833c0.083,0.014,0.164,0.02,0.241,0.02c0.007,0.584,0.01,1.339,0.01,2.313 c0,0.561-0.001,1.902-0.001,1.916c0,6.908,2.176,8.105,3.347,8.749c0,0,0.075,0.045,0.151,0.09 c-0.095,0.332-0.47,1.1-1.661,2.955c-2.509,3.908-3.516,5.931-3.516,7.303c0,0.358,0.068,0.671,0.196,0.962 c0.544,1.237,1.926,1.477,3.677,1.78l0.135,0.023c8.138,1.412,9.14,2.422,9.568,2.854c0.923,0.931,1.511,0.928,7.224,0.413 c0.06,0.014,0.102,0.068,0.165,0.071c2.167,0.105,16.131,3.138,17.087,5.288c1.147,2.578,16.416,4.228,29.023,5.159 l0.115,0.009c0,0,35.523-5.548,35.896-5.606c0.345,0.078,4.927,1.11,4.927,1.11l7.3,0.319c0,0,8.927,0.818,9.139,0.837 c0.202,0.064,9.854,3.142,10.006,3.19c0.143,0.073,6.368,3.251,6.368,3.251l2.398-2.719l-0.296-5.911l-4.213-7.526 l-0.232-0.137c-0.9-0.532-22.073-13.047-23.303-13.72c-0.001,0-0.735-0.38-0.735-0.38c-1.48-0.752-4.238-2.151-5.404-3.85 c-1.357-1.982-2.451-3.729-3.355-5.268c0.022-0.064,0.104-0.296,0.104-0.296c1.193-3.402,2.576-7.619,2.576-8.885 c0-0.063-0.004-0.118-0.011-0.165c-0.012-0.083-0.017-0.204-0.017-0.356c0-0.909,0.194-2.911,0.363-4.307 c0.072-0.205,2.46-7.013,2.46-7.013l-0.076-0.294c-0.146-0.566-1.468-5.584-2.9-7.532 C173.721,116.784,158.242,114.874,156.605,114.92z M131.097,117.643l11.614-0.342l13.951-0.382 c2.575-0.073,16.104,2.238,17.336,3.614c0.956,1.3,2.058,4.938,2.49,6.549c-0.188,0.536-2.33,6.642-2.33,6.642l-0.013,0.107 c-0.073,0.592-0.387,3.224-0.387,4.658c0,0.258,0.011,0.477,0.034,0.639c-0.006,0.493-0.768,3.026-1.659,5.709 c-2.14-4.566-2.792-4.606-3.242-4.629l-0.62-0.031l-0.354,0.571c-0.069,0.124-0.102,0.29-0.102,0.492 c0,2.273,4.134,9.172,6.993,13.346c1.456,2.12,4.509,3.669,6.149,4.501l0.682,0.353c1.138,0.622,20.813,12.25,23.011,13.549 c0.239,0.427,3.513,6.275,3.721,6.647c0.02,0.393,0.199,3.971,0.231,4.629c-0.23,0.262-0.472,0.535-0.832,0.944 c-1.07-0.546-5.132-2.619-5.132-2.619l-10.369-3.306l-9.404-0.86c0,0-6.995-0.307-7.169-0.315 c-0.168-0.038-5.124-1.155-5.124-1.155s-35.814,5.594-36.044,5.63c-12.419-0.922-25.993-2.687-27.285-4.058 c-1.366-3.097-13.245-5.574-17.517-6.211c-0.203-0.212-0.479-0.346-0.793-0.318c-3.083,0.28-5.996,0.544-6.4,0.369 c0-0.003-0.12-0.117-0.12-0.117c-0.703-0.708-1.879-1.895-10.646-3.416l-0.135-0.023c-0.827-0.143-2.075-0.359-2.188-0.614 c-0.021-0.048-0.033-0.111-0.033-0.193c0-0.592,0.632-2.179,3.205-6.187c1.488-2.318,2.024-3.388,2.024-4.188 c0-0.15-0.019-0.291-0.054-0.428c-0.181-0.712-0.758-1.03-1.179-1.261c-0.865-0.476-2.311-1.271-2.311-6.993 c0-0.014,0.001-1.098,0.001-1.56c0-4.969-0.065-4.992-0.833-5.258c-0.424-0.146-0.816,0.001-1.178,0.377 c-0.208-0.289-0.558-0.898-1.073-2.324c-0.205-0.568-0.385-1.068-0.542-1.506c0.587-0.423,0.632-1.277,0.636-1.644 l-0.014-0.825c-0.004-0.119-0.007-0.231-0.007-0.338c0-1.702,0.899-2.264,16.109-8.608l2.105-0.878 c4.165-1.739,5.948-2.482,6.375-2.562c0.817,0.296,2.292,0.597,14.579-2.658c8.169-2.164,10.697-3.187,11.58-3.704 C120.451,117.773,124.529,117.84,131.097,117.643z" - }, - "stroke": { - } - } - ] - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M155.146,147.929c4.879-9.398-5.344-20.199-12.65-21.176 c-12.05-1.61-13.404,10.426-13.684,21.258c3.73,2.016,8.915,3.425,11.721,6.534" - }, - "fill": "#FFFFFF", - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M133.446,127.979c-4.599,3.921-5.426,11.933-5.635,20.006l-0.017,0.654l4.415,2.067 c2.849,1.244,5.793,2.529,7.581,4.509c0.371,0.41,1.004,0.442,1.412,0.072c0.219-0.197,0.33-0.469,0.33-0.743 c0-0.239-0.084-0.479-0.258-0.67c-2.076-2.299-5.222-3.673-8.266-5.001c0,0-2.377-1.112-3.174-1.486 c0.223-7.385,1.021-14.572,4.909-17.887c1.892-1.614,4.386-2.189,7.621-1.757c4.143,0.554,9.086,4.472,11.5,9.113 c1.348,2.591,2.51,6.535,0.395,10.611c-0.254,0.49-0.064,1.093,0.426,1.348c0.49,0.254,1.094,0.063,1.35-0.427 c1.959-3.775,1.818-8.199-0.395-12.456c-2.732-5.251-8.203-9.53-13.012-10.172C138.853,125.257,135.763,126,133.446,127.979z" - }, - "stroke": { - } - } - ] - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M154.077,146.278c-2.156,1.18-4.24,2.619-6.256,4.01c-3.635,2.509-7.068,4.878-10.941,5.924 c-2.991,0.808-6.055,1.058-9.3,1.324c-3.222,0.263-6.553,0.536-9.783,1.406c-2.027,0.546-4.117,1.397-6.137,2.221 c-3.491,1.423-7.102,2.895-10.528,2.866c-0.552-0.005-1.004,0.439-1.009,0.991s0.439,1.004,0.991,1.009 c3.828,0.033,7.627-1.516,11.301-3.014c2.054-0.837,3.994-1.628,5.902-2.142c3.054-0.823,6.292-1.088,9.425-1.344 c3.191-0.261,6.492-0.531,9.659-1.386c4.205-1.135,7.941-3.714,11.557-6.208c1.973-1.362,4.014-2.771,6.08-3.901 c0.484-0.265,0.662-0.873,0.396-1.357S154.562,146.013,154.077,146.278z" - }, - "stroke": { - } - } - ] - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M156.458,153.549c-2.619,0.064-5.709,0.812-8.98,1.604c-4.279,1.035-8.701,2.104-11.902,1.536 c-0.543-0.096-1.063,0.267-1.159,0.81c-0.097,0.544,0.267,1.063,0.81,1.16c3.613,0.641,8.24-0.481,12.72-1.562 c3.166-0.766,6.154-1.489,8.561-1.548c5.664-0.141,7.961,0.698,13.508,2.724c0.518,0.189,1.094-0.077,1.281-0.596 c0.189-0.519-0.076-1.091-0.596-1.282C165.069,154.337,162.501,153.399,156.458,153.549z" - }, - "stroke": { - } - } - ] - } - ] - } - ] - }, - { - "name": "textSurface", - "children": [ - { - "name": "spokenBubble", - "children": [ - { - "name": "textContainer", - "shape": { - "type": "path", - "path": "M225.719,45.306c0-6.627,5.373-12,12-12h181.333 c6.627,0,12,5.373,12,12V150.64c0,6.627-5.373,12-12,12H237.719c-6.627,0-12-5.373-12-12V45.306z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "name": "textArrowBelow", - "shape": { - "type": "path", - "path": "M249.052,160.639 c-0.775,14.251-1.676,18.525-9.1,30.565c9.705-0.79,21.952-21.605,25.1-30.045" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "thoughtBubble", - "children": [ - { - "name": "textContainer_1_", - "shape": { - "type": "path", - "path": "M202.698,21.089 c19.686-26.45,59.686-24.45,79.747-0.084c2.697,1.349,5.571,1.709,7.472,0.781c15.28-13.888,33.272-14.043,49.893-7.839 c2.771,1.034,5.478,2.219,8.031,3.421c28.543-21.729,75.543-10.729,83.166,27.658c0,0-1.324,3.889,1.165,6.603 c18.212,11.011,26.212,32.011,22.212,53.011c-1,5.333-3.223,9.667-6.037,13.52c-2.814,3.854-1.381,0-2.613-0.591 c-1.35-0.929-3.35-0.929-4.35-1.929c16,7,27,22,30,39c2,21-8,41-27,50c-16,7.5-32.5,5.5-45.745-2.556 c-2.532-1.384-4.229-1.856-5.336-1.551c-1.919,0.107-3.919,2.107-5.919,2.107c4-1,6-5,10-6c-15,11-35,12-52,3c-13-7-20-20-24-34 c1,5,3,9,3.299,13.505c-0.397,0.708-3.423,2.219-6.655,3.466c-22.627,8.729-49.423,1.729-65.241-19.971 c-3.453,0-6.263,0.589-8.723,0.879c-17.3,3.2-32.381-7.709-40.771-22.689c-1.678-2.996-3.089-6.153-4.195-9.396 c-15.714-7.795-29.714-18.795-33.714-37.795c-5-25,11-45,29.842-57.667c0.719-2.335,1.697-4.636,3.006-6.896 C201.159,23.306,202.698,21.089,202.698,21.089z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M269.719,186.306c0,4.602-4.179,8.333-9.333,8.333c-5.155,0-9.334-3.731-9.334-8.333 c0-4.603,4.179-8.333,9.334-8.333C265.54,177.973,269.719,181.704,269.719,186.306z" - }, - "fill": "#FFFFFF", - "stroke": { - } - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M269.719,186.306c0,4.602-4.179,8.333-9.333,8.333c-5.155,0-9.334-3.731-9.334-8.333 c0-4.603,4.179-8.333,9.334-8.333C265.54,177.973,269.719,181.704,269.719,186.306z" - }, - "fill": "none", - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M268.225,186.165c-0.564,8.736-13.982,9.286-15.633,0.853 c-1.785-9.125,15.017-10.254,15.649-0.451c0.125,1.929,3.078,1.388,2.955-0.521c-0.814-12.597-20.828-12.412-21.639,0.119 c-0.827,12.813,20.831,13.028,21.655,0.283C271.337,184.518,268.35,184.235,268.225,186.165z" - }, - "fill": "#FFFFFF", - "stroke": { - } - } - ] - } - ] - }, - { - "shape": { - "type": "path", - "path": "M260.386,188.306c0,3.498-2.985,6.333-6.667,6.333 s-6.667-2.835-6.667-6.333c0-3.498,2.985-6.333,6.667-6.333S260.386,184.808,260.386,188.306z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M238.386,196.973c0,1.289-1.045,2.333-2.334,2.333 c-1.288,0-2.333-1.045-2.333-2.333s1.045-2.333,2.333-2.333C237.341,194.639,238.386,195.684,238.386,196.973z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M285.719,179.973c0,4.602-4.253,8.333-9.5,8.333 s-9.5-3.731-9.5-8.333c0-4.603,4.253-8.333,9.5-8.333S285.719,175.371,285.719,179.973z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "yellBubble", - "children": [ - { - "shape": { - "type": "path", - "path": "M251.156,176.051 l40.228-15.992" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M280.932,149.385 l-40.667,36.42" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "textContainer_2_", - "shape": { - "type": "path", - "path": "M217.778,34.643 c8.609,6.684,9.952,3.684,7.987-5.785c6.308,5.125,9.308,3.782,10.188-4.309c2.433,8.091,5.266,8.091,9.12-1.703 c6.063,9.793,13.146,9.793,24.043,3.878c6.103,5.915,16.02,5.915,20.094-4.64c17.178,10.555,28.511,10.555,45.233-5.505 c5.941,16.06,17.273,16.06,18.835,1.458c19.688,14.603,29.605,14.603,46.749-17.802c-0.144,32.405,6.939,32.405,29.26,16.182 c-12.403,16.223-9.57,16.223,4.813,6.576c-11.07,9.646-8.07,10.99,4.333,9.089c-8.061,6.244-6.717,9.244,2.533,11.068 c-9.25,1.489-9.25,5.703-0.315,13.07c-8.935,6.115-8.935,15.385,7.513,10.932c-16.447,24.677-16.447,35.631,14.938,36.553 c-31.385,19.303-31.385,28.571-4.39,40.526c-26.995,1.528-26.995,5.741-5.942,17.857c-21.053-8.801-22.396-5.802-9.526,11.916 c-17.213-13.374-20.213-12.03-12.048,8.029c-11.479-20.06-14.312-20.06-10.553,3.532c-13.676-23.591-20.759-23.591-29.814-2.664 c-7.944-20.927-17.861-20.927-27.072,12.467c-12.039-33.395-23.373-33.395-23.148-1.581 c-22.89-31.814-34.224-31.814-61.517-8.479c6.042-23.335-3.874-23.335-11.9-9.703c-8.975-13.632-16.058-13.632-23.926,4.361 c-2.049-17.993-4.882-17.993-10.51-1.486c2.314-16.508-0.686-17.851-12.385-5.019c7.356-17.175,6.013-20.176-10.27-7.879 c16.283-15.61,16.283-19.824-9.255-12.972c25.538-20.334,25.538-29.603,1.919-46.578c23.619-3.249,23.619-14.204-0.313-25.522 c23.933-8.905,23.933-18.175,7.798-37.429C226.385,48.854,226.385,44.64,217.778,34.643z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - } - ] - } - ] - } - ] - } -] \ No newline at end of file diff --git a/includes/js/dojox/gfx/demos/data/Lars.svg b/includes/js/dojox/gfx/demos/data/Lars.svg deleted file mode 100644 index 7295501..0000000 --- a/includes/js/dojox/gfx/demos/data/Lars.svg +++ /dev/null @@ -1,531 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/includes/js/dojox/gfx/demos/data/LarsDreaming.json b/includes/js/dojox/gfx/demos/data/LarsDreaming.json deleted file mode 100644 index d4cd1ad..0000000 --- a/includes/js/dojox/gfx/demos/data/LarsDreaming.json +++ /dev/null @@ -1,1823 +0,0 @@ -[ - { - "name": "torso", - "children": [ - { - "name": "leftArm", - "shape": { - "type": "path", - "path": "M156.007,292.675c2.737,1.778,5.563,3.321,8.752,3.946c7.099,1.391,19.25-5.666,23.136-11.698 c1.572-2.441,8.077-21.031,11.178-14.271c1.224,2.67-1.59,4-1.399,6.462c3.108-1.425,5.48-5.242,8.918-2.182 c0.672,4.019-4.472,4.343-3.918,7.669c1.376,0.218,5.395-1.595,6.285-0.535c1.707,2.027-2.933,3.561-4.072,4.018 c-1.852,0.741-4.294,1.233-5.988,2.369c-2.636,1.769-4.766,5.144-7.033,7.4c-11.657,11.604-26.184,10.553-40.646,5.515 c-4.713-1.642-17.399-4.472-18.655-9.427c-1.647-6.502,5.523-7.999,10.184-6.74C147.658,286.528,151.725,289.892,156.007,292.675z" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "leftArmThumb", - "shape": { - "type": "path", - "path": "M188.257,284.902c-1.932-1.391-3.313-4.206-3.506-6.494c-0.149-1.786,0.59-6.521,3.199-3.95c0.792,0.78,0.083,2.155,0.558,2.943 c0.885,1.47,1.071,0.493,2.748,1.002c1.406,0.426,3.827,2.05,4.251,3.499" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "rightArm", - "shape": { - "type": "path", - "path": "M57.05,283.307c-5.502,5.354-13.185,8.541-18.249,14.221c-4.303,4.827-7.721,11.575-11.138,17.112 c-6.752,10.938-10.794,26.076-19.912,35.185c-3.869,3.866-7.637,5.722-7.251,12.032c0.932,0.372,1.548,0.589,2.418,0.683 c0.605-2.745,2.569-4.198,5.362-3.799c-0.14,3.365-3.512,5.941-3.228,9.235c0.364,4.223,3.983,5.968,7.181,2.662 c2.61-2.699,0.192-7.849,3.338-10.18c5.535-4.103,2.889,2.998,4.13,5.515c5.19,10.519,8.634-1.859,7.35-7.996 c-2.336-11.159-3.003-15.126,3.267-24.416c6.358-9.419,12.194-18.708,19.399-27.588c1.116-1.375,2.08-2.729,3.333-4" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "shirt", - "children": [ - { - "name": "tShirt", - "shape": { - "type": "path", - "path": "M96.509,268.265 c-2.301,0.323-4.69,0.205-6.945,0.72c-2.234,0.509-4.5,0.8-6.749,1.249c-4.369,0.872-8.206,3.265-12.3,5.024 c-3.259,1.4-6.644,2.57-9.763,4.26c-1.923,1.041-3.688,2.616-5.487,3.97c-1.543,1.16-3.495,2.11-4.854,3.563 c-2.205,2.354,0.896,7.407,1.854,9.873c0.92,2.367,2.149,4.819,2.749,7.29c0.228,0.937,0.235,2.058,0.875,2.872 c0.644,0.821,0.64,0.735,1.822,0.049c1.513-0.878,2.873-1.993,4.329-2.993c2.431-1.67,5.462-2.849,7.434-5.111 c-3.335,1.652-5.335,4.679-6.931,8.012c-1.398,2.921-4.482,35.854-5.389,38.947c-0.195,0.003-0.775,0.003-0.749,0.013 c20.561,0,41.123-0.069,61.684,0c2.1,0.008,3.607-0.496,5.529-1.252c0.715-0.28,2.257-0.355,2.807-0.744 c1.412-0.998-0.094-3.916-0.646-5.303c-1.425-3.579-2.111-37.767-4.726-40.543c1.842,0.058,4.127,1.312,5.938,1.95 c1.351,0.478,2.633,1.092,3.956,1.66c1.39,0.597,3.667,1.927,5.168,1.857c0.296-1.872,1.045-3.285,1.839-5.02 c0.942-2.061,1.155-4.214,1.528-6.415c0.351-2.07,0.897-3.787,1.938-5.635c0.531-0.942,1.356-1.73,1.693-2.769 c-0.443-0.401-1.043-0.906-1.604-1.125c-0.56-0.219-1.292-0.11-1.908-0.33c-1.236-0.438-2.439-1.089-3.668-1.575 c-3.773-1.499-7.519-2.983-11.319-4.467c-3.575-1.396-6.977-3.238-10.784-3.871c-1.735-0.289-3.467-0.529-5.073-0.906" - }, - "fill": "#4459A5", - "stroke": { - "color": "#000000", - "cap": "round" - } - }, - { - "name": "shirtNeck", - "shape": { - "type": "path", - "path": "M99.759,268.89 c-0.984,0.151-1.746-0.549-2.75-0.5c-1.369,0.065-1.649,0.872-2.153,2c-1.037,2.325-2.442,4.974,0.064,6.945 c2.53,1.991,6.964,1.718,9.829,0.804c1.616-0.517,3.045-1.24,3.825-2.867c0.508-1.062,0.935-2.771,0.149-3.598 c-0.231-0.243-0.562-0.376-0.84-0.534" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round" - } - }, - { - "name": "shirtLogo", - "children": [ - { - "children": [ - { - "shape": { - "type": "path", - "path": "M104.864,296.921c-0.151-0.004,7.101,0.409,7.052,0.403c0.132,0.028-0.172,0.633-0.021,0.632 c-0.226,0.028-7.244-0.454-7.28-0.464C104.657,297.519,104.776,296.904,104.864,296.921z" - }, - "stroke": { - } - } - ] - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M90.071,295.919c-0.199,0.005,6.792,0.431,6.79,0.446c0.153,0.005-0.031,0.663,0.012,0.665 c0.272,0.016-6.79-0.471-6.875-0.459C89.881,296.561,89.796,295.899,90.071,295.919z" - }, - "stroke": { - } - } - ] - }, - { - "shape": { - "type": "path", - "path": "M84.407,306.477c0.2-0.159,0.322-1.04,0.254,0.057c-0.542-0.355-2.02,2.083-4.215,2.001 c-1.887-1.706-4.559-3.384-4.302-7.092c0.652-2.599,3.082-4.084,5.213-3.942c1.889,0.378,2.899,0.717,4,1.318 c-0.497,0.957-0.175,0.866-0.459,0.703c0.456-2.398,0.598-5.75,0.312-7.855c0.594-0.554,0.714,0.125,1.249,0.941 c0.502-0.727,0.509-1.425,0.875-0.571c-0.207,1.328-0.809,7.187-0.711,10.174c-0.126,2.798-0.375,4.354-0.051,4.985 c-0.718,0.613-0.667,1.006-0.981,1.381c-0.72-1.33-1.056-0.132-1.339-0.157C84.632,308.442,84.493,305.791,84.407,306.477z M81.186,307.177c2.403,0.206,3.734-2.164,3.841-4.223c0.269-2.72-0.896-5.104-3.198-5.04c-1.972,0.438-3.46,2.188-3.331,4.639 C78.171,306.266,79.847,306.962,81.186,307.177z" - }, - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M93.321,297.767c2.592,0.147,5.688,2.314,5.696,5.627c-0.611,4.576-3.69,5.316-6.158,5.581 c-2.68-0.76-5.708-1.872-5.413-6.472C88.086,299.395,90.653,297.875,93.321,297.767z M92.939,307.46 c2.531,0.735,3.706-1.297,3.666-3.935c0.114-2.219-0.641-4.584-3.389-4.896c-2.29-0.553-3.366,2.188-3.661,4.688 C89.339,305.265,89.934,307.95,92.939,307.46z" - }, - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M99.688,303.916c0.03-1.511,0.055-4.73,0.022-4.646c0.481-1.355,0.658-0.556,1.034-1.297 c0.263,1.473,0.653,0.326,1.186,0.065c-0.386,2.518-0.513,3.348-0.574,4.949c-0.068-0.47-0.128,2.28-0.238,2.188 c-0.055,1.935-0.036,2.201-0.047,4.219c-0.079,0.914-0.28,2.412-1.126,3.831c-0.61,1.212-1.73,1.146-3.24,1.651 c0.073-0.945-0.065-1.242-0.096-1.822c0.098,0.138,0.213,0.604,0.225,0.397c1.892,0.229,2.209-1.896,2.362-3.365 c0.042,0.304,0.512-6.934,0.415-7.062C99.73,302.637,99.75,303.179,99.688,303.916z M100.978,295.564 c0.717,0.14,1.11,0.61,1.099,1.156c0.052,0.552-0.595,0.993-1.286,1.015c-0.541-0.074-1.025-0.548-1.022-1.054 C99.813,296.084,100.292,295.644,100.978,295.564z" - }, - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M108.115,298.791c3.028-0.066,5.283,1.359,5.256,5.758c-0.264,3.479-3.366,4.63-5.883,5.119 c-2.429-0.033-5.619-2.24-5.16-5.811C102.322,300.085,105.715,298.846,108.115,298.791z M107.351,309.232 c2.675-0.132,3.839-2.333,3.841-4.497c0.246-2.344-0.263-4.833-2.923-5.396c-2.844,0.299-3.974,1.917-4.053,4.479 C104.136,306.655,104.854,308.372,107.351,309.232z" - }, - "stroke": { - } - } - ] - } - ] - } - ] - }, - { - "name": "heads", - "children": [ - { - "name": "head1", - "children": [ - { - "name": "leftEart", - "children": [ - { - "shape": { - "type": "path", - "path": "M201.557,195.475 c7.734-4.547,16.592-5.012,18.405,4.443c2.43,12.659-3.317,13.328-14.598,13.328" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M211.711,203.09 c0.523,0.004,0.946-0.208,1.271-0.635" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M211.076,197.377 c3.062,3.013,5.489,5.624,4.442,10.155" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - } - ] - }, - { - "name": "bgHairTop", - "shape": { - "type": "path", - "path": "M54.384,199.307c-5.253-4.402-7.511-11.061-15.779-10.632c3.449-1.277,7.116-2.397,10.911-2.666 c-2.873-1.397-5.865-2.575-8.231-4.718c3.986-1.119,11.47-1.817,14.864,0.75c-5.183-2.758-8.397-7.816-13.062-10.598 c6.014-0.643,12.377,0.978,18.022,2.265c-2.547-4.486-6.682-10.83-10.523-14.297c5.033,1.052,10.647,4.518,15.062,7.177 c-1.614-4.176-5.634-8.406-7.859-12.513c10.312-1.125,12.522,4.919,19.7,9.932c-0.412-0.127-1.114-0.113-1.527,0.015 c0.875-7.261,3.058-12.8,8.258-18.566c6.771-7.507,17.813-9.131,24.095-15.381c-4.699,1.821-4.518,23.765-4.875,28.955" - }, - "fill": "#FFF471", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "bgHairLeft", - "shape": { - "type": "path", - "path": "M92.384,243.973c-6.334,7.929-12.601,12.241-22.465,15.361c3.65-1.263,7.735-5.859,7.695-9.928 c-2.208,0.218-4.49,0.605-6.498,1.098c1.244-1.098,2.087-3.239,3.198-4.396c-5.77,0.001-12.131,1.133-18.396,1.23 c5.013-2.81,10.665-3.25,12.398-9.247c-3.59,0.313-7.233,1.606-11.033,1.097c1.731-2.022,3.953-3.995,5.049-6.447 c-3.781,0.056-6.665,3.098-10.547,2.465c0.962-2.863,3.187-5.208,4.531-7.766c-5.59-0.273-11.658,2.45-17.732,2.564 c5.494-2.857,8.967-7.819,12.3-12.718c5.233-7.693,10.625-9.96,20.349-9.981c11.059-0.024,15.558,6.714,20.984,16 c2.786,4.767,7.249,14.375,0.832,18" - }, - "fill": "#FFF471", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "bgHair", - "shape": { - "type": "path", - "path": "M142.384,255.307c2.984,6.076,3.567,11.855,10.531,14.6c-0.134-3.114-0.094-6.664,1.619-9.033 c1.604,1.969,3.122,4.211,5.048,5.698c-0.29-1.769,0.412-4.023,0.233-5.828c3.444,0.261,4.979,3.965,8.468,4.479 c0.065-2.78,0.427-5.151,0.868-7.813c2.687,0.2,4.768,1.565,7.132,2.997c0.452-4.921-0.409-10.579-0.667-15.666 c-5.795-0.756-12.291,2.827-17.899,3.899c-4.414,0.844-14.136,0.523-15.333,6" - }, - "fill": "#FFF471", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "neck", - "shape": { - "type": "path", - "path": "M106.989,254.499c-2.932,6.063-4.613,11.997-8.947,17.138c7.288,10.194,16.311-10.9,15.183-17.026 c-1.926-1.138-3.928-1.589-6.236-1.38" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "headShape", - "shape": { - "type": "path", - "path": "M210.941,207.666c-0.844,3.985-2.081,7.982-3.77,11.783c-3.374,7.604-8.543,14.427-16.052,18.899 c-2.94,2.13-5.983,4.167-9.109,6.085c-25.013,15.342-55.353,23.08-82.254,10.57c-3.433-1.558-6.785-3.432-10.053-5.66 c-1.821-1.185-3.592-2.46-5.308-3.832c-1.715-1.373-3.375-2.842-4.972-4.412c-2.352-2.148-4.576-4.425-6.631-6.814 c-6.168-7.169-10.823-15.358-12.87-24.185c-0.649-3.284-0.84-6.634-0.5-9.975c4.48-13.743,14.22-24.364,26.109-32.149 c2.973-1.946,6.079-3.715,9.271-5.309c30.581-15.027,69.581-10.027,95.852,12.209c2.563,2.254,4.987,4.651,7.244,7.178 c4.513,5.054,8.354,10.626,11.312,16.64C210.178,201.505,210.798,204.497,210.941,207.666z" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "rightEar", - "children": [ - { - "shape": { - "type": "path", - "path": "M64.857,195.606 c-6.59-7.181-15.047-10.664-19.467,3.676c-1.235,4.007-1.87,14.468,1.29,17.786c4.223,4.435,13.591,0.529,19.055-0.015" - }, - "fill": "#FFE8B0", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M52.407,196.744 c-1.702,3.613-1.257,7.505-1.27,11.424" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M51.772,209.438 c-3.39-4.661,0.922-5.769,5.078-6.347" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - } - ] - }, - { - "name": "fgHair", - "shape": { - "type": "path", - "path": "M90.384,154.64c8.453-11.353,15.678-13.458,28.581-15.915c-1.382,3.376-3.89,7.352-5.179,11.16 c5.01-1.816,9.571-6.545,15.218-8.413c11.355-3.755,23.853-1.903,35.671-2.213c-3.004,3.712-4.912,7.88-2.025,11.447 c5.855-2.212,13.369-6.871,19.635-6.646c0.263,4.561-0.024,9.278,0.201,13.841c3.509-1.201,6.015-3.04,8.276-5.148 c2.263-2.108,3.761-4.049,4.942-5.2c1.063,2.408,2.134,5.334,2.24,8.494c-0.183,3.462-0.866,6.794-2.66,9.291 c3.663,0.65,6.098-2.021,8.35-4.479c-0.655,4.349-3.164,8.604-3.851,13.013c2.178-0.072,4.382,0.216,6.367-0.48 c-1.39,3.093-3.069,7.287-6.616,8.414c-4.476,1.423-4.354-0.992-7.315-4.332c-4.892-5.518-9.773-6.791-15.872-9.464 c-6.585-2.887-10.982-6.47-17.963-8.219c-8.994-2.255-19.864-3.867-28.093-5.196c2.466,1.967,1.138,5.594,0.659,8.625 c-2.729-0.646-4.41-3.813-6.301-5.158c0.953,3.195,0.983,6.953-2.134,8.491c-6.145-5.226-9.199-9.721-17.527-11.647 c1,1.83,1.728,4.208,1.396,6.402c-0.751,4.971-0.289,3.134-3.836,2.466c-5.192-0.977-9.953-3.677-15.815-4.496 c3.292,2.002,5.469,5.017,7.418,8.21c-2.651,0.404-6.238,0.257-8.382,1.671c2.456,0.38,3.44,2.166,3.197,4.714 c-7.45,0.386-13.623,0.731-19.915,5.434" - }, - "fill": "#FFF471", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - } - ] - } - ] - }, - { - "name": "eyes", - "children": [ - { - "name": "eyes1", - "children": [ - { - "shape": { - "type": "path", - "path": "M123.163,176.668 c-5.066,1.17-9.01,7.888-13.666,10.335c-4.238,2.227-8.648,6.636-7.009,12.332c1.971,6.848,12.042,3.991,16.261,1.165 c5.282-3.539,9.59-8.517,12.006-14.524c1.523-3.787,2.568-7.272-1.509-9.391c-2.905-1.51-8.174-1.386-11.417-0.583" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M182.545,179.865 c-3.533,0.169-4.854-1.166-8.408-0.001c-3,0.983-6.239,1.936-8.852,3.743c-3.938,2.725-7.46,5.555-4.73,13.592 c1.974,5.811,8.791,7.571,14.656,6.667c5.537-0.854,9.078-4.977,11.408-10.007c3.666-7.918,0.942-11.639-6.742-13.659" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000", - "cap": "round" - } - }, - { - "shape": { - "type": "path", - "path": "M108.829,183.668c-1.308-1.03-4.557,0.011-5.6-1.733 c-1.056-1.765,1.735-5.409,2.984-6.192c5.684-3.562,15.946-0.39,19.95-6.742" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M163.877,167.198c2.369,1.282,6.539,0.307,9.408,0.815 c3.449,0.612,7.065,2.657,10.592,2.851" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M127.496,192.002c-4.917-2.12-9.188-1.708-8.608,4.942 c3.132,1.734,5.428-2.82,7.275-4.942" - }, - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M174.852,203.144c-0.293,0.12-0.307,0.577-0.942,0.282 c-1.605-3.188-0.404-6.507,2.676-8.192c2.15-1.176,5.67-1.759,7.471,0.359c0.199,0.234,0.412,0.521,0.515,0.813 c0.229,0.649-0.285,0.95-0.285,0.95s-3.988,6.009-3.285,1.934c0.438,1.743-5.537,5.743-2.287,1.653 c-1.955,2.583-2.524,1.977-3.859,2.868" - }, - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "eyes2", - "children": [ - { - "shape": { - "type": "path", - "path": "M98.668,186.108c0.668-8.915,15.545-13.749,22.667-15" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M169.667,178.108c5.307,3.436,16.928,5.632,19.668,12.333" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M105.334,197.775c8.085-4.283,17.059-2.8,25-6.333" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M164.001,198.775c4.656-0.417,9.664,1.805,14.334,2.017 c3.951,0.18,5.773,0.189,9,2.316" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M124.001,188.108c3.039-0.258,4.594,2.571,5.301,4.983 c-1.096,1.242-2.065,2.646-2.968,4.017" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M168.335,194.108c-1.77,2.293-4.869,3.271-6.299,5.91 c1.377,0.991,3.02,2.122,3.965,3.424" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - } - ] - } - ] - }, - { - "name": "beard", - "children": [ - { - "shape": { - "type": "path", - "path": "M96.05,213.64 c-0.366,0.21-0.783,0.389-1.167,0.5" - }, - "fill": "#AFA8A5", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M102.55,211.973 c0.314-0.01,0.554-0.198,0.667-0.5" - }, - "fill": "#AFA8A5", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M105.717,208.806 c0.164-0.109,0.336-0.224,0.5-0.333" - }, - "fill": "#AFA8A5", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M111.05,207.973 c-0.651-1.81,0.859-2.262,2.333-1.5" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M117.717,209.806 c1.738,0,3.653,0.369,5.333,0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M132.717,214.473 c0.104-0.21,0.162-0.435,0.167-0.667" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M139.551,216.973 c0.215-0.175,0.465-0.426,0.666-0.667" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M144.551,213.306 c0.277-0.056,0.557-0.111,0.833-0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M147.884,216.64 c0.195,0.045,0.369-0.013,0.5-0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M148.384,214.14 c0.112-0.168,0.223-0.332,0.333-0.5" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M98.217,219.306c1.697-1.772,4.233-2.109,5.967-4.046c1.519-1.696,3.812-3.001,4.2-5.454" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M152.717,216.14 c0.611,0,1.224,0,1.834,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M160.384,217.473 c0.333,0,0.667,0,1,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M163.217,215.973 c0.321-0.042,0.658-0.175,0.834-0.333" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M164.217,218.806 c0.167,0,0.333,0,0.5,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M168.384,217.973 c0.057-0.056,0.111-0.111,0.167-0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M169.884,225.806 c0.491-0.397,0.882-0.926,1.167-1.5" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M172.717,221.973 c0.057,0,0.111,0,0.167,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M171.717,229.806 c0.334,0.075,0.659,0.025,0.834-0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M190.051,227.806 c0.163-0.242,0.398-0.423,0.666-0.5" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M197.384,221.473 c0.258-0.007,0.485-0.125,0.667-0.333" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M199.384,214.973 c-0.04-0.333,0.075-0.609,0.333-0.833" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M117.884,257.306 c0.056,0,0.111,0,0.167,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M142.717,252.473 c0.358,0.068,0.71,0.016,1-0.167" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M137.884,256.473 c0.277,0,0.557,0,0.833,0" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M160.884,252.973 c0.366-0.139,0.766-0.402,1-0.667" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M171.384,250.14 c0.235-0.264,0.476-0.562,0.667-0.834" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M89.384,243.973 c0.537,0.378,1.329,0.876,1.833,1.333" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M79.05,225.473 c0.087,0.272,0.143,0.55,0.167,0.833" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M73.884,222.64 c0,0.167,0,0.333,0,0.5" - }, - "fill": "none", - "stroke": { - "color": "#AAAAAA", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M72.55,219.806c0.466-0.325,0.875-0.797,1.167-1.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M71.717,211.973c0.422-0.553,0.776-1.305,1-2" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M78.55,214.473c0-0.111,0-0.222,0-0.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M79.384,218.806c-0.001-0.137,0.055-0.248,0.167-0.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M80.217,221.14c0.111,0,0.222,0,0.333,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M75.55,226.473c0.103-0.5,0.156-0.977,0.167-1.5" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M78.55,230.14c0.111,0,0.222,0,0.333,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M83.384,227.64c0.118-0.059,0.215-0.107,0.333-0.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M81.55,237.14c0.056,0,0.111,0,0.167,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M86.217,233.806c0.056,0,0.111,0,0.167,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M87.884,230.473c0.595-0.181,1.219-0.527,1.833-0.667" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M88.717,222.14 c-0.929,2.359-1.615,4.865-2.667,7.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M89.05,216.14 c0.784-0.736,1.709-1.565,2.833-1.5" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M94.217,210.14 c1.599-0.089,3.199-0.167,4.833-0.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M94.884,224.64 c0.052-0.588-0.004-1.155-0.167-1.667" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M92.384,228.306 c0.585-0.062,1.244-0.132,1.667-0.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M88.717,240.14 c0.111,0,0.222,0,0.333,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M95.884,243.306 c0.526,0.1,1.017-0.016,1.333-0.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M98.55,248.306 c0.069-0.24,0.265-0.926,0.333-1.166" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M96.55,249.806 c0.125,0.014,0.18-0.042,0.167-0.166" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M104.55,250.14 c0.01-0.238,0.126-0.428,0.333-0.5" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M106.884,251.973 c0.195,0.045,0.37-0.014,0.5-0.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M113.884,254.806 c0.758-0.586,1.595-1.171,2.382-1.774c0.072,0.376,0.418,0.686,0.48,1.079c0.833,0.265,1.624-0.021,1.638-0.971" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M122.217,254.64 c0.063-0.165,0.179-0.288,0.333-0.334" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M125.884,255.806 c1.13-0.745,2.783-0.962,3.667-2" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M132.217,255.973 c0.638-0.492,1.104-1.173,1.141-1.976c-1.11,0.063-1.449-0.888-1.475-1.857" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M129.717,249.306 c-0.045,0.153-0.168,0.271-0.333,0.334" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M136.551,252.306 c0.223,0,0.444,0,0.666,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M110.217,251.306 c0.056-0.057,0.111-0.11,0.167-0.166" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M140.717,251.806 c0.111,0,0.224,0,0.334,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M150.051,249.473 c0.111,0,0.223,0,0.333,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M143.217,255.473 c1.022-0.313,1.725-1.175,2.646-1.654c0.203,0.321,0.439,0.626,0.521,0.987" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M152.217,253.473 c0.165-0.063,0.288-0.179,0.334-0.333" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M155.051,254.64 c0.223,0,0.444,0,0.666,0" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M157.717,256.473 c0.326-0.027,0.546-0.073,0.834-0.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M163.217,252.64 c0.552-0.892,2.082-1.512,2.341-2.334c0.37-1.178-1.155-3.069-1.007-4.5" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M167.384,235.973 c0.118-0.54,0.354-1.064,0.667-1.5" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M170.717,242.806 c0-0.333,0-0.667,0-1" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M170.217,236.973 c0-0.333,0-0.667,0-1" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M179.051,235.806 c0.378-0.101,0.738-0.35,1-0.667" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M185.051,232.806 c0.379-0.319,0.656-0.702,0.833-1.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M188.051,231.14 c0.063-0.39,0.178-0.792,0.333-1.167" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M197.884,223.306 c-0.166,0.277-0.334,0.556-0.5,0.833" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - } - ] - }, - { - "name": "mouths", - "children": [ - { - "name": "mouth1", - "children": [ - { - "shape": { - "type": "path", - "path": "M177.122,216.821c-0.515,2.282-5.213,3.21-7.434,3.854 c-3.254,0.945-6.596,1.345-9.895,1.851c-3.26,0.5-6.665,0.671-10.107,0.671c-3.596,0-6.645,0.559-10.106,0.671 c-3.105,0.1-6.898-0.474-9.694-1.3c-3.527-1.043-6.672-1.666-10.096-3.062c-2.823-1.152-5.746-1.876-8.462-3.143 c-2.594-1.209-6.084-1.994-8.221-3.552c-1.068,1.834-5.867,3.748-8.1,4.546c-2.444,0.874-8.881,2.725-7.817,5.512 c0.457,1.195,1.948,2.273,2.63,3.385c0.774,1.261,1.139,2.601,2.057,3.859c1.83,2.5,4.506,4.773,6,7.34 c1.308,2.249,2.096,4.74,4.01,6.669c2.214,2.233,5.792,2.635,9.231,2.399c7.028-0.479,13.982-2.129,20.481-3.983 c3.295-0.941,6.699-1.536,10.086-2.686c3.272-1.111,6.642-3,9.402-4.777c5.248-3.377,10.278-6.409,14.283-10.705 c1.479-1.587,3.429-2.503,5.149-3.859" - }, - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M135.25,241.319 c0.723-4.757-10.487-8.47-14.898-9.526c-3.09-0.74-6.68-1.17-9.858-1.712c-2.758-0.47-6.865-0.836-9.437,0.369 c-1.385,0.649-2.843,1.724-4.141,2.513c2.156,3.964,4.728,8.861,9.468,11.506c3.229,1.801,5.511,0.776,8.859,0.373 c3.045-0.369,6.046-0.703,9.029-1.721c3.479-1.186,7.228-2.385,10.978-2.475" - }, - "fill": "#FFC0C0", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M148.656,225.547c1.267,0.697,1.301,2.838,0.671,3.9 c-0.702,1.182-2.063,1.4-3.307,2.01c-2.271,1.116-4.58,2.624-7.481,2.638c-4.619,0.023-2.144-4.067-0.253-5.869 c2.405-2.292,5.057-2.72,8.72-2.512c0.588,0.034,1.095,0.041,1.65,0.168" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M130.299,223.365 c2.687,0.437,5.619,4.384,3.727,6.422c-1.234,1.33-7.94,1.391-9.915,1.296c-4.896-0.233-2.502-2.445-0.613-4.525 c1.604-1.767,5.088-3.249,7.833-3.36" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M113.178,217.157 c2.56,0.958,4.922,5.057,5.352,7.215c0.377,1.885-0.324,2.106-2.526,2.643c-1.366,0.333-3.636,0.723-5.105,0.385 c-2.506-0.577-5.883-5.051-4.909-7.223c1.03-2.298,5.944-2.923,8.427-2.852" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M99.359,217.662 c2.038,0.432,4.015,4.279,2.468,5.625c-1.083,0.943-5.221,1.795-6.799,1.589c-4.032-0.526-2.265-4.102-0.866-5.872 c0.706-0.894,1.049-1.976,2.514-2.186c1.627-0.233,2.501,0.99,3.921,1.346" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M181.815,222.896c-3.102-2.75-4.765-8.777-9.282-10.403" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "mouth2", - "children": [ - { - "shape": { - "type": "path", - "path": "M87.57,221.951c5.563-1.759,11.066-1.32,16.694-1.782c2.93-0.24,5.228-1.14,8.309-0.927c3.142,0.217,6.085-0.235,9.289,0.176 c7.136,0.914,13.96,0.598,21.112,1.506c3.654,0.464,7.219,0.609,10.811,0.869c4.017,0.291,7.646,1.582,11.433,2.623 c2.948,0.812,6.347,1.618,9.011,2.99c2.521,1.298,6.354,2.856,8.301,4.72c-2.775,0.027-5.602,2.603-8.021,3.769 c-2.93,1.412-5.741,2.949-8.656,4.432c-5.599,2.849-11.885,5.468-18.104,6.53c-6.793,1.161-13.195,2.107-20.067,2.197 c-7.699,0.102-14.313-4.705-20.735-8.396c-2.071-1.19-4.69-2.182-6.504-3.666c-1.792-1.466-3.469-3.386-5.154-4.984 c-2.703-2.564-7.519-5.649-8.13-9.438" - }, - "stroke": { - "color": "#000000", - "width": "3", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M87.785,228.193 c-5.907-3.235-0.344-9.531,3.971-11.424" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2" - } - }, - { - "shape": { - "type": "path", - "path": "M184.679,227.229c-1.534,2.583-2.548,5.334-4.024,7.889" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "width": "2", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M106.862,219.528 c-3.071-0.74-5.608,2.166-6.318,4.738c-0.379,1.375-0.494,2.55,0.748,3.337c1.519,0.962,2.905-0.052,4.418-0.332 c2.518-0.467,7.293,0.053,6.461-4.248c-0.568-2.938-3.743-3.682-6.338-3.335c-0.451,0.06-0.758,0.212-1.205,0.229" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M119.764,218.479 c-2.648,1.243-4.657,3.518-5.346,6.377c-0.866,3.594,3.9,3.711,6.356,2.865c2.64-0.91,4.77-3.351,3.299-6.133 c-1.01-1.91-3.979-2.548-6.026-2.823" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M130.388,219.492 c-1.753,1.382-4.069,4.525-4.835,6.61c-1.159,3.156,2.296,3.371,4.868,3.348c3.061-0.028,6.6-1.148,5.022-4.78 c-1.168-2.691-2.552-4.85-5.551-5.241" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M142.954,221.087 c-1.502,0.337-5.418,3.249-5.638,4.997c-0.292,2.311,4.855,4.536,6.854,4.234c2.503-0.377,4.384-3.175,3.167-5.65 c-0.92-1.873-3.36-2.252-4.508-3.932" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M155.354,222.664 c-2.038,0.426-4.212,2.287-4.766,4.444c-0.723,2.821,3.226,3.383,5.458,3.331c2.541-0.059,5.126-1.752,3.249-4.32 c-1.394-1.908-3.707-3.189-5.304-4.636" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M168.367,237.924 c-1.554-1.217-3.302-2.557-5.203-2.976c-2.973-0.654-3.537,2.131-3.377,4.406c0.205,2.913,1.032,3.883,3.901,2.344 c1.987-1.066,4.271-1.997,4.599-4.456" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M151.524,246.202 c-1.912-0.166-4.004-4.491-2.91-6.25c0.771-1.239,5.456-1.688,6.857-1.292c0.271,0.917,0.979,1.841,0.829,2.771 c-0.088,0.54-0.994,1.645-1.296,2.188c-1.08,1.951-2.133,1.866-3.998,2.685" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M145.911,241.458 c-0.209,1.649-0.215,2.702-1.528,3.801c-0.885,0.738-1.772,1.189-2.54,2.1c-0.786,0.933-1.226,2.38-2.792,1.813 c-1.042-0.377-1.959-2.318-2.138-3.312c-0.299-1.676-1.003-5.228,0.783-6.158c1.154-0.603,7.066-0.18,7.43,1.32" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M133.12,238.991 c-1.495-0.087-2.253-1.33-3.918-0.964c-1.42,0.311-2.489,1.354-2.54,2.836c-0.052,1.527,0.99,5.581,1.852,6.956 c2.363,3.771,4.329-1.535,5.516-3.159c1.117-1.525,2.643-2.053,2.271-3.958c-0.318-1.632-1.118-2.047-2.766-2.329 c-0.382-0.065-0.773-0.095-1.158-0.147" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M116.853,237.43 c-1.049,2.211-0.173,5.147,0.047,7.565c0.357,3.93,3.827,2.028,5.831,0.067c1.575-1.541,4.599-4.86,2.209-6.484 c-1.881-1.279-5.727-2.458-7.756-1.107" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M107.455,233.38 c-0.813,2.487-1.704,5.049,0.073,7.364c1.91,2.486,4.009,1.229,5.537-0.939c1.056-1.5,3.316-4.481,1.563-6.017 c-1.347-1.179-6.468-1.518-7.854-0.325" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "mouth3", - "children": [ - { - "shape": { - "type": "path", - "path": "M99.05,218.973c1.691-0.875,3.313-2.39,4.833-3.537c1.231-0.928,2.782-1.671,3.5-3.072c1.846,3.486,7.661,4.669,11.003,6.067 c3.553,1.486,7.174,3.066,10.784,4.166c4.271,1.301,9.277,1.67,13.721,2.343c4.155,0.629,9.979,1.365,14.162,0.496 c1.182-0.245,2.343-1.024,3.462-1.446c0.162,1.905-3.637,3.023-4.933,3.487c-2.435,0.871-4.18,2.541-6.362,3.871 c-1.623,0.989-2.974,1.669-4.755,2.117c-1.77,0.445-3.353,0.806-4.825,1.878c-5.915,4.311-15.264,3.247-22.424,3.13 c-5.384-0.088-6.719-5.372-9.337-9c-1.437-1.991-2.843-3.854-3.796-6.138c-0.871-2.086-1.119-4.582-2.033-6.528" - }, - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M107.217,227.973c1.182-2.033,4.375-2.176,6.5-1.963c2.879,0.289,4.124,1.217,6.168,3.167c1.834,1.749,5.906,5.509,5.64,8.271 c-2.808,0.89-7.847,0.402-10.346-1.104c-1.334-0.804-1.151-2.256-2.246-3.588c-0.712-0.866-1.836-2.673-2.855-3.311 c-0.209-0.94-2.106-1.499-3.028-1.805" - }, - "fill": "#F4BDBD", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - } - ] - } - ] - }, - { - "name": "personalProps", - "children": [ - { - "name": "hat", - "children": [ - { - "children": [ - { - "children": [ - { - "shape": { - "type": "path", - "path": "M88.374,173.145c0.474-0.074,16.606,2.725,18.01,5.879 c1.145,2.572,28.184,4.568,28.184,4.568l35.971-5.618l5.024,1.132l7.212,0.315l9.295,0.851l10.188,3.248l5.75,2.935 l1.615-1.832l-0.264-5.27l-3.968-7.087c0,0-22.045-13.031-23.272-13.703c-1.229-0.669-4.941-2.294-6.484-4.542 c-8.584-12.528-8.403-18.05-3.371-6.461c0,0,2.662-7.592,2.521-8.575c-0.144-0.982,0.354-5.031,0.354-5.031l2.396-6.832 c0,0-1.379-5.341-2.738-7.19c-1.356-1.844-15.793-4.078-18.162-4.011c-24.933,0.706-3.783,0.071-25.567,0.724 c-24.317,0.728-0.882-2.591-24.068,3.551c-24.228,6.418-5.35-1.298-23.187,6.142c-18.301,7.633-16.67,7.186-16.704,10.685 c-0.034,3.499-3.057-4.884-0.034,3.499c3.023,8.381,3.037-3.871,3.023,8.381c-0.015,12.252,6.696,4.557,1.678,12.373 c-5.017,7.813-3.831,7.91-0.179,8.543c17.017,2.953,4.157,4.378,17.427,3.175" - }, - "fill": "#FF0000", - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M156.604,114.92l-13.936,0.381l-11.633,0.343c-10.646,0.319-11.973-0.155-12.021-0.175l-0.599-0.238 l-0.577,0.514l0.049-0.047c-0.118,0.09-1.43,0.957-11.145,3.53c-9.989,2.646-12.812,2.931-13.421,2.704 c-0.822-0.306-0.821-0.306-7.791,2.604l-2.104,0.878c-16.037,6.689-17.342,7.324-17.342,10.316c0,0.019,0.001,0.041,0.001,0.06 c-0.224-0.108-0.459-0.199-0.787-0.04c-0.357,0.173-0.565,0.275-0.565,0.672c0,0.557,0.411,1.697,1.399,4.438 c0.924,2.561,1.71,3.671,2.714,3.833c0.083,0.014,0.164,0.02,0.241,0.02c0.007,0.584,0.01,1.339,0.01,2.313 c0,0.561-0.001,1.902-0.001,1.916c0,6.908,2.176,8.105,3.347,8.749c0,0,0.075,0.045,0.151,0.09 c-0.095,0.332-0.47,1.1-1.661,2.955c-2.509,3.908-3.516,5.931-3.516,7.303c0,0.358,0.068,0.671,0.196,0.962 c0.544,1.237,1.926,1.477,3.677,1.78l0.135,0.023c8.138,1.412,9.14,2.422,9.568,2.854c0.923,0.931,1.511,0.928,7.224,0.413 c0.06,0.014,0.102,0.068,0.165,0.071c2.167,0.105,16.131,3.138,17.087,5.288c1.147,2.578,16.416,4.228,29.023,5.159 l0.115,0.009c0,0,35.523-5.548,35.896-5.606c0.345,0.078,4.927,1.11,4.927,1.11l7.301,0.319c0,0,8.927,0.818,9.139,0.837 c0.202,0.064,9.854,3.142,10.006,3.19c0.143,0.073,6.368,3.251,6.368,3.251l2.397-2.719l-0.296-5.911l-4.213-7.526 l-0.231-0.137c-0.9-0.532-22.073-13.047-23.304-13.72c-0.001,0-0.734-0.38-0.734-0.38c-1.48-0.752-4.238-2.151-5.404-3.85 c-1.357-1.982-2.451-3.729-3.354-5.268c0.021-0.064,0.104-0.296,0.104-0.296c1.193-3.402,2.576-7.619,2.576-8.885 c0-0.063-0.004-0.118-0.011-0.165c-0.013-0.083-0.018-0.204-0.018-0.356c0-0.909,0.194-2.911,0.363-4.307 c0.072-0.205,2.46-7.013,2.46-7.013l-0.076-0.294c-0.146-0.566-1.468-5.584-2.9-7.532 C173.721,116.784,158.242,114.875,156.604,114.92z M131.097,117.644l11.614-0.342l13.951-0.382 c2.575-0.073,16.104,2.238,17.336,3.614c0.956,1.3,2.058,4.938,2.49,6.549c-0.188,0.536-2.33,6.642-2.33,6.642l-0.014,0.107 c-0.072,0.592-0.387,3.224-0.387,4.658c0,0.258,0.011,0.477,0.034,0.639c-0.006,0.493-0.768,3.026-1.659,5.709 c-2.14-4.566-2.792-4.606-3.242-4.629l-0.62-0.031l-0.354,0.571c-0.069,0.124-0.102,0.29-0.102,0.492 c0,2.273,4.134,9.172,6.992,13.346c1.456,2.12,4.51,3.669,6.149,4.501l0.682,0.353c1.139,0.622,20.813,12.25,23.012,13.549 c0.238,0.427,3.513,6.275,3.721,6.647c0.02,0.393,0.199,3.971,0.23,4.629c-0.229,0.262-0.472,0.535-0.832,0.944 c-1.069-0.546-5.132-2.619-5.132-2.619l-10.369-3.306l-9.403-0.86c0,0-6.995-0.307-7.169-0.315 c-0.168-0.038-5.124-1.155-5.124-1.155s-35.814,5.594-36.044,5.63c-12.419-0.922-25.993-2.687-27.285-4.058 c-1.366-3.097-13.245-5.574-17.517-6.211c-0.203-0.212-0.479-0.346-0.793-0.318c-3.083,0.28-5.996,0.544-6.4,0.369 c0-0.003-0.12-0.117-0.12-0.117c-0.703-0.708-1.879-1.895-10.646-3.416l-0.135-0.023c-0.827-0.143-2.075-0.359-2.188-0.614 c-0.021-0.048-0.033-0.111-0.033-0.193c0-0.592,0.632-2.179,3.205-6.187c1.488-2.318,2.024-3.388,2.024-4.188 c0-0.15-0.019-0.291-0.054-0.428c-0.181-0.712-0.758-1.03-1.179-1.261c-0.865-0.476-2.311-1.271-2.311-6.993 c0-0.014,0.001-1.098,0.001-1.56c0-4.969-0.065-4.992-0.833-5.258c-0.424-0.146-0.816,0.001-1.178,0.377 c-0.208-0.289-0.558-0.898-1.073-2.324c-0.205-0.568-0.385-1.068-0.542-1.506c0.587-0.423,0.632-1.277,0.636-1.644 l-0.014-0.825c-0.004-0.119-0.007-0.231-0.007-0.338c0-1.702,0.899-2.264,16.109-8.608l2.105-0.878 c4.165-1.739,5.948-2.482,6.375-2.562c0.817,0.296,2.292,0.597,14.579-2.658c8.169-2.164,10.697-3.187,11.58-3.704 C120.451,117.773,124.529,117.84,131.097,117.644z" - }, - "stroke": { - } - } - ] - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M155.146,147.93c4.88-9.398-5.344-20.199-12.649-21.176 c-12.05-1.61-13.404,10.426-13.684,21.258c3.73,2.016,8.915,3.425,11.721,6.534" - }, - "fill": "#FFFFFF", - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M133.446,127.979c-4.599,3.921-5.426,11.933-5.635,20.006l-0.017,0.654l4.415,2.067 c2.849,1.244,5.793,2.529,7.581,4.509c0.371,0.41,1.004,0.442,1.412,0.072c0.219-0.197,0.33-0.469,0.33-0.743 c0-0.239-0.084-0.479-0.258-0.67c-2.076-2.299-5.223-3.673-8.267-5.001c0,0-2.377-1.112-3.174-1.486 c0.223-7.385,1.021-14.572,4.909-17.887c1.892-1.614,4.386-2.189,7.621-1.757c4.143,0.554,9.086,4.472,11.5,9.113 c1.348,2.591,2.51,6.535,0.395,10.611c-0.254,0.49-0.063,1.093,0.426,1.348c0.49,0.254,1.095,0.063,1.351-0.427 c1.959-3.775,1.817-8.199-0.396-12.456c-2.731-5.251-8.203-9.53-13.012-10.172C138.853,125.257,135.763,126,133.446,127.979z" - }, - "stroke": { - } - } - ] - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M154.077,146.278c-2.156,1.18-4.24,2.619-6.256,4.01c-3.636,2.509-7.068,4.878-10.941,5.924 c-2.991,0.808-6.055,1.058-9.3,1.324c-3.222,0.263-6.553,0.536-9.783,1.406c-2.027,0.546-4.117,1.397-6.137,2.221 c-3.491,1.423-7.102,2.895-10.528,2.866c-0.552-0.005-1.004,0.439-1.009,0.991c-0.005,0.552,0.439,1.004,0.991,1.009 c3.828,0.033,7.627-1.516,11.301-3.014c2.054-0.837,3.994-1.628,5.902-2.142c3.054-0.823,6.292-1.088,9.425-1.344 c3.191-0.261,6.492-0.531,9.659-1.386c4.205-1.135,7.94-3.714,11.557-6.208c1.973-1.362,4.014-2.771,6.08-3.901 c0.484-0.265,0.662-0.873,0.396-1.357C155.168,146.193,154.562,146.014,154.077,146.278z" - }, - "stroke": { - } - } - ] - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M156.458,153.549c-2.619,0.064-5.709,0.812-8.98,1.604c-4.278,1.035-8.7,2.104-11.901,1.536 c-0.543-0.096-1.063,0.267-1.159,0.81c-0.097,0.544,0.267,1.063,0.81,1.16c3.613,0.641,8.24-0.481,12.72-1.562 c3.166-0.766,6.153-1.489,8.561-1.548c5.664-0.141,7.961,0.698,13.508,2.724c0.519,0.189,1.095-0.077,1.281-0.596 c0.189-0.519-0.076-1.091-0.596-1.282C165.069,154.337,162.501,153.399,156.458,153.549z" - }, - "stroke": { - } - } - ] - } - ] - } - ] - }, - { - "name": "textSurface", - "children": [ - { - "name": "spokenBubble", - "children": [ - { - "name": "textContainer", - "shape": { - "type": "path", - "path": "M225.719,45.307 c0-6.627,5.373-12,12-12h181.333c6.627,0,12,5.373,12,12v105.334c0,6.627-5.373,12-12,12H237.719c-6.627,0-12-5.373-12-12 V45.307z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "name": "textArrowBelow", - "shape": { - "type": "path", - "path": "M249.052,160.64 c-0.774,14.251-1.676,18.525-9.1,30.565c9.705-0.79,21.952-21.605,25.1-30.045" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "thoughtBubble", - "children": [ - { - "name": "textContainer_1_", - "shape": { - "type": "path", - "path": "M202.698,21.089 c19.686-26.45,59.686-24.45,79.747-0.084c2.696,1.349,5.57,1.709,7.472,0.781c15.28-13.888,33.271-14.043,49.893-7.839 c2.771,1.034,5.479,2.219,8.031,3.421C376.384-4.36,423.384,6.64,431.007,45.026c0,0-1.324,3.889,1.165,6.603 c18.212,11.011,26.212,32.011,22.212,53.011c-1,5.333-3.223,9.667-6.037,13.52c-2.813,3.854-1.381,0-2.612-0.591 c-1.351-0.929-3.351-0.929-4.351-1.929c16,7,27,22,30,39c2,21-8,41-27,50c-16,7.5-32.5,5.5-45.745-2.556 c-2.531-1.384-4.229-1.856-5.336-1.551c-1.919,0.107-3.919,2.107-5.919,2.107c4-1,6-5,10-6c-15,11-35,12-52,3c-13-7-20-20-24-34 c1,5,3,9,3.299,13.505c-0.396,0.708-3.423,2.219-6.654,3.466c-22.627,8.729-49.423,1.729-65.241-19.971 c-3.453,0-6.263,0.589-8.723,0.879c-17.301,3.2-32.382-7.709-40.771-22.689c-1.678-2.996-3.089-6.153-4.195-9.396 c-15.714-7.795-29.714-18.795-33.714-37.795c-5-25,11-45,29.842-57.667c0.72-2.335,1.697-4.636,3.007-6.896 C201.159,23.307,202.698,21.089,202.698,21.089z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M269.719,186.307c0,4.602-4.179,8.333-9.333,8.333s-9.334-3.731-9.334-8.333 c0-4.603,4.18-8.333,9.334-8.333S269.719,181.705,269.719,186.307z" - }, - "fill": "#FFFFFF", - "stroke": { - } - }, - { - "children": [ - { - "shape": { - "type": "path", - "path": "M269.719,186.307c0,4.602-4.179,8.333-9.333,8.333s-9.334-3.731-9.334-8.333 c0-4.603,4.18-8.333,9.334-8.333S269.719,181.705,269.719,186.307z" - }, - "fill": "none", - "stroke": { - } - }, - { - "shape": { - "type": "path", - "path": "M268.225,186.166c-0.563,8.736-13.981,9.286-15.633,0.853 c-1.785-9.125,15.018-10.254,15.649-0.451c0.125,1.929,3.078,1.388,2.955-0.521c-0.814-12.597-20.828-12.412-21.64,0.119 c-0.827,12.813,20.831,13.028,21.655,0.283C271.337,184.519,268.35,184.235,268.225,186.166z" - }, - "fill": "#FFFFFF", - "stroke": { - } - } - ] - } - ] - }, - { - "shape": { - "type": "path", - "path": "M260.386,188.307c0,3.498-2.984,6.333-6.667,6.333 c-3.682,0-6.667-2.835-6.667-6.333s2.985-6.333,6.667-6.333C257.401,181.974,260.386,184.809,260.386,188.307z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M238.386,196.974c0,1.289-1.045,2.333-2.334,2.333 c-1.288,0-2.333-1.045-2.333-2.333c0-1.288,1.045-2.333,2.333-2.333C237.341,194.64,238.386,195.685,238.386,196.974z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M285.719,179.974c0,4.602-4.253,8.333-9.5,8.333 s-9.5-3.731-9.5-8.333c0-4.603,4.253-8.333,9.5-8.333S285.719,175.372,285.719,179.974z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "yellBubble", - "children": [ - { - "shape": { - "type": "path", - "path": "M251.156,176.051l40.228-15.992" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "shape": { - "type": "path", - "path": "M280.932,149.385l-40.667,36.42" - }, - "fill": "none", - "stroke": { - "color": "#000000", - "cap": "round", - "join": "bevel" - } - }, - { - "name": "textContainer_2_", - "shape": { - "type": "path", - "path": "M217.778,34.644 c8.608,6.684,9.951,3.684,7.986-5.785c6.309,5.125,9.309,3.782,10.188-4.309c2.433,8.091,5.266,8.091,9.12-1.703 c6.063,9.793,13.146,9.793,24.043,3.878c6.103,5.915,16.02,5.915,20.094-4.64c17.178,10.555,28.511,10.555,45.233-5.505 c5.94,16.06,17.272,16.06,18.835,1.458c19.688,14.603,29.604,14.603,46.749-17.802c-0.145,32.405,6.938,32.405,29.26,16.182 c-12.403,16.223-9.57,16.223,4.813,6.576c-11.069,9.646-8.069,10.99,4.333,9.089c-8.061,6.244-6.717,9.244,2.533,11.068 c-9.25,1.489-9.25,5.703-0.314,13.07c-8.936,6.115-8.936,15.385,7.513,10.932c-16.447,24.677-16.447,35.631,14.938,36.553 c-31.385,19.303-31.385,28.571-4.39,40.526c-26.995,1.528-26.995,5.741-5.942,17.857c-21.053-8.801-22.396-5.802-9.525,11.916 c-17.213-13.374-20.213-12.03-12.048,8.029c-11.479-20.06-14.313-20.06-10.554,3.532c-13.676-23.591-20.759-23.591-29.813-2.664 c-7.944-20.927-17.861-20.927-27.072,12.467c-12.039-33.395-23.373-33.395-23.147-1.581 c-22.891-31.814-34.225-31.814-61.518-8.479c6.042-23.335-3.874-23.335-11.899-9.703c-8.976-13.632-16.059-13.632-23.927,4.361 c-2.049-17.993-4.882-17.993-10.51-1.486c2.314-16.508-0.686-17.851-12.385-5.019c7.355-17.175,6.013-20.176-10.271-7.879 c16.283-15.61,16.283-19.824-9.255-12.972c25.538-20.334,25.538-29.603,1.919-46.578c23.619-3.249,23.619-14.204-0.313-25.522 c23.933-8.905,23.933-18.175,7.798-37.429C226.385,48.854,226.385,44.641,217.778,34.644z" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - } - ] - } - ] - } - ] - } -] \ No newline at end of file diff --git a/includes/js/dojox/gfx/demos/data/LarsDreaming.svg b/includes/js/dojox/gfx/demos/data/LarsDreaming.svg deleted file mode 100644 index 3f4b903..0000000 --- a/includes/js/dojox/gfx/demos/data/LarsDreaming.svg +++ /dev/null @@ -1,536 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/includes/js/dojox/gfx/demos/data/Nils.json b/includes/js/dojox/gfx/demos/data/Nils.json deleted file mode 100644 index 59e40cb..0000000 --- a/includes/js/dojox/gfx/demos/data/Nils.json +++ /dev/null @@ -1,717 +0,0 @@ -[ - { - "name": "nils_1_", - "children": [ - { - "name": "lowerBody", - "children": [ - { - "name": "leftShoe", - "children": [ - { - "shape": { - "type": "path", - "path": "M44.787,442.042c13.536-0.097,28.515-2.647,40.667-8.815 c13.064-6.631,3.188-24.604,0.553-34.404c-5.771-1.73-10.549-4.837-16.568-0.148c-4.371,3.405-6.025,11.462-2.07,15.501 c-3.212,7.339-17.804,1.912-23.732,6.7c-5.825,4.706-7.32,17.966,0.484,21.167" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M133.453,425.375c0.901-2.979,2.793-5.781,4.667-8" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M56.787,426.708c-2.551-2.07-3.97-5.252-5.333-8" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "rightShoe", - "children": [ - { - "shape": { - "type": "path", - "path": "M111.453,402.042c-2.005-0.426-3.947-0.363-5.899-0.566 c-0.104,2.376,0.438,5.478,0.048,7.751c-0.4,2.327-1.597,4.06-2.146,6.817c-0.975,4.9,0.412,10.561,3.813,13.517 c3.718,3.23,8.442,2.56,12.87,3.797c4.256,1.189,7.959,3.502,12.5,4.849c9.169,2.717,20.433,7.657,25.649-4.685 c2.797-6.618-0.894-5.624-6.331-7.982c-4.049-1.757-6.774-4.353-10.32-7.014c-4.123-3.095-8.203-5.957-13.415-6.584 c-0.11-3.353,1.616-5.692,1.132-9.117c-5.299-2.318-13.883-3.984-19.233-0.116" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M62.787,424.708c-1.417-2.271-3.012-5.388-2.667-8.666" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M141.453,428.042c2.076-1.991,4.274-3.745,6-6" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "leftLeft", - "shape": { - "type": "path", - "path": "M111.687,360.891c0.036,4.747,1.844,9.223,1.56,14.078 c-0.24,4.099-1.372,8.075-1.553,12.199c-0.2,4.558-1.141,9.069-1.142,13.648c0,3.48-0.275,5.533,3.084,7.379 c2.301,1.264,4.909,1.163,7.094-0.113c2.993-1.748,2.841-3.747,2.868-6.904c0.025-2.952,0.712-5.943,1.162-8.841 c0.446-2.868,0.401-5.667,0.398-8.578c-0.004-3.788,0.138-7.556,0.003-11.357c-0.118-3.318-1.49-6.782-1.279-10.093" - }, - "fill": "#FFF0A9", - "stroke": { - "color": "#000000" - } - }, - { - "name": "rightLeg", - "shape": { - "type": "path", - "path": "M74.107,353.8c-0.57,1.485-0.055,3.729-0.142,5.357 c-0.076,1.44-0.315,2.774-0.571,4.184c-0.786,4.316-1,8.786-1.732,13.181c-1.158,6.942-0.906,14.193-1.777,21.167 c-0.456,3.648,0.862,8.169,5.499,7.139c2.579-0.572,4.859-3.016,5.846-5.361c2.937-6.981-0.974-13.832-0.457-21.057 c0.331-4.619,2.141-8.637,3.402-13.056c0.769-2.694,1.709-5.131,1.703-7.972c-0.004-1.809,0-3.616,0-5.425" - }, - "fill": "#FFF0A9", - "stroke": { - "color": "#000000" - } - }, - { - "name": "pants", - "children": [ - { - "name": "pants_1_", - "shape": { - "type": "path", - "path": "M72.453,299.375 c1.947,19.47-1.848,38.143-0.849,57.849c3.905,0.681,11.166,0.417,14.849-0.849c7.135-2.453,6.497-2.631,7-11 c0.81-13.479-2.849-20.278,12.845-17.853c-1.125,13.305-9.43,25.115-3.42,38.649c8.404-0.38,20.265,0.661,28.427-1.944 c0.505-10.198-1.523-17.622-2.853-26.853c-1.398-9.708,3.313-18.866-1.174-27.826c-9.218,0.693-18.358,2.747-27.722,0.798 c-9.863-2.054-18.89-8.623-29.104-8.972" - }, - "fill": "#ADA274", - "stroke": { - "color": "#000000" - } - } - ] - } - ] - }, - { - "name": "leftArm_1_", - "children": [ - { - "name": "leftArm", - "shape": { - "type": "path", - "path": "M161.453,199.375c-6.73,0.606-12.711,7.192-9.248,13.248 c3.358,5.87,13.618,5.538,19.021,6.979c4,1.066,16.837,3.192,19.52,5.703c3.974,3.72,5.243,15.844,5.854,20.924 c13.641,4.354,26.949-0.671,33.102-13.826c5.331-11.398-5.783-19.505-17.098-22.174c1.771-8.465,14.167-32.061-0.128-36.899 c-4.761-1.611-15.726,3.346-17.801,7.272c-3.095,5.855-0.055,15.902-0.374,22.623c-13.399,0.68-27.351-3.555-39.849-1.849" - }, - "fill": "#FFF0A9", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M221.453,220.375c-4.604-1.889-17.369-6.456-21.801-1.801 c-4.797,5.039,1.256,14.077,6.027,16.578c4.118,2.159,20.628,4.348,24.575,1c4.999-4.241,2.906-14.993-2.801-17.777" - }, - "fill": "#FFF0A9", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M214.453,253.375c-1.006,3.482-0.767,9-3.174,12.826 c-15.878,0.834-16.244-5.43-25.674-14.571c10.53-5.253,19.583,4.754,29.849,2.745" - }, - "fill": "#FFF0A9", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M226.453,239.375c0.54,16.962-8.377,15.391-21.023,12.023 c-17.34-4.617-11.577-7.176,3.023-13.023" - }, - "fill": "#FFF0A9", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M208.453,188.375c-4.474,0.83-8.972-0.434-11-4" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M203.453,221.375c6.112-0.45,18.967,6.649,8,10" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M195.453,258.375c3.441-0.666,5.408-2.2,4-5" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "rightArm", - "children": [ - { - "shape": { - "type": "path", - "path": "M39.453,187.375c-3.104,7.216-3.137,14.998-7.278,21.997 c-5.137,8.684-9.794,6.9-17.5,12.281c-8.803,6.146-12.141,29.697-14.095,40.548c20.2,3.536,18.779-23.776,21.649-34.524 c0.975,13.012-0.289,26.468,0.374,39.546c2.257,0.582,6.44,0.582,8.697,0c2.04-10.494-3.53-22.034-0.852-33.546 c0.009,7.58-2.598,32.2,10.852,28.546c0.514-10.124-1.899-18.938-4.868-25.972c2.181,8.766,4.798,18.48,15.845,15.949 c6.407-12.781-3.909-15.105-8.048-25.604c-2.531-6.422,0.527-25.44,6.223-31.223" - }, - "fill": "#FFF0A9", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M6.453,248.042c2.111,0,6.324-0.997,6.667,1.666" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M22.453,255.375c2.85-0.37,4.155,0.539,4.999,3.001 c1.085,3.168-0.233,4.173-2.999,5.332" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M31.787,255.042c3.675-0.503,7.077,4.971,3,6" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M48.453,235.708c-5.387-0.935-3.676,10.551,3.667,8.667" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M207.453,241.375c2.63,1.686,2.368,4.909,1.884,7.884 c-0.744,0.175-1.23,0.456-1.884,0.783" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "shirt", - "children": [ - { - "name": "mainShirt", - "shape": { - "type": "path", - "path": "M39.453,189.375 c0.777-3.467,1.211-7.217,1.151-10.849c14.871-1.403,32.372-7.656,46.875-11.125c9.423-2.254,31.959-20.14,39.244-11.079 c3.778,4.7,2.066,16.102,5.456,22.08c2.827,4.986,9.093,12.445,13.003,16.217c5.193,5.009,15.695-3.271,18.271,2.754 c3.024,7.075-0.511,20.739-10.02,18.016c-5.084-1.456-12.238-5.093-15.228-9.769c-4.055-6.341-8.831-13.012-10.53-19.167 c-0.713,10.697,1.173,22.369,2.726,32.92c1.637,11.128,1.886,22.261,3.052,34c2.02,20.336,6.915,42.053,10.845,61.855 c-14.599,4.091-47.868-3.832-47.868-3.832s-14.457-3.595-21.2-5.801c-8.131-2.661-21.777-11.223-13.777-11.223 s-3.063-9.756,2.468-40.878s14.003-39.61,19.806-56.122c1.387-3.946,2.399-8.004,4.375-11.845 c-17.565,1.273-26.117,7.964-40.475,16.742c-2.413-9.11-9.707-14.336-17.174-18.897" - }, - "fill": "#4867FF", - "stroke": { - "color": "#000000", - "width": "2" - } - }, - { - "name": "highlight", - "shape": { - "type": "path", - "path": "M99.453,179.375 c-5.364,2.937-10.603,8.065-17,8" - }, - "fill": "#4867FF", - "stroke": { - "color": "#000000", - "width": "2" - } - }, - { - "name": "logo", - "children": [ - ] - } - ] - }, - { - "name": "heads", - "children": [ - { - "name": "head1", - "children": [ - { - "name": "hair_1_", - "shape": { - "type": "path", - "path": "M60.453,97.375c-3.965-0.012-7.98,0.045-11.897-0.147 c2.645-5.735,10.791-8.417,14.794-13.65c-2.384,0.19-5.083-0.61-7.543-0.154c2.395-1.359,4.008-3.487,6.347-4.846 c-2.993-0.207-6.326-0.467-9.399-0.18c2.893-0.874,5.243-2.063,7.821-3.05c-0.92-0.166-4.625-2.732-6.772-4.221 c5.187-4.255,12.317-5.834,17.573-8.534c-2.844-0.13-5.037-1.713-7.75-2.393c-0.424-7.244-1.302-14.461-1.223-21.475 c2.166,2.761,3.541,5.976,4.849,8.546c-0.996-11.489,4.773-13.594,13.025-18.797c0.403,1.91,1.943,3.845,2.229,5.546 c1.27-13.312,22.924-28.644,34.016-33.272c0.039,6.247-2.955,11.957-5.365,17.475c-0.365,0.375-0.375,0.366-0.028-0.028 c5.849-6.92,14-8.882,22.143-10.721c-1.215,5.635-5.28,10.684-6.698,16.602c6.258-10.069,20.421-4.135,27.949-11.351 c-1.011,3.251-2.028,6.254-3.143,9.276c7.035-8.774,15.902-11.37,25.894-14.499c-0.668,7.995-10.243,18.061-0.822,20.872 c8.889,2.653,17.435-7.31,26.698-6.075c-2.976,1.954-5.822,4.12-8.614,6.345c7.596,2.01,18.243,0.852,26.614,0.658 c-4.125,3.304-9.116,7.352-9.593,12.943c3.896-0.826,8.6-1.318,12.741-0.725c-1.013,1.726-1.479,5.845-2.718,7.678 c3.136-0.265,6.17,1.053,8.519,1.452c-3.019,0.804-5.247,3.16-7.566,4.52c3.765,0.755,7.282,2.001,10.844,3.398 c-3.322,1.78-5.724,5.475-4.776,9.657c0.798,0.374,2.536,0.977,2.995,1.147c-6.481,3.645-21.331-1.522-28.945-2.752 c-13.967-2.257-27.844-4.641-41.913-6.244c-17.039-1.941-37.716-3.446-54.359,1.025C83.983,67.42,68.871,76.651,58.453,98.375" - }, - "fill": "#605542", - "stroke": { - "color": "#000000" - } - }, - { - "name": "neck", - "shape": { - "type": "path", - "path": "M108.453,132.375c0.902,8.412-0.835,20.235-3.849,27.797 c4.164,2.769,15.721,4.339,19.868,0c3.538-3.701,1.964-17.522,1.98-22.797" - }, - "fill": "#FFF0A9", - "stroke": { - "color": "#000000" - } - }, - { - "name": "leftEar_1_", - "children": [ - { - "name": "leftEar", - "shape": { - "type": "path", - "path": "M232.453,76.375c10.186-6.915,21.465,6.994,19.052,17 c-2.781,11.53-20.253,15.518-27.052,5" - }, - "fill": "#FFF0A9", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M245.453,91.375c-0.398-2.267-1.99-4.77-3.171-6.829 c-2.738-0.936-5.713-1.545-8.829-1.171" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M238.453,90.375c1.863-0.367,3.589-1.433,5-3" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "headShape", - "shape": { - "type": "path", - "path": "M116.453,35.375 c-13.417,2.219-31.83,24.639-39.777,35.055c-8.128,10.652-24.737,25.747-20.219,39.945 c5.161,16.221,22.089,14.526,34.025,19.972c15.448,7.047,30.645,11.875,46.749,14.251c18.146,2.676,27.633,0.161,44.223-7.972 c15.701-7.697,29.862-9.589,41.801-24.303c8.182-10.084,15.033-28.733,8.174-38.923c-6.159-9.151-21.79-19.289-31.201-25.75 c-12.144-8.339-26.876-10.032-41-11.274c-15.007-1.32-33.207-3.056-47.774,1" - }, - "fill": "#FFF0A9", - "stroke": { - "color": "#000000" - } - }, - { - "name": "rightEar_1_", - "children": [ - { - "name": "rightEar", - "shape": { - "type": "path", - "path": "M66.453,94.375 c-10.188-4.124-23.701-5.729-27.774,7.226c-4.779,15.198,14.506,23.077,25.774,15.774" - }, - "fill": "#FFF0A9", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M42.453,106.375c4.149-4.954,11.06-7.737,16-10" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M48.453,100.375c1.337,3.541,2.787,6.955,5,10" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "adamsApple", - "shape": { - "type": "path", - "path": "M113.453,152.375c-0.526-2.327,1.546-3.837,5-4" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - } - ] - } - ] - }, - { - "name": "expressions", - "children": [ - { - "name": "confused", - "children": [ - { - "name": "mouth_1_", - "children": [ - { - "name": "mouth", - "shape": { - "type": "path", - "path": "M102.148,120.014c13.398-6.9,33.568-7.688,49-10.026 c12.555-1.903,36.519-2.575,44,9.026" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "name": "tooth_1_", - "shape": { - "type": "path", - "path": "M178.148,109.014 c-0.563-2.655-0.017-6.196,0.151-8.849c4.788-0.944,9.637,0.768,13.675,3.022c0.664,3.187,0.065,6.267-1.826,8.826" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "name": "tooth", - "shape": { - "type": "path", - "path": "M168.148,108.014c-2.021-7.958,5.04-7.752,10.826-6.826 c1.286,2.446,1.752,5.863,1.022,8.675c-3.801,0.292-8.049,0.308-10.849-0.849" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "eyes", - "children": [ - { - "name": "rightEye", - "shape": { - "type": "path", - "path": "M121.148,52.014 c-6.562,8.145-20.057,16.28-21.023,26.977c-1.104,12.227,10.759,15.164,21.02,11.798c18.8-6.168,24.482-40.499,0.004-39.774" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "name": "pupilRight", - "shape": { - "type": "path", - "path": "M112.148,61.014c-7.625,3.067-4.047,12.428,3.826,10.826 C118.354,67.432,118.046,61.261,112.148,61.014" - }, - "stroke": { - "color": "#000000" - } - }, - { - "name": "leftEye", - "shape": { - "type": "path", - "path": "M184.148,55.014c-13.391-8.758-17.664,28.504,5,25.996 c10.862-1.201,14.124-12.581,8.004-19.996c-6.121-7.415-14.988-4.947-22.004-8" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "name": "pupilLeft", - "shape": { - "type": "path", - "path": "M176.148,54.014c-2.04,2.896-2.657,6.347-1.849,9.849 C184.707,66.621,182.108,56.322,176.148,54.014" - }, - "stroke": { - "color": "#000000" - } - } - ] - } - ] - }, - { - "name": "confused2", - "children": [ - { - "name": "rightEye_1_", - "shape": { - "type": "path", - "path": "M121.148,52.014 c-6.562,8.145-20.057,16.28-21.023,26.977c-1.104,12.227,10.759,15.164,21.02,11.798c18.8-6.168,24.482-40.499,0.004-39.774" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "name": "pupilRight_1_", - "shape": { - "type": "path", - "path": "M112.148,61.014 c-7.625,3.067-4.047,12.428,3.826,10.826C118.354,67.432,118.046,61.261,112.148,61.014" - }, - "stroke": { - "color": "#000000" - } - }, - { - "name": "leftEye_1_", - "shape": { - "type": "path", - "path": "M184.148,55.014 c-13.391-8.758-17.664,28.504,5,25.996c10.862-1.201,14.124-12.581,8.004-19.996c-6.121-7.415-14.988-4.947-22.004-8" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "name": "pupilLeft_1_", - "shape": { - "type": "path", - "path": "M176.148,54.014 c-2.04,2.896-2.657,6.347-1.849,9.849C184.707,66.621,182.108,56.322,176.148,54.014" - }, - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M114.934,118.74 c18.933-4.896,31.704-2.456,49.826,1.171c6.734,1.348,17.654,7.566,23.408,0.323c5.436-6.841-0.011-16.179-7.237-17.994" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "talking", - "children": [ - { - "shape": { - "type": "path", - "path": "M150.536,116.479c0.413,18.115,48.746,18.222,37.276-7.278 c-10.396-1.757-28.836,2.451-38.776,5.778" - }, - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M103.453,104.875c-2.277,2.169-1.729,7.324-4.849,8 c8.889,3.074,18.975,7.877,28.849,6.998c6.759-0.602,18.439-1.511,23.5-5.998" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M104.453,64.875 c-6.218-0.224-17.093,9.247-13.875,15.887c2.822,5.825,15.087,4.174,20.375,3.113c4.505-0.904,7.783-1.37,9.889-6.123 c1.107-2.499,2.855-9.088,1.623-11.889c-2.859-6.496-15.374-3.248-19.512,0.012" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M176.953,59.875 c-4.742,8.403,0.46,13.596,6.486,18.376c4.779,3.791,15.903,8.529,19.512,0.622c8.012-17.554-22.026-19.554-32.498-17.887 c-0.345,0.055-1.151,0.291-1.5,0.389" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M98.953,66.875c-6.969-2.545-10.165,5.418-3.002,8.05 c2.178-2.129,5.596-6.88,2.502-9.05" - }, - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M178.453,60.875c-5.534,0.708-5.259,9.173,0.5,7.387 c6.145-1.906,5.217-9.047-1.5-8.387" - }, - "stroke": { - "color": "#000000" - } - } - ] - }, - { - "name": "talking2", - "children": [ - { - "shape": { - "type": "path", - "path": "M102.87,94.503c-2.279,15.037-5.934,27.828,15.027,23.027 c15.334-3.512,25.379-13.239,28.973-28.027" - }, - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M92.87,104.503 c4.248-16.004,34.717-10.765,47.052-11.948c8.414-0.807,15.879-1.97,24.948-1.055c8.295,0.837,19.3,2.941,27-0.997" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M84.87,73.503c2.341-8.752,12.467-12.772,19-18" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M181.87,59.503c8.968-3.27,16.681,2.245,25,3" - }, - "fill": "none", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M98.87,68.503 c-7.218,11.165,3.031,17.234,13.003,17.997c13.201,1.009,21.125-8.677,18.845-21.842c-11.637-0.604-21.219,1.818-31.849,2.845" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M178.87,67.503 c-9.045,2.007-6.264,11.616-1.249,15.249c3.778,2.737,13.479,4.477,18.249,2.528C210.946,79.123,185.327,71.038,178.87,67.503" - }, - "fill": "#FFFFFF", - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M115.87,85.503c2.365-1.63,3.646-3.553,2.826-6.826 c-16.491-8.159-17.436,11.182-1.826,8.826" - }, - "stroke": { - "color": "#000000" - } - }, - { - "shape": { - "type": "path", - "path": "M174.87,80.503c-0.492-1.165-0.677-2.687-0.872-3.826 c3.483-0.285,7.207-0.292,10.698-0.023c3.568,7.301-6.079,7.593-10.826,5.849" - }, - "stroke": { - "color": "#000000" - } - } - ] - } - ] - } - ] - } -] \ No newline at end of file diff --git a/includes/js/dojox/gfx/demos/data/Nils.svg b/includes/js/dojox/gfx/demos/data/Nils.svg deleted file mode 100644 index 48908a2..0000000 --- a/includes/js/dojox/gfx/demos/data/Nils.svg +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/includes/js/dojox/gfx/demos/data/buratino-bg.png b/includes/js/dojox/gfx/demos/data/buratino-bg.png deleted file mode 100644 index ee50a15..0000000 Binary files a/includes/js/dojox/gfx/demos/data/buratino-bg.png and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/data/buratino-head.png b/includes/js/dojox/gfx/demos/data/buratino-head.png deleted file mode 100644 index d576873..0000000 Binary files a/includes/js/dojox/gfx/demos/data/buratino-head.png and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/data/buratino-left-arm.png b/includes/js/dojox/gfx/demos/data/buratino-left-arm.png deleted file mode 100644 index 1e620f3..0000000 Binary files a/includes/js/dojox/gfx/demos/data/buratino-left-arm.png and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/data/buratino-left-leg.png b/includes/js/dojox/gfx/demos/data/buratino-left-leg.png deleted file mode 100644 index 1ae5600..0000000 Binary files a/includes/js/dojox/gfx/demos/data/buratino-left-leg.png and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/data/buratino-lollipop.png b/includes/js/dojox/gfx/demos/data/buratino-lollipop.png deleted file mode 100644 index 9a52c1e..0000000 Binary files a/includes/js/dojox/gfx/demos/data/buratino-lollipop.png and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/data/buratino-nose-large.png b/includes/js/dojox/gfx/demos/data/buratino-nose-large.png deleted file mode 100644 index a0e38fd..0000000 Binary files a/includes/js/dojox/gfx/demos/data/buratino-nose-large.png and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/data/buratino-nose-medium.png b/includes/js/dojox/gfx/demos/data/buratino-nose-medium.png deleted file mode 100644 index f38e205..0000000 Binary files a/includes/js/dojox/gfx/demos/data/buratino-nose-medium.png and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/data/buratino-right-arm.png b/includes/js/dojox/gfx/demos/data/buratino-right-arm.png deleted file mode 100644 index 206bdb1..0000000 Binary files a/includes/js/dojox/gfx/demos/data/buratino-right-arm.png and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/data/buratino-right-leg.png b/includes/js/dojox/gfx/demos/data/buratino-right-leg.png deleted file mode 100644 index cd0e172..0000000 Binary files a/includes/js/dojox/gfx/demos/data/buratino-right-leg.png and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/data/buratino-torso.png b/includes/js/dojox/gfx/demos/data/buratino-torso.png deleted file mode 100644 index 64c2336..0000000 Binary files a/includes/js/dojox/gfx/demos/data/buratino-torso.png and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/data/buratino.jpg b/includes/js/dojox/gfx/demos/data/buratino.jpg deleted file mode 100644 index 95aaf05..0000000 Binary files a/includes/js/dojox/gfx/demos/data/buratino.jpg and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/data/buratino.json b/includes/js/dojox/gfx/demos/data/buratino.json deleted file mode 100644 index 45ed668..0000000 --- a/includes/js/dojox/gfx/demos/data/buratino.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - {name: "bg", shape: {type: "image", width: 321, height: 355, src: "data/buratino-bg.png"}}, - {name: "left-arm", shape: {type: "image", width: 111, height: 40, src: "data/buratino-left-arm.png"}}, - {name: "right-arm", shape: {type: "image", width: 59, height: 130, src: "data/buratino-right-arm.png"}}, - {name: "left-leg", shape: {type: "image", width: 152, height: 99, src: "data/buratino-left-leg.png"}}, - {name: "right-leg", shape: {type: "image", width: 104, height: 158, src: "data/buratino-right-leg.png"}}, - {name: "torso", shape: {type: "image", width: 90, height: 130, src: "data/buratino-torso.png"}}, - {name: "head", shape: {type: "image", width: 116, height: 139, src: "data/buratino-head.png"}}, - {name: "nose-medium", shape: {type: "image", width: 50, height: 43, src: "data/buratino-nose-medium.png"}}, - {name: "nose-large", shape: {type: "image", width: 70, height: 66, src: "data/buratino-nose-large.png"}}, - {name: "lollipop", shape: {type: "image", width: 82, height: 144, src: "data/buratino-lollipop.png"}} -] diff --git a/includes/js/dojox/gfx/demos/data/svg2gfx.xsl b/includes/js/dojox/gfx/demos/data/svg2gfx.xsl deleted file mode 100644 index 90a463f..0000000 --- a/includes/js/dojox/gfx/demos/data/svg2gfx.xsl +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - fill: " - - ", - - - - - stroke: { - - color: " - - ", - - - width: " - - ", - - - cap: " - - ", - - - join: " - - ", - - }, - - - { - - name: " - - ", - - children: [ - - ]}, - - - { - - name: " - - ", - - shape: {type: "path", path: " - - "}, - - - - - - - }, - - - [ - - ] - - diff --git a/includes/js/dojox/gfx/demos/data/transform.json b/includes/js/dojox/gfx/demos/data/transform.json deleted file mode 100644 index 60bd466..0000000 --- a/includes/js/dojox/gfx/demos/data/transform.json +++ /dev/null @@ -1,1567 +0,0 @@ -[ - { - "children": [ - { - "shape": { - "type": "line", - "x1": 0, - "y1": 0, - "x2": 500, - "y2": 0 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 0, - "y1": 0, - "x2": 0, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 0, - "y1": 50, - "x2": 500, - "y2": 50 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 50, - "y1": 0, - "x2": 50, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 0, - "y1": 100, - "x2": 500, - "y2": 100 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 100, - "y1": 0, - "x2": 100, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 0, - "y1": 150, - "x2": 500, - "y2": 150 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 150, - "y1": 0, - "x2": 150, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 0, - "y1": 200, - "x2": 500, - "y2": 200 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 200, - "y1": 0, - "x2": 200, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 0, - "y1": 250, - "x2": 500, - "y2": 250 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 250, - "y1": 0, - "x2": 250, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 0, - "y1": 300, - "x2": 500, - "y2": 300 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 300, - "y1": 0, - "x2": 300, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 0, - "y1": 350, - "x2": 500, - "y2": 350 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 350, - "y1": 0, - "x2": 350, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 0, - "y1": 400, - "x2": 500, - "y2": 400 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 400, - "y1": 0, - "x2": 400, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 0, - "y1": 450, - "x2": 500, - "y2": 450 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 450, - "y1": 0, - "x2": 450, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 0, - "y1": 500, - "x2": 500, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - }, - { - "shape": { - "type": "line", - "x1": 500, - "y1": 0, - "x2": 500, - "y2": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - } - } - ], - "name": "grid" - }, - { - "children": [ - { - "shape": { - "type": "rect", - "x": 0, - "y": 0, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 0, - "y": 100, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 0, - "y": 200, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 0, - "y": 300, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 0, - "y": 400, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 50, - "y": 50, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 50, - "y": 150, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 50, - "y": 250, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 50, - "y": 350, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 50, - "y": 450, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 100, - "y": 0, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 100, - "y": 100, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 100, - "y": 200, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 100, - "y": 300, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 100, - "y": 400, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 150, - "y": 50, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 150, - "y": 150, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 150, - "y": 250, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 150, - "y": 350, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 150, - "y": 450, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 200, - "y": 0, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 200, - "y": 100, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 200, - "y": 200, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 200, - "y": 300, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 200, - "y": 400, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 250, - "y": 50, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 250, - "y": 150, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 250, - "y": 250, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 250, - "y": 350, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 250, - "y": 450, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 300, - "y": 0, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 300, - "y": 100, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 300, - "y": 200, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 300, - "y": 300, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 300, - "y": 400, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 350, - "y": 50, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 350, - "y": 150, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 350, - "y": 250, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 350, - "y": 350, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 350, - "y": 450, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 400, - "y": 0, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 400, - "y": 100, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 400, - "y": 200, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 400, - "y": 300, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 400, - "y": 400, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 450, - "y": 50, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 450, - "y": 150, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 450, - "y": 250, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 450, - "y": 350, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - }, - { - "shape": { - "type": "rect", - "x": 450, - "y": 450, - "width": 50, - "height": 50, - "r": 0 - }, - "fill": { - "g": 0, - "b": 0, - "a": 0.1, - "r": 255 - } - } - ], - "name": "checkerboard" - }, - { - "shape": { - "type": "rect", - "x": 0, - "y": 0, - "width": 100, - "height": 100, - "r": 0 - }, - "transform": { - "dx": 100, - "dy": 100, - "xx": 1, - "xy": 0, - "yx": 0, - "yy": 1 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - }, - "fill": { - "type": "linear", - "x1": 0, - "y1": 0, - "x2": 100, - "y2": 100, - "colors": [ - { - "offset": 0, - "color": { - "r": 0, - "g": 128, - "b": 0, - "a": 1 - } - }, - { - "offset": 0.5, - "color": { - "g": 0, - "b": 0, - "r": 255, - "a": 1 - } - }, - { - "offset": 1, - "color": { - "r": 0, - "g": 0, - "b": 255, - "a": 1 - } - } - ] - }, - "name": "rect with color gradient" - }, - { - "shape": { - "type": "rect", - "x": 0, - "y": 0, - "width": 100, - "height": 100, - "r": 0 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - }, - "fill": { - "type": "linear", - "x1": 0, - "y1": 0, - "x2": 100, - "y2": 100, - "colors": [ - { - "offset": 0, - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - } - }, - { - "offset": 1, - "color": { - "r": 255, - "g": 255, - "b": 255, - "a": 1 - } - } - ] - }, - "name": "rect with gray gradient" - }, - { - "children": [ - { - "shape": { - "type": "rect", - "x": 200, - "y": 200, - "width": 100, - "height": 100, - "r": 0 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - }, - "fill": { - "r": 0, - "g": 128, - "b": 0, - "a": 1 - }, - name: "green rect" - }, - { - "shape": { - "type": "rect", - "x": 0, - "y": 0, - "width": 100, - "height": 100, - "r": 0 - }, - "transform": { - "xx": 0.8660254037844387, - "xy": 0.49999999999999994, - "yx": -0.49999999999999994, - "yy": 0.8660254037844387, - "dx": 281.69872981077805, - "dy": 231.69872981077808 - }, - "fill": { - "r": 0, - "g": 0, - "b": 255, - "a": 1 - }, - name: "blue rect" - }, - { - "shape": { - "type": "path", - "path": "M 300 100L 400 200L 400 300L 300 400C 400 300 400 200 300 100" - }, - "transform": { - "xx": 1, - "xy": 0, - "yx": 0, - "yy": 1, - "dx": 0, - "dy": 0 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 0, - "a": 1 - }, - "style": "solid", - "width": 1, - "cap": "butt", - "join": 4 - }, - name: "black path" - }, - { - "shape": { - "type": "path", - "path": "M 300 100L 400 200L 400 300L 300 400C 400 300 400 200 300 100" - }, - "transform": { - "dx": 100, - "xx": 1, - "xy": 0, - "yx": 0, - "yy": 1, - "dy": 0 - }, - "stroke": { - "type": "stroke", - "color": { - "g": 0, - "b": 0, - "r": 255, - "a": 1 - }, - "style": "solid", - "width": 2, - "cap": "butt", - "join": 4 - }, - name: "red path" - }, - { - "shape": { - "type": "path", - "path": "M 300 100l 100 100l 0 100l-100 100c 100-100 100-200 0-300" - }, - "transform": { - "xx": -1, - "xy": -1.2246063538223773e-16, - "yx": 1.2246063538223773e-16, - "yy": -1, - "dx": 500, - "dy": 500 - }, - "stroke": { - "type": "stroke", - "color": { - "r": 0, - "g": 0, - "b": 255, - "a": 1 - }, - "style": "solid", - "width": 2, - "cap": "butt", - "join": 4 - }, - name: "blue path" - } - ], - "transform": { - "xx": 0.9659258262890683, - "xy": 0.25881904510252074, - "yx": -0.25881904510252074, - "yy": 0.9659258262890683, - "dx": -56.1862178478973, - "dy": 73.22330470336311 - }, - "name": "rotated group" - } -] diff --git a/includes/js/dojox/gfx/demos/images/clock_face.jpg b/includes/js/dojox/gfx/demos/images/clock_face.jpg deleted file mode 100644 index 12f1903..0000000 Binary files a/includes/js/dojox/gfx/demos/images/clock_face.jpg and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/images/clock_face_black.jpg b/includes/js/dojox/gfx/demos/images/clock_face_black.jpg deleted file mode 100644 index dbef7cd..0000000 Binary files a/includes/js/dojox/gfx/demos/images/clock_face_black.jpg and /dev/null differ diff --git a/includes/js/dojox/gfx/demos/inspector.html b/includes/js/dojox/gfx/demos/inspector.html deleted file mode 100644 index 034fa3b..0000000 --- a/includes/js/dojox/gfx/demos/inspector.html +++ /dev/null @@ -1,165 +0,0 @@ - - -Inspect DojoX GFX JSON - - - - - - - -

            Inspect DojoX GFX JSON

            -

            Help: load a file, select an object, and add it, move it around, or apply operations to selected items:
            - F — bring to front, B — bring to back, Q — rotate CCW, W — rotate CW, D — delete.
            - (all operations work on currently dragged item).

            -

            VML note: VML doesn't process PNG images with opacity correctly.

            - - - -
            - - - - - - - - - - - - - -
            Source:
             
            -  
            Available sources:
            data/Lars.json — vectors from SVG
            data/Nils.json — vectors from SVG
            data/LarsDreaming.json — vectors from SVG
            data/buratino.json — images
            data/transform.json — from dojox.gfx
             
            Objects:
            Object names are hierarchical and separated by "/". Adding a selected object creates a group for this object. - A higher-level object (a group) always includes lower-level objects as children.
            - - diff --git a/includes/js/dojox/gfx/demos/lion.html b/includes/js/dojox/gfx/demos/lion.html deleted file mode 100644 index 445945c..0000000 --- a/includes/js/dojox/gfx/demos/lion.html +++ /dev/null @@ -1,235 +0,0 @@ - - -dojox.gfx: Lion - - - - - - - - - - - - - -

            dojox.gfx: Lion

            -

            This example was directly converted from SVG file.

            - - - - - -
            Rotation (0)
            -
            -
            -
            -
            -
            -
            Scaling (1.000)
            -
            -
            -
            -
            -
            -
            - - diff --git a/includes/js/dojox/gfx/demos/roundedPane.html b/includes/js/dojox/gfx/demos/roundedPane.html deleted file mode 100644 index 4abb775..0000000 --- a/includes/js/dojox/gfx/demos/roundedPane.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - rounded skeleton page | The Dojo Toolkit - - - - - - - - - - -

            Some gfx + ContentPane's

            - -
            -

            YO!

            -

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            lorem

            -
            - -
            - LOREM, ipsum, dollllllllllor: - .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            .roundedContent { - padding: 31px; - font-family: 'Tahoma'; - font-size: 12px; - color:#fff; - }

            - -
            - - -
            -

            Moveable Handle

            - LOREM, ipsum, dollllllllllor: -
            - - -
            - lorem ipsum (small moveable) -
            - - - diff --git a/includes/js/dojox/gfx/demos/tiger.html b/includes/js/dojox/gfx/demos/tiger.html deleted file mode 100644 index afb45ef..0000000 --- a/includes/js/dojox/gfx/demos/tiger.html +++ /dev/null @@ -1,566 +0,0 @@ - - -dojox.gfx: Tiger - - - - - - - - -

            dojox.gfx: Tiger

            -

            This example was directly converted from SVG file.

            - - - - - -
            Rotation (0)
            -
            -
            -
            -
            -
            -
            Scaling (1.000)
            -
            -
            -
            -
            -
            -
            - - diff --git a/includes/js/dojox/gfx/demos/tooltip.html b/includes/js/dojox/gfx/demos/tooltip.html deleted file mode 100644 index 96bb694..0000000 --- a/includes/js/dojox/gfx/demos/tooltip.html +++ /dev/null @@ -1,238 +0,0 @@ - - - A Sample ToolTip using dijit and dojox.gfx - - - - - - - - - -

            dojox.gfx: A Sample tooltip

            - -
              - - - -
            • - Tooltip + Button -

              Canvas renderer doesn't implement event handling. - -

              -
            • - - -
            • - Hover trigger / persists -
              Canvas renderer doesn't implement event handling.
              -
            • - - -
            • MultiTip trigger 1
            • -
            • I do nothing
            • -
            • Trigger two
            • - -
            • show this way - - -
            • - - -
            • - Parent Attached Tooltip -
              -
              -

              - Name:

              - Pass:
              -

              -
              -
              -
            • - -
            - - -
            Canvas renderer doesn't implement event handling. (shared tooltip)
            - - - diff --git a/includes/js/dojox/gfx/fx.js b/includes/js/dojox/gfx/fx.js deleted file mode 100644 index 2b576d6..0000000 --- a/includes/js/dojox/gfx/fx.js +++ /dev/null @@ -1,281 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.fx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.fx"] = true; -dojo.provide("dojox.gfx.fx"); - -dojo.require("dojox.gfx.matrix"); - -(function(){ - var d = dojo, g = dojox.gfx, m = g.matrix; - - // Generic interpolators. Should they be moved to dojox.fx? - - var InterpolNumber = function(start, end){ - this.start = start, this.end = end; - }; - d.extend(InterpolNumber, { - getValue: function(r){ - return (this.end - this.start) * r + this.start; - } - }); - - var InterpolUnit = function(start, end, unit){ - this.start = start, this.end = end; - this.unit = unit; - }; - d.extend(InterpolUnit, { - getValue: function(r){ - return (this.end - this.start) * r + this.start + this.unit; - } - }); - - var InterpolColor = function(start, end){ - this.start = start, this.end = end; - this.temp = new dojo.Color(); - }; - d.extend(InterpolColor, { - getValue: function(r){ - return d.blendColors(this.start, this.end, r, this.temp); - } - }); - - var InterpolValues = function(values){ - this.values = values; - this.length = values.length; - }; - d.extend(InterpolValues, { - getValue: function(r){ - return this.values[Math.min(Math.floor(r * this.length), this.length - 1)]; - } - }); - - var InterpolObject = function(values, def){ - this.values = values; - this.def = def ? def : {}; - }; - d.extend(InterpolObject, { - getValue: function(r){ - var ret = dojo.clone(this.def); - for(var i in this.values){ - ret[i] = this.values[i].getValue(r); - } - return ret; - } - }); - - var InterpolTransform = function(stack, original){ - this.stack = stack; - this.original = original; - }; - d.extend(InterpolTransform, { - getValue: function(r){ - var ret = []; - dojo.forEach(this.stack, function(t){ - if(t instanceof m.Matrix2D){ - ret.push(t); - return; - } - if(t.name == "original" && this.original){ - ret.push(this.original); - return; - } - if(!(t.name in m)){ return; } - var f = m[t.name]; - if(typeof f != "function"){ - // constant - ret.push(f); - return; - } - var val = dojo.map(t.start, function(v, i){ - return (t.end[i] - v) * r + v; - }), - matrix = f.apply(m, val); - if(matrix instanceof m.Matrix2D){ - ret.push(matrix); - } - }, this); - return ret; - } - }); - - var transparent = new d.Color(0, 0, 0, 0); - - var getColorInterpol = function(prop, obj, name, def){ - if(prop.values){ - return new InterpolValues(prop.values); - } - var value, start, end; - if(prop.start){ - start = g.normalizeColor(prop.start); - }else{ - start = value = obj ? (name ? obj[name] : obj) : def; - } - if(prop.end){ - end = g.normalizeColor(prop.end); - }else{ - if(!value){ - value = obj ? (name ? obj[name] : obj) : def; - } - end = value; - } - return new InterpolColor(start, end); - }; - - var getNumberInterpol = function(prop, obj, name, def){ - if(prop.values){ - return new InterpolValues(prop.values); - } - var value, start, end; - if(prop.start){ - start = prop.start; - }else{ - start = value = obj ? obj[name] : def; - } - if(prop.end){ - end = prop.end; - }else{ - if(typeof value != "number"){ - value = obj ? obj[name] : def; - } - end = value; - } - return new InterpolNumber(start, end); - }; - - g.fx.animateStroke = function(/*Object*/ args){ - // summary: - // returns the animation, which will change stroke properties over time - // example: - // | dojox.gfx.fx.animateStroke{{ - // | shape: shape, - // | duration: 500, - // | color: {start: "red", end: "green"}, - // | width: {end: 15}, - // | join: {values: ["miter", "bevel", "round"]} - // | }).play(); - if(!args.easing){ args.easing = d._defaultEasing; } - var anim = new d._Animation(args), shape = args.shape, stroke; - d.connect(anim, "beforeBegin", anim, function(){ - stroke = shape.getStroke(); - var prop = args.color, values = {}, value, start, end; - if(prop){ - values.color = getColorInterpol(prop, stroke, "color", transparent); - } - prop = args.style; - if(prop && prop.values){ - values.style = new InterpolValues(prop.values); - } - prop = args.width; - if(prop){ - values.width = getNumberInterpol(prop, stroke, "width", 1); - } - prop = args.cap; - if(prop && prop.values){ - values.cap = new InterpolValues(prop.values); - } - prop = args.join; - if(prop){ - if(prop.values){ - values.join = new InterpolValues(prop.values); - }else{ - start = prop.start ? prop.start : (stroke && stroke.join || 0); - end = prop.end ? prop.end : (stroke && stroke.join || 0); - if(typeof start == "number" && typeof end == "number"){ - values.join = new InterpolNumber(start, end); - } - } - } - this.curve = new InterpolObject(values, stroke); - }); - d.connect(anim, "onAnimate", shape, "setStroke"); - return anim; - }; - - g.fx.animateFill = function(/*Object*/ args){ - // summary: - // returns the animation, which will change fill color over time, - // only solid fill color is supported at the moment - // example: - // | dojox.gfx.fx.animateFill{{ - // | shape: shape, - // | duration: 500, - // | color: {start: "red", end: "green"} - // | }).play(); - if(!args.easing){ args.easing = d._defaultEasing; } - var anim = new d._Animation(args), shape = args.shape, fill; - d.connect(anim, "beforeBegin", anim, function(){ - fill = shape.getFill(); - var prop = args.color, values = {}; - if(prop){ - this.curve = getColorInterpol(prop, fill, "", transparent); - } - }); - d.connect(anim, "onAnimate", shape, "setFill"); - return anim; - }; - - g.fx.animateFont = function(/*Object*/ args){ - // summary: - // returns the animation, which will change font properties over time - // example: - // | dojox.gfx.fx.animateFont{{ - // | shape: shape, - // | duration: 500, - // | variant: {values: ["normal", "small-caps"]}, - // | size: {end: 10, unit: "pt"} - // | }).play(); - if(!args.easing){ args.easing = d._defaultEasing; } - var anim = new d._Animation(args), shape = args.shape, font; - d.connect(anim, "beforeBegin", anim, function(){ - font = shape.getFont(); - var prop = args.style, values = {}, value, start, end; - if(prop && prop.values){ - values.style = new InterpolValues(prop.values); - } - prop = args.variant; - if(prop && prop.values){ - values.variant = new InterpolValues(prop.values); - } - prop = args.weight; - if(prop && prop.values){ - values.weight = new InterpolValues(prop.values); - } - prop = args.family; - if(prop && prop.values){ - values.family = new InterpolValues(prop.values); - } - prop = args.size; - if(prop && prop.unit){ - start = parseFloat(prop.start ? prop.start : (shape.font && shape.font.size || "0")); - end = parseFloat(prop.end ? prop.end : (shape.font && shape.font.size || "0")); - values.size = new InterpolUnit(start, end, prop.unit); - } - this.curve = new InterpolObject(values, font); - }); - d.connect(anim, "onAnimate", shape, "setFont"); - return anim; - }; - - g.fx.animateTransform = function(/*Object*/ args){ - // summary: - // returns the animation, which will change transformation over time - // example: - // | dojox.gfx.fx.animateTransform{{ - // | shape: shape, - // | duration: 500, - // | transform: [ - // | {name: "translate", start: [0, 0], end: [200, 200]}, - // | {name: "original"} - // | ] - // | }).play(); - if(!args.easing){ args.easing = d._defaultEasing; } - var anim = new d._Animation(args), shape = args.shape, original; - d.connect(anim, "beforeBegin", anim, function(){ - original = shape.getTransform(); - this.curve = new InterpolTransform(args.transform, original); - }); - d.connect(anim, "onAnimate", shape, "setTransform"); - return anim; - }; -})(); - -} diff --git a/includes/js/dojox/gfx/matrix.js b/includes/js/dojox/gfx/matrix.js deleted file mode 100644 index f3402b1..0000000 --- a/includes/js/dojox/gfx/matrix.js +++ /dev/null @@ -1,444 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.matrix"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.matrix"] = true; -dojo.provide("dojox.gfx.matrix"); - -(function(){ - var m = dojox.gfx.matrix; - - // candidates for dojox.math: - m._degToRad = function(degree){ return Math.PI * degree / 180; }; - m._radToDeg = function(radian){ return radian / Math.PI * 180; }; - - m.Matrix2D = function(arg){ - // summary: a 2D matrix object - // description: Normalizes a 2D matrix-like object. If arrays is passed, - // all objects of the array are normalized and multiplied sequentially. - // arg: Object - // a 2D matrix-like object, a number, or an array of such objects - if(arg){ - if(typeof arg == "number"){ - this.xx = this.yy = arg; - }else if(arg instanceof Array){ - if(arg.length > 0){ - var matrix = m.normalize(arg[0]); - // combine matrices - for(var i = 1; i < arg.length; ++i){ - var l = matrix, r = dojox.gfx.matrix.normalize(arg[i]); - matrix = new m.Matrix2D(); - matrix.xx = l.xx * r.xx + l.xy * r.yx; - matrix.xy = l.xx * r.xy + l.xy * r.yy; - matrix.yx = l.yx * r.xx + l.yy * r.yx; - matrix.yy = l.yx * r.xy + l.yy * r.yy; - matrix.dx = l.xx * r.dx + l.xy * r.dy + l.dx; - matrix.dy = l.yx * r.dx + l.yy * r.dy + l.dy; - } - dojo.mixin(this, matrix); - } - }else{ - dojo.mixin(this, arg); - } - } - }; - - // the default (identity) matrix, which is used to fill in missing values - dojo.extend(m.Matrix2D, {xx: 1, xy: 0, yx: 0, yy: 1, dx: 0, dy: 0}); - - dojo.mixin(m, { - // summary: class constants, and methods of dojox.gfx.matrix - - // matrix constants - - // identity: dojox.gfx.matrix.Matrix2D - // an identity matrix constant: identity * (x, y) == (x, y) - identity: new m.Matrix2D(), - - // flipX: dojox.gfx.matrix.Matrix2D - // a matrix, which reflects points at x = 0 line: flipX * (x, y) == (-x, y) - flipX: new m.Matrix2D({xx: -1}), - - // flipY: dojox.gfx.matrix.Matrix2D - // a matrix, which reflects points at y = 0 line: flipY * (x, y) == (x, -y) - flipY: new m.Matrix2D({yy: -1}), - - // flipXY: dojox.gfx.matrix.Matrix2D - // a matrix, which reflects points at the origin of coordinates: flipXY * (x, y) == (-x, -y) - flipXY: new m.Matrix2D({xx: -1, yy: -1}), - - // matrix creators - - translate: function(a, b){ - // summary: forms a translation matrix - // description: The resulting matrix is used to translate (move) points by specified offsets. - // a: Number: an x coordinate value - // b: Number: a y coordinate value - if(arguments.length > 1){ - return new m.Matrix2D({dx: a, dy: b}); // dojox.gfx.matrix.Matrix2D - } - // branch - // a: dojox.gfx.Point: a point-like object, which specifies offsets for both dimensions - // b: null - return new m.Matrix2D({dx: a.x, dy: a.y}); // dojox.gfx.matrix.Matrix2D - }, - scale: function(a, b){ - // summary: forms a scaling matrix - // description: The resulting matrix is used to scale (magnify) points by specified offsets. - // a: Number: a scaling factor used for the x coordinate - // b: Number: a scaling factor used for the y coordinate - if(arguments.length > 1){ - return new m.Matrix2D({xx: a, yy: b}); // dojox.gfx.matrix.Matrix2D - } - if(typeof a == "number"){ - // branch - // a: Number: a uniform scaling factor used for the both coordinates - // b: null - return new m.Matrix2D({xx: a, yy: a}); // dojox.gfx.matrix.Matrix2D - } - // branch - // a: dojox.gfx.Point: a point-like object, which specifies scale factors for both dimensions - // b: null - return new m.Matrix2D({xx: a.x, yy: a.y}); // dojox.gfx.matrix.Matrix2D - }, - rotate: function(angle){ - // summary: forms a rotating matrix - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified angle. - // angle: Number: an angle of rotation in radians (>0 for CW) - var c = Math.cos(angle); - var s = Math.sin(angle); - return new m.Matrix2D({xx: c, xy: -s, yx: s, yy: c}); // dojox.gfx.matrix.Matrix2D - }, - rotateg: function(degree){ - // summary: forms a rotating matrix - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified degree. - // See dojox.gfx.matrix.rotate() for comparison. - // degree: Number: an angle of rotation in degrees (>0 for CW) - return m.rotate(m._degToRad(degree)); // dojox.gfx.matrix.Matrix2D - }, - skewX: function(angle) { - // summary: forms an x skewing matrix - // description: The resulting matrix is used to skew points in the x dimension - // around the origin of coordinates (0, 0) by specified angle. - // angle: Number: an skewing angle in radians - return new m.Matrix2D({xy: -Math.tan(angle)}); // dojox.gfx.matrix.Matrix2D - }, - skewXg: function(degree){ - // summary: forms an x skewing matrix - // description: The resulting matrix is used to skew points in the x dimension - // around the origin of coordinates (0, 0) by specified degree. - // See dojox.gfx.matrix.skewX() for comparison. - // degree: Number: an skewing angle in degrees - return m.skewX(m._degToRad(degree)); // dojox.gfx.matrix.Matrix2D - }, - skewY: function(angle){ - // summary: forms a y skewing matrix - // description: The resulting matrix is used to skew points in the y dimension - // around the origin of coordinates (0, 0) by specified angle. - // angle: Number: an skewing angle in radians - return new m.Matrix2D({yx: Math.tan(angle)}); // dojox.gfx.matrix.Matrix2D - }, - skewYg: function(degree){ - // summary: forms a y skewing matrix - // description: The resulting matrix is used to skew points in the y dimension - // around the origin of coordinates (0, 0) by specified degree. - // See dojox.gfx.matrix.skewY() for comparison. - // degree: Number: an skewing angle in degrees - return m.skewY(m._degToRad(degree)); // dojox.gfx.matrix.Matrix2D - }, - reflect: function(a, b){ - // summary: forms a reflection matrix - // description: The resulting matrix is used to reflect points around a vector, - // which goes through the origin. - // a: dojox.gfx.Point: a point-like object, which specifies a vector of reflection - // b: null - if(arguments.length == 1){ - b = a.y; - a = a.x; - } - // branch - // a: Number: an x coordinate value - // b: Number: a y coordinate value - - // make a unit vector - var a2 = a * a, b2 = b * b, n2 = a2 + b2, xy = 2 * a * b / n2; - return new m.Matrix2D({xx: 2 * a2 / n2 - 1, xy: xy, yx: xy, yy: 2 * b2 / n2 - 1}); // dojox.gfx.matrix.Matrix2D - }, - project: function(a, b){ - // summary: forms an orthogonal projection matrix - // description: The resulting matrix is used to project points orthogonally on a vector, - // which goes through the origin. - // a: dojox.gfx.Point: a point-like object, which specifies a vector of projection - // b: null - if(arguments.length == 1){ - b = a.y; - a = a.x; - } - // branch - // a: Number: an x coordinate value - // b: Number: a y coordinate value - - // make a unit vector - var a2 = a * a, b2 = b * b, n2 = a2 + b2, xy = a * b / n2; - return new m.Matrix2D({xx: a2 / n2, xy: xy, yx: xy, yy: b2 / n2}); // dojox.gfx.matrix.Matrix2D - }, - - // ensure matrix 2D conformance - normalize: function(matrix){ - // summary: converts an object to a matrix, if necessary - // description: Converts any 2D matrix-like object or an array of - // such objects to a valid dojox.gfx.matrix.Matrix2D object. - // matrix: Object: an object, which is converted to a matrix, if necessary - return (matrix instanceof m.Matrix2D) ? matrix : new m.Matrix2D(matrix); // dojox.gfx.matrix.Matrix2D - }, - - // common operations - - clone: function(matrix){ - // summary: creates a copy of a 2D matrix - // matrix: dojox.gfx.matrix.Matrix2D: a 2D matrix-like object to be cloned - var obj = new m.Matrix2D(); - for(var i in matrix){ - if(typeof(matrix[i]) == "number" && typeof(obj[i]) == "number" && obj[i] != matrix[i]) obj[i] = matrix[i]; - } - return obj; // dojox.gfx.matrix.Matrix2D - }, - invert: function(matrix){ - // summary: inverts a 2D matrix - // matrix: dojox.gfx.matrix.Matrix2D: a 2D matrix-like object to be inverted - var M = m.normalize(matrix), - D = M.xx * M.yy - M.xy * M.yx, - M = new m.Matrix2D({ - xx: M.yy/D, xy: -M.xy/D, - yx: -M.yx/D, yy: M.xx/D, - dx: (M.xy * M.dy - M.yy * M.dx) / D, - dy: (M.yx * M.dx - M.xx * M.dy) / D - }); - return M; // dojox.gfx.matrix.Matrix2D - }, - _multiplyPoint: function(matrix, x, y){ - // summary: applies a matrix to a point - // matrix: dojox.gfx.matrix.Matrix2D: a 2D matrix object to be applied - // x: Number: an x coordinate of a point - // y: Number: a y coordinate of a point - return {x: matrix.xx * x + matrix.xy * y + matrix.dx, y: matrix.yx * x + matrix.yy * y + matrix.dy}; // dojox.gfx.Point - }, - multiplyPoint: function(matrix, /* Number||Point */ a, /* Number, optional */ b){ - // summary: applies a matrix to a point - // matrix: dojox.gfx.matrix.Matrix2D: a 2D matrix object to be applied - // a: Number: an x coordinate of a point - // b: Number: a y coordinate of a point - var M = m.normalize(matrix); - if(typeof a == "number" && typeof b == "number"){ - return m._multiplyPoint(M, a, b); // dojox.gfx.Point - } - // branch - // matrix: dojox.gfx.matrix.Matrix2D: a 2D matrix object to be applied - // a: dojox.gfx.Point: a point - // b: null - return m._multiplyPoint(M, a.x, a.y); // dojox.gfx.Point - }, - multiply: function(matrix){ - // summary: combines matrices by multiplying them sequentially in the given order - // matrix: dojox.gfx.matrix.Matrix2D...: a 2D matrix-like object, - // all subsequent arguments are matrix-like objects too - var M = m.normalize(matrix); - // combine matrices - for(var i = 1; i < arguments.length; ++i){ - var l = M, r = m.normalize(arguments[i]); - M = new m.Matrix2D(); - M.xx = l.xx * r.xx + l.xy * r.yx; - M.xy = l.xx * r.xy + l.xy * r.yy; - M.yx = l.yx * r.xx + l.yy * r.yx; - M.yy = l.yx * r.xy + l.yy * r.yy; - M.dx = l.xx * r.dx + l.xy * r.dy + l.dx; - M.dy = l.yx * r.dx + l.yy * r.dy + l.dy; - } - return M; // dojox.gfx.matrix.Matrix2D - }, - - // high level operations - - _sandwich: function(matrix, x, y){ - // summary: applies a matrix at a centrtal point - // matrix: dojox.gfx.matrix.Matrix2D: a 2D matrix-like object, which is applied at a central point - // x: Number: an x component of the central point - // y: Number: a y component of the central point - return m.multiply(m.translate(x, y), matrix, m.translate(-x, -y)); // dojox.gfx.matrix.Matrix2D - }, - scaleAt: function(a, b, c, d){ - // summary: scales a picture using a specified point as a center of scaling - // description: Compare with dojox.gfx.matrix.scale(). - // a: Number: a scaling factor used for the x coordinate - // b: Number: a scaling factor used for the y coordinate - // c: Number: an x component of a central point - // d: Number: a y component of a central point - - // accepts several signatures: - // 1) uniform scale factor, Point - // 2) uniform scale factor, x, y - // 3) x scale, y scale, Point - // 4) x scale, y scale, x, y - - switch(arguments.length){ - case 4: - // a and b are scale factor components, c and d are components of a point - return m._sandwich(m.scale(a, b), c, d); // dojox.gfx.matrix.Matrix2D - case 3: - if(typeof c == "number"){ - // branch - // a: Number: a uniform scaling factor used for both coordinates - // b: Number: an x component of a central point - // c: Number: a y component of a central point - // d: null - return m._sandwich(m.scale(a), b, c); // dojox.gfx.matrix.Matrix2D - } - // branch - // a: Number: a scaling factor used for the x coordinate - // b: Number: a scaling factor used for the y coordinate - // c: dojox.gfx.Point: a central point - // d: null - return m._sandwich(m.scale(a, b), c.x, c.y); // dojox.gfx.matrix.Matrix2D - } - // branch - // a: Number: a uniform scaling factor used for both coordinates - // b: dojox.gfx.Point: a central point - // c: null - // d: null - return m._sandwich(m.scale(a), b.x, b.y); // dojox.gfx.matrix.Matrix2D - }, - rotateAt: function(angle, a, b){ - // summary: rotates a picture using a specified point as a center of rotation - // description: Compare with dojox.gfx.matrix.rotate(). - // angle: Number: an angle of rotation in radians (>0 for CW) - // a: Number: an x component of a central point - // b: Number: a y component of a central point - - // accepts several signatures: - // 1) rotation angle in radians, Point - // 2) rotation angle in radians, x, y - - if(arguments.length > 2){ - return m._sandwich(m.rotate(angle), a, b); // dojox.gfx.matrix.Matrix2D - } - - // branch - // angle: Number: an angle of rotation in radians (>0 for CCW) - // a: dojox.gfx.Point: a central point - // b: null - return m._sandwich(m.rotate(angle), a.x, a.y); // dojox.gfx.matrix.Matrix2D - }, - rotategAt: function(degree, a, b){ - // summary: rotates a picture using a specified point as a center of rotation - // description: Compare with dojox.gfx.matrix.rotateg(). - // degree: Number: an angle of rotation in degrees (>0 for CW) - // a: Number: an x component of a central point - // b: Number: a y component of a central point - - // accepts several signatures: - // 1) rotation angle in degrees, Point - // 2) rotation angle in degrees, x, y - - if(arguments.length > 2){ - return m._sandwich(m.rotateg(degree), a, b); // dojox.gfx.matrix.Matrix2D - } - - // branch - // degree: Number: an angle of rotation in degrees (>0 for CCW) - // a: dojox.gfx.Point: a central point - // b: null - return m._sandwich(m.rotateg(degree), a.x, a.y); // dojox.gfx.matrix.Matrix2D - }, - skewXAt: function(angle, a, b){ - // summary: skews a picture along the x axis using a specified point as a center of skewing - // description: Compare with dojox.gfx.matrix.skewX(). - // angle: Number: an skewing angle in radians - // a: Number: an x component of a central point - // b: Number: a y component of a central point - - // accepts several signatures: - // 1) skew angle in radians, Point - // 2) skew angle in radians, x, y - - if(arguments.length > 2){ - return m._sandwich(m.skewX(angle), a, b); // dojox.gfx.matrix.Matrix2D - } - - // branch - // angle: Number: an skewing angle in radians - // a: dojox.gfx.Point: a central point - // b: null - return m._sandwich(m.skewX(angle), a.x, a.y); // dojox.gfx.matrix.Matrix2D - }, - skewXgAt: function(degree, a, b){ - // summary: skews a picture along the x axis using a specified point as a center of skewing - // description: Compare with dojox.gfx.matrix.skewXg(). - // degree: Number: an skewing angle in degrees - // a: Number: an x component of a central point - // b: Number: a y component of a central point - - // accepts several signatures: - // 1) skew angle in degrees, Point - // 2) skew angle in degrees, x, y - - if(arguments.length > 2){ - return m._sandwich(m.skewXg(degree), a, b); // dojox.gfx.matrix.Matrix2D - } - - // branch - // degree: Number: an skewing angle in degrees - // a: dojox.gfx.Point: a central point - // b: null - return m._sandwich(m.skewXg(degree), a.x, a.y); // dojox.gfx.matrix.Matrix2D - }, - skewYAt: function(angle, a, b){ - // summary: skews a picture along the y axis using a specified point as a center of skewing - // description: Compare with dojox.gfx.matrix.skewY(). - // angle: Number: an skewing angle in radians - // a: Number: an x component of a central point - // b: Number: a y component of a central point - - // accepts several signatures: - // 1) skew angle in radians, Point - // 2) skew angle in radians, x, y - - if(arguments.length > 2){ - return m._sandwich(m.skewY(angle), a, b); // dojox.gfx.matrix.Matrix2D - } - - // branch - // angle: Number: an skewing angle in radians - // a: dojox.gfx.Point: a central point - // b: null - return m._sandwich(m.skewY(angle), a.x, a.y); // dojox.gfx.matrix.Matrix2D - }, - skewYgAt: function(/* Number */ degree, /* Number||Point */ a, /* Number, optional */ b){ - // summary: skews a picture along the y axis using a specified point as a center of skewing - // description: Compare with dojox.gfx.matrix.skewYg(). - // degree: Number: an skewing angle in degrees - // a: Number: an x component of a central point - // b: Number: a y component of a central point - - // accepts several signatures: - // 1) skew angle in degrees, Point - // 2) skew angle in degrees, x, y - - if(arguments.length > 2){ - return m._sandwich(m.skewYg(degree), a, b); // dojox.gfx.matrix.Matrix2D - } - - // branch - // degree: Number: an skewing angle in degrees - // a: dojox.gfx.Point: a central point - // b: null - return m._sandwich(m.skewYg(degree), a.x, a.y); // dojox.gfx.matrix.Matrix2D - } - - //TODO: rect-to-rect mapping, scale-to-fit (isotropic and anisotropic versions) - - }); -})(); - -// propagate Matrix2D up -dojox.gfx.Matrix2D = dojox.gfx.matrix.Matrix2D; - -} diff --git a/includes/js/dojox/gfx/move.js b/includes/js/dojox/gfx/move.js deleted file mode 100644 index dba5ced..0000000 --- a/includes/js/dojox/gfx/move.js +++ /dev/null @@ -1,8 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.move"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.move"] = true; -dojo.provide("dojox.gfx.move"); - -dojo.require("dojox.gfx.Mover"); -dojo.require("dojox.gfx.Moveable"); - -} diff --git a/includes/js/dojox/gfx/path.js b/includes/js/dojox/gfx/path.js deleted file mode 100644 index 657136b..0000000 --- a/includes/js/dojox/gfx/path.js +++ /dev/null @@ -1,361 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.path"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.path"] = true; -dojo.provide("dojox.gfx.path"); - -dojo.require("dojox.gfx.shape"); - -dojo.declare("dojox.gfx.path.Path", dojox.gfx.Shape, { - // summary: a generalized path shape - - constructor: function(rawNode){ - // summary: a path constructor - // rawNode: Node: a DOM node to be used by this path object - this.shape = dojo.clone(dojox.gfx.defaultPath); - this.segments = []; - this.absolute = true; - this.last = {}; - this.rawNode = rawNode; - }, - - // mode manipulations - setAbsoluteMode: function(mode){ - // summary: sets an absolute or relative mode for path points - // mode: Boolean: true/false or "absolute"/"relative" to specify the mode - this.absolute = typeof mode == "string" ? (mode == "absolute") : mode; - return this; // self - }, - getAbsoluteMode: function(){ - // summary: returns a current value of the absolute mode - return this.absolute; // Boolean - }, - - getBoundingBox: function(){ - // summary: returns the bounding box {x, y, width, height} or null - return (this.bbox && ("l" in this.bbox)) ? {x: this.bbox.l, y: this.bbox.t, width: this.bbox.r - this.bbox.l, height: this.bbox.b - this.bbox.t} : null; // dojox.gfx.Rectangle - }, - - getLastPosition: function(){ - // summary: returns the last point in the path, or null - return "x" in this.last ? this.last : null; // Object - }, - - // segment interpretation - _updateBBox: function(x, y){ - // summary: updates the bounding box of path with new point - // x: Number: an x coordinate - // y: Number: a y coordinate - - // we use {l, b, r, t} representation of a bbox - if(this.bbox && ("l" in this.bbox)){ - if(this.bbox.l > x) this.bbox.l = x; - if(this.bbox.r < x) this.bbox.r = x; - if(this.bbox.t > y) this.bbox.t = y; - if(this.bbox.b < y) this.bbox.b = y; - }else{ - this.bbox = {l: x, b: y, r: x, t: y}; - } - }, - _updateWithSegment: function(segment){ - // summary: updates the bounding box of path with new segment - // segment: Object: a segment - var n = segment.args, l = n.length; - // update internal variables: bbox, absolute, last - switch(segment.action){ - case "M": - case "L": - case "C": - case "S": - case "Q": - case "T": - for(var i = 0; i < l; i += 2){ - this._updateBBox(n[i], n[i + 1]); - } - this.last.x = n[l - 2]; - this.last.y = n[l - 1]; - this.absolute = true; - break; - case "H": - for(var i = 0; i < l; ++i){ - this._updateBBox(n[i], this.last.y); - } - this.last.x = n[l - 1]; - this.absolute = true; - break; - case "V": - for(var i = 0; i < l; ++i){ - this._updateBBox(this.last.x, n[i]); - } - this.last.y = n[l - 1]; - this.absolute = true; - break; - case "m": - var start = 0; - if(!("x" in this.last)){ - this._updateBBox(this.last.x = n[0], this.last.y = n[1]); - start = 2; - } - for(var i = start; i < l; i += 2){ - this._updateBBox(this.last.x += n[i], this.last.y += n[i + 1]); - } - this.absolute = false; - break; - case "l": - case "t": - for(var i = 0; i < l; i += 2){ - this._updateBBox(this.last.x += n[i], this.last.y += n[i + 1]); - } - this.absolute = false; - break; - case "h": - for(var i = 0; i < l; ++i){ - this._updateBBox(this.last.x += n[i], this.last.y); - } - this.absolute = false; - break; - case "v": - for(var i = 0; i < l; ++i){ - this._updateBBox(this.last.x, this.last.y += n[i]); - } - this.absolute = false; - break; - case "c": - for(var i = 0; i < l; i += 6){ - this._updateBBox(this.last.x + n[i], this.last.y + n[i + 1]); - this._updateBBox(this.last.x + n[i + 2], this.last.y + n[i + 3]); - this._updateBBox(this.last.x += n[i + 4], this.last.y += n[i + 5]); - } - this.absolute = false; - break; - case "s": - case "q": - for(var i = 0; i < l; i += 4){ - this._updateBBox(this.last.x + n[i], this.last.y + n[i + 1]); - this._updateBBox(this.last.x += n[i + 2], this.last.y += n[i + 3]); - } - this.absolute = false; - break; - case "A": - for(var i = 0; i < l; i += 7){ - this._updateBBox(n[i + 5], n[i + 6]); - } - this.last.x = n[l - 2]; - this.last.y = n[l - 1]; - this.absolute = true; - break; - case "a": - for(var i = 0; i < l; i += 7){ - this._updateBBox(this.last.x += n[i + 5], this.last.y += n[i + 6]); - } - this.absolute = false; - break; - } - // add an SVG path segment - var path = [segment.action]; - for(var i = 0; i < l; ++i){ - path.push(dojox.gfx.formatNumber(n[i], true)); - } - if(typeof this.shape.path == "string"){ - this.shape.path += path.join(""); - }else{ - var l = path.length, a = this.shape.path; - for(var i = 0; i < l; ++i){ - a.push(path[i]); - } - } - }, - - // a dictionary, which maps segment type codes to a number of their argemnts - _validSegments: {m: 2, l: 2, h: 1, v: 1, c: 6, s: 4, q: 4, t: 2, a: 7, z: 0}, - - _pushSegment: function(action, args){ - // summary: adds a segment - // action: String: valid SVG code for a segment's type - // args: Array: a list of parameters for this segment - var group = this._validSegments[action.toLowerCase()]; - if(typeof group == "number"){ - if(group){ - if(args.length >= group){ - var segment = {action: action, args: args.slice(0, args.length - args.length % group)}; - this.segments.push(segment); - this._updateWithSegment(segment); - } - }else{ - var segment = {action: action, args: []}; - this.segments.push(segment); - this._updateWithSegment(segment); - } - } - }, - - _collectArgs: function(array, args){ - // summary: converts an array of arguments to plain numeric values - // array: Array: an output argument (array of numbers) - // args: Array: an input argument (can be values of Boolean, Number, dojox.gfx.Point, or an embedded array of them) - for(var i = 0; i < args.length; ++i){ - var t = args[i]; - if(typeof t == "boolean"){ - array.push(t ? 1 : 0); - }else if(typeof t == "number"){ - array.push(t); - }else if(t instanceof Array){ - this._collectArgs(array, t); - }else if("x" in t && "y" in t){ - array.push(t.x, t.y); - } - } - }, - - // segments - moveTo: function(){ - // summary: formes a move segment - var args = []; - this._collectArgs(args, arguments); - this._pushSegment(this.absolute ? "M" : "m", args); - return this; // self - }, - lineTo: function(){ - // summary: formes a line segment - var args = []; - this._collectArgs(args, arguments); - this._pushSegment(this.absolute ? "L" : "l", args); - return this; // self - }, - hLineTo: function(){ - // summary: formes a horizontal line segment - var args = []; - this._collectArgs(args, arguments); - this._pushSegment(this.absolute ? "H" : "h", args); - return this; // self - }, - vLineTo: function(){ - // summary: formes a vertical line segment - var args = []; - this._collectArgs(args, arguments); - this._pushSegment(this.absolute ? "V" : "v", args); - return this; // self - }, - curveTo: function(){ - // summary: formes a curve segment - var args = []; - this._collectArgs(args, arguments); - this._pushSegment(this.absolute ? "C" : "c", args); - return this; // self - }, - smoothCurveTo: function(){ - // summary: formes a smooth curve segment - var args = []; - this._collectArgs(args, arguments); - this._pushSegment(this.absolute ? "S" : "s", args); - return this; // self - }, - qCurveTo: function(){ - // summary: formes a quadratic curve segment - var args = []; - this._collectArgs(args, arguments); - this._pushSegment(this.absolute ? "Q" : "q", args); - return this; // self - }, - qSmoothCurveTo: function(){ - // summary: formes a quadratic smooth curve segment - var args = []; - this._collectArgs(args, arguments); - this._pushSegment(this.absolute ? "T" : "t", args); - return this; // self - }, - arcTo: function(){ - // summary: formes an elliptic arc segment - var args = []; - this._collectArgs(args, arguments); - this._pushSegment(this.absolute ? "A" : "a", args); - return this; // self - }, - closePath: function(){ - // summary: closes a path - this._pushSegment("Z", []); - return this; // self - }, - - // setShape - _setPath: function(path){ - // summary: forms a path using an SVG path string - // path: String: an SVG path string - var p = dojo.isArray(path) ? path : path.match(dojox.gfx.pathSvgRegExp); - this.segments = []; - this.absolute = true; - this.bbox = {}; - this.last = {}; - if(!p) return; - // create segments - var action = "", // current action - args = [], // current arguments - l = p.length; - for(var i = 0; i < l; ++i){ - var t = p[i], x = parseFloat(t); - if(isNaN(x)){ - if(action){ - this._pushSegment(action, args); - } - args = []; - action = t; - }else{ - args.push(x); - } - } - this._pushSegment(action, args); - }, - setShape: function(newShape){ - // summary: forms a path using a shape - // newShape: Object: an SVG path string or a path object (see dojox.gfx.defaultPath) - dojox.gfx.Shape.prototype.setShape.call(this, typeof newShape == "string" ? {path: newShape} : newShape); - var path = this.shape.path; - // switch to non-updating version of path building - this.shape.path = []; - this._setPath(path); - // switch back to the string path - this.shape.path = this.shape.path.join(""); - return this; // self - }, - - // useful constant for descendants - _2PI: Math.PI * 2 -}); - -dojo.declare("dojox.gfx.path.TextPath", dojox.gfx.path.Path, { - // summary: a generalized TextPath shape - - constructor: function(rawNode){ - // summary: a TextPath shape constructor - // rawNode: Node: a DOM node to be used by this TextPath object - if(!("text" in this)){ - this.text = dojo.clone(dojox.gfx.defaultTextPath); - } - if(!("fontStyle" in this)){ - this.fontStyle = dojo.clone(dojox.gfx.defaultFont); - } - }, - getText: function(){ - // summary: returns the current text object or null - return this.text; // Object - }, - setText: function(newText){ - // summary: sets a text to be drawn along the path - this.text = dojox.gfx.makeParameters(this.text, - typeof newText == "string" ? {text: newText} : newText); - this._setText(); - return this; // self - }, - getFont: function(){ - // summary: returns the current font object or null - return this.fontStyle; // Object - }, - setFont: function(newFont){ - // summary: sets a font for text - this.fontStyle = typeof newFont == "string" ? - dojox.gfx.splitFontString(newFont) : - dojox.gfx.makeParameters(dojox.gfx.defaultFont, newFont); - this._setFont(); - return this; // self - } -}); - -} diff --git a/includes/js/dojox/gfx/shape.js b/includes/js/dojox/gfx/shape.js deleted file mode 100644 index 179f6c5..0000000 --- a/includes/js/dojox/gfx/shape.js +++ /dev/null @@ -1,691 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.shape"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.shape"] = true; -dojo.provide("dojox.gfx.shape"); - -dojo.require("dojox.gfx._base"); - -dojo.declare("dojox.gfx.Shape", null, { - // summary: a Shape object, which knows how to apply - // graphical attributes and transformations - - constructor: function(){ - // rawNode: Node: underlying node - this.rawNode = null; - - // shape: Object: an abstract shape object - // (see dojox.gfx.defaultPath, - // dojox.gfx.defaultPolyline, - // dojox.gfx.defaultRect, - // dojox.gfx.defaultEllipse, - // dojox.gfx.defaultCircle, - // dojox.gfx.defaultLine, - // or dojox.gfx.defaultImage) - this.shape = null; - - // matrix: dojox.gfx.Matrix2D: a transformation matrix - this.matrix = null; - - // fillStyle: Object: a fill object - // (see dojox.gfx.defaultLinearGradient, - // dojox.gfx.defaultRadialGradient, - // dojox.gfx.defaultPattern, - // or dojo.Color) - this.fillStyle = null; - - // strokeStyle: Object: a stroke object - // (see dojox.gfx.defaultStroke) - this.strokeStyle = null; - - // bbox: dojox.gfx.Rectangle: a bounding box of this shape - // (see dojox.gfx.defaultRect) - this.bbox = null; - - // virtual group structure - - // parent: Object: a parent or null - // (see dojox.gfx.Surface, - // dojox.gfx.shape.VirtualGroup, - // or dojox.gfx.Group) - this.parent = null; - - // parentMatrix: dojox.gfx.Matrix2D - // a transformation matrix inherited from the parent - this.parentMatrix = null; - }, - - // trivial getters - - getNode: function(){ - // summary: returns the current DOM Node or null - return this.rawNode; // Node - }, - getShape: function(){ - // summary: returns the current shape object or null - // (see dojox.gfx.defaultPath, - // dojox.gfx.defaultPolyline, - // dojox.gfx.defaultRect, - // dojox.gfx.defaultEllipse, - // dojox.gfx.defaultCircle, - // dojox.gfx.defaultLine, - // or dojox.gfx.defaultImage) - return this.shape; // Object - }, - getTransform: function(){ - // summary: returns the current transformation matrix or null - return this.matrix; // dojox.gfx.Matrix2D - }, - getFill: function(){ - // summary: returns the current fill object or null - // (see dojox.gfx.defaultLinearGradient, - // dojox.gfx.defaultRadialGradient, - // dojox.gfx.defaultPattern, - // or dojo.Color) - return this.fillStyle; // Object - }, - getStroke: function(){ - // summary: returns the current stroke object or null - // (see dojox.gfx.defaultStroke) - return this.strokeStyle; // Object - }, - getParent: function(){ - // summary: returns the parent or null - // (see dojox.gfx.Surface, - // dojox.gfx.shape.VirtualGroup, - // or dojox.gfx.Group) - return this.parent; // Object - }, - getBoundingBox: function(){ - // summary: returns the bounding box or null - // (see dojox.gfx.defaultRect) - return this.bbox; // dojox.gfx.Rectangle - }, - getTransformedBoundingBox: function(){ - // summary: returns an array of four points or null - // four points represent four corners of the untransformed bounding box - var b = this.getBoundingBox(); - if(!b){ - return null; // null - } - var m = this._getRealMatrix(); - var r = []; - var g = dojox.gfx.matrix; - r.push(g.multiplyPoint(m, b.x, b.y)); - r.push(g.multiplyPoint(m, b.x + b.width, b.y)); - r.push(g.multiplyPoint(m, b.x + b.width, b.y + b.height)); - r.push(g.multiplyPoint(m, b.x, b.y + b.height)); - return r; // Array - }, - getEventSource: function(){ - // summary: returns a Node, which is used as - // a source of events for this shape - - // COULD BE RE-IMPLEMENTED BY THE RENDERER! - - return this.rawNode; // Node - }, - - // empty settings - - setShape: function(shape){ - // summary: sets a shape object - // (the default implementation simply ignores it) - // shape: Object: a shape object - // (see dojox.gfx.defaultPath, - // dojox.gfx.defaultPolyline, - // dojox.gfx.defaultRect, - // dojox.gfx.defaultEllipse, - // dojox.gfx.defaultCircle, - // dojox.gfx.defaultLine, - // or dojox.gfx.defaultImage) - - // COULD BE RE-IMPLEMENTED BY THE RENDERER! - - this.shape = dojox.gfx.makeParameters(this.shape, shape); - this.bbox = null; - return this; // self - }, - setFill: function(fill){ - // summary: sets a fill object - // (the default implementation simply ignores it) - // fill: Object: a fill object - // (see dojox.gfx.defaultLinearGradient, - // dojox.gfx.defaultRadialGradient, - // dojox.gfx.defaultPattern, - // or dojo.Color) - - // COULD BE RE-IMPLEMENTED BY THE RENDERER! - - if(!fill){ - // don't fill - this.fillStyle = null; - return this; // self - } - var f = null; - if(typeof(fill) == "object" && "type" in fill){ - // gradient or pattern - switch(fill.type){ - case "linear": - f = dojox.gfx.makeParameters(dojox.gfx.defaultLinearGradient, fill); - break; - case "radial": - f = dojox.gfx.makeParameters(dojox.gfx.defaultRadialGradient, fill); - break; - case "pattern": - f = dojox.gfx.makeParameters(dojox.gfx.defaultPattern, fill); - break; - } - }else{ - // color object - f = dojox.gfx.normalizeColor(fill); - } - this.fillStyle = f; - return this; // self - }, - setStroke: function(stroke){ - // summary: sets a stroke object - // (the default implementation simply ignores it) - // stroke: Object: a stroke object - // (see dojox.gfx.defaultStroke) - - // COULD BE RE-IMPLEMENTED BY THE RENDERER! - - if(!stroke){ - // don't stroke - this.strokeStyle = null; - return this; // self - } - // normalize the stroke - if(typeof stroke == "string"){ - stroke = {color: stroke}; - } - var s = this.strokeStyle = dojox.gfx.makeParameters(dojox.gfx.defaultStroke, stroke); - s.color = dojox.gfx.normalizeColor(s.color); - return this; // self - }, - setTransform: function(matrix){ - // summary: sets a transformation matrix - // matrix: dojox.gfx.Matrix2D: a matrix or a matrix-like object - // (see an argument of dojox.gfx.Matrix2D - // constructor for a list of acceptable arguments) - - // COULD BE RE-IMPLEMENTED BY THE RENDERER! - - this.matrix = dojox.gfx.matrix.clone(matrix ? dojox.gfx.matrix.normalize(matrix) : dojox.gfx.matrix.identity); - return this._applyTransform(); // self - }, - - _applyTransform: function(){ - // summary: physically sets a matrix - - // COULD BE RE-IMPLEMENTED BY THE RENDERER! - - return this; // self - }, - - // z-index - - moveToFront: function(){ - // summary: moves a shape to front of its parent's list of shapes - var p = this.getParent(); - if(p){ - p._moveChildToFront(this); - this._moveToFront(); // execute renderer-specific action - } - return this; // self - }, - moveToBack: function(){ - // summary: moves a shape to back of its parent's list of shapes - var p = this.getParent(); - if(p){ - p._moveChildToBack(this); - this._moveToBack(); // execute renderer-specific action - } - return this; - }, - _moveToFront: function(){ - // summary: renderer-specific hook, see dojox.gfx.shape.Shape.moveToFront() - - // COULD BE RE-IMPLEMENTED BY THE RENDERER! - }, - _moveToBack: function(){ - // summary: renderer-specific hook, see dojox.gfx.shape.Shape.moveToFront() - - // COULD BE RE-IMPLEMENTED BY THE RENDERER! - }, - - // apply left & right transformation - - applyRightTransform: function(matrix){ - // summary: multiplies the existing matrix with an argument on right side - // (this.matrix * matrix) - // matrix: dojox.gfx.Matrix2D: a matrix or a matrix-like object - // (see an argument of dojox.gfx.Matrix2D - // constructor for a list of acceptable arguments) - return matrix ? this.setTransform([this.matrix, matrix]) : this; // self - }, - applyLeftTransform: function(matrix){ - // summary: multiplies the existing matrix with an argument on left side - // (matrix * this.matrix) - // matrix: dojox.gfx.Matrix2D: a matrix or a matrix-like object - // (see an argument of dojox.gfx.Matrix2D - // constructor for a list of acceptable arguments) - return matrix ? this.setTransform([matrix, this.matrix]) : this; // self - }, - applyTransform: function(matrix){ - // summary: a shortcut for dojox.gfx.Shape.applyRightTransform - // matrix: dojox.gfx.Matrix2D: a matrix or a matrix-like object - // (see an argument of dojox.gfx.Matrix2D - // constructor for a list of acceptable arguments) - return matrix ? this.setTransform([this.matrix, matrix]) : this; // self - }, - - // virtual group methods - - removeShape: function(silently){ - // summary: removes the shape from its parent's list of shapes - // silently: Boolean?: if true, do not redraw a picture yet - if(this.parent){ - this.parent.remove(this, silently); - } - return this; // self - }, - _setParent: function(parent, matrix){ - // summary: sets a parent - // parent: Object: a parent or null - // (see dojox.gfx.Surface, - // dojox.gfx.shape.VirtualGroup, - // or dojox.gfx.Group) - // matrix: dojox.gfx.Matrix2D: - // a 2D matrix or a matrix-like object - this.parent = parent; - return this._updateParentMatrix(matrix); // self - }, - _updateParentMatrix: function(matrix){ - // summary: updates the parent matrix with new matrix - // matrix: dojox.gfx.Matrix2D: - // a 2D matrix or a matrix-like object - this.parentMatrix = matrix ? dojox.gfx.matrix.clone(matrix) : null; - return this._applyTransform(); // self - }, - _getRealMatrix: function(){ - // summary: returns the cumulative ("real") transformation matrix - // by combining the shape's matrix with its parent's matrix - var m = this.matrix; - var p = this.parent; - while(p){ - if(p.matrix){ - m = dojox.gfx.matrix.multiply(p.matrix, m); - } - p = p.parent; - } - return m; // dojox.gfx.Matrix2D - } -}); - -dojox.gfx.shape._eventsProcessing = { - connect: function(name, object, method){ - // summary: connects a handler to an event on this shape - - // COULD BE RE-IMPLEMENTED BY THE RENDERER! - - return arguments.length > 2 ? // Object - dojo.connect(this.getEventSource(), name, object, method) : - dojo.connect(this.getEventSource(), name, object); - }, - disconnect: function(token){ - // summary: connects a handler by token from an event on this shape - - // COULD BE RE-IMPLEMENTED BY THE RENDERER! - - dojo.disconnect(token); - } -}; - -dojo.extend(dojox.gfx.Shape, dojox.gfx.shape._eventsProcessing); - -dojox.gfx.shape.Container = { - // summary: a container of shapes, which can be used - // as a foundation for renderer-specific groups, or as a way - // to logically group shapes (e.g, to propagate matricies) - - _init: function() { - // children: Array: a list of children - this.children = []; - }, - - // group management - - add: function(shape){ - // summary: adds a shape to the list - // shape: dojox.gfx.Shape: a shape - var oldParent = shape.getParent(); - if(oldParent){ - oldParent.remove(shape, true); - } - this.children.push(shape); - return shape._setParent(this, this._getRealMatrix()); // self - }, - remove: function(shape, silently){ - // summary: removes a shape from the list - // silently: Boolean?: if true, do not redraw a picture yet - for(var i = 0; i < this.children.length; ++i){ - if(this.children[i] == shape){ - if(silently){ - // skip for now - }else{ - shape._setParent(null, null); - } - this.children.splice(i, 1); - break; - } - } - return this; // self - }, - clear: function(){ - // summary: removes all shapes from a group/surface - this.children = []; - return this; // self - }, - - // moving child nodes - - _moveChildToFront: function(shape){ - // summary: moves a shape to front of the list of shapes - for(var i = 0; i < this.children.length; ++i){ - if(this.children[i] == shape){ - this.children.splice(i, 1); - this.children.push(shape); - break; - } - } - return this; // self - }, - _moveChildToBack: function(shape){ - // summary: moves a shape to back of the list of shapes - for(var i = 0; i < this.children.length; ++i){ - if(this.children[i] == shape){ - this.children.splice(i, 1); - this.children.unshift(shape); - break; - } - } - return this; // self - } -}; - -dojo.declare("dojox.gfx.shape.Surface", null, { - // summary: a surface object to be used for drawings - constructor: function(){ - // underlying node - this.rawNode = null; - }, - getEventSource: function(){ - // summary: returns a node, which can be used to attach event listeners - return this.rawNode; // Node - }, - _getRealMatrix: function(){ - // summary: always returns the identity matrix - return null; // dojox.gfx.Matrix2D - } -}); - -dojo.extend(dojox.gfx.shape.Surface, dojox.gfx.shape._eventsProcessing); - -dojo.declare("dojox.gfx.Point", null, { - // summary: a hypothetical 2D point to be used for drawings - {x, y} - // description: This object is defined for documentation purposes. - // You should use the naked object instead: {x: 1, y: 2}. -}); - -dojo.declare("dojox.gfx.Rectangle", null, { - // summary: a hypothetical rectangle - {x, y, width, height} - // description: This object is defined for documentation purposes. - // You should use the naked object instead: {x: 1, y: 2, width: 100, height: 200}. -}); - -dojo.declare("dojox.gfx.shape.Rect", dojox.gfx.Shape, { - // summary: a generic rectangle - constructor: function(rawNode) { - // rawNode: Node: a DOM Node - this.shape = dojo.clone(dojox.gfx.defaultRect); - this.rawNode = rawNode; - }, - getBoundingBox: function(){ - // summary: returns the bounding box (its shape in this case) - return this.shape; // dojox.gfx.Rectangle - } -}); - -dojo.declare("dojox.gfx.shape.Ellipse", dojox.gfx.Shape, { - // summary: a generic ellipse - constructor: function(rawNode) { - // rawNode: Node: a DOM Node - this.shape = dojo.clone(dojox.gfx.defaultEllipse); - this.rawNode = rawNode; - }, - getBoundingBox: function(){ - // summary: returns the bounding box - if(!this.bbox){ - var shape = this.shape; - this.bbox = {x: shape.cx - shape.rx, y: shape.cy - shape.ry, - width: 2 * shape.rx, height: 2 * shape.ry}; - } - return this.bbox; // dojox.gfx.Rectangle - } -}); - -dojo.declare("dojox.gfx.shape.Circle", dojox.gfx.Shape, { - // summary: a generic circle - // (this is a helper object, which is defined for convenience) - constructor: function(rawNode) { - // rawNode: Node: a DOM Node - this.shape = dojo.clone(dojox.gfx.defaultCircle); - this.rawNode = rawNode; - }, - getBoundingBox: function(){ - // summary: returns the bounding box - if(!this.bbox){ - var shape = this.shape; - this.bbox = {x: shape.cx - shape.r, y: shape.cy - shape.r, - width: 2 * shape.r, height: 2 * shape.r}; - } - return this.bbox; // dojox.gfx.Rectangle - } -}); - -dojo.declare("dojox.gfx.shape.Line", dojox.gfx.Shape, { - // summary: a generic line - // (this is a helper object, which is defined for convenience) - constructor: function(rawNode) { - // rawNode: Node: a DOM Node - this.shape = dojo.clone(dojox.gfx.defaultLine); - this.rawNode = rawNode; - }, - getBoundingBox: function(){ - // summary: returns the bounding box - if(!this.bbox){ - var shape = this.shape; - this.bbox = { - x: Math.min(shape.x1, shape.x2), - y: Math.min(shape.y1, shape.y2), - width: Math.abs(shape.x2 - shape.x1), - height: Math.abs(shape.y2 - shape.y1) - }; - } - return this.bbox; // dojox.gfx.Rectangle - } -}); - -dojo.declare("dojox.gfx.shape.Polyline", dojox.gfx.Shape, { - // summary: a generic polyline/polygon - // (this is a helper object, which is defined for convenience) - constructor: function(rawNode) { - // rawNode: Node: a DOM Node - this.shape = dojo.clone(dojox.gfx.defaultPolyline); - this.rawNode = rawNode; - }, - setShape: function(points, closed){ - // summary: sets a polyline/polygon shape object - // points: Object: a polyline/polygon shape object - // closed: Boolean: close the polyline to make a polygon - if(points && points instanceof Array){ - // points: Array: an array of points - dojox.gfx.Shape.prototype.setShape.call(this, {points: points}); - if(closed && this.shape.points.length){ - this.shape.points.push(this.shape.points[0]); - } - }else{ - dojox.gfx.Shape.prototype.setShape.call(this, points); - } - return this; // self - }, - getBoundingBox: function(){ - // summary: returns the bounding box - if(!this.bbox && this.shape.points.length){ - var p = this.shape.points; - var l = p.length; - var t = p[0]; - var bbox = {l: t.x, t: t.y, r: t.x, b: t.y}; - for(var i = 1; i < l; ++i){ - t = p[i]; - if(bbox.l > t.x) bbox.l = t.x; - if(bbox.r < t.x) bbox.r = t.x; - if(bbox.t > t.y) bbox.t = t.y; - if(bbox.b < t.y) bbox.b = t.y; - } - this.bbox = { - x: bbox.l, - y: bbox.t, - width: bbox.r - bbox.l, - height: bbox.b - bbox.t - }; - } - return this.bbox; // dojox.gfx.Rectangle - } -}); - -dojo.declare("dojox.gfx.shape.Image", dojox.gfx.Shape, { - // summary: a generic image - // (this is a helper object, which is defined for convenience) - constructor: function(rawNode) { - // rawNode: Node: a DOM Node - this.shape = dojo.clone(dojox.gfx.defaultImage); - this.rawNode = rawNode; - }, - getBoundingBox: function(){ - // summary: returns the bounding box (its shape in this case) - return this.shape; // dojox.gfx.Rectangle - }, - setStroke: function(){ - // summary: ignore setting a stroke style - return this; // self - }, - setFill: function(){ - // summary: ignore setting a fill style - return this; // self - } -}); - -dojo.declare("dojox.gfx.shape.Text", dojox.gfx.Shape, { - // summary: a generic text - constructor: function(rawNode) { - // rawNode: Node: a DOM Node - this.fontStyle = null; - this.shape = dojo.clone(dojox.gfx.defaultText); - this.rawNode = rawNode; - }, - getFont: function(){ - // summary: returns the current font object or null - return this.fontStyle; // Object - }, - setFont: function(newFont){ - // summary: sets a font for text - // newFont: Object: a font object (see dojox.gfx.defaultFont) or a font string - this.fontStyle = typeof newFont == "string" ? dojox.gfx.splitFontString(newFont) : - dojox.gfx.makeParameters(dojox.gfx.defaultFont, newFont); - this._setFont(); - return this; // self - } -}); - -dojox.gfx.shape.Creator = { - // summary: shape creators - createShape: function(shape){ - // summary: creates a shape object based on its type; it is meant to be used - // by group-like objects - // shape: Object: a shape descriptor object - switch(shape.type){ - case dojox.gfx.defaultPath.type: return this.createPath(shape); - case dojox.gfx.defaultRect.type: return this.createRect(shape); - case dojox.gfx.defaultCircle.type: return this.createCircle(shape); - case dojox.gfx.defaultEllipse.type: return this.createEllipse(shape); - case dojox.gfx.defaultLine.type: return this.createLine(shape); - case dojox.gfx.defaultPolyline.type: return this.createPolyline(shape); - case dojox.gfx.defaultImage.type: return this.createImage(shape); - case dojox.gfx.defaultText.type: return this.createText(shape); - case dojox.gfx.defaultTextPath.type: return this.createTextPath(shape); - } - return null; - }, - createGroup: function(){ - // summary: creates an SVG group shape - return this.createObject(dojox.gfx.Group); // dojox.gfx.Group - }, - createRect: function(rect){ - // summary: creates an SVG rectangle shape - // rect: Object: a path object (see dojox.gfx.defaultRect) - return this.createObject(dojox.gfx.Rect, rect); // dojox.gfx.Rect - }, - createEllipse: function(ellipse){ - // summary: creates an SVG ellipse shape - // ellipse: Object: an ellipse object (see dojox.gfx.defaultEllipse) - return this.createObject(dojox.gfx.Ellipse, ellipse); // dojox.gfx.Ellipse - }, - createCircle: function(circle){ - // summary: creates an SVG circle shape - // circle: Object: a circle object (see dojox.gfx.defaultCircle) - return this.createObject(dojox.gfx.Circle, circle); // dojox.gfx.Circle - }, - createLine: function(line){ - // summary: creates an SVG line shape - // line: Object: a line object (see dojox.gfx.defaultLine) - return this.createObject(dojox.gfx.Line, line); // dojox.gfx.Line - }, - createPolyline: function(points){ - // summary: creates an SVG polyline/polygon shape - // points: Object: a points object (see dojox.gfx.defaultPolyline) - // or an Array of points - return this.createObject(dojox.gfx.Polyline, points); // dojox.gfx.Polyline - }, - createImage: function(image){ - // summary: creates an SVG image shape - // image: Object: an image object (see dojox.gfx.defaultImage) - return this.createObject(dojox.gfx.Image, image); // dojox.gfx.Image - }, - createText: function(text){ - // summary: creates an SVG text shape - // text: Object: a text object (see dojox.gfx.defaultText) - return this.createObject(dojox.gfx.Text, text); // dojox.gfx.Text - }, - createPath: function(path){ - // summary: creates an SVG path shape - // path: Object: a path object (see dojox.gfx.defaultPath) - return this.createObject(dojox.gfx.Path, path); // dojox.gfx.Path - }, - createTextPath: function(text){ - // summary: creates an SVG text shape - // text: Object: a textpath object (see dojox.gfx.defaultTextPath) - return this.createObject(dojox.gfx.TextPath, {}).setText(text); // dojox.gfx.TextPath - }, - createObject: function(shapeType, rawShape){ - // summary: creates an instance of the passed shapeType class - // shapeType: Function: a class constructor to create an instance of - // rawShape: Object: properties to be passed in to the classes "setShape" method - - // SHOULD BE RE-IMPLEMENTED BY THE RENDERER! - - return null; // dojox.gfx.Shape - } -}; - -} diff --git a/includes/js/dojox/gfx/silverlight.js b/includes/js/dojox/gfx/silverlight.js deleted file mode 100644 index 7a4becc..0000000 --- a/includes/js/dojox/gfx/silverlight.js +++ /dev/null @@ -1,693 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.silverlight"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.silverlight"] = true; -dojo.provide("dojox.gfx.silverlight"); - -dojo.require("dojox.gfx._base"); -dojo.require("dojox.gfx.shape"); -dojo.require("dojox.gfx.path"); - -dojo.experimental("dojox.gfx.silverlight"); - -dojox.gfx.silverlight.dasharray = { - solid: "none", - shortdash: [4, 1], - shortdot: [1, 1], - shortdashdot: [4, 1, 1, 1], - shortdashdotdot: [4, 1, 1, 1, 1, 1], - dot: [1, 3], - dash: [4, 3], - longdash: [8, 3], - dashdot: [4, 3, 1, 3], - longdashdot: [8, 3, 1, 3], - longdashdotdot: [8, 3, 1, 3, 1, 3] -}; - -dojox.gfx.silverlight.fontweight = { - normal: 400, - bold: 700 -}; - -dojox.gfx.silverlight.caps = {butt: "Flat", round: "Round", square: "Square"}; -dojox.gfx.silverlight.joins = {bevel: "Bevel", round: "Round"}; - -dojox.gfx.silverlight.fonts = { - serif: "Times New Roman", - times: "Times New Roman", - "sans-serif": "Arial", - helvetica: "Arial", - monotone: "Courier New", - courier: "Courier New" -}; - -dojox.gfx.silverlight.hexColor = function(/*String|Array|dojo.Color*/ color){ - // summary: converts a color object to a Silverlight hex color string (#aarrggbb) - var c = dojox.gfx.normalizeColor(color), - t = c.toHex(), a = Math.round(c.a * 255); - a = (a < 0 ? 0 : a > 255 ? 255 : a).toString(16); - return "#" + (a.length < 2 ? "0" + a : a) + t.slice(1); // String -}; - -dojo.extend(dojox.gfx.Shape, { - // summary: Silverlight-specific implementation of dojox.gfx.Shape methods - - setFill: function(fill){ - // summary: sets a fill object (Silverlight) - // fill: Object: a fill object - // (see dojox.gfx.defaultLinearGradient, - // dojox.gfx.defaultRadialGradient, - // dojox.gfx.defaultPattern, - // or dojo.Color) - - var p = this.rawNode.getHost().content, r = this.rawNode, f; - if(!fill){ - // don't fill - this.fillStyle = null; - this._setFillAttr(null); - return this; // self - } - if(typeof(fill) == "object" && "type" in fill){ - // gradient - switch(fill.type){ - case "linear": - this.fillStyle = f = dojox.gfx.makeParameters(dojox.gfx.defaultLinearGradient, fill); - var lgb = p.createFromXaml(""); - lgb.mappingMode = "Absolute"; - lgb.startPoint = f.x1 + "," + f.y1; - lgb.endPoint = f.x2 + "," + f.y2; - dojo.forEach(f.colors, function(c){ - var t = p.createFromXaml(""); - t.offset = c.offset; - t.color = dojox.gfx.silverlight.hexColor(c.color); - lgb.gradientStops.add(t); - }); - this._setFillAttr(lgb); - break; - case "radial": - this.fillStyle = f = dojox.gfx.makeParameters(dojox.gfx.defaultRadialGradient, fill); - var rgb = p.createFromXaml(""), w = r.width, h = r.height, - l = this.rawNode["Canvas.Left"], t = this.rawNode["Canvas.Top"]; - rgb.center = (f.cx - l) / w + "," + (f.cy - t) / h; - rgb.radiusX = f.r / w; - rgb.radiusY = f.r / h; - dojo.forEach(f.colors, function(c){ - var t = p.createFromXaml(""); - t.offset = c.offset; - t.color = dojox.gfx.silverlight.hexColor(c.color); - rgb.gradientStops.add(t); - }); - this._setFillAttr(rgb); - break; - case "pattern": - // don't fill: Silverlight doesn't define TileBrush for some reason - this.fillStyle = null; - this._setFillAttr(null); - break; - } - return this; // self - } - // color object - this.fillStyle = f = dojox.gfx.normalizeColor(fill); - var scb = p.createFromXaml(""); - scb.color = f.toHex(); - scb.opacity = f.a; - this._setFillAttr(scb); - return this; // self - }, - _setFillAttr: function(f){ - this.rawNode.fill = f; - }, - - setStroke: function(stroke){ - // summary: sets a stroke object (Silverlight) - // stroke: Object: a stroke object - // (see dojox.gfx.defaultStroke) - - var p = this.rawNode.getHost().content, r = this.rawNode; - if(!stroke){ - // don't stroke - this.strokeStyle = null; - r.stroke = null; - return this; - } - // normalize the stroke - if(typeof stroke == "string"){ - stroke = {color: stroke}; - } - var s = this.strokeStyle = dojox.gfx.makeParameters(dojox.gfx.defaultStroke, stroke); - s.color = dojox.gfx.normalizeColor(s.color); - // generate attributes - if(s){ - var scb = p.createFromXaml(""); - scb.color = s.color.toHex(); - scb.opacity = s.color.a; - r.stroke = scb; - r.strokeThickness = s.width; - r.strokeStartLineCap = r.strokeEndLineCap = r.strokeDashCap = - dojox.gfx.silverlight.caps[s.cap]; - if(typeof s.join == "number"){ - r.strokeLineJoin = "Miter"; - r.strokeMiterLimit = s.join; - }else{ - r.strokeLineJoin = dojox.gfx.silverlight.joins[s.join]; - } - var da = s.style.toLowerCase(); - if(da in dojox.gfx.silverlight.dasharray){ da = dojox.gfx.silverlight.dasharray[da]; } - if(da instanceof Array){ - da = dojo.clone(da); - /* - for(var i = 0; i < da.length; ++i){ - da[i] *= s.width; - } - */ - if(s.cap != "butt"){ - for(var i = 0; i < da.length; i += 2){ - //da[i] -= s.width; - --da[i] - if(da[i] < 1){ da[i] = 1; } - } - for(var i = 1; i < da.length; i += 2){ - //da[i] += s.width; - ++da[i]; - } - } - r.strokeDashArray = da.join(","); - }else{ - r.strokeDashArray = null; - } - } - return this; // self - }, - - _getParentSurface: function(){ - var surface = this.parent; - for(; surface && !(surface instanceof dojox.gfx.Surface); surface = surface.parent); - return surface; - }, - - _applyTransform: function() { - var tm = this.matrix, r = this.rawNode; - if(tm){ - var p = this.rawNode.getHost().content, - m = p.createFromXaml(""), - mm = p.createFromXaml(""); - mm.m11 = tm.xx; - mm.m21 = tm.xy; - mm.m12 = tm.yx; - mm.m22 = tm.yy; - mm.offsetX = tm.dx; - mm.offsetY = tm.dy; - m.matrix = mm; - r.renderTransform = m; - }else{ - r.renderTransform = null; - } - return this; - }, - - setRawNode: function(rawNode){ - // summary: - // assigns and clears the underlying node that will represent this - // shape. Once set, transforms, gradients, etc, can be applied. - // (no fill & stroke by default) - rawNode.fill = null; - rawNode.stroke = null; - this.rawNode = rawNode; - }, - - // move family - - _moveToFront: function(){ - // summary: moves a shape to front of its parent's list of shapes (Silverlight) - var c = this.parent.rawNode.children, r = this.rawNode; - c.remove(r); - c.add(r); - return this; // self - }, - _moveToBack: function(){ - // summary: moves a shape to back of its parent's list of shapes (Silverlight) - var c = this.parent.rawNode.children, r = this.rawNode; - c.remove(r); - c.insert(0, r); - return this; // self - } -}); - -dojo.declare("dojox.gfx.Group", dojox.gfx.Shape, { - // summary: a group shape (Silverlight), which can be used - // to logically group shapes (e.g, to propagate matricies) - constructor: function(){ - dojox.gfx.silverlight.Container._init.call(this); - }, - setRawNode: function(rawNode){ - // summary: sets a raw Silverlight node to be used by this shape - // rawNode: Node: an Silverlight node - this.rawNode = rawNode; - } -}); -dojox.gfx.Group.nodeType = "Canvas"; - -dojo.declare("dojox.gfx.Rect", dojox.gfx.shape.Rect, { - // summary: a rectangle shape (Silverlight) - setShape: function(newShape){ - // summary: sets a rectangle shape object (Silverlight) - // newShape: Object: a rectangle shape object - this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var r = this.rawNode, n = this.shape; - r["Canvas.Left"] = n.x; - r["Canvas.Top"] = n.y; - r.width = n.width; - r.height = n.height; - r.radiusX = r.radiusY = n.r; - return this; // self - } -}); -dojox.gfx.Rect.nodeType = "Rectangle"; - -dojo.declare("dojox.gfx.Ellipse", dojox.gfx.shape.Ellipse, { - // summary: an ellipse shape (Silverlight) - setShape: function(newShape){ - // summary: sets an ellipse shape object (Silverlight) - // newShape: Object: an ellipse shape object - this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var r = this.rawNode, n = this.shape; - r["Canvas.Left"] = n.cx - n.rx; - r["Canvas.Top"] = n.cy - n.ry; - r.width = 2 * n.rx; - r.height = 2 * n.ry; - return this; // self - } -}); -dojox.gfx.Ellipse.nodeType = "Ellipse"; - -dojo.declare("dojox.gfx.Circle", dojox.gfx.shape.Circle, { - // summary: a circle shape (Silverlight) - setShape: function(newShape){ - // summary: sets a circle shape object (Silverlight) - // newShape: Object: a circle shape object - this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var r = this.rawNode, n = this.shape; - r["Canvas.Left"] = n.cx - n.r; - r["Canvas.Top"] = n.cy - n.r; - r.width = r.height = 2 * n.r; - return this; // self - } -}); -dojox.gfx.Circle.nodeType = "Ellipse"; - -dojo.declare("dojox.gfx.Line", dojox.gfx.shape.Line, { - // summary: a line shape (Silverlight) - setShape: function(newShape){ - // summary: sets a line shape object (Silverlight) - // newShape: Object: a line shape object - this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var r = this.rawNode, n = this.shape; - r.x1 = n.x1; r.y1 = n.y1; r.x2 = n.x2; r.y2 = n.y2; - return this; // self - } -}); -dojox.gfx.Line.nodeType = "Line"; - -dojo.declare("dojox.gfx.Polyline", dojox.gfx.shape.Polyline, { - // summary: a polyline/polygon shape (Silverlight) - setShape: function(points, closed){ - // summary: sets a polyline/polygon shape object (Silverlight) - // points: Object: a polyline/polygon shape object - if(points && points instanceof Array){ - // branch - // points: Array: an array of points - this.shape = dojox.gfx.makeParameters(this.shape, {points: points}); - if(closed && this.shape.points.length){ - this.shape.points.push(this.shape.points[0]); - } - }else{ - this.shape = dojox.gfx.makeParameters(this.shape, points); - } - this.box = null; - var p = this.shape.points, rp = []; - for(var i = 0; i < p.length; ++i){ - if(typeof p[i] == "number"){ - rp.push(p[i], p[++i]); - }else{ - rp.push(p[i].x, p[i].y); - } - } - this.rawNode.points = rp.join(","); - return this; // self - } -}); -dojox.gfx.Polyline.nodeType = "Polyline"; - -dojo.declare("dojox.gfx.Image", dojox.gfx.shape.Image, { - // summary: an image (Silverlight) - setShape: function(newShape){ - // summary: sets an image shape object (Silverlight) - // newShape: Object: an image shape object - this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var r = this.rawNode, n = this.shape; - r["Canvas.Left"] = n.x; - r["Canvas.Top"] = n.y; - r.width = n.width; - r.height = n.height; - r.source = n.src; - return this; // self - }, - setRawNode: function(rawNode){ - // summary: - // assigns and clears the underlying node that will represent this - // shape. Once set, transforms, gradients, etc, can be applied. - // (no fill & stroke by default) - this.rawNode = rawNode; - } -}); -dojox.gfx.Image.nodeType = "Image"; - -dojo.declare("dojox.gfx.Text", dojox.gfx.shape.Text, { - // summary: an anchored text (Silverlight) - setShape: function(newShape){ - // summary: sets a text shape object (Silverlight) - // newShape: Object: a text shape object - this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var r = this.rawNode, s = this.shape; - r.text = s.text; - r.textDecorations = s.decoration == "underline" ? "Underline" : "None"; - r["Canvas.Left"] = -10000; - r["Canvas.Top"] = -10000; - window.setTimeout(dojo.hitch(this, "_delayAlignment"), 0); - return this; // self - }, - _delayAlignment: function(){ - // handle alignment - var r = this.rawNode, s = this.shape, - w = r.actualWidth, h = r.actualHeight, x = s.x, y = s.y - h * 0.75; - switch(s.align){ - case "middle": - x -= w / 2; - break; - case "end": - x -= w; - break; - } - var a = this.matrix ? dojox.gfx.matrix.multiplyPoint(this.matrix, x, y) : {x: x, y: y}; - r["Canvas.Left"] = a.x; - r["Canvas.Top"] = a.y; - }, - setStroke: function(){ - // summary: ignore setting a stroke style - return this; // self - }, - _setFillAttr: function(f){ - this.rawNode.foreground = f; - }, - setRawNode: function(rawNode){ - // summary: - // assigns and clears the underlying node that will represent this - // shape. Once set, transforms, gradients, etc, can be applied. - // (no fill & stroke by default) - this.rawNode = rawNode; - }, - _applyTransform: function() { - var tm = this.matrix, r = this.rawNode; - if(tm){ - // the next line is pure magic :-( - tm = dojox.gfx.matrix.normalize([1/100, tm, 100]); - var p = this.rawNode.getHost().content, - m = p.createFromXaml(""), - mm = p.createFromXaml(""); - mm.m11 = tm.xx; - mm.m21 = tm.xy; - mm.m12 = tm.yx; - mm.m22 = tm.yy; - mm.offsetX = tm.dx; - mm.offsetY = tm.dy; - m.matrix = mm; - r.renderTransform = m; - }else{ - r.renderTransform = null; - } - return this; - }, - getTextWidth: function(){ - // summary: get the text width in pixels - return this.rawNode.actualWidth; - } -}); -dojox.gfx.Text.nodeType = "TextBlock"; - -dojo.declare("dojox.gfx.Path", dojox.gfx.path.Path, { - // summary: a path shape (Silverlight) - _updateWithSegment: function(segment){ - // summary: updates the bounding box of path with new segment - // segment: Object: a segment - dojox.gfx.Path.superclass._updateWithSegment.apply(this, arguments); - var p = this.shape.path; - if(typeof(p) == "string"){ - this.rawNode.data = p ? p : null; - } - }, - setShape: function(newShape){ - // summary: forms a path using a shape (Silverlight) - // newShape: Object: an SVG path string or a path object (see dojox.gfx.defaultPath) - dojox.gfx.Path.superclass.setShape.apply(this, arguments); - var p = this.shape.path; - this.rawNode.data = p ? p : null; - return this; // self - } -}); -dojox.gfx.Path.nodeType = "Path"; - -dojo.declare("dojox.gfx.TextPath", dojox.gfx.path.TextPath, { - // summary: a textpath shape (Silverlight) - _updateWithSegment: function(segment){ - // summary: updates the bounding box of path with new segment - // segment: Object: a segment - }, - setShape: function(newShape){ - // summary: forms a path using a shape (Silverlight) - // newShape: Object: an SVG path string or a path object (see dojox.gfx.defaultPath) - }, - _setText: function(){ - } -}); -dojox.gfx.TextPath.nodeType = "text"; - -dojo.declare("dojox.gfx.Surface", dojox.gfx.shape.Surface, { - // summary: a surface object to be used for drawings (Silverlight) - constructor: function(){ - dojox.gfx.silverlight.Container._init.call(this); - }, - setDimensions: function(width, height){ - // summary: sets the width and height of the rawNode - // width: String: width of surface, e.g., "100px" - // height: String: height of surface, e.g., "100px" - this.width = dojox.gfx.normalizedLength(width); // in pixels - this.height = dojox.gfx.normalizedLength(height); // in pixels - var p = this.rawNode && this.rawNode.getHost(); - if(p){ - p.width = width; - p.height = height; - } - return this; // self - }, - getDimensions: function(){ - // summary: returns an object with properties "width" and "height" - var p = this.rawNode && this.rawNode.getHost(); - var t = p ? {width: p.content.actualWidth, height: p.content.actualHeight} : null; - if(t.width <= 0){ t.width = this.width; } - if(t.height <= 0){ t.height = this.height; } - return t; // Object - } -}); - -dojox.gfx.silverlight.surfaces = {}; - -dojox.gfx.createSurface = function(parentNode, width, height){ - // summary: creates a surface (Silverlight) - // parentNode: Node: a parent node - // width: String: width of surface, e.g., "100px" - // height: String: height of surface, e.g., "100px" - - var s = new dojox.gfx.Surface(); - parentNode = dojo.byId(parentNode); - // create an empty canvas - var t = parentNode.ownerDocument.createElement("script"); - t.type = "text/xaml"; - t.id = dojox.gfx._base._getUniqueId(); - t.text = ""; - document.body.appendChild(t); - // create a plugin - var pluginName = dojox.gfx._base._getUniqueId(); - Silverlight.createObject( - "#" + t.id, // none - parentNode, - pluginName, - { // Plugin properties. - width: String(width), // Width of rectangular region of plugin in pixels. - height: String(height), // Height of rectangular region of plugin in pixels. - inplaceInstallPrompt: "false", // Determines whether to display in-place install prompt if invalid version detected. - //background: "white", // Background color of plugin. - //isWindowless: "false", // Determines whether to display plugin in Windowless mode. - background: "transparent", // Background color of plugin. - isWindowless: "true", // Determines whether to display plugin in Windowless mode. - framerate: "24", // MaxFrameRate property value. - version: "1.0" // Silverlight version. - }, - {}, - null, - null - ); - s.rawNode = dojo.byId(pluginName).content.root; - // register the plugin with its parent node - dojox.gfx.silverlight.surfaces[s.rawNode.name] = parentNode; - s.width = dojox.gfx.normalizedLength(width); // in pixels - s.height = dojox.gfx.normalizedLength(height); // in pixels - return s; // dojox.gfx.Surface -}; - -// Extenders - -dojox.gfx.silverlight.Font = { - _setFont: function(){ - // summary: sets a font object (Silverlight) - var f = this.fontStyle, r = this.rawNode, - fw = dojox.gfx.silverlight.fontweight, - fo = dojox.gfx.silverlight.fonts, t = f.family.toLowerCase(); - r.fontStyle = f.style == "italic" ? "Italic" : "Normal"; - r.fontWeight = f.weight in fw ? fw[f.weight] : f.weight; - r.fontSize = dojox.gfx.normalizedLength(f.size); - r.fontFamily = t in fo ? fo[t] : f.family; - } -}; - -dojox.gfx.silverlight.Container = { - _init: function(){ - dojox.gfx.shape.Container._init.call(this); - }, - add: function(shape){ - // summary: adds a shape to a group/surface - // shape: dojox.gfx.Shape: an VML shape object - if(this != shape.getParent()){ - //dojox.gfx.Group.superclass.add.apply(this, arguments); - //this.inherited(arguments); - dojox.gfx.shape.Container.add.apply(this, arguments); - this.rawNode.children.add(shape.rawNode); - } - return this; // self - }, - remove: function(shape, silently){ - // summary: remove a shape from a group/surface - // shape: dojox.gfx.Shape: an VML shape object - // silently: Boolean?: if true, regenerate a picture - if(this == shape.getParent()){ - var parent = shape.rawNode.getParent(); - if(parent){ - parent.children.remove(shape.rawNode); - } - //dojox.gfx.Group.superclass.remove.apply(this, arguments); - //this.inherited(arguments); - dojox.gfx.shape.Container.remove.apply(this, arguments); - } - return this; // self - }, - clear: function(){ - // summary: removes all shapes from a group/surface - this.rawNode.children.clear(); - //return this.inherited(arguments); // self - return dojox.gfx.shape.Container.clear.apply(this, arguments); - }, - _moveChildToFront: dojox.gfx.shape.Container._moveChildToFront, - _moveChildToBack: dojox.gfx.shape.Container._moveChildToBack -}; - -dojo.mixin(dojox.gfx.shape.Creator, { - createObject: function(shapeType, rawShape){ - // summary: creates an instance of the passed shapeType class - // shapeType: Function: a class constructor to create an instance of - // rawShape: Object: properties to be passed in to the classes "setShape" method - if(!this.rawNode){ return null; } - var shape = new shapeType(); - var node = this.rawNode.getHost().content.createFromXaml("<" + shapeType.nodeType + "/>"); - shape.setRawNode(node); - shape.setShape(rawShape); - this.add(shape); - return shape; // dojox.gfx.Shape - } -}); - -dojo.extend(dojox.gfx.Text, dojox.gfx.silverlight.Font); -//dojo.extend(dojox.gfx.TextPath, dojox.gfx.silverlight.Font); - -dojo.extend(dojox.gfx.Group, dojox.gfx.silverlight.Container); -dojo.extend(dojox.gfx.Group, dojox.gfx.shape.Creator); - -dojo.extend(dojox.gfx.Surface, dojox.gfx.silverlight.Container); -dojo.extend(dojox.gfx.Surface, dojox.gfx.shape.Creator); - -(function(){ - var surfaces = dojox.gfx.silverlight.surfaces; - var mouseFix = function(s, a){ - var ev = {target: s, currentTarget: s, - preventDefault: function(){}, stopPropagation: function(){}}; - if(a){ - ev.ctrlKey = a.ctrl; - ev.shiftKey = a.shift; - var p = a.getPosition(null); - ev.x = ev.offsetX = ev.layerX = p.x; - ev.y = ev.offsetY = ev.layerY = p.y; - // calculate clientX and clientY - var parent = surfaces[s.getHost().content.root.name]; - var t = dojo._abs(parent); - ev.clientX = t.x + p.x; - ev.clientY = t.y + p.y; - } - return ev; - }; - var keyFix = function(s, a){ - var ev = { - keyCode: a.platformKeyCode, - ctrlKey: a.ctrl, - shiftKey: a.shift - }; - return ev; - }; - var eventNames = { - onclick: {name: "MouseLeftButtonUp", fix: mouseFix}, - onmouseenter: {name: "MouseEnter", fix: mouseFix}, - onmouseleave: {name: "MouseLeave", fix: mouseFix}, - onmousedown: {name: "MouseLeftButtonDown", fix: mouseFix}, - onmouseup: {name: "MouseLeftButtonUp", fix: mouseFix}, - onmousemove: {name: "MouseMove", fix: mouseFix}, - onkeydown: {name: "KeyDown", fix: keyFix}, - onkeyup: {name: "KeyUp", fix: keyFix} - }; - var eventsProcessing = { - connect: function(name, object, method){ - var token, n = name in eventNames ? eventNames[name] : - {name: name, fix: function(){ return {}; }}; - if(arguments.length > 2){ - token = this.getEventSource().addEventListener(n.name, - function(s, a){ dojo.hitch(object, method)(n.fix(s, a)); }); - }else{ - token = this.getEventSource().addEventListener(n.name, - function(s, a){ object(n.fix(s, a)); }); - } - return {name: n.name, token: token}; - }, - disconnect: function(token){ - this.getEventSource().removeEventListener(token.name, token.token); - } - }; - dojo.extend(dojox.gfx.Shape, eventsProcessing); - dojo.extend(dojox.gfx.Surface, eventsProcessing); - dojox.gfx.equalSources = function(a, b){ - return a && b && a.equals(b); - } - -})(); - -} diff --git a/includes/js/dojox/gfx/silverlight_attach.js b/includes/js/dojox/gfx/silverlight_attach.js deleted file mode 100644 index 1f5cd90..0000000 --- a/includes/js/dojox/gfx/silverlight_attach.js +++ /dev/null @@ -1,87 +0,0 @@ -dojo.require("dojox.gfx.silverlight"); - -dojo.experimental("dojox.gfx.silverlight_attach"); - -(function(){ - dojox.gfx.attachNode = function(node){ - // summary: creates a shape from a Node - // node: Node: an Silverlight node - return null; // for now - if(!node) return null; - var s = null; - switch(node.tagName.toLowerCase()){ - case dojox.gfx.Rect.nodeType: - s = new dojox.gfx.Rect(node); - break; - case dojox.gfx.Ellipse.nodeType: - if(node.width == node.height){ - s = new dojox.gfx.Circle(node); - }else{ - s = new dojox.gfx.Ellipse(node); - } - break; - case dojox.gfx.Polyline.nodeType: - s = new dojox.gfx.Polyline(node); - break; - case dojox.gfx.Path.nodeType: - s = new dojox.gfx.Path(node); - break; - case dojox.gfx.Line.nodeType: - s = new dojox.gfx.Line(node); - break; - case dojox.gfx.Image.nodeType: - s = new dojox.gfx.Image(node); - break; - case dojox.gfx.Text.nodeType: - s = new dojox.gfx.Text(node); - attachFont(s); - break; - default: - //console.debug("FATAL ERROR! tagName = " + node.tagName); - return null; - } - attachShape(s); - if(!(s instanceof dojox.gfx.Image)){ - attachFill(s); - attachStroke(s); - } - attachTransform(s); - return s; // dojox.gfx.Shape - }; - - dojox.gfx.attachSurface = function(node){ - // summary: creates a surface from a Node - // node: Node: an Silverlight node - return null; // dojox.gfx.Surface - }; - - var attachFill = function(rawNode){ - // summary: deduces a fill style from a Node. - // rawNode: Node: an Silverlight node - return null; // Object - }; - - var attachStroke = function(rawNode){ - // summary: deduces a stroke style from a Node. - // rawNode: Node: an SVG node - return null; // Object - }; - - var attachTransform = function(rawNode){ - // summary: deduces a transformation matrix from a Node. - // rawNode: Node: an Silverlight node - return null; // dojox.gfx.matrix.Matrix - }; - - var attachFont = function(rawNode){ - // summary: deduces a font style from a Node. - // rawNode: Node: an Silverlight node - return null; // Object - }; - - var attachShape = function(rawNode){ - // summary: builds a shape from a Node. - // rawNode: Node: an Silverlight node - return null; // dojox.gfx.Shape - }; -})(); diff --git a/includes/js/dojox/gfx/svg.js b/includes/js/dojox/gfx/svg.js deleted file mode 100644 index 5f6101c..0000000 --- a/includes/js/dojox/gfx/svg.js +++ /dev/null @@ -1,638 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.svg"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.svg"] = true; -dojo.provide("dojox.gfx.svg"); - -dojo.require("dojox.gfx._base"); -dojo.require("dojox.gfx.shape"); -dojo.require("dojox.gfx.path"); - -dojox.gfx.svg.xmlns = { - xlink: "http://www.w3.org/1999/xlink", - svg: "http://www.w3.org/2000/svg" -}; - -dojox.gfx.svg.getRef = function(name){ - // summary: returns a DOM Node specified by the name argument or null - // name: String: an SVG external reference - if(!name || name == "none") return null; - if(name.match(/^url\(#.+\)$/)){ - return dojo.byId(name.slice(5, -1)); // Node - } - // alternative representation of a reference - if(name.match(/^#dojoUnique\d+$/)){ - // we assume here that a reference was generated by dojox.gfx - return dojo.byId(name.slice(1)); // Node - } - return null; // Node -}; - -dojox.gfx.svg.dasharray = { - solid: "none", - shortdash: [4, 1], - shortdot: [1, 1], - shortdashdot: [4, 1, 1, 1], - shortdashdotdot: [4, 1, 1, 1, 1, 1], - dot: [1, 3], - dash: [4, 3], - longdash: [8, 3], - dashdot: [4, 3, 1, 3], - longdashdot: [8, 3, 1, 3], - longdashdotdot: [8, 3, 1, 3, 1, 3] -}; - -dojo.extend(dojox.gfx.Shape, { - // summary: SVG-specific implementation of dojox.gfx.Shape methods - - setFill: function(fill){ - // summary: sets a fill object (SVG) - // fill: Object: a fill object - // (see dojox.gfx.defaultLinearGradient, - // dojox.gfx.defaultRadialGradient, - // dojox.gfx.defaultPattern, - // or dojo.Color) - - if(!fill){ - // don't fill - this.fillStyle = null; - this.rawNode.setAttribute("fill", "none"); - this.rawNode.setAttribute("fill-opacity", 0); - return this; - } - var f; - // FIXME: slightly magical. We're using the outer scope's "f", but setting it later - var setter = function(x){ - // we assume that we're executing in the scope of the node to mutate - this.setAttribute(x, f[x].toFixed(8)); - }; - if(typeof(fill) == "object" && "type" in fill){ - // gradient - switch(fill.type){ - case "linear": - f = dojox.gfx.makeParameters(dojox.gfx.defaultLinearGradient, fill); - var gradient = this._setFillObject(f, "linearGradient"); - dojo.forEach(["x1", "y1", "x2", "y2"], setter, gradient); - break; - case "radial": - f = dojox.gfx.makeParameters(dojox.gfx.defaultRadialGradient, fill); - var gradient = this._setFillObject(f, "radialGradient"); - dojo.forEach(["cx", "cy", "r"], setter, gradient); - break; - case "pattern": - f = dojox.gfx.makeParameters(dojox.gfx.defaultPattern, fill); - var pattern = this._setFillObject(f, "pattern"); - dojo.forEach(["x", "y", "width", "height"], setter, pattern); - break; - } - this.fillStyle = f; - return this; - } - // color object - var f = dojox.gfx.normalizeColor(fill); - this.fillStyle = f; - this.rawNode.setAttribute("fill", f.toCss()); - this.rawNode.setAttribute("fill-opacity", f.a); - this.rawNode.setAttribute("fill-rule", "evenodd"); - return this; // self - }, - - setStroke: function(stroke){ - // summary: sets a stroke object (SVG) - // stroke: Object: a stroke object - // (see dojox.gfx.defaultStroke) - - if(!stroke){ - // don't stroke - this.strokeStyle = null; - this.rawNode.setAttribute("stroke", "none"); - this.rawNode.setAttribute("stroke-opacity", 0); - return this; - } - // normalize the stroke - if(typeof stroke == "string"){ - stroke = {color: stroke}; - } - var s = this.strokeStyle = dojox.gfx.makeParameters(dojox.gfx.defaultStroke, stroke); - s.color = dojox.gfx.normalizeColor(s.color); - // generate attributes - var rn = this.rawNode; - if(s){ - rn.setAttribute("stroke", s.color.toCss()); - rn.setAttribute("stroke-opacity", s.color.a); - rn.setAttribute("stroke-width", s.width); - rn.setAttribute("stroke-linecap", s.cap); - if(typeof s.join == "number"){ - rn.setAttribute("stroke-linejoin", "miter"); - rn.setAttribute("stroke-miterlimit", s.join); - }else{ - rn.setAttribute("stroke-linejoin", s.join); - } - var da = s.style.toLowerCase(); - if(da in dojox.gfx.svg.dasharray){ da = dojox.gfx.svg.dasharray[da]; } - if(da instanceof Array){ - da = dojo.clone(da); - for(var i = 0; i < da.length; ++i){ - da[i] *= s.width; - } - if(s.cap != "butt"){ - for(var i = 0; i < da.length; i += 2){ - da[i] -= s.width; - if(da[i] < 1){ da[i] = 1; } - } - for(var i = 1; i < da.length; i += 2){ - da[i] += s.width; - } - } - da = da.join(","); - } - rn.setAttribute("stroke-dasharray", da); - rn.setAttribute("dojoGfxStrokeStyle", s.style); - } - return this; // self - }, - - _getParentSurface: function(){ - var surface = this.parent; - for(; surface && !(surface instanceof dojox.gfx.Surface); surface = surface.parent); - return surface; - }, - - _setFillObject: function(f, nodeType){ - var svgns = dojox.gfx.svg.xmlns.svg; - this.fillStyle = f; - var surface = this._getParentSurface(), - defs = surface.defNode, - fill = this.rawNode.getAttribute("fill"), - ref = dojox.gfx.svg.getRef(fill); - if(ref){ - fill = ref; - if(fill.tagName.toLowerCase() != nodeType.toLowerCase()){ - var id = fill.id; - fill.parentNode.removeChild(fill); - fill = document.createElementNS(svgns, nodeType); - fill.setAttribute("id", id); - defs.appendChild(fill); - }else{ - while(fill.childNodes.length){ - fill.removeChild(fill.lastChild); - } - } - }else{ - fill = document.createElementNS(svgns, nodeType); - fill.setAttribute("id", dojox.gfx._base._getUniqueId()); - defs.appendChild(fill); - } - if(nodeType == "pattern"){ - if(dojo.isSafari){ - fill.setAttributeNS(null, "patternUnits", "userSpaceOnUse"); - }else{ - fill.setAttribute("patternUnits", "userSpaceOnUse"); - } - var img = document.createElementNS(svgns, "image"); - img.setAttribute("x", 0); - img.setAttribute("y", 0); - img.setAttribute("width", f.width .toFixed(8)); - img.setAttribute("height", f.height.toFixed(8)); - img.setAttributeNS(dojox.gfx.svg.xmlns.xlink, "href", f.src); - fill.appendChild(img); - }else{ - if(dojo.isSafari){ - fill.setAttributeNS(null, "gradientUnits", "userSpaceOnUse"); - }else{ - fill.setAttribute("gradientUnits", "userSpaceOnUse"); - } - for(var i = 0; i < f.colors.length; ++i){ - var c = f.colors[i], t = document.createElementNS(svgns, "stop"), - cc = c.color = dojox.gfx.normalizeColor(c.color); - t.setAttribute("offset", c.offset.toFixed(8)); - t.setAttribute("stop-color", cc.toCss()); - t.setAttribute("stop-opacity", cc.a); - fill.appendChild(t); - } - } - this.rawNode.setAttribute("fill", "url(#" + fill.getAttribute("id") +")"); - this.rawNode.removeAttribute("fill-opacity"); - this.rawNode.setAttribute("fill-rule", "evenodd"); - return fill; - }, - - _applyTransform: function() { - var matrix = this.matrix; - if(matrix){ - var tm = this.matrix; - this.rawNode.setAttribute("transform", "matrix(" + - tm.xx.toFixed(8) + "," + tm.yx.toFixed(8) + "," + - tm.xy.toFixed(8) + "," + tm.yy.toFixed(8) + "," + - tm.dx.toFixed(8) + "," + tm.dy.toFixed(8) + ")"); - }else{ - this.rawNode.removeAttribute("transform"); - } - return this; - }, - - setRawNode: function(rawNode){ - // summary: - // assigns and clears the underlying node that will represent this - // shape. Once set, transforms, gradients, etc, can be applied. - // (no fill & stroke by default) - var r = this.rawNode = rawNode; - r.setAttribute("fill", "none"); - r.setAttribute("fill-opacity", 0); - r.setAttribute("stroke", "none"); - r.setAttribute("stroke-opacity", 0); - r.setAttribute("stroke-width", 1); - r.setAttribute("stroke-linecap", "butt"); - r.setAttribute("stroke-linejoin", "miter"); - r.setAttribute("stroke-miterlimit", 4); - }, - - setShape: function(newShape){ - // summary: sets a shape object (SVG) - // newShape: Object: a shape object - // (see dojox.gfx.defaultPath, - // dojox.gfx.defaultPolyline, - // dojox.gfx.defaultRect, - // dojox.gfx.defaultEllipse, - // dojox.gfx.defaultCircle, - // dojox.gfx.defaultLine, - // or dojox.gfx.defaultImage) - this.shape = dojox.gfx.makeParameters(this.shape, newShape); - for(var i in this.shape){ - if(i != "type"){ this.rawNode.setAttribute(i, this.shape[i]); } - } - return this; // self - }, - - // move family - - _moveToFront: function(){ - // summary: moves a shape to front of its parent's list of shapes (SVG) - this.rawNode.parentNode.appendChild(this.rawNode); - return this; // self - }, - _moveToBack: function(){ - // summary: moves a shape to back of its parent's list of shapes (SVG) - this.rawNode.parentNode.insertBefore(this.rawNode, this.rawNode.parentNode.firstChild); - return this; // self - } -}); - -dojo.declare("dojox.gfx.Group", dojox.gfx.Shape, { - // summary: a group shape (SVG), which can be used - // to logically group shapes (e.g, to propagate matricies) - constructor: function(){ - dojox.gfx.svg.Container._init.call(this); - }, - setRawNode: function(rawNode){ - // summary: sets a raw SVG node to be used by this shape - // rawNode: Node: an SVG node - this.rawNode = rawNode; - } -}); -dojox.gfx.Group.nodeType = "g"; - -dojo.declare("dojox.gfx.Rect", dojox.gfx.shape.Rect, { - // summary: a rectangle shape (SVG) - setShape: function(newShape){ - // summary: sets a rectangle shape object (SVG) - // newShape: Object: a rectangle shape object - this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - for(var i in this.shape){ - if(i != "type" && i != "r"){ this.rawNode.setAttribute(i, this.shape[i]); } - } - if(this.shape.r){ - this.rawNode.setAttribute("ry", this.shape.r); - this.rawNode.setAttribute("rx", this.shape.r); - } - return this; // self - } -}); -dojox.gfx.Rect.nodeType = "rect"; - -dojox.gfx.Ellipse = dojox.gfx.shape.Ellipse; -dojox.gfx.Ellipse.nodeType = "ellipse"; - -dojox.gfx.Circle = dojox.gfx.shape.Circle; -dojox.gfx.Circle.nodeType = "circle"; - -dojox.gfx.Line = dojox.gfx.shape.Line; -dojox.gfx.Line.nodeType = "line"; - -dojo.declare("dojox.gfx.Polyline", dojox.gfx.shape.Polyline, { - // summary: a polyline/polygon shape (SVG) - setShape: function(points, closed){ - // summary: sets a polyline/polygon shape object (SVG) - // points: Object: a polyline/polygon shape object - if(points && points instanceof Array){ - // branch - // points: Array: an array of points - this.shape = dojox.gfx.makeParameters(this.shape, { points: points }); - if(closed && this.shape.points.length){ - this.shape.points.push(this.shape.points[0]); - } - }else{ - this.shape = dojox.gfx.makeParameters(this.shape, points); - } - this.box = null; - var attr = [], p = this.shape.points; - for(var i = 0; i < p.length; ++i){ - if(typeof p[i] == "number"){ - attr.push(p[i].toFixed(8)); - }else{ - attr.push(p[i].x.toFixed(8)); - attr.push(p[i].y.toFixed(8)); - } - } - this.rawNode.setAttribute("points", attr.join(" ")); - return this; // self - } -}); -dojox.gfx.Polyline.nodeType = "polyline"; - -dojo.declare("dojox.gfx.Image", dojox.gfx.shape.Image, { - // summary: an image (SVG) - setShape: function(newShape){ - // summary: sets an image shape object (SVG) - // newShape: Object: an image shape object - this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var rawNode = this.rawNode; - for(var i in this.shape){ - if(i != "type" && i != "src"){ rawNode.setAttribute(i, this.shape[i]); } - } - rawNode.setAttributeNS(dojox.gfx.svg.xmlns.xlink, "href", this.shape.src); - return this; // self - } -}); -dojox.gfx.Image.nodeType = "image"; - -dojo.declare("dojox.gfx.Text", dojox.gfx.shape.Text, { - // summary: an anchored text (SVG) - setShape: function(newShape){ - // summary: sets a text shape object (SVG) - // newShape: Object: a text shape object - this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var r = this.rawNode, s = this.shape; - r.setAttribute("x", s.x); - r.setAttribute("y", s.y); - r.setAttribute("text-anchor", s.align); - r.setAttribute("text-decoration", s.decoration); - r.setAttribute("rotate", s.rotated ? 90 : 0); - r.setAttribute("kerning", s.kerning ? "auto" : 0); - r.setAttribute("text-rendering", "optimizeLegibility"); - r.textContent = s.text; - return this; // self - }, - getTextWidth: function(){ - // summary: get the text width in pixels - var rawNode = this.rawNode, - oldParent = rawNode.parentNode, - _measurementNode = rawNode.cloneNode(true); - _measurementNode.style.visibility = "hidden"; - - // solution to the "orphan issue" in FF - var _width = 0, _text = _measurementNode.firstChild.nodeValue; - oldParent.appendChild(_measurementNode); - - // solution to the "orphan issue" in Opera - // (nodeValue == "" hangs firefox) - if(_text!=""){ - while(!_width){ - _width = parseInt(_measurementNode.getBBox().width); - } - } - oldParent.removeChild(_measurementNode); - return _width; - } -}); -dojox.gfx.Text.nodeType = "text"; - -dojo.declare("dojox.gfx.Path", dojox.gfx.path.Path, { - // summary: a path shape (SVG) - _updateWithSegment: function(segment){ - // summary: updates the bounding box of path with new segment - // segment: Object: a segment - dojox.gfx.Path.superclass._updateWithSegment.apply(this, arguments); - if(typeof(this.shape.path) == "string"){ - this.rawNode.setAttribute("d", this.shape.path); - } - }, - setShape: function(newShape){ - // summary: forms a path using a shape (SVG) - // newShape: Object: an SVG path string or a path object (see dojox.gfx.defaultPath) - dojox.gfx.Path.superclass.setShape.apply(this, arguments); - this.rawNode.setAttribute("d", this.shape.path); - return this; // self - } -}); -dojox.gfx.Path.nodeType = "path"; - -dojo.declare("dojox.gfx.TextPath", dojox.gfx.path.TextPath, { - // summary: a textpath shape (SVG) - _updateWithSegment: function(segment){ - // summary: updates the bounding box of path with new segment - // segment: Object: a segment - dojox.gfx.Path.superclass._updateWithSegment.apply(this, arguments); - this._setTextPath(); - }, - setShape: function(newShape){ - // summary: forms a path using a shape (SVG) - // newShape: Object: an SVG path string or a path object (see dojox.gfx.defaultPath) - dojox.gfx.Path.superclass.setShape.apply(this, arguments); - this._setTextPath(); - return this; // self - }, - _setTextPath: function(){ - if(typeof this.shape.path != "string"){ return; } - var r = this.rawNode; - if(!r.firstChild){ - var tp = document.createElementNS(dojox.gfx.svg.xmlns.svg, "textPath"), - tx = document.createTextNode(""); - tp.appendChild(tx); - r.appendChild(tp); - } - var ref = r.firstChild.getAttributeNS(dojox.gfx.svg.xmlns.xlink, "href"), - path = ref && dojox.gfx.svg.getRef(ref); - if(!path){ - var surface = this._getParentSurface(); - if(surface){ - var defs = surface.defNode; - path = document.createElementNS(dojox.gfx.svg.xmlns.svg, "path"); - var id = dojox.gfx._base._getUniqueId(); - path.setAttribute("id", id); - defs.appendChild(path); - r.firstChild.setAttributeNS(dojox.gfx.svg.xmlns.xlink, "href", "#" + id); - } - } - if(path){ - path.setAttribute("d", this.shape.path); - } - }, - _setText: function(){ - var r = this.rawNode; - if(!r.firstChild){ - var tp = document.createElementNS(dojox.gfx.svg.xmlns.svg, "textPath"), - tx = document.createTextNode(""); - tp.appendChild(tx); - r.appendChild(tp); - } - r = r.firstChild; - var t = this.text; - r.setAttribute("alignment-baseline", "middle"); - switch(t.align){ - case "middle": - r.setAttribute("text-anchor", "middle"); - r.setAttribute("startOffset", "50%"); - break; - case "end": - r.setAttribute("text-anchor", "end"); - r.setAttribute("startOffset", "100%"); - break; - default: - r.setAttribute("text-anchor", "start"); - r.setAttribute("startOffset", "0%"); - break; - } - //r.parentNode.setAttribute("alignment-baseline", "central"); - //r.setAttribute("dominant-baseline", "central"); - r.setAttribute("baseline-shift", "0.5ex"); - r.setAttribute("text-decoration", t.decoration); - r.setAttribute("rotate", t.rotated ? 90 : 0); - r.setAttribute("kerning", t.kerning ? "auto" : 0); - r.firstChild.data = t.text; - } -}); -dojox.gfx.TextPath.nodeType = "text"; - -dojo.declare("dojox.gfx.Surface", dojox.gfx.shape.Surface, { - // summary: a surface object to be used for drawings (SVG) - constructor: function(){ - dojox.gfx.svg.Container._init.call(this); - }, - setDimensions: function(width, height){ - // summary: sets the width and height of the rawNode - // width: String: width of surface, e.g., "100px" - // height: String: height of surface, e.g., "100px" - if(!this.rawNode){ return this; } - this.rawNode.setAttribute("width", width); - this.rawNode.setAttribute("height", height); - return this; // self - }, - getDimensions: function(){ - // summary: returns an object with properties "width" and "height" - return this.rawNode ? {width: this.rawNode.getAttribute("width"), height: this.rawNode.getAttribute("height")} : null; // Object - } -}); - -dojox.gfx.createSurface = function(parentNode, width, height){ - // summary: creates a surface (SVG) - // parentNode: Node: a parent node - // width: String: width of surface, e.g., "100px" - // height: String: height of surface, e.g., "100px" - - var s = new dojox.gfx.Surface(); - s.rawNode = document.createElementNS(dojox.gfx.svg.xmlns.svg, "svg"); - s.rawNode.setAttribute("width", width); - s.rawNode.setAttribute("height", height); - - var node = document.createElementNS(dojox.gfx.svg.xmlns.svg, "defs"); - s.rawNode.appendChild(node); - s.defNode = node; - - dojo.byId(parentNode).appendChild(s.rawNode); - return s; // dojox.gfx.Surface -}; - -// Extenders - -dojox.gfx.svg.Font = { - _setFont: function(){ - // summary: sets a font object (SVG) - var f = this.fontStyle; - // next line doesn't work in Firefox 2 or Opera 9 - //this.rawNode.setAttribute("font", dojox.gfx.makeFontString(this.fontStyle)); - this.rawNode.setAttribute("font-style", f.style); - this.rawNode.setAttribute("font-variant", f.variant); - this.rawNode.setAttribute("font-weight", f.weight); - this.rawNode.setAttribute("font-size", f.size); - this.rawNode.setAttribute("font-family", f.family); - } -}; - -dojox.gfx.svg.Container = { - _init: function(){ - dojox.gfx.shape.Container._init.call(this); - }, - add: function(shape){ - // summary: adds a shape to a group/surface - // shape: dojox.gfx.Shape: an VML shape object - if(this != shape.getParent()){ - this.rawNode.appendChild(shape.rawNode); - //dojox.gfx.Group.superclass.add.apply(this, arguments); - //this.inherited(arguments); - dojox.gfx.shape.Container.add.apply(this, arguments); - } - return this; // self - }, - remove: function(shape, silently){ - // summary: remove a shape from a group/surface - // shape: dojox.gfx.Shape: an VML shape object - // silently: Boolean?: if true, regenerate a picture - if(this == shape.getParent()){ - if(this.rawNode == shape.rawNode.parentNode){ - this.rawNode.removeChild(shape.rawNode); - } - //dojox.gfx.Group.superclass.remove.apply(this, arguments); - //this.inherited(arguments); - dojox.gfx.shape.Container.remove.apply(this, arguments); - } - return this; // self - }, - clear: function(){ - // summary: removes all shapes from a group/surface - var r = this.rawNode; - while(r.lastChild){ - r.removeChild(r.lastChild); - } - var d = this.defNode; - if(d){ - while(d.lastChild){ - d.removeChild(d.lastChild); - } - r.appendChild(d); - } - //return this.inherited(arguments); // self - return dojox.gfx.shape.Container.clear.apply(this, arguments); - }, - _moveChildToFront: dojox.gfx.shape.Container._moveChildToFront, - _moveChildToBack: dojox.gfx.shape.Container._moveChildToBack -}; - -dojo.mixin(dojox.gfx.shape.Creator, { - // summary: SVG shape creators - createObject: function(shapeType, rawShape){ - // summary: creates an instance of the passed shapeType class - // shapeType: Function: a class constructor to create an instance of - // rawShape: Object: properties to be passed in to the classes "setShape" method - if(!this.rawNode){ return null; } - var shape = new shapeType(), - node = document.createElementNS(dojox.gfx.svg.xmlns.svg, shapeType.nodeType); - shape.setRawNode(node); - this.rawNode.appendChild(node); - shape.setShape(rawShape); - this.add(shape); - return shape; // dojox.gfx.Shape - } -}); - -dojo.extend(dojox.gfx.Text, dojox.gfx.svg.Font); -dojo.extend(dojox.gfx.TextPath, dojox.gfx.svg.Font); - -dojo.extend(dojox.gfx.Group, dojox.gfx.svg.Container); -dojo.extend(dojox.gfx.Group, dojox.gfx.shape.Creator); - -dojo.extend(dojox.gfx.Surface, dojox.gfx.svg.Container); -dojo.extend(dojox.gfx.Surface, dojox.gfx.shape.Creator); - -} diff --git a/includes/js/dojox/gfx/svg_attach.js b/includes/js/dojox/gfx/svg_attach.js deleted file mode 100644 index 7ec9ed8..0000000 --- a/includes/js/dojox/gfx/svg_attach.js +++ /dev/null @@ -1,224 +0,0 @@ -dojo.require("dojox.gfx.svg"); - -dojo.experimental("dojox.gfx.svg_attach"); - -(function(){ - dojox.gfx.attachNode = function(node){ - // summary: creates a shape from a Node - // node: Node: an SVG node - if(!node) return null; - var s = null; - switch(node.tagName.toLowerCase()){ - case dojox.gfx.Rect.nodeType: - s = new dojox.gfx.Rect(node); - attachRect(s); - break; - case dojox.gfx.Ellipse.nodeType: - s = new dojox.gfx.Ellipse(node); - attachShape(s, dojox.gfx.defaultEllipse); - break; - case dojox.gfx.Polyline.nodeType: - s = new dojox.gfx.Polyline(node); - attachShape(s, dojox.gfx.defaultPolyline); - break; - case dojox.gfx.Path.nodeType: - s = new dojox.gfx.Path(node); - attachShape(s, dojox.gfx.defaultPath); - break; - case dojox.gfx.Circle.nodeType: - s = new dojox.gfx.Circle(node); - attachShape(s, dojox.gfx.defaultCircle); - break; - case dojox.gfx.Line.nodeType: - s = new dojox.gfx.Line(node); - attachShape(s, dojox.gfx.defaultLine); - break; - case dojox.gfx.Image.nodeType: - s = new dojox.gfx.Image(node); - attachShape(s, dojox.gfx.defaultImage); - break; - case dojox.gfx.Text.nodeType: - var t = node.getElementsByTagName("textPath"); - if(t && t.length){ - s = new dojox.gfx.TextPath(node); - attachShape(s, dojox.gfx.defaultPath); - attachTextPath(s); - }else{ - s = new dojox.gfx.Text(node); - attachText(s); - } - attachFont(s); - break; - default: - //console.debug("FATAL ERROR! tagName = " + node.tagName); - return null; - } - if(!(s instanceof dojox.gfx.Image)){ - attachFill(s); - attachStroke(s); - } - attachTransform(s); - return s; // dojox.gfx.Shape - }; - - dojox.gfx.attachSurface = function(node){ - // summary: creates a surface from a Node - // node: Node: an SVG node - var s = new dojox.gfx.Surface(); - s.rawNode = node; - var def_elems = node.getElementsByTagName("defs"); - if(def_elems.length == 0){ - return null; // dojox.gfx.Surface - } - s.defNode = def_elems[0]; - return s; // dojox.gfx.Surface - }; - - var attachFill = function(object){ - // summary: deduces a fill style from a node. - // object: dojox.gfx.Shape: an SVG shape - var fill = object.rawNode.getAttribute("fill"); - if(fill == "none"){ - object.fillStyle = null; - return; - } - var fillStyle = null, gradient = dojox.gfx.svg.getRef(fill); - if(ref){ - switch(gradient.tagName.toLowerCase()){ - case "lineargradient": - fillStyle = _getGradient(dojox.gfx.defaultLinearGradient, gradient); - dojo.forEach(["x1", "y1", "x2", "y2"], function(x){ - fillStyle[x] = gradient.getAttribute(x); - }); - break; - case "radialgradient": - fillStyle = _getGradient(dojox.gfx.defaultRadialGradient, gradient); - dojo.forEach(["cx", "cy", "r"], function(x){ - fillStyle[x] = gradient.getAttribute(x); - }); - fillStyle.cx = gradient.getAttribute("cx"); - fillStyle.cy = gradient.getAttribute("cy"); - fillStyle.r = gradient.getAttribute("r"); - break; - case "pattern": - fillStyle = dojo.lang.shallowCopy(dojox.gfx.defaultPattern, true); - dojo.forEach(["x", "y", "width", "height"], function(x){ - fillStyle[x] = gradient.getAttribute(x); - }); - fillStyle.src = gradient.firstChild.getAttributeNS(dojox.gfx.svg.xmlns.xlink, "href"); - break; - } - }else{ - fillStyle = new dojo.Color(fill); - var opacity = rawNode.getAttribute("fill-opacity"); - if(opacity != null){ fillStyle.a = opacity; } - } - object.fillStyle = fillStyle; - }; - - var _getGradient = function(defaultGradient, gradient){ - var fillStyle = dojo.clone(defaultGradient); - fillStyle.colors = []; - for(var i = 0; i < gradient.childNodes.length; ++i){ - fillStyle.colors.push({ - offset: gradient.childNodes[i].getAttribute("offset"), - color: new dojo.Color(gradient.childNodes[i].getAttribute("stop-color")) - }); - } - return fillStyle; - }; - - var attachStroke = function(object){ - // summary: deduces a stroke style from a node. - // object: dojox.gfx.Shape: an SVG shape - var rawNode = object.rawNode, stroke = rawNode.getAttribute("stroke"); - if(stroke == null || stroke == "none"){ - object.strokeStyle = null; - return; - } - var strokeStyle = object.strokeStyle = dojo.clone(dojox.gfx.defaultStroke); - var color = new dojo.Color(stroke); - if(color){ - strokeStyle.color = color; - strokeStyle.color.a = rawNode.getAttribute("stroke-opacity"); - strokeStyle.width = rawNode.getAttribute("stroke-width"); - strokeStyle.cap = rawNode.getAttribute("stroke-linecap"); - strokeStyle.join = rawNode.getAttribute("stroke-linejoin"); - if(strokeStyle.join == "miter"){ - strokeStyle.join = rawNode.getAttribute("stroke-miterlimit"); - } - strokeStyle.style = rawNode.getAttribute("dojoGfxStrokeStyle"); - } - }; - - var attachTransform = function(object){ - // summary: deduces a transformation matrix from a node. - // object: dojox.gfx.Shape: an SVG shape - var matrix = object.rawNode.getAttribute("transform"); - if(matrix.match(/^matrix\(.+\)$/)){ - var t = matrix.slice(7, -1).split(","); - object.matrix = dojox.gfx.matrix.normalize({ - xx: parseFloat(t[0]), xy: parseFloat(t[2]), - yx: parseFloat(t[1]), yy: parseFloat(t[3]), - dx: parseFloat(t[4]), dy: parseFloat(t[5]) - }); - }else{ - object.matrix = null; - } - }; - - var attachFont = function(object){ - // summary: deduces a font style from a Node. - // object: dojox.gfx.Shape: an SVG shape - var fontStyle = object.fontStyle = dojo.clone(dojox.gfx.defaultFont), - r = object.rawNode; - fontStyle.style = r.getAttribute("font-style"); - fontStyle.variant = r.getAttribute("font-variant"); - fontStyle.weight = r.getAttribute("font-weight"); - fontStyle.size = r.getAttribute("font-size"); - fontStyle.family = r.getAttribute("font-family"); - }; - - var attachShape = function(object, def){ - // summary: builds a shape from a node. - // object: dojox.gfx.Shape: an SVG shape - // def: Object: a default shape template - var shape = object.shape = dojo.clone(def), r = object.rawNode; - for(var i in shape) { - shape[i] = r.getAttribute(i); - } - }; - - var attachRect = function(object){ - // summary: builds a rectangle shape from a node. - // object: dojox.gfx.Shape: an SVG shape - attachShape(object, dojox.gfx.defaultRect); - object.shape.r = Math.min(object.rawNode.getAttribute("rx"), object.rawNode.getAttribute("ry")); - }; - - var attachText = function(object){ - // summary: builds a text shape from a node. - // object: dojox.gfx.Shape: an SVG shape - var shape = object.shape = dojo.clone(dojox.gfx.defaultText), - r = object.rawNode; - shape.x = r.getAttribute("x"); - shape.y = r.getAttribute("y"); - shape.align = r.getAttribute("text-anchor"); - shape.decoration = r.getAttribute("text-decoration"); - shape.rotated = parseFloat(r.getAttribute("rotate")) != 0; - shape.kerning = r.getAttribute("kerning") == "auto"; - shape.text = r.firstChild.nodeValue; - }; - - var attachTextPath = function(object){ - // summary: builds a textpath shape from a node. - // object: dojox.gfx.Shape: an SVG shape - var shape = object.shape = dojo.clone(dojox.gfx.defaultTextPath), - r = object.rawNode; - shape.align = r.getAttribute("text-anchor"); - shape.decoration = r.getAttribute("text-decoration"); - shape.rotated = parseFloat(r.getAttribute("rotate")) != 0; - shape.kerning = r.getAttribute("kerning") == "auto"; - shape.text = r.firstChild.nodeValue; - }; -})(); diff --git a/includes/js/dojox/gfx/tests/decompose.js b/includes/js/dojox/gfx/tests/decompose.js deleted file mode 100644 index b488bdd..0000000 --- a/includes/js/dojox/gfx/tests/decompose.js +++ /dev/null @@ -1,114 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.tests.decompose"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.tests.decompose"] = true; -dojo.provide("dojox.gfx.tests.decompose"); -dojo.require("dojox.gfx.decompose"); - -(function(){ - var m = dojox.gfx.matrix; - var eq = function(t, a, b){ t.t(2 * Math.abs(a - b) / ((a < 1 && b < 1) ? 1 : a + b) < 1e-6); }; - var eqM = function(t, a, b){ - eq(t, a.xx, b.xx); - eq(t, a.yy, b.yy); - eq(t, a.xy, b.xy); - eq(t, a.yx, b.yx); - eq(t, a.dx, b.dx); - eq(t, a.dy, b.dy); - }; - var compose = function(r){ - return m.normalize([ - m.translate(r.dx, r.dy), - m.rotate(r.angle2), - m.scale(r.sx, r.sy), - m.rotate(r.angle1) - ]); - }; - var reconstruct = function(a){ - return compose(dojox.gfx.decompose(a)); - }; - var compare = function(t, a){ - var A = m.normalize(a); - eqM(t, A, reconstruct(A)); - }; - tests.register("dojox.gfx.tests.decompose", [ - function IdentityTest(t){ - compare(t, m.identity); - }, - function FlipXTest(t){ - compare(t, m.flipX); - }, - function FlipYTest(t){ - compare(t, m.flipY); - }, - function FlipXYTest(t){ - compare(t, m.flipXY); - }, - function TranslationTest(t){ - compare(t, m.translate(45, -15)); - }, - function RotationTest(t){ - compare(t, m.rotateg(35)); - }, - function SkewXTest(t){ - compare(t, m.skewXg(35)); - }, - function SkewYTest(t){ - compare(t, m.skewYg(35)); - }, - function ReflectTest(t){ - compare(t, m.reflect(13, 27)); - }, - function ProjectTest(t){ - compare(t, m.project(13, 27)); - }, - function ScaleTest1(t){ - compare(t, m.scale(3)); - }, - function ScaleTest2(t){ - compare(t, m.scale(3, -1)); - }, - function ScaleTest3(t){ - compare(t, m.scale(-3, 1)); - }, - function ScaleTest4(t){ - compare(t, m.scale(-3, -1)); - }, - function ScaleRotateTest1(t){ - compare(t, [m.scale(3), m.rotateAt(35, 13, 27)]); - }, - function ScaleRotateTest2(t){ - compare(t, [m.scale(3, -1), m.rotateAt(35, 13, 27)]); - }, - function ScaleRotateTest3(t){ - compare(t, [m.scale(-3, 1), m.rotateAt(35, 13, 27)]); - }, - function ScaleRotateTest4(t){ - compare(t, [m.scale(-3, -1), m.rotateAt(35, 13, 27)]); - }, - function RotateScaleTest1(t){ - compare(t, [m.rotateAt(35, 13, 27), m.scale(3)]); - }, - function RotateScaleTest2(t){ - compare(t, [m.rotateAt(35, 13, 27), m.scale(3, -1)]); - }, - function RotateScaleTest3(t){ - compare(t, [m.rotateAt(35, 13, 27), m.scale(-3, 1)]); - }, - function RotateScaleTest4(t){ - compare(t, [m.rotateAt(35, 13, 27), m.scale(-3, -1)]); - }, - function RotateScaleRotateTest1(t){ - compare(t, [m.rotateAt(35, 13, 27), m.scale(3), m.rotateAt(-15, 163, -287)]); - }, - function RotateScaleRotateTest2(t){ - compare(t, [m.rotateAt(35, 13, 27), m.scale(3, -1), m.rotateAt(-15, 163, -287)]); - }, - function RotateScaleRotateTest3(t){ - compare(t, [m.rotateAt(35, 13, 27), m.scale(-3, 1), m.rotateAt(-15, 163, -287)]); - }, - function RotateScaleRotateTest4(t){ - compare(t, [m.rotateAt(35, 13, 27), m.scale(-3, -1), m.rotateAt(-15, 163, -287)]); - } - ]); -})(); - -} diff --git a/includes/js/dojox/gfx/tests/matrix.js b/includes/js/dojox/gfx/tests/matrix.js deleted file mode 100644 index 282ec36..0000000 --- a/includes/js/dojox/gfx/tests/matrix.js +++ /dev/null @@ -1,228 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.tests.matrix"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.tests.matrix"] = true; -dojo.provide("dojox.gfx.tests.matrix"); -dojo.require("dojox.gfx.matrix"); - -(function(){ - var m = dojox.gfx.matrix; - var eq = function(t, a, b){ t.t(2 * Math.abs(a - b) / ((a < 1 && b < 1) ? 1 : a + b) < 1e-6); }; - tests.register("dojox.gfx.tests.matrix", [ - function IdentityTest(t){ - var a = new m.Matrix2D(); - eq(t, a.xx, 1); - eq(t, a.yy, 1); - eq(t, a.xy, 0); - eq(t, a.yx, 0); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - }, - function Rot30gTest(t){ - var a = m.rotateg(30); - eq(t, a.xx, a.yy); - eq(t, a.xy, -a.yx); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - eq(t, a.yx, 0.5); - t.t(a.xy < 0); - t.t(a.yx > 0); - }, - function Rot45gTest(t){ - var a = m.rotateg(45); - eq(t, a.xx, a.yy); - eq(t, a.xy, -a.yx); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - eq(t, a.xx, a.yx); - eq(t, a.yy, -a.xy); - }, - function Rot90gTest(t){ - var a = m.rotateg(90); - eq(t, a.xx, a.yy); - eq(t, a.xy, -a.yx); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - eq(t, a.xx, 0); - eq(t, a.yx, 1); - }, - function CombineIdentitiesTest(t){ - var a = m.normalize([new m.Matrix2D(), new m.Matrix2D(), new m.Matrix2D()]); - eq(t, a.xx, 1); - eq(t, a.yy, 1); - eq(t, a.xy, 0); - eq(t, a.yx, 0); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - }, - function CombineExclusiveTest(t){ - var a = m.normalize([m.rotateg(30), m.rotateg(-30)]); - eq(t, a.xx, 1); - eq(t, a.yy, 1); - eq(t, a.xy, 0); - eq(t, a.yx, 0); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - }, - function CombineInvertedTest(t){ - var a = m.normalize([m.rotateg(30), m.invert(m.rotateg(30))]); - eq(t, a.xx, 1); - eq(t, a.yy, 1); - eq(t, a.xy, 0); - eq(t, a.yx, 0); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - }, - function Rot90gAtTest(t){ - var a = m.rotategAt(90, 10, 10); - eq(t, a.xx, a.yy); - eq(t, a.xy, -a.yx); - eq(t, a.dx, 20); - eq(t, a.dy, 0); - eq(t, a.xx, 0); - eq(t, a.yx, 1); - }, - function MultPointTest1(t){ - var b = m.multiplyPoint(m.rotategAt(90, 10, 10), 10, 10); - eq(t, b.x, 10); - eq(t, b.y, 10); - }, - function MultPointTest2(t){ - var b = m.multiplyPoint(m.rotategAt(90, 10, 10), {x: 10, y: 5}); - eq(t, b.x, 15); - eq(t, b.y, 10); - }, - function MultPointTest3(t){ - var b = m.multiplyPoint(m.rotategAt(90, 10, 10), 10, 15); - eq(t, b.x, 5); - eq(t, b.y, 10); - }, - function ScaleTest1(t){ - var a = m.normalize([m.scale(2, 1), m.invert(m.rotateg(45))]); - eq(t, a.xx, 2 * a.yy); - eq(t, a.xy, -2 * a.yx); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - eq(t, a.xx, a.xy); - eq(t, a.yy, -a.yx); - }, - function ScaleTest2(t){ - var a = m.normalize([m.scale(1, 2), m.invert(m.rotateg(45))]); - eq(t, 2 * a.xx, a.yy); - eq(t, 2 * a.xy, -a.yx); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - eq(t, a.xx, a.xy); - eq(t, a.yy, -a.yx); - }, - function ScaleTest3(t){ - var a = m.normalize([m.rotateg(45), m.scale(2, 1)]); - eq(t, a.xx, 2 * a.yy); - eq(t, a.yx, -2 * a.xy); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - eq(t, a.xx, a.yx); - eq(t, a.yy, -a.xy); - }, - function ScaleTest4(t){ - var a = m.normalize([m.rotateg(45), m.scale(1, 2)]); - eq(t, 2 * a.xx, a.yy); - eq(t, 2 * a.yx, -a.xy); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - eq(t, a.xx, a.yx); - eq(t, a.yy, -a.xy); - }, - function ScaleTest5(t){ - var a = m.normalize([m.rotategAt(45, 100, 100), m.scale(2)]); - eq(t, a.xx, a.yy); - eq(t, a.xy, -a.yx); - eq(t, a.xx, a.yx); - eq(t, a.yy, -a.xy); - eq(t, a.dx, 100); - t.t(a.dy < 0); - var b = m.normalize([m.scale(2), m.rotategAt(45, 100, 100)]); - eq(t, b.xx, b.yy); - eq(t, b.xy, -b.yx); - eq(t, b.xx, b.yx); - eq(t, b.yy, -b.xy); - eq(t, b.dx, 200); - t.t(b.dy < 0); - eq(t, a.xx, b.xx); - eq(t, a.xy, b.xy); - eq(t, a.yx, b.yx); - eq(t, a.yy, b.yy); - eq(t, 2 * a.dx, b.dx); - eq(t, 2 * a.dy, b.dy); - var c = m.normalize([m.rotateg(45), m.scale(2)]); - eq(t, c.xx, c.yy); - eq(t, c.xy, -c.yx); - eq(t, c.xx, c.yx); - eq(t, c.yy, -c.xy); - eq(t, c.dx, 0); - eq(t, c.dy, 0); - var d = m.normalize([m.scale(2), m.rotateg(45)]); - eq(t, d.xx, d.yy); - eq(t, d.xy, -d.yx); - eq(t, d.xx, d.yx); - eq(t, d.yy, -d.xy); - eq(t, d.dx, 0); - eq(t, d.dy, 0); - eq(t, a.xx, c.xx); - eq(t, a.xy, c.xy); - eq(t, a.yx, c.yx); - eq(t, a.yy, c.yy); - eq(t, a.xx, d.xx); - eq(t, a.xy, d.xy); - eq(t, a.yx, d.yx); - eq(t, a.yy, d.yy); - }, - function ScaleTest6(t){ - var a = m.normalize(6); - eq(t, a.xx, 6); - eq(t, a.yy, 6); - eq(t, a.xy, 0); - eq(t, a.yx, 0); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - }, - function ScaleTest7(t){ - var a = m.normalize([2, m.scale(2, 1)]); - eq(t, a.xx, 4); - eq(t, a.yy, 2); - eq(t, a.xy, 0); - eq(t, a.yx, 0); - eq(t, a.dx, 0); - eq(t, a.dy, 0); - }, - function TranslateTest(t){ - var a = m.normalize({dx: 100, dy: 200}); - eq(t, a.xx, 1); - eq(t, a.yy, 1); - eq(t, a.xy, 0); - eq(t, a.yx, 0); - eq(t, a.dx, 100); - eq(t, a.dy, 200); - }, - function ReflectTest1(t){ - var b = m.multiplyPoint(m.reflect(1, 1), 1, 0); - eq(t, b.x, 0); - eq(t, b.y, 1); - }, - function ReflectTest2(t){ - var b = m.multiplyPoint(m.reflect(1, 1), 0, 1); - eq(t, b.x, 1); - eq(t, b.y, 0); - }, - function ProjectTest1(t){ - var b = m.multiplyPoint(m.project(1, 1), 1, 0); - eq(t, b.x, 0.5); - eq(t, b.y, 0.5); - }, - function ProjectTest2(t){ - var b = m.multiplyPoint(m.project(1, 1), 0, 1); - eq(t, b.x, 0.5); - eq(t, b.y, 0.5); - } - ]); -})(); - -} diff --git a/includes/js/dojox/gfx/tests/module.js b/includes/js/dojox/gfx/tests/module.js deleted file mode 100644 index 0790b6b..0000000 --- a/includes/js/dojox/gfx/tests/module.js +++ /dev/null @@ -1,13 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.tests.module"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.tests.module"] = true; -dojo.provide("dojox.gfx.tests.module"); - -try{ - dojo.require("dojox.gfx.tests.matrix"); - dojo.require("dojox.gfx.tests.decompose"); -}catch(e){ - doh.debug(e); -} - - -} diff --git a/includes/js/dojox/gfx/tests/runTests.html b/includes/js/dojox/gfx/tests/runTests.html deleted file mode 100644 index 4e13179..0000000 --- a/includes/js/dojox/gfx/tests/runTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - Dojox Unit Test Runner - - - Redirecting to D.O.H runner. - - diff --git a/includes/js/dojox/gfx/tests/test_arc.html b/includes/js/dojox/gfx/tests/test_arc.html deleted file mode 100644 index f7fc589..0000000 --- a/includes/js/dojox/gfx/tests/test_arc.html +++ /dev/null @@ -1,71 +0,0 @@ - - -Testing arc - - - - - - - - - - - - - - - -

            Testing arc

            - -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_bezier.html b/includes/js/dojox/gfx/tests/test_bezier.html deleted file mode 100644 index bcee2d0..0000000 --- a/includes/js/dojox/gfx/tests/test_bezier.html +++ /dev/null @@ -1,85 +0,0 @@ - - -Approximation of an arc with bezier - - - - - - - - - - - - - - - -

            Approximation of an arc with bezier

            - -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_decompose.html b/includes/js/dojox/gfx/tests/test_decompose.html deleted file mode 100644 index 6291cc2..0000000 --- a/includes/js/dojox/gfx/tests/test_decompose.html +++ /dev/null @@ -1,54 +0,0 @@ - - -Testing decompose - - - - - - - - -

            Testing decompose

            -

            - Example: m.rotategAt(30, 100, 100), m.scaleAt(2, 3, 5, 5), m.rotate(45)
            - -

            -

            Result:

            -

            - Original matrix
            - -

            -

            - Decomposed matrix
            - -

            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_fill.html b/includes/js/dojox/gfx/tests/test_fill.html deleted file mode 100644 index 84827ea..0000000 --- a/includes/js/dojox/gfx/tests/test_fill.html +++ /dev/null @@ -1,47 +0,0 @@ - - -Testing fill rule - - - - - - - - - - - - - -

            Testing fill rule

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_fx.html b/includes/js/dojox/gfx/tests/test_fx.html deleted file mode 100644 index c7b5b81..0000000 --- a/includes/js/dojox/gfx/tests/test_fx.html +++ /dev/null @@ -1,113 +0,0 @@ - - - -Testing animation - - - - - - - - - - - - - -

            Testing animation

            -

            - -   - -   - -   - -

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_gfx.html b/includes/js/dojox/gfx/tests/test_gfx.html deleted file mode 100644 index 6d2bef3..0000000 --- a/includes/js/dojox/gfx/tests/test_gfx.html +++ /dev/null @@ -1,489 +0,0 @@ - - -Dojo Unified 2D Graphics - - - - - - - - - - - - - -

            dojox.gfx tests

            - - - -
            - - diff --git a/includes/js/dojox/gfx/tests/test_gradient.html b/includes/js/dojox/gfx/tests/test_gradient.html deleted file mode 100644 index cd4e772..0000000 --- a/includes/js/dojox/gfx/tests/test_gradient.html +++ /dev/null @@ -1,70 +0,0 @@ - - -Dojo Unified 2D Graphics - - - - - - - - - - - -

            dojox.gfx Alpha gradient test

            -
            - - diff --git a/includes/js/dojox/gfx/tests/test_group.html b/includes/js/dojox/gfx/tests/test_group.html deleted file mode 100644 index fe11b37..0000000 --- a/includes/js/dojox/gfx/tests/test_group.html +++ /dev/null @@ -1,73 +0,0 @@ - - -Dojo Unified 2D Graphics - - - - - - - - - - - - - - -

            dojox.gfx Group tests

            -

            -
            -
            - -

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_image1.html b/includes/js/dojox/gfx/tests/test_image1.html deleted file mode 100644 index 41b168e..0000000 --- a/includes/js/dojox/gfx/tests/test_image1.html +++ /dev/null @@ -1,74 +0,0 @@ - - -Testing image - - - - - - - - - - -

            dojox.gfx Image tests

            -

            Note: Silverlight doesn't allow downloading images when run from a file system. This demo should be run from a server.

            -

            -
            -
            -
            -
            -
            -

            -

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_image2.html b/includes/js/dojox/gfx/tests/test_image2.html deleted file mode 100644 index 25f71c0..0000000 --- a/includes/js/dojox/gfx/tests/test_image2.html +++ /dev/null @@ -1,50 +0,0 @@ - - -Testing image - - - - - - - - - -

            Testing image:

            -

            Note: Silverlight doesn't allow downloading images when run from a file system. This demo should be run from a server.

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_linearGradient.html b/includes/js/dojox/gfx/tests/test_linearGradient.html deleted file mode 100644 index f18021a..0000000 --- a/includes/js/dojox/gfx/tests/test_linearGradient.html +++ /dev/null @@ -1,80 +0,0 @@ - - -Dojo Unified 2D Graphics - - - - - - - - - - - - - - - - - -

            dojox.gfx Linear Gradient test

            -
            - - diff --git a/includes/js/dojox/gfx/tests/test_linestyle.html b/includes/js/dojox/gfx/tests/test_linestyle.html deleted file mode 100644 index c4a422b..0000000 --- a/includes/js/dojox/gfx/tests/test_linestyle.html +++ /dev/null @@ -1,45 +0,0 @@ - - -Dojo Unified 2D Graphics - - - - - - - - - - - - - -

            dojox.gfx: Line style test

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_pattern.html b/includes/js/dojox/gfx/tests/test_pattern.html deleted file mode 100644 index 04d5c3d..0000000 --- a/includes/js/dojox/gfx/tests/test_pattern.html +++ /dev/null @@ -1,44 +0,0 @@ - - -Testing pattern - - - - - - - - - - - - -

            dojox.gfx Pattern test

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_poly.html b/includes/js/dojox/gfx/tests/test_poly.html deleted file mode 100644 index 7db70f1..0000000 --- a/includes/js/dojox/gfx/tests/test_poly.html +++ /dev/null @@ -1,53 +0,0 @@ - - -Testing polyline and line transforms - - - - - - - - - - - - - - - -

            dojox.gfx Polyline test

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_resize.html b/includes/js/dojox/gfx/tests/test_resize.html deleted file mode 100644 index 3870ab0..0000000 --- a/includes/js/dojox/gfx/tests/test_resize.html +++ /dev/null @@ -1,61 +0,0 @@ - - -Testing surface resizing - - - - - - - - - - - - - - - -

            Testing surface resizing

            - -

            - -   - -   - -   - -

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_setPath.html b/includes/js/dojox/gfx/tests/test_setPath.html deleted file mode 100644 index c8d7749..0000000 --- a/includes/js/dojox/gfx/tests/test_setPath.html +++ /dev/null @@ -1,76 +0,0 @@ - - -Testing setPath and curves - - - - - - - - - - - -

            dojox.gfx setPath and curve test

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_tbbox.html b/includes/js/dojox/gfx/tests/test_tbbox.html deleted file mode 100644 index 1fb1275..0000000 --- a/includes/js/dojox/gfx/tests/test_tbbox.html +++ /dev/null @@ -1,117 +0,0 @@ - - -Dojo Unified 2D Graphics - - - - - - - - - - - - - - - - -

            dojox.gfx Transformation test

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_text.html b/includes/js/dojox/gfx/tests/test_text.html deleted file mode 100644 index 446156f..0000000 --- a/includes/js/dojox/gfx/tests/test_text.html +++ /dev/null @@ -1,88 +0,0 @@ - - -Testing text - - - - - - - - - - - -

            dojox.gfx Text test

            -
            -
             
            -

             

            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_textpath.html b/includes/js/dojox/gfx/tests/test_textpath.html deleted file mode 100644 index 201b0b5..0000000 --- a/includes/js/dojox/gfx/tests/test_textpath.html +++ /dev/null @@ -1,76 +0,0 @@ - - -Testing textpath - - - - - - - - - -

            dojox.gfx Text on a Path test

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/tests/test_transform.html b/includes/js/dojox/gfx/tests/test_transform.html deleted file mode 100644 index abc50d5..0000000 --- a/includes/js/dojox/gfx/tests/test_transform.html +++ /dev/null @@ -1,98 +0,0 @@ - - -Dojo Unified 2D Graphics - - - - - - - - - - -

            dojox.gfx Transform test

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx/utils.js b/includes/js/dojox/gfx/utils.js deleted file mode 100644 index 7ee4d9d..0000000 --- a/includes/js/dojox/gfx/utils.js +++ /dev/null @@ -1,87 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.utils"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.utils"] = true; -dojo.provide("dojox.gfx.utils"); - -dojo.require("dojox.gfx"); - -dojox.gfx.utils.serialize = function( - /* dojox.gfx.Surface || dojox.gfx.Shape */ object -){ - var t = {}, v, isSurface = object instanceof dojox.gfx.Surface; - if(isSurface || object instanceof dojox.gfx.Group){ - t.children = []; - for(var i = 0; i < object.children.length; ++i){ - t.children.push(dojox.gfx.utils.serialize(object.children[i])); - } - if(isSurface){ - return t.children; // Array - } - }else{ - t.shape = object.getShape(); - } - if(object.getTransform){ - v = object.getTransform(); - if(v){ t.transform = v; } - } - if(object.getStroke){ - v = object.getStroke(); - if(v){ t.stroke = v; } - } - if(object.getFill){ - v = object.getFill(); - if(v){ t.fill = v; } - } - if(object.getFont){ - v = object.getFont(); - if(v){ t.font = v; } - } - return t; // Object -}; - -dojox.gfx.utils.toJson = function( - /* dojox.gfx.Surface || dojox.gfx.Shape */ object, - /* Boolean? */ prettyPrint -){ - return dojo.toJson(dojox.gfx.utils.serialize(object), prettyPrint); // String -}; - -dojox.gfx.utils.deserialize = function( - /* dojox.gfx.Surface || dojox.gfx.Shape */ parent, - /* dojox.gfx.Shape || Array */ object -){ - if(object instanceof Array){ - var t = []; - for(var i = 0; i < object.length; ++i){ - t.push(dojox.gfx.utils.deserialize(parent, object[i])); - } - return t; // Array - } - var shape = ("shape" in object) ? parent.createShape(object.shape) : parent.createGroup(); - if("transform" in object){ - shape.setTransform(object.transform); - } - if("stroke" in object){ - shape.setStroke(object.stroke); - } - if("fill" in object){ - shape.setFill(object.fill); - } - if("font" in object){ - shape.setFont(object.font); - } - if("children" in object){ - for(var i = 0; i < object.children.length; ++i){ - dojox.gfx.utils.deserialize(shape, object.children[i]); - } - } - return shape; // dojox.gfx.Shape -}; - -dojox.gfx.utils.fromJson = function( - /* dojox.gfx.Surface || dojox.gfx.Shape */ parent, - /* String */ json -){ - return dojox.gfx.utils.deserialize(parent, dojo.fromJson(json)); // Array || dojox.gfx.Shape -}; - -} diff --git a/includes/js/dojox/gfx/vml.js b/includes/js/dojox/gfx/vml.js deleted file mode 100644 index 44f01db..0000000 --- a/includes/js/dojox/gfx/vml.js +++ /dev/null @@ -1,1165 +0,0 @@ -if(!dojo._hasResource["dojox.gfx.vml"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx.vml"] = true; -dojo.provide("dojox.gfx.vml"); - -dojo.require("dojox.gfx._base"); -dojo.require("dojox.gfx.shape"); -dojo.require("dojox.gfx.path"); -dojo.require("dojox.gfx.arc"); - -// dojox.gfx.vml.xmlns: String: a VML's namespace -dojox.gfx.vml.xmlns = "urn:schemas-microsoft-com:vml"; - -// dojox.gfx.vml.text_alignment: Object: mapping from SVG alignment to VML alignment -dojox.gfx.vml.text_alignment = {start: "left", middle: "center", end: "right"}; - -dojox.gfx.vml._parseFloat = function(str) { - // summary: a helper function to parse VML-specific floating-point values - // str: String: a representation of a floating-point number - return str.match(/^\d+f$/i) ? parseInt(str) / 65536 : parseFloat(str); // Number -}; - -dojox.gfx.vml._bool = {"t": 1, "true": 1}; - -dojo.extend(dojox.gfx.Shape, { - // summary: VML-specific implementation of dojox.gfx.Shape methods - - setFill: function(fill){ - // summary: sets a fill object (VML) - // fill: Object: a fill object - // (see dojox.gfx.defaultLinearGradient, - // dojox.gfx.defaultRadialGradient, - // dojox.gfx.defaultPattern, - // or dojo.Color) - - if(!fill){ - // don't fill - this.fillStyle = null; - this.rawNode.filled = "f"; - return this; - } - if(typeof fill == "object" && "type" in fill){ - // gradient - var i, f, fo, a, s; - switch(fill.type){ - case "linear": - var matrix = this._getRealMatrix(), m = dojox.gfx.matrix; - s = []; - f = dojox.gfx.makeParameters(dojox.gfx.defaultLinearGradient, fill); - a = f.colors; - this.fillStyle = f; - dojo.forEach(a, function(v, i, a){ - a[i].color = dojox.gfx.normalizeColor(v.color); - }); - if(a[0].offset > 0){ - s.push("0 " + a[0].color.toHex()); - } - for(i = 0; i < a.length; ++i){ - s.push(a[i].offset.toFixed(8) + " " + a[i].color.toHex()); - } - i = a.length - 1; - if(a[i].offset < 1){ - s.push("1 " + a[i].color.toHex()); - } - fo = this.rawNode.fill; - fo.colors.value = s.join(";"); - fo.method = "sigma"; - fo.type = "gradient"; - var fc1 = matrix ? m.multiplyPoint(matrix, f.x1, f.y1) : {x: f.x1, y: f.y1}, - fc2 = matrix ? m.multiplyPoint(matrix, f.x2, f.y2) : {x: f.x2, y: f.y2}; - fo.angle = (m._radToDeg(Math.atan2(fc2.x - fc1.x, fc2.y - fc1.y)) + 180) % 360; - fo.on = true; - break; - case "radial": - f = dojox.gfx.makeParameters(dojox.gfx.defaultRadialGradient, fill); - this.fillStyle = f; - var l = parseFloat(this.rawNode.style.left), - t = parseFloat(this.rawNode.style.top), - w = parseFloat(this.rawNode.style.width), - h = parseFloat(this.rawNode.style.height), - c = isNaN(w) ? 1 : 2 * f.r / w; - a = []; - // add a color at the offset 0 (1 in VML coordinates) - if(f.colors[0].offset > 0){ - a.push({offset: 1, color: dojox.gfx.normalizeColor(f.colors[0].color)}); - } - // massage colors - dojo.forEach(f.colors, function(v, i){ - a.push({offset: 1 - v.offset * c, color: dojox.gfx.normalizeColor(v.color)}); - }); - i = a.length - 1; - while(i >= 0 && a[i].offset < 0){ --i; } - if(i < a.length - 1){ - // correct excessive colors - var q = a[i], p = a[i + 1]; - p.color = dojo.blendColors(q.color, p.color, q.offset / (q.offset - p.offset)); - p.offset = 0; - while(a.length - i > 2) a.pop(); - } - // set colors - i = a.length - 1, s = []; - if(a[i].offset > 0){ - s.push("0 " + a[i].color.toHex()); - } - for(; i >= 0; --i){ - s.push(a[i].offset.toFixed(8) + " " + a[i].color.toHex()); - } - fo = this.rawNode.fill; - fo.colors.value = s.join(";"); - fo.method = "sigma"; - fo.type = "gradientradial"; - if(isNaN(w) || isNaN(h) || isNaN(l) || isNaN(t)){ - fo.focusposition = "0.5 0.5"; - }else{ - fo.focusposition = ((f.cx - l) / w).toFixed(8) + " " + ((f.cy - t) / h).toFixed(8); - } - fo.focussize = "0 0"; - fo.on = true; - break; - case "pattern": - f = dojox.gfx.makeParameters(dojox.gfx.defaultPattern, fill); - this.fillStyle = f; - fo = this.rawNode.fill; - fo.type = "tile"; - fo.src = f.src; - if(f.width && f.height){ - // in points - fo.size.x = dojox.gfx.px2pt(f.width); - fo.size.y = dojox.gfx.px2pt(f.height); - } - fo.alignShape = "f"; - fo.position.x = 0; - fo.position.y = 0; - fo.origin.x = f.width ? f.x / f.width : 0; - fo.origin.y = f.height ? f.y / f.height : 0; - fo.on = true; - break; - } - this.rawNode.fill.opacity = 1; - return this; - } - // color object - this.fillStyle = dojox.gfx.normalizeColor(fill); - this.rawNode.fill.method = "any"; - this.rawNode.fill.type = "solid"; - this.rawNode.fillcolor = this.fillStyle.toHex(); - this.rawNode.fill.opacity = this.fillStyle.a; - this.rawNode.filled = true; - return this; // self - }, - - setStroke: function(stroke){ - // summary: sets a stroke object (VML) - // stroke: Object: a stroke object - // (see dojox.gfx.defaultStroke) - - if(!stroke){ - // don't stroke - this.strokeStyle = null; - this.rawNode.stroked = "f"; - return this; - } - // normalize the stroke - if(typeof stroke == "string"){ - stroke = {color: stroke}; - } - var s = this.strokeStyle = dojox.gfx.makeParameters(dojox.gfx.defaultStroke, stroke); - s.color = dojox.gfx.normalizeColor(s.color); - // generate attributes - var rn = this.rawNode; - rn.stroked = true; - rn.strokecolor = s.color.toCss(); - rn.strokeweight = s.width + "px"; // TODO: should we assume that the width is always in pixels? - if(rn.stroke) { - rn.stroke.opacity = s.color.a; - rn.stroke.endcap = this._translate(this._capMap, s.cap); - if(typeof s.join == "number") { - rn.stroke.joinstyle = "miter"; - rn.stroke.miterlimit = s.join; - }else{ - rn.stroke.joinstyle = s.join; - // rn.stroke.miterlimit = s.width; - } - rn.stroke.dashstyle = s.style == "none" ? "Solid" : s.style; - } - return this; // self - }, - - _capMap: { butt: 'flat' }, - _capMapReversed: { flat: 'butt' }, - - _translate: function(dict, value) { - return (value in dict) ? dict[value] : value; - }, - - _applyTransform: function() { - if(this.fillStyle && this.fillStyle.type == "linear"){ - this.setFill(this.fillStyle); - } - var matrix = this._getRealMatrix(); - if(!matrix) return this; - var skew = this.rawNode.skew; - if(typeof skew == "undefined"){ - for(var i = 0; i < this.rawNode.childNodes.length; ++i){ - if(this.rawNode.childNodes[i].tagName == "skew"){ - skew = this.rawNode.childNodes[i]; - break; - } - } - } - if(skew){ - skew.on = "f"; - var mt = matrix.xx.toFixed(8) + " " + matrix.xy.toFixed(8) + " " + - matrix.yx.toFixed(8) + " " + matrix.yy.toFixed(8) + " 0 0", - offset = Math.floor(matrix.dx).toFixed() + "px " + Math.floor(matrix.dy).toFixed() + "px", - s = this.rawNode.style, - l = parseFloat(s.left), - t = parseFloat(s.top), - w = parseFloat(s.width), - h = parseFloat(s.height); - if(isNaN(l)) l = 0; - if(isNaN(t)) t = 0; - if(isNaN(w)) w = 1; - if(isNaN(h)) h = 1; - var origin = (-l / w - 0.5).toFixed(8) + " " + (-t / h - 0.5).toFixed(8); - skew.matrix = mt; - skew.origin = origin; - skew.offset = offset; - skew.on = true; - } - return this; - }, - - setRawNode: function(rawNode){ - // summary: - // assigns and clears the underlying node that will represent this - // shape. Once set, transforms, gradients, etc, can be applied. - // (no fill & stroke by default) - rawNode.stroked = "f"; - rawNode.filled = "f"; - this.rawNode = rawNode; - }, - - // move family - - _moveToFront: function(){ - // summary: moves a shape to front of its parent's list of shapes (VML) - this.rawNode.parentNode.appendChild(this.rawNode); - return this; - }, - _moveToBack: function(){ - // summary: moves a shape to back of its parent's list of shapes (VML) - var r = this.rawNode, p = r.parentNode, n = p.firstChild; - p.insertBefore(r, n); - if(n.tagName == "rect"){ - // surface has a background rectangle, which position should be preserved - n.swapNode(r); - } - return this; - }, - - _getRealMatrix: function(){ - // summary: returns the cumulative ("real") transformation matrix - // by combining the shape's matrix with its parent's matrix - return this.parentMatrix ? new dojox.gfx.Matrix2D([this.parentMatrix, this.matrix]) : this.matrix; // dojox.gfx.Matrix2D - } -}); - -dojo.declare("dojox.gfx.Group", dojox.gfx.Shape, { - // summary: a group shape (VML), which can be used - // to logically group shapes (e.g, to propagate matricies) - constructor: function(){ - dojox.gfx.vml.Container._init.call(this); - }, - // apply transformation - _applyTransform: function(){ - // summary: applies a transformation matrix to a group - var matrix = this._getRealMatrix(); - for(var i = 0; i < this.children.length; ++i){ - this.children[i]._updateParentMatrix(matrix); - } - return this; // self - } -}); -dojox.gfx.Group.nodeType = "group"; - -dojo.declare("dojox.gfx.Rect", dojox.gfx.shape.Rect, { - // summary: a rectangle shape (VML) - setShape: function(newShape){ - // summary: sets a rectangle shape object (VML) - // newShape: Object: a rectangle shape object - var shape = this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var style = this.rawNode.style; - style.left = shape.x.toFixed(); - style.top = shape.y.toFixed(); - style.width = (typeof shape.width == "string" && shape.width.indexOf("%") >= 0) ? shape.width : shape.width.toFixed(); - style.height = (typeof shape.width == "string" && shape.height.indexOf("%") >= 0) ? shape.height : shape.height.toFixed(); - var r = Math.min(1, (shape.r / Math.min(parseFloat(shape.width), parseFloat(shape.height)))).toFixed(8); - // a workaround for the VML's arcsize bug: cannot read arcsize of an instantiated node - var parent = this.rawNode.parentNode, before = null; - if(parent){ - if(parent.lastChild != this.rawNode){ - for(var i = 0; i < parent.childNodes.length; ++i){ - if(parent.childNodes[i] == this.rawNode){ - before = parent.childNodes[i+1]; - break; - } - } - } - parent.removeChild(this.rawNode); - } - this.rawNode.arcsize = r; - if(parent){ - if(before){ - parent.insertBefore(this.rawNode, before); - }else{ - parent.appendChild(this.rawNode); - } - } - // set all necessary styles, which are lost by VML (yes, it's a VML's bug) - return this.setTransform(this.matrix).setFill(this.fillStyle).setStroke(this.strokeStyle); // self - } -}); -dojox.gfx.Rect.nodeType = "roundrect"; // use a roundrect so the stroke join type is respected - -dojo.declare("dojox.gfx.Ellipse", dojox.gfx.shape.Ellipse, { - // summary: an ellipse shape (VML) - setShape: function(newShape){ - // summary: sets an ellipse shape object (VML) - // newShape: Object: an ellipse shape object - var shape = this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var style = this.rawNode.style; - style.left = (shape.cx - shape.rx).toFixed(); - style.top = (shape.cy - shape.ry).toFixed(); - style.width = (shape.rx * 2).toFixed(); - style.height = (shape.ry * 2).toFixed(); - return this.setTransform(this.matrix); // self - } -}); -dojox.gfx.Ellipse.nodeType = "oval"; - -dojo.declare("dojox.gfx.Circle", dojox.gfx.shape.Circle, { - // summary: a circle shape (VML) - setShape: function(newShape){ - // summary: sets a circle shape object (VML) - // newShape: Object: a circle shape object - var shape = this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var style = this.rawNode.style; - style.left = (shape.cx - shape.r).toFixed(); - style.top = (shape.cy - shape.r).toFixed(); - style.width = (shape.r * 2).toFixed(); - style.height = (shape.r * 2).toFixed(); - return this; // self - } -}); -dojox.gfx.Circle.nodeType = "oval"; - -dojo.declare("dojox.gfx.Line", dojox.gfx.shape.Line, { - // summary: a line shape (VML) - constructor: function(rawNode){ - if(rawNode) rawNode.setAttribute("dojoGfxType", "line"); - }, - setShape: function(newShape){ - // summary: sets a line shape object (VML) - // newShape: Object: a line shape object - var shape = this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - this.rawNode.path.v = "m" + shape.x1.toFixed() + " " + shape.y1.toFixed() + - "l" + shape.x2.toFixed() + " " + shape.y2.toFixed() + "e"; - return this.setTransform(this.matrix); // self - } -}); -dojox.gfx.Line.nodeType = "shape"; - -dojo.declare("dojox.gfx.Polyline", dojox.gfx.shape.Polyline, { - // summary: a polyline/polygon shape (VML) - constructor: function(rawNode){ - if(rawNode) rawNode.setAttribute("dojoGfxType", "polyline"); - }, - setShape: function(points, closed){ - // summary: sets a polyline/polygon shape object (VML) - // points: Object: a polyline/polygon shape object - // closed: Boolean?: if true, close the polyline explicitely - if(points && points instanceof Array){ - // branch - // points: Array: an array of points - this.shape = dojox.gfx.makeParameters(this.shape, { points: points }); - if(closed && this.shape.points.length) this.shape.points.push(this.shape.points[0]); - }else{ - this.shape = dojox.gfx.makeParameters(this.shape, points); - } - this.bbox = null; - var attr = [], p = this.shape.points; - if(p.length > 0){ - attr.push("m"); - var k = 1; - if(typeof p[0] == "number"){ - attr.push(p[0].toFixed()); - attr.push(p[1].toFixed()); - k = 2; - }else{ - attr.push(p[0].x.toFixed()); - attr.push(p[0].y.toFixed()); - } - if(p.length > k){ - attr.push("l"); - for(var i = k; i < p.length; ++i){ - if(typeof p[i] == "number"){ - attr.push(p[i].toFixed()); - }else{ - attr.push(p[i].x.toFixed()); - attr.push(p[i].y.toFixed()); - } - } - } - } - attr.push("e"); - this.rawNode.path.v = attr.join(" "); - return this.setTransform(this.matrix); // self - } -}); -dojox.gfx.Polyline.nodeType = "shape"; - -dojo.declare("dojox.gfx.Image", dojox.gfx.shape.Image, { - // summary: an image (VML) - constructor: function(rawNode){ - if(rawNode) rawNode.setAttribute("dojoGfxType", "image"); - }, - getEventSource: function() { - // summary: returns a Node, which is used as - // a source of events for this shape - return this.rawNode ? this.rawNode.firstChild : null; // Node - }, - setShape: function(newShape){ - // summary: sets an image shape object (VML) - // newShape: Object: an image shape object - var shape = this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - this.rawNode.firstChild.src = shape.src; - return this.setTransform(this.matrix); // self - }, - _setDimensions: function(s, w, h){ - if(w || h){ - s.width = w + "px"; - s.height = h + "px"; - } - }, - _resetImage: function(){ - var s = this.rawNode.firstChild.style, - shape = this.shape; - s.left = "0px"; - s.top = "0px"; - this._setDimensions(s, shape.width, shape.height); - }, - _applyTransform: function() { - var matrix = this._getRealMatrix(), - img = this.rawNode.firstChild, - s = img.style, - shape = this.shape; - if(matrix){ - matrix = dojox.gfx.matrix.multiply(matrix, {dx: shape.x, dy: shape.y}); - }else{ - matrix = dojox.gfx.matrix.normalize({dx: shape.x, dy: shape.y}); - } - if(matrix.xy == 0 && matrix.yx == 0 && matrix.xx > 0 && matrix.yy > 0){ - // special case to avoid filters - this.rawNode.style.filter = ""; - s.left = Math.floor(matrix.dx) + "px"; - s.top = Math.floor(matrix.dy) + "px"; - this._setDimensions(s, Math.floor(matrix.xx * shape.width), Math.floor(matrix.yy * shape.height)); - }else{ - this._resetImage(); - var f = this.rawNode.filters["DXImageTransform.Microsoft.Matrix"]; - if(f){ - f.M11 = matrix.xx; - f.M12 = matrix.xy; - f.M21 = matrix.yx; - f.M22 = matrix.yy; - f.Dx = matrix.dx; - f.Dy = matrix.dy; - }else{ - this.rawNode.style.filter = "progid:DXImageTransform.Microsoft.Matrix(M11=" + matrix.xx + - ", M12=" + matrix.xy + ", M21=" + matrix.yx + ", M22=" + matrix.yy + - ", Dx=" + matrix.dx + ", Dy=" + matrix.dy + ")"; - } - } - return this; - } -}); -dojox.gfx.Image.nodeType = "div"; - -dojo.declare("dojox.gfx.Text", dojox.gfx.shape.Text, { - // summary: an anchored text (VML) - constructor: function(rawNode){ - if(rawNode){rawNode.setAttribute("dojoGfxType", "text");} - this.fontStyle = null; - }, - _alignment: {start: "left", middle: "center", end: "right"}, - setShape: function(newShape){ - // summary: sets a text shape object (VML) - // newShape: Object: a text shape object - this.shape = dojox.gfx.makeParameters(this.shape, newShape); - this.bbox = null; - var r = this.rawNode, s = this.shape, x = s.x, y = s.y.toFixed(); - switch(s.align){ - case "middle": - x -= 5; - break; - case "end": - x -= 10; - break; - } - this.rawNode.path.v = "m" + x.toFixed() + "," + y + - "l" + (x + 10).toFixed() + "," + y + "e"; - // find path and text path - var p = null, t = null, c = r.childNodes; - for(var i = 0; i < c.length; ++i){ - var tag = c[i].tagName; - if(tag == "path"){ - p = c[i]; - if(t) break; - }else if(tag == "textpath"){ - t = c[i]; - if(p) break; - } - } - if(!p){ - p = this.rawNode.ownerDocument.createElement("v:path"); - r.appendChild(p); - } - if(!t){ - t = this.rawNode.ownerDocument.createElement("v:textpath"); - r.appendChild(t); - } - p.textPathOk = true; - t.on = true; - var a = dojox.gfx.vml.text_alignment[s.align]; - t.style["v-text-align"] = a ? a : "left"; - t.style["text-decoration"] = s.decoration; - t.style["v-rotate-letters"] = s.rotated; - t.style["v-text-kern"] = s.kerning; - t.string = s.text; - return this.setTransform(this.matrix); // self - }, - _setFont: function(){ - // summary: sets a font object (VML) - var f = this.fontStyle, c = this.rawNode.childNodes; - for(var i = 0; i < c.length; ++i){ - if(c[i].tagName == "textpath"){ - c[i].style.font = dojox.gfx.makeFontString(f); - break; - } - } - this.setTransform(this.matrix); - }, - _getRealMatrix: function(){ - // summary: returns the cumulative ("real") transformation matrix - // by combining the shape's matrix with its parent's matrix; - // it makes a correction for a font size - var matrix = dojox.gfx.Shape.prototype._getRealMatrix.call(this); - // It appears that text is always aligned vertically at a middle of x-height (???). - // It is impossible to obtain these metrics from VML => I try to approximate it with - // more-or-less util value of 0.7 * FontSize, which is typical for European fonts. - if(matrix){ - matrix = dojox.gfx.matrix.multiply(matrix, - {dy: -dojox.gfx.normalizedLength(this.fontStyle ? this.fontStyle.size : "10pt") * 0.35}); - } - return matrix; // dojox.gfx.Matrix2D - }, - getTextWidth: function(){ - // summary: get the text width, in px - var rawNode = this.rawNode, _display = rawNode.style.display; - rawNode.style.display = "inline"; - var _width = dojox.gfx.pt2px(parseFloat(rawNode.currentStyle.width)); - rawNode.style.display = _display; - return _width; - } -}); -dojox.gfx.Text.nodeType = "shape"; - -dojox.gfx.path._calcArc = function(alpha){ - // return a start point, 1st and 2nd control points, and an end point - var cosa = Math.cos(alpha), sina = Math.sin(alpha), - p2 = {x: cosa + (4 / 3) * (1 - cosa), y: sina - (4 / 3) * cosa * (1 - cosa) / sina}; - return { - s: {x: cosa, y: -sina}, - c1: {x: p2.x, y: -p2.y}, - c2: p2, - e: {x: cosa, y: sina} - }; -}; - -dojo.declare("dojox.gfx.Path", dojox.gfx.path.Path, { - // summary: a path shape (VML) - constructor: function(rawNode){ - if(rawNode && !rawNode.getAttribute("dojoGfxType")){ - rawNode.setAttribute("dojoGfxType", "path"); - } - this.vmlPath = ""; - this.lastControl = {}; - }, - _updateWithSegment: function(segment){ - // summary: updates the bounding box of path with new segment - // segment: Object: a segment - var last = dojo.clone(this.last); - dojox.gfx.Path.superclass._updateWithSegment.apply(this, arguments); - // add a VML path segment - var path = this[this.renderers[segment.action]](segment, last); - if(typeof this.vmlPath == "string"){ - this.vmlPath += path.join(""); - this.rawNode.path.v = this.vmlPath + " r0,0 e"; - }else{ - this.vmlPath = this.vmlPath.concat(path); - } - }, - setShape: function(newShape){ - // summary: forms a path using a shape (VML) - // newShape: Object: an VML path string or a path object (see dojox.gfx.defaultPath) - this.vmlPath = []; - this.lastControl = {}; - dojox.gfx.Path.superclass.setShape.apply(this, arguments); - this.vmlPath = this.vmlPath.join(""); - this.rawNode.path.v = this.vmlPath + " r0,0 e"; - return this; - }, - _pathVmlToSvgMap: {m: "M", l: "L", t: "m", r: "l", c: "C", v: "c", qb: "Q", x: "z", e: ""}, - // VML-specific segment renderers - renderers: { - M: "_moveToA", m: "_moveToR", - L: "_lineToA", l: "_lineToR", - H: "_hLineToA", h: "_hLineToR", - V: "_vLineToA", v: "_vLineToR", - C: "_curveToA", c: "_curveToR", - S: "_smoothCurveToA", s: "_smoothCurveToR", - Q: "_qCurveToA", q: "_qCurveToR", - T: "_qSmoothCurveToA", t: "_qSmoothCurveToR", - A: "_arcTo", a: "_arcTo", - Z: "_closePath", z: "_closePath" - }, - _addArgs: function(path, args, from, upto){ - if(typeof upto == "undefined"){ - upto = args.length; - } - if(typeof from == "undefined"){ - from = 0; - } - for(var i = from; i < upto; ++i){ - path.push(" "); - path.push(args[i].toFixed()); - } - }, - _addArgsAdjusted: function(path, last, args, from, upto){ - if(typeof upto == "undefined"){ - upto = args.length; - } - if(typeof from == "undefined"){ - from = 0; - } - for(var i = from; i < upto; i += 2){ - path.push(" "); - path.push((last.x + args[i]).toFixed()); - path.push(" "); - path.push((last.y + args[i + 1]).toFixed()); - } - }, - _moveToA: function(segment){ - var p = [" m"], n = segment.args, l = n.length; - if(l == 2){ - this._addArgs(p, n); - }else{ - this._addArgs(p, n, 0, 2); - p.push(" l"); - this._addArgs(p, n, 2); - } - this.lastControl = {}; - return p; - }, - _moveToR: function(segment, last){ - var p = ["x" in last ? " t" : " m"], n = segment.args, l = n.length; - if(l == 2){ - this._addArgs(p, n); - }else{ - this._addArgs(p, n, 0, 2); - p.push(" r"); - this._addArgs(p, n, 2); - } - this.lastControl = {}; - return p; - }, - _lineToA: function(segment){ - var p = [" l"]; - this._addArgs(p, segment.args); - this.lastControl = {}; - return p; - }, - _lineToR: function(segment){ - var p = [" r"]; - this._addArgs(p, segment.args); - this.lastControl = {}; - return p; - }, - _hLineToA: function(segment, last){ - var p = [" l"], n = segment.args, l = n.length, y = " " + last.y.toFixed(); - for(var i = 0; i < l; ++i){ - p.push(" "); - p.push(n[i].toFixed()); - p.push(y); - } - this.lastControl = {}; - return p; - }, - _hLineToR: function(segment){ - var p = [" r"], n = segment.args, l = n.length; - for(var i = 0; i < l; ++i){ - p.push(" "); - p.push(n[i].toFixed()); - p.push(" 0"); - } - this.lastControl = {}; - return p; - }, - _vLineToA: function(segment, last){ - var p = [" l"], n = segment.args, l = n.length, x = " " + last.x.toFixed(); - for(var i = 0; i < l; ++i){ - p.push(x); - p.push(" "); - p.push(n[i].toFixed()); - } - this.lastControl = {}; - return p; - }, - _vLineToR: function(segment){ - var p = [" r"], n = segment.args, l = n.length; - for(var i = 0; i < l; ++i){ - p.push(" 0 "); - p.push(n[i].toFixed()); - } - this.lastControl = {}; - return p; - }, - _curveToA: function(segment){ - var p = [], n = segment.args, l = n.length; - for(var i = 0; i < l; i += 6){ - p.push(" c"); - this._addArgs(p, n, i, i + 6); - } - this.lastControl = {x: n[l - 4], y: n[l - 3], type: "C"}; - return p; - }, - _curveToR: function(segment, last){ - var p = [], n = segment.args, l = n.length; - for(var i = 0; i < l; i += 6){ - p.push(" v"); - this._addArgs(p, n, i, i + 6); - this.lastControl = {x: last.x + n[i + 2], y: last.y + n[i + 3]}; - last.x += n[i + 4]; - last.y += n[i + 5]; - } - this.lastControl.type = "C"; - return p; - }, - _smoothCurveToA: function(segment, last){ - var p = [], n = segment.args, l = n.length; - for(var i = 0; i < l; i += 4){ - p.push(" c"); - if(this.lastControl.type == "C"){ - this._addArgs(p, [ - 2 * last.x - this.lastControl.x, - 2 * last.y - this.lastControl.y - ]); - }else{ - this._addArgs(p, [last.x, last.y]); - } - this._addArgs(p, n, i, i + 4); - } - this.lastControl = {x: n[l - 4], y: n[l - 3], type: "C"}; - return p; - }, - _smoothCurveToR: function(segment, last){ - var p = [], n = segment.args, l = n.length; - for(var i = 0; i < l; i += 4){ - p.push(" v"); - if(this.lastControl.type == "C"){ - this._addArgs(p, [ - last.x - this.lastControl.x, - last.y - this.lastControl.y - ]); - }else{ - this._addArgs(p, [0, 0]); - } - this._addArgs(p, n, i, i + 4); - this.lastControl = {x: last.x + n[i], y: last.y + n[i + 1]}; - last.x += n[i + 2]; - last.y += n[i + 3]; - } - this.lastControl.type = "C"; - return p; - }, - _qCurveToA: function(segment){ - var p = [], n = segment.args, l = n.length; - for(var i = 0; i < l; i += 4){ - p.push(" qb"); - this._addArgs(p, n, i, i + 4); - } - this.lastControl = {x: n[l - 4], y: n[l - 3], type: "Q"}; - return p; - }, - _qCurveToR: function(segment, last){ - var p = [], n = segment.args, l = n.length; - for(var i = 0; i < l; i += 4){ - p.push(" qb"); - this._addArgsAdjusted(p, last, n, i, i + 4); - this.lastControl = {x: last.x + n[i], y: last.y + n[i + 1]}; - last.x += n[i + 2]; - last.y += n[i + 3]; - } - this.lastControl.type = "Q"; - return p; - }, - _qSmoothCurveToA: function(segment, last){ - var p = [], n = segment.args, l = n.length; - for(var i = 0; i < l; i += 2){ - p.push(" qb"); - if(this.lastControl.type == "Q"){ - this._addArgs(p, [ - this.lastControl.x = 2 * last.x - this.lastControl.x, - this.lastControl.y = 2 * last.y - this.lastControl.y - ]); - }else{ - this._addArgs(p, [ - this.lastControl.x = last.x, - this.lastControl.y = last.y - ]); - } - this._addArgs(p, n, i, i + 2); - } - this.lastControl.type = "Q"; - return p; - }, - _qSmoothCurveToR: function(segment, last){ - var p = [], n = segment.args, l = n.length; - for(var i = 0; i < l; i += 2){ - p.push(" qb"); - if(this.lastControl.type == "Q"){ - this._addArgs(p, [ - this.lastControl.x = 2 * last.x - this.lastControl.x, - this.lastControl.y = 2 * last.y - this.lastControl.y - ]); - }else{ - this._addArgs(p, [ - this.lastControl.x = last.x, - this.lastControl.y = last.y - ]); - } - this._addArgsAdjusted(p, last, n, i, i + 2); - } - this.lastControl.type = "Q"; - return p; - }, - _arcTo: function(segment, last){ - var p = [], n = segment.args, l = n.length, relative = segment.action == "a"; - for(var i = 0; i < l; i += 7){ - var x1 = n[i + 5], y1 = n[i + 6]; - if(relative){ - x1 += last.x; - y1 += last.y; - } - var result = dojox.gfx.arc.arcAsBezier( - last, n[i], n[i + 1], n[i + 2], - n[i + 3] ? 1 : 0, n[i + 4] ? 1 : 0, - x1, y1 - ); - for(var j = 0; j < result.length; ++j){ - p.push(" c"); - this._addArgs(p, result[j]); - } - last = {x: x1, y: y1}; - } - this.lastControl = {}; - return p; - }, - _closePath: function(){ - this.lastControl = {}; - return ["x"]; - } -}); -dojox.gfx.Path.nodeType = "shape"; - -dojo.declare("dojox.gfx.TextPath", dojox.gfx.Path, { - // summary: a textpath shape (VML) - constructor: function(rawNode){ - if(rawNode){rawNode.setAttribute("dojoGfxType", "textpath");} - this.fontStyle = null; - if(!("text" in this)){ - this.text = dojo.clone(dojox.gfx.defaultTextPath); - } - if(!("fontStyle" in this)){ - this.fontStyle = dojo.clone(dojox.gfx.defaultFont); - } - }, - setText: function(newText){ - // summary: sets a text to be drawn along the path - this.text = dojox.gfx.makeParameters(this.text, - typeof newText == "string" ? {text: newText} : newText); - this._setText(); - return this; // self - }, - setFont: function(newFont){ - // summary: sets a font for text - this.fontStyle = typeof newFont == "string" ? - dojox.gfx.splitFontString(newFont) : - dojox.gfx.makeParameters(dojox.gfx.defaultFont, newFont); - this._setFont(); - return this; // self - }, - - _setText: function(){ - // summary: sets a text shape object (VML) - this.bbox = null; - var r = this.rawNode, s = this.text, - // find path and text path - p = null, t = null, c = r.childNodes; - for(var i = 0; i < c.length; ++i){ - var tag = c[i].tagName; - if(tag == "path"){ - p = c[i]; - if(t) break; - }else if(tag == "textpath"){ - t = c[i]; - if(p) break; - } - } - if(!p){ - p = this.rawNode.ownerDocument.createElement("v:path"); - r.appendChild(p); - } - if(!t){ - t = this.rawNode.ownerDocument.createElement("v:textpath"); - r.appendChild(t); - } - p.textPathOk = true; - t.on = true; - var a = dojox.gfx.vml.text_alignment[s.align]; - t.style["v-text-align"] = a ? a : "left"; - t.style["text-decoration"] = s.decoration; - t.style["v-rotate-letters"] = s.rotated; - t.style["v-text-kern"] = s.kerning; - t.string = s.text; - }, - _setFont: function(){ - // summary: sets a font object (VML) - var f = this.fontStyle, c = this.rawNode.childNodes; - for(var i = 0; i < c.length; ++i){ - if(c[i].tagName == "textpath"){ - c[i].style.font = dojox.gfx.makeFontString(f); - break; - } - } - } -}); -dojox.gfx.TextPath.nodeType = "shape"; - -dojo.declare("dojox.gfx.Surface", dojox.gfx.shape.Surface, { - // summary: a surface object to be used for drawings (VML) - constructor: function(){ - dojox.gfx.vml.Container._init.call(this); - }, - setDimensions: function(width, height){ - // summary: sets the width and height of the rawNode - // width: String: width of surface, e.g., "100px" - // height: String: height of surface, e.g., "100px" - this.width = dojox.gfx.normalizedLength(width); // in pixels - this.height = dojox.gfx.normalizedLength(height); // in pixels - if(!this.rawNode) return this; - var cs = this.clipNode.style, - r = this.rawNode, rs = r.style, - bs = this.bgNode.style; - cs.width = width; - cs.height = height; - cs.clip = "rect(0 " + width + " " + height + " 0)"; - rs.width = width; - rs.height = height; - r.coordsize = width + " " + height; - bs.width = width; - bs.height = height; - return this; // self - }, - getDimensions: function(){ - // summary: returns an object with properties "width" and "height" - var t = this.rawNode ? { - width: dojox.gfx.normalizedLength(this.rawNode.style.width), - height: dojox.gfx.normalizedLength(this.rawNode.style.height)} : null; - if(t.width <= 0){ t.width = this.width; } - if(t.height <= 0){ t.height = this.height; } - return t; // Object - } -}); - -dojox.gfx.createSurface = function(parentNode, width, height){ - // summary: creates a surface (VML) - // parentNode: Node: a parent node - // width: String: width of surface, e.g., "100px" - // height: String: height of surface, e.g., "100px" - - if(!width){ width = "100%"; } - if(!height){ height = "100%"; } - var s = new dojox.gfx.Surface(), p = dojo.byId(parentNode), - c = s.clipNode = p.ownerDocument.createElement("div"), - r = s.rawNode = p.ownerDocument.createElement("v:group"), - cs = c.style, rs = r.style; - - p.style.width = width; - p.style.height = height; - - cs.position = "absolute"; - cs.width = width; - cs.height = height; - cs.clip = "rect(0 " + width + " " + height + " 0)"; - rs.position = "absolute"; - rs.width = width; - rs.height = height; - r.coordsize = (width == "100%" ? width : parseFloat(width)) + " " + - (height == "100%" ? height : parseFloat(height)); - r.coordorigin = "0 0"; - - // create a background rectangle, which is required to show all other shapes - var b = s.bgNode = r.ownerDocument.createElement("v:rect"), bs = b.style; - bs.left = bs.top = 0; - bs.width = rs.width; - bs.height = rs.height; - b.filled = b.stroked = "f"; - - r.appendChild(b); - c.appendChild(r); - p.appendChild(c); - - s.width = dojox.gfx.normalizedLength(width); // in pixels - s.height = dojox.gfx.normalizedLength(height); // in pixels - - return s; // dojox.gfx.Surface -}; - -// Extenders - -dojox.gfx.vml.Container = { - _init: function(){ - dojox.gfx.shape.Container._init.call(this); - }, - add: function(shape){ - // summary: adds a shape to a group/surface - // shape: dojox.gfx.Shape: an VML shape object - if(this != shape.getParent()){ - this.rawNode.appendChild(shape.rawNode); - //dojox.gfx.Group.superclass.add.apply(this, arguments); - //this.inherited(arguments); - dojox.gfx.shape.Container.add.apply(this, arguments); - } - return this; // self - }, - remove: function(shape, silently){ - // summary: remove a shape from a group/surface - // shape: dojox.gfx.Shape: an VML shape object - // silently: Boolean?: if true, regenerate a picture - if(this == shape.getParent()){ - if(this.rawNode == shape.rawNode.parentNode){ - this.rawNode.removeChild(shape.rawNode); - } - //dojox.gfx.Group.superclass.remove.apply(this, arguments); - //this.inherited(arguments); - dojox.gfx.shape.Container.remove.apply(this, arguments); - } - return this; // self - }, - clear: function(){ - // summary: removes all shapes from a group/surface - var r = this.rawNode; - while(r.firstChild != r.lastChild){ - if(r.firstChild != this.bgNode){ - r.removeChild(r.firstChild); - } - if(r.lastChild != this.bgNode){ - r.removeChild(r.lastChild); - } - } - //return this.inherited(arguments); // self - return dojox.gfx.shape.Container.clear.apply(this, arguments); - }, - _moveChildToFront: dojox.gfx.shape.Container._moveChildToFront, - _moveChildToBack: dojox.gfx.shape.Container._moveChildToBack -}; - -dojo.mixin(dojox.gfx.shape.Creator, { - // summary: VML shape creators - createGroup: function(){ - // summary: creates a VML group shape - var g = this.createObject(dojox.gfx.Group, null); // dojox.gfx.Group - // create a background rectangle, which is required to show all other shapes - var r = g.rawNode.ownerDocument.createElement("v:rect"); - r.style.left = r.style.top = 0; - r.style.width = g.rawNode.style.width; - r.style.height = g.rawNode.style.height; - r.filled = r.stroked = "f"; - g.rawNode.appendChild(r); - g.bgNode = r; - return g; // dojox.gfx.Group - }, - createImage: function(image){ - // summary: creates a VML image shape - // image: Object: an image object (see dojox.gfx.defaultImage) - if(!this.rawNode) return null; - var shape = new dojox.gfx.Image(), node = this.rawNode.ownerDocument.createElement('div'); - node.style.position = "absolute"; - node.style.width = this.rawNode.style.width; - node.style.height = this.rawNode.style.height; - //node.style.filter = "progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=0, M21=0, M22=1, Dx=0, Dy=0)"; - var img = this.rawNode.ownerDocument.createElement('img'); - img.style.position = "relative"; - node.appendChild(img); - shape.setRawNode(node); - this.rawNode.appendChild(node); - shape.setShape(image); - this.add(shape); - return shape; // dojox.gfx.Image - }, - createObject: function(shapeType, rawShape) { - // summary: creates an instance of the passed shapeType class - // shapeType: Function: a class constructor to create an instance of - // rawShape: Object: properties to be passed in to the classes "setShape" method - // overrideSize: Boolean: set the size explicitly, if true - if(!this.rawNode) return null; - var shape = new shapeType(), - node = this.rawNode.ownerDocument.createElement('v:' + shapeType.nodeType); - shape.setRawNode(node); - this.rawNode.appendChild(node); - switch(shapeType){ - case dojox.gfx.Group: - case dojox.gfx.Line: - case dojox.gfx.Polyline: - case dojox.gfx.Text: - case dojox.gfx.Path: - case dojox.gfx.TextPath: - this._overrideSize(node); - } - shape.setShape(rawShape); - this.add(shape); - return shape; // dojox.gfx.Shape - }, - _overrideSize: function(node){ - var p = this; - while(p && !(p instanceof dojox.gfx.Surface)){ p = p.parent; } - node.style.width = p.width; - node.style.height = p.height; - node.coordsize = p.width + " " + p.height; - } -}); - -dojo.extend(dojox.gfx.Group, dojox.gfx.vml.Container); -dojo.extend(dojox.gfx.Group, dojox.gfx.shape.Creator); - -dojo.extend(dojox.gfx.Surface, dojox.gfx.vml.Container); -dojo.extend(dojox.gfx.Surface, dojox.gfx.shape.Creator); - -} diff --git a/includes/js/dojox/gfx/vml_attach.js b/includes/js/dojox/gfx/vml_attach.js deleted file mode 100644 index b54d31b..0000000 --- a/includes/js/dojox/gfx/vml_attach.js +++ /dev/null @@ -1,362 +0,0 @@ -dojo.require("dojox.gfx.vml"); - -dojo.experimental("dojox.gfx.vml_attach"); - -(function(){ - dojox.gfx.attachNode = function(node){ - // summary: creates a shape from a Node - // node: Node: an VML node - if(!node) return null; - var s = null; - switch(node.tagName.toLowerCase()){ - case dojox.gfx.Rect.nodeType: - s = new dojox.gfx.Rect(node); - attachRect(s); - break; - case dojox.gfx.Ellipse.nodeType: - if(node.style.width == node.style.height){ - s = new dojox.gfx.Circle(node); - attachCircle(s); - }else{ - s = new dojox.gfx.Ellipse(node); - attachEllipse(s); - } - break; - case dojox.gfx.Path.nodeType: - switch(node.getAttribute("dojoGfxType")){ - case "line": - s = new dojox.gfx.Line(node); - attachLine(s); - break; - case "polyline": - s = new dojox.gfx.Polyline(node); - attachPolyline(s); - break; - case "path": - s = new dojox.gfx.Path(node); - attachPath(s); - break; - case "text": - s = new dojox.gfx.Text(node); - attachText(s); - attachFont(s); - attachTextTransform(s); - break; - case "textpath": - s = new dojox.gfx.TextPath(node); - attachPath(s); - attachText(s); - attachFont(s); - break; - } - break; - case dojox.gfx.Image.nodeType: - switch(node.getAttribute("dojoGfxType")){ - case "image": - s = new dojox.gfx.Image(node); - attachImage(s); - attachImageTransform(s); - break; - } - break; - default: - //console.debug("FATAL ERROR! tagName = " + node.tagName); - return null; - } - if(!(s instanceof dojox.gfx.Image)){ - attachFill(s); - attachStroke(s); - if(!(s instanceof dojox.gfx.Text)){ - attachTransform(s); - } - } - return s; // dojox.gfx.Shape - }; - - dojox.gfx.attachSurface = function(node){ - // summary: creates a surface from a Node - // node: Node: an VML node - var s = new dojox.gfx.Surface(); - s.clipNode = node; - var r = s.rawNode = node.firstChild; - var b = r.firstChild; - if(!b || b.tagName != "rect"){ - return null; // dojox.gfx.Surface - } - s.bgNode = r; - return s; // dojox.gfx.Surface - }; - - var attachFill = function(object){ - // summary: deduces a fill style from a node. - // object: dojox.gfx.Shape: an VML shape - var fillStyle = null, r = object.rawNode, fo = r.fill; - if(fo.on && fo.type == "gradient"){ - var fillStyle = dojo.clone(dojox.gfx.defaultLinearGradient), - rad = dojox.gfx.matrix._degToRad(fo.angle); - fillStyle.x2 = Math.cos(rad); - fillStyle.y2 = Math.sin(rad); - fillStyle.colors = []; - var stops = fo.colors.value.split(";"); - for(var i = 0; i < stops.length; ++i){ - var t = stops[i].match(/\S+/g); - if(!t || t.length != 2){ continue; } - fillStyle.colors.push({offset: dojox.gfx.vml._parseFloat(t[0]), color: new dojo.Color(t[1])}); - } - }else if(fo.on && fo.type == "gradientradial"){ - var fillStyle = dojo.clone(dojox.gfx.defaultRadialGradient), - w = parseFloat(r.style.width), h = parseFloat(r.style.height); - fillStyle.cx = isNaN(w) ? 0 : fo.focusposition.x * w; - fillStyle.cy = isNaN(h) ? 0 : fo.focusposition.y * h; - fillStyle.r = isNaN(w) ? 1 : w / 2; - fillStyle.colors = []; - var stops = fo.colors.value.split(";"); - for(var i = stops.length - 1; i >= 0; --i){ - var t = stops[i].match(/\S+/g); - if(!t || t.length != 2){ continue; } - fillStyle.colors.push({offset: dojox.gfx.vml._parseFloat(t[0]), color: new dojo.Color(t[1])}); - } - }else if(fo.on && fo.type == "tile"){ - var fillStyle = dojo.clone(dojox.gfx.defaultPattern); - fillStyle.width = dojox.gfx.pt2px(fo.size.x); // from pt - fillStyle.height = dojox.gfx.pt2px(fo.size.y); // from pt - fillStyle.x = fo.origin.x * fillStyle.width; - fillStyle.y = fo.origin.y * fillStyle.height; - fillStyle.src = fo.src; - }else if(fo.on && r.fillcolor){ - // a color object ! - fillStyle = new dojo.Color(r.fillcolor+""); - fillStyle.a = fo.opacity; - } - object.fillStyle = fillStyle; - }; - - var attachStroke = function(object) { - // summary: deduces a stroke style from a node. - // object: dojox.gfx.Shape: an VML shape - var r = object.rawNode; - if(!r.stroked){ - object.strokeStyle = null; - return; - } - var strokeStyle = object.strokeStyle = dojo.clone(dojox.gfx.defaultStroke), - rs = r.stroke; - strokeStyle.color = new dojo.Color(r.strokecolor.value); - strokeStyle.width = dojox.gfx.normalizedLength(r.strokeweight+""); - strokeStyle.color.a = rs.opacity; - strokeStyle.cap = this._translate(this._capMapReversed, rs.endcap); - strokeStyle.join = rs.joinstyle == "miter" ? rs.miterlimit : rs.joinstyle; - strokeStyle.style = rs.dashstyle; - }; - - var attachTransform = function(object) { - // summary: deduces a transformation matrix from a node. - // object: dojox.gfx.Shape: an VML shape - var s = rawNode.skew, sm = s.matrix, so = s.offset; - object.matrix = dojox.gfx.matrix.normalize({ - xx: sm.xtox, - xy: sm.ytox, - yx: sm.xtoy, - yy: sm.ytoy, - dx: dojox.gfx.pt2px(so.x), - dy: dojox.gfx.pt2px(so.y) - }); - }; - - var attachGroup = function(object){ - // summary: reconstructs all group shape parameters from a node (VML). - // object: dojox.gfx.Shape: an VML shape - // attach the background - object.bgNode = object.rawNode.firstChild; // TODO: check it first - }; - - var attachRect = function(object){ - // summary: builds a rectangle shape from a node. - // object: dojox.gfx.Shape: an VML shape - // a workaround for the VML's arcsize bug: cannot read arcsize of an instantiated node - var r = object.rawNode, arcsize = r.outerHTML.match(/arcsize = \"(\d*\.?\d+[%f]?)\"/)[1], - style = r.style, width = parseFloat(style.width), height = parseFloat(style.height); - arcsize = (arcsize.indexOf("%") >= 0) ? parseFloat(arcsize) / 100 : dojox.gfx.vml._parseFloat(arcsize); - // make an object - object.shape = dojox.gfx.makeParameters(dojox.gfx.defaultRect, { - x: parseInt(style.left), - y: parseInt(style.top), - width: width, - height: height, - r: Math.min(width, height) * arcsize - }); - }; - - var attachEllipse = function(object){ - // summary: builds an ellipse shape from a node. - // object: dojox.gfx.Shape: an VML shape - var style = object.rawNode.style, - rx = parseInt(style.width ) / 2, - ry = parseInt(style.height) / 2; - object.shape = dojox.gfx.makeParameters(dojox.gfx.defaultEllipse, { - cx: parseInt(style.left) + rx, - cy: parseInt(style.top ) + ry, - rx: rx, - ry: ry - }); - }; - - var attachCircle = function(object){ - // summary: builds a circle shape from a node. - // object: dojox.gfx.Shape: an VML shape - var style = object.rawNode.style, r = parseInt(style.width) / 2; - object.shape = dojox.gfx.makeParameters(dojox.gfx.defaultCircle, { - cx: parseInt(style.left) + r, - cy: parseInt(style.top) + r, - r: r - }); - }; - - var attachLine = function(object){ - // summary: builds a line shape from a node. - // object: dojox.gfx.Shape: an VML shape - var shape = object.shape = dojo.clone(dojox.gfx.defaultLine), - p = object.rawNode.path.v.match(dojox.gfx.pathVmlRegExp); - do{ - if(p.length < 7 || p[0] != "m" || p[3] != "l" || p[6] != "e"){ break; } - shape.x1 = parseInt(p[1]); - shape.y1 = parseInt(p[2]); - shape.x2 = parseInt(p[4]); - shape.y2 = parseInt(p[5]); - }while(false); - }; - - var attachPolyline = function(object){ - // summary: builds a polyline/polygon shape from a node. - // object: dojox.gfx.Shape: an VML shape - var shape = object.shape = dojo.clone(dojox.gfx.defaultPolyline), - p = object.rawNode.path.v.match(dojox.gfx.pathVmlRegExp); - do{ - if(p.length < 3 || p[0] != "m"){ break; } - var x = parseInt(p[0]), y = parseInt(p[1]); - if(isNaN(x) || isNaN(y)){ break; } - shape.points.push({x: x, y: y}); - if(p.length < 6 || p[3] != "l"){ break; } - for(var i = 4; i < p.length; i += 2){ - x = parseInt(p[i]); - y = parseInt(p[i + 1]); - if(isNaN(x) || isNaN(y)){ break; } - shape.points.push({x: x, y: y}); - } - }while(false); - }; - - var attachImage = function(object){ - // summary: builds an image shape from a node. - // object: dojox.gfx.Shape: an VML shape - object.shape = dojo.clone(dojox.gfx.defaultImage); - object.shape.src = object.rawNode.firstChild.src; - }; - - var attachImageTransform = function(object) { - // summary: deduces a transformation matrix from a node. - // object: dojox.gfx.Shape: an VML shape - var m = object.rawNode.filters["DXImageTransform.Microsoft.Matrix"]; - object.matrix = dojox.gfx.matrix.normalize({ - xx: m.M11, - xy: m.M12, - yx: m.M21, - yy: m.M22, - dx: m.Dx, - dy: m.Dy - }); - }; - - var attachText = function(object){ - // summary: builds a text shape from a node. - // object: dojox.gfx.Shape: an VML shape - var shape = object.shape = dojo.clone(dojox.gfx.defaultText), - r = object.rawNode, p = r.path.v.match(dojox.gfx.pathVmlRegExp); - do{ - if(!p || p.length != 7){ break; } - var c = r.childNodes, i = 0; - for(; i < c.length && c[i].tagName != "textpath"; ++i); - if(i >= c.length){ break; } - var s = c[i].style; - shape.text = c[i].string; - switch(s["v-text-align"]){ - case "left": - shape.x = parseInt(p[1]); - shape.align = "start"; - break; - case "center": - shape.x = (parseInt(p[1]) + parseInt(p[4])) / 2; - shape.align = "middle"; - break; - case "right": - shape.x = parseInt(p[4]); - shape.align = "end"; - break; - } - shape.y = parseInt(p[2]); - shape.decoration = s["text-decoration"]; - shape.rotated = s["v-rotate-letters"].toLowerCase() in dojox.gfx.vml._bool; - shape.kerning = s["v-text-kern"].toLowerCase() in dojox.gfx.vml._bool; - return; - }while(false); - object.shape = null; - }; - - var attachFont = function(object){ - // summary: deduces a font style from a node. - // object: dojox.gfx.Shape: an VML shape - var fontStyle = object.fontStyle = dojo.clone(dojox.gfx.defaultFont), - c = object.rawNode.childNodes, i = 0; - for(; i < c.length && c[i].tagName == "textpath"; ++i); - if(i >= c.length){ - object.fontStyle = null; - return; - } - var s = c[i].style; - fontStyle.style = s.fontstyle; - fontStyle.variant = s.fontvariant; - fontStyle.weight = s.fontweight; - fontStyle.size = s.fontsize; - fontStyle.family = s.fontfamily; - }; - - var attachTextTransform = function(object) { - // summary: deduces a transformation matrix from a node. - // object: dojox.gfx.Shape: an VML shape - attachTransform(object); - var matrix = object.matrix, fs = object.fontStyle; - // see comments in _getRealMatrix() - if(matrix && fs){ - object.matrix = dojox.gfx.matrix.multiply(matrix, {dy: dojox.gfx.normalizedLength(fs.size) * 0.35}); - } - }; - - var attachPath = function(object){ - // summary: builds a path shape from a Node. - // object: dojox.gfx.Shape: an VML shape - var shape = object.shape = dojo.clone(dojox.gfx.defaultPath), - p = rawNode.path.v.match(dojox.gfx.pathVmlRegExp), - t = [], skip = false, map = dojox.gfx.Path._pathVmlToSvgMap; - for(var i = 0; i < p.length; ++p){ - var s = p[i]; - if(s in map) { - skip = false; - t.push(map[s]); - } else if(!skip){ - var n = parseInt(s); - if(isNaN(n)){ - skip = true; - }else{ - t.push(n); - } - } - } - var l = t.length; - if(l >= 4 && t[l - 1] == "" && t[l - 2] == 0 && t[l - 3] == 0 && t[l - 4] == "l"){ - t.splice(l - 4, 4); - } - if(l){ - shape.path = t.join(" "); - } - }; -})(); diff --git a/includes/js/dojox/gfx3d.js b/includes/js/dojox/gfx3d.js deleted file mode 100644 index fbd5c63..0000000 --- a/includes/js/dojox/gfx3d.js +++ /dev/null @@ -1,11 +0,0 @@ -if(!dojo._hasResource["dojox.gfx3d"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx3d"] = true; -dojo.provide("dojox.gfx3d"); - -dojo.require("dojox.gfx3d.matrix"); -dojo.require("dojox.gfx3d._base"); -dojo.require("dojox.gfx3d.object"); - - - -} diff --git a/includes/js/dojox/gfx3d/README b/includes/js/dojox/gfx3d/README deleted file mode 100644 index bc7ed4e..0000000 --- a/includes/js/dojox/gfx3d/README +++ /dev/null @@ -1,36 +0,0 @@ -------------------------------------------------------------------------------- -dojox.gfx3d -------------------------------------------------------------------------------- -Version 0.100 -Release date: 10/31/2007 -------------------------------------------------------------------------------- -Project state: -beta -------------------------------------------------------------------------------- -Credits - Kun Xi (bookstack@gmail.com) - Eugene Lazutkin (eugene.lazutkin@gmail.com) -------------------------------------------------------------------------------- -Project description - -Implementation of simple portable 3D graphics library. -------------------------------------------------------------------------------- -Dependencies: - -Dojo Core, dojox.gfx. -------------------------------------------------------------------------------- -Documentation - -Not ready yet. -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/gfx3d.js -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/gfx3d/* - -Install into the following directory structure: -/dojox/gfx3d/ - -...which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- diff --git a/includes/js/dojox/gfx3d/_base.js b/includes/js/dojox/gfx3d/_base.js deleted file mode 100644 index dbc7748..0000000 --- a/includes/js/dojox/gfx3d/_base.js +++ /dev/null @@ -1,19 +0,0 @@ -if(!dojo._hasResource["dojox.gfx3d._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx3d._base"] = true; -dojo.provide("dojox.gfx3d._base"); - -dojo.mixin(dojox.gfx3d, { - // summary: defines constants, prototypes, and utility functions - - // default objects, which are used to fill in missing parameters - defaultEdges: {type: "edges", style: null, points: []}, - defaultTriangles: {type: "triangles", style: null, points: []}, - defaultQuads: {type: "quads", style: null, points: []}, - defaultOrbit: {type: "orbit", center: {x: 0, y: 0, z: 0}, radius: 50}, - defaultPath3d: {type: "path3d", path: []}, - defaultPolygon: {type: "polygon", path: []}, - defaultCube: {type: "cube", bottom: {x: 0, y: 0, z: 0}, top: {x: 100, y: 100, z: 100}}, - defaultCylinder: {type: "cylinder", center: /* center of bottom */ {x: 0, y: 0, z: 0}, height: 100, radius: 50} -}); - -} diff --git a/includes/js/dojox/gfx3d/gradient.js b/includes/js/dojox/gfx3d/gradient.js deleted file mode 100644 index fa93720..0000000 --- a/includes/js/dojox/gfx3d/gradient.js +++ /dev/null @@ -1,41 +0,0 @@ -if(!dojo._hasResource["dojox.gfx3d.gradient"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx3d.gradient"] = true; -dojo.provide("dojox.gfx3d.gradient"); - -dojo.require("dojox.gfx3d.vector"); -dojo.require("dojox.gfx3d.matrix"); - -(function(){ - var dist = function(a, b){ return Math.sqrt(Math.pow(b.x - a.x, 2) + Math.pow(b.y - a.y, 2)); }; - var N = 32; - - dojox.gfx3d.gradient = function(model, material, center, radius, from, to, matrix){ - // summary: calculate a cylindrical gradient - // model: dojox.gfx3d.lighting.Model: color model - // material: Object: defines visual properties - // center: Object: center of the cylinder's bottom - // radius: Number: radius of the cylinder - // from: Number: from position in radians - // to: Number: from position in radians - // matrix: dojox.gfx3d.Matrix3D: the cumulative transformation matrix - // tolerance: Number: tolerable diffirence in colors between gradient steps - - var m = dojox.gfx3d.matrix, v = dojox.gfx3d.vector, mx = m.normalize(matrix), - f = m.multiplyPoint(mx, radius * Math.cos(from) + center.x, radius * Math.sin(from) + center.y, center.z), - t = m.multiplyPoint(mx, radius * Math.cos(to) + center.x, radius * Math.sin(to) + center.y, center.z), - c = m.multiplyPoint(mx, center.x, center.y, center.z), step = (to - from) / N, r = dist(f, t) / 2, - mod = model[material.type], fin = material.finish, pmt = material.color, - colors = [{offset: 0, color: mod.call(model, v.substract(f, c), fin, pmt)}]; - - for(var a = from + step; a < to; a += step){ - var p = m.multiplyPoint(mx, radius * Math.cos(a) + center.x, radius * Math.sin(a) + center.y, center.z), - df = dist(f, p), dt = dist(t, p); - colors.push({offset: df / (df + dt), color: mod.call(model, v.substract(p, c), fin, pmt)}); - } - colors.push({offset: 1, color: mod.call(model, v.substract(t, c), fin, pmt)}); - - return {type: "linear", x1: 0, y1: -r, x2: 0, y2: r, colors: colors}; - }; -})(); - -} diff --git a/includes/js/dojox/gfx3d/lighting.js b/includes/js/dojox/gfx3d/lighting.js deleted file mode 100644 index bbd40de..0000000 --- a/includes/js/dojox/gfx3d/lighting.js +++ /dev/null @@ -1,241 +0,0 @@ -if(!dojo._hasResource["dojox.gfx3d.lighting"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx3d.lighting"] = true; -dojo.provide("dojox.gfx3d.lighting"); -dojo.require("dojox.gfx._base"); - -(function(){ - var lite = dojox.gfx3d.lighting; - - dojo.mixin(dojox.gfx3d.lighting, { - // color utilities - black: function(){ - return {r: 0, g: 0, b: 0, a: 1}; - }, - white: function(){ - return {r: 1, g: 1, b: 1, a: 1}; - }, - toStdColor: function(c){ - c = dojox.gfx.normalizeColor(c); - return {r: c.r / 255, g: c.g / 255, b: c.b / 255, a: c.a}; - }, - fromStdColor: function(c){ - return new dojo.Color([Math.round(255 * c.r), Math.round(255 * c.g), Math.round(255 * c.b), c.a]); - }, - scaleColor: function(s, c){ - return {r: s * c.r, g: s * c.g, b: s * c.b, a: s * c.a}; - }, - addColor: function(a, b){ - return {r: a.r + b.r, g: a.g + b.g, b: a.b + b.b, a: a.a + b.a}; - }, - multiplyColor: function(a, b){ - return {r: a.r * b.r, g: a.g * b.g, b: a.b * b.b, a: a.a * b.a}; - }, - saturateColor: function(c){ - return { - r: c.r < 0 ? 0 : c.r > 1 ? 1 : c.r, - g: c.g < 0 ? 0 : c.g > 1 ? 1 : c.g, - b: c.b < 0 ? 0 : c.b > 1 ? 1 : c.b, - a: c.a < 0 ? 0 : c.a > 1 ? 1 : c.a - }; - }, - mixColor: function(c1, c2, s){ - return lite.addColor(lite.scaleColor(s, c1), lite.scaleColor(1 - s, c2)); - }, - diff2Color: function(c1, c2){ - var r = c1.r - c2.r; - var g = c1.g - c2.g; - var b = c1.b - c2.b; - var a = c1.a - c2.a; - return r * r + g * g + b * b + a * a; - }, - length2Color: function(c){ - return c.r * c.r + c.g * c.g + c.b * c.b + c.a * c.a; - }, - - // vector utilities - //TODO: move vector utilities from this file to vector.js - dot: function(a, b){ - return a.x * b.x + a.y * b.y + a.z * b.z; - }, - scale: function(s, v){ - return {x: s * v.x, y: s * v.y, z: s * v.z}; - }, - add: function(a, b){ - return {x: a.x + b.x, y: a.y + b.y, z: a.z + b.z}; - }, - saturate: function(v){ - return Math.min(Math.max(v, 0), 1); - }, - length: function(v){ - return Math.sqrt(dojox.gfx3d.lighting.dot(v, v)); - }, - normalize: function(v){ - return lite.scale(1 / lite.length(v), v); - }, - faceforward: function(n, i){ - var p = dojox.gfx3d.lighting; - var s = p.dot(i, n) < 0 ? 1 : -1; - return p.scale(s, n); - }, - reflect: function(i, n){ - var p = dojox.gfx3d.lighting; - return p.add(i, p.scale(-2 * p.dot(i, n), n)); - }, - - // lighting utilities - diffuse: function(normal, lights){ - var c = lite.black(); - for(var i = 0; i < lights.length; ++i){ - var l = lights[i], - d = lite.dot(lite.normalize(l.direction), normal); - c = lite.addColor(c, lite.scaleColor(d, l.color)); - } - return lite.saturateColor(c); - }, - specular: function(normal, v, roughness, lights){ - var c = lite.black(); - for(var i = 0; i < lights.length; ++i){ - var l = lights[i], - h = lite.normalize(lite.add(lite.normalize(l.direction), v)), - s = Math.pow(Math.max(0, lite.dot(normal, h)), 1 / roughness); - c = lite.addColor(c, lite.scaleColor(s, l.color)); - } - return lite.saturateColor(c); - }, - phong: function(normal, v, size, lights){ - normal = lite.normalize(normal); - var c = lite.black(); - for(var i = 0; i < lights.length; ++i){ - var l = lights[i], - r = lite.reflect(lite.scale(-1, lite.normalize(v)), normal), - s = Math.pow(Math.max(0, lite.dot(r, lite.normalize(l.direction))), size); - c = lite.addColor(c, lite.scaleColor(s, l.color)); - } - return lite.saturateColor(c); - } - }); - - // this lighting model is derived from RenderMan Interface Specification Version 3.2 - - dojo.declare("dojox.gfx3d.lighting.Model", null, { - constructor: function(incident, lights, ambient, specular){ - this.incident = lite.normalize(incident); - this.lights = []; - for(var i = 0; i < lights.length; ++i){ - var l = lights[i]; - this.lights.push({direction: lite.normalize(l.direction), color: lite.toStdColor(l.color)}); - } - this.ambient = lite.toStdColor(ambient.color ? ambient.color : "white"); - this.ambient = lite.scaleColor(ambient.intensity, this.ambient); - this.ambient = lite.scaleColor(this.ambient.a, this.ambient); - this.ambient.a = 1; - this.specular = lite.toStdColor(specular ? specular : "white"); - this.specular = lite.scaleColor(this.specular.a, this.specular); - this.specular.a = 1; - this.npr_cool = {r: 0, g: 0, b: 0.4, a: 1}; - this.npr_warm = {r: 0.4, g: 0.4, b: 0.2, a: 1}; - this.npr_alpha = 0.2; - this.npr_beta = 0.6; - this.npr_scale = 0.6; - }, - constant: function(normal, finish, pigment){ - pigment = lite.toStdColor(pigment); - var alpha = pigment.a, color = lite.scaleColor(alpha, pigment); - color.a = alpha; - return lite.fromStdColor(lite.saturateColor(color)); - }, - matte: function(normal, finish, pigment){ - if(typeof finish == "string"){ finish = lite.finish[finish]; } - pigment = lite.toStdColor(pigment); - normal = lite.faceforward(lite.normalize(normal), this.incident); - var ambient = lite.scaleColor(finish.Ka, this.ambient), - shadow = lite.saturate(-4 * lite.dot(normal, this.incident)), - diffuse = lite.scaleColor(shadow * finish.Kd, lite.diffuse(normal, this.lights)), - color = lite.scaleColor(pigment.a, lite.multiplyColor(pigment, lite.addColor(ambient, diffuse))); - color.a = pigment.a; - return lite.fromStdColor(lite.saturateColor(color)); - }, - metal: function(normal, finish, pigment){ - if(typeof finish == "string"){ finish = lite.finish[finish]; } - pigment = lite.toStdColor(pigment); - normal = lite.faceforward(lite.normalize(normal), this.incident); - var v = lite.scale(-1, this.incident), specular, color, - ambient = lite.scaleColor(finish.Ka, this.ambient), - shadow = lite.saturate(-4 * lite.dot(normal, this.incident)); - if("phong" in finish){ - specular = lite.scaleColor(shadow * finish.Ks * finish.phong, lite.phong(normal, v, finish.phong_size, this.lights)); - }else{ - specular = lite.scaleColor(shadow * finish.Ks, lite.specular(normal, v, finish.roughness, this.lights)); - } - color = lite.scaleColor(pigment.a, lite.addColor(lite.multiplyColor(pigment, ambient), lite.multiplyColor(this.specular, specular))); - color.a = pigment.a; - return lite.fromStdColor(lite.saturateColor(color)); - }, - plastic: function(normal, finish, pigment){ - if(typeof finish == "string"){ finish = lite.finish[finish]; } - pigment = lite.toStdColor(pigment); - normal = lite.faceforward(lite.normalize(normal), this.incident); - var v = lite.scale(-1, this.incident), specular, color, - ambient = lite.scaleColor(finish.Ka, this.ambient), - shadow = lite.saturate(-4 * lite.dot(normal, this.incident)), - diffuse = lite.scaleColor(shadow * finish.Kd, lite.diffuse(normal, this.lights)); - if("phong" in finish){ - specular = lite.scaleColor(shadow * finish.Ks * finish.phong, lite.phong(normal, v, finish.phong_size, this.lights)); - }else{ - specular = lite.scaleColor(shadow * finish.Ks, lite.specular(normal, v, finish.roughness, this.lights)); - } - color = lite.scaleColor(pigment.a, lite.addColor(lite.multiplyColor(pigment, lite.addColor(ambient, diffuse)), lite.multiplyColor(this.specular, specular))); - color.a = pigment.a; - return lite.fromStdColor(lite.saturateColor(color)); - }, - npr: function(normal, finish, pigment){ - if(typeof finish == "string"){ finish = lite.finish[finish]; } - pigment = lite.toStdColor(pigment); - normal = lite.faceforward(lite.normalize(normal), this.incident); - var ambient = lite.scaleColor(finish.Ka, this.ambient), - shadow = lite.saturate(-4 * lite.dot(normal, this.incident)), - diffuse = lite.scaleColor(shadow * finish.Kd, lite.diffuse(normal, this.lights)), - color = lite.scaleColor(pigment.a, lite.multiplyColor(pigment, lite.addColor(ambient, diffuse))), - cool = lite.addColor(this.npr_cool, lite.scaleColor(this.npr_alpha, color)), - warm = lite.addColor(this.npr_warm, lite.scaleColor(this.npr_beta, color)), - d = (1 + lite.dot(this.incident, normal)) / 2, - color = lite.scaleColor(this.npr_scale, lite.addColor(color, lite.mixColor(cool, warm, d))); - color.a = pigment.a; - return lite.fromStdColor(lite.saturateColor(color)); - } - }); -})(); - -// POV-Ray basic finishes - -dojox.gfx3d.lighting.finish = { - - // Default - - defaults: {Ka: 0.1, Kd: 0.6, Ks: 0.0, roughness: 0.05}, - - dull: {Ka: 0.1, Kd: 0.6, Ks: 0.5, roughness: 0.15}, - shiny: {Ka: 0.1, Kd: 0.6, Ks: 1.0, roughness: 0.001}, - glossy: {Ka: 0.1, Kd: 0.6, Ks: 1.0, roughness: 0.0001}, - - phong_dull: {Ka: 0.1, Kd: 0.6, Ks: 0.5, phong: 0.5, phong_size: 1}, - phong_shiny: {Ka: 0.1, Kd: 0.6, Ks: 1.0, phong: 1.0, phong_size: 200}, - phong_glossy: {Ka: 0.1, Kd: 0.6, Ks: 1.0, phong: 1.0, phong_size: 300}, - - luminous: {Ka: 1.0, Kd: 0.0, Ks: 0.0, roughness: 0.05}, - - // Metals - - // very soft and dull - metalA: {Ka: 0.35, Kd: 0.3, Ks: 0.8, roughness: 1/20}, - // fairly soft and dull - metalB: {Ka: 0.30, Kd: 0.4, Ks: 0.7, roughness: 1/60}, - // medium reflectivity, holds color well - metalC: {Ka: 0.25, Kd: 0.5, Ks: 0.8, roughness: 1/80}, - // highly hard and polished, high reflectivity - metalD: {Ka: 0.15, Kd: 0.6, Ks: 0.8, roughness: 1/100}, - // very highly polished and reflective - metalE: {Ka: 0.10, Kd: 0.7, Ks: 0.8, roughness: 1/120} -}; - -} diff --git a/includes/js/dojox/gfx3d/matrix.js b/includes/js/dojox/gfx3d/matrix.js deleted file mode 100644 index 277b7d5..0000000 --- a/includes/js/dojox/gfx3d/matrix.js +++ /dev/null @@ -1,339 +0,0 @@ -if(!dojo._hasResource["dojox.gfx3d.matrix"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx3d.matrix"] = true; -dojo.provide("dojox.gfx3d.matrix"); - -// candidates for dojox.math: -dojox.gfx3d.matrix._degToRad = function(degree){ return Math.PI * degree / 180; }; -dojox.gfx3d.matrix._radToDeg = function(radian){ return radian / Math.PI * 180; }; - -dojox.gfx3d.matrix.Matrix3D = function(arg){ - // summary: a 3D matrix object - // description: Normalizes a 3D matrix-like object. If arrays is passed, - // all objects of the array are normalized and multiplied sequentially. - // arg: Object - // a 3D matrix-like object, a number, or an array of such objects - if(arg){ - if(typeof arg == "number"){ - this.xx = this.yy = this.zz = arg; - }else if(arg instanceof Array){ - if(arg.length > 0){ - var m = dojox.gfx3d.matrix.normalize(arg[0]); - // combine matrices - for(var i = 1; i < arg.length; ++i){ - var l = m; - var r = dojox.gfx3d.matrix.normalize(arg[i]); - m = new dojox.gfx3d.matrix.Matrix3D(); - m.xx = l.xx * r.xx + l.xy * r.yx + l.xz * r.zx; - m.xy = l.xx * r.xy + l.xy * r.yy + l.xz * r.zy; - m.xz = l.xx * r.xz + l.xy * r.yz + l.xz * r.zz; - m.yx = l.yx * r.xx + l.yy * r.yx + l.yz * r.zx; - m.yy = l.yx * r.xy + l.yy * r.yy + l.yz * r.zy; - m.yz = l.yx * r.xz + l.yy * r.yz + l.yz * r.zz; - m.zx = l.zx * r.xx + l.zy * r.yx + l.zz * r.zx; - m.zy = l.zx * r.xy + l.zy * r.yy + l.zz * r.zy; - m.zz = l.zx * r.xz + l.zy * r.yz + l.zz * r.zz; - m.dx = l.xx * r.dx + l.xy * r.dy + l.xz * r.dz + l.dx; - m.dy = l.yx * r.dx + l.yy * r.dy + l.yz * r.dz + l.dy; - m.dz = l.zx * r.dx + l.zy * r.dy + l.zz * r.dz + l.dz; - } - dojo.mixin(this, m); - } - }else{ - dojo.mixin(this, arg); - } - } -}; - -// the default (identity) matrix, which is used to fill in missing values -dojo.extend(dojox.gfx3d.matrix.Matrix3D, {xx: 1, xy: 0, xz: 0, yx: 0, yy: 1, yz: 0, zx: 0, zy: 0, zz: 1, dx: 0, dy: 0, dz: 0}); - -dojo.mixin(dojox.gfx3d.matrix, { - // summary: class constants, and methods of dojox.gfx3d.matrix - - // matrix constants - - // identity: dojox.gfx3d.matrix.Matrix3D - // an identity matrix constant: identity * (x, y, z) == (x, y, z) - identity: new dojox.gfx3d.matrix.Matrix3D(), - - // matrix creators - - translate: function(a, b, c){ - // summary: forms a translation matrix - // description: The resulting matrix is used to translate (move) points by specified offsets. - // a: Number: an x coordinate value - // b: Number: a y coordinate value - // c: Number: a z coordinate value - if(arguments.length > 1){ - return new dojox.gfx3d.matrix.Matrix3D({dx: a, dy: b, dz: c}); // dojox.gfx3d.matrix.Matrix3D - } - // branch - // a: Object: a point-like object, which specifies offsets for 3 dimensions - // b: null - return new dojox.gfx3d.matrix.Matrix3D({dx: a.x, dy: a.y, dz: a.z}); // dojox.gfx3d.matrix.Matrix3D - }, - scale: function(a, b, c){ - // summary: forms a scaling matrix - // description: The resulting matrix is used to scale (magnify) points by specified offsets. - // a: Number: a scaling factor used for the x coordinate - // b: Number: a scaling factor used for the y coordinate - // c: Number: a scaling factor used for the z coordinate - if(arguments.length > 1){ - return new dojox.gfx3d.matrix.Matrix3D({xx: a, yy: b, zz: c}); // dojox.gfx3d.matrix.Matrix3D - } - if(typeof a == "number"){ - // branch - // a: Number: a uniform scaling factor used for the all coordinates - // b: null - return new dojox.gfx3d.matrix.Matrix3D({xx: a, yy: a, zz: a}); // dojox.gfx3d.matrix.Matrix3D - } - // branch - // a: Object: a point-like object, which specifies scale factors for 3 dimensions - // b: null - return new dojox.gfx3d.matrix.Matrix3D({xx: a.x, yy: a.y, zz: a.z}); // dojox.gfx3d.matrix.Matrix3D - }, - rotateX: function(angle){ - // summary: forms a rotating matrix (about the x axis) - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified angle. - // angle: Number: an angle of rotation in radians (>0 for CW) - var c = Math.cos(angle); - var s = Math.sin(angle); - return new dojox.gfx3d.matrix.Matrix3D({yy: c, yz: -s, zy: s, zz: c}); // dojox.gfx3d.matrix.Matrix3D - }, - rotateXg: function(degree){ - // summary: forms a rotating matrix (about the x axis) - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified degree. - // See dojox.gfx3d.matrix.rotateX() for comparison. - // degree: Number: an angle of rotation in degrees (>0 for CW) - return dojox.gfx3d.matrix.rotateX(dojox.gfx3d.matrix._degToRad(degree)); // dojox.gfx3d.matrix.Matrix3D - }, - rotateY: function(angle){ - // summary: forms a rotating matrix (about the y axis) - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified angle. - // angle: Number: an angle of rotation in radians (>0 for CW) - var c = Math.cos(angle); - var s = Math.sin(angle); - return new dojox.gfx3d.matrix.Matrix3D({xx: c, xz: s, zx: -s, zz: c}); // dojox.gfx3d.matrix.Matrix3D - }, - rotateYg: function(degree){ - // summary: forms a rotating matrix (about the y axis) - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified degree. - // See dojox.gfx3d.matrix.rotateY() for comparison. - // degree: Number: an angle of rotation in degrees (>0 for CW) - return dojox.gfx3d.matrix.rotateY(dojox.gfx3d.matrix._degToRad(degree)); // dojox.gfx3d.matrix.Matrix3D - }, - rotateZ: function(angle){ - // summary: forms a rotating matrix (about the z axis) - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified angle. - // angle: Number: an angle of rotation in radians (>0 for CW) - var c = Math.cos(angle); - var s = Math.sin(angle); - return new dojox.gfx3d.matrix.Matrix3D({xx: c, xy: -s, yx: s, yy: c}); // dojox.gfx3d.matrix.Matrix3D - }, - rotateZg: function(degree){ - // summary: forms a rotating matrix (about the z axis) - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified degree. - // See dojox.gfx3d.matrix.rotateZ() for comparison. - // degree: Number: an angle of rotation in degrees (>0 for CW) - return dojox.gfx3d.matrix.rotateZ(dojox.gfx3d.matrix._degToRad(degree)); // dojox.gfx3d.matrix.Matrix3D - }, - - // camera transformation - cameraTranslate: function(a, b, c){ - // summary: forms a translation matrix - // description: The resulting matrix is used to translate (move) points by specified offsets. - // a: Number: an x coordinate value - // b: Number: a y coordinate value - // c: Number: a z coordinate value - if(arguments.length > 1){ - return new dojox.gfx3d.matrix.Matrix3D({dx: -a, dy: -b, dz: -c}); // dojox.gfx3d.matrix.Matrix3D - } - // branch - // a: Object: a point-like object, which specifies offsets for 3 dimensions - // b: null - return new dojox.gfx3d.matrix.Matrix3D({dx: -a.x, dy: -a.y, dz: -a.z}); // dojox.gfx3d.matrix.Matrix3D - }, - cameraRotateX: function(angle){ - // summary: forms a rotating matrix (about the x axis) in cameraTransform manner - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified angle. - // angle: Number: an angle of rotation in radians (>0 for CW) - var c = Math.cos(-angle); - var s = Math.sin(-angle); - return new dojox.gfx3d.matrix.Matrix3D({yy: c, yz: -s, zy: s, zz: c}); // dojox.gfx3d.matrix.Matrix3D - }, - cameraRotateXg: function(degree){ - // summary: forms a rotating matrix (about the x axis)in cameraTransform manner - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified degree. - // See dojox.gfx3d.matrix.rotateX() for comparison. - // degree: Number: an angle of rotation in degrees (>0 for CW) - return dojox.gfx3d.matrix.rotateX(dojox.gfx3d.matrix._degToRad(degree)); // dojox.gfx3d.matrix.Matrix3D - }, - cameraRotateY: function(angle){ - // summary: forms a rotating matrix (about the y axis) in cameraTransform manner - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified angle. - // angle: Number: an angle of rotation in radians (>0 for CW) - var c = Math.cos(-angle); - var s = Math.sin(-angle); - return new dojox.gfx3d.matrix.Matrix3D({xx: c, xz: s, zx: -s, zz: c}); // dojox.gfx3d.matrix.Matrix3D - }, - cameraRotateYg: function(degree){ - // summary: forms a rotating matrix (about the y axis) in cameraTransform manner - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified degree. - // See dojox.gfx3d.matrix.rotateY() for comparison. - // degree: Number: an angle of rotation in degrees (>0 for CW) - return dojox.gfx3d.matrix.rotateY(dojox.gfx3d.matrix._degToRad(degree)); // dojox.gfx3d.matrix.Matrix3D - }, - cameraRotateZ: function(angle){ - // summary: forms a rotating matrix (about the z axis) in cameraTransform manner - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified angle. - // angle: Number: an angle of rotation in radians (>0 for CW) - var c = Math.cos(-angle); - var s = Math.sin(-angle); - return new dojox.gfx3d.matrix.Matrix3D({xx: c, xy: -s, yx: s, yy: c}); // dojox.gfx3d.matrix.Matrix3D - }, - cameraRotateZg: function(degree){ - // summary: forms a rotating matrix (about the z axis) in cameraTransform manner - // description: The resulting matrix is used to rotate points - // around the origin of coordinates (0, 0) by specified degree. - // See dojox.gfx3d.matrix.rotateZ() for comparison. - // degree: Number: an angle of rotation in degrees (>0 for CW) - return dojox.gfx3d.matrix.rotateZ(dojox.gfx3d.matrix._degToRad(degree)); // dojox.gfx3d.matrix.Matrix3D - }, - - // ensure matrix 3D conformance - normalize: function(matrix){ - // summary: converts an object to a matrix, if necessary - // description: Converts any 3D matrix-like object or an array of - // such objects to a valid dojox.gfx3d.matrix.Matrix3D object. - // matrix: Object: an object, which is converted to a matrix, if necessary - return (matrix instanceof dojox.gfx3d.matrix.Matrix3D) ? matrix : new dojox.gfx3d.matrix.Matrix3D(matrix); // dojox.gfx3d.matrix.Matrix3D - }, - - // common operations - - clone: function(matrix){ - // summary: creates a copy of a 3D matrix - // matrix: dojox.gfx3d.matrix.Matrix3D: a 3D matrix-like object to be cloned - var obj = new dojox.gfx3d.matrix.Matrix3D(); - for(var i in matrix){ - if(typeof(matrix[i]) == "number" && typeof(obj[i]) == "number" && obj[i] != matrix[i]) obj[i] = matrix[i]; - } - return obj; // dojox.gfx3d.matrix.Matrix3D - }, - invert: function(matrix){ - // summary: inverts a 2D matrix - // matrix: dojox.gfx.matrix.Matrix3D: a 2D matrix-like object to be inverted - var m = dojox.gfx3d.matrix.normalize(matrix); - var D = m.xx * m.yy * m.zz + m.xy * m.yz * m.zx + m.xz * m.yx * m.zy - m.xx * m.yz * m.zy - m.xy * m.yx * m.zz - m.xz * m.yy * m.zx; - var M = new dojox.gfx3d.matrix.Matrix3D({ - xx: (m.yy * m.zz - m.yz * m.zy) / D, - xy: (m.xz * m.zy - m.xy * m.zz) / D, - xz: (m.xy * m.yz - m.xz * m.yy) / D, - yx: (m.yz * m.zx - m.yx * m.zz) / D, - yy: (m.xx * m.zz - m.xz * m.zx) / D, - yz: (m.xz * m.yx - m.xx * m.yz) / D, - zx: (m.yx * m.zy - m.yy * m.zx) / D, - zy: (m.xy * m.zx - m.xx * m.zy) / D, - zz: (m.xx * m.yy - m.xy * m.yx) / D, - dx: -1 * (m.xy * m.yz * m.dz + m.xz * m.dy * m.zy + m.dx * m.yy * m.zz - m.xy * m.dy * m.zz - m.xz * m.yy * m.dz - m.dx * m.yz * m.zy) / D, - dy: (m.xx * m.yz * m.dz + m.xz * m.dy * m.zx + m.dx * m.yx * m.zz - m.xx * m.dy * m.zz - m.xz * m.yx * m.dz - m.dx * m.yz * m.zx) / D, - dz: -1 * (m.xx * m.yy * m.dz + m.xy * m.dy * m.zx + m.dx * m.yx * m.zy - m.xx * m.dy * m.zy - m.xy * m.yx * m.dz - m.dx * m.yy * m.zx) / D - }); - return M; // dojox.gfx3d.matrix.Matrix3D - }, - _multiplyPoint: function(m, x, y, z){ - // summary: applies a matrix to a point - // matrix: dojox.gfx3d.matrix.Matrix3D: a 3D matrix object to be applied - // x: Number: an x coordinate of a point - // y: Number: a y coordinate of a point - // z: Number: a z coordinate of a point - return {x: m.xx * x + m.xy * y + m.xz * z + m.dx, y: m.yx * x + m.yy * y + m.yz * z + m.dy, z: m.zx * x + m.zy * y + m.zz * z + m.dz}; // Object - }, - multiplyPoint: function(matrix, /* Number||Point */ a, /* Number, optional */ b, /* Number, optional */ c){ - // summary: applies a matrix to a point - // matrix: dojox.gfx3d.matrix.Matrix3D: a 3D matrix object to be applied - // a: Number: an x coordinate of a point - // b: Number: a y coordinate of a point - // c: Number: a z coordinate of a point - var m = dojox.gfx3d.matrix.normalize(matrix); - if(typeof a == "number" && typeof b == "number" && typeof c == "number"){ - return dojox.gfx3d.matrix._multiplyPoint(m, a, b, c); // Object - } - // branch - // matrix: dojox.gfx3d.matrix.Matrix3D: a 3D matrix object to be applied - // a: Object: a point - // b: null - // c: null - return dojox.gfx3d.matrix._multiplyPoint(m, a.x, a.y, a.z); // Object - }, - multiply: function(matrix){ - // summary: combines matrices by multiplying them sequentially in the given order - // matrix: dojox.gfx3d.matrix.Matrix3D...: a 3D matrix-like object, - // all subsequent arguments are matrix-like objects too - var m = dojox.gfx3d.matrix.normalize(matrix); - // combine matrices - for(var i = 1; i < arguments.length; ++i){ - var l = m; - var r = dojox.gfx3d.matrix.normalize(arguments[i]); - m = new dojox.gfx3d.matrix.Matrix3D(); - m.xx = l.xx * r.xx + l.xy * r.yx + l.xz * r.zx; - m.xy = l.xx * r.xy + l.xy * r.yy + l.xz * r.zy; - m.xz = l.xx * r.xz + l.xy * r.yz + l.xz * r.zz; - m.yx = l.yx * r.xx + l.yy * r.yx + l.yz * r.zx; - m.yy = l.yx * r.xy + l.yy * r.yy + l.yz * r.zy; - m.yz = l.yx * r.xz + l.yy * r.yz + l.yz * r.zz; - m.zx = l.zx * r.xx + l.zy * r.yx + l.zz * r.zx; - m.zy = l.zx * r.xy + l.zy * r.yy + l.zz * r.zy; - m.zz = l.zx * r.xz + l.zy * r.yz + l.zz * r.zz; - m.dx = l.xx * r.dx + l.xy * r.dy + l.xz * r.dz + l.dx; - m.dy = l.yx * r.dx + l.yy * r.dy + l.yz * r.dz + l.dy; - m.dz = l.zx * r.dx + l.zy * r.dy + l.zz * r.dz + l.dz; - } - return m; // dojox.gfx3d.matrix.Matrix3D - }, - - _project: function(m, x, y, z){ - // summary: applies a matrix to a point - // matrix: dojox.gfx3d.matrix.Matrix3D: a 3D matrix object to be applied - // x: Number: an x coordinate of a point - // y: Number: a y coordinate of a point - // z: Number: a z coordinate of a point - return { // Object - x: m.xx * x + m.xy * y + m.xz * z + m.dx, - y: m.yx * x + m.yy * y + m.yz * z + m.dy, - z: m.zx * x + m.zy * y + m.zz * z + m.dz}; - }, - project: function(matrix, /* Number||Point */ a, /* Number, optional */ b, /* Number, optional */ c){ - // summary: applies a matrix to a point - // matrix: dojox.gfx3d.matrix.Matrix3D: a 3D matrix object to be applied - // a: Number: an x coordinate of a point - // b: Number: a y coordinate of a point - // c: Number: a z coordinate of a point - var m = dojox.gfx3d.matrix.normalize(matrix); - if(typeof a == "number" && typeof b == "number" && typeof c == "number"){ - return dojox.gfx3d.matrix._project(m, a, b, c); // Object - } - // branch - // matrix: dojox.gfx3d.matrix.Matrix3D: a 3D matrix object to be applied - // a: Object: a point - // b: null - // c: null - return dojox.gfx3d.matrix._project(m, a.x, a.y, a.z); // Object - } -}); - -// propagate matrix up -dojox.gfx3d.Matrix3D = dojox.gfx3d.matrix.Matrix3D; - -} diff --git a/includes/js/dojox/gfx3d/object.js b/includes/js/dojox/gfx3d/object.js deleted file mode 100644 index e574c91..0000000 --- a/includes/js/dojox/gfx3d/object.js +++ /dev/null @@ -1,1092 +0,0 @@ -if(!dojo._hasResource["dojox.gfx3d.object"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx3d.object"] = true; -dojo.provide("dojox.gfx3d.object"); - -dojo.require("dojox.gfx"); -dojo.require("dojox.gfx3d.lighting"); -dojo.require("dojox.gfx3d.scheduler"); -dojo.require("dojox.gfx3d.vector"); -dojo.require("dojox.gfx3d.gradient"); - -// FIXME: why the global "out" var here? -var out = function(o, x){ - if(arguments.length > 1){ - // console.debug("debug:", o); - o = x; - } - var e = {}; - for(var i in o){ - if(i in e){ continue; } - // console.debug("debug:", i, typeof o[i], o[i]); - } -}; - -dojo.declare("dojox.gfx3d.Object", null, { - constructor: function(){ - // summary: a Object object, which knows how to map - // 3D objects to 2D shapes. - - // object: Object: an abstract Object object - // (see dojox.gfx3d.defaultEdges, - // dojox.gfx3d.defaultTriangles, - // dojox.gfx3d.defaultQuads - // dojox.gfx3d.defaultOrbit - // dojox.gfx3d.defaultCube - // or dojox.gfx3d.defaultCylinder) - this.object = null; - - // matrix: dojox.gfx3d.matrix: world transform - this.matrix = null; - // cache: buffer for intermediate result, used late for draw() - this.cache = null; - // renderer: a reference for the Viewport - this.renderer = null; - // parent: a reference for parent, Scene or Viewport object - this.parent = null; - - // strokeStyle: Object: a stroke object - this.strokeStyle = null; - // fillStyle: Object: a fill object or texture object - this.fillStyle = null; - // shape: dojox.gfx.Shape: an underlying 2D shape - this.shape = null; - }, - - setObject: function(newObject){ - // summary: sets a Object object - // object: Object: an abstract Object object - // (see dojox.gfx3d.defaultEdges, - // dojox.gfx3d.defaultTriangles, - // dojox.gfx3d.defaultQuads - // dojox.gfx3d.defaultOrbit - // dojox.gfx3d.defaultCube - // or dojox.gfx3d.defaultCylinder) - this.object = dojox.gfx.makeParameters(this.object, newObject); - return this; - }, - - setTransform: function(matrix){ - // summary: sets a transformation matrix - // matrix: dojox.gfx3d.matrix.Matrix: a matrix or a matrix-like object - // (see an argument of dojox.gfx3d.matrix.Matrix - // constructor for a list of acceptable arguments) - this.matrix = dojox.gfx3d.matrix.clone(matrix ? dojox.gfx3d.matrix.normalize(matrix) : dojox.gfx3d.identity, true); - return this; // self - }, - - // apply left & right transformation - - applyRightTransform: function(matrix){ - // summary: multiplies the existing matrix with an argument on right side - // (this.matrix * matrix) - // matrix: dojox.gfx3d.matrix.Matrix: a matrix or a matrix-like object - // (see an argument of dojox.gfx.matrix.Matrix - // constructor for a list of acceptable arguments) - return matrix ? this.setTransform([this.matrix, matrix]) : this; // self - }, - applyLeftTransform: function(matrix){ - // summary: multiplies the existing matrix with an argument on left side - // (matrix * this.matrix) - // matrix: dojox.gfx3d.matrix.Matrix: a matrix or a matrix-like object - // (see an argument of dojox.gfx.matrix.Matrix - // constructor for a list of acceptable arguments) - return matrix ? this.setTransform([matrix, this.matrix]) : this; // self - }, - - applyTransform: function(matrix){ - // summary: a shortcut for dojox.gfx.Shape.applyRightTransform - // matrix: dojox.gfx3d.matrix.Matrix: a matrix or a matrix-like object - // (see an argument of dojox.gfx.matrix.Matrix - // constructor for a list of acceptable arguments) - return matrix ? this.setTransform([this.matrix, matrix]) : this; // self - }, - - setFill: function(fill){ - // summary: sets a fill object - // (the default implementation is to delegate to - // the underlying 2D shape). - // fill: Object: a fill object - // (see dojox.gfx.defaultLinearGradient, - // dojox.gfx.defaultRadialGradient, - // dojox.gfx.defaultPattern, - // dojo.Color - // or dojox.gfx.MODEL) - this.fillStyle = fill; - return this; - }, - - setStroke: function(stroke){ - // summary: sets a stroke object - // (the default implementation simply ignores it) - // stroke: Object: a stroke object - // (see dojox.gfx.defaultStroke) - this.strokeStyle = stroke; - return this; - }, - - toStdFill: function(lighting, normal){ - return (this.fillStyle && typeof this.fillStyle['type'] != "undefined") ? lighting[this.fillStyle.type](normal, this.fillStyle.finish, this.fillStyle.color) : this.fillStyle; - }, - - invalidate: function(){ - this.renderer.addTodo(this); - }, - - destroy: function(){ - if(this.shape){ - var p = this.shape.getParent(); - if(p){ - p.remove(this.shape); - } - this.shape = null; - } - }, - - // All the 3D objects need to override the following virtual functions: - // render, getZOrder, getOutline, draw, redraw if necessary. - - render: function(camera){ - throw "Pure virtual function, not implemented"; - }, - - draw: function(lighting){ - throw "Pure virtual function, not implemented"; - }, - - getZOrder: function(){ - return 0; - }, - - getOutline: function(){ - return null; - } - -}); - -dojo.declare("dojox.gfx3d.Scene", dojox.gfx3d.Object, { - // summary: the Scene is just a containter. - // note: we have the following assumption: - // all objects in the Scene are not overlapped with other objects - // outside of the scene. - constructor: function(){ - // summary: a containter of other 3D objects - this.objects= []; - this.todos = []; - this.schedule = dojox.gfx3d.scheduler.zOrder; - this._draw = dojox.gfx3d.drawer.conservative; - }, - - setFill: function(fill){ - this.fillStyle = fill; - dojo.forEach(this.objects, function(item){ - item.setFill(fill); - }); - return this; - }, - - setStroke: function(stroke){ - this.strokeStyle = stroke; - dojo.forEach(this.objects, function(item){ - item.setStroke(stroke); - }); - return this; - }, - - render: function(camera, deep){ - var m = dojox.gfx3d.matrix.multiply(camera, this.matrix); - if(deep){ - this.todos = this.objects; - } - dojo.forEach(this.todos, function(item){ item.render(m, deep); }); - }, - - draw: function(lighting){ - this.objects = this.schedule(this.objects); - this._draw(this.todos, this.objects, this.renderer); - }, - - addTodo: function(newObject){ - // FIXME: use indexOf? - if(dojo.every(this.todos, function(item){ return item != newObject; })){ - this.todos.push(newObject); - this.invalidate(); - } - }, - - invalidate: function(){ - this.parent.addTodo(this); - }, - - getZOrder: function(){ - var zOrder = 0; - dojo.forEach(this.objects, function(item){ zOrder += item.getZOrder(); }); - return (this.objects.length > 1) ? zOrder / this.objects.length : 0; - } -}); - - -dojo.declare("dojox.gfx3d.Edges", dojox.gfx3d.Object, { - constructor: function(){ - // summary: a generic edge in 3D viewport - this.object = dojo.clone(dojox.gfx3d.defaultEdges); - }, - - setObject: function(newObject, /* String, optional */ style){ - // summary: setup the object - // newObject: Array of points || Object - // style: String, optional - this.object = dojox.gfx.makeParameters(this.object, (newObject instanceof Array) ? { points: newObject, style: style } : newObject); - return this; - }, - - getZOrder: function(){ - var zOrder = 0; - dojo.forEach(this.cache, function(item){ zOrder += item.z;} ); - return (this.cache.length > 1) ? zOrder / this.cache.length : 0; - }, - - render: function(camera){ - var m = dojox.gfx3d.matrix.multiply(camera, this.matrix); - this.cache = dojo.map(this.object.points, function(item){ - return dojox.gfx3d.matrix.multiplyPoint(m, item); - }); - }, - - draw: function(){ - var c = this.cache; - if(this.shape){ - this.shape.setShape("") - }else{ - this.shape = this.renderer.createPath(); - } - var p = this.shape.setAbsoluteMode("absolute"); - - if(this.object.style == "strip" || this.object.style == "loop"){ - p.moveTo(c[0].x, c[0].y); - dojo.forEach(c.slice(1), function(item){ - p.lineTo(item.x, item.y); - }); - if(this.object.style == "loop"){ - p.closePath(); - } - }else{ - for(var i = 0; i < this.cache.length; ){ - p.moveTo(c[i].x, c[i].y); - i ++; - p.lineTo(c[i].x, c[i].y); - i ++; - } - } - // FIXME: doe setFill make sense here? - p.setStroke(this.strokeStyle); - } -}); - -dojo.declare("dojox.gfx3d.Orbit", dojox.gfx3d.Object, { - constructor: function(){ - // summary: a generic edge in 3D viewport - this.object = dojo.clone(dojox.gfx3d.defaultOrbit); - }, - - render: function(camera){ - var m = dojox.gfx3d.matrix.multiply(camera, this.matrix); - var angles = [0, Math.PI/4, Math.PI/3]; - var center = dojox.gfx3d.matrix.multiplyPoint(m, this.object.center); - var marks = dojo.map(angles, function(item){ - return {x: this.center.x + this.radius * Math.cos(item), - y: this.center.y + this.radius * Math.sin(item), z: this.center.z}; - }, this.object); - - marks = dojo.map(marks, function(item){ - return dojox.gfx3d.matrix.multiplyPoint(m, item); - }); - - var normal = dojox.gfx3d.vector.normalize(marks); - - marks = dojo.map(marks, function(item){ - return dojox.gfx3d.vector.substract(item, center); - }); - - // Use the algorithm here: - // http://www.3dsoftware.com/Math/PlaneCurves/EllipseAlgebra/ - // After we normalize the marks, the equation is: - // a x^2 + 2b xy + cy^2 + f = 0: let a = 1 - // so the final equation is: - // [ xy, y^2, 1] * [2b, c, f]' = [ -x^2 ]' - - var A = { - xx: marks[0].x * marks[0].y, xy: marks[0].y * marks[0].y, xz: 1, - yx: marks[1].x * marks[1].y, yy: marks[1].y * marks[1].y, yz: 1, - zx: marks[2].x * marks[2].y, zy: marks[2].y * marks[2].y, zz: 1, - dx: 0, dy: 0, dz: 0 - }; - var b = dojo.map(marks, function(item){ - return -Math.pow(item.x, 2); - }); - - // X is 2b, c, f - var X = dojox.gfx3d.matrix.multiplyPoint(dojox.gfx3d.matrix.invert(A),b[0], b[1], b[2]); - var theta = Math.atan2(X.x, 1 - X.y) / 2; - - // rotate the marks back to the canonical form - var probes = dojo.map(marks, function(item){ - return dojox.gfx.matrix.multiplyPoint(dojox.gfx.matrix.rotate(-theta), item.x, item.y); - }); - - // we are solving the equation: Ax = b - // A = [x^2, y^2] X = [1/a^2, 1/b^2]', b = [1, 1]' - // so rx = Math.sqrt(1/ ( inv(A)[1:] * b ) ); - // so ry = Math.sqrt(1/ ( inv(A)[2:] * b ) ); - - var a = Math.pow(probes[0].x, 2); - var b = Math.pow(probes[0].y, 2); - var c = Math.pow(probes[1].x, 2); - var d = Math.pow(probes[1].y, 2); - - // the invert matrix is - // 1/(ad -bc) [ d, -b; -c, a]; - var rx = Math.sqrt( (a*d - b*c)/ (d-b) ); - var ry = Math.sqrt( (a*d - b*c)/ (a-c) ); - - this.cache = {cx: center.x, cy: center.y, rx: rx, ry: ry, theta: theta, normal: normal}; - }, - - draw: function(lighting){ - if(this.shape){ - this.shape.setShape(this.cache); - } else { - this.shape = this.renderer.createEllipse(this.cache); - } - this.shape.applyTransform(dojox.gfx.matrix.rotateAt(this.cache.theta, this.cache.cx, this.cache.cy)) - .setStroke(this.strokeStyle) - .setFill(this.toStdFill(lighting, this.cache.normal)); - } -}); - -dojo.declare("dojox.gfx3d.Path3d", dojox.gfx3d.Object, { - // This object is still very immature ! - constructor: function(){ - // summary: a generic line - // (this is a helper object, which is defined for convenience) - this.object = dojo.clone(dojox.gfx3d.defaultPath3d); - this.segments = []; - this.absolute = true; - this.last = {}; - this.path = ""; - }, - - _collectArgs: function(array, args){ - // summary: converts an array of arguments to plain numeric values - // array: Array: an output argument (array of numbers) - // args: Array: an input argument (can be values of Boolean, Number, dojox.gfx.Point, or an embedded array of them) - for(var i = 0; i < args.length; ++i){ - var t = args[i]; - if(typeof(t) == "boolean"){ - array.push(t ? 1 : 0); - }else if(typeof(t) == "number"){ - array.push(t); - }else if(t instanceof Array){ - this._collectArgs(array, t); - }else if("x" in t && "y" in t){ - array.push(t.x); - array.push(t.y); - } - } - }, - - // a dictionary, which maps segment type codes to a number of their argemnts - _validSegments: {m: 3, l: 3, z: 0}, - - _pushSegment: function(action, args){ - // summary: adds a segment - // action: String: valid SVG code for a segment's type - // args: Array: a list of parameters for this segment - var group = this._validSegments[action.toLowerCase()]; - if(typeof(group) == "number"){ - if(group){ - if(args.length >= group){ - var segment = {action: action, args: args.slice(0, args.length - args.length % group)}; - this.segments.push(segment); - } - }else{ - var segment = {action: action, args: []}; - this.segments.push(segment); - } - } - }, - - moveTo: function(){ - // summary: formes a move segment - var args = []; - this._collectArgs(args, arguments); - this._pushSegment(this.absolute ? "M" : "m", args); - return this; // self - }, - lineTo: function(){ - // summary: formes a line segment - var args = []; - this._collectArgs(args, arguments); - this._pushSegment(this.absolute ? "L" : "l", args); - return this; // self - }, - - closePath: function(){ - // summary: closes a path - this._pushSegment("Z", []); - return this; // self - }, - - render: function(camera){ - // TODO: we need to get the ancestors' matrix - var m = dojox.gfx3d.matrix.multiply(camera, this.matrix); - // iterate all the segments and convert them to 2D canvas - // TODO consider the relative mode - var path = "" - var _validSegments = this._validSegments; - dojo.forEach(this.segments, function(item){ - path += item.action; - for(var i = 0; i < item.args.length; i+= _validSegments[item.action.toLowerCase()] ){ - var pt = dojox.gfx3d.matrix.multiplyPoint(m, item.args[i], item.args[i+1], item.args[i+2]) - path += " " + pt.x + " " + pt.y; - } - }); - - this.cache = path; - }, - - _draw: function(){ - return this.parent.createPath(this.cache); - } -}); - -dojo.declare("dojox.gfx3d.Triangles", dojox.gfx3d.Object, { - constructor: function(){ - // summary: a generic triangle - // (this is a helper object, which is defined for convenience) - this.object = dojo.clone(dojox.gfx3d.defaultTriangles); - }, - - setObject: function(newObject, /* String, optional */ style){ - // summary: setup the object - // newObject: Array of points || Object - // style: String, optional - if(newObject instanceof Array){ - this.object = dojox.gfx.makeParameters(this.object, { points: newObject, style: style } ); - } else { - this.object = dojox.gfx.makeParameters(this.object, newObject); - } - return this; - }, - render: function(camera){ - var m = dojox.gfx3d.matrix.multiply(camera, this.matrix); - var c = dojo.map(this.object.points, function(item){ - return dojox.gfx3d.matrix.multiplyPoint(m, item); - }); - this.cache = []; - var pool = c.slice(0, 2); - var center = c[0]; - if(this.object.style == "strip"){ - dojo.forEach(c.slice(2), function(item){ - pool.push(item); - pool.push(pool[0]); - this.cache.push(pool); - pool = pool.slice(1, 3); - }, this); - } else if(this.object.style == "fan"){ - dojo.forEach(c.slice(2), function(item){ - pool.push(item); - pool.push(center); - this.cache.push(pool); - pool = [center, item]; - }, this); - } else { - for(var i = 0; i < c.length; ){ - this.cache.push( [ c[i], c[i+1], c[i+2], c[i] ]); - i += 3; - } - } - }, - - draw: function(lighting){ - // use the BSP to schedule - this.cache = dojox.gfx3d.scheduler.bsp(this.cache, function(it){ return it; }); - if(this.shape){ - this.shape.clear(); - } else { - this.shape = this.renderer.createGroup(); - } - dojo.forEach(this.cache, function(item){ - this.shape.createPolyline(item) - .setStroke(this.strokeStyle) - .setFill(this.toStdFill(lighting, dojox.gfx3d.vector.normalize(item))); - }, this); - }, - - getZOrder: function(){ - var zOrder = 0; - dojo.forEach(this.cache, function(item){ - zOrder += (item[0].z + item[1].z + item[2].z) / 3; }); - return (this.cache.length > 1) ? zOrder / this.cache.length : 0; - } -}); - -dojo.declare("dojox.gfx3d.Quads", dojox.gfx3d.Object, { - constructor: function(){ - // summary: a generic triangle - // (this is a helper object, which is defined for convenience) - this.object = dojo.clone(dojox.gfx3d.defaultQuads); - }, - - setObject: function(newObject, /* String, optional */ style){ - // summary: setup the object - // newObject: Array of points || Object - // style: String, optional - this.object = dojox.gfx.makeParameters(this.object, (newObject instanceof Array) ? { points: newObject, style: style } : newObject ); - return this; - }, - render: function(camera){ - var m = dojox.gfx3d.matrix.multiply(camera, this.matrix); - var c = dojo.map(this.object.points, function(item){ - return dojox.gfx3d.matrix.multiplyPoint(m, item); - }); - this.cache = []; - if(this.object.style == "strip"){ - var pool = c.slice(0, 2); - for(var i = 2; i < c.length; ){ - pool = pool.concat( [ c[i], c[i+1], pool[0] ] ); - this.cache.push(pool); - pool = pool.slice(2,4); - i += 2; - } - }else{ - for(var i = 0; i < c.length; ){ - this.cache.push( [c[i], c[i+1], c[i+2], c[i+3], c[i] ] ); - i += 4; - } - } - }, - - draw: function(lighting){ - // use the BSP to schedule - this.cache = dojox.gfx3d.scheduler.bsp(this.cache, function(it){ return it; }); - if(this.shape){ - this.shape.clear(); - }else{ - this.shape = this.renderer.createGroup(); - } - // using naive iteration to speed things up a bit by avoiding function call overhead - for(var x=0; x 1) ? zOrder / this.cache.length : 0; - } -}); - -dojo.declare("dojox.gfx3d.Polygon", dojox.gfx3d.Object, { - constructor: function(){ - // summary: a generic triangle - // (this is a helper object, which is defined for convenience) - this.object = dojo.clone(dojox.gfx3d.defaultPolygon); - }, - - setObject: function(newObject){ - // summary: setup the object - // newObject: Array of points || Object - this.object = dojox.gfx.makeParameters(this.object, (newObject instanceof Array) ? {path: newObject} : newObject) - return this; - }, - - render: function(camera){ - var m = dojox.gfx3d.matrix.multiply(camera, this.matrix); - this.cache = dojo.map(this.object.path, function(item){ - return dojox.gfx3d.matrix.multiplyPoint(m, item); - }); - // add the first point to close the polyline - this.cache.push(this.cache[0]); - }, - - draw: function(lighting){ - if(this.shape){ - this.shape.setShape({points: this.cache}); - }else{ - this.shape = this.renderer.createPolyline({points: this.cache}); - } - - this.shape.setStroke(this.strokeStyle) - .setFill(this.toStdFill(lighting, dojox.gfx3d.matrix.normalize(this.cache))); - }, - - getZOrder: function(){ - var zOrder = 0; - // using naive iteration to speed things up a bit by avoiding function call overhead - for(var x=0; x 1) ? zOrder / this.cache.length : 0; - }, - - getOutline: function(){ - return this.cache.slice(0, 3); - } -}); - -dojo.declare("dojox.gfx3d.Cube", dojox.gfx3d.Object, { - constructor: function(){ - // summary: a generic triangle - // (this is a helper object, which is defined for convenience) - this.object = dojo.clone(dojox.gfx3d.defaultCube); - this.polygons = []; - }, - - setObject: function(newObject){ - // summary: setup the object - // newObject: Array of points || Object - this.object = dojox.gfx.makeParameters(this.object, newObject); - }, - - render: function(camera){ - // parse the top, bottom to get 6 polygons: - var a = this.object.top; - var g = this.object.bottom; - var b = {x: g.x, y: a.y, z: a.z}; - var c = {x: g.x, y: g.y, z: a.z}; - var d = {x: a.x, y: g.y, z: a.z}; - var e = {x: a.x, y: a.y, z: g.z}; - var f = {x: g.x, y: a.y, z: g.z}; - var h = {x: a.x, y: g.y, z: g.z}; - var polygons = [a, b, c, d, e, f, g, h]; - var m = dojox.gfx3d.matrix.multiply(camera, this.matrix); - var p = dojo.map(polygons, function(item){ - return dojox.gfx3d.matrix.multiplyPoint(m, item); - }); - a = p[0]; b = p[1]; c = p[2]; d = p[3]; e = p[4]; f = p[5]; g = p[6]; h = p[7]; - this.cache = [[a, b, c, d, a], [e, f, g, h, e], [a, d, h, e, a], [d, c, g, h, d], [c, b, f, g, c], [b, a, e, f, b]]; - }, - - draw: function(lighting){ - // use bsp to sort. - this.cache = dojox.gfx3d.scheduler.bsp(this.cache, function(it){ return it; }); - // only the last 3 polys are visible. - var cache = this.cache.slice(3); - - if(this.shape){ - this.shape.clear(); - }else{ - this.shape = this.renderer.createGroup(); - } - for(var x=0; x 0){ - centers = [c.top, c.center]; - normal = v.substract(c.center, c.top); - } - - var color = this.renderer.lighting[this.fillStyle.type](normal, this.fillStyle.finish, this.fillStyle.color), - d = Math.sqrt( Math.pow(c.center.x - c.top.x, 2) + Math.pow(c.center.y - c.top.y, 2) ); - - if(this.shape){ - this.shape.clear(); - }else{ - this.shape = this.renderer.createGroup(); - } - - this.shape.createPath("") - .moveTo(0, -c.rx) - .lineTo(d, -c.rx) - .lineTo(d, c.rx) - .lineTo(0, c.rx) - .arcTo(c.ry, c.rx, 0, true, true, 0, -c.rx) - .setFill(c.gradient).setStroke(this.strokeStyle) - .setTransform([m.translate(centers[0]), - m.rotate(Math.atan2(centers[1].y - centers[0].y, centers[1].x - centers[0].x))]); - - if(c.rx > 0 && c.ry > 0){ - this.shape.createEllipse({cx: centers[1].x, cy: centers[1].y, rx: c.rx, ry: c.ry}) - .setFill(color).setStroke(this.strokeStyle) - .applyTransform(m.rotateAt(c.theta, centers[1])); - } - } -}); - - -// the ultimate container of 3D world -dojo.declare("dojox.gfx3d.Viewport", dojox.gfx.Group, { - constructor: function(){ - // summary: a viewport/container for 3D objects, which knows - // the camera and lightings - - // matrix: dojox.gfx3d.matrix: world transform - // dimension: Object: the dimension of the canvas - this.dimension = null; - - // objects: Array: all 3d Objects - this.objects = []; - // todos: Array: all 3d Objects that needs to redraw - this.todos = []; - - // FIXME: memory leak? - this.renderer = this; - // Using zOrder as the default scheduler - this.schedule = dojox.gfx3d.scheduler.zOrder; - this.draw = dojox.gfx3d.drawer.conservative; - // deep: boolean, true means the whole viewport needs to re-render, redraw - this.deep = false; - - // lights: Array: an array of light objects - this.lights = []; - this.lighting = null; - }, - - setCameraTransform: function(matrix){ - // summary: sets a transformation matrix - // matrix: dojox.gfx3d.matrix.Matrix: a matrix or a matrix-like object - // (see an argument of dojox.gfx.matrix.Matrix - // constructor for a list of acceptable arguments) - this.camera = dojox.gfx3d.matrix.clone(matrix ? dojox.gfx3d.matrix.normalize(matrix) : dojox.gfx3d.identity, true); - this.invalidate(); - return this; // self - }, - - applyCameraRightTransform: function(matrix){ - // summary: multiplies the existing matrix with an argument on right side - // (this.matrix * matrix) - // matrix: dojox.gfx3d.matrix.Matrix: a matrix or a matrix-like object - // (see an argument of dojox.gfx3d.matrix.Matrix - // constructor for a list of acceptable arguments) - return matrix ? this.setCameraTransform([this.camera, matrix]) : this; // self - }, - - applyCameraLeftTransform: function(matrix){ - // summary: multiplies the existing matrix with an argument on left side - // (matrix * this.matrix) - // matrix: dojox.gfx3d.matrix.Matrix: a matrix or a matrix-like object - // (see an argument of dojox.gfx3d.matrix.Matrix - // constructor for a list of acceptable arguments) - return matrix ? this.setCameraTransform([matrix, this.camera]) : this; // self - }, - - applyCameraTransform: function(matrix){ - // summary: a shortcut for dojox.gfx3d.Object.applyRightTransform - // matrix: dojox.gfx3d.matrix.Matrix: a matrix or a matrix-like object - // (see an argument of dojox.gfx3d.matrix.Matrix - // constructor for a list of acceptable arguments) - return this.applyCameraRightTransform(matrix); // self - }, - - setLights: function(/* Array || Object */lights, /* Color, optional */ ambient, - /* Color, optional */ specular){ - // summary: set the lights - // lights: Array: an array of light object - // or lights object - // ambient: Color: an ambient object - // specular: Color: an specular object - this.lights = (lights instanceof Array) ? {sources: lights, ambient: ambient, specular: specular} : lights; - var view = {x: 0, y: 0, z: 1}; - - this.lighting = new dojox.gfx3d.lighting.Model(view, this.lights.sources, - this.lights.ambient, this.lights.specular); - this.invalidate(); - return this; - }, - - addLights: function(lights){ - // summary: add new light/lights to the viewport. - // lights: Array || light object: light object(s) - return this.setLights(this.lights.sources.concat(lights)); - }, - - addTodo: function(newObject){ - // NOTE: Viewport implements almost the same addTodo, - // except calling invalidate, since invalidate is used as - // any modification needs to redraw the object itself, call invalidate. - // then call render. - if(dojo.every(this.todos, - function(item){ - return item != newObject; - } - )){ - this.todos.push(newObject); - } - }, - - invalidate: function(){ - this.deep = true; - this.todos = this.objects; - }, - - setDimensions: function(dim){ - if(dim){ - this.dimension = { - width: dojo.isString(dim.width) ? parseInt(dim.width) : dim.width, - height: dojo.isString(dim.height) ? parseInt(dim.height) : dim.height - }; - }else{ - this.dimension = null; - } - }, - - render: function(){ - // summary: iterate all children and call their render callback function. - if(!this.todos.length){ return; } - // console.debug("Viewport::render"); - var m = dojox.gfx3d.matrix; - - // Iterate the todos and call render to prepare the rendering: - for(var x=0; x 0, p is in the plus space, vice versa for minus space. - // n is the normal vector that is perpendicular the plate, defined as: - // n = ( b - a) crossProduct ( c - a ) - // - // in this implementation, n is declared as normal, ,a is declared as orient. - // - // obj: object: dojox.gfx3d.Object - this.plus = null; - this.minus = null; - this.object = obj; - - var o = outline(obj); - this.orient = o[0]; - this.normal = dojox.gfx3d.vector.normalize(o); - }, - - add: function(obj, outline){ - var epsilon = 0.5, o = outline(obj), v = dojox.gfx3d.vector, n = this.normal, a = this.orient; - - if(dojo.every(o, function(item){ return Math.floor(epsilon + v.dotProduct(n, v.substract(item, a))) <= 0; })){ - if(this.minus){ - this.minus.add(obj, outline); - } else { - this.minus = new dojox.gfx3d.scheduler.BinarySearchTree(obj, outline); - } - } else if(dojo.every(o, function(item){ return Math.floor(epsilon + v.dotProduct(n, v.substract(item, a))) >= 0; })){ - if(this.plus){ - this.plus.add(obj, outline); - } else { - this.plus = new dojox.gfx3d.scheduler.BinarySearchTree(obj, outline); - } - } else { - dojo.forEach(o, function(item){ console.debug(v.dotProduct(n, v.substract(item, a))); }); - throw "The case: polygon cross siblings' plate is not implemneted yet"; - } - }, - - iterate: function(outline){ - var epsilon = 0.5; - var v = dojox.gfx3d.vector; - var sorted = []; - var subs = null; - // FIXME: using Infinity here? - var view = {x: 0, y: 0, z: -10000}; - if(Math.floor( epsilon + v.dotProduct(this.normal, v.substract(view, this.orient))) <= 0){ - subs = [this.plus, this.minus]; - } else { - subs = [this.minus, this.plus]; - } - - if(subs[0]){ - sorted = sorted.concat(subs[0].iterate()); - } - sorted.push(this.object); - if(subs[1]){ - sorted = sorted.concat(subs[1].iterate()); - } - return sorted; - } - -}); - -dojo.mixin(dojox.gfx3d.drawer, { - conservative: function(todos, objects, viewport){ - console.debug('conservative draw'); - dojo.forEach(this.objects, function(item){ - item.destroy(); - }); - dojo.forEach(objects, function(item){ - item.draw(viewport.lighting); - }); - }, - chart: function(todos, objects, viewport){ - // NOTE: ondemand may require the todos' objects to use setShape - // to redraw themselves to maintain the z-order. - console.debug('chart draw'); - dojo.forEach(this.todos, function(item){ - item.draw(viewport.lighting); - }); - } - // More aggrasive optimization may re-order the DOM nodes using the order - // of objects, and only elements of todos call setShape. -}); - -} diff --git a/includes/js/dojox/gfx3d/tests/test_camerarotate.html b/includes/js/dojox/gfx3d/tests/test_camerarotate.html deleted file mode 100644 index dcfa1a2..0000000 --- a/includes/js/dojox/gfx3d/tests/test_camerarotate.html +++ /dev/null @@ -1,93 +0,0 @@ - - -Camera rotate of dojox.gfx3d. - - - - - - - - -

            Camera rotate

            -

            The cube is in the center (0, 0, 0): The color of X, Y, Z axes are red, green, blue. The view renders all the objects - in each frame, the conservative drawer is used.

            -
            - -
            - -
            - -
            -
            - -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_camerarotate_shaded.html b/includes/js/dojox/gfx3d/tests/test_camerarotate_shaded.html deleted file mode 100644 index e9c0312..0000000 --- a/includes/js/dojox/gfx3d/tests/test_camerarotate_shaded.html +++ /dev/null @@ -1,97 +0,0 @@ - - - Camera rotate of dojox.gfx3d. - - - - - - - - -

            Camera rotate

            -

            The cube is in the center (0, 0, 0): The color of X, Y, Z axes are red, green, blue. The view renders all the objects - in each frame, the conservative drawer is used.

            -
            - -
            - -
            - -
            -
            - -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_cube.html b/includes/js/dojox/gfx3d/tests/test_cube.html deleted file mode 100644 index dcae739..0000000 --- a/includes/js/dojox/gfx3d/tests/test_cube.html +++ /dev/null @@ -1,50 +0,0 @@ - - -Cube of dojox.gfx3d. - - - - - - - -

            Cube Test

            -
            - -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_cylinder.html b/includes/js/dojox/gfx3d/tests/test_cylinder.html deleted file mode 100644 index cd1d5c1..0000000 --- a/includes/js/dojox/gfx3d/tests/test_cylinder.html +++ /dev/null @@ -1,66 +0,0 @@ - - -Cylinder test of dojox.gfx3d. - - - - - - - - - -

            Cylinder Test

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_drawer.html b/includes/js/dojox/gfx3d/tests/test_drawer.html deleted file mode 100644 index 3a9af1f..0000000 --- a/includes/js/dojox/gfx3d/tests/test_drawer.html +++ /dev/null @@ -1,92 +0,0 @@ - - -Pilot test of dojox.gfx3d. - - - - - - -

            Pilot Test

            -

            The color of X, Y, Z axes are red, green, blue. One cube is in the center (0, 0, 0), click the button to move the other one back - and forth, using this to test dojox.gfx3d.drawer.conservative

            - - -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_edges.html b/includes/js/dojox/gfx3d/tests/test_edges.html deleted file mode 100644 index 07b78f0..0000000 --- a/includes/js/dojox/gfx3d/tests/test_edges.html +++ /dev/null @@ -1,73 +0,0 @@ - - -Edges test of dojox.gfx3d. - - - - - - -

            Edges Test

            -

            Test of the Edges, there are three modes

            -
              -
            • none, any two vertice pair form one edge, lime
            • -
            • strip, vertices are connected by edges. red
            • -
            • loop, the same as strip, close the path, blue
            • -
            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_matrix.html b/includes/js/dojox/gfx3d/tests/test_matrix.html deleted file mode 100644 index 9acf399..0000000 --- a/includes/js/dojox/gfx3d/tests/test_matrix.html +++ /dev/null @@ -1,89 +0,0 @@ - - -Dojo 3D Matrix - - - - - - -

            dojox.gfx3d.matrix test

            -

            Please check the debug console for test results.

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_orbit.html b/includes/js/dojox/gfx3d/tests/test_orbit.html deleted file mode 100644 index cadc043..0000000 --- a/includes/js/dojox/gfx3d/tests/test_orbit.html +++ /dev/null @@ -1,50 +0,0 @@ - - -Orbit test of dojox.gfx3d. - - - - - - -

            Orbit Test

            -

            Test how orbit looks like in 3D

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_overlap.html b/includes/js/dojox/gfx3d/tests/test_overlap.html deleted file mode 100644 index 19f63d5..0000000 --- a/includes/js/dojox/gfx3d/tests/test_overlap.html +++ /dev/null @@ -1,69 +0,0 @@ - - -Test of dojox.gfx3d.scheduler - - - - - - -

            Scheduler Test

            -

            There are two schedulers available in dojox.gfx3d, zOrder and BSP. zOrder is much simpler, and it performs quite well in most cases, it may fail in some rare cases, for example: two triangles share the same two vertice, and have the same Z value of the third vertex, in this case, they have the same z-order. They are rendered in arbitary order. In this case, BSP is the rescure.

            -

            Current render: default

            -

             

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_polygon.html b/includes/js/dojox/gfx3d/tests/test_polygon.html deleted file mode 100644 index ab9f174..0000000 --- a/includes/js/dojox/gfx3d/tests/test_polygon.html +++ /dev/null @@ -1,44 +0,0 @@ - - -Polygon test of dojox.gfx3d. - - - - - - -

            Polygon Test

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_quads.html b/includes/js/dojox/gfx3d/tests/test_quads.html deleted file mode 100644 index aff3b3b..0000000 --- a/includes/js/dojox/gfx3d/tests/test_quads.html +++ /dev/null @@ -1,78 +0,0 @@ - - -Quads test of dojox.gfx3d. - - - - - - -

            Quads Test

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_rotate.html b/includes/js/dojox/gfx3d/tests/test_rotate.html deleted file mode 100644 index 53c212f..0000000 --- a/includes/js/dojox/gfx3d/tests/test_rotate.html +++ /dev/null @@ -1,123 +0,0 @@ - - -Rotate test of dojox.gfx3d. - - - - - - -

            Pilot Test

            -

            There are two drawers(well, the name is quite misleading, it means draw-er) in dojox.gfx3d, conservative and chart:

            -
              -
            • conservative drawer is a pessimist, it assumes that the movement, transformation of objects would take a big fat impact to the viewport, so it not only render the modified objects, but also reorder all the underlying 2D shapes and redraw them.
            • -
            • chart drawer is an optimist, it assumes the change of the objects does not take effect on the z-order, this is most likely true in chart application. It only render and then draw the modified objects.
            • -
            -

            The cube is in the center (0, 0, 0): The color of X, Y, Z axes are red, green, blue as the reference. The cube would rotate around X, Y, Z or their combination, it is up to you.

            -

            Current Drawer: Conservative

            -
            - -
            - -
            - -
            - -
            -
            - -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_scene.html b/includes/js/dojox/gfx3d/tests/test_scene.html deleted file mode 100644 index 231b289..0000000 --- a/includes/js/dojox/gfx3d/tests/test_scene.html +++ /dev/null @@ -1,66 +0,0 @@ - - -Scene test of dojox.gfx3d. - - - - - - -

            Scene Test

            -

            Test the setTransform of the Scene. the lime cube and yellow polygon are grouped in one Scene, and they are moved in one shot.

            -

            Test Viewport.invalidate with Scene.

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_triangles.html b/includes/js/dojox/gfx3d/tests/test_triangles.html deleted file mode 100644 index cc4e65b..0000000 --- a/includes/js/dojox/gfx3d/tests/test_triangles.html +++ /dev/null @@ -1,82 +0,0 @@ - - -Triangles test of dojox.gfx3d. - - - - - - -

            Path3d Test

            -
            -

            That's all Folks!

            - - diff --git a/includes/js/dojox/gfx3d/tests/test_vector.html b/includes/js/dojox/gfx3d/tests/test_vector.html deleted file mode 100644 index 371d57e..0000000 --- a/includes/js/dojox/gfx3d/tests/test_vector.html +++ /dev/null @@ -1,59 +0,0 @@ - - -Dojo 3D Vector - - - - - - -

            dojox.gfx3d.vector test

            -

            Please check the debug console for test results.

            - - diff --git a/includes/js/dojox/gfx3d/vector.js b/includes/js/dojox/gfx3d/vector.js deleted file mode 100644 index 7225273..0000000 --- a/includes/js/dojox/gfx3d/vector.js +++ /dev/null @@ -1,110 +0,0 @@ -if(!dojo._hasResource["dojox.gfx3d.vector"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.gfx3d.vector"] = true; -dojo.provide("dojox.gfx3d.vector"); - -dojo.mixin(dojox.gfx3d.vector, { - sum: function(){ - // summary: sum of the vectors - var v = {x: 0, y: 0, z:0}; - dojo.forEach(arguments, function(item){ v.x += item.x; v.y += item.y; v.z += item.z; }); - return v; - }, - - center: function(){ - // summary: center of the vectors - var l = arguments.length; - if(l == 0){ - return {x: 0, y: 0, z: 0}; - } - var v = dojox.gfx3d.vector.sum(arguments); - return {x: v.x/l, y: v.y/l, z: v.z/l}; - }, - - substract: function(/* Pointer */a, /* Pointer */b){ - return {x: a.x - b.x, y: a.y - b.y, z: a.z - b.z}; - }, - - _crossProduct: function(x, y, z, u, v, w){ - // summary: applies a cross product of two vectorss, (x, y, z) and (u, v, w) - // x: Number: an x coordinate of a point - // y: Number: a y coordinate of a point - // z: Number: a z coordinate of a point - // u: Number: an x coordinate of a point - // v: Number: a y coordinate of a point - // w: Number: a z coordinate of a point - return {x: y * w - z * v, y: z * u - x * w, z: x * v - y * u}; // Object - }, - - crossProduct: function(/* Number||Point */ a, /* Number||Point */ b, /* Number, optional */ c, /* Number, optional */ d, /* Number, optional */ e, /* Number, optional */ f){ - // summary: applies a matrix to a point - // matrix: dojox.gfx3d.matrix.Matrix3D: a 3D matrix object to be applied - // a: Number: an x coordinate of a point - // b: Number: a y coordinate of a point - // c: Number: a z coordinate of a point - // d: Number: an x coordinate of a point - // e: Number: a y coordinate of a point - // f: Number: a z coordinate of a point - if(arguments.length == 6 && dojo.every(arguments, function(item){ return typeof item == "number"; })){ - return dojox.gfx3d.vector._crossProduct(a, b, c, d, e, f); // Object - } - // branch - // a: Object: a point - // b: Object: a point - // c: null - // d: null - // e: null - // f: null - return dojox.gfx3d.vector._crossProduct(a.x, a.y, a.z, b.x, b.y, b.z); // Object - }, - - _dotProduct: function(x, y, z, u, v, w){ - // summary: applies a cross product of two vectorss, (x, y, z) and (u, v, w) - // x: Number: an x coordinate of a point - // y: Number: a y coordinate of a point - // z: Number: a z coordinate of a point - // u: Number: an x coordinate of a point - // v: Number: a y coordinate of a point - // w: Number: a z coordinate of a point - return x * u + y * v + z * w; // Number - }, - dotProduct: function(/* Number||Point */ a, /* Number||Point */ b, /* Number, optional */ c, /* Number, optional */ d, /* Number, optional */ e, /* Number, optional */ f){ - // summary: applies a matrix to a point - // matrix: dojox.gfx3d.matrix.Matrix3D: a 3D matrix object to be applied - // a: Number: an x coordinate of a point - // b: Number: a y coordinate of a point - // c: Number: a z coordinate of a point - // d: Number: an x coordinate of a point - // e: Number: a y coordinate of a point - // f: Number: a z coordinate of a point - if(arguments.length == 6 && dojo.every(arguments, function(item){ return typeof item == "number"; })){ - return dojox.gfx3d.vector._dotProduct(a, b, c, d, e, f); // Object - } - // branch - // a: Object: a point - // b: Object: a point - // c: null - // d: null - // e: null - // f: null - return dojox.gfx3d.vector._dotProduct(a.x, a.y, a.z, b.x, b.y, b.z); // Object - }, - - normalize: function(/* Point||Array*/ a, /* Point */ b, /* Point */ c){ - // summary: find the normal of the implicit surface - // a: Object: a point - // b: Object: a point - // c: Object: a point - var l, m, n; - if(a instanceof Array){ - l = a[0]; m = a[1]; n = a[2]; - }else{ - l = a; m = b; n = c; - } - - var u = dojox.gfx3d.vector.substract(m, l); - var v = dojox.gfx3d.vector.substract(n, l); - return dojox.gfx3d.vector.crossProduct(u, v); - } -}); - -} diff --git a/includes/js/dojox/grid/Grid.js b/includes/js/dojox/grid/Grid.js deleted file mode 100644 index 309bb25..0000000 --- a/includes/js/dojox/grid/Grid.js +++ /dev/null @@ -1,363 +0,0 @@ -if(!dojo._hasResource["dojox.grid.Grid"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid.Grid"] = true; -dojo.provide("dojox.grid.Grid"); -dojo.require("dojox.grid.VirtualGrid"); -dojo.require("dojox.grid._data.model"); -dojo.require("dojox.grid._data.editors"); -dojo.require("dojox.grid._data.dijitEditors"); - -// FIXME: -// we are at the wrong location! - -dojo.declare('dojox.Grid', dojox.VirtualGrid, { - // summary: - // A grid widget with virtual scrolling, cell editing, complex rows, - // sorting, fixed columns, sizeable columns, etc. - // description: - // Grid is a subclass of VirtualGrid, providing binding to a data - // store. - // example: - // define the grid structure: - // | var structure = [ // array of view objects - // | { cells: [// array of rows, a row is an array of cells - // | [ { name: "Alpha", width: 6 }, - // | { name: "Beta" }, - // | { name: "Gamma", get: formatFunction } - // | ] - // | ]} - // | ]; - // - // define a grid data model - // | var model = new dojox.grid.data.table(null, data); - // | - // |
            - // - - // model: - // string or object grid data model - model: 'dojox.grid.data.Table', - - // life cycle - postCreate: function(){ - if(this.model){ - var m = this.model; - if(dojo.isString(m)){ - m = dojo.getObject(m); - } - this.model = (dojo.isFunction(m)) ? new m() : m; - this._setModel(this.model); - } - this.inherited(arguments); - }, - - destroy: function(){ - this.setModel(null); - this.inherited(arguments); - }, - - // structure - _structureChanged: function() { - this.indexCellFields(); - this.inherited(arguments); - }, - - // model - _setModel: function(inModel){ - // if(!inModel){ return; } - this.model = inModel; - if(this.model){ - this.model.observer(this); - this.model.measure(); - this.indexCellFields(); - } - }, - - setModel: function(inModel){ - // summary: - // Set the grid's data model - // inModel: Object - // Model object, usually an instance of a dojox.grid.data.Model - // subclass - if(this.model){ - this.model.notObserver(this); - } - this._setModel(inModel); - }, - - - get: function(inRowIndex){ - // summary: data socket (called in cell's context) - return this.grid.model.getDatum(inRowIndex, this.fieldIndex); - }, - - // model modifications - modelAllChange: function(){ - this.rowCount = (this.model ? this.model.getRowCount() : 0); - this.updateRowCount(this.rowCount); - }, - - modelRowChange: function(inData, inRowIndex){ - this.updateRow(inRowIndex); - }, - - modelDatumChange: function(inDatum, inRowIndex, inFieldIndex){ - this.updateRow(inRowIndex); - }, - - modelFieldsChange: function() { - this.indexCellFields(); - this.render(); - }, - - // model insertion - modelInsertion: function(inRowIndex){ - this.updateRowCount(this.model.getRowCount()); - }, - - // model removal - modelRemoval: function(inKeys){ - this.updateRowCount(this.model.getRowCount()); - }, - - // cells - getCellName: function(inCell){ - var v = this.model.fields.values, i = inCell.fieldIndex; - return i>=0 && i 0 ? 1 : -1); - }, - - sort: function(){ - this.edit.apply(); - this.model.sort(this.getSortField()); - }, - - // row editing - addRow: function(inRowData, inIndex){ - this.edit.apply(); - var i = inIndex || -1; - if(i<0){ - i = this.selection.getFirstSelected() || 0; - } - if(i<0){ - i = 0; - } - this.model.insert(inRowData, i); - this.model.beginModifyRow(i); - // begin editing row - // FIXME: add to edit - for(var j=0, c; ((c=this.getCell(j)) && !c.editor); j++){} - if(c&&c.editor){ - this.edit.setEditCell(c, i); - this.focus.setFocusCell(c, i); - }else{ - this.focus.setFocusCell(this.getCell(0), i); - } - }, - - removeSelectedRows: function(){ - this.edit.apply(); - var s = this.selection.getSelected(); - if(s.length){ - this.model.remove(s); - this.selection.clear(); - } - }, - - //: protected - // editing - canEdit: function(inCell, inRowIndex){ - // summary: - // Determines if a given cell may be edited - // inCell: Object - // A grid cell - // inRowIndex: Integer - // Grid row index - // returns: Boolean - // True if given cell may be edited - return (this.model.canModify ? this.model.canModify(inRowIndex) : true); - }, - - doStartEdit: function(inCell, inRowIndex){ - this.model.beginModifyRow(inRowIndex); - this.onStartEdit(inCell, inRowIndex); - }, - - doApplyCellEdit: function(inValue, inRowIndex, inFieldIndex){ - this.model.setDatum(inValue, inRowIndex, inFieldIndex); - this.onApplyCellEdit(inValue, inRowIndex, inFieldIndex); - }, - - doCancelEdit: function(inRowIndex){ - this.model.cancelModifyRow(inRowIndex); - this.onCancelEdit.apply(this, arguments); - }, - - doApplyEdit: function(inRowIndex){ - this.model.endModifyRow(inRowIndex); - this.onApplyEdit(inRowIndex); - }, - - styleRowState: function(inRow){ - // summary: Perform row styling - if(this.model.getState){ - var states=this.model.getState(inRow.index), c=''; - for(var i=0, ss=["inflight", "error", "inserting"], s; s=ss[i]; i++){ - if(states[s]){ - c = ' dojoxGrid-row-' + s; - break; - } - } - inRow.customClasses += c; - } - }, - - onStyleRow: function(inRow){ - this.styleRowState(inRow); - this.inherited(arguments); - } - -}); - -dojox.Grid.markupFactory = function(props, node, ctor){ - // handle setting up a data model for a store if one - // isn't provided. There are some caveats: - // * we only really handle dojo.data sources well. They're the future - // so it's no big deal, but it's something to be aware of. - // * I'm pretty sure that colgroup introspection is missing some of - // the available settable properties. - // * No handling of cell formatting and content getting is done - var d = dojo; - var widthFromAttr = function(n){ - var w = d.attr(n, "width")||"auto"; - if((w != "auto")&&(w.substr(-2) != "em")){ - w = parseInt(w)+"px"; - } - return w; - } - if(!props.model && d.hasAttr(node, "store")){ - // if a model isn't specified and we point to a store, assume - // we're also folding the definition for a model up into the - // inline ctor for the Grid. This will then take properties - // like "query", "rowsPerPage", and "clientSort" from the grid - // definition. - var mNode = node.cloneNode(false); - d.attr(mNode, { - "jsId": null, - "dojoType": d.attr(node, "dataModelClass") || "dojox.grid.data.DojoData" - }); - props.model = d.parser.instantiate([mNode])[0]; - } - // if(!props.model){ console.debug("no model!"); } - // if a structure isn't referenced, do we have enough - // data to try to build one automatically? - if( !props.structure && - node.nodeName.toLowerCase() == "table"){ - - // try to discover a structure - props.structure = d.query("> colgroup", node).map(function(cg){ - var sv = d.attr(cg, "span"); - var v = { - noscroll: (d.attr(cg, "noscroll") == "true") ? true : false, - __span: (!!sv ? parseInt(sv) : 1), - cells: [] - }; - if(d.hasAttr(cg, "width")){ - v.width = widthFromAttr(cg); - } - return v; // for vendetta - }); - if(!props.structure.length){ - props.structure.push({ - __span: Infinity, - cells: [] // catch-all view - }); - } - // check to see if we're gonna have more than one view - - // for each tr in our th, create a row of cells - d.query("thead > tr", node).forEach(function(tr, tr_idx){ - var cellCount = 0; - var viewIdx = 0; - var lastViewIdx; - var cView = null; - d.query("> th", tr).map(function(th){ - // what view will this cell go into? - - // NOTE: - // to prevent extraneous iteration, we start counters over - // for each row, incrementing over the surface area of the - // structure that colgroup processing generates and - // creating cell objects for each to place into those - // cell groups. There's a lot of state-keepking logic - // here, but it is what it has to be. - if(!cView){ // current view book keeping - lastViewIdx = 0; - cView = props.structure[0]; - }else if(cellCount >= (lastViewIdx+cView.__span)){ - viewIdx++; - // move to allocating things into the next view - lastViewIdx += cView.__span; - lastView = cView; - cView = props.structure[viewIdx]; - } - - // actually define the cell from what markup hands us - var cell = { - name: d.trim(d.attr(th, "name")||th.innerHTML), - field: d.trim(d.attr(th, "field")||""), - colSpan: parseInt(d.attr(th, "colspan")||1) - }; - cellCount += cell.colSpan; - cell.field = cell.field||cell.name; - cell.width = widthFromAttr(th); - if(!cView.cells[tr_idx]){ - cView.cells[tr_idx] = []; - } - cView.cells[tr_idx].push(cell); - }); - }); - // console.debug(dojo.toJson(props.structure, true)); - } - return new dojox.Grid(props, node); -} - - -// alias us to the right location -dojox.grid.Grid = dojox.Grid; - -} diff --git a/includes/js/dojox/grid/README b/includes/js/dojox/grid/README deleted file mode 100644 index f9dade3..0000000 --- a/includes/js/dojox/grid/README +++ /dev/null @@ -1,39 +0,0 @@ -------------------------------------------------------------------------------- -dojox.grid -------------------------------------------------------------------------------- -Version 1.00 -Release date: 10/04/2007 -------------------------------------------------------------------------------- -Project state: -beta -------------------------------------------------------------------------------- -Credits - Scott J. Miles (sjmiles@activegrid.com) - Steve Orvell (sorvell@activegrid.com) -------------------------------------------------------------------------------- -Project description - -TurboGrid has been made available in Dojo and is now the dojox.grid! - -------------------------------------------------------------------------------- -Dependencies: - -Dojo Core -Dijit Templated Widget -------------------------------------------------------------------------------- -Documentation - -None available for this version yet. - -See http://www.turboajax.com/products/turbogrid/ for legacy documentation. -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/grid/* - -Install into the following directory structure: -/dojox/grid/ - -...which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- diff --git a/includes/js/dojox/grid/VirtualGrid.js b/includes/js/dojox/grid/VirtualGrid.js deleted file mode 100644 index 104054c..0000000 --- a/includes/js/dojox/grid/VirtualGrid.js +++ /dev/null @@ -1,779 +0,0 @@ -if(!dojo._hasResource["dojox.grid.VirtualGrid"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid.VirtualGrid"] = true; -dojo.provide("dojox.grid.VirtualGrid"); - -dojo.require("dojox.grid._grid.lib"); -dojo.require("dojox.grid._grid.scroller"); -dojo.require("dojox.grid._grid.view"); -dojo.require("dojox.grid._grid.views"); -dojo.require("dojox.grid._grid.layout"); -dojo.require("dojox.grid._grid.rows"); -dojo.require("dojox.grid._grid.focus"); -dojo.require("dojox.grid._grid.selection"); -dojo.require("dojox.grid._grid.edit"); -dojo.require("dojox.grid._grid.rowbar"); -dojo.require("dojox.grid._grid.publicEvents"); - -dojo.declare('dojox.VirtualGrid', - [ dijit._Widget, dijit._Templated ], - { - // summary: - // A grid widget with virtual scrolling, cell editing, complex rows, - // sorting, fixed columns, sizeable columns, etc. - // - // description: - // VirtualGrid provides the full set of grid features without any - // direct connection to a data store. - // - // The grid exposes a get function for the grid, or optionally - // individual columns, to populate cell contents. - // - // The grid is rendered based on its structure, an object describing - // column and cell layout. - // - // example: - // A quick sample: - // - // define a get function - // | function get(inRowIndex){ // called in cell context - // | return [this.index, inRowIndex].join(', '); - // | } - // - // define the grid structure: - // | var structure = [ // array of view objects - // | { cells: [// array of rows, a row is an array of cells - // | [ - // | { name: "Alpha", width: 6 }, - // | { name: "Beta" }, - // | { name: "Gamma", get: get }] - // | ]} - // | ]; - // - // |
            - - templateString:"
            \n\t
            \n\t
            \n\t\n
            \n", - - // classTag: String - // CSS class applied to the grid's domNode - classTag: 'dojoxGrid', - - get: function(inRowIndex){ - // summary: Default data getter. - // description: - // Provides data to display in a grid cell. Called in grid cell context. - // So this.cell.index is the column index. - // inRowIndex: Integer - // Row for which to provide data - // returns: - // Data to display for a given grid cell. - }, - - // settings - // rowCount: Integer - // Number of rows to display. - rowCount: 5, - - // keepRows: Integer - // Number of rows to keep in the rendering cache. - keepRows: 75, - - // rowsPerPage: Integer - // Number of rows to render at a time. - rowsPerPage: 25, - - // autoWidth: Boolean - // If autoWidth is true, grid width is automatically set to fit the data. - autoWidth: false, - - // autoHeight: Boolean - // If autoHeight is true, grid height is automatically set to fit the data. - autoHeight: false, - - // autoRender: Boolean - // If autoRender is true, grid will render itself after initialization. - autoRender: true, - - // defaultHeight: String - // default height of the grid, measured in any valid css unit. - defaultHeight: '15em', - - // structure: Object|String - // View layout defintion. Can be set to a layout object, or to the (string) name of a layout object. - structure: '', - - // elasticView: Integer - // Override defaults and make the indexed grid view elastic, thus filling available horizontal space. - elasticView: -1, - - // singleClickEdit: boolean - // Single-click starts editing. Default is double-click - singleClickEdit: false, - - // Used to store the last two clicks, to ensure double-clicking occurs based on the intended row - _click: null, - - // private - sortInfo: 0, - themeable: true, - - // initialization - buildRendering: function(){ - this.inherited(arguments); - // reset get from blank function (needed for markup parsing) to null, if not changed - if(this.get == dojox.VirtualGrid.prototype.get){ - this.get = null; - } - if(!this.domNode.getAttribute('tabIndex')){ - this.domNode.tabIndex = "0"; - } - this.createScroller(); - this.createLayout(); - this.createViews(); - this.createManagers(); - dojox.grid.initTextSizePoll(); - this.connect(dojox.grid, "textSizeChanged", "textSizeChanged"); - dojox.grid.funnelEvents(this.domNode, this, 'doKeyEvent', dojox.grid.keyEvents); - this.connect(this, "onShow", "renderOnIdle"); - }, - postCreate: function(){ - // replace stock styleChanged with one that triggers an update - this.styleChanged = this._styleChanged; - this.setStructure(this.structure); - this._click = []; - }, - - destroy: function(){ - this.domNode.onReveal = null; - this.domNode.onSizeChange = null; - this.edit.destroy(); - this.views.destroyViews(); - this.inherited(arguments); - }, - - styleChanged: function(){ - this.setStyledClass(this.domNode, ''); - }, - - _styleChanged: function(){ - this.styleChanged(); - this.update(); - }, - - textSizeChanged: function(){ - setTimeout(dojo.hitch(this, "_textSizeChanged"), 1); - }, - - _textSizeChanged: function(){ - if(this.domNode){ - this.views.forEach(function(v){ - v.content.update(); - }); - this.render(); - } - }, - - sizeChange: function(){ - dojox.grid.jobs.job(this.id + 'SizeChange', 50, dojo.hitch(this, "update")); - }, - - renderOnIdle: function() { - setTimeout(dojo.hitch(this, "render"), 1); - }, - - createManagers: function(){ - // summary: - // create grid managers for various tasks including rows, focus, selection, editing - - // row manager - this.rows = new dojox.grid.rows(this); - // focus manager - this.focus = new dojox.grid.focus(this); - // selection manager - this.selection = new dojox.grid.selection(this); - // edit manager - this.edit = new dojox.grid.edit(this); - }, - - createScroller: function(){ - // summary: Creates a new virtual scroller - this.scroller = new dojox.grid.scroller.columns(); - this.scroller._pageIdPrefix = this.id + '-'; - this.scroller.renderRow = dojo.hitch(this, "renderRow"); - this.scroller.removeRow = dojo.hitch(this, "rowRemoved"); - }, - - createLayout: function(){ - // summary: Creates a new Grid layout - this.layout = new dojox.grid.layout(this); - }, - - // views - createViews: function(){ - this.views = new dojox.grid.views(this); - this.views.createView = dojo.hitch(this, "createView"); - }, - - createView: function(inClass){ - if(dojo.isAIR){ - var obj = window; - var names = inClass.split('.'); - for(var i=0;i 0){ - }else if(this.domNode.clientHeight <= padBorder.h){ - if(this.domNode.parentNode == document.body){ - this.domNode.style.height = this.defaultHeight; - }else{ - this.fitTo = "parent"; - } - } - // if we are given dimensions, size the grid's domNode to those dimensions - if(this._sizeBox){ - dojo.contentBox(this.domNode, this._sizeBox); - }else if(this.fitTo == "parent"){ - var h = dojo._getContentBox(this.domNode.parentNode).h; - dojo.marginBox(this.domNode, { h: Math.max(0, h) }); - } - - var h = dojo._getContentBox(this.domNode).h; - if(h == 0 && !this.autoHeight){ - // We need to hide the header, since the Grid is essentially hidden. - this.viewsHeaderNode.style.display = "none"; - }else{ - // Otherwise, show the header and give it an appropriate height. - this.viewsHeaderNode.style.display = "block"; - } - - // NOTE: it is essential that width be applied before height - // Header height can only be calculated properly after view widths have been set. - // This is because flex column width is naturally 0 in Firefox. - // Therefore prior to width sizing flex columns with spaces are maximally wrapped - // and calculated to be too tall. - this.adaptWidth(); - this.adaptHeight(); - - // default row height (FIXME: use running average(?), remove magic #) - this.scroller.defaultRowHeight = this.rows.getDefaultHeightPx() + 1; - this.postresize(); - }, - - adaptWidth: function() { - // private: sets width and position for views and update grid width if necessary - var - w = this.autoWidth ? 0 : this.domNode.clientWidth || (this.domNode.offsetWidth - this._getPadBorder().w); - vw = this.views.arrange(1, w); - this.views.onEach("adaptWidth"); - if (this.autoWidth) - this.domNode.style.width = vw + "px"; - }, - - adaptHeight: function(){ - // private: measures and normalizes header height, then sets view heights, and then updates scroller - var vns = this.viewsHeaderNode.style, t = vns.display == "none" ? 0 : this.views.measureHeader(); - vns.height = t + 'px'; - // header heights are reset during measuring so must be normalized after measuring. - this.views.normalizeHeaderNodeHeight(); - // content extent - var h = (this.autoHeight ? -1 : Math.max(this.domNode.clientHeight - t, 0) || 0); - this.views.onEach('setSize', [0, h]); - this.views.onEach('adaptHeight'); - this.scroller.windowHeight = h; - }, - - // render - render: function(){ - // summary: - // Render the grid, headers, and views. Edit and scrolling states are reset. To retain edit and - // scrolling states, see Update. - - if(!this.domNode){return;} - - if(!this.hasLayout()) { - this.scroller.init(0, this.keepRows, this.rowsPerPage); - return; - } - // - this.update = this.defaultUpdate; - this.scroller.init(this.rowCount, this.keepRows, this.rowsPerPage); - this.prerender(); - this.setScrollTop(0); - this.postrender(); - }, - - prerender: function(){ - // if autoHeight, make sure scroller knows not to virtualize; everything must be rendered. - this.keepRows = this.autoHeight ? 0 : this.constructor.prototype.keepRows; - this.scroller.setKeepInfo(this.keepRows); - this.views.render(); - this._resize(); - }, - - postrender: function(){ - this.postresize(); - this.focus.initFocusView(); - // make rows unselectable - dojo.setSelectable(this.domNode, false); - }, - - postresize: function(){ - // views are position absolute, so they do not inflate the parent - if(this.autoHeight){ - this.viewsNode.style.height = this.views.measureContent() + 'px'; - } - }, - - renderRow: function(inRowIndex, inNodes){ - // summary: private, used internally to render rows - this.views.renderRow(inRowIndex, inNodes); - }, - - rowRemoved: function(inRowIndex){ - // summary: private, used internally to remove rows - this.views.rowRemoved(inRowIndex); - }, - - invalidated: null, - - updating: false, - - beginUpdate: function(){ - // summary: - // Use to make multiple changes to rows while queueing row updating. - // NOTE: not currently supporting nested begin/endUpdate calls - this.invalidated = []; - this.updating = true; - }, - - endUpdate: function(){ - // summary: - // Use after calling beginUpdate to render any changes made to rows. - this.updating = false; - var i = this.invalidated; - if(i.all){ - this.update(); - }else if(i.rowCount != undefined){ - this.updateRowCount(i.rowCount); - }else{ - for(r in i){ - this.updateRow(Number(r)); - } - } - this.invalidated = null; - }, - - // update - defaultUpdate: function(){ - // note: initial update calls render and subsequently this function. - if(!this.domNode){return;} - if(this.updating){ - this.invalidated.all = true; - return; - } - //this.edit.saveState(inRowIndex); - this.prerender(); - this.scroller.invalidateNodes(); - this.setScrollTop(this.scrollTop); - this.postrender(); - //this.edit.restoreState(inRowIndex); - }, - - update: function(){ - // summary: - // Update the grid, retaining edit and scrolling states. - this.render(); - }, - - updateRow: function(inRowIndex){ - // summary: - // Render a single row. - // inRowIndex: Integer - // Index of the row to render - inRowIndex = Number(inRowIndex); - if(this.updating){ - this.invalidated[inRowIndex]=true; - }else{ - this.views.updateRow(inRowIndex, this.rows.getHeight(inRowIndex)); - this.scroller.rowHeightChanged(inRowIndex); - } - }, - - updateRowCount: function(inRowCount){ - //summary: - // Change the number of rows. - // inRowCount: int - // Number of rows in the grid. - if(this.updating){ - this.invalidated.rowCount = inRowCount; - }else{ - this.rowCount = inRowCount; - if(this.layout.cells.length){ - this.scroller.updateRowCount(inRowCount); - this.setScrollTop(this.scrollTop); - } - this._resize(); - } - }, - - updateRowStyles: function(inRowIndex){ - // summary: - // Update the styles for a row after it's state has changed. - this.views.updateRowStyles(inRowIndex); - }, - - rowHeightChanged: function(inRowIndex){ - // summary: - // Update grid when the height of a row has changed. Row height is handled automatically as rows - // are rendered. Use this function only to update a row's height outside the normal rendering process. - // inRowIndex: Integer - // index of the row that has changed height - - this.views.renormalizeRow(inRowIndex); - this.scroller.rowHeightChanged(inRowIndex); - }, - - // fastScroll: Boolean - // flag modifies vertical scrolling behavior. Defaults to true but set to false for slower - // scroll performance but more immediate scrolling feedback - fastScroll: true, - - delayScroll: false, - - // scrollRedrawThreshold: int - // pixel distance a user must scroll vertically to trigger grid scrolling. - scrollRedrawThreshold: (dojo.isIE ? 100 : 50), - - // scroll methods - scrollTo: function(inTop){ - // summary: - // Vertically scroll the grid to a given pixel position - // inTop: Integer - // vertical position of the grid in pixels - if(!this.fastScroll){ - this.setScrollTop(inTop); - return; - } - var delta = Math.abs(this.lastScrollTop - inTop); - this.lastScrollTop = inTop; - if(delta > this.scrollRedrawThreshold || this.delayScroll){ - this.delayScroll = true; - this.scrollTop = inTop; - this.views.setScrollTop(inTop); - dojox.grid.jobs.job('dojoxGrid-scroll', 200, dojo.hitch(this, "finishScrollJob")); - }else{ - this.setScrollTop(inTop); - } - }, - - finishScrollJob: function(){ - this.delayScroll = false; - this.setScrollTop(this.scrollTop); - }, - - setScrollTop: function(inTop){ - this.scrollTop = this.views.setScrollTop(inTop); - this.scroller.scroll(this.scrollTop); - }, - - scrollToRow: function(inRowIndex){ - // summary: - // Scroll the grid to a specific row. - // inRowIndex: Integer - // grid row index - this.setScrollTop(this.scroller.findScrollTop(inRowIndex) + 1); - }, - - // styling (private, used internally to style individual parts of a row) - styleRowNode: function(inRowIndex, inRowNode){ - if(inRowNode){ - this.rows.styleRowNode(inRowIndex, inRowNode); - } - }, - - // cells - getCell: function(inIndex){ - // summary: - // Retrieves the cell object for a given grid column. - // inIndex: Integer - // Grid column index of cell to retrieve - // returns: - // a grid cell - return this.layout.cells[inIndex]; - }, - - setCellWidth: function(inIndex, inUnitWidth) { - this.getCell(inIndex).unitWidth = inUnitWidth; - }, - - getCellName: function(inCell){ - // summary: Returns the cell name of a passed cell - return "Cell " + inCell.index; // String - }, - - // sorting - canSort: function(inSortInfo){ - // summary: - // Determines if the grid can be sorted - // inSortInfo: Integer - // Sort information, 1-based index of column on which to sort, positive for an ascending sort - // and negative for a descending sort - // returns: Boolean - // True if grid can be sorted on the given column in the given direction - }, - - sort: function(){ - }, - - getSortAsc: function(inSortInfo){ - // summary: - // Returns true if grid is sorted in an ascending direction. - inSortInfo = inSortInfo == undefined ? this.sortInfo : inSortInfo; - return Boolean(inSortInfo > 0); // Boolean - }, - - getSortIndex: function(inSortInfo){ - // summary: - // Returns the index of the column on which the grid is sorted - inSortInfo = inSortInfo == undefined ? this.sortInfo : inSortInfo; - return Math.abs(inSortInfo) - 1; // Integer - }, - - setSortIndex: function(inIndex, inAsc){ - // summary: - // Sort the grid on a column in a specified direction - // inIndex: Integer - // Column index on which to sort. - // inAsc: Boolean - // If true, sort the grid in ascending order, otherwise in descending order - var si = inIndex +1; - if(inAsc != undefined){ - si *= (inAsc ? 1 : -1); - } else if(this.getSortIndex() == inIndex){ - si = -this.sortInfo; - } - this.setSortInfo(si); - }, - - setSortInfo: function(inSortInfo){ - if(this.canSort(inSortInfo)){ - this.sortInfo = inSortInfo; - this.sort(); - this.update(); - } - }, - - // DOM event handler - doKeyEvent: function(e){ - e.dispatch = 'do' + e.type; - this.onKeyEvent(e); - }, - - // event dispatch - //: protected - _dispatch: function(m, e){ - if(m in this){ - return this[m](e); - } - }, - - dispatchKeyEvent: function(e){ - this._dispatch(e.dispatch, e); - }, - - dispatchContentEvent: function(e){ - this.edit.dispatchEvent(e) || e.sourceView.dispatchContentEvent(e) || this._dispatch(e.dispatch, e); - }, - - dispatchHeaderEvent: function(e){ - e.sourceView.dispatchHeaderEvent(e) || this._dispatch('doheader' + e.type, e); - }, - - dokeydown: function(e){ - this.onKeyDown(e); - }, - - doclick: function(e){ - if(e.cellNode){ - this.onCellClick(e); - }else{ - this.onRowClick(e); - } - }, - - dodblclick: function(e){ - if(e.cellNode){ - this.onCellDblClick(e); - }else{ - this.onRowDblClick(e); - } - }, - - docontextmenu: function(e){ - if(e.cellNode){ - this.onCellContextMenu(e); - }else{ - this.onRowContextMenu(e); - } - }, - - doheaderclick: function(e){ - if(e.cellNode){ - this.onHeaderCellClick(e); - }else{ - this.onHeaderClick(e); - } - }, - - doheaderdblclick: function(e){ - if(e.cellNode){ - this.onHeaderCellDblClick(e); - }else{ - this.onHeaderDblClick(e); - } - }, - - doheadercontextmenu: function(e){ - if(e.cellNode){ - this.onHeaderCellContextMenu(e); - }else{ - this.onHeaderContextMenu(e); - } - }, - - // override to modify editing process - doStartEdit: function(inCell, inRowIndex){ - this.onStartEdit(inCell, inRowIndex); - }, - - doApplyCellEdit: function(inValue, inRowIndex, inFieldIndex){ - this.onApplyCellEdit(inValue, inRowIndex, inFieldIndex); - }, - - doCancelEdit: function(inRowIndex){ - this.onCancelEdit(inRowIndex); - }, - - doApplyEdit: function(inRowIndex){ - this.onApplyEdit(inRowIndex); - }, - - // row editing - addRow: function(){ - // summary: - // Add a row to the grid. - this.updateRowCount(this.rowCount+1); - }, - - removeSelectedRows: function(){ - // summary: - // Remove the selected rows from the grid. - this.updateRowCount(Math.max(0, this.rowCount - this.selection.getSelected().length)); - this.selection.clear(); - } - -}); - -dojo.mixin(dojox.VirtualGrid.prototype, dojox.grid.publicEvents); - -} diff --git a/includes/js/dojox/grid/_data/dijitEditors.js b/includes/js/dojox/grid/_data/dijitEditors.js deleted file mode 100644 index 695de44..0000000 --- a/includes/js/dojox/grid/_data/dijitEditors.js +++ /dev/null @@ -1,170 +0,0 @@ -if(!dojo._hasResource["dojox.grid._data.dijitEditors"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid._data.dijitEditors"] = true; -dojo.provide("dojox.grid._data.dijitEditors"); -dojo.require("dojox.grid._data.editors"); -dojo.require("dijit.form.DateTextBox"); -dojo.require("dijit.form.TimeTextBox"); -dojo.require("dijit.form.ComboBox"); -dojo.require("dojo.data.ItemFileReadStore"); -dojo.require("dijit.form.CheckBox"); -dojo.require("dijit.form.TextBox"); -dojo.require("dijit.form.NumberSpinner"); -dojo.require("dijit.form.NumberTextBox"); -dojo.require("dijit.form.CurrencyTextBox"); -dojo.require("dijit.form.Slider"); -dojo.require("dijit.Editor"); - -dojo.declare("dojox.grid.editors.Dijit", dojox.grid.editors.base, { - editorClass: "dijit.form.TextBox", - constructor: function(inCell){ - this.editor = null; - this.editorClass = dojo.getObject(this.cell.editorClass || this.editorClass); - }, - format: function(inDatum, inRowIndex){ - this.needFormatNode(inDatum, inRowIndex); - return "
            "; - }, - getValue: function(inRowIndex){ - return this.editor.getValue(); - }, - setValue: function(inRowIndex, inValue){ - if(this.editor&&this.editor.setValue){ - this.editor.setValue(inValue); - }else{ - this.inherited(arguments); - } - }, - getEditorProps: function(inDatum){ - return dojo.mixin({}, this.cell.editorProps||{}, { - constraints: dojo.mixin({}, this.cell.constraint) || {}, //TODO: really just for ValidationTextBoxes - value: inDatum - }); - }, - createEditor: function(inNode, inDatum, inRowIndex){ - return new this.editorClass(this.getEditorProps(inDatum), inNode); - - }, - attachEditor: function(inNode, inDatum, inRowIndex){ - inNode.appendChild(this.editor.domNode); - this.setValue(inRowIndex, inDatum); - }, - formatNode: function(inNode, inDatum, inRowIndex){ - if(!this.editorClass){ - return inDatum; - } - if(!this.editor){ - this.editor = this.createEditor.apply(this, arguments); - }else{ - this.attachEditor.apply(this, arguments); - } - this.sizeEditor.apply(this, arguments); - this.cell.grid.rowHeightChanged(inRowIndex); - this.focus(); - }, - sizeEditor: function(inNode, inDatum, inRowIndex){ - var - p = this.cell.getNode(inRowIndex), - box = dojo.contentBox(p); - dojo.marginBox(this.editor.domNode, {w: box.w}); - }, - focus: function(inRowIndex, inNode){ - if(this.editor){ - setTimeout(dojo.hitch(this.editor, function(){ - dojox.grid.fire(this, "focus"); - }), 0); - } - }, - _finish: function(inRowIndex){ - this.inherited(arguments); - dojox.grid.removeNode(this.editor.domNode); - } -}); - -dojo.declare("dojox.grid.editors.ComboBox", dojox.grid.editors.Dijit, { - editorClass: "dijit.form.ComboBox", - getEditorProps: function(inDatum){ - var items=[]; - dojo.forEach(this.cell.options, function(o){ - items.push({name: o, value: o}); - }); - var store = new dojo.data.ItemFileReadStore({data: {identifier:"name", items: items}}); - return dojo.mixin({}, this.cell.editorProps||{}, { - value: inDatum, - store: store - }); - }, - getValue: function(){ - var e = this.editor; - // make sure to apply the displayed value - e.setDisplayedValue(e.getDisplayedValue()); - return e.getValue(); - } -}); - -dojo.declare("dojox.grid.editors.DateTextBox", dojox.grid.editors.Dijit, { - editorClass: "dijit.form.DateTextBox", - setValue: function(inRowIndex, inValue){ - if(this.editor){ - this.editor.setValue(new Date(inValue)); - }else{ - this.inherited(arguments); - } - }, - getEditorProps: function(inDatum){ - return dojo.mixin(this.inherited(arguments), { - value: new Date(inDatum) - }); - } -}); - - -dojo.declare("dojox.grid.editors.CheckBox", dojox.grid.editors.Dijit, { - editorClass: "dijit.form.CheckBox", - getValue: function(){ - return this.editor.checked; - }, - setValue: function(inRowIndex, inValue){ - if(this.editor&&this.editor.setAttribute){ - this.editor.setAttribute("checked", inValue); - }else{ - this.inherited(arguments); - } - }, - sizeEditor: function(inNode, inDatum, inRowIndex){ - return; - } -}); - - -dojo.declare("dojox.grid.editors.Editor", dojox.grid.editors.Dijit, { - editorClass: "dijit.Editor", - getEditorProps: function(inDatum){ - return dojo.mixin({}, this.cell.editorProps||{}, { - height: this.cell.editorHeight || "100px" - }); - }, - createEditor: function(inNode, inDatum, inRowIndex){ - // editor needs its value set after creation - var editor = new this.editorClass(this.getEditorProps(inDatum), inNode); - dojo.connect(editor, 'onLoad', dojo.hitch(this, 'populateEditor')); - return editor; - }, - formatNode: function(inNode, inDatum, inRowIndex){ - this.content = inDatum; - this.inherited(arguments); - if(dojo.isMoz){ - // FIXME: seem to need to reopen the editor and display the toolbar - var e = this.editor; - e.open(); - if(this.cell.editorToolbar){ - dojo.place(e.toolbar.domNode, e.editingArea, "before"); - } - } - }, - populateEditor: function(){ - this.editor.setValue(this.content); - this.editor.placeCursorAtEnd(); - } -}); - -} diff --git a/includes/js/dojox/grid/_data/editors.js b/includes/js/dojox/grid/_data/editors.js deleted file mode 100644 index 48f76cc..0000000 --- a/includes/js/dojox/grid/_data/editors.js +++ /dev/null @@ -1,239 +0,0 @@ -if(!dojo._hasResource["dojox.grid._data.editors"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid._data.editors"] = true; -dojo.provide("dojox.grid._data.editors"); -dojo.provide("dojox.grid.editors"); - -dojo.declare("dojox.grid.editors.Base", null, { - // summary: - // base grid editor class. Other grid editors should inherited from this class. - constructor: function(inCell){ - this.cell = inCell; - }, - //private - _valueProp: "value", - _formatPending: false, - format: function(inDatum, inRowIndex){ - // summary: - // formats the cell for editing - // inDatum: anything - // cell data to edit - // inRowIndex: int - // grid row index - // returns: string of html to place in grid cell - }, - //protected - needFormatNode: function(inDatum, inRowIndex){ - this._formatPending = true; - dojox.grid.whenIdle(this, "_formatNode", inDatum, inRowIndex); - }, - cancelFormatNode: function(){ - this._formatPending = false; - }, - //private - _formatNode: function(inDatum, inRowIndex){ - if(this._formatPending){ - this._formatPending = false; - // make cell selectable - dojo.setSelectable(this.cell.grid.domNode, true); - this.formatNode(this.getNode(inRowIndex), inDatum, inRowIndex); - } - }, - //protected - getNode: function(inRowIndex){ - return (this.cell.getNode(inRowIndex) || 0).firstChild || 0; - }, - formatNode: function(inNode, inDatum, inRowIndex){ - // summary: - // format the editing dom node. Use when editor is a widget. - // inNode: dom node - // dom node for the editor - // inDatum: anything - // cell data to edit - // inRowIndex: int - // grid row index - if(dojo.isIE){ - // IE sux bad - dojox.grid.whenIdle(this, "focus", inRowIndex, inNode); - }else{ - this.focus(inRowIndex, inNode); - } - }, - dispatchEvent: function(m, e){ - if(m in this){ - return this[m](e); - } - }, - //public - getValue: function(inRowIndex){ - // summary: - // returns value entered into editor - // inRowIndex: int - // grid row index - // returns: - // value of editor - return this.getNode(inRowIndex)[this._valueProp]; - }, - setValue: function(inRowIndex, inValue){ - // summary: - // set the value of the grid editor - // inRowIndex: int - // grid row index - // inValue: anything - // value of editor - var n = this.getNode(inRowIndex); - if(n){ - n[this._valueProp] = inValue - }; - }, - focus: function(inRowIndex, inNode){ - // summary: - // focus the grid editor - // inRowIndex: int - // grid row index - // inNode: dom node - // editor node - dojox.grid.focusSelectNode(inNode || this.getNode(inRowIndex)); - }, - save: function(inRowIndex){ - // summary: - // save editor state - // inRowIndex: int - // grid row index - this.value = this.value || this.getValue(inRowIndex); - //console.log("save", this.value, inCell.index, inRowIndex); - }, - restore: function(inRowIndex){ - // summary: - // restore editor state - // inRowIndex: int - // grid row index - this.setValue(inRowIndex, this.value); - //console.log("restore", this.value, inCell.index, inRowIndex); - }, - //protected - _finish: function(inRowIndex){ - // summary: - // called when editing is completed to clean up editor - // inRowIndex: int - // grid row index - dojo.setSelectable(this.cell.grid.domNode, false); - this.cancelFormatNode(this.cell); - }, - //public - apply: function(inRowIndex){ - // summary: - // apply edit from cell editor - // inRowIndex: int - // grid row index - this.cell.applyEdit(this.getValue(inRowIndex), inRowIndex); - this._finish(inRowIndex); - }, - cancel: function(inRowIndex){ - // summary: - // cancel cell edit - // inRowIndex: int - // grid row index - this.cell.cancelEdit(inRowIndex); - this._finish(inRowIndex); - } -}); -dojox.grid.editors.base = dojox.grid.editors.Base; // back-compat - -dojo.declare("dojox.grid.editors.Input", dojox.grid.editors.Base, { - // summary - // grid cell editor that provides a standard text input box - constructor: function(inCell){ - this.keyFilter = this.keyFilter || this.cell.keyFilter; - }, - // keyFilter: object - // optional regex for disallowing keypresses - keyFilter: null, - format: function(inDatum, inRowIndex){ - this.needFormatNode(inDatum, inRowIndex); - return ''; - }, - formatNode: function(inNode, inDatum, inRowIndex){ - this.inherited(arguments); - // FIXME: feels too specific for this interface - this.cell.registerOnBlur(inNode, inRowIndex); - }, - doKey: function(e){ - if(this.keyFilter){ - var key = String.fromCharCode(e.charCode); - if(key.search(this.keyFilter) == -1){ - dojo.stopEvent(e); - } - } - }, - _finish: function(inRowIndex){ - this.inherited(arguments); - var n = this.getNode(inRowIndex); - try{ - dojox.grid.fire(n, "blur"); - }catch(e){} - } -}); -dojox.grid.editors.input = dojox.grid.editors.Input; // back compat - -dojo.declare("dojox.grid.editors.Select", dojox.grid.editors.Input, { - // summary: - // grid cell editor that provides a standard select - // options: text of each item - // values: value for each item - // returnIndex: editor returns only the index of the selected option and not the value - constructor: function(inCell){ - this.options = this.options || this.cell.options; - this.values = this.values || this.cell.values || this.options; - }, - format: function(inDatum, inRowIndex){ - this.needFormatNode(inDatum, inRowIndex); - var h = [ ''); - return h.join(''); - }, - getValue: function(inRowIndex){ - var n = this.getNode(inRowIndex); - if(n){ - var i = n.selectedIndex, o = n.options[i]; - return this.cell.returnIndex ? i : o.value || o.innerHTML; - } - } -}); -dojox.grid.editors.select = dojox.grid.editors.Select; // back compat - -dojo.declare("dojox.grid.editors.AlwaysOn", dojox.grid.editors.Input, { - // summary: - // grid cell editor that is always on, regardless of grid editing state - // alwaysOn: boolean - // flag to use editor to format grid cell regardless of editing state. - alwaysOn: true, - _formatNode: function(inDatum, inRowIndex){ - this.formatNode(this.getNode(inRowIndex), inDatum, inRowIndex); - }, - applyStaticValue: function(inRowIndex){ - var e = this.cell.grid.edit; - e.applyCellEdit(this.getValue(inRowIndex), this.cell, inRowIndex); - e.start(this.cell, inRowIndex, true); - } -}); -dojox.grid.editors.alwaysOn = dojox.grid.editors.AlwaysOn; // back-compat - -dojo.declare("dojox.grid.editors.Bool", dojox.grid.editors.AlwaysOn, { - // summary: - // grid cell editor that provides a standard checkbox that is always on - _valueProp: "checked", - format: function(inDatum, inRowIndex){ - return ''; - }, - doclick: function(e){ - if(e.target.tagName == 'INPUT'){ - this.applyStaticValue(e.rowIndex); - } - } -}); -dojox.grid.editors.bool = dojox.grid.editors.Bool; // back-compat - -} diff --git a/includes/js/dojox/grid/_data/fields.js b/includes/js/dojox/grid/_data/fields.js deleted file mode 100644 index 230bede..0000000 --- a/includes/js/dojox/grid/_data/fields.js +++ /dev/null @@ -1,104 +0,0 @@ -if(!dojo._hasResource["dojox.grid._data.fields"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid._data.fields"] = true; -dojo.provide("dojox.grid._data.fields"); - -dojo.declare("dojox.grid.data.Mixer", null, { - // summary: - // basic collection class that provides a default value for items - - constructor: function(){ - this.defaultValue = {}; - this.values = []; - }, - count: function(){ - return this.values.length; - }, - clear: function(){ - this.values = []; - }, - build: function(inIndex){ - var result = dojo.mixin({owner: this}, this.defaultValue); - result.key = inIndex; - this.values[inIndex] = result; - return result; - }, - getDefault: function(){ - return this.defaultValue; - }, - setDefault: function(inField /*[, inField2, ... inFieldN] */){ - for(var i=0, a; (a = arguments[i]); i++){ - dojo.mixin(this.defaultValue, a); - } - }, - get: function(inIndex){ - return this.values[inIndex] || this.build(inIndex); - }, - _set: function(inIndex, inField /*[, inField2, ... inFieldN] */){ - // each field argument can be a single field object of an array of field objects - var v = this.get(inIndex); - for(var i=1; i= this.values.length){ - this.values[inIndex] = inProps; - }else{ - this.values.splice(inIndex, 0, inProps); - } - }, - remove: function(inIndex){ - this.values.splice(inIndex, 1); - }, - swap: function(inIndexA, inIndexB){ - dojox.grid.arraySwap(this.values, inIndexA, inIndexB); - }, - move: function(inFromIndex, inToIndex){ - dojox.grid.arrayMove(this.values, inFromIndex, inToIndex); - } -}); - -dojox.grid.data.compare = function(a, b){ - return (a > b ? 1 : (a == b ? 0 : -1)); -} - -dojo.declare('dojox.grid.data.Field', null, { - constructor: function(inName){ - this.name = inName; - this.compare = dojox.grid.data.compare; - }, - na: dojox.grid.na -}); - -dojo.declare('dojox.grid.data.Fields', dojox.grid.data.Mixer, { - constructor: function(inFieldClass){ - var fieldClass = inFieldClass ? inFieldClass : dojox.grid.data.Field; - this.defaultValue = new fieldClass(); - }, - indexOf: function(inKey){ - for(var i=0; i=0; i--){ - idx = inIndices[i]; - col = Math.abs(idx) - 1; - if(col >= 0){ - field = this.fields.get(col); - result = this.generateComparator(field.compare, field.key, idx > 0, result); - } - } - return result; - }, - sort: null, - dummy: 0 -}); - -dojo.declare("dojox.grid.data.Rows", dojox.grid.data.Model, { - // observer events - allChange: function(){ - this.notify("AllChange", arguments); - this.notify("Change", arguments); - }, - rowChange: function(){ - this.notify("RowChange", arguments); - }, - datumChange: function(){ - this.notify("DatumChange", arguments); - }, - // copyRow: function(inRowIndex); // abstract - // update - beginModifyRow: function(inRowIndex){ - if(!this.cache[inRowIndex]){ - this.cache[inRowIndex] = this.copyRow(inRowIndex); - } - }, - endModifyRow: function(inRowIndex){ - var cache = this.cache[inRowIndex]; - if(cache){ - var data = this.getRow(inRowIndex); - if(!dojox.grid.arrayCompare(cache, data)){ - this.update(cache, data, inRowIndex); - } - delete this.cache[inRowIndex]; - } - }, - cancelModifyRow: function(inRowIndex){ - var cache = this.cache[inRowIndex]; - if(cache){ - this.setRow(cache, inRowIndex); - delete this.cache[inRowIndex]; - } - } -}); - -dojo.declare("dojox.grid.data.Table", dojox.grid.data.Rows, { - // summary: - // Basic grid data model for static data in the form of an array of rows - // that are arrays of cell data - constructor: function(){ - this.cache = []; - }, - colCount: 0, // tables introduce cols - data: null, - cache: null, - // morphology - measure: function(){ - this.count = this.getRowCount(); - this.colCount = this.getColCount(); - this.allChange(); - //this.notify("Measure"); - }, - getRowCount: function(){ - return (this.data ? this.data.length : 0); - }, - getColCount: function(){ - return (this.data && this.data.length ? this.data[0].length : this.fields.count()); - }, - badIndex: function(inCaller, inDescriptor){ - console.debug('dojox.grid.data.Table: badIndex'); - }, - isGoodIndex: function(inRowIndex, inColIndex){ - return (inRowIndex >= 0 && inRowIndex < this.count && (arguments.length < 2 || (inColIndex >= 0 && inColIndex < this.colCount))); - }, - // access - getRow: function(inRowIndex){ - return this.data[inRowIndex]; - }, - copyRow: function(inRowIndex){ - return this.getRow(inRowIndex).slice(0); - }, - getDatum: function(inRowIndex, inColIndex){ - return this.data[inRowIndex][inColIndex]; - }, - get: function(){ - throw('Plain "get" no longer supported. Use "getRow" or "getDatum".'); - }, - setData: function(inData){ - this.data = (inData || []); - this.allChange(); - }, - setRow: function(inData, inRowIndex){ - this.data[inRowIndex] = inData; - this.rowChange(inData, inRowIndex); - this.change(); - }, - setDatum: function(inDatum, inRowIndex, inColIndex){ - this.data[inRowIndex][inColIndex] = inDatum; - this.datumChange(inDatum, inRowIndex, inColIndex); - }, - set: function(){ - throw('Plain "set" no longer supported. Use "setData", "setRow", or "setDatum".'); - }, - setRows: function(inData, inRowIndex){ - for(var i=0, l=inData.length, r=inRowIndex; i=0; i--){ - dojox.grid.arrayRemove(this.data, inKeys[i]); - } - this.count -= inKeys.length; - return true; - }, - // sort - sort: function(/* (+|-)column_index+1, ... */){ - this.data.sort(this.makeComparator(arguments)); - }, - swap: function(inIndexA, inIndexB){ - dojox.grid.arraySwap(this.data, inIndexA, inIndexB); - this.rowChange(this.getRow(inIndexA), inIndexA); - this.rowChange(this.getRow(inIndexB), inIndexB); - this.change(); - }, - dummy: 0 -}); - -dojo.declare("dojox.grid.data.Objects", dojox.grid.data.Table, { - constructor: function(inFields, inData, inKey){ - if(!inFields){ - this.autoAssignFields(); - } - }, - allChange: function(){ - this.notify("FieldsChange"); - this.inherited(arguments); - }, - autoAssignFields: function(){ - var d = this.data[0], i = 0, field; - for(var f in d){ - field = this.fields.get(i++); - if (!dojo.isString(field.key)){ - field.key = f; - } - } - }, - setData: function(inData){ - this.data = (inData || []); - this.autoAssignFields(); - this.allChange(); - }, - getDatum: function(inRowIndex, inColIndex){ - return this.data[inRowIndex][this.fields.get(inColIndex).key]; - } -}); - -dojo.declare("dojox.grid.data.Dynamic", dojox.grid.data.Table, { - // summary: - // Grid data model for dynamic data such as data retrieved from a server. - // Retrieves data automatically when requested and provides notification when data is received - constructor: function(){ - this.page = []; - this.pages = []; - }, - page: null, - pages: null, - rowsPerPage: 100, - requests: 0, - bop: -1, - eop: -1, - // data - clearData: function(){ - this.pages = []; - this.bop = this.eop = -1; - this.setData([]); - }, - getRowCount: function(){ - return this.count; - }, - getColCount: function(){ - return this.fields.count(); - }, - setRowCount: function(inCount){ - this.count = inCount; - this.change(); - }, - // paging - requestsPending: function(inBoolean){ - }, - rowToPage: function(inRowIndex){ - return (this.rowsPerPage ? Math.floor(inRowIndex / this.rowsPerPage) : inRowIndex); - }, - pageToRow: function(inPageIndex){ - return (this.rowsPerPage ? this.rowsPerPage * inPageIndex : inPageIndex); - }, - requestRows: function(inRowIndex, inCount){ - // summary: - // stub. Fill in to perform actual data row fetching logic. The - // returning logic must provide the data back to the system via - // setRow - }, - rowsProvided: function(inRowIndex, inCount){ - this.requests--; - if(this.requests == 0){ - this.requestsPending(false); - } - }, - requestPage: function(inPageIndex){ - var row = this.pageToRow(inPageIndex); - var count = Math.min(this.rowsPerPage, this.count - row); - if(count > 0){ - this.requests++; - this.requestsPending(true); - setTimeout(dojo.hitch(this, "requestRows", row, count), 1); - //this.requestRows(row, count); - } - }, - needPage: function(inPageIndex){ - if(!this.pages[inPageIndex]){ - this.pages[inPageIndex] = true; - this.requestPage(inPageIndex); - } - }, - preparePage: function(inRowIndex, inColIndex){ - if(inRowIndex < this.bop || inRowIndex >= this.eop){ - var pageIndex = this.rowToPage(inRowIndex); - this.needPage(pageIndex); - this.bop = pageIndex * this.rowsPerPage; - this.eop = this.bop + (this.rowsPerPage || this.count); - } - }, - isRowLoaded: function(inRowIndex){ - return Boolean(this.data[inRowIndex]); - }, - // removal - removePages: function(inRowIndexes){ - for(var i=0, r; ((r=inRowIndexes[i]) != undefined); i++){ - this.pages[this.rowToPage(r)] = false; - } - this.bop = this.eop =-1; - }, - remove: function(inRowIndexes){ - this.removePages(inRowIndexes); - dojox.grid.data.Table.prototype.remove.apply(this, arguments); - }, - // access - getRow: function(inRowIndex){ - var row = this.data[inRowIndex]; - if(!row){ - this.preparePage(inRowIndex); - } - return row; - }, - getDatum: function(inRowIndex, inColIndex){ - var row = this.getRow(inRowIndex); - return (row ? row[inColIndex] : this.fields.get(inColIndex).na); - }, - setDatum: function(inDatum, inRowIndex, inColIndex){ - var row = this.getRow(inRowIndex); - if(row){ - row[inColIndex] = inDatum; - this.datumChange(inDatum, inRowIndex, inColIndex); - }else{ - console.debug('[' + this.declaredClass + '] dojox.grid.data.dynamic.set: cannot set data on an non-loaded row'); - } - }, - // sort - canSort: function(){ - return false; - } -}); - -// FIXME: deprecated: (included for backward compatibility only) -dojox.grid.data.table = dojox.grid.data.Table; -dojox.grid.data.dynamic = dojox.grid.data.Dynamic; - -// we treat dojo.data stores as dynamic stores because no matter how they got -// here, they should always fill that contract -dojo.declare("dojox.grid.data.DojoData", dojox.grid.data.Dynamic, { - // summary: - // A grid data model for dynamic data retreived from a store which - // implements the dojo.data API set. Retrieves data automatically when - // requested and provides notification when data is received - // description: - // This store subclasses the Dynamic grid data object in order to - // provide paginated data access support, notification and view - // updates for stores which support those features, and simple - // field/column mapping for all dojo.data stores. - constructor: function(inFields, inData, args){ - this.count = 1; - this._rowIdentities = {}; - this._currentlyProcessing = []; - if(args){ - dojo.mixin(this, args); - } - if(this.store){ - var f = this.store.getFeatures(); - this._canNotify = f['dojo.data.api.Notification']; - this._canWrite = f['dojo.data.api.Write']; - this._canIdentify = f['dojo.data.api.Identity']; - if(this._canNotify){ - dojo.connect(this.store, "onSet", this, "_storeDatumChange"); - dojo.connect(this.store, "onDelete", this, "_storeDatumDelete"); - dojo.connect(this.store, "onNew", this, "_storeDatumNew"); - } - if(this._canWrite) { - dojo.connect(this.store, "revert", this, "refresh"); - } - } - }, - markupFactory: function(args, node){ - return new dojox.grid.data.DojoData(null, null, args); - }, - query: { name: "*" }, // default, stupid query - store: null, - _currentlyProcessing: null, - _canNotify: false, - _canWrite: false, - _canIdentify: false, - _rowIdentities: {}, - clientSort: false, - sortFields: null, - queryOptions: null, - - // data - setData: function(inData){ - this.store = inData; - this.data = []; - this.allChange(); - }, - setRowCount: function(inCount){ - //console.debug("inCount:", inCount); - this.count = inCount; - this.allChange(); - }, - beginReturn: function(inCount){ - if(this.count != inCount){ - // this.setRowCount(0); - // this.clear(); - // console.debug(this.count, inCount); - this.setRowCount(inCount); - } - }, - _setupFields: function(dataItem){ - // abort if we already have setup fields - if(this.fields._nameMaps){ - return; - } - // set up field/index mappings - var m = {}; - //console.debug("setting up fields", m); - var fields = dojo.map(this.store.getAttributes(dataItem), - function(item, idx){ - m[item] = idx; - m[idx+".idx"] = item; - // name == display name, key = property name - return { name: item, key: item }; - }, - this - ); - this.fields._nameMaps = m; - // console.debug("new fields:", fields); - this.fields.set(fields); - this.notify("FieldsChange"); - }, - _getRowFromItem: function(item){ - // gets us the row object (and row index) of an item - }, - _createRow: function(item){ - var row = {}; - row.__dojo_data_item = item; - dojo.forEach(this.fields.values, function(a){ - value = this.store.getValue(item, a.name); - row[a.name] = (value === undefined || value === null)?"":value; - }, this); - return row; - }, - processRows: function(items, request){ - // console.debug(arguments); - if(!items || items.length == 0){ return; } - this._setupFields(items[0]); - dojo.forEach(items, function(item, idx){ - var row = this._createRow(item); - this._setRowId(item, request.start, idx); - this.setRow(row, request.start+idx); - }, this); - // FIXME: - // Q: scott, steve, how the hell do we actually get this to update - // the visible UI for these rows? - // A: the goal is that Grid automatically updates to reflect changes - // in model. In this case, setRow -> rowChanged -> (observed by) Grid -> modelRowChange -> updateRow - }, - // request data - requestRows: function(inRowIndex, inCount){ - var row = inRowIndex || 0; - var params = { - start: row, - count: this.rowsPerPage, - query: this.query, - sort: this.sortFields, - queryOptions: this.queryOptions, - onBegin: dojo.hitch(this, "beginReturn"), - onComplete: dojo.hitch(this, "processRows"), // add to deferred? - onError: dojo.hitch(this, "processError") - }; - this.store.fetch(params); - }, - getDatum: function(inRowIndex, inColIndex){ - //console.debug("getDatum", inRowIndex, inColIndex); - var row = this.getRow(inRowIndex); - var field = this.fields.values[inColIndex]; - return row && field ? row[field.name] : field ? field.na : '?'; - //var idx = row && this.fields._nameMaps[inColIndex+".idx"]; - //return (row ? row[idx] : this.fields.get(inColIndex).na); - }, - setDatum: function(inDatum, inRowIndex, inColIndex){ - var n = this.fields._nameMaps[inColIndex+".idx"]; - // console.debug("setDatum:", "n:"+n, inDatum, inRowIndex, inColIndex); - if(n){ - this.data[inRowIndex][n] = inDatum; - this.datumChange(inDatum, inRowIndex, inColIndex); - } - }, - // modification, update and store eventing - copyRow: function(inRowIndex){ - var row = {}; - var backstop = {}; - var src = this.getRow(inRowIndex); - for(var x in src){ - if(src[x] != backstop[x]){ - row[x] = src[x]; - } - } - return row; - }, - _attrCompare: function(cache, data){ - dojo.forEach(this.fields.values, function(a){ - if(cache[a.name] != data[a.name]){ return false; } - }, this); - return true; - }, - endModifyRow: function(inRowIndex){ - var cache = this.cache[inRowIndex]; - if(cache){ - var data = this.getRow(inRowIndex); - if(!this._attrCompare(cache, data)){ - this.update(cache, data, inRowIndex); - } - delete this.cache[inRowIndex]; - } - }, - cancelModifyRow: function(inRowIndex){ - // console.debug("cancelModifyRow", arguments); - var cache = this.cache[inRowIndex]; - if(cache){ - this.setRow(cache, inRowIndex); - delete this.cache[inRowIndex]; - } - }, - _setRowId: function(item, offset, idx){ - // FIXME: where else do we need to keep this in sync? - //Handle stores that implement identity and try to handle those that do not. - if (this._canIdentify) { - this._rowIdentities[this.store.getIdentity(item)] = {rowId: offset+idx, item: item}; - }else{ - var identity = dojo.toJson(this.query) + ":start:" + offset + ":idx:" + idx + ":sort:" + dojo.toJson(this.sortFields); - this._rowIdentities[identity] = {rowId: offset+idx, item: item}; - } - }, - _getRowId: function(item, isNotItem){ - // summary: - // Function determine the row index for a particular item - // item: - // The store item to examine to determine row index. - // isNotItem: - // Boolean flag to indicate if the item passed is a store item or not. - var rowId = null; - //Handle identity and nonidentity capable stores. - if(this._canIdentify && !isNotItem){ - rowId = this._rowIdentities[this.store.getIdentity(item)].rowId; - }else{ - //Not efficient, but without identity support, - //not a better way to do it. Basically, do our best to locate it - //This may or may not work, but best we can do here. - var id; - for(id in this._rowIdentities){ - if(this._rowIdentities[id].item === item){ - rowId = this._rowIdentities[id].rowId; - break; - } - } - } - return rowId; - }, - _storeDatumChange: function(item, attr, oldVal, newVal){ - // the store has changed some data under us, need to update the display - var rowId = this._getRowId(item); - var row = this.getRow(rowId); - if(row){ - row[attr] = newVal; - var colId = this.fields._nameMaps[attr]; - this.notify("DatumChange", [ newVal, rowId, colId ]); - } - }, - _storeDatumDelete: function(item){ - if(dojo.indexOf(this._currentlyProcessing, item) != -1) - return; - // the store has deleted some item under us, need to remove that item from - // the view if possible. It may be the deleted item isn't even in the grid. - var rowId = this._getRowId(item, true); - if(rowId != null){ - this._removeItems([rowId]); - } - }, - _storeDatumNew: function(item){ - if(this._disableNew){ - return; - } - // the store has added some item under us, need to add it to the view. - this._insertItem(item, this.data.length); - }, - insert: function(item, index){ - // Push the given item back to the store - this._disableNew = true; - var i = this.store.newItem(item); - this._disableNew = false; - this._insertItem(i, index); - }, - _insertItem: function(storeItem, index){ - // Set up our fields if we haven't already - if(!this.fields._nameMaps){ - this._setupFields(storeItem); - } - var row = this._createRow(storeItem); - for(var i in this._rowIdentities){ //increment all the remaining row ids up one - var rowIdentity = this._rowIdentities[i]; - if(rowIdentity.rowId >= index){ - rowIdentity.rowId++; - } - } - this._setRowId(storeItem, 0, index); - dojox.grid.data.Dynamic.prototype.insert.apply(this, [row, index]); - }, - datumChange: function(value, rowIdx, colIdx){ - if(this._canWrite){ - // we're chaning some data, which means we need to write back - var row = this.getRow(rowIdx); - var field = this.fields._nameMaps[colIdx+".idx"]; - this.store.setValue(row.__dojo_data_item, field, value); - // we don't need to call DatumChange, an eventing store will tell - // us about the row change events - }else{ - // we can't write back, so just go ahead and change our local copy - // of the data - this.notify("DatumChange", arguments); - } - }, - insertion: function(/* index */){ - console.debug("Insertion", arguments); - this.notify("Insertion", arguments); - this.notify("Change", arguments); - }, - removal: function(/* keys */){ - console.debug("Removal", arguments); - this.notify("Removal", arguments); - this.notify("Change", arguments); - }, - remove: function(inRowIndexes){ - // summary: - // Function to remove a set of items from the store based on the row index. - // inRowIndexes: - // An array of row indexes from the grid to remove from the store. - /* Call delete on the store */ - for(var i=inRowIndexes.length-1; i>=0; i--){ - // Need to find the item, then remove each from the data store - var item = this.data[inRowIndexes[i]].__dojo_data_item; - this._currentlyProcessing.push(item); - this.store.deleteItem(item); - } - /* Remove from internal data structure and the view */ - this._removeItems(inRowIndexes); - this._currentlyProcessing = []; - }, - _removeItems: function(inRowIndexes /*array*/){ - // summary: - // Function to remove a set of items from the store based on the row index. - // inRowIndexes: - // An array of row indexes from the grid to remove from the store. - dojox.grid.data.Dynamic.prototype.remove.apply(this, arguments); - // Rebuild _rowIdentities - this._rowIdentities = {}; - for (var i = 0; i < this.data.length; i++){ - this._setRowId(this.data[i].__dojo_data_item, 0, i); - } - }, - canSort: function(){ - // Q: Return true and re-issue the queries? - // A: Return true only. Re-issue the query in 'sort'. - // Note, above are original comments :) - return true; - }, - sort: function(colIndex){ - var col = Math.abs(colIndex) - 1; - this.sortFields = [{'attribute': this.fields.values[col].name, 'descending': (colIndex>0)}]; - - // Since we're relying on the data store to sort, we have to refresh our data. - this.refresh(); - }, - refresh: function(){ - // summary: - // Function to cause the model to re-query the store and rebuild the current viewport. - this.clearData(true); - this.requestRows(); - }, - clearData: function(/* boolean */ keepStore){ - this._rowIdentities = {}; - this.pages = []; - this.bop = this.eop = -1; - this.count = 0; - this.setData((keepStore?this.store:[])); - }, - processError: function(error, request){ - // summary: - // Hook function to trap error messages from the store and emit them. - // Intended for connecting to and handling the error object or at least reporting it. - // - // error: - // The error object returned by the store when a problem occurred. - // request: - // The request object that caused the error. - console.log(error); - } -}); - -} diff --git a/includes/js/dojox/grid/_grid/Grid.css b/includes/js/dojox/grid/_grid/Grid.css deleted file mode 100644 index 655be54..0000000 --- a/includes/js/dojox/grid/_grid/Grid.css +++ /dev/null @@ -1,201 +0,0 @@ -.dojoxGrid { - position: relative; - background-color: #EBEADB; - font-family: Geneva, Arial, Helvetica, sans-serif; - -moz-outline-style: none; - outline: none; - overflow: hidden; - height: 0; -} -.dojoxGrid table { - padding: 0; -} -.dojoxGrid td { - -moz-outline: none; -} -.dojoxGrid-master-header { - position: relative; -} -.dojoxGrid-master-view { - position: relative; -} -.dojoxGrid-view { - position: absolute; - overflow: hidden; -} -.dojoxGrid-header { - position: absolute; - overflow: hidden; -} -.dojoxGrid-header { - background-color: #E8E1CF; -} -.dojoxGrid-header table { - text-align: center; -} -.dojoxGrid-header .dojoxGrid-cell-content { - text-align: center; -} -.dojoxGrid-header .dojoxGrid-cell { - border: 1px solid; - border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; - background: url(images/grid_dx_gradient.gif) #E8E1CF top repeat-x; - padding-bottom: 2px; -} -.dojoxGrid-header .dojoxGrid-cell-over { - background-image: none; - background-color: white; - border-bottom-color: #FEBE47; - margin-bottom: 0; - padding-bottom: 0; - border-bottom-width: 3px; -} -.dojoxGrid-sort-down { - background: url(images/grid_sort_down.gif) left no-repeat; - padding-left:16px; - margin-left:4px; -} -.dojoxGrid-sort-up { - background: url(images/grid_sort_up.gif) left no-repeat; - padding-left:16px; - margin-left:4px; -} -.dojoxGrid-scrollbox { - position: relative; - overflow: scroll; - background-color: white; - width: 100%; -} -.dojoxGrid-content { - position: relative; - overflow: hidden; - -moz-outline-style: none; - outline: none; -} -.dojoxGrid-rowbar { - border: 1px solid; - border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; - border-top: none; - background: url(images/grid_dx_gradient.gif) #E8E1CF top repeat-x; -} -.dojoxGrid-rowbar-inner { - border-top: 1px solid #F6F4EB; -} -.dojoxGrid-rowbar-over { - background-image: none; - background-color: white; - border-top-color: #FEBE47; - border-bottom-color: #FEBE47; -} -.dojoxGrid-rowbar-selected { - background-color: #D9E8F9; - background-image: none; - - background-position: center; - background-repeat: no-repeat; -} -.dojoxGrid-row { - position: relative; - width: 9000em; -} -.dojoxGrid-row { - - border: 1px solid #E8E4D8; - border-color: #F8F7F1; - - border-left: none; - border-right: none; - background-color: white; - border-top: none; -} -.dojoxGrid-row-over { - border-top-color: #FEBE47; - border-bottom-color: #FEBE47; - - - -} -.dojoxGrid-row-odd { - background-color: #FFFDF3; - -} -.dojoxGrid-row-selected { - background-color: #D9E8F9; -} -.dojoxGrid-row-table { - table-layout: fixed; - width: 0; -} -.dojoxGrid-invisible { - visibility: hidden; -} -.Xdojo-ie .dojoxGrid-invisible { - display: none; -} -.dojoxGrid-invisible td, .dojoxGrid-header .dojoxGrid-invisible td { - border-top-width: 0; - border-bottom-width: 0; - padding-top: 0; - padding-bottom: 0; - height: 0; - overflow: hidden; -} -.dojoxGrid-cell { - border: 1px solid; - border-color: #EBEADB; - border-right-color: #D5CDB5; - padding: 3px 3px 3px 3px; - text-align: left; - overflow: hidden; -} -.dojoxGrid-cell-focus { - border: 1px dashed blue; -} -.dojoxGrid-cell-over { - border: 1px dotted #FEBE47; -} -.dojoxGrid-cell-focus.dojoxGrid-cell-over { - border: 1px dotted green; -} -.dojoxGrid-cell-clip { - width: 100%; - overflow: hidden; - white-space:nowrap; - text-overflow: ellipsis; -} -.dojoxGrid-row-editing td { - background-color: #F4FFF4; -} -.dojoxGrid-row-inserting td { - background-color: #F4FFF4; -} -.dojoxGrid-row-inflight td { - background-color: #F2F7B7; -} -.dojoxGrid-row-error td { - background-color: #F8B8B6; -} -.dojoxGrid-input, .dojoxGrid-select, .dojoxGrid-textarea { - margin: 0; - padding: 0; - border-style: none; - width: 100%; - font-size: 100%; - font-family: inherit; -} -.dojoxGrid-hidden-focus { - position: absolute; - left: -1000px; - top: -1000px; - height: 0px, width: 0px; -} -.gridArrowButtonChar { - display:none !important; -} -.dijit_a11y .gridArrowButtonChar { - display:inline !important; -} -.dijit_a11y .dojoxGrid-sort-down, .dijit_a11y .dojoxGrid-sort-up { - margin-left: 0; - padding-left: 0; -} diff --git a/includes/js/dojox/grid/_grid/Grid.css.commented.css b/includes/js/dojox/grid/_grid/Grid.css.commented.css deleted file mode 100644 index 227ffa3..0000000 --- a/includes/js/dojox/grid/_grid/Grid.css.commented.css +++ /dev/null @@ -1,258 +0,0 @@ -.dojoxGrid { - position: relative; - background-color: #EBEADB; - font-family: Geneva, Arial, Helvetica, sans-serif; - -moz-outline-style: none; - outline: none; - overflow: hidden; - height: 0; -} - -.dojoxGrid table { - padding: 0; -} - -.dojoxGrid td { - -moz-outline: none; -} - -/* master header */ - -.dojoxGrid-master-header { - position: relative; -} - -/* master view */ - -.dojoxGrid-master-view { - position: relative; -} - -/* views */ - -.dojoxGrid-view { - position: absolute; - overflow: hidden; -} - -/* header */ - -.dojoxGrid-header { - position: absolute; - overflow: hidden; -} - -.dojoxGrid-header { - background-color: #E8E1CF; -} - -.dojoxGrid-header table { - text-align: center; -} - -.dojoxGrid-header .dojoxGrid-cell-content { - text-align: center; -} - -.dojoxGrid-header .dojoxGrid-cell { - border: 1px solid; - border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; - background: url(images/grid_dx_gradient.gif) #E8E1CF top repeat-x; - padding-bottom: 2px; -} - -.dojoxGrid-header .dojoxGrid-cell-over { - background-image: none; - background-color: white; - border-bottom-color: #FEBE47; - margin-bottom: 0; - padding-bottom: 0; - border-bottom-width: 3px; -} - -.dojoxGrid-sort-down { - background: url(images/grid_sort_down.gif) left no-repeat; - padding-left:16px; - margin-left:4px; -} - -.dojoxGrid-sort-up { - background: url(images/grid_sort_up.gif) left no-repeat; - padding-left:16px; - margin-left:4px; -} - -/* content */ - -.dojoxGrid-scrollbox { - position: relative; - overflow: scroll; - background-color: white; - width: 100%; -} - -.dojoxGrid-content { - position: relative; - overflow: hidden; - -moz-outline-style: none; - outline: none; -} - -/* rowbar */ - -.dojoxGrid-rowbar { - border: 1px solid; - border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; - border-top: none; - background: url(images/grid_dx_gradient.gif) #E8E1CF top repeat-x; -} - -.dojoxGrid-rowbar-inner { - border-top: 1px solid #F6F4EB; -} - -.dojoxGrid-rowbar-over { - background-image: none; - background-color: white; - border-top-color: #FEBE47; - border-bottom-color: #FEBE47; -} - -.dojoxGrid-rowbar-selected { - background-color: #D9E8F9; - background-image: none; - /*background-image: url(images/grid_green_dot.gif);*/ - background-position: center; - background-repeat: no-repeat; -} - -/* rows */ - -.dojoxGrid-row { - position: relative; - width: 9000em; -} - -.dojoxGrid-row { - /*border: 1px solid #E8E4D8;*/ - border: 1px solid #E8E4D8; - border-color: #F8F7F1; - /*padding: 0 0 1px 0;*/ - border-left: none; - border-right: none; - background-color: white; - border-top: none; -} - -.dojoxGrid-row-over { - border-top-color: #FEBE47; - border-bottom-color: #FEBE47; - /*border-bottom-width: 2px; - padding-bottom: 0;*/ - /*background-color: #FFDD9D;*/ - /*background-color: #FDFDFD;*/ -} - -.dojoxGrid-row-odd { - background-color: #FFFDF3; - /*background-color: #F9F7E8;*/ -} - -.dojoxGrid-row-selected { - background-color: #D9E8F9; -} - -.dojoxGrid-row-table { - table-layout: fixed; - width: 0; -} - -.dojoxGrid-invisible { - visibility: hidden; -} - -.Xdojo-ie .dojoxGrid-invisible { - display: none; -} - -.dojoxGrid-invisible td, .dojoxGrid-header .dojoxGrid-invisible td { - border-top-width: 0; - border-bottom-width: 0; - padding-top: 0; - padding-bottom: 0; - height: 0; - overflow: hidden; -} - -/* cells */ - -.dojoxGrid-cell { - border: 1px solid; - border-color: #EBEADB; - border-right-color: #D5CDB5; - padding: 3px 3px 3px 3px; - text-align: left; - overflow: hidden; -} - -.dojoxGrid-cell-focus { - border: 1px dashed blue; -} - -.dojoxGrid-cell-over { - border: 1px dotted #FEBE47; -} - -.dojoxGrid-cell-focus.dojoxGrid-cell-over { - border: 1px dotted green; -} - -.dojoxGrid-cell-clip { - width: 100%; - overflow: hidden; - white-space:nowrap; - text-overflow: ellipsis; -} - -/* editing */ - -.dojoxGrid-row-editing td { - background-color: #F4FFF4; -} - -.dojoxGrid-row-inserting td { - background-color: #F4FFF4; -} -.dojoxGrid-row-inflight td { - background-color: #F2F7B7; -} -.dojoxGrid-row-error td { - background-color: #F8B8B6; -} - -.dojoxGrid-input, .dojoxGrid-select, .dojoxGrid-textarea { - margin: 0; - padding: 0; - border-style: none; - width: 100%; - font-size: 100%; - font-family: inherit; -} - -.dojoxGrid-hidden-focus { - position: absolute; - left: -1000px; - top: -1000px; - height: 0px, width: 0px; -} - -.gridArrowButtonChar { - display:none !important; -} -.dijit_a11y .gridArrowButtonChar { - display:inline !important; -} -.dijit_a11y .dojoxGrid-sort-down, .dijit_a11y .dojoxGrid-sort-up { - margin-left: 0; - padding-left: 0; -} diff --git a/includes/js/dojox/grid/_grid/Grid_rtl.css b/includes/js/dojox/grid/_grid/Grid_rtl.css deleted file mode 100644 index 88ab215..0000000 --- a/includes/js/dojox/grid/_grid/Grid_rtl.css +++ /dev/null @@ -1,8 +0,0 @@ -.dijitRtl .dojoxGrid-header table { -} -.dj_ie .dijitRtl .dojoxGrid-header table { - float:none; -} -.dijitRtl .dojoxGrid-content { - float:left; -} diff --git a/includes/js/dojox/grid/_grid/Grid_rtl.css.commented.css b/includes/js/dojox/grid/_grid/Grid_rtl.css.commented.css deleted file mode 100644 index c240b4c..0000000 --- a/includes/js/dojox/grid/_grid/Grid_rtl.css.commented.css +++ /dev/null @@ -1,10 +0,0 @@ -.dijitRtl .dojoxGrid-header table { -} - -.dj_ie .dijitRtl .dojoxGrid-header table { - float:none; -} - -.dijitRtl .dojoxGrid-content { - float:left; -} diff --git a/includes/js/dojox/grid/_grid/builder.js b/includes/js/dojox/grid/_grid/builder.js deleted file mode 100644 index dccf7e2..0000000 --- a/includes/js/dojox/grid/_grid/builder.js +++ /dev/null @@ -1,522 +0,0 @@ -if(!dojo._hasResource["dojox.grid._grid.builder"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid._grid.builder"] = true; -dojo.provide("dojox.grid._grid.builder"); -dojo.require("dojox.grid._grid.drag"); - -dojo.declare("dojox.grid.Builder", - null, - { - // summary: - // Base class to produce html for grid content. - // Also provide event decoration, providing grid related information inside the event object - // passed to grid events. - constructor: function(inView){ - this.view = inView; - this.grid = inView.grid; - }, - - view: null, - // boilerplate HTML - _table: '', - - // generate starting tags for a cell - generateCellMarkup: function(inCell, inMoreStyles, inMoreClasses, isHeader){ - var result = [], html; - if (isHeader){ - html = [ '' : ''); - for(var i=0, cell, m, cc, cs; (cell=row[i]); i++){ - m = cell.markup, cc = cell.customClasses = [], cs = cell.customStyles = []; - // content (format can fill in cc and cs as side-effects) - m[5] = cell.format(inDataIndex); - // classes - m[1] = cc.join(' '); - // styles - m[3] = cs.join(';'); - // in-place concat - html.push.apply(html, m); - } - html.push(''); - } - html.push('
            '); - // result[4] => td postfix - result.push(html.join('')); - // SLOT: result[5] => content - result.push(''); - // result[6] => td closes - result.push(''); - return result; // Array - }, - - // cell finding - isCellNode: function(inNode){ - return Boolean(inNode && inNode.getAttribute && inNode.getAttribute("idx")); - }, - - getCellNodeIndex: function(inCellNode){ - return inCellNode ? Number(inCellNode.getAttribute("idx")) : -1; - }, - - getCellNode: function(inRowNode, inCellIndex){ - for(var i=0, row; row=dojox.grid.getTr(inRowNode.firstChild, i); i++){ - for(var j=0, cell; cell=row.cells[j]; j++){ - if(this.getCellNodeIndex(cell) == inCellIndex){ - return cell; - } - } - } - }, - - findCellTarget: function(inSourceNode, inTopNode){ - var n = inSourceNode; - while(n && (!this.isCellNode(n) || (dojox.grid.gridViewTag in n.offsetParent.parentNode && n.offsetParent.parentNode[dojox.grid.gridViewTag] != this.view.id)) && (n!=inTopNode)){ - n = n.parentNode; - } - return n!=inTopNode ? n : null - }, - - // event decoration - baseDecorateEvent: function(e){ - e.dispatch = 'do' + e.type; - e.grid = this.grid; - e.sourceView = this.view; - e.cellNode = this.findCellTarget(e.target, e.rowNode); - e.cellIndex = this.getCellNodeIndex(e.cellNode); - e.cell = (e.cellIndex >= 0 ? this.grid.getCell(e.cellIndex) : null); - }, - - // event dispatch - findTarget: function(inSource, inTag){ - var n = inSource; - while(n && (n!=this.domNode) && (!(inTag in n) || (dojox.grid.gridViewTag in n && n[dojox.grid.gridViewTag] != this.view.id))){ - n = n.parentNode; - } - return (n != this.domNode) ? n : null; - }, - - findRowTarget: function(inSource){ - return this.findTarget(inSource, dojox.grid.rowIndexTag); - }, - - isIntraNodeEvent: function(e){ - try{ - return (e.cellNode && e.relatedTarget && dojo.isDescendant(e.relatedTarget, e.cellNode)); - }catch(x){ - // e.relatedTarget has permission problem in FF if it's an input: https://bugzilla.mozilla.org/show_bug.cgi?id=208427 - return false; - } - }, - - isIntraRowEvent: function(e){ - try{ - var row = e.relatedTarget && this.findRowTarget(e.relatedTarget); - return !row && (e.rowIndex==-1) || row && (e.rowIndex==row.gridRowIndex); - }catch(x){ - // e.relatedTarget on INPUT has permission problem in FF: https://bugzilla.mozilla.org/show_bug.cgi?id=208427 - return false; - } - }, - - dispatchEvent: function(e){ - if(e.dispatch in this){ - return this[e.dispatch](e); - } - }, - - // dispatched event handlers - domouseover: function(e){ - if(e.cellNode && (e.cellNode!=this.lastOverCellNode)){ - this.lastOverCellNode = e.cellNode; - this.grid.onMouseOver(e); - } - this.grid.onMouseOverRow(e); - }, - - domouseout: function(e){ - if(e.cellNode && (e.cellNode==this.lastOverCellNode) && !this.isIntraNodeEvent(e, this.lastOverCellNode)){ - this.lastOverCellNode = null; - this.grid.onMouseOut(e); - if(!this.isIntraRowEvent(e)){ - this.grid.onMouseOutRow(e); - } - } - }, - - domousedown: function(e){ - if (e.cellNode) - this.grid.onMouseDown(e); - this.grid.onMouseDownRow(e) - } - -}); - -dojo.declare("dojox.grid.contentBuilder", - dojox.grid.Builder, - { - // summary: - // Produces html for grid data content. Owned by grid and used internally - // for rendering data. Override to implement custom rendering. - update: function(){ - this.prepareHtml(); - }, - - // cache html for rendering data rows - prepareHtml: function(){ - var defaultGet=this.grid.get, rows=this.view.structure.rows; - for(var j=0, row; (row=rows[j]); j++){ - for(var i=0, cell; (cell=row[i]); i++){ - cell.get = cell.get || (cell.value == undefined) && defaultGet; - cell.markup = this.generateCellMarkup(cell, cell.cellStyles, cell.cellClasses, false); - } - } - }, - - // time critical: generate html using cache and data source - generateHtml: function(inDataIndex, inRowIndex){ - var - html = [ this._table ], - v = this.view, - obr = v.onBeforeRow, - rows = v.structure.rows; - - obr && obr(inRowIndex, rows); - for(var j=0, row; (row=rows[j]); j++){ - if(row.hidden || row.header){ - continue; - } - html.push(!row.invisible ? '
            '); - return html.join(''); // String - }, - - decorateEvent: function(e){ - e.rowNode = this.findRowTarget(e.target); - if(!e.rowNode){return false}; - e.rowIndex = e.rowNode[dojox.grid.rowIndexTag]; - this.baseDecorateEvent(e); - e.cell = this.grid.getCell(e.cellIndex); - return true; // Boolean - } - -}); - -dojo.declare("dojox.grid.headerBuilder", - dojox.grid.Builder, - { - // summary: - // Produces html for grid header content. Owned by grid and used internally - // for rendering data. Override to implement custom rendering. - - bogusClickTime: 0, - overResizeWidth: 4, - minColWidth: 1, - - // FIXME: isn't this getting mixed from dojox.grid.Builder, -1 character? - _table: ''); - dojox.grid.fire(this.view, "onBeforeRow", [-1, rows]); - for(var j=0, row; (row=rows[j]); j++){ - if(row.hidden){ - continue; - } - html.push(!row.invisible ? '' : ''); - for(var i=0, cell, markup; (cell=row[i]); i++){ - cell.customClasses = []; - cell.customStyles = []; - markup = this.generateCellMarkup(cell, cell.headerStyles, cell.headerClasses, true); - // content - markup[5] = (inValue != undefined ? inValue : inGetValue(cell)); - // styles - markup[3] = cell.customStyles.join(';'); - // classes - markup[1] = cell.customClasses.join(' '); //(cell.customClasses ? ' ' + cell.customClasses : ''); - html.push(markup.join('')); - } - html.push(''); - } - html.push('
            '); - return html.join(''); - }, - - // event helpers - getCellX: function(e){ - var x = e.layerX; - if(dojo.isMoz){ - var n = dojox.grid.ascendDom(e.target, dojox.grid.makeNotTagName("th")); - x -= (n && n.offsetLeft) || 0; - var t = e.sourceView.getScrollbarWidth(); - if(!dojo._isBodyLtr() && e.sourceView.headerNode.scrollLeft < t) - x -= t; - //x -= getProp(ascendDom(e.target, mkNotTagName("td")), "offsetLeft") || 0; - } - var n = dojox.grid.ascendDom(e.target, function(){ - if(!n || n == e.cellNode){ - return false; - } - // Mozilla 1.8 (FF 1.5) has a bug that makes offsetLeft = -parent border width - // when parent has border, overflow: hidden, and is positioned - // handle this problem here ... not a general solution! - x += (n.offsetLeft < 0 ? 0 : n.offsetLeft); - return true; - }); - return x; - }, - - // event decoration - decorateEvent: function(e){ - this.baseDecorateEvent(e); - e.rowIndex = -1; - e.cellX = this.getCellX(e); - return true; - }, - - // event handlers - // resizing - prepareResize: function(e, mod){ - var i = dojox.grid.getTdIndex(e.cellNode); - e.cellNode = (i ? e.cellNode.parentNode.cells[i+mod] : null); - e.cellIndex = (e.cellNode ? this.getCellNodeIndex(e.cellNode) : -1); - return Boolean(e.cellNode); - }, - - canResize: function(e){ - if(!e.cellNode || e.cellNode.colSpan > 1){ - return false; - } - var cell = this.grid.getCell(e.cellIndex); - return !cell.noresize && !cell.isFlex(); - }, - - overLeftResizeArea: function(e){ - if(dojo._isBodyLtr()){ - return (e.cellIndex>0) && (e.cellX < this.overResizeWidth) && this.prepareResize(e, -1); - } - return t = e.cellNode && (e.cellX < this.overResizeWidth); - }, - - overRightResizeArea: function(e){ - if(dojo._isBodyLtr()){ - return e.cellNode && (e.cellX >= e.cellNode.offsetWidth - this.overResizeWidth); - } - return (e.cellIndex>0) && (e.cellX >= e.cellNode.offsetWidth - this.overResizeWidth) && this.prepareResize(e, -1); - }, - - domousemove: function(e){ - //console.log(e.cellIndex, e.cellX, e.cellNode.offsetWidth); - var c = (this.overRightResizeArea(e) ? 'e-resize' : (this.overLeftResizeArea(e) ? 'w-resize' : '')); - if(c && !this.canResize(e)){ - c = 'not-allowed'; - } - e.sourceView.headerNode.style.cursor = c || ''; //'default'; - if (c) - dojo.stopEvent(e); - }, - - domousedown: function(e){ - if(!dojox.grid.drag.dragging){ - if((this.overRightResizeArea(e) || this.overLeftResizeArea(e)) && this.canResize(e)){ - this.beginColumnResize(e); - }else{ - this.grid.onMouseDown(e); - this.grid.onMouseOverRow(e); - } - //else{ - // this.beginMoveColumn(e); - //} - } - }, - - doclick: function(e) { - if (new Date().getTime() < this.bogusClickTime) { - dojo.stopEvent(e); - return true; - } - }, - - // column resizing - beginColumnResize: function(e){ - dojo.stopEvent(e); - var spanners = [], nodes = this.tableMap.findOverlappingNodes(e.cellNode); - for(var i=0, cell; (cell=nodes[i]); i++){ - spanners.push({ node: cell, index: this.getCellNodeIndex(cell), width: cell.offsetWidth }); - //console.log("spanner: " + this.getCellNodeIndex(cell)); - } - var drag = { - scrollLeft: e.sourceView.headerNode.scrollLeft, - view: e.sourceView, - node: e.cellNode, - index: e.cellIndex, - w: e.cellNode.clientWidth, - spanners: spanners - }; - //console.log(drag.index, drag.w); - dojox.grid.drag.start(e.cellNode, dojo.hitch(this, 'doResizeColumn', drag), dojo.hitch(this, 'endResizeColumn', drag), e); - }, - - doResizeColumn: function(inDrag, inEvent){ - var isLtr = dojo._isBodyLtr(); - if(isLtr){ - var w = inDrag.w + inEvent.deltaX; - }else{ - var w = inDrag.w - inEvent.deltaX; - } - if(w >= this.minColWidth){ - for(var i=0, s, sw; (s=inDrag.spanners[i]); i++){ - if(isLtr){ - sw = s.width + inEvent.deltaX; - }else{ - sw = s.width - inEvent.deltaX; - } - s.node.style.width = sw + 'px'; - inDrag.view.setColWidth(s.index, sw); - //console.log('setColWidth', '#' + s.index, sw + 'px'); - } - inDrag.node.style.width = w + 'px'; - inDrag.view.setColWidth(inDrag.index, w); - if(!isLtr){ - inDrag.view.headerNode.scrollLeft = (inDrag.scrollLeft - inEvent.deltaX); - } - } - if(inDrag.view.flexCells && !inDrag.view.testFlexCells()){ - var t = dojox.grid.findTable(inDrag.node); - t && (t.style.width = ''); - } - }, - - endResizeColumn: function(inDrag){ - this.bogusClickTime = new Date().getTime() + 30; - setTimeout(dojo.hitch(inDrag.view, "update"), 50); - } - -}); - -dojo.declare("dojox.grid.tableMap", - null, - { - // summary: - // Maps an html table into a structure parsable for information about cell row and col spanning. - // Used by headerBuilder - constructor: function(inRows){ - this.mapRows(inRows); - }, - - map: null, - - mapRows: function(inRows){ - // summary: Map table topography - - //console.log('mapRows'); - // # of rows - var rowCount = inRows.length; - if(!rowCount){ - return; - } - // map which columns and rows fill which cells - this.map = [ ]; - for(var j=0, row; (row=inRows[j]); j++){ - this.map[j] = []; - } - for(var j=0, row; (row=inRows[j]); j++){ - for(var i=0, x=0, cell, colSpan, rowSpan; (cell=row[i]); i++){ - while (this.map[j][x]){x++}; - this.map[j][x] = { c: i, r: j }; - rowSpan = cell.rowSpan || 1; - colSpan = cell.colSpan || 1; - for(var y=0; y dgdrag.hysteresis; -} - -dgdrag.mousemove = function(inEvent){ - inEvent = dojo.fixEvent(inEvent); - dojo.stopEvent(inEvent); - dgdrag.calcDelta(inEvent); - if((!dgdrag.started)&&(dgdrag.hasMoved(inEvent))){ - dgdrag.events.start(inEvent); - dgdrag.started = true; - } - if(dgdrag.started){ - dgdrag.events.drag(inEvent); - } -} - -dgdrag.mouseup = function(inEvent){ - //console.debug("dojox.grid.drag.mouseup"); - dojo.stopEvent(dojo.fixEvent(inEvent)); - dgdrag.end(); -} - -dgdrag.click = function(inEvent){ - dojo.stopEvent(dojo.fixEvent(inEvent)); - //dgdrag.end(); -} - -})(); -// end closure - -} diff --git a/includes/js/dojox/grid/_grid/edit.js b/includes/js/dojox/grid/_grid/edit.js deleted file mode 100644 index d918423..0000000 --- a/includes/js/dojox/grid/_grid/edit.js +++ /dev/null @@ -1,238 +0,0 @@ -if(!dojo._hasResource["dojox.grid._grid.edit"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid._grid.edit"] = true; -dojo.provide("dojox.grid._grid.edit"); - -dojo.declare("dojox.grid.edit", null, { - // summary: - // Controls grid cell editing process. Owned by grid and used internally for editing. - constructor: function(inGrid){ - // inGrid: dojox.Grid - // The dojox.Grid this editor should be attached to - this.grid = inGrid; - this.connections = []; - if(dojo.isIE){ - this.connections.push(dojo.connect(document.body, "onfocus", dojo.hitch(this, "_boomerangFocus"))); - } - }, - - info: {}, - - destroy: function(){ - dojo.forEach(this.connections,dojo.disconnect); - }, - - cellFocus: function(inCell, inRowIndex){ - // summary: - // Invoke editing when cell is focused - // inCell: cell object - // Grid cell object - // inRowIndex: Integer - // Grid row index - if(this.grid.singleClickEdit || this.isEditRow(inRowIndex)){ - // if same row or quick editing, edit - this.setEditCell(inCell, inRowIndex); - }else{ - // otherwise, apply any pending row edits - this.apply(); - } - // if dynamic or static editing... - if(this.isEditing() || (inCell && (inCell.editor||0).alwaysOn)){ - // let the editor focus itself as needed - this._focusEditor(inCell, inRowIndex); - } - }, - - rowClick: function(e){ - if(this.isEditing() && !this.isEditRow(e.rowIndex)){ - this.apply(); - } - }, - - styleRow: function(inRow){ - if(inRow.index == this.info.rowIndex){ - inRow.customClasses += ' dojoxGrid-row-editing'; - } - }, - - dispatchEvent: function(e){ - var c = e.cell, ed = c && c.editor; - return ed && ed.dispatchEvent(e.dispatch, e); - }, - - // Editing - isEditing: function(){ - // summary: - // Indicates editing state of the grid. - // returns: Boolean - // True if grid is actively editing - return this.info.rowIndex !== undefined; - }, - - isEditCell: function(inRowIndex, inCellIndex){ - // summary: - // Indicates if the given cell is being edited. - // inRowIndex: Integer - // Grid row index - // inCellIndex: Integer - // Grid cell index - // returns: Boolean - // True if given cell is being edited - return (this.info.rowIndex === inRowIndex) && (this.info.cell.index == inCellIndex); - }, - - isEditRow: function(inRowIndex){ - // summary: - // Indicates if the given row is being edited. - // inRowIndex: Integer - // Grid row index - // returns: Boolean - // True if given row is being edited - return this.info.rowIndex === inRowIndex; - }, - - setEditCell: function(inCell, inRowIndex){ - // summary: - // Set the given cell to be edited - // inRowIndex: Integer - // Grid row index - // inCell: Object - // Grid cell object - if(!this.isEditCell(inRowIndex, inCell.index) && this.grid.canEdit(inCell, inRowIndex)){ - this.start(inCell, inRowIndex, this.isEditRow(inRowIndex) || inCell.editor); - } - }, - - _focusEditor: function(inCell, inRowIndex){ - dojox.grid.fire(inCell.editor, "focus", [inRowIndex]); - }, - - focusEditor: function(){ - if(this.isEditing()){ - this._focusEditor(this.info.cell, this.info.rowIndex); - } - }, - - // implement fix for focus boomerang effect on IE - _boomerangWindow: 500, - _shouldCatchBoomerang: function(){ - return this._catchBoomerang > new Date().getTime(); - }, - _boomerangFocus: function(){ - //console.log("_boomerangFocus"); - if(this._shouldCatchBoomerang()){ - // make sure we don't utterly lose focus - this.grid.focus.focusGrid(); - // let the editor focus itself as needed - this.focusEditor(); - // only catch once - this._catchBoomerang = 0; - } - }, - _doCatchBoomerang: function(){ - // give ourselves a few ms to boomerang IE focus effects - if(dojo.isIE){this._catchBoomerang = new Date().getTime() + this._boomerangWindow;} - }, - // end boomerang fix API - - start: function(inCell, inRowIndex, inEditing){ - this.grid.beginUpdate(); - this.editorApply(); - if(this.isEditing() && !this.isEditRow(inRowIndex)){ - this.applyRowEdit(); - this.grid.updateRow(inRowIndex); - } - if(inEditing){ - this.info = { cell: inCell, rowIndex: inRowIndex }; - this.grid.doStartEdit(inCell, inRowIndex); - this.grid.updateRow(inRowIndex); - }else{ - this.info = {}; - } - this.grid.endUpdate(); - // make sure we don't utterly lose focus - this.grid.focus.focusGrid(); - // let the editor focus itself as needed - this._focusEditor(inCell, inRowIndex); - // give ourselves a few ms to boomerang IE focus effects - this._doCatchBoomerang(); - }, - - _editorDo: function(inMethod){ - var c = this.info.cell - //c && c.editor && c.editor[inMethod](c, this.info.rowIndex); - c && c.editor && c.editor[inMethod](this.info.rowIndex); - }, - - editorApply: function(){ - this._editorDo("apply"); - }, - - editorCancel: function(){ - this._editorDo("cancel"); - }, - - applyCellEdit: function(inValue, inCell, inRowIndex){ - if(this.grid.canEdit(inCell, inRowIndex)){ - this.grid.doApplyCellEdit(inValue, inRowIndex, inCell.fieldIndex); - } - }, - - applyRowEdit: function(){ - this.grid.doApplyEdit(this.info.rowIndex); - }, - - apply: function(){ - // summary: - // Apply a grid edit - if(this.isEditing()){ - this.grid.beginUpdate(); - this.editorApply(); - this.applyRowEdit(); - this.info = {}; - this.grid.endUpdate(); - this.grid.focus.focusGrid(); - this._doCatchBoomerang(); - } - }, - - cancel: function(){ - // summary: - // Cancel a grid edit - if(this.isEditing()){ - this.grid.beginUpdate(); - this.editorCancel(); - this.info = {}; - this.grid.endUpdate(); - this.grid.focus.focusGrid(); - this._doCatchBoomerang(); - } - }, - - save: function(inRowIndex, inView){ - // summary: - // Save the grid editing state - // inRowIndex: Integer - // Grid row index - // inView: Object - // Grid view - var c = this.info.cell; - if(this.isEditRow(inRowIndex) && (!inView || c.view==inView) && c.editor){ - c.editor.save(c, this.info.rowIndex); - } - }, - - restore: function(inView, inRowIndex){ - // summary: - // Restores the grid editing state - // inRowIndex: Integer - // Grid row index - // inView: Object - // Grid view - var c = this.info.cell; - if(this.isEditRow(inRowIndex) && c.view == inView && c.editor){ - c.editor.restore(c, this.info.rowIndex); - } - } -}); - -} diff --git a/includes/js/dojox/grid/_grid/focus.js b/includes/js/dojox/grid/_grid/focus.js deleted file mode 100644 index 8761042..0000000 --- a/includes/js/dojox/grid/_grid/focus.js +++ /dev/null @@ -1,207 +0,0 @@ -if(!dojo._hasResource["dojox.grid._grid.focus"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid._grid.focus"] = true; -dojo.provide("dojox.grid._grid.focus"); - -// focus management -dojo.declare("dojox.grid.focus", null, { - // summary: - // Controls grid cell focus. Owned by grid and used internally for focusing. - // Note: grid cell actually receives keyboard input only when cell is being edited. - constructor: function(inGrid){ - this.grid = inGrid; - this.cell = null; - this.rowIndex = -1; - dojo.connect(this.grid.domNode, "onfocus", this, "doFocus"); - }, - tabbingOut: false, - focusClass: "dojoxGrid-cell-focus", - focusView: null, - initFocusView: function(){ - this.focusView = this.grid.views.getFirstScrollingView(); - }, - isFocusCell: function(inCell, inRowIndex){ - // summary: - // states if the given cell is focused - // inCell: object - // grid cell object - // inRowIndex: int - // grid row index - // returns: - // true of the given grid cell is focused - return (this.cell == inCell) && (this.rowIndex == inRowIndex); - }, - isLastFocusCell: function(){ - return (this.rowIndex == this.grid.rowCount-1) && (this.cell.index == this.grid.layout.cellCount-1); - }, - isFirstFocusCell: function(){ - return (this.rowIndex == 0) && (this.cell.index == 0); - }, - isNoFocusCell: function(){ - return (this.rowIndex < 0) || !this.cell; - }, - _focusifyCellNode: function(inBork){ - var n = this.cell && this.cell.getNode(this.rowIndex); - if(n){ - dojo.toggleClass(n, this.focusClass, inBork); - if (inBork){ - this.scrollIntoView(); - try{ - if(!this.grid.edit.isEditing()) - dojox.grid.fire(n, "focus"); - }catch(e){} - } - } - }, - scrollIntoView: function() { - if(!this.cell){ - return; - } - var - c = this.cell, - s = c.view.scrollboxNode, - sr = { - w: s.clientWidth, - l: s.scrollLeft, - t: s.scrollTop, - h: s.clientHeight - }, - n = c.getNode(this.rowIndex), - r = c.view.getRowNode(this.rowIndex), - rt = this.grid.scroller.findScrollTop(this.rowIndex); - // place cell within horizontal view - if(n.offsetLeft + n.offsetWidth > sr.l + sr.w){ - s.scrollLeft = n.offsetLeft + n.offsetWidth - sr.w; - }else if(n.offsetLeft < sr.l){ - s.scrollLeft = n.offsetLeft; - } - // place cell within vertical view - if(rt + r.offsetHeight > sr.t + sr.h){ - this.grid.setScrollTop(rt + r.offsetHeight - sr.h); - }else if(rt < sr.t){ - this.grid.setScrollTop(rt); - } - }, - styleRow: function(inRow){ - return; - }, - setFocusIndex: function(inRowIndex, inCellIndex){ - // summary: - // focuses the given grid cell - // inRowIndex: int - // grid row index - // inCellIndex: int - // grid cell index - this.setFocusCell(this.grid.getCell(inCellIndex), inRowIndex); - }, - setFocusCell: function(inCell, inRowIndex){ - // summary: - // focuses the given grid cell - // inCell: object - // grid cell object - // inRowIndex: int - // grid row index - if(inCell && !this.isFocusCell(inCell, inRowIndex)){ - this.tabbingOut = false; - this.focusGridView(); - this._focusifyCellNode(false); - this.cell = inCell; - this.rowIndex = inRowIndex; - this._focusifyCellNode(true); - } - // even if this cell isFocusCell, the document focus may need to be rejiggered - // call opera on delay to prevent keypress from altering focus - if(dojo.isOpera){ - setTimeout(dojo.hitch(this.grid, 'onCellFocus', this.cell, this.rowIndex), 1); - }else{ - this.grid.onCellFocus(this.cell, this.rowIndex); - } - }, - next: function(){ - // summary: - // focus next grid cell - var row=this.rowIndex, col=this.cell.index+1, cc=this.grid.layout.cellCount-1, rc=this.grid.rowCount-1; - if(col > cc){ - col = 0; - row++; - } - if(row > rc){ - col = cc; - row = rc; - } - this.setFocusIndex(row, col); - }, - previous: function(){ - // summary: - // focus previous grid cell - var row=(this.rowIndex || 0), col=(this.cell.index || 0) - 1; - if(col < 0){ - col = this.grid.layout.cellCount-1; - row--; - } - if(row < 0){ - row = 0; - col = 0; - } - this.setFocusIndex(row, col); - }, - move: function(inRowDelta, inColDelta) { - // summary: - // focus grid cell based on position relative to current focus - // inRowDelta: int - // vertical distance from current focus - // inColDelta: int - // horizontal distance from current focus - var - rc = this.grid.rowCount-1, - cc = this.grid.layout.cellCount-1, - r = this.rowIndex, - i = this.cell.index, - row = Math.min(rc, Math.max(0, r+inRowDelta)), - col = Math.min(cc, Math.max(0, i+inColDelta)); - this.setFocusIndex(row, col); - if(inRowDelta){ - this.grid.updateRow(r); - } - }, - previousKey: function(e){ - if(this.isFirstFocusCell()){ - this.tabOut(this.grid.domNode); - }else{ - dojo.stopEvent(e); - this.previous(); - } - }, - nextKey: function(e) { - if(this.isLastFocusCell()){ - this.tabOut(this.grid.lastFocusNode); - }else{ - dojo.stopEvent(e); - this.next(); - } - }, - tabOut: function(inFocusNode){ - this.tabbingOut = true; - inFocusNode.focus(); - }, - focusGridView: function(){ - dojox.grid.fire(this.focusView, "focus"); - }, - focusGrid: function(inSkipFocusCell){ - this.focusGridView(); - this._focusifyCellNode(true); - }, - doFocus: function(e){ - // trap focus only for grid dom node - if(e && e.target != e.currentTarget){ - return; - } - // do not focus for scrolling if grid is about to blur - if(!this.tabbingOut && this.isNoFocusCell()){ - // establish our virtual-focus, if necessary - this.setFocusIndex(0, 0); - } - this.tabbingOut = false; - } -}); - -} diff --git a/includes/js/dojox/grid/_grid/images/grid_dx_gradient.gif b/includes/js/dojox/grid/_grid/images/grid_dx_gradient.gif deleted file mode 100644 index 57f67ba..0000000 Binary files a/includes/js/dojox/grid/_grid/images/grid_dx_gradient.gif and /dev/null differ diff --git a/includes/js/dojox/grid/_grid/images/grid_sort_down.gif b/includes/js/dojox/grid/_grid/images/grid_sort_down.gif deleted file mode 100644 index 7a73f82..0000000 Binary files a/includes/js/dojox/grid/_grid/images/grid_sort_down.gif and /dev/null differ diff --git a/includes/js/dojox/grid/_grid/images/grid_sort_up.gif b/includes/js/dojox/grid/_grid/images/grid_sort_up.gif deleted file mode 100644 index 9452da0..0000000 Binary files a/includes/js/dojox/grid/_grid/images/grid_sort_up.gif and /dev/null differ diff --git a/includes/js/dojox/grid/_grid/images/tabEnabled_rotated.png b/includes/js/dojox/grid/_grid/images/tabEnabled_rotated.png deleted file mode 100644 index e326abd..0000000 Binary files a/includes/js/dojox/grid/_grid/images/tabEnabled_rotated.png and /dev/null differ diff --git a/includes/js/dojox/grid/_grid/images/tabHover_rotated.png b/includes/js/dojox/grid/_grid/images/tabHover_rotated.png deleted file mode 100644 index 1a30e10..0000000 Binary files a/includes/js/dojox/grid/_grid/images/tabHover_rotated.png and /dev/null differ diff --git a/includes/js/dojox/grid/_grid/layout.js b/includes/js/dojox/grid/_grid/layout.js deleted file mode 100644 index 128f486..0000000 --- a/includes/js/dojox/grid/_grid/layout.js +++ /dev/null @@ -1,75 +0,0 @@ -if(!dojo._hasResource["dojox.grid._grid.layout"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid._grid.layout"] = true; -dojo.provide("dojox.grid._grid.layout"); -dojo.require("dojox.grid._grid.cell"); - -dojo.declare("dojox.grid.layout", null, { - // summary: - // Controls grid cell layout. Owned by grid and used internally. - constructor: function(inGrid){ - this.grid = inGrid; - }, - // flat array of grid cells - cells: [], - // structured array of grid cells - structure: null, - // default cell width - defaultWidth: '6em', - // methods - setStructure: function(inStructure){ - this.fieldIndex = 0; - this.cells = []; - var s = this.structure = []; - for(var i=0, viewDef, rows; (viewDef=inStructure[i]); i++){ - s.push(this.addViewDef(viewDef)); - } - this.cellCount = this.cells.length; - }, - addViewDef: function(inDef){ - this._defaultCellProps = inDef.defaultCell || {}; - return dojo.mixin({}, inDef, {rows: this.addRowsDef(inDef.rows || inDef.cells)}); - }, - addRowsDef: function(inDef){ - var result = []; - for(var i=0, row; inDef && (row=inDef[i]); i++){ - result.push(this.addRowDef(i, row)); - } - return result; - }, - addRowDef: function(inRowIndex, inDef){ - var result = []; - for(var i=0, def, cell; (def=inDef[i]); i++){ - cell = this.addCellDef(inRowIndex, i, def); - result.push(cell); - this.cells.push(cell); - } - return result; - }, - addCellDef: function(inRowIndex, inCellIndex, inDef){ - var w = 0; - if(inDef.colSpan > 1){ - w = 0; - }else if(!isNaN(inDef.width)){ - w = inDef.width + "em"; - }else{ - w = inDef.width || this.defaultWidth; - } - // fieldIndex progresses linearly from the last indexed field - // FIXME: support generating fieldIndex based a text field name (probably in Grid) - var fieldIndex = inDef.field != undefined ? inDef.field : (inDef.get ? -1 : this.fieldIndex); - if((inDef.field != undefined) || !inDef.get){ - this.fieldIndex = (inDef.field > -1 ? inDef.field : this.fieldIndex) + 1; - } - return new dojox.grid.cell( - dojo.mixin({}, this._defaultCellProps, inDef, { - grid: this.grid, - subrow: inRowIndex, - layoutIndex: inCellIndex, - index: this.cells.length, - fieldIndex: fieldIndex, - unitWidth: w - })); - } -}); - -} diff --git a/includes/js/dojox/grid/_grid/lib.js b/includes/js/dojox/grid/_grid/lib.js deleted file mode 100644 index 3644dbc..0000000 --- a/includes/js/dojox/grid/_grid/lib.js +++ /dev/null @@ -1,254 +0,0 @@ -if(!dojo._hasResource["dojox.grid._grid.lib"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid._grid.lib"] = true; -dojo.provide("dojox.grid._grid.lib"); -// summary: grid utility library -dojo.mixin(dojox.grid,{ - - na: '...', - - nop: function(){ - // summary: a null function? - }, - - getTdIndex: function(td){ - return td.cellIndex >=0 ? td.cellIndex : dojo.indexOf(td.parentNode.cells, td); - }, - - getTrIndex: function(tr){ - return tr.rowIndex >=0 ? tr.rowIndex : dojo.indexOf(tr.parentNode.childNodes, tr); - }, - - getTr: function(rowOwner, index){ - return rowOwner && ((rowOwner.rows||0)[index] || rowOwner.childNodes[index]); - }, - - getTd: function(rowOwner, rowIndex, cellIndex){ - return (dojox.grid.getTr(inTable, rowIndex)||0)[cellIndex]; - }, - - findTable: function(node){ - for (var n=node; n && n.tagName!='TABLE'; n=n.parentNode); - return n; - }, - - ascendDom: function(inNode, inWhile){ - for (var n=inNode; n && inWhile(n); n=n.parentNode); - return n; - }, - - makeNotTagName: function(inTagName){ - var name = inTagName.toUpperCase(); - return function(node){ return node.tagName != name; }; - }, - - fire: function(ob, ev, args){ - var fn = ob && ev && ob[ev]; - return fn && (args ? fn.apply(ob, args) : ob[ev]()); - }, - - // from lib.js - setStyleText: function(inNode, inStyleText){ - if(inNode.style.cssText == undefined){ - inNode.setAttribute("style", inStyleText); - }else{ - inNode.style.cssText = inStyleText; - } - }, - - getStyleText: function(inNode, inStyleText){ - return (inNode.style.cssText == undefined ? inNode.getAttribute("style") : inNode.style.cssText); - }, - - setStyle: function(inElement, inStyle, inValue){ - if(inElement && inElement.style[inStyle] != inValue){ - inElement.style[inStyle] = inValue; - } - }, - - setStyleHeightPx: function(inElement, inHeight){ - if(inHeight >= 0){ - dojox.grid.setStyle(inElement, 'height', inHeight + 'px'); - } - }, - - mouseEvents: [ 'mouseover', 'mouseout', /*'mousemove',*/ 'mousedown', 'mouseup', 'click', 'dblclick', 'contextmenu' ], - - keyEvents: [ 'keyup', 'keydown', 'keypress' ], - - funnelEvents: function(inNode, inObject, inMethod, inEvents){ - var evts = (inEvents ? inEvents : dojox.grid.mouseEvents.concat(dojox.grid.keyEvents)); - for (var i=0, l=evts.length; i'; - }, - renderHeader: function(){ - }, - resize: function(){ - this.adaptHeight(); - }, - adaptWidth: function(){ - }, - // styling - doStyleRowNode: function(inRowIndex, inRowNode){ - var n = [ "dojoxGrid-rowbar" ]; - if(this.grid.rows.isOver(inRowIndex)){ - n.push("dojoxGrid-rowbar-over"); - } - if(this.grid.selection.isSelected(inRowIndex)){ - n.push("dojoxGrid-rowbar-selected"); - } - inRowNode.className = n.join(" "); - }, - // event handlers - domouseover: function(e){ - this.grid.onMouseOverRow(e); - }, - domouseout: function(e){ - if(!this.isIntraRowEvent(e)){ - this.grid.onMouseOutRow(e); - } - } -}); - -} diff --git a/includes/js/dojox/grid/_grid/rows.js b/includes/js/dojox/grid/_grid/rows.js deleted file mode 100644 index 37ecbcb..0000000 --- a/includes/js/dojox/grid/_grid/rows.js +++ /dev/null @@ -1,66 +0,0 @@ -if(!dojo._hasResource["dojox.grid._grid.rows"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid._grid.rows"] = true; -dojo.provide("dojox.grid._grid.rows"); - -dojo.declare("dojox.grid.rows", null, { - // Stores information about grid rows. Owned by grid and used internally. - constructor: function(inGrid){ - this.grid = inGrid; - }, - linesToEms: 2, - defaultRowHeight: 1, // lines - overRow: -2, - // metrics - getHeight: function(inRowIndex){ - return ''; - }, - getDefaultHeightPx: function(){ - // summmary: - // retrieves the default row height - // returns: int, default row height - return 32; - //return Math.round(this.defaultRowHeight * this.linesToEms * this.grid.contentPixelToEmRatio); - }, - // styles - prepareStylingRow: function(inRowIndex, inRowNode){ - return { - index: inRowIndex, - node: inRowNode, - odd: Boolean(inRowIndex&1), - selected: this.grid.selection.isSelected(inRowIndex), - over: this.isOver(inRowIndex), - customStyles: "", - customClasses: "dojoxGrid-row" - } - }, - styleRowNode: function(inRowIndex, inRowNode){ - var row = this.prepareStylingRow(inRowIndex, inRowNode); - this.grid.onStyleRow(row); - this.applyStyles(row); - }, - applyStyles: function(inRow){ - with(inRow){ - node.className = customClasses; - var h = node.style.height; - dojox.grid.setStyleText(node, customStyles + ';' + (node._style||'')); - node.style.height = h; - } - }, - updateStyles: function(inRowIndex){ - this.grid.updateRowStyles(inRowIndex); - }, - // states and events - setOverRow: function(inRowIndex){ - var last = this.overRow; - this.overRow = inRowIndex; - if((last!=this.overRow)&&(last >=0)){ - this.updateStyles(last); - } - this.updateStyles(this.overRow); - }, - isOver: function(inRowIndex){ - return (this.overRow == inRowIndex); - } -}); - -} diff --git a/includes/js/dojox/grid/_grid/scroller.js b/includes/js/dojox/grid/_grid/scroller.js deleted file mode 100644 index d331367..0000000 --- a/includes/js/dojox/grid/_grid/scroller.js +++ /dev/null @@ -1,489 +0,0 @@ -if(!dojo._hasResource['dojox.grid._grid.scroller']){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource['dojox.grid._grid.scroller'] = true; -dojo.provide('dojox.grid._grid.scroller'); - -dojo.declare('dojox.grid.scroller.base', null, { - // summary: - // virtual scrollbox, abstract class - // Content must in /rows/ - // Rows are managed in contiguous sets called /pages/ - // There are a fixed # of rows per page - // The minimum rendered unit is a page - constructor: function(){ - this.pageHeights = []; - this.stack = []; - }, - // specified - rowCount: 0, // total number of rows to manage - defaultRowHeight: 10, // default height of a row - keepRows: 100, // maximum number of rows that should exist at one time - contentNode: null, // node to contain pages - scrollboxNode: null, // node that controls scrolling - // calculated - defaultPageHeight: 0, // default height of a page - keepPages: 10, // maximum number of pages that should exists at one time - pageCount: 0, - windowHeight: 0, - firstVisibleRow: 0, - lastVisibleRow: 0, - // private - page: 0, - pageTop: 0, - // init - init: function(inRowCount, inKeepRows, inRowsPerPage){ - switch(arguments.length){ - case 3: this.rowsPerPage = inRowsPerPage; - case 2: this.keepRows = inKeepRows; - case 1: this.rowCount = inRowCount; - } - this.defaultPageHeight = this.defaultRowHeight * this.rowsPerPage; - //this.defaultPageHeight = this.defaultRowHeight * Math.min(this.rowsPerPage, this.rowCount); - this.pageCount = Math.ceil(this.rowCount / this.rowsPerPage); - this.setKeepInfo(this.keepRows); - this.invalidate(); - if(this.scrollboxNode){ - this.scrollboxNode.scrollTop = 0; - this.scroll(0); - this.scrollboxNode.onscroll = dojo.hitch(this, 'onscroll'); - } - }, - setKeepInfo: function(inKeepRows){ - this.keepRows = inKeepRows; - this.keepPages = !this.keepRows ? this.keepRows : Math.max(Math.ceil(this.keepRows / this.rowsPerPage), 2); - }, - // updating - invalidate: function(){ - this.invalidateNodes(); - this.pageHeights = []; - this.height = (this.pageCount ? (this.pageCount - 1)* this.defaultPageHeight + this.calcLastPageHeight() : 0); - this.resize(); - }, - updateRowCount: function(inRowCount){ - this.invalidateNodes(); - this.rowCount = inRowCount; - // update page count, adjust document height - oldPageCount = this.pageCount; - this.pageCount = Math.ceil(this.rowCount / this.rowsPerPage); - if(this.pageCount < oldPageCount){ - for(var i=oldPageCount-1; i>=this.pageCount; i--){ - this.height -= this.getPageHeight(i); - delete this.pageHeights[i] - } - }else if(this.pageCount > oldPageCount){ - this.height += this.defaultPageHeight * (this.pageCount - oldPageCount - 1) + this.calcLastPageHeight(); - } - this.resize(); - }, - // abstract interface - pageExists: function(inPageIndex){ - }, - measurePage: function(inPageIndex){ - }, - positionPage: function(inPageIndex, inPos){ - }, - repositionPages: function(inPageIndex){ - }, - installPage: function(inPageIndex){ - }, - preparePage: function(inPageIndex, inPos, inReuseNode){ - }, - renderPage: function(inPageIndex){ - }, - removePage: function(inPageIndex){ - }, - pacify: function(inShouldPacify){ - }, - // pacification - pacifying: false, - pacifyTicks: 200, - setPacifying: function(inPacifying){ - if(this.pacifying != inPacifying){ - this.pacifying = inPacifying; - this.pacify(this.pacifying); - } - }, - startPacify: function(){ - this.startPacifyTicks = new Date().getTime(); - }, - doPacify: function(){ - var result = (new Date().getTime() - this.startPacifyTicks) > this.pacifyTicks; - this.setPacifying(true); - this.startPacify(); - return result; - }, - endPacify: function(){ - this.setPacifying(false); - }, - // default sizing implementation - resize: function(){ - if(this.scrollboxNode){ - this.windowHeight = this.scrollboxNode.clientHeight; - } - dojox.grid.setStyleHeightPx(this.contentNode, this.height); - }, - calcLastPageHeight: function(){ - if(!this.pageCount){ - return 0; - } - var lastPage = this.pageCount - 1; - var lastPageHeight = ((this.rowCount % this.rowsPerPage)||(this.rowsPerPage)) * this.defaultRowHeight; - this.pageHeights[lastPage] = lastPageHeight; - return lastPageHeight; - }, - updateContentHeight: function(inDh){ - this.height += inDh; - this.resize(); - }, - updatePageHeight: function(inPageIndex){ - if(this.pageExists(inPageIndex)){ - var oh = this.getPageHeight(inPageIndex); - var h = (this.measurePage(inPageIndex))||(oh); - this.pageHeights[inPageIndex] = h; - if((h)&&(oh != h)){ - this.updateContentHeight(h - oh) - this.repositionPages(inPageIndex); - } - } - }, - rowHeightChanged: function(inRowIndex){ - this.updatePageHeight(Math.floor(inRowIndex / this.rowsPerPage)); - }, - // scroller core - invalidateNodes: function(){ - while(this.stack.length){ - this.destroyPage(this.popPage()); - } - }, - createPageNode: function(){ - var p = document.createElement('div'); - p.style.position = 'absolute'; - //p.style.width = '100%'; - p.style[dojo._isBodyLtr() ? "left" : "right"] = '0'; - return p; - }, - getPageHeight: function(inPageIndex){ - var ph = this.pageHeights[inPageIndex]; - return (ph !== undefined ? ph : this.defaultPageHeight); - }, - // FIXME: this is not a stack, it's a FIFO list - pushPage: function(inPageIndex){ - return this.stack.push(inPageIndex); - }, - popPage: function(){ - return this.stack.shift(); - }, - findPage: function(inTop){ - var i = 0, h = 0; - for(var ph = 0; i= inTop){ - break; - } - } - this.page = i; - this.pageTop = h; - }, - buildPage: function(inPageIndex, inReuseNode, inPos){ - this.preparePage(inPageIndex, inReuseNode); - this.positionPage(inPageIndex, inPos); - // order of operations is key below - this.installPage(inPageIndex); - this.renderPage(inPageIndex); - // order of operations is key above - this.pushPage(inPageIndex); - }, - needPage: function(inPageIndex, inPos){ - var h = this.getPageHeight(inPageIndex), oh = h; - if(!this.pageExists(inPageIndex)){ - this.buildPage(inPageIndex, this.keepPages&&(this.stack.length >= this.keepPages), inPos); - h = this.measurePage(inPageIndex) || h; - this.pageHeights[inPageIndex] = h; - if(h && (oh != h)){ - this.updateContentHeight(h - oh) - } - }else{ - this.positionPage(inPageIndex, inPos); - } - return h; - }, - onscroll: function(){ - this.scroll(this.scrollboxNode.scrollTop); - }, - scroll: function(inTop){ - this.startPacify(); - this.findPage(inTop); - var h = this.height; - var b = this.getScrollBottom(inTop); - for(var p=this.page, y=this.pageTop; (p= 0 ? inTop + this.windowHeight : -1); - }, - // events - processNodeEvent: function(e, inNode){ - var t = e.target; - while(t && (t != inNode) && t.parentNode && (t.parentNode.parentNode != inNode)){ - t = t.parentNode; - } - if(!t || !t.parentNode || (t.parentNode.parentNode != inNode)){ - return false; - } - var page = t.parentNode; - e.topRowIndex = page.pageIndex * this.rowsPerPage; - e.rowIndex = e.topRowIndex + dojox.grid.indexInParent(t); - e.rowTarget = t; - return true; - }, - processEvent: function(e){ - return this.processNodeEvent(e, this.contentNode); - }, - dummy: 0 -}); - -dojo.declare('dojox.grid.scroller', dojox.grid.scroller.base, { - // summary: - // virtual scroller class, makes no assumption about shape of items being scrolled - constructor: function(){ - this.pageNodes = []; - }, - // virtual rendering interface - renderRow: function(inRowIndex, inPageNode){ - }, - removeRow: function(inRowIndex){ - }, - // page node operations - getDefaultNodes: function(){ - return this.pageNodes; - }, - getDefaultPageNode: function(inPageIndex){ - return this.getDefaultNodes()[inPageIndex]; - }, - positionPageNode: function(inNode, inPos){ - inNode.style.top = inPos + 'px'; - }, - getPageNodePosition: function(inNode){ - return inNode.offsetTop; - }, - repositionPageNodes: function(inPageIndex, inNodes){ - var last = 0; - for(var i=0; i=0 && inBottom>inScrollBottom; i--, row--){ - inBottom -= rows[i].offsetHeight; - } - return row + 1; - }, - getLastVisibleRow: function(inPage, inBottom, inScrollBottom){ - if(!this.pageExists(inPage)){ - return 0; - } - return this.getLastVisibleRowNodes(inPage, inBottom, inScrollBottom, this.getDefaultNodes()); - }, - findTopRowForNodes: function(inScrollTop, inNodes){ - var rows = dojox.grid.divkids(inNodes[this.page]); - for(var i=0,l=rows.length,t=this.pageTop,h; i= inScrollTop){ - this.offset = h - (t - inScrollTop); - return i + this.page * this.rowsPerPage; - } - } - return -1; - }, - findScrollTopForNodes: function(inRow, inNodes){ - var rowPage = Math.floor(inRow / this.rowsPerPage); - var t = 0; - for(var i=0; i= inIndex){ - this.selectedIndex++; - } - }, - - remove: function(inIndex){ - this.selected.splice(inIndex, 1); - if(this.selectedIndex >= inIndex){ - this.selectedIndex--; - } - }, - - unselectAll: function(inExcept){ - for(var i in this.selected){ - if((i!=inExcept)&&(this.selected[i]===true)){ - this.deselect(i); - } - } - }, - - shiftSelect: function(inFrom, inTo){ - var s = (inFrom >= 0 ? inFrom : inTo), e = inTo; - if(s > e){ - e = s; - s = inTo; - } - for(var i=s; i<=e; i++){ - this.addToSelection(i); - } - }, - - clickSelect: function(inIndex, inCtrlKey, inShiftKey){ - this.beginUpdate(); - if(!this.multiSelect){ - this.select(inIndex); - }else{ - var lastSelected = this.selectedIndex; - if(!inCtrlKey){ - this.unselectAll(inIndex); - } - if(inShiftKey){ - this.shiftSelect(lastSelected, inIndex); - }else if(inCtrlKey){ - this.toggleSelect(inIndex); - }else{ - this.addToSelection(inIndex) - } - } - this.endUpdate(); - }, - - clickSelectEvent: function(e){ - this.clickSelect(e.rowIndex, e.ctrlKey, e.shiftKey); - }, - - clear: function(){ - this.beginUpdate(); - this.unselectAll(); - this.endUpdate(); - } - -}); - -} diff --git a/includes/js/dojox/grid/_grid/soriaGrid.css b/includes/js/dojox/grid/_grid/soriaGrid.css deleted file mode 100644 index f244030..0000000 --- a/includes/js/dojox/grid/_grid/soriaGrid.css +++ /dev/null @@ -1,212 +0,0 @@ -.soria .dojoxGrid { - position: relative; - background-color: #e9e9e9; - font-size: 0.85em; - -moz-outline-style: none; - outline: none; - overflow: hidden; - height: 0; -} -.soria .dojoxGrid table { - padding: 0; -} -.soria .dojoxGrid td { - -moz-outline: none; -} -.soria .dojoxGrid-master-header { - position: relative; -} -.soria .dojoxGrid-master-view { - position: relative; -} -.soria .dojoxGrid-view { - position: absolute; - overflow: hidden; -} -.soria .dojoxGrid-header { - position: absolute; - overflow: hidden; -} -.soria .dojoxGrid-header { - background-color: #e9e9e9; -} -.soria .dojoxGrid-header table { - text-align: center; -} -.soria .dojoxGrid-header .dojoxGrid-cell-content { - text-align: center; -} -.soria .dojoxGrid-header .dojoxGrid-cell { - border: 1px solid transparent; - - border-color: white #ACA899 #919191 white; - background: url(../../../dijit/themes/soria/images/titleBar.png) #e9e9e9 repeat-x top; - padding-bottom: 2px; - color: #000 !important; -} -.soria .dojoxGrid-header .dojoxGrid-cell-over { - background: url(../../../dijit/themes/soria/images/titleBarActive.png) #e9e9e9 repeat-x top; -} -.soria .dojoxGrid-sort-down { - background: url(images/grid_sort_down.gif) right no-repeat; - padding-left: 0px; - margin-left: 0px; -} -.soria .dojoxGrid-sort-up { - background: url(images/grid_sort_up.gif) right no-repeat; - padding-left: 0px; - margin-left: 0px; -} -.soria .gridArrowButtonChar { - display:none !important; -} -.dijit_a11y .gridArrowButtonChar { - display:inline !important; -} -.soria .dojoxGrid-scrollbox { - position: relative; - overflow: scroll; - background-color: #fefefe; - width: 100%; -} -.soria .dojoxGrid-content { - position: relative; - overflow: hidden; - -moz-outline-style: none; - outline: none; -} -.soria .dojoxGrid-rowbar { - border: none; - - background: url(images/titleBar.png) #e9e9e9 repeat-y right; - border-right: 1px solid #cccccc; - padding: 0px; -} -.soria .dojoxGrid-rowbar-inner { - border: none; - border-bottom: 1px solid #cccccc; -} -.soria .dojoxGrid-rowbar-over { - background: url(images/titleBarActive.png) #e9e9e9 repeat-y right; -} -.soria .dojoxGrid-rowbar-selected { - background-color: #D9E8F9; - background-image: none; - background: url(../../../dijit/themes/soria/images/titleBar.png) #dddddd repeat-x top; - border-right: 1px solid #cccccc; - background-position: center; - background-repeat: no-repeat; -} -.soria .dojoxGrid-row { - position: relative; - width: 9000em; -} -.soria .dojoxGrid-row { - border: none; - border-left: none; - border-right: none; - background-color: white; - border-top: none; -} -.soria .dojoxGrid-row-over { - border-top-color: #cccccc; - border-bottom-color: #cccccc; -} -.soria .dojoxGrid-row-over .dojoxGrid-cell { - background-color: #60a1ea; - color:#fff; -} -.soria .dojoxGrid-row-odd { - background-color: #f2f5f9; - -} -.soria .dojoxGrid-row-selected { - background-color: #aec7e3; -} -.soria .dojoxGrid-row-table { - table-layout: fixed; - width: 0; - border-collapse: collapse; -} -.soria .dojoxGrid-invisible { - visibility: hidden; -} -.soria .Xdojo-ie .dojoxGrid-invisible { - display: none; -} -.soria .dojoxGrid-invisible td, .dojoxGrid-header .dojoxGrid-invisible td { - border-top-width: 0; - border-bottom-width: 0; - padding-top: 0; - padding-bottom: 0; - height: 0; - overflow: hidden; -} -.soria .dojoxGrid-cell { - border: 1px dotted #D5CDB5; - padding: 3px 3px 3px 3px; - text-align: left; - overflow: hidden; -} -.dj_ie6 .soria .dojoxGrid-cell { - border: 1px solid white; - border-right: 1px solid #D5CDB5; -} -.soria .dojoxGrid-cell-focus { - border: 1px dotted #a6a6a6; -} -.soria .dojoxGrid-cell-over { - border: 1px dotted #a6a6a6; -} -.soria .dojoxGrid-cell-focus.dojoxGrid-cell-over { - border: 1px dotted #595959; -} -.soria .dojoxGrid-cell-clip { - width: 100%; - overflow: hidden; - white-space:nowrap; - text-overflow: ellipsis; -} -.soria .dojoxGrid-row-editing td { - - background-color: #60a1ea; - -} -.soria .dojoxGrid-row-inserting td { - background-color: #F4FFF4; -} -.soria .dojoxGrid-row-inflight td { - background-color: #F2F7B7; -} -.soria .dojoxGrid-row-error td { - background-color: #F8B8B6; -} -.soria .dojoxGrid-input, -.soria .dojoxGrid-select, -.soria .dojoxGrid-textarea { - margin: 0; - padding: 0px; - border-style: none; - width: 100%; - font-size: 100%; - font-family: inherit; -} -.dojoxGrid-hidden-focus { - position: absolute; - left: -1000px; - top: -1000px; - height: 0px, width: 0px; -} -.dijit_a11y .dojoxGrid-rowbar-selected { - border-top: 1px solid white; - border-bottom: 1px dashed black; - border-top: 0; - background: none; -} -.dijit_a11y .dojoxGrid-rowbar-selected .dojoxGrid-rowbar-inner { - border: 0; - border-top: 1px solid white; -} -.dijit_a11y .dojoxGrid-row-selected { - border-bottom: 1px dashed black; -} diff --git a/includes/js/dojox/grid/_grid/soriaGrid.css.commented.css b/includes/js/dojox/grid/_grid/soriaGrid.css.commented.css deleted file mode 100644 index 06263ad..0000000 --- a/includes/js/dojox/grid/_grid/soriaGrid.css.commented.css +++ /dev/null @@ -1,276 +0,0 @@ -.soria .dojoxGrid { - position: relative; - background-color: #e9e9e9; - font-size: 0.85em; /* inherit font-family from dojo.css */ - -moz-outline-style: none; - outline: none; - overflow: hidden; - height: 0; -} - -.soria .dojoxGrid table { - padding: 0; -} - -.soria .dojoxGrid td { - -moz-outline: none; -} - -/* master header */ - -.soria .dojoxGrid-master-header { - position: relative; -} - -/* master view */ - -.soria .dojoxGrid-master-view { - position: relative; -} - -/* views */ - -.soria .dojoxGrid-view { - position: absolute; - overflow: hidden; -} - -/* header */ - -.soria .dojoxGrid-header { - position: absolute; - overflow: hidden; -} - -.soria .dojoxGrid-header { - background-color: #e9e9e9; -} - -.soria .dojoxGrid-header table { - text-align: center; -} - -.soria .dojoxGrid-header .dojoxGrid-cell-content { - text-align: center; -} - -.soria .dojoxGrid-header .dojoxGrid-cell { - border: 1px solid transparent; - /* border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; */ - border-color: white #ACA899 #919191 white; - background: url(../../../dijit/themes/soria/images/titleBar.png) #e9e9e9 repeat-x top; - padding-bottom: 2px; - color: #000 !important; -} - -.soria .dojoxGrid-header .dojoxGrid-cell-over { - background: url(../../../dijit/themes/soria/images/titleBarActive.png) #e9e9e9 repeat-x top; -} - -.soria .dojoxGrid-sort-down { - background: url(images/grid_sort_down.gif) right no-repeat; - padding-left: 0px; - margin-left: 0px; -} - -.soria .dojoxGrid-sort-up { - background: url(images/grid_sort_up.gif) right no-repeat; - padding-left: 0px; - margin-left: 0px; -} - -.soria .gridArrowButtonChar { - display:none !important; -} -.dijit_a11y .gridArrowButtonChar { - display:inline !important; -} - -/* content */ - -.soria .dojoxGrid-scrollbox { - position: relative; - overflow: scroll; - background-color: #fefefe; - width: 100%; -} - -.soria .dojoxGrid-content { - position: relative; - overflow: hidden; - -moz-outline-style: none; - outline: none; -} - -/* rowbar */ - -.soria .dojoxGrid-rowbar { - border: none; - /* - border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; - */ - background: url(images/titleBar.png) #e9e9e9 repeat-y right; - border-right: 1px solid #cccccc; - padding: 0px; -} - -.soria .dojoxGrid-rowbar-inner { - border: none; - border-bottom: 1px solid #cccccc; -} - -.soria .dojoxGrid-rowbar-over { - background: url(images/titleBarActive.png) #e9e9e9 repeat-y right; -} - -.soria .dojoxGrid-rowbar-selected { - background-color: #D9E8F9; - background-image: none; - background: url(../../../dijit/themes/soria/images/titleBar.png) #dddddd repeat-x top; - border-right: 1px solid #cccccc; - background-position: center; - background-repeat: no-repeat; -} - -/* rows */ - -.soria .dojoxGrid-row { - position: relative; - width: 9000em; -} - -.soria .dojoxGrid-row { - border: none; - border-left: none; - border-right: none; - background-color: white; - border-top: none; -} - -.soria .dojoxGrid-row-over { - border-top-color: #cccccc; - border-bottom-color: #cccccc; -} - -.soria .dojoxGrid-row-over .dojoxGrid-cell { - background-color: #60a1ea; - color:#fff; -} - -.soria .dojoxGrid-row-odd { - background-color: #f2f5f9; - /*background-color: #F9F7E8;*/ -} - -.soria .dojoxGrid-row-selected { - background-color: #aec7e3; -} - -.soria .dojoxGrid-row-table { - table-layout: fixed; - width: 0; - border-collapse: collapse; -} - -.soria .dojoxGrid-invisible { - visibility: hidden; -} - -.soria .Xdojo-ie .dojoxGrid-invisible { - display: none; -} - -.soria .dojoxGrid-invisible td, .dojoxGrid-header .dojoxGrid-invisible td { - border-top-width: 0; - border-bottom-width: 0; - padding-top: 0; - padding-bottom: 0; - height: 0; - overflow: hidden; -} - -/* cells */ - -.soria .dojoxGrid-cell { - border: 1px dotted #D5CDB5; - padding: 3px 3px 3px 3px; - text-align: left; - overflow: hidden; -} - -.dj_ie6 .soria .dojoxGrid-cell { - border: 1px solid white; - border-right: 1px solid #D5CDB5; -} - -.soria .dojoxGrid-cell-focus { - border: 1px dotted #a6a6a6; -} - -.soria .dojoxGrid-cell-over { - border: 1px dotted #a6a6a6; -} - -.soria .dojoxGrid-cell-focus.dojoxGrid-cell-over { - border: 1px dotted #595959; -} - -.soria .dojoxGrid-cell-clip { - width: 100%; - overflow: hidden; - white-space:nowrap; - text-overflow: ellipsis; -} - -/* editing */ - -/* FIXME: these colors are off! */ -.soria .dojoxGrid-row-editing td { - /* background-color: #F4FFF4; */ - background-color: #60a1ea; - /* padding: 0px 3px 0px 3px; */ -} - -.soria .dojoxGrid-row-inserting td { - background-color: #F4FFF4; -} -.soria .dojoxGrid-row-inflight td { - background-color: #F2F7B7; -} -.soria .dojoxGrid-row-error td { - background-color: #F8B8B6; -} - -.soria .dojoxGrid-input, -.soria .dojoxGrid-select, -.soria .dojoxGrid-textarea { - margin: 0; - padding: 0px; - border-style: none; - width: 100%; - font-size: 100%; - font-family: inherit; -} - -.dojoxGrid-hidden-focus { - position: absolute; - left: -1000px; - top: -1000px; - height: 0px, width: 0px; -} - -.dijit_a11y .dojoxGrid-rowbar-selected { - border-top: 1px solid white; - border-bottom: 1px dashed black; - border-top: 0; - background: none; -} - -.dijit_a11y .dojoxGrid-rowbar-selected .dojoxGrid-rowbar-inner { - border: 0; - border-top: 1px solid white; -} - -.dijit_a11y .dojoxGrid-row-selected { - border-bottom: 1px dashed black; -} diff --git a/includes/js/dojox/grid/_grid/tundraGrid.css b/includes/js/dojox/grid/_grid/tundraGrid.css deleted file mode 100644 index d7b7a5f..0000000 --- a/includes/js/dojox/grid/_grid/tundraGrid.css +++ /dev/null @@ -1,215 +0,0 @@ -.tundra .dojoxGrid { - position: relative; - background-color: #e9e9e9; - font-size: 0.85em; - -moz-outline-style: none; - outline: none; - overflow: hidden; - height: 0; -} -.tundra .dojoxGrid table { - padding: 0; -} -.tundra .dojoxGrid td { - -moz-outline: none; -} -.tundra .dojoxGrid-master-header { - position: relative; -} -.tundra .dojoxGrid-master-view { - position: relative; -} -.tundra .dojoxGrid-view { - position: absolute; - overflow: hidden; -} -.tundra .dojoxGrid-header { - position: absolute; - overflow: hidden; -} -.tundra .dojoxGrid-header { - background-color: #e9e9e9; -} -.tundra .dojoxGrid-header table { - text-align: center; -} -.tundra .dojoxGrid-header .dojoxGrid-cell-content { - text-align: center; -} -.tundra .dojoxGrid-header .dojoxGrid-cell { - border: 1px solid transparent; - - border-color: white #ACA899 #919191 white; - background: url(../../../dijit/themes/tundra/images/tabEnabled.png) #e9e9e9 repeat-x top; - padding-bottom: 2px; - color: #000 !important; -} -.tundra .dojoxGrid-header .dojoxGrid-cell-over { - background: url(../../../dijit/themes/tundra/images/tabHover.png) #e9e9e9 repeat-x top; - color: #000 !important; -} -.tundra .dojoxGrid-sort-down { - background: url(../../../dijit/themes/tundra/images/arrowDown.png) right no-repeat; - padding-left: 0px; - margin-left: 0px; -} -.tundra .dojoxGrid-sort-up { - background: url(../../../dijit/themes/tundra/images/arrowUp.png) right no-repeat; - padding-left: 0px; - margin-left: 0px; -} -.tundra .gridArrowButtonChar { - display:none !important; -} -.dijit_a11y .gridArrowButtonChar { - display:inline !important; -} -.tundra .dojoxGrid-scrollbox { - position: relative; - overflow: scroll; - background-color: #fefefe; - width: 100%; -} -.tundra .dojoxGrid-content { - position: relative; - overflow: hidden; - -moz-outline-style: none; - outline: none; -} -.tundra .dojoxGrid-rowbar { - border: none; - - background: url(images/tabEnabled_rotated.png) #e9e9e9 repeat-y right; - border-right: 1px solid #cccccc; - padding: 0px; -} -.tundra .dojoxGrid-rowbar-inner { - border: none; - border-bottom: 1px solid #cccccc; -} -.tundra .dojoxGrid-rowbar-over { - background: url(images/tabHover_rotated.png) #e9e9e9 repeat-y right; -} -.tundra .dojoxGrid-rowbar-selected { - background-color: #D9E8F9; - background-image: none; - background: url(../../../dijit/themes/tundra/images/tabDisabled.png) #dddddd repeat-x top; - border-right: 1px solid #cccccc; - background-position: center; - background-repeat: no-repeat; -} -.tundra .dojoxGrid-row { - position: relative; - width: 9000em; -} -.tundra .dojoxGrid-row { - border: none; - border-left: none; - border-right: none; - background-color: white; - border-top: none; -} -.tundra .dojoxGrid-row-over { - border-top-color: #cccccc; - border-bottom-color: #cccccc; -} -.tundra .dojoxGrid-row-over .dojoxGrid-cell { - background-color: #60a1ea; - color:#fff; - -} -.tundra .dojoxGrid-row-odd { - background-color: #f2f5f9; - -} -.tundra .dojoxGrid-row-selected { - background-color: #aec7e3; - -} -.tundra .dojoxGrid-row-table { - table-layout: fixed; - width: 0; - border-collapse: collapse; -} -.tundra .dojoxGrid-invisible { - visibility: hidden; -} -.tundra .Xdojo-ie .dojoxGrid-invisible { - display: none; -} -.tundra .dojoxGrid-invisible td, .dojoxGrid-header .dojoxGrid-invisible td { - border-top-width: 0; - border-bottom-width: 0; - padding-top: 0; - padding-bottom: 0; - height: 0; - overflow: hidden; -} -.tundra .dojoxGrid-cell { - border: 1px dotted #D5CDB5; - padding: 3px 3px 3px 3px; - text-align: left; - overflow: hidden; -} -.dj_ie6 .tundra .dojoxGrid-cell { - border: 1px solid white; - border-right: 1px solid #D5CDB5; -} -.tundra .dojoxGrid-cell-focus { - border: 1px dotted #a6a6a6; -} -.tundra .dojoxGrid-cell-over { - border: 1px dotted #a6a6a6; -} -.tundra .dojoxGrid-cell-focus.dojoxGrid-cell-over { - border: 1px dotted #595959; -} -.tundra .dojoxGrid-cell-clip { - width: 100%; - overflow: hidden; - white-space:nowrap; - text-overflow: ellipsis; -} -.tundra .dojoxGrid-row-editing td { - - background-color: #60a1ea; - -} -.tundra .dojoxGrid-row-inserting td { - background-color: #F4FFF4; -} -.tundra .dojoxGrid-row-inflight td { - background-color: #F2F7B7; -} -.tundra .dojoxGrid-row-error td { - background-color: #F8B8B6; -} -.tundra .dojoxGrid-input, -.tundra .dojoxGrid-select, -.tundra .dojoxGrid-textarea { - margin: 0; - padding: 0px; - border-style: none; - width: 100%; - font-size: 100%; - font-family: inherit; -} -.dojoxGrid-hidden-focus { - position: absolute; - left: -1000px; - top: -1000px; - height: 0px, width: 0px; -} -.dijit_a11y .dojoxGrid-rowbar-selected { - border-top: 1px solid white; - border-bottom: 1px dashed black; - border-top: 0; - background: none; -} -.dijit_a11y .dojoxGrid-rowbar-selected .dojoxGrid-rowbar-inner { - border: 0; - border-top: 1px solid white; -} -.dijit_a11y .dojoxGrid-row-selected { - border-bottom: 1px dashed black; -} diff --git a/includes/js/dojox/grid/_grid/tundraGrid.css.commented.css b/includes/js/dojox/grid/_grid/tundraGrid.css.commented.css deleted file mode 100644 index a282f58..0000000 --- a/includes/js/dojox/grid/_grid/tundraGrid.css.commented.css +++ /dev/null @@ -1,281 +0,0 @@ -.tundra .dojoxGrid { - position: relative; - background-color: #e9e9e9; - font-size: 0.85em; /* inherit font-family from dojo.css */ - -moz-outline-style: none; - outline: none; - overflow: hidden; - height: 0; -} - -.tundra .dojoxGrid table { - padding: 0; -} - -.tundra .dojoxGrid td { - -moz-outline: none; -} - -/* master header */ - -.tundra .dojoxGrid-master-header { - position: relative; -} - -/* master view */ - -.tundra .dojoxGrid-master-view { - position: relative; -} - -/* views */ - -.tundra .dojoxGrid-view { - position: absolute; - overflow: hidden; -} - -/* header */ - -.tundra .dojoxGrid-header { - position: absolute; - overflow: hidden; -} - -.tundra .dojoxGrid-header { - background-color: #e9e9e9; -} - -.tundra .dojoxGrid-header table { - text-align: center; -} - -.tundra .dojoxGrid-header .dojoxGrid-cell-content { - text-align: center; -} - -.tundra .dojoxGrid-header .dojoxGrid-cell { - border: 1px solid transparent; - /* border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; */ - border-color: white #ACA899 #919191 white; - background: url(../../../dijit/themes/tundra/images/tabEnabled.png) #e9e9e9 repeat-x top; - padding-bottom: 2px; - color: #000 !important; -} - -.tundra .dojoxGrid-header .dojoxGrid-cell-over { - background: url(../../../dijit/themes/tundra/images/tabHover.png) #e9e9e9 repeat-x top; - color: #000 !important; -} - -.tundra .dojoxGrid-sort-down { - background: url(../../../dijit/themes/tundra/images/arrowDown.png) right no-repeat; - padding-left: 0px; - margin-left: 0px; -} - -.tundra .dojoxGrid-sort-up { - background: url(../../../dijit/themes/tundra/images/arrowUp.png) right no-repeat; - padding-left: 0px; - margin-left: 0px; -} - -.tundra .gridArrowButtonChar { - display:none !important; -} -.dijit_a11y .gridArrowButtonChar { - display:inline !important; -} - -/* content */ - -.tundra .dojoxGrid-scrollbox { - position: relative; - overflow: scroll; - background-color: #fefefe; - width: 100%; -} - -.tundra .dojoxGrid-content { - position: relative; - overflow: hidden; - -moz-outline-style: none; - outline: none; -} - -/* rowbar */ - -.tundra .dojoxGrid-rowbar { - border: none; - /* - border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; - */ - background: url(images/tabEnabled_rotated.png) #e9e9e9 repeat-y right; - border-right: 1px solid #cccccc; - padding: 0px; -} - -.tundra .dojoxGrid-rowbar-inner { - border: none; - border-bottom: 1px solid #cccccc; -} - -.tundra .dojoxGrid-rowbar-over { - background: url(images/tabHover_rotated.png) #e9e9e9 repeat-y right; -} - -.tundra .dojoxGrid-rowbar-selected { - background-color: #D9E8F9; - background-image: none; - background: url(../../../dijit/themes/tundra/images/tabDisabled.png) #dddddd repeat-x top; - border-right: 1px solid #cccccc; - background-position: center; - background-repeat: no-repeat; -} - -/* rows */ - -.tundra .dojoxGrid-row { - position: relative; - width: 9000em; -} - -.tundra .dojoxGrid-row { - border: none; - border-left: none; - border-right: none; - background-color: white; - border-top: none; -} - -.tundra .dojoxGrid-row-over { - border-top-color: #cccccc; - border-bottom-color: #cccccc; -} - -.tundra .dojoxGrid-row-over .dojoxGrid-cell { - background-color: #60a1ea; - color:#fff; - /*background: url(../../../dijit/themes/tundra/images/tabEnabled.png) #e9e9e9 repeat-x top;*/ -} - -.tundra .dojoxGrid-row-odd { - background-color: #f2f5f9; - /*background-color: #F9F7E8;*/ -} - -.tundra .dojoxGrid-row-selected { - background-color: #aec7e3; - /* - background: url(../../../dijit/themes/tundra/images/tabDisabled.png) #dddddd repeat-x top; - */ -} - -.tundra .dojoxGrid-row-table { - table-layout: fixed; - width: 0; - border-collapse: collapse; -} - -.tundra .dojoxGrid-invisible { - visibility: hidden; -} - -.tundra .Xdojo-ie .dojoxGrid-invisible { - display: none; -} - -.tundra .dojoxGrid-invisible td, .dojoxGrid-header .dojoxGrid-invisible td { - border-top-width: 0; - border-bottom-width: 0; - padding-top: 0; - padding-bottom: 0; - height: 0; - overflow: hidden; -} - -/* cells */ - -.tundra .dojoxGrid-cell { - border: 1px dotted #D5CDB5; - padding: 3px 3px 3px 3px; - text-align: left; - overflow: hidden; -} - -.dj_ie6 .tundra .dojoxGrid-cell { - border: 1px solid white; - border-right: 1px solid #D5CDB5; -} - -.tundra .dojoxGrid-cell-focus { - border: 1px dotted #a6a6a6; -} - -.tundra .dojoxGrid-cell-over { - border: 1px dotted #a6a6a6; -} - -.tundra .dojoxGrid-cell-focus.dojoxGrid-cell-over { - border: 1px dotted #595959; -} - -.tundra .dojoxGrid-cell-clip { - width: 100%; - overflow: hidden; - white-space:nowrap; - text-overflow: ellipsis; -} - -/* editing */ - -/* FIXME: these colors are off! */ -.tundra .dojoxGrid-row-editing td { - /* background-color: #F4FFF4; */ - background-color: #60a1ea; - /* padding: 0px 3px 0px 3px; */ -} - -.tundra .dojoxGrid-row-inserting td { - background-color: #F4FFF4; -} -.tundra .dojoxGrid-row-inflight td { - background-color: #F2F7B7; -} -.tundra .dojoxGrid-row-error td { - background-color: #F8B8B6; -} - -.tundra .dojoxGrid-input, -.tundra .dojoxGrid-select, -.tundra .dojoxGrid-textarea { - margin: 0; - padding: 0px; - border-style: none; - width: 100%; - font-size: 100%; - font-family: inherit; -} - -.dojoxGrid-hidden-focus { - position: absolute; - left: -1000px; - top: -1000px; - height: 0px, width: 0px; -} - -.dijit_a11y .dojoxGrid-rowbar-selected { - border-top: 1px solid white; - border-bottom: 1px dashed black; - border-top: 0; - background: none; -} - -.dijit_a11y .dojoxGrid-rowbar-selected .dojoxGrid-rowbar-inner { - border: 0; - border-top: 1px solid white; -} - -.dijit_a11y .dojoxGrid-row-selected { - border-bottom: 1px dashed black; -} diff --git a/includes/js/dojox/grid/_grid/view.js b/includes/js/dojox/grid/_grid/view.js deleted file mode 100644 index 7f669cd..0000000 --- a/includes/js/dojox/grid/_grid/view.js +++ /dev/null @@ -1,336 +0,0 @@ -if(!dojo._hasResource["dojox.grid._grid.view"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid._grid.view"] = true; -dojo.provide("dojox.grid._grid.view"); - -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); -dojo.require("dojox.grid._grid.builder"); - -dojo.declare('dojox.GridView', - [dijit._Widget, dijit._Templated], - { - // summary: - // A collection of grid columns. A grid is comprised of a set of views that stack horizontally. - // Grid creates views automatically based on grid's layout structure. - // Users should typically not need to access individual views directly. - // - // defaultWidth: String - // Default widget of the view - defaultWidth: "18em", - - // viewWidth: String - // Width for the view, in valid css unit - viewWidth: "", - - templateString:"
            \n\t
            \n\t\t
            \n\t\t\t
            \n\t\t
            \n\t
            \n\t\n\t\n\t
            \n\t\t
            \n\t
            \n
            \n", - - themeable: false, - classTag: 'dojoxGrid', - marginBottom: 0, - rowPad: 2, - - postMixInProperties: function(){ - this.rowNodes = []; - }, - - postCreate: function(){ - this.connect(this.scrollboxNode,"onscroll","doscroll"); - dojox.grid.funnelEvents(this.contentNode, this, "doContentEvent", [ 'mouseover', 'mouseout', 'click', 'dblclick', 'contextmenu', 'mousedown' ]); - dojox.grid.funnelEvents(this.headerNode, this, "doHeaderEvent", [ 'dblclick', 'mouseover', 'mouseout', 'mousemove', 'mousedown', 'click', 'contextmenu' ]); - this.content = new dojox.grid.contentBuilder(this); - this.header = new dojox.grid.headerBuilder(this); - //BiDi: in RTL case, style width='9000em' causes scrolling problem in head node - if(!dojo._isBodyLtr()){ - this.headerNodeContainer.style.width = ""; - } - }, - - destroy: function(){ - dojox.grid.removeNode(this.headerNode); - this.inherited("destroy", arguments); - }, - - // focus - focus: function(){ - if(dojo.isSafari || dojo.isOpera){ - this.hiddenFocusNode.focus(); - }else{ - this.scrollboxNode.focus(); - } - }, - - setStructure: function(inStructure){ - var vs = this.structure = inStructure; - // FIXME: similar logic is duplicated in layout - if(vs.width && !isNaN(vs.width)){ - this.viewWidth = vs.width + 'em'; - }else{ - this.viewWidth = vs.width || this.viewWidth; //|| this.defaultWidth; - } - this.onBeforeRow = vs.onBeforeRow; - this.noscroll = vs.noscroll; - if(this.noscroll){ - this.scrollboxNode.style.overflow = "hidden"; - } - // bookkeeping - this.testFlexCells(); - // accomodate new structure - this.updateStructure(); - }, - - testFlexCells: function(){ - // FIXME: cheater, this function does double duty as initializer and tester - this.flexCells = false; - for(var j=0, row; (row=this.structure.rows[j]); j++){ - for(var i=0, cell; (cell=row[i]); i++){ - cell.view = this; - this.flexCells = this.flexCells || cell.isFlex(); - } - } - return this.flexCells; - }, - - updateStructure: function(){ - // header builder needs to update table map - this.header.update(); - // content builder needs to update markup cache - this.content.update(); - }, - - getScrollbarWidth: function(){ - return (this.noscroll ? 0 : dojox.grid.getScrollbarWidth()); // Integer - }, - - getColumnsWidth: function(){ - return this.headerContentNode.firstChild.offsetWidth; // Integer - }, - - getWidth: function(){ - return this.viewWidth || (this.getColumnsWidth()+this.getScrollbarWidth()) +'px'; // String - }, - - getContentWidth: function(){ - return Math.max(0, dojo._getContentBox(this.domNode).w - this.getScrollbarWidth()) + 'px'; // String - }, - - render: function(){ - this.scrollboxNode.style.height = ''; - this.renderHeader(); - }, - - renderHeader: function(){ - this.headerContentNode.innerHTML = this.header.generateHtml(this._getHeaderContent); - }, - - // note: not called in 'view' context - _getHeaderContent: function(inCell){ - var n = inCell.name || inCell.grid.getCellName(inCell); - if(inCell.index != inCell.grid.getSortIndex()){ - return n; - } - return [ '
            ', inCell.grid.sortInfo > 0 ? '▼' : '▲', '
            ', n, '
            ' ].join(''); - }, - - resize: function(){ - this.adaptHeight(); - this.adaptWidth(); - }, - - hasScrollbar: function(){ - return (this.scrollboxNode.clientHeight != this.scrollboxNode.offsetHeight); // Boolean - }, - - adaptHeight: function(){ - if(!this.grid.autoHeight){ - var h = this.domNode.clientHeight; - if(!this.hasScrollbar()){ // no scrollbar is rendered - h -= dojox.grid.getScrollbarWidth(); - } - dojox.grid.setStyleHeightPx(this.scrollboxNode, h); - } - }, - - adaptWidth: function(){ - if(this.flexCells){ - // the view content width - this.contentWidth = this.getContentWidth(); - this.headerContentNode.firstChild.style.width = this.contentWidth; - } - // FIXME: it should be easier to get w from this.scrollboxNode.clientWidth, - // but clientWidth seemingly does not include scrollbar width in some cases - var w = this.scrollboxNode.offsetWidth - this.getScrollbarWidth(); - w = Math.max(w, this.getColumnsWidth()) + 'px'; - with(this.contentNode){ - style.width = ''; - offsetWidth; - style.width = w; - } - }, - - setSize: function(w, h){ - with(this.domNode.style){ - if(w){ - width = w; - } - height = (h >= 0 ? h + 'px' : ''); - } - with(this.headerNode.style){ - if(w){ - width = w; - } - } - }, - - renderRow: function(inRowIndex, inHeightPx){ - var rowNode = this.createRowNode(inRowIndex); - this.buildRow(inRowIndex, rowNode, inHeightPx); - this.grid.edit.restore(this, inRowIndex); - return rowNode; - }, - - createRowNode: function(inRowIndex){ - var node = document.createElement("div"); - node.className = this.classTag + '-row'; - node[dojox.grid.gridViewTag] = this.id; - node[dojox.grid.rowIndexTag] = inRowIndex; - this.rowNodes[inRowIndex] = node; - return node; - }, - - buildRow: function(inRowIndex, inRowNode){ - this.buildRowContent(inRowIndex, inRowNode); - this.styleRow(inRowIndex, inRowNode); - }, - - buildRowContent: function(inRowIndex, inRowNode){ - inRowNode.innerHTML = this.content.generateHtml(inRowIndex, inRowIndex); - if(this.flexCells){ - // FIXME: accessing firstChild here breaks encapsulation - inRowNode.firstChild.style.width = this.contentWidth; - } - }, - - rowRemoved:function(inRowIndex){ - this.grid.edit.save(this, inRowIndex); - delete this.rowNodes[inRowIndex]; - }, - - getRowNode: function(inRowIndex){ - return this.rowNodes[inRowIndex]; - }, - - getCellNode: function(inRowIndex, inCellIndex){ - var row = this.getRowNode(inRowIndex); - if(row){ - return this.content.getCellNode(row, inCellIndex); - } - }, - - // styling - styleRow: function(inRowIndex, inRowNode){ - inRowNode._style = dojox.grid.getStyleText(inRowNode); - this.styleRowNode(inRowIndex, inRowNode); - }, - - styleRowNode: function(inRowIndex, inRowNode){ - if(inRowNode){ - this.doStyleRowNode(inRowIndex, inRowNode); - } - }, - - doStyleRowNode: function(inRowIndex, inRowNode){ - this.grid.styleRowNode(inRowIndex, inRowNode); - }, - - // updating - updateRow: function(inRowIndex, inHeightPx, inPageNode){ - var rowNode = this.getRowNode(inRowIndex); - if(rowNode){ - rowNode.style.height = ''; - this.buildRow(inRowIndex, rowNode); - } - return rowNode; - }, - - updateRowStyles: function(inRowIndex){ - this.styleRowNode(inRowIndex, this.getRowNode(inRowIndex)); - }, - - // scrolling - lastTop: 0, - firstScroll:0, - - doscroll: function(inEvent){ - //var s = dojo.marginBox(this.headerContentNode.firstChild); - var isLtr = dojo._isBodyLtr(); - if(this.firstScroll < 2){ - if((!isLtr && this.firstScroll == 1) || (isLtr && this.firstScroll == 0)){ - var s = dojo.marginBox(this.headerNodeContainer); - if(dojo.isIE){ - this.headerNodeContainer.style.width = s.w + this.getScrollbarWidth() + 'px'; - }else if(dojo.isMoz){ - //TODO currently only for FF, not sure for safari and opera - this.headerNodeContainer.style.width = s.w - this.getScrollbarWidth() + 'px'; - //this.headerNodeContainer.style.width = s.w + 'px'; - //set scroll to right in FF - if(isLtr){ - this.scrollboxNode.scrollLeft = this.scrollboxNode.scrollWidth - this.scrollboxNode.clientWidth; - }else{ - this.scrollboxNode.scrollLeft = this.scrollboxNode.clientWidth - this.scrollboxNode.scrollWidth; - } - } - } - this.firstScroll++; - } - this.headerNode.scrollLeft = this.scrollboxNode.scrollLeft; - // 'lastTop' is a semaphore to prevent feedback-loop with setScrollTop below - var top = this.scrollboxNode.scrollTop; - if(top != this.lastTop){ - this.grid.scrollTo(top); - } - }, - - setScrollTop: function(inTop){ - // 'lastTop' is a semaphore to prevent feedback-loop with doScroll above - this.lastTop = inTop; - this.scrollboxNode.scrollTop = inTop; - return this.scrollboxNode.scrollTop; - }, - - // event handlers (direct from DOM) - doContentEvent: function(e){ - if(this.content.decorateEvent(e)){ - this.grid.onContentEvent(e); - } - }, - - doHeaderEvent: function(e){ - if(this.header.decorateEvent(e)){ - this.grid.onHeaderEvent(e); - } - }, - - // event dispatch(from Grid) - dispatchContentEvent: function(e){ - return this.content.dispatchEvent(e); - }, - - dispatchHeaderEvent: function(e){ - return this.header.dispatchEvent(e); - }, - - // column resizing - setColWidth: function(inIndex, inWidth){ - this.grid.setCellWidth(inIndex, inWidth + 'px'); - }, - - update: function(){ - var left = this.scrollboxNode.scrollLeft; - this.content.update(); - this.grid.update(); - this.scrollboxNode.scrollLeft = left; - this.headerNode.scrollLeft = left; - } -}); - -} diff --git a/includes/js/dojox/grid/_grid/views.js b/includes/js/dojox/grid/_grid/views.js deleted file mode 100644 index d13bbb7..0000000 --- a/includes/js/dojox/grid/_grid/views.js +++ /dev/null @@ -1,277 +0,0 @@ -if(!dojo._hasResource["dojox.grid._grid.views"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid._grid.views"] = true; -dojo.provide("dojox.grid._grid.views"); - -dojo.declare('dojox.grid.views', null, { - // summary: - // A collection of grid views. Owned by grid and used internally for managing grid views. - // description: - // Grid creates views automatically based on grid's layout structure. - // Users should typically not need to access individual views or the views collection directly. - constructor: function(inGrid){ - this.grid = inGrid; - }, - - defaultWidth: 200, - - views: [], - - // operations - resize: function(){ - this.onEach("resize"); - }, - - render: function(){ - this.onEach("render"); - }, - - // views - addView: function(inView){ - inView.idx = this.views.length; - this.views.push(inView); - }, - - destroyViews: function(){ - for (var i=0, v; v=this.views[i]; i++) - v.destroy(); - this.views = []; - }, - - getContentNodes: function(){ - var nodes = []; - for(var i=0, v; v=this.views[i]; i++){ - nodes.push(v.contentNode); - } - return nodes; - }, - - forEach: function(inCallback){ - for(var i=0, v; v=this.views[i]; i++){ - inCallback(v, i); - } - }, - - onEach: function(inMethod, inArgs){ - inArgs = inArgs || []; - for(var i=0, v; v=this.views[i]; i++){ - if(inMethod in v){ - v[inMethod].apply(v, inArgs); - } - } - }, - - // layout - normalizeHeaderNodeHeight: function(){ - var rowNodes = []; - for(var i=0, v; (v=this.views[i]); i++){ - if(v.headerContentNode.firstChild){ - rowNodes.push(v.headerContentNode) - }; - } - this.normalizeRowNodeHeights(rowNodes); - }, - - normalizeRowNodeHeights: function(inRowNodes){ - var h = 0; - for(var i=0, n, o; (n=inRowNodes[i]); i++){ - h = Math.max(h, (n.firstChild.clientHeight)||(n.firstChild.offsetHeight)); - } - h = (h >= 0 ? h : 0); - // - var hpx = h + 'px'; - for(var i=0, n; (n=inRowNodes[i]); i++){ - if(n.firstChild.clientHeight!=h){ - n.firstChild.style.height = hpx; - } - } - // - //console.log('normalizeRowNodeHeights ', h); - // - // querying the height here seems to help scroller measure the page on IE - if(inRowNodes&&inRowNodes[0]){ - inRowNodes[0].parentNode.offsetHeight; - } - }, - - resetHeaderNodeHeight: function(){ - for(var i=0, v, n; (v=this.views[i]); i++){ - n = v.headerContentNode.firstChild; - if(n) - n.style.height = ""; - } - }, - - renormalizeRow: function(inRowIndex){ - var rowNodes = []; - for(var i=0, v, n; (v=this.views[i])&&(n=v.getRowNode(inRowIndex)); i++){ - n.firstChild.style.height = ''; - rowNodes.push(n); - } - this.normalizeRowNodeHeights(rowNodes); - }, - - getViewWidth: function(inIndex){ - return this.views[inIndex].getWidth() || this.defaultWidth; - }, - - // must be called after view widths are properly set or height can be miscalculated - // if there are flex columns - measureHeader: function(){ - // need to reset view header heights so they are properly measured. - this.resetHeaderNodeHeight(); - this.forEach(function(inView){ - inView.headerContentNode.style.height = ''; - }); - var h = 0; - // calculate maximum view header height - this.forEach(function(inView){ - h = Math.max(inView.headerNode.offsetHeight, h); - }); - return h; - }, - - measureContent: function(){ - var h = 0; - this.forEach(function(inView) { - h = Math.max(inView.domNode.offsetHeight, h); - }); - return h; - }, - - findClient: function(inAutoWidth){ - // try to use user defined client - var c = this.grid.elasticView || -1; - // attempt to find implicit client - if(c < 0){ - for(var i=1, v; (v=this.views[i]); i++){ - if(v.viewWidth){ - for(i=1; (v=this.views[i]); i++){ - if(!v.viewWidth){ - c = i; - break; - } - } - break; - } - } - } - // client is in the middle by default - if(c < 0){ - c = Math.floor(this.views.length / 2); - } - return c; - }, - - arrange: function(l, w){ - var i, v, vw, len = this.views.length; - // find the client - var c = (w <= 0 ? len : this.findClient()); - // layout views - var setPosition = function(v, l){ - with(v.domNode.style){ - if(!dojo._isBodyLtr()){ - right = l + 'px'; - }else{ - left = l + 'px'; - } - top = 0 + 'px'; - } - with(v.headerNode.style){ - if(!dojo._isBodyLtr()){ - right = l + 'px'; - }else{ - left = l + 'px'; - } - top = 0; - } - } - // for views left of the client - //BiDi TODO: The left and right should not appear in BIDI environment. Should be replaced with - //leading and tailing concept. - for(i=0; (v=this.views[i])&&(i -
            -
            -
            -
            -
            - - -
            -
            -
            -
            \ No newline at end of file diff --git a/includes/js/dojox/grid/resources/VirtualGrid.html b/includes/js/dojox/grid/resources/VirtualGrid.html deleted file mode 100644 index 7253108..0000000 --- a/includes/js/dojox/grid/resources/VirtualGrid.html +++ /dev/null @@ -1,5 +0,0 @@ -
            -
            -
            - -
            diff --git a/includes/js/dojox/grid/tests/databaseModel.js b/includes/js/dojox/grid/tests/databaseModel.js deleted file mode 100644 index 3c879eb..0000000 --- a/includes/js/dojox/grid/tests/databaseModel.js +++ /dev/null @@ -1,337 +0,0 @@ -if(!dojo._hasResource["dojox.grid.tests.databaseModel"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.grid.tests.databaseModel"] = true; -dojo.provide("dojox.grid.tests.databaseModel"); -dojo.require("dojox.grid._data.model"); - -// Provides a sparse array that is also traversable inorder -// with basic Array: -// - iterating by index is slow for large sparse arrays -// - for...in iteration is in order of element creation -// maintains a secondary index for interating -// over sparse elements inorder -dojo.declare("dojox.grid.Sparse", null, { - constructor: function() { - this.clear(); - }, - clear: function() { - this.indices = []; - this.values = []; - }, - length: function() { - return this.indices.length; - }, - set: function(inIndex, inValue) { - for (var i=0,l=this.indices.length; i= inIndex) - break; - } - if (this.indices[i] != inIndex) - this.indices.splice(i, 0, inIndex); - this.values[inIndex] = inValue; - }, - get: function(inIndex) { - return this.values[inIndex]; - }, - remove: function(inIndex) { - for (var i=0,l=this.indices.length; i=0) && ((k=inRowIndexes[i])!=undefined); i--) - this.setState(k, inState, inValue); - }, - clearStateForIndexes: function(inRowIndexes, inState) { - for (var i=inRowIndexes.length-1, k; (i>=0) && ((k=inRowIndexes[i])!=undefined); i--) - this.clearState(k, inState); - }, - //$ Return boolean stating whether or not an operation is in progress that may change row indexing. - isAddRemoving: function() { - return Boolean(this.states['inserting'].length() || this.states['removing'].length()); - }, - isInflight: function() { - return Boolean(this.states['inflight'].length()); - }, - //$ Return boolean stating if the model is currently undergoing any type of edit. - isEditing: function() { - for (var i=0, r={}, s; (s=this.stateNames[i]); i++) - if (this.states[s].length()) - return true; - }, - //$ Return true if ok to modify the given row. Override as needed, using model editing state information. - canModify: function(inRowIndex) { - return !this.getState(inRowIndex).inflight && !(this.isInflight() && this.isAddRemoving()); - }, - // server send / receive - getSendParams: function(inParams) { - var p = { - database: this.database || '', - table: this.table || '' - } - return dojo.mixin(p, inParams || {}); - }, - send: function(inAsync, inParams, inCallbacks) { - //console.log('send', inParams.command); - var p = this.getSendParams(inParams); - var d = dojo.xhrPost({ - url: this.server, - content: p, - handleAs: 'json-comment-filtered', - contentType: "application/x-www-form-urlencoded; charset=utf-8", - sync: !inAsync - }); - d.addCallbacks(dojo.hitch(this, "receive", inCallbacks), dojo.hitch(this, "receiveError", inCallbacks)); - return d; - }, - _callback: function(cb, eb, data) { - try{ cb && cb(data); } - catch(e){ eb && eb(data, e); } - }, - receive: function(inCallbacks, inData) { - inCallbacks && this._callback(inCallbacks.callback, inCallbacks.errback, inData); - }, - receiveError: function(inCallbacks, inErr) { - this._callback(inCallbacks.errback, null, inErr) - }, - encodeRow: function(inParams, inRow, inPrefix) { - for (var i=0, l=inRow.length; i < l; i++) - inParams['_' + (inPrefix ? inPrefix : '') + i] = (inRow[i] ? inRow[i] : ''); - }, - measure: function() { - this.send(true, { command: 'info' }, { callback: dojo.hitch(this, this.callbacks.info) }); - }, - fetchRowCount: function(inCallbacks) { - this.send(true, { command: 'count' }, inCallbacks); - }, - // server commits - commitEdit: function(inOldData, inNewData, inRowIndex, inCallbacks) { - this.setState(inRowIndex, "inflight", true); - var params = {command: 'update'}; - this.encodeRow(params, inOldData, 'o'); - this.encodeRow(params, inNewData); - this.send(true, params, inCallbacks); - }, - commitInsert: function(inRowIndex, inNewData, inCallbacks) { - this.setState(inRowIndex, "inflight", true); - var params = {command: 'insert'}; - this.encodeRow(params, inNewData); - this.send(true, params, inCallbacks); - }, - // NOTE: supported only in tables with pk - commitDelete: function(inRows, inCallbacks) { - var params = { - command: 'delete', - count: inRows.length - } - var pk = this.getPkIndex(); - if (pk < 0) - return; - for (var i=0; i < inRows.length; i++) { - params['_' + i] = inRows[i][pk]; - } - this.send(true, params, inCallbacks); - }, - getUpdateCallbacks: function(inRowIndex) { - return { - callback: dojo.hitch(this, this.callbacks.update, inRowIndex), - errback: dojo.hitch(this, this.callbacks.updateError, inRowIndex) - }; - }, - // primary key from fields - getPkIndex: function() { - for (var i=0, l=this.fields.count(), f; (i - - - 1 - Title of 1 - Author of 1 - - - 2 - Title of 2 - Author of 2 - - - 3 - Title of 3 - Author of 3 - - - 4 - Title of 4 - Author of 4 - - - 5 - Title of 5 - Author of 5 - - - 6 - Title of 6 - Author of 6 - - - 7 - Title of 7 - Author of 7 - - - 8 - Title of 8 - Author of 8 - - - 9 - Title of 9 - Author of 9 - - - 10 - Title of 10 - Author of 10 - - - 11 - Title of 11 - Author of 11 - - - 12 - Title of 12 - Author of 12 - - - 13 - Title of 13 - Author of 13 - - - 14 - Title of 14 - Author of 14 - - - 15 - Title of 15 - Author of 15 - - - 16 - Title of 16 - Author of 16 - - - 17 - Title of 17 - Author of 17 - - - 18 - Title of 18 - Author of 18 - - - 19 - Title of 19 - Author of 19 - - - 20 - Title of 20 - Author of 20 - - diff --git a/includes/js/dojox/grid/tests/support/data.php b/includes/js/dojox/grid/tests/support/data.php deleted file mode 100644 index 1beb6f0..0000000 --- a/includes/js/dojox/grid/tests/support/data.php +++ /dev/null @@ -1,379 +0,0 @@ -encode($inData) . ' */'; - } - - function error($inMessage) { - $inMessage = str_replace('"', '\\"', $inMessage); - error_log($inMessage); - //echo '/* ({error: true, message: "' . $inMessage . '"}) */'; - echoJson(array('error' => true, 'message' => $inMessage)); - exit; - } - - - function getArray($inResult, $inArray="true") { - $o = Array(); - while ($row = ($inArray ? mysql_fetch_row($inResult) : mysql_fetch_object($inResult))) - $o[] = $row; - return $o; - } - - // connect to DB - mysql_connect($dbserver, $dbuser, $dbpassword); - - // select DB - $database = getPostString("database"); - $database = ($database ? $database : $db); - if (!mysql_select_db($database)) - error('failed to select db: ' . mysql_error()); - - // select table - $table = getPostString("table"); - $table = ($table ? $table : $dbtable); - - // cache - $colCache = NULL; - $pkCache = NULL; - - // set UTF8 output (MySql > 4.0) - mysql_query("SET NAMES UTF8"); - - // server, database, table meta data - function getDatabases() { - $result = mysql_query("SHOW DATABASES"); - $output = Array(); - while ($row = mysql_fetch_row($result)) { - $r = strtolower($row[0]); - if ($r != 'mysql' && $r != 'information_schema') - $output[] = $row[0]; - } - return $output; - } - - function getTables() { - global $database; - $result = mysql_query("SHOW TABLES FROM $database"); - $output = Array(); - while ($row = mysql_fetch_row($result)) - $output[] = $row[0]; - return $output; - } - - function getColumns() { - global $table, $colCache; - if (!$colCache) { - $result = mysql_query("SHOW COLUMNS FROM `$table`"); - return getArray($result, false); - $colCache = getArray($result, false); - } - return $colCache; - } - - // returns object: $this->name, $this->index - function getPk() { - global $pkCache; - if (!$pkCache) { - $k = ''; - $columns = getColumns(); - for ($i=0; $i < count($columns); $i++) { - $c = $columns[$i]; - if ($c->Key == 'PRI') { - $k = $c->Field; - break; - } - } - $pkCache->index = $i; - $pkCache->name = $k; - } - return $pkCache; - } - - function getTableInfo() { - global $table, $database; - $c = getColumns(); - $r = rowcount(); - return array("count" => $r, "columns" => $c, "database" => $database, "table" => $table); - } - - function getOldPostPkValue() { - $pk = getPk(); - return getPostString('_o' . $pk->index); - } - - function getNewPostPkValue() { - $pk = getPk(); - return getPostString('_' . $pk->index); - } - - function getPostColumns() { - $columns = getColumns(); - for ($i=0, $a=array(), $p; (($p=getPostString("_".$i)) != ''); $i++) { - $r = new stdClass(); - $r->name = $columns[$i]->Field; - $r->value = $p; - $a[] = $r; - } - return $a; - } - - function getOrderBy() { - $ob = getPostString("orderby"); - if (is_numeric($ob)) { - $columns = getColumns(); - $ob = $columns[intval($ob)-1]->Field; - } - return $ob; - } - - function getWhere() { - $w = getPostString("where"); - return ($w ? " WHERE $w" : ""); - } - - // basic operations - function rowcount() { - global $table; - $query = "SELECT COUNT(*) FROM `$table`" . getWhere(); - $result = mysql_query($query); - if (!$result) - error("failed to perform query: $query. " . mysql_error()); - if ($row = mysql_fetch_row($result)) - return $row[0]; - else - return 0; - } - - function select($inQuery = '') { - global $table; - // built limit clause - $lim = (int)getPostString("limit"); - $off = (int)getPostString("offset"); - $limit = ($lim || $off ? " LIMIT $off, $lim" : ""); - // build order by clause - $desc = (boolean)getPostString("desc"); - $ob = getOrderBy(); - $orderby = ($ob ? " ORDER BY `" . $ob . "`" . ($desc ? " DESC" : "") : ""); - // build query - $query = ($inQuery ? $inQuery : "SELECT * FROM `$table`" . getWhere() . $orderby . $limit); - // execute query - if (!$result = mysql_query($query)) - error("failed to perform query: $query. " . mysql_error()); - // fetch each result row - return getArray($result); - } - - function reflectRow() { - global $table; - $pk = getPk(); - $key = getNewPostPkValue(); - $where = "`$pk->name`=\"$key\""; - return select("SELECT * FROM `$table` WHERE $where LIMIT 1"); - } - - function update() { - // build set clause - for ($i=0, $set = array(), $cols = getPostColumns(), $v; ($v=$cols[$i]); $i++) - $set[] = "`$v->name` = '$v->value'"; - $set = implode(', ', $set); - // our table - global $table; - // build query - $pk = getPk(); - $pkValue = getOldPostPkValue(); - $query = "UPDATE `$table` SET $set WHERE `$pk->name` = '$pkValue' LIMIT 1"; - // execute query - if (!mysql_query($query)) - error("failed to perform query: [$query]. " . - "MySql says: [" . mysql_error() ."]"); - else { - return reflectRow(); - } - } - - function insert() { - global $table; - // build values clause - for ($i=0, $values = array(), $cols = getPostColumns(), $v; ($v=$cols[$i]); $i++) - $values[] = $v->value; - $values = '"' . implode('", "', $values) . '"'; - // build query - $query = "INSERT INTO `$table` VALUES($values)"; - // execute query - if (!mysql_query($query)) - error("failed to perform query: [$query]. " . - "MySql says: [" . mysql_error() ."]"); - else { - return reflectRow(); - } - } - - function delete() { - global $table; - // build query - $n = getPostString("count"); - $pk = getPk(); - for ($i = 0, $deleted=array(); $i < $n; $i++) { - $key = getPostString("_$i"); - array_push($deleted, $key); - $query = "DELETE FROM `$table` WHERE `$pk->name`=\"$key\" LIMIT 1"; - // execute query - if (!mysql_query($query) || mysql_affected_rows() != 1) - error("failed to perform query: [$query]. " . - "Affected rows: " . mysql_affected_rows() .". " . - "MySql says: [" . mysql_error() ."]"); - } - return $deleted; - } - - // find (full text search) - function findData($inFindCol, $inFind, $inOrderBy, $inFullText) { - global $table; - $where = ($inFullText ? "WHERE MATCH(`$inFindCol`) AGAINST ('$inFind')" : "WHERE $inFindCol LIKE '$inFind'"); - $query = "SELECT * FROM $table $where $inOrderBy"; - $result = mysql_query($query); - // return rows - return getArray($result); - } - - // binary search through sorted data, supports start point ($inFindFrom) and direction ($inFindForward) - function findRow($inData, $inFindFrom=-1, $inFindForward) { - $b = -1; - $l = count($inData); - if (!$inData) - return $b; - if (!$inFindFrom==-1 || $l < 2) - $b = 0; - else { - // binary search - $t = $l-1; - $b = 0; - while ($b <= $t) { - $p = floor(($b+$t)/2); - $d = $inData[$p][0]; - if ($d < $inFindFrom) - $b = $p + 1; - else if ($d > $inFindFrom) - $t = $p - 1; - else { - $b = $p; - break; - } - } - if ($inFindFrom == $inData[$b][0]) { - // add or subtract 1 - $b = ($inFindForward ? ($b+1 > $l-1 ? 0 : $b+1) : ($b-1 < 0 ? $l-1 : $b-1) ); - } - else if (!$inFindForward) - // subtract 1 - $b = ($b-1 < 0 ? $l-1 : $b-1); - } - return $inData[$b][0]; - } - - function buildFindWhere($inFindData, $inKey, $inCol) { - $o = Array(); - foreach($inFindData as $row) - $o[] = $inCol . "='" . $row[$inKey] . "'"; - return (count($o) ? ' WHERE ' . implode(' OR ', $o) : ''); - } - - function find($inFindCol, $inFind='', $inOb='', $inFindFrom=0, $inFindForward=true, $inFullText=true) { - global $table; - // build order by clause - $desc = (boolean)getPostString("desc"); - if (!$inOb) - $inOb = getOrderBy(); - if ($inOb) - $inOb = "`" . $inOb . "`" ; - $orderby = ($inOb ? " ORDER BY $inOb " . ($desc ? " DESC" : "") : ""); - // update inputs from post - if (!$inFind) - $inFind = getPostString('findText'); - if (!$inFindCol) - $inFindCol = getPostString('findCol'); - if (empty($inFindFrom)) - $inFindFrom = getPostString('findFrom'); - $ff = getPostString('findForward'); - if ($ff) - $inFindForward = (strtolower($ff) == 'true' ? true : false); - $ft = getPostString('findFullText'); - if ($ft) - $inFullText = (strtolower($ft) == 'true' ? true : false); - - // get find data - $f = findData($inFindCol, $inFind, $orderby, $inFullText); - $pk = getPk(); - - // execute query - $where = buildFindWhere($f, $pk->index, 'f'); - $query = "SELECT Row, f FROM (SELECT @row := @row + 1 AS Row, $pk->name as f FROM `$table` $orderby) AS tempTable $where"; - mysql_query('SET @row = -1;'); - if (!$result = mysql_query($query)) - error("failed to perform query: $query. " . mysql_error()); - - // return row number - return findRow(getArray($result), $inFindFrom, $inFindForward); - } - - // our command list - $cmds = array( - "count" => "rowcount", - "select" => "select", - "update" => "update", - "insert" => "insert", - "delete" => "delete", - "find" => "find", - "databases" => "getDatabases", - "tables" => "getTables", - "columns" => "getColumns", - "info" => "getTableInfo" - ); - - // process input params - $cmd = @$_POST["command"]; - - //$cmd="select"; - - // dispatch command - $func = @$cmds[$cmd]; - if (function_exists($func)) - echoJson(call_user_func($func)); - else - error("bad command"); -?> diff --git a/includes/js/dojox/grid/tests/support/geography.xml b/includes/js/dojox/grid/tests/support/geography.xml deleted file mode 100644 index 070a8c1..0000000 --- a/includes/js/dojox/grid/tests/support/geography.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - geography.opml - 2006-11-10 - 2006-11-13 - Magellan, Ferdinand - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/includes/js/dojox/grid/tests/support/json.php b/includes/js/dojox/grid/tests/support/json.php deleted file mode 100644 index 84e3dfa..0000000 --- a/includes/js/dojox/grid/tests/support/json.php +++ /dev/null @@ -1,794 +0,0 @@ - -* @author Matt Knapp -* @author Brett Stimmerman -* @copyright 2005 Michal Migurski -* @license http://www.opensource.org/licenses/bsd-license.php -* @link http://pear.php.net/pepr/pepr-proposal-show.php?id=198 -*/ - -/** -* Marker constant for Services_JSON::decode(), used to flag stack state -*/ -define('SERVICES_JSON_SLICE', 1); - -/** -* Marker constant for Services_JSON::decode(), used to flag stack state -*/ -define('SERVICES_JSON_IN_STR', 2); - -/** -* Marker constant for Services_JSON::decode(), used to flag stack state -*/ -define('SERVICES_JSON_IN_ARR', 4); - -/** -* Marker constant for Services_JSON::decode(), used to flag stack state -*/ -define('SERVICES_JSON_IN_OBJ', 8); - -/** -* Marker constant for Services_JSON::decode(), used to flag stack state -*/ -define('SERVICES_JSON_IN_CMT', 16); - -/** -* Behavior switch for Services_JSON::decode() -*/ -define('SERVICES_JSON_LOOSE_TYPE', 10); - -/** -* Behavior switch for Services_JSON::decode() -*/ -define('SERVICES_JSON_STRICT_TYPE', 11); - -/** -* Encodings -*/ -define('SERVICES_JSON_ISO_8859_1', 'iso-8859-1'); -define('SERVICES_JSON_UTF_8', 'utf-8'); - -/** -* Converts to and from JSON format. -* -* Brief example of use: -* -* -* // create a new instance of Services_JSON -* $json = new Services_JSON(); -* -* // convert a complexe value to JSON notation, and send it to the browser -* $value = array('foo', 'bar', array(1, 2, 'baz'), array(3, array(4))); -* $output = $json->encode($value); -* -* print($output); -* // prints: ["foo","bar",[1,2,"baz"],[3,[4]]] -* -* // accept incoming POST data, assumed to be in JSON notation -* $input = file_get_contents('php://input', 1000000); -* $value = $json->decode($input); -* -*/ -class Services_JSON -{ - /** - * constructs a new JSON instance - * - //>> SJM2005 - * @param string $encoding Strings are input/output in this encoding - * @param int $encode Encode input is expected in this character encoding - //<< SJM2005 - * - * @param int $use object behavior: when encoding or decoding, - * be loose or strict about object/array usage - * - * possible values: - * - SERVICES_JSON_STRICT_TYPE: strict typing, default. - * "{...}" syntax creates objects in decode(). - * - SERVICES_JSON_LOOSE_TYPE: loose typing. - * "{...}" syntax creates associative arrays in decode(). - */ - function Services_JSON($encoding = SERVICES_JSON_UTF_8, $use = SERVICES_JSON_STRICT_TYPE) - { - //>> SJM2005 - $this->encoding = $encoding; - //<< SJM2005 - - $this->use = $use; - } - - /** - * convert a string from one UTF-16 char to one UTF-8 char - * - * Normally should be handled by mb_convert_encoding, but - * provides a slower PHP-only method for installations - * that lack the multibye string extension. - * - * @param string $utf16 UTF-16 character - * @return string UTF-8 character - * @access private - */ - function utf162utf8($utf16) - { - // oh please oh please oh please oh please oh please - if(function_exists('mb_convert_encoding')) - return mb_convert_encoding($utf16, 'UTF-8', 'UTF-16'); - - $bytes = (ord($utf16{0}) << 8) | ord($utf16{1}); - - switch(true) { - case ((0x7F & $bytes) == $bytes): - // this case should never be reached, because we are in ASCII range - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr(0x7F & $bytes); - - case (0x07FF & $bytes) == $bytes: - // return a 2-byte UTF-8 character - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr(0xC0 | (($bytes >> 6) & 0x1F)) - . chr(0x80 | ($bytes & 0x3F)); - - case (0xFFFF & $bytes) == $bytes: - // return a 3-byte UTF-8 character - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr(0xE0 | (($bytes >> 12) & 0x0F)) - . chr(0x80 | (($bytes >> 6) & 0x3F)) - . chr(0x80 | ($bytes & 0x3F)); - } - - // ignoring UTF-32 for now, sorry - return ''; - } - - /** - * convert a string from one UTF-8 char to one UTF-16 char - * - * Normally should be handled by mb_convert_encoding, but - * provides a slower PHP-only method for installations - * that lack the multibye string extension. - * - * @param string $utf8 UTF-8 character - * @return string UTF-16 character - * @access private - */ - function utf82utf16($utf8) - { - // oh please oh please oh please oh please oh please - if(function_exists('mb_convert_encoding')) - return mb_convert_encoding($utf8, 'UTF-16', 'UTF-8'); - - switch(strlen($utf8)) { - case 1: - // this case should never be reached, because we are in ASCII range - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return $utf8; - - case 2: - // return a UTF-16 character from a 2-byte UTF-8 char - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr(0x07 & (ord($utf8{0}) >> 2)) - . chr((0xC0 & (ord($utf8{0}) << 6)) - | (0x3F & ord($utf8{1}))); - - case 3: - // return a UTF-16 character from a 3-byte UTF-8 char - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr((0xF0 & (ord($utf8{0}) << 4)) - | (0x0F & (ord($utf8{1}) >> 2))) - . chr((0xC0 & (ord($utf8{1}) << 6)) - | (0x7F & ord($utf8{2}))); - } - - // ignoring UTF-32 for now, sorry - return ''; - } - - /** - * encodes an arbitrary variable into JSON format - * - * @param mixed $var any number, boolean, string, array, or object to be encoded. - * see argument 1 to Services_JSON() above for array-parsing behavior. - * if var is a strng, note that encode() always expects it - * to be in ASCII or UTF-8 format! - * - * @return string JSON string representation of input var - * @access public - */ - function encode($var) - { - switch (gettype($var)) { - case 'boolean': - return $var ? 'true' : 'false'; - - case 'NULL': - return 'null'; - - case 'integer': - return (int) $var; - - case 'double': - case 'float': - return (float) $var; - - case 'string': - //>> SJM2005 - if ($this->encoding == SERVICES_JSON_UTF_8) - ; - else if ($this->encoding == SERVICES_JSON_ISO_8859_1) - $var = utf8_encode($var); - else if (!function_exists('mb_convert_encoding')) - die('Requested encoding requires mb_strings extension.'); - else - $var = mb_convert_encoding($var, "utf-8", $this->encoding); - //<< SJM2005 - - // STRINGS ARE EXPECTED TO BE IN ASCII OR UTF-8 FORMAT - $ascii = ''; - $strlen_var = strlen($var); - - /* - * Iterate over every character in the string, - * escaping with a slash or encoding to UTF-8 where necessary - */ - for ($c = 0; $c < $strlen_var; ++$c) { - - $ord_var_c = ord($var{$c}); - - switch (true) { - case $ord_var_c == 0x08: - $ascii .= '\b'; - break; - case $ord_var_c == 0x09: - $ascii .= '\t'; - break; - case $ord_var_c == 0x0A: - $ascii .= '\n'; - break; - case $ord_var_c == 0x0C: - $ascii .= '\f'; - break; - case $ord_var_c == 0x0D: - $ascii .= '\r'; - break; - - case $ord_var_c == 0x22: - case $ord_var_c == 0x2F: - case $ord_var_c == 0x5C: - // double quote, slash, slosh - $ascii .= '\\'.$var{$c}; - break; - - case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)): - // characters U-00000000 - U-0000007F (same as ASCII) - $ascii .= $var{$c}; - break; - - case (($ord_var_c & 0xE0) == 0xC0): - // characters U-00000080 - U-000007FF, mask 110XXXXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, ord($var{$c + 1})); - $c += 1; - $utf16 = $this->utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xF0) == 0xE0): - // characters U-00000800 - U-0000FFFF, mask 1110XXXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2})); - $c += 2; - $utf16 = $this->utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xF8) == 0xF0): - // characters U-00010000 - U-001FFFFF, mask 11110XXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2}), - ord($var{$c + 3})); - $c += 3; - $utf16 = $this->utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xFC) == 0xF8): - // characters U-00200000 - U-03FFFFFF, mask 111110XX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2}), - ord($var{$c + 3}), - ord($var{$c + 4})); - $c += 4; - $utf16 = $this->utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xFE) == 0xFC): - // characters U-04000000 - U-7FFFFFFF, mask 1111110X - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2}), - ord($var{$c + 3}), - ord($var{$c + 4}), - ord($var{$c + 5})); - $c += 5; - $utf16 = $this->utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - } - } - - return '"'.$ascii.'"'; - - case 'array': - /* - * As per JSON spec if any array key is not an integer - * we must treat the the whole array as an object. We - * also try to catch a sparsely populated associative - * array with numeric keys here because some JS engines - * will create an array with empty indexes up to - * max_index which can cause memory issues and because - * the keys, which may be relevant, will be remapped - * otherwise. - * - * As per the ECMA and JSON specification an object may - * have any string as a property. Unfortunately due to - * a hole in the ECMA specification if the key is a - * ECMA reserved word or starts with a digit the - * parameter is only accessible using ECMAScript's - * bracket notation. - */ - - // treat as a JSON object - if (is_array($var) && count($var) && (array_keys($var) !== range(0, sizeof($var) - 1))) { - return '{' . - join(',', array_map(array($this, 'name_value'), - array_keys($var), - array_values($var))) - . '}'; - } - - // treat it like a regular array - return '[' . join(',', array_map(array($this, 'encode'), $var)) . ']'; - - case 'object': - $vars = get_object_vars($var); - return '{' . - join(',', array_map(array($this, 'name_value'), - array_keys($vars), - array_values($vars))) - . '}'; - - default: - return ''; - } - } - - /** - * array-walking function for use in generating JSON-formatted name-value pairs - * - * @param string $name name of key to use - * @param mixed $value reference to an array element to be encoded - * - * @return string JSON-formatted name-value pair, like '"name":value' - * @access private - */ - function name_value($name, $value) - { - return $this->encode(strval($name)) . ':' . $this->encode($value); - } - - /** - * reduce a string by removing leading and trailing comments and whitespace - * - * @param $str string string value to strip of comments and whitespace - * - * @return string string value stripped of comments and whitespace - * @access private - */ - function reduce_string($str) - { - $str = preg_replace(array( - - // eliminate single line comments in '// ...' form - '#^\s*//(.+)$#m', - - // eliminate multi-line comments in '/* ... */' form, at start of string - '#^\s*/\*(.+)\*/#Us', - - // eliminate multi-line comments in '/* ... */' form, at end of string - '#/\*(.+)\*/\s*$#Us' - - ), '', $str); - - // eliminate extraneous space - return trim($str); - } - - /** - * decodes a JSON string into appropriate variable - * - * @param string $str JSON-formatted string - * - * @return mixed number, boolean, string, array, or object - * corresponding to given JSON input string. - * See argument 1 to Services_JSON() above for object-output behavior. - * Note that decode() always returns strings - * in ASCII or UTF-8 format! - * @access public - */ - function decode($str) - { - $str = $this->reduce_string($str); - - switch (strtolower($str)) { - case 'true': - return true; - - case 'false': - return false; - - case 'null': - return null; - - default: - if (is_numeric($str)) { - // Lookie-loo, it's a number - - // This would work on its own, but I'm trying to be - // good about returning integers where appropriate: - // return (float)$str; - - // Return float or int, as appropriate - return ((float)$str == (integer)$str) - ? (integer)$str - : (float)$str; - - } elseif (preg_match('/^("|\').+(\1)$/s', $str, $m) && $m[1] == $m[2]) { - // STRINGS RETURNED IN UTF-8 FORMAT - $delim = substr($str, 0, 1); - $chrs = substr($str, 1, -1); - $utf8 = ''; - $strlen_chrs = strlen($chrs); - - for ($c = 0; $c < $strlen_chrs; ++$c) { - - $substr_chrs_c_2 = substr($chrs, $c, 2); - $ord_chrs_c = ord($chrs{$c}); - - switch (true) { - case $substr_chrs_c_2 == '\b': - $utf8 .= chr(0x08); - ++$c; - break; - case $substr_chrs_c_2 == '\t': - $utf8 .= chr(0x09); - ++$c; - break; - case $substr_chrs_c_2 == '\n': - $utf8 .= chr(0x0A); - ++$c; - break; - case $substr_chrs_c_2 == '\f': - $utf8 .= chr(0x0C); - ++$c; - break; - case $substr_chrs_c_2 == '\r': - $utf8 .= chr(0x0D); - ++$c; - break; - - case $substr_chrs_c_2 == '\\"': - case $substr_chrs_c_2 == '\\\'': - case $substr_chrs_c_2 == '\\\\': - case $substr_chrs_c_2 == '\\/': - if (($delim == '"' && $substr_chrs_c_2 != '\\\'') || - ($delim == "'" && $substr_chrs_c_2 != '\\"')) { - $utf8 .= $chrs{++$c}; - } - break; - - case preg_match('/\\\u[0-9A-F]{4}/i', substr($chrs, $c, 6)): - //echo ' matching single escaped unicode character from ' . substr($chrs, $c, 6); - // single, escaped unicode character - $utf16 = chr(hexdec(substr($chrs, ($c + 2), 2))) - . chr(hexdec(substr($chrs, ($c + 4), 2))); - $utf8 .= $this->utf162utf8($utf16); - $c += 5; - break; - - case ($ord_chrs_c >= 0x20) && ($ord_chrs_c <= 0x7F): - $utf8 .= $chrs{$c}; - break; - - case ($ord_chrs_c & 0xE0) == 0xC0: - // characters U-00000080 - U-000007FF, mask 110XXXXX - //see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $utf8 .= substr($chrs, $c, 2); - ++$c; - break; - - case ($ord_chrs_c & 0xF0) == 0xE0: - // characters U-00000800 - U-0000FFFF, mask 1110XXXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $utf8 .= substr($chrs, $c, 3); - $c += 2; - break; - - case ($ord_chrs_c & 0xF8) == 0xF0: - // characters U-00010000 - U-001FFFFF, mask 11110XXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $utf8 .= substr($chrs, $c, 4); - $c += 3; - break; - - case ($ord_chrs_c & 0xFC) == 0xF8: - // characters U-00200000 - U-03FFFFFF, mask 111110XX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $utf8 .= substr($chrs, $c, 5); - $c += 4; - break; - - case ($ord_chrs_c & 0xFE) == 0xFC: - // characters U-04000000 - U-7FFFFFFF, mask 1111110X - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $utf8 .= substr($chrs, $c, 6); - $c += 5; - break; - - } - - } - - //>> SJM2005 - if ($this->encoding == SERVICES_JSON_UTF_8) - return $utf8; - if ($this->encoding == SERVICES_JSON_ISO_8859_1) - return utf8_decode($utf8); - else if (!function_exists('mb_convert_encoding')) - die('Requested encoding requires mb_strings extension.'); - else - return mb_convert_encoding($utf8, $this->encoding, SERVICES_JSON_UTF_8); - //<< SJM2005 - - return $utf8; - - } elseif (preg_match('/^\[.*\]$/s', $str) || preg_match('/^\{.*\}$/s', $str)) { - // array, or object notation - if ($str{0} == '[') { - $stk = array(SERVICES_JSON_IN_ARR); - $arr = array(); - } else { - if ($this->use == SERVICES_JSON_LOOSE_TYPE) { - $stk = array(SERVICES_JSON_IN_OBJ); - $obj = array(); - } else { - $stk = array(SERVICES_JSON_IN_OBJ); - $obj = new stdClass(); - } - } - - array_push($stk, array('what' => SERVICES_JSON_SLICE, - 'where' => 0, - 'delim' => false)); - - $chrs = substr($str, 1, -1); - $chrs = $this->reduce_string($chrs); - - if ($chrs == '') { - if (reset($stk) == SERVICES_JSON_IN_ARR) { - return $arr; - - } else { - return $obj; - - } - } - - //print("\nparsing {$chrs}\n"); - - $strlen_chrs = strlen($chrs); - for ($c = 0; $c <= $strlen_chrs; ++$c) { - - $top = end($stk); - $substr_chrs_c_2 = substr($chrs, $c, 2); - - if (($c == $strlen_chrs) || (($chrs{$c} == ',') && ($top['what'] == SERVICES_JSON_SLICE))) { - // found a comma that is not inside a string, array, etc., - // OR we've reached the end of the character list - $slice = substr($chrs, $top['where'], ($c - $top['where'])); - array_push($stk, array('what' => SERVICES_JSON_SLICE, 'where' => ($c + 1), 'delim' => false)); - //print("Found split at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); - - if (reset($stk) == SERVICES_JSON_IN_ARR) { - // we are in an array, so just push an element onto the stack - array_push($arr, $this->decode($slice)); - - } elseif (reset($stk) == SERVICES_JSON_IN_OBJ) { - // we are in an object, so figure - // out the property name and set an - // element in an associative array, - // for now - if (preg_match('/^\s*(["\'].*[^\\\]["\'])\s*:\s*(\S.*),?$/Uis', $slice, $parts)) { - // "name":value pair - $key = $this->decode($parts[1]); - $val = $this->decode($parts[2]); - - if ($this->use == SERVICES_JSON_LOOSE_TYPE) { - $obj[$key] = $val; - } else { - $obj->$key = $val; - } - } elseif (preg_match('/^\s*(\w+)\s*:\s*(\S.*),?$/Uis', $slice, $parts)) { - // name:value pair, where name is unquoted - $key = $parts[1]; - $val = $this->decode($parts[2]); - - if ($this->use == SERVICES_JSON_LOOSE_TYPE) { - $obj[$key] = $val; - } else { - $obj->$key = $val; - } - } - - } - - } elseif ((($chrs{$c} == '"') || ($chrs{$c} == "'")) && ($top['what'] != SERVICES_JSON_IN_STR)) { - // found a quote, and we are not inside a string - array_push($stk, array('what' => SERVICES_JSON_IN_STR, 'where' => $c, 'delim' => $chrs{$c})); - //print("Found start of string at {$c}\n"); - - //>> SAO2006 - /*} elseif (($chrs{$c} == $top['delim']) && - ($top['what'] == SERVICES_JSON_IN_STR) && - (($chrs{$c - 1} != '\\') || - ($chrs{$c - 1} == '\\' && $chrs{$c - 2} == '\\'))) {*/ - } elseif ($chrs{$c} == $top['delim'] && - $top['what'] == SERVICES_JSON_IN_STR) { - //print("Found potential end of string at {$c}\n"); - // verify quote is not escaped: it has no or an even number of \\ before it. - for ($i=0; ($chrs{$c - ($i+1)} == '\\'); $i++); - /*$i = 0; - while ( $chrs{$c - ($i+1)} == '\\') - $i++;*/ - //print("Found {$i} \ before delim\n"); - if ($i % 2 != 0) - { - //print("delim escaped, not end of string\n"); - continue; - } - //>> SAO2006 - // found a quote, we're in a string, and it's not escaped - array_pop($stk); - //print("Found end of string at {$c}: ".substr($chrs, $top['where'], (1 + 1 + $c - $top['where']))."\n"); - - } elseif (($chrs{$c} == '[') && - in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { - // found a left-bracket, and we are in an array, object, or slice - array_push($stk, array('what' => SERVICES_JSON_IN_ARR, 'where' => $c, 'delim' => false)); - //print("Found start of array at {$c}\n"); - - } elseif (($chrs{$c} == ']') && ($top['what'] == SERVICES_JSON_IN_ARR)) { - // found a right-bracket, and we're in an array - array_pop($stk); - //print("Found end of array at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); - - } elseif (($chrs{$c} == '{') && - in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { - // found a left-brace, and we are in an array, object, or slice - array_push($stk, array('what' => SERVICES_JSON_IN_OBJ, 'where' => $c, 'delim' => false)); - //print("Found start of object at {$c}\n"); - - } elseif (($chrs{$c} == '}') && ($top['what'] == SERVICES_JSON_IN_OBJ)) { - // found a right-brace, and we're in an object - array_pop($stk); - //print("Found end of object at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); - - } elseif (($substr_chrs_c_2 == '/*') && - in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { - // found a comment start, and we are in an array, object, or slice - array_push($stk, array('what' => SERVICES_JSON_IN_CMT, 'where' => $c, 'delim' => false)); - $c++; - //print("Found start of comment at {$c}\n"); - - } elseif (($substr_chrs_c_2 == '*/') && ($top['what'] == SERVICES_JSON_IN_CMT)) { - // found a comment end, and we're in one now - array_pop($stk); - $c++; - - for ($i = $top['where']; $i <= $c; ++$i) - $chrs = substr_replace($chrs, ' ', $i, 1); - - //print("Found end of comment at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); - - } - - } - - if (reset($stk) == SERVICES_JSON_IN_ARR) { - return $arr; - - } elseif (reset($stk) == SERVICES_JSON_IN_OBJ) { - return $obj; - - } - - } - } - } - -} - - /*function hex($s) - { - $l = strlen($s); - for ($i=0; $i < $l; $i++) - //echo '['.(ord($s{$i})).']'; - echo '['.bin2hex($s{$i}).']'; - } - - //$d = '["hello world\\""]'; - $d = '["\\\\\\"hello world,\\\\\\""]'; - //$d = '["\\\\", "\\\\"]'; - hex($d); - $test = new Services_JSON(); - echo('
            ');
            -	print_r($d . "\n");
            -	print_r($test->decode($d));
            -	echo('
            '); - */ -?> \ No newline at end of file diff --git a/includes/js/dojox/grid/tests/support/movies.csv b/includes/js/dojox/grid/tests/support/movies.csv deleted file mode 100644 index baf71eb..0000000 --- a/includes/js/dojox/grid/tests/support/movies.csv +++ /dev/null @@ -1,9 +0,0 @@ -Title, Year, Producer -City of God, 2002, Katia Lund -Rain,, Christine Jeffs -2001: A Space Odyssey, , Stanley Kubrick -"This is a ""fake"" movie title", 1957, Sidney Lumet -Alien, 1979 , Ridley Scott -"The Sequel to ""Dances With Wolves.""", 1982, Ridley Scott -"Caine Mutiny, The", 1954, "Dymtryk ""the King"", Edward" - diff --git a/includes/js/dojox/grid/tests/support/test_data.js b/includes/js/dojox/grid/tests/support/test_data.js deleted file mode 100644 index 4707380..0000000 --- a/includes/js/dojox/grid/tests/support/test_data.js +++ /dev/null @@ -1,30 +0,0 @@ -// example sample data and code -(function(){ - // some sample data - // global var "data" - data = [ - [ "normal", false, "new", 'But are not followed by two hexadecimal', 29.91, 10, false ], - [ "important", false, "new", 'Because a % sign always indicates', 9.33, -5, false ], - [ "important", false, "read", 'Signs can be selectively', 19.34, 0, true ], - [ "note", false, "read", 'However the reserved characters', 15.63, 0, true ], - [ "normal", false, "replied", 'It is therefore necessary', 24.22, 5.50, true ], - [ "important", false, "replied", 'To problems of corruption by', 9.12, -3, true ], - [ "note", false, "replied", 'Which would simply be awkward in', 12.15, -4, false ] - ]; - var rows = 100; - for(var i=0, l=data.length; i{text}', {href: inData[0], text: inData[1] }); -}; - -formatImage = function(inData, inRowIndex) { - if (!inData[0] || !inData[1]) - return ' '; - var o = { - href: inData[0], - src: inData[1].Url, - width: inData[1].Width, - height: inData[1].Height - } - return turbo.supplant('', o); -}; - -formatDate = function(inDatum, inRowIndex) { - if (inDatum == '') - return ' '; - var d = new Date(inDatum * 1000); - return turbo.printf('%s/%s/%s', d.getMonth(), d.getDate(), d.getFullYear()); -}; - -formatDimensions = function(inData, inRowIndex) { - if (!inData[0] || !inData[1]) - return ' '; - return inData[0] + ' x ' + inData[1]; -} diff --git a/includes/js/dojox/grid/tests/test_change_structure.html b/includes/js/dojox/grid/tests/test_change_structure.html deleted file mode 100644 index 4ecfa71..0000000 --- a/includes/js/dojox/grid/tests/test_change_structure.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - dojox.Grid Change Structure Example - - - - - - - -
            dojox.VirtualGrid Change Structure Example
            -

            - -

            -
            - - - diff --git a/includes/js/dojox/grid/tests/test_custom_sort.html b/includes/js/dojox/grid/tests/test_custom_sort.html deleted file mode 100644 index 51b0cf3..0000000 --- a/includes/js/dojox/grid/tests/test_custom_sort.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - Custom Sort Test - dojox.Grid - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            dojox.Grid Custom Sort Test
            -
            -Column 3's data field has a custom sorter that sorts by the 2nd letter in the string. -

            -
            - - diff --git a/includes/js/dojox/grid/tests/test_dojo_data_edit.html b/includes/js/dojox/grid/tests/test_dojo_data_edit.html deleted file mode 100644 index 7c9bc5c..0000000 --- a/includes/js/dojox/grid/tests/test_dojo_data_edit.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - Test dojox.Grid Editing with DojoData model - - - - - - - - -

            - dojox.Grid Basic Editing test -

            -
            -     -     -     - -     - -     - - -     - -     -   -
            - - - - -
            -
            - - -
            -
            - - - - - diff --git a/includes/js/dojox/grid/tests/test_dojo_data_empty.html b/includes/js/dojox/grid/tests/test_dojo_data_empty.html deleted file mode 100644 index 3096491..0000000 --- a/includes/js/dojox/grid/tests/test_dojo_data_empty.html +++ /dev/null @@ -1,63 +0,0 @@ - - - -dojox.Grid with Dojo.Data via binding - - - - - - - -
            dojox.Grid using initially-empty Dojo.Data write stores and then adding an item. Item should show up correctly (no "?"s) when added.
            -
            - - -
            -
            - - - \ No newline at end of file diff --git a/includes/js/dojox/grid/tests/test_dojo_data_model.html b/includes/js/dojox/grid/tests/test_dojo_data_model.html deleted file mode 100644 index fb8e200..0000000 --- a/includes/js/dojox/grid/tests/test_dojo_data_model.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - dojox.Grid with Dojo.Data via binding - - - - - - - -
            dojox.Grid using Dojo.Data stores via simple binding
            - - - - -
            -
            - - - - - -
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_dojo_data_model_EmptyResultSet.html b/includes/js/dojox/grid/tests/test_dojo_data_model_EmptyResultSet.html deleted file mode 100644 index 8a9048a..0000000 --- a/includes/js/dojox/grid/tests/test_dojo_data_model_EmptyResultSet.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - dojox.Grid with Dojo.Data via binding - - - - - - - -
            dojox.Grid using Dojo.Data stores where a query returns no results. No errors should be reported in Firebug and the grid should be empty
            -
            - - - - -
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_dojo_data_model_multiStores.html b/includes/js/dojox/grid/tests/test_dojo_data_model_multiStores.html deleted file mode 100644 index 46554e3..0000000 --- a/includes/js/dojox/grid/tests/test_dojo_data_model_multiStores.html +++ /dev/null @@ -1,291 +0,0 @@ - - - - dojox.Grid with Dojo.Data via binding. Multiple Store implementations. - - - - - - - - -

            dojox.Grid using Dojo.Data stores via simple binding with multiple store implementations.

            -

            - This page demonstrates the Grid can display data accessed by dojo.data implementing Datastores. - Each of the datastores used stores data in a different format, and as this test and demonstration - page shows, the logic for rendering the data is virtually identical. You define your source store, - you define the model for accessing the data, which is ij this case the dojox.grid.data.DojoData model - and then you define the layout, which maps the data attribute names to columns in the grid. You can - even perform cusomization of what is displayed, as demonstrated in the dojox.data.FlickrStore layout. - The image url is displayed as a clickable link that opens a new page. -

            -

            - The choice of stores used were ones that did not require back end services to function for sake of - simplicity. There is no reason that dojox.data.QueryReadStore could not be used with grid as well, - it just requires a back end service to send it the query results. -

            -

            Stores used:

            -
              -
            • dojo.data.ItemFileReadStore
            • -
            • dojox.data.CvsStore
            • -
            • dojox.data.XmlStore
            • -
            • dojox.data.FlickrStore
            • -
            • dojox.data.OpmlStore
            • -
            • dojox.data.HtmlTableStore
            • -
            - -

            dojo.data.ItemFileReadStore:

            - Displays a list of countries through ItemFileReadStore format. - - - - -
            -
            - - -

            dojox.data.CsvStore:

            - Displays a list of movies that were stored in CSV format. - - - - -
            - -
            - -

            dojox.data.XmlStore:

            - Displays a list of books that were stored in XML format. - - - - -
            -
            - - -

            dojox.data.FlickrStore:

            - Displays Flickr imformation on 3DNY (Dojo Developer Days, New York) from the flickr public photo feed, accessed via the FlickrStore dojo.data implementation. - - - - -
            -
            - - -

            dojox.data.OpmlStore:

            - Scans an Opml based document for all items of type 'country' - - - - -
            -
            - - -

            dojox.data.HtmlStore:

            - Loads the grid from an HTML Table. - - - - -
            -
            - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/includes/js/dojox/grid/tests/test_dojo_data_model_processError.html b/includes/js/dojox/grid/tests/test_dojo_data_model_processError.html deleted file mode 100644 index 4130043..0000000 --- a/includes/js/dojox/grid/tests/test_dojo_data_model_processError.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - dojox.Grid with Dojo.Data model with trapping of data store errors. - - - - - - - - -

            dojox.Grid using Dojo.Data stores via simple binding

            - -

            dojox.data.CsvStore:

            . - This grid does not load data. The data store references a non-existent URL on purpose. It should trigger a failure that we catch and display in an alert - - - - - - -
            -
            - - - - diff --git a/includes/js/dojox/grid/tests/test_dojo_data_notification.html b/includes/js/dojox/grid/tests/test_dojo_data_notification.html deleted file mode 100644 index f44c987..0000000 --- a/includes/js/dojox/grid/tests/test_dojo_data_notification.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - dojox.Grid with Dojo.Data via binding - - - - - - - -

            dojox.Grid using Dojo.Data stores via simple binding

            - -
            -

            Update some of the types

            - - - - - - - -
            -
            - -
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_edit.html b/includes/js/dojox/grid/tests/test_edit.html deleted file mode 100644 index 7ae1fdb..0000000 --- a/includes/js/dojox/grid/tests/test_edit.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - -Test dojox.Grid Editing - - - - - - - - - - - - - - - - - - - - - - - - - - -

            - dojox.Grid Basic Editing test -

            -
            -     - -     - -     - -     -   -
            -
            -
            -
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_edit_canEdit.html b/includes/js/dojox/grid/tests/test_edit_canEdit.html deleted file mode 100644 index ed4e919..0000000 --- a/includes/js/dojox/grid/tests/test_edit_canEdit.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - -Test dojox.Grid Editing - - - - - - - - - - - - - - - - - - - - - - - - - - -

            - dojox.Grid Basic Editing test -

            -
            -     - -     - -     - -     -   -
            -
            -
            -
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_edit_dijit.html b/includes/js/dojox/grid/tests/test_edit_dijit.html deleted file mode 100644 index 484c7e5..0000000 --- a/includes/js/dojox/grid/tests/test_edit_dijit.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - Test dojox.Grid Editing - - - - - - -

            dojox.Grid Basic Editing test

            -
            -
            - - - - - - - - -
            -
            -
            -
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_events.html b/includes/js/dojox/grid/tests/test_events.html deleted file mode 100644 index 8ea61a4..0000000 --- a/includes/js/dojox/grid/tests/test_events.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - Test dojox.Grid Events - - - - - - - -

            dojox.Grid Event Tracking

            -
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_expand.html b/includes/js/dojox/grid/tests/test_expand.html deleted file mode 100644 index 220c2a8..0000000 --- a/includes/js/dojox/grid/tests/test_expand.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - Test dojox.Grid Expand Rows - - - - - - - -
            dojox.Grid Expand Row Example
            - -
            - - - diff --git a/includes/js/dojox/grid/tests/test_grid.html b/includes/js/dojox/grid/tests/test_grid.html deleted file mode 100644 index 59d18dc..0000000 --- a/includes/js/dojox/grid/tests/test_grid.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - Test dojox.Grid Basic - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            dojox.Grid Basic Test
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_grid_dlg.html b/includes/js/dojox/grid/tests/test_grid_dlg.html deleted file mode 100644 index 7479e15..0000000 --- a/includes/js/dojox/grid/tests/test_grid_dlg.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - Test dojox.Grid Basic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            dojox.Grid Basic Test
            - -
            - - - -
            -
            - - - diff --git a/includes/js/dojox/grid/tests/test_grid_headerHeight.html b/includes/js/dojox/grid/tests/test_grid_headerHeight.html deleted file mode 100644 index b9960c4..0000000 --- a/includes/js/dojox/grid/tests/test_grid_headerHeight.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - Test dojox.Grid Basic - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            dojox.Grid Basic Test
            -
            -

            -
            - - diff --git a/includes/js/dojox/grid/tests/test_grid_layout.html b/includes/js/dojox/grid/tests/test_grid_layout.html deleted file mode 100644 index 148025d..0000000 --- a/includes/js/dojox/grid/tests/test_grid_layout.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - dojox.Grid in Layout Demo - - - - - - - - - - -
            -
            - top bar -
            -
            - bottom bar -
            -
            -
            - Left side -
            - -
            -
            -
            -
            -
            -
            -
            -
            -
            -
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_grid_layout_LayoutContainer.html b/includes/js/dojox/grid/tests/test_grid_layout_LayoutContainer.html deleted file mode 100644 index 4cf12ac..0000000 --- a/includes/js/dojox/grid/tests/test_grid_layout_LayoutContainer.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - dojox.Grid in Layout Demo - - - - - - - - - - -
            - -
            - top bar -
            -
            - bottom bar -
            - -
            - - -
            - - diff --git a/includes/js/dojox/grid/tests/test_grid_layout_borderContainer.html b/includes/js/dojox/grid/tests/test_grid_layout_borderContainer.html deleted file mode 100644 index 8f0d8d7..0000000 --- a/includes/js/dojox/grid/tests/test_grid_layout_borderContainer.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - Test dojox.Grid Editing - - - - - - - - -
            - -
            - -
            - - - - - - - - -
            -
            - -
            -
            -
            - -
            - - - diff --git a/includes/js/dojox/grid/tests/test_grid_object_model_change.html b/includes/js/dojox/grid/tests/test_grid_object_model_change.html deleted file mode 100644 index 54c6808..0000000 --- a/includes/js/dojox/grid/tests/test_grid_object_model_change.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - Test dojox.grid.data.Objects model change - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            dojox.grid.data.Objects model change
            -
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_grid_programmatic.html b/includes/js/dojox/grid/tests/test_grid_programmatic.html deleted file mode 100644 index fe0794f..0000000 --- a/includes/js/dojox/grid/tests/test_grid_programmatic.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - Test dojox.Grid Programmatic Instantiation - - - - - - - - -
            dojox.Grid Programmatic Instantiation Test
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_grid_programmatic_layout.html b/includes/js/dojox/grid/tests/test_grid_programmatic_layout.html deleted file mode 100644 index b55d975..0000000 --- a/includes/js/dojox/grid/tests/test_grid_programmatic_layout.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - Test dojox.Grid Programmatic Instantiation - - - - - - - - -
            dojox.Grid Programmatic Instantiation Test
            -
            -
            - ... stuff ... -
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_grid_rtl.html b/includes/js/dojox/grid/tests/test_grid_rtl.html deleted file mode 100644 index c1b253d..0000000 --- a/includes/js/dojox/grid/tests/test_grid_rtl.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - Test dojox.Grid Basic - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            dojox.Grid Basic Test
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_grid_themes.html b/includes/js/dojox/grid/tests/test_grid_themes.html deleted file mode 100644 index e0f80f6..0000000 --- a/includes/js/dojox/grid/tests/test_grid_themes.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - dojox.Grid themes - - - - - - - -
            dojox.grid.Grid structure from markup (tundra theme)
            - - - - - - - - - - - - - - -
            Title of MovieYear
            Producer
            - - - -
            Locked views specified with tables and colgroups (soria theme)
            - - - - - - - - - - - - - - - -
            Country/Continent NamePopulationLand MassTime ZoneType
            - -
            A "regular" Grid from markup (no table defintion, nihilo theme)
            - - - - -
            -
            - - - diff --git a/includes/js/dojox/grid/tests/test_grid_tooltip_menu.html b/includes/js/dojox/grid/tests/test_grid_tooltip_menu.html deleted file mode 100644 index 52c7726..0000000 --- a/includes/js/dojox/grid/tests/test_grid_tooltip_menu.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - Test dojox.Grid Basic - - - - - - - - - - - -
            dojox.Grid Basic Test
            -

            -    -   
            - Note: when the grid menu is disabled, the document's dijit context menu should be shown over the grid. -

            -
            - - diff --git a/includes/js/dojox/grid/tests/test_keyboard.html b/includes/js/dojox/grid/tests/test_keyboard.html deleted file mode 100644 index 69d4046..0000000 --- a/includes/js/dojox/grid/tests/test_keyboard.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - Test dojox.Grid Basic - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            dojox.Grid Basic Test
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_markup.html b/includes/js/dojox/grid/tests/test_markup.html deleted file mode 100644 index 7c57710..0000000 --- a/includes/js/dojox/grid/tests/test_markup.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - dojox.Grid with Dojo.Data via binding - - - - - - -
            dojox.grid.Grid structure from markup
            - - - - - - - - - - - - - -
            Title of MovieYear
            Producer
            - - - - -
            Locked views specified with tables and colgroups
            - - - - - - - - - - - - - -
            Country/Continent NamePopulationLand MassTime ZoneType
            - -
            A "regular" Grid from markup (no table defintion)
            - - - -
            -
            - - - diff --git a/includes/js/dojox/grid/tests/test_mysql_edit.html b/includes/js/dojox/grid/tests/test_mysql_edit.html deleted file mode 100644 index dd6a762..0000000 --- a/includes/js/dojox/grid/tests/test_mysql_edit.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - dojox.Grid Test: Mysql Table Editing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

            dojox.Grid Test: Mysql Table Editing

            -
            -    -    -    -    - -

            -
            -
            -

            Note: This test requires MySql and PHP and works with the database table available in support/testtbl.sql.

            - - diff --git a/includes/js/dojox/grid/tests/test_sizing.html b/includes/js/dojox/grid/tests/test_sizing.html deleted file mode 100644 index fdd0897..0000000 --- a/includes/js/dojox/grid/tests/test_sizing.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - dojox.Grid Sizing Example - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            dojox.Grid Sizing Test
            - Grid width:   - and height:   -

            -   -   - -

            -
            - -

            Grid fits to a sized container by default:

            -
            -
            -
            - -

            Grid is essentially hidden (height of zero) when parent container is unsized - (nothing, including the header, should be displayed):

            -
            -
            -
            - -

            Grid is autoHeight and autoWidth via markup

            -
            - - diff --git a/includes/js/dojox/grid/tests/test_sizing_100rows.html b/includes/js/dojox/grid/tests/test_sizing_100rows.html deleted file mode 100644 index 4ea1aa3..0000000 --- a/includes/js/dojox/grid/tests/test_sizing_100rows.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - dojox.Grid Sizing Example - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            dojox.Grid Sizing Test
            - Grid width:   - and height:   -

            -   -   - -

            -
            - -

            Grid fits to a sized container by default:

            -
            -
            -
            - -

            Grid is essentially hidden (height of zero) when parent container is unsized - (nothing, including the header, should be displayed):

            -
            -
            -
            - -

            Grid is autoHeight and autoWidth via markup

            -
            - - diff --git a/includes/js/dojox/grid/tests/test_sizing_ResizeHandle.html b/includes/js/dojox/grid/tests/test_sizing_ResizeHandle.html deleted file mode 100644 index d6809df..0000000 --- a/includes/js/dojox/grid/tests/test_sizing_ResizeHandle.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - dojox.Grid Sizing Example - - - - - - - - -
            dojox.Grid Sizing Test w/ the experimental dojox.layout.ResizeHandle
            - -

            While this test should work, dojox.layout.ResizeHandle is experimental.

            - -
            -
            -
            -
            - -

            Grid fits to a sized container by default:

            -
            -
            -
            -
            - -

            I am here to take up

            - -

            space

            - -

            as much as needed.

            - - - diff --git a/includes/js/dojox/grid/tests/test_styling.html b/includes/js/dojox/grid/tests/test_styling.html deleted file mode 100644 index 5671f50..0000000 --- a/includes/js/dojox/grid/tests/test_styling.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - dojox.Grid Styling Test - - - - - - - - -
            dojox.Grid Styling Example
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_subgrid.html b/includes/js/dojox/grid/tests/test_subgrid.html deleted file mode 100644 index 4e5b8cd..0000000 --- a/includes/js/dojox/grid/tests/test_subgrid.html +++ /dev/null @@ -1,179 +0,0 @@ - - - -dojox.Grid Subgrid Test - - - - - - - - - -
            dojox.Grid showing sub-grid.
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_tundra_edit.html b/includes/js/dojox/grid/tests/test_tundra_edit.html deleted file mode 100644 index 0aa2eeb..0000000 --- a/includes/js/dojox/grid/tests/test_tundra_edit.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - Test dojox.Grid Editing - - - - - - -

            dojox.Grid Basic Editing test

            -
            -
            - - - - - - - - -
            -
            -
            -
            -
            - - diff --git a/includes/js/dojox/grid/tests/test_yahoo_images.html b/includes/js/dojox/grid/tests/test_yahoo_images.html deleted file mode 100644 index fbab070..0000000 --- a/includes/js/dojox/grid/tests/test_yahoo_images.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - dojox.Grid - Image Search Test - - - - - - - - -
            dojox.Grid - Image Search Test
            - - -
            -
            -
            -
            -
            -
            -
            -
            -
            -

            -

            Note: requires PHP for proxy.

            - - diff --git a/includes/js/dojox/grid/tests/test_yahoo_search.html b/includes/js/dojox/grid/tests/test_yahoo_search.html deleted file mode 100644 index 063c289..0000000 --- a/includes/js/dojox/grid/tests/test_yahoo_search.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - dojox.Grid - Yahoo Search Test - - - - - - - - -
            dojox.Grid - Yahoo Search Test
            -
            -    - -
            -   -

            -
            -
            -
            -
            -
            -
            -
            -
            -
            -

            -

            Note: requires PHP for proxy.

            - - diff --git a/includes/js/dojox/grid/tests/yahooSearch.js b/includes/js/dojox/grid/tests/yahooSearch.js deleted file mode 100644 index 1d57a8e..0000000 --- a/includes/js/dojox/grid/tests/yahooSearch.js +++ /dev/null @@ -1,137 +0,0 @@ -dojo.require("dojo.io.script") -dojo.require("dojox.rpc.Service"); - -// model that works with Yahoo Search API -dojo.declare("dojox.grid.data.yahooSearch", dojox.grid.data.Dynamic, { - constructor: function(inFields, inData, inSearchNode){ - this.rowsPerPage = 20; - this.searchNode = inSearchNode; - this.fieldNames = dojo.map(inFields, "return item.name;"); - this.yahoo = new dojox.rpc.Service( - dojo.moduleUrl("dojox.rpc.SMDLibrary", "yahoo.smd") - ); - }, - // server send / receive - send: function(inAsync, inParams, inOnReceive, inOnError){ - var d = this.yahoo.imageSearch( - dojo.mixin({ - results: this.rowsPerPage, - query: this.getQuery() - }, inParams) - ); - d.addCallbacks( - dojo.hitch(this, "receive", inOnReceive, inOnError), - dojo.hitch(this, "error", inOnError) - ); - this.onSend(inParams); - return d; - }, - receive: function(inOnReceive, inOnError, inData){ - try{ - inData = inData.ResultSet; - inOnReceive(inData); - this.onReceive(inData); - }catch(e){ - if(inOnError){ - inOnError(inData); - } - } - }, - error: function(inOnError, inErr) { - var m = 'io error: ' + inErr.message; - alert(m); - if (inOnError) - inOnError(m); - }, - encodeParam: function(inName, inValue) { - return dojo.string.substitute('&${0}=${1}', [inName, inValue]); - }, - getQuery: function(){ - return dojo.byId(this.searchNode).value.replace(/ /g, '+'); - }, - fetchRowCount: function(inCallback){ - this.send(true, inCallback); - }, - // request data - requestRows: function(inRowIndex, inCount){ - inRowIndex = (inRowIndex == undefined ? 0 : inRowIndex); - var params = { - start: inRowIndex + 1 - } - this.send(true, params, dojo.hitch(this, this.processRows)); - }, - // server callbacks - processRows: function(inData){ - for(var i=0, l=inData.totalResultsReturned, s=inData.firstResultPosition; i${text}', - { href: inData, text: text } - ); -}; - -formatImage = function(inData, inRowIndex){ - if(!inData){ return ' '; } - var info = getCellData(this, inRowIndex, this.extraField); - var o = { - href: inData, - src: info.Url, - width: info.Width, - height: info.Height - } - return dojo.string.substitute( - '', o); -}; - -formatDate = function(inDatum, inRowIndex){ - if(!inDatum){ return ' '; } - var d = new Date(inDatum * 1000); - return dojo.string.substitute( - "${0}/${1}/${2}", - [ d.getMonth()+1, d.getDate(), d.getFullYear() ] - ); -}; - -formatDimensions = function(inData, inRowIndex){ - if(!inData){ return ' '; } - var w = inData, h = getCellData(this, inRowIndex, this.extraField); - return w + ' x ' + h; -} diff --git a/includes/js/dojox/help/README b/includes/js/dojox/help/README deleted file mode 100644 index 00a69a8..0000000 --- a/includes/js/dojox/help/README +++ /dev/null @@ -1,35 +0,0 @@ -------------------------------------------------------------------------------- -dojox.help -------------------------------------------------------------------------------- -Version 0.0 -Release date: 3/13/2008 -------------------------------------------------------------------------------- -Project state: -experimental -------------------------------------------------------------------------------- -Credits - Neil Roberts (pottedmeat@dojotoolkit.org) - Wolfram Kriesing (wolfram@kriesing.de) -------------------------------------------------------------------------------- -Project description - -Provide functionality for quick access to available documentation while -working in the browser. -------------------------------------------------------------------------------- -Dependencies: - -dojo -dojox.rpc -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/help/* - -Install into the following directory structure: -/dojox/help/ - -...which should be at the same level as your Dojo checkout. - -And run: dojo.require("dojox.help.console") in your console -------------------------------------------------------------------------------- diff --git a/includes/js/dojox/help/_base.js b/includes/js/dojox/help/_base.js deleted file mode 100644 index 109f3ca..0000000 --- a/includes/js/dojox/help/_base.js +++ /dev/null @@ -1,473 +0,0 @@ -if(!dojo._hasResource["dojox.help._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.help._base"] = true; -dojo.provide("dojox.help._base"); -dojo.require("dojox.rpc.Service"); -dojo.require("dojo.io.script"); - -dojo.experimental("dojox.help"); -console.warn("Script causes side effects (on numbers, strings, and booleans). Call dojox.help.noConflict() if you plan on executing code."); - -dojox.help = { - // summary: - // Adds the help function to all variables. - locate: function(/*String*/ searchFor, /*String|Object|String[]|Object[]*/ searchIn, /*Number*/ maxResults){ - // summary: - // Search for dojo functionality that has something to do with the given string. - // description: - // Search for locally available data; variable names and any cached - // documentation results for matches containing our search parameter - // searchFor - // The string to search for. - // searchIn: - // The namespaces to search in. Defaults to dojox.help._namespaces - // maxResults: - // The maximum number of results. - maxResults = maxResults || 20; - var namespaces = []; - var roots = {}; - var root; - if(searchIn){ - if(!dojo.isArray(searchIn)){ - searchIn = [searchIn]; - } - for(var i = 0, namespace; namespace = searchIn[i]; i++){ - root = namespace; - if(dojo.isString(namespace)){ - namespace = dojo.getObject(namespace); - if(!namespace){ - continue; - } - }else if(dojo.isObject(namespace)){ - root = namespace.__name__; - }else{ - continue; - } - // Add to a list of namespace objects (in object form) - namespaces.push(namespace); - if(root){ - root = root.split(".")[0]; - if(!roots[root] && dojo.indexOf(dojox.help._namespaces, root) == -1){ - // Refresh anything that's not part of our global namespace list - dojox.help.refresh(root); - } - roots[root] = true; - } - } - } - if(!namespaces.length){ - namespaces.push({ __name__: "window" }); - dojo.forEach(dojox.help._namespaces, function(item){ roots[item] = true; }); - } - - var found = []; - out: - for(var i = 0, namespace; namespace = namespaces[i]; i++){ - var name = namespace.__name__ || ""; - var shorter = dojo.some(namespaces, function(item){ - // Return true if we find a namespace below - // the current namespace - item = item.__name__ || ""; - return (name.indexOf(item + ".") == 0); - }); - if(name && !shorter){ - root = name.split(".")[0]; - var names = []; - if(name == "window"){ - for(root in dojox.help._names){ - if(dojo.isArray(dojox.help._names[root])){ - names = names.concat(dojox.help._names[root]); - } - } - }else{ - names = dojox.help._names[root]; - } - for(var j = 0, variable; variable = names[j]; j++){ - if((name == "window" || variable.indexOf(name + ".") == 0) && variable.toLowerCase().indexOf(searchFor) != -1){ - if(variable.slice(-10) == ".prototype"){ continue; } - var obj = dojo.getObject(variable); - if(obj){ - found.push([variable, obj]); - if(found.length == maxResults){ - break out; - } - } - } - } - } - } - - dojox.help._displayLocated(found); - if(!+dojo.isFF){ - return ""; - } - }, - refresh: function(/*String?*/ namespace, /*Boolean?*/ recursive){ - // summary: - // Useful if you reset some values, and want to restore their - // help function - // namespace: - // The string-representation of a namespace. - // recursive: - // Whether to recurse through the namespace. - if(arguments.length < 2){ - recursive = true; - } - dojox.help._recurse(namespace, recursive); - }, - noConflict: function(/*Object?*/ item){ - // summary: - // Use this function when you want to resolve the problems - // created by including a dojox.help package. - // item: - // If you pass an item, only that item will be cleaned - if(arguments.length){ - return dojox.help._noConflict(item); - }else{ - while(dojox.help._overrides.length){ - var override = dojox.help._overrides.pop(); - var parent = override[0]; - var key = override[1]; - var child = parent[key]; - parent[key] = dojox.help._noConflict(child); - } - } - }, - init: function(/*String[]*/ namespaces, /*Boolen?*/ noConflict){ - // summary: - // Should be called by one of the implementations. Runs startup code - // namespaces: - // Any namespaces to add to the default (dojox.help._namespaces) - // noConflict: - // Whether to start in noConflict mode - if(namespaces){ - dojox.help._namespaces.concat(namespaces); - } - dojo.addOnLoad(function(){ - dojo.require = (function(require){ - return function(){ - dojox.help.noConflict(); - require.apply(dojo, arguments); - if(dojox.help._timer){ - clearTimeout(dojox.help._timer); - } - dojox.help._timer = setTimeout(function(){ - dojo.addOnLoad(function(){ - dojox.help.refresh(); - dojox.help._timer = false; - }); - }, 500); - } - })(dojo.require); - - dojox.help._recurse(); - }); - }, - _noConflict: function(item){ - if(item instanceof String){ - return item.toString(); - }else if(item instanceof Number){ - return +item; - }else if(item instanceof Boolean){ - return (item == true); - }else if(dojo.isObject(item)){ - delete item.__name__; - delete item.help; - } - return item; - }, - _namespaces: ["dojo", "dojox", "dijit", "djConfig"], - _rpc: new dojox.rpc.Service(dojo.moduleUrl("dojox.rpc", "documentation.smd")), - _attributes: ["summary", "type", "returns", "parameters"], - _clean: function(self){ - var obj = {}; - for(var i = 0, attribute; attribute = dojox.help._attributes[i]; i++){ - var value = self["__" + attribute + "__"]; - if(value){ - obj[attribute] = value; - } - } - return obj; - }, - _displayLocated: function(located){ - // summary: - // Stub function to be overridden in one of the dojox.help packages - throw new Error("_displayLocated should be overridden in one of the dojox.help packages"); - }, - _displayHelp: function(loading, obj){ - // summary: - // Stub function to be overridden in one of the dojox.help packages - throw new Error("_displayHelp should be overridden in one of the dojox.help packages"); - }, - _addVersion: function(obj){ - if(obj.name){ - obj.version = [dojo.version.major, dojo.version.minor, dojo.version.patch].join("."); - var parts = obj.name.split("."); - if(parts[0] == "dojo" || parts[0] == "dijit" || parts[0] == "dojox"){ - obj.project = parts[0]; - } - } - return obj; - }, - _stripPrototype: function(original){ - var name = original.replace(/\.prototype(\.|$)/g, "."); - var search = name; - if(name.slice(-1) == "."){ - search = name = name.slice(0, -1); - }else{ - name = original; - } - return [search, name]; - }, - _help: function(){ - var name = this.__name__; - var search = dojox.help._stripPrototype(name)[0]; - var attributes = []; - for(var i = 0, attribute; attribute = dojox.help._attributes[i]; i++){ - if(!this["__" + attribute + "__"]){ - attributes.push(attribute); - } - } - - dojox.help._displayHelp(true, { name: this.__name__ }); - - if(!attributes.length || this.__searched__){ - dojox.help._displayHelp(false, dojox.help._clean(this)); - }else{ - this.__searched__ = true; - dojox.help._rpc.get(dojox.help._addVersion({ - name: search, - exact: true, - attributes: attributes - })).addCallback(this, function(data){ - if(this.toString === dojox.help._toString){ - this.toString(data); - } - if(data && data.length){ - data = data[0]; - for(var i = 0, attribute; attribute = dojox.help._attributes[i]; i++){ - if(data[attribute]){ - this["__" + attribute + "__"] = data[attribute]; - } - } - dojox.help._displayHelp(false, dojox.help._clean(this)); - }else{ - dojox.help._displayHelp(false, false); - } - }); - } - if(!+dojo.isFF){ - return ""; - } - }, - _parse: function(data){ - delete this.__searching__; - if(data && data.length){ - var parameters = data[0].parameters; - - if(parameters){ - var signature = ["function ", this.__name__, "("]; - this.__parameters__ = parameters; - for(var i = 0, parameter; parameter = parameters[i]; i++){ - if(i){ - signature.push(", "); - } - signature.push(parameter.name); - if(parameter.types){ - var types = []; - for(var j = 0, type; type = parameter.types[j]; j++){ - types.push(type.title); - } - if(types.length){ - signature.push(": "); - signature.push(types.join("|")); - } - } - if(parameter.repeating){ - signature.push("..."); - } - if(parameter.optional){ - signature.push("?"); - } - } - signature.push(")"); - - this.__source__ = this.__source__.replace(/function[^\(]*\([^\)]*\)/, signature.join("")); - } - - if(this.__output__){ - delete this.__output__; - console.log(this); - } - }else{ - dojox.help._displayHelp(false, false); - } - }, - _toStrings: {}, - _toString: function(data){ - if(!this.__source__){ - return this.__name__; - } - - var first = (!this.__parameters__); - this.__parameters__ = []; - - if(data){ - dojox.help._parse.call(this, data); - }else if(first){ - this.__searching__ = true; - dojox.help._toStrings[dojox.help._stripPrototype(this.__name__)[0]] = this; - if(dojox.help._toStringTimer){ - clearTimeout(dojox.help._toStringTimer); - } - dojox.help._toStringTimer = setTimeout(function(){ dojox.help.__toString(); }, 50); - } - - if(!first || !this.__searching__){ - return this.__source__; - } - - var message = "function Loading info for " + this.__name__ + "... (watch console for result) {}"; - - if(!+dojo.isFF){ - this.__output__ = true; - return message; - } - - return { - toString: dojo.hitch(this, function(){ - // Detect if this was called by Firebug - this.__output__ = true; - return message; - }) - }; - }, - __toString: function(){ - if(dojox.help._toStringTimer){ - clearTimeout(dojox.help._toStringTimer); - } - - var names = []; - dojox.help.noConflict(dojox.help._toStrings); - for(var name in dojox.help._toStrings){ - names.push(name); - } - while(names.length){ - dojox.help._rpc.batch(dojox.help._addVersion({ - names: names.splice(-50, 50), - exact: true, - attributes: ["parameters"] - })).addCallback(this, function(datas){ - for(var i = 0, data; data = datas[i]; i++){ - fn = dojox.help._toStrings[data.name]; - if(fn){ - dojox.help._parse.call(fn, [data]); - delete dojox.help._toStrings[data.name]; - } - } - }); - } - }, - _overrides: [], - _recursions: [], - _names: {}, - _recurse: function(/*String?*/ namespace, /*Boolean?*/ recursive){ - if(arguments.length < 2){ - recursive = true; - } - - var items = []; - - if(namespace && dojo.isString(namespace)){ - dojox.help.__recurse(dojo.getObject(namespace), namespace, namespace, items, recursive); - }else{ - for(var i = 0, namespace; namespace = dojox.help._namespaces[i]; i++){ - if(window[namespace]){ - dojox.help._recursions.push([window[namespace], namespace, namespace]); - window[namespace].__name__ = namespace; - if(!window[namespace].help){ - window[namespace].help = dojox.help._help; - } - } - } - } - - while(dojox.help._recursions.length){ - var recursion = dojox.help._recursions.shift(); - dojox.help.__recurse(recursion[0], recursion[1], recursion[2], items, recursive); - } - - for(var i = 0, item; item = items[i]; i++){ - delete item.__seen__; - } - }, - __recurse: function(namespace, root, name, items, recursive){ - for(var key in namespace){ - if(key.match(/([^\w_.$]|__[\w_.$]+__)/)){ - continue; - } - - var item = namespace[key]; - if(typeof item == "undefined" - || item === document - || item === window - || item === dojox.help._toString - || item === dojox.help._help - || item === null - || (+dojo.isIE && item.tagName) - || item.__seen__ - ) { - continue; - } - - var isFunction = dojo.isFunction(item); - var isObject = dojo.isObject(item) && !dojo.isArray(item) && !item.nodeType; - - var itemName = (name) ? (name + "." + key) : key; - - if(itemName == "dojo._blockAsync"){ - continue; - } - - if(!item.__name__){ - var parent = null; - if(dojo.isString(item)){ - parent = String; - }else if(typeof item == "number"){ - parent = Number; - }else if(typeof item == "boolean"){ - parent = Boolean; - } - if(parent){ - item = namespace[key] = new parent(item); - } - } - - item.__seen__ = true; - item.__name__ = itemName; - (dojox.help._names[root] = dojox.help._names[root] || []).push(itemName); - items.push(item); - if(!isFunction){ - dojox.help._overrides.push([namespace, key]); - } - - if((isFunction || isObject) && recursive){ - dojox.help._recursions.push([item, root, itemName]); - } - - if(isFunction){ - if(!item.__source__){ - item.__source__ = item.toString().replace(/^function\b ?/, "function " + itemName); - } - if(item.toString === Function.prototype.toString){ - item.toString = dojox.help._toString; - } - } - - if(!item.help){ - item.help = dojox.help._help; - } - } - } -}; - -} diff --git a/includes/js/dojox/help/console.js b/includes/js/dojox/help/console.js deleted file mode 100644 index 8474a5a..0000000 --- a/includes/js/dojox/help/console.js +++ /dev/null @@ -1,80 +0,0 @@ -if(!dojo._hasResource["dojox.help.console"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.help.console"] = true; -dojo.provide("dojox.help.console"); -dojo.require("dojox.help._base"); - -dojo.mixin(dojox.help, { - _plainText: function(str){ - return str.replace(/(<[^>]*>|&[^;]{2,6};)/g, ''); - }, - _displayLocated: function(located){ - var obj = {}; - dojo.forEach(located, function(item){ obj[item[0]] = (+dojo.isFF) ? { toString: function(){ return "Click to view"; }, item: item[1] } : item[1]; }); - console.dir(obj); - }, - _displayHelp: function(loading, obj){ - if(loading){ - var message = "Help for: " + obj.name; - console.log(message); - var underline = ""; - for(var i = 0; i < message.length; i++){ - underline += "="; - } - console.log(underline); - }else if(!obj){ - console.log("No documentation for this object"); - }else{ - var anything = false; - for(var attribute in obj){ - var value = obj[attribute]; - if(attribute == "returns" && obj.type != "Function" && obj.type != "Constructor"){ - continue; - } - if(value && (!dojo.isArray(value) || value.length)){ - anything = true; - console.info(attribute.toUpperCase()); - value = dojo.isString(value) ? dojox.help._plainText(value) : value; - if(attribute == "returns"){ - var returns = dojo.map(value.types || [], "return item.title;").join("|"); - if(value.summary){ - if(returns){ - returns += ": "; - } - returns += dojox.help._plainText(value.summary); - } - console.log(returns || "Uknown"); - }else if(attribute == "parameters"){ - for(var j = 0, parameter; parameter = value[j]; j++){ - var type = dojo.map(parameter.types, "return item.title").join("|"); - console.log((type) ? (parameter.name + ": " + type) : parameter.name); - var summary = ""; - if(parameter.optional){ - summary += "Optional. "; - } - if(parameter.repating){ - summary += "Repeating. "; - } - summary += dojox.help._plainText(parameter.summary); - if(summary){ - summary = " - " + summary; - for(var k = 0; k < parameter.name.length; k++){ - summary = " " + summary; - } - console.log(summary); - } - } - }else{ - console.log(value); - } - } - } - if(!anything){ - console.log("No documentation for this object"); - } - } - } -}); - -dojox.help.init(); - -} diff --git a/includes/js/dojox/help/demos/demo_Console.html b/includes/js/dojox/help/demos/demo_Console.html deleted file mode 100644 index 564bb08..0000000 --- a/includes/js/dojox/help/demos/demo_Console.html +++ /dev/null @@ -1,33 +0,0 @@ - - - Simple demo of dojox.help.console - - - - -

            You'll want to open up Firebug for this

            -

            Click each of the items below to run the command: -

              -
            • dojo.require("dojox.help.console");
            • -
            • dojox.help.locate("xhr", dojo); searches variable names in the dojo namespaces for "xhr".
            • -
            • dojo.query.help(); displays help for dojo.byId
            • -
            • dojo.connect loads and displays the function signature for dojo.connect
            • -
            • dojo.isBrowser shows an example of a "conflict". It's using the Boolean object rather than the boolean generic.
            • -
            • dojox.help.noConflict(); fixes this conflict (click on dojo.isBrowser again).
            • -
            • dojox.help.refresh(); parses the page again
            • -
            • dojo.isBrowser and the conflict is back again!
            • -
            -

            - - \ No newline at end of file diff --git a/includes/js/dojox/highlight.js b/includes/js/dojox/highlight.js deleted file mode 100644 index 04e8d8d..0000000 --- a/includes/js/dojox/highlight.js +++ /dev/null @@ -1,6 +0,0 @@ -if(!dojo._hasResource["dojox.highlight"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight"] = true; -dojo.provide("dojox.highlight"); -dojo.require("dojox.highlight._base"); - -} diff --git a/includes/js/dojox/highlight/README b/includes/js/dojox/highlight/README deleted file mode 100644 index cdaed12..0000000 --- a/includes/js/dojox/highlight/README +++ /dev/null @@ -1,31 +0,0 @@ -------------------------------------------------------------------------------- -dojox.highlight -------------------------------------------------------------------------------- -Version 1.0 -Release date: 11/25/2007 -------------------------------------------------------------------------------- -Project state: -beta -------------------------------------------------------------------------------- -Credits - Ivan Sagalaev (softwaremaniacs.org) Author - Peter Higgins (dante) Dojo port -------------------------------------------------------------------------------- -Project description - -A syntax highlighting engine for the Dojo Toolkit -------------------------------------------------------------------------------- -Dependencies: - -dojo base only. -------------------------------------------------------------------------------- -Documentation - -------------------------------------------------------------------------------- -Installation instructions - -simply get the dojox/highlight folder (and dojox/highlight.js) from the -dojox SVN repository, and include in your page via - -dojo.require("dojox.highlight"); - diff --git a/includes/js/dojox/highlight/_base.js b/includes/js/dojox/highlight/_base.js deleted file mode 100644 index 46b5267..0000000 --- a/includes/js/dojox/highlight/_base.js +++ /dev/null @@ -1,406 +0,0 @@ -if(!dojo._hasResource["dojox.highlight._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight._base"] = true; -dojo.provide("dojox.highlight._base"); - -// -// dojox.highlight - syntax highlighting with language auto-detection -// released under CLA by the Dojo Toolkit -// orig BSD release available from: http://softwaremaniacs.org/soft/highlight/ -// - -(function(){ - var dh = dojox.highlight, - C_NUMBER_RE = '\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)'; - - // constants - - dh.constants = { - IDENT_RE: '[a-zA-Z][a-zA-Z0-9_]*', - UNDERSCORE_IDENT_RE: '[a-zA-Z_][a-zA-Z0-9_]*', - NUMBER_RE: '\\b\\d+(\\.\\d+)?', - C_NUMBER_RE: C_NUMBER_RE, - // Common modes - APOS_STRING_MODE: { - className: 'string', - begin: '\'', end: '\'', - illegal: '\\n', - contains: ['escape'], - relevance: 0 - }, - QUOTE_STRING_MODE: { - className: 'string', - begin: '"', - end: '"', - illegal: '\\n', - contains: ['escape'], - relevance: 0 - }, - BACKSLASH_ESCAPE: { - className: 'escape', - begin: '\\\\.', end: '^', - relevance: 0 - }, - C_LINE_COMMENT_MODE: { - className: 'comment', - begin: '//', end: '$', - relevance: 0 - }, - C_BLOCK_COMMENT_MODE: { - className: 'comment', - begin: '/\\*', end: '\\*/' - }, - HASH_COMMENT_MODE: { - className: 'comment', - begin: '#', end: '$' - }, - C_NUMBER_MODE: { - className: 'number', - begin: C_NUMBER_RE, end: '^', - relevance: 0 - } - }; - - // utilities - - function esc(value){ - return value.replace(/&/gm, '&').replace(//gm, '>'); - } - - function verifyText(block){ - return dojo.every(block.childNodes, function(node){ - return node.nodeType == 3 || String(node.nodeName).toLowerCase() == 'br'; - }); - } - - function blockText(block){ - var result = []; - dojo.forEach(block.childNodes, function(node){ - if(node.nodeType == 3){ - result.push(node.nodeValue); - }else if(String(node.nodeName).toLowerCase() == 'br'){ - result.push("\n"); - }else{ - throw 'Complex markup'; - } - }); - return result.join(""); - } - - function buildKeywordGroups(mode){ - if(!mode.keywordGroups){ - for(var key in mode.keywords){ - var kw = mode.keywords[key]; - if(kw instanceof Object){ // dojo.isObject? - mode.keywordGroups = mode.keywords; - }else{ - mode.keywordGroups = {keyword: mode.keywords}; - } - break; - } - } - } - - function buildKeywords(lang){ - if(lang.defaultMode && lang.modes){ - buildKeywordGroups(lang.defaultMode); - dojo.forEach(lang.modes, buildKeywordGroups); - } - } - - // main object - - var Highlighter = function(langName, textBlock){ - // initialize the state - this.langName = langName; - this.lang = dh.languages[langName]; - this.modes = [this.lang.defaultMode]; - this.relevance = 0; - this.keywordCount = 0; - this.result = []; - - // build resources lazily - if(!this.lang.defaultMode.illegalRe){ - this.buildRes(); - buildKeywords(this.lang); - } - - // run the algorithm - try{ - this.highlight(textBlock); - this.result = this.result.join(""); - }catch(e){ - if(e == 'Illegal'){ - this.relevance = 0; - this.keywordCount = 0; - this.result = esc(textBlock); - }else{ - throw e; - } - } - }; - - dojo.extend(Highlighter, { - buildRes: function(){ - dojo.forEach(this.lang.modes, function(mode){ - if(mode.begin){ - mode.beginRe = this.langRe('^' + mode.begin); - } - if(mode.end){ - mode.endRe = this.langRe('^' + mode.end); - } - if(mode.illegal){ - mode.illegalRe = this.langRe('^(?:' + mode.illegal + ')'); - } - }, this); - this.lang.defaultMode.illegalRe = this.langRe('^(?:' + this.lang.defaultMode.illegal + ')'); - }, - - subMode: function(lexeme){ - var classes = this.modes[this.modes.length - 1].contains; - if(classes){ - var modes = this.lang.modes; - for(var i = 0; i < classes.length; ++i){ - var className = classes[i]; - for(var j = 0; j < modes.length; ++j){ - var mode = modes[j]; - if(mode.className == className && mode.beginRe.test(lexeme)){ return mode; } - } - } - } - return null; - }, - - endOfMode: function(lexeme){ - for(var i = this.modes.length - 1; i >= 0; --i){ - var mode = this.modes[i]; - if(mode.end && mode.endRe.test(lexeme)){ return this.modes.length - i; } - if(!mode.endsWithParent){ break; } - } - return 0; - }, - - isIllegal: function(lexeme){ - var illegalRe = this.modes[this.modes.length - 1].illegalRe; - return illegalRe && illegalRe.test(lexeme); - }, - - - langRe: function(value, global){ - var mode = 'm' + (this.lang.case_insensitive ? 'i' : '') + (global ? 'g' : ''); - return new RegExp(value, mode); - }, - - buildTerminators: function(){ - var mode = this.modes[this.modes.length - 1], - terminators = {}; - if(mode.contains){ - dojo.forEach(this.lang.modes, function(lmode){ - if(dojo.indexOf(mode.contains, lmode.className) >= 0){ - terminators[lmode.begin] = 1; - } - }); - } - for(var i = this.modes.length - 1; i >= 0; --i){ - var m = this.modes[i]; - if(m.end){ terminators[m.end] = 1; } - if(!m.endsWithParent){ break; } - } - if(mode.illegal){ terminators[mode.illegal] = 1; } - var t = []; - for(i in terminators){ t.push(i); } - mode.terminatorsRe = this.langRe("(" + t.join("|") + ")"); - }, - - eatModeChunk: function(value, index){ - var mode = this.modes[this.modes.length - 1]; - - // create terminators lazily - if(!mode.terminatorsRe){ - this.buildTerminators(); - } - - value = value.substr(index); - var match = mode.terminatorsRe.exec(value); - if(!match){ - return { - buffer: value, - lexeme: "", - end: true - }; - } - return { - buffer: match.index ? value.substr(0, match.index) : "", - lexeme: match[0], - end: false - }; - }, - - keywordMatch: function(mode, match){ - var matchStr = match[0]; - if(this.lang.case_insensitive){ matchStr = matchStr.toLowerCase(); } - for(var className in mode.keywordGroups){ - if(matchStr in mode.keywordGroups[className]){ return className; } - } - return ""; - }, - - buildLexemes: function(mode){ - var lexemes = {}; - dojo.forEach(mode.lexems, function(lexeme){ - lexemes[lexeme] = 1; - }); - var t = []; - for(var i in lexemes){ t.push(i); } - mode.lexemsRe = this.langRe("(" + t.join("|") + ")", true); - }, - - processKeywords: function(buffer){ - var mode = this.modes[this.modes.length - 1]; - if(!mode.keywords || !mode.lexems){ - return esc(buffer); - } - - // create lexemes lazily - if(!mode.lexemsRe){ - this.buildLexemes(mode); - } - - mode.lexemsRe.lastIndex = 0; - var result = [], lastIndex = 0, - match = mode.lexemsRe.exec(buffer); - while(match){ - result.push(esc(buffer.substr(lastIndex, match.index - lastIndex))); - var keywordM = this.keywordMatch(mode, match); - if(keywordM){ - ++this.keywordCount; - result.push('' + esc(match[0]) + ''); - }else{ - result.push(esc(match[0])); - } - lastIndex = mode.lexemsRe.lastIndex; - match = mode.lexemsRe.exec(buffer); - } - result.push(esc(buffer.substr(lastIndex, buffer.length - lastIndex))); - return result.join(""); - }, - - processModeInfo: function(buffer, lexeme, end) { - var mode = this.modes[this.modes.length - 1]; - if(end){ - this.result.push(this.processKeywords(mode.buffer + buffer)); - return; - } - if(this.isIllegal(lexeme)){ throw 'Illegal'; } - var newMode = this.subMode(lexeme); - if(newMode){ - mode.buffer += buffer; - this.result.push(this.processKeywords(mode.buffer)); - if(newMode.excludeBegin){ - this.result.push(lexeme + ''); - newMode.buffer = ''; - }else{ - this.result.push(''); - newMode.buffer = lexeme; - } - this.modes.push(newMode); - this.relevance += typeof newMode.relevance == "number" ? newMode.relevance : 1; - return; - } - var endLevel = this.endOfMode(lexeme); - if(endLevel){ - mode.buffer += buffer; - if(mode.excludeEnd){ - this.result.push(this.processKeywords(mode.buffer) + '' + lexeme); - }else{ - this.result.push(this.processKeywords(mode.buffer + lexeme) + ''); - } - while(endLevel > 1){ - this.result.push(''); - --endLevel; - this.modes.pop(); - } - this.modes.pop(); - this.modes[this.modes.length - 1].buffer = ''; - return; - } - }, - - highlight: function(value){ - var index = 0; - this.lang.defaultMode.buffer = ''; - do{ - var modeInfo = this.eatModeChunk(value, index); - this.processModeInfo(modeInfo.buffer, modeInfo.lexeme, modeInfo.end); - index += modeInfo.buffer.length + modeInfo.lexeme.length; - }while(!modeInfo.end); - if(this.modes.length > 1){ - throw 'Illegal'; - } - } - }); - - // more utilities - - function replaceText(node, className, text){ - if(String(node.tagName).toLowerCase() == "code" && String(node.parentNode.tagName).toLowerCase() == "pre"){ - // See these 4 lines? This is IE's notion of "node.innerHTML = text". Love this browser :-/ - var container = document.createElement('div'), - environment = node.parentNode.parentNode; - container.innerHTML = '
            ' + text + '
            '; - environment.replaceChild(container.firstChild, node.parentNode); - }else{ - node.className = className; - node.innerHTML = text; - } - } - - function highlightLanguage(block, lang){ - var highlight = new Highlighter(lang, blockText(block)); - replaceText(block, block.className, highlight.result); - } - - function highlightAuto(block){ - var result = "", langName = "", bestRelevance = 2, - textBlock = blockText(block); - for(var key in dh.languages){ - if(!dh.languages[key].defaultMode){ continue; } // skip internal members - var highlight = new Highlighter(key, textBlock), - relevance = highlight.keywordCount + highlight.relevance; - if(!result || relevance > relevanceMax){ - relevanceMax = relevance; - result = highlight.result; - langName = highlight.langName; - } - } - if(result){ - replaceText(block, langName, result); - } - } - - // the public API - - dh.init = function(/* DomNode */ block){ - // summary: the main (only required) public API. highlight a node. - if(dojo.hasClass(block,"no-highlight")){ return; } - if(!verifyText(block)){ return; } - - var classes = block.className.split(/\s+/), - flag = dojo.some(classes, function(className){ - if(className.charAt(0) != "_" && dh.languages[className]){ - highlightLanguage(block, className); - return true; // stop iterations - } - return false; // continue iterations - }); - if(!flag){ - highlightAuto(block); - } - }; - - // pseudo object for markup creation - dh.Code = function(params, node){ - dh.init(node); - }; -})(); - -} diff --git a/includes/js/dojox/highlight/languages/_all.js b/includes/js/dojox/highlight/languages/_all.js deleted file mode 100644 index 5097046..0000000 --- a/includes/js/dojox/highlight/languages/_all.js +++ /dev/null @@ -1,11 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages._all"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages._all"] = true; -dojo.provide("dojox.highlight.languages._all"); - -/* groups of similar languages */ -dojo.require("dojox.highlight.languages._static"); -dojo.require("dojox.highlight.languages._dynamic"); -dojo.require("dojox.highlight.languages._www"); - - -} diff --git a/includes/js/dojox/highlight/languages/_dynamic.js b/includes/js/dojox/highlight/languages/_dynamic.js deleted file mode 100644 index a3b510b..0000000 --- a/includes/js/dojox/highlight/languages/_dynamic.js +++ /dev/null @@ -1,11 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages._dynamic"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages._dynamic"] = true; -dojo.provide("dojox.highlight.languages._dynamic"); - -/* common scripted languages */ -dojo.require("dojox.highlight.languages.python"); -// dojo.require("dojox.highlight.languages.perl"); -// dojo.require("dojox.highlight.languages.php"); -// dojo.require("dojox.highlight.languages.ruby"); - -} diff --git a/includes/js/dojox/highlight/languages/_static.js b/includes/js/dojox/highlight/languages/_static.js deleted file mode 100644 index 85212b4..0000000 --- a/includes/js/dojox/highlight/languages/_static.js +++ /dev/null @@ -1,10 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages._static"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages._static"] = true; -dojo.provide("dojox.highlight.languages._static"); - -/* common static languages */ -dojo.require("dojox.highlight.languages.cpp") -// dojo.require("dojox.highlight.languages.java"); -dojo.require("dojox.highlight.languages.delphi"); - -} diff --git a/includes/js/dojox/highlight/languages/_www.js b/includes/js/dojox/highlight/languages/_www.js deleted file mode 100644 index a04f073..0000000 --- a/includes/js/dojox/highlight/languages/_www.js +++ /dev/null @@ -1,12 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages._www"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages._www"] = true; -dojo.provide("dojox.highlight.languages._www"); - -/* common web-centric languages */ -dojo.require("dojox.highlight.languages.xml"); -dojo.require("dojox.highlight.languages.html"); -dojo.require("dojox.highlight.languages.css"); -dojo.require("dojox.highlight.languages.django"); -dojo.require("dojox.highlight.languages.javascript"); - -} diff --git a/includes/js/dojox/highlight/languages/cpp.js b/includes/js/dojox/highlight/languages/cpp.js deleted file mode 100644 index 1e9edf2..0000000 --- a/includes/js/dojox/highlight/languages/cpp.js +++ /dev/null @@ -1,53 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.cpp"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.cpp"] = true; -dojo.provide("dojox.highlight.languages.cpp"); - -dojo.require("dojox.highlight._base"); - -(function(){ - var dh = dojox.highlight, dhc = dh.constants; - dh.languages.cpp = { - // summary: C++ highlight definitions - defaultMode: { - lexems: [dhc.UNDERSCORE_IDENT_RE], - illegal: '', - contains: ['attribute', 'template_comment', 'template_tag', 'variable'] - }, - x.XML_ATTR, - h.HTML_ATTR, - { - className: 'value', - begin: '"', end: '"', - contains: ['template_comment', 'template_tag', 'variable'] - }, - h.HTML_VALUE, - { - className: 'template_comment', - begin: '\\{\\%\\s*comment\\s*\\%\\}', - end: '\\{\\%\\s*endcomment\\s*\\%\\}' - }, - { - className: 'template_comment', - begin: '\\{#', end: '#\\}' - }, - { - className: 'template_tag', - begin: '\\{\\%', end: '\\%\\}', - lexems: [dhc.IDENT_RE], - keywords: { - 'comment': 1, 'endcomment': 1, 'load': 1, - 'templatetag': 1, 'ifchanged': 1, 'endifchanged': 1, - 'if': 1, 'endif': 1, 'firstof': 1, 'for': 1, - 'endfor': 1, 'in': 1, 'ifnotequal': 1, - 'endifnotequal': 1, 'widthratio': 1, 'extends': 1, - 'include': 1, 'spaceless': 1, 'endspaceless': 1, - 'regroup': 1, 'by': 1, 'as': 1, 'ifequal': 1, - 'endifequal': 1, 'ssi': 1, 'now': 1, 'with': 1, - 'cycle': 1, 'url': 1, 'filter': 1, 'endfilter': 1, - 'debug': 1, 'block': 1, 'endblock': 1, 'else': 1 - }, - contains: ['filter'] - }, - { - className: 'variable', - begin: '\\{\\{', end: '\\}\\}', - contains: ['filter'] - }, - { - className: 'filter', - begin: '\\|[A-Za-z]+\\:?', end: '^', excludeEnd: true, - lexems: [dhc.IDENT_RE], - keywords: { - 'truncatewords': 1, 'removetags': 1, 'linebreaksbr': 1, - 'yesno': 1, 'get_digit': 1, 'timesince': 1, 'random': 1, - 'striptags': 1, 'filesizeformat': 1, 'escape': 1, - 'linebreaks': 1, 'length_is': 1, 'ljust': 1, 'rjust': 1, - 'cut': 1, 'urlize': 1, 'fix_ampersands': 1, 'title': 1, - 'floatformat': 1, 'capfirst': 1, 'pprint': 1, - 'divisibleby': 1, 'add': 1, 'make_list': 1, - 'unordered_list': 1, 'urlencode': 1, 'timeuntil': 1, - 'urlizetrunc': 1, 'wordcount': 1, 'stringformat': 1, - 'linenumbers': 1, 'slice': 1, 'date': 1, 'dictsort': 1, - 'dictsortreversed': 1, 'default_if_none': 1, - 'pluralize': 1, 'lower': 1, 'join': 1, 'center': 1, - 'default': 1, 'truncatewords_html': 1, 'upper': 1, - 'length': 1, 'phone2numeric': 1, 'wordwrap': 1, 'time': 1, - 'addslashes': 1, 'slugify': 1, 'first': 1 - }, - contains: ['argument'] - }, - { - className: 'argument', - begin: '"', end: '"' - } - ] - }; -})(); - -} diff --git a/includes/js/dojox/highlight/languages/html.js b/includes/js/dojox/highlight/languages/html.js deleted file mode 100644 index 0a6cc46..0000000 --- a/includes/js/dojox/highlight/languages/html.js +++ /dev/null @@ -1,70 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.html"] = true; -dojo.provide("dojox.highlight.languages.html"); - -dojo.require("dojox.highlight._base"); -dojo.require("dojox.highlight.languages.xml"); - -(function(){ - var HTML_TAGS = { - 'code': 1, 'kbd': 1, 'font': 1, 'noscript': 1, 'style': 1, 'img': 1, - 'title': 1, 'menu': 1, 'tt': 1, 'tr': 1, 'param': 1, 'li': 1, 'tfoot': 1, - 'th': 1, 'input': 1, 'td': 1, 'dl': 1, 'blockquote': 1, 'fieldset': 1, - 'big': 1, 'dd': 1, 'abbr': 1, 'optgroup': 1, 'dt': 1, 'button': 1, - 'isindex': 1, 'p': 1, 'small': 1, 'div': 1, 'dir': 1, 'em': 1, 'frame': 1, - 'meta': 1, 'sub': 1, 'bdo': 1, 'label': 1, 'acronym': 1, 'sup': 1, - 'body': 1, 'xml': 1, 'basefont': 1, 'base': 1, 'br': 1, 'address': 1, - 'strong': 1, 'legend': 1, 'ol': 1, 'script': 1, 'caption': 1, 's': 1, - 'col': 1, 'h2': 1, 'h3': 1, 'h1': 1, 'h6': 1, 'h4': 1, 'h5': 1, 'table': 1, - 'select': 1, 'noframes': 1, 'span': 1, 'area': 1, 'dfn': 1, 'strike': 1, - 'cite': 1, 'thead': 1, 'head': 1, 'option': 1, 'form': 1, 'hr': 1, - 'var': 1, 'link': 1, 'b': 1, 'colgroup': 1, 'ul': 1, 'applet': 1, 'del': 1, - 'iframe': 1, 'pre': 1, 'frameset': 1, 'ins': 1, 'tbody': 1, 'html': 1, - 'samp': 1, 'map': 1, 'object': 1, 'a': 1, 'xmlns': 1, 'center': 1, - 'textarea': 1, 'i': 1, 'q': 1, 'u': 1 - }; - var HTML_DOCTYPE = { - className: 'doctype', - begin: '', - relevance: 10 - }; - var HTML_ATTR = { - className: 'attribute', - begin: ' [a-zA-Z]+', end: '^' - }; - var HTML_VALUE = { - className: 'value', - begin: '[a-zA-Z0-9]+', end: '^' - }; - - var dh = dojox.highlight, dhc = dh.constants, dhl = dh.languages, x = dhl.xml; - dhl.html = { - defaultMode: { - contains: ['tag', 'comment', 'doctype'] - }, - case_insensitive: true, - modes: [ - x.XML_COMMENT, - HTML_DOCTYPE, - { - className: 'tag', - lexems: [dhc.IDENT_RE], - keywords: HTML_TAGS, - begin: '<[A-Za-z/]', end: '>', - contains: ['attribute'], - illegal: '[\\+\\.]' - }, - x.XML_ATTR, - HTML_ATTR, - x.XML_VALUE, - HTML_VALUE - ], - // exporting constants - HTML_TAGS: HTML_TAGS, - HTML_DOCTYPE: HTML_DOCTYPE, - HTML_ATTR: HTML_ATTR, - HTML_VALUE: HTML_VALUE - }; -})(); - -} diff --git a/includes/js/dojox/highlight/languages/javascript.js b/includes/js/dojox/highlight/languages/javascript.js deleted file mode 100644 index 587cb07..0000000 --- a/includes/js/dojox/highlight/languages/javascript.js +++ /dev/null @@ -1,55 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.javascript"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.javascript"] = true; -dojo.provide("dojox.highlight.languages.javascript"); - -dojo.require("dojox.highlight._base"); - -(function(){ - var dh = dojox.highlight, dhc = dh.constants; - dh.languages.javascript = { - defaultMode: { - lexems: [dhc.UNDERSCORE_IDENT_RE], - contains: ['string', 'comment', 'number', 'regexp', 'function'], - keywords: { - 'keyword': { - 'in': 1, 'if': 1, 'for': 1, 'while': 1, 'finally': 1, 'var': 1, - 'new': 1, 'function': 1, 'do': 1, 'return': 1, 'void': 1, - 'else': 1, 'break': 1, 'catch': 1, 'instanceof': 1, 'with': 1, - 'throw': 1, 'case': 1, 'default': 1, 'try': 1, 'this': 1, - 'switch': 1, 'continue': 1, 'typeof': 1, 'delete': 1 - }, - 'literal': {'true': 1, 'false': 1, 'null': 1} - } - }, - modes: [ - dhc.C_LINE_COMMENT_MODE, - dhc.C_BLOCK_COMMENT_MODE, - dhc.C_NUMBER_MODE, - dhc.APOS_STRING_MODE, - dhc.QUOTE_STRING_MODE, - dhc.BACKSLASH_ESCAPE, - { - className: 'regexp', - begin: '/.*?[^\\\\/]/[gim]*', end: '^' - }, - { - className: 'function', - begin: 'function\\b', end: '{', - lexems: [dhc.UNDERSCORE_IDENT_RE], - keywords: {'function': 1}, - contains: ['title', 'params'] - }, - { - className: 'title', - begin: dhc.UNDERSCORE_IDENT_RE, end: '^' - }, - { - className: 'params', - begin: '\\(', end: '\\)', - contains: ['string', 'comment'] - } - ] - }; -})(); - -} diff --git a/includes/js/dojox/highlight/languages/pygments/_html.js b/includes/js/dojox/highlight/languages/pygments/_html.js deleted file mode 100644 index 64b3bfa..0000000 --- a/includes/js/dojox/highlight/languages/pygments/_html.js +++ /dev/null @@ -1,25 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.pygments._html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.pygments._html"] = true; -dojo.provide("dojox.highlight.languages.pygments._html"); - -// html-related constants - -dojox.highlight.languages.pygments._html.tags = { - "code": 1, "kbd": 1, "font": 1, "noscript": 1, "style": 1, "img": 1, - "title": 1, "menu": 1, "tt": 1, "tr": 1, "param": 1, "li": 1, "tfoot": 1, - "th": 1, "input": 1, "td": 1, "dl": 1, "blockquote": 1, "fieldset": 1, - "big": 1, "dd": 1, "abbr": 1, "optgroup": 1, "dt": 1, "button": 1, - "isindex": 1, "p": 1, "small": 1, "div": 1, "dir": 1, "em": 1, "frame": 1, - "meta": 1, "sub": 1, "bdo": 1, "label": 1, "acronym": 1, "sup": 1, - "body": 1, "xml": 1, "basefont": 1, "base": 1, "br": 1, "address": 1, - "strong": 1, "legend": 1, "ol": 1, "script": 1, "caption": 1, "s": 1, - "col": 1, "h2": 1, "h3": 1, "h1": 1, "h6": 1, "h4": 1, "h5": 1, "table": 1, - "select": 1, "noframes": 1, "span": 1, "area": 1, "dfn": 1, "strike": 1, - "cite": 1, "thead": 1, "head": 1, "option": 1, "form": 1, "hr": 1, - "var": 1, "link": 1, "b": 1, "colgroup": 1, "ul": 1, "applet": 1, "del": 1, - "iframe": 1, "pre": 1, "frameset": 1, "ins": 1, "tbody": 1, "html": 1, - "samp": 1, "map": 1, "object": 1, "a": 1, "xmlns": 1, "center": 1, - "textarea": 1, "i": 1, "q": 1, "u": 1 -}; - -} diff --git a/includes/js/dojox/highlight/languages/pygments/_www.js b/includes/js/dojox/highlight/languages/pygments/_www.js deleted file mode 100644 index 648ed6e..0000000 --- a/includes/js/dojox/highlight/languages/pygments/_www.js +++ /dev/null @@ -1,12 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.pygments._www"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.pygments._www"] = true; -dojo.provide("dojox.highlight.languages.pygments._www"); - -/* common web-centric languages */ -dojo.require("dojox.highlight.languages.pygments.xml"); -dojo.require("dojox.highlight.languages.pygments.html"); -dojo.require("dojox.highlight.languages.pygments.css"); -//dojo.require("dojox.highlight.languages.pygments.django"); -dojo.require("dojox.highlight.languages.pygments.javascript"); - -} diff --git a/includes/js/dojox/highlight/languages/pygments/css.js b/includes/js/dojox/highlight/languages/pygments/css.js deleted file mode 100644 index bfb0680..0000000 --- a/includes/js/dojox/highlight/languages/pygments/css.js +++ /dev/null @@ -1,211 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.pygments.css"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.pygments.css"] = true; -dojo.provide("dojox.highlight.languages.pygments.css"); - -dojo.require("dojox.highlight._base"); -dojo.require("dojox.highlight.languages.pygments._html"); - -(function(){ - var dh = dojox.highlight, dhl = dh.languages; - dhl.css = { - defaultMode: { - lexems: ["\\b[a-zA-Z0-9]+\\b", "\\b@media\b"], - keywords: { - "keyword": { - "@media": 1 - }, - "name tag": dhl.pygments._html.tags - }, - contains: [ - "comment", - "string single", "string double", - "punctuation", - "name decorator", "name class", "name function", - "_content" - ] - }, - modes: [ - // comments - { - className: "comment", - begin: "/\\*", end: "\\*/", - relevance: 0 - }, - { - className: "comment preproc", - begin: "@[a-z][a-zA-Z]*", end: "^" - }, - { - className: "comment preproc", - begin: "\\!important\\b", end: "^" - }, - - // numbers - { - className: "number", - begin: "\\#[a-fA-F0-9]{3}\\b", end: "^", - relevance: 0 - }, - { - className: "number", - begin: "\\#[a-fA-F0-9]{6}\\b", end: "^", - relevance: 0 - }, - { - className: "number", - begin: "[\\.\\-]?[0-9]*[\\.]?[0-9]+(em|px|\\%|pt|pc|in|mm|cm|ex)", end: "^", - relevance: 0 - }, - { - className: "number", - begin: "\\-?[0-9]+", end: "^", - relevance: 0 - }, - - // strings - { - className: "string single", - begin: "'", end: "'", - illegal: "\\n", - relevance: 0 - }, - { - className: "string double", - begin: '"', - end: '"', - illegal: "\\n", - relevance: 0 - }, - - // operators - { - className: "operator", - begin: "[~\\^\\*!%&\\[\\]\\(\\)<>\\|+=@:;,./?-]", end: "^", - relevance: 0 - }, - - // punctuations - { - className: "punctuation", - begin: "[\\[\\]();]+", end: "^", - relevance: 0 - }, - - // names - { - className: "name decorator", - begin: "\\:[a-zA-Z0-9_\\-]+\\b", end: "^" - }, - { - className: "name class", - begin: "\\.[a-zA-Z0-9_\\-]+\\b", end: "^" - }, - { - className: "name function", - begin: "\\#[a-zA-Z0-9_\\-]+\\b", end: "^" - }, - { - className: "_content", - begin: "\\{", end: "\\}", - lexems: ["\\b[a-zA-Z\\-]+\\b"], - keywords: { - "keyword": { - "azimuth": 1, "background-attachment": 1, "background-color": 1, - "background-image": 1, "background-position": 1, "background-repeat": 1, - "background": 1, "border-bottom-color": 1, "border-bottom-style": 1, - "border-bottom-width": 1, "border-left-color": 1, "border-left-style": 1, - "border-left-width": 1, "border-right": 1, "border-right-color": 1, - "border-right-style": 1, "border-right-width": 1, "border-top-color": 1, - "border-top-style": 1, "border-top-width": 1, "border-bottom": 1, - "border-collapse": 1, "border-left": 1, "border-width": 1, "border-color": 1, - "border-spacing": 1, "border-style": 1, "border-top": 1, "border": 1, "caption-side": 1, - "clear": 1, "clip": 1, "color": 1, "content": 1, "counter-increment": 1, "counter-reset": 1, - "cue-after": 1, "cue-before": 1, "cue": 1, "cursor": 1, "direction": 1, "display": 1, - "elevation": 1, "empty-cells": 1, "float": 1, "font-family": 1, "font-size": 1, - "font-size-adjust": 1, "font-stretch": 1, "font-style": 1, "font-variant": 1, - "font-weight": 1, "font": 1, "height": 1, "letter-spacing": 1, "line-height": 1, - "list-style-type": 1, "list-style-image": 1, "list-style-position": 1, - "list-style": 1, "margin-bottom": 1, "margin-left": 1, "margin-right": 1, - "margin-top": 1, "margin": 1, "marker-offset": 1, "marks": 1, "max-height": 1, "max-width": 1, - "min-height": 1, "min-width": 1, "opacity": 1, "orphans": 1, "outline": 1, "outline-color": 1, - "outline-style": 1, "outline-width": 1, "overflow": 1, "padding-bottom": 1, - "padding-left": 1, "padding-right": 1, "padding-top": 1, "padding": 1, "page": 1, - "page-break-after": 1, "page-break-before": 1, "page-break-inside": 1, - "pause-after": 1, "pause-before": 1, "pause": 1, "pitch": 1, "pitch-range": 1, - "play-during": 1, "position": 1, "quotes": 1, "richness": 1, "right": 1, "size": 1, - "speak-header": 1, "speak-numeral": 1, "speak-punctuation": 1, "speak": 1, - "speech-rate": 1, "stress": 1, "table-layout": 1, "text-align": 1, "text-decoration": 1, - "text-indent": 1, "text-shadow": 1, "text-transform": 1, "top": 1, "unicode-bidi": 1, - "vertical-align": 1, "visibility": 1, "voice-family": 1, "volume": 1, "white-space": 1, - "widows": 1, "width": 1, "word-spacing": 1, "z-index": 1, "bottom": 1, "left": 1, - "above": 1, "absolute": 1, "always": 1, "armenian": 1, "aural": 1, "auto": 1, "avoid": 1, "baseline": 1, - "behind": 1, "below": 1, "bidi-override": 1, "blink": 1, "block": 1, "bold": 1, "bolder": 1, "both": 1, - "capitalize": 1, "center-left": 1, "center-right": 1, "center": 1, "circle": 1, - "cjk-ideographic": 1, "close-quote": 1, "collapse": 1, "condensed": 1, "continuous": 1, - "crop": 1, "crosshair": 1, "cross": 1, "cursive": 1, "dashed": 1, "decimal-leading-zero": 1, - "decimal": 1, "default": 1, "digits": 1, "disc": 1, "dotted": 1, "double": 1, "e-resize": 1, "embed": 1, - "extra-condensed": 1, "extra-expanded": 1, "expanded": 1, "fantasy": 1, "far-left": 1, - "far-right": 1, "faster": 1, "fast": 1, "fixed": 1, "georgian": 1, "groove": 1, "hebrew": 1, "help": 1, - "hidden": 1, "hide": 1, "higher": 1, "high": 1, "hiragana-iroha": 1, "hiragana": 1, "icon": 1, - "inherit": 1, "inline-table": 1, "inline": 1, "inset": 1, "inside": 1, "invert": 1, "italic": 1, - "justify": 1, "katakana-iroha": 1, "katakana": 1, "landscape": 1, "larger": 1, "large": 1, - "left-side": 1, "leftwards": 1, "level": 1, "lighter": 1, "line-through": 1, "list-item": 1, - "loud": 1, "lower-alpha": 1, "lower-greek": 1, "lower-roman": 1, "lowercase": 1, "ltr": 1, - "lower": 1, "low": 1, "medium": 1, "message-box": 1, "middle": 1, "mix": 1, "monospace": 1, - "n-resize": 1, "narrower": 1, "ne-resize": 1, "no-close-quote": 1, "no-open-quote": 1, - "no-repeat": 1, "none": 1, "normal": 1, "nowrap": 1, "nw-resize": 1, "oblique": 1, "once": 1, - "open-quote": 1, "outset": 1, "outside": 1, "overline": 1, "pointer": 1, "portrait": 1, "px": 1, - "relative": 1, "repeat-x": 1, "repeat-y": 1, "repeat": 1, "rgb": 1, "ridge": 1, "right-side": 1, - "rightwards": 1, "s-resize": 1, "sans-serif": 1, "scroll": 1, "se-resize": 1, - "semi-condensed": 1, "semi-expanded": 1, "separate": 1, "serif": 1, "show": 1, "silent": 1, - "slow": 1, "slower": 1, "small-caps": 1, "small-caption": 1, "smaller": 1, "soft": 1, "solid": 1, - "spell-out": 1, "square": 1, "static": 1, "status-bar": 1, "super": 1, "sw-resize": 1, - "table-caption": 1, "table-cell": 1, "table-column": 1, "table-column-group": 1, - "table-footer-group": 1, "table-header-group": 1, "table-row": 1, - "table-row-group": 1, "text": 1, "text-bottom": 1, "text-top": 1, "thick": 1, "thin": 1, - "transparent": 1, "ultra-condensed": 1, "ultra-expanded": 1, "underline": 1, - "upper-alpha": 1, "upper-latin": 1, "upper-roman": 1, "uppercase": 1, "url": 1, - "visible": 1, "w-resize": 1, "wait": 1, "wider": 1, "x-fast": 1, "x-high": 1, "x-large": 1, "x-loud": 1, - "x-low": 1, "x-small": 1, "x-soft": 1, "xx-large": 1, "xx-small": 1, "yes": 1 - }, - "name builtin": { - "indigo": 1, "gold": 1, "firebrick": 1, "indianred": 1, "yellow": 1, "darkolivegreen": 1, - "darkseagreen": 1, "mediumvioletred": 1, "mediumorchid": 1, "chartreuse": 1, - "mediumslateblue": 1, "black": 1, "springgreen": 1, "crimson": 1, "lightsalmon": 1, "brown": 1, - "turquoise": 1, "olivedrab": 1, "cyan": 1, "silver": 1, "skyblue": 1, "gray": 1, "darkturquoise": 1, - "goldenrod": 1, "darkgreen": 1, "darkviolet": 1, "darkgray": 1, "lightpink": 1, "teal": 1, - "darkmagenta": 1, "lightgoldenrodyellow": 1, "lavender": 1, "yellowgreen": 1, "thistle": 1, - "violet": 1, "navy": 1, "orchid": 1, "blue": 1, "ghostwhite": 1, "honeydew": 1, "cornflowerblue": 1, - "darkblue": 1, "darkkhaki": 1, "mediumpurple": 1, "cornsilk": 1, "red": 1, "bisque": 1, "slategray": 1, - "darkcyan": 1, "khaki": 1, "wheat": 1, "deepskyblue": 1, "darkred": 1, "steelblue": 1, "aliceblue": 1, - "gainsboro": 1, "mediumturquoise": 1, "floralwhite": 1, "coral": 1, "purple": 1, "lightgrey": 1, - "lightcyan": 1, "darksalmon": 1, "beige": 1, "azure": 1, "lightsteelblue": 1, "oldlace": 1, - "greenyellow": 1, "royalblue": 1, "lightseagreen": 1, "mistyrose": 1, "sienna": 1, - "lightcoral": 1, "orangered": 1, "navajowhite": 1, "lime": 1, "palegreen": 1, "burlywood": 1, - "seashell": 1, "mediumspringgreen": 1, "fuchsia": 1, "papayawhip": 1, "blanchedalmond": 1, - "peru": 1, "aquamarine": 1, "white": 1, "darkslategray": 1, "ivory": 1, "dodgerblue": 1, - "lemonchiffon": 1, "chocolate": 1, "orange": 1, "forestgreen": 1, "slateblue": 1, "olive": 1, - "mintcream": 1, "antiquewhite": 1, "darkorange": 1, "cadetblue": 1, "moccasin": 1, - "limegreen": 1, "saddlebrown": 1, "darkslateblue": 1, "lightskyblue": 1, "deeppink": 1, - "plum": 1, "aqua": 1, "darkgoldenrod": 1, "maroon": 1, "sandybrown": 1, "magenta": 1, "tan": 1, - "rosybrown": 1, "pink": 1, "lightblue": 1, "palevioletred": 1, "mediumseagreen": 1, - "dimgray": 1, "powderblue": 1, "seagreen": 1, "snow": 1, "mediumblue": 1, "midnightblue": 1, - "paleturquoise": 1, "palegoldenrod": 1, "whitesmoke": 1, "darkorchid": 1, "salmon": 1, - "lightslategray": 1, "lawngreen": 1, "lightgreen": 1, "tomato": 1, "hotpink": 1, - "lightyellow": 1, "lavenderblush": 1, "linen": 1, "mediumaquamarine": 1, "green": 1, - "blueviolet": 1, "peachpuff": 1 - } - }, - contains: [ - "comment", "comment preproc", - "number", - "string single", "string double", - "punctuation", - "name decorator", "name class", "name function" - ] - } - ] - }; -})(); - -} diff --git a/includes/js/dojox/highlight/languages/pygments/html.js b/includes/js/dojox/highlight/languages/pygments/html.js deleted file mode 100644 index e0e7475..0000000 --- a/includes/js/dojox/highlight/languages/pygments/html.js +++ /dev/null @@ -1,101 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.pygments.html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.pygments.html"] = true; -dojo.provide("dojox.highlight.languages.pygments.html"); - -dojo.require("dojox.highlight._base"); -dojo.require("dojox.highlight.languages.pygments._html"); - -(function(){ - var dh = dojox.highlight, dhl = dh.languages, tags = [], - ht = dhl.pygments._html.tags; - - for(var key in ht){ - tags.push(key); - } - tags = "\\b(" + tags.join("|") + ")\\b"; - - dhl.html = { - case_insensitive: true, - defaultMode: { - contains: [ - "name entity", - "comment", "comment preproc", - "_script", "_style", "_tag" - ] - }, - modes: [ - // comments - { - className: "comment", - begin: "" - }, - { - className: "comment preproc", - begin: "\\<\\!\\[CDATA\\[", end: "\\]\\]\\>" - }, - { - className: "comment preproc", - begin: "\\<\\!", end: "\\>" - }, - - // strings - { - className: "string", - begin: "'", end: "'", - illegal: "\\n", - relevance: 0 - }, - { - className: "string", - begin: '"', - end: '"', - illegal: "\\n", - relevance: 0 - }, - - // names - { - className: "name entity", - begin: "\\&[a-z]+;", end: "^" - }, - { - className: "name tag", - begin: tags, end: "^", - relevance: 5 - }, - { - className: "name attribute", - begin: "\\b[a-z0-9_\\:\\-]+\\s*=", end: "^", - relevance: 0 - }, - - { - className: "_script", - begin: "\\", - relevance: 5 - }, - { - className: "_style", - begin: "\\", - relevance: 5 - }, - - { - className: "_tag", - begin: "\\<(?!/)", end: "\\>", - contains: ["name tag", "name attribute", "string", "_value"] - }, - { - className: "_tag", - begin: "\\", - contains: ["name tag"] - }, - { - className: "_value", - begin: "[^\\s\\>]+", end: "^" - } - ] - }; -})(); - -} diff --git a/includes/js/dojox/highlight/languages/pygments/javascript.js b/includes/js/dojox/highlight/languages/pygments/javascript.js deleted file mode 100644 index d6c0a6b..0000000 --- a/includes/js/dojox/highlight/languages/pygments/javascript.js +++ /dev/null @@ -1,152 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.pygments.javascript"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.pygments.javascript"] = true; -dojo.provide("dojox.highlight.languages.pygments.javascript"); - -dojo.require("dojox.highlight._base"); - -(function(){ - var dh = dojox.highlight, dhc = dh.constants; - dh.languages.javascript = { - defaultMode: { - lexems: ["\\b[a-zA-Z]+"], - keywords: { - "keyword": { - "for": 1, "in": 1, "while": 1, "do": 1, "break": 1, "return": 1, - "continue": 1, "if": 1, "else": 1, "throw": 1, "try": 1, - "catch": 1, "var": 1, "with": 1, "const": 1, "label": 1, - "function": 1, "new": 1, "typeof": 1, "instanceof": 1 - }, - "keyword constant": { - "true": 1, "false": 1, "null": 1, "NaN": 1, "Infinity": 1, "undefined": 1 - }, - "name builtin": { - "Array": 1, "Boolean": 1, "Date": 1, "Error": 1, "Function": 1, "Math": 1, - "netscape": 1, "Number": 1, "Object": 1, "Packages": 1, "RegExp": 1, - "String": 1, "sun": 1, "decodeURI": 1, "decodeURIComponent": 1, - "encodeURI": 1, "encodeURIComponent": 1, "Error": 1, "eval": 1, - "isFinite": 1, "isNaN": 1, "parseFloat": 1, "parseInt": 1, "document": 1, - "window": 1 - }, - "name builtin pseudo": { - "this": 1 - } - }, - contains: [ - "comment single", "comment multiline", - "number integer", "number oct", "number hex", "number float", - "string single", "string double", "string regex", - "operator", - "punctuation", - //"name variable", - "_function" - ] - }, - modes: [ - // comments - { - className: "comment single", - begin: "//", end: "$", - relevance: 0 - }, - { - className: "comment multiline", - begin: "/\\*", end: "\\*/" - }, - - // numbers - { - className: "number integer", - begin: "0|([1-9][0-9]*)", end: "^", - relevance: 0 - }, - { - className: "number oct", - begin: "0[0-9]+", end: "^", - relevance: 0 - }, - { - className: "number hex", - begin: "0x[0-9a-fA-F]+", end: "^", - relevance: 0 - }, - { - className: "number float", - begin: "([1-9][0-9]*\\.[0-9]*([eE][\\+-]?[0-9]+)?)|(\\.[0-9]+([eE][\\+-]?[0-9]+)?)|([0-9]+[eE][\\+-]?[0-9]+)", end: "^", - relevance: 0 - }, - - // strings - { - className: "string single", - begin: "'", end: "'", - illegal: "\\n", - contains: ["string escape"], - relevance: 0 - }, - { - className: "string double", - begin: '"', - end: '"', - illegal: "\\n", - contains: ["string escape"], - relevance: 0 - }, - { - className: "string escape", - begin: "\\\\.", end: "^", - relevance: 0 - }, - { - className: "string regex", - begin: "/.*?[^\\\\/]/[gim]*", end: "^" - }, - - // operators - { - className: "operator", - begin: "\\|\\||&&|\\+\\+|--|-=|\\+=|/=|\\*=|==|[-\\+\\*/=\\?:~\\^]", end: "^", - relevance: 0 - }, - - // punctuations - { - className: "punctuation", - begin: "[{}\\(\\)\\[\\]\\.;]", end: "^", - relevance: 0 - }, - - // functions - { - className: "_function", - begin: "function\\b", end: "{", - lexems: [dhc.UNDERSCORE_IDENT_RE], - keywords: { - keyword: { - "function": 1 - } - }, - contains: ["name function", "_params"], - relevance: 5 - }, - { - className: "name function", - begin: dhc.UNDERSCORE_IDENT_RE, end: '^' - }, - { - className: "_params", - begin: "\\(", end: "\\)", - contains: ["comment single", "comment multiline"] - } - /* - // names - { - className: "name variable", - begin: "\\b[$a-zA-Z_][$a-zA-Z0-9_]*", end: "^", - relevance: 0 - } - */ - ] - }; -})(); - -} diff --git a/includes/js/dojox/highlight/languages/pygments/xml.js b/includes/js/dojox/highlight/languages/pygments/xml.js deleted file mode 100644 index 5eb4832..0000000 --- a/includes/js/dojox/highlight/languages/pygments/xml.js +++ /dev/null @@ -1,79 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.pygments.xml"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.pygments.xml"] = true; -dojo.provide("dojox.highlight.languages.pygments.xml"); - -dojo.require("dojox.highlight._base"); -dojox.highlight.languages.pygments.xml = {a: 1}; -dojox.highlight.languages.xml = { - defaultMode: { - contains: [ - "name entity", - "comment", "comment preproc", - "_tag" - ] - }, - modes: [ - // comments - { - className: "comment", - begin: "" - }, - { - className: "comment preproc", - begin: "\\<\\!\\[CDATA\\[", end: "\\]\\]\\>" - }, - { - className: "comment preproc", - begin: "\\<\\!", end: "\\>" - }, - { - className: "comment preproc", - begin: "\\<\\?", end: "\\?\\>", - relevance: 5 - }, - - // strings - { - className: "string", - begin: "'", end: "'", - illegal: "\\n", - relevance: 0 - }, - { - className: "string", - begin: '"', - end: '"', - illegal: "\\n", - relevance: 0 - }, - - // names - { - className: "name entity", - begin: "\\&[a-z]+;", end: "^" - }, - { - className: "name tag", - begin: "\\b[a-z0-9_\\:\\-]+\\b", end: "^" - }, - { - className: "name attribute", - begin: "\\b[a-z0-9_\\:\\-]+=", end: "^", - relevance: 0 - }, - - - { - className: "_tag", - begin: "\\<", end: "\\>", - contains: ["name tag", "name attribute", "string"] - }, - { - className: "_tag", - begin: "\\", - contains: ["name tag"] - } - ] -}; - -} diff --git a/includes/js/dojox/highlight/languages/python.js b/includes/js/dojox/highlight/languages/python.js deleted file mode 100644 index eaffd1f..0000000 --- a/includes/js/dojox/highlight/languages/python.js +++ /dev/null @@ -1,102 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.python"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.python"] = true; -dojo.provide("dojox.highlight.languages.python"); - -dojo.require("dojox.highlight._base"); - -(function(){ - var dh = dojox.highlight, dhc = dh.constants; - dh.languages.python = { - // summary: Python highlight definitions - defaultMode: { - lexems: [dhc.UNDERSCORE_IDENT_RE], - illegal: '()', - contains: ['comment', 'string', 'function', 'class', 'number', 'decorator'], - keywords: {'and': 1, 'elif': 1, 'is': 1, 'global': 1, 'as': 1, 'in': 1, 'if': 1, - 'from': 1, 'raise': 1, 'for': 1, 'except': 1, 'finally': 1, 'print': 1, - 'import': 1, 'pass': 1, 'None': 1, 'return': 1, 'exec': 1, 'else': 1, - 'break': 1, 'not': 1, 'with': 1, 'class': 1, 'assert': 1, 'yield': 1, - 'try': 1, 'while': 1, 'continue': 1, 'del': 1, 'or': 1, 'def': 1, 'lambda': 1} - }, - modes: [ - { - className: 'function', - lexems: [dhc.UNDERSCORE_IDENT_RE], - begin: '\\bdef ', end: ':', - illegal: '$', - keywords: {'def': 1}, - contains: ['title', 'params'], - relevance: 10 - }, - { - className: 'class', - lexems: [dhc.UNDERSCORE_IDENT_RE], - begin: '\\bclass ', end: ':', - illegal: '[${]', - keywords: {'class': 1}, - contains: ['title', 'params',], - relevance: 10 - }, - { - className: 'title', - begin: dhc.UNDERSCORE_IDENT_RE, end: '^' - }, - { - className: 'params', - begin: '\\(', end: '\\)', - contains: ['string'] - }, - dhc.HASH_COMMENT_MODE, - dhc.C_NUMBER_MODE, - { - className: 'string', - begin: '\'\'\'', end: '\'\'\'', - relevance: 10 - }, - { - className: 'string', - begin: '"""', end: '"""', - relevance: 10 - }, - dhc.APOS_STRING_MODE, - dhc.QUOTE_STRING_MODE, - dhc.BACKSLASH_ESCAPE, - { - className: 'string', - begin: 'r\'', end: '\'', - relevance: 10 - }, - { - className: 'string', - begin: 'r"', end: '"', - relevance: 10 - }, - { - className: 'string', - begin: 'u\'', end: '(^|[^\\\\])\'', - relevance: 10 - }, - { - className: 'string', - begin: 'u"', end: '(^|[^\\\\])"', - relevance: 10 - }, - { - className: 'string', - begin: 'ur\'', end: '\'', - relevance: 10 - }, - { - className: 'string', - begin: 'ur"', end: '"', - relevance: 10 - }, - { - className: 'decorator', - begin: '@', end: '$' - } - ] - }; -})(); - -} diff --git a/includes/js/dojox/highlight/languages/sql.js b/includes/js/dojox/highlight/languages/sql.js deleted file mode 100644 index 0e1ca9c..0000000 --- a/includes/js/dojox/highlight/languages/sql.js +++ /dev/null @@ -1,101 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.sql"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.sql"] = true; -dojo.provide("dojox.highlight.languages.sql"); - -dojo.require("dojox.highlight._base"); - -(function(){ - var SQL_KEYWORDS = { - 'all': 1, 'partial': 1, 'global': 1, 'month': 1, - 'current_timestamp': 1, 'using': 1, 'go': 1, 'revoke': 1, - 'smallint': 1, 'indicator': 1, 'end-exec': 1, 'disconnect': 1, - 'zone': 1, 'with': 1, 'character': 1, 'assertion': 1, 'to': 1, - 'add': 1, 'current_user': 1, 'usage': 1, 'input': 1, 'local': 1, - 'alter': 1, 'match': 1, 'collate': 1, 'real': 1, 'then': 1, - 'rollback': 1, 'get': 1, 'read': 1, 'timestamp': 1, 'session_user': 1, - 'not': 1, 'integer': 1, 'bit': 1, 'unique': 1, 'day': 1, 'minute': 1, - 'desc': 1, 'insert': 1, 'execute': 1, 'like': 1, 'level': 1, - 'decimal': 1, 'drop': 1, 'continue': 1, 'isolation': 1, 'found': 1, - 'where': 1, 'constraints': 1, 'domain': 1, 'right': 1, 'national': 1, - 'some': 1, 'module': 1, 'transaction': 1, 'relative': 1, 'second': 1, - 'connect': 1, 'escape': 1, 'close': 1, 'system_user': 1, 'for': 1, - 'deferred': 1, 'section': 1, 'cast': 1, 'current': 1, 'sqlstate': 1, - 'allocate': 1, 'intersect': 1, 'deallocate': 1, 'numeric': 1, - 'public': 1, 'preserve': 1, 'full': 1, 'goto': 1, 'initially': 1, - 'asc': 1, 'no': 1, 'key': 1, 'output': 1, 'collation': 1, 'group': 1, - 'by': 1, 'union': 1, 'session': 1, 'both': 1, 'last': 1, 'language': 1, - 'constraint': 1, 'column': 1, 'of': 1, 'space': 1, 'foreign': 1, - 'deferrable': 1, 'prior': 1, 'connection': 1, 'unknown': 1, - 'action': 1, 'commit': 1, 'view': 1, 'or': 1, 'first': 1, 'into': 1, - 'float': 1, 'year': 1, 'primary': 1, 'cascaded': 1, 'except': 1, - 'restrict': 1, 'set': 1, 'references': 1, 'names': 1, 'table': 1, - 'outer': 1, 'open': 1, 'select': 1, 'size': 1, 'are': 1, 'rows': 1, - 'from': 1, 'prepare': 1, 'distinct': 1, 'leading': 1, 'create': 1, - 'only': 1, 'next': 1, 'inner': 1, 'authorization': 1, 'schema': 1, - 'corresponding': 1, 'option': 1, 'declare': 1, 'precision': 1, - 'immediate': 1, 'else': 1, 'timezone_minute': 1, 'external': 1, - 'varying': 1, 'translation': 1, 'true': 1, 'case': 1, 'exception': 1, - 'join': 1, 'hour': 1, 'default': 1, 'double': 1, 'scroll': 1, - 'value': 1, 'cursor': 1, 'descriptor': 1, 'values': 1, 'dec': 1, - 'fetch': 1, 'procedure': 1, 'delete': 1, 'and': 1, 'false': 1, - 'int': 1, 'is': 1, 'describe': 1, 'char': 1, 'as': 1, 'at': 1, 'in': 1, - 'varchar': 1, 'null': 1, 'trailing': 1, 'any': 1, 'absolute': 1, - 'current_time': 1, 'end': 1, 'grant': 1, 'privileges': 1, 'when': 1, - 'cross': 1, 'check': 1, 'write': 1, 'current_date': 1, 'pad': 1, - 'begin': 1, 'temporary': 1, 'exec': 1, 'time': 1, 'update': 1, - 'catalog': 1, 'user': 1, 'sql': 1, 'date': 1, 'on': 1, 'identity': 1, - 'timezone_hour': 1, 'natural': 1, 'whenever': 1, 'interval': 1, - 'work': 1, 'order': 1, 'cascade': 1, 'diagnostics': 1, 'nchar': 1, - 'having': 1, 'left': 1 - }; - - var dh = dojox.highlight, dhc = dh.constants; - dh.languages.sql = { - // summary: SQL highlight definitions - case_insensitive: true, - defaultMode: { - lexems: [dhc.IDENT_RE], - contains: ['string', 'number', 'comment'], - keywords: { - 'keyword': SQL_KEYWORDS, - 'aggregate': {'count': 1, 'sum': 1, 'min': 1, 'max': 1, 'avg': 1} - } - }, - modes: [ - dhc.C_NUMBER_MODE, - dhc.C_BLOCK_COMMENT_MODE, - { - className: 'comment', - begin: '--', end: '$' - }, - { - className: 'string', - begin: '\'', end: '\'', - contains: ['escape', 'squote'], - relevance: 0 - }, - { - className: 'squote', - begin: '\'\'', end: '^' - }, - { - className: 'string', - begin: '"', end: '"', - contains: [ 'escape', 'dquote'], - relevance: 0 - }, - { - className: 'dquote', - begin: '""', end: '^' - }, - { - className: 'string', - begin: '`', end: '`', - contains: ['escape'] - }, - dhc.BACKSLASH_ESCAPE - ] - }; -})(); - -} diff --git a/includes/js/dojox/highlight/languages/xml.js b/includes/js/dojox/highlight/languages/xml.js deleted file mode 100644 index 67dd81d..0000000 --- a/includes/js/dojox/highlight/languages/xml.js +++ /dev/null @@ -1,69 +0,0 @@ -if(!dojo._hasResource["dojox.highlight.languages.xml"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.highlight.languages.xml"] = true; -dojo.provide("dojox.highlight.languages.xml"); - -dojo.require("dojox.highlight._base"); - -(function(){ - var XML_COMMENT = { - className: 'comment', - begin: '' - }; - - var XML_ATTR = { - className: 'attribute', - begin: ' [a-zA-Z-]+=', end: '^', - contains: ['value'] - }; - - var XML_VALUE = { - className: 'value', - begin: '"', end: '"' - }; - - var dh = dojox.highlight, dhc = dh.constants; - dh.languages.xml = { - defaultMode: { - contains: ['pi', 'comment', 'cdata', 'tag'] - }, - case_insensitive: true, - modes: [ - { - className: 'pi', - begin: '<\\?', end: '\\?>', - relevance: 10 - }, - XML_COMMENT, - { - className: 'cdata', - begin: '<\\!\\[CDATA\\[', end: '\\]\\]>' - }, - { - className: 'tag', - begin: '', - contains: ['title', 'tag_internal'], - relevance: 1.5 - }, - { - className: 'title', - begin: '[A-Za-z:_][A-Za-z0-9\\._:-]+', end: '^', - relevance: 0 - }, - { - className: 'tag_internal', - begin: '^', endsWithParent: true, - contains: ['attribute'], - relevance: 0, - illegal: '[\\+\\.]' - }, - XML_ATTR, - XML_VALUE - ], - // exporting constants - XML_COMMENT: XML_COMMENT, - XML_ATTR: XML_ATTR, - XML_VALUE: XML_VALUE - }; -})(); - -} diff --git a/includes/js/dojox/highlight/resources/highlight.css b/includes/js/dojox/highlight/resources/highlight.css deleted file mode 100644 index 45a61a3..0000000 --- a/includes/js/dojox/highlight/resources/highlight.css +++ /dev/null @@ -1,51 +0,0 @@ - -.string, -.function .title, -.class .title, -.tag .attribute .value, -.css .rules .value, -.preprocessor, -.ruby .symbol, -.ruby .instancevar, -.ruby .class .parent, -.built_in, -.sql .aggregate, -.django .template_tag, -.django .variable, -.smalltalk .class { - color: #800; -} -.comment, -.java .annotation, -.template_comment { - color: #888; -} -.number, -.regexp, -.javascript .literal, -.smalltalk .symbol, -.smalltalk .char { - color: #080; -} -.javadoc, -.ruby .string, -.python .decorator, -.django .filter .argument, -.smalltalk .localvars, -.smalltalk .array, -.css .attr_selector, -.xml .pi { - color: #88F; -} -.keyword, -.css .id, -.phpdoc, -.function .title, -.class .title, -.vbscript .built_in, -.sql .aggregate, -.rsl .built_in, -.smalltalk .class, -.xml .tag .title { - font-weight: bold; -} diff --git a/includes/js/dojox/highlight/resources/highlight.css.commented.css b/includes/js/dojox/highlight/resources/highlight.css.commented.css deleted file mode 100644 index eddef1f..0000000 --- a/includes/js/dojox/highlight/resources/highlight.css.commented.css +++ /dev/null @@ -1,58 +0,0 @@ -/* -You can use this file as is or as a starting point for you own styling -*/ - -.string, -.function .title, -.class .title, -.tag .attribute .value, -.css .rules .value, -.preprocessor, -.ruby .symbol, -.ruby .instancevar, -.ruby .class .parent, -.built_in, -.sql .aggregate, -.django .template_tag, -.django .variable, -.smalltalk .class { - color: #800; -} - -.comment, -.java .annotation, -.template_comment { - color: #888; -} - -.number, -.regexp, -.javascript .literal, -.smalltalk .symbol, -.smalltalk .char { - color: #080; -} - -.javadoc, -.ruby .string, -.python .decorator, -.django .filter .argument, -.smalltalk .localvars, -.smalltalk .array, -.css .attr_selector, -.xml .pi { - color: #88F; -} - -.keyword, -.css .id, -.phpdoc, -.function .title, -.class .title, -.vbscript .built_in, -.sql .aggregate, -.rsl .built_in, -.smalltalk .class, -.xml .tag .title { - font-weight: bold; -} diff --git a/includes/js/dojox/highlight/resources/pygments/autumn.css b/includes/js/dojox/highlight/resources/pygments/autumn.css deleted file mode 100644 index b1846f4..0000000 --- a/includes/js/dojox/highlight/resources/pygments/autumn.css +++ /dev/null @@ -1,22 +0,0 @@ - -code .comment {color: #aaa; font-style: italic} -code .comment.preproc {color: #4c8317; font-style: normal} -code .comment.special {color: #00a} -code .keyword {color: #00a} -code .keyword.type {color: #0aa} -code .operator.word {color: #00a} -code .name.builtin {color: #0aa} -code .name.function {color: #0a0} -code .name.class {color: #0a0; text-decoration: underline} -code .name.namespace {color: #0aa; text-decoration: underline} -code .name.exception {color: #D2413A; font-weight: bold} -code .name.variable {color: #a00} -code .name.constant {color: #a00} -code .name.entity {color: #800; font-weight: bold} -code .name.attribute {color: #1e90ff} -code .name.tag {color: #1e90ff; font-weight: bold} -code .name.decorator {color: #888} -code .string {color: #a50} -code .string.regex {color: #099} -code .string.symbol {color: #00a} -code .number {color: #099} diff --git a/includes/js/dojox/highlight/resources/pygments/autumn.css.commented.css b/includes/js/dojox/highlight/resources/pygments/autumn.css.commented.css deleted file mode 100644 index 3deb7c4..0000000 --- a/includes/js/dojox/highlight/resources/pygments/autumn.css.commented.css +++ /dev/null @@ -1,28 +0,0 @@ -/* Pygments autumn style */ - -code .comment {color: #aaa; font-style: italic} -code .comment.preproc {color: #4c8317; font-style: normal} -code .comment.special {color: #00a} - -code .keyword {color: #00a} -code .keyword.type {color: #0aa} - -code .operator.word {color: #00a} - -code .name.builtin {color: #0aa} -code .name.function {color: #0a0} -code .name.class {color: #0a0; text-decoration: underline} -code .name.namespace {color: #0aa; text-decoration: underline} -code .name.exception {color: #D2413A; font-weight: bold} -code .name.variable {color: #a00} -code .name.constant {color: #a00} -code .name.entity {color: #800; font-weight: bold} -code .name.attribute {color: #1e90ff} -code .name.tag {color: #1e90ff; font-weight: bold} -code .name.decorator {color: #888} - -code .string {color: #a50} -code .string.regex {color: #099} -code .string.symbol {color: #00a} - -code .number {color: #099} diff --git a/includes/js/dojox/highlight/resources/pygments/borland.css b/includes/js/dojox/highlight/resources/pygments/borland.css deleted file mode 100644 index 85fb11f..0000000 --- a/includes/js/dojox/highlight/resources/pygments/borland.css +++ /dev/null @@ -1,11 +0,0 @@ - -code .comment {color: #080; font-style: italic} -code .comment.preproc {color: #008080; font-style: normal} -code .comment.special {font-weight: bold; font-style: normal} -code .keyword {color: #000080; font-weight: bold} -code .operator.word {font-weight: bold} -code .name.attribute {color: #f00} -code .name.tag {color: #000080; font-weight: bold} -code .string {color: #00f} -code .string.char {color: #800080} -code .number {color: #00f} diff --git a/includes/js/dojox/highlight/resources/pygments/borland.css.commented.css b/includes/js/dojox/highlight/resources/pygments/borland.css.commented.css deleted file mode 100644 index 9fb9d19..0000000 --- a/includes/js/dojox/highlight/resources/pygments/borland.css.commented.css +++ /dev/null @@ -1,17 +0,0 @@ -/* Pygments borland style */ - -code .comment {color: #080; font-style: italic} -code .comment.preproc {color: #008080; font-style: normal} -code .comment.special {font-weight: bold; font-style: normal} - -code .keyword {color: #000080; font-weight: bold} - -code .operator.word {font-weight: bold} - -code .name.attribute {color: #f00} -code .name.tag {color: #000080; font-weight: bold} - -code .string {color: #00f} -code .string.char {color: #800080} - -code .number {color: #00f} diff --git a/includes/js/dojox/highlight/resources/pygments/colorful.css b/includes/js/dojox/highlight/resources/pygments/colorful.css deleted file mode 100644 index 06de503..0000000 --- a/includes/js/dojox/highlight/resources/pygments/colorful.css +++ /dev/null @@ -1,37 +0,0 @@ - -code .comment {color: #888} -code .comment.preproc {color: #579} -code .comment.special {color: #c00; font-weight: bold} -code .keyword {color: #080; font-weight: bold} -code .keyword.pseudo {color: #038} -code .keyword.type {color: #339} -code .operator {color: #333} -code .operator.word {color: #000; font-weight: bold} -code .name.builtin {color: #007020} -code .name.function {color: #06b; font-weight: bold} -code .name.class {color: #b06; font-weight: bold} -code .name.namespace {color: #0e84b5; font-weight: bold} -code .name.exception {color: #f00; font-weight: bold} -code .name.variable {color: #963} -code .name.variable.instance {color: #33b} -code .name.variable.class {color: #369} -code .name.variable.global {color: #d70; font-weight: bold} -code .name.constant {color: #036; font-weight: bold} -code .name.label {color: #970; font-weight: bold} -code .name.entity {color: #800; font-weight: bold} -code .name.attribute {color: #00c} -code .name.tag {color: #070} -code .name.decorator {color: #555; font-weight: bold} -code .string {background-color: #fff0f0} -code .string.char {color: #04d; background-color: transparent} -code .string.doc {color: #d42; background-color: transparent} -code .string.interpol {background-color: #eee} -code .string.escape {color: #666; font-weight: bold} -code .string.regex {color: #000; background-color: #fff0f0} -code .string.symbol {color: #a60; background-color: transparent} -code .string.other {color: #d20} -code .number {color: #60e} -code .number.integer {color: #00d} -code .number.float {color: #60e} -code .number.hex {color: #058} -code .number.oct {color: #40e} diff --git a/includes/js/dojox/highlight/resources/pygments/colorful.css.commented.css b/includes/js/dojox/highlight/resources/pygments/colorful.css.commented.css deleted file mode 100644 index d63728a..0000000 --- a/includes/js/dojox/highlight/resources/pygments/colorful.css.commented.css +++ /dev/null @@ -1,43 +0,0 @@ -/* Pygments colorful style */ - -code .comment {color: #888} -code .comment.preproc {color: #579} -code .comment.special {color: #c00; font-weight: bold} - -code .keyword {color: #080; font-weight: bold} -code .keyword.pseudo {color: #038} -code .keyword.type {color: #339} - -code .operator {color: #333} -code .operator.word {color: #000; font-weight: bold} - -code .name.builtin {color: #007020} -code .name.function {color: #06b; font-weight: bold} -code .name.class {color: #b06; font-weight: bold} -code .name.namespace {color: #0e84b5; font-weight: bold} -code .name.exception {color: #f00; font-weight: bold} -code .name.variable {color: #963} -code .name.variable.instance {color: #33b} -code .name.variable.class {color: #369} -code .name.variable.global {color: #d70; font-weight: bold} -code .name.constant {color: #036; font-weight: bold} -code .name.label {color: #970; font-weight: bold} -code .name.entity {color: #800; font-weight: bold} -code .name.attribute {color: #00c} -code .name.tag {color: #070} -code .name.decorator {color: #555; font-weight: bold} - -code .string {background-color: #fff0f0} -code .string.char {color: #04d; background-color: transparent} -code .string.doc {color: #d42; background-color: transparent} -code .string.interpol {background-color: #eee} -code .string.escape {color: #666; font-weight: bold} -code .string.regex {color: #000; background-color: #fff0f0} -code .string.symbol {color: #a60; background-color: transparent} -code .string.other {color: #d20} - -code .number {color: #60e} -code .number.integer {color: #00d} -code .number.float {color: #60e} -code .number.hex {color: #058} -code .number.oct {color: #40e} diff --git a/includes/js/dojox/highlight/resources/pygments/default.css b/includes/js/dojox/highlight/resources/pygments/default.css deleted file mode 100644 index f0b5f05..0000000 --- a/includes/js/dojox/highlight/resources/pygments/default.css +++ /dev/null @@ -1,28 +0,0 @@ - -code {background-color: #f8f8f8} -code .comment {color: #408080; font-style: italic} -code .comment.preproc {color: #bc7a00; font-style: normal} -code .keyword {color: #008000; font-weight: bold} -code .keyword.pseudo {font-weight: normal} -code .operator {color: #666} -code .operator.word {color: #a2f} -code .name.builtin {color: #008000} -code .name.function {color: #00f} -code .name.class {color: #00f; font-weight: bold} -code .name.namespace {color: #00f; font-weight: bold} -code .name.exception {color: #d2413a; font-weight: bold} -code .name.variable {color: #19177c} -code .name.constant {color: #800} -code .name.label {color: #a0a000} -code .name.entity {color: #999; font-weight: bold} -code .name.attribute {color: #7d9029} -code .name.tag {color: #008000; font-weight: bold} -code .name.decorator {color: #a2f} -code .string {color: #ba2121} -code .string.doc {font-style: italic} -code .string.interpol {color: #b68; font-weight: bold} -code .string.escape {color: #b62; font-weight: bold} -code .string.regex {color: #b68} -code .string.symbol {color: #19177c} -code .string.other {color: #008000} -code .number {color: #666} diff --git a/includes/js/dojox/highlight/resources/pygments/default.css.commented.css b/includes/js/dojox/highlight/resources/pygments/default.css.commented.css deleted file mode 100644 index 9c13e30..0000000 --- a/includes/js/dojox/highlight/resources/pygments/default.css.commented.css +++ /dev/null @@ -1,35 +0,0 @@ -/* Pygments default style */ - -code {background-color: #f8f8f8} - -code .comment {color: #408080; font-style: italic} -code .comment.preproc {color: #bc7a00; font-style: normal} - -code .keyword {color: #008000; font-weight: bold} -code .keyword.pseudo {font-weight: normal} - -code .operator {color: #666} -code .operator.word {color: #a2f} - -code .name.builtin {color: #008000} -code .name.function {color: #00f} -code .name.class {color: #00f; font-weight: bold} -code .name.namespace {color: #00f; font-weight: bold} -code .name.exception {color: #d2413a; font-weight: bold} -code .name.variable {color: #19177c} -code .name.constant {color: #800} -code .name.label {color: #a0a000} -code .name.entity {color: #999; font-weight: bold} -code .name.attribute {color: #7d9029} -code .name.tag {color: #008000; font-weight: bold} -code .name.decorator {color: #a2f} - -code .string {color: #ba2121} -code .string.doc {font-style: italic} -code .string.interpol {color: #b68; font-weight: bold} -code .string.escape {color: #b62; font-weight: bold} -code .string.regex {color: #b68} -code .string.symbol {color: #19177c} -code .string.other {color: #008000} - -code .number {color: #666} diff --git a/includes/js/dojox/highlight/resources/pygments/emacs.css b/includes/js/dojox/highlight/resources/pygments/emacs.css deleted file mode 100644 index 8c815ed..0000000 --- a/includes/js/dojox/highlight/resources/pygments/emacs.css +++ /dev/null @@ -1,29 +0,0 @@ - -code {background-color: #f8f8f8} -code .comment {color: #080; font-style: italic} -code .comment.preproc {font-style: normal} -code .comment.special {font-style: normal; font-weight: bold} -code .keyword {color: #a2f; font-weight: bold} -code .keyword.pseudo {font-weight: normal} -code .operator {color: #666} -code .operator.word {color: #a2f; font-weight: bold} -code .name.builtin {color: #a2f} -code .name.function {color: #00a000} -code .name.class {color: #00f} -code .name.namespace {color: #00f; font-weight: bold} -code .name.exception {color: #d2413a; font-weight: bold} -code .name.variable {color: #b8860b} -code .name.constant {color: #800} -code .name.label {color: #a0a000} -code .name.entity {color: #999; font-weight: bold} -code .name.attribute {color: #b44} -code .name.tag {color: #008000; font-weight: bold} -code .name.decorator {color: #a2f} -code .string {color: #b44} -code .string.doc {font-style: italic} -code .string.interpol {color: #b68; font-weight: bold} -code .string.escape {color: #b62; font-weight: bold} -code .string.regex {color: #b68} -code .string.symbol {color: #b8860b} -code .string.other {color: #008000} -code .number {color: #666} diff --git a/includes/js/dojox/highlight/resources/pygments/emacs.css.commented.css b/includes/js/dojox/highlight/resources/pygments/emacs.css.commented.css deleted file mode 100644 index ed391e1..0000000 --- a/includes/js/dojox/highlight/resources/pygments/emacs.css.commented.css +++ /dev/null @@ -1,36 +0,0 @@ -/* Pygments emacs style */ - -code {background-color: #f8f8f8} - -code .comment {color: #080; font-style: italic} -code .comment.preproc {font-style: normal} -code .comment.special {font-style: normal; font-weight: bold} - -code .keyword {color: #a2f; font-weight: bold} -code .keyword.pseudo {font-weight: normal} - -code .operator {color: #666} -code .operator.word {color: #a2f; font-weight: bold} - -code .name.builtin {color: #a2f} -code .name.function {color: #00a000} -code .name.class {color: #00f} -code .name.namespace {color: #00f; font-weight: bold} -code .name.exception {color: #d2413a; font-weight: bold} -code .name.variable {color: #b8860b} -code .name.constant {color: #800} -code .name.label {color: #a0a000} -code .name.entity {color: #999; font-weight: bold} -code .name.attribute {color: #b44} -code .name.tag {color: #008000; font-weight: bold} -code .name.decorator {color: #a2f} - -code .string {color: #b44} -code .string.doc {font-style: italic} -code .string.interpol {color: #b68; font-weight: bold} -code .string.escape {color: #b62; font-weight: bold} -code .string.regex {color: #b68} -code .string.symbol {color: #b8860b} -code .string.other {color: #008000} - -code .number {color: #666} diff --git a/includes/js/dojox/highlight/resources/pygments/friendly.css b/includes/js/dojox/highlight/resources/pygments/friendly.css deleted file mode 100644 index c4d392a..0000000 --- a/includes/js/dojox/highlight/resources/pygments/friendly.css +++ /dev/null @@ -1,29 +0,0 @@ - -code {background-color: #f8f8f8} -code .comment {color: #60a0b0; font-style: italic} -code .comment.preproc {color: #007020; font-style: normal} -code .comment.special {background-color: #fff0f0; font-style: normal} -code .keyword {color: #007020; font-weight: bold} -code .keyword.pseudo {font-weight: normal} -code .operator {color: #666} -code .operator.word {color: #007020; font-weight: bold} -code .name.builtin {color: #007020} -code .name.function {color: #06287e} -code .name.class {color: #0e84b5; font-weight: bold} -code .name.namespace {color: #0e84b5; font-weight: bold} -code .name.exception {color: #007020} -code .name.variable {color: #bb60d5} -code .name.constant {color: #60add5} -code .name.label {color: #002070; font-weight: bold} -code .name.entity {color: #d55537; font-weight: bold} -code .name.attribute {color: #4070a0} -code .name.tag {color: #062873; font-weight: bold} -code .name.decorator {color: #555; font-weight: bold} -code .string {color: #4070a0} -code .string.doc {font-style: italic} -code .string.interpol {color: #70a0d0; font-style: italic} -code .string.escape {color: #4070a0; font-weight: bold} -code .string.regex {color: #235388} -code .string.symbol {color: #517918} -code .string.other {color: #c65d09} -code .number {color: #40a070} diff --git a/includes/js/dojox/highlight/resources/pygments/friendly.css.commented.css b/includes/js/dojox/highlight/resources/pygments/friendly.css.commented.css deleted file mode 100644 index 7a1c36f..0000000 --- a/includes/js/dojox/highlight/resources/pygments/friendly.css.commented.css +++ /dev/null @@ -1,36 +0,0 @@ -/* Pygments friendly style */ - -code {background-color: #f8f8f8} - -code .comment {color: #60a0b0; font-style: italic} -code .comment.preproc {color: #007020; font-style: normal} -code .comment.special {background-color: #fff0f0; font-style: normal} - -code .keyword {color: #007020; font-weight: bold} -code .keyword.pseudo {font-weight: normal} - -code .operator {color: #666} -code .operator.word {color: #007020; font-weight: bold} - -code .name.builtin {color: #007020} -code .name.function {color: #06287e} -code .name.class {color: #0e84b5; font-weight: bold} -code .name.namespace {color: #0e84b5; font-weight: bold} -code .name.exception {color: #007020} -code .name.variable {color: #bb60d5} -code .name.constant {color: #60add5} -code .name.label {color: #002070; font-weight: bold} -code .name.entity {color: #d55537; font-weight: bold} -code .name.attribute {color: #4070a0} -code .name.tag {color: #062873; font-weight: bold} -code .name.decorator {color: #555; font-weight: bold} - -code .string {color: #4070a0} -code .string.doc {font-style: italic} -code .string.interpol {color: #70a0d0; font-style: italic} -code .string.escape {color: #4070a0; font-weight: bold} -code .string.regex {color: #235388} -code .string.symbol {color: #517918} -code .string.other {color: #c65d09} - -code .number {color: #40a070} diff --git a/includes/js/dojox/highlight/resources/pygments/fruity.css b/includes/js/dojox/highlight/resources/pygments/fruity.css deleted file mode 100644 index 019fa02..0000000 --- a/includes/js/dojox/highlight/resources/pygments/fruity.css +++ /dev/null @@ -1,14 +0,0 @@ - -code {background-color: #111; color: #fff} -code .comment {color: #080; background-color: #0f140f; font-style: italic} -code .comment.preproc {color: #ff0007; font-weight: bold} -code .keyword {color: #fb660a; font-weight: bold} -code .keyword.pseudo {font-weight: normal} -code .keyword.type {color: #cdcaa9; font-weight: bold} -code .name.function {color: #ff0086; font-weight: bold} -code .name.variable {color: #fb660a} -code .name.constant {color: #0086d2} -code .name.attribute {color: #ff0086; font-weight: bold} -code .name.tag {color: #fb660a; font-weight: bold} -code .string {color: #0086d2} -code .number {color: #0086f7; font-weight: bold} diff --git a/includes/js/dojox/highlight/resources/pygments/fruity.css.commented.css b/includes/js/dojox/highlight/resources/pygments/fruity.css.commented.css deleted file mode 100644 index adf0b59..0000000 --- a/includes/js/dojox/highlight/resources/pygments/fruity.css.commented.css +++ /dev/null @@ -1,20 +0,0 @@ -/* Pygments fruity style */ - -code {background-color: #111; color: #fff} - -code .comment {color: #080; background-color: #0f140f; font-style: italic} -code .comment.preproc {color: #ff0007; font-weight: bold} - -code .keyword {color: #fb660a; font-weight: bold} -code .keyword.pseudo {font-weight: normal} -code .keyword.type {color: #cdcaa9; font-weight: bold} - -code .name.function {color: #ff0086; font-weight: bold} -code .name.variable {color: #fb660a} -code .name.constant {color: #0086d2} -code .name.attribute {color: #ff0086; font-weight: bold} -code .name.tag {color: #fb660a; font-weight: bold} - -code .string {color: #0086d2} - -code .number {color: #0086f7; font-weight: bold} diff --git a/includes/js/dojox/highlight/resources/pygments/manni.css b/includes/js/dojox/highlight/resources/pygments/manni.css deleted file mode 100644 index 0cbf7e6..0000000 --- a/includes/js/dojox/highlight/resources/pygments/manni.css +++ /dev/null @@ -1,30 +0,0 @@ - -code {background-color: #f0f3f3} -code .comment {color: #09f; font-style: italic} -code .comment.preproc {color: #099; font-style: normal} -code .comment.special {font-weight: bold} -code .keyword {color: #069; font-weight: bold} -code .keyword.pseudo {font-weight: normal} -code .keyword.type {color: #078} -code .operator {color: #555} -code .operator.word {color: #000; font-weight: bold} -code .name.builtin {color: #366} -code .name.function {color: #c0f} -code .name.class {color: #0a8; font-weight: bold} -code .name.namespace {color: #0cf; font-weight: bold} -code .name.exception {color: #c00; font-weight: bold} -code .name.variable {color: #033} -code .name.constant {color: #360} -code .name.label {color: #99f} -code .name.entity {color: #999; font-weight: bold} -code .name.attribute {color: #309} -code .name.tag {color: #309; font-weight: bold} -code .name.decorator {color: #99f} -code .string {color: #c30} -code .string.doc {font-style: italic} -code .string.interpol {color: #a00} -code .string.escape {color: #c30; font-weight: bold} -code .string.regex {color: #3aa} -code .string.symbol {color: #fc3} -code .string.other {color: #c30} -code .number {color: #f60} diff --git a/includes/js/dojox/highlight/resources/pygments/manni.css.commented.css b/includes/js/dojox/highlight/resources/pygments/manni.css.commented.css deleted file mode 100644 index d9ba41a..0000000 --- a/includes/js/dojox/highlight/resources/pygments/manni.css.commented.css +++ /dev/null @@ -1,37 +0,0 @@ -/* Pygments manni style */ - -code {background-color: #f0f3f3} - -code .comment {color: #09f; font-style: italic} -code .comment.preproc {color: #099; font-style: normal} -code .comment.special {font-weight: bold} - -code .keyword {color: #069; font-weight: bold} -code .keyword.pseudo {font-weight: normal} -code .keyword.type {color: #078} - -code .operator {color: #555} -code .operator.word {color: #000; font-weight: bold} - -code .name.builtin {color: #366} -code .name.function {color: #c0f} -code .name.class {color: #0a8; font-weight: bold} -code .name.namespace {color: #0cf; font-weight: bold} -code .name.exception {color: #c00; font-weight: bold} -code .name.variable {color: #033} -code .name.constant {color: #360} -code .name.label {color: #99f} -code .name.entity {color: #999; font-weight: bold} -code .name.attribute {color: #309} -code .name.tag {color: #309; font-weight: bold} -code .name.decorator {color: #99f} - -code .string {color: #c30} -code .string.doc {font-style: italic} -code .string.interpol {color: #a00} -code .string.escape {color: #c30; font-weight: bold} -code .string.regex {color: #3aa} -code .string.symbol {color: #fc3} -code .string.other {color: #c30} - -code .number {color: #f60} diff --git a/includes/js/dojox/highlight/resources/pygments/murphy.css b/includes/js/dojox/highlight/resources/pygments/murphy.css deleted file mode 100644 index 971b505..0000000 --- a/includes/js/dojox/highlight/resources/pygments/murphy.css +++ /dev/null @@ -1,37 +0,0 @@ - -code .comment {color: #666; font-style: italic} -code .comment.preproc {color: #579; font-style: normal} -code .comment.special {color: #c00; font-weight: bold} -code .keyword {color: #289; font-weight: bold} -code .keyword.pseudo {color: #08f} -code .keyword.type {color: #66f} -code .operator {color: #333} -code .operator.word {color: #000; font-weight: bold} -code .name.builtin {color: #072} -code .name.function {color: #5ed; font-weight: bold} -code .name.class {color: #e9e; font-weight: bold} -code .name.namespace {color: #0e84b5; font-weight: bold} -code .name.exception {color: #f00; font-weight: bold} -code .name.variable {color: #036} -code .name.variable.instance {color: #aaf} -code .name.variable.class {color: #ccf} -code .name.variable.global {color: #f84} -code .name.constant {color: #5ed; font-weight: bold} -code .name.label {color: #970; font-weight: bold} -code .name.entity {color: #800} -code .name.attribute {color: #007} -code .name.tag {color: #070} -code .name.decorator {color: #555; font-weight: bold} -code .string {background-color: #e0e0ff} -code .string.char {color: #88f; background-color: transparent} -code .string.doc {color: #d42; background-color: transparent} -code .string.interpol {background-color: #eee} -code .string.escape {color: #666; font-weight: bold} -code .string.regex {color: #000; background-color: #e0e0ff} -code .string.symbol {color: #fc8; background-color: transparent} -code .string.other {color: #f88} -code .number {color: #60e; font-weight: bold} -code .number.integer {color: #66f; font-weight: bold} -code .number.float {color: #60e; font-weight: bold} -code .number.hex {color: #058; font-weight: bold} -code .number.oct {color: #40e; font-weight: bold} diff --git a/includes/js/dojox/highlight/resources/pygments/murphy.css.commented.css b/includes/js/dojox/highlight/resources/pygments/murphy.css.commented.css deleted file mode 100644 index bea43b5..0000000 --- a/includes/js/dojox/highlight/resources/pygments/murphy.css.commented.css +++ /dev/null @@ -1,43 +0,0 @@ -/* Pygments murphy style */ - -code .comment {color: #666; font-style: italic} -code .comment.preproc {color: #579; font-style: normal} -code .comment.special {color: #c00; font-weight: bold} - -code .keyword {color: #289; font-weight: bold} -code .keyword.pseudo {color: #08f} -code .keyword.type {color: #66f} - -code .operator {color: #333} -code .operator.word {color: #000; font-weight: bold} - -code .name.builtin {color: #072} -code .name.function {color: #5ed; font-weight: bold} -code .name.class {color: #e9e; font-weight: bold} -code .name.namespace {color: #0e84b5; font-weight: bold} -code .name.exception {color: #f00; font-weight: bold} -code .name.variable {color: #036} -code .name.variable.instance {color: #aaf} -code .name.variable.class {color: #ccf} -code .name.variable.global {color: #f84} -code .name.constant {color: #5ed; font-weight: bold} -code .name.label {color: #970; font-weight: bold} -code .name.entity {color: #800} -code .name.attribute {color: #007} -code .name.tag {color: #070} -code .name.decorator {color: #555; font-weight: bold} - -code .string {background-color: #e0e0ff} -code .string.char {color: #88f; background-color: transparent} -code .string.doc {color: #d42; background-color: transparent} -code .string.interpol {background-color: #eee} -code .string.escape {color: #666; font-weight: bold} -code .string.regex {color: #000; background-color: #e0e0ff} -code .string.symbol {color: #fc8; background-color: transparent} -code .string.other {color: #f88} - -code .number {color: #60e; font-weight: bold} -code .number.integer {color: #66f; font-weight: bold} -code .number.float {color: #60e; font-weight: bold} -code .number.hex {color: #058; font-weight: bold} -code .number.oct {color: #40e; font-weight: bold} diff --git a/includes/js/dojox/highlight/resources/pygments/native.css b/includes/js/dojox/highlight/resources/pygments/native.css deleted file mode 100644 index 47c361d..0000000 --- a/includes/js/dojox/highlight/resources/pygments/native.css +++ /dev/null @@ -1,21 +0,0 @@ - -code {background-color: #202020; color: #d0d0d0} -code .comment {color: #999; font-style: italic} -code .comment.preproc {color: #cd2828; font-style: normal; font-weight: bold} -code .comment.special {color: #e50808; font-style: normal; font-weight: bold; background-color: #520000} -code .keyword {color: #6ab825; font-weight: bold} -code .keyword.pseudo {font-weight: normal} -code .operator.word {color: #6ab825; font-weight: bold} -code .name.builtin {color: #24909d} -code .name.function {color: #40ffff} -code .name.class {color: #447fcf; text-decoration: underline} -code .name.namespace {color: #447fcf; text-decoration: underline} -code .name.exception {color: #bbb} -code .name.variable {color: #40ffff} -code .name.constant {color: #40ffff} -code .name.attribute {color: #bbb} -code .name.tag {color: #6ab825; font-weight: bold} -code .name.decorator {color: #ffa500} -code .string {color: #ed9d13} -code .string.other {color: #ffa500} -code .number {color: #3677a9} diff --git a/includes/js/dojox/highlight/resources/pygments/native.css.commented.css b/includes/js/dojox/highlight/resources/pygments/native.css.commented.css deleted file mode 100644 index 6d3306c..0000000 --- a/includes/js/dojox/highlight/resources/pygments/native.css.commented.css +++ /dev/null @@ -1,28 +0,0 @@ -/* Pygments native style */ - -code {background-color: #202020; color: #d0d0d0} - -code .comment {color: #999; font-style: italic} -code .comment.preproc {color: #cd2828; font-style: normal; font-weight: bold} -code .comment.special {color: #e50808; font-style: normal; font-weight: bold; background-color: #520000} - -code .keyword {color: #6ab825; font-weight: bold} -code .keyword.pseudo {font-weight: normal} - -code .operator.word {color: #6ab825; font-weight: bold} - -code .name.builtin {color: #24909d} -code .name.function {color: #40ffff} -code .name.class {color: #447fcf; text-decoration: underline} -code .name.namespace {color: #447fcf; text-decoration: underline} -code .name.exception {color: #bbb} -code .name.variable {color: #40ffff} -code .name.constant {color: #40ffff} -code .name.attribute {color: #bbb} -code .name.tag {color: #6ab825; font-weight: bold} -code .name.decorator {color: #ffa500} - -code .string {color: #ed9d13} -code .string.other {color: #ffa500} - -code .number {color: #3677a9} diff --git a/includes/js/dojox/highlight/resources/pygments/pastie.css b/includes/js/dojox/highlight/resources/pygments/pastie.css deleted file mode 100644 index d5e20e3..0000000 --- a/includes/js/dojox/highlight/resources/pygments/pastie.css +++ /dev/null @@ -1,30 +0,0 @@ - -code .comment {color: #888} -code .comment.preproc {color: #c00; font-weight: bold} -code .comment.special {color: #c00; font-weight: bold; background-color: #fff0f0} -code .keyword {color: #008800; font-weight: bold} -code .keyword.pseudo {font-weight: normal} -code .keyword.type {color: #888} -code .operator.word {color: #080} -code .name.builtin {color: #038} -code .name.function {color: #06b; font-weight: bold} -code .name.class {color: #b06; font-weight: bold} -code .name.namespace {color: #b06; font-weight: bold} -code .name.exception {color: #b06; font-weight: bold} -code .name.variable {color: #369} -code .name.variable.class {color: #369} -code .name.variable.instance {color: #33b} -code .name.variable.global {color: #d70} -code .name.constant {color: #036; font-weight: bold} -code .name.label {color: #369; font-style: italic} -code .name.attribute {color: #369} -code .name.tag {color: #b06; font-weight: bold} -code .name.decorator {color: #555} -code .name.property {color: #369; font-weight: bold} -code .string {color: #d20; background-color: #fff0f0} -code .string.interpol {color: #33b} -code .string.escape {color: #04d} -code .string.regex {color: #080; background-color: #fff0f0} -code .string.symbol {color: #a60} -code .string.other {color: #2b2; background-color: #f0fff0} -code .number {color: #00d; font-weight: bold} diff --git a/includes/js/dojox/highlight/resources/pygments/pastie.css.commented.css b/includes/js/dojox/highlight/resources/pygments/pastie.css.commented.css deleted file mode 100644 index 5b11cae..0000000 --- a/includes/js/dojox/highlight/resources/pygments/pastie.css.commented.css +++ /dev/null @@ -1,36 +0,0 @@ -/* Pygments pastie style */ - -code .comment {color: #888} -code .comment.preproc {color: #c00; font-weight: bold} -code .comment.special {color: #c00; font-weight: bold; background-color: #fff0f0} - -code .keyword {color: #008800; font-weight: bold} -code .keyword.pseudo {font-weight: normal} -code .keyword.type {color: #888} - -code .operator.word {color: #080} - -code .name.builtin {color: #038} -code .name.function {color: #06b; font-weight: bold} -code .name.class {color: #b06; font-weight: bold} -code .name.namespace {color: #b06; font-weight: bold} -code .name.exception {color: #b06; font-weight: bold} -code .name.variable {color: #369} -code .name.variable.class {color: #369} -code .name.variable.instance {color: #33b} -code .name.variable.global {color: #d70} -code .name.constant {color: #036; font-weight: bold} -code .name.label {color: #369; font-style: italic} -code .name.attribute {color: #369} -code .name.tag {color: #b06; font-weight: bold} -code .name.decorator {color: #555} -code .name.property {color: #369; font-weight: bold} - -code .string {color: #d20; background-color: #fff0f0} -code .string.interpol {color: #33b} -code .string.escape {color: #04d} -code .string.regex {color: #080; background-color: #fff0f0} -code .string.symbol {color: #a60} -code .string.other {color: #2b2; background-color: #f0fff0} - -code .number {color: #00d; font-weight: bold} diff --git a/includes/js/dojox/highlight/resources/pygments/perldoc.css b/includes/js/dojox/highlight/resources/pygments/perldoc.css deleted file mode 100644 index e9253e6..0000000 --- a/includes/js/dojox/highlight/resources/pygments/perldoc.css +++ /dev/null @@ -1,23 +0,0 @@ - -code {background-color: #eed} -code .comment {color: #228b22} -code .comment.preproc {color: #1e889b} -code .comment.special {color: #8b008b; font-weight: bold} -code .keyword {color: #8b008b; font-weight: bold} -code .keyword.type {color: #a7a7a7} -code .operator.word {color: #8b008b} -code .name.builtin {color: #658b00} -code .name.function {color: #008b45} -code .name.class {color: #008b45; font-weight: bold} -code .name.namespace {color: #008b45; text-decoration: underline} -code .name.exception {color: #008b45; font-weight: bold} -code .name.variable {color: #00688b} -code .name.constant {color: #00688b} -code .name.attribute {color: #658b00} -code .name.tag {color: #8b008b; font-weight: bold} -code .name.decorator {color: #707a7c} -code .string {color: #cd5555} -code .string.regex {color: #1c7e71} -code .string.other {color: #cb6c20} -code .string.heredoc {color: #1c7e71; font-style: italic} -code .number {color: #b452cd} diff --git a/includes/js/dojox/highlight/resources/pygments/perldoc.css.commented.css b/includes/js/dojox/highlight/resources/pygments/perldoc.css.commented.css deleted file mode 100644 index 2a56e2f..0000000 --- a/includes/js/dojox/highlight/resources/pygments/perldoc.css.commented.css +++ /dev/null @@ -1,30 +0,0 @@ -/* Pygments perldoc style */ - -code {background-color: #eed} - -code .comment {color: #228b22} -code .comment.preproc {color: #1e889b} -code .comment.special {color: #8b008b; font-weight: bold} - -code .keyword {color: #8b008b; font-weight: bold} -code .keyword.type {color: #a7a7a7} - -code .operator.word {color: #8b008b} - -code .name.builtin {color: #658b00} -code .name.function {color: #008b45} -code .name.class {color: #008b45; font-weight: bold} -code .name.namespace {color: #008b45; text-decoration: underline} -code .name.exception {color: #008b45; font-weight: bold} -code .name.variable {color: #00688b} -code .name.constant {color: #00688b} -code .name.attribute {color: #658b00} -code .name.tag {color: #8b008b; font-weight: bold} -code .name.decorator {color: #707a7c} - -code .string {color: #cd5555} -code .string.regex {color: #1c7e71} -code .string.other {color: #cb6c20} -code .string.heredoc {color: #1c7e71; font-style: italic} - -code .number {color: #b452cd} diff --git a/includes/js/dojox/highlight/resources/pygments/trac.css b/includes/js/dojox/highlight/resources/pygments/trac.css deleted file mode 100644 index 2085719..0000000 --- a/includes/js/dojox/highlight/resources/pygments/trac.css +++ /dev/null @@ -1,20 +0,0 @@ - -code .comment {color: #998; font-style: italic} -code .comment.preproc {color: #999; font-style: normal; font-weight: bold} -code .comment.special {color: #999; font-weight: bold} -code .keyword {font-weight: bold} -code .keyword.type {color: #458} -code .operator {font-weight: bold} -code .name.builtin {color: #999} -code .name.function {color: #900; font-weight: bold} -code .name.class {color: #458; font-weight: bold} -code .name.namespace {color: #555} -code .name.exception {color: #900; font-weight: bold} -code .name.variable {color: #008080} -code .name.constant {color: #008080} -code .name.entity {color: #800080} -code .name.attribute {color: #008080} -code .name.tag {color: #000080} -code .string {color: #b84} -code .string.regex {color: #808000} -code .number {color: #099} diff --git a/includes/js/dojox/highlight/resources/pygments/trac.css.commented.css b/includes/js/dojox/highlight/resources/pygments/trac.css.commented.css deleted file mode 100644 index 127b1fb..0000000 --- a/includes/js/dojox/highlight/resources/pygments/trac.css.commented.css +++ /dev/null @@ -1,26 +0,0 @@ -/* Pygments trac style */ - -code .comment {color: #998; font-style: italic} -code .comment.preproc {color: #999; font-style: normal; font-weight: bold} -code .comment.special {color: #999; font-weight: bold} - -code .keyword {font-weight: bold} -code .keyword.type {color: #458} - -code .operator {font-weight: bold} - -code .name.builtin {color: #999} -code .name.function {color: #900; font-weight: bold} -code .name.class {color: #458; font-weight: bold} -code .name.namespace {color: #555} -code .name.exception {color: #900; font-weight: bold} -code .name.variable {color: #008080} -code .name.constant {color: #008080} -code .name.entity {color: #800080} -code .name.attribute {color: #008080} -code .name.tag {color: #000080} - -code .string {color: #b84} -code .string.regex {color: #808000} - -code .number {color: #099} diff --git a/includes/js/dojox/highlight/tests/test_highlight.html b/includes/js/dojox/highlight/tests/test_highlight.html deleted file mode 100644 index 93b1534..0000000 --- a/includes/js/dojox/highlight/tests/test_highlight.html +++ /dev/null @@ -1,327 +0,0 @@ - - - dojox.highlight - syntax highlighting | The Dojo Toolkit - - - - - - - - - -

            dojox.highlight

            - -

            client-side syntax highlighting for a number of languages.

            - -

            NOTE: All languages listed here have working language definitions, though -not all exist in the release or dojo subversion. The missing packs are not publically available. -based on -

            - -

            Examples:

            - -

            Some Python code:

            - -
            @requires_authorization
            -def somefunc(param1, param2):
            -  '''A docstring'''
            -  if param1 > param2: # interesting
            -    print 'Gre\'ater'
            -    print ''
            -  return param2 - param1 + 1
            -  
            -class SomeClass:
            pass -
            - - - - -

            A chunk of PHP:

            - -
            
            -$opAr = array (    "-a|--append", // a or append toggle, nothing extra
            -        "-i|--input:", // i or input with next input being needed
            -        "-l|--list:",           // l with input needed
            -		//"--foo",     // broken
            -        "-f:",           // f with no input
            -        "--wot:"      // wot with input, no short
            -        );
            -
            -
            -$op = bgetop($opAr);
            -if (is_array($op)) { print_r($op); }
            -
            -/* here is the code: */
            -
            -function bgetop($opAr=array(),$unknown=true) {
            -
            -$argv = $_SERVER['argv'];
            -$argc = $_SERVER['argc'];
            -$argPos = 1; // zero is program running
            -
            -// foreach arg
            -while ($argPos<$argc) {
            -    $arg = $argv[$argPos];
            -    if ($arg{0}=="-") {
            -        if ($arg{1}=="-") {
            -        $var = substr($arg,2,strlen($arg));
            -        } else { $var = $arg{1}; }
            -        foreach ($opAr as $opk => $opv) {
            -            if (!isset($return[$var])) {
            -            if (strpos($opv,$arg) !== FALSE) {
            -                // this is where the -f -foo fix needs to be,
            -                // the partial string exists in this record,
            -                // but we need to determine if it's accurate
            -                // somehow (i'm thinking: eregi?)
            -                if ($accurate=1) {
            -                    // we foudn the key
            -                    if (strpos($opv,':') !== FALSE) {
            -                        // next value is the one to use,
            -                        // then skip it in the parser.
            -                        if (isset($argv[$argPos+1])) {
            -                            $return[$var] = $argv[++$argPos];
            -                            } else {
            -                            $return[$var] = FALSE;     
            -                            }
            -                        } else {
            -                        // just set the toggle
            -                        $return[$var] = TRUE;
            -                        }
            -                    // don't check this opAr value again
            -                    unset($opAr[$opk]);
            -                    }
            -                } // if accurate
            -            } // !isset already
            -            } // foreach opAr    
            -    } else { // we weren't expecting a non-hyphened argument, possibly just a filename, or whatnot
            -        if ($unknown) { $return['unknown'][]=$arg; }
            -    }
            -    $argPos++;
            -} // while argPos < argc
            -
            -if (is_array($return)) {
            -return $return;
            -} else { return 0; }
            -
            -} // end function bgetop
            -
            -
            - -

            A custom XML document:

            - -
            <?xml version="1.0"?>
            -<response value="ok">
            -  <text>Ok</text>
            -  <comment/>
            -  <ns:description><![CDATA[ 
            -  CDATA is <not> magical. 
            -  ]]></ns:description>
            -</response>
            -
            - -

            Some HTML code:

            - -
            <head>
            -  <title>Title</title>
            -<body>
            -  <p class="something">Something</p>
            -  <p class=something>Something</p>
            -  <!-- comment -->
            -  <p class>Something</p>
            -  <p class="something" title="p">Something</p>
            -</body>
            -
            - -

            HTML with Django templates:

            - -
            {% if articles|length %}
            -{% for article in articles %}
            -
            -{# Striped table #}
            -<tr class="{% cycle odd,even %}">
            -  <td>{{ article|default:"Hi... "|escape }}</td>
            -  <td>{{ article.date|date:"d.m.Y" }}</td>
            -</tr>
            -  
            -{% endfor %}
            -{% endif %}
            -
            -{% comment %}
            -Comments may be long and
            -multiline.
            -{% endcomment %}
            -
            - -

            Some CSS code:

            - -
            body, 
            -html {
            -  font: Tahoma, Arial, san-serif;
            -}
            -
            -#content {
            -  width: 100%; /* css comment */
            -  height: 100%
            -}
            -
            -p[lang=ru] {
            -  color: red;
            -}
            -
            - -

            Explicit Python highlight:

            - -
            for x in [1, 2, 3]:
            -  count(x)
            -
            - -

            Disabled highlighting:

            - -
            <div id="contents">
            -  <p>Hello, World!
            -</div>
            -
            - -

            Normal dojo-looking code

            - -
            
            -dojo.provide("some.object");
            -dojo.declare("some.object",null,{
            -	param: "value",
            -	_myMethod: function(/* Event */e){
            -		this.inherited(arguments);
            -	},
            -	// comments
            -	_another: function(){
            -		dojo.addClass("foo","hovered");
            -	}
            -});
            -dojo.addOnLoad(function(){
            -	//
            -	// comments with <HTML> inline
            -	var d = dojo;
            -	d.mixin(d,{
            -		foo: function(e){
            -			d.bar(e);
            -		},
            -		bar: function(e){
            -			alert(e);
            -		}
            -	});
            -});
            -
            - -

            Lazy, xhr'd code:

            - -
            - -
            - -

            Text with inlined JavaScript code: dojo.forEach(a, function(x){ console.log(x); }); — that was the inlined sample.

            - -
            - -

            Markuped code (python), no language was specified:

            - -
            @requires_authorization
            -def somefunc(param1, param2):
            -  '''A docstring'''
            -  if param1 > param2: # interesting
            -    print 'Gre\'ater'
            -    print ''
            -  return param2 - param1 + 1
            -  
            -class SomeClass:
            pass -
            - -

            Markuped code, "python" was specified:

            - -
            @requires_authorization
            -def somefunc(param1, param2):
            -  '''A docstring'''
            -  if param1 > param2: # interesting
            -    print 'Gre\'ater'
            -    print ''
            -  return param2 - param1 + 1
            -  
            -class SomeClass:
            pass -
            - - - diff --git a/includes/js/dojox/highlight/tests/test_pygments.html b/includes/js/dojox/highlight/tests/test_pygments.html deleted file mode 100644 index 6bdced6..0000000 --- a/includes/js/dojox/highlight/tests/test_pygments.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - dojox.highlight.pygments - syntax highlighting | The Dojo Toolkit - - - - - - - - - - - -

            Test Pygments-based highlighting

            - -

            Current theme from the pygments set: - -

            - -

            Javascript:

            - -
            function initHighlight(block) {
            -  if (block.className.search(/\bno\-highlight\b/) != -1)
            -    return false;
            -  try {
            -    blockText(block);
            -  } catch (e) {
            -    if (e == 'Complex markup')
            -      return;
            -  }//try
            -  var classes = block.className.split(/\s+/);
            -  for (var i = 0; i < classes.length; i++) {
            -    if (LANGUAGES[classes[i]]) {
            -      highlightLanguage(block, classes[i]);
            -      return;
            -    }//if
            -  }//for
            -  highlightAuto(block);
            -}//initHighlight
            - -

            Some CSS code:

            - -
            body, 
            -html {
            -  font: Tahoma, Arial, sans-serif;
            -}
            -
            -#content {
            -  width: 100%; /* test comment */
            -  height: 100%
            -}
            -
            -p[lang=ru] {
            -  color: red;
            -}
            -
            - -

            Some HTML code:

            - -
            <head>
            -  <title>Title</title>
            -<body>
            -  <p class="something">Something</p>
            -  <p class=something>Something</p>
            -  <!-- comment -->
            -  <p class>Something</p>
            -  <p class="something" title="p">Something</p>
            -</body>
            -
            - -

            A custom XML document:

            - -
            <?xml version="1.0"?>
            -<response value="ok">
            -  <text>Ok</text>
            -  <comment/>
            -  <ns:description><![CDATA[ 
            -  CDATA is <not> magical. 
            -  ]]></ns:description>
            -</response>
            -
            - - - diff --git a/includes/js/dojox/image/Gallery.js b/includes/js/dojox/image/Gallery.js deleted file mode 100644 index d29ae22..0000000 --- a/includes/js/dojox/image/Gallery.js +++ /dev/null @@ -1,182 +0,0 @@ -if(!dojo._hasResource["dojox.image.Gallery"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.image.Gallery"] = true; -dojo.provide("dojox.image.Gallery"); -dojo.experimental("dojox.image.Gallery"); -// -// dojox.image.Gallery courtesy Shane O Sullivan, licensed under a Dojo CLA -// @author Copyright 2007 Shane O Sullivan (shaneosullivan1@gmail.com) -// -// For a sample usage, see http://www.skynet.ie/~sos/photos.php -// -// TODO: Make public, document params and privitize non-API conformant methods. -// document topics. - -dojo.require("dojo.fx"); -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); -dojo.require("dojox.image.ThumbnailPicker"); -dojo.require("dojox.image.SlideShow"); - -dojo.declare("dojox.image.Gallery", - [dijit._Widget, dijit._Templated], - { - // summary: - // Gallery widget that wraps a dojox.image.ThumbnailPicker and dojox.image.SlideShow widget - // - // imageHeight: Number - // Maximum height of an image in the SlideShow widget - imageHeight: 375, - - // imageWidth: Number - // Maximum width of an image in the SlideShow widget - imageWidth: 500, - - // pageSize: Number - // The number of records to retrieve from the data store per request. - pageSize: dojox.image.SlideShow.prototype.pageSize, - - // autoLoad: Boolean - // If true, images are loaded before the user views them. If false, an - // image is loaded when the user displays it. - autoLoad: true, - - // linkAttr: String - // Defines the name of the attribute to request from the store to retrieve the - // URL to link to from an image, if any. - linkAttr: "link", - - // imageThumbAttr: String - // Defines the name of the attribute to request from the store to retrieve the - // URL to the thumbnail image. - imageThumbAttr: "imageUrlThumb", - - // imageLargeAttr: String - // Defines the name of the attribute to request from the store to retrieve the - // URL to the image. - imageLargeAttr: "imageUrl", - - // titleAttr: String - // Defines the name of the attribute to request from the store to retrieve the - // title of the picture, if any. - titleAttr: "title", - - // slideshowInterval: Integer - // time in seconds, between image changes in the slide show. - slideshowInterval: 3, - - templateString:"
            \n\t
            \n\t
            \n
            \n", - - postCreate: function(){ - // summary: Initializes the widget, creates the ThumbnailPicker and SlideShow widgets - this.widgetid = this.id; - this.inherited(arguments) - - this.thumbPicker = new dojox.image.ThumbnailPicker({ - linkAttr: this.linkAttr, - imageLargeAttr: this.imageLargeAttr, - titleAttr: this.titleAttr, - useLoadNotifier: true, - size: this.imageWidth - }, this.thumbPickerNode); - - - this.slideShow = new dojox.image.SlideShow({ - imageHeight: this.imageHeight, - imageWidth: this.imageWidth, - autoLoad: this.autoLoad, - linkAttr: this.linkAttr, - imageLargeAttr: this.imageLargeAttr, - titleAttr: this.titleAttr, - slideshowInterval: this.slideshowInterval, - pageSize: this.pageSize - }, this.slideShowNode); - - var _this = this; - //When an image is shown in the Slideshow, make sure it is visible - //in the ThumbnailPicker - dojo.subscribe(this.slideShow.getShowTopicName(), function(packet){ - //if(packet.index < _this.thumbPicker._thumbIndex - // || packet.index > _this.thumbPicker._thumbIndex + _this.thumbPicker.numberThumbs -1){ - //if(!_this.thumbPicker.isVisible(packet.index)){ - //var index = packet.index - (packet.index % _this.thumbPicker.numberThumbs); - _this.thumbPicker._showThumbs(packet.index); - //} - }); - //When the user clicks a thumbnail, show that image - dojo.subscribe(this.thumbPicker.getClickTopicName(), function(evt){ - _this.slideShow.showImage(evt.index); - }); - //When the ThumbnailPicker moves to show a new set of pictures, - //make the Slideshow start loading those pictures first. - dojo.subscribe(this.thumbPicker.getShowTopicName(), function(evt){ - _this.slideShow.moveImageLoadingPointer(evt.index); - }); - //When an image finished loading in the slideshow, update the loading - //notification in the ThumbnailPicker - dojo.subscribe(this.slideShow.getLoadTopicName(), function(index){ - _this.thumbPicker.markImageLoaded(index); - }); - this._centerChildren(); - }, - - setDataStore: function(dataStore, request, /*optional*/paramNames){ - // summary: Sets the data store and request objects to read data from. - // dataStore: - // An implementation of the dojo.data.api.Read API. This accesses the image - // data. - // request: - // An implementation of the dojo.data.api.Request API. This specifies the - // query and paging information to be used by the data store - // paramNames: - // An object defining the names of the item attributes to fetch from the - // data store. The four attributes allowed are 'linkAttr', 'imageLargeAttr', - // 'imageThumbAttr' and 'titleAttr' - this.thumbPicker.setDataStore(dataStore, request, paramNames); - this.slideShow.setDataStore(dataStore, request, paramNames); - }, - - reset: function(){ - // summary: Resets the widget to its initial state - this.slideShow.reset(); - this.thumbPicker.reset(); - }, - - showNextImage: function(inTimer){ - // summary: Changes the image being displayed in the SlideShow to the next - // image in the data store - // inTimer: Boolean - // If true, a slideshow is active, otherwise the slideshow is inactive. - this.slideShow.showNextImage(); - }, - - toggleSlideshow: function(){ - // summary: Switches the slideshow mode on and off. - this.slideShow.toggleSlideshow(); - }, - - showImage: function(index, /*optional*/callback){ - // summary: Shows the image at index 'idx'. - // idx: Number - // The position of the image in the data store to display - // callback: Function - // Optional callback function to call when the image has finished displaying. - this.slideShow.showImage(index, callback); - }, - - _centerChildren: function() { - // summary: Ensures that the ThumbnailPicker and the SlideShow widgets - // are centered. - var thumbSize = dojo.marginBox(this.thumbPicker.outerNode); - var slideSize = dojo.marginBox(this.slideShow.outerNode); - - var diff = (thumbSize.w - slideSize.w) / 2; - - if(diff > 0) { - dojo.style(this.slideShow.outerNode, "marginLeft", diff + "px"); - } else if(diff < 0) { - dojo.style(this.thumbPicker.outerNode, "marginLeft", (diff * -1) + "px"); - } - } -}); - -} diff --git a/includes/js/dojox/image/Lightbox.js b/includes/js/dojox/image/Lightbox.js deleted file mode 100644 index 79056d3..0000000 --- a/includes/js/dojox/image/Lightbox.js +++ /dev/null @@ -1,451 +0,0 @@ -if(!dojo._hasResource["dojox.image.Lightbox"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.image.Lightbox"] = true; -dojo.provide("dojox.image.Lightbox"); -dojo.experimental("dojox.image.Lightbox"); - -dojo.require("dijit.Dialog"); -dojo.require("dojox.fx._base"); - -dojo.declare("dojox.image.Lightbox", - dijit._Widget,{ - // summary: - // A dojo-based Lightbox implementation. - // - // description: - // An Elegant, keyboard accessible, markup and store capable Lightbox widget to show images - // in a modal dialog-esque format. Can show individual images as Modal dialog, or can group - // images with multiple entry points, all using a single "master" Dialog for visualization - // - // key controls: - // ESC - close - // Down Arrow / Rt Arrow / N - Next Image - // Up Arrow / Lf Arrow / P - Previous Image - // - // example: - // | show lightbox - // - // example: - // | show group lightbox - // | show group lightbox - // - // example: - // | not implemented fully yet, though works with basic datastore access. need to manually call - // | widget._attachedDialog.addImage(item,"fromStore") for each item in a store result set. - // |
            - // - // group: String - // Grouping images in a page with similar tags will provide a 'slideshow' like grouping of images - group: "", - - // title: String - // A string of text to be shown in the Lightbox beneath the image (empty if using a store) - title: "", - - // href; String - // Link to image to use for this Lightbox node (empty if using a store). - href: "", - - // duration: Integer - // Generic time in MS to adjust the feel of widget. could possibly add various - // durations for the various actions (dialog fadein, sizeing, img fadein ...) - duration: 500, - - // _allowPassthru: Boolean - // Privately set this to disable/enable natural link of anchor tags - _allowPassthru: false, - - // _attachedDialg: dojox.image._LightboxDialog - // The pointer to the global lightbox dialog for this widget - _attachedDialog: null, // try to share a single underlay per page? - - startup: function(){ - this.inherited(arguments); - // setup an attachment to the masterDialog (or create the masterDialog) - var tmp = dijit.byId('dojoxLightboxDialog'); - if(tmp){ - this._attachedDialog = tmp; - }else{ - // this is the first instance to start, so we make the masterDialog - this._attachedDialog = new dojox.image._LightboxDialog({ id: "dojoxLightboxDialog" }); - this._attachedDialog.startup(); - } - if(!this.store){ - // FIXME: full store support lacking, have to manually call this._attachedDialog.addImage(imgage,group) as it stands - this._addSelf(); - this.connect(this.domNode, "onclick", "_handleClick"); - } - }, - - _addSelf: function(){ - // summary: Add this instance to the master LightBoxDialog - this._attachedDialog.addImage({ - href: this.href, - title: this.title - },this.group||null); - }, - - _handleClick: function(/* Event */e){ - // summary: Handle the click on the link - if(!this._allowPassthru){ e.preventDefault(); } - else{ return; } - this.show(); - }, - - show: function(){ - // summary: Show the Lightbox with this instance as the starting point - this._attachedDialog.show(this); - }, - - disable: function(){ - // summary: Disables event clobbering and dialog, and follows natural link - this._allowPassthru = true; - }, - - enable: function(){ - // summary: Enables the dialog (prevents default link) - this._allowPassthru = false; - } - -}); - -dojo.declare("dojox.image._LightboxDialog", - dijit.Dialog,{ - // summary: - // The "dialog" shared between any Lightbox instances on the page - // - // description: - // - // A widget that intercepts anchor links (typically around images) - // and displays a modal Dialog. this is the actual Dialog, which you can - // create and populate manually, though should use simple Lightbox's - // unless you need to direct access. - // - // There should only be one of these on a page, so all dojox.image.Lightbox's will us it - // (the first instance of a Lightbox to be show()'n will create me If i do not exist) - // - // title: String - // The current title, read from object passed to show() - title: "", - - // FIXME: implement titleTemplate - - // inGroup: Array - // Array of objects. this is populated by from the JSON object _groups, and - // should not be populate manually. it is a placeholder for the currently - // showing group of images in this master dialog - inGroup: null, - - // imgUrl: String - // The src="" attribute of our imageNode (can be null at statup) - imgUrl: "", - - // errorMessage: String - // The text to display when an unreachable image is linked - errorMessage: "Image not found.", - - // adjust: Boolean - // If true, ensure the image always stays within the viewport - // more difficult than necessary to disable, but enabled by default - // seems sane in most use cases. - adjust: true, - - // an object of arrays, each array (of objects) being a unique 'group' - _groups: { XnoGroupX: [] }, - - // errorImg: Url - // Path to the image used when a 404 is encountered - errorImg: dojo.moduleUrl("dojox.image","resources/images/warning.png"), - - // privates: - _imageReady: false, - _blankImg: dojo.moduleUrl("dojo","resources/blank.gif"), - _clone: null, // the "untained" image - _wasStyled: null, // indicating taint on the imgNode - - // animation holders: - _loadingAnim:null, - _showImageAnim: null, - _showNavAnim: null, - _animConnects: [], - - templateString:"
            \n\t
            \n\t\t
            \n\t\t\t\"${title}\"\n\t\t\t
            \n\t\t\t\t
            \n\t\t\t\t
            \t\n\t\t\t\t
            \n\n\t\t\t\t
            ${title}
            \n\t\t\t
            \n\t\t
            \t\n\t\t\n\t
            \n
            \n", - - startup: function(){ - // summary: Add some extra event handlers, and startup our superclass. - - this.inherited(arguments); - this._clone = dojo.clone(this.imgNode); - this.connect(document.documentElement,"onkeypress","_handleKey"); - this.connect(window,"onresize","_position"); - this.connect(this.nextNode, "onclick", "_nextImage"); - this.connect(this.prevNode, "onclick", "_prevImage"); - this.connect(this.closeNode, "onclick", "hide"); - this._makeAnims(); - this._vp = dijit.getViewport(); - - }, - - show: function(/* Object */groupData){ - // summary: Show the Master Dialog. Starts the chain of events to show - // an image in the dialog, including showing the dialog if it is - // not already visible - // - // groupData: Object - // needs href and title attributes. the values for this image. - - var _t = this; // size - - // we only need to call dijit.Dialog.show() if we're not already open. - if(!_t.open){ _t.inherited(arguments); } - - if(this._wasStyled){ - // ugly fix for IE being stupid: - dojo._destroyElement(_t.imgNode); - _t.imgNode = dojo.clone(_t._clone); - dojo.place(_t.imgNode,_t.imageContainer,"first"); - _t._makeAnims(); - _t._wasStyled = false; - } - - dojo.style(_t.imgNode,"opacity","0"); - dojo.style(_t.titleNode,"opacity","0"); - - _t._imageReady = false; - _t.imgNode.src = groupData.href; - - if((groupData.group && groupData !== "XnoGroupX") || _t.inGroup){ - if(!_t.inGroup){ - _t.inGroup = _t._groups[(groupData.group)]; - // determine where we were or are in the show - dojo.forEach(_t.inGroup,function(g,i){ - if(g.href == groupData.href){ - _t._positionIndex = i; - } - },_t); - } - if(!_t._positionIndex){ - _t._positionIndex=0; - _t.imgNode.src = _t.inGroup[_t._positionIndex].href; - } - // FIXME: implement titleTemplate - _t.groupCount.innerHTML = " (" +(_t._positionIndex+1) +" of "+_t.inGroup.length+")"; - _t.prevNode.style.visibility = "visible"; - _t.nextNode.style.visibility = "visible"; - }else{ - // single images don't have buttons, or counters: - _t.groupCount.innerHTML = ""; - _t.prevNode.style.visibility = "hidden"; - _t.nextNode.style.visibility = "hidden"; - } - _t.textNode.innerHTML = groupData.title; - - if(!_t._imageReady || _t.imgNode.complete === true){ - // connect to the onload of the image - _t._imgConnect = dojo.connect(_t.imgNode, "onload", _t, function(){ - _t._imageReady = true; - _t.resizeTo({ - w: _t.imgNode.width, - h: _t.imgNode.height, - duration:_t.duration - }); - // cleanup - dojo.disconnect(_t._imgConnect); - if(_t._imgError){ dojo.disconnect(_t._imgError); } - }); - - // listen for 404's: - _t._imgError = dojo.connect(_t.imgNode, "onerror", _t, function(){ - dojo.disconnect(_t._imgError); - // trigger the above onload with a new src: - _t.imgNode.src = _t.errorImg; - _t._imageReady = true; - _t.textNode.innerHTML = _t.errorMessage; - }); - - // onload doesn't fire in IE if you connect before you set the src. - // hack to re-set the src after onload connection made: - if(dojo.isIE){ _t.imgNode.src = _t.imgNode.src; } - - }else{ - // do it quickly. kind of a hack, but image is ready now - _t.resizeTo({ w: _t.imgNode.width, h: _t.imgNode.height, duration: 1 }); - } - - }, - - _nextImage: function(){ - // summary: Load next image in group - if(!this.inGroup){ return; } - if(this._positionIndex+1 this._vp.h || size.w + 50 > this._vp.w)){ - size = this._scaleToFit(size); - } - - var _sizeAnim = dojox.fx.sizeTo({ - node: this.containerNode, - duration: size.duration||this.duration, - width: size.w, - height: size.h + 30 - }); - this.connect(_sizeAnim,"onEnd","_showImage"); - _sizeAnim.play(15); - }, - - _showImage: function(){ - // summary: Fade in the image, and fire showNav - this._showImageAnim.play(1); - }, - - _showNav: function(){ - // summary: Fade in the footer, and setup our connections. - this._showNavAnim.play(1); - }, - - hide: function(){ - // summary: Hide the Master Lightbox - dojo.fadeOut({node:this.titleNode, duration:200, - onEnd: dojo.hitch(this,function(){ - // refs #5112 - if you _don't_ change the .src, safari will _never_ fire onload for this image - this.imgNode.src = this._blankImg; - }) - }).play(5); - this.inherited(arguments); - this.inGroup = null; - this._positionIndex = null; - }, - - addImage: function(child, group){ - // summary: Add an image to this Master Lightbox - // - // child: Object - // The image information to add. - // href: String - link to image (required) - // title: String - title to display - // - // group: String? - // attach to group of similar tag or null for individual image instance - var g = group; - if(!child.href){ return; } - if(g){ - if(!this._groups[g]){ - this._groups[g] = []; - } - this._groups[g].push(child); - }else{ this._groups["XnoGroupX"].push(child); } - }, - - _handleKey: function(/* Event */e){ - // summary: Handle keyboard navigation internally - if(!this.open){ return; } - - var dk = dojo.keys; - var key = (e.charCode == dk.SPACE ? dk.SPACE : e.keyCode); - switch(key){ - - case dk.ESCAPE: this.hide(); break; - - case dk.DOWN_ARROW: - case dk.RIGHT_ARROW: - case 78: // key "n" - this._nextImage(); break; - - case dk.UP_ARROW: - case dk.LEFT_ARROW: - case 80: // key "p" - this._prevImage(); break; - } - }, - - _scaleToFit: function(/* Object */size){ - // summary: resize an image to fit within the bounds of the viewport - // size: Object - // The 'size' object passed around for this image - var ns = {}; - - // one of the dimensions is too big, go with the smaller viewport edge: - if(this._vp.h > this._vp.w){ - // don't actually touch the edges: - ns.w = this._vp.w - 70; - ns.h = ns.w * (size.h / size.w); - }else{ - // give a little room for the titlenode, too: - ns.h = this._vp.h - 80; - ns.w = ns.h * (size.w / size.h); - } - - // trigger the nasty width="auto" workaround in show() - this._wasStyled = true; - - // we actually have to style this image, it's too big - var s = this.imgNode.style; - s.height = ns.h + "px"; - s.width = ns.w + "px"; - - ns.duration = size.duration; - return ns; // Object - - }, - - _position: function(/* Event */e){ - // summary: we want to know the viewport size any time it changes - this.inherited(arguments); - this._vp = dijit.getViewport(); - }, - - _makeAnims: function(){ - // summary: make and cleanup animation and animation connections - - dojo.forEach(this._animConnects,dojo.disconnect); - this._animConnects = []; - this._showImageAnim = dojo.fadeIn({ - node: this.imgNode, - duration: this.duration - }); - this._animConnects.push(dojo.connect(this._showImageAnim, "onEnd", this, "_showNav")); - this._loadingAnim = dojo.fx.combine([ - dojo.fadeOut({ node:this.imgNode, duration:175 }), - dojo.fadeOut({ node:this.titleNode, duration:175 }) - ]); - this._animConnects.push(dojo.connect(this._loadingAnim, "onEnd", this, "_prepNodes")); - this._showNavAnim = dojo.fadeIn({ node: this.titleNode, duration:225 }); - } -}); - -} diff --git a/includes/js/dojox/image/Magnifier.js b/includes/js/dojox/image/Magnifier.js deleted file mode 100644 index b6a3923..0000000 --- a/includes/js/dojox/image/Magnifier.js +++ /dev/null @@ -1,75 +0,0 @@ -if(!dojo._hasResource["dojox.image.Magnifier"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.image.Magnifier"] = true; -dojo.provide("dojox.image.Magnifier"); - -dojo.require("dojox.gfx"); -dojo.require("dojox.image.MagnifierLite"); - -dojo.declare("dojox.image.Magnifier", - [dojox.image.MagnifierLite],{ - // summary: Adds magnification on a portion of an image element, using dojox.gfx - // - // description: An unobtrusive way to add an unstyled overlay - // above the srcNode image element. The overlay/glass is a - // scaled version of the src image (so larger images sized down - // are clearer). - // - // over-ride the _createGlass method to create your custom surface, - // being sure to create an img node on that surface. - - _createGlass: function(){ - // summary: create the glassNode, and an img on a dojox.gfx surface - - // images are hard to make into workable templates, so just add outer overlay - // and skip using dijit._Templated - this.glassNode = dojo.doc.createElement('div'); - this.surfaceNode = this.glassNode.appendChild(dojo.doc.createElement('div')); - - dojo.addClass(this.glassNode,"glassNode"); - dojo.body().appendChild(this.glassNode); - - with(this.glassNode.style){ - height = this.glassSize + "px"; - width = this.glassSize + "px"; - } - - this.surface = dojox.gfx.createSurface(this.surfaceNode, this.glassSize, this.glassSize); - this.img = this.surface.createImage({ - src:this.domNode.src, - width:this._zoomSize.w, - height:this._zoomSize.h - }); - - }, - - _placeGlass: function(e){ - // summary: position the overlay centered under the cursor - var x = e.pageX - 2; - var y = e.pageY - 2 ; - var xMax = this.offset.x + this.offset.w + 2; - var yMax = this.offset.y + this.offset.h + 2; - - // with svg, our mouseout connection to the image surface doesn't - // fire, so we'r have to manually calculate offsets - if(xxMax || y>yMax){ - this._hideGlass(); - }else{ - this.inherited(arguments); - } - }, - - _setImage: function(e){ - // summary: set the image's offset in the clipping window relative to the mouse position - - var xOff = (e.pageX - this.offset.l) / this.offset.w; - var yOff = (e.pageY - this.offset.t) / this.offset.h; - var x = (this._zoomSize.w * xOff * -1)+(this.glassSize*xOff); - var y = (this._zoomSize.h * yOff * -1)+(this.glassSize*yOff); - // set the image offset - this.img.setShape({ x: x, y:y }); - - } - -}); - -} diff --git a/includes/js/dojox/image/MagnifierLite.js b/includes/js/dojox/image/MagnifierLite.js deleted file mode 100644 index 2e37340..0000000 --- a/includes/js/dojox/image/MagnifierLite.js +++ /dev/null @@ -1,126 +0,0 @@ -if(!dojo._hasResource["dojox.image.MagnifierLite"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.image.MagnifierLite"] = true; -dojo.provide("dojox.image.MagnifierLite"); -dojo.experimental("dojox.image.MagnifierLite"); - -dojo.require("dijit._Widget"); - -dojo.declare("dojox.image.MagnifierLite", - [dijit._Widget],{ - // summary: Adds magnification on a portion of an image element - // - // description: An unobtrusive way to add an unstyled overlay - // above the srcNode image element. The overlay/glass is a - // scaled version of the src image (so larger images sized down - // are clearer). - // - // The logic behind requiring the src image to be large is - // "it's going to be downloaded, anyway" so this method avoids - // having to make thumbnails and 2 http requests among other things. - // - // glassSize: Int - // the width and height of the bounding box - glassSize: 125, - - // scale: Decimal - // the multiplier of the Mangification. - scale: 6, - - postCreate: function(){ - this.inherited(arguments); - - // images are hard to make into workable templates, so just add outer overlay - // and skip using dijit._Templated - this._adjustScale(); - this._createGlass(); - - this.connect(this.domNode,"onmouseenter","_showGlass"); - this.connect(this.glassNode,"onmousemove","_placeGlass"); - this.connect(this.img,"onmouseout","_hideGlass"); - - // when position of domNode changes, _adjustScale needs to run. - // window.resize isn't it always, FIXME: - this.connect(window,"onresize","_adjustScale"); - - }, - - _createGlass: function(){ - // summary: make img and glassNode elements as children of the body - - this.glassNode = dojo.doc.createElement('div'); - this.surfaceNode = this.glassNode.appendChild(dojo.doc.createElement('div')); - dojo.addClass(this.glassNode,"glassNode"); - dojo.body().appendChild(this.glassNode); - with(this.glassNode.style){ - height = this.glassSize + "px"; - width = this.glassSize + "px"; - } - - this.img = dojo.doc.createElement('img'); - this.glassNode.appendChild(this.img); - this.img.src = this.domNode.src; - // float the image around inside the .glassNode - with(this.img.style){ - position = "relative"; - top = 0; left = 0; - width = this._zoomSize.w+"px"; - height = this._zoomSize.h+"px"; - } - - }, - - _adjustScale: function(){ - // summary: update the calculations should this.scale change - - this.offset = dojo.coords(this.domNode,true); - this._imageSize = { w: this.offset.w, h:this.offset.h }; - this._zoomSize = { - w: this._imageSize.w * this.scale, - h: this._imageSize.h * this.scale - }; - }, - - _showGlass: function(e){ - // summary: show the overlay - this._placeGlass(e); - with(this.glassNode.style){ - visibility = "visible"; - display = ""; - } - - }, - - _hideGlass: function(e){ - // summary: hide the overlay - this.glassNode.style.visibility = "hidden"; - this.glassNode.style.display = "none"; - }, - - _placeGlass: function(e){ - // summary: position the overlay centered under the cursor - - this._setImage(e); - var t = Math.floor(e.pageY - (this.glassSize/2)); - var l = Math.floor(e.pageX - (this.glassSize/2)); - dojo.style(this.glassNode,"top",t); - dojo.style(this.glassNode,"left",l); - - }, - - _setImage: function(e){ - // summary: set the image's offset in the clipping window relative to the mouse position - - var xOff = (e.pageX - this.offset.l) / this.offset.w; - var yOff = (e.pageY - this.offset.t) / this.offset.h; - var x = (this._zoomSize.w * xOff * -1)+(this.glassSize*xOff); - var y = (this._zoomSize.h * yOff * -1)+(this.glassSize*yOff); - with(this.img.style){ - top = y+"px"; - left = x+"px"; - } - - } - -}); - -} diff --git a/includes/js/dojox/image/README b/includes/js/dojox/image/README deleted file mode 100644 index 38e9c3d..0000000 --- a/includes/js/dojox/image/README +++ /dev/null @@ -1,66 +0,0 @@ -------------------------------------------------------------------------------- -dojox.image -------------------------------------------------------------------------------- -Version 1.0 -Release date: 10/31/07 -------------------------------------------------------------------------------- -Project state: -prototype | experimental -------------------------------------------------------------------------------- -Credits - Peter Higgins (dante) - Shane O'Sullivan (shaneosullivan1@gmail.com) -------------------------------------------------------------------------------- -Project description - - A class to provide a common API for images, and home for image - related Widgets. - -------------------------------------------------------------------------------- -Dependencies: - - LightBox: dojo core, dojox.fx and optionally dojox.data. uses - either tundra or soria theme, no standalone icons. - - SlideShow: dojo core, dojo.fx, and dojo.data (optional - dojox.data store implementations apply) - - ThumbNailPicker: dojo core, dojo.fx and dojo.data. Combined - with a SlideShow, creates a sample Gallery app. - - Gallery: core, dojox.image.SlideShow, dojox.image.ThumbNailPicker - - Magnifier: dojo core, dijit._Widget, dojox.gfx - -------------------------------------------------------------------------------- -Documentation - -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/dojo/dojox/trunk/image/* - -Install into the following directory structure: -/dojox/image/ - -...which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- -Additional Notes - - LightBox: currently works as individual items, and grouped items, - but usage of dojo.data is broken (atm). the API is subject to - change, and is marked accordingly. - - Hoping to implement: Carossel, and Reflect using - a common API provided by dojox.image.Pane (?) - - SlideShow: Shows an image, one by one, from a datastore. Acts - as standing ImagePane implementation, - - Gallery: A combination Thumbnail view and SlideShow, using - a datastore, and providing navigation, and common API. - - Magnifier: Unobtrusive way to attach a hovering window window - when moving the mouse over an image. The window shows a a zoomed - version of the original source. (experimental) diff --git a/includes/js/dojox/image/SlideShow.js b/includes/js/dojox/image/SlideShow.js deleted file mode 100644 index 4767cf1..0000000 --- a/includes/js/dojox/image/SlideShow.js +++ /dev/null @@ -1,598 +0,0 @@ -if(!dojo._hasResource["dojox.image.SlideShow"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.image.SlideShow"] = true; -dojo.provide("dojox.image.SlideShow"); -// -// dojox.image.SlideShow courtesy Shane O Sullivan, licensed under a Dojo CLA -// For a sample usage, see http://www.skynet.ie/~sos/photos.php -// -// @author Copyright 2007 Shane O Sullivan (shaneosullivan1@gmail.com) -// -// TODO: more cleanups -// -dojo.require("dojo.string"); -dojo.require("dojo.fx"); -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); - -dojo.declare("dojox.image.SlideShow", - [dijit._Widget, dijit._Templated], - { - // summary: A Slideshow Widget - - // imageHeight: Number - // The maximum height of an image - imageHeight: 375, - - // imageWidth: Number - // The maximum width of an image. - imageWidth: 500, - - // title: String - // the initial title of the SlideShow - title: "", - - // titleTemplate: String - // a way to customize the wording in the title. supported parameters to be populated are: - // ${title} = the passed title of the image - // ${current} = the current index of the image - // ${total} = the total number of images in the SlideShow - // - // should add more? - titleTemplate: '${title} (${current} of ${total})', - - // noLink: Boolean - // Prevents the slideshow from putting an anchor link around the displayed image - // enables if true, though still will not link in absence of a url to link to - noLink: false, - - // loop: Boolean - // true/false - make the slideshow loop - loop: true, - - // hasNav: Boolean - // toggle to enable/disable the visual navigation controls - hasNav: true, - - // images: Array - // Contains the DOM nodes that individual images are stored in when loaded or loading. - images: [], - - // pageSize: Number - // The number of images to request each time. - pageSize: 20, - - // autoLoad: Boolean - // If true, then images are preloaded, before the user navigates to view them. - // If false, an image is not loaded until the user views it. - autoLoad: true, - - // autoStart: Boolean - // If true, the SlideShow begins playing immediately - autoStart: false, - - // fixedHeight: Boolean - // If true, the widget does not resize itself to fix the displayed image. - fixedHeight: false, - - // imageStore: Object - // Implementation of the dojo.data.api.Read API, which provides data on the images - // to be displayed. - imageStore: null, - - // linkAttr: String - // Defines the name of the attribute to request from the store to retrieve the - // URL to link to from an image, if any. - linkAttr: "link", - - // imageLargeAttr: String - // Defines the name of the attribute to request from the store to retrieve the - // URL to the image. - imageLargeAttr: "imageUrl", - - // titleAttr: String - // Defines the name of the attribute to request from the store to retrieve the - // title of the picture, if any. - titleAttr: "title", - - // slideshowInterval: Number - // Time, in seconds, between image transitions during a slideshow. - slideshowInterval: 3, - - templateString:"
            \n\t
            \n\t\t
            \n\t\t\t
            ${title}
            \n\t\t
            \n\t\t
            \n\t\t\t\n\t\t\t\n\t\t\t\n\t\t
            \n\t\t
            \t\t\n\t\t
            \n\t
            \n
            \n", - - // _tempImgPath: URL - // URL to the image to display when an image is not yet fully loaded. - _tempImgPath: dojo.moduleUrl("dojo", "resources/blank.gif"), - - // _imageCounter: Number - // A counter to keep track of which index image is to be loaded next - _imageCounter: 0, - - // _tmpImage: DomNode - // The temporary image to show when a picture is loading. - _tmpImage: null, - - // _request: Object - // Implementation of the dojo.data.api.Request API, which defines the query - // parameters for accessing the store. - _request: null, - - postCreate: function(){ - // summary: Initilizes the widget, sets up listeners and shows the first image - this.inherited(arguments); - var img = document.createElement("img"); - - // FIXME: should API be to normalize an image to fit in the specified height/width? - img.setAttribute("width", this.imageWidth); - img.setAttribute("height", this.imageHeight); - - if(this.hasNav){ - dojo.connect(this.outerNode, "onmouseover", function(evt){ - try{_this._showNav();} - catch(e){} //TODO: remove try/catch - }); - dojo.connect(this.outerNode, "onmouseout", function(evt){ - try{_this._hideNav(evt);} - catch(e){} //TODO: remove try/catch - }); - } - - this.outerNode.style.width = this.imageWidth + "px"; - - img.setAttribute("src", this._tempImgPath); - var _this = this; - - this.largeNode.appendChild(img); - this._tmpImage = this._currentImage = img; - this._fitSize(true); - - this._loadImage(0, function(){ - _this.showImage(0); - }); - this._calcNavDimensions(); - }, - - setDataStore: function(dataStore, request, /*optional*/paramNames){ - // summary: Sets the data store and request objects to read data from. - // dataStore: - // An implementation of the dojo.data.api.Read API. This accesses the image - // data. - // request: - // An implementation of the dojo.data.api.Request API. This specifies the - // query and paging information to be used by the data store - // paramNames: - // An object defining the names of the item attributes to fetch from the - // data store. The three attributes allowed are 'linkAttr', 'imageLargeAttr' and 'titleAttr' - this.reset(); - var _this = this; - - this._request = { - query: {}, - start: request.start || 0, - count: request.count || this.pageSize, - onBegin: function(count, request){ - _this.maxPhotos = count; - } - }; - if(request.query){ dojo.mixin(this._request.query, request.query); } - if(paramNames){ - dojo.forEach(["imageLargeAttr", "linkAttr", "titleAttr"], function(attrName){ - if(paramNames[attrName]){ this[attrName] = paramNames[attrName]; } - }, this); - } - - var _complete = function(items){ - _this.showImage(0); - _this._request.onComplete = null; - if(_this.autoStart){ - _this.toggleSlideShow(); - } - }; - - this.imageStore = dataStore; - this._request.onComplete = _complete; - this._request.start = 0; - this.imageStore.fetch(this._request); - }, - - reset: function(){ - // summary: Resets the widget to its initial state - // description: Removes all previously loaded images, and clears all caches. - while(this.largeNode.firstChild){ - this.largeNode.removeChild(this.largeNode.firstChild); - } - this.largeNode.appendChild(this._tmpImage); - while(this.hiddenNode.firstChild){ - this.hiddenNode.removeChild(this.hiddenNode.firstChild); - } - dojo.forEach(this.images, function(img){ - if(img && img.parentNode){ img.parentNode.removeChild(img); } - }); - this.images = []; - this.isInitialized = false; - this._imageCounter = 0; - }, - - isImageLoaded: function(index){ - // summary: Returns true if image at the specified index is loaded, false otherwise. - // index: - // The number index in the data store to check if it is loaded. - return this.images && this.images.length > index && this.images[index]; - }, - - moveImageLoadingPointer: function(index){ - // summary: If 'autoload' is true, this tells the widget to start loading - // images from the specified pointer. - // index: - // The number index in the data store to start loading images from. - this._imageCounter = index; - }, - - destroy: function(){ - // summary: Cleans up the widget when it is being destroyed - if(this._slideId) { this._stop(); } - this.inherited(arguments); - }, - - showNextImage: function(inTimer, forceLoop){ - // summary: Changes the image being displayed to the next image in the data store - // inTimer: Boolean - // If true, a slideshow is active, otherwise the slideshow is inactive. - if(inTimer && this._timerCancelled){return false;} - - if(this.imageIndex + 1 >= this.maxPhotos){ - if(inTimer && (this.loop || forceLoop)){ this.imageIndex = -1; } - else{ - if(this._slideId){ this._stop(); } - return false; - } - } - var _this = this; - this.showImage(this.imageIndex + 1, function(){ - if(inTimer){ _this._startTimer(); } - }); - return true; - }, - - toggleSlideShow: function(){ - // summary: Switches the slideshow mode on and off. - if(this._slideId){ - this._stop(); - }else{ - dojo.toggleClass(this.domNode,"slideShowPaused"); - this._timerCancelled = false; - var success = this.showNextImage(true, true); - if(!success){ - this._stop(); - } - } - }, - - getShowTopicName: function(){ - // summary: Returns the topic id published to when an image is shown - // description: - // The information published is: index, title and url - return (this.widgetId || this.id) + "/imageShow"; - }, - - getLoadTopicName: function(){ - // summary: Returns the topic id published to when an image finishes loading. - // description: - // The information published is the index position of the image loaded. - return (this.widgetId ? this.widgetId : this.id) + "/imageLoad"; - }, - - showImage: function(index, /* Function? */callback){ - // summary: Shows the image at index 'index'. - // index: Number - // The position of the image in the data store to display - // callback: Function - // Optional callback function to call when the image has finished displaying. - - if(!callback && this._slideId){ this.toggleSlideShow(); } - var _this = this; - var current = this.largeNode.getElementsByTagName("div"); - this.imageIndex = index; - - var showOrLoadIt = function() { - //If the image is already loaded, then show it. - if(_this.images[index]){ - while(_this.largeNode.firstChild){ - _this.largeNode.removeChild(_this.largeNode.firstChild); - } - _this.images[index].style.opacity = 0; - _this.largeNode.appendChild(_this.images[index]); - _this._currentImage = _this.images[index]._img; - _this._fitSize(); - - var onEnd = function(a,b,c) { - var img = _this.images[index].firstChild; - if(img.tagName.toLowerCase() != "img"){img = img.firstChild;} - title = img.getAttribute("title"); - - if(_this._navShowing){ - _this._showNav(true); - } - dojo.publish(_this.getShowTopicName(), [{ - index: index, - title: title, - url: img.getAttribute("src") - }]); - if(callback) { callback(a,b,c); } - _this._setTitle(title); - }; - - dojo.fadeIn({ - node: _this.images[index], - duration: 300, - onEnd: onEnd - }).play(); - }else{ - //If the image is not loaded yet, load it first, then show it. - _this._loadImage(index, function(){ - dojo.publish(_this.getLoadTopicName(), [index]); - _this.showImage(index, callback); - }); - } - }; - - //If an image is currently showing, fade it out, then show - //the new image. Otherwise, just show the new image. - if(current && current.length > 0){ - dojo.fadeOut({ - node: current[0], - duration: 300, - onEnd: function(){ - _this.hiddenNode.appendChild(current[0]); - showOrLoadIt(); - } - }).play(); - }else{ - showOrLoadIt(); - } - }, - - _fitSize: function(force){ - // summary: Fits the widget size to the size of the image being shown, - // or centers the image, depending on the value of 'fixedHeight' - // force: Boolean - // If true, the widget is always resized, regardless of the value of 'fixedHeight' - if(!this.fixedHeight || force){ - var height = (this._currentImage.height + (this.hasNav ? 20:0)); - dojo.style(this.innerWrapper, "height", height + "px"); - return; - } - dojo.style(this.largeNode, "paddingTop", this._getTopPadding() + "px"); - }, - - _getTopPadding: function(){ - if(!this.fixedHeight){return 0;} - // summary: Returns the padding to place at the top of the image to center it vertically. - return (this.imageHeight - this._currentImage.height)/2; - }, - - _loadNextImage: function(){ - //summary: Load the next unloaded image. - if(!this.autoLoad){ return; } - while(this.images.length >= this._imageCounter && this.images[this._imageCounter]){ - this._imageCounter++; - } - this._loadImage(this._imageCounter); - }, - - _loadImage: function(index, callbackFn){ - // summary: Load image at specified index - // description: - // This function loads the image at position 'index' into the - // internal cache of images. This does not cause the image to be displayed. - // index: - // The position in the data store to load an image from. - // callbackFn: - // An optional function to execute when the image has finished loading. - if(this.images[index] || !this._request) { return; } - - var pageStart = index - (index % this.pageSize); - - this._request.start = pageStart; - - this._request.onComplete = function(items){ - var diff = index - pageStart; - if(items && items.length > diff){ - loadIt(items[diff]); - }else{ /* Squelch - console.log("Got an empty set of items"); */ } - } - - var _this = this; - var loadIt = function(item){ - var url = _this.imageStore.getValue(item, _this.imageLargeAttr); - var img = document.createElement("img"); - var div = document.createElement("div"); - div._img = img; - - var link = _this.imageStore.getValue(item,_this.linkAttr); - if(!link || _this.noLink){ div.appendChild(img); - }else{ - var a = document.createElement("a"); - a.setAttribute("href", link); - a.setAttribute("target","_blank"); - div.appendChild(a); - a.appendChild(img); - } - - div.setAttribute("id",_this.id + "_imageDiv" + index); - dojo.connect(img, "onload", function(){ - _this._fitImage(img); - div.setAttribute("width",_this.imageWidth); - div.setAttribute("height",_this.imageHeight); - - dojo.publish(_this.getLoadTopicName(), [index]); - _this._loadNextImage(); - if(callbackFn){ callbackFn(); } - }); - _this.hiddenNode.appendChild(div); - - var titleDiv = document.createElement("div"); - dojo.addClass(titleDiv, "slideShowTitle"); - div.appendChild(titleDiv); - - _this.images[index] = div; - img.setAttribute("src", url); - - var title = _this.imageStore.getValue(item,_this.titleAttr); - if(title){ img.setAttribute("title",title); } - } - this.imageStore.fetch(this._request); - }, - - _stop: function(){ - // summary: Stops a running slide show. - if(this._slideId){ clearTimeout(this._slideId); } - this._slideId = null; - this._timerCancelled = true; - dojo.removeClass(this.domNode,"slideShowPaused"); - }, - - _prev: function(){ - // summary: Show the previous image. - // FIXME: either pull code from showNext/prev, or call it here - if(this.imageIndex < 1){ return; } - this.showImage(this.imageIndex - 1); - }, - - _next: function(){ - // summary: Show the next image - this.showNextImage(); - }, - - _startTimer: function(){ - // summary: Starts a timeout to show the next image when a slide show is active - var id = this.id; - this._slideId = setTimeout(function(){dijit.byId(id).showNextImage(true);}, this.slideshowInterval * 1000); - }, - - _calcNavDimensions: function() { - // summary: - // Calculates the dimensions of the navigation controls - dojo.style(this.navNode, "position", "absolute"); - - //Place the navigation controls far off screen - dojo.style(this.navNode, "top", "-10000px"); - - //Make the navigation controls visible - dojo._setOpacity(this.navNode, 99); - - this.navPlay._size = dojo.marginBox(this.navPlay); - this.navPrev._size = dojo.marginBox(this.navPrev); - this.navNext._size = dojo.marginBox(this.navNext); - - dojo._setOpacity(this.navNode, 0); - dojo.style(this.navNode, "position", ""); - dojo.style(this.navNode, "top", ""); - }, - - _setTitle: function(title){ - // summary: Sets the title of the image to be displayed - // title: String - // The String title of the image - this.titleNode.innerHTML = dojo.string.substitute(this.titleTemplate, - { title: title, current: 1 + this.imageIndex, total: this.maxPhotos}); - }, - - _fitImage: function(img) { - // summary: Ensures that the image width and height do not exceed the maximum. - // img: Node - // The image DOM node to optionally resize - var width = img.width; - var height = img.height; - - if(width > this.imageWidth){ - height = Math.floor(height * (this.imageWidth / width)); - img.setAttribute("height", height + "px"); - img.setAttribute("width", this.imageWidth + "px"); - } - if(height > this.imageHeight){ - width = Math.floor(width * (this.imageHeight / height)); - img.setAttribute("height", this.imageHeight + "px"); - img.setAttribute("width", width + "px"); - } - }, - - _handleClick: function(/* Event */e){ - // summary: Performs navigation on the images based on users mouse clicks - // e: - // An Event object - switch(e.target){ - case this.navNext:this._next(); break; - case this.navPrev:this._prev(); break; - case this.navPlay:this.toggleSlideShow(); break; - } - }, - - _showNav: function(force){ - // summary: - // Shows the navigation controls - // force: Boolean - // If true, the navigation controls are repositioned even if they are - // currently visible. - if(this._navShowing && !force){return;} - dojo.style(this.navNode, "marginTop", "0px"); - dojo.style(this.navPlay, "marginLeft", "0px"); - var wrapperSize = dojo.marginBox(this.outerNode); - - var margin = this._currentImage.height - this.navPlay._size.h - 10 + this._getTopPadding(); - - if(margin > this._currentImage.height){margin += 10;} - dojo[this.imageIndex < 1 ? "addClass":"removeClass"](this.navPrev, "slideShowCtrlHide"); - dojo[this.imageIndex + 1 >= this.maxPhotos ? "addClass":"removeClass"](this.navNext, "slideShowCtrlHide"); - - var _this = this; - if(this._navAnim) { - this._navAnim.stop(); - } - if(this._navShowing){return;} - this._navAnim = dojo.fadeIn({node: this.navNode, duration: 300, - onEnd: function(){_this._navAnim=null;}}); - - this._navAnim.play(); - this._navShowing = true; - }, - - _hideNav: function(/* Event */e){ - // summary: Hides the navigation controls - // e: Event - // The DOM Event that triggered this function - if(!e || !this._overElement(this.outerNode, e)) { - var _this = this; - if(this._navAnim) { - this._navAnim.stop(); - } - this._navAnim = dojo.fadeOut({node: this.navNode,duration:300, - onEnd: function(){_this._navAnim=null;}}); - this._navAnim.play(); - this._navShowing = false; - } - }, - - _overElement: function(/*DomNode*/element, /*Event*/e){ - // summary: - // Returns whether the mouse is over the passed element. - // Element must be display:block (ie, not a ) - - //When the page is unloading, if this method runs it will throw an - //exception. - if(typeof(dojo)=="undefined"){return false;} - element = dojo.byId(element); - var m = {x: e.pageX, y: e.pageY}; - var bb = dojo._getBorderBox(element); - var absl = dojo.coords(element, true); - var left = absl.x; - - return (m.x >= left - && m.x <= (left + bb.w) - && m.y >= absl.y - && m.y <= (top + bb.h) - ); // boolean - } -}); - -} diff --git a/includes/js/dojox/image/ThumbnailPicker.js b/includes/js/dojox/image/ThumbnailPicker.js deleted file mode 100644 index 42f9862..0000000 --- a/includes/js/dojox/image/ThumbnailPicker.js +++ /dev/null @@ -1,535 +0,0 @@ -if(!dojo._hasResource["dojox.image.ThumbnailPicker"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.image.ThumbnailPicker"] = true; -dojo.provide("dojox.image.ThumbnailPicker"); -dojo.experimental("dojox.image.ThumbnailPicker"); -// -// dojox.image.ThumbnailPicker courtesy Shane O Sullivan, licensed under a Dojo CLA -// @author Copyright 2007 Shane O Sullivan (shaneosullivan1@gmail.com) -// -// For a sample usage, see http://www.skynet.ie/~sos/photos.php -// -// document topics. - -dojo.require("dojo.fx"); -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); - -dojo.declare("dojox.image.ThumbnailPicker", - [dijit._Widget, dijit._Templated], - { - // summary: A scrolling Thumbnail Picker widget - // - // imageStore: Object - // A data store that implements the dojo.data Read API. - imageStore: null, - - // request: Object - // A dojo.data Read API Request object. - request: null, - - // size: Number - // Width or height in pixels, depending if horizontal or vertical. - size: 500, //FIXME: use CSS? - - // thumbHeight: Number - // Default height of a thumbnail image - thumbHeight: 75, // FIXME: use CSS? - - // thumbWidth: Number - // Default width of an image - thumbWidth: 100, // FIXME: use CSS? - - // useLoadNotifier: Boolean - // Setting useLoadNotifier to true makes a colored DIV appear under each - // thumbnail image, which is used to display the loading status of each - // image in the data store. - useLoadNotifier: false, - - // useHyperlink: boolean - // Setting useHyperlink to true causes a click on a thumbnail to open a link. - useHyperlink: false, - - // hyperlinkTarget: String - // If hyperlinkTarget is set to "new", clicking on a thumb will open a new window - // If it is set to anything else, clicking a thumbnail will open the url in the - // current window. - hyperlinkTarget: "new", - - // isClickable: Boolean - // When set to true, the cursor over a thumbnail changes. - isClickable: true, - - // isScrollable: Boolean - // When true, uses smoothScroll to move between pages - isScrollable: true, - - // isHorizontal: Boolean - // If true, the thumbnails are displayed horizontally. Otherwise they are displayed - // vertically - isHorizontal: true, - - //autoLoad: Boolean - autoLoad: true, - - // linkAttr: String - // The attribute name for accessing the url from the data store - linkAttr: "link", - - // imageThumbAttr: String - // The attribute name for accessing the thumbnail image url from the data store - imageThumbAttr: "imageUrlThumb", - - // imageLargeAttr: String - // The attribute name for accessing the large image url from the data store - imageLargeAttr: "imageUrl", - - // pageSize: Number - // The number of images to request each time. - pageSize: 20, - - // titleAttr: String - // The attribute name for accessing the title from the data store - titleAttr: "title", - - templateString:"
            \n\t
            \n\t \n\t
            \n\t
            \n\t
            \n\t
            \n\t
            \n\t \n\t
            \n
            \n", - tempImgPath: dojo.moduleUrl("dojo", "resources/blank.gif"), - - // thumbs: Array - // Stores the image nodes for the thumbnails. - _thumbs: [], - - // _thumbIndex: Number - // The index of the first thumbnail shown - _thumbIndex: 0, - - // _maxPhotos: Number - // The total number of photos in the image store - _maxPhotos: 0, - - // _loadedImages: Object - // Stores the indices of images that have been marked as loaded using the - // markImageLoaded function. - _loadedImages: {}, - - postCreate: function(){ - // summary: Initializes styles and listeners - this.widgetid = this.id; - this.inherited(arguments); - this.pageSize = Number(this.pageSize); - - this._scrollerSize = this.size - (51 * 2); - - var sizeProp = this._sizeProperty = this.isHorizontal ? "width" : "height"; - - // FIXME: do this via css? calculate the correct width for the widget - dojo.style(this.outerNode, "textAlign","center"); - dojo.style(this.outerNode, sizeProp, this.size+"px"); - - dojo.style(this.thumbScroller, sizeProp, this._scrollerSize + "px"); - - //If useHyperlink is true, then listen for a click on a thumbnail, and - //open the link - if(this.useHyperlink){ - dojo.subscribe(this.getClickTopicName(), this, function(packet){ - var index = packet.index; - var url = this.imageStore.getValue(packet.data,this.linkAttr); - - //If the data item doesn't contain a URL, do nothing - if(!url){return;} - - if(this.hyperlinkTarget == "new"){ - window.open(url); - }else{ - window.location = url; - } - }); - } - - if(this.isScrollable) { - // FIXME: does this break builds or anything? - dojo.require("dojox.fx.scroll"); - dojo.require("dojox.fx.easing"); - } - if(this.isClickable){ - dojo.addClass(this.thumbsNode, "thumbClickable"); - } - this._totalSize = 0; - this.init(); - }, - - init: function(){ - // summary: Creates DOM nodes for thumbnail images and initializes their listeners - if(this.isInitialized) {return false;} - - var classExt = this.isHorizontal ? "Horiz" : "Vert"; - - // FIXME: can we setup a listener around the whole element and determine based on e.target? - dojo.addClass(this.navPrev, "prev" + classExt); - dojo.addClass(this.navNext, "next" + classExt); - dojo.addClass(this.thumbsNode, "thumb"+classExt); - dojo.addClass(this.outerNode, "thumb"+classExt); - - this.navNextImg.setAttribute("src", this.tempImgPath); - this.navPrevImg.setAttribute("src", this.tempImgPath); - - this.connect(this.navPrev, "onclick", "_prev"); - this.connect(this.navNext, "onclick", "_next"); - this.isInitialized = true; - - if(this.isHorizontal){ - this._offsetAttr = "offsetLeft"; - this._sizeAttr = "offsetWidth"; - this._scrollAttr = "scrollLeft"; - }else{ - this._offsetAttr = "offsetTop"; - this._sizeAttr = "offsetHeight"; - this._scrollAttr = "scrollTop"; - } - - this._updateNavControls(); - if(this.imageStore && this.request){this._loadNextPage();} - return true; - }, - - getClickTopicName: function(){ - // summary: Returns the name of the dojo topic that can be - // subscribed to in order to receive notifications on - // which thumbnail was selected. - return (this.widgetId || this.id) + "/select"; // String - }, - - getShowTopicName: function(){ - // summary: Returns the name of the dojo topic that can be - // subscribed to in order to receive notifications on - // which thumbnail is now visible - return (this.widgetId || this.id) + "/show"; // String - }, - - setDataStore: function(dataStore, request, /*optional*/paramNames){ - // summary: Sets the data store and request objects to read data from. - // dataStore: - // An implementation of the dojo.data.api.Read API. This accesses the image - // data. - // request: - // An implementation of the dojo.data.api.Request API. This specifies the - // query and paging information to be used by the data store - // paramNames: - // An object defining the names of the item attributes to fetch from the - // data store. The four attributes allowed are 'linkAttr', 'imageLargeAttr', - // 'imageThumbAttr' and 'titleAttr' - this.reset(); - - this.request = { - query: {}, - start: request.start || 0, - count: request.count || 10, - onBegin: dojo.hitch(this, function(total){ - this._maxPhotos = total; - }) - }; - - if(request.query){ dojo.mixin(this.request.query, request.query);} - - if(paramNames){ - dojo.forEach(["imageThumbAttr", "imageLargeAttr", "linkAttr", "titleAttr"], function(attrName){ - if(paramNames[attrName]){ this[attrName] = paramNames[attrName]; } - }, this); - } - - this.request.start = 0; - this.request.count = this.pageSize; - this.imageStore = dataStore; - - if(!this.init()){this._loadNextPage();} - }, - - reset: function(){ - // summary: Resets the widget back to its original state. - this._loadedImages = {}; - dojo.forEach(this._thumbs, function(img){ - if(img){ - // dojo.event.browser.clean(img); - if(img.parentNode){ - img.parentNode.removeChild(img); - } - } - }); - - this._thumbs = []; - this.isInitialized = false; - this._noImages = true; - }, - - isVisible: function(index) { - // summary: Returns true if the image at the specified index is currently visible. False otherwise. - var img = this._thumbs[index]; - if(!img){return false;} - var pos = this.isHorizontal ? "offsetLeft" : "offsetTop"; - var size = this.isHorizontal ? "offsetWidth" : "offsetHeight"; - var scrollAttr = this.isHorizontal ? "scrollLeft" : "scrollTop"; - var offset = img[pos] - this.thumbsNode[pos]; - return (offset >= this.thumbScroller[scrollAttr] - && offset + img[size] <= this.thumbScroller[scrollAttr] + this._scrollerSize); - }, - - _next: function() { - // summary: Displays the next page of images - var pos = this.isHorizontal ? "offsetLeft" : "offsetTop"; - var size = this.isHorizontal ? "offsetWidth" : "offsetHeight"; - var baseOffset = this.thumbsNode[pos]; - var firstThumb = this._thumbs[this._thumbIndex]; - var origOffset = firstThumb[pos] - baseOffset; - - var index = -1, img; - - for(var i = this._thumbIndex + 1; i < this._thumbs.length; i++){ - img = this._thumbs[i]; - if(img[pos] - baseOffset + img[size] - origOffset > this._scrollerSize){ - this._showThumbs(i); - return; - } - } - }, - - _prev: function(){ - // summary: Displays the next page of images - if(this.thumbScroller[this.isHorizontal ? "scrollLeft" : "scrollTop"] == 0){return;} - var pos = this.isHorizontal ? "offsetLeft" : "offsetTop"; - var size = this.isHorizontal ? "offsetWidth" : "offsetHeight"; - - var firstThumb = this._thumbs[this._thumbIndex]; - var origOffset = firstThumb[pos] - this.thumbsNode[pos]; - - var index = -1, img; - - for(var i = this._thumbIndex - 1; i > -1; i--) { - img = this._thumbs[i]; - if(origOffset - img[pos] > this._scrollerSize){ - this._showThumbs(i + 1); - return; - } - } - this._showThumbs(0); - }, - - _checkLoad: function(img, index){ - dojo.publish(this.getShowTopicName(), [{index:index}]); - this._updateNavControls(); - this._loadingImages = {}; - - this._thumbIndex = index; - - //If we have not already requested the data from the store, do so. - if(this.thumbsNode.offsetWidth - img.offsetLeft < (this._scrollerSize * 2)){ - this._loadNextPage(); - } - }, - - _showThumbs: function(index){ - // summary: Displays thumbnail images, starting at position 'index' - // index: Number - // The index of the first thumbnail - -//FIXME: When is this be called with an invalid index? Do we need this check at all? -// if(typeof index != "number"){ index = this._thumbIndex; } - index = Math.min(Math.max(index, 0), this._maxPhotos); - - if(index >= this._maxPhotos){ return; } - - var img = this._thumbs[index]; - if(!img){ return; } - - var left = img.offsetLeft - this.thumbsNode.offsetLeft; - var top = img.offsetTop - this.thumbsNode.offsetTop; - var offset = this.isHorizontal ? left : top; - - if( (offset >= this.thumbScroller[this._scrollAttr]) && - (offset + img[this._sizeAttr] <= this.thumbScroller[this._scrollAttr] + this._scrollerSize) - ){ - // FIXME: WTF is this checking for? - return; - } - - - if(this.isScrollable){ - var target = this.isHorizontal ? {x: left, y: 0} : { x:0, y:top}; - dojox.fx.smoothScroll({ - target: target, - win: this.thumbScroller, - duration:300, - easing:dojox.fx.easing.easeOut, - onEnd: dojo.hitch(this, "_checkLoad", img, index) - }).play(10); - }else{ - if(this.isHorizontal){ - this.thumbScroller.scrollLeft = left; - }else{ - this.thumbScroller.scrollTop = top; - } - this._checkLoad(img, index); - } - }, - - markImageLoaded: function(index){ - // summary: Changes a visual cue to show the image is loaded - // description: If 'useLoadNotifier' is set to true, then a visual cue is - // given to state whether the image is loaded or not. Calling this function - // marks an image as loaded. - var thumbNotifier = dojo.byId("loadingDiv_"+this.widgetid+"_"+index); - if(thumbNotifier){this._setThumbClass(thumbNotifier, "thumbLoaded");} - this._loadedImages[index] = true; - }, - - _setThumbClass: function(thumb, className){ - // summary: Adds a CSS class to a thumbnail, only if 'autoLoad' is true - // thumb: DomNode - // The thumbnail DOM node to set the class on - // className: String - // The CSS class to add to the DOM node. - if(!this.autoLoad){ return; } - dojo.addClass(thumb, className); - }, - - _loadNextPage: function(){ - // summary: Loads the next page of thumbnail images - if(this._loadInProgress){return;} - this._loadInProgress = true; - var start = this.request.start + (this._noImages ? 0 : this.pageSize); - - var pos = start; - while(pos < this._thumbs.length && this._thumbs[pos]){pos ++;} - - //Define the function to call when the items have been - //returned from the data store. - var complete = function(items, request){ - if(items && items.length){ - var itemCounter = 0; - var loadNext = dojo.hitch(this, function(){ - if(itemCounter >= items.length){ - this._loadInProgress = false; - return; - } - var counter = itemCounter++; - - this._loadImage(items[counter], pos + counter, loadNext); - }); - loadNext(); - - //Show or hide the navigation arrows on the thumbnails, - //depending on whether or not the widget is at the start, - //end, or middle of the list of images. - this._updateNavControls(); - }else{ - this._loadInProgress = false; - } - }; - - //Define the function to call if the store reports an error. - var error = function(){ - this._loadInProgress = false; - console.debug("Error getting items"); - }; - - this.request.onComplete = dojo.hitch(this, complete); - this.request.onError = dojo.hitch(this, error); - - //Increment the start parameter. This is the dojo.data API's - //version of paging. - this.request.start = start; - this._noImages = false; - - //Execute the request for data. - this.imageStore.fetch(this.request); - - }, - - _loadImage: function(data, index, callback){ - var url = this.imageStore.getValue(data,this.imageThumbAttr); - var img = document.createElement("img"); - var imgContainer = document.createElement("div"); - imgContainer.setAttribute("id","img_" + this.widgetid+"_"+index); - imgContainer.appendChild(img); - img._index = index; - img._data = data; - - this._thumbs[index] = imgContainer; - var loadingDiv; - if(this.useLoadNotifier){ - loadingDiv = document.createElement("div"); - loadingDiv.setAttribute("id","loadingDiv_" + this.widgetid+"_"+index); - - //If this widget was previously told that the main image for this - //thumb has been loaded, make the loading indicator transparent. - this._setThumbClass(loadingDiv, - this._loadedImages[index] ? "thumbLoaded":"thumbNotifier"); - - imgContainer.appendChild(loadingDiv); - } - var size = dojo.marginBox(this.thumbsNode); - var defaultSize; - var sizeParam; - if(this.isHorizontal){ - defaultSize = this.thumbWidth; - sizeParam = 'w'; - } else{ - defaultSize = this.thumbHeight; - sizeParam = 'h'; - } - size = size[sizeParam]; - var sl = this.thumbScroller.scrollLeft, st = this.thumbScroller.scrollTop; - dojo.style(this.thumbsNode, this._sizeProperty, (size + defaultSize + 20) + "px"); - //Remember the scroll values, as changing the size can alter them - this.thumbScroller.scrollLeft = sl; - this.thumbScroller.scrollTop = st; - this.thumbsNode.appendChild(imgContainer); - - dojo.connect(img, "onload", this, function(){ - var realSize = dojo.marginBox(img)[sizeParam]; - this._totalSize += (Number(realSize) + 4); - dojo.style(this.thumbsNode, this._sizeProperty, this._totalSize + "px"); - - if(this.useLoadNotifier){dojo.style(loadingDiv, "width", (img.width - 4) + "px"); } - callback(); - return false; - }); - - dojo.connect(img, "onclick", this, function(evt){ - dojo.publish(this.getClickTopicName(), [{ - index: evt.target._index, - data: evt.target._data, - url: img.getAttribute("src"), - largeUrl: this.imageStore.getValue(data,this.imageLargeAttr), - title: this.imageStore.getValue(data,this.titleAttr), - link: this.imageStore.getValue(data,this.linkAttr) - }]); - return false; - }); - dojo.addClass(img, "imageGalleryThumb"); - img.setAttribute("src", url); - var title = this.imageStore.getValue(data, this.titleAttr); - if(title){ img.setAttribute("title",title); } - this._updateNavControls(); - - }, - - _updateNavControls: function(){ - // summary: Updates the navigation controls to hide/show them when at - // the first or last images. - var cells = []; - var change = function(node, add){ - var fn = add ? "addClass" : "removeClass"; - dojo[fn](node,"enabled"); - dojo[fn](node,"thumbClickable"); - }; - - var pos = this.isHorizontal ? "scrollLeft" : "scrollTop"; - var size = this.isHorizontal ? "offsetWidth" : "offsetHeight"; - change(this.navPrev, (this.thumbScroller[pos] > 0)); - - var last = this._thumbs[this._thumbs.length - 1]; - var addClass = (this.thumbScroller[pos] + this._scrollerSize < this.thumbsNode[size]); - change(this.navNext, addClass); - } -}); - -} diff --git a/includes/js/dojox/image/resources/Gallery.html b/includes/js/dojox/image/resources/Gallery.html deleted file mode 100644 index 571dc4f..0000000 --- a/includes/js/dojox/image/resources/Gallery.html +++ /dev/null @@ -1,4 +0,0 @@ -
            -
            -
            -
            \ No newline at end of file diff --git a/includes/js/dojox/image/resources/Lightbox.html b/includes/js/dojox/image/resources/Lightbox.html deleted file mode 100644 index 1eb292f..0000000 --- a/includes/js/dojox/image/resources/Lightbox.html +++ /dev/null @@ -1,15 +0,0 @@ -
            -
            -
            - ${title} -
            -
            -
            -
            - -
            ${title}
            -
            -
            - -
            -
            \ No newline at end of file diff --git a/includes/js/dojox/image/resources/Magnifier.css b/includes/js/dojox/image/resources/Magnifier.css deleted file mode 100644 index 85eba72..0000000 --- a/includes/js/dojox/image/resources/Magnifier.css +++ /dev/null @@ -1,5 +0,0 @@ -.glassNode { - overflow:hidden; - position:absolute; - visibility:hidden; -} diff --git a/includes/js/dojox/image/resources/Magnifier.css.commented.css b/includes/js/dojox/image/resources/Magnifier.css.commented.css deleted file mode 100644 index 85eba72..0000000 --- a/includes/js/dojox/image/resources/Magnifier.css.commented.css +++ /dev/null @@ -1,5 +0,0 @@ -.glassNode { - overflow:hidden; - position:absolute; - visibility:hidden; -} diff --git a/includes/js/dojox/image/resources/SlideShow.html b/includes/js/dojox/image/resources/SlideShow.html deleted file mode 100644 index fa4aca6..0000000 --- a/includes/js/dojox/image/resources/SlideShow.html +++ /dev/null @@ -1,14 +0,0 @@ -
            -
            -
            -
            ${title}
            -
            -
            - - - -
            -
            -
            -
            -
            \ No newline at end of file diff --git a/includes/js/dojox/image/resources/ThumbnailPicker.html b/includes/js/dojox/image/resources/ThumbnailPicker.html deleted file mode 100644 index 561ce2d..0000000 --- a/includes/js/dojox/image/resources/ThumbnailPicker.html +++ /dev/null @@ -1,11 +0,0 @@ -
            -
            - -
            -
            -
            -
            -
            - -
            -
            \ No newline at end of file diff --git a/includes/js/dojox/image/resources/image.css b/includes/js/dojox/image/resources/image.css deleted file mode 100644 index e626e0f..0000000 --- a/includes/js/dojox/image/resources/image.css +++ /dev/null @@ -1,283 +0,0 @@ - -.dijitDialogUnderlay { - background-color:#000; -} -.dojoxLightbox { - position:absolute; - z-index:999; - overflow:hidden; - width:100px; - height:100px; - border:11px solid #fff; - background:#fff url('images/loading.gif') no-repeat center center; - - -webkit-box-shadow: 0px 6px 10px #636363; - -webkit-border-radius: 3px; - -moz-border-radius:4px; -} -.dojoxLightboxContainer { - position:absolute; - top:0; left:0; -} -.dojoxLightboxFooter { - height:50px; - position:relative; - bottom:0; - left:0; - margin-top:8px; - color:#333; - z-index:1000; - font-size:10pt; -} -.dojoxLightboxGroupText { - color:#666; - font-size:8pt; -} -.LightboxNext, -.LightboxPrev, -.LightboxClose { - float:right; - width:16px; - height:16px; - cursor:pointer; -} -.nihilo .LightboxClose, -.tundra .LightboxClose { - background:url('images/close.png') no-repeat center center; -} -.nihilo .LightboxNext, -.tundra .LightboxNext { - background:url('images/right.png') no-repeat center center; -} -.nihilo .LightboxPrev, -.tundra .LightboxPrev { - background:url('images/left.png') no-repeat center center; -} -.soria .LightboxClose, -.soria .LightboxNext, -.soria .LightboxPrev { - width:15px; - height:15px; - background:url('../../../dijit/themes/soria/images/spriteRoundedIconsSmall.png') no-repeat center center; - background-position:-60px; -} -.soria .LightboxNext { - background-position:-30px 0; -} -.soria .LightboxPrev { - background-position:0 0; -} -.slideShowWrapper { - position:relative; - background:#fff; - padding:8px; - border:1px solid #333; - padding-bottom:20px; - overflow:hidden; - text-align: center; - -moz-border-radius:3pt; - -webkit-border-radius:4pt; - -webkit-drop-shadow:#ccc 4pt; -} -.slideShowNav { - position:absolute; - bottom:-18px; - left:0px; - padding:0px 3px 2px 0px; - background-color:#fff; - width:100%; -} -.slideShowNavWrapper { float:right; } -.slideShowTitle { - float:left; - color:#333; - font-size:10pt; -} -.slideShowTitle .slideShowCounterText { - font-size:6pt; color:#666; -} -.slideShowHidden { - position:absolute; - display: none; - height: 1px; - width: 1px; -} -.slideShowImageWrapper { - position:relative; - text-align: center; - margin-top: -42px; - float: left; - width: 100%; -} -.slideShowImageWrapper img { - border: 0px none; -} -.slideShowNotifier { - background-color: red; - width: 100px; - height: 5px; - font-size: 1%; -} -.slideShowSlideShow { - position:absolute; - top:30px; - padding: 0 5px; - border: 0px; - text-decoration: none; - color: #2e6ab1; -} -.slideShowLoading { background-color: #fad66a; } -.slideShowLoaded { background-color: transparent; } -.slideShowCtrlPrev { - background-position: -96px 0px; - float: left; -} -.slideShowCtrlNext { - background-position: -144px 0px; - float: right; -} -.slideShowCtrlPlay { - background-position: -190px 0px; - position: absolute; -} -.slideShowPaused .slideShowCtrlPlay { - background-position: -236px 0px; - position: absolute; -} -.slideShowCtrl span.slideShowCtrlHide { - background-image: url("../../../dojo/resources/blank.gif"); - cursor: auto; -} -.slideShowCtrl { - height: 50px; - width: 100%; - position: relative; - z-index:999; - float: left; -} -.slideShowCtrl span { - width: 50px; - height: 100%; - background-image: url("images/buttons.png"); - cursor: pointer; -} -.dj_ie6 .slideShowCtrl span { - background-image: url("images/buttons.gif"); -} -.dj_ie6 .slideShowPager li.currentpage, -.dj_ie6 .pagination li.disablepage{ - - margin-right: 5px; - padding-right: 0; -} -.thumbWrapper .thumbNav { - background-repeat: no-repeat; - background-position: center; - padding-top: 1px; - width: 30px; - height: 100%; -} -.thumbOuter { - padding-bottom: 2px; -} -.thumbOuter.thumbHoriz { - width: 500px; - height: 85px; -} -.thumbOuter.thumbVert { - width: 100px; - height: 400px; -} -.thumbOuter .enabled { - background: transparent url("images/buttons.png") no-repeat center center; -} -.dj_ie6 .thumbOuter .enabled { background-image: url("images/buttons.gif"); } -.thumbOuter .thumbNav img { - width: 48px; - height: 75px; -} -.thumbOuter .thumbClickable div { - cursor: pointer; -} -.thumbOuter .prevHoriz { - background-position: -96px 12px; - position: relative; - float: left; - height: 100%; -} -.thumbOuter .nextHoriz { - background-position: -144px 12px; - position: relative; - float: right; - height: 100%; -} -.thumbOuter .prevVert { - background-position: 0px 0px; - height: 48px; - width:48px; - margin-left:24px; -} -.thumbOuter .nextVert { - background-position: -48px 0px; - height: 48px; - width:48px; - margin-left:24px; -} -.thumbWrapper img { - height: 75px; - max-width: 100px; - width: expression(this.width > 100 ? 100: true); -} -.thumbWrapper .thumbNav .imageGalleryThumb { - height: 50px; -} -.thumbWrapper .thumbNotifier { - background-color: red; - width: 0px; - margin-left: 2px; - height: 5px; - font-size: 1%; -} -.thumbWrapper .thumbLoaded { - background-color: transparent; -} -.thumbScroller { - overflow-x: hidden; - overflow-y: hidden; - white-space: nowrap; - text-align: center; -} -.thumbHoriz .thumbScroller { - width: 500px; - height: 85px; - float: left; -} -.thumbVert .thumbScroller { - height: 500px; - width: 100px; -} -.thumbWrapper { - float: left; -} -.thumbVert .thumbWrapper { - width: 100px; - height: 10px; -} -.thumbHoriz .thumbWapper { - height:85px; - width: 10px; -} -.thumbWrapper.thumbHoriz div { - float: left; - padding-right: 2px; -} -.thumbWrapper.thumbVert { - width: 100px; -} -.thumbWrapper.thumbVert div { - padding-bottom: 2px; -} -.imageGalleryWrapper { - padding-bottom: 20px; - text-align: center; -} diff --git a/includes/js/dojox/image/resources/image.css.commented.css b/includes/js/dojox/image/resources/image.css.commented.css deleted file mode 100644 index 3539a71..0000000 --- a/includes/js/dojox/image/resources/image.css.commented.css +++ /dev/null @@ -1,345 +0,0 @@ -/* - This is the master CSS file for the dojox.image project, and provides all - needed definitions for: - - dojox.image.Lightbox - dojox.image.Gallery [which is a combination of:] - dojox.image.SlideShow - dojox.image.ThumbNailPicker - -*/ - - -/* dojox.image.Lightbox:base */ -/* FIXME: should be be doing this? I want a black underlay, but this sets ALL dialogs to black, - but because it's decendant of body, i can't set this color any other way ... */ -.dijitDialogUnderlay { - background-color:#000; -} - -.dojoxLightbox { - position:absolute; - z-index:999; - overflow:hidden; - width:100px; - height:100px; - border:11px solid #fff; - background:#fff url('images/loading.gif') no-repeat center center; - - /* special safari + FF specific rounding + shadows */ - -webkit-box-shadow: 0px 6px 10px #636363; /* #adadad; */ - -webkit-border-radius: 3px; - -moz-border-radius:4px; -} - -.dojoxLightboxContainer { - position:absolute; - top:0; left:0; -} - -.dojoxLightboxFooter { - height:50px; - position:relative; - bottom:0; - left:0; - margin-top:8px; - color:#333; - z-index:1000; - font-size:10pt; -} - -.dojoxLightboxGroupText { - color:#666; - font-size:8pt; -} - -.LightboxNext, -.LightboxPrev, -.LightboxClose { - float:right; - width:16px; - height:16px; - cursor:pointer; -} - -/* dojox.image.Lightbox:tundra:nihilo */ - -.nihilo .LightboxClose, -.tundra .LightboxClose { - background:url('images/close.png') no-repeat center center; -} -.nihilo .LightboxNext, -.tundra .LightboxNext { - background:url('images/right.png') no-repeat center center; -} -.nihilo .LightboxPrev, -.tundra .LightboxPrev { - background:url('images/left.png') no-repeat center center; -} - -/* dojox.image.Lightbox:soria */ -.soria .LightboxClose, -.soria .LightboxNext, -.soria .LightboxPrev { - width:15px; - height:15px; - background:url('../../../dijit/themes/soria/images/spriteRoundedIconsSmall.png') no-repeat center center; - background-position:-60px; -} -.soria .LightboxNext { - background-position:-30px 0; -} -.soria .LightboxPrev { - background-position:0 0; -} - - - -/* dojox.image.SlideShow */ - -.slideShowWrapper { - position:relative; - background:#fff; - padding:8px; - border:1px solid #333; - padding-bottom:20px; - overflow:hidden; - text-align: center; - -moz-border-radius:3pt; - -webkit-border-radius:4pt; - -webkit-drop-shadow:#ccc 4pt; -} -.slideShowNav { - position:absolute; - bottom:-18px; - left:0px; - padding:0px 3px 2px 0px; - background-color:#fff; - width:100%; -} -.slideShowNavWrapper { float:right; } -.slideShowTitle { - float:left; - color:#333; - font-size:10pt; -} -.slideShowTitle .slideShowCounterText { - font-size:6pt; color:#666; -} -.slideShowHidden { - position:absolute; - display: none; - height: 1px; - width: 1px; -} -.slideShowImageWrapper { - position:relative; - text-align: center; - margin-top: -42px; - float: left; - width: 100%; -} -.slideShowImageWrapper img { - border: 0px none; -} -.slideShowNotifier { - background-color: red; - width: 100px; - height: 5px; - font-size: 1%;/*IE hack to get around the Empty-Div bug*/ -} -.slideShowSlideShow { - position:absolute; - top:30px; - padding: 0 5px; - border: 0px; - text-decoration: none; - color: #2e6ab1; -} -.slideShowLoading { background-color: #fad66a; } -.slideShowLoaded { background-color: transparent; } -/* -.sprite-arrowbottom { background-position: 0 -30px; } -.sprite-arrowtop { background-position: 0 -430px; } -*/ -.slideShowCtrlPrev { - background-position: -96px 0px; - float: left; -} -.slideShowCtrlNext { - background-position: -144px 0px; - float: right; -} -.slideShowCtrlPlay { - background-position: -190px 0px; - position: absolute; -} -.slideShowPaused .slideShowCtrlPlay { - background-position: -236px 0px; - position: absolute; -} -.slideShowCtrl span.slideShowCtrlHide { - background-image: url("../../../dojo/resources/blank.gif"); - cursor: auto; -} - -.slideShowCtrl { - height: 50px; - width: 100%; - position: relative; - z-index:999; - float: left; -} -.slideShowCtrl span { - width: 50px; - height: 100%; - background-image: url("images/buttons.png"); - cursor: pointer; -} -.dj_ie6 .slideShowCtrl span { - background-image: url("images/buttons.gif"); -} - -.dj_ie6 .slideShowPager li.currentpage, -.dj_ie6 .pagination li.disablepage{ - /*IE 6 and below. Adjust non linked LIs slightly to account for bugs*/ - margin-right: 5px; - padding-right: 0; -} - -/* dojox.image.ThumbnailPicker */ - -.thumbWrapper .thumbNav { - background-repeat: no-repeat; - background-position: center; - padding-top: 1px; - width: 30px; - height: 100%; -} - -.thumbOuter { - padding-bottom: 2px; -} - -.thumbOuter.thumbHoriz { - width: 500px; - height: 85px; -} - -.thumbOuter.thumbVert { - width: 100px; - height: 400px; -} - -.thumbOuter .enabled { - background: transparent url("images/buttons.png") no-repeat center center; -} -.dj_ie6 .thumbOuter .enabled { background-image: url("images/buttons.gif"); } - -.thumbOuter .thumbNav img { - width: 48px; - height: 75px; -} -.thumbOuter .thumbClickable div { - cursor: pointer; -} -.thumbOuter .prevHoriz { - background-position: -96px 12px; - position: relative; - float: left; - height: 100%; -} - -.thumbOuter .nextHoriz { - background-position: -144px 12px; - position: relative; - float: right; - height: 100%; -/* margin-top: -85px;*/ -} -.thumbOuter .prevVert { - background-position: 0px 0px; - height: 48px; - width:48px; - margin-left:24px; -} - -.thumbOuter .nextVert { - background-position: -48px 0px; - height: 48px; - width:48px; - margin-left:24px; -} - -.thumbWrapper img { - height: 75px; - max-width: 100px; - width: expression(this.width > 100 ? 100: true);/*IE Hack*/ -} - -.thumbWrapper .thumbNav .imageGalleryThumb { - height: 50px; -} - -.thumbWrapper .thumbNotifier { - background-color: red; - width: 0px; - margin-left: 2px; - height: 5px; - font-size: 1%;/*IE hack to get around the Empty-Div bug*/ -} - -.thumbWrapper .thumbLoaded { - background-color: transparent; -} - -.thumbScroller { - overflow-x: hidden; - overflow-y: hidden; - white-space: nowrap; - text-align: center; -} - -.thumbHoriz .thumbScroller { - width: 500px; - height: 85px; - float: left; -} - -.thumbVert .thumbScroller { - height: 500px; - width: 100px; -} - -.thumbWrapper { - float: left; -} - -.thumbVert .thumbWrapper { - width: 100px; - height: 10px; -} -.thumbHoriz .thumbWapper { - height:85px; - width: 10px; -} - -.thumbWrapper.thumbHoriz div { - float: left; - padding-right: 2px; -} - -.thumbWrapper.thumbVert { - width: 100px; -} - -.thumbWrapper.thumbVert div { - padding-bottom: 2px; -} - -/* dojox.image.Gallery */ - -.imageGalleryWrapper { - padding-bottom: 20px; - text-align: center; -} diff --git a/includes/js/dojox/image/resources/images/buttons.gif b/includes/js/dojox/image/resources/images/buttons.gif deleted file mode 100644 index 5f9081f..0000000 Binary files a/includes/js/dojox/image/resources/images/buttons.gif and /dev/null differ diff --git a/includes/js/dojox/image/resources/images/buttons.png b/includes/js/dojox/image/resources/images/buttons.png deleted file mode 100644 index 306e2f8..0000000 Binary files a/includes/js/dojox/image/resources/images/buttons.png and /dev/null differ diff --git a/includes/js/dojox/image/resources/images/close.png b/includes/js/dojox/image/resources/images/close.png deleted file mode 100644 index 1ac9d10..0000000 Binary files a/includes/js/dojox/image/resources/images/close.png and /dev/null differ diff --git a/includes/js/dojox/image/resources/images/close_dark.png b/includes/js/dojox/image/resources/images/close_dark.png deleted file mode 100644 index 105fe55..0000000 Binary files a/includes/js/dojox/image/resources/images/close_dark.png and /dev/null differ diff --git a/includes/js/dojox/image/resources/images/left.png b/includes/js/dojox/image/resources/images/left.png deleted file mode 100644 index 0848dba..0000000 Binary files a/includes/js/dojox/image/resources/images/left.png and /dev/null differ diff --git a/includes/js/dojox/image/resources/images/loading.gif b/includes/js/dojox/image/resources/images/loading.gif deleted file mode 100644 index e4ab783..0000000 Binary files a/includes/js/dojox/image/resources/images/loading.gif and /dev/null differ diff --git a/includes/js/dojox/image/resources/images/right.png b/includes/js/dojox/image/resources/images/right.png deleted file mode 100644 index 7cab686..0000000 Binary files a/includes/js/dojox/image/resources/images/right.png and /dev/null differ diff --git a/includes/js/dojox/image/resources/images/warning.png b/includes/js/dojox/image/resources/images/warning.png deleted file mode 100644 index a52a55f..0000000 Binary files a/includes/js/dojox/image/resources/images/warning.png and /dev/null differ diff --git a/includes/js/dojox/image/tests/images.json b/includes/js/dojox/image/tests/images.json deleted file mode 100644 index bd0cf96..0000000 --- a/includes/js/dojox/image/tests/images.json +++ /dev/null @@ -1,32 +0,0 @@ -{ items: [ - { - "thumb":"images/extraWide.jpg", - "large":"images/extraWide.jpg", - "title":"I'm wide, me", - "link":"http://www.flickr.com/photos/44153025@N00/748348847" - }, - { - "thumb":"images/imageHoriz.jpg", - "large":"images/imageHoriz.jpg", - "title":"I'm a horizontal picture", - "link":"http://www.flickr.com/photos/44153025@N00/735656038" - }, - { - "thumb":"images/imageHoriz2.jpg", - "large":"images/imageHoriz2.jpg", - "title":"I'm another horizontal picture", - "link":"http://www.flickr.com/photos/44153025@N00/714540483" - }, - { - "thumb":"images/imageVert.jpg", - "large":"images/imageVert.jpg", - "title":"I'm a vertical picture", - "link":"http://www.flickr.com/photos/44153025@N00/715392758" - }, - { - "large":"images/square.jpg", - "thumb":"images/square.jpg", - "link" :"images/square.jpg", - "title":"1:1 aspect ratio" - } -]} \ No newline at end of file diff --git a/includes/js/dojox/image/tests/images/extraWide.jpg b/includes/js/dojox/image/tests/images/extraWide.jpg deleted file mode 100644 index 2161825..0000000 Binary files a/includes/js/dojox/image/tests/images/extraWide.jpg and /dev/null differ diff --git a/includes/js/dojox/image/tests/images/huuuge.png b/includes/js/dojox/image/tests/images/huuuge.png deleted file mode 100644 index ee98a39..0000000 Binary files a/includes/js/dojox/image/tests/images/huuuge.png and /dev/null differ diff --git a/includes/js/dojox/image/tests/images/imageHoriz.jpg b/includes/js/dojox/image/tests/images/imageHoriz.jpg deleted file mode 100644 index 3948416..0000000 Binary files a/includes/js/dojox/image/tests/images/imageHoriz.jpg and /dev/null differ diff --git a/includes/js/dojox/image/tests/images/imageHoriz2.jpg b/includes/js/dojox/image/tests/images/imageHoriz2.jpg deleted file mode 100644 index fbbf404..0000000 Binary files a/includes/js/dojox/image/tests/images/imageHoriz2.jpg and /dev/null differ diff --git a/includes/js/dojox/image/tests/images/imageVert.jpg b/includes/js/dojox/image/tests/images/imageVert.jpg deleted file mode 100644 index 1652338..0000000 Binary files a/includes/js/dojox/image/tests/images/imageVert.jpg and /dev/null differ diff --git a/includes/js/dojox/image/tests/images/spanke.jpg b/includes/js/dojox/image/tests/images/spanke.jpg deleted file mode 100644 index ec95fb0..0000000 Binary files a/includes/js/dojox/image/tests/images/spanke.jpg and /dev/null differ diff --git a/includes/js/dojox/image/tests/images/square.jpg b/includes/js/dojox/image/tests/images/square.jpg deleted file mode 100644 index 9094d5a..0000000 Binary files a/includes/js/dojox/image/tests/images/square.jpg and /dev/null differ diff --git a/includes/js/dojox/image/tests/test_Gallery.html b/includes/js/dojox/image/tests/test_Gallery.html deleted file mode 100644 index 320c481..0000000 --- a/includes/js/dojox/image/tests/test_Gallery.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - Testing the Image Gallery - - - - - - - - - - - - - - - - - -

            dojox.image.Gallery

            - -

            From FlickrRestStore:

            -
            - - - - - diff --git a/includes/js/dojox/image/tests/test_Lightbox.html b/includes/js/dojox/image/tests/test_Lightbox.html deleted file mode 100644 index 15b34c8..0000000 --- a/includes/js/dojox/image/tests/test_Lightbox.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - dojox.image.Lightbox Tests | The Dojo Toolkit - - - - - - - - - - - - - - -
            -

            a Dojo based Lightbox implementation:

            - -

            Individual

            -

            - tall - 4:3 image - Broken link - large than viewport? -

            - -

            Grouped:

            -

            - wide image - square - wide image - Broken link -

            - -

            Alternate Group:

            -

            - wide image - square - 4:3 image - tall -

            - -

            From dojox.data.FlickrStore:

            - -
            -
            - - - -
            - - - diff --git a/includes/js/dojox/image/tests/test_Magnifier.html b/includes/js/dojox/image/tests/test_Magnifier.html deleted file mode 100644 index fef1ddd..0000000 --- a/includes/js/dojox/image/tests/test_Magnifier.html +++ /dev/null @@ -1,98 +0,0 @@ - - - Testing image - - - - - - - - - - - -

            dojox.image.Magnifier test page

            - -

            They are just images. It's entirely unobtrusive to add magnification to an image, and style it accordingly.

            -

            This widget is based on dojox.image.MagnifierLite, an image-only variant on this dojox.gfx - based Widget. The idea was/is to include addational surfaces in some kind of _Templated GFX widget, based on _Widget.

            -

            - Scale= 2.34, 5.67, and 8.90:
            - - - - -

            - -

            - - I Am Some inline text.
            lorem ipsum.
            -

            - -

            A Transparent .png:
            - - -

            - -

            Programatic:
            - - - - - -
            - -

            - -

            Remote file (GTA:LCS/psp map):
            - - -
            Everybody loves Zelda, right?
            - -

            - -

            - -

            - - - diff --git a/includes/js/dojox/image/tests/test_MagnifierLite.html b/includes/js/dojox/image/tests/test_MagnifierLite.html deleted file mode 100644 index 6e6ccd7..0000000 --- a/includes/js/dojox/image/tests/test_MagnifierLite.html +++ /dev/null @@ -1,91 +0,0 @@ - - - Testing image - - - - - - - - - -

            dojox.image.MagnifierLite test page

            - -

            They are just images. It's entirely unobtrusive to add magnification to an image, and style it accordingly.

            - -

            This is the base class for dojox.image.Magnifier, a dojox.gfx-based extension - this portion does not require the dojox.gfx package, but is limited to CSS-based styling. -

            - -

            - Scale= 2.34, 5.67, and 8.90:
            - - - - -

            - -

            - - I Am Some inline text.
            lorem ipsum.
            -

            - -

            A Transparent .png: (url unavailable in release versions, need build-utils package, or svn)
            - - -

            - -

            Programatic: (destroy() removes this.domNode)
            - - - - - -
            - -

            - -

            Remote file (GTA:LCS/psp map):
            - - -
            Everybody loves Zelda:
            - -

            - - - diff --git a/includes/js/dojox/image/tests/test_SlideShow.html b/includes/js/dojox/image/tests/test_SlideShow.html deleted file mode 100644 index 9200c4b..0000000 --- a/includes/js/dojox/image/tests/test_SlideShow.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Testing dojox.image.SlideShow - - - - - - - - - - - - -

            dojox.image.SlideShow

            - -

            from dojo.data.ItemFileReadStore

            -
            - - This SlideShow should display five photos, and loop. It should also - open a URL when the image is clicked. The widget should also resize to - fit the image. -
            - -

            from dojox.data.FlickrRestStore

            - This SlideShow should display five photos, and not loop. It should also not - open a URL when the image is clicked. AutoLoading of images is also disabled. - The time between images in a SlideShow is 1 second. The widget should not resize to fit the image -
            - - - diff --git a/includes/js/dojox/image/tests/test_ThumbnailPicker.html b/includes/js/dojox/image/tests/test_ThumbnailPicker.html deleted file mode 100644 index 90cdf2e..0000000 --- a/includes/js/dojox/image/tests/test_ThumbnailPicker.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - Testing the ThumbnailPicker - - - - - - - - - - -

            dojox.image.ThumbnailPicker

            - -
            - When you click on a thumbnail image, it's information is placed here -
            - -

            From FlickrRestStore:

            - This ThumbnailPicker should have 8 thumbnails, with each of them linking - to a URL when clicked on. The cursor should also change when over an image. -
            - -

            From ItemFileReadStore:

            - This ThumbnailPicker should have 5 thumbnails. Clicking on a thumbnail should NOT - open a URL, and the cursor should not change when over an image that is not an arrow. - -
            -
            - -

            From FlickrRestStore:

            - This ThumbnailPicker should have 6 thumbnails, with each of them linking - to a URL when clicked on. The cursor should also change when over an image. - Unlike the ThumbnailPicker above, when these links are clicked on, this page - changes, instead of a popup window. - -
            - -

            From ItemFileReadStore, and vertical:

            - This ThumbnailPicker should have 5 thumbnails. Clicking on a thumbnail should NOT - open a URL, and the cursor should not change when over an image that is not an arrow. - The thumbnails should also be aligned vertically. -
            - - - diff --git a/includes/js/dojox/io/README b/includes/js/dojox/io/README deleted file mode 100644 index 2dfd62e..0000000 --- a/includes/js/dojox/io/README +++ /dev/null @@ -1,45 +0,0 @@ -------------------------------------------------------------------------------- -DojoX IO -------------------------------------------------------------------------------- -Version 0.3.1 -Release date: 09/06/2007 -------------------------------------------------------------------------------- -Project state: -experimental -------------------------------------------------------------------------------- -Credits - Bryan Forbes (bryan@reigndropsfall.net) -------------------------------------------------------------------------------- -Project description - -------------------------------------------------------------------------------- -Dependencies: - -DojoX IO depends on Dojo Core and DojoX UUID's generateRandomUuid function. -------------------------------------------------------------------------------- -Documentation - -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/uuid.js -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/uuid/* - -Install into the following directory structure: -/dojox/uuid/ - -AND - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/io/* - -Install into the following directory structure: -/dojox/io/ - -...both of which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- -Additional Notes - -The information contained in this README does not pertain to DojoX XHR IFrame Proxy. -For that information see proxy/README. diff --git a/includes/js/dojox/io/proxy/README b/includes/js/dojox/io/proxy/README deleted file mode 100644 index 8898a56..0000000 --- a/includes/js/dojox/io/proxy/README +++ /dev/null @@ -1,82 +0,0 @@ -------------------------------------------------------------------------------- -Project Name -------------------------------------------------------------------------------- -Version 0.6 -Release date: 01/31/2008 -------------------------------------------------------------------------------- -Project state: -experimental -------------------------------------------------------------------------------- -Credits - James Burke (jburke@dojotoolkit.org) -------------------------------------------------------------------------------- -Project description - -The XHR IFrame Proxy (xip) allows you to do cross-domain XMLHttpRequests (XHRs). -It works by using two iframes, one your domain (xip_client.html), one on the -other domain (xip_server.html). They use fragment IDs in the iframe URLs to pass -messages to each other. The xip.js file defines dojox.io.proxy.xip. This module -intercepts XHR calls made by the Dojo XHR methods (dojo.xhr* methods). The module -returns a facade object that acts like an XHR object. Once send is called on the -facade, the facade's data is serialized, given to xip_client.html. xip_client.html -then passes the serialized data to xip_server.html by changing xip_server.html's -URL fragment ID (the #xxxx part of an URL). xip_server.html deserializes the -message fragments, and does an XHR call, gets the response, and serializes the -data. The serialized data is then passed back to xip_client.html by changing -xip_client.html's fragment ID. Then the response is deserialized and used as -the response inside the facade XHR object that was created by dojox.io.proxy.xip. -------------------------------------------------------------------------------- -Dependencies: - -xip.js: Dojo Core, dojox.data.dom -xip_client.html: none -xip_server.html: none (but see Additional Notes section) -------------------------------------------------------------------------------- -Documentation - -There is some documentation that applies to the Dojo 0.4.x version of these files: -http://dojotoolkit.org/book/dojo-book-0-4/part-5-connecting-pieces/i-o/cross-domain-xmlhttprequest-using-iframe-proxy - -The general theory still applies to this code, but the specifics are different -for the Dojo 0.9+ codebase. Doc updates hopefully after the basic code is ported. - -The current implementation destroys the iframes used for a request after the request -completes. This seems to cause a memory leak, particularly in IE. So, it is not -suited for doing polling cross-domain requests. -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojox SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/io/proxy/xip.js -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/io/proxy/xip_client.html - -Install into the following directory structure: -/dojox/io/proxy/ - -...which should be at the same level as your Dojo checkout. - -Grab the following from the Dojox SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/io/proxy/xip_server.html - -and install it on the domain that you want to allow receiving cross-domain -requests. Be sure to read the documentation, the Additional Notes below, and -the in-file comments. -------------------------------------------------------------------------------- -Additional Notes - -xip_client.html and xip_server.html do not work right away. You need to uncomment -out the script tags in the files. Additionally, xip_server.html requires a JS file, -isAllowed.js, to be defined. See the notes in xip_server.html for more informaiton. - -XDOMAIN BUILD INSTRUCTIONS: -The dojox.io.proxy module requires some setup to use with an xdomain build. -The xip_client.html file has to be served from the same domain as your web page. -It cannot be served from the domain that has the xdomain build. Download xip_client.html -and install it on your server. Then set djConfig.xipClientUrl to the local path -of xip_client.html (just use a path, not a whole URL, since it will be on the same -domain as the page). The path to the file should be the path relative to the web -page that is using dojox.io.proxy. - - - - diff --git a/includes/js/dojox/io/proxy/tests/frag.xml b/includes/js/dojox/io/proxy/tests/frag.xml deleted file mode 100644 index 6904bba..0000000 --- a/includes/js/dojox/io/proxy/tests/frag.xml +++ /dev/null @@ -1,4 +0,0 @@ - -This is the foo text node value -This is the bar text node value - diff --git a/includes/js/dojox/io/proxy/tests/xip.html b/includes/js/dojox/io/proxy/tests/xip.html deleted file mode 100644 index 5a5ba5f..0000000 --- a/includes/js/dojox/io/proxy/tests/xip.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - XHR IFrame Proxy Tests - - - - - - - - -

            XHR IFrame Proxy Tests

            -

            Run this test from a web server, not from local disk.

            - -

            - -

            -
            - - - diff --git a/includes/js/dojox/io/proxy/xip.js b/includes/js/dojox/io/proxy/xip.js deleted file mode 100644 index b88d910..0000000 --- a/includes/js/dojox/io/proxy/xip.js +++ /dev/null @@ -1,441 +0,0 @@ -if(!dojo._hasResource["dojox.io.proxy.xip"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.io.proxy.xip"] = true; -dojo.provide("dojox.io.proxy.xip"); - -dojo.require("dojo.io.iframe"); -dojo.require("dojox.data.dom"); - -dojox.io.proxy.xip = { - //summary: Object that implements the iframe handling for XMLHttpRequest - //IFrame Proxying. - //description: Do not use this object directly. See the Dojo Book page - //on XMLHttpRequest IFrame Proxying: - //http://dojotoolkit.org/book/dojo-book-0-4/part-5-connecting-pieces/i-o/cross-domain-xmlhttprequest-using-iframe-proxy - //Usage of XHR IFrame Proxying does not work from local disk in Safari. - - /* - This code is really focused on just sending one complete request to the server, and - receiving one complete response per iframe. The code does not expect to reuse iframes for multiple XHR request/response - sequences. This might be reworked later if performance indicates a need for it. - - xip fragment identifier/hash values have the form: - #id:cmd:realEncodedMessage - - id: some ID that should be unique among message fragments. No inherent meaning, - just something to make sure the hash value is unique so the message - receiver knows a new message is available. - - cmd: command to the receiver. Valid values are: - - init: message used to init the frame. Sent as the first URL when loading - the page. Contains some config parameters. - - loaded: the remote frame is loaded. Only sent from xip_client.html to this module. - - ok: the message that this page sent was received OK. The next message may - now be sent. - - start: the start message of a block of messages (a complete message may - need to be segmented into many messages to get around the limitiations - of the size of an URL that a browser accepts. - - part: indicates this is a part of a message. - - end: the end message of a block of messages. The message can now be acted upon. - If the message is small enough that it doesn't need to be segmented, then - just one hash value message can be sent with "end" as the command. - - To reassemble a segmented message, the realEncodedMessage parts just have to be concatenated - together. - */ - - xipClientUrl: ((dojo.config || djConfig)["xipClientUrl"]) || dojo.moduleUrl("dojox.io.proxy", "xip_client.html"), - - - //MSIE has the lowest limit for URLs with fragment identifiers, - //at around 4K. Choosing a slightly smaller number for good measure. - urlLimit: 4000, - - _callbackName: (dojox._scopeName || "dojox") + ".io.proxy.xip.fragmentReceived", - _state: {}, - _stateIdCounter: 0, - _isWebKit: navigator.userAgent.indexOf("WebKit") != -1, - - - send: function(/*Object*/facade){ - //summary: starts the xdomain request using the provided facade. - //This method first does some init work, then delegates to _realSend. - - var url = this.xipClientUrl; - //Make sure we are not dealing with javascript urls, just to be safe. - if(url.split(":")[0].match(/javascript/i) || facade._ifpServerUrl.split(":")[0].match(/javascript/i)){ - return; - } - - //Make xip_client a full URL. - var colonIndex = url.indexOf(":"); - var slashIndex = url.indexOf("/"); - if(colonIndex == -1 || slashIndex < colonIndex){ - //No colon or we are starting with a / before a colon, so we need to make a full URL. - var loc = window.location.href; - if(slashIndex == 0){ - //Have a full path, just need the domain. - url = loc.substring(0, loc.indexOf("/", 9)) + url; //Using 9 to get past http(s):// - }else{ - url = loc.substring(0, (loc.lastIndexOf("/") + 1)) + url; - } - } - this.fullXipClientUrl = url; - - //Set up an HTML5 messaging listener if postMessage exists. - //As of this writing, this is only useful to get Opera 9.25+ to work. - if(typeof document.postMessage != "undefined"){ - document.addEventListener("message", dojo.hitch(this, this.fragmentReceivedEvent), false); - } - - //Now that we did first time init, always use the realSend method. - this.send = this._realSend; - return this._realSend(facade); //Object - }, - - _realSend: function(facade){ - //summary: starts the actual xdomain request using the provided facade. - var stateId = "XhrIframeProxy" + (this._stateIdCounter++); - facade._stateId = stateId; - - var frameUrl = facade._ifpServerUrl + "#0:init:id=" + stateId + "&client=" - + encodeURIComponent(this.fullXipClientUrl) + "&callback=" + encodeURIComponent(this._callbackName); - - this._state[stateId] = { - facade: facade, - stateId: stateId, - clientFrame: dojo.io.iframe.create(stateId, "", frameUrl), - isSending: false, - serverUrl: facade._ifpServerUrl, - requestData: null, - responseMessage: "", - requestParts: [], - idCounter: 1, - partIndex: 0, - serverWindow: null - }; - - return stateId; //Object - }, - - receive: function(/*String*/stateId, /*String*/urlEncodedData){ - /* urlEncodedData should have the following params: - - responseHeaders - - status - - statusText - - responseText - */ - //Decode response data. - var response = {}; - var nvPairs = urlEncodedData.split("&"); - for(var i = 0; i < nvPairs.length; i++){ - if(nvPairs[i]){ - var nameValue = nvPairs[i].split("="); - response[decodeURIComponent(nameValue[0])] = decodeURIComponent(nameValue[1]); - } - } - - //Set data on facade object. - var state = this._state[stateId]; - var facade = state.facade; - - facade._setResponseHeaders(response.responseHeaders); - if(response.status == 0 || response.status){ - facade.status = parseInt(response.status, 10); - } - if(response.statusText){ - facade.statusText = response.statusText; - } - if(response.responseText){ - facade.responseText = response.responseText; - - //Fix responseXML. - var contentType = facade.getResponseHeader("Content-Type"); - if(contentType){ - var mimeType = contentType.split(";")[0]; - if(mimeType.indexOf("application/xml") == 0 || mimeType.indexOf("text/xml") == 0){ - facade.responseXML = dojox.data.dom.createDocument(response.responseText, contentType); - } - } - } - facade.readyState = 4; - - this.destroyState(stateId); - }, - - frameLoaded: function(/*String*/stateId){ - var state = this._state[stateId]; - var facade = state.facade; - - var reqHeaders = []; - for(var param in facade._requestHeaders){ - reqHeaders.push(param + ": " + facade._requestHeaders[param]); - } - - var requestData = { - uri: facade._uri - }; - if(reqHeaders.length > 0){ - requestData.requestHeaders = reqHeaders.join("\r\n"); - } - if(facade._method){ - requestData.method = facade._method; - } - if(facade._bodyData){ - requestData.data = facade._bodyData; - } - - this.sendRequest(stateId, dojo.objectToQuery(requestData)); - }, - - destroyState: function(/*String*/stateId){ - var state = this._state[stateId]; - if(state){ - delete this._state[stateId]; - var parentNode = state.clientFrame.parentNode; - parentNode.removeChild(state.clientFrame); - state.clientFrame = null; - state = null; - } - }, - - createFacade: function(){ - if(arguments && arguments[0] && arguments[0].iframeProxyUrl){ - return new dojox.io.proxy.xip.XhrIframeFacade(arguments[0].iframeProxyUrl); - }else{ - return dojox.io.proxy.xip._xhrObjOld.apply(dojo, arguments); - } - }, - - //**** State-bound methods **** - sendRequest: function(stateId, encodedData){ - var state = this._state[stateId]; - if(!state.isSending){ - state.isSending = true; - - state.requestData = encodedData || ""; - - //Get a handle to the server iframe. - state.serverWindow = frames[state.stateId]; - if (!state.serverWindow){ - state.serverWindow = document.getElementById(state.stateId).contentWindow; - } - - //Make sure we have contentWindow, but only do this for non-postMessage - //browsers (right now just opera is postMessage). - if(typeof document.postMessage == "undefined"){ - if(state.serverWindow.contentWindow){ - state.serverWindow = state.serverWindow.contentWindow; - } - } - - this.sendRequestStart(stateId); - } - }, - - sendRequestStart: function(stateId){ - //Break the message into parts, if necessary. - var state = this._state[stateId]; - state.requestParts = []; - var reqData = state.requestData; - var urlLength = state.serverUrl.length; - var partLength = this.urlLimit - urlLength; - var reqIndex = 0; - - while((reqData.length - reqIndex) + urlLength > this.urlLimit){ - var part = reqData.substring(reqIndex, reqIndex + partLength); - //Safari will do some extra hex escaping unless we keep the original hex - //escaping complete. - var percentIndex = part.lastIndexOf("%"); - if(percentIndex == part.length - 1 || percentIndex == part.length - 2){ - part = part.substring(0, percentIndex); - } - state.requestParts.push(part); - reqIndex += part.length; - } - state.requestParts.push(reqData.substring(reqIndex, reqData.length)); - - state.partIndex = 0; - this.sendRequestPart(stateId); - - }, - - sendRequestPart: function(stateId){ - var state = this._state[stateId]; - - if(state.partIndex < state.requestParts.length){ - //Get the message part. - var partData = state.requestParts[state.partIndex]; - - //Get the command. - var cmd = "part"; - if(state.partIndex + 1 == state.requestParts.length){ - cmd = "end"; - }else if (state.partIndex == 0){ - cmd = "start"; - } - - this.setServerUrl(stateId, cmd, partData); - state.partIndex++; - } - }, - - setServerUrl: function(stateId, cmd, message){ - var serverUrl = this.makeServerUrl(stateId, cmd, message); - var state = this._state[stateId]; - - //Safari won't let us replace across domains. - if(this._isWebKit){ - state.serverWindow.location = serverUrl; - }else{ - state.serverWindow.location.replace(serverUrl); - } - }, - - makeServerUrl: function(stateId, cmd, message){ - var state = this._state[stateId]; - var serverUrl = state.serverUrl + "#" + (state.idCounter++) + ":" + cmd; - if(message){ - serverUrl += ":" + message; - } - return serverUrl; - }, - - fragmentReceivedEvent: function(evt){ - //summary: HTML5 document messaging endpoint. Unpack the event to see - //if we want to use it. - if(evt.uri.split("#")[0] == this.fullXipClientUrl){ - this.fragmentReceived(evt.data); - } - }, - - fragmentReceived: function(frag){ - var index = frag.indexOf("#"); - var stateId = frag.substring(0, index); - var encodedData = frag.substring(index + 1, frag.length); - - var msg = this.unpackMessage(encodedData); - var state = this._state[stateId]; - - switch(msg.command){ - case "loaded": - this.frameLoaded(stateId); - break; - case "ok": - this.sendRequestPart(stateId); - break; - case "start": - state.responseMessage = "" + msg.message; - this.setServerUrl(stateId, "ok"); - break; - case "part": - state.responseMessage += msg.message; - this.setServerUrl(stateId, "ok"); - break; - case "end": - this.setServerUrl(stateId, "ok"); - state.responseMessage += msg.message; - this.receive(stateId, state.responseMessage); - break; - } - }, - - unpackMessage: function(encodedMessage){ - var parts = encodedMessage.split(":"); - var command = parts[1]; - encodedMessage = parts[2] || ""; - - var config = null; - if(command == "init"){ - var configParts = encodedMessage.split("&"); - config = {}; - for(var i = 0; i < configParts.length; i++){ - var nameValue = configParts[i].split("="); - config[decodeURIComponent(nameValue[0])] = decodeURIComponent(nameValue[1]); - } - } - return {command: command, message: encodedMessage, config: config}; - } -} - -//Replace the normal XHR factory with the proxy one. -dojox.io.proxy.xip._xhrObjOld = dojo._xhrObj; -dojo._xhrObj = dojox.io.proxy.xip.createFacade; - -/** - Using this a reference: http://www.w3.org/TR/XMLHttpRequest/ - - Does not implement the onreadystate callback since dojo.xhr* does - not use it. -*/ -dojox.io.proxy.xip.XhrIframeFacade = function(ifpServerUrl){ - //summary: XMLHttpRequest facade object used by dojox.io.proxy.xip. - - //description: Do not use this object directly. See the Dojo Book page - //on XMLHttpRequest IFrame Proxying: - //http://dojotoolkit.org/book/dojo-book-0-4/part-5-connecting-pieces/i-o/cross-domain-xmlhttprequest-using-iframe-proxy - this._requestHeaders = {}; - this._allResponseHeaders = null; - this._responseHeaders = {}; - this._method = null; - this._uri = null; - this._bodyData = null; - this.responseText = null; - this.responseXML = null; - this.status = null; - this.statusText = null; - this.readyState = 0; - - this._ifpServerUrl = ifpServerUrl; - this._stateId = null; -} - -dojo.extend(dojox.io.proxy.xip.XhrIframeFacade, { - //The open method does not properly reset since Dojo does not reuse XHR objects. - open: function(/*String*/method, /*String*/uri){ - this._method = method; - this._uri = uri; - - this.readyState = 1; - }, - - setRequestHeader: function(/*String*/header, /*String*/value){ - this._requestHeaders[header] = value; - }, - - send: function(/*String*/stringData){ - this._bodyData = stringData; - - this._stateId = dojox.io.proxy.xip.send(this); - - this.readyState = 2; - }, - abort: function(){ - dojox.io.proxy.xip.destroyState(this._stateId); - }, - - getAllResponseHeaders: function(){ - return this._allResponseHeaders; //String - }, - - getResponseHeader: function(/*String*/header){ - return this._responseHeaders[header]; //String - }, - - _setResponseHeaders: function(/*String*/allHeaders){ - if(allHeaders){ - this._allResponseHeaders = allHeaders; - - //Make sure ther are now CR characters in the headers. - allHeaders = allHeaders.replace(/\r/g, ""); - var nvPairs = allHeaders.split("\n"); - for(var i = 0; i < nvPairs.length; i++){ - if(nvPairs[i]){ - var nameValue = nvPairs[i].split(": "); - this._responseHeaders[nameValue[0]] = nameValue[1]; - } - } - } - } -}); - -} diff --git a/includes/js/dojox/io/proxy/xip_client.html b/includes/js/dojox/io/proxy/xip_client.html deleted file mode 100644 index c51a839..0000000 --- a/includes/js/dojox/io/proxy/xip_client.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - // - - - -

            The Dojo Toolkit -- xip_client.html

            - -

            This file is used for Dojo's XMLHttpRequest Iframe Proxy. This is the "client" file used - internally by dojox.io.proxy.xip.

            - - diff --git a/includes/js/dojox/io/proxy/xip_server.html b/includes/js/dojox/io/proxy/xip_server.html deleted file mode 100644 index 01b7274..0000000 --- a/includes/js/dojox/io/proxy/xip_server.html +++ /dev/null @@ -1,382 +0,0 @@ - - - - - - - - - - - // - - - -

            The Dojo Toolkit -- xip_server.html

            - -

            This file is used for Dojo's XMLHttpRequest Iframe Proxy. This is the the file - that should go on the server that will actually be doing the XHR request.

            -
            - - diff --git a/includes/js/dojox/io/xhrMultiPart.js b/includes/js/dojox/io/xhrMultiPart.js deleted file mode 100644 index 5792267..0000000 --- a/includes/js/dojox/io/xhrMultiPart.js +++ /dev/null @@ -1,81 +0,0 @@ -if(!dojo._hasResource["dojox.io.xhrMultiPart"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.io.xhrMultiPart"] = true; -dojo.provide("dojox.io.xhrMultiPart"); - -dojo.require("dojo._base.xhr"); -dojo.require("dojox.uuid.generateRandomUuid"); - -(function(){ - function _createPart(args, boundary){ - if(!args["name"] && !args["content"]){ - throw new Error("Each part of a multi-part request requires 'name' and 'content'."); - } - - var tmp = []; - tmp.push("--" + boundary, - "Content-Disposition: form-data; name=\"" + args.name + "\"" + - (args["filename"] ? "; filename=\"" + args.filename + "\"" : "")); - - if(args["contentType"]){ - var ct = "Content-Type: " + args.contentType; - if(args["charset"]){ - ct += "; Charset=" + args.charset; - } - tmp.push(ct); - } - - if(args["contentTransferEncoding"]){ - tmp.push("Content-Transfer-Encoding: " + args.contentTransferEncoding); - } - - tmp.push("", args.content); - - return tmp; - } - - function _needIframe(node){ - return (!!(dojo.query("input[type=file]", node).length)); - } - - function _partsFromNode(node, boundary){ - // TODO: write this function! - var tmp = []; - return tmp; - } - - dojox.io.xhrMultiPart = function(args){ - if(!args["file"] && !args["form"]){ - throw new Error("file or form must be provided to dojox.io.xhrMultiPart's arguments"); - } - - // unique guid as a boundary value for multipart posts - var boundary = dojox.uuid.generateRandomUuid(); - - var tmp = []; - var out = ""; - - if(args["file"]){ - var d = (dojo.isArray(args.file) ? args.file : [args.file]); - - for(var i=0; i < d.length; i++){ - tmp = tmp.concat(_createPart(d[i], boundary)); - } - } - - if(args["form"]){ - tmp = tmp.concat(_partsFromNode(args["form"], boundary)); - } - - if(tmp.length){ - tmp.push("--"+boundary+"--", ""); - out = tmp.join("\r\n"); - } - - return dojo.rawXhrPost(dojo.mixin(args, { - contentType: "multipart/form-data; boundary=" + boundary, - postData: out - })); - } -})(); - -} diff --git a/includes/js/dojox/jsonPath.js b/includes/js/dojox/jsonPath.js deleted file mode 100644 index 692e855..0000000 --- a/includes/js/dojox/jsonPath.js +++ /dev/null @@ -1,6 +0,0 @@ -if(!dojo._hasResource["dojox.jsonPath"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.jsonPath"] = true; -dojo.provide("dojox.jsonPath"); -dojo.require("dojox.jsonPath.query"); - -} diff --git a/includes/js/dojox/jsonPath/README b/includes/js/dojox/jsonPath/README deleted file mode 100644 index 2da2b31..0000000 --- a/includes/js/dojox/jsonPath/README +++ /dev/null @@ -1,125 +0,0 @@ -------------------------------------------------------------------------------- -dojox.jsonPath -------------------------------------------------------------------------------- -Version 1.0 -Release date: 11/14/2007 -------------------------------------------------------------------------------- -Project state: beta -------------------------------------------------------------------------------- -Project authors - Dustin Machi - Kris Zyp -------------------------------------------------------------------------------- -Project description - -jsonPath is a query system similar in idea to xpath, but for use against -javascript objects. This code is a port of the jsonPath code at -http://code.google.com/p/jsonpath/. It was contributed under CLA by Stefan -Goessner. Thanks Stefan! -------------------------------------------------------------------------------- -Dependencies: - -Dojo Core (package loader). -------------------------------------------------------------------------------- -Documentation - -Usage: - -var matches = dojox.jsonPath.query(objectToQuery, jsonPathExpresson) - -Expressions: - - $ The Root Object - @ The current object/element - . or [] The child operator - .. Recursive descent - * all objects - [] subscript operator - [,] Union operator - [start:end:step] array slice operator - ?() applies a filter/script expression - () script expresions - - some examples: - - Given the following test data set: - - var json = - { "store": { - "book": [ - { "category": "reference", - "author": "Nigel Rees", - "title": "Sayings of the Century", - "price": 8.95 - }, - { "category": "fiction", - "author": "Evelyn Waugh", - "title": "Sword of Honour", - "price": 12.99 - }, - { "category": "fiction", - "author": "Herman Melville", - "title": "Moby Dick", - "isbn": "0-553-21311-3", - "price": 8.99 - }, - { "category": "fiction", - "author": "J. R. R. Tolkien", - "title": "The Lord of the Rings", - "isbn": "0-395-19395-8", - "price": 22.99 - } - ], - "bicycle": { - "color": "red", - "price": 19.95 - } - } - }; - - Here are some example queries and their output: - - $.store.book[*].author - ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] - - $..author - ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] - - $.store.* - [[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}],{"color":"red","price":19.95}] - - $.store..price - [8.95,12.99,8.99,22.99,19.95] - - $..book[(@.length-1)] - [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}] - - $..book[-1] - [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}] - - $..book[0,1] - [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99}] - - $..book[:2] - [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99}] - - $..book[?(@.isbn)] - [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}] - - $..book[?(@.price<10)] - [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99}] - - $..* - [{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}],"bicycle":{"color":"red","price":19.95}},[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}],{"color":"red","price":19.95},{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99},"reference","Nigel Rees","Sayings of the Century",8.95,"fiction","Evelyn Waugh","Sword of Honour",12.99,"fiction","Herman Melville","Moby Dick","0-553-21311-3",8.99,"fiction","J. R. R. Tolkien","The Lord of the Rings","0-395-19395-8",22.99,"red",19.95] - - -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/jsonPath - -Install into the following directory structure: -/dojox/jsonPath/ - -...which should be at the same level as your Dojo checkout. diff --git a/includes/js/dojox/jsonPath/query.js b/includes/js/dojox/jsonPath/query.js deleted file mode 100644 index 4e24309..0000000 --- a/includes/js/dojox/jsonPath/query.js +++ /dev/null @@ -1,163 +0,0 @@ -if(!dojo._hasResource["dojox.jsonPath.query"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.jsonPath.query"] = true; -dojo.provide("dojox.jsonPath.query"); - -dojox.jsonPath.query = function(/*Object*/obj, /*String*/expr, /*Object*/arg){ - // summaRy - // Perform jsonPath query `expr` on javascript object or json string `obj` - // obj - object || json string to perform query on - // expr - jsonPath expression (string) to be evaluated - // arg - {}special arugments. - // resultType: "VALUE"||"BOTH"||"PATH"} (defaults to value) - // evalType: "RESULT"||"ITEM"} (defaults to ?) - - var re = dojox.jsonPath._regularExpressions; - if (!arg){arg={};} - - var strs = []; - function _str(i){ return strs[i];} - var acc; - if (arg.resultType == "PATH" && arg.evalType == "RESULT") throw Error("RESULT based evaluation not supported with PATH based results"); - var P = { - resultType: arg.resultType || "VALUE", - normalize: function(expr){ - var subx = []; - expr = expr.replace(/'([^']|'')*'/g, function(t){return "_str("+(strs.push(eval(t))-1)+")";}); - var ll = -1; - while(ll!=subx.length){ - ll=subx.length;//TODO: Do expression syntax checking - expr = expr.replace(/(\??\([^\(\)]*\))/g, function($0){return "#"+(subx.push($0)-1);}); - } - expr = expr.replace(/[\['](#[0-9]+)[\]']/g,'[$1]') - .replace(/'?\.'?|\['?/g, ";") - .replace(/;;;|;;/g, ";..;") - .replace(/;$|'?\]|'$/g, ""); - ll = -1; - while(ll!=expr){ - ll=expr; - expr = expr.replace(/#([0-9]+)/g, function($0,$1){return subx[$1];}); - } - return expr.split(";"); - }, - asPaths: function(paths){ - for (var j=0;j - - - Dojox Unit Test Runner - - - Redirecting to D.O.H runner. - - diff --git a/includes/js/dojox/lang/LICENSE b/includes/js/dojox/lang/LICENSE deleted file mode 100644 index d84a6aa..0000000 --- a/includes/js/dojox/lang/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2007 Oliver Steele - -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/includes/js/dojox/lang/README b/includes/js/dojox/lang/README deleted file mode 100644 index 753b943..0000000 --- a/includes/js/dojox/lang/README +++ /dev/null @@ -1,37 +0,0 @@ -------------------------------------------------------------------------------- -dojox.lang -------------------------------------------------------------------------------- -Version 0.991 -Release date: 07/30/2007 -------------------------------------------------------------------------------- -Project state: -[beta] -------------------------------------------------------------------------------- -Credits - Eugene Lazutkin (eugene.lazutkin@gmail.com) -------------------------------------------------------------------------------- -Project description - -Implementation of common functional operations, and provisions -Later we can add other JS language-related helpers. -------------------------------------------------------------------------------- -Dependencies: - -None. -------------------------------------------------------------------------------- -Documentation - -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/lang/* - -Install into the following directory structure: -/dojox/lang/ - -...which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- -Additional Notes - -See tests and the source for more details. diff --git a/includes/js/dojox/lang/functional.js b/includes/js/dojox/lang/functional.js deleted file mode 100644 index e75ad00..0000000 --- a/includes/js/dojox/lang/functional.js +++ /dev/null @@ -1,9 +0,0 @@ -if(!dojo._hasResource["dojox.lang.functional"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.functional"] = true; -dojo.provide("dojox.lang.functional"); - -dojo.require("dojox.lang.functional.lambda"); -dojo.require("dojox.lang.functional.array"); -dojo.require("dojox.lang.functional.object"); - -} diff --git a/includes/js/dojox/lang/functional/array.js b/includes/js/dojox/lang/functional/array.js deleted file mode 100644 index 45c2613..0000000 --- a/includes/js/dojox/lang/functional/array.js +++ /dev/null @@ -1,113 +0,0 @@ -if(!dojo._hasResource["dojox.lang.functional.array"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.functional.array"] = true; -dojo.provide("dojox.lang.functional.array"); - -dojo.require("dojox.lang.functional.lambda"); - -// This module adds high-level functions and related constructs: -// - array-processing functions similar to standard JS functions - -// Notes: -// - this module provides JS standard methods similar to high-level functions in dojo/_base/array.js: -// forEach, map, filter, every, some - -// Defined methods: -// - take any valid lambda argument as the functional argument -// - operate on dense arrays -// - take a string as the array argument -// - take an iterator objects as the array argument - -(function(){ - var d = dojo, df = dojox.lang.functional; - - d.mixin(df, { - // JS 1.6 standard array functions, which can take a lambda as a parameter. - // Consider using dojo._base.array functions, if you don't need the lambda support. - filter: function(/*Array|String|Object*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: creates a new array with all elements that pass the test - // implemented by the provided function. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - var t = [], v; - if(d.isArray(a)){ - for(var i = 0, n = a.length; i < n; ++i){ - v = a[i]; - if(f.call(o, v, i, a)){ t.push(v); } - } - }else{ - for(var i = 0; a.hasNext();){ - v = a.next(); - if(f.call(o, v, i++)){ t.push(v); } - } - } - return t; // Array - }, - forEach: function(/*Array|String|Object*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: executes a provided function once per array element. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - if(d.isArray(a)){ - for(var i = 0, n = a.length; i < n; f.call(o, a[i], i, a), ++i); - }else{ - for(var i = 0; a.hasNext(); f.call(o, a.next(), i++)); - } - }, - map: function(/*Array|String|Object*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: creates a new array with the results of calling - // a provided function on every element in this array. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - var t, n; - if(d.isArray(a)){ - t = new Array(n = a.length); - for(var i = 0; i < n; t[i] = f.call(o, a[i], i, a), ++i); - }else{ - t = []; - for(var i = 0; a.hasNext(); t.push(f.call(o, a.next(), i++))); - } - return t; // Array - }, - every: function(/*Array|String|Object*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: tests whether all elements in the array pass the test - // implemented by the provided function. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - if(d.isArray(a)){ - for(var i = 0, n = a.length; i < n; ++i){ - if(!f.call(o, a[i], i, a)){ - return false; // Boolean - } - } - }else{ - for(var i = 0; a.hasNext();){ - if(!f.call(o, a.next(), i++)){ - return false; // Boolean - } - } - } - return true; // Boolean - }, - some: function(/*Array|String|Object*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: tests whether some element in the array passes the test - // implemented by the provided function. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - if(d.isArray(a)){ - for(var i = 0, n = a.length; i < n; ++i){ - if(f.call(o, a[i], i, a)){ - return true; // Boolean - } - } - }else{ - for(var i = 0; a.hasNext();){ - if(f.call(o, a.next(), i++)){ - return true; // Boolean - } - } - } - return false; // Boolean - } - }); -})(); - -} diff --git a/includes/js/dojox/lang/functional/curry.js b/includes/js/dojox/lang/functional/curry.js deleted file mode 100644 index 7c795ec..0000000 --- a/includes/js/dojox/lang/functional/curry.js +++ /dev/null @@ -1,96 +0,0 @@ -if(!dojo._hasResource["dojox.lang.functional.curry"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.functional.curry"] = true; -dojo.provide("dojox.lang.functional.curry"); - -dojo.require("dojox.lang.functional.lambda"); - -// This module adds high-level functions and related constructs: -// - currying and partial functions -// - argument pre-processing: mixer and flip - -// Acknoledgements: -// - partial() is based on work by Oliver Steele -// (http://osteele.com/sources/javascript/functional/functional.js) -// which was published under MIT License - -// Defined methods: -// - take any valid lambda argument as the functional argument - -(function(){ - var df = dojox.lang.functional; - - var currying = function(/*Object*/ info){ - return function(){ // Function - if(arguments.length + info.args.length < info.arity){ - return currying({func: info.func, arity: info.arity, - args: Array.prototype.concat.apply(info.args, arguments)}); - } - return info.func.apply(this, Array.prototype.concat.apply(info.args, arguments)); - }; - }; - - dojo.mixin(df, { - // currying and partial functions - curry: function(/*Function|String|Array*/ f, /*Number?*/ arity){ - // summary: curries a function until the arity is satisfied, at - // which point it returns the calculated value. - f = df.lambda(f); - arity = typeof arity == "number" ? arity : f.length; - return currying({func: f, arity: arity, args: []}); // Function - }, - arg: {}, // marker for missing arguments - partial: function(/*Function|String|Array*/ f){ - // summary: creates a function where some arguments are bound, and - // some arguments (marked as dojox.lang.functional.arg) are will be - // accepted by the final function in the order they are encountered. - // description: This method is used to produce partially bound - // functions. If you want to change the order of arguments, use - // dojox.lang.functional.mixer() or dojox.lang.functional.flip(). - var a = arguments, args = new Array(a.length - 1), p = []; - f = df.lambda(f); - for(var i = 1; i < a.length; ++i){ - var t = a[i]; - args[i - 1] = t; - if(t == df.arg){ - p.push(i - 1); - } - } - return function(){ // Function - var t = Array.prototype.slice.call(args, 0); // clone the array - for(var i = 0; i < p.length; ++i){ - t[p[i]] = arguments[i]; - } - return f.apply(this, t); - }; - }, - // argument pre-processing - mixer: function(/*Function|String|Array*/ f, /*Array*/ mix){ - // summary: changes the order of arguments using an array of - // numbers mix --- i-th argument comes from mix[i]-th place - // of supplied arguments. - f = df.lambda(f); - return function(){ // Function - var t = new Array(mix.length); - for(var i = 0; i < mix.length; ++i){ - t[i] = arguments[mix[i]]; - } - return f.apply(this, t); - }; - }, - flip: function(/*Function|String|Array*/ f){ - // summary: changes the order of arguments by reversing their - // order. - f = df.lambda(f); - return function(){ // Function - // reverse arguments - var a = arguments, l = a.length - 1, t = new Array(l + 1), i; - for(i = 0; i <= l; ++i){ - t[l - i] = a[i]; - } - return f.apply(this, t); - }; - } - }); -})(); - -} diff --git a/includes/js/dojox/lang/functional/fold.js b/includes/js/dojox/lang/functional/fold.js deleted file mode 100644 index 90a9a3d..0000000 --- a/includes/js/dojox/lang/functional/fold.js +++ /dev/null @@ -1,87 +0,0 @@ -if(!dojo._hasResource["dojox.lang.functional.fold"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.functional.fold"] = true; -dojo.provide("dojox.lang.functional.fold"); - -dojo.require("dojox.lang.functional.lambda"); - -// This module adds high-level functions and related constructs: -// - "fold" family of functions - -// Notes: -// - missing high-level functions are provided with the compatible API: -// foldl, foldl1, foldr, foldr1 -// - missing JS standard functions are provided with the compatible API: -// reduce, reduceRight - -// Defined methods: -// - take any valid lambda argument as the functional argument -// - operate on dense arrays -// - take a string as the array argument -// - take an iterator objects as the array argument (only foldl, foldl1, and reduce) - -(function(){ - var d = dojo, df = dojox.lang.functional; - - d.mixin(df, { - // classic reduce-class functions - foldl: function(/*Array|String|Object*/ a, /*Function*/ f, /*Object*/ z, /*Object?*/ o){ - // summary: repeatedly applies a binary function to an array from left - // to right using a seed value as a starting point; returns the final - // value. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - if(d.isArray(a)){ - for(var i = 0, n = a.length; i < n; z = f.call(o, z, a[i], i, a), ++i); - }else{ - for(var i = 0; a.hasNext(); z = f.call(o, z, a.next(), i++)); - } - return z; // Object - }, - foldl1: function(/*Array|String|Object*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: repeatedly applies a binary function to an array from left - // to right; returns the final value. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - var z; - if(d.isArray(a)){ - z = a[0]; - for(var i = 1, n = a.length; i < n; z = f.call(o, z, a[i], i, a), ++i); - }else if(a.hasNext()){ - z = a.next(); - for(var i = 1; a.hasNext(); z = f.call(o, z, a.next(), i++)); - } - return z; // Object - }, - foldr: function(/*Array|String*/ a, /*Function|String|Array*/ f, /*Object*/ z, /*Object?*/ o){ - // summary: repeatedly applies a binary function to an array from right - // to left using a seed value as a starting point; returns the final - // value. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - for(var i = a.length; i > 0; --i, z = f.call(o, z, a[i], i, a)); - return z; // Object - }, - foldr1: function(/*Array|String*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: repeatedly applies a binary function to an array from right - // to left; returns the final value. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - var n = a.length, z = a[n - 1]; - for(var i = n - 1; i > 0; --i, z = f.call(o, z, a[i], i, a)); - return z; // Object - }, - // JS 1.8 standard array functions, which can take a lambda as a parameter. - reduce: function(/*Array|String|Object*/ a, /*Function*/ f, /*Object?*/ z){ - // summary: apply a function simultaneously against two values of the array - // (from left-to-right) as to reduce it to a single value. - return arguments.length < 3 ? df.foldl1(a, f) : df.foldl(a, f, z); // Object - }, - reduceRight: function(/*Array|String*/ a, /*Function*/ f, /*Object?*/ z){ - // summary: apply a function simultaneously against two values of the array - // (from right-to-left) as to reduce it to a single value. - return arguments.length < 3 ? df.foldr1(a, f) : df.foldr(a, f, z); // Object - } - }); -})(); - -} diff --git a/includes/js/dojox/lang/functional/lambda.js b/includes/js/dojox/lang/functional/lambda.js deleted file mode 100644 index 60be9f3..0000000 --- a/includes/js/dojox/lang/functional/lambda.js +++ /dev/null @@ -1,110 +0,0 @@ -if(!dojo._hasResource["dojox.lang.functional.lambda"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.functional.lambda"] = true; -dojo.provide("dojox.lang.functional.lambda"); - -// This module adds high-level functions and related constructs: -// - anonymous functions built from the string - -// Acknoledgements: -// - lambda() is based on work by Oliver Steele -// (http://osteele.com/sources/javascript/functional/functional.js) -// which was published under MIT License - -// Notes: -// - lambda() produces functions, which after the compilation step are -// as fast as regular JS functions (at least theoretically). - -// Lambda input values: -// - returns functions unchanged -// - converts strings to functions -// - converts arrays to a functional composition - -(function(){ - var df = dojox.lang.functional; - - // split() is augmented on IE6 to ensure the uniform behavior - var split = "ab".split(/a*/).length > 1 ? String.prototype.split : - function(sep){ - var r = this.split.call(this, sep), - m = sep.exec(this); - if(m && m.index == 0){ r.unshift(""); } - return r; - }; - - var lambda = function(/*String*/ s){ - var args = [], sects = split.call(s, /\s*->\s*/m); - if(sects.length > 1){ - while(sects.length){ - s = sects.pop(); - args = sects.pop().split(/\s*,\s*|\s+/m); - if(sects.length){ sects.push("(function(" + args + "){return (" + s + ")})"); } - } - }else if(s.match(/\b_\b/)){ - args = ["_"]; - }else{ - var l = s.match(/^\s*(?:[+*\/%&|\^\.=<>]|!=)/m), - r = s.match(/[+\-*\/%&|\^\.=<>!]\s*$/m); - if(l || r){ - if(l){ - args.push("$1"); - s = "$1" + s; - } - if(r){ - args.push("$2"); - s = s + "$2"; - } - }else{ - // the point of the long regex below is to exclude all well-known - // lower-case words from the list of potential arguments - var vars = s. - replace(/(?:\b[A-Z]|\.[a-zA-Z_$])[a-zA-Z_$\d]*|[a-zA-Z_$][a-zA-Z_$\d]*:|this|true|false|null|undefined|typeof|instanceof|in|delete|new|void|arguments|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|eval|isFinite|isNaN|parseFloat|parseInt|unescape|dojo|dijit|dojox|window|document|'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"/g, ""). - match(/([a-z_$][a-z_$\d]*)/gi) || []; - var t = {}; - dojo.forEach(vars, function(v){ - if(!(v in t)){ - args.push(v); - t[v] = 1; - } - }); - } - } - return {args: args, body: "return (" + s + ");"}; // Object - }; - - var compose = function(/*Array*/ a){ - return a.length ? - function(){ - var i = a.length - 1, x = df.lambda(a[i]).apply(this, arguments); - for(--i; i >= 0; --i){ x = df.lambda(a[i]).call(this, x); } - return x; - } - : - // identity - function(x){ return x; }; - }; - - dojo.mixin(df, { - // lambda - buildLambda: function(/*String*/ s){ - // summary: builds a function from a snippet, returns a string, - // which represents the function. - // description: This method returns a textual representation of a function - // built from the snippet. It is meant to be evaled in the proper context, - // so local variables can be pulled from the environment. - s = lambda(s); - return "function(" + s.args.join(",") + "){" + s.body + "}"; // String - }, - lambda: function(/*Function|String|Array*/ s){ - // summary: builds a function from a snippet, or array (composing), returns - // a function object; functions are passed through unmodified. - // description: This method is used to normalize a functional representation - // (a text snippet, an array, or a function) to a function object. - if(typeof s == "function"){ return s; } - if(s instanceof Array){ return compose(s); } - s = lambda(s); - return new Function(s.args, s.body); // Function - } - }); -})(); - -} diff --git a/includes/js/dojox/lang/functional/listcomp.js b/includes/js/dojox/lang/functional/listcomp.js deleted file mode 100644 index adb4883..0000000 --- a/includes/js/dojox/lang/functional/listcomp.js +++ /dev/null @@ -1,54 +0,0 @@ -if(!dojo._hasResource["dojox.lang.functional.listcomp"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.functional.listcomp"] = true; -dojo.provide("dojox.lang.functional.listcomp"); - -// This module adds high-level functions and related constructs: -// - list comprehensions similar to JavaScript 1.7 - -// Notes: -// - listcomp() produces functions, which after the compilation step are -// as fast as regular JS functions (at least theoretically). - -(function(){ - var g_re = /\bfor\b|\bif\b/gm; - - var listcomp = function(/*String*/ s){ - var frag = s.split(g_re), act = s.match(g_re), - head = ["var r = [];"], tail = []; - for(var i = 0; i < act.length;){ - var a = act[i], f = frag[++i]; - if(a == "for" && !/^\s*\(\s*(;|var)/.test(f)){ - f = f.replace(/^\s*\(/, "(var "); - } - head.push(a, f, "{"); - tail.push("}"); - } - return head.join("") + "r.push(" + frag[0] + ");" + tail.join("") + "return r;"; // String - }; - - dojo.mixin(dojox.lang.functional, { - buildListcomp: function(/*String*/ s){ - // summary: builds a function from a text snippet, which represents a valid - // JS 1.7 list comprehension, returns a string, which represents the function. - // description: This method returns a textual representation of a function - // built from the list comprehension text snippet (conformant to JS 1.7). - // It is meant to be evaled in the proper context, so local variable can be - // pulled from the environment. - return "function(){" + listcomp(s) + "}"; // String - }, - compileListcomp: function(/*String*/ s){ - // summary: builds a function from a text snippet, which represents a valid - // JS 1.7 list comprehension, returns a function object. - // description: This method returns a function built from the list - // comprehension text snippet (conformant to JS 1.7). It is meant to be - // reused several times. - return new Function([], listcomp(s)); // Function - }, - listcomp: function(/*String*/ s){ - // summary: executes the list comprehension building an array. - return (new Function([], listcomp(s)))(); // Array - } - }); -})(); - -} diff --git a/includes/js/dojox/lang/functional/object.js b/includes/js/dojox/lang/functional/object.js deleted file mode 100644 index 52b6272..0000000 --- a/includes/js/dojox/lang/functional/object.js +++ /dev/null @@ -1,48 +0,0 @@ -if(!dojo._hasResource["dojox.lang.functional.object"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.functional.object"] = true; -dojo.provide("dojox.lang.functional.object"); - -dojo.require("dojox.lang.functional.lambda"); - -// This module adds high-level functions and related constructs: -// - object/dictionary helpers - -// Defined methods: -// - take any valid lambda argument as the functional argument - -(function(){ - var d = dojo, df = dojox.lang.functional, empty = {}; - - d.mixin(df, { - // object helpers - forIn: function(/*Object*/ obj, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: iterates over all object members skipping members, which - // are present in the empty object (IE and/or 3rd-party libraries). - o = o || d.global; f = df.lambda(f); - for(var i in obj){ - if(i in empty){ continue; } - f.call(o, obj[i], i, obj); - } - }, - keys: function(/*Object*/ obj){ - // summary: returns an array of all keys in the object - var t = []; - for(var i in obj){ - if(i in empty){ continue; } - t.push(i); - } - return t; // Array - }, - values: function(/*Object*/ obj){ - // summary: returns an array of all values in the object - var t = []; - for(var i in obj){ - if(i in empty){ continue; } - t.push(obj[i]); - } - return t; // Array - } - }); -})(); - -} diff --git a/includes/js/dojox/lang/functional/reversed.js b/includes/js/dojox/lang/functional/reversed.js deleted file mode 100644 index 4375948..0000000 --- a/includes/js/dojox/lang/functional/reversed.js +++ /dev/null @@ -1,79 +0,0 @@ -if(!dojo._hasResource["dojox.lang.functional.reversed"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.functional.reversed"] = true; -dojo.provide("dojox.lang.functional.reversed"); - -dojo.require("dojox.lang.functional.lambda"); - -// This module adds high-level functions and related constructs: -// - reversed versions of array-processing functions similar to standard JS functions - -// Notes: -// - this module provides reversed versions of standard array-processing functions: -// forEachRev, mapRev, filterRev - -// Defined methods: -// - take any valid lambda argument as the functional argument -// - operate on dense arrays -// - take a string as the array argument - -(function(){ - var d = dojo, df = dojox.lang.functional; - - d.mixin(df, { - // JS 1.6 standard array functions, which can take a lambda as a parameter. - // Consider using dojo._base.array functions, if you don't need the lambda support. - filterRev: function(/*Array|String*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: creates a new array with all elements that pass the test - // implemented by the provided function. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - var t = [], v; - for(var i = a.length - 1; i >= 0; --i){ - v = a[i]; - if(f.call(o, v, i, a)){ t.push(v); } - } - return t; // Array - }, - forEachRev: function(/*Array|String*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: executes a provided function once per array element. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - for(var i = a.length - 1; i >= 0; f.call(o, a[i], i, a), --i); - }, - mapRev: function(/*Array|String*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: creates a new array with the results of calling - // a provided function on every element in this array. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - var n = a.length, t = new Array(n); - for(var i = n - 1, j = 0; i >= 0; t[j++] = f.call(o, a[i], i, a), --i); - return t; // Array - }, - everyRev: function(/*Array|String*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: tests whether all elements in the array pass the test - // implemented by the provided function. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - for(var i = a.length - 1; i >= 0; --i){ - if(!f.call(o, a[i], i, a)){ - return false; // Boolean - } - } - return true; // Boolean - }, - someRev: function(/*Array|String*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: tests whether some element in the array passes the test - // implemented by the provided function. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - for(var i = a.length - 1; i >= 0; --i){ - if(f.call(o, a[i], i, a)){ - return true; // Boolean - } - } - return false; // Boolean - } - }); -})(); - -} diff --git a/includes/js/dojox/lang/functional/scan.js b/includes/js/dojox/lang/functional/scan.js deleted file mode 100644 index 65a3ef2..0000000 --- a/includes/js/dojox/lang/functional/scan.js +++ /dev/null @@ -1,84 +0,0 @@ -if(!dojo._hasResource["dojox.lang.functional.scan"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.functional.scan"] = true; -dojo.provide("dojox.lang.functional.scan"); - -dojo.require("dojox.lang.functional.lambda"); - -// This module adds high-level functions and related constructs: -// - "scan" family of functions - -// Notes: -// - missing high-level functions are provided with the compatible API: -// scanl, scanl1, scanr, scanr1 - -// Defined methods: -// - take any valid lambda argument as the functional argument -// - operate on dense arrays -// - take a string as the array argument -// - take an iterator objects as the array argument (only scanl, and scanl1) - -(function(){ - var d = dojo, df = dojox.lang.functional; - - d.mixin(df, { - // classic reduce-class functions - scanl: function(/*Array|String|Object*/ a, /*Function|String|Array*/ f, /*Object*/ z, /*Object?*/ o){ - // summary: repeatedly applies a binary function to an array from left - // to right using a seed value as a starting point; returns an array - // of values produced by foldl() at that point. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - var t, n; - if(d.isArray(a)){ - t = new Array((n = a.length) + 1); - t[0] = z; - for(var i = 0; i < n; z = f.call(o, z, a[i], i, a), t[++i] = z); - }else{ - t = [z]; - for(var i = 0; a.hasNext(); t.push(z = f.call(o, z, a.next(), i++))); - } - return t; // Array - }, - scanl1: function(/*Array|String|Object*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: repeatedly applies a binary function to an array from left - // to right; returns an array of values produced by foldl1() at that - // point. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - var t, n, z; - if(d.isArray(a)){ - t = new Array(n = a.length); - t[0] = z = a[0]; - for(var i = 1; i < n; t[i] = z = f.call(o, z, a[i], i, a), ++i); - }else if(a.hasNext()){ - t = [z = a.next()]; - for(var i = 1; a.hasNext(); t.push(z = f.call(o, z, a.next(), i++))); - } - return t; // Array - }, - scanr: function(/*Array|String*/ a, /*Function|String|Array*/ f, /*Object*/ z, /*Object?*/ o){ - // summary: repeatedly applies a binary function to an array from right - // to left using a seed value as a starting point; returns an array - // of values produced by foldr() at that point. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - var n = a.length, t = new Array(n + 1); - t[n] = z; - for(var i = n; i > 0; --i, z = f.call(o, z, a[i], i, a), t[i] = z); - return t; // Array - }, - scanr1: function(/*Array|String*/ a, /*Function|String|Array*/ f, /*Object?*/ o){ - // summary: repeatedly applies a binary function to an array from right - // to left; returns an array of values produced by foldr1() at that - // point. - if(typeof a == "string"){ a = a.split(""); } - o = o || d.global; f = df.lambda(f); - var n = a.length, t = new Array(n), z = a[n - 1]; - t[n - 1] = z; - for(var i = n - 1; i > 0; --i, z = f.call(o, z, a[i], i, a), t[i] = z); - return t; // Array - } - }); -})(); - -} diff --git a/includes/js/dojox/lang/functional/sequence.js b/includes/js/dojox/lang/functional/sequence.js deleted file mode 100644 index c5aaa1c..0000000 --- a/includes/js/dojox/lang/functional/sequence.js +++ /dev/null @@ -1,38 +0,0 @@ -if(!dojo._hasResource["dojox.lang.functional.sequence"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.functional.sequence"] = true; -dojo.provide("dojox.lang.functional.sequence"); - -dojo.require("dojox.lang.functional.lambda"); - -// This module adds high-level functions and related constructs: -// - sequence generators - -// Defined methods: -// - take any valid lambda argument as the functional argument - -(function(){ - var d = dojo, df = dojox.lang.functional; - - d.mixin(df, { - // sequence generators - repeat: function(/*Number*/ n, /*Function|String|Array*/ f, /*Object*/ z, /*Object?*/ o){ - // summary: builds an array by repeatedly applying a unary function N times - // with a seed value Z. - o = o || d.global; f = df.lambda(f); - var t = new Array(n); - t[0] = z; - for(var i = 1; i < n; t[i] = z = f.call(o, z), ++i); - return t; // Array - }, - until: function(/*Function|String|Array*/ pr, /*Function|String|Array*/ f, /*Object*/ z, /*Object?*/ o){ - // summary: builds an array by repeatedly applying a unary function with - // a seed value Z until the predicate is satisfied. - o = o || d.global; f = df.lambda(f); pr = df.lambda(pr); - var t = []; - for(; !pr.call(o, z); t.push(z), z = f.call(o, z)); - return t; // Array - } - }); -})(); - -} diff --git a/includes/js/dojox/lang/functional/zip.js b/includes/js/dojox/lang/functional/zip.js deleted file mode 100644 index 523f400..0000000 --- a/includes/js/dojox/lang/functional/zip.js +++ /dev/null @@ -1,45 +0,0 @@ -if(!dojo._hasResource["dojox.lang.functional.zip"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.functional.zip"] = true; -dojo.provide("dojox.lang.functional.zip"); - -// This module adds high-level functions and related constructs: -// - zip combiners - -// Defined methods: -// - operate on dense arrays - -(function(){ - var df = dojox.lang.functional; - - dojo.mixin(df, { - // combiners - zip: function(){ - // summary: returns an array of arrays, where the i-th array - // contains the i-th element from each of the argument arrays. - // description: This is the venerable zip combiner (for example, - // see Python documentation for general details). The returned - // array is truncated to match the length of the shortest input - // array. - var n = arguments[0].length, m = arguments.length, i; - for(i = 1; i < m; n = Math.min(n, arguments[i++].length)); - var t = new Array(n), j; - for(i = 0; i < n; ++i){ - var p = new Array(m); - for(j = 0; j < m; p[j] = arguments[j][i], ++j); - t[i] = p; - } - return t; // Array - }, - unzip: function(/*Array*/ a){ - // summary: similar to dojox.lang.functional.zip(), but takes - // a single array of arrays as the input. - // description: This function is similar to dojox.lang.functional.zip() - // and can be used to unzip objects packed by - // dojox.lang.functional.zip(). It is here mostly to provide - // a short-cut for the different method signature. - return df.zip.apply(null, a); // Array - } - }); -})(); - -} diff --git a/includes/js/dojox/lang/tests/array.js b/includes/js/dojox/lang/tests/array.js deleted file mode 100644 index 292210c..0000000 --- a/includes/js/dojox/lang/tests/array.js +++ /dev/null @@ -1,84 +0,0 @@ -if(!dojo._hasResource["dojox.lang.tests.array"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.tests.array"] = true; -dojo.provide("dojox.lang.tests.array"); - -dojo.require("dojox.lang.functional"); -dojo.require("dojox.lang.functional.fold"); -dojo.require("dojox.lang.functional.reversed"); - -(function(){ - var df = dojox.lang.functional, v, isOdd = "%2"; - - var revArrayIter = function(array){ - this.array = array; - this.position = array.length - 1; - }; - dojo.extend(revArrayIter, { - hasNext: df.lambda("this.position >= 0"), - next: df.lambda("this.array[this.position--]") - }); - - tests.register("dojox.lang.tests.array", [ - function testFilter1(t){ t.assertEqual(df.filter([1, 2, 3], isOdd), [1, 3]); }, - function testFilter2(t){ t.assertEqual(df.filter([1, 2, 3], "%2==0"), [2]); }, - function testFilterIter(t){ - var iter = new revArrayIter([1, 2, 3]); - t.assertEqual(df.filter(iter, isOdd), [3, 1]); - }, - function testFilterRev(t){ - var iter = new revArrayIter([1, 2, 3]); - t.assertEqual(df.filter(iter, isOdd), df.filterRev([1, 2, 3], isOdd)); - }, - - function testForEach(t){ - t.assertEqual((v = [], df.forEach([1, 2, 3], function(x){ v.push(x); }), v), [1, 2, 3]); - }, - function testForEachIter(t){ - var iter = new revArrayIter([1, 2, 3]); - t.assertEqual((v = [], df.forEach(iter, function(x){ v.push(x); }), v), [3, 2, 1]); - }, - function testForEachRev(t){ - t.assertEqual((v = [], df.forEachRev([1, 2, 3], function(x){ v.push(x); }), v), [3, 2, 1]); - }, - - function testMap(t){ t.assertEqual(df.map([1, 2, 3], "+3"), [4, 5, 6]); }, - function testMapIter(t){ - var iter = new revArrayIter([1, 2, 3]); - t.assertEqual(df.map(iter, "+3"), [6, 5, 4]); - }, - function testMapRev(t){ - var iter = new revArrayIter([1, 2, 3]); - t.assertEqual(df.map(iter, "+3"), df.mapRev([1, 2, 3], "+3")); - }, - - function testEvery1(t){ t.assertFalse(df.every([1, 2, 3], isOdd)); }, - function testEvery2(t){ t.assertTrue(df.every([1, 3, 5], isOdd)); }, - function testEveryIter(t){ - var iter = new revArrayIter([1, 3, 5]); - t.assertTrue(df.every(iter, isOdd)); - }, - function testEveryRev1(t){ t.assertFalse(df.everyRev([1, 2, 3], isOdd)); }, - function testEveryRev2(t){ t.assertTrue(df.everyRev([1, 3, 5], isOdd)); }, - - function testSome1(t){ t.assertFalse(df.some([2, 4, 6], isOdd)); }, - function testSome2(t){ t.assertTrue(df.some([1, 2, 3], isOdd)); }, - function testSomeIter(t){ - var iter = new revArrayIter([1, 2, 3]); - t.assertTrue(df.some(iter, isOdd)); - }, - function testSomeRev1(t){ t.assertFalse(df.someRev([2, 4, 6], isOdd)); }, - function testSomeRev2(t){ t.assertTrue(df.someRev([1, 2, 3], isOdd)); }, - - function testReduce1(t){ t.assertEqual(df.reduce([4, 2, 1], "x-y"), 1); }, - function testReduce2(t){ t.assertEqual(df.reduce([4, 2, 1], "x-y", 8), 1); }, - function testReduceIter(t){ - var iter = new revArrayIter([1, 2, 4]); - t.assertEqual(df.reduce(iter, "x-y"), 1); - }, - - function testReduceRight1(t){ t.assertEqual(df.reduceRight([4, 2, 1], "x-y"), -5); }, - function testReduceRight2(t){ t.assertEqual(df.reduceRight([4, 2, 1], "x-y", 8), 1); } - ]); -})(); - -} diff --git a/includes/js/dojox/lang/tests/curry.js b/includes/js/dojox/lang/tests/curry.js deleted file mode 100644 index cb6fa6a..0000000 --- a/includes/js/dojox/lang/tests/curry.js +++ /dev/null @@ -1,31 +0,0 @@ -if(!dojo._hasResource["dojox.lang.tests.curry"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.tests.curry"] = true; -dojo.provide("dojox.lang.tests.curry"); - -dojo.require("dojox.lang.functional.curry"); - -(function(){ - var df = dojox.lang.functional, add5 = df.curry("+")(5), sub3 = df.curry("_-3"), fun = df.lambda("100*a + 10*b + c"); - tests.register("dojox.lang.tests.curry", [ - function testCurry1(t){ t.assertEqual(df.curry("+")(1, 2), 3); }, - function testCurry2(t){ t.assertEqual(df.curry("+")(1)(2), 3); }, - function testCurry3(t){ t.assertEqual(df.curry("+")(1, 2, 3), 3); }, - function testCurry4(t){ t.assertEqual(add5(1), 6); }, - function testCurry5(t){ t.assertEqual(add5(3), 8); }, - function testCurry6(t){ t.assertEqual(add5(5), 10); }, - function testCurry7(t){ t.assertEqual(sub3(1), -2); }, - function testCurry8(t){ t.assertEqual(sub3(3), 0); }, - function testCurry9(t){ t.assertEqual(sub3(5), 2); }, - - function testPartial1(t){ t.assertEqual(df.partial(fun, 1, 2, 3)(), 123); }, - function testPartial2(t){ t.assertEqual(df.partial(fun, 1, 2, df.arg)(3), 123); }, - function testPartial3(t){ t.assertEqual(df.partial(fun, 1, df.arg, 3)(2), 123); }, - function testPartial4(t){ t.assertEqual(df.partial(fun, 1, df.arg, df.arg)(2, 3), 123); }, - function testPartial5(t){ t.assertEqual(df.partial(fun, df.arg, 2, 3)(1), 123); }, - function testPartial6(t){ t.assertEqual(df.partial(fun, df.arg, 2, df.arg)(1, 3), 123); }, - function testPartial7(t){ t.assertEqual(df.partial(fun, df.arg, df.arg, 3)(1, 2), 123); }, - function testPartial8(t){ t.assertEqual(df.partial(fun, df.arg, df.arg, df.arg)(1, 2, 3), 123); } - ]); -})(); - -} diff --git a/includes/js/dojox/lang/tests/fold.js b/includes/js/dojox/lang/tests/fold.js deleted file mode 100644 index e766c62..0000000 --- a/includes/js/dojox/lang/tests/fold.js +++ /dev/null @@ -1,64 +0,0 @@ -if(!dojo._hasResource["dojox.lang.tests.fold"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.tests.fold"] = true; -dojo.provide("dojox.lang.tests.fold"); - -dojo.require("dojox.lang.functional.fold"); -dojo.require("dojox.lang.functional.scan"); -dojo.require("dojox.lang.functional.curry"); - -(function(){ - var df = dojox.lang.functional, a = df.arg; - - var revArrayIter = function(array){ - this.array = array; - this.position = array.length - 1; - }; - dojo.extend(revArrayIter, { - hasNext: df.lambda("this.position >= 0"), - next: df.lambda("this.array[this.position--]") - }); - - tests.register("dojox.lang.tests.fold", [ - function testFoldl1(t){ t.assertEqual(df.foldl([1, 2, 3], "+", 0), 6); }, - function testFoldl2(t){ t.assertEqual(df.foldl1([1, 2, 3], "*"), 6); }, - function testFoldl3(t){ t.assertEqual(df.foldl1([1, 2, 3], "/"), 1/6); }, - function testFoldl4(t){ t.assertEqual(df.foldl1([1, 2, 3], df.partial(Math.max, a, a)), 3); }, - function testFoldl5(t){ t.assertEqual(df.foldl1([1, 2, 3], df.partial(Math.min, a, a)), 1); }, - - function testFoldlIter(t){ - var iter = new revArrayIter([1, 2, 3]); - t.assertEqual(df.foldl(iter, "+", 0), 6); - }, - function testFoldl1Iter(t){ - var iter = new revArrayIter([1, 2, 3]); - t.assertEqual(df.foldl1(iter, "/"), 3/2); - }, - - function testFoldr1(t){ t.assertEqual(df.foldr([1, 2, 3], "+", 0), 6); }, - function testFoldr2(t){ t.assertEqual(df.foldr1([1, 2, 3], "*"), 6); }, - function testFoldr3(t){ t.assertEqual(df.foldr1([1, 2, 3], "/"), 3/2); }, - function testFoldr4(t){ t.assertEqual(df.foldr1([1, 2, 3], df.partial(Math.max, a, a)), 3); }, - function testFoldr5(t){ t.assertEqual(df.foldr1([1, 2, 3], df.partial(Math.min, a, a)), 1); }, - - function testScanl1(t){ t.assertEqual(df.scanl([1, 2, 3], "+", 0), [0, 1, 3, 6]); }, - function testScanl2(t){ t.assertEqual(df.scanl1([1, 2, 3], "*"), [1, 2, 6]); }, - function testScanl3(t){ t.assertEqual(df.scanl1([1, 2, 3], df.partial(Math.max, a, a)), [1, 2, 3]); }, - function testScanl4(t){ t.assertEqual(df.scanl1([1, 2, 3], df.partial(Math.min, a, a)), [1, 1, 1]); }, - - function testScanlIter(t){ - var iter = new revArrayIter([1, 2, 3]); - t.assertEqual(df.scanl(iter, "+", 0), [0, 3, 5, 6]); - }, - function testScanl1Iter(t){ - var iter = new revArrayIter([1, 2, 3]); - t.assertEqual(df.scanl1(iter, "*"), [3, 6, 6]); - }, - - function testScanr1(t){ t.assertEqual(df.scanr([1, 2, 3], "+", 0), [6, 5, 3, 0]); }, - function testScanr2(t){ t.assertEqual(df.scanr1([1, 2, 3], "*"), [6, 6, 3]); }, - function testScanr3(t){ t.assertEqual(df.scanr1([1, 2, 3], df.partial(Math.max, a, a)), [3, 3, 3]); }, - function testScanr4(t){ t.assertEqual(df.scanr1([1, 2, 3], df.partial(Math.min, a, a)), [1, 2, 3]); } - ]); -})(); - -} diff --git a/includes/js/dojox/lang/tests/fun_perf.html b/includes/js/dojox/lang/tests/fun_perf.html deleted file mode 100644 index 9d19a60..0000000 --- a/includes/js/dojox/lang/tests/fun_perf.html +++ /dev/null @@ -1,176 +0,0 @@ - - - clocking fun - - - - - - - - -

            This test is meant to run with Firebug.

            - - diff --git a/includes/js/dojox/lang/tests/lambda.js b/includes/js/dojox/lang/tests/lambda.js deleted file mode 100644 index 7e5e7ed..0000000 --- a/includes/js/dojox/lang/tests/lambda.js +++ /dev/null @@ -1,24 +0,0 @@ -if(!dojo._hasResource["dojox.lang.tests.lambda"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.tests.lambda"] = true; -dojo.provide("dojox.lang.tests.lambda"); - -dojo.require("dojox.lang.functional"); -dojo.require("dojox.lang.functional.sequence"); - -(function(){ - var df = dojox.lang.functional; - tests.register("dojox.lang.tests.lambda", [ - function testLambda1(t){ t.assertEqual(df.repeat(3, "3*", 1), [1, 3, 9]); }, - function testLambda2(t){ t.assertEqual(df.repeat(3, "*3", 1), [1, 3, 9]); }, - function testLambda3(t){ t.assertEqual(df.repeat(3, "_*3", 1), [1, 3, 9]); }, - function testLambda4(t){ t.assertEqual(df.repeat(3, "3*_", 1), [1, 3, 9]); }, - function testLambda5(t){ t.assertEqual(df.repeat(3, "n->n*3", 1), [1, 3, 9]); }, - function testLambda6(t){ t.assertEqual(df.repeat(3, "n*3", 1), [1, 3, 9]); }, - function testLambda7(t){ t.assertEqual(df.repeat(3, "3*m", 1), [1, 3, 9]); }, - function testLambda8(t){ t.assertEqual(df.repeat(3, "->1", 1), [1, 1, 1]); }, - function testLambda9(t){ t.assertEqual(df.repeat(3, function(n){ return n * 3; }, 1), [1, 3, 9]); }, - function testLambda10(t){ t.assertEqual(df.repeat(3, ["_-1", ["*3"]], 1), [1, 2, 5]); } - ]); -})(); - -} diff --git a/includes/js/dojox/lang/tests/listcomp.js b/includes/js/dojox/lang/tests/listcomp.js deleted file mode 100644 index 45cd8ab..0000000 --- a/includes/js/dojox/lang/tests/listcomp.js +++ /dev/null @@ -1,28 +0,0 @@ -if(!dojo._hasResource["dojox.lang.tests.listcomp"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.tests.listcomp"] = true; -dojo.provide("dojox.lang.tests.listcomp"); - -dojo.require("dojox.lang.functional.listcomp"); -dojo.require("dojox.lang.functional.sequence"); - -(function(){ - var df = dojox.lang.functional; - tests.register("dojox.lang.tests.listcomp", [ - function testIterator1(t){ t.assertEqual(df.repeat(3, function(n){ return n + 1; }, 0), [0, 1, 2]); }, - function testIterator2(t){ t.assertEqual(df.repeat(3, function(n){ return n * 3; }, 1), [1, 3, 9]); }, - function testIterator3(t){ t.assertEqual(df.until(function(n){ return n > 10; }, function(n){ return n * 3; }, 1), [1, 3, 9]); }, - - function testListcomp1(t){ t.assertEqual(df.listcomp("i for(var i=0; i<3; ++i)"), [0, 1, 2]); }, - function testListcomp2(t){ t.assertEqual(df.listcomp("i*j for(var i=0; i<3; ++i) for(var j=0; j<3; ++j)"), [0, 0, 0, 0, 1, 2, 0, 2, 4]); }, - function testListcomp3(t){ t.assertEqual(df.listcomp("i*j for(var i=0; i<3; ++i) if(i%2==1) for(var j=0; j<3; ++j)"), [0, 1, 2]); }, - function testListcomp4(t){ t.assertEqual(df.listcomp("i+j for(var i=0; i<3; ++i) for(var j=0; j<3; ++j)"), [0, 1, 2, 1, 2, 3, 2, 3, 4]); }, - function testListcomp5(t){ t.assertEqual(df.listcomp("i+j for(var i=0; i<3; ++i) if(i%2==1) for(var j=0; j<3; ++j)"), [1, 2, 3]); }, - function testListcomp6(t){ t.assertEqual(df.listcomp("i for(i=0; i<3; ++i)"), [0, 1, 2]); }, - function testListcomp7(t){ t.assertEqual(df.listcomp("i*j for(i=0; i<3; ++i) for(j=0; j<3; ++j)"), [0, 0, 0, 0, 1, 2, 0, 2, 4]); }, - function testListcomp8(t){ t.assertEqual(df.listcomp("i*j for(i=0; i<3; ++i) if(i%2==1) for(j=0; j<3; ++j)"), [0, 1, 2]); }, - function testListcomp9(t){ t.assertEqual(df.listcomp("i+j for(i=0; i<3; ++i) for(j=0; j<3; ++j)"), [0, 1, 2, 1, 2, 3, 2, 3, 4]); }, - function testListcomp10(t){ t.assertEqual(df.listcomp("i+j for(i=0; i<3; ++i) if(i%2==1) for(j=0; j<3; ++j)"), [1, 2, 3]); } - ]); -})(); - -} diff --git a/includes/js/dojox/lang/tests/main.js b/includes/js/dojox/lang/tests/main.js deleted file mode 100644 index 1f0d7ab..0000000 --- a/includes/js/dojox/lang/tests/main.js +++ /dev/null @@ -1,17 +0,0 @@ -if(!dojo._hasResource["dojox.lang.tests.main"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.tests.main"] = true; -dojo.provide("dojox.lang.tests.main"); - -try{ - // functional block - dojo.require("dojox.lang.tests.listcomp"); - dojo.require("dojox.lang.tests.lambda"); - dojo.require("dojox.lang.tests.fold"); - dojo.require("dojox.lang.tests.curry"); - dojo.require("dojox.lang.tests.misc"); - dojo.require("dojox.lang.tests.array"); -}catch(e){ - doh.debug(e); -} - -} diff --git a/includes/js/dojox/lang/tests/misc.js b/includes/js/dojox/lang/tests/misc.js deleted file mode 100644 index f17ea8c..0000000 --- a/includes/js/dojox/lang/tests/misc.js +++ /dev/null @@ -1,31 +0,0 @@ -if(!dojo._hasResource["dojox.lang.tests.misc"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.tests.misc"] = true; -dojo.provide("dojox.lang.tests.misc"); - -dojo.require("dojox.lang.functional.object"); -dojo.require("dojox.lang.functional.zip"); - -(function(){ - var df = dojox.lang.functional, fun = df.lambda("100*a + 10*b + c"), result = []; - df.forIn({a: 1, b: 2}, function(v, i){ result.push("[" + i + "] = " + v); }); - - tests.register("dojox.lang.tests.misc", [ - function testZip1(t){ t.assertEqual(df.zip([1, 2, 3], [4, 5, 6]), [[1, 4], [2, 5], [3, 6]]); }, - function testZip2(t){ t.assertEqual(df.zip([1, 2], [3, 4], [5, 6]), [[1, 3, 5], [2, 4, 6]]); }, - - function testUnzip1(t){ t.assertEqual(df.unzip([[1, 4], [2, 5], [3, 6]]), [[1, 2, 3], [4, 5, 6]]); }, - function testUnzip2(t){ t.assertEqual(df.unzip([[1, 3, 5], [2, 4, 6]]), [[1, 2], [3, 4], [5, 6]]); }, - - function testMixer(t){ t.assertEqual(df.mixer(fun, [1, 2, 0])(3, 1, 2), 123); }, - function testFlip(t){ t.assertEqual(df.flip(fun)(3, 2, 1), 123); }, - - function testCompose1(t){ t.assertEqual(df.lambda(["+5", "*3"])(8), 8 * 3 + 5); }, - function testCompose2(t){ t.assertEqual(df.lambda(["+5", "*3"].reverse())(8), (8 + 5) * 3); }, - - function testForIn(t){ t.assertEqual(result.sort().join(", "), "[a] = 1, [b] = 2"); }, - function testKeys(t){ t.assertEqual(df.keys({a: 1, b: 2, c: 3}), ["a", "b", "c"]); }, - function testValues(t){ t.assertEqual(df.values({a: 1, b: 2, c: 3}), [1, 2, 3]); } - ]); -})(); - -} diff --git a/includes/js/dojox/lang/tests/runTests.html b/includes/js/dojox/lang/tests/runTests.html deleted file mode 100644 index 32fdfdb..0000000 --- a/includes/js/dojox/lang/tests/runTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - DojoX Functional Unit Test Runner - - - -

            Redirecting to D.O.H runner.

            - - diff --git a/includes/js/dojox/lang/utils.js b/includes/js/dojox/lang/utils.js deleted file mode 100644 index b7926c6..0000000 --- a/includes/js/dojox/lang/utils.js +++ /dev/null @@ -1,54 +0,0 @@ -if(!dojo._hasResource["dojox.lang.utils"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.lang.utils"] = true; -dojo.provide("dojox.lang.utils"); - -(function(){ - var empty = {}, du = dojox.lang.utils; - - dojo.mixin(dojox.lang.utils, { - coerceType: function(target, source){ - switch(typeof target){ - case "number": return Number(eval("(" + source + ")")); - case "string": return String(source); - case "boolean": return Boolean(eval("(" + source + ")")); - } - return eval("(" + source + ")"); - }, - - updateWithObject: function(target, source, conv){ - // summary: updates an existing object in place with properties from an "source" object. - // target: Object: the "target" object to be updated - // source: Object: the "source" object, whose properties will be used to source the existed object. - // conv: Boolean?: force conversion to the original type - if(!source){ return target; } - for(var x in target){ - if(x in source && !(x in empty)){ - var t = target[x]; - if(t && typeof t == "object"){ - du.updateObject(t, source[x]); - }else{ - target[x] = conv ? du.coerceType(t, source[x]) : dojo.clone(source[x]); - } - } - } - return target; // Object - }, - - updateWithPattern: function(target, source, pattern, conv){ - // summary: updates an existing object in place with properties from an "source" object. - // target: Object: the "target" object to be updated - // source: Object: the "source" object, whose properties will be used to source the existed object. - // pattern: Array: an array of properties to be copied - // conv: Boolean?: force conversion to the original type - if(!source || !pattern){ return target; } - for(var x in pattern){ - if(x in source && !(x in empty)){ - target[x] = conv ? du.coerceType(pattern[x], source[x]) : dojo.clone(source[x]); - } - } - return target; // Object - } - }); -})(); - -} diff --git a/includes/js/dojox/layout/BorderContainer.js b/includes/js/dojox/layout/BorderContainer.js deleted file mode 100644 index 7fa5393..0000000 --- a/includes/js/dojox/layout/BorderContainer.js +++ /dev/null @@ -1,7 +0,0 @@ -if(!dojo._hasResource["dojox.layout.BorderContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.layout.BorderContainer"] = true; -dojo.provide("dojox.layout.BorderContainer"); - -console.error("dojox.layout.BorderContainer moved to dijit.layout.BorderContainer"); - -} diff --git a/includes/js/dojox/layout/ContentPane.js b/includes/js/dojox/layout/ContentPane.js deleted file mode 100644 index d60202c..0000000 --- a/includes/js/dojox/layout/ContentPane.js +++ /dev/null @@ -1,479 +0,0 @@ -if(!dojo._hasResource["dojox.layout.ContentPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.layout.ContentPane"] = true; -dojo.provide("dojox.layout.ContentPane"); - -dojo.require("dijit.layout.ContentPane"); - -(function(){ // private scope, sort of a namespace - - // TODO: should these methods be moved to dojox.html.cssPathAdjust or something? - - // css at-rules must be set before any css declarations according to CSS spec - // match: - // @import 'http://dojotoolkit.org/dojo.css'; - // @import 'you/never/thought/' print; - // @import url("it/would/work") tv, screen; - // @import url(/did/you/now.css); - // but not: - // @namespace dojo "http://dojotoolkit.org/dojo.css"; /* namespace URL should always be a absolute URI */ - // @charset 'utf-8'; - // @media print{ #menuRoot {display:none;} } - - - // we adjust all paths that dont start on '/' or contains ':' - //(?![a-z]+:|\/) - - if(dojo.isIE){ - var alphaImageLoader = /(AlphaImageLoader\([^)]*?src=(['"]))(?![a-z]+:|\/)([^\r\n;}]+?)(\2[^)]*\)\s*[;}]?)/g; - } - - var cssPaths = /(?:(?:@import\s*(['"])(?![a-z]+:|\/)([^\r\n;{]+?)\1)|url\(\s*(['"]?)(?![a-z]+:|\/)([^\r\n;]+?)\3\s*\))([a-z, \s]*[;}]?)/g; - - function adjustCssPaths(cssUrl, cssText){ - // summary: - // adjusts relative paths in cssText to be relative to cssUrl - // a path is considered relative if it doesn't start with '/' and not contains ':' - // description: - // Say we fetch a HTML page from level1/page.html - // It has some inline CSS: - // @import "css/page.css" tv, screen; - // ... - // background-image: url(images/aplhaimage.png); - // - // as we fetched this HTML and therefore this CSS - // from level1/page.html, these paths needs to be adjusted to: - // @import 'level1/css/page.css' tv, screen; - // ... - // background-image: url(level1/images/alphaimage.png); - // - // In IE it will also adjust relative paths in AlphaImageLoader() - // filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/alphaimage.png'); - // will be adjusted to: - // filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='level1/images/alphaimage.png'); - // - // Please note that any relative paths in AlphaImageLoader in external css files wont work, as - // the paths in AlphaImageLoader is MUST be declared relative to the HTML page, - // not relative to the CSS file that declares it - - if(!cssText || !cssUrl){ return; } - - // support the ImageAlphaFilter if it exists, most people use it in IE 6 for transparent PNGs - // We are NOT going to kill it in IE 7 just because the PNGs work there. Somebody might have - // other uses for it. - // If user want to disable css filter in IE6 he/she should - // unset filter in a declaration that just IE 6 doesn't understands - // like * > .myselector { filter:none; } - if(alphaImageLoader){ - cssText = cssText.replace(alphaImageLoader, function(ignore, pre, delim, url, post){ - return pre + (new dojo._Url(cssUrl, './'+url).toString()) + post; - }); - } - - return cssText.replace(cssPaths, function(ignore, delimStr, strUrl, delimUrl, urlUrl, media){ - if(strUrl){ - return '@import "' + (new dojo._Url(cssUrl, './'+strUrl).toString()) + '"' + media; - }else{ - return 'url(' + (new dojo._Url(cssUrl, './'+urlUrl).toString()) + ')' + media; - } - }); - } - - // attributepaths one tag can have multiple paths, example: - // or - // - var htmlAttrPaths = /(<[a-z][a-z0-9]*\s[^>]*)(?:(href|src)=(['"]?)([^>]*?)\3|style=(['"]?)([^>]*?)\5)([^>]*>)/gi; - - function adjustHtmlPaths(htmlUrl, cont){ - var url = htmlUrl || "./"; - - return cont.replace(htmlAttrPaths, - function(tag, start, name, delim, relUrl, delim2, cssText, end){ - return start + (name ? - (name + '=' + delim + (new dojo._Url(url, relUrl).toString()) + delim) - : ('style=' + delim2 + adjustCssPaths(url, cssText) + delim2) - ) + end; - } - ); - } - - function secureForInnerHtml(cont){ - /********* remove .. tag **********/ - // khtml is picky about dom faults, you can't attach a - - - - - -

            dojox.layout.ContentPane

            -

            As dojox ContentPane is derived from dijit ContentPane, make sure that the dijit test passes before running this test

            -

            Test relies on a php page as backend, so you need php installed on your server

            - -
            - Initial value -
            - - - - - - - - - - - - -
            - - \ No newline at end of file diff --git a/includes/js/dojox/layout/tests/_bottomPane.html b/includes/js/dojox/layout/tests/_bottomPane.html deleted file mode 100644 index 8f5090a..0000000 --- a/includes/js/dojox/layout/tests/_bottomPane.html +++ /dev/null @@ -1,53 +0,0 @@ -
            - Bottom Pane Content: - - - - -
            \ No newline at end of file diff --git a/includes/js/dojox/layout/tests/_expando.css b/includes/js/dojox/layout/tests/_expando.css deleted file mode 100644 index 8efd20e..0000000 --- a/includes/js/dojox/layout/tests/_expando.css +++ /dev/null @@ -1,477 +0,0 @@ - -body, div, dl, dt, dd, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { - margin: 0; - padding: 0; -} -fieldset, img { - border: 0 none; -} -address, caption, cite, code, dfn, th, var { - font-style: normal; - font-weight: normal; -} -caption, th { - text-align: left; -} -q:before, q:after { - content:""; -} -abbr, acronym { - border:0; -} -body { - font: 13px Myriad,Arial,Helvetica,clean,sans-serif; - *font-size: small; - *font: x-small; -} -h1 { - font-size: 1.5em; - font-weight: normal; - line-height: 1em; - margin-top: 1em; - margin-bottom:0; -} -h2 { - font-size: 1.1667em; - font-weight: bold; - line-height: 1.286em; - margin-top: 1.929em; - margin-bottom:0.643em; -} -h3, h4, h5, h6 { - font-size: 1em; - font-weight: bold; - line-height: 1.5em; - margin-top: 1.5em; - margin-bottom: 0; -} -p { - font-size: 1em; - margin-top: 1.5em; - margin-bottom: 1.5em; - line-height: 1.5em; -} -blockquote { - font-size: 0.916em; - margin-top: 3.272em; - margin-bottom: 3.272em; - line-height: 1.636em; - padding: 1.636em; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; -} -ol li, ul li { - font-size: 1em; - line-height: 1.5em; - margin: 0; -} -pre, code { - font-size:115%; - *font-size:100%; - font-family: Courier, "Courier New"; - background-color: #efefef; - border: 1px solid #ccc; -} -pre { - border-width: 1px 0; - padding: 1.5em; -} -table { font-size:100%; } -table.dojoTabular { - border-collapse: collapse; - border-spacing: 0; - border: 1px solid #ccc; - margin: 0 1.5em; -} -.dojoTabular th { - text-align: center; - font-weight: bold; -} -table.dojoTabular thead, table.dojoTabular tfoot { - background-color: #efefef; - border: 1px solid #ccc; - border-width: 1px 0; -} -table.dojoTabular thead tr th, -table.dojoTabular thead tr td, -table.dojoTabular tbody tr td, -table.dojoTabular tfoot tr td { - padding: 0.25em 0.5em; -} -body { - background:#fff url(../../../dijit/tests/images/testsBodyBg.gif) repeat-x top left; - padding:2em 2em 2em 2em; -} -h1.testTitle { - font-size:2em; - margin:0 0 1em 0; -} -.plusIcon, .plusBlockIcon { - background-image: url(../../../dijit/tests/images/plus.gif); - background-repeat: no-repeat; - width: 16px; - height: 16px; -} -.plusBlockIcon { - display: block !important; -} -.noteIcon { - background-image: url(../../../dijit/tests/images/note.gif); - background-repeat: no-repeat; - width: 20px; - height: 20px; -} -.flatScreenIcon { - background-image: url(../../../dijit/tests/images/flatScreen.gif); - background-repeat: no-repeat; - width: 32px; - height: 32px; -} -.dijitTestNodeDialog { - position:absolute; - top:5px; - right:5px; - display:block; - width:200px; - visibility:hidden; - background-color:#fff !important; - color:#000 !important; - border:1px solid #000; - padding:5px; -} -.dijitTestNodeDialog table { - background-color:#fff !important; -} -.dijitTestNodeDialog td { - padding:3px; -} -.dijitTestNodeShowing { - visibility:visible; -} -.customFolderOpenedIcon, .customFolderClosedIcon { - background-image: url(../../../dijit/tests/../demos/mail/icons.png); - background-repeat: no-repeat; - width: 16px; - height: 16px; - text-align: center; - padding-right:4px; - background-position: -44px; -} -.dj_ie6 .customFolderOpenedIcon, .dj_ie6 .customFolderClosedIcon { - background-image: url(../../../dijit/tests/../demos/mail/icons.gif); -} -.customFolderClosedIcon { - background-position: -154px; -} -body .medium { - font-size: larger; -} -.dojoxFloatingPane { - background-color:#fff; - position:relative; - border: 1px solid #dedede; - overflow: hidden; - -webkit-box-shadow: 0px 5px 10px #adadad; -} -.dojoxFloatingPaneFg { - -webkit-box-shadow: 0px 8px 20px #525252; -} -.dojoxFloatingPaneTitle { - background: #cccccc; - background:#fafafa repeat-x bottom left; - border:1px solid #bfbfbf; - padding:4px 4px 2px 4px; - cursor: pointer; - white-space: nowrap; -} -.soria .dojoxFloatingPaneTitle { - background:#fff url(../../../dijit/themes/soria/images/titleBar.png) repeat-x top left; - border:1px solid #b1badf; - font-size: 0.9em; - font-weight: bold; - line-height:1.2em; -} -.tundra .dojoxFloatingPaneTitle { - background:#fafafa url(../../../dijit/themes/tundra/images/titleBarBg.gif) repeat-x bottom left; - border:1px solid #bfbfbf; - color:#000; -} -.dojoxFloatingCloseIcon { - background:url(../resources/icons/tabClose.png) no-repeat center center; - width:16px; - height:16px; - overflow:hidden; - float:right; -} -.dojoxFloatingMinimizeIcon { - background:url(../../../dijit/themes/tundra/images/arrowDown.png) no-repeat center center; - width:16px; - height:16px; - overflow:hidden; - float:right; -} -.soria .dojoxFloatingMinimizeIcon { - background:url(../../../dijit/themes/soria/images/spriteRoundedIconsSmallBl.png) no-repeat -15px top; -} -.floatingPaneMaximized .dojoxFloatingMaximizeIcon { display:none; } -.dojoxFloatingMaximizeIcon { - background:url(../../../dijit/themes/tundra/images/arrowUp.png) no-repeat center center; - width:16px; - height:16px; - overflow:hidden; - float:right; -} -.soria .dojoxFloatingMaximizeIcon { - background:url(../../../dijit/themes/soria/images/spriteRoundedIconsSmallBl.png) no-repeat -45px top; -} -.floatingPaneMaximized .dojoxFloatingRestoreIcon { display:inline; } -.dojoxFloatingRestoreIcon { - background:url(../../../dijit/themes/tundra/images/arrowDown.png) no-repeat center center; - width:16px; height:16px; - overflow:hidden; - float:right; - display:none; -} -.dojoxFloatingResizeHandle { - background:url(../resources/icons/resize.png) no-repeat bottom right; - position:absolute; - right:0; - bottom:0; - width:16px; - height:16px; - cursor:nw-resize; -} -.dojoxFloatingCloseIcon { - width:15px; - height:15px; - overflow:hidden; - float:right; - cursor:pointer; -} -.soria .dojoxFloatingCloseIcon { - background:url(../../../dijit/themes/soria/images/spriteRoundedIconsSmallBl.png) no-repeat -60px top; -} -.tundra .dojoxFloatingCloseIcon { - background:url(../../../dijit/themes/tundra/images/tabClose.png) no-repeat center center; -} -.dojoxFloatingDockDefault { - position:absolute; - bottom:0px; - left:0px; - overflow:hidden; - margin:0; - margin-bottom:3px; - padding:0px; - width:100%; - z-index:99; - background:transparent; - -} -.dojoxDockList { - padding: 0px; - margin: 0px; -} -.dojoxDockRestoreButton { - background:url(../../../dijit/themes/tundra/images/arrowUp.png) no-repeat center center; - width:16px; height:16px; - overflow:hidden; - float:left; - margin-top:2px; -} -.soria .dojoxDockRestoreButton { - background:url(../../../dijit/themes/soria/images/spriteRoundedIconsSmallBl.png) no-repeat -45px top; -} -.dojoxDockTitleNode { - overflow:hidden; -} -.dojoxDock { - display: block; - border: 1px solid black; - position: absolute; - padding:0; - margin:0; - background:#fcfcfc; -} -.dojoxDockNode { - border: 1px solid #adadad; - border-radius: 2px; - -webkit-border-radius: 2px; - -moz-border-radius: 3px; - cursor:pointer; - list-style: none; - padding: 2px; - margin: 0px; - height: 16px; - width: auto; - float: left; - background: #fafafa url(../resources/images/floatTitleBarBg.gif) repeat-x bottom left; -} -.soria .dojoxDockNode { - background:#b7cdee url(../../../dijit/themes/soria/images/titleBar.png) repeat-x; -} -.dojoxFloatingPaneContent { - overflow: auto; - background-color: #fff; - height: 100%; - width: 100%; -} -.dojoxFloatingPaneCanvas { - background-color:#fff; -} -.dojoxExpandoPane { - overflow:hidden; - margin-top:1px; - border-top:1px solid #ccc; - z-index:440; - background:#fff; -} -.dojoxExpandoPane .dojoxExpandoWrapper { - overflow:hidden; -} -.dojoxExpandoIcon { - width:14px; - cursor:pointer; - background-position:-60px 0px; - height:14px; -} -.soria .dojoxExpandoIcon { - background: url(../../../dijit/themes/soria/images/spriteRoundedIconsSmall.png) no-repeat center center; -} -.tundra .dojoxExpandoLeft .dojoxExpandoIcon, -.nihilo .dojoxExpandoLeft .dojoxExpandoIcon { - - background: url(../../../dijit/themes/tundra/images/minusButton.gif) no-repeat; -} -.tundra .dojoxExpandoRight .dojoxExpandoIcon, -.nihilo .dojoxExpandoRight .dojoxExpandoIcon { - - background: url(../../../dijit/themes/tundra/images/minusButton.gif) no-repeat; -} -.tundra .dojoxExpandoClosed .dojoxExpandoIcon { - background: url(../../../dijit/themes/tundra/images/plusButton.gif) no-repeat; -} -.dojoxExpandoClosed .dojoxExpandoIcon { - background-position: 0px 0px; -} -.dojoxExpandoClosed .dojoxExpandoTitleNode { - visibility:hidden; -} -.dojoxExpandoTitleNode { - padding-right:6px; padding-left:6px; -} -.dojoxExpandoClosed .dijitContentPane { - overflow: hidden; -} -.dojoxExpandoIcon .a11yNode { - display:none; - visibility:hidden; -} -.dojoxExpandoBottom .dojoxExpandoIcon, -.dojoxExpandoTop .dojoxExpandoIcon, -.dojoxExpandoLeft .dojoxExpandoIcon { - float:right; -} -.dojoxExpandoRight .dojoxExpandoIcon { - float:left; -} -.nihilo .dojoxExpandoTitle { - height:18px; - font-size:0.9em; - font-weight:bold; - padding:3px; - padding-top:7px; - padding-bottom:7px; - background:#fafafa url(../../../dijit/themes/nihilo/images/tabStripe.gif) repeat-x left bottom; - -} -.nihilo .dojoxExpandoTop { - border-bottom:1px solid #ccc; - border-left:1px solid #ccc; - border-right:1px solid #ccc; -} -.soria .dojoxExpandoTop { - -} -.soria .dojoxExpandoTitle { - height:18px; - font-size:0.9em; - font-weight:bold; - padding:3px; - padding-top:7px; - padding-bottom:7px; - background:#f0f4fc url(../../../dijit/themes/soria/images/tabStripe.gif) repeat-x left bottom; -} -.tundra .dojoxExpandoTitle { - font-size: 0.9em; - font-weight: bold; - padding: 3px; - padding-top: 7px; - padding-bottom: 7px; - background: #fafafa url(../../../dijit/themes/tundra/images/accordionItemActive.gif) repeat-x scroll left bottom; -} -.tundra .dojoxExpandoClosed { - - background-color: #fafafa; -} -.tundra .dojoxExpandoClosed .dojoxExpandoTitle { - background-image: none; - background-color: transparent; -} -body, html { - margin:0; - padding:0; - width:100%; - height:100%; - background: #fafafa; - overflow: hidden; -} -.wrap { - margin: 0; - padding: 15px; -} -.wrap h3 { - margin-top: 5px; -} -#header { - height:32px; -} -.searchBar { - position: absolute; - top: 0; - left: 0; - right: 0; - height: 25px; - border-bottom: 1px solid #666; - background: #fafafa; -} -.searchBar p { - margin: 0; - padding: 2px; -} -.searchStuff { - position: absolute; - top: 25px; - margin: 0 auto; -} -.searchStuff ul { - width: auto; - margin: 0 auto; - padding: 0; -} -div.itty { - font-weight: normal; - font: 8pt Arial,sans-serif; - color:#666; - padding:5px; - padding-left:10px; -} -div.itty:hover { - color:#333; -} -.itemType { - font-style:italic; - font-size:12pt; -} -#runSearchIcon { - border:1px solid #000; -} diff --git a/includes/js/dojox/layout/tests/_expando.css.commented.css b/includes/js/dojox/layout/tests/_expando.css.commented.css deleted file mode 100644 index 2fd0636..0000000 --- a/includes/js/dojox/layout/tests/_expando.css.commented.css +++ /dev/null @@ -1,64 +0,0 @@ -@import "../../../dojo/resources/dojo.css"; -@import "../../../dijit/tests/css/dijitTests.css"; - -@import "../resources/FloatingPane.css"; -@import "../resources/ExpandoPane.css"; - -body, html { - margin:0; - padding:0; - width:100%; - height:100%; - background: #fafafa; - overflow: hidden; -} -.wrap { - margin: 0; - padding: 15px; -} -.wrap h3 { - margin-top: 5px; -} -#header { - height:32px; -} -.searchBar { - position: absolute; - top: 0; - left: 0; - right: 0; - height: 25px; - border-bottom: 1px solid #666; - background: #fafafa; -} -.searchBar p { - margin: 0; - padding: 2px; -} -.searchStuff { - position: absolute; - top: 25px; - margin: 0 auto; -} -.searchStuff ul { - width: auto; - margin: 0 auto; - padding: 0; -} -div.itty { - font-weight: normal; - font: 8pt Arial,sans-serif; - color:#666; - padding:5px; - padding-left:10px; -} -div.itty:hover { - color:#333; -} -.itemType { - font-style:italic; - font-size:12pt; -} -#runSearchIcon { - border:1px solid #000; -} diff --git a/includes/js/dojox/layout/tests/_floating.html b/includes/js/dojox/layout/tests/_floating.html deleted file mode 100644 index be5ece9..0000000 --- a/includes/js/dojox/layout/tests/_floating.html +++ /dev/null @@ -1,48 +0,0 @@ -
            -

            I am FloatingPane

            -

            Windows in the Browser is weird UI, but sometimes useful. Even more useful:
            -
            - -
            - -

            - (both technically unsupported) -

            - -
            \ No newline at end of file diff --git a/includes/js/dojox/layout/tests/_lorem.html b/includes/js/dojox/layout/tests/_lorem.html deleted file mode 100644 index 9e7aaef..0000000 --- a/includes/js/dojox/layout/tests/_lorem.html +++ /dev/null @@ -1,11 +0,0 @@ -

            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam facilisis enim. - Pellentesque in elit et lacus euismod dignissim. Aliquam dolor pede, convallis eget, - dictum a, blandit ac, urna. Pellentesque sed nunc ut justo volutpat egestas. Class - aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. - In erat. Suspendisse potenti. Fusce faucibus nibh sed nisi. Phasellus faucibus, dui - a cursus dapibus, mauris nulla euismod velit, a lobortis turpis arcu vel dui. Pellentesque - fermentum ultrices pede. Donec auctor lectus eu arcu. Curabitur non orci eget est porta gravida. - Aliquam pretium orci id nisi. Duis faucibus, mi non adipiscing venenatis, erat urna aliquet elit, - eu fringilla lacus tellus quis erat. Nam tempus ornare lorem. Nullam feugiat. -

            diff --git a/includes/js/dojox/layout/tests/_script.html b/includes/js/dojox/layout/tests/_script.html deleted file mode 100644 index 64bcd0e..0000000 --- a/includes/js/dojox/layout/tests/_script.html +++ /dev/null @@ -1,9 +0,0 @@ - -

            - bar baz -

            diff --git a/includes/js/dojox/layout/tests/doc0.html b/includes/js/dojox/layout/tests/doc0.html deleted file mode 100644 index 10fd03a..0000000 --- a/includes/js/dojox/layout/tests/doc0.html +++ /dev/null @@ -1,14 +0,0 @@ -

            Document 0

            -This document has
            a link.
            -(to check we're copying children around properly).
            -Also it's got a widget, a combo box:
            - -And a button too: - -Here's some text that comes AFTER the button. -Okay textbox: - diff --git a/includes/js/dojox/layout/tests/images/blank.gif b/includes/js/dojox/layout/tests/images/blank.gif deleted file mode 100644 index e565824..0000000 Binary files a/includes/js/dojox/layout/tests/images/blank.gif and /dev/null differ diff --git a/includes/js/dojox/layout/tests/images/dojoLogo.png b/includes/js/dojox/layout/tests/images/dojoLogo.png deleted file mode 100644 index 1219de7..0000000 Binary files a/includes/js/dojox/layout/tests/images/dojoLogo.png and /dev/null differ diff --git a/includes/js/dojox/layout/tests/images/gridUnderlay.png b/includes/js/dojox/layout/tests/images/gridUnderlay.png deleted file mode 100644 index 016f129..0000000 Binary files a/includes/js/dojox/layout/tests/images/gridUnderlay.png and /dev/null differ diff --git a/includes/js/dojox/layout/tests/images/testImage.gif b/includes/js/dojox/layout/tests/images/testImage.gif deleted file mode 100644 index 4370d68..0000000 Binary files a/includes/js/dojox/layout/tests/images/testImage.gif and /dev/null differ diff --git a/includes/js/dojox/layout/tests/remote/getResponse.php b/includes/js/dojox/layout/tests/remote/getResponse.php deleted file mode 100644 index 0a37050..0000000 --- a/includes/js/dojox/layout/tests/remote/getResponse.php +++ /dev/null @@ -1,108 +0,0 @@ - -
            - - -
            -
            -
            -
            - - - - "; - break; - - case 'importCss': - header('Content-type: text/css; charset=utf-8'); - echo "#importMediaTest { - margin: 4px; - border: 1px dashed red; - width: 200px; - height: 200px; - } - #importCssTest { - margin: 4px; - border: 1px solid blue; - width: 100px; - height: 100px; - }"; - break; - - case 'linkCss': - header('Content-type: text/css; charset=utf-8'); - echo "#linkMediaTest { - margin: 4px; - border: 2px dashed red; - width: 200px; - height: 200px; - } - #linkCssTest { - margin: 4px; - border: 2px dashed red; - width: 100px; - height: 100px; - }"; - break; - - case 'importMediaPrint': // may download but not render - header('Content-type: text/css; charset=utf-8'); - echo "#importMediaTest { - margin: 10px; - border: 5px dashed gray; - width: 100px; - height: 100px; - }"; - break; - - case 'linkMediaPrint': // may download but not render - header('Content-type: text/css; charset=utf-8'); - echo "#linkMediaTest { - margin: 10px; - border: 5px dashed gray; - width: 100px; - height: 100px; - }"; - break; - - case 'remoteJsTrue': - header('Content-type: text/javascript; charset=utf-8'); - echo "unTypedVarInDocScope = true;"; - break; - - case 'remoteJsFalse': - header('Content-type: text/javascript; charset=utf-8'); - echo "unTypedVarInDocScope = false;"; - break; - - case 'bounceInput': - echo file_get_contents("php://input"); - break; - - case 'bounceHeaders'; - if(function_exists("apache_request_headers")){ - $headers = apache_request_headers(); - foreach($headers as $header => $vlu){ - echo "$header=$vlu\n
            "; - } - }else{ - // IIS, php as CGI etc gets here, messes formating, suboptimal - $headers = preg_grep('/HTTP_/i', array_keys($_SERVER)); - foreach($headers as $header){ - $vlu = preg_replace(array('/^HTTP_/', '/_/'), array('', '-'), $header); - echo "$vlu={$_SERVER[$header]}\n
            "; - } - } - break; - - default: - echo "unkown mode {$_GET['mode']}"; - } - } -?> \ No newline at end of file diff --git a/includes/js/dojox/layout/tests/test_DragPane.html b/includes/js/dojox/layout/tests/test_DragPane.html deleted file mode 100644 index df38b7e..0000000 --- a/includes/js/dojox/layout/tests/test_DragPane.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - DragPane layout widget Test - - - - - - - - - -
            -

            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

            -

            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

            -

            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

            -

            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

            -

            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

            -

            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

            -

            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

            -

            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

            -

            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

            -

            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

            -
            - - diff --git a/includes/js/dojox/layout/tests/test_ExpandoPane.html b/includes/js/dojox/layout/tests/test_ExpandoPane.html deleted file mode 100644 index ceaad50..0000000 --- a/includes/js/dojox/layout/tests/test_ExpandoPane.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - dojox.layout.ExpandoPane - - - - - - - - -
            - -
            -
            -
            - - -
            -
            -
            -
              -
              -
              -
                -
                -
                -
                  -
                  -
                  -
                  -
                  -
                  -
                  -
                  -
                  -
                  -
                  a
                  -
                  b
                  -
                  -
                  -
                  -
                    -
                    -
                    -
                    -
                    -
                    - -
                    -
                    -
                    -

                    This select modifies the left Expando's easing function. An Expando can have an easeIn and an easeOut parameter. This sets both.

                    - -

                    -

                    Some easing functions break when used with width: (negative width? but how?). Be warned.

                    -
                    -
                    -
                    -
                    -

                    This is a BorderContainer (the window). Each of the panes is set to one of - "left", "right", or "center". The left and right panes are ExpandoPanes (they collapse). -

                    -

                    - We can add other panes programatically: -
                    - -

                    -

                    What does a FloatingPane look like here?
                    - -

                    -
                    -
                    -
                    c
                    -
                    -
                    -
                    - -
                    Loading progress
                    - - - diff --git a/includes/js/dojox/layout/tests/test_ExpandoPane_code.html b/includes/js/dojox/layout/tests/test_ExpandoPane_code.html deleted file mode 100644 index 2b71fcc..0000000 --- a/includes/js/dojox/layout/tests/test_ExpandoPane_code.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - dojox.layout.ExpandoPane - - - - - - - -
                    -
                    - -
                    - -
                    -
                    -
                    pane 0 content
                    -
                    pane 1 content
                    -
                    pane 2 content
                    -
                    pane 3 content
                    -
                    - - diff --git a/includes/js/dojox/layout/tests/test_ExpandoPane_more.html b/includes/js/dojox/layout/tests/test_ExpandoPane_more.html deleted file mode 100644 index aed990e..0000000 --- a/includes/js/dojox/layout/tests/test_ExpandoPane_more.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - dojox.layout.ExpandoPane - - - - - - - - - - - - - - -

                    Basic ExpandoPane tests

                    - -

                    Left:

                    -
                    -
                    - foo -
                    -
                    -
                    -
                    -
                    -
                    - -

                    Right:

                    -
                    -
                    -
                    -
                    -
                    -
                    -
                    -
                    -
                    -
                    -
                    -
                    - -

                    Top (easeIn="dojox.fx.easing.bounceOut" duration="1200"):

                    -
                    -
                    - foo -
                    -
                    -
                    - -

                    Bottom:

                    -
                    -
                    - foo -
                    -
                    -
                    - -

                    Bottom/Left:

                    -
                    -
                    - foo -
                    -
                    - foo -
                    -
                    -
                    - -

                    Top/Left/Right

                    -
                    -
                    - foo -
                    -
                    - foo -
                    -
                    - foo -
                    -
                    -
                    - -

                    Top/Left/Right + splitters

                    -
                    -
                    - foo -
                    -
                    - foo -
                    -
                    - foo -
                    -
                    -
                    - - - - diff --git a/includes/js/dojox/layout/tests/test_FloatingPane.html b/includes/js/dojox/layout/tests/test_FloatingPane.html deleted file mode 100644 index 016f8a6..0000000 --- a/includes/js/dojox/layout/tests/test_FloatingPane.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - dojox.layout.FloatPane - simplest extension on TitlePane ... ever. - - - - - - - - - - - - - hide first pane | - show first pane | - minimize 'uncloseable, dockable' pane pane | - new floater - -
                    -

                    I am the content to be floated around

                    -
                    - -
                    -

                    - I am dockable, though I have no dockTo="" attribute. I will create or use an existing dock - on the bottom of the screen. -

                    - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc - eleifend sagittis turpis. purus purus in nibh. Phasellus in nunc. -

                    -
                    - -
                    -

                    - I am made into a FloatingPane in dojo.addOnLoad();

                    - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

                    -
                    - -
                    -
                    -
                    -

                    - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In porta. Etiam mattis libero nec ante. Nam - porta lacus eu ligula. Cras mauris. Suspendisse vel augue. Vivamus aliquam orci ut eros. Nunc eleifend - sagittis turpis. purus purus in nibh. Phasellus in nunc. -

                    -
                    - - -

                    - This is just a pane. You cannot close me, you cannot resize me, you cannot minimize me. -

                    -
                    - -
                    - -
                    - - - -
                    -
                    -
                    - First Page -
                    -
                    -
                    -
                    - Story of Paul. -
                    -
                    - Story about Paul. -
                    -
                    - Story about... guess who. -
                    -
                    -
                    -
                    -
                    - - diff --git a/includes/js/dojox/layout/tests/test_RadioGroup.html b/includes/js/dojox/layout/tests/test_RadioGroup.html deleted file mode 100644 index d2c6ba0..0000000 --- a/includes/js/dojox/layout/tests/test_RadioGroup.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - RadioGroup Widget Test - - - - - - - - - - -

                    dojox.layout.RadioGroup test

                    - - -
                    -
                    -
                    -
                    -
                    -
                    - -
                    -
                    -
                    -
                    -
                    - -
                    -
                    -
                    -
                    -
                    -
                    - - - diff --git a/includes/js/dojox/layout/tests/test_ResizeHandle.html b/includes/js/dojox/layout/tests/test_ResizeHandle.html deleted file mode 100644 index ed16473..0000000 --- a/includes/js/dojox/layout/tests/test_ResizeHandle.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - Resize Widget Test - - - - - - - - - - -

                    dojox.layout.ResizeHandle test

                    - -

                    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam facilisis enim. - Pellentesque in elit et lacus euismod dignissim. Aliquam dolor pede, convallis eget, - dictum a, blandit ac, urna. Pellentesque sed nunc ut justo volutpat egestas. Class - aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. - In erat. Suspendisse potenti. Fusce faucibus nibh sed nisi. Phasellus faucibus, dui - a cursus dapibus, mauris nulla euismod velit, a lobortis turpis arcu vel dui. Pellentesque - fermentum ultrices pede. Donec auctor lectus eu arcu. Curabitur non orci eget est porta gravida. - Aliquam pretium orci id nisi. Duis faucibus, mi non adipiscing venenatis, erat urna aliquet elit, - eu fringilla lacus tellus quis erat. Nam tempus ornare lorem. Nullam feugiat.

                    - -

                    Sed congue. Aenean blandit sollicitudin mi. Maecenas pellentesque. Vivamus ac urna. Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia ac, vehicula laoreet, elit. Sed interdum augue sit amet quam dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec quam.

                    - - - -
                    This is text!
                    -

                    -
                    - - - Content Pane w/a resize handle. activeResize'ing only on layout Widgets? FIXME: :) -
                    -
                    - -
                    - -
                    - - Plain div w/a resize handle. All Default settings. -
                    -
                    - -

                    - -
                    - Plain div w/a resize handle but resizeAxis="y", and activeResize="true" -
                    -
                    - - -
                    - Plain div w/a resize handle but resizeAxis="x" with animated sizing. -
                    -
                    - -

                    - -
                    - Plain div w/a resize handle but resizeAxis="xy" with animated sizing (combine). -
                    -
                    - -

                    - -

                    Sed arcu magna, molestie at, fringilla in, sodales eu, elit. Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus ut elit convallis eleifend. Fusce tincidunt, justo quis tempus euismod, magna nulla viverra libero, sit amet lacinia odio diam id risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, consequat quis, varius interdum, nulla. Donec neque tortor, sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean ut eros sit amet ante pharetra interdum.

                    - -

                    Fusce rutrum pede eget quam. Praesent purus. Aenean at elit in sem volutpat facilisis. Nunc est augue, commodo at, pretium a, fermentum at, quam. Nam sit amet enim. Suspendisse potenti. Cras hendrerit rhoncus justo. Integer libero. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam erat volutpat. Sed adipiscing mi vel ipsum.

                    - -

                    Sed aliquam, quam consectetuer condimentum bibendum, neque libero commodo metus, non consectetuer magna risus vitae eros. Pellentesque mollis augue id libero. Morbi nonummy hendrerit dui. Morbi nisi felis, fringilla ac, euismod vitae, dictum mollis, pede. Integer suscipit, est sed posuere ullamcorper, ipsum lectus interdum nunc, quis blandit erat eros hendrerit pede. Vestibulum varius, elit id mattis mattis, nulla est feugiat ante, eget vestibulum augue eros ut odio. Maecenas euismod purus quis felis. Ut hendrerit tincidunt est. Fusce euismod, nunc eu tempus tempor, purus ligula volutpat tellus, nec lacinia sapien enim id risus. Aliquam orci turpis, condimentum sed, sollicitudin vel, placerat in, purus. Proin tortor nisl, blandit quis, imperdiet quis, scelerisque at, nisl. Maecenas suscipit fringilla erat. Curabitur consequat, dui blandit suscipit dictum, felis lectus imperdiet tellus, sit amet ornare risus mauris non ipsum. Fusce a purus. Vestibulum sodales. Sed porta ultrices nibh. Vestibulum metus.

                    - - - diff --git a/includes/js/dojox/layout/tests/test_ScrollPane.html b/includes/js/dojox/layout/tests/test_ScrollPane.html deleted file mode 100644 index 53a4a26..0000000 --- a/includes/js/dojox/layout/tests/test_ScrollPane.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - ScrollPane layout widget Test - - - - - - - - - - - -

                    dojox.layout.ScrollPane

                    - -

                    An intuitive UI for lists of data in a confined space. supports horizontal or vertical "scrolling", but not both

                    - -

                    vertical:

                    -
                    - -
                    -
                      -
                    1. testItem
                    2. -
                    -
                    -
                    -
                    - -
                    -
                      -
                      - -
                      - -
                      - -

                      horizontal

                      -
                      - - - - - - - - - - - - - - - - - - - - - - -
                      LOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUMLOREM IPSUM
                      -
                      - -

                      In a layoutContainer:

                      - -
                      -
                      -
                        -
                        -
                        -

                        Foo!

                        -
                        -
                        - -

                        Programatically:

                        - -
                        -
                          -
                          - - - diff --git a/includes/js/dojox/layout/tests/test_ScrollPaneSingle.html b/includes/js/dojox/layout/tests/test_ScrollPaneSingle.html deleted file mode 100644 index 3957fda..0000000 --- a/includes/js/dojox/layout/tests/test_ScrollPaneSingle.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - ScrollPane layout widget Test - - - - - - - - - - -
                          -

                          dojox.layout.ScrollPane

                          -

                          horizontal

                          -
                          -
                          -
                          -

                          Foo!

                          text

                          • bar
                          • bar

                          -
                          -
                          -
                          -
                          - - diff --git a/includes/js/dojox/layout/tests/test_SizingPane.html b/includes/js/dojox/layout/tests/test_SizingPane.html deleted file mode 100644 index 372f396..0000000 --- a/includes/js/dojox/layout/tests/test_SizingPane.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - dojox.layout.SizingPane - - - - - - - - - -

                          dojox.layout.SizingPane

                          - -

                          This is simply a test / example. There is no real dojox.layout.SizingPane, but this code - should/might become part of a dojox.fx.toggle class ... it's just "neat", isn't it?

                          - -
                          - lorem. lorem. lorem. -
                          - - - - diff --git a/includes/js/dojox/math.js b/includes/js/dojox/math.js deleted file mode 100644 index a1ab261..0000000 --- a/includes/js/dojox/math.js +++ /dev/null @@ -1,6 +0,0 @@ -if(!dojo._hasResource["dojox.math"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.math"] = true; -dojo.provide("dojox.math"); -dojo.require("dojox.math._base"); - -} diff --git a/includes/js/dojox/math/README b/includes/js/dojox/math/README deleted file mode 100644 index f9f50ad..0000000 --- a/includes/js/dojox/math/README +++ /dev/null @@ -1,38 +0,0 @@ -------------------------------------------------------------------------------- -DojoX Math -------------------------------------------------------------------------------- -Version 0.9 -Release date: 10/20/2007 -------------------------------------------------------------------------------- -Project state: -experimental -------------------------------------------------------------------------------- -Credits - Cal Henderson - Dan Pupius - Tom Trenka (ttrenka AT gmail.com) -------------------------------------------------------------------------------- -Project description - -A port of the main functionality of dojo.math 0.4. Includes advanced math -functions, abstract curve definitions, and some point calculations. -------------------------------------------------------------------------------- -Dependencies: - -Depends on the Dojo Core, v1.0 -------------------------------------------------------------------------------- -Documentation - -See the API documentation. -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/math.js -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/math/* - -Install into the following directory structure: -/dojox/math/ - -...which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- diff --git a/includes/js/dojox/math/_base.js b/includes/js/dojox/math/_base.js deleted file mode 100644 index ef2243c..0000000 --- a/includes/js/dojox/math/_base.js +++ /dev/null @@ -1,122 +0,0 @@ -if(!dojo._hasResource["dojox.math._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.math._base"] = true; -dojo.provide("dojox.math._base"); - -dojo.mixin(dojox.math, { - degreesToRadians: function(/* Number */n){ - // summary - // Convert the passed number to radians. - return (n*Math.PI)/180; // Number - }, - radiansToDegrees: function(/* Number */n){ - // summary - // Convert the passed number to degrees. - return (n*180)/Math.PI; // Number - }, - - factoral: function(/* Number */n){ - // summary - // Return the factoral of n. - if(n<1){ - return 0; // Number - } - var ret=1; - for(var i=1; i<=n; i++){ - ret*=i; - } - return ret; // Number - }, - permutations: function(/* Number */n, /* Number */k){ - // summary - // TODO - if(n==0 || k==0){ - return 1; // Number - } - return (this.factoral(n)/this.factoral(n-k)); - }, - combinations: function(/* Number */n, /* Number */r){ - // summary - // TODO - if(n==0 || r==0){ - return 1; // Number - } - return (this.factoral(n)/(this.factoral(n-r)*this.factoral(r))); // Number - }, - bernstein: function(/* Number */t, /* Number */n, /* Number */ i){ - // summary - // TODO - return (this.combinations(n, i)*Math.pow(t, i)*Math.pow(1-t, n-i)); // Number - }, - gaussian: function(){ - // summary - // Return a random number based on the Gaussian algo. - var k=2; - do{ - var i=2*Math.random()-1; - var j=2*Math.random()-1; - k = i*i+j*j; - }while(k>=1); - return (i * Math.sqrt((-2*Math.log(k))/k)); // Number - }, - - // basic statistics - sd: function(/* Array */a){ - // summary - // Returns the standard deviation of the passed arguments. - return Math.sqrt(this.variance(a)); // Number - }, - variance: function(/* Array */a){ - // summary - // Find the variance in the passed array of numbers. - var mean=0, squares=0; - dojo.forEach(a, function(item){ - mean+=item; - squares+=Math.pow(item,2); - }); - return (squares/a.length)-Math.pow(mean/a.length, 2); // Number - }, - - // create a range of numbers - range: function(/* Number */a, /* Number? */b, /* Number? */step){ - // summary - // Create a range of numbers based on the parameters. - if(arguments.length<2){ - b=a,a=0; - } - var s=step||1; - var range=[]; - if(s>0){ - for(var i=a; ib; i+=s){ - range.push(i); - } - }else{ - throw new Error("dojox.math.range: step must not be zero."); - } - } - return range; // Array - }, - distance: function(/* Array */a, /* Array */b){ - // summary - // Calculate the distance between point A and point B - return Math.sqrt(Math.pow(b[0]-a[0],2)+Math.pow(b[1]-a[1],2)); // Number - }, - midpoint: function(/* Array */a, /* Array */b){ - // summary - // Calculate the midpoint between points A and B. A and B may be multidimensional. - if(a.length!=b.length){ - console.error("dojox.math.midpoint: Points A and B are not the same dimensionally.", a, b); - } - var m=[]; - for(var i=0; i= 1) { - return this.p[this.p.length - 1]; - } - if (step <= 0) { - return this.p[0]; - } - var retVal = new Array(this.p[0].length); - for (var k = 0; j < this.p[0].length; k++) { - retVal[k] = 0; - } - for (var j = 0; j < this.p[0].length; j++) { - var C = 0; - var D = 0; - for (var i = 0; i < this.p.length; i++) { - C += this.p[i][j] * this.p[this.p.length - 1][0] * dojox.math.bernstein(step, this.p.length, i); - } - for (var l = 0; l < this.p.length; l++) { - D += this.p[this.p.length - 1][0] * dojox.math.bernstein(step, this.p.length, l); - } - retVal[j] = C / D; - } - return retVal; - }; - this.p = pnts; - return this; - }, - CatmullRom:function (pnts, c) { - this.getValue = function (step) { - var percent = step * (this.p.length - 1); - var node = Math.floor(percent); - var progress = percent - node; - var i0 = node - 1; - if (i0 < 0) { - i0 = 0; - } - var i = node; - var i1 = node + 1; - if (i1 >= this.p.length) { - i1 = this.p.length - 1; - } - var i2 = node + 2; - if (i2 >= this.p.length) { - i2 = this.p.length - 1; - } - var u = progress; - var u2 = progress * progress; - var u3 = progress * progress * progress; - var retVal = new Array(this.p[0].length); - for (var k = 0; k < this.p[0].length; k++) { - var x1 = (-this.c * this.p[i0][k]) + ((2 - this.c) * this.p[i][k]) + ((this.c - 2) * this.p[i1][k]) + (this.c * this.p[i2][k]); - var x2 = (2 * this.c * this.p[i0][k]) + ((this.c - 3) * this.p[i][k]) + ((3 - 2 * this.c) * this.p[i1][k]) + (-this.c * this.p[i2][k]); - var x3 = (-this.c * this.p[i0][k]) + (this.c * this.p[i1][k]); - var x4 = this.p[i][k]; - retVal[k] = x1 * u3 + x2 * u2 + x3 * u + x4; - } - return retVal; - }; - if (!c) { - this.c = 0.7; - } else { - this.c = c; - } - this.p = pnts; - return this; - }, - Arc:function (start, end, ccw){ - function translate(a,b){ - var c=new Array(a.length); - for(var i=0; i= r[0] && n < r[1]) { - var subN = (n - r[0]) / r[2]; - value = curves[i].getValue(subN); - found = true; - break; - } - } - if (!found) { - value = curves[curves.length - 1].getValue(1); - } - for (var j = 0; j < i; j++) { - value = dojox.math.points.translate(value, curves[j].getValue(1)); - } - return value; - }; - function computeRanges() { - var start = 0; - for (var i = 0; i < weights.length; i++) { - var end = start + weights[i] / totalWeight; - var len = end - start; - ranges[i] = [start, end, len]; - start = end; - } - } - return this; - } -}); - -} diff --git a/includes/js/dojox/math/matrix.js b/includes/js/dojox/math/matrix.js deleted file mode 100644 index 386bad3..0000000 --- a/includes/js/dojox/math/matrix.js +++ /dev/null @@ -1,294 +0,0 @@ -if(!dojo._hasResource["dojox.math.matrix"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.math.matrix"] = true; -dojo.provide("dojox.math.matrix"); - -dojo.mixin(dojox.math.matrix, { - iDF:0, - ALMOST_ZERO: 1e-10, - multiply: function(/* Array */a, /* Array */b){ - // summary - // Multiply matrix a by matrix b. - var ay=a.length, ax=a[0].length, by=b.length, bx=b[0].length; - if(ax!=by){ - console.warn("Can't multiply matricies of sizes " + ax + "," + ay + " and " + bx + "," + by); - return [[0]]; - } - var c=[]; - for (var k=0; k-1){ - b+="."; - } - while(b.length0?a[0].length:0; - var buffer=""; - for(var y=0; y - -

                          Browser Bookmarklets

                          - -

                          Drag the following bookmarklets to your links toolbar and press to clear the Google Gears cache:

                          - -

                          Firefox: Clear Gears Cache

                          -

                          Internet Explorer: Clear Gears Cache

                          - - diff --git a/includes/js/dojox/off/files.js b/includes/js/dojox/off/files.js deleted file mode 100644 index 6c19ea0..0000000 --- a/includes/js/dojox/off/files.js +++ /dev/null @@ -1,454 +0,0 @@ -if(!dojo._hasResource["dojox.off.files"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.off.files"] = true; -dojo.provide("dojox.off.files"); - -// Author: Brad Neuberg, bkn3@columbia.edu, http://codinginparadise.org - -// summary: -// Helps maintain resources that should be -// available offline, such as CSS files. -// description: -// dojox.off.files makes it easy to indicate -// what resources should be available offline, -// such as CSS files, JavaScript, HTML, etc. -dojox.off.files = { - // versionURL: String - // An optional file, that if present, records the version - // of our bundle of files to make available offline. If this - // file is present, and we are not currently debugging, - // then we only refresh our offline files if the version has - // changed. - versionURL: "version.js", - - // listOfURLs: Array - // For advanced usage; most developers can ignore this. - // Our list of URLs that will be cached and made available - // offline. - listOfURLs: [], - - // refreshing: boolean - // For advanced usage; most developers can ignore this. - // Whether we are currently in the middle - // of refreshing our list of offline files. - refreshing: false, - - _cancelID: null, - - _error: false, - _errorMessages: [], - _currentFileIndex: 0, - _store: null, - _doSlurp: false, - - slurp: function(){ - // summary: - // Autoscans the page to find all resources to - // cache. This includes scripts, images, CSS, and hyperlinks - // to pages that are in the same scheme/port/host as this - // page. We also scan the embedded CSS of any stylesheets - // to find @import statements and url()'s. - // You should call this method from the top-level, outside of - // any functions and before the page loads: - // - // - // - // Note that inline styles on elements are not handled (i.e. - // if you somehow have an inline style that uses a URL); - // object and embed tags are not scanned since their format - // differs based on type; and elements created by JavaScript - // after page load are not found. For these you must manually - // add them with a dojox.off.files.cache() method call. - - // just schedule the slurp once the page is loaded and - // Dojo Offline is ready to slurp; dojox.off will call - // our _slurp() method before indicating it is finished - // loading - this._doSlurp = true; - }, - - cache: function(urlOrList){ /* void */ - // summary: - // Caches a file or list of files to be available offline. This - // can either be a full URL, such as http://foobar.com/index.html, - // or a relative URL, such as ../index.html. This URL is not - // actually cached until dojox.off.sync.synchronize() is called. - // urlOrList: String or Array[] - // A URL of a file to cache or an Array of Strings of files to - // cache - - //console.debug("dojox.off.files.cache, urlOrList="+urlOrList); - - if(dojo.isString(urlOrList)){ - var url = this._trimAnchor(urlOrList+""); - if(!this.isAvailable(url)){ - this.listOfURLs.push(url); - } - }else if(urlOrList instanceof dojo._Url){ - var url = this._trimAnchor(urlOrList.uri); - if(!this.isAvailable(url)){ - this.listOfURLs.push(url); - } - }else{ - dojo.forEach(urlOrList, function(url){ - url = this._trimAnchor(url); - if(!this.isAvailable(url)){ - this.listOfURLs.push(url); - } - }, this); - } - }, - - printURLs: function(){ - // summary: - // A helper function that will dump and print out - // all of the URLs that are cached for offline - // availability. This can help with debugging if you - // are trying to make sure that all of your URLs are - // available offline - console.debug("The following URLs are cached for offline use:"); - dojo.forEach(this.listOfURLs, function(i){ - console.debug(i); - }); - }, - - remove: function(url){ /* void */ - // summary: - // Removes a URL from the list of files to cache. - // description: - // Removes a URL from the list of URLs to cache. Note that this - // does not actually remove the file from the offline cache; - // instead, it just prevents us from refreshing this file at a - // later time, so that it will naturally time out and be removed - // from the offline cache - // url: String - // The URL to remove - for(var i = 0; i < this.listOfURLs.length; i++){ - if(this.listOfURLs[i] == url){ - this.listOfURLs = this.listOfURLs.splice(i, 1); - break; - } - } - }, - - isAvailable: function(url){ /* boolean */ - // summary: - // Determines whether the given resource is available offline. - // url: String - // The URL to check - for(var i = 0; i < this.listOfURLs.length; i++){ - if(this.listOfURLs[i] == url){ - return true; - } - } - - return false; - }, - - refresh: function(callback){ /* void */ - //console.debug("dojox.off.files.refresh"); - // summary: - // For advanced usage; most developers can ignore this. - // Refreshes our list of offline resources, - // making them available offline. - // callback: Function - // A callback that receives two arguments: whether an error - // occurred, which is a boolean; and an array of error message strings - // with details on errors encountered. If no error occured then message is - // empty array with length 0. - try{ - if(dojo.config.isDebug){ - this.printURLs(); - } - - this.refreshing = true; - - if(this.versionURL){ - this._getVersionInfo(function(oldVersion, newVersion, justDebugged){ - //console.warn("getVersionInfo, oldVersion="+oldVersion+", newVersion="+newVersion - // + ", justDebugged="+justDebugged+", isDebug="+dojo.config.isDebug); - if(dojo.config.isDebug || !newVersion || justDebugged - || !oldVersion || oldVersion != newVersion){ - console.warn("Refreshing offline file list"); - this._doRefresh(callback, newVersion); - }else{ - console.warn("No need to refresh offline file list"); - callback(false, []); - } - }); - }else{ - console.warn("Refreshing offline file list"); - this._doRefresh(callback); - } - }catch(e){ - this.refreshing = false; - - // can't refresh files -- core operation -- - // fail fast - dojox.off.coreOpFailed = true; - dojox.off.enabled = false; - dojox.off.onFrameworkEvent("coreOperationFailed"); - } - }, - - abortRefresh: function(){ - // summary: - // For advanced usage; most developers can ignore this. - // Aborts and cancels a refresh. - if(!this.refreshing){ - return; - } - - this._store.abortCapture(this._cancelID); - this.refreshing = false; - }, - - _slurp: function(){ - if(!this._doSlurp){ - return; - } - - var handleUrl = dojo.hitch(this, function(url){ - if(this._sameLocation(url)){ - this.cache(url); - } - }); - - handleUrl(window.location.href); - - dojo.query("script").forEach(function(i){ - try{ - handleUrl(i.getAttribute("src")); - }catch(exp){ - //console.debug("dojox.off.files.slurp 'script' error: " - // + exp.message||exp); - } - }); - - dojo.query("link").forEach(function(i){ - try{ - if(!i.getAttribute("rel") - || i.getAttribute("rel").toLowerCase() != "stylesheet"){ - return; - } - - handleUrl(i.getAttribute("href")); - }catch(exp){ - //console.debug("dojox.off.files.slurp 'link' error: " - // + exp.message||exp); - } - }); - - dojo.query("img").forEach(function(i){ - try{ - handleUrl(i.getAttribute("src")); - }catch(exp){ - //console.debug("dojox.off.files.slurp 'img' error: " - // + exp.message||exp); - } - }); - - dojo.query("a").forEach(function(i){ - try{ - handleUrl(i.getAttribute("href")); - }catch(exp){ - //console.debug("dojox.off.files.slurp 'a' error: " - // + exp.message||exp); - } - }); - - // FIXME: handle 'object' and 'embed' tag - - // parse our style sheets for inline URLs and imports - dojo.forEach(document.styleSheets, function(sheet){ - try{ - if(sheet.cssRules){ // Firefox - dojo.forEach(sheet.cssRules, function(rule){ - var text = rule.cssText; - if(text){ - var matches = text.match(/url\(\s*([^\) ]*)\s*\)/i); - if(!matches){ - return; - } - - for(var i = 1; i < matches.length; i++){ - handleUrl(matches[i]) - } - } - }); - }else if(sheet.cssText){ // IE - var matches; - var text = sheet.cssText.toString(); - // unfortunately, using RegExp.exec seems to be flakey - // for looping across multiple lines on IE using the - // global flag, so we have to simulate it - var lines = text.split(/\f|\r|\n/); - for(var i = 0; i < lines.length; i++){ - matches = lines[i].match(/url\(\s*([^\) ]*)\s*\)/i); - if(matches && matches.length){ - handleUrl(matches[1]); - } - } - } - }catch(exp){ - //console.debug("dojox.off.files.slurp stylesheet parse error: " - // + exp.message||exp); - } - }); - - //this.printURLs(); - }, - - _sameLocation: function(url){ - if(!url){ return false; } - - // filter out anchors - if(url.length && url.charAt(0) == "#"){ - return false; - } - - // FIXME: dojo._Url should be made public; - // it's functionality is very useful for - // parsing URLs correctly, which is hard to - // do right - url = new dojo._Url(url); - - // totally relative -- ../../someFile.html - if(!url.scheme && !url.port && !url.host){ - return true; - } - - // scheme relative with port specified -- brad.com:8080 - if(!url.scheme && url.host && url.port - && window.location.hostname == url.host - && window.location.port == url.port){ - return true; - } - - // scheme relative with no-port specified -- brad.com - if(!url.scheme && url.host && !url.port - && window.location.hostname == url.host - && window.location.port == 80){ - return true; - } - - // else we have everything - return window.location.protocol == (url.scheme + ":") - && window.location.hostname == url.host - && (window.location.port == url.port || !window.location.port && !url.port); - }, - - _trimAnchor: function(url){ - return url.replace(/\#.*$/, ""); - }, - - _doRefresh: function(callback, newVersion){ - // get our local server - var localServer; - try{ - localServer = google.gears.factory.create("beta.localserver", "1.0"); - }catch(exp){ - dojo.setObject("google.gears.denied", true); - dojox.off.onFrameworkEvent("coreOperationFailed"); - throw "Google Gears must be allowed to run"; - } - - var storeName = "dot_store_" - + window.location.href.replace(/[^0-9A-Za-z_]/g, "_"); - - // clip at 64 characters, the max length of a resource store name - if(storeName.length >= 64){ - storeName = storeName.substring(0, 63); - } - - // refresh everything by simply removing - // any older stores - localServer.removeStore(storeName); - - // open/create the resource store - localServer.openStore(storeName); - var store = localServer.createStore(storeName); - this._store = store; - - // add our list of files to capture - var self = this; - this._currentFileIndex = 0; - this._cancelID = store.capture(this.listOfURLs, function(url, success, captureId){ - //console.debug("store.capture, url="+url+", success="+success); - if(!success && self.refreshing){ - self._cancelID = null; - self.refreshing = false; - var errorMsgs = []; - errorMsgs.push("Unable to capture: " + url); - callback(true, errorMsgs); - return; - }else if(success){ - self._currentFileIndex++; - } - - if(success && self._currentFileIndex >= self.listOfURLs.length){ - self._cancelID = null; - self.refreshing = false; - if(newVersion){ - dojox.storage.put("oldVersion", newVersion, null, - dojox.off.STORAGE_NAMESPACE); - } - dojox.storage.put("justDebugged", dojo.config.isDebug, null, - dojox.off.STORAGE_NAMESPACE); - callback(false, []); - } - }); - }, - - _getVersionInfo: function(callback){ - var justDebugged = dojox.storage.get("justDebugged", - dojox.off.STORAGE_NAMESPACE); - var oldVersion = dojox.storage.get("oldVersion", - dojox.off.STORAGE_NAMESPACE); - var newVersion = null; - - callback = dojo.hitch(this, callback); - - dojo.xhrGet({ - url: this.versionURL + "?browserbust=" + new Date().getTime(), - timeout: 5 * 1000, - handleAs: "javascript", - error: function(err){ - //console.warn("dojox.off.files._getVersionInfo, err=",err); - dojox.storage.remove("oldVersion", dojox.off.STORAGE_NAMESPACE); - dojox.storage.remove("justDebugged", dojox.off.STORAGE_NAMESPACE); - callback(oldVersion, newVersion, justDebugged); - }, - load: function(data){ - //console.warn("dojox.off.files._getVersionInfo, load=",data); - - // some servers incorrectly return 404's - // as a real page - if(data){ - newVersion = data; - } - - callback(oldVersion, newVersion, justDebugged); - } - }); - } -} - -} diff --git a/includes/js/dojox/off/network_check.txt b/includes/js/dojox/off/network_check.txt deleted file mode 100644 index d00491f..0000000 --- a/includes/js/dojox/off/network_check.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/includes/js/dojox/off/offline.js b/includes/js/dojox/off/offline.js deleted file mode 100644 index 997206e..0000000 --- a/includes/js/dojox/off/offline.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - Copyright (c) 2004-2008, The Dojo Foundation - All Rights Reserved. - - Licensed under the Academic Free License version 2.1 or above OR the - modified BSD license. For more information on Dojo licensing, see: - - http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing -*/ - -/* - This is a compiled version of Dojo, built for deployment and not for - development. To get an editable version, please visit: - - http://dojotoolkit.org - - for documentation and information on getting the source. -*/ - -if(!dojo._hasResource["dojox.storage.Provider"]){dojo._hasResource["dojox.storage.Provider"]=true;dojo.provide("dojox.storage.Provider");dojo.declare("dojox.storage.Provider",null,{constructor:function(){},SUCCESS:"success",FAILED:"failed",PENDING:"pending",SIZE_NOT_AVAILABLE:"Size not available",SIZE_NO_LIMIT:"No size limit",DEFAULT_NAMESPACE:"default",onHideSettingsUI:null,initialize:function(){console.warn("dojox.storage.initialize not implemented");},isAvailable:function(){console.warn("dojox.storage.isAvailable not implemented");},put:function(_1,_2,_3,_4){console.warn("dojox.storage.put not implemented");},get:function(_5,_6){console.warn("dojox.storage.get not implemented");},hasKey:function(_7,_8){return !!this.get(_7,_8);},getKeys:function(_9){console.warn("dojox.storage.getKeys not implemented");},clear:function(_a){console.warn("dojox.storage.clear not implemented");},remove:function(_b,_c){console.warn("dojox.storage.remove not implemented");},getNamespaces:function(){console.warn("dojox.storage.getNamespaces not implemented");},isPermanent:function(){console.warn("dojox.storage.isPermanent not implemented");},getMaximumSize:function(){console.warn("dojox.storage.getMaximumSize not implemented");},putMultiple:function(_d,_e,_f,_10){console.warn("dojox.storage.putMultiple not implemented");},getMultiple:function(_11,_12){console.warn("dojox.storage.getMultiple not implemented");},removeMultiple:function(_13,_14){console.warn("dojox.storage.remove not implemented");},isValidKeyArray:function(_15){if(_15===null||_15===undefined||!dojo.isArray(_15)){return false;}return !dojo.some(_15,function(key){return !this.isValidKey(key);});},hasSettingsUI:function(){return false;},showSettingsUI:function(){console.warn("dojox.storage.showSettingsUI not implemented");},hideSettingsUI:function(){console.warn("dojox.storage.hideSettingsUI not implemented");},isValidKey:function(_17){if(_17===null||_17===undefined){return false;}return /^[0-9A-Za-z_]*$/.test(_17);},getResourceList:function(){return [];}});}if(!dojo._hasResource["dojox.storage.manager"]){dojo._hasResource["dojox.storage.manager"]=true;dojo.provide("dojox.storage.manager");dojox.storage.manager=new function(){this.currentProvider=null;this.available=false;this.providers=[];this._initialized=false;this._onLoadListeners=[];this.initialize=function(){this.autodetect();};this.register=function(_18,_19){this.providers.push(_19);this.providers[_18]=_19;};this.setProvider=function(_1a){};this.autodetect=function(){if(this._initialized){return;}var _1b=dojo.config["forceStorageProvider"]||false;var _1c;for(var i=0;i6&&i%Nk==4){_60=SubWord(_60);}}for(var t=0;t<4;t++){w[i][t]=w[i-Nk][t]^_60[t];}}return w;};function SubWord(w){for(var i=0;i<4;i++){w[i]=_3c[w[i]];}return w;};function RotWord(w){w[4]=w[0];for(var i=0;i<4;i++){w[i]=w[i+1];}return w;};function AESEncryptCtr(_68,_69,_6a){if(!(_6a==128||_6a==192||_6a==256)){return "";}var _6b=_6a/8;var _6c=new Array(_6b);for(var i=0;i<_6b;i++){_6c[i]=_69.charCodeAt(i)&255;}var key=Cipher(_6c,KeyExpansion(_6c));key=key.concat(key.slice(0,_6b-16));var _6f=16;var _70=new Array(_6f);var _71=(new Date()).getTime();for(var i=0;i<4;i++){_70[i]=(_71>>>i*8)&255;}for(var i=0;i<4;i++){_70[i+4]=(_71/4294967296>>>i*8)&255;}var _72=KeyExpansion(key);var _73=Math.ceil(_68.length/_6f);var _74=new Array(_73);for(var b=0;b<_73;b++){for(var c=0;c<4;c++){_70[15-c]=(b>>>c*8)&255;}for(var c=0;c<4;c++){_70[15-c-4]=(b/4294967296>>>c*8);}var _77=Cipher(_70,_72);var _78=b<_73-1?_6f:(_68.length-1)%_6f+1;var ct="";for(var i=0;i<_78;i++){var _7a=_68.charCodeAt(b*_6f+i);var _7b=_7a^_77[i];ct+=String.fromCharCode(_7b);}_74[b]=escCtrlChars(ct);}var _7c="";for(var i=0;i<8;i++){_7c+=String.fromCharCode(_70[i]);}_7c=escCtrlChars(_7c);return _7c+"-"+_74.join("-");};function AESDecryptCtr(_7d,_7e,_7f){if(!(_7f==128||_7f==192||_7f==256)){return "";}var _80=_7f/8;var _81=new Array(_80);for(var i=0;i<_80;i++){_81[i]=_7e.charCodeAt(i)&255;}var _83=KeyExpansion(_81);var key=Cipher(_81,_83);key=key.concat(key.slice(0,_80-16));var _85=KeyExpansion(key);_7d=_7d.split("-");var _86=16;var _87=new Array(_86);var _88=unescCtrlChars(_7d[0]);for(var i=0;i<8;i++){_87[i]=_88.charCodeAt(i);}var _89=new Array(_7d.length-1);for(var b=1;b<_7d.length;b++){for(var c=0;c<4;c++){_87[15-c]=((b-1)>>>c*8)&255;}for(var c=0;c<4;c++){_87[15-c-4]=((b/4294967296-1)>>>c*8)&255;}var _8c=Cipher(_87,_85);_7d[b]=unescCtrlChars(_7d[b]);var pt="";for(var i=0;i<_7d[b].length;i++){var _8e=_7d[b].charCodeAt(i);var _8f=_8e^_8c[i];pt+=String.fromCharCode(_8f);}_89[b-1]=pt;}return _89.join("");};function escCtrlChars(str){return str.replace(/[\0\t\n\v\f\r\xa0!-]/g,function(c){return "!"+c.charCodeAt(0)+"!";});};function unescCtrlChars(str){return str.replace(/!\d\d?\d?!/g,function(c){return String.fromCharCode(c.slice(1,-1));});};function encrypt(_94,_95){return AESEncryptCtr(_94,_95,256);};function decrypt(_96,_97){return AESDecryptCtr(_96,_97,256);};var cmd=msg.substr(0,4);var arg=msg.substr(5);if(cmd=="encr"){arg=eval("("+arg+")");var _9a=arg.plaintext;var _9b=arg.password;var _9c=encrypt(_9a,_9b);gearsWorkerPool.sendMessage(String(_9c),_3b);}else{if(cmd=="decr"){arg=eval("("+arg+")");var _9d=arg.ciphertext;var _9b=arg.password;var _9c=decrypt(_9d,_9b);gearsWorkerPool.sendMessage(String(_9c),_3b);}}}});}if(!dojo._hasResource["dojox._sql.common"]){dojo._hasResource["dojox._sql.common"]=true;dojo.provide("dojox._sql.common");dojox.sql=new Function("return dojox.sql._exec(arguments);");dojo.mixin(dojox.sql,{dbName:null,debug:(dojo.exists("dojox.sql.debug")?dojox.sql.debug:false),open:function(_9e){if(this._dbOpen&&(!_9e||_9e==this.dbName)){return;}if(!this.dbName){this.dbName="dot_store_"+window.location.href.replace(/[^0-9A-Za-z_]/g,"_");if(this.dbName.length>63){this.dbName=this.dbName.substring(0,63);}}if(!_9e){_9e=this.dbName;}try{this._initDb();this.db.open(_9e);this._dbOpen=true;}catch(exp){throw exp.message||exp;}},close:function(_9f){if(dojo.isIE){return;}if(!this._dbOpen&&(!_9f||_9f==this.dbName)){return;}if(!_9f){_9f=this.dbName;}try{this.db.close(_9f);this._dbOpen=false;}catch(exp){throw exp.message||exp;}},_exec:function(_a0){try{this._initDb();if(!this._dbOpen){this.open();this._autoClose=true;}var sql=null;var _a2=null;var _a3=null;var _a4=dojo._toArray(_a0);sql=_a4.splice(0,1)[0];if(this._needsEncrypt(sql)||this._needsDecrypt(sql)){_a2=_a4.splice(_a4.length-1,1)[0];_a3=_a4.splice(_a4.length-1,1)[0];}if(this.debug){this._printDebugSQL(sql,_a4);}if(this._needsEncrypt(sql)){var _a5=new dojox.sql._SQLCrypto("encrypt",sql,_a3,_a4,_a2);return;}else{if(this._needsDecrypt(sql)){var _a5=new dojox.sql._SQLCrypto("decrypt",sql,_a3,_a4,_a2);return;}}var rs=this.db.execute(sql,_a4);rs=this._normalizeResults(rs);if(this._autoClose){this.close();}return rs;}catch(exp){exp=exp.message||exp;console.debug("SQL Exception: "+exp);if(this._autoClose){try{this.close();}catch(e){console.debug("Error closing database: "+e.message||e);}}throw exp;}},_initDb:function(){if(!this.db){try{this.db=google.gears.factory.create("beta.database","1.0");}catch(exp){dojo.setObject("google.gears.denied",true);dojox.off.onFrameworkEvent("coreOperationFailed");throw "Google Gears must be allowed to run";}}},_printDebugSQL:function(sql,_a8){var msg="dojox.sql(\""+sql+"\"";for(var i=0;i<_a8.length;i++){if(typeof _a8[i]=="string"){msg+=", \""+_a8[i]+"\"";}else{msg+=", "+_a8[i];}}msg+=")";console.debug(msg);},_normalizeResults:function(rs){var _ac=[];if(!rs){return [];}while(rs.isValidRow()){var row={};for(var i=0;i=this._totalCrypto&&this._finishedSpawningCrypto){_d3(this._finalArgs);}}));}}this._finishedSpawningCrypto=true;},_decrypt:function(_d8,_d9,_da,_db){this._totalCrypto=0;this._finishedCrypto=0;this._finishedSpawningCrypto=false;this._finalResultSet=_d8;for(var i=0;i<_d8.length;i++){var row=_d8[i];for(var _de in row){if(_d9=="*"||_d9[_de]){this._totalCrypto++;var _df=row[_de];this._decryptSingleColumn(_de,_df,_da,i,function(_e0){_db(_e0);});}}}this._finishedSpawningCrypto=true;},_stripCryptoSQL:function(sql){sql=sql.replace(/DECRYPT\(\*\)/ig,"*");var _e2=sql.match(/ENCRYPT\([^\)]*\)/ig);if(_e2!=null){for(var i=0;i<_e2.length;i++){var _e4=_e2[i];var _e5=_e4.match(/ENCRYPT\(([^\)]*)\)/i)[1];sql=sql.replace(_e4,_e5);}}_e2=sql.match(/DECRYPT\([^\)]*\)/ig);if(_e2!=null){for(var i=0;i<_e2.length;i++){var _e6=_e2[i];var _e7=_e6.match(/DECRYPT\(([^\)]*)\)/i)[1];sql=sql.replace(_e6,_e7);}}return sql;},_flagEncryptedArgs:function(sql,_e9){var _ea=new RegExp(/([\"][^\"]*\?[^\"]*[\"])|([\'][^\']*\?[^\']*[\'])|(\?)/ig);var _eb;var _ec=0;var _ed=[];while((_eb=_ea.exec(sql))!=null){var _ee=RegExp.lastMatch+"";if(/^[\"\']/.test(_ee)){continue;}var _ef=false;if(/ENCRYPT\([^\)]*$/i.test(RegExp.leftContext)){_ef=true;}_ed[_ec]=_ef;_ec++;}return _ed;},_determineDecryptedColumns:function(sql){var _f1={};if(/DECRYPT\(\*\)/i.test(sql)){_f1="*";}else{var _f2=/DECRYPT\((?:\s*\w*\s*\,?)*\)/ig;var _f3;while(_f3=_f2.exec(sql)){var _f4=new String(RegExp.lastMatch);var _f5=_f4.replace(/DECRYPT\(/i,"");_f5=_f5.replace(/\)/,"");_f5=_f5.split(/\s*,\s*/);dojo.forEach(_f5,function(_f6){if(/\s*\w* AS (\w*)/i.test(_f6)){_f6=_f6.match(/\s*\w* AS (\w*)/i)[1];}_f1[_f6]=true;});}}return _f1;},_decryptSingleColumn:function(_f7,_f8,_f9,_fa,_fb){dojox._sql._crypto.decrypt(_f8,_f9,dojo.hitch(this,function(_fc){this._finalResultSet[_fa][_f7]=_fc;this._finishedCrypto++;if(this._finishedCrypto>=this._totalCrypto&&this._finishedSpawningCrypto){_fb(this._finalResultSet);}}));}});}if(!dojo._hasResource["dojox.sql"]){dojo._hasResource["dojox.sql"]=true;dojo.provide("dojox.sql");}if(!dojo._hasResource["dojox.storage.GearsStorageProvider"]){dojo._hasResource["dojox.storage.GearsStorageProvider"]=true;dojo.provide("dojox.storage.GearsStorageProvider");if(dojo.isGears){(function(){dojo.declare("dojox.storage.GearsStorageProvider",dojox.storage.Provider,{constructor:function(){},TABLE_NAME:"__DOJO_STORAGE",initialized:false,_available:null,initialize:function(){if(dojo.config["disableGearsStorage"]==true){return;}this.TABLE_NAME="__DOJO_STORAGE";try{dojox.sql("CREATE TABLE IF NOT EXISTS "+this.TABLE_NAME+"( "+" namespace TEXT, "+" key TEXT, "+" value TEXT "+")");dojox.sql("CREATE UNIQUE INDEX IF NOT EXISTS namespace_key_index"+" ON "+this.TABLE_NAME+" (namespace, key)");}catch(e){console.debug("dojox.storage.GearsStorageProvider.initialize:",e);this.initialized=false;dojox.storage.manager.loaded();return;}this.initialized=true;dojox.storage.manager.loaded();},isAvailable:function(){return this._available=dojo.isGears;},put:function(key,_fe,_ff,_100){if(this.isValidKey(key)==false){throw new Error("Invalid key given: "+key);}_100=_100||this.DEFAULT_NAMESPACE;if(dojo.isString(_fe)){_fe="string:"+_fe;}else{_fe=dojo.toJson(_fe);}try{dojox.sql("DELETE FROM "+this.TABLE_NAME+" WHERE namespace = ? AND key = ?",_100,key);dojox.sql("INSERT INTO "+this.TABLE_NAME+" VALUES (?, ?, ?)",_100,key,_fe);}catch(e){console.debug("dojox.storage.GearsStorageProvider.put:",e);_ff(this.FAILED,key,e.toString());return;}if(_ff){_ff(dojox.storage.SUCCESS,key,null);}},get:function(key,_102){if(this.isValidKey(key)==false){throw new Error("Invalid key given: "+key);}_102=_102||this.DEFAULT_NAMESPACE;var _103=dojox.sql("SELECT * FROM "+this.TABLE_NAME+" WHERE namespace = ? AND "+" key = ?",_102,key);if(!_103.length){return null;}else{_103=_103[0].value;}if(dojo.isString(_103)&&(/^string:/.test(_103))){_103=_103.substring("string:".length);}else{_103=dojo.fromJson(_103);}return _103;},getNamespaces:function(){var _104=[dojox.storage.DEFAULT_NAMESPACE];var rs=dojox.sql("SELECT namespace FROM "+this.TABLE_NAME+" DESC GROUP BY namespace");for(var i=0;idew){minw=dew;maxw=dbw;}else{maxw=dew;minw=dbw;}var dbh=_143.body.clientHeight;if(dbh>deh){minh=deh;maxh=dbh;}else{maxh=deh;minh=dbh;}w=(maxw>_142.innerWidth)?minw:maxw;h=(maxh>_142.innerHeight)?minh:maxh;}else{if(!dojo.isOpera&&_142.innerWidth){w=_142.innerWidth;h=_142.innerHeight;}else{if(dojo.isIE&&de&&deh){w=dew;h=deh;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _14f=dojo._docScroll();return {w:w,h:h,l:_14f.x,t:_14f.y};};dijit.placeOnScreen=function(node,pos,_152,_153){var _154=dojo.map(_152,function(_155){return {corner:_155,pos:pos};});return dijit._place(node,_154);};dijit._place=function(node,_157,_158){var view=dijit.getViewport();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_157,function(_15b){var _15c=_15b.corner;var pos=_15b.pos;if(_158){_158(node,_15b.aroundCorner,_15c);}var _15e=node.style;var _15f=_15e.display;var _160=_15e.visibility;_15e.visibility="hidden";_15e.display="";var mb=dojo.marginBox(node);_15e.display=_15f;_15e.visibility=_160;var _162=(_15c.charAt(1)=="L"?pos.x:Math.max(view.l,pos.x-mb.w)),_163=(_15c.charAt(0)=="T"?pos.y:Math.max(view.t,pos.y-mb.h)),endX=(_15c.charAt(1)=="L"?Math.min(view.l+view.w,_162+mb.w):pos.x),endY=(_15c.charAt(0)=="T"?Math.min(view.t+view.h,_163+mb.h):pos.y),_166=endX-_162,_167=endY-_163,_168=(mb.w-_166)+(mb.h-_167);if(best==null||_1680){for(var i=0;i0){for(var i=0;i","Function VBGetSwfVer(i)"," on error resume next"," Dim swControl, swVersion"," swVersion = 0"," set swControl = CreateObject(\"ShockwaveFlash.ShockwaveFlash.\" + CStr(i))"," if (IsObject(swControl)) then"," swVersion = swControl.GetVariable(\"$version\")"," end if"," VBGetSwfVer = swVersion","End Function",""].join("\r\n"));}this._detectVersion();};dojox.flash.Info.prototype={version:-1,versionMajor:-1,versionMinor:-1,versionRevision:-1,capable:false,installing:false,isVersionOrAbove:function(_17a,_17b,_17c){_17c=parseFloat("."+_17c);if(this.versionMajor>=_17a&&this.versionMinor>=_17b&&this.versionRevision>=_17c){return true;}else{return false;}},_detectVersion:function(){var _17d;for(var _17e=25;_17e>0;_17e--){if(dojo.isIE){_17d=VBGetSwfVer(_17e);}else{_17d=this._JSFlashInfo(_17e);}if(_17d==-1){this.capable=false;return;}else{if(_17d!=0){var _17f;if(dojo.isIE){var _180=_17d.split(" ");var _181=_180[1];_17f=_181.split(",");}else{_17f=_17d.split(".");}this.versionMajor=_17f[0];this.versionMinor=_17f[1];this.versionRevision=_17f[2];var _182=this.versionMajor+"."+this.versionRevision;this.version=parseFloat(_182);this.capable=true;break;}}}},_JSFlashInfo:function(_183){if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var _184=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var _185=navigator.plugins["Shockwave Flash"+_184].description;var _186=_185.split(" ");var _187=_186[2].split(".");var _188=_187[0];var _189=_187[1];if(_186[3]!=""){var _18a=_186[3].split("r");}else{var _18a=_186[4].split("r");}var _18b=_18a[1]>0?_18a[1]:0;var _18c=_188+"."+_189+"."+_18b;return _18c;}}return -1;}};dojox.flash.Embed=function(_18d){this._visible=_18d;};dojox.flash.Embed.prototype={width:215,height:138,id:"flashObject",_visible:true,protocol:function(){switch(window.location.protocol){case "https:":return "https";break;default:return "http";break;}},write:function(_18e){var _18f="";_18f+=("width: "+this.width+"px; ");_18f+=("height: "+this.height+"px; ");if(!this._visible){_18f+="position: absolute; z-index: 10000; top: -1000px; left: -1000px; ";}var _190;var _191=dojox.flash.url;var _192=_191;var _193=_191;var _194=dojo.baseUrl;if(_18e){var _195=escape(window.location);document.title=document.title.slice(0,47)+" - Flash Player Installation";var _196=escape(document.title);_192+="?MMredirectURL="+_195+"&MMplayerType=ActiveX"+"&MMdoctitle="+_196+"&baseUrl="+escape(_194);_193+="?MMredirectURL="+_195+"&MMplayerType=PlugIn"+"&baseUrl="+escape(_194);}else{_192+="?cachebust="+new Date().getTime();}if(_193.indexOf("?")==-1){_193+="?baseUrl="+escape(_194);}else{_193+="&baseUrl="+escape(_194);}_190="\n "+"\n "+"\n "+"\n "+"\n "+"\n"+"\n";dojo.connect(dojo,"loaded",dojo.hitch(this,function(){var div=document.createElement("div");div.setAttribute("id",this.id+"Container");div.setAttribute("style",_18f);div.innerHTML=_190;var body=document.getElementsByTagName("body");if(!body||!body.length){throw new Error("No body tag for this page");}body=body[0];body.appendChild(div);}));},get:function(){if(dojo.isIE||dojo.isSafari){return document.getElementById(this.id);}else{return document[this.id+"Embed"];}},setVisible:function(_199){var _19a=dojo.byId(this.id+"Container");if(_199==true){_19a.style.position="absolute";_19a.style.visibility="visible";}else{_19a.style.position="absolute";_19a.style.x="-1000px";_19a.style.y="-1000px";_19a.style.visibility="hidden";}},center:function(){var _19b=this.width;var _19c=this.height;var _19d=dijit.getViewport();var x=_19d.l+(_19d.w-_19b)/2;var y=_19d.t+(_19d.h-_19c)/2;var _1a0=dojo.byId(this.id+"Container");_1a0.style.top=y+"px";_1a0.style.left=x+"px";}};dojox.flash.Communicator=function(){};dojox.flash.Communicator.prototype={_addExternalInterfaceCallback:function(_1a1){var _1a2=dojo.hitch(this,function(){var _1a3=new Array(arguments.length);for(var i=0;i/g,">");data=data.replace("\\","&custom_backslash;");data=data.replace(/\0/g,"\\0");data=data.replace(/\"/g,""");return data;},_decodeData:function(data){if(data&&data.length&&typeof data!="string"){data=data[0];}if(!data||typeof data!="string"){return data;}data=data.replace(/\&custom_lt\;/g,"<");data=data.replace(/\&custom_gt\;/g,">");data=data.replace(/\&custom_backslash\;/g,"\\");data=data.replace(/\\0/g,"");return data;},_execFlash:function(_1a9,_1aa){var _1ab=dojox.flash.obj.get();_1aa=(_1aa)?_1aa:[];for(var i=0;i<_1aa;i++){if(typeof _1aa[i]=="string"){_1aa[i]=this._encodeData(_1aa[i]);}}var _1ad=function(){return eval(_1ab.CallFunction(""+__flash__argumentsToXML(_1aa,0)+""));};var _1ae=_1ad.call(_1aa);if(typeof _1ae=="string"){_1ae=this._decodeData(_1ae);}return _1ae;}};dojox.flash.Install=function(){};dojox.flash.Install.prototype={needed:function(){if(dojox.flash.info.capable==false){return true;}if(!dojox.flash.info.isVersionOrAbove(8,0,0)){return true;}return false;},install:function(){dojox.flash.info.installing=true;dojox.flash.installing();if(dojox.flash.info.capable==false){var _1af=new dojox.flash.Embed(false);_1af.write();}else{if(dojox.flash.info.isVersionOrAbove(6,0,65)){var _1af=new dojox.flash.Embed(false);_1af.write(true);_1af.setVisible(true);_1af.center();}else{alert("This content requires a more recent version of the Macromedia "+" Flash Player.");window.location.href=+dojox.flash.Embed.protocol()+"://www.macromedia.com/go/getflashplayer";}}},_onInstallStatus:function(msg){if(msg=="Download.Complete"){dojox.flash._initialize();}else{if(msg=="Download.Cancelled"){alert("This content requires a more recent version of the Macromedia "+" Flash Player.");window.location.href=dojox.flash.Embed.protocol()+"://www.macromedia.com/go/getflashplayer";}else{if(msg=="Download.Failed"){alert("There was an error downloading the Flash Player update. "+"Please try again later, or visit macromedia.com to download "+"the latest version of the Flash plugin.");}}}}};dojox.flash.info=new dojox.flash.Info();}if(!dojo._hasResource["dojox.flash"]){dojo._hasResource["dojox.flash"]=true;dojo.provide("dojox.flash");}if(!dojo._hasResource["dojox.storage.FlashStorageProvider"]){dojo._hasResource["dojox.storage.FlashStorageProvider"]=true;dojo.provide("dojox.storage.FlashStorageProvider");dojo.declare("dojox.storage.FlashStorageProvider",dojox.storage.Provider,{initialized:false,_available:null,_statusHandler:null,_flashReady:false,_pageReady:false,initialize:function(){if(dojo.config["disableFlashStorage"]==true){return;}dojox.flash.addLoadedListener(dojo.hitch(this,function(){this._flashReady=true;if(this._flashReady&&this._pageReady){this._loaded();}}));var _1b1=dojo.moduleUrl("dojox","storage/Storage.swf").toString();dojox.flash.setSwf(_1b1,false);dojo.connect(dojo,"loaded",this,function(){this._pageReady=true;if(this._flashReady&&this._pageReady){this._loaded();}});},setFlushDelay:function(_1b2){if(_1b2===null||typeof _1b2==="undefined"||isNaN(_1b2)){throw new Error("Invalid argunment: "+_1b2);}dojox.flash.comm.setFlushDelay(String(_1b2));},getFlushDelay:function(){return Number(dojox.flash.comm.getFlushDelay());},flush:function(_1b3){if(_1b3==null||typeof _1b3=="undefined"){_1b3=dojox.storage.DEFAULT_NAMESPACE;}dojox.flash.comm.flush(_1b3);},isAvailable:function(){return (this._available=!dojo.config["disableFlashStorage"]);},put:function(key,_1b5,_1b6,_1b7){if(!this.isValidKey(key)){throw new Error("Invalid key given: "+key);}if(!_1b7){_1b7=dojox.storage.DEFAULT_NAMESPACE;}if(!this.isValidKey(_1b7)){throw new Error("Invalid namespace given: "+_1b7);}this._statusHandler=_1b6;if(dojo.isString(_1b5)){_1b5="string:"+_1b5;}else{_1b5=dojo.toJson(_1b5);}dojox.flash.comm.put(key,_1b5,_1b7);},putMultiple:function(keys,_1b9,_1ba,_1bb){if(!this.isValidKeyArray(keys)||!_1b9 instanceof Array||keys.length!=_1b9.length){throw new Error("Invalid arguments: keys = ["+keys+"], values = ["+_1b9+"]");}if(!_1bb){_1bb=dojox.storage.DEFAULT_NAMESPACE;}if(!this.isValidKey(_1bb)){throw new Error("Invalid namespace given: "+_1bb);}this._statusHandler=_1ba;var _1bc=keys.join(",");var _1bd=[];for(var i=0;i<_1b9.length;i++){if(dojo.isString(_1b9[i])){_1b9[i]="string:"+_1b9[i];}else{_1b9[i]=dojo.toJson(_1b9[i]);}_1bd[i]=_1b9[i].length;}var _1bf=_1b9.join("");var _1c0=_1bd.join(",");dojox.flash.comm.putMultiple(_1bc,_1bf,_1c0,this.namespace);},get:function(key,_1c2){if(!this.isValidKey(key)){throw new Error("Invalid key given: "+key);}if(!_1c2){_1c2=dojox.storage.DEFAULT_NAMESPACE;}if(!this.isValidKey(_1c2)){throw new Error("Invalid namespace given: "+_1c2);}var _1c3=dojox.flash.comm.get(key,_1c2);if(_1c3==""){return null;}return this._destringify(_1c3);},getMultiple:function(keys,_1c5){if(!this.isValidKeyArray(keys)){throw new ("Invalid key array given: "+keys);}if(!_1c5){_1c5=dojox.storage.DEFAULT_NAMESPACE;}if(!this.isValidKey(_1c5)){throw new Error("Invalid namespace given: "+_1c5);}var _1c6=keys.join(",");var _1c7=dojox.flash.comm.getMultiple(_1c6,this.namespace);var _1c8=eval("("+_1c7+")");for(var i=0;i<_1c8.length;i++){_1c8[i]=(_1c8[i]=="")?null:this._destringify(_1c8[i]);}return _1c8;},_destringify:function(_1ca){if(dojo.isString(_1ca)&&(/^string:/.test(_1ca))){_1ca=_1ca.substring("string:".length);}else{_1ca=dojo.fromJson(_1ca);}return _1ca;},getKeys:function(_1cb){if(!_1cb){_1cb=dojox.storage.DEFAULT_NAMESPACE;}if(!this.isValidKey(_1cb)){throw new Error("Invalid namespace given: "+_1cb);}var _1cc=dojox.flash.comm.getKeys(_1cb);if(_1cc==null||_1cc=="null"){_1cc="";}_1cc=_1cc.split(",");_1cc.sort();return _1cc;},getNamespaces:function(){var _1cd=dojox.flash.comm.getNamespaces();if(_1cd==null||_1cd=="null"){_1cd=dojox.storage.DEFAULT_NAMESPACE;}_1cd=_1cd.split(",");_1cd.sort();return _1cd;},clear:function(_1ce){if(!_1ce){_1ce=dojox.storage.DEFAULT_NAMESPACE;}if(!this.isValidKey(_1ce)){throw new Error("Invalid namespace given: "+_1ce);}dojox.flash.comm.clear(_1ce);},remove:function(key,_1d0){if(!_1d0){_1d0=dojox.storage.DEFAULT_NAMESPACE;}if(!this.isValidKey(_1d0)){throw new Error("Invalid namespace given: "+_1d0);}dojox.flash.comm.remove(key,_1d0);},removeMultiple:function(keys,_1d2){if(!this.isValidKeyArray(keys)){dojo.raise("Invalid key array given: "+keys);}if(!_1d2){_1d2=dojox.storage.DEFAULT_NAMESPACE;}if(!this.isValidKey(_1d2)){throw new Error("Invalid namespace given: "+_1d2);}var _1d3=keys.join(",");dojox.flash.comm.removeMultiple(_1d3,this.namespace);},isPermanent:function(){return true;},getMaximumSize:function(){return dojox.storage.SIZE_NO_LIMIT;},hasSettingsUI:function(){return true;},showSettingsUI:function(){dojox.flash.comm.showSettings();dojox.flash.obj.setVisible(true);dojox.flash.obj.center();},hideSettingsUI:function(){dojox.flash.obj.setVisible(false);if(dojo.isFunction(dojox.storage.onHideSettingsUI)){dojox.storage.onHideSettingsUI.call(null);}},getResourceList:function(){return [];},_loaded:function(){this._allNamespaces=this.getNamespaces();this.initialized=true;dojox.storage.manager.loaded();},_onStatus:function(_1d4,key,_1d6){var ds=dojox.storage;var dfo=dojox.flash.obj;if(_1d4==ds.PENDING){dfo.center();dfo.setVisible(true);}else{dfo.setVisible(false);}if(ds._statusHandler){ds._statusHandler.call(null,_1d4,key,_1d6);}}});dojox.storage.manager.register("dojox.storage.FlashStorageProvider",new dojox.storage.FlashStorageProvider());}if(!dojo._hasResource["dojox.storage._common"]){dojo._hasResource["dojox.storage._common"]=true;dojo.provide("dojox.storage._common");dojox.storage.manager.initialize();}if(!dojo._hasResource["dojox.storage"]){dojo._hasResource["dojox.storage"]=true;dojo.provide("dojox.storage");}if(!dojo._hasResource["dojox.off.files"]){dojo._hasResource["dojox.off.files"]=true;dojo.provide("dojox.off.files");dojox.off.files={versionURL:"version.js",listOfURLs:[],refreshing:false,_cancelID:null,_error:false,_errorMessages:[],_currentFileIndex:0,_store:null,_doSlurp:false,slurp:function(){this._doSlurp=true;},cache:function(_1d9){if(dojo.isString(_1d9)){var url=this._trimAnchor(_1d9+"");if(!this.isAvailable(url)){this.listOfURLs.push(url);}}else{if(_1d9 instanceof dojo._Url){var url=this._trimAnchor(_1d9.uri);if(!this.isAvailable(url)){this.listOfURLs.push(url);}}else{dojo.forEach(_1d9,function(url){url=this._trimAnchor(url);if(!this.isAvailable(url)){this.listOfURLs.push(url);}},this);}}},printURLs:function(){console.debug("The following URLs are cached for offline use:");dojo.forEach(this.listOfURLs,function(i){console.debug(i);});},remove:function(url){for(var i=0;i=64){_1f9=_1f9.substring(0,63);}_1f8.removeStore(_1f9);_1f8.openStore(_1f9);var _1fa=_1f8.createStore(_1f9);this._store=_1fa;var self=this;this._currentFileIndex=0;this._cancelID=_1fa.capture(this.listOfURLs,function(url,_1fd,_1fe){if(!_1fd&&self.refreshing){self._cancelID=null;self.refreshing=false;var _1ff=[];_1ff.push("Unable to capture: "+url);_1f6(true,_1ff);return;}else{if(_1fd){self._currentFileIndex++;}}if(_1fd&&self._currentFileIndex>=self.listOfURLs.length){self._cancelID=null;self.refreshing=false;if(_1f7){dojox.storage.put("oldVersion",_1f7,null,dojox.off.STORAGE_NAMESPACE);}dojox.storage.put("justDebugged",dojo.config.isDebug,null,dojox.off.STORAGE_NAMESPACE);_1f6(false,[]);}});},_getVersionInfo:function(_200){var _201=dojox.storage.get("justDebugged",dojox.off.STORAGE_NAMESPACE);var _202=dojox.storage.get("oldVersion",dojox.off.STORAGE_NAMESPACE);var _203=null;_200=dojo.hitch(this,_200);dojo.xhrGet({url:this.versionURL+"?browserbust="+new Date().getTime(),timeout:5*1000,handleAs:"javascript",error:function(err){dojox.storage.remove("oldVersion",dojox.off.STORAGE_NAMESPACE);dojox.storage.remove("justDebugged",dojox.off.STORAGE_NAMESPACE);_200(_202,_203,_201);},load:function(data){if(data){_203=data;}_200(_202,_203,_201);}});}};}if(!dojo._hasResource["dojox.off.sync"]){dojo._hasResource["dojox.off.sync"]=true;dojo.provide("dojox.off.sync");dojo.mixin(dojox.off.sync,{isSyncing:false,cancelled:false,successful:true,details:[],error:false,actions:null,autoSync:true,onSync:function(type){},synchronize:function(){if(this.isSyncing||dojox.off.goingOnline||(!dojox.off.isOnline)){return;}this.isSyncing=true;this.successful=false;this.details=[];this.cancelled=false;this.start();},cancel:function(){if(!this.isSyncing){return;}this.cancelled=true;if(dojox.off.files.refreshing){dojox.off.files.abortRefresh();}this.onSync("cancel");},finishedDownloading:function(_207,_208){if(typeof _207=="undefined"){_207=true;}if(!_207){this.successful=false;this.details.push(_208);this.error=true;}this.finished();},start:function(){if(this.cancelled){this.finished();return;}this.onSync("start");this.refreshFiles();},refreshFiles:function(){if(this.cancelled){this.finished();return;}this.onSync("refreshFiles");dojox.off.files.refresh(dojo.hitch(this,function(_209,_20a){if(_209){this.error=true;this.successful=false;for(var i=0;i<_20a.length;i++){this.details.push(_20a[i]);}}this.upload();}));},upload:function(){if(this.cancelled){this.finished();return;}this.onSync("upload");dojo.connect(this.actions,"onReplayFinished",this,this.download);this.actions.replay();},download:function(){if(this.cancelled){this.finished();return;}this.onSync("download");},finished:function(){this.isSyncing=false;this.successful=(!this.cancelled&&!this.error);this.onSync("finished");},_save:function(_20c){this.actions._save(function(){_20c();});},_load:function(_20d){this.actions._load(function(){_20d();});}});dojo.declare("dojox.off.sync.ActionLog",null,{entries:[],reasonHalted:null,isReplaying:false,autoSave:true,add:function(_20e){if(this.isReplaying){throw "Programming error: you can not call "+"dojox.off.sync.actions.add() while "+"we are replaying an action log";}this.entries.push(_20e);if(this.autoSave){this._save();}},onReplay:function(_20f,_210){},length:function(){return this.entries.length;},haltReplay:function(_211){if(!this.isReplaying){return;}if(_211){this.reasonHalted=_211.toString();}if(this.autoSave){var self=this;this._save(function(){self.isReplaying=false;self.onReplayFinished();});}else{this.isReplaying=false;this.onReplayFinished();}},continueReplay:function(){if(!this.isReplaying){return;}this.entries.shift();if(!this.entries.length){if(this.autoSave){var self=this;this._save(function(){self.isReplaying=false;self.onReplayFinished();});return;}else{this.isReplaying=false;this.onReplayFinished();return;}}var _214=this.entries[0];this.onReplay(_214,this);},clear:function(){if(this.isReplaying){return;}this.entries=[];if(this.autoSave){this._save();}},replay:function(){if(this.isReplaying){return;}this.reasonHalted=null;if(!this.entries.length){this.onReplayFinished();return;}this.isReplaying=true;var _215=this.entries[0];this.onReplay(_215,this);},onReplayFinished:function(){},toString:function(){var _216="";_216+="[";for(var i=0;i";html+=dojox.off.sync.details[i];html+="";}html+="
                        \n";html+=""+"Close Window"+"\n";html+="";var _24c="height=400,width=600,resizable=true,"+"scrollbars=true,toolbar=no,menubar=no,"+"location=no,directories=no,dependent=yes";var _24d=window.open("","SyncDetails",_24c);if(!_24d){alert("Please allow popup windows for this domain; can't display sync details window");return;}_24d.document.open();_24d.document.write(html);_24d.document.close();if(_24d.focus){_24d.focus();}},_cancel:function(evt){evt.preventDefault();evt.stopPropagation();dojox.off.sync.cancel();},_needsBrowserRestart:function(){var _24f=dojo.byId("dot-widget-browser-restart");if(_24f){dojo.addClass(_24f,"dot-needs-browser-restart");}var _250=dojo.byId("dot-widget-browser-restart-app-name");if(_250){_250.innerHTML="";_250.appendChild(document.createTextNode(this.appName));}var _251=dojo.byId("dot-sync-status");if(_251){_251.style.display="none";}},_showNeedsOfflineCache:function(){var _252=dojo.byId("dot-widget-container");if(_252){dojo.addClass(_252,"dot-needs-offline-cache");}},_hideNeedsOfflineCache:function(){var _253=dojo.byId("dot-widget-container");if(_253){dojo.removeClass(_253,"dot-needs-offline-cache");}},_initMainEvtHandlers:function(){var _254=dojo.byId("dot-sync-details-button");if(_254){dojo.connect(_254,"onclick",this,this._showDetails);}var _255=dojo.byId("dot-sync-cancel-button");if(_255){dojo.connect(_255,"onclick",this,this._cancel);}},_setOfflineEnabled:function(_256){var _257=[];_257.push(dojo.byId("dot-sync-status"));for(var i=0;i<_257.length;i++){if(_257[i]){_257[i].style.visibility=(_256?"visible":"hidden");}}},_syncFinished:function(){this._updateSyncUI();var _259=dojo.byId("dot-success-checkmark");var _25a=dojo.byId("dot-sync-details");if(dojox.off.sync.successful==true){this._setSyncMessage("Sync Successful");if(_259){_259.style.display="inline";}}else{if(dojox.off.sync.cancelled==true){this._setSyncMessage("Sync Cancelled");if(_259){_259.style.display="none";}}else{this._setSyncMessage("Sync Error");var _25b=dojo.byId("dot-sync-messages");if(_25b){dojo.addClass(_25b,"dot-sync-error");}if(_259){_259.style.display="none";}}}if(dojox.off.sync.details.length&&_25a){_25a.style.display="inline";}},_onFrameworkEvent:function(type,_25d){if(type=="save"){if(_25d.status==dojox.storage.FAILED&&!_25d.isCoreSave){alert("Please increase the amount of local storage available "+"to this application");if(dojox.storage.hasSettingsUI()){dojox.storage.showSettingsUI();}}}else{if(type=="coreOperationFailed"){console.log("Application does not have permission to use Dojo Offline");if(!this._userInformed){alert("This application will not work if Google Gears is not allowed to run");this._userInformed=true;}}else{if(type=="offlineCacheInstalled"){this._hideNeedsOfflineCache();if(dojox.off.hasOfflineCache==true&&dojox.off.browserRestart==true){this._needsBrowserRestart();return;}else{var _25e=dojo.byId("dot-widget-browser-restart");if(_25e){_25e.style.display="none";}}this._updateSyncUI();this._initMainEvtHandlers();this._setOfflineEnabled(dojox.off.enabled);this._testNet();}}}},_onSync:function(type){switch(type){case "start":this._updateSyncUI();break;case "refreshFiles":this._setSyncMessage("Downloading UI...");break;case "upload":this._setSyncMessage("Uploading new data...");break;case "download":this._setSyncMessage("Downloading new data...");break;case "finished":this._syncFinished();break;case "cancel":this._setSyncMessage("Canceling Sync...");break;default:dojo.warn("Programming error: "+"Unknown sync type in dojox.off.ui: "+type);break;}},_onNetwork:function(type){if(!this._initialized){return;}this._updateNetIndicator();if(type=="offline"){this._setSyncMessage("You are working offline");var _261=dojo.byId("dot-sync-details");if(_261){_261.style.display="none";}this._updateSyncUI();}else{if(dojox.off.sync.autoSync){if(dojo.isAIR){window.setTimeout(function(){dojox.off.sync.synchronize();},1000);}else{window.setTimeout(dojox._scopeName+".off.sync.synchronize()",1000);}}}}});dojo.connect(dojox.off,"onFrameworkEvent",dojox.off.ui,"_onFrameworkEvent");dojo.connect(dojox.off,"onLoad",dojox.off.ui,dojox.off.ui._initialize);}if(!dojo._hasResource["dojox.off.offline"]){dojo._hasResource["dojox.off.offline"]=true;dojo.provide("dojox.off.offline");} diff --git a/includes/js/dojox/off/offline.js.uncompressed.js b/includes/js/dojox/off/offline.js.uncompressed.js deleted file mode 100644 index aa2866d..0000000 --- a/includes/js/dojox/off/offline.js.uncompressed.js +++ /dev/null @@ -1,5910 +0,0 @@ -/* - Copyright (c) 2004-2008, The Dojo Foundation - All Rights Reserved. - - Licensed under the Academic Free License version 2.1 or above OR the - modified BSD license. For more information on Dojo licensing, see: - - http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing -*/ - -/* - This is a compiled version of Dojo, built for deployment and not for - development. To get an editable version, please visit: - - http://dojotoolkit.org - - for documentation and information on getting the source. -*/ - -if(!dojo._hasResource["dojox.storage.Provider"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.storage.Provider"] = true; -dojo.provide("dojox.storage.Provider"); - -dojo.declare("dojox.storage.Provider", null, { - // summary: A singleton for working with dojox.storage. - // description: - // dojox.storage exposes the current available storage provider on this - // platform. It gives you methods such as dojox.storage.put(), - // dojox.storage.get(), etc. - // - // For more details on dojox.storage, see the primary documentation - // page at - // http://manual.dojotoolkit.org/storage.html - // - // Note for storage provider developers who are creating subclasses- - // This is the base class for all storage providers Specific kinds of - // Storage Providers should subclass this and implement these methods. - // You should avoid initialization in storage provider subclass's - // constructor; instead, perform initialization in your initialize() - // method. - constructor: function(){ - }, - - // SUCCESS: String - // Flag that indicates a put() call to a - // storage provider was succesful. - SUCCESS: "success", - - // FAILED: String - // Flag that indicates a put() call to - // a storage provider failed. - FAILED: "failed", - - // PENDING: String - // Flag that indicates a put() call to a - // storage provider is pending user approval. - PENDING: "pending", - - // SIZE_NOT_AVAILABLE: String - // Returned by getMaximumSize() if this storage provider can not determine - // the maximum amount of data it can support. - SIZE_NOT_AVAILABLE: "Size not available", - - // SIZE_NO_LIMIT: String - // Returned by getMaximumSize() if this storage provider has no theoretical - // limit on the amount of data it can store. - SIZE_NO_LIMIT: "No size limit", - - // DEFAULT_NAMESPACE: String - // The namespace for all storage operations. This is useful if several - // applications want access to the storage system from the same domain but - // want different storage silos. - DEFAULT_NAMESPACE: "default", - - // onHideSettingsUI: Function - // If a function is assigned to this property, then when the settings - // provider's UI is closed this function is called. Useful, for example, - // if the user has just cleared out all storage for this provider using - // the settings UI, and you want to update your UI. - onHideSettingsUI: null, - - initialize: function(){ - // summary: - // Allows this storage provider to initialize itself. This is - // called after the page has finished loading, so you can not do - // document.writes(). Storage Provider subclasses should initialize - // themselves inside of here rather than in their function - // constructor. - console.warn("dojox.storage.initialize not implemented"); - }, - - isAvailable: function(){ /*Boolean*/ - // summary: - // Returns whether this storage provider is available on this - // platform. - console.warn("dojox.storage.isAvailable not implemented"); - }, - - put: function( /*string*/ key, - /*object*/ value, - /*function*/ resultsHandler, - /*string?*/ namespace){ - // summary: - // Puts a key and value into this storage system. - // description: - // Example- - // var resultsHandler = function(status, key, message){ - // alert("status="+status+", key="+key+", message="+message); - // }; - // dojox.storage.put("test", "hello world", resultsHandler); - // - // Important note: if you are using Dojo Storage in conjunction with - // Dojo Offline, then you don't need to provide - // a resultsHandler; this is because for Dojo Offline we - // use Google Gears to persist data, which has unlimited data - // once the user has given permission. If you are using Dojo - // Storage apart from Dojo Offline, then under the covers hidden - // Flash might be used, which is both asychronous and which might - // get denied; in this case you must provide a resultsHandler. - // key: - // A string key to use when retrieving this value in the future. - // value: - // A value to store; this can be any JavaScript type. - // resultsHandler: - // A callback function that will receive three arguments. The - // first argument is one of three values: dojox.storage.SUCCESS, - // dojox.storage.FAILED, or dojox.storage.PENDING; these values - // determine how the put request went. In some storage systems - // users can deny a storage request, resulting in a - // dojox.storage.FAILED, while in other storage systems a storage - // request must wait for user approval, resulting in a - // dojox.storage.PENDING status until the request is either - // approved or denied, resulting in another call back with - // dojox.storage.SUCCESS. - // The second argument in the call back is the key name that was being stored. - // The third argument in the call back is an optional message that - // details possible error messages that might have occurred during - // the storage process. - // namespace: - // Optional string namespace that this value will be placed into; - // if left off, the value will be placed into dojox.storage.DEFAULT_NAMESPACE - - console.warn("dojox.storage.put not implemented"); - }, - - get: function(/*string*/ key, /*string?*/ namespace){ /*Object*/ - // summary: - // Gets the value with the given key. Returns null if this key is - // not in the storage system. - // key: - // A string key to get the value of. - // namespace: - // Optional string namespace that this value will be retrieved from; - // if left off, the value will be retrieved from dojox.storage.DEFAULT_NAMESPACE - // return: Returns any JavaScript object type; null if the key is not present - console.warn("dojox.storage.get not implemented"); - }, - - hasKey: function(/*string*/ key, /*string?*/ namespace){ - // summary: Determines whether the storage has the given key. - return !!this.get(key, namespace); // Boolean - }, - - getKeys: function(/*string?*/ namespace){ /*Array*/ - // summary: Enumerates all of the available keys in this storage system. - // return: Array of available keys - console.warn("dojox.storage.getKeys not implemented"); - }, - - clear: function(/*string?*/ namespace){ - // summary: - // Completely clears this storage system of all of it's values and - // keys. If 'namespace' is provided just clears the keys in that - // namespace. - console.warn("dojox.storage.clear not implemented"); - }, - - remove: function(/*string*/ key, /*string?*/ namespace){ - // summary: Removes the given key from this storage system. - console.warn("dojox.storage.remove not implemented"); - }, - - getNamespaces: function(){ /*string[]*/ - console.warn("dojox.storage.getNamespaces not implemented"); - }, - - isPermanent: function(){ /*Boolean*/ - // summary: - // Returns whether this storage provider's values are persisted - // when this platform is shutdown. - console.warn("dojox.storage.isPermanent not implemented"); - }, - - getMaximumSize: function(){ /* mixed */ - // summary: The maximum storage allowed by this provider - // returns: - // Returns the maximum storage size - // supported by this provider, in - // thousands of bytes (i.e., if it - // returns 60 then this means that 60K - // of storage is supported). - // - // If this provider can not determine - // it's maximum size, then - // dojox.storage.SIZE_NOT_AVAILABLE is - // returned; if there is no theoretical - // limit on the amount of storage - // this provider can return, then - // dojox.storage.SIZE_NO_LIMIT is - // returned - console.warn("dojox.storage.getMaximumSize not implemented"); - }, - - putMultiple: function( /*array*/ keys, - /*array*/ values, - /*function*/ resultsHandler, - /*string?*/ namespace){ - // summary: - // Puts multiple keys and values into this storage system. - // description: - // Example- - // var resultsHandler = function(status, key, message){ - // alert("status="+status+", key="+key+", message="+message); - // }; - // dojox.storage.put(["test"], ["hello world"], resultsHandler); - // - // Important note: if you are using Dojo Storage in conjunction with - // Dojo Offline, then you don't need to provide - // a resultsHandler; this is because for Dojo Offline we - // use Google Gears to persist data, which has unlimited data - // once the user has given permission. If you are using Dojo - // Storage apart from Dojo Offline, then under the covers hidden - // Flash might be used, which is both asychronous and which might - // get denied; in this case you must provide a resultsHandler. - // keys: - // An array of string keys to use when retrieving this value in the future, - // one per value to be stored - // values: - // An array of values to store; this can be any JavaScript type, though the - // performance of plain strings is considerably better - // resultsHandler: - // A callback function that will receive three arguments. The - // first argument is one of three values: dojox.storage.SUCCESS, - // dojox.storage.FAILED, or dojox.storage.PENDING; these values - // determine how the put request went. In some storage systems - // users can deny a storage request, resulting in a - // dojox.storage.FAILED, while in other storage systems a storage - // request must wait for user approval, resulting in a - // dojox.storage.PENDING status until the request is either - // approved or denied, resulting in another call back with - // dojox.storage.SUCCESS. - // The second argument in the call back is the key name that was being stored. - // The third argument in the call back is an optional message that - // details possible error messages that might have occurred during - // the storage process. - // namespace: - // Optional string namespace that this value will be placed into; - // if left off, the value will be placed into dojox.storage.DEFAULT_NAMESPACE - - console.warn("dojox.storage.putMultiple not implemented"); - // JAC: We could implement a 'default' puMultiple here by just doing - // each put individually - }, - - getMultiple: function(/*array*/ keys, /*string?*/ namespace){ /*Object*/ - // summary: - // Gets the valuse corresponding to each of the given keys. - // Returns a null array element for each given key that is - // not in the storage system. - // keys: - // An array of string keys to get the value of. - // namespace: - // Optional string namespace that this value will be retrieved from; - // if left off, the value will be retrieved from dojox.storage.DEFAULT_NAMESPACE - // return: Returns any JavaScript object type; null if the key is not present - - console.warn("dojox.storage.getMultiple not implemented"); - // JAC: We could implement a 'default' getMultiple here by just - // doing each get individually - }, - - removeMultiple: function(/*array*/ keys, /*string?*/ namespace) { - // summary: Removes the given keys from this storage system. - - // JAC: We could implement a 'default' removeMultiple here by just - // doing each remove individually - console.warn("dojox.storage.remove not implemented"); - }, - - isValidKeyArray: function( keys) { - if(keys === null || keys === undefined || !dojo.isArray(keys)){ - return false; - } - - // JAC: This could be optimized by running the key validity test - // directly over a joined string - return !dojo.some(keys, function(key){ - return !this.isValidKey(key); - }); // Boolean - }, - - hasSettingsUI: function(){ /*Boolean*/ - // summary: Determines whether this provider has a settings UI. - return false; - }, - - showSettingsUI: function(){ - // summary: If this provider has a settings UI, determined - // by calling hasSettingsUI(), it is shown. - console.warn("dojox.storage.showSettingsUI not implemented"); - }, - - hideSettingsUI: function(){ - // summary: If this provider has a settings UI, hides it. - console.warn("dojox.storage.hideSettingsUI not implemented"); - }, - - isValidKey: function(/*string*/ keyName){ /*Boolean*/ - // summary: - // Subclasses can call this to ensure that the key given is valid - // in a consistent way across different storage providers. We use - // the lowest common denominator for key values allowed: only - // letters, numbers, and underscores are allowed. No spaces. - if(keyName === null || keyName === undefined){ - return false; - } - - return /^[0-9A-Za-z_]*$/.test(keyName); - }, - - getResourceList: function(){ /* Array[] */ - // summary: - // Returns a list of URLs that this - // storage provider might depend on. - // description: - // This method returns a list of URLs that this - // storage provider depends on to do its work. - // This list is used by the Dojo Offline Toolkit - // to cache these resources to ensure the machinery - // used by this storage provider is available offline. - // What is returned is an array of URLs. - // Note that Dojo Offline uses Gears as its native - // storage provider, and does not support using other - // kinds of storage providers while offline anymore. - - return []; - } -}); - -} - -if(!dojo._hasResource["dojox.storage.manager"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.storage.manager"] = true; -dojo.provide("dojox.storage.manager"); -//dojo.require("dojo.AdapterRegistry"); -// FIXME: refactor this to use an AdapterRegistry - -dojox.storage.manager = new function(){ - // summary: A singleton class in charge of the dojox.storage system - // description: - // Initializes the storage systems and figures out the best available - // storage options on this platform. - - // currentProvider: Object - // The storage provider that was automagically chosen to do storage - // on this platform, such as dojox.storage.FlashStorageProvider. - this.currentProvider = null; - - // available: Boolean - // Whether storage of some kind is available. - this.available = false; - - // providers: Array - // Array of all the static provider instances, useful if you want to - // loop through and see what providers have been registered. - this.providers = []; - - this._initialized = false; - - this._onLoadListeners = []; - - this.initialize = function(){ - // summary: - // Initializes the storage system and autodetects the best storage - // provider we can provide on this platform - this.autodetect(); - }; - - this.register = function(/*string*/ name, /*Object*/ instance){ - // summary: - // Registers the existence of a new storage provider; used by - // subclasses to inform the manager of their existence. The - // storage manager will select storage providers based on - // their ordering, so the order in which you call this method - // matters. - // name: - // The full class name of this provider, such as - // "dojox.storage.FlashStorageProvider". - // instance: - // An instance of this provider, which we will use to call - // isAvailable() on. - - // keep list of providers as a list so that we can know what order - // storage providers are preferred; also, store the providers hashed - // by name in case someone wants to get a provider that uses - // a particular storage backend - this.providers.push(instance); - this.providers[name] = instance; - }; - - this.setProvider = function(storageClass){ - // summary: - // Instructs the storageManager to use the given storage class for - // all storage requests. - // description: - // Example- - // dojox.storage.setProvider( - // dojox.storage.IEStorageProvider) - - }; - - this.autodetect = function(){ - // summary: - // Autodetects the best possible persistent storage provider - // available on this platform. - - //console.debug("dojox.storage.manager.autodetect"); - - if(this._initialized){ // already finished - return; - } - - // a flag to force the storage manager to use a particular - // storage provider type, such as - // djConfig = {forceStorageProvider: "dojox.storage.WhatWGStorageProvider"}; - var forceProvider = dojo.config["forceStorageProvider"] || false; - - // go through each provider, seeing if it can be used - var providerToUse; - //FIXME: use dojo.some - for(var i = 0; i < this.providers.length; i++){ - providerToUse = this.providers[i]; - if(forceProvider && forceProvider == providerToUse.declaredClass){ - // still call isAvailable for this provider, since this helps some - // providers internally figure out if they are available - // FIXME: This should be refactored since it is non-intuitive - // that isAvailable() would initialize some state - providerToUse.isAvailable(); - break; - }else if(!forceProvider && providerToUse.isAvailable()){ - break; - } - } - - if(!providerToUse){ // no provider available - this._initialized = true; - this.available = false; - this.currentProvider = null; - console.warn("No storage provider found for this platform"); - this.loaded(); - return; - } - - // create this provider and mix in it's properties - // so that developers can do dojox.storage.put rather - // than dojox.storage.currentProvider.put, for example - this.currentProvider = providerToUse; - dojo.mixin(dojox.storage, this.currentProvider); - - // have the provider initialize itself - dojox.storage.initialize(); - - this._initialized = true; - this.available = true; - }; - - this.isAvailable = function(){ /*Boolean*/ - // summary: Returns whether any storage options are available. - return this.available; - }; - - this.addOnLoad = function(func){ /* void */ - // summary: - // Adds an onload listener to know when Dojo Offline can be used. - // description: - // Adds a listener to know when Dojo Offline can be used. This - // ensures that the Dojo Offline framework is loaded and that the - // local dojox.storage system is ready to be used. This method is - // useful if you don't want to have a dependency on Dojo Events - // when using dojox.storage. - // func: Function - // A function to call when Dojo Offline is ready to go - this._onLoadListeners.push(func); - - if(this.isInitialized()){ - this._fireLoaded(); - } - }; - - this.removeOnLoad = function(func){ /* void */ - // summary: Removes the given onLoad listener - for(var i = 0; i < this._onLoadListeners.length; i++){ - if(func == this._onLoadListeners[i]){ - this._onLoadListeners = this._onLoadListeners.splice(i, 1); - break; - } - } - }; - - this.isInitialized = function(){ /*Boolean*/ - // summary: - // Returns whether the storage system is initialized and ready to - // be used. - - // FIXME: This should REALLY not be in here, but it fixes a tricky - // Flash timing bug. - // Confirm that this is still needed with the newly refactored Dojo - // Flash. Used to be for Internet Explorer. -- Brad Neuberg - if(this.currentProvider != null - && this.currentProvider.declaredClass == "dojox.storage.FlashStorageProvider" - && dojox.flash.ready == false){ - return false; - }else{ - return this._initialized; - } - }; - - this.supportsProvider = function(/*string*/ storageClass){ /* Boolean */ - // summary: Determines if this platform supports the given storage provider. - // description: - // Example- - // dojox.storage.manager.supportsProvider( - // "dojox.storage.InternetExplorerStorageProvider"); - - // construct this class dynamically - try{ - // dynamically call the given providers class level isAvailable() - // method - var provider = eval("new " + storageClass + "()"); - var results = provider.isAvailable(); - if(!results){ return false; } - return results; - }catch(e){ - return false; - } - }; - - this.getProvider = function(){ /* Object */ - // summary: Gets the current provider - return this.currentProvider; - }; - - this.loaded = function(){ - // summary: - // The storage provider should call this method when it is loaded - // and ready to be used. Clients who will use the provider will - // connect to this method to know when they can use the storage - // system. You can either use dojo.connect to connect to this - // function, or can use dojox.storage.manager.addOnLoad() to add - // a listener that does not depend on the dojo.event package. - // description: - // Example 1- - // if(dojox.storage.manager.isInitialized() == false){ - // dojo.connect(dojox.storage.manager, "loaded", TestStorage, "initialize"); - // }else{ - // dojo.connect(dojo, "loaded", TestStorage, "initialize"); - // } - // Example 2- - // dojox.storage.manager.addOnLoad(someFunction); - - - // FIXME: we should just provide a Deferred for this. That way you - // don't care when this happens or has happened. Deferreds are in Base - this._fireLoaded(); - }; - - this._fireLoaded = function(){ - //console.debug("dojox.storage.manager._fireLoaded"); - - dojo.forEach(this._onLoadListeners, function(i){ - try{ - i(); - }catch(e){ console.debug(e); } - }); - }; - - this.getResourceList = function(){ - // summary: - // Returns a list of whatever resources are necessary for storage - // providers to work. - // description: - // This will return all files needed by all storage providers for - // this particular environment type. For example, if we are in the - // browser environment, then this will return the hidden SWF files - // needed by the FlashStorageProvider, even if we don't need them - // for the particular browser we are working within. This is meant - // to faciliate Dojo Offline, which must retrieve all resources we - // need offline into the offline cache -- we retrieve everything - // needed, in case another browser that requires different storage - // mechanisms hits the local offline cache. For example, if we - // were to sync against Dojo Offline on Firefox 2, then we would - // not grab the FlashStorageProvider resources needed for Safari. - var results = []; - dojo.forEach(dojox.storage.manager.providers, function(currentProvider){ - results = results.concat(currentProvider.getResourceList()); - }); - - return results; - } -}; - -} - -if(!dojo._hasResource["dojox._sql._crypto"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox._sql._crypto"] = true; -// Taken from http://www.movable-type.co.uk/scripts/aes.html by -// Chris Veness (CLA signed); adapted for Dojo and Google Gears Worker Pool -// by Brad Neuberg, bkn3@columbia.edu - -dojo.provide("dojox._sql._crypto"); - -dojo.mixin(dojox._sql._crypto,{ - // _POOL_SIZE: - // Size of worker pool to create to help with crypto - _POOL_SIZE: 100, - - encrypt: function(plaintext, password, callback){ - // summary: - // Use Corrected Block TEA to encrypt plaintext using password - // (note plaintext & password must be strings not string objects). - // Results will be returned to the 'callback' asychronously. - this._initWorkerPool(); - - var msg ={plaintext: plaintext, password: password}; - msg = dojo.toJson(msg); - msg = "encr:" + String(msg); - - this._assignWork(msg, callback); - }, - - decrypt: function(ciphertext, password, callback){ - // summary: - // Use Corrected Block TEA to decrypt ciphertext using password - // (note ciphertext & password must be strings not string objects). - // Results will be returned to the 'callback' asychronously. - this._initWorkerPool(); - - var msg ={ciphertext: ciphertext, password: password}; - msg = dojo.toJson(msg); - msg = "decr:" + String(msg); - - this._assignWork(msg, callback); - }, - - _initWorkerPool: function(){ - // bugs in Google Gears prevents us from dynamically creating - // and destroying workers as we need them -- the worker - // pool functionality stops working after a number of crypto - // cycles (probably related to a memory leak in Google Gears). - // this is too bad, since it results in much simpler code. - - // instead, we have to create a pool of workers and reuse them. we - // keep a stack of 'unemployed' Worker IDs that are currently not working. - // if a work request comes in, we pop off the 'unemployed' stack - // and put them to work, storing them in an 'employed' hashtable, - // keyed by their Worker ID with the value being the callback function - // that wants the result. when an employed worker is done, we get - // a message in our 'manager' which adds this worker back to the - // unemployed stack and routes the result to the callback that - // wanted it. if all the workers were employed in the past but - // more work needed to be done (i.e. it's a tight labor pool ;) - // then the work messages are pushed onto - // a 'handleMessage' queue as an object tuple{msg: msg, callback: callback} - - if(!this._manager){ - try{ - this._manager = google.gears.factory.create("beta.workerpool", "1.0"); - this._unemployed = []; - this._employed ={}; - this._handleMessage = []; - - var self = this; - this._manager.onmessage = function(msg, sender){ - // get the callback necessary to serve this result - var callback = self._employed["_" + sender]; - - // make this worker unemployed - self._employed["_" + sender] = undefined; - self._unemployed.push("_" + sender); - - // see if we need to assign new work - // that was queued up needing to be done - if(self._handleMessage.length){ - var handleMe = self._handleMessage.shift(); - self._assignWork(handleMe.msg, handleMe.callback); - } - - // return results - callback(msg); - } - - var workerInit = "function _workerInit(){" - + "gearsWorkerPool.onmessage = " - + String(this._workerHandler) - + ";" - + "}"; - - var code = workerInit + " _workerInit();"; - - // create our worker pool - for(var i = 0; i < this._POOL_SIZE; i++){ - this._unemployed.push("_" + this._manager.createWorker(code)); - } - }catch(exp){ - throw exp.message||exp; - } - } - }, - - _assignWork: function(msg, callback){ - // can we immediately assign this work? - if(!this._handleMessage.length && this._unemployed.length){ - // get an unemployed worker - var workerID = this._unemployed.shift().substring(1); // remove _ - - // list this worker as employed - this._employed["_" + workerID] = callback; - - // do the worke - this._manager.sendMessage(msg, workerID); - }else{ - // we have to queue it up - this._handleMessage ={msg: msg, callback: callback}; - } - }, - - _workerHandler: function(msg, sender){ - - /* Begin AES Implementation */ - - /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ - - // Sbox is pre-computed multiplicative inverse in GF(2^8) used in SubBytes and KeyExpansion [§5.1.1] - var Sbox = [0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x01,0x67,0x2b,0xfe,0xd7,0xab,0x76, - 0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0, - 0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15, - 0x04,0xc7,0x23,0xc3,0x18,0x96,0x05,0x9a,0x07,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75, - 0x09,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84, - 0x53,0xd1,0x00,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf, - 0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x02,0x7f,0x50,0x3c,0x9f,0xa8, - 0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2, - 0xcd,0x0c,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73, - 0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0x0b,0xdb, - 0xe0,0x32,0x3a,0x0a,0x49,0x06,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79, - 0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x08, - 0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a, - 0x70,0x3e,0xb5,0x66,0x48,0x03,0xf6,0x0e,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e, - 0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf, - 0x8c,0xa1,0x89,0x0d,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0x0f,0xb0,0x54,0xbb,0x16]; - - // Rcon is Round Constant used for the Key Expansion [1st col is 2^(r-1) in GF(2^8)] [§5.2] - var Rcon = [ [0x00, 0x00, 0x00, 0x00], - [0x01, 0x00, 0x00, 0x00], - [0x02, 0x00, 0x00, 0x00], - [0x04, 0x00, 0x00, 0x00], - [0x08, 0x00, 0x00, 0x00], - [0x10, 0x00, 0x00, 0x00], - [0x20, 0x00, 0x00, 0x00], - [0x40, 0x00, 0x00, 0x00], - [0x80, 0x00, 0x00, 0x00], - [0x1b, 0x00, 0x00, 0x00], - [0x36, 0x00, 0x00, 0x00] ]; - - /* - * AES Cipher function: encrypt 'input' with Rijndael algorithm - * - * takes byte-array 'input' (16 bytes) - * 2D byte-array key schedule 'w' (Nr+1 x Nb bytes) - * - * applies Nr rounds (10/12/14) using key schedule w for 'add round key' stage - * - * returns byte-array encrypted value (16 bytes) - */ - function Cipher(input, w) { // main Cipher function [§5.1] - var Nb = 4; // block size (in words): no of columns in state (fixed at 4 for AES) - var Nr = w.length/Nb - 1; // no of rounds: 10/12/14 for 128/192/256-bit keys - - var state = [[],[],[],[]]; // initialise 4xNb byte-array 'state' with input [§3.4] - for (var i=0; i<4*Nb; i++) state[i%4][Math.floor(i/4)] = input[i]; - - state = AddRoundKey(state, w, 0, Nb); - - for (var round=1; round 6 && i%Nk == 4) { - temp = SubWord(temp); - } - for (var t=0; t<4; t++) w[i][t] = w[i-Nk][t] ^ temp[t]; - } - - return w; - } - - function SubWord(w) { // apply SBox to 4-byte word w - for (var i=0; i<4; i++) w[i] = Sbox[w[i]]; - return w; - } - - function RotWord(w) { // rotate 4-byte word w left by one byte - w[4] = w[0]; - for (var i=0; i<4; i++) w[i] = w[i+1]; - return w; - } - - /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ - - /* - * Use AES to encrypt 'plaintext' with 'password' using 'nBits' key, in 'Counter' mode of operation - * - see http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf - * for each block - * - outputblock = cipher(counter, key) - * - cipherblock = plaintext xor outputblock - */ - function AESEncryptCtr(plaintext, password, nBits) { - if (!(nBits==128 || nBits==192 || nBits==256)) return ''; // standard allows 128/192/256 bit keys - - // for this example script, generate the key by applying Cipher to 1st 16/24/32 chars of password; - // for real-world applications, a more secure approach would be to hash the password e.g. with SHA-1 - var nBytes = nBits/8; // no bytes in key - var pwBytes = new Array(nBytes); - for (var i=0; i>> i*8) & 0xff; - for (var i=0; i<4; i++) counterBlock[i+4] = (nonce/0x100000000 >>> i*8) & 0xff; - - // generate key schedule - an expansion of the key into distinct Key Rounds for each round - var keySchedule = KeyExpansion(key); - - var blockCount = Math.ceil(plaintext.length/blockSize); - var ciphertext = new Array(blockCount); // ciphertext as array of strings - - for (var b=0; b>> c*8) & 0xff; - for (var c=0; c<4; c++) counterBlock[15-c-4] = (b/0x100000000 >>> c*8) - - var cipherCntr = Cipher(counterBlock, keySchedule); // -- encrypt counter block -- - - // calculate length of final block: - var blockLength = b>> c*8) & 0xff; - for (var c=0; c<4; c++) counterBlock[15-c-4] = ((b/0x100000000-1) >>> c*8) & 0xff; - - var cipherCntr = Cipher(counterBlock, keySchedule); // encrypt counter block - - ciphertext[b] = unescCtrlChars(ciphertext[b]); - - var pt = ''; - for (var i=0; i 63){ - this.dbName = this.dbName.substring(0, 63); - } - } - - if(!dbName){ - dbName = this.dbName; - } - - try{ - this._initDb(); - this.db.open(dbName); - this._dbOpen = true; - }catch(exp){ - throw exp.message||exp; - } - }, - - close: function(dbName){ - // on Internet Explorer, Google Gears throws an exception - // "Object not a collection", when we try to close the - // database -- just don't close it on this platform - // since we are running into a Gears bug; the Gears team - // said it's ok to not close a database connection - if(dojo.isIE){ return; } - - if(!this._dbOpen && (!dbName || dbName == this.dbName)){ - return; - } - - if(!dbName){ - dbName = this.dbName; - } - - try{ - this.db.close(dbName); - this._dbOpen = false; - }catch(exp){ - throw exp.message||exp; - } - }, - - _exec: function(params){ - try{ - // get the Gears Database object - this._initDb(); - - // see if we need to open the db; if programmer - // manually called dojox.sql.open() let them handle - // it; otherwise we open and close automatically on - // each SQL execution - if(!this._dbOpen){ - this.open(); - this._autoClose = true; - } - - // determine our parameters - var sql = null; - var callback = null; - var password = null; - - var args = dojo._toArray(params); - - sql = args.splice(0, 1)[0]; - - // does this SQL statement use the ENCRYPT or DECRYPT - // keywords? if so, extract our callback and crypto - // password - if(this._needsEncrypt(sql) || this._needsDecrypt(sql)){ - callback = args.splice(args.length - 1, 1)[0]; - password = args.splice(args.length - 1, 1)[0]; - } - - // 'args' now just has the SQL parameters - - // print out debug SQL output if the developer wants that - if(this.debug){ - this._printDebugSQL(sql, args); - } - - // handle SQL that needs encryption/decryption differently - // do we have an ENCRYPT SQL statement? if so, handle that first - if(this._needsEncrypt(sql)){ - var crypto = new dojox.sql._SQLCrypto("encrypt", sql, - password, args, - callback); - return; // encrypted results will arrive asynchronously - }else if(this._needsDecrypt(sql)){ // otherwise we have a DECRYPT statement - var crypto = new dojox.sql._SQLCrypto("decrypt", sql, - password, args, - callback); - return; // decrypted results will arrive asynchronously - } - - // execute the SQL and get the results - var rs = this.db.execute(sql, args); - - // Gears ResultSet object's are ugly -- normalize - // these into something JavaScript programmers know - // how to work with, basically an array of - // JavaScript objects where each property name is - // simply the field name for a column of data - rs = this._normalizeResults(rs); - - if(this._autoClose){ - this.close(); - } - - return rs; - }catch(exp){ - exp = exp.message||exp; - - console.debug("SQL Exception: " + exp); - - if(this._autoClose){ - try{ - this.close(); - }catch(e){ - console.debug("Error closing database: " - + e.message||e); - } - } - - throw exp; - } - }, - - _initDb: function(){ - if(!this.db){ - try{ - this.db = google.gears.factory.create('beta.database', '1.0'); - }catch(exp){ - dojo.setObject("google.gears.denied", true); - dojox.off.onFrameworkEvent("coreOperationFailed"); - throw "Google Gears must be allowed to run"; - } - } - }, - - _printDebugSQL: function(sql, args){ - var msg = "dojox.sql(\"" + sql + "\""; - for(var i = 0; i < args.length; i++){ - if(typeof args[i] == "string"){ - msg += ", \"" + args[i] + "\""; - }else{ - msg += ", " + args[i]; - } - } - msg += ")"; - - console.debug(msg); - }, - - _normalizeResults: function(rs){ - var results = []; - if(!rs){ return []; } - - while(rs.isValidRow()){ - var row = {}; - - for(var i = 0; i < rs.fieldCount(); i++){ - var fieldName = rs.fieldName(i); - var fieldValue = rs.field(i); - row[fieldName] = fieldValue; - } - - results.push(row); - - rs.next(); - } - - rs.close(); - - return results; - }, - - _needsEncrypt: function(sql){ - return /encrypt\([^\)]*\)/i.test(sql); - }, - - _needsDecrypt: function(sql){ - return /decrypt\([^\)]*\)/i.test(sql); - } -}); - -// summary: -// A private class encapsulating any cryptography that must be done -// on a SQL statement. We instantiate this class and have it hold -// it's state so that we can potentially have several encryption -// operations happening at the same time by different SQL statements. -dojo.declare("dojox.sql._SQLCrypto", null, { - constructor: function(action, sql, password, args, callback){ - if(action == "encrypt"){ - this._execEncryptSQL(sql, password, args, callback); - }else{ - this._execDecryptSQL(sql, password, args, callback); - } - }, - - _execEncryptSQL: function(sql, password, args, callback){ - // strip the ENCRYPT/DECRYPT keywords from the SQL - var strippedSQL = this._stripCryptoSQL(sql); - - // determine what arguments need encryption - var encryptColumns = this._flagEncryptedArgs(sql, args); - - // asynchronously encrypt each argument that needs it - var self = this; - this._encrypt(strippedSQL, password, args, encryptColumns, function(finalArgs){ - // execute the SQL - var error = false; - var resultSet = []; - var exp = null; - try{ - resultSet = dojox.sql.db.execute(strippedSQL, finalArgs); - }catch(execError){ - error = true; - exp = execError.message||execError; - } - - // was there an error during SQL execution? - if(exp != null){ - if(dojox.sql._autoClose){ - try{ dojox.sql.close(); }catch(e){} - } - - callback(null, true, exp.toString()); - return; - } - - // normalize SQL results into a JavaScript object - // we can work with - resultSet = dojox.sql._normalizeResults(resultSet); - - if(dojox.sql._autoClose){ - dojox.sql.close(); - } - - // are any decryptions necessary on the result set? - if(dojox.sql._needsDecrypt(sql)){ - // determine which of the result set columns needs decryption - var needsDecrypt = self._determineDecryptedColumns(sql); - - // now decrypt columns asynchronously - // decrypt columns that need it - self._decrypt(resultSet, needsDecrypt, password, function(finalResultSet){ - callback(finalResultSet, false, null); - }); - }else{ - callback(resultSet, false, null); - } - }); - }, - - _execDecryptSQL: function(sql, password, args, callback){ - // strip the ENCRYPT/DECRYPT keywords from the SQL - var strippedSQL = this._stripCryptoSQL(sql); - - // determine which columns needs decryption; this either - // returns the value *, which means all result set columns will - // be decrypted, or it will return the column names that need - // decryption set on a hashtable so we can quickly test a given - // column name; the key is the column name that needs - // decryption and the value is 'true' (i.e. needsDecrypt["someColumn"] - // would return 'true' if it needs decryption, and would be 'undefined' - // or false otherwise) - var needsDecrypt = this._determineDecryptedColumns(sql); - - // execute the SQL - var error = false; - var resultSet = []; - var exp = null; - try{ - resultSet = dojox.sql.db.execute(strippedSQL, args); - }catch(execError){ - error = true; - exp = execError.message||execError; - } - - // was there an error during SQL execution? - if(exp != null){ - if(dojox.sql._autoClose){ - try{ dojox.sql.close(); }catch(e){} - } - - callback(resultSet, true, exp.toString()); - return; - } - - // normalize SQL results into a JavaScript object - // we can work with - resultSet = dojox.sql._normalizeResults(resultSet); - - if(dojox.sql._autoClose){ - dojox.sql.close(); - } - - // decrypt columns that need it - this._decrypt(resultSet, needsDecrypt, password, function(finalResultSet){ - callback(finalResultSet, false, null); - }); - }, - - _encrypt: function(sql, password, args, encryptColumns, callback){ - //console.debug("_encrypt, sql="+sql+", password="+password+", encryptColumns="+encryptColumns+", args="+args); - - this._totalCrypto = 0; - this._finishedCrypto = 0; - this._finishedSpawningCrypto = false; - this._finalArgs = args; - - for(var i = 0; i < args.length; i++){ - if(encryptColumns[i]){ - // we have an encrypt() keyword -- get just the value inside - // the encrypt() parantheses -- for now this must be a ? - var sqlParam = args[i]; - var paramIndex = i; - - // update the total number of encryptions we know must be done asynchronously - this._totalCrypto++; - - // FIXME: This currently uses DES as a proof-of-concept since the - // DES code used is quite fast and was easy to work with. Modify dojox.sql - // to be able to specify a different encryption provider through a - // a SQL-like syntax, such as dojox.sql("SET ENCRYPTION BLOWFISH"), - // and modify the dojox.crypto.Blowfish code to be able to work using - // a Google Gears Worker Pool - - // do the actual encryption now, asychronously on a Gears worker thread - dojox._sql._crypto.encrypt(sqlParam, password, dojo.hitch(this, function(results){ - // set the new encrypted value - this._finalArgs[paramIndex] = results; - this._finishedCrypto++; - // are we done with all encryption? - if(this._finishedCrypto >= this._totalCrypto - && this._finishedSpawningCrypto){ - callback(this._finalArgs); - } - })); - } - } - - this._finishedSpawningCrypto = true; - }, - - _decrypt: function(resultSet, needsDecrypt, password, callback){ - //console.debug("decrypt, resultSet="+resultSet+", needsDecrypt="+needsDecrypt+", password="+password); - - this._totalCrypto = 0; - this._finishedCrypto = 0; - this._finishedSpawningCrypto = false; - this._finalResultSet = resultSet; - - for(var i = 0; i < resultSet.length; i++){ - var row = resultSet[i]; - - // go through each of the column names in row, - // seeing if they need decryption - for(var columnName in row){ - if(needsDecrypt == "*" || needsDecrypt[columnName]){ - this._totalCrypto++; - var columnValue = row[columnName]; - - // forming a closure here can cause issues, with values not cleanly - // saved on Firefox/Mac OS X for some of the values above that - // are needed in the callback below; call a subroutine that will form - // a closure inside of itself instead - this._decryptSingleColumn(columnName, columnValue, password, i, - function(finalResultSet){ - callback(finalResultSet); - }); - } - } - } - - this._finishedSpawningCrypto = true; - }, - - _stripCryptoSQL: function(sql){ - // replace all DECRYPT(*) occurrences with a * - sql = sql.replace(/DECRYPT\(\*\)/ig, "*"); - - // match any ENCRYPT(?, ?, ?, etc) occurrences, - // then replace with just the question marks in the - // middle - var matches = sql.match(/ENCRYPT\([^\)]*\)/ig); - if(matches != null){ - for(var i = 0; i < matches.length; i++){ - var encryptStatement = matches[i]; - var encryptValue = encryptStatement.match(/ENCRYPT\(([^\)]*)\)/i)[1]; - sql = sql.replace(encryptStatement, encryptValue); - } - } - - // match any DECRYPT(COL1, COL2, etc) occurrences, - // then replace with just the column names - // in the middle - matches = sql.match(/DECRYPT\([^\)]*\)/ig); - if(matches != null){ - for(var i = 0; i < matches.length; i++){ - var decryptStatement = matches[i]; - var decryptValue = decryptStatement.match(/DECRYPT\(([^\)]*)\)/i)[1]; - sql = sql.replace(decryptStatement, decryptValue); - } - } - - return sql; - }, - - _flagEncryptedArgs: function(sql, args){ - // capture literal strings that have question marks in them, - // and also capture question marks that stand alone - var tester = new RegExp(/([\"][^\"]*\?[^\"]*[\"])|([\'][^\']*\?[^\']*[\'])|(\?)/ig); - var matches; - var currentParam = 0; - var results = []; - while((matches = tester.exec(sql)) != null){ - var currentMatch = RegExp.lastMatch+""; - - // are we a literal string? then ignore it - if(/^[\"\']/.test(currentMatch)){ - continue; - } - - // do we have an encrypt keyword to our left? - var needsEncrypt = false; - if(/ENCRYPT\([^\)]*$/i.test(RegExp.leftContext)){ - needsEncrypt = true; - } - - // set the encrypted flag - results[currentParam] = needsEncrypt; - - currentParam++; - } - - return results; - }, - - _determineDecryptedColumns: function(sql){ - var results = {}; - - if(/DECRYPT\(\*\)/i.test(sql)){ - results = "*"; - }else{ - var tester = /DECRYPT\((?:\s*\w*\s*\,?)*\)/ig; - var matches; - while(matches = tester.exec(sql)){ - var lastMatch = new String(RegExp.lastMatch); - var columnNames = lastMatch.replace(/DECRYPT\(/i, ""); - columnNames = columnNames.replace(/\)/, ""); - columnNames = columnNames.split(/\s*,\s*/); - dojo.forEach(columnNames, function(column){ - if(/\s*\w* AS (\w*)/i.test(column)){ - column = column.match(/\s*\w* AS (\w*)/i)[1]; - } - results[column] = true; - }); - } - } - - return results; - }, - - _decryptSingleColumn: function(columnName, columnValue, password, currentRowIndex, - callback){ - //console.debug("decryptSingleColumn, columnName="+columnName+", columnValue="+columnValue+", currentRowIndex="+currentRowIndex) - dojox._sql._crypto.decrypt(columnValue, password, dojo.hitch(this, function(results){ - // set the new decrypted value - this._finalResultSet[currentRowIndex][columnName] = results; - this._finishedCrypto++; - - // are we done with all encryption? - if(this._finishedCrypto >= this._totalCrypto - && this._finishedSpawningCrypto){ - //console.debug("done with all decrypts"); - callback(this._finalResultSet); - } - })); - } -}); - -} - -if(!dojo._hasResource["dojox.sql"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sql"] = true; - -dojo.provide("dojox.sql"); - -} - -if(!dojo._hasResource["dojox.storage.GearsStorageProvider"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.storage.GearsStorageProvider"] = true; -dojo.provide("dojox.storage.GearsStorageProvider"); - - - - -if(dojo.isGears){ - - (function(){ - // make sure we don't define the gears provider if we're not gears - // enabled - - dojo.declare("dojox.storage.GearsStorageProvider", dojox.storage.Provider, { - // summary: - // Storage provider that uses the features of Google Gears - // to store data (it is saved into the local SQL database - // provided by Gears, using dojox.sql) - // description: - // You can disable this storage provider with the following djConfig - // variable: - // var djConfig = { disableGearsStorage: true }; - // - // Authors of this storage provider- - // Brad Neuberg, bkn3@columbia.edu - constructor: function(){ - }, - // instance methods and properties - TABLE_NAME: "__DOJO_STORAGE", - initialized: false, - - _available: null, - - initialize: function(){ - //console.debug("dojox.storage.GearsStorageProvider.initialize"); - if(dojo.config["disableGearsStorage"] == true){ - return; - } - - // partition our storage data so that multiple apps - // on the same host won't collide - this.TABLE_NAME = "__DOJO_STORAGE"; - - // create the table that holds our data - try{ - dojox.sql("CREATE TABLE IF NOT EXISTS " + this.TABLE_NAME + "( " - + " namespace TEXT, " - + " key TEXT, " - + " value TEXT " - + ")" - ); - dojox.sql("CREATE UNIQUE INDEX IF NOT EXISTS namespace_key_index" - + " ON " + this.TABLE_NAME - + " (namespace, key)"); - }catch(e){ - console.debug("dojox.storage.GearsStorageProvider.initialize:", e); - - this.initialized = false; // we were unable to initialize - dojox.storage.manager.loaded(); - return; - } - - // indicate that this storage provider is now loaded - this.initialized = true; - dojox.storage.manager.loaded(); - }, - - isAvailable: function(){ - // is Google Gears available and defined? - return this._available = dojo.isGears; - }, - - put: function(key, value, resultsHandler, namespace){ - if(this.isValidKey(key) == false){ - throw new Error("Invalid key given: " + key); - } - namespace = namespace||this.DEFAULT_NAMESPACE; - - // serialize the value; - // handle strings differently so they have better performance - if(dojo.isString(value)){ - value = "string:" + value; - }else{ - value = dojo.toJson(value); - } - - // try to store the value - try{ - dojox.sql("DELETE FROM " + this.TABLE_NAME - + " WHERE namespace = ? AND key = ?", - namespace, key); - dojox.sql("INSERT INTO " + this.TABLE_NAME - + " VALUES (?, ?, ?)", - namespace, key, value); - }catch(e){ - // indicate we failed - console.debug("dojox.storage.GearsStorageProvider.put:", e); - resultsHandler(this.FAILED, key, e.toString()); - return; - } - - if(resultsHandler){ - resultsHandler(dojox.storage.SUCCESS, key, null); - } - }, - - get: function(key, namespace){ - if(this.isValidKey(key) == false){ - throw new Error("Invalid key given: " + key); - } - namespace = namespace||this.DEFAULT_NAMESPACE; - - // try to find this key in the database - var results = dojox.sql("SELECT * FROM " + this.TABLE_NAME - + " WHERE namespace = ? AND " - + " key = ?", - namespace, key); - if(!results.length){ - return null; - }else{ - results = results[0].value; - } - - // destringify the content back into a - // real JavaScript object; - // handle strings differently so they have better performance - if(dojo.isString(results) && (/^string:/.test(results))){ - results = results.substring("string:".length); - }else{ - results = dojo.fromJson(results); - } - - return results; - }, - - getNamespaces: function(){ - var results = [ dojox.storage.DEFAULT_NAMESPACE ]; - - var rs = dojox.sql("SELECT namespace FROM " + this.TABLE_NAME - + " DESC GROUP BY namespace"); - for(var i = 0; i < rs.length; i++){ - if(rs[i].namespace != dojox.storage.DEFAULT_NAMESPACE){ - results.push(rs[i].namespace); - } - } - - return results; - }, - - getKeys: function(namespace){ - namespace = namespace||this.DEFAULT_NAMESPACE; - if(this.isValidKey(namespace) == false){ - throw new Error("Invalid namespace given: " + namespace); - } - - var rs = dojox.sql("SELECT key FROM " + this.TABLE_NAME - + " WHERE namespace = ?", - namespace); - - var results = []; - for(var i = 0; i < rs.length; i++){ - results.push(rs[i].key); - } - - return results; - }, - - clear: function(namespace){ - if(this.isValidKey(namespace) == false){ - throw new Error("Invalid namespace given: " + namespace); - } - namespace = namespace||this.DEFAULT_NAMESPACE; - - dojox.sql("DELETE FROM " + this.TABLE_NAME - + " WHERE namespace = ?", - namespace); - }, - - remove: function(key, namespace){ - namespace = namespace||this.DEFAULT_NAMESPACE; - - dojox.sql("DELETE FROM " + this.TABLE_NAME - + " WHERE namespace = ? AND" - + " key = ?", - namespace, - key); - }, - - putMultiple: function(keys, values, resultsHandler, namespace) { - if(this.isValidKeyArray(keys) === false - || ! values instanceof Array - || keys.length != values.length){ - throw new Error("Invalid arguments: keys = [" - + keys + "], values = [" + values + "]"); - } - - if(namespace == null || typeof namespace == "undefined"){ - namespace = dojox.storage.DEFAULT_NAMESPACE; - } - - if(this.isValidKey(namespace) == false){ - throw new Error("Invalid namespace given: " + namespace); - } - - this._statusHandler = resultsHandler; - - // try to store the value - try{ - dojox.sql.open(); - dojox.sql.db.execute("BEGIN TRANSACTION"); - var _stmt = "REPLACE INTO " + this.TABLE_NAME + " VALUES (?, ?, ?)"; - for(var i=0;i dew){ - minw = dew; - maxw = dbw; - }else{ - maxw = dew; - minw = dbw; - } - var dbh = _document.body.clientHeight; - if(dbh > deh){ - minh = deh; - maxh = dbh; - }else{ - maxh = deh; - minh = dbh; - } - w = (maxw > _window.innerWidth) ? minw : maxw; - h = (maxh > _window.innerHeight) ? minh : maxh; - }else if(!dojo.isOpera && _window.innerWidth){ - //in opera9, dojo.body().clientWidth should be used, instead - //of window.innerWidth/document.documentElement.clientWidth - //so we have to check whether it is opera - w = _window.innerWidth; - h = _window.innerHeight; - }else if(dojo.isIE && de && deh){ - w = dew; - h = deh; - }else if(dojo.body().clientWidth){ - // IE5, Opera - w = dojo.body().clientWidth; - h = dojo.body().clientHeight; - } - - // get scroll position - var scroll = dojo._docScroll(); - - return { w: w, h: h, l: scroll.x, t: scroll.y }; // object -}; - -dijit.placeOnScreen = function( - /* DomNode */ node, - /* Object */ pos, - /* Object */ corners, - /* boolean? */ tryOnly){ - // summary: - // Keeps 'node' in the visible area of the screen while trying to - // place closest to pos.x, pos.y. The input coordinates are - // expected to be the desired document position. - // - // Set which corner(s) you want to bind to, such as - // - // placeOnScreen(node, {x: 10, y: 20}, ["TR", "BL"]) - // - // The desired x/y will be treated as the topleft(TL)/topright(TR) or - // BottomLeft(BL)/BottomRight(BR) corner of the node. Each corner is tested - // and if a perfect match is found, it will be used. Otherwise, it goes through - // all of the specified corners, and choose the most appropriate one. - // - // NOTE: node is assumed to be absolutely or relatively positioned. - - var choices = dojo.map(corners, function(corner){ return { corner: corner, pos: pos }; }); - - return dijit._place(node, choices); -} - -dijit._place = function(/*DomNode*/ node, /* Array */ choices, /* Function */ layoutNode){ - // summary: - // Given a list of spots to put node, put it at the first spot where it fits, - // of if it doesn't fit anywhere then the place with the least overflow - // choices: Array - // Array of elements like: {corner: 'TL', pos: {x: 10, y: 20} } - // Above example says to put the top-left corner of the node at (10,20) - // layoutNode: Function(node, aroundNodeCorner, nodeCorner) - // for things like tooltip, they are displayed differently (and have different dimensions) - // based on their orientation relative to the parent. This adjusts the popup based on orientation. - - // get {x: 10, y: 10, w: 100, h:100} type obj representing position of - // viewport over document - var view = dijit.getViewport(); - - // This won't work if the node is inside a
                        , - // so reattach it to dojo.doc.body. (Otherwise, the positioning will be wrong - // and also it might get cutoff) - if(!node.parentNode || String(node.parentNode.tagName).toLowerCase() != "body"){ - dojo.body().appendChild(node); - } - - var best = null; - dojo.some(choices, function(choice){ - var corner = choice.corner; - var pos = choice.pos; - - // configure node to be displayed in given position relative to button - // (need to do this in order to get an accurate size for the node, because - // a tooltips size changes based on position, due to triangle) - if(layoutNode){ - layoutNode(node, choice.aroundCorner, corner); - } - - // get node's size - var style = node.style; - var oldDisplay = style.display; - var oldVis = style.visibility; - style.visibility = "hidden"; - style.display = ""; - var mb = dojo.marginBox(node); - style.display = oldDisplay; - style.visibility = oldVis; - - // coordinates and size of node with specified corner placed at pos, - // and clipped by viewport - var startX = (corner.charAt(1) == 'L' ? pos.x : Math.max(view.l, pos.x - mb.w)), - startY = (corner.charAt(0) == 'T' ? pos.y : Math.max(view.t, pos.y - mb.h)), - endX = (corner.charAt(1) == 'L' ? Math.min(view.l + view.w, startX + mb.w) : pos.x), - endY = (corner.charAt(0) == 'T' ? Math.min(view.t + view.h, startY + mb.h) : pos.y), - width = endX - startX, - height = endY - startY, - overflow = (mb.w - width) + (mb.h - height); - - if(best == null || overflow < best.overflow){ - best = { - corner: corner, - aroundCorner: choice.aroundCorner, - x: startX, - y: startY, - w: width, - h: height, - overflow: overflow - }; - } - return !overflow; - }); - - node.style.left = best.x + "px"; - node.style.top = best.y + "px"; - if(best.overflow && layoutNode){ - layoutNode(node, best.aroundCorner, best.corner); - } - return best; -} - -dijit.placeOnScreenAroundElement = function( - /* DomNode */ node, - /* DomNode */ aroundNode, - /* Object */ aroundCorners, - /* Function */ layoutNode){ - - // summary - // Like placeOnScreen, except it accepts aroundNode instead of x,y - // and attempts to place node around it. Uses margin box dimensions. - // - // aroundCorners - // specify Which corner of aroundNode should be - // used to place the node => which corner(s) of node to use (see the - // corners parameter in dijit.placeOnScreen) - // e.g. {'TL': 'BL', 'BL': 'TL'} - // - // layoutNode: Function(node, aroundNodeCorner, nodeCorner) - // for things like tooltip, they are displayed differently (and have different dimensions) - // based on their orientation relative to the parent. This adjusts the popup based on orientation. - - - // get coordinates of aroundNode - aroundNode = dojo.byId(aroundNode); - var oldDisplay = aroundNode.style.display; - aroundNode.style.display=""; - // #3172: use the slightly tighter border box instead of marginBox - var aroundNodeW = aroundNode.offsetWidth; //mb.w; - var aroundNodeH = aroundNode.offsetHeight; //mb.h; - var aroundNodePos = dojo.coords(aroundNode, true); - aroundNode.style.display=oldDisplay; - - // Generate list of possible positions for node - var choices = []; - for(var nodeCorner in aroundCorners){ - choices.push( { - aroundCorner: nodeCorner, - corner: aroundCorners[nodeCorner], - pos: { - x: aroundNodePos.x + (nodeCorner.charAt(1) == 'L' ? 0 : aroundNodeW), - y: aroundNodePos.y + (nodeCorner.charAt(0) == 'T' ? 0 : aroundNodeH) - } - }); - } - - return dijit._place(node, choices, layoutNode); -} - -} - -if(!dojo._hasResource["dojox.flash._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.flash._base"] = true; -dojo.provide("dojox.flash._base"); - -// for dijit.getViewport(), needed by dojox.flash.Embed.center() - - -dojox.flash = function(){ - // summary: - // The goal of dojox.flash is to make it easy to extend Flash's capabilities - // into an Ajax/DHTML environment. - // - // dojox.flash provides an easy object for interacting with the Flash plugin. - // This object provides methods to determine the current version of the Flash - // plugin (dojox.flash.info); write out the necessary markup to - // dynamically insert a Flash object into the page (dojox.flash.Embed; and - // do dynamic installation and upgrading of the current Flash plugin in - // use (dojox.flash.Install). If you want to call methods on the Flash object - // embedded into the page it is your responsibility to use Flash's ExternalInterface - // API and get a reference to the Flash object yourself. - // - // To use dojox.flash, you must first wait until Flash is finished loading - // and initializing before you attempt communication or interaction. - // To know when Flash is finished use dojo.connect: - // - // dojo.connect(dojox.flash, "loaded", myInstance, "myCallback"); - // - // Then, while the page is still loading provide the file name: - // - // dojox.flash.setSwf(dojo.moduleUrl("dojox", "_storage/storage.swf")); - // - // If no SWF files are specified, then Flash is not initialized. - // - // Your Flash must use Flash's ExternalInterface to expose Flash methods and - // to call JavaScript. - // - // setSwf can take an optional 'visible' attribute to control whether - // the Flash object is visible or not on the page; the default is visible: - // - // dojox.flash.setSwf(dojo.moduleUrl("dojox", "_storage/storage.swf"), - // false); - // - // Once finished, you can query Flash version information: - // - // dojox.flash.info.version - // - // Or can communicate with Flash methods that were exposed: - // - // var f = dojox.flash.get(); - // var results = f.sayHello("Some Message"); - // - // Your Flash files should use DojoExternalInterface.as to register methods; - // this file wraps Flash's normal ExternalInterface but correct various - // serialization bugs that ExternalInterface has. - // - // Note that dojox.flash is not meant to be a generic Flash embedding - // mechanism; it is as generic as necessary to make Dojo Storage's - // Flash Storage Provider as clean and modular as possible. If you want - // a generic Flash embed mechanism see SWFObject - // (http://blog.deconcept.com/swfobject/). - // - // Notes: - // Note that dojox.flash can currently only work with one Flash object - // on the page; it does not yet support multiple Flash objects on - // the same page. - // - // Your code can detect whether the Flash player is installing or having - // its version revved in two ways. First, if dojox.flash detects that - // Flash installation needs to occur, it sets dojox.flash.info.installing - // to true. Second, you can detect if installation is necessary with the - // following callback: - // - // dojo.connect(dojox.flash, "installing", myInstance, "myCallback"); - // - // You can use this callback to delay further actions that might need Flash; - // when installation is finished the full page will be refreshed and the - // user will be placed back on your page with Flash installed. - // - // ------------------- - // Todo/Known Issues - // ------------------- - // * On Internet Explorer, after doing a basic install, the page is - // not refreshed or does not detect that Flash is now available. The way - // to fix this is to create a custom small Flash file that is pointed to - // during installation; when it is finished loading, it does a callback - // that says that Flash installation is complete on IE, and we can proceed - // to initialize the dojox.flash subsystem. - // * Things aren't super tested for sending complex objects to Flash - // methods, since Dojo Storage only needs strings - // - // Author- Brad Neuberg, http://codinginparadise.org -} - -dojox.flash = { - ready: false, - url: null, - - _visible: true, - _loadedListeners: new Array(), - _installingListeners: new Array(), - - setSwf: function(/* String */ url, /* boolean? */ visible){ - // summary: Sets the SWF files and versions we are using. - // url: String - // The URL to this Flash file. - // visible: boolean? - // Whether the Flash file is visible or not. If it is not visible we hide it off the - // screen. This defaults to true (i.e. the Flash file is visible). - this.url = url; - - if(typeof visible != "undefined"){ - this._visible = visible; - } - - // initialize ourselves - this._initialize(); - }, - - addLoadedListener: function(/* Function */ listener){ - // summary: - // Adds a listener to know when Flash is finished loading. - // Useful if you don't want a dependency on dojo.event. - // listener: Function - // A function that will be called when Flash is done loading. - - this._loadedListeners.push(listener); - }, - - addInstallingListener: function(/* Function */ listener){ - // summary: - // Adds a listener to know if Flash is being installed. - // Useful if you don't want a dependency on dojo.event. - // listener: Function - // A function that will be called if Flash is being - // installed - - this._installingListeners.push(listener); - }, - - loaded: function(){ - // summary: Called back when the Flash subsystem is finished loading. - // description: - // A callback when the Flash subsystem is finished loading and can be - // worked with. To be notified when Flash is finished loading, add a - // loaded listener: - // - // dojox.flash.addLoadedListener(loadedListener); - - dojox.flash.ready = true; - if(dojox.flash._loadedListeners.length > 0){ - for(var i = 0;i < dojox.flash._loadedListeners.length; i++){ - dojox.flash._loadedListeners[i].call(null); - } - } - }, - - installing: function(){ - // summary: Called if Flash is being installed. - // description: - // A callback to know if Flash is currently being installed or - // having its version revved. To be notified if Flash is installing, connect - // your callback to this method using the following: - // - // dojo.event.connect(dojox.flash, "installing", myInstance, "myCallback"); - - if(dojox.flash._installingListeners.length > 0){ - for(var i = 0; i < dojox.flash._installingListeners.length; i++){ - dojox.flash._installingListeners[i].call(null); - } - } - }, - - // Initializes dojox.flash. - _initialize: function(){ - //console.debug("dojox.flash._initialize"); - // see if we need to rev or install Flash on this platform - var installer = new dojox.flash.Install(); - dojox.flash.installer = installer; - - if(installer.needed() == true){ - installer.install(); - }else{ - // write the flash object into the page - dojox.flash.obj = new dojox.flash.Embed(this._visible); - dojox.flash.obj.write(); - - // setup the communicator - dojox.flash.comm = new dojox.flash.Communicator(); - } - } -}; - - -dojox.flash.Info = function(){ - // summary: A class that helps us determine whether Flash is available. - // description: - // A class that helps us determine whether Flash is available, - // it's major and minor versions, and what Flash version features should - // be used for Flash/JavaScript communication. Parts of this code - // are adapted from the automatic Flash plugin detection code autogenerated - // by the Macromedia Flash 8 authoring environment. - // - // An instance of this class can be accessed on dojox.flash.info after - // the page is finished loading. - // - // This constructor must be called before the page is finished loading. - - // Visual basic helper required to detect Flash Player ActiveX control - // version information on Internet Explorer - if(dojo.isIE){ - document.write([ - ' - // - // Note that inline styles on elements are not handled (i.e. - // if you somehow have an inline style that uses a URL); - // object and embed tags are not scanned since their format - // differs based on type; and elements created by JavaScript - // after page load are not found. For these you must manually - // add them with a dojox.off.files.cache() method call. - - // just schedule the slurp once the page is loaded and - // Dojo Offline is ready to slurp; dojox.off will call - // our _slurp() method before indicating it is finished - // loading - this._doSlurp = true; - }, - - cache: function(urlOrList){ /* void */ - // summary: - // Caches a file or list of files to be available offline. This - // can either be a full URL, such as http://foobar.com/index.html, - // or a relative URL, such as ../index.html. This URL is not - // actually cached until dojox.off.sync.synchronize() is called. - // urlOrList: String or Array[] - // A URL of a file to cache or an Array of Strings of files to - // cache - - //console.debug("dojox.off.files.cache, urlOrList="+urlOrList); - - if(dojo.isString(urlOrList)){ - var url = this._trimAnchor(urlOrList+""); - if(!this.isAvailable(url)){ - this.listOfURLs.push(url); - } - }else if(urlOrList instanceof dojo._Url){ - var url = this._trimAnchor(urlOrList.uri); - if(!this.isAvailable(url)){ - this.listOfURLs.push(url); - } - }else{ - dojo.forEach(urlOrList, function(url){ - url = this._trimAnchor(url); - if(!this.isAvailable(url)){ - this.listOfURLs.push(url); - } - }, this); - } - }, - - printURLs: function(){ - // summary: - // A helper function that will dump and print out - // all of the URLs that are cached for offline - // availability. This can help with debugging if you - // are trying to make sure that all of your URLs are - // available offline - console.debug("The following URLs are cached for offline use:"); - dojo.forEach(this.listOfURLs, function(i){ - console.debug(i); - }); - }, - - remove: function(url){ /* void */ - // summary: - // Removes a URL from the list of files to cache. - // description: - // Removes a URL from the list of URLs to cache. Note that this - // does not actually remove the file from the offline cache; - // instead, it just prevents us from refreshing this file at a - // later time, so that it will naturally time out and be removed - // from the offline cache - // url: String - // The URL to remove - for(var i = 0; i < this.listOfURLs.length; i++){ - if(this.listOfURLs[i] == url){ - this.listOfURLs = this.listOfURLs.splice(i, 1); - break; - } - } - }, - - isAvailable: function(url){ /* boolean */ - // summary: - // Determines whether the given resource is available offline. - // url: String - // The URL to check - for(var i = 0; i < this.listOfURLs.length; i++){ - if(this.listOfURLs[i] == url){ - return true; - } - } - - return false; - }, - - refresh: function(callback){ /* void */ - //console.debug("dojox.off.files.refresh"); - // summary: - // For advanced usage; most developers can ignore this. - // Refreshes our list of offline resources, - // making them available offline. - // callback: Function - // A callback that receives two arguments: whether an error - // occurred, which is a boolean; and an array of error message strings - // with details on errors encountered. If no error occured then message is - // empty array with length 0. - try{ - if(dojo.config.isDebug){ - this.printURLs(); - } - - this.refreshing = true; - - if(this.versionURL){ - this._getVersionInfo(function(oldVersion, newVersion, justDebugged){ - //console.warn("getVersionInfo, oldVersion="+oldVersion+", newVersion="+newVersion - // + ", justDebugged="+justDebugged+", isDebug="+dojo.config.isDebug); - if(dojo.config.isDebug || !newVersion || justDebugged - || !oldVersion || oldVersion != newVersion){ - console.warn("Refreshing offline file list"); - this._doRefresh(callback, newVersion); - }else{ - console.warn("No need to refresh offline file list"); - callback(false, []); - } - }); - }else{ - console.warn("Refreshing offline file list"); - this._doRefresh(callback); - } - }catch(e){ - this.refreshing = false; - - // can't refresh files -- core operation -- - // fail fast - dojox.off.coreOpFailed = true; - dojox.off.enabled = false; - dojox.off.onFrameworkEvent("coreOperationFailed"); - } - }, - - abortRefresh: function(){ - // summary: - // For advanced usage; most developers can ignore this. - // Aborts and cancels a refresh. - if(!this.refreshing){ - return; - } - - this._store.abortCapture(this._cancelID); - this.refreshing = false; - }, - - _slurp: function(){ - if(!this._doSlurp){ - return; - } - - var handleUrl = dojo.hitch(this, function(url){ - if(this._sameLocation(url)){ - this.cache(url); - } - }); - - handleUrl(window.location.href); - - dojo.query("script").forEach(function(i){ - try{ - handleUrl(i.getAttribute("src")); - }catch(exp){ - //console.debug("dojox.off.files.slurp 'script' error: " - // + exp.message||exp); - } - }); - - dojo.query("link").forEach(function(i){ - try{ - if(!i.getAttribute("rel") - || i.getAttribute("rel").toLowerCase() != "stylesheet"){ - return; - } - - handleUrl(i.getAttribute("href")); - }catch(exp){ - //console.debug("dojox.off.files.slurp 'link' error: " - // + exp.message||exp); - } - }); - - dojo.query("img").forEach(function(i){ - try{ - handleUrl(i.getAttribute("src")); - }catch(exp){ - //console.debug("dojox.off.files.slurp 'img' error: " - // + exp.message||exp); - } - }); - - dojo.query("a").forEach(function(i){ - try{ - handleUrl(i.getAttribute("href")); - }catch(exp){ - //console.debug("dojox.off.files.slurp 'a' error: " - // + exp.message||exp); - } - }); - - // FIXME: handle 'object' and 'embed' tag - - // parse our style sheets for inline URLs and imports - dojo.forEach(document.styleSheets, function(sheet){ - try{ - if(sheet.cssRules){ // Firefox - dojo.forEach(sheet.cssRules, function(rule){ - var text = rule.cssText; - if(text){ - var matches = text.match(/url\(\s*([^\) ]*)\s*\)/i); - if(!matches){ - return; - } - - for(var i = 1; i < matches.length; i++){ - handleUrl(matches[i]) - } - } - }); - }else if(sheet.cssText){ // IE - var matches; - var text = sheet.cssText.toString(); - // unfortunately, using RegExp.exec seems to be flakey - // for looping across multiple lines on IE using the - // global flag, so we have to simulate it - var lines = text.split(/\f|\r|\n/); - for(var i = 0; i < lines.length; i++){ - matches = lines[i].match(/url\(\s*([^\) ]*)\s*\)/i); - if(matches && matches.length){ - handleUrl(matches[1]); - } - } - } - }catch(exp){ - //console.debug("dojox.off.files.slurp stylesheet parse error: " - // + exp.message||exp); - } - }); - - //this.printURLs(); - }, - - _sameLocation: function(url){ - if(!url){ return false; } - - // filter out anchors - if(url.length && url.charAt(0) == "#"){ - return false; - } - - // FIXME: dojo._Url should be made public; - // it's functionality is very useful for - // parsing URLs correctly, which is hard to - // do right - url = new dojo._Url(url); - - // totally relative -- ../../someFile.html - if(!url.scheme && !url.port && !url.host){ - return true; - } - - // scheme relative with port specified -- brad.com:8080 - if(!url.scheme && url.host && url.port - && window.location.hostname == url.host - && window.location.port == url.port){ - return true; - } - - // scheme relative with no-port specified -- brad.com - if(!url.scheme && url.host && !url.port - && window.location.hostname == url.host - && window.location.port == 80){ - return true; - } - - // else we have everything - return window.location.protocol == (url.scheme + ":") - && window.location.hostname == url.host - && (window.location.port == url.port || !window.location.port && !url.port); - }, - - _trimAnchor: function(url){ - return url.replace(/\#.*$/, ""); - }, - - _doRefresh: function(callback, newVersion){ - // get our local server - var localServer; - try{ - localServer = google.gears.factory.create("beta.localserver", "1.0"); - }catch(exp){ - dojo.setObject("google.gears.denied", true); - dojox.off.onFrameworkEvent("coreOperationFailed"); - throw "Google Gears must be allowed to run"; - } - - var storeName = "dot_store_" - + window.location.href.replace(/[^0-9A-Za-z_]/g, "_"); - - // clip at 64 characters, the max length of a resource store name - if(storeName.length >= 64){ - storeName = storeName.substring(0, 63); - } - - // refresh everything by simply removing - // any older stores - localServer.removeStore(storeName); - - // open/create the resource store - localServer.openStore(storeName); - var store = localServer.createStore(storeName); - this._store = store; - - // add our list of files to capture - var self = this; - this._currentFileIndex = 0; - this._cancelID = store.capture(this.listOfURLs, function(url, success, captureId){ - //console.debug("store.capture, url="+url+", success="+success); - if(!success && self.refreshing){ - self._cancelID = null; - self.refreshing = false; - var errorMsgs = []; - errorMsgs.push("Unable to capture: " + url); - callback(true, errorMsgs); - return; - }else if(success){ - self._currentFileIndex++; - } - - if(success && self._currentFileIndex >= self.listOfURLs.length){ - self._cancelID = null; - self.refreshing = false; - if(newVersion){ - dojox.storage.put("oldVersion", newVersion, null, - dojox.off.STORAGE_NAMESPACE); - } - dojox.storage.put("justDebugged", dojo.config.isDebug, null, - dojox.off.STORAGE_NAMESPACE); - callback(false, []); - } - }); - }, - - _getVersionInfo: function(callback){ - var justDebugged = dojox.storage.get("justDebugged", - dojox.off.STORAGE_NAMESPACE); - var oldVersion = dojox.storage.get("oldVersion", - dojox.off.STORAGE_NAMESPACE); - var newVersion = null; - - callback = dojo.hitch(this, callback); - - dojo.xhrGet({ - url: this.versionURL + "?browserbust=" + new Date().getTime(), - timeout: 5 * 1000, - handleAs: "javascript", - error: function(err){ - //console.warn("dojox.off.files._getVersionInfo, err=",err); - dojox.storage.remove("oldVersion", dojox.off.STORAGE_NAMESPACE); - dojox.storage.remove("justDebugged", dojox.off.STORAGE_NAMESPACE); - callback(oldVersion, newVersion, justDebugged); - }, - load: function(data){ - //console.warn("dojox.off.files._getVersionInfo, load=",data); - - // some servers incorrectly return 404's - // as a real page - if(data){ - newVersion = data; - } - - callback(oldVersion, newVersion, justDebugged); - } - }); - } -} - -} - -if(!dojo._hasResource["dojox.off.sync"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.off.sync"] = true; -dojo.provide("dojox.off.sync"); - - - - - -// Author: Brad Neuberg, bkn3@columbia.edu, http://codinginparadise.org - -// summary: -// Exposes syncing functionality to offline applications -dojo.mixin(dojox.off.sync, { - // isSyncing: boolean - // Whether we are in the middle of a syncing session. - isSyncing: false, - - // cancelled: boolean - // Whether we were cancelled during our last sync request or not. If - // we are cancelled, then successful will be false. - cancelled: false, - - // successful: boolean - // Whether the last sync was successful or not. If false, an error - // occurred. - successful: true, - - // details: String[] - // Details on the sync. If the sync was successful, this will carry - // any conflict or merging messages that might be available; if the - // sync was unsuccessful, this will have an error message. For both - // of these, this should be an array of Strings, where each string - // carries details on the sync. - // Example: - // dojox.off.sync.details = ["The document 'foobar' had conflicts - yours one", - // "The document 'hello world' was automatically merged"]; - details: [], - - // error: boolean - // Whether an error occurred during the syncing process. - error: false, - - // actions: dojox.off.sync.ActionLog - // Our ActionLog that we store offline actions into for later - // replaying when we go online - actions: null, - - // autoSync: boolean - // For advanced usage; most developers can ignore this. - // Whether we do automatically sync on page load or when we go online. - // If true we do, if false syncing must be manually initiated. - // Defaults to true. - autoSync: true, - - // summary: - // An event handler that is called during the syncing process with - // the state of syncing. It is important that you connect to this - // method and respond to certain sync events, especially the - // "download" event. - // description: - // This event handler is called during the syncing process. You can - // do a dojo.connect to receive sync feedback: - // - // dojo.connect(dojox.off.sync, "onSync", someFunc); - // - // You will receive one argument, which is the type of the event - // and which can have the following values. - // - // The most common two types that you need to care about are "download" - // and "finished", especially if you are using the default - // Dojo Offline UI widget that does the hard work of informing - // the user through the UI about what is occuring during syncing. - // - // If you receive the "download" event, you should make a network call - // to retrieve and store your data somehow for offline access. The - // "finished" event indicates that syncing is done. An example: - // - // dojo.connect(dojox.off.sync, "onSync", function(type){ - // if(type == "download"){ - // // make a network call to download some data - // // for use offline - // dojo.xhrGet({ - // url: "downloadData.php", - // handleAs: "javascript", - // error: function(err){ - // dojox.off.sync.finishedDownloading(false, "Can't download data"); - // }, - // load: function(data){ - // // store our data - // dojox.storage.put("myData", data); - // - // // indicate we are finished downloading - // dojox.off.sync.finishedDownloading(true); - // } - // }); - // }else if(type == "finished"){ - // // update UI somehow to indicate we are finished, - // // such as using the download data to change the - // // available data - // } - // }) - // - // Here is the full list of event types if you want to do deep - // customization, such as updating your UI to display the progress - // of syncing (note that the default Dojo Offline UI widget does - // this for you if you choose to pull that in). Most of these - // are only appropriate for advanced usage and can be safely - // ignored: - // - // * "start" - // syncing has started - // * "refreshFiles" - // syncing will begin refreshing - // our offline file cache - // * "upload" - // syncing will begin uploading - // any local data changes we have on the client. - // This event is fired before we fire - // the dojox.off.sync.actions.onReplay event for - // each action to replay; use it to completely - // over-ride the replaying behavior and prevent - // it entirely, perhaps rolling your own sync - // protocol if needed. - // * "download" - // syncing will begin downloading any new data that is - // needed into persistent storage. Applications are required to - // implement this themselves, storing the required data into - // persistent local storage using Dojo Storage. - // * "finished" - // syncing is finished; this - // will be called whether an error ocurred or not; check - // dojox.off.sync.successful and dojox.off.sync.error for sync details - // * "cancel" - // Fired when canceling has been initiated; canceling will be - // attempted, followed by the sync event "finished". - onSync: function(/* String */ type){}, - - synchronize: function(){ /* void */ - // summary: Starts synchronizing - - //dojo.debug("synchronize"); - if(this.isSyncing || dojox.off.goingOnline || (!dojox.off.isOnline)){ - return; - } - - this.isSyncing = true; - this.successful = false; - this.details = []; - this.cancelled = false; - - this.start(); - }, - - cancel: function(){ /* void */ - // summary: - // Attempts to cancel this sync session - - if(!this.isSyncing){ return; } - - this.cancelled = true; - if(dojox.off.files.refreshing){ - dojox.off.files.abortRefresh(); - } - - this.onSync("cancel"); - }, - - finishedDownloading: function(successful /* boolean? */, - errorMessage /* String? */){ - // summary: - // Applications call this method from their - // after getting a "download" event in - // dojox.off.sync.onSync to signal that - // they are finished downloading any data - // that should be available offline - // successful: boolean? - // Whether our downloading was successful or not. - // If not present, defaults to true. - // errorMessage: String? - // If unsuccessful, a message explaining why - if(typeof successful == "undefined"){ - successful = true; - } - - if(!successful){ - this.successful = false; - this.details.push(errorMessage); - this.error = true; - } - - this.finished(); - }, - - start: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Called at the start of the syncing process. Advanced - // developers can over-ride this method to use their - // own sync mechanism to start syncing. - - if(this.cancelled){ - this.finished(); - return; - } - this.onSync("start"); - this.refreshFiles(); - }, - - refreshFiles: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Called when we are going to refresh our list - // of offline files during syncing. Advanced developers - // can over-ride this method to do some advanced magic related to - // refreshing files. - - //dojo.debug("refreshFiles"); - if(this.cancelled){ - this.finished(); - return; - } - - this.onSync("refreshFiles"); - - dojox.off.files.refresh(dojo.hitch(this, function(error, errorMessages){ - if(error){ - this.error = true; - this.successful = false; - for(var i = 0; i < errorMessages.length; i++){ - this.details.push(errorMessages[i]); - } - - // even if we get an error while syncing files, - // keep syncing so we can upload and download - // data - } - - this.upload(); - })); - }, - - upload: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Called when syncing wants to upload data. Advanced - // developers can over-ride this method to completely - // throw away the Action Log and replaying system - // and roll their own advanced sync mechanism if needed. - - if(this.cancelled){ - this.finished(); - return; - } - - this.onSync("upload"); - - // when we are done uploading start downloading - dojo.connect(this.actions, "onReplayFinished", this, this.download); - - // replay the actions log - this.actions.replay(); - }, - - download: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Called when syncing wants to download data. Advanced - // developers can over-ride this method to use their - // own sync mechanism. - - if(this.cancelled){ - this.finished(); - return; - } - - // apps should respond to the "download" - // event to download their data; when done - // they must call dojox.off.sync.finishedDownloading() - this.onSync("download"); - }, - - finished: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Called when syncing is finished. Advanced - // developers can over-ride this method to clean - // up after finishing their own sync - // mechanism they might have rolled. - this.isSyncing = false; - - this.successful = (!this.cancelled && !this.error); - - this.onSync("finished"); - }, - - _save: function(callback){ - this.actions._save(function(){ - callback(); - }); - }, - - _load: function(callback){ - this.actions._load(function(){ - callback(); - }); - } -}); - - -// summary: -// A class that records actions taken by a user when they are offline, -// suitable for replaying when the network reappears. -// description: -// The basic idea behind this method is to record user actions that would -// normally have to contact a server into an action log when we are -// offline, so that later when we are online we can simply replay this log -// in the order user actions happened so that they can be executed against -// the server, causing synchronization to happen. -// -// When we replay, for each of the actions that were added, we call a -// method named onReplay that applications should connect to and -// which will be called over and over for each of our actions -- -// applications should take the offline action -// information and use it to talk to a server to have this action -// actually happen online, 'syncing' themselves with the server. -// -// For example, if the action was "update" with the item that was updated, we -// might call some RESTian server API that exists for updating an item in -// our application. The server could either then do sophisticated merging -// and conflict resolution on the server side, for example, allowing you -// to pop up a custom merge UI, or could do automatic merging or nothing -// of the sort. When you are finished with this particular action, your -// application is then required to call continueReplay() on the actionLog object -// passed to onReplay() to continue replaying the action log, or haltReplay() -// with the reason for halting to completely stop the syncing/replaying -// process. -// -// For example, imagine that we have a web application that allows us to add -// contacts. If we are offline, and we update a contact, we would add an action; -// imagine that the user has to click an Update button after changing the values -// for a given contact: -// -// dojox.off.whenOffline(dojo.byId("updateButton"), "onclick", function(evt){ -// // get the updated customer values -// var customer = getCustomerValues(); -// -// // we are offline -- just record this action -// var action = {name: "update", customer: customer}; -// dojox.off.sync.actions.add(action) -// -// // persist this customer data into local storage as well -// dojox.storage.put(customer.name, customer); -// }) -// -// Then, when we go back online, the dojox.off.sync.actions.onReplay event -// will fire over and over, once for each action that was recorded while offline: -// -// dojo.connect(dojox.off.sync.actions, "onReplay", function(action, actionLog){ -// // called once for each action we added while offline, in the order -// // they were added -// if(action.name == "update"){ -// var customer = action.customer; -// -// // call some network service to update this customer -// dojo.xhrPost({ -// url: "updateCustomer.php", -// content: {customer: dojo.toJson(customer)}, -// error: function(err){ -// actionLog.haltReplay(err); -// }, -// load: function(data){ -// actionLog.continueReplay(); -// } -// }) -// } -// }) -// -// Note that the actions log is always automatically persisted locally while using it, so -// that if the user closes the browser or it crashes the actions will safely be stored -// for later replaying. -dojo.declare("dojox.off.sync.ActionLog", null, { - // entries: Array - // An array of our action entries, where each one is simply a custom - // object literal that were passed to add() when this action entry - // was added. - entries: [], - - // reasonHalted: String - // If we halted, the reason why - reasonHalted: null, - - // isReplaying: boolean - // If true, we are in the middle of replaying a command log; if false, - // then we are not - isReplaying: false, - - // autoSave: boolean - // Whether we automatically save the action log after each call to - // add(); defaults to true. For applications that are rapidly adding - // many action log entries in a short period of time, it can be - // useful to set this to false and simply call save() yourself when - // you are ready to persist your command log -- otherwise performance - // could be slow as the default action is to attempt to persist the - // actions log constantly with calls to add(). - autoSave: true, - - add: function(action /* Object */){ /* void */ - // summary: - // Adds an action to our action log - // description: - // This method will add an action to our - // action log, later to be replayed when we - // go from offline to online. 'action' - // will be available when this action is - // replayed and will be passed to onReplay. - // - // Example usage: - // - // dojox.off.sync.log.add({actionName: "create", itemType: "document", - // {title: "Message", content: "Hello World"}}); - // - // The object literal is simply a custom object appropriate - // for our application -- it can be anything that preserves the state - // of a user action that will be executed when we go back online - // and replay this log. In the above example, - // "create" is the name of this action; "documents" is the - // type of item this command is operating on, such as documents, contacts, - // tasks, etc.; and the final argument is the document that was created. - - if(this.isReplaying){ - throw "Programming error: you can not call " - + "dojox.off.sync.actions.add() while " - + "we are replaying an action log"; - } - - this.entries.push(action); - - // save our updated state into persistent - // storage - if(this.autoSave){ - this._save(); - } - }, - - onReplay: function(action /* Object */, - actionLog /* dojox.off.sync.ActionLog */){ /* void */ - // summary: - // Called when we replay our log, for each of our action - // entries. - // action: Object - // A custom object literal representing an action for this - // application, such as - // {actionName: "create", item: {title: "message", content: "hello world"}} - // actionLog: dojox.off.sync.ActionLog - // A reference to the dojox.off.sync.actions log so that developers - // can easily call actionLog.continueReplay() or actionLog.haltReplay(). - // description: - // This callback should be connected to by applications so that - // they can sync themselves when we go back online: - // - // dojo.connect(dojox.off.sync.actions, "onReplay", function(action, actionLog){ - // // do something - // }) - // - // When we replay our action log, this callback is called for each - // of our action entries in the order they were added. The - // 'action' entry that was passed to add() for this action will - // also be passed in to onReplay, so that applications can use this information - // to do their syncing, such as contacting a server web-service - // to create a new item, for example. - // - // Inside the method you connected to onReplay, you should either call - // actionLog.haltReplay(reason) if an error occurred and you would like to halt - // action replaying or actionLog.continueReplay() to have the action log - // continue replaying its log and proceed to the next action; - // the reason you must call these is the action you execute inside of - // onAction will probably be asynchronous, since it will be talking on - // the network, and you should call one of these two methods based on - // the result of your network call. - }, - - length: function(){ /* Number */ - // summary: - // Returns the length of this - // action log - return this.entries.length; - }, - - haltReplay: function(reason /* String */){ /* void */ - // summary: Halts replaying this command log. - // reason: String - // The reason we halted. - // description: - // This method is called as we are replaying an action log; it - // can be called from dojox.off.sync.actions.onReplay, for - // example, for an application to indicate an error occurred - // while replaying this action, halting further processing of - // the action log. Note that any action log entries that - // were processed before have their effects retained (i.e. - // they are not rolled back), while the action entry that was - // halted stays in our list of actions to later be replayed. - if(!this.isReplaying){ - return; - } - - if(reason){ - this.reasonHalted = reason.toString(); - } - - // save the state of our action log, then - // tell anyone who is interested that we are - // done when we are finished saving - if(this.autoSave){ - var self = this; - this._save(function(){ - self.isReplaying = false; - self.onReplayFinished(); - }); - }else{ - this.isReplaying = false; - this.onReplayFinished(); - } - }, - - continueReplay: function(){ /* void */ - // summary: - // Indicates that we should continue processing out list of - // actions. - // description: - // This method is called by applications that have overridden - // dojox.off.sync.actions.onReplay() to continue replaying our - // action log after the application has finished handling the - // current action. - if(!this.isReplaying){ - return; - } - - // shift off the old action we just ran - this.entries.shift(); - - // are we done? - if(!this.entries.length){ - // save the state of our action log, then - // tell anyone who is interested that we are - // done when we are finished saving - if(this.autoSave){ - var self = this; - this._save(function(){ - self.isReplaying = false; - self.onReplayFinished(); - }); - return; - }else{ - this.isReplaying = false; - this.onReplayFinished(); - return; - } - } - - // get the next action - var nextAction = this.entries[0]; - this.onReplay(nextAction, this); - }, - - clear: function(){ /* void */ - // summary: - // Completely clears this action log of its entries - - if(this.isReplaying){ - return; - } - - this.entries = []; - - // save our updated state into persistent - // storage - if(this.autoSave){ - this._save(); - } - }, - - replay: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Replays all of the commands that have been - // cached in this command log when we go back online; - // onCommand will be called for each command we have - - if(this.isReplaying){ - return; - } - - this.reasonHalted = null; - - if(!this.entries.length){ - this.onReplayFinished(); - return; - } - - this.isReplaying = true; - - var nextAction = this.entries[0]; - this.onReplay(nextAction, this); - }, - - // onReplayFinished: Function - // For advanced usage; most developers can ignore this. - // Called when we are finished replaying our commands; - // called if we have successfully exhausted all of our - // commands, or if an error occurred during replaying. - // The default implementation simply continues the - // synchronization process. Connect to this to register - // for the event: - // - // dojo.connect(dojox.off.sync.actions, "onReplayFinished", - // someFunc) - onReplayFinished: function(){ - }, - - toString: function(){ - var results = ""; - results += "["; - - for(var i = 0; i < this.entries.length; i++){ - results += "{"; - for(var j in this.entries[i]){ - results += j + ": \"" + this.entries[i][j] + "\""; - results += ", "; - } - results += "}, "; - } - - results += "]"; - - return results; - }, - - _save: function(callback){ - if(!callback){ - callback = function(){}; - } - - try{ - var self = this; - var resultsHandler = function(status, key, message){ - //console.debug("resultsHandler, status="+status+", key="+key+", message="+message); - if(status == dojox.storage.FAILED){ - dojox.off.onFrameworkEvent("save", - {status: dojox.storage.FAILED, - isCoreSave: true, - key: key, - value: message, - namespace: dojox.off.STORAGE_NAMESPACE}); - callback(); - }else if(status == dojox.storage.SUCCESS){ - callback(); - } - }; - - dojox.storage.put("actionlog", this.entries, resultsHandler, - dojox.off.STORAGE_NAMESPACE); - }catch(exp){ - console.debug("dojox.off.sync._save: " + exp.message||exp); - dojox.off.onFrameworkEvent("save", - {status: dojox.storage.FAILED, - isCoreSave: true, - key: "actionlog", - value: this.entries, - namespace: dojox.off.STORAGE_NAMESPACE}); - callback(); - } - }, - - _load: function(callback){ - var entries = dojox.storage.get("actionlog", dojox.off.STORAGE_NAMESPACE); - - if(!entries){ - entries = []; - } - - this.entries = entries; - - callback(); - } - } -); - -dojox.off.sync.actions = new dojox.off.sync.ActionLog(); - -} - -if(!dojo._hasResource["dojox.off._common"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.off._common"] = true; -dojo.provide("dojox.off._common"); - - - - - -// Author: Brad Neuberg, bkn3@columbia.edu, http://codinginparadise.org - -// summary: -// dojox.off is the main object for offline applications. -dojo.mixin(dojox.off, { - // isOnline: boolean - // true if we are online, false if not - isOnline: false, - - // NET_CHECK: int - // For advanced usage; most developers can ignore this. - // Time in seconds on how often we should check the status of the - // network with an automatic background timer. The current default - // is 5 seconds. - NET_CHECK: 5, - - // STORAGE_NAMESPACE: String - // For advanced usage; most developers can ignore this. - // The namespace we use to save core data into Dojo Storage. - STORAGE_NAMESPACE: "_dot", - - // enabled: boolean - // For advanced usage; most developers can ignore this. - // Whether offline ability is enabled or not. Defaults to true. - enabled: true, - - // availabilityURL: String - // For advanced usage; most developers can ignore this. - // The URL to check for site availability. We do a GET request on - // this URL to check for site availability. By default we check for a - // simple text file in src/off/network_check.txt that has one value - // it, the value '1'. - availabilityURL: dojo.moduleUrl("dojox", "off/network_check.txt"), - - // goingOnline: boolean - // For advanced usage; most developers can ignore this. - // True if we are attempting to go online, false otherwise - goingOnline: false, - - // coreOpFailed: boolean - // For advanced usage; most developers can ignore this. - // A flag set by the Dojo Offline framework that indicates that the - // user denied some operation that required the offline cache or an - // operation failed in some critical way that was unrecoverable. For - // example, if the offline cache is Google Gears and we try to get a - // Gears database, a popup window appears asking the user whether they - // will approve or deny this request. If the user denies the request, - // and we are doing some operation that is core to Dojo Offline, then - // we set this flag to 'true'. This flag causes a 'fail fast' - // condition, turning off offline ability. - coreOpFailed: false, - - // doNetChecking: boolean - // For advanced usage; most developers can ignore this. - // Whether to have a timing interval in the background doing automatic - // network checks at regular intervals; the length of time between - // checks is controlled by dojox.off.NET_CHECK. Defaults to true. - doNetChecking: true, - - // hasOfflineCache: boolean - // For advanced usage; most developers can ignore this. - // Determines if an offline cache is available or installed; an - // offline cache is a facility that can truely cache offline - // resources, such as JavaScript, HTML, etc. in such a way that they - // won't be removed from the cache inappropriately like a browser - // cache would. If this is false then an offline cache will be - // installed. Only Google Gears is currently supported as an offline - // cache. Future possible offline caches include Firefox 3. - hasOfflineCache: null, - - // browserRestart: boolean - // For advanced usage; most developers can ignore this. - // If true, the browser must be restarted to register the existence of - // a new host added offline (from a call to addHostOffline); if false, - // then nothing is needed. - browserRestart: false, - - _STORAGE_APP_NAME: window.location.href.replace(/[^0-9A-Za-z_]/g, "_"), - - _initializeCalled: false, - _storageLoaded: false, - _pageLoaded: false, - - onLoad: function(){ - // summary: - // Called when Dojo Offline can be used. - // description: - // Do a dojo.connect to this to know when you can - // start using Dojo Offline: - // dojo.connect(dojox.off, "onLoad", myFunc); - }, - - onNetwork: function(type){ - // summary: - // Called when our on- or offline- status changes. - // description: - // If we move online, then this method is called with the - // value "online". If we move offline, then this method is - // called with the value "offline". You can connect to this - // method to do add your own behavior: - // - // dojo.connect(dojox.off, "onNetwork", someFunc) - // - // Note that if you are using the default Dojo Offline UI - // widget that most of the on- and off-line notification - // and syncing is automatically handled and provided to the - // user. - // type: String - // Either "online" or "offline". - }, - - initialize: function(){ /* void */ - // summary: - // Called when a Dojo Offline-enabled application is finished - // configuring Dojo Offline, and is ready for Dojo Offline to - // initialize itself. - // description: - // When an application has finished filling out the variables Dojo - // Offline needs to work, such as dojox.off.ui.appName, it must - // this method to tell Dojo Offline to initialize itself. - - // Note: - // This method is needed for a rare edge case. In some conditions, - // especially if we are dealing with a compressed Dojo build, the - // entire Dojo Offline subsystem might initialize itself and be - // running even before the JavaScript for an application has had a - // chance to run and configure Dojo Offline, causing Dojo Offline - // to have incorrect initialization parameters for a given app, - // such as no value for dojox.off.ui.appName. This method is - // provided to prevent this scenario, to slightly 'slow down' Dojo - // Offline so it can be configured before running off and doing - // its thing. - - //console.debug("dojox.off.initialize"); - this._initializeCalled = true; - - if(this._storageLoaded && this._pageLoaded){ - this._onLoad(); - } - }, - - goOffline: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Manually goes offline, away from the network. - if((dojox.off.sync.isSyncing)||(this.goingOnline)){ return; } - - this.goingOnline = false; - this.isOnline = false; - }, - - goOnline: function(callback){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Attempts to go online. - // description: - // Attempts to go online, making sure this web application's web - // site is available. 'callback' is called asychronously with the - // result of whether we were able to go online or not. - // callback: Function - // An optional callback function that will receive one argument: - // whether the site is available or not and is boolean. If this - // function is not present we call dojo.xoff.onOnline instead if - // we are able to go online. - - //console.debug("goOnline"); - - if(dojox.off.sync.isSyncing || dojox.off.goingOnline){ - return; - } - - this.goingOnline = true; - this.isOnline = false; - - // see if can reach our web application's web site - this._isSiteAvailable(callback); - }, - - onFrameworkEvent: function(type /* String */, saveData /* Object? */){ - // summary: - // For advanced usage; most developers can ignore this. - // A standard event handler that can be attached to to find out - // about low-level framework events. Most developers will not need to - // attach to this method; it is meant for low-level information - // that can be useful for updating offline user-interfaces in - // exceptional circumstances. The default Dojo Offline UI - // widget takes care of most of these situations. - // type: String - // The type of the event: - // - // * "offlineCacheInstalled" - // An event that is fired when a user - // has installed an offline cache after the page has been loaded. - // If a user didn't have an offline cache when the page loaded, a - // UI of some kind might have prompted them to download one. This - // method is called if they have downloaded and installed an - // offline cache so a UI can reinitialize itself to begin using - // this offline cache. - // * "coreOperationFailed" - // Fired when a core operation during interaction with the - // offline cache is denied by the user. Some offline caches, such - // as Google Gears, prompts the user to approve or deny caching - // files, using the database, and more. If the user denies a - // request that is core to Dojo Offline's operation, we set - // dojox.off.coreOpFailed to true and call this method for - // listeners that would like to respond some how to Dojo Offline - // 'failing fast'. - // * "save" - // Called whenever the framework saves data into persistent - // storage. This could be useful for providing save feedback - // or providing appropriate error feedback if saving fails - // due to a user not allowing the save to occur - // saveData: Object? - // If the type was 'save', then a saveData object is provided with - // further save information. This object has the following properties: - // - // * status - dojox.storage.SUCCESS, dojox.storage.PENDING, dojox.storage.FAILED - // Whether the save succeeded, whether it is pending based on a UI - // dialog asking the user for permission, or whether it failed. - // - // * isCoreSave - boolean - // If true, then this save was for a core piece of data necessary - // for the functioning of Dojo Offline. If false, then it is a - // piece of normal data being saved for offline access. Dojo - // Offline will 'fail fast' if some core piece of data could not - // be saved, automatically setting dojox.off.coreOpFailed to - // 'true' and dojox.off.enabled to 'false'. - // - // * key - String - // The key that we are attempting to persist - // - // * value - Object - // The object we are trying to persist - // - // * namespace - String - // The Dojo Storage namespace we are saving this key/value pair - // into, such as "default", "Documents", "Contacts", etc. - // Optional. - if(type == "save"){ - if(saveData.isCoreSave && (saveData.status == dojox.storage.FAILED)){ - dojox.off.coreOpFailed = true; - dojox.off.enabled = false; - - // FIXME: Stop the background network thread - dojox.off.onFrameworkEvent("coreOperationFailed"); - } - }else if(type == "coreOperationFailed"){ - dojox.off.coreOpFailed = true; - dojox.off.enabled = false; - // FIXME: Stop the background network thread - } - }, - - _checkOfflineCacheAvailable: function(callback){ - // is a true, offline cache running on this machine? - this.hasOfflineCache = dojo.isGears; - - callback(); - }, - - _onLoad: function(){ - //console.debug("dojox.off._onLoad"); - - // both local storage and the page are finished loading - - // cache the Dojo JavaScript -- just use the default dojo.js - // name for the most common scenario - // FIXME: TEST: Make sure syncing doesn't break if dojo.js - // can't be found, or report an error to developer - dojox.off.files.cache(dojo.moduleUrl("dojo", "dojo.js")); - - // pull in the files needed by Dojo - this._cacheDojoResources(); - - // FIXME: need to pull in the firebug lite files here! - // workaround or else we will get an error on page load - // from Dojo that it can't find 'console.debug' for optimized builds - // dojox.off.files.cache(dojo.config.baseRelativePath + "src/debug.js"); - - // make sure that resources needed by all of our underlying - // Dojo Storage storage providers will be available - // offline - dojox.off.files.cache(dojox.storage.manager.getResourceList()); - - // slurp the page if the end-developer wants that - dojox.off.files._slurp(); - - // see if we have an offline cache; when done, move - // on to the rest of our startup tasks - this._checkOfflineCacheAvailable(dojo.hitch(this, "_onOfflineCacheChecked")); - }, - - _onOfflineCacheChecked: function(){ - // this method is part of our _onLoad series of startup tasks - - // if we have an offline cache, see if we have been added to the - // list of available offline web apps yet - if(this.hasOfflineCache && this.enabled){ - // load framework data; when we are finished, continue - // initializing ourselves - this._load(dojo.hitch(this, "_finishStartingUp")); - }else if(this.hasOfflineCache && !this.enabled){ - // we have an offline cache, but it is disabled for some reason - // perhaps due to the user denying a core operation - this._finishStartingUp(); - }else{ - this._keepCheckingUntilInstalled(); - } - }, - - _keepCheckingUntilInstalled: function(){ - // this method is part of our _onLoad series of startup tasks - - // kick off a background interval that keeps - // checking to see if an offline cache has been - // installed since this page loaded - - // FIXME: Gears: See if we are installed somehow after the - // page has been loaded - - // now continue starting up - this._finishStartingUp(); - }, - - _finishStartingUp: function(){ - //console.debug("dojox.off._finishStartingUp"); - - // this method is part of our _onLoad series of startup tasks - - if(!this.hasOfflineCache){ - this.onLoad(); - }else if(this.enabled){ - // kick off a thread to check network status on - // a regular basis - this._startNetworkThread(); - - // try to go online - this.goOnline(dojo.hitch(this, function(){ - //console.debug("Finished trying to go online"); - // indicate we are ready to be used - dojox.off.onLoad(); - })); - }else{ // we are disabled or a core operation failed - if(this.coreOpFailed){ - this.onFrameworkEvent("coreOperationFailed"); - }else{ - this.onLoad(); - } - } - }, - - _onPageLoad: function(){ - //console.debug("dojox.off._onPageLoad"); - this._pageLoaded = true; - - if(this._storageLoaded && this._initializeCalled){ - this._onLoad(); - } - }, - - _onStorageLoad: function(){ - //console.debug("dojox.off._onStorageLoad"); - this._storageLoaded = true; - - // were we able to initialize storage? if - // not, then this is a core operation, and - // let's indicate we will need to fail fast - if(!dojox.storage.manager.isAvailable() - && dojox.storage.manager.isInitialized()){ - this.coreOpFailed = true; - this.enabled = false; - } - - if(this._pageLoaded && this._initializeCalled){ - this._onLoad(); - } - }, - - _isSiteAvailable: function(callback){ - // summary: - // Determines if our web application's website is available. - // description: - // This method will asychronously determine if our web - // application's web site is available, which is a good proxy for - // network availability. The URL dojox.off.availabilityURL is - // used, which defaults to this site's domain name (ex: - // foobar.com). We check for dojox.off.AVAILABILITY_TIMEOUT (in - // seconds) and abort after that - // callback: Function - // An optional callback function that will receive one argument: - // whether the site is available or not and is boolean. If this - // function is not present we call dojox.off.onNetwork instead if we - // are able to go online. - dojo.xhrGet({ - url: this._getAvailabilityURL(), - handleAs: "text", - timeout: this.NET_CHECK * 1000, - error: dojo.hitch(this, function(err){ - //console.debug("dojox.off._isSiteAvailable.error: " + err); - this.goingOnline = false; - this.isOnline = false; - if(callback){ callback(false); } - }), - load: dojo.hitch(this, function(data){ - //console.debug("dojox.off._isSiteAvailable.load, data="+data); - this.goingOnline = false; - this.isOnline = true; - - if(callback){ callback(true); - }else{ this.onNetwork("online"); } - }) - }); - }, - - _startNetworkThread: function(){ - //console.debug("startNetworkThread"); - - // kick off a thread that does periodic - // checks on the status of the network - if(!this.doNetChecking){ - return; - } - - window.setInterval(dojo.hitch(this, function(){ - var d = dojo.xhrGet({ - url: this._getAvailabilityURL(), - handleAs: "text", - timeout: this.NET_CHECK * 1000, - error: dojo.hitch(this, - function(err){ - if(this.isOnline){ - this.isOnline = false; - - // FIXME: xhrGet() is not - // correctly calling abort - // on the XHR object when - // it times out; fix inside - // there instead of externally - // here - try{ - if(typeof d.ioArgs.xhr.abort == "function"){ - d.ioArgs.xhr.abort(); - } - }catch(e){} - - // if things fell in the middle of syncing, - // stop syncing - dojox.off.sync.isSyncing = false; - - this.onNetwork("offline"); - } - } - ), - load: dojo.hitch(this, - function(data){ - if(!this.isOnline){ - this.isOnline = true; - this.onNetwork("online"); - } - } - ) - }); - - }), this.NET_CHECK * 1000); - }, - - _getAvailabilityURL: function(){ - var url = this.availabilityURL.toString(); - - // bust the browser's cache to make sure we are really talking to - // the server - if(url.indexOf("?") == -1){ - url += "?"; - }else{ - url += "&"; - } - url += "browserbust=" + new Date().getTime(); - - return url; - }, - - _onOfflineCacheInstalled: function(){ - this.onFrameworkEvent("offlineCacheInstalled"); - }, - - _cacheDojoResources: function(){ - // if we are a non-optimized build, then the core Dojo bootstrap - // system was loaded as separate JavaScript files; - // add these to our offline cache list. these are - // loaded before the dojo.require() system exists - - // FIXME: create a better mechanism in the Dojo core to - // expose whether you are dealing with an optimized build; - // right now we just scan the SCRIPT tags attached to this - // page and see if there is one for _base/_loader/bootstrap.js - var isOptimizedBuild = true; - dojo.forEach(dojo.query("script"), function(i){ - var src = i.getAttribute("src"); - if(!src){ return; } - - if(src.indexOf("_base/_loader/bootstrap.js") != -1){ - isOptimizedBuild = false; - } - }); - - if(!isOptimizedBuild){ - dojox.off.files.cache(dojo.moduleUrl("dojo", "_base.js").uri); - dojox.off.files.cache(dojo.moduleUrl("dojo", "_base/_loader/loader.js").uri); - dojox.off.files.cache(dojo.moduleUrl("dojo", "_base/_loader/bootstrap.js").uri); - - // FIXME: pull in the host environment file in a more generic way - // for other host environments - dojox.off.files.cache(dojo.moduleUrl("dojo", "_base/_loader/hostenv_browser.js").uri); - } - - // add anything that was brought in with a - // dojo.require() that resulted in a JavaScript - // URL being fetched - - // FIXME: modify dojo/_base/_loader/loader.js to - // expose a public API to get this information - - for(var i = 0; i < dojo._loadedUrls.length; i++){ - dojox.off.files.cache(dojo._loadedUrls[i]); - } - - // FIXME: add the standard Dojo CSS file - }, - - _save: function(){ - // summary: - // Causes the Dojo Offline framework to save its configuration - // data into local storage. - }, - - _load: function(callback){ - // summary: - // Causes the Dojo Offline framework to load its configuration - // data from local storage - dojox.off.sync._load(callback); - } -}); - - -// wait until the storage system is finished loading -dojox.storage.manager.addOnLoad(dojo.hitch(dojox.off, "_onStorageLoad")); - -// wait until the page is finished loading -dojo.addOnLoad(dojox.off, "_onPageLoad"); - -} - -if(!dojo._hasResource["dojox.off"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.off"] = true; -dojo.provide("dojox.off"); - - -} - -if(!dojo._hasResource["dojox.off.ui"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.off.ui"] = true; -dojo.provide("dojox.off.ui"); - - - - - -// Author: Brad Neuberg, bkn3@columbia.edu, http://codinginparadise.org - -// summary: -// dojox.off.ui provides a standard, -// default user-interface for a -// Dojo Offline Widget that can easily -// be dropped into applications that would -// like to work offline. -dojo.mixin(dojox.off.ui, { - // appName: String - // This application's name, such as "Foobar". Note that - // this is a string, not HTML, so embedded markup will - // not work, including entities. Only the following - // characters are allowed: numbers, letters, and spaces. - // You must set this property. - appName: "setme", - - // autoEmbed: boolean - // For advanced usage; most developers can ignore this. - // Whether to automatically auto-embed the default Dojo Offline - // widget into this page; default is true. - autoEmbed: true, - - // autoEmbedID: String - // For advanced usage; most developers can ignore this. - // The ID of the DOM element that will contain our - // Dojo Offline widget; defaults to the ID 'dot-widget'. - autoEmbedID: "dot-widget", - - // runLink: String - // For advanced usage; most developers can ignore this. - // The URL that should be navigated to to run this - // application offline; this will be placed inside of a - // link that the user can drag to their desktop and double - // click. Note that this URL must exactly match the URL - // of the main page of our resource that is offline for - // it to be retrieved from the offline cache correctly. - // For example, if you have cached your main page as - // http://foobar.com/index.html, and you set this to - // http://www.foobar.com/index.html, the run link will - // not work. By default this value is automatically set to - // the URL of this page, so it does not need to be set - // manually unless you have unusual needs. - runLink: window.location.href, - - // runLinkTitle: String - // For advanced usage; most developers can ignore this. - // The text that will be inside of the link that a user - // can drag to their desktop to run this application offline. - // By default this is automatically set to "Run " plus your - // application's name. - runLinkTitle: "Run Application", - - // learnHowPath: String - // For advanced usage; most developers can ignore this. - // The path to a web page that has information on - // how to use this web app offline; defaults to - // src/off/ui-template/learnhow.html, relative to - // your Dojo installation. Make sure to set - // dojo.to.ui.customLearnHowPath to true if you want - // a custom Learn How page. - learnHowPath: dojo.moduleUrl("dojox", "off/resources/learnhow.html"), - - // customLearnHowPath: boolean - // For advanced usage; most developers can ignore this. - // Whether the developer is using their own custom page - // for the Learn How instructional page; defaults to false. - // Use in conjunction with dojox.off.ui.learnHowPath. - customLearnHowPath: false, - - htmlTemplatePath: dojo.moduleUrl("dojox", "off/resources/offline-widget.html").uri, - cssTemplatePath: dojo.moduleUrl("dojox", "off/resources/offline-widget.css").uri, - onlineImagePath: dojo.moduleUrl("dojox", "off/resources/greenball.png").uri, - offlineImagePath: dojo.moduleUrl("dojox", "off/resources/redball.png").uri, - rollerImagePath: dojo.moduleUrl("dojox", "off/resources/roller.gif").uri, - checkmarkImagePath: dojo.moduleUrl("dojox", "off/resources/checkmark.png").uri, - learnHowJSPath: dojo.moduleUrl("dojox", "off/resources/learnhow.js").uri, - - _initialized: false, - - onLoad: function(){ - // summary: - // A function that should be connected to allow your - // application to know when Dojo Offline, the page, and - // the Offline Widget are all initialized and ready to be - // used: - // - // dojo.connect(dojox.off.ui, "onLoad", someFunc) - }, - - _initialize: function(){ - //console.debug("dojox.off.ui._initialize"); - - // make sure our app name is correct - if(this._validateAppName(this.appName) == false){ - alert("You must set dojox.off.ui.appName; it can only contain " - + "letters, numbers, and spaces; right now it " - + "is incorrectly set to '" + dojox.off.ui.appName + "'"); - dojox.off.enabled = false; - return; - } - - // set our run link text to its default - this.runLinkText = "Run " + this.appName; - - // setup our event listeners for Dojo Offline events - // to update our UI - dojo.connect(dojox.off, "onNetwork", this, "_onNetwork"); - dojo.connect(dojox.off.sync, "onSync", this, "_onSync"); - - // cache our default UI resources - dojox.off.files.cache([ - this.htmlTemplatePath, - this.cssTemplatePath, - this.onlineImagePath, - this.offlineImagePath, - this.rollerImagePath, - this.checkmarkImagePath - ]); - - // embed the offline widget UI - if(this.autoEmbed){ - this._doAutoEmbed(); - } - }, - - _doAutoEmbed: function(){ - // fetch our HTML for the offline widget - - // dispatch the request - dojo.xhrGet({ - url: this.htmlTemplatePath, - handleAs: "text", - error: function(err){ - dojox.off.enabled = false; - err = err.message||err; - alert("Error loading the Dojo Offline Widget from " - + this.htmlTemplatePath + ": " + err); - }, - load: dojo.hitch(this, this._templateLoaded) - }); - }, - - _templateLoaded: function(data){ - //console.debug("dojox.off.ui._templateLoaded"); - // inline our HTML - var container = dojo.byId(this.autoEmbedID); - if(container){ container.innerHTML = data; } - - // fill out our image paths - this._initImages(); - - // update our network indicator status ball - this._updateNetIndicator(); - - // update our 'Learn How' text - this._initLearnHow(); - - this._initialized = true; - - // check offline cache settings - if(!dojox.off.hasOfflineCache){ - this._showNeedsOfflineCache(); - return; - } - - // check to see if we need a browser restart - // to be able to use this web app offline - if(dojox.off.hasOfflineCache && dojox.off.browserRestart){ - this._needsBrowserRestart(); - return; - }else{ - var browserRestart = dojo.byId("dot-widget-browser-restart"); - if(browserRestart){ browserRestart.style.display = "none"; } - } - - // update our sync UI - this._updateSyncUI(); - - // register our event listeners for our main buttons - this._initMainEvtHandlers(); - - // if offline functionality is disabled, disable everything - this._setOfflineEnabled(dojox.off.enabled); - - // update our UI based on the state of the network - this._onNetwork(dojox.off.isOnline ? "online" : "offline"); - - // try to go online - this._testNet(); - }, - - _testNet: function(){ - dojox.off.goOnline(dojo.hitch(this, function(isOnline){ - //console.debug("testNet callback, isOnline="+isOnline); - - // display our online/offline results - this._onNetwork(isOnline ? "online" : "offline"); - - // indicate that our default UI - // and Dojo Offline are now ready to - // be used - this.onLoad(); - })); - }, - - _updateNetIndicator: function(){ - var onlineImg = dojo.byId("dot-widget-network-indicator-online"); - var offlineImg = dojo.byId("dot-widget-network-indicator-offline"); - var titleText = dojo.byId("dot-widget-title-text"); - - if(onlineImg && offlineImg){ - if(dojox.off.isOnline == true){ - onlineImg.style.display = "inline"; - offlineImg.style.display = "none"; - }else{ - onlineImg.style.display = "none"; - offlineImg.style.display = "inline"; - } - } - - if(titleText){ - if(dojox.off.isOnline){ - titleText.innerHTML = "Online"; - }else{ - titleText.innerHTML = "Offline"; - } - } - }, - - _initLearnHow: function(){ - var learnHow = dojo.byId("dot-widget-learn-how-link"); - - if(!learnHow){ return; } - - if(!this.customLearnHowPath){ - // add parameters to URL so the Learn How page - // can customize itself and display itself - // correctly based on framework settings - var dojoPath = dojo.config.baseRelativePath; - this.learnHowPath += "?appName=" + encodeURIComponent(this.appName) - + "&hasOfflineCache=" + dojox.off.hasOfflineCache - + "&runLink=" + encodeURIComponent(this.runLink) - + "&runLinkText=" + encodeURIComponent(this.runLinkText) - + "&baseRelativePath=" + encodeURIComponent(dojoPath); - - // cache our Learn How JavaScript page and - // the HTML version with full query parameters - // so it is available offline without a cache miss - dojox.off.files.cache(this.learnHowJSPath); - dojox.off.files.cache(this.learnHowPath); - } - - learnHow.setAttribute("href", this.learnHowPath); - - var appName = dojo.byId("dot-widget-learn-how-app-name"); - - if(!appName){ return; } - - appName.innerHTML = ""; - appName.appendChild(document.createTextNode(this.appName)); - }, - - _validateAppName: function(appName){ - if(!appName){ return false; } - - return (/^[a-z0-9 ]*$/i.test(appName)); - }, - - _updateSyncUI: function(){ - var roller = dojo.byId("dot-roller"); - var checkmark = dojo.byId("dot-success-checkmark"); - var syncMessages = dojo.byId("dot-sync-messages"); - var details = dojo.byId("dot-sync-details"); - var cancel = dojo.byId("dot-sync-cancel"); - - if(dojox.off.sync.isSyncing){ - this._clearSyncMessage(); - - if(roller){ roller.style.display = "inline"; } - - if(checkmark){ checkmark.style.display = "none"; } - - if(syncMessages){ - dojo.removeClass(syncMessages, "dot-sync-error"); - } - - if(details){ details.style.display = "none"; } - - if(cancel){ cancel.style.display = "inline"; } - }else{ - if(roller){ roller.style.display = "none"; } - - if(cancel){ cancel.style.display = "none"; } - - if(syncMessages){ - dojo.removeClass(syncMessages, "dot-sync-error"); - } - } - }, - - _setSyncMessage: function(message){ - var syncMessage = dojo.byId("dot-sync-messages"); - if(syncMessage){ - // when used with Google Gears pre-release in Firefox/Mac OS X, - // the browser would crash when testing in Moxie - // if we set the message this way for some reason. - // Brad Neuberg, bkn3@columbia.edu - //syncMessage.innerHTML = message; - - while(syncMessage.firstChild){ - syncMessage.removeChild(syncMessage.firstChild); - } - syncMessage.appendChild(document.createTextNode(message)); - } - }, - - _clearSyncMessage: function(){ - this._setSyncMessage(""); - }, - - _initImages: function(){ - var onlineImg = dojo.byId("dot-widget-network-indicator-online"); - if(onlineImg){ - onlineImg.setAttribute("src", this.onlineImagePath); - } - - var offlineImg = dojo.byId("dot-widget-network-indicator-offline"); - if(offlineImg){ - offlineImg.setAttribute("src", this.offlineImagePath); - } - - var roller = dojo.byId("dot-roller"); - if(roller){ - roller.setAttribute("src", this.rollerImagePath); - } - - var checkmark = dojo.byId("dot-success-checkmark"); - if(checkmark){ - checkmark.setAttribute("src", this.checkmarkImagePath); - } - }, - - _showDetails: function(evt){ - // cancel the button's default behavior - evt.preventDefault(); - evt.stopPropagation(); - - if(!dojox.off.sync.details.length){ - return; - } - - // determine our HTML message to display - var html = ""; - html += "Sync Details"; - html += "

                        Sync Details

                        \n"; - html += "
                          \n"; - for(var i = 0; i < dojox.off.sync.details.length; i++){ - html += "
                        • "; - html += dojox.off.sync.details[i]; - html += "
                        • "; - } - html += "
                        \n"; - html += "" - + "Close Window" - + "\n"; - html += ""; - - // open a popup window with this message - var windowParams = "height=400,width=600,resizable=true," - + "scrollbars=true,toolbar=no,menubar=no," - + "location=no,directories=no,dependent=yes"; - - var popup = window.open("", "SyncDetails", windowParams); - - if(!popup){ // aggressive popup blocker - alert("Please allow popup windows for this domain; can't display sync details window"); - return; - } - - popup.document.open(); - popup.document.write(html); - popup.document.close(); - - // put the focus on the popup window - if(popup.focus){ - popup.focus(); - } - }, - - _cancel: function(evt){ - // cancel the button's default behavior - evt.preventDefault(); - evt.stopPropagation(); - - dojox.off.sync.cancel(); - }, - - _needsBrowserRestart: function(){ - var browserRestart = dojo.byId("dot-widget-browser-restart"); - if(browserRestart){ - dojo.addClass(browserRestart, "dot-needs-browser-restart"); - } - - var appName = dojo.byId("dot-widget-browser-restart-app-name"); - if(appName){ - appName.innerHTML = ""; - appName.appendChild(document.createTextNode(this.appName)); - } - - var status = dojo.byId("dot-sync-status"); - if(status){ - status.style.display = "none"; - } - }, - - _showNeedsOfflineCache: function(){ - var widgetContainer = dojo.byId("dot-widget-container"); - if(widgetContainer){ - dojo.addClass(widgetContainer, "dot-needs-offline-cache"); - } - }, - - _hideNeedsOfflineCache: function(){ - var widgetContainer = dojo.byId("dot-widget-container"); - if(widgetContainer){ - dojo.removeClass(widgetContainer, "dot-needs-offline-cache"); - } - }, - - _initMainEvtHandlers: function(){ - var detailsButton = dojo.byId("dot-sync-details-button"); - if(detailsButton){ - dojo.connect(detailsButton, "onclick", this, this._showDetails); - } - var cancelButton = dojo.byId("dot-sync-cancel-button"); - if(cancelButton){ - dojo.connect(cancelButton, "onclick", this, this._cancel); - } - }, - - _setOfflineEnabled: function(enabled){ - var elems = []; - elems.push(dojo.byId("dot-sync-status")); - - for(var i = 0; i < elems.length; i++){ - if(elems[i]){ - elems[i].style.visibility = - (enabled ? "visible" : "hidden"); - } - } - }, - - _syncFinished: function(){ - this._updateSyncUI(); - - var checkmark = dojo.byId("dot-success-checkmark"); - var details = dojo.byId("dot-sync-details"); - - if(dojox.off.sync.successful == true){ - this._setSyncMessage("Sync Successful"); - if(checkmark){ checkmark.style.display = "inline"; } - }else if(dojox.off.sync.cancelled == true){ - this._setSyncMessage("Sync Cancelled"); - - if(checkmark){ checkmark.style.display = "none"; } - }else{ - this._setSyncMessage("Sync Error"); - - var messages = dojo.byId("dot-sync-messages"); - if(messages){ - dojo.addClass(messages, "dot-sync-error"); - } - - if(checkmark){ checkmark.style.display = "none"; } - } - - if(dojox.off.sync.details.length && details){ - details.style.display = "inline"; - } - }, - - _onFrameworkEvent: function(type, saveData){ - if(type == "save"){ - if(saveData.status == dojox.storage.FAILED && !saveData.isCoreSave){ - alert("Please increase the amount of local storage available " - + "to this application"); - if(dojox.storage.hasSettingsUI()){ - dojox.storage.showSettingsUI(); - } - - // FIXME: Be able to know if storage size has changed - // due to user configuration - } - }else if(type == "coreOperationFailed"){ - console.log("Application does not have permission to use Dojo Offline"); - - if(!this._userInformed){ - alert("This application will not work if Google Gears is not allowed to run"); - this._userInformed = true; - } - }else if(type == "offlineCacheInstalled"){ - // clear out the 'needs offline cache' info - this._hideNeedsOfflineCache(); - - // check to see if we need a browser restart - // to be able to use this web app offline - if(dojox.off.hasOfflineCache == true - && dojox.off.browserRestart == true){ - this._needsBrowserRestart(); - return; - }else{ - var browserRestart = dojo.byId("dot-widget-browser-restart"); - if(browserRestart){ - browserRestart.style.display = "none"; - } - } - - // update our sync UI - this._updateSyncUI(); - - // register our event listeners for our main buttons - this._initMainEvtHandlers(); - - // if offline is disabled, disable everything - this._setOfflineEnabled(dojox.off.enabled); - - // try to go online - this._testNet(); - } - }, - - _onSync: function(type){ - //console.debug("ui, onSync="+type); - switch(type){ - case "start": - this._updateSyncUI(); - break; - - case "refreshFiles": - this._setSyncMessage("Downloading UI..."); - break; - - case "upload": - this._setSyncMessage("Uploading new data..."); - break; - - case "download": - this._setSyncMessage("Downloading new data..."); - break; - - case "finished": - this._syncFinished(); - break; - - case "cancel": - this._setSyncMessage("Canceling Sync..."); - break; - - default: - dojo.warn("Programming error: " - + "Unknown sync type in dojox.off.ui: " + type); - break; - } - }, - - _onNetwork: function(type){ - // summary: - // Called when we go on- or off-line - // description: - // When we go online or offline, this method is called to update - // our UI. Default behavior is to update the Offline - // Widget UI and to attempt a synchronization. - // type: String - // "online" if we just moved online, and "offline" if we just - // moved offline. - - if(!this._initialized){ return; } - - // update UI - this._updateNetIndicator(); - - if(type == "offline"){ - this._setSyncMessage("You are working offline"); - - // clear old details - var details = dojo.byId("dot-sync-details"); - if(details){ details.style.display = "none"; } - - // if we fell offline during a sync, hide - // the sync info - this._updateSyncUI(); - }else{ // online - // synchronize, but pause for a few seconds - // so that the user can orient themselves - if(dojox.off.sync.autoSync){ - if(dojo.isAIR){ - window.setTimeout(function(){dojox.off.sync.synchronize();}, 1000); - }else{ - window.setTimeout(dojox._scopeName + ".off.sync.synchronize()", 1000); - } - } - } - } -}); - -// register ourselves for low-level framework events -dojo.connect(dojox.off, "onFrameworkEvent", dojox.off.ui, "_onFrameworkEvent"); - -// start our magic when the Dojo Offline framework is ready to go -dojo.connect(dojox.off, "onLoad", dojox.off.ui, dojox.off.ui._initialize); - -} - -if(!dojo._hasResource["dojox.off.offline"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.off.offline"] = true; -dojo.provide("dojox.off.offline"); - - - - - - - -} - diff --git a/includes/js/dojox/off/resources/checkmark.png b/includes/js/dojox/off/resources/checkmark.png deleted file mode 100644 index a0ffbb1..0000000 Binary files a/includes/js/dojox/off/resources/checkmark.png and /dev/null differ diff --git a/includes/js/dojox/off/resources/greenball.png b/includes/js/dojox/off/resources/greenball.png deleted file mode 100644 index 520b6a6..0000000 Binary files a/includes/js/dojox/off/resources/greenball.png and /dev/null differ diff --git a/includes/js/dojox/off/resources/learnhow.html b/includes/js/dojox/off/resources/learnhow.html deleted file mode 100644 index 2833fcc..0000000 --- a/includes/js/dojox/off/resources/learnhow.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - -
                        -

                        Want to use Application offline?

                        - -

                        It's simple with Dojo Offline! Dojo Offline is a free open source utility that makes it easy - for this web application to work, even if you're offline. Now you can - access your data even when away from the network!

                        - -

                        Dojo Offline is an open source project brought to you by - Dojo, SitePen, - and Brad Neuberg. It incorporates - technologies created by Google.

                        - -

                        To get started:

                        - -
                          -
                        1. - Download Gears, a small, open source utility created by Google that allows this web site - to work offline. This tool is safe and secure for your machine, and only takes - a few seconds to download. -
                        2. -
                        3. - Once downloaded, run the installer. Restart your web browser when finished installing. -
                        4. - - -
                        -
                        - - \ No newline at end of file diff --git a/includes/js/dojox/off/resources/learnhow.js b/includes/js/dojox/off/resources/learnhow.js deleted file mode 100644 index 82d5506..0000000 --- a/includes/js/dojox/off/resources/learnhow.js +++ /dev/null @@ -1,43 +0,0 @@ -window.onload = function(){ - // get the app name from our URL - var href = window.location.href; - var matches = href.match(/appName=([a-z0-9 \%]*)/i); - var appName = "Application"; - if(matches && matches.length > 0){ - appName = decodeURIComponent(matches[1]); - } - - // set it in our UI - var appNameSpan = document.getElementById("dot-learn-how-app-name"); - appNameSpan.innerHTML = ""; - appNameSpan.appendChild(document.createTextNode(appName)); - - // if we need an offline cache, and we already have one installed, - // update the UI - matches = href.match(/hasOfflineCache=(true|false)/); - var hasOfflineCache = false; - if(matches && matches.length > 0){ - hasOfflineCache = matches[1]; - // convert to boolean - hasOfflineCache = (hasOfflineCache == "true") ? true : false; - } - if(hasOfflineCache == true){ - // delete the download and install steps - var downloadStep = document.getElementById("dot-download-step"); - var installStep = document.getElementById("dot-install-step"); - downloadStep.parentNode.removeChild(downloadStep); - installStep.parentNode.removeChild(installStep); - } - - // get our run link info and update the UI - matches = href.match(/runLink=([^\&]*)\&runLinkText=([^\&]*)/); - if(matches && matches.length > 0){ - var runLink = decodeURIComponent(matches[1]); - var runLinkElem = document.getElementById("dot-learn-how-run-link"); - runLinkElem.setAttribute("href", runLink); - - var runLinkText = decodeURIComponent(matches[2]); - runLinkElem.innerHTML = ""; - runLinkElem.appendChild(document.createTextNode(runLinkText)); - } -} diff --git a/includes/js/dojox/off/resources/offline-widget.css b/includes/js/dojox/off/resources/offline-widget.css deleted file mode 100644 index 3d095e9..0000000 --- a/includes/js/dojox/off/resources/offline-widget.css +++ /dev/null @@ -1,88 +0,0 @@ - -#dot-widget-container{ - - width: 13em; - height: auto; - border: 2px solid #CDDDE9; - position: relative; - visibility: visible !important; -} -#dot-widget-title-bar{ - background-color: #CDDDE9; - padding-top: 0.2em; - padding-bottom: 0.2em; -} -#dot-widget-network-indicator{ - height: 8px; - width: 8px; - padding-left: 0.3em; -} -#dot-widget-title-text{ - vertical-align: middle; - font-weight: bold; - font-size: 14pt; - padding-left: 2px; -} -#dot-widget-contents{ - padding: 8px 5px 8px 5px; -} -#dot-widget-learn-how{ - font-size: 11pt; -} -#dot-sync-cancel, -#dot-sync-status{ - font-size: 11pt; -} -#dot-success-checkmark{ - display: none; -} -#dot-roller{ - display: none; - padding-right: 4px; -} -.dot-sync-error{ - color: red; -} -#dot-sync-details{ - display: none; - padding-left: 0.2em; -} -#dot-sync-status{ - height: 2em; - margin-top: 0.8em; - margin-bottom: 0.8em; -} -.dot-needs-offline-cache #dot-widget-learn-how, -.dot-needs-browser-restart{ - text-align: center; - line-height: 1.2; - font-size: 16pt !important; -} -.dot-needs-offline-cache #dot-sync-status, -.dot-needs-offline-cache #dot-widget-browser-restart{ - display: none; -} -.dot-needs-browser-restart{ - font-size: 14pt !important; - padding-bottom: 1em; - padding-top: 1em; -} -#dot-learn-how-body{ - padding: 3em; - background-color: #CDDDE9; -} -#dot-learn-how-contents{ - border: 1px solid black; - background-color: white; - padding: 0.4em 0.6em 0.4em 0.6em; - font-size: 16pt; -} -#dot-learn-how-contents h1{ - font-size: 24pt; -} -#dot-learn-how-contents h2{ - font-size: 18pt; -} -#dot-learn-how-contents li{ - padding-bottom: 0.6em; -} diff --git a/includes/js/dojox/off/resources/offline-widget.css.commented.css b/includes/js/dojox/off/resources/offline-widget.css.commented.css deleted file mode 100644 index 374a43b..0000000 --- a/includes/js/dojox/off/resources/offline-widget.css.commented.css +++ /dev/null @@ -1,112 +0,0 @@ -/** Offline Widget Styles */ - -#dot-widget-container{ - /** - Keep these as EMs so widget reflows fluidly based on - user-font size settings - */ - width: 13em; - height: auto; - border: 2px solid #CDDDE9; /* light tundra blue */ - position: relative; - visibility: visible !important; -} - -#dot-widget-title-bar{ - background-color: #CDDDE9; /* light tundra blue */ - padding-top: 0.2em; - padding-bottom: 0.2em; -} - -#dot-widget-network-indicator{ - height: 8px; - width: 8px; - padding-left: 0.3em; -} - -#dot-widget-title-text{ - vertical-align: middle; - font-weight: bold; - font-size: 14pt; - padding-left: 2px; -} - -#dot-widget-contents{ - padding: 8px 5px 8px 5px; -} - -#dot-widget-learn-how{ - font-size: 11pt; -} - -#dot-sync-cancel, -#dot-sync-status{ - font-size: 11pt; -} - -#dot-success-checkmark{ - display: none; -} - -#dot-roller{ - display: none; - padding-right: 4px; -} - -.dot-sync-error{ - color: red; -} - -#dot-sync-details{ - display: none; - padding-left: 0.2em; -} - -#dot-sync-status{ - height: 2em; - margin-top: 0.8em; - margin-bottom: 0.8em; -} - -.dot-needs-offline-cache #dot-widget-learn-how, -.dot-needs-browser-restart{ - text-align: center; - line-height: 1.2; - font-size: 16pt !important; -} - -.dot-needs-offline-cache #dot-sync-status, -.dot-needs-offline-cache #dot-widget-browser-restart{ - display: none; -} - -.dot-needs-browser-restart{ - font-size: 14pt !important; - padding-bottom: 1em; - padding-top: 1em; -} - -/** Learn How Page Styles */ -#dot-learn-how-body{ - padding: 3em; - background-color: #CDDDE9; /* light tundra blue */ -} - -#dot-learn-how-contents{ - border: 1px solid black; - background-color: white; - padding: 0.4em 0.6em 0.4em 0.6em; - font-size: 16pt; -} - -#dot-learn-how-contents h1{ - font-size: 24pt; -} - -#dot-learn-how-contents h2{ - font-size: 18pt; -} - -#dot-learn-how-contents li{ - padding-bottom: 0.6em; -} diff --git a/includes/js/dojox/off/resources/offline-widget.html b/includes/js/dojox/off/resources/offline-widget.html deleted file mode 100644 index 5791644..0000000 --- a/includes/js/dojox/off/resources/offline-widget.html +++ /dev/null @@ -1,40 +0,0 @@ - - - \ No newline at end of file diff --git a/includes/js/dojox/off/resources/redball.png b/includes/js/dojox/off/resources/redball.png deleted file mode 100644 index cc224c3..0000000 Binary files a/includes/js/dojox/off/resources/redball.png and /dev/null differ diff --git a/includes/js/dojox/off/resources/roller.gif b/includes/js/dojox/off/resources/roller.gif deleted file mode 100644 index 24a3a24..0000000 Binary files a/includes/js/dojox/off/resources/roller.gif and /dev/null differ diff --git a/includes/js/dojox/off/sync.js b/includes/js/dojox/off/sync.js deleted file mode 100644 index 9927fbe..0000000 --- a/includes/js/dojox/off/sync.js +++ /dev/null @@ -1,690 +0,0 @@ -if(!dojo._hasResource["dojox.off.sync"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.off.sync"] = true; -dojo.provide("dojox.off.sync"); - -dojo.require("dojox.storage.GearsStorageProvider"); -dojo.require("dojox.off._common"); -dojo.require("dojox.off.files"); - -// Author: Brad Neuberg, bkn3@columbia.edu, http://codinginparadise.org - -// summary: -// Exposes syncing functionality to offline applications -dojo.mixin(dojox.off.sync, { - // isSyncing: boolean - // Whether we are in the middle of a syncing session. - isSyncing: false, - - // cancelled: boolean - // Whether we were cancelled during our last sync request or not. If - // we are cancelled, then successful will be false. - cancelled: false, - - // successful: boolean - // Whether the last sync was successful or not. If false, an error - // occurred. - successful: true, - - // details: String[] - // Details on the sync. If the sync was successful, this will carry - // any conflict or merging messages that might be available; if the - // sync was unsuccessful, this will have an error message. For both - // of these, this should be an array of Strings, where each string - // carries details on the sync. - // Example: - // dojox.off.sync.details = ["The document 'foobar' had conflicts - yours one", - // "The document 'hello world' was automatically merged"]; - details: [], - - // error: boolean - // Whether an error occurred during the syncing process. - error: false, - - // actions: dojox.off.sync.ActionLog - // Our ActionLog that we store offline actions into for later - // replaying when we go online - actions: null, - - // autoSync: boolean - // For advanced usage; most developers can ignore this. - // Whether we do automatically sync on page load or when we go online. - // If true we do, if false syncing must be manually initiated. - // Defaults to true. - autoSync: true, - - // summary: - // An event handler that is called during the syncing process with - // the state of syncing. It is important that you connect to this - // method and respond to certain sync events, especially the - // "download" event. - // description: - // This event handler is called during the syncing process. You can - // do a dojo.connect to receive sync feedback: - // - // dojo.connect(dojox.off.sync, "onSync", someFunc); - // - // You will receive one argument, which is the type of the event - // and which can have the following values. - // - // The most common two types that you need to care about are "download" - // and "finished", especially if you are using the default - // Dojo Offline UI widget that does the hard work of informing - // the user through the UI about what is occuring during syncing. - // - // If you receive the "download" event, you should make a network call - // to retrieve and store your data somehow for offline access. The - // "finished" event indicates that syncing is done. An example: - // - // dojo.connect(dojox.off.sync, "onSync", function(type){ - // if(type == "download"){ - // // make a network call to download some data - // // for use offline - // dojo.xhrGet({ - // url: "downloadData.php", - // handleAs: "javascript", - // error: function(err){ - // dojox.off.sync.finishedDownloading(false, "Can't download data"); - // }, - // load: function(data){ - // // store our data - // dojox.storage.put("myData", data); - // - // // indicate we are finished downloading - // dojox.off.sync.finishedDownloading(true); - // } - // }); - // }else if(type == "finished"){ - // // update UI somehow to indicate we are finished, - // // such as using the download data to change the - // // available data - // } - // }) - // - // Here is the full list of event types if you want to do deep - // customization, such as updating your UI to display the progress - // of syncing (note that the default Dojo Offline UI widget does - // this for you if you choose to pull that in). Most of these - // are only appropriate for advanced usage and can be safely - // ignored: - // - // * "start" - // syncing has started - // * "refreshFiles" - // syncing will begin refreshing - // our offline file cache - // * "upload" - // syncing will begin uploading - // any local data changes we have on the client. - // This event is fired before we fire - // the dojox.off.sync.actions.onReplay event for - // each action to replay; use it to completely - // over-ride the replaying behavior and prevent - // it entirely, perhaps rolling your own sync - // protocol if needed. - // * "download" - // syncing will begin downloading any new data that is - // needed into persistent storage. Applications are required to - // implement this themselves, storing the required data into - // persistent local storage using Dojo Storage. - // * "finished" - // syncing is finished; this - // will be called whether an error ocurred or not; check - // dojox.off.sync.successful and dojox.off.sync.error for sync details - // * "cancel" - // Fired when canceling has been initiated; canceling will be - // attempted, followed by the sync event "finished". - onSync: function(/* String */ type){}, - - synchronize: function(){ /* void */ - // summary: Starts synchronizing - - //dojo.debug("synchronize"); - if(this.isSyncing || dojox.off.goingOnline || (!dojox.off.isOnline)){ - return; - } - - this.isSyncing = true; - this.successful = false; - this.details = []; - this.cancelled = false; - - this.start(); - }, - - cancel: function(){ /* void */ - // summary: - // Attempts to cancel this sync session - - if(!this.isSyncing){ return; } - - this.cancelled = true; - if(dojox.off.files.refreshing){ - dojox.off.files.abortRefresh(); - } - - this.onSync("cancel"); - }, - - finishedDownloading: function(successful /* boolean? */, - errorMessage /* String? */){ - // summary: - // Applications call this method from their - // after getting a "download" event in - // dojox.off.sync.onSync to signal that - // they are finished downloading any data - // that should be available offline - // successful: boolean? - // Whether our downloading was successful or not. - // If not present, defaults to true. - // errorMessage: String? - // If unsuccessful, a message explaining why - if(typeof successful == "undefined"){ - successful = true; - } - - if(!successful){ - this.successful = false; - this.details.push(errorMessage); - this.error = true; - } - - this.finished(); - }, - - start: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Called at the start of the syncing process. Advanced - // developers can over-ride this method to use their - // own sync mechanism to start syncing. - - if(this.cancelled){ - this.finished(); - return; - } - this.onSync("start"); - this.refreshFiles(); - }, - - refreshFiles: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Called when we are going to refresh our list - // of offline files during syncing. Advanced developers - // can over-ride this method to do some advanced magic related to - // refreshing files. - - //dojo.debug("refreshFiles"); - if(this.cancelled){ - this.finished(); - return; - } - - this.onSync("refreshFiles"); - - dojox.off.files.refresh(dojo.hitch(this, function(error, errorMessages){ - if(error){ - this.error = true; - this.successful = false; - for(var i = 0; i < errorMessages.length; i++){ - this.details.push(errorMessages[i]); - } - - // even if we get an error while syncing files, - // keep syncing so we can upload and download - // data - } - - this.upload(); - })); - }, - - upload: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Called when syncing wants to upload data. Advanced - // developers can over-ride this method to completely - // throw away the Action Log and replaying system - // and roll their own advanced sync mechanism if needed. - - if(this.cancelled){ - this.finished(); - return; - } - - this.onSync("upload"); - - // when we are done uploading start downloading - dojo.connect(this.actions, "onReplayFinished", this, this.download); - - // replay the actions log - this.actions.replay(); - }, - - download: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Called when syncing wants to download data. Advanced - // developers can over-ride this method to use their - // own sync mechanism. - - if(this.cancelled){ - this.finished(); - return; - } - - // apps should respond to the "download" - // event to download their data; when done - // they must call dojox.off.sync.finishedDownloading() - this.onSync("download"); - }, - - finished: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Called when syncing is finished. Advanced - // developers can over-ride this method to clean - // up after finishing their own sync - // mechanism they might have rolled. - this.isSyncing = false; - - this.successful = (!this.cancelled && !this.error); - - this.onSync("finished"); - }, - - _save: function(callback){ - this.actions._save(function(){ - callback(); - }); - }, - - _load: function(callback){ - this.actions._load(function(){ - callback(); - }); - } -}); - - -// summary: -// A class that records actions taken by a user when they are offline, -// suitable for replaying when the network reappears. -// description: -// The basic idea behind this method is to record user actions that would -// normally have to contact a server into an action log when we are -// offline, so that later when we are online we can simply replay this log -// in the order user actions happened so that they can be executed against -// the server, causing synchronization to happen. -// -// When we replay, for each of the actions that were added, we call a -// method named onReplay that applications should connect to and -// which will be called over and over for each of our actions -- -// applications should take the offline action -// information and use it to talk to a server to have this action -// actually happen online, 'syncing' themselves with the server. -// -// For example, if the action was "update" with the item that was updated, we -// might call some RESTian server API that exists for updating an item in -// our application. The server could either then do sophisticated merging -// and conflict resolution on the server side, for example, allowing you -// to pop up a custom merge UI, or could do automatic merging or nothing -// of the sort. When you are finished with this particular action, your -// application is then required to call continueReplay() on the actionLog object -// passed to onReplay() to continue replaying the action log, or haltReplay() -// with the reason for halting to completely stop the syncing/replaying -// process. -// -// For example, imagine that we have a web application that allows us to add -// contacts. If we are offline, and we update a contact, we would add an action; -// imagine that the user has to click an Update button after changing the values -// for a given contact: -// -// dojox.off.whenOffline(dojo.byId("updateButton"), "onclick", function(evt){ -// // get the updated customer values -// var customer = getCustomerValues(); -// -// // we are offline -- just record this action -// var action = {name: "update", customer: customer}; -// dojox.off.sync.actions.add(action) -// -// // persist this customer data into local storage as well -// dojox.storage.put(customer.name, customer); -// }) -// -// Then, when we go back online, the dojox.off.sync.actions.onReplay event -// will fire over and over, once for each action that was recorded while offline: -// -// dojo.connect(dojox.off.sync.actions, "onReplay", function(action, actionLog){ -// // called once for each action we added while offline, in the order -// // they were added -// if(action.name == "update"){ -// var customer = action.customer; -// -// // call some network service to update this customer -// dojo.xhrPost({ -// url: "updateCustomer.php", -// content: {customer: dojo.toJson(customer)}, -// error: function(err){ -// actionLog.haltReplay(err); -// }, -// load: function(data){ -// actionLog.continueReplay(); -// } -// }) -// } -// }) -// -// Note that the actions log is always automatically persisted locally while using it, so -// that if the user closes the browser or it crashes the actions will safely be stored -// for later replaying. -dojo.declare("dojox.off.sync.ActionLog", null, { - // entries: Array - // An array of our action entries, where each one is simply a custom - // object literal that were passed to add() when this action entry - // was added. - entries: [], - - // reasonHalted: String - // If we halted, the reason why - reasonHalted: null, - - // isReplaying: boolean - // If true, we are in the middle of replaying a command log; if false, - // then we are not - isReplaying: false, - - // autoSave: boolean - // Whether we automatically save the action log after each call to - // add(); defaults to true. For applications that are rapidly adding - // many action log entries in a short period of time, it can be - // useful to set this to false and simply call save() yourself when - // you are ready to persist your command log -- otherwise performance - // could be slow as the default action is to attempt to persist the - // actions log constantly with calls to add(). - autoSave: true, - - add: function(action /* Object */){ /* void */ - // summary: - // Adds an action to our action log - // description: - // This method will add an action to our - // action log, later to be replayed when we - // go from offline to online. 'action' - // will be available when this action is - // replayed and will be passed to onReplay. - // - // Example usage: - // - // dojox.off.sync.log.add({actionName: "create", itemType: "document", - // {title: "Message", content: "Hello World"}}); - // - // The object literal is simply a custom object appropriate - // for our application -- it can be anything that preserves the state - // of a user action that will be executed when we go back online - // and replay this log. In the above example, - // "create" is the name of this action; "documents" is the - // type of item this command is operating on, such as documents, contacts, - // tasks, etc.; and the final argument is the document that was created. - - if(this.isReplaying){ - throw "Programming error: you can not call " - + "dojox.off.sync.actions.add() while " - + "we are replaying an action log"; - } - - this.entries.push(action); - - // save our updated state into persistent - // storage - if(this.autoSave){ - this._save(); - } - }, - - onReplay: function(action /* Object */, - actionLog /* dojox.off.sync.ActionLog */){ /* void */ - // summary: - // Called when we replay our log, for each of our action - // entries. - // action: Object - // A custom object literal representing an action for this - // application, such as - // {actionName: "create", item: {title: "message", content: "hello world"}} - // actionLog: dojox.off.sync.ActionLog - // A reference to the dojox.off.sync.actions log so that developers - // can easily call actionLog.continueReplay() or actionLog.haltReplay(). - // description: - // This callback should be connected to by applications so that - // they can sync themselves when we go back online: - // - // dojo.connect(dojox.off.sync.actions, "onReplay", function(action, actionLog){ - // // do something - // }) - // - // When we replay our action log, this callback is called for each - // of our action entries in the order they were added. The - // 'action' entry that was passed to add() for this action will - // also be passed in to onReplay, so that applications can use this information - // to do their syncing, such as contacting a server web-service - // to create a new item, for example. - // - // Inside the method you connected to onReplay, you should either call - // actionLog.haltReplay(reason) if an error occurred and you would like to halt - // action replaying or actionLog.continueReplay() to have the action log - // continue replaying its log and proceed to the next action; - // the reason you must call these is the action you execute inside of - // onAction will probably be asynchronous, since it will be talking on - // the network, and you should call one of these two methods based on - // the result of your network call. - }, - - length: function(){ /* Number */ - // summary: - // Returns the length of this - // action log - return this.entries.length; - }, - - haltReplay: function(reason /* String */){ /* void */ - // summary: Halts replaying this command log. - // reason: String - // The reason we halted. - // description: - // This method is called as we are replaying an action log; it - // can be called from dojox.off.sync.actions.onReplay, for - // example, for an application to indicate an error occurred - // while replaying this action, halting further processing of - // the action log. Note that any action log entries that - // were processed before have their effects retained (i.e. - // they are not rolled back), while the action entry that was - // halted stays in our list of actions to later be replayed. - if(!this.isReplaying){ - return; - } - - if(reason){ - this.reasonHalted = reason.toString(); - } - - // save the state of our action log, then - // tell anyone who is interested that we are - // done when we are finished saving - if(this.autoSave){ - var self = this; - this._save(function(){ - self.isReplaying = false; - self.onReplayFinished(); - }); - }else{ - this.isReplaying = false; - this.onReplayFinished(); - } - }, - - continueReplay: function(){ /* void */ - // summary: - // Indicates that we should continue processing out list of - // actions. - // description: - // This method is called by applications that have overridden - // dojox.off.sync.actions.onReplay() to continue replaying our - // action log after the application has finished handling the - // current action. - if(!this.isReplaying){ - return; - } - - // shift off the old action we just ran - this.entries.shift(); - - // are we done? - if(!this.entries.length){ - // save the state of our action log, then - // tell anyone who is interested that we are - // done when we are finished saving - if(this.autoSave){ - var self = this; - this._save(function(){ - self.isReplaying = false; - self.onReplayFinished(); - }); - return; - }else{ - this.isReplaying = false; - this.onReplayFinished(); - return; - } - } - - // get the next action - var nextAction = this.entries[0]; - this.onReplay(nextAction, this); - }, - - clear: function(){ /* void */ - // summary: - // Completely clears this action log of its entries - - if(this.isReplaying){ - return; - } - - this.entries = []; - - // save our updated state into persistent - // storage - if(this.autoSave){ - this._save(); - } - }, - - replay: function(){ /* void */ - // summary: - // For advanced usage; most developers can ignore this. - // Replays all of the commands that have been - // cached in this command log when we go back online; - // onCommand will be called for each command we have - - if(this.isReplaying){ - return; - } - - this.reasonHalted = null; - - if(!this.entries.length){ - this.onReplayFinished(); - return; - } - - this.isReplaying = true; - - var nextAction = this.entries[0]; - this.onReplay(nextAction, this); - }, - - // onReplayFinished: Function - // For advanced usage; most developers can ignore this. - // Called when we are finished replaying our commands; - // called if we have successfully exhausted all of our - // commands, or if an error occurred during replaying. - // The default implementation simply continues the - // synchronization process. Connect to this to register - // for the event: - // - // dojo.connect(dojox.off.sync.actions, "onReplayFinished", - // someFunc) - onReplayFinished: function(){ - }, - - toString: function(){ - var results = ""; - results += "["; - - for(var i = 0; i < this.entries.length; i++){ - results += "{"; - for(var j in this.entries[i]){ - results += j + ": \"" + this.entries[i][j] + "\""; - results += ", "; - } - results += "}, "; - } - - results += "]"; - - return results; - }, - - _save: function(callback){ - if(!callback){ - callback = function(){}; - } - - try{ - var self = this; - var resultsHandler = function(status, key, message){ - //console.debug("resultsHandler, status="+status+", key="+key+", message="+message); - if(status == dojox.storage.FAILED){ - dojox.off.onFrameworkEvent("save", - {status: dojox.storage.FAILED, - isCoreSave: true, - key: key, - value: message, - namespace: dojox.off.STORAGE_NAMESPACE}); - callback(); - }else if(status == dojox.storage.SUCCESS){ - callback(); - } - }; - - dojox.storage.put("actionlog", this.entries, resultsHandler, - dojox.off.STORAGE_NAMESPACE); - }catch(exp){ - console.debug("dojox.off.sync._save: " + exp.message||exp); - dojox.off.onFrameworkEvent("save", - {status: dojox.storage.FAILED, - isCoreSave: true, - key: "actionlog", - value: this.entries, - namespace: dojox.off.STORAGE_NAMESPACE}); - callback(); - } - }, - - _load: function(callback){ - var entries = dojox.storage.get("actionlog", dojox.off.STORAGE_NAMESPACE); - - if(!entries){ - entries = []; - } - - this.entries = entries; - - callback(); - } - } -); - -dojox.off.sync.actions = new dojox.off.sync.ActionLog(); - -} diff --git a/includes/js/dojox/off/ui.js b/includes/js/dojox/off/ui.js deleted file mode 100644 index 40f33c4..0000000 --- a/includes/js/dojox/off/ui.js +++ /dev/null @@ -1,622 +0,0 @@ -if(!dojo._hasResource["dojox.off.ui"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.off.ui"] = true; -dojo.provide("dojox.off.ui"); - -dojo.require("dojox.storage.Provider"); -dojo.require("dojox.storage.manager"); -dojo.require("dojox.storage.GearsStorageProvider"); - -// Author: Brad Neuberg, bkn3@columbia.edu, http://codinginparadise.org - -// summary: -// dojox.off.ui provides a standard, -// default user-interface for a -// Dojo Offline Widget that can easily -// be dropped into applications that would -// like to work offline. -dojo.mixin(dojox.off.ui, { - // appName: String - // This application's name, such as "Foobar". Note that - // this is a string, not HTML, so embedded markup will - // not work, including entities. Only the following - // characters are allowed: numbers, letters, and spaces. - // You must set this property. - appName: "setme", - - // autoEmbed: boolean - // For advanced usage; most developers can ignore this. - // Whether to automatically auto-embed the default Dojo Offline - // widget into this page; default is true. - autoEmbed: true, - - // autoEmbedID: String - // For advanced usage; most developers can ignore this. - // The ID of the DOM element that will contain our - // Dojo Offline widget; defaults to the ID 'dot-widget'. - autoEmbedID: "dot-widget", - - // runLink: String - // For advanced usage; most developers can ignore this. - // The URL that should be navigated to to run this - // application offline; this will be placed inside of a - // link that the user can drag to their desktop and double - // click. Note that this URL must exactly match the URL - // of the main page of our resource that is offline for - // it to be retrieved from the offline cache correctly. - // For example, if you have cached your main page as - // http://foobar.com/index.html, and you set this to - // http://www.foobar.com/index.html, the run link will - // not work. By default this value is automatically set to - // the URL of this page, so it does not need to be set - // manually unless you have unusual needs. - runLink: window.location.href, - - // runLinkTitle: String - // For advanced usage; most developers can ignore this. - // The text that will be inside of the link that a user - // can drag to their desktop to run this application offline. - // By default this is automatically set to "Run " plus your - // application's name. - runLinkTitle: "Run Application", - - // learnHowPath: String - // For advanced usage; most developers can ignore this. - // The path to a web page that has information on - // how to use this web app offline; defaults to - // src/off/ui-template/learnhow.html, relative to - // your Dojo installation. Make sure to set - // dojo.to.ui.customLearnHowPath to true if you want - // a custom Learn How page. - learnHowPath: dojo.moduleUrl("dojox", "off/resources/learnhow.html"), - - // customLearnHowPath: boolean - // For advanced usage; most developers can ignore this. - // Whether the developer is using their own custom page - // for the Learn How instructional page; defaults to false. - // Use in conjunction with dojox.off.ui.learnHowPath. - customLearnHowPath: false, - - htmlTemplatePath: dojo.moduleUrl("dojox", "off/resources/offline-widget.html").uri, - cssTemplatePath: dojo.moduleUrl("dojox", "off/resources/offline-widget.css").uri, - onlineImagePath: dojo.moduleUrl("dojox", "off/resources/greenball.png").uri, - offlineImagePath: dojo.moduleUrl("dojox", "off/resources/redball.png").uri, - rollerImagePath: dojo.moduleUrl("dojox", "off/resources/roller.gif").uri, - checkmarkImagePath: dojo.moduleUrl("dojox", "off/resources/checkmark.png").uri, - learnHowJSPath: dojo.moduleUrl("dojox", "off/resources/learnhow.js").uri, - - _initialized: false, - - onLoad: function(){ - // summary: - // A function that should be connected to allow your - // application to know when Dojo Offline, the page, and - // the Offline Widget are all initialized and ready to be - // used: - // - // dojo.connect(dojox.off.ui, "onLoad", someFunc) - }, - - _initialize: function(){ - //console.debug("dojox.off.ui._initialize"); - - // make sure our app name is correct - if(this._validateAppName(this.appName) == false){ - alert("You must set dojox.off.ui.appName; it can only contain " - + "letters, numbers, and spaces; right now it " - + "is incorrectly set to '" + dojox.off.ui.appName + "'"); - dojox.off.enabled = false; - return; - } - - // set our run link text to its default - this.runLinkText = "Run " + this.appName; - - // setup our event listeners for Dojo Offline events - // to update our UI - dojo.connect(dojox.off, "onNetwork", this, "_onNetwork"); - dojo.connect(dojox.off.sync, "onSync", this, "_onSync"); - - // cache our default UI resources - dojox.off.files.cache([ - this.htmlTemplatePath, - this.cssTemplatePath, - this.onlineImagePath, - this.offlineImagePath, - this.rollerImagePath, - this.checkmarkImagePath - ]); - - // embed the offline widget UI - if(this.autoEmbed){ - this._doAutoEmbed(); - } - }, - - _doAutoEmbed: function(){ - // fetch our HTML for the offline widget - - // dispatch the request - dojo.xhrGet({ - url: this.htmlTemplatePath, - handleAs: "text", - error: function(err){ - dojox.off.enabled = false; - err = err.message||err; - alert("Error loading the Dojo Offline Widget from " - + this.htmlTemplatePath + ": " + err); - }, - load: dojo.hitch(this, this._templateLoaded) - }); - }, - - _templateLoaded: function(data){ - //console.debug("dojox.off.ui._templateLoaded"); - // inline our HTML - var container = dojo.byId(this.autoEmbedID); - if(container){ container.innerHTML = data; } - - // fill out our image paths - this._initImages(); - - // update our network indicator status ball - this._updateNetIndicator(); - - // update our 'Learn How' text - this._initLearnHow(); - - this._initialized = true; - - // check offline cache settings - if(!dojox.off.hasOfflineCache){ - this._showNeedsOfflineCache(); - return; - } - - // check to see if we need a browser restart - // to be able to use this web app offline - if(dojox.off.hasOfflineCache && dojox.off.browserRestart){ - this._needsBrowserRestart(); - return; - }else{ - var browserRestart = dojo.byId("dot-widget-browser-restart"); - if(browserRestart){ browserRestart.style.display = "none"; } - } - - // update our sync UI - this._updateSyncUI(); - - // register our event listeners for our main buttons - this._initMainEvtHandlers(); - - // if offline functionality is disabled, disable everything - this._setOfflineEnabled(dojox.off.enabled); - - // update our UI based on the state of the network - this._onNetwork(dojox.off.isOnline ? "online" : "offline"); - - // try to go online - this._testNet(); - }, - - _testNet: function(){ - dojox.off.goOnline(dojo.hitch(this, function(isOnline){ - //console.debug("testNet callback, isOnline="+isOnline); - - // display our online/offline results - this._onNetwork(isOnline ? "online" : "offline"); - - // indicate that our default UI - // and Dojo Offline are now ready to - // be used - this.onLoad(); - })); - }, - - _updateNetIndicator: function(){ - var onlineImg = dojo.byId("dot-widget-network-indicator-online"); - var offlineImg = dojo.byId("dot-widget-network-indicator-offline"); - var titleText = dojo.byId("dot-widget-title-text"); - - if(onlineImg && offlineImg){ - if(dojox.off.isOnline == true){ - onlineImg.style.display = "inline"; - offlineImg.style.display = "none"; - }else{ - onlineImg.style.display = "none"; - offlineImg.style.display = "inline"; - } - } - - if(titleText){ - if(dojox.off.isOnline){ - titleText.innerHTML = "Online"; - }else{ - titleText.innerHTML = "Offline"; - } - } - }, - - _initLearnHow: function(){ - var learnHow = dojo.byId("dot-widget-learn-how-link"); - - if(!learnHow){ return; } - - if(!this.customLearnHowPath){ - // add parameters to URL so the Learn How page - // can customize itself and display itself - // correctly based on framework settings - var dojoPath = dojo.config.baseRelativePath; - this.learnHowPath += "?appName=" + encodeURIComponent(this.appName) - + "&hasOfflineCache=" + dojox.off.hasOfflineCache - + "&runLink=" + encodeURIComponent(this.runLink) - + "&runLinkText=" + encodeURIComponent(this.runLinkText) - + "&baseRelativePath=" + encodeURIComponent(dojoPath); - - // cache our Learn How JavaScript page and - // the HTML version with full query parameters - // so it is available offline without a cache miss - dojox.off.files.cache(this.learnHowJSPath); - dojox.off.files.cache(this.learnHowPath); - } - - learnHow.setAttribute("href", this.learnHowPath); - - var appName = dojo.byId("dot-widget-learn-how-app-name"); - - if(!appName){ return; } - - appName.innerHTML = ""; - appName.appendChild(document.createTextNode(this.appName)); - }, - - _validateAppName: function(appName){ - if(!appName){ return false; } - - return (/^[a-z0-9 ]*$/i.test(appName)); - }, - - _updateSyncUI: function(){ - var roller = dojo.byId("dot-roller"); - var checkmark = dojo.byId("dot-success-checkmark"); - var syncMessages = dojo.byId("dot-sync-messages"); - var details = dojo.byId("dot-sync-details"); - var cancel = dojo.byId("dot-sync-cancel"); - - if(dojox.off.sync.isSyncing){ - this._clearSyncMessage(); - - if(roller){ roller.style.display = "inline"; } - - if(checkmark){ checkmark.style.display = "none"; } - - if(syncMessages){ - dojo.removeClass(syncMessages, "dot-sync-error"); - } - - if(details){ details.style.display = "none"; } - - if(cancel){ cancel.style.display = "inline"; } - }else{ - if(roller){ roller.style.display = "none"; } - - if(cancel){ cancel.style.display = "none"; } - - if(syncMessages){ - dojo.removeClass(syncMessages, "dot-sync-error"); - } - } - }, - - _setSyncMessage: function(message){ - var syncMessage = dojo.byId("dot-sync-messages"); - if(syncMessage){ - // when used with Google Gears pre-release in Firefox/Mac OS X, - // the browser would crash when testing in Moxie - // if we set the message this way for some reason. - // Brad Neuberg, bkn3@columbia.edu - //syncMessage.innerHTML = message; - - while(syncMessage.firstChild){ - syncMessage.removeChild(syncMessage.firstChild); - } - syncMessage.appendChild(document.createTextNode(message)); - } - }, - - _clearSyncMessage: function(){ - this._setSyncMessage(""); - }, - - _initImages: function(){ - var onlineImg = dojo.byId("dot-widget-network-indicator-online"); - if(onlineImg){ - onlineImg.setAttribute("src", this.onlineImagePath); - } - - var offlineImg = dojo.byId("dot-widget-network-indicator-offline"); - if(offlineImg){ - offlineImg.setAttribute("src", this.offlineImagePath); - } - - var roller = dojo.byId("dot-roller"); - if(roller){ - roller.setAttribute("src", this.rollerImagePath); - } - - var checkmark = dojo.byId("dot-success-checkmark"); - if(checkmark){ - checkmark.setAttribute("src", this.checkmarkImagePath); - } - }, - - _showDetails: function(evt){ - // cancel the button's default behavior - evt.preventDefault(); - evt.stopPropagation(); - - if(!dojox.off.sync.details.length){ - return; - } - - // determine our HTML message to display - var html = ""; - html += "Sync Details"; - html += "

                        Sync Details

                        \n"; - html += "
                          \n"; - for(var i = 0; i < dojox.off.sync.details.length; i++){ - html += "
                        • "; - html += dojox.off.sync.details[i]; - html += "
                        • "; - } - html += "
                        \n"; - html += "" - + "Close Window" - + "\n"; - html += ""; - - // open a popup window with this message - var windowParams = "height=400,width=600,resizable=true," - + "scrollbars=true,toolbar=no,menubar=no," - + "location=no,directories=no,dependent=yes"; - - var popup = window.open("", "SyncDetails", windowParams); - - if(!popup){ // aggressive popup blocker - alert("Please allow popup windows for this domain; can't display sync details window"); - return; - } - - popup.document.open(); - popup.document.write(html); - popup.document.close(); - - // put the focus on the popup window - if(popup.focus){ - popup.focus(); - } - }, - - _cancel: function(evt){ - // cancel the button's default behavior - evt.preventDefault(); - evt.stopPropagation(); - - dojox.off.sync.cancel(); - }, - - _needsBrowserRestart: function(){ - var browserRestart = dojo.byId("dot-widget-browser-restart"); - if(browserRestart){ - dojo.addClass(browserRestart, "dot-needs-browser-restart"); - } - - var appName = dojo.byId("dot-widget-browser-restart-app-name"); - if(appName){ - appName.innerHTML = ""; - appName.appendChild(document.createTextNode(this.appName)); - } - - var status = dojo.byId("dot-sync-status"); - if(status){ - status.style.display = "none"; - } - }, - - _showNeedsOfflineCache: function(){ - var widgetContainer = dojo.byId("dot-widget-container"); - if(widgetContainer){ - dojo.addClass(widgetContainer, "dot-needs-offline-cache"); - } - }, - - _hideNeedsOfflineCache: function(){ - var widgetContainer = dojo.byId("dot-widget-container"); - if(widgetContainer){ - dojo.removeClass(widgetContainer, "dot-needs-offline-cache"); - } - }, - - _initMainEvtHandlers: function(){ - var detailsButton = dojo.byId("dot-sync-details-button"); - if(detailsButton){ - dojo.connect(detailsButton, "onclick", this, this._showDetails); - } - var cancelButton = dojo.byId("dot-sync-cancel-button"); - if(cancelButton){ - dojo.connect(cancelButton, "onclick", this, this._cancel); - } - }, - - _setOfflineEnabled: function(enabled){ - var elems = []; - elems.push(dojo.byId("dot-sync-status")); - - for(var i = 0; i < elems.length; i++){ - if(elems[i]){ - elems[i].style.visibility = - (enabled ? "visible" : "hidden"); - } - } - }, - - _syncFinished: function(){ - this._updateSyncUI(); - - var checkmark = dojo.byId("dot-success-checkmark"); - var details = dojo.byId("dot-sync-details"); - - if(dojox.off.sync.successful == true){ - this._setSyncMessage("Sync Successful"); - if(checkmark){ checkmark.style.display = "inline"; } - }else if(dojox.off.sync.cancelled == true){ - this._setSyncMessage("Sync Cancelled"); - - if(checkmark){ checkmark.style.display = "none"; } - }else{ - this._setSyncMessage("Sync Error"); - - var messages = dojo.byId("dot-sync-messages"); - if(messages){ - dojo.addClass(messages, "dot-sync-error"); - } - - if(checkmark){ checkmark.style.display = "none"; } - } - - if(dojox.off.sync.details.length && details){ - details.style.display = "inline"; - } - }, - - _onFrameworkEvent: function(type, saveData){ - if(type == "save"){ - if(saveData.status == dojox.storage.FAILED && !saveData.isCoreSave){ - alert("Please increase the amount of local storage available " - + "to this application"); - if(dojox.storage.hasSettingsUI()){ - dojox.storage.showSettingsUI(); - } - - // FIXME: Be able to know if storage size has changed - // due to user configuration - } - }else if(type == "coreOperationFailed"){ - console.log("Application does not have permission to use Dojo Offline"); - - if(!this._userInformed){ - alert("This application will not work if Google Gears is not allowed to run"); - this._userInformed = true; - } - }else if(type == "offlineCacheInstalled"){ - // clear out the 'needs offline cache' info - this._hideNeedsOfflineCache(); - - // check to see if we need a browser restart - // to be able to use this web app offline - if(dojox.off.hasOfflineCache == true - && dojox.off.browserRestart == true){ - this._needsBrowserRestart(); - return; - }else{ - var browserRestart = dojo.byId("dot-widget-browser-restart"); - if(browserRestart){ - browserRestart.style.display = "none"; - } - } - - // update our sync UI - this._updateSyncUI(); - - // register our event listeners for our main buttons - this._initMainEvtHandlers(); - - // if offline is disabled, disable everything - this._setOfflineEnabled(dojox.off.enabled); - - // try to go online - this._testNet(); - } - }, - - _onSync: function(type){ - //console.debug("ui, onSync="+type); - switch(type){ - case "start": - this._updateSyncUI(); - break; - - case "refreshFiles": - this._setSyncMessage("Downloading UI..."); - break; - - case "upload": - this._setSyncMessage("Uploading new data..."); - break; - - case "download": - this._setSyncMessage("Downloading new data..."); - break; - - case "finished": - this._syncFinished(); - break; - - case "cancel": - this._setSyncMessage("Canceling Sync..."); - break; - - default: - dojo.warn("Programming error: " - + "Unknown sync type in dojox.off.ui: " + type); - break; - } - }, - - _onNetwork: function(type){ - // summary: - // Called when we go on- or off-line - // description: - // When we go online or offline, this method is called to update - // our UI. Default behavior is to update the Offline - // Widget UI and to attempt a synchronization. - // type: String - // "online" if we just moved online, and "offline" if we just - // moved offline. - - if(!this._initialized){ return; } - - // update UI - this._updateNetIndicator(); - - if(type == "offline"){ - this._setSyncMessage("You are working offline"); - - // clear old details - var details = dojo.byId("dot-sync-details"); - if(details){ details.style.display = "none"; } - - // if we fell offline during a sync, hide - // the sync info - this._updateSyncUI(); - }else{ // online - // synchronize, but pause for a few seconds - // so that the user can orient themselves - if(dojox.off.sync.autoSync){ - if(dojo.isAIR){ - window.setTimeout(function(){dojox.off.sync.synchronize();}, 1000); - }else{ - window.setTimeout(dojox._scopeName + ".off.sync.synchronize()", 1000); - } - } - } - } -}); - -// register ourselves for low-level framework events -dojo.connect(dojox.off, "onFrameworkEvent", dojox.off.ui, "_onFrameworkEvent"); - -// start our magic when the Dojo Offline framework is ready to go -dojo.connect(dojox.off, "onLoad", dojox.off.ui, dojox.off.ui._initialize); - -} diff --git a/includes/js/dojox/presentation.js b/includes/js/dojox/presentation.js deleted file mode 100644 index a1c1a8a..0000000 --- a/includes/js/dojox/presentation.js +++ /dev/null @@ -1,6 +0,0 @@ -if(!dojo._hasResource["dojox.presentation"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.presentation"] = true; -dojo.provide("dojox.presentation"); -dojo.require("dojox.presentation._base"); - -} diff --git a/includes/js/dojox/presentation/README b/includes/js/dojox/presentation/README deleted file mode 100644 index 4be60f5..0000000 --- a/includes/js/dojox/presentation/README +++ /dev/null @@ -1,72 +0,0 @@ -------------------------------------------------------------------------------- -dojox.presentation -------------------------------------------------------------------------------- -Version 0.9 -Release date: 10/31/2007 -------------------------------------------------------------------------------- -Project state: -experimental -------------------------------------------------------------------------------- -Credits - pete higgins (dante) -------------------------------------------------------------------------------- - -Project description - -This is the presentation base class. It provides a mechanism for various -display-oriented tasks. It includes a powerpoint-esque engine [prototype]. -The SlideShow aspect of this project has been deprecated and lives now -in dojox.image project. - -------------------------------------------------------------------------------- - -Dependencies: - -dojox.presentation requires both Dojo Base, Dojo FX Core, and Dijit system(s). - -------------------------------------------------------------------------------- - -Documentation - -See the Dojo API tool (http://dojotoolkit.org/api) - -------------------------------------------------------------------------------- - -Installation instructions - -This package is self-contained, but needs Dijit sytem. - -Grab the following from the Dojo SVN Repository: - -svn co http://svn.dojotoolkit.org/dojo/dojox/trunk/presentation* -svn co http://svn.dojotoolkit.org/dojo/dijit/* - -into your: -/dojo root folder [checkout/release root] - -and require in dependancies via dojo.require('dojox.presentation'); - -see /dojox/presentation/tests/test_presentation.html for example usage, but -basically the structure is this: - -presentation /> - Slide /> - Slide /> - Text Outside of Part is Static - Part /> - Part /> - Action forPart/> - Action forPart/> - Slide href="remote.html" /> - Slide /> - Part /> - Action forPart/> -/presentation> - -NOTE: project marked experimental, and API has a planned deprecation. To -participate in the formation of the new presentation class, visit -the dojotoolkit forums at: - -http://dojotoolkit.org/forums - - diff --git a/includes/js/dojox/presentation/_base.js b/includes/js/dojox/presentation/_base.js deleted file mode 100644 index 2077a4e..0000000 --- a/includes/js/dojox/presentation/_base.js +++ /dev/null @@ -1,557 +0,0 @@ -if(!dojo._hasResource["dojox.presentation._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.presentation._base"] = true; -dojo.provide("dojox.presentation._base"); -dojo.experimental("dojox.presentation"); - -dojo.require("dijit._Widget"); -dojo.require("dijit._Container"); -dojo.require("dijit._Templated"); -dojo.require("dijit.layout.StackContainer"); -dojo.require("dijit.layout.ContentPane"); -dojo.require("dojo.fx"); - -dojo.declare("dojox.presentation.Deck", [ dijit.layout.StackContainer, dijit._Templated ], { - // summary: - // dojox.presentation class - // basic powerpoint esque engine for handling transitons and control - // in a page-by-page and part-by-part way - // - // FIXME: parsing part(s)/widget(s) in href="" Slides not working - // TODO: make auto actions progress. - // FIXME: Safari keydown/press/up listener not working. - // noClick=true prevents progression of slides in that broweser - // - // fullScreen: Boolean - // unsupported (that i know of) just yet. Default it to take control - // of window. Would be nice to be able to contain presentation in a - // styled container, like StackContainer ... theoretically possible. - // [and may not need this variable?] - fullScreen: true, - - // useNav: Boolean - // true to allow navigation popup, false to disallow - useNav: true, - - // navDuration: Integer - // time in MS fadein/out of popup nav [default: 250] - navDuration: 250, - - // noClick: Boolean - // if true, prevents _any_ click events to propagate actions - // (limiting control to keyboard and/or action.on="auto" or action.delay="" - // actions. - noClick: false, - - // setHash: Boolean - // if true, window location bar will get a #link to slide for direct - // access to a particular slide number. - setHash: true, - - // just to over-ride: - templateString: null, - templateString:"
                        \n\t
                        \n\t
                        \n\t\t\n\t\t\n\t\t\n\t
                        \n\t
                        \n\t
                        \n
                        \n", - - // nextIcon: String - // icon for navigation "next" button - nextIcon: dojo.moduleUrl('dojox.presentation','resources/icons/next.png'), - - // prevIcon: String - // icon for navigation "previous" button - prevIcon: dojo.moduleUrl('dojox.presentation','resources/icons/prev.png'), - - _navOpacMin: 0, - _navOpacMax: 0.85, - _slideIndex: 0, - - // Private: - _slides: [], - _navShowing: true, - _inNav: false, - - startup: function(){ - // summary: connect to the various handlers and controls for this presention - this.inherited(arguments); - - if(this.useNav){ - this._hideNav(); - }else{ - this.showNav.style.display = "none"; - } - - this.connect(document,'onclick', '_onEvent'); - this.connect(document,'onkeypress', '_onEvent'); - - // only if this.fullScreen == true? - this.connect(window, 'onresize', '_resizeWindow'); - this._resizeWindow(); - - this._updateSlides(); - - this._readHash(); - this._setHash(); - }, - - moveTo: function(/* Integer */ number){ - // summary: jump to slide based on param - var slideIndex = number - 1; - - if(slideIndex < 0) - slideIndex = 0; - - if(slideIndex > this._slides.length - 1) - slideIndex = this._slides.length - 1; - - this._gotoSlide(slideIndex); - }, - - onMove: function (number){ - // summary: stub function? TODOC: ? - }, - - nextSlide: function(/*Event*/ evt){ - // summary: transition to the next slide. - if (!this.selectedChildWidget.isLastChild) { - this._gotoSlide(this._slideIndex+1); - } - if (evt) { evt.stopPropagation(); } - }, - - previousSlide: function(/*Event*/ evt){ - // summary: transition to the previous slide - if (!this.selectedChildWidget.isFirstChild) { - - this._gotoSlide(this._slideIndex-1); - - } else { this.selectedChildWidget._reset(); } - if (evt) { evt.stopPropagation();} - }, - - getHash: function(id){ - // summary: get the current hash to set in localtion - return this.id+"_SlideNo_"+id; - }, - - _hideNav: function(evt){ - // summary: hides navigation - if(this._navAnim){ this._navAnim.stop(); } - this._navAnim = dojo.animateProperty({ - node:this.showNav, - duration:this.navDuration, - properties: { - opacity: { end:this._navOpacMin } - } - }).play(); - }, - - _showNav: function(evt){ - // summary: shows navigation - if(this._navAnim){ this._navAnim.stop(); } - this._navAnim = dojo.animateProperty({ - node:this.showNav, - duration:this.navDuration, - properties: { - opacity: { end:this._navOpacMax } - } - }).play(); - }, - - _handleNav: function(evt){ - // summary: does nothing? _that_ seems useful. - evt.stopPropagation(); - }, - - _updateSlides: function(){ - // summary: - // populate navigation select list with refs to slides call this - // if you add a node to your presentation dynamically. - this._slides = this.getChildren(); - if(this.useNav){ - // populate the select box with top-level slides - var i=0; - dojo.forEach(this._slides,dojo.hitch(this,function(slide){ - i++; - var tmp = this._option.cloneNode(true); - tmp.text = slide.title+" ("+i+") "; - this._option.parentNode.insertBefore(tmp,this._option); - })); - if(this._option.parentNode){ - this._option.parentNode.removeChild(this._option); - } - // dojo._destroyElement(this._option); - } - }, - - _onEvent: function(/* Event */ evt){ - // summary: - // main presentation function, determines next 'best action' for a - // specified event. - var _node = evt.target; - var _type = evt.type; - - if(_type == "click" || _type == "change"){ - if(_node.index && _node.parentNode == this.select){ - this._gotoSlide(_node.index); - }else if(_node == this.select){ - this._gotoSlide(_node.selectedIndex); - }else{ - if (this.noClick || this.selectedChildWidget.noClick || this._isUnclickable(evt)) return; - this.selectedChildWidget._nextAction(evt); - } - }else if(_type=="keydown" || _type == "keypress"){ - - // FIXME: safari doesn't report keydown/keypress? - - var key = (evt.charCode == dojo.keys.SPACE ? dojo.keys.SPACE : evt.keyCode); - switch(key){ - case dojo.keys.DELETE: - case dojo.keys.BACKSPACE: - case dojo.keys.LEFT_ARROW: - case dojo.keys.UP_ARROW: - case dojo.keys.PAGE_UP: - case 80: // key 'p' - this.previousSlide(evt); - break; - - case dojo.keys.ENTER: - case dojo.keys.SPACE: - case dojo.keys.RIGHT_ARROW: - case dojo.keys.DOWN_ARROW: - case dojo.keys.PAGE_DOWN: - case 78: // key 'n' - this.selectedChildWidget._nextAction(evt); - break; - - case dojo.keys.HOME: this._gotoSlide(0); - } - } - this._resizeWindow(); - evt.stopPropagation(); - }, - - _gotoSlide: function(/* Integer */ slideIndex){ - // summary: goes to slide - this.selectChild(this._slides[slideIndex]); - this.selectedChildWidget._reset(); - - this._slideIndex = slideIndex; - - if(this.useNav){ - this.select.selectedIndex = slideIndex; - } - - if(this.setHash){ - this._setHash(); - } - this.onMove(this._slideIndex+1); - }, - - _isUnclickable: function(/* Event */ evt){ - // summary: returns true||false base of a nodes click-ability - var nodeName = evt.target.nodeName.toLowerCase(); - // TODO: check for noClick='true' in target attrs & return true - // TODO: check for relayClick='true' in target attrs & return false - switch(nodeName){ - case 'a' : - case 'input' : - case 'textarea' : return true; break; - } - return false; - }, - - _readHash: function(){ - var th = window.location.hash; - if (th.length && this.setHash) { - var parts = (""+window.location).split(this.getHash('')); - if(parts.length>1){ - this._gotoSlide(parseInt(parts[1])-1); - } - } - }, - - _setHash: function(){ - // summary: sets url #mark to direct slide access - if(this.setHash){ - var slideNo = this._slideIndex+1; - window.location.href = "#"+this.getHash(slideNo); - } - }, - - _resizeWindow: function(/*Event*/ evt){ - // summary: resize this and children to fix this window/container - - // only if this.fullScreen? - dojo.body().style.height = "auto"; - var wh = dijit.getViewport(); - var h = Math.max( - document.documentElement.scrollHeight || dojo.body().scrollHeight, - wh.h); - var w = wh.w; - this.selectedChildWidget.domNode.style.height = h +'px'; - this.selectedChildWidget.domNode.style.width = w +'px'; - }, - - _transition: function(newWidget,oldWidget){ - // summary: over-ride stackcontainers _transition method - // but atm, i find it to be ugly with not way to call - // _showChild() without over-riding it too. hopefull - // basic toggles in superclass._transition will be available - // in dijit, and this won't be necessary. - var anims = []; - if(oldWidget){ - /* - anims.push(dojo.fadeOut({ node: oldWidget.domNode, - duration:250, - onEnd: dojo.hitch(this,function(){ - this._hideChild(oldWidget); - }) - })); - */ - this._hideChild(oldWidget); - } - if(newWidget){ - /* - anims.push(dojo.fadeIn({ - node:newWidget.domNode, start:0, end:1, - duration:300, - onEnd: dojo.hitch(this,function(){ - this._showChild(newWidget); - newWidget._reset(); - }) - }) - ); - */ - this._showChild(newWidget); - newWidget._reset(); - } - //dojo.fx.combine(anims).play(); - } -}); - -dojo.declare( - "dojox.presentation.Slide", - [dijit.layout.ContentPane,dijit._Contained,dijit._Container,dijit._Templated], - { - // summary: - // a Comonent of a dojox.presentation, and container for each 'Slide' - // made up of direct HTML (no part/action relationship), and dojox.presentation.Part(s), - // and their attached Actions. - - // templatPath: String - // make a ContentPane templated, and style the 'titleNode' - templateString:"
                        \n\t

                        ${title}

                        \n\t
                        \n
                        \n", - - // title: String - // string to insert into titleNode, title of Slide - title: "", - - // inherited from ContentPane FIXME: don't seem to work ATM? - refreshOnShow: true, - preLoad: false, - doLayout: true, - parseContent: true, - - // noClick: Boolean - // true on slide tag prevents clicking, false allows - // (can also be set on base presentation for global control) - noClick: false, - - // private holders: - _parts: [], - _actions: [], - _actionIndex: 0, - _runningDelay: false, - - startup: function(){ - // summary: setup this slide with actions and components (Parts) - this.inherited(arguments); - this.slideTitleText.innerHTML = this.title; - var children = this.getChildren(); - this._actions = []; - dojo.forEach(children,function(child){ - var tmpClass = child.declaredClass.toLowerCase(); - switch(tmpClass){ - case "dojox.presentation.part" : this._parts.push(child); break; - case "dojox.presentation.action" : this._actions.push(child); break; - } - },this); - }, - - - _nextAction: function(evt){ - // summary: gotoAndPlay current cached action - var tmpAction = this._actions[this._actionIndex] || 0; - if (tmpAction){ - // is this action a delayed action? [auto? thoughts?] - if(tmpAction.on == "delay"){ - this._runningDelay = setTimeout( - dojo.hitch(tmpAction,"_runAction"),tmpAction.delay - ); - console.debug('started delay action',this._runningDelay); - }else{ - tmpAction._runAction(); - } - - // FIXME: it gets hairy here. maybe runAction should - // call _actionIndex++ onEnd? if a delayed action is running, do - // we want to prevent action++? - var tmpNext = this._getNextAction(); - this._actionIndex++; - - if(tmpNext.on == "delay"){ - // FIXME: yeah it looks like _runAction() onend should report - // _actionIndex++ - console.debug('started delay action',this._runningDelay); - setTimeout(dojo.hitch(tmpNext,"_runAction"),tmpNext.delay); - } - }else{ - // no more actions in this slide - this.getParent().nextSlide(evt); - } - }, - - _getNextAction: function(){ - // summary: returns the _next action in this sequence - return this._actions[this._actionIndex+1] || 0; - }, - - _reset: function(){ - // summary: set action chain back to 0 and re-init each Part - this._actionIndex = [0]; - dojo.forEach(this._parts,function(part){ - part._reset(); - },this); - } -}); - -dojo.declare("dojox.presentation.Part", [dijit._Widget,dijit._Contained], { - // summary: - // a node in a presentation.Slide that inherits control from a - // dojox.presentation.Action - // can be any element type, and requires styling before parsing - // - // as: String - // like an ID, attach to Action via (part) as="" / (action) forSlide="" tags - // this should be unique identifier? - as: "", - - // startVisible: boolean - // true to leave in page on slide startup/reset - // false to hide on slide startup/reset - startVisible: false, - - // isShowing: Boolean, - // private holder for _current_ state of Part - _isShowing: false, - - postCreate: function(){ - // summary: override and init() this component - this._reset(); - }, - - _reset: function(){ - // summary: set part back to initial calculate state - // these _seem_ backwards, but quickToggle flips it - this._isShowing =! this.startVisible; - this._quickToggle(); - }, - - _quickToggle: function(){ - // summary: ugly [unworking] fix to test setting state of component - // before/after an animation. display:none prevents fadeIns? - if(this._isShowing){ - dojo.style(this.domNode,'display','none'); - dojo.style(this.domNode,'visibility','hidden'); - dojo.style(this.domNode,'opacity',0); - }else{ - dojo.style(this.domNode,'display',''); - dojo.style(this.domNode,'visibility','visible'); - dojo.style(this.domNode,'opacity',1); - } - this._isShowing =! this._isShowing; - } -}); - -dojo.declare("dojox.presentation.Action", [dijit._Widget,dijit._Contained], { - // summary: - // a widget to attach to a dojox.presentation.Part to control - // it's properties based on an inherited chain of events ... - // - // - // on: String - // FIXME: only 'click' supported ATM. plans include on="delay", - // on="end" of="", and on="auto". those should make semantic sense - // to you. - on: 'click', - - // forSlide: String - // attach this action to a dojox.presentation.Part with a matching 'as' attribute - forSlide: "", - - // toggle: String - // will toggle attached [matching] node(s) via forSlide/as relationship(s) - toggle: 'fade', - - // delay: Integer - // - delay: 0, - - // duration: Integer - // default time in MS to run this action effect on it's 'forSlide' node - duration: 1000, - - // private holders: - _attached: [], - _nullAnim: false, - - _runAction: function(){ - // summary: runs this action on attached node(s) - - var anims = []; - // executes the action for each attached 'Part' - dojo.forEach(this._attached,function(node){ - // FIXME: this is ugly, and where is toggle class? :( - var dir = (node._isShowing) ? "Out" : "In"; - // node._isShowing =! node._isShowing; - //var _anim = dojox.fx[ this.toggle ? this.toggle+dir : "fade"+dir]({ - var _anim = dojo.fadeIn({ - node:node.domNode, - duration: this.duration, - beforeBegin: dojo.hitch(node,"_quickToggle") - }); - anims.push(_anim); - },this); - var _anim = dojo.fx.combine(anims); - if(_anim){ _anim.play(); } - }, - - _getSiblingsByType: function(/* String */ declaredClass){ - // summary: quick replacement for getChildrenByType("class"), but in - // a child here ... so it's getSiblings. courtesy bill in #dojo - // could be moved into parent, and just call this.getChildren(), - // which makes more sense. - var siblings = dojo.filter( this.getParent().getChildren(), function(widget){ - return widget.declaredClass==declaredClass; - } - ); - return siblings; // dijit._Widget - }, - - postCreate: function(){ - // summary: run this once, should this be startup: function()? - - this.inherited(arguments); - // prevent actions from being visible, _always_ - dojo.style(this.domNode,"display","none"); - var parents = this._getSiblingsByType('dojox.presentation.Part'); - // create a list of "parts" we are attached to via forSlide/as - this._attached = []; - dojo.forEach(parents,function(parentPart){ - if(this.forSlide == parentPart.as){ - this._attached.push(parentPart); - } - },this); - } - -}); - -} diff --git a/includes/js/dojox/presentation/resources/Show.css b/includes/js/dojox/presentation/resources/Show.css deleted file mode 100644 index 8610675..0000000 --- a/includes/js/dojox/presentation/resources/Show.css +++ /dev/null @@ -1,100 +0,0 @@ -@media screen { - html, body { - margin: 0px; - padding: 0px; - } - - h1.showTitle { - margin:0; - margin-left:0; - padding:0; - font-size: 60px; - background:transparent; - border-bottom:1px solid #000; - } - p, li { - font-size: 17pt; - } - .dojoShowNav { - border-top:1px solid #ccc; - background: #ededed; - overflow: hidden; - position: absolute; - bottom: 0px; - left: 0px; - width: 100%; - text-align: center; - z-index:420; - padding:0; - margin-bttom:5px; height:34px; - } - .dojoShowNav img { cursor:pointer; } - - .dojoShowSlide { - - } - .dojoShowNav option { font:6pt; color:#333; } - .dojoShowNav select { - margin: 0px; - color: #999; - margin-top: 5px; - padding: 2px; - border: 1px solid #ccc; - -moz-border-radius:6pt 6pt; - } - .dojoShowHider { - height: 5px; - overflow: hidden; - width: 100%; - z-index:421; - } - .dojoShowPrint { - position: absolute; - left: 0px; - top: 0px; - width:100%; - } - .dojoShowBody { - background:#fff url('../../../dijit/themes/tundra/images/testBodyBg.gif') repeat-x top left; - padding:10px; - } - .dojoShow { - width:100%; height:100%; - overflow:hidden; - } -} -@media print { - .dojoShow { - display: none !important; - } - .dojoShowPrint { - display: block !important; - } - .dojoShowPrintSlide { - border: 1px solid #aaa; - padding: 10px; - margin-bottom: 15px; - } - .dojoShowPrintSlide, ul { - page-break-inside: avoid; - } - h1 { - margin-top: 0; - page-break-after: avoid; - } -} -.dojoShowSlideTitle { - height: 100px; - width:100%; - display:block; - background-color: #ededed; - border-bottom:1px solid #666; -} -.dojoShowSlideTitle h1 { - margin-top: 0; - -} -.dojoShowSlideBody { - margin: 15px; - background:#fff url('../../../dijit/themes/tundra/images/testBodyBg.gif') repeat-x top left; -} diff --git a/includes/js/dojox/presentation/resources/Show.css.commented.css b/includes/js/dojox/presentation/resources/Show.css.commented.css deleted file mode 100644 index ee205e4..0000000 --- a/includes/js/dojox/presentation/resources/Show.css.commented.css +++ /dev/null @@ -1,110 +0,0 @@ -@media screen { - html, body { - margin: 0px; - padding: 0px; - } - - h1.showTitle { - margin:0; - margin-left:0; - padding:0; - font-size: 60px; - background:transparent; - border-bottom:1px solid #000; - } - - p, li { - font-size: 17pt; - } - - .dojoShowNav { - border-top:1px solid #ccc; - background: #ededed; - overflow: hidden; - position: absolute; - bottom: 0px; - left: 0px; - width: 100%; - text-align: center; - z-index:420; - padding:0; - margin-bttom:5px; height:34px; - } - - .dojoShowNav img { cursor:pointer; } - - .dojoShowSlide { - /* width:100%; height:100%; */ - } - - .dojoShowNav option { font:6pt; color:#333; } - .dojoShowNav select { - margin: 0px; - color: #999; - margin-top: 5px; - padding: 2px; - border: 1px solid #ccc; - -moz-border-radius:6pt 6pt; - } - - .dojoShowHider { - height: 5px; - overflow: hidden; - width: 100%; - z-index:421; - } - .dojoShowPrint { - position: absolute; - left: 0px; - top: 0px; - width:100%; - } - - .dojoShowBody { - background:#fff url('../../../dijit/themes/tundra/images/testBodyBg.gif') repeat-x top left; - padding:10px; - } - - .dojoShow { - width:100%; height:100%; - overflow:hidden; - } -} - -@media print { - .dojoShow { - display: none !important; - } - .dojoShowPrint { - display: block !important; - } - .dojoShowPrintSlide { - border: 1px solid #aaa; - padding: 10px; - margin-bottom: 15px; - } - .dojoShowPrintSlide, ul { - page-break-inside: avoid; - } - h1 { - margin-top: 0; - page-break-after: avoid; - } -} - -.dojoShowSlideTitle { - height: 100px; - width:100%; - display:block; - background-color: #ededed; - border-bottom:1px solid #666; -} -.dojoShowSlideTitle h1 { - margin-top: 0; - /* line-height: 100px; - margin-left: 30px; */ -} -.dojoShowSlideBody { - margin: 15px; - background:#fff url('../../../dijit/themes/tundra/images/testBodyBg.gif') repeat-x top left; -} diff --git a/includes/js/dojox/presentation/resources/Show.html b/includes/js/dojox/presentation/resources/Show.html deleted file mode 100644 index 33672db..0000000 --- a/includes/js/dojox/presentation/resources/Show.html +++ /dev/null @@ -1,12 +0,0 @@ -
                        -
                        -
                        - - - -
                        -
                        -
                        -
                        diff --git a/includes/js/dojox/presentation/resources/Slide.html b/includes/js/dojox/presentation/resources/Slide.html deleted file mode 100644 index dc4627b..0000000 --- a/includes/js/dojox/presentation/resources/Slide.html +++ /dev/null @@ -1,4 +0,0 @@ -
                        -

                        ${title}

                        -
                        -
                        diff --git a/includes/js/dojox/presentation/resources/icons/down.png b/includes/js/dojox/presentation/resources/icons/down.png deleted file mode 100644 index 46bf9ba..0000000 Binary files a/includes/js/dojox/presentation/resources/icons/down.png and /dev/null differ diff --git a/includes/js/dojox/presentation/resources/icons/next.png b/includes/js/dojox/presentation/resources/icons/next.png deleted file mode 100644 index 16afa87..0000000 Binary files a/includes/js/dojox/presentation/resources/icons/next.png and /dev/null differ diff --git a/includes/js/dojox/presentation/resources/icons/prev.png b/includes/js/dojox/presentation/resources/icons/prev.png deleted file mode 100644 index 5519eb5..0000000 Binary files a/includes/js/dojox/presentation/resources/icons/prev.png and /dev/null differ diff --git a/includes/js/dojox/presentation/resources/icons/up.png b/includes/js/dojox/presentation/resources/icons/up.png deleted file mode 100644 index d77816a..0000000 Binary files a/includes/js/dojox/presentation/resources/icons/up.png and /dev/null differ diff --git a/includes/js/dojox/presentation/tests/_ext1.html b/includes/js/dojox/presentation/tests/_ext1.html deleted file mode 100644 index d56be0e..0000000 --- a/includes/js/dojox/presentation/tests/_ext1.html +++ /dev/null @@ -1,21 +0,0 @@ -

                        WARNING:

                        - -

                        -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
                        -semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin
                        -porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.
                        -Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis.
                        -Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae
                        -risus. -

                        - -

                        -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean -semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin -porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi.
                        -Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis.
                        -Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae -risus. -

                        - - diff --git a/includes/js/dojox/presentation/tests/test_presentation.html b/includes/js/dojox/presentation/tests/test_presentation.html deleted file mode 100644 index d9e86b5..0000000 --- a/includes/js/dojox/presentation/tests/test_presentation.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - dojox.presentation - Presentation Mechanism - - - - - - - - - - - - - - -
                        -
                        - -

                        This is a brief overview of what this presentation widget is capable of.

                        - -
                        ... it's new, and completely different, so watch close
                        - - - - -
                        - -
                        -

                        Click, and more text will appear

                        - -
                        -

                        Lorem something something. I am text, hear me _roar_.

                        -
                        - - -
                        - I am here to make sure click-advancing is disabled on normal input type elements: - - -
                        - - - -
                        -
                        - -

                        First You See me ...

                        -

                        Then you see ME ...

                        -

                        oh yeah!

                        - - - - - - -
                        - -
                        -

                        You cannot click on this page

                        -

                        I told you that you can't click ...

                        - click here to move the title - - - -
                        - -
                        -

                        There is a widget in this page:

                        -

                        clicking has been stopped on this page to demonstrate the usage ..

                        -
                        - There _should_ be a _Calendar widget here
                        -
                        -
                        -
                        - I am a titlepane, you can do cool things with me. - -
                        -
                        -

                        ... so I'm providing a next button:

                        -
                        - -
                        - -
                        -

                        Thanks for watching!

                        -
                        -
                        - - diff --git a/includes/js/dojox/resources/README.template b/includes/js/dojox/resources/README.template deleted file mode 100644 index 293f2b7..0000000 --- a/includes/js/dojox/resources/README.template +++ /dev/null @@ -1,36 +0,0 @@ -------------------------------------------------------------------------------- -Project Name -------------------------------------------------------------------------------- -Version X.XXX -Release date: MM/DD/YYYY -------------------------------------------------------------------------------- -Project state: -prototype | experimental | beta | stable | production -------------------------------------------------------------------------------- -Credits - Author one (author contact info) - Author two (author contact info) -------------------------------------------------------------------------------- -Project description - -Describe the point of the project here. -------------------------------------------------------------------------------- -Dependencies: - -List any dependencies here. -------------------------------------------------------------------------------- -Documentation - -------------------------------------------------------------------------------- -Installation instructions - -Use this to explain in detail what a person needs to do in order to use this -project. Include URLs for grabbing source, URLs for any dependencies, etc. -Also be sure to include any additional information, such as where to place -CSS files, images, other media, etc. The goal is that someone reading this -file can follow your instructions and be using this project within minutes. -------------------------------------------------------------------------------- -Additional Notes - -Anything else you think is of interest (for example, object hierarchy) should -be placed here. diff --git a/includes/js/dojox/resources/_modules.js b/includes/js/dojox/resources/_modules.js deleted file mode 100644 index d894a91..0000000 --- a/includes/js/dojox/resources/_modules.js +++ /dev/null @@ -1,204 +0,0 @@ -/*===== -// this file is in place as a quick way to give summaries to all available dojox projects. - -dojox = { - // summary: - // DojoX: the home for Dojo eXtensions - // - // description: - // DojoX is a collection of subprojects provided by Dojo committers and subject to - // the generous licensing and policies of the [Dojo CLA](http://dojotoolkit.org/cla) - // Each subproject in DojoX has its own top-level directory and a README file with - // status information and project status and a stability rating (experimental, beta, stable) - // - // Projects may or may not depend on other top-level Dojo projects, like Dojo or Dijit. - // Unlike Dojo and Dijit, code is not subject to i18n and a11y restrictions and may vary - // in quality (experimental code is encouraged in DojoX, but currently prohibited in Dojo - // and Dijit) - // - // DojoX projects may mature to a stable state and stay in DojoX, or on occasion - // after proving themselves may migrate to Dojo Core or Dijit. Dojo and Dijit projects - // are constrained both by development resources as well as design goals, so DojoX is - // a natural place to provide enhanced behavior or extend Dojo Core or Dijit primitives. - // DojoX can also be an incubator for entirely new projects. -} - -dojox._sql = { - // summary: objects to support Dojo Offline (dojox.off) -}; - -dojox.charting = { - // summary: Vector graphic, data-driven graphs and charts -}; - -dojox.collections = { - // summary: A set of lists and hashes for easy use within your applications. -}; - -dojox.color = { - // summary: Advanced color methods, including HSV, HSL, and CMYK conversion, a color generator and advanced colorspace calculations. -}; - -dojox.cometd = { - // summary: A cometd client written in Dojo -}; - -dojox.crypto = { - // summary: Cryptography in JS. DEPRECATED: use dojox.encoding instead. -}; - -dojox.data = { - // summary: Additional dojo.data data stores and demos -}; - -dojox.date = { - // summary: Additional date manipulation functions -}; - -dojox.dtl = { - // summary: Django Templating Language implementation -}; - -dojox.encoding = { - // summary: Various encoding algorithms, including crypto and digests. -}; - -dojox.flash = { - // summary: Utilities to embed and communicate with Flash-based objects -}; - -dojox.fx = { - // summary: Extension animations to the core dojo FX project - // - // description: - // A package of animations, and FX-related code, extending Dojo Core fx. - // Including this package includes all the Base and Core fx packages. - // - - style: { // summary: Module to provide CSS animations - }, - - scroll: { // summary: Module to provide scroll-related FX - } -}; -dojox.fx["ext-dojo"] = { - // summary: Direct extensions to dojo.fx namespace - NodeList: { - // summary: module to include to support dojox.fx animations in dojo.query() - } -}; - -dojox.gfx = { - // summary: Cross-browser vector graphics API - // description: - // - // dojox.gfx is an advanced API providing normalized vector drawing - // in a variety of browsers. It has individual renderers for SVG, VML, - // Canvas, and Silverlight. -}; - -dojox.gfx3d = { - // summary: A 3d API for dojox.gfx -}; - -dojox.grid = { - // summary: An advanced Grid widget with virtual scrolling, cell editing, and much more -}; - -dojox.highlight = { - // summary: A client-side syntax highlighting engine. - // description: - // This project parses pre > code nodes, and applies syntax highlighting for - // a wide variety of languages. Simply dojo.require() in all the - // dojox.highlight.languages you wish to include in your highlighingting, - // and customize colors in the highlight.css. - // - // It is provided as a dojo package, contributed under CLA - // by Ivan Sagalaev and is available originally from: - // http://softwaremaniacs.org/soft/highlight/en/ - // -}; - -dojox.image = { - // summary: A collection of image related widgets -}; - -dojox.io = { - // summary: Extensions to the Core dojo.io transports -}; - -dojox.jsonPath = { - // summary: A query system for JavaScript objects -}; - -dojox.layout = { - // summary: A collection of layout related Widgets -}; - -dojox.lang = { - // summary: Language specific extensions - functional: { - // summary: Functional language constructs, including currying and lambda. - } -}; - -dojox.math = { - // summary: A collection of various advanced math functions. -}; - -dojox.off = { - // summary: the Dojo Offline project -}; - -dojox.presentation = { - // summary: A simple, experimental PowerPoint-like presentation project -}; - -dojox.regexp = { - // summary: Additional pre-made regular expressions for use -}; - -dojox.storage = { - // summary: Objects for mass storage within the browser. For when cookies just aren't enough. -}; - -dojox.string = { - // summary: A collection of various objects for advanced string manipulation, including a Builder and a tokenizer. -}; - -dojox.timing = { - // summary: A set of objects to perform advanced time-based tasks, including a basic Timer. -}; - -dojox.uuid = { - // summary: Universally Unique Identifier (UUID) implementations, including an implementation of UUID 2 -}; - -dojox.validate = { - // summary: Additional input validation methods - ca : { - // summary: Methods specific to the Canadian provinces - }, - creditCard : { - // summary: Validate various credit card types - } -}; - -dojox.widget = { - // summary: A collection of un-categorized widgets, or code not requiring it's own package. - // - // description: - // These are standalone widgets with varying levels of stability. Some are useful, - // some were created for demonstration purposes, and learning tools. The each maintain - // their own .css file (typically dojox/widget/WidgetName/WidgetName.css) -}; - -dojox.wire = { - // summary: - // Declarative data binding and action tags for simplified MVC -}; - -dojox.xml = { - // summary: XML utilities. Currently only includes a DomParser, which returns a psuedo-XML document in JSON-like form. -}; -=====*/ diff --git a/includes/js/dojox/resources/manualTests.html b/includes/js/dojox/resources/manualTests.html deleted file mode 100644 index 1cdda13..0000000 --- a/includes/js/dojox/resources/manualTests.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - Dojox Manual Test Runner - - - Redirecting to D.O.H runner - - - diff --git a/includes/js/dojox/resources/manualTests.js b/includes/js/dojox/resources/manualTests.js deleted file mode 100644 index 3a6d947..0000000 --- a/includes/js/dojox/resources/manualTests.js +++ /dev/null @@ -1,211 +0,0 @@ -if(!dojo._hasResource["dojox.tests.manualTests"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.tests.manualTests"] = true; -dojo.provide("dojox.tests.manualTests"); - -try{ -if(dojo.isBrowser){ - var userArgs = window.location.search.replace(/[\?&](dojoUrl|testUrl|testModule)=[^&]*/g,"").replace(/^&/,"?"); - doh.registerUrl("dojox/analytics/tests/test_analytics.html", dojo.moduleUrl("dojox","analytics/tests/test_analytics.html"+userArgs), 99999999); - doh.registerUrl("dojox/av/tests/flash.html", dojo.moduleUrl("dojox","av/tests/flash.html"+userArgs), 99999999); - doh.registerUrl("dojox/av/tests/quicktime.html", dojo.moduleUrl("dojox","av/tests/quicktime.html"+userArgs), 99999999); - doh.registerUrl("dojox/charting/tests/test_bars.html", dojo.moduleUrl("dojox","charting/tests/test_bars.html"+userArgs), 99999999); - doh.registerUrl("dojox/charting/tests/test_chart2d.html", dojo.moduleUrl("dojox","charting/tests/test_chart2d.html"+userArgs), 99999999); - doh.registerUrl("dojox/charting/tests/test_chart2d_updating.html", dojo.moduleUrl("dojox","charting/tests/test_chart2d_updating.html"+userArgs), 99999999); - doh.registerUrl("dojox/charting/tests/test_cylinders.html", dojo.moduleUrl("dojox","charting/tests/test_cylinders.html"+userArgs), 99999999); - doh.registerUrl("dojox/charting/tests/test_labels2d.html", dojo.moduleUrl("dojox","charting/tests/test_labels2d.html"+userArgs), 99999999); - doh.registerUrl("dojox/charting/tests/test_pie2d.html", dojo.moduleUrl("dojox","charting/tests/test_pie2d.html"+userArgs), 99999999); - doh.registerUrl("dojox/charting/tests/test_scaler.html", dojo.moduleUrl("dojox","charting/tests/test_scaler.html"+userArgs), 99999999); - doh.registerUrl("dojox/charting/tests/test_sparklines.html", dojo.moduleUrl("dojox","charting/tests/test_sparklines.html"+userArgs), 99999999); - doh.registerUrl("dojox/charting/tests/test_widget2d.html", dojo.moduleUrl("dojox","charting/tests/test_widget2d.html"+userArgs), 99999999); - doh.registerUrl("dojox/data/demos/demo_DataDemoTable.html", dojo.moduleUrl("dojox","data/demos/demo_DataDemoTable.html"+userArgs), 99999999); - doh.registerUrl("dojox/data/demos/demo_FlickrRestStore.html", dojo.moduleUrl("dojox","data/demos/demo_FlickrRestStore.html"+userArgs), 99999999); - doh.registerUrl("dojox/data/demos/demo_FlickrStore.html", dojo.moduleUrl("dojox","data/demos/demo_FlickrStore.html"+userArgs), 99999999); - doh.registerUrl("dojox/data/demos/demo_LazyLoad.html", dojo.moduleUrl("dojox","data/demos/demo_LazyLoad.html"+userArgs), 99999999); - doh.registerUrl("dojox/data/demos/demo_MultiStores.html", dojo.moduleUrl("dojox","data/demos/demo_MultiStores.html"+userArgs), 99999999); - doh.registerUrl("dojox/data/demos/demo_PicasaStore.html", dojo.moduleUrl("dojox","data/demos/demo_PicasaStore.html"+userArgs), 99999999); - doh.registerUrl("dojox/data/demos/demo_QueryReadStore.html", dojo.moduleUrl("dojox","data/demos/demo_QueryReadStore.html"+userArgs), 99999999); - doh.registerUrl("dojox/data/demos/demo_QueryReadStore_filter.html", dojo.moduleUrl("dojox","data/demos/demo_QueryReadStore_filter.html"+userArgs), 99999999); - doh.registerUrl("dojox/data/demos/demo_QueryReadStore_sort.html", dojo.moduleUrl("dojox","data/demos/demo_QueryReadStore_sort.html"+userArgs), 99999999); - doh.registerUrl("dojox/data/tests/QueryReadStore.html", dojo.moduleUrl("dojox","data/tests/QueryReadStore.html"+userArgs), 99999999); - doh.registerUrl("dojox/data/tests/test_Tree_vs_jsonPathStore.html", dojo.moduleUrl("dojox","data/tests/test_Tree_vs_jsonPathStore.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/demos/demo_Animation.html", dojo.moduleUrl("dojox","dtl/demos/demo_Animation.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/demos/demo_Blog.html", dojo.moduleUrl("dojox","dtl/demos/demo_Blog.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/demos/demo_Data.html", dojo.moduleUrl("dojox","dtl/demos/demo_Data.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/demos/demo_Dijitless.html", dojo.moduleUrl("dojox","dtl/demos/demo_Dijitless.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/demos/demo_Events.html", dojo.moduleUrl("dojox","dtl/demos/demo_Events.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/demos/demo_HtmlTemplated.html", dojo.moduleUrl("dojox","dtl/demos/demo_HtmlTemplated.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/demos/demo_Inline.html", dojo.moduleUrl("dojox","dtl/demos/demo_Inline.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/demos/demo_NodeList.html", dojo.moduleUrl("dojox","dtl/demos/demo_NodeList.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/demos/demo_Table.html", dojo.moduleUrl("dojox","dtl/demos/demo_Table.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/demos/demo_Templated.html", dojo.moduleUrl("dojox","dtl/demos/demo_Templated.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/demos/demo_Tree.html", dojo.moduleUrl("dojox","dtl/demos/demo_Tree.html"+userArgs), 99999999); - doh.registerUrl("dojox/dtl/tests/demo_Templated_Jaxer.html", dojo.moduleUrl("dojox","dtl/tests/demo_Templated_Jaxer.html"+userArgs), 99999999); - doh.registerUrl("dojox/encoding/tests/compression/colors2.html", dojo.moduleUrl("dojox","encoding/tests/compression/colors2.html"+userArgs), 99999999); - doh.registerUrl("dojox/encoding/tests/compression/colors3.html", dojo.moduleUrl("dojox","encoding/tests/compression/colors3.html"+userArgs), 99999999); - doh.registerUrl("dojox/encoding/tests/compression/test.html", dojo.moduleUrl("dojox","encoding/tests/compression/test.html"+userArgs), 99999999); - doh.registerUrl("dojox/encoding/tests/compression/vq.html", dojo.moduleUrl("dojox","encoding/tests/compression/vq.html"+userArgs), 99999999); - doh.registerUrl("dojox/flash/tests/test_flash.html", dojo.moduleUrl("dojox","flash/tests/test_flash.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/example_backgroundPosition.html", dojo.moduleUrl("dojox","fx/tests/example_backgroundPosition.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/example_dojoAnimations.html", dojo.moduleUrl("dojox","fx/tests/example_dojoAnimations.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/example_easingChart2D.html", dojo.moduleUrl("dojox","fx/tests/example_easingChart2D.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/example_Line.html", dojo.moduleUrl("dojox","fx/tests/example_Line.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/test_animateClass.html", dojo.moduleUrl("dojox","fx/tests/test_animateClass.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/test_crossFade.html", dojo.moduleUrl("dojox","fx/tests/test_crossFade.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/test_easing.html", dojo.moduleUrl("dojox","fx/tests/test_easing.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/test_highlight.html", dojo.moduleUrl("dojox","fx/tests/test_highlight.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/test_Nodelist-fx.html", dojo.moduleUrl("dojox","fx/tests/test_Nodelist-fx.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/test_scroll.html", dojo.moduleUrl("dojox","fx/tests/test_scroll.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/test_Shadow.html", dojo.moduleUrl("dojox","fx/tests/test_Shadow.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/test_sizeTo.html", dojo.moduleUrl("dojox","fx/tests/test_sizeTo.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/test_slideBy.html", dojo.moduleUrl("dojox","fx/tests/test_slideBy.html"+userArgs), 99999999); - doh.registerUrl("dojox/fx/tests/test_wipeTo.html", dojo.moduleUrl("dojox","fx/tests/test_wipeTo.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/beautify.html", dojo.moduleUrl("dojox","gfx/demos/beautify.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/butterfly.html", dojo.moduleUrl("dojox","gfx/demos/butterfly.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/career_test.html", dojo.moduleUrl("dojox","gfx/demos/career_test.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/circles.html", dojo.moduleUrl("dojox","gfx/demos/circles.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/clock.html", dojo.moduleUrl("dojox","gfx/demos/clock.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/clockWidget.html", dojo.moduleUrl("dojox","gfx/demos/clockWidget.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/clock_black.html", dojo.moduleUrl("dojox","gfx/demos/clock_black.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/creator.html", dojo.moduleUrl("dojox","gfx/demos/creator.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/inspector.html", dojo.moduleUrl("dojox","gfx/demos/inspector.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/lion.html", dojo.moduleUrl("dojox","gfx/demos/lion.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/roundedPane.html", dojo.moduleUrl("dojox","gfx/demos/roundedPane.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/tiger.html", dojo.moduleUrl("dojox","gfx/demos/tiger.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/demos/tooltip.html", dojo.moduleUrl("dojox","gfx/demos/tooltip.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_arc.html", dojo.moduleUrl("dojox","gfx/tests/test_arc.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_bezier.html", dojo.moduleUrl("dojox","gfx/tests/test_bezier.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_decompose.html", dojo.moduleUrl("dojox","gfx/tests/test_decompose.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_fill.html", dojo.moduleUrl("dojox","gfx/tests/test_fill.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_fx.html", dojo.moduleUrl("dojox","gfx/tests/test_fx.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_gfx.html", dojo.moduleUrl("dojox","gfx/tests/test_gfx.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_gradient.html", dojo.moduleUrl("dojox","gfx/tests/test_gradient.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_group.html", dojo.moduleUrl("dojox","gfx/tests/test_group.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_image1.html", dojo.moduleUrl("dojox","gfx/tests/test_image1.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_image2.html", dojo.moduleUrl("dojox","gfx/tests/test_image2.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_linearGradient.html", dojo.moduleUrl("dojox","gfx/tests/test_linearGradient.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_linestyle.html", dojo.moduleUrl("dojox","gfx/tests/test_linestyle.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_pattern.html", dojo.moduleUrl("dojox","gfx/tests/test_pattern.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_poly.html", dojo.moduleUrl("dojox","gfx/tests/test_poly.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_resize.html", dojo.moduleUrl("dojox","gfx/tests/test_resize.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_setPath.html", dojo.moduleUrl("dojox","gfx/tests/test_setPath.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_tbbox.html", dojo.moduleUrl("dojox","gfx/tests/test_tbbox.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_text.html", dojo.moduleUrl("dojox","gfx/tests/test_text.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_textpath.html", dojo.moduleUrl("dojox","gfx/tests/test_textpath.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx/tests/test_transform.html", dojo.moduleUrl("dojox","gfx/tests/test_transform.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_camerarotate.html", dojo.moduleUrl("dojox","gfx3d/tests/test_camerarotate.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_camerarotate_shaded.html", dojo.moduleUrl("dojox","gfx3d/tests/test_camerarotate_shaded.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_cube.html", dojo.moduleUrl("dojox","gfx3d/tests/test_cube.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_cylinder.html", dojo.moduleUrl("dojox","gfx3d/tests/test_cylinder.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_drawer.html", dojo.moduleUrl("dojox","gfx3d/tests/test_drawer.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_edges.html", dojo.moduleUrl("dojox","gfx3d/tests/test_edges.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_matrix.html", dojo.moduleUrl("dojox","gfx3d/tests/test_matrix.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_orbit.html", dojo.moduleUrl("dojox","gfx3d/tests/test_orbit.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_overlap.html", dojo.moduleUrl("dojox","gfx3d/tests/test_overlap.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_polygon.html", dojo.moduleUrl("dojox","gfx3d/tests/test_polygon.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_quads.html", dojo.moduleUrl("dojox","gfx3d/tests/test_quads.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_rotate.html", dojo.moduleUrl("dojox","gfx3d/tests/test_rotate.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_scene.html", dojo.moduleUrl("dojox","gfx3d/tests/test_scene.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_triangles.html", dojo.moduleUrl("dojox","gfx3d/tests/test_triangles.html"+userArgs), 99999999); - doh.registerUrl("dojox/gfx3d/tests/test_vector.html", dojo.moduleUrl("dojox","gfx3d/tests/test_vector.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_change_structure.html", dojo.moduleUrl("dojox","grid/tests/test_change_structure.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_custom_sort.html", dojo.moduleUrl("dojox","grid/tests/test_custom_sort.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_dojo_data_edit.html", dojo.moduleUrl("dojox","grid/tests/test_dojo_data_edit.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_dojo_data_model.html", dojo.moduleUrl("dojox","grid/tests/test_dojo_data_model.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_dojo_data_model_EmptyResultSet.html", dojo.moduleUrl("dojox","grid/tests/test_dojo_data_model_EmptyResultSet.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_dojo_data_model_multiStores.html", dojo.moduleUrl("dojox","grid/tests/test_dojo_data_model_multiStores.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_dojo_data_model_processError.html", dojo.moduleUrl("dojox","grid/tests/test_dojo_data_model_processError.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_dojo_data_notification.html", dojo.moduleUrl("dojox","grid/tests/test_dojo_data_notification.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_edit.html", dojo.moduleUrl("dojox","grid/tests/test_edit.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_edit_canEdit.html", dojo.moduleUrl("dojox","grid/tests/test_edit_canEdit.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_edit_dijit.html", dojo.moduleUrl("dojox","grid/tests/test_edit_dijit.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_events.html", dojo.moduleUrl("dojox","grid/tests/test_events.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_expand.html", dojo.moduleUrl("dojox","grid/tests/test_expand.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid.html", dojo.moduleUrl("dojox","grid/tests/test_grid.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid_dlg.html", dojo.moduleUrl("dojox","grid/tests/test_grid_dlg.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid_headerHeight.html", dojo.moduleUrl("dojox","grid/tests/test_grid_headerHeight.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid_layout.html", dojo.moduleUrl("dojox","grid/tests/test_grid_layout.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid_layout_borderContainer.html", dojo.moduleUrl("dojox","grid/tests/test_grid_layout_borderContainer.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid_layout_LayoutContainer.html", dojo.moduleUrl("dojox","grid/tests/test_grid_layout_LayoutContainer.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid_object_model_change.html", dojo.moduleUrl("dojox","grid/tests/test_grid_object_model_change.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid_programmatic.html", dojo.moduleUrl("dojox","grid/tests/test_grid_programmatic.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid_programmatic_layout.html", dojo.moduleUrl("dojox","grid/tests/test_grid_programmatic_layout.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid_rtl.html", dojo.moduleUrl("dojox","grid/tests/test_grid_rtl.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid_themes.html", dojo.moduleUrl("dojox","grid/tests/test_grid_themes.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_grid_tooltip_menu.html", dojo.moduleUrl("dojox","grid/tests/test_grid_tooltip_menu.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_keyboard.html", dojo.moduleUrl("dojox","grid/tests/test_keyboard.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_markup.html", dojo.moduleUrl("dojox","grid/tests/test_markup.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_mysql_edit.html", dojo.moduleUrl("dojox","grid/tests/test_mysql_edit.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_sizing.html", dojo.moduleUrl("dojox","grid/tests/test_sizing.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_sizing_100rows.html", dojo.moduleUrl("dojox","grid/tests/test_sizing_100rows.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_sizing_ResizeHandle.html", dojo.moduleUrl("dojox","grid/tests/test_sizing_ResizeHandle.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_styling.html", dojo.moduleUrl("dojox","grid/tests/test_styling.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_subgrid.html", dojo.moduleUrl("dojox","grid/tests/test_subgrid.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_tundra_edit.html", dojo.moduleUrl("dojox","grid/tests/test_tundra_edit.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_yahoo_images.html", dojo.moduleUrl("dojox","grid/tests/test_yahoo_images.html"+userArgs), 99999999); - doh.registerUrl("dojox/grid/tests/test_yahoo_search.html", dojo.moduleUrl("dojox","grid/tests/test_yahoo_search.html"+userArgs), 99999999); - doh.registerUrl("dojox/help/demos/demo_Console.html", dojo.moduleUrl("dojox","help/demos/demo_Console.html"+userArgs), 99999999); - doh.registerUrl("dojox/highlight/tests/test_highlight.html", dojo.moduleUrl("dojox","highlight/tests/test_highlight.html"+userArgs), 99999999); - doh.registerUrl("dojox/highlight/tests/test_pygments.html", dojo.moduleUrl("dojox","highlight/tests/test_pygments.html"+userArgs), 99999999); - doh.registerUrl("dojox/image/tests/test_Gallery.html", dojo.moduleUrl("dojox","image/tests/test_Gallery.html"+userArgs), 99999999); - doh.registerUrl("dojox/image/tests/test_Lightbox.html", dojo.moduleUrl("dojox","image/tests/test_Lightbox.html"+userArgs), 99999999); - doh.registerUrl("dojox/image/tests/test_Magnifier.html", dojo.moduleUrl("dojox","image/tests/test_Magnifier.html"+userArgs), 99999999); - doh.registerUrl("dojox/image/tests/test_MagnifierLite.html", dojo.moduleUrl("dojox","image/tests/test_MagnifierLite.html"+userArgs), 99999999); - doh.registerUrl("dojox/image/tests/test_SlideShow.html", dojo.moduleUrl("dojox","image/tests/test_SlideShow.html"+userArgs), 99999999); - doh.registerUrl("dojox/image/tests/test_ThumbnailPicker.html", dojo.moduleUrl("dojox","image/tests/test_ThumbnailPicker.html"+userArgs), 99999999); - doh.registerUrl("dojox/io/proxy/tests/xip.html", dojo.moduleUrl("dojox","io/proxy/tests/xip.html"+userArgs), 99999999); - doh.registerUrl("dojox/lang/tests/fun_perf.html", dojo.moduleUrl("dojox","lang/tests/fun_perf.html"+userArgs), 99999999); - doh.registerUrl("dojox/layout/tests/test_DragPane.html", dojo.moduleUrl("dojox","layout/tests/test_DragPane.html"+userArgs), 99999999); - doh.registerUrl("dojox/layout/tests/test_ExpandoPane.html", dojo.moduleUrl("dojox","layout/tests/test_ExpandoPane.html"+userArgs), 99999999); - doh.registerUrl("dojox/layout/tests/test_ExpandoPane_code.html", dojo.moduleUrl("dojox","layout/tests/test_ExpandoPane_code.html"+userArgs), 99999999); - doh.registerUrl("dojox/layout/tests/test_ExpandoPane_more.html", dojo.moduleUrl("dojox","layout/tests/test_ExpandoPane_more.html"+userArgs), 99999999); - doh.registerUrl("dojox/layout/tests/test_FloatingPane.html", dojo.moduleUrl("dojox","layout/tests/test_FloatingPane.html"+userArgs), 99999999); - doh.registerUrl("dojox/layout/tests/test_RadioGroup.html", dojo.moduleUrl("dojox","layout/tests/test_RadioGroup.html"+userArgs), 99999999); - doh.registerUrl("dojox/layout/tests/test_ResizeHandle.html", dojo.moduleUrl("dojox","layout/tests/test_ResizeHandle.html"+userArgs), 99999999); - doh.registerUrl("dojox/layout/tests/test_ScrollPane.html", dojo.moduleUrl("dojox","layout/tests/test_ScrollPane.html"+userArgs), 99999999); - doh.registerUrl("dojox/layout/tests/test_ScrollPaneSingle.html", dojo.moduleUrl("dojox","layout/tests/test_ScrollPaneSingle.html"+userArgs), 99999999); - doh.registerUrl("dojox/layout/tests/test_SizingPane.html", dojo.moduleUrl("dojox","layout/tests/test_SizingPane.html"+userArgs), 99999999); - doh.registerUrl("dojox/off/demos/editor/editor.html", dojo.moduleUrl("dojox","off/demos/editor/editor.html"+userArgs), 99999999); - doh.registerUrl("dojox/off/demos/helloworld/helloworld.html", dojo.moduleUrl("dojox","off/demos/helloworld/helloworld.html"+userArgs), 99999999); - doh.registerUrl("dojox/presentation/tests/test_presentation.html", dojo.moduleUrl("dojox","presentation/tests/test_presentation.html"+userArgs), 99999999); - doh.registerUrl("dojox/rpc/demos/demo_JsonRestStore_CouchDB.html", dojo.moduleUrl("dojox","rpc/demos/demo_JsonRestStore_CouchDB.html"+userArgs), 99999999); - doh.registerUrl("dojox/rpc/demos/demo_JsonRestStore_Persevere.html", dojo.moduleUrl("dojox","rpc/demos/demo_JsonRestStore_Persevere.html"+userArgs), 99999999); - doh.registerUrl("dojox/rpc/demos/documentation.html", dojo.moduleUrl("dojox","rpc/demos/documentation.html"+userArgs), 99999999); - doh.registerUrl("dojox/rpc/demos/yahoo.html", dojo.moduleUrl("dojox","rpc/demos/yahoo.html"+userArgs), 99999999); - doh.registerUrl("dojox/rpc/tests/test_dojo_data_model_persevere.html", dojo.moduleUrl("dojox","rpc/tests/test_dojo_data_model_persevere.html"+userArgs), 99999999); - doh.registerUrl("dojox/sketch/tests/test_full.html", dojo.moduleUrl("dojox","sketch/tests/test_full.html"+userArgs), 99999999); - doh.registerUrl("dojox/storage/demos/helloworld.html", dojo.moduleUrl("dojox","storage/demos/helloworld.html"+userArgs), 99999999); - doh.registerUrl("dojox/storage/tests/test_storage.html", dojo.moduleUrl("dojox","storage/tests/test_storage.html"+userArgs), 99999999); - doh.registerUrl("dojox/string/tests/BuilderPerf.html", dojo.moduleUrl("dojox","string/tests/BuilderPerf.html"+userArgs), 99999999); - doh.registerUrl("dojox/string/tests/peller.html", dojo.moduleUrl("dojox","string/tests/peller.html"+userArgs), 99999999); - doh.registerUrl("dojox/string/tests/PerfFun.html", dojo.moduleUrl("dojox","string/tests/PerfFun.html"+userArgs), 99999999); - doh.registerUrl("dojox/timing/tests/test_Sequence.html", dojo.moduleUrl("dojox","timing/tests/test_Sequence.html"+userArgs), 99999999); - doh.registerUrl("dojox/timing/tests/test_ThreadPool.html", dojo.moduleUrl("dojox","timing/tests/test_ThreadPool.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/demo_FisheyeList-orig.html", dojo.moduleUrl("dojox","widget/tests/demo_FisheyeList-orig.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/demo_FisheyeList.html", dojo.moduleUrl("dojox","widget/tests/demo_FisheyeList.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/demo_FisheyeLite.html", dojo.moduleUrl("dojox","widget/tests/demo_FisheyeLite.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_ColorPicker.html", dojo.moduleUrl("dojox","widget/tests/test_ColorPicker.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_FileInput.html", dojo.moduleUrl("dojox","widget/tests/test_FileInput.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_FisheyeList.html", dojo.moduleUrl("dojox","widget/tests/test_FisheyeList.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_FisheyeLite.html", dojo.moduleUrl("dojox","widget/tests/test_FisheyeLite.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_Iterator.html", dojo.moduleUrl("dojox","widget/tests/test_Iterator.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_Loader.html", dojo.moduleUrl("dojox","widget/tests/test_Loader.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_MultiComboBox.html", dojo.moduleUrl("dojox","widget/tests/test_MultiComboBox.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_Rating.html", dojo.moduleUrl("dojox","widget/tests/test_Rating.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_SortList.html", dojo.moduleUrl("dojox","widget/tests/test_SortList.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_TimeSpinner.html", dojo.moduleUrl("dojox","widget/tests/test_TimeSpinner.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_Toaster.html", dojo.moduleUrl("dojox","widget/tests/test_Toaster.html"+userArgs), 99999999); - doh.registerUrl("dojox/widget/tests/test_Wizard.html", dojo.moduleUrl("dojox","widget/tests/test_Wizard.html"+userArgs), 99999999); - doh.registerUrl("dojox/wire/demos/markup/demo_ActionChaining.html", dojo.moduleUrl("dojox","wire/demos/markup/demo_ActionChaining.html"+userArgs), 99999999); - doh.registerUrl("dojox/wire/demos/markup/demo_ActionWiring.html", dojo.moduleUrl("dojox","wire/demos/markup/demo_ActionWiring.html"+userArgs), 99999999); - doh.registerUrl("dojox/wire/demos/markup/demo_BasicChildWire.html", dojo.moduleUrl("dojox","wire/demos/markup/demo_BasicChildWire.html"+userArgs), 99999999); - doh.registerUrl("dojox/wire/demos/markup/demo_BasicColumnWiring.html", dojo.moduleUrl("dojox","wire/demos/markup/demo_BasicColumnWiring.html"+userArgs), 99999999); - doh.registerUrl("dojox/wire/demos/markup/demo_ConditionalActions.html", dojo.moduleUrl("dojox","wire/demos/markup/demo_ConditionalActions.html"+userArgs), 99999999); - doh.registerUrl("dojox/wire/demos/markup/demo_FlickrStoreWire.html", dojo.moduleUrl("dojox","wire/demos/markup/demo_FlickrStoreWire.html"+userArgs), 99999999); - doh.registerUrl("dojox/wire/demos/markup/demo_TopicWiring.html", dojo.moduleUrl("dojox","wire/demos/markup/demo_TopicWiring.html"+userArgs), 99999999); - doh.registerUrl("dojox/_sql/demos/customers/customers.html", dojo.moduleUrl("dojox","_sql/demos/customers/customers.html"+userArgs), 99999999); -} -}catch(e){ - doh.debug(e); -} - -} diff --git a/includes/js/dojox/rpc/CouchDBRestStore.js b/includes/js/dojox/rpc/CouchDBRestStore.js deleted file mode 100644 index f61836c..0000000 --- a/includes/js/dojox/rpc/CouchDBRestStore.js +++ /dev/null @@ -1,87 +0,0 @@ -if(!dojo._hasResource["dojox.data.CouchDBRestStore"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.data.CouchDBRestStore"] = true; -dojo.provide("dojox.data.CouchDBRestStore"); -dojo.require("dojox.data.JsonRestStore"); -dojo.require("dojox.json.ref"); // TODO: Make it work without this dependency - -// A CouchDBRestStore is an extension of JsonRestStore to handle CouchDB's idiosyncrasies, special features, -// and deviations from standard HTTP Rest. -// NOTE: CouchDB is not designed to be run on a public facing network. There is no access control -// on database documents, and you should NOT rely on client side control to implement security. - - -dojo.declare("dojox.data.CouchDBRestStore", - dojox.data.JsonRestStore, - { - _commitAppend: function(listId,item) { - var deferred = this.service.post(listId,item); - var prefix = this.service.serviceName + '/'; - deferred.addCallback(function(result) { - item._id = prefix + result.id; // update the object with the results of the post - item._rev = result.rev; - return result; - //TODO: Need to go down the graph assigned _id based on path, so that sub items can be modified and properly reflected to the root item (being careful of circular references) - }); - return deferred; - }, - fetch: function(args) { - // summary: - // This only differs from JsonRestStore in that it, will put the query string the query part of the URL and it handles start and count - if (typeof args == 'string') { - args = {query: '_all_docs?' + args}; - } - else if (typeof args.query == 'string') { - args.query = '_all_docs?' + args.query; - } - else - args.query = '_all_docs?'; - if (args.start) { - args.query = (args.query ? (args.query + '&') : '') + 'skip=' + args.start; - delete args.start; - } - if (args.count) { - args.query = (args.query ? (args.query + '&') : '') + 'count=' + args.count; - delete args.count; - } - var prefix = this.service.serviceName + '/'; - var oldOnComplete = args.onComplete; - args.onComplete=function(results) { - if (results.rows) { - for (var i = 0; i < results.rows.length; i++) { - var row = results.rows[i]; // make it into a reference - row._id = prefix + (row.$ref = row.id); - } - } - if (oldOnComplete) - oldOnComplete.apply(this,arguments); - }; - return dojox.data.JsonRestStore.prototype.fetch.call(this,args); - } - } -); - - -dojox.data.CouchDBRestStore.generateSMD = function(couchServerUrl) { - var couchSMD = {contentType:"application/json", - transport:"REST", - envelope:"PATH", - services:{}, - target: couchServerUrl, - }; - var def = dojo.xhrGet({ - url: couchServerUrl+"_all_dbs", - handleAs: "json", - sync: true - }); - def.addCallback(function(dbs) { - for (var i = 0; i < dbs.length; i++) - couchSMD.services[dbs[i]] = { - target:dbs[i], - returns:{}, - parameters:[{type:"string"}] - } - }); - return couchSMD; -} - -} diff --git a/includes/js/dojox/rpc/JsonRPC.js b/includes/js/dojox/rpc/JsonRPC.js deleted file mode 100644 index 1710b31..0000000 --- a/includes/js/dojox/rpc/JsonRPC.js +++ /dev/null @@ -1,58 +0,0 @@ -if(!dojo._hasResource["dojox.rpc.JsonRPC"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.rpc.JsonRPC"] = true; -dojo.provide("dojox.rpc.JsonRPC"); - -dojox.rpc.envelopeRegistry.register( - "JSON-RPC-1.0",function(str){return str == "JSON-RPC-1.0"},{ - serialize: function(smd, method, data, options){ - //not converted to json it self. This will be done, if appropriate, at the - //transport level - var d = dojox.rpc.toOrdered(method, data); - d = dojox.rpc.toJson({id: this._requestId++, method: method.name, params: d}); - - return { - data: d, - contentType: 'application/json', - transport:"POST" - } - }, - - deserialize: function(results){ - var obj = dojox.rpc.resolveJson(results); - if (obj.error) { - var e = new Error(obj.error); - e._rpcErrorObject = obj.error; - return e; - } - return obj.result || true; - } - } -); - -dojox.rpc.envelopeRegistry.register( - "JSON-RPC-1.2",function(str){return str == "JSON-RPC-1.2"},{ - serialize: function(smd, method, data, options){ - var trans = method.transport || smd.transport || "POST"; - var d = dojox.rpc.toNamed(method, data); - - d = dojox.rpc.toJson({id: this._requestId++, method: method.name, params: data}); - return { - data: d, - contentType: 'application/json', - transport:"POST" - } - }, - - deserialize: function(results){ - var obj = dojox.rpc.resolveJson(results); - if (obj.error) { - var e = new Error(obj.error.message); - e._rpcErrorObject = obj.error; - return e; - } - return obj.result || true; - } - } -); - -} diff --git a/includes/js/dojox/rpc/JsonReferencing.js b/includes/js/dojox/rpc/JsonReferencing.js deleted file mode 100644 index 618ea06..0000000 --- a/includes/js/dojox/rpc/JsonReferencing.js +++ /dev/null @@ -1,265 +0,0 @@ -if(!dojo._hasResource["dojox.rpc.JsonReferencing"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.rpc.JsonReferencing"] = true; -dojo.provide("dojox.rpc.JsonReferencing"); -dojo.require("dojo.date.stamp"); -dojo.require("dojo._base.Deferred"); - -// summary: -// Adds advanced JSON {de}serialization capabilities to the base json library. -// This enhances the capabilities of dojo.toJson and dojo.fromJson, -// adding referencing support, date handling, and other extra format handling. -// On parsing, references are resolved. When references are made to -// ids/objects that have been loaded yet, a Deferred object will be used as the -// value and as soon as a callback is added to the Deferred object, the target -// object will be loaded. - - - -dojox.rpc._index={}; // the global map of id->object -dojox.rpc.onUpdate = function(/*Object*/ object, /* attribute-name-string */ attribute, /* any */ oldValue, /* any */ newValue){ - // summary: - // This function is called when an existing object in the system is updated. Existing objects are found by id. -}; - -dojox.rpc.resolveJson = function(/*Object*/ root,/*Object?*/ schema){ - // summary: - // Indexes and resolves references in the JSON object. - // A JSON Schema object that can be used to advise the handling of the JSON (defining ids, date properties, urls, etc) - // - // root: - // The root object of the object graph to be processed - // - // schema: A JSON Schema object that can be used to advise the parsing of the JSON (defining ids, date properties, urls, etc) // - // Currently this provides a means for context based id handling - // - // return: - // An object, the result of the processing - var ref,reWalk=[]; - function makeIdInfo(schema){ // find out what attribute and what id prefix to use - if (schema){ - var attr; - if (!(attr = schema._idAttr)){ - for (var i in schema.properties){ - if (schema.properties[i].unique){ - schema._idAttr = attr = i; - } - } - } - if (attr || schema._idPrefix){ - return {attr:attr || 'id',prefix:schema._idPrefix}; - } - } - - return false; - } - function walk(it,stop,schema,idInfo,defaultId){ - // this walks the new graph, resolving references and making other changes - var val,i; - var id = it[idInfo.attr]; - id = (id && (idInfo.prefix + id)) || defaultId; // if there is an id, prefix it, otherwise inherit - var target = it; - - if (id){ // if there is an id available... - it._id = id; - if (dojox.rpc._index[id]){ // if the id already exists in the system, we should use the existing object, and just update it - target = dojox.rpc._index[id]; - delete target.$ref; // remove this artifact - } - dojox.rpc._index[id] = target; // add the prefix, set _id, and index it - if (schema && dojox.validate && dojox.validate.jsonSchema){ // if json schema is activated, we can load it in the registry of instance schemas map - dojox.validate.jsonSchema._schemas[id] = schema; - } - - } - for (i in it){ - if (it.hasOwnProperty(i) && (typeof (val=it[i]) =='object') && val){ - ref=val.$ref; - if (ref){ // a reference was found - var stripped = ref.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, '');// trim it - if(/[\w\[\]\.\$ \/\r\n\t]/.test(stripped) && !/=|((^|\W)new\W)/.test(stripped)){ // make sure it is a safe reference - var path = ref.match(/(^\.*[^\.\[]+)([\.\[].*)?/); // divide along the path - if ((ref=path[1]=='$' ? root:dojox.rpc._index[new dojo._Url(idInfo.prefix,path[1])]) && // a $ indicates to start with the root, otherwise start with an id - (ref = path[2] ? eval('ref' + path[2]) : ref)){// starting point was found, use eval to resolve remaining property references - // otherwise, no starting point was found (id not found), if stop is set, it does not exist, we have - // unloaded reference, if stop is not set, it may be in a part of the graph not walked yet, - // we will wait for the second loop - val = ref; - } - else{ - if (!stop){ - if (!rewalking) - reWalk.push(it); // we need to rewalk it to resolve references - var rewalking = true; // we only want to add it once - } - else { - ref = val.$ref; - val = new dojo.Deferred(); - val._id = idInfo.prefix + ref; - (function(val,ref){ - var connectId = dojo.connect(val,"addCallbacks",function(){ - dojo.disconnect(connectId); - dojox.rpc.services[idInfo.prefix.substring(0,idInfo.prefix.length-1)](ref) // otherwise call by looking up the service - .addCallback(dojo.hitch(val,val.callback)); - - }); - })(val,ref); - } - } - } - } - else { - if (!stop){ // if we are in stop, that means we are in the second loop, and we only need to check this current one, - // further walking may lead down circular loops - var valSchema = val.schema || // a schema can be self-defined by the object, - (schema && schema.properties && schema.properties[i]); // or it can from the schema sub-object definition - if (valSchema){ - idInfo = makeIdInfo(valSchema)||idInfo; - } - val = walk(val,reWalk==it,valSchema,idInfo,id && (id + ('[' + dojo._escapeString(i) + ']'))); - } - } - } - if (dojo.isString(val) && schema && schema.properties && schema.properties[i] && schema.properties[i].format=='date-time'){// parse the date string - val = dojo.date.stamp.fromISOString(val); // create a date object - } - it[i] = val; - var old = target[i]; - if (val !== old){ // only update if it changed - target[i] = val; // update the target - propertyChange(i,old,val); - } - } - function propertyChange(key,old,newValue){ - setTimeout(function(){ - dojox.rpc.onUpdate(target,i,old,newValue); // call the listener for each update - }); - } - if (target != it){ // this means we are updating, we need to remove deleted - for (i in target){ - if (!it.hasOwnProperty(i) && i != '_id' && !(target instanceof Array && isNaN(i))){ - propertyChange(i,target[i],undefined); - delete target[i]; - } - } - } - return target; - } - var idInfo = makeIdInfo(schema)||{attr:'id',prefix:''}; - if (!root){ return root; } - root = walk(root,false,schema,idInfo,dojox._newId && (new dojo._Url(idInfo.prefix,dojox._newId) +'')); // do the main walk through - walk(reWalk,false,schema,idInfo); // re walk any parts that were not able to resolve references on the first round - return root; -}; -dojox.rpc.fromJson = function(/*String*/ str,/*Object?*/ schema){ - // summary: - // evaluates the passed string-form of a JSON object. - // A JSON Schema object that can be used to advise the parsing of the JSON (defining ids, date properties, urls, etc) - // which may defined by setting dojox.currentSchema to the current schema you want to use for this evaluation - // - // json: - // a string literal of a JSON item, for instance: - // '{ "foo": [ "bar", 1, { "baz": "thud" } ] }' - // schema: A JSON Schema object that can be used to advise the parsing of the JSON (defining ids, date properties, urls, etc) // - // Currently this provides a means for context based id handling - // - // return: - // An object, the result of the evaluation - root = eval('(' + str + ')'); // do the eval - if (root){ - return this.resolveJson(root,schema); - } - return root; -} -dojox.rpc.toJson = function(/*Object*/ it, /*Boolean?*/ prettyPrint, /*Object?*/ schema){ - // summary: - // Create a JSON serialization of an object. - // This has support for referencing, including circular references, duplicate references, and out-of-message references - // id and path-based referencing is supported as well and is based on http://www.json.com/2007/10/19/json-referencing-proposal-and-library/. - // - // it: - // an object to be serialized. - // - // prettyPrint: - // if true, we indent objects and arrays to make the output prettier. - // The variable dojo.toJsonIndentStr is used as the indent string - // -- to use something other than the default (tab), - // change that variable before calling dojo.toJson(). - // - // schema: A JSON Schema object that can be used to advise the parsing of the JSON (defining ids, date properties, urls, etc) // - // Currently this provides a means for context based id handling - // - // return: - // a String representing the serialized version of the passed object. - - var idPrefix = (schema&& schema._idPrefix) || ''; // the id prefix for this context - var paths={}; - function serialize(it,path,_indentStr){ - if (it && dojo.isObject(it)){ - var value; - if (it instanceof Date){ // properly serialize dates - return '"' + dojo.date.stamp.toISOString(it,{zulu:true}) + '"'; - } - var id = it._id; - if (id){ // we found an identifiable object, we will just serialize a reference to it... unless it is the root - - if (path != '$'){ - return serialize({$ref:id.charAt(0)=='$' ? id : // a pure path based reference, leave it alone - id.substring(0,idPrefix.length)==idPrefix ? // see if the reference is in the current context - id.substring(idPrefix.length): // a reference with a prefix matching the current context, the prefix should be removed - '../' + id});// a reference to a different context, assume relative url based referencing - } - path = id; - } - else { - it._id = path; // we will create path ids for other objects in case they are circular - paths[path] = it;// save it here so they can be deleted at the end - } - _indentStr = _indentStr || ""; - var nextIndent = prettyPrint ? _indentStr + dojo.toJsonIndentStr : ""; - var newLine = prettyPrint ? "\n" : ""; - var sep = prettyPrint ? " " : ""; - - if (it instanceof Array){ - var res = dojo.map(it, function(obj,i){ - var val = serialize(obj, path + '[' + i + ']', nextIndent); - if(!dojo.isString(val)){ - val = "undefined"; - } - return newLine + nextIndent + val; - }); - return "[" + res.join("," + sep) + newLine + _indentStr + "]"; - } - - var output = []; - for(var i in it){ - var keyStr; - if(typeof i == "number"){ - keyStr = '"' + i + '"'; - }else if(dojo.isString(i) && i != '_id'){ - keyStr = dojo._escapeString(i); - }else{ - // skip non-string or number keys - continue; - } - var val = serialize(it[i],path+(i.match(/^[a-zA-Z]\w*$/) ? // can we use simple .property syntax? - ('.' + i) : // yes, otherwise we have to escape it - ('[' + dojo._escapeString(i) + ']')),nextIndent); - if(!dojo.isString(val)){ - // skip non-serializable values - continue; - } - output.push(newLine + nextIndent + keyStr + ":" + sep + val); - } - return "{" + output.join("," + sep) + newLine + _indentStr + "}"; - } - - return dojo.toJson(it); // use the default serializer for primitives - } - var json = serialize(it,'$',''); - for (i in paths){ // cleanup the temporary path-generated ids - delete paths[i]._id; - } - return json; -} - -} diff --git a/includes/js/dojox/rpc/JsonRestStore.js b/includes/js/dojox/rpc/JsonRestStore.js deleted file mode 100644 index dd14874..0000000 --- a/includes/js/dojox/rpc/JsonRestStore.js +++ /dev/null @@ -1,661 +0,0 @@ -if(!dojo._hasResource["dojox.data.JsonRestStore"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.data.JsonRestStore"] = true; -dojo.provide("dojox.data.JsonRestStore"); -dojo.require("dojox.rpc.Rest"); -dojo.require("dojox.rpc.JsonReferencing"); // TODO: Make it work without this dependency - -// A JsonRestStore takes a REST service and uses it the remote communication for a -// read/write dojo.data implementation. To use a JsonRestStore you should create a -// service with a REST transport. This can be configured with an SMD: -//{ -// services: { -// jsonRestStore: { -// transport: "REST", -// envelope: "URL", -// target: "store.php", -// contentType:"application/json", -// parameters: [ -// {name: "location", type: "string", optional: true} -// ] -// } -// } -//} -// The SMD can then be used to create service, and the service can be passed to a JsonRestStore. For example: -// var myServices = new dojox.rpc.Service(dojo.moduleUrl("dojox.rpc.tests.resources", "test.smd")); -// var jsonStore = new dojox.data.JsonRestStore({service:myServices.jsonRestStore}); -// -// The JsonRestStore will then cause all saved modifications to be server using Rest commands (PUT, POST, or DELETE). -// The JsonRestStore also supports lazy loading. References can be made to objects that have not been loaded. -// For example if a service returned: -// {"name":"Example","lazyLoadedObject":{"$ref":"obj2"}} -// -// And this object has accessed using the dojo.data API: -// var obj = jsonStore.getValue(myObject,"lazyLoadedObject"); -// The object would automatically be requested from the server (with an object id of "obj2"). -// -// When using a Rest store on a public network, it is important to implement proper security measures to -// control access to resources - -dojox.data.ASYNC_MODE = 0; -dojox.data.SYNC_MODE = 1; -dojo.declare("dojox.data.JsonRestStore", - null, - { - mode: dojox.data.ASYNC_MODE, - constructor: function(options){ - //summary: - // JsonRestStore constructor, instantiate a new JsonRestStore - // A JsonRestStore can be configured from a JSON Schema. Queries are just - // passed through as URLs for XHR requests, - // so there is nothing to configure, just plug n play. - // Of course there are some options to fiddle with if you want: - // - // jsonSchema: /* object */ - // - // service: /* function */ - // This is the service object that is used to retrieve lazy data and save results - // The function should be directly callable with a single parameter of an object id to be loaded - // The function should also have the following methods: - // put(id,value) - puts the value at the given id - // post(id,value) - posts (appends) the value at the given id - // delete(id) - deletes the value corresponding to the given id - // - // idAttribute: /* string */ - // Defaults to 'id'. The name of the attribute that holds an objects id. - // This can be a preexisting id provided by the server. - // If an ID isn't already provided when an object - // is fetched or added to the store, the autoIdentity system - // will generate an id for it and add it to the index. - - // mode: dojox.data.ASYNC_MODE || dojox.data.SYNC_MODE - // Defaults to ASYNC_MODE. This option sets the default mode for this store. - // Sync calls return their data immediately from the calling function - // instead of calling the callback functions. Functions such as - // fetchItemByIdentity() and fetch() both accept a string parameter in addtion - // to the normal keywordArgs parameter. When passed this option, SYNC_MODE will - // automatically be used even when the default mode of the system is ASYNC_MODE. - // A normal request to fetch or fetchItemByIdentity (with kwArgs object) can also - // include a mode property to override this setting for that one request. - - //setup a byId alias to the api call - this.byId=this.fetchItemByIdentity; - // if the advanced json parser is enabled, we can pass through object updates as onSet events - dojo.connect(dojox.rpc,"onUpdate",this,function(obj,attrName,oldValue,newValue){ - var prefix = this.service.serviceName + '/'; - if (!obj._id){ - console.log("no id on updated object ", obj); - } - else if (obj._id.substring(0,prefix.length) == prefix) - this.onSet(obj,attrName,oldValue,newValue); - }); - if (options){ - dojo.mixin(this,options); - } - if (!this.service) - throw Error("A service is required for JsonRestStore"); - if (!(this.service.contentType + '').match(/application\/json/)) - throw Error("A service must use a contentType of 'application/json' in order to be used in a JsonRestStore"); - this.idAttribute = (this.service._schema && this.service._schema._idAttr) || 'id'; - var arrayModifyingMethodNames = ["splice","push","pop","unshift","shift","reverse","sort"]; - this._arrayModifyingMethods = {}; - var array = []; - var _this = this; - // setup array augmentation, for catching mods and setting arrays as dirty - for (var i = 0; i < arrayModifyingMethodNames.length; i++){ - (function(key){ // closure for the method to be bound correctly - var method = array[key]; - _this._arrayModifyingMethods[key] = function(){ - _this._setDirty(this); // set the array as dirty before the native modifying operation - return method.apply(this,arguments); - } - _this._arrayModifyingMethods[key]._augmented = 1; - })(arrayModifyingMethodNames[i]); - } - this._deletedItems=[]; - this._dirtyItems=[]; - //given a url, load json data from as the store - }, - - _loadById: function(id,callback){ - var slashIndex = id.indexOf('/'); - var serviceName = id.substring(0,slashIndex); - var id = id.substring(slashIndex + 1); - (this.service.serviceName == serviceName ? - this.service : // use the current service if it is the right one - dojox.rpc.services[serviceName])(id) // otherwise call by looking up the service - .addCallback(callback); - }, - getValue: function(item, property,lazyCallback){ - // summary: - // Gets the value of an item's 'property' - // - // item: /* object */ - // property: /* string */ - // property to look up value for - // lazyCallback: /* function*/ - // not part of the API, but if you are using lazy loading properties, you may provide a callback to resume, in order to have asynchronous loading - var value = item[property]; - if (value && value.$ref){ - dojox.rpc._sync = !lazyCallback; // tell the service to operate synchronously (I have some concerns about the "thread" safety with FF3, as I think it does event stacking on sync calls) - this._loadById((value && value._id) || (item._id + '.' + property),lazyCallback); - delete dojox.rpc._sync; // revert to normal async behavior - } else if (lazyCallback){lazyCallback(value);} - return value; - }, - - getValues: function(item, property){ - // summary: - // Gets the value of an item's 'property' and returns - // it. If this value is an array it is just returned, - // if not, the value is added to an array and that is returned. - // - // item: /* object */ - // property: /* string */ - // property to look up value for - - var val = this.getValue(item,property); - return dojo.isArray(val) ? val : [val]; - }, - - getAttributes: function(item){ - // summary: - // Gets the available attributes of an item's 'property' and returns - // it as an array. - // - // item: /* object */ - - var res = []; - for (var i in item){ - res.push(i); - } - return res; - }, - - hasAttribute: function(item,attribute){ - // summary: - // Checks to see if item has attribute - // - // item: /* object */ - // attribute: /* string */ - return attribute in item; - }, - - containsValue: function(item, attribute, value){ - // summary: - // Checks to see if 'item' has 'value' at 'attribute' - // - // item: /* object */ - // attribute: /* string */ - // value: /* anything */ - return getValue(item,attribute)==value; - }, - - - isItem: function(item){ - // summary: - // Checks to see if a passed 'item' - // is really a JsonRestStore item. - // - // item: /* object */ - // attribute: /* string */ - - return !!(dojo.isObject(item) && item._id); - }, - - isItemLoaded: function(item){ - // summary: - // returns isItem() :) - // - // item: /* object */ - - return !item.$ref; - }, - - loadItem: function(item){ - // summary: - // Loads an item that has not been loaded yet. Lazy loading should happen through getValue, and if used properly, this should never need to be called - // returns true. Note this does not work with lazy loaded primitives! - if (item.$ref){ - dojox.rpc._sync = true; // tell the service to operate synchronously - this._loadById(item._id) - delete dojox.rpc._sync; // revert to normal async behavior - } - - return true; - }, - - _walk : function(value,forEach){ - // walk the graph, avoiding duplication - var walked=[]; - function walk(value){ - if (value && typeof value == 'object' && !value.__walked){ - value.__walked = true; - walked.push(value); - for (var i in value){ - if (walk(value[i])){ - forEach(value,i,value[i]); - } - } - return true; - } - } - walk(value); - forEach({},null,value); - for (var i = 0; i < walked.length;i++) - delete walked[i].__walked; - }, - fetch: function(args){ - //console.log("fetch() ", args); - // summary - // - // fetch takes either a string argument or a keywordArgs - // object containing the parameters for the search. - // If passed a string, fetch will interpret this string - // as the query to be performed and will do so in - // SYNC_MODE returning the results immediately. - // If an object is supplied as 'args', its options will be - // parsed and then contained query executed. - // - // query: /* string or object */ - // Defaults to "". This is basically passed to the XHR request as the URL to get the data - // - // start: /* int */ - // Starting item in result set - // - // count: /* int */ - // Maximum number of items to return - // - // cache: /* boolean */ - // - // sort: /* function */ - // Not Implemented yet - // - // The following only apply to ASYNC requests (the default) - // - // onBegin: /* function */ - // called before any results are returned. Parameters - // will be the count and the original fetch request - // - // onItem: /*function*/ - // called for each returned item. Parameters will be - // the item and the fetch request - // - // onComplete: /* function */ - // called on completion of the request. Parameters will - // be the complete result set and the request - // - // onError: /* function */ - // colled in the event of an error - - if(dojo.isString(args)){ - query = args; - args={query: query, mode: dojox.data.SYNC_MODE}; - - } - - var query; - if (!args || !args.query){ - if (!args){ - var args={}; - } - - if (!args.query){ - args.query=""; - query=args.query; - } - - } - - if (dojo.isObject(args.query)){ - if (args.query.query){ - query = args.query.query; - }else{ - query = args.query = ""; - } - if (args.query.queryOptions){ - args.queryOptions=args.query.queryOptions - } - }else{ - query=args.query; - } - if (args.start || args.count){ - query += '[' + (args.start ? args.start : '') + ':' + (args.count ? ((args.start || 0) + args.count) : '') + ']'; - } - var results = dojox.rpc._index[this.service.serviceName + '/' + query]; - if (!args.mode){args.mode = this.mode;} - var _this = this; - var defResult; - dojox.rpc._sync = this.mode; - dojox._newId = query; - if (results && !("cache" in args && !args.cache)){ // TODO: Add TTL maybe? - defResult = new dojo.Deferred; - defResult.callback(results); - } - else { - defResult = this.service(query); - } - defResult.addCallback(function(results){ - delete dojox._newId; // cleanup - if (args.onBegin){ - args["onBegin"].call(_this, results.length, args); - } - _this._walk(results,function(obj,i,value){ - if (value instanceof Array){ - for (var i in _this._arrayModifyingMethods){ - if (!value[i]._augmented){ - value[i] = _this._arrayModifyingMethods[i]; - } - } - - } - }); - if (args.onItem){ - for (var i=0; i 0){ - var dirty = this._dirtyItems.pop(); - var item = dirty.item; - var append = false; - left++; - var deferred; - if (item instanceof Array && dirty.old instanceof Array){ - // see if we can just append the item with a post - append = true; - for (var i = 0, l = dirty.old.length; i < l; i++){ - if (item[i] != dirty.old[i]){ - append = false; - } - } - if (append){ // if we can, we will do posts to add from here - for (;i 0){ - left++; - this.service['delete'](this.getIdentity(this._deletedItems.pop())).addCallback(finishOne); - } - }, - - - revert: function(){ - // summary - // returns any modified data to its original state prior to a save(); - - while (this._dirtyItems.length>0){ - var i; - var d = this._dirtyItems.pop(); - for (i in d.old){ - d.item[i] = d.old[i]; - } - for (i in d.item){ - if (!d.old.hasOwnProperty(i)) - delete d.item[i] - } - } - this.onRevert(); - }, - - - isDirty: function(item){ - // summary - // returns true if the item is marked as dirty. - for (var i=0, l=this._dirtyItems.length; i 0; j--) - arguments[j] = arguments[j-1]; // shift them over - arguments[0] = dojo.mixin({restMethod: restMethod},method); - return svc._executeMethod.apply(svc,arguments); - } - })(); - - } - executor.contentType = method.contentType || svc._smd.contentType; // this is so a Rest service can be examined to know what type of content type to expect - return executor; - }, - restMethods:dojox.rpc._restMethods - } -); - -} diff --git a/includes/js/dojox/rpc/SMDLibrary/yahoo.smd b/includes/js/dojox/rpc/SMDLibrary/yahoo.smd deleted file mode 100644 index cf08ee7..0000000 --- a/includes/js/dojox/rpc/SMDLibrary/yahoo.smd +++ /dev/null @@ -1,493 +0,0 @@ -{ - "SMDVersion": "2.0", - // FIXME: is this the kind of value we're supposed to use here? - "id": "http://developer.yahoo.com/search/", - "description": "Yahoo's search API", - - transport: "JSONP", - envelope: "URL", - additionalParameters: true, - parameters: [ - { name: "appid", optional: false, "default": "dojotoolkit" }, - { name: "output", optional: false, "default": "json" } - ], - - // FIXME: Quite a few of these APIs can take multiple entries for the same parameter, to behave - // as multi-select options. How should we handle these? - - services: { - // - // ANSWERS - // - // FIXME: Some of these API endpoints' names only make sense when you know they're in the - // Yahoo Answers part of the API; just reading a flat listing of methods in this SMD - // likely won't have enough information about what they do. Should we split this up? - - // http://developer.yahoo.com/answers/V1/questionSearch.html - questionSearch: { - target: "http://answers.yahooapis.com/AnswersService/V1/questionSearch", - parameters: [ - { name: "query", type: "string", optional: false, "default": "" }, - { name: "search_in", type: "string", optional: true, "default": "all" }, // can be "all", "question", "best_answer" - { name: "category_id", type: "integer", optional: true, "default": null }, // one of (category_id, category_name) is required - { name: "category_name", type: "string", optional: true, "default": null }, - { name: "region", type: "string", optional: true, "default": "us" }, // can be "us", "uk", "ca", "au", "in", "es", "br", "ar", "mx", "e1", "it", "de", "fr", "sg" - { name: "date_range", type: "string", optional: true, "default": "all" }, // can be "all", "7", "7-30", "30-60", "60-90", "more90" - { name: "sort", type: "string", optional: true, "default": "relevance" }, // can be "relevance", "date_desc", "date_asc" - { name: "type", type: "string", optional: true, "default": "all" }, // can be "all", "resolved", "open", "undecided" - { name: "start", type: "integer", optional: true, "default": 0 }, - { name: "results", type: "integer", optional: true, "default": 10 } // max 50 - ] - }, - - // http://developer.yahoo.com/answers/V1/getByCategory.html - getByCategory: { - target: "http://answers.yahooapis.com/AnswersService/V1/getByCategory", - parameters: [ - { name: "category_id", type: "integer", optional: true, "default": null }, // one of (category_id, category_name) is required - { name: "category_name", type: "string", optional: true, "default": null }, - { name: "type", type: "string", optional: true, "default": "all" }, // can be "all", "resolved", "open", "undecided" - { name: "region", type: "string", optional: true, "default": "us" }, // can be "us", "uk", "ca", "au", "in", "es", "br", "ar", "mx", "e1", "it", "de", "fr", "sg" - { name: "sort", type: "string", optional: true, "default": "date_desc" }, // can be "date_desc", "date_asc", "ans_count_desc", "ans_count_asc" - { name: "start", type: "integer", optional: true, "default": 0 }, - { name: "results", type: "integer", optional: true, "default": 10 } // max 50 - ] - }, - - // http://developer.yahoo.com/answers/V1/getQuestion.html - getQuestion: { - target: "http://answers.yahooapis.com/AnswersService/V1/getQuestion", - parameters: [ - { name: "question_id", type: "string", optional: true, "default": null } - ] - }, - - // http://developer.yahoo.com/answers/V1/getByUser.html - getByUser: { - target: "http://answers.yahooapis.com/AnswersService/V1/getByUser", - parameters: [ - { name: "user_id", type: "string", optional: false, "default": "" }, - { name: "type", type: "string", optional: true, "default": "all" }, // can be "all", "resolved", "open", "undecided" - { name: "filter", type: "string", optional: true, "default": "question" }, // can be "question", "answer", "best_answer" - { name: "sort", type: "string", optional: true, "default": "date_desc" }, // can be "date_desc", "date_asc", "ans_count_desc", "ans_count_asc" - { name: "start", type: "integer", optional: true, "default": 0 }, - { name: "results", type: "integer", optional: true, "default": 10 } // max 50 - ] - }, - - // - // AUDIO SEARCH - // - - // http://developer.yahoo.com/search/audio/V1/artistSearch.html - artistSearch: { - target: "http://search.yahooapis.com/AudioSearchService/V1/artistSearch", - parameters: [ - { name: "artist", type: "string", optional: true, "default": "" }, // one of (artist, artistid) is required - { name: "artistid", type: "string", optional: true, "default": "" }, - { name: "type", type: "string", optional: true, "default": "all" }, // can be "all", "any", "phrase" - { name: "results", type: "integer", optional: true, "default": 10 }, // max 50 - { name: "start", type: "integer", optional: true, "default": 1 } - ] - }, - - // http://developer.yahoo.com/search/audio/V1/albumSearch.html - albumSearch: { - target: "http://search.yahooapis.com/AudioSearchService/V1/albumSearch", - parameters: [ - { name: "artist", type: "string", optional: true, "default": "" }, - { name: "artistid", type: "string", optional: true, "default": "" }, - { name: "album", type: "string", optional: true, "default": "" }, - { name: "albumid", type: "string", optional: true, "default": "" }, - { name: "type", type: "string", optional: true, "default": "all" }, // can be "all", "any", "phrase" - { name: "results", type: "integer", optional: true, "default": 10 }, // max 50 - { name: "start", type: "integer", optional: true, "default": 1 } - ] - }, - - // http://developer.yahoo.com/search/audio/V1/songSearch.html - songSearch: { - // beware, this method has returned many a JSON string containing syntax error(s) - target: "http://search.yahooapis.com/AudioSearchService/V1/songSearch", - parameters: [ - { name: "artist", type: "string", optional: true, "default": "" }, - { name: "artistid", type: "string", optional: true, "default": "" }, - { name: "album", type: "string", optional: true, "default": "" }, - { name: "albumid", type: "string", optional: true, "default": "" }, - { name: "song", type: "string", optional: true, "default": "" }, - { name: "songid", type: "string", optional: true, "default": "" }, - { name: "type", type: "string", optional: true, "default": "all" }, // can be "all", "any", "phrase" - { name: "results", type: "integer", optional: true, "default": 10 }, // max 50 - { name: "start", type: "integer", optional: true, "default": 1 } - ] - }, - - // http://developer.yahoo.com/search/audio/V1/songDownloadLocation.html - songDownloadLocation: { - target: "http://search.yahooapis.com/AudioSearchService/V1/songDownloadLocation", - parameters: [ - { name: "songid", type: "string", optional: false, "default": "" }, - { name: "results", type: "integer", optional: true, "default": 10 }, // max 50 - { name: "start", type: "integer", optional: true, "default": 1 }, - { name: "source", type: "string", optional: true, "default": "" } // can be "audiolunchbox", "artistdirect", "buymusic", "dmusic", "emusic", "epitonic", "garageband", "itunes", "yahoo", "livedownloads", "mp34u", "msn", "musicmatch", "mapster", "passalong", "rhapsody", "soundclick", "theweb" - ] - }, - - // - // CONTENT ANALYSIS - // - - // http://developer.yahoo.com/search/content/V1/termExtraction.html - contextSearch: { - // FIXME: the API docs say to submit this as a POST, but we need JSONP for cross-domain, right? - // transport: "POST", - target: "http://search.yahooapis.com/ContentAnalysisService/V1/termExtraction", - parameters: [ - { name: "context", type: "string", optional: false, "default": "" }, - { name: "query", type: "string", optional: true, "default": "" } - ] - }, - - // - // IMAGE SEARCH - // - - // http://developer.yahoo.com/search/image/V1/imageSearch.html - imageSearch: { - target: "http://search.yahooapis.com/ImageSearchService/V1/imageSearch", - parameters: [ - { name: "query", type: "string", optional: false, "default": "" }, - { name: "type", type: "string", optional: true, "default": "any" }, // can be "all", "any", "phrase" - { name: "results", type: "integer", optional: true, "default": 10 }, // max 50 - { name: "start", type: "integer", optional: true, "default": 1 }, - { name: "format", type: "string", optional: true, "default": "any" }, // can be "any", "bmp", "gif", "jpeg", "png" - { name: "adult_ok", type: "boolean", optional: true, "default": null }, - { name: "coloration", type: "string", optional: true, "default": "any" }, // can be "any", "color", "bw" - { name: "site", type: "string", optional: true, "default": null } - ] - }, - - // - // LOCAL SEARCH - // - - // http://developer.yahoo.com/search/local/V3/localSearch.html - localSearch: { - target: "http://local.yahooapis.com/LocalSearchService/V3/localSearch", - parameters: [ - { name: "query", type: "string", optional: true, "default": "" }, // optional, but one of (query, listing_id) is required - { name: "listing_id", type: "string", optional: true, "default": "" }, - { name: "results", type: "integer", optional: true, "default": 10 }, // max 20 - { name: "start", type: "integer", optional: true, "default": 1 }, - { name: "sort", type: "string", optional: true, "default": "relevance" }, // can be "relevance", "title", "distance", "rating" - { name: "radius", type: "float", optional: true }, // the default varies according to location - { name: "street", type: "string", optional: true, "default": null }, - { name: "city", type: "string", optional: true, "default": null }, - { name: "state", type: "string", optional: true, "default": null }, // full name or two-letter abbreviation - { name: "zip", type: "any", optional: true, "default": null }, // ddddd or ddddd-dddd format - { name: "location", type: "string", optional: true, "default": null }, // free text, supersedes the street, city, state, zip fields - { name: "latitude", type: "float", optional: true }, // -90 to 90 - { name: "longitude", type: "float", optional: true }, // -180 to 180 - { name: "category", type: "integer", optional: true }, - { name: "omit_category", type: "integer", optional: true }, - { name: "minimum_rating", type: "integer", optional: true } - ] - }, - - // http://developer.yahoo.com/local/V1/collectionSearch.html - collectionSearch: { - target: "http://collections.local.yahooapis.com/LocalSearchService/V1/collectionSearch", - parameters: [ - { name: "query", type: "string", optional: true, "default": "" }, // optional, but at least one of (query, username) is required - { name: "username", type: "string", optional: true, "default": "" }, - { name: "city", type: "string", optional: true, "default": null }, - { name: "results", type: "integer", optional: true, "default": 10 }, // max 50 - { name: "start", type: "integer", optional: true, "default": 1 } - ] - }, - - // http://developer.yahoo.com/local/V1/getCollection.html - getCollection: { - target: "http://collections.local.yahooapis.com/LocalSearchService/V1/getCollection", - parameters: [ - { name: "collection_id", type: "integer", optional: false, "default": "" } - ] - }, - - // - // MY WEB 2.0 - // - - // http://developer.yahoo.com/search/myweb/V1/urlSearch.html - urlSearch: { - target: "http://search.yahooapis.com/MyWebService/V1/urlSearch", - parameters: [ - { name: "tag", type: "string", optional: true, "default": "" }, - { name: "yahooid", type: "string", optional: true, "default": "" }, - { name: "sort", type: "string", optional: true, "default": "date" }, // can be "date", "title", "url" - { name: "reverse_sort", type: "boolean", optional: true, "default": 0 }, - { name: "results", type: "integer", optional: true, "default": 10 }, // max 50 - { name: "start", type: "integer", optional: true, "default": 1 } - ] - }, - - // http://developer.yahoo.com/search/myweb/V1/tagSearch.html - tagSearch: { - target: "http://search.yahooapis.com/MyWebService/V1/tagSearch", - parameters: [ - { name: "url", type: "string", optional: true, "default": "" }, - { name: "yahooid", type: "string", optional: true, "default": "" }, - { name: "sort", type: "string", optional: true, "default": "popularity" }, // can be "popularity", "tag", "date" - { name: "reverse_sort", type: "boolean", optional: true, "default": 0 }, - { name: "results", type: "integer", optional: true, "default": 10 }, // max 50 - { name: "start", type: "integer", optional: true, "default": 1 } - ] - }, - - // http://developer.yahoo.com/search/myweb/V1/relatedTags.html - relatedTags: { - target: "http://search.yahooapis.com/MyWebService/V1/relatedTags", - parameters: [ - { name: "tag", type: "string", optional: false, "default": "" }, - { name: "yahooid", type: "string", optional: true, "default": "" }, - { name: "sort", type: "string", optional: true, "default": "popularity" }, // can be "popularity", "tag", "date" - { name: "reverse_sort", type: "boolean", optional: true, "default": 0 }, - { name: "results", type: "integer", optional: true, "default": 10 }, // max 50 - { name: "start", type: "integer", optional: true, "default": 1 } - ] - }, - - // - // NEWS SEARCH - // - - // http://developer.yahoo.com/search/news/V1/newsSearch.html - newsSearch: { - target: "http://search.yahooapis.com/NewsSearchService/V1/newsSearch", - parameters: [ - { name: "query", type: "string", optional: false, "default": "" }, - { name: "type", type: "string", optional: true, "default": "any" }, // can be "all", "any", "phrase" - { name: "results", type: "integer", optional: true, "default": 10 }, // max 50 - { name: "start", type: "integer", optional: true, "default": 1 }, - { name: "sort", type: "string", optional: true, "default": "rank" }, // can be "rank", "date" - { name: "language", type: "string", optional: true, "default": null }, - { name: "site", type: "string", optional: true, "default": null } - ] - }, - - // - // SHOPPING - // - - // http://developer.yahoo.com/shopping/V2/catalogListing.html - catalogListing: { - target: "http://shopping.yahooapis.com/ShoppingService/V2/catalogListing", - parameters: [ - { name: "catalogid", type: "integer", optional: true, "default": null }, // required if idtype,idvalue are not specified - { name: "getlisting", type: "boolean", optional: true, "default": 1 }, - { name: "getreview", type: "boolean", optional: true, "default": 0 }, - { name: "getspec", type: "boolean", optional: true, "default": 0 }, - { name: "idtype", type: "string", optional: true, "default": null }, // can be "upc", "brand,model", "brand,partnum"; required if catalogid is not specified - { name: "idvalue", type: "string", optional: true, "default": null }, // required if catalogid is not specified - { name: "onlynew", type: "boolean", optional: true, "default": 1 }, - { name: "reviewstart", type: "integer", optional: true, "default": 1 }, - { name: "reviewsort", type: "string", optional: true, "default": "mostRecommended_descending" }, // can be "mostRecommended_descending", "mostRecommended_ascending", "latest_descending", "latest_ascending", "highestRated_descending", "highestRated_ascending" - { name: "zip", type: "string", optional: true, "default": null } - ] - }, - - - // http://developer.yahoo.com/shopping/V1/merchantSearch.html - merchantSearch: { - target: "http://api.shopping.yahoo.com/ShoppingService/V1/merchantSearch", - parameters: [ - { name: "merchantid", type: "integer", optional: false, "default": null } - ] - }, - - - // http://developer.yahoo.com/shopping/V3/productSearch.html - productSearch: { - target: "http://shopping.yahooapis.com/ShoppingService/V3/productSearch", - parameters: [ - { name: "query", type: "string", optional: true, "default": "" }, // required if category is not specified - { name: "category", type: "any", optional: true, "default": "" }, // required if query is not specified - { name: "class", type: "string", optional: true, "default": null }, // can be "catalogs", "freeoffers", "paidoffers"; defaults to all three of these - { name: "department", type: "integer", optional: true, "default": null }, - { name: "highestprice", type: "float", optional: true, "default": null }, - { name: "lowestprice", type: "float", optional: true, "default": null }, - { name: "merchantId", type: "integer", optional: true, "default": null }, - { name: "refinement", type: "string", optional: true, "default": null }, // used only if category is specified - { name: "results", type: "integer", optional: true, "default": 10 }, // 1-50 - { name: "show_numratings", type: "boolean", optional: true, "default": 0 }, - { name: "show_narrowing", type: "boolean", optional: true, "default": 1 }, - { name: "sort", type: "string", optional: true }, // can be "price_ascending", "price_descending", "userrating_ascending", "userrating_descending"; omitted, the default is to sort by relevance - { name: "start", type: "integer", optional: true, "default": 1 } // 1-300 - ] - }, - - // - // SITE EXPLORER - // - - // http://developer.yahoo.com/search/siteexplorer/V1/inlinkData.html - inlinkData: { - target: "http://search.yahooapis.com/SiteExplorerService/V1/inlinkData", - parameters: [ - { name: "query", type: "string", optional: false, "default": "" }, - { name: "results", type: "integer", optional: true, "default": 50 }, // max 100 - { name: "start", type: "integer", optional: true, "default": 1 }, - { name: "entire_site", type: "boolean", optional: true, "default": null }, - { name: "omit_inlinks", type: "string", optional: true, "default": "none" } // can be "none", "domain", "subdomain" - ] - }, - - // http://developer.yahoo.com/search/siteexplorer/V1/pageData.html - pageData: { - target: "http://search.yahooapis.com/SiteExplorerService/V1/pageData", - parameters: [ - { name: "query", type: "string", optional: false, "default": "" }, - { name: "results", type: "integer", optional: true, "default": 50 }, // max 100 - { name: "start", type: "integer", optional: true, "default": 1 }, - { name: "domain_only", type: "boolean", optional: true, "default": null } - ] - }, - - // http://developer.yahoo.com/search/siteexplorer/V1/ping.html - ping: { - target: "http://search.yahooapis.com/SiteExplorerService/V1/ping", - parameters: [ - { name: "sitemap", type: "string", optional: false, "default": "" } - ] - }, - - // http://developer.yahoo.com/search/siteexplorer/V1/updateNotification.html - updateNotification: { - target: "http://search.yahooapis.com/SiteExplorerService/V1/updateNotification", - parameters: [ - { name: "url", type: "string", optional: false, "default": "" } - ] - }, - - // - // TRAFFIC - // - - // http://developer.yahoo.com/traffic/rest/V1/index.html - trafficData: { - target: "http://local.yahooapis.com/MapsService/V1/trafficData", - parameters: [ - { name: "street", type: "string", optional: true, "default": "" }, - { name: "city", type: "string", optional: true, "default": "" }, - { name: "state", type: "string", optional: true, "default": null }, // full name or two-letter abbreviation - { name: "zip", type: "any", optional: true, "default": null }, // ddddd or ddddd-dddd format - { name: "location", type: "string", optional: true, "default": null }, // free text, supersedes the street, city, state, zip fields - { name: "latitude", type: "float", optional: true }, // -90 to 90 - { name: "longitude", type: "float", optional: true }, // -180 to 180 - { name: "severity", type: "integer", optional: true, "default": 1 }, // can be 1-5 - { name: "zoom", type: "integer", optional: true, "default": 6 }, // can be 1-12 - { name: "radius", type: "float", optional: true }, // in miles, default varies with location; ignored if zoom is specified - { name: "include_map", type: "boolean", optional: true, "default": 0 }, - { name: "image_type", type: "string", optional: true, "default": "png" }, // can be "png" or "gif" - { name: "image_height", type: "integer", optional: true, "default": 500 }, // in pixels, can be 10-2000 - { name: "image_width", type: "integer", optional: true, "default": 620 } // in pixels, can be 10-2000 - ] - }, - - // - // TRAVEL - // - - // http://developer.yahoo.com/travel/tripservice/V1.1/tripSearch.html - tripSearch: { - target: "http://travel.yahooapis.com/TripService/V1.1/tripSearch", - parameters: [ - { name: "query", type: "string", optional: true, "default": "" }, - { name: "results", type: "integer", optional: true, "default": 10 }, // max 50 - { name: "start", type: "integer", optional: true, "default": 1 } - ] - }, - - // http://developer.yahoo.com/travel/tripservice/V1.1/getTrip.html - getTrip: { - target: "http://travel.yahooapis.com/TripService/V1.1/getTrip", - parameters: [ - { name: "id", type: "integer", optional: false, "default": null } - ] - }, - - // - // UTILITY SERVICES - // - - // http://developer.yahoo.com/util/timeservice/V1/getTime.html - /* RGG: commented out because it refuses to return JSON format even when you tell it - to do so (it returns a - - - - - - - - - -

                        - - DEMO: JsonRestStore Search - -

                        - -
                        - -

                        - - Description: - -

                        - -

                        - - This simple demo shows how JsonRestStore can be used with Persevere. - -

                        - -

                        - -

                        - - - -
                        - - - - - - - - - - - - - - - - - -
                        - - - -
                        - -
                        - - - - - diff --git a/includes/js/dojox/rpc/demos/demo_JsonRestStore_Persevere.html b/includes/js/dojox/rpc/demos/demo_JsonRestStore_Persevere.html deleted file mode 100644 index 40c6bac..0000000 --- a/includes/js/dojox/rpc/demos/demo_JsonRestStore_Persevere.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - Demo of JsonRestStore - - - - - - - -

                        - DEMO: JsonRestStore Search -

                        -
                        -

                        - Description: -

                        -

                        - This simple demo shows how JsonRestStore can be used with Persevere. -

                        -

                        -

                        - -
                        - - - - - - - - -
                        - -
                        -
                        - - diff --git a/includes/js/dojox/rpc/demos/documentation.html b/includes/js/dojox/rpc/demos/documentation.html deleted file mode 100644 index 4c28103..0000000 --- a/includes/js/dojox/rpc/demos/documentation.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - -
                        - - \ No newline at end of file diff --git a/includes/js/dojox/rpc/demos/templates/documentation.html b/includes/js/dojox/rpc/demos/templates/documentation.html deleted file mode 100644 index d14cf16..0000000 --- a/includes/js/dojox/rpc/demos/templates/documentation.html +++ /dev/null @@ -1,8 +0,0 @@ -
                        - -
                          - {% for result in results %} -
                        • {% if result.type %}{{ result.type }} {% endif %}{% ifequal result.type "Function" %}{% if not result.resources %}function {% endif %}{% endifequal %}{{ result.name }}{% ifequal result.type "Function" %}{% if not result.resources %}({% for parameter in result.parameters %}{% if not forloop.first %}, {% endif %}{% if parameter.types %}{% for type in parameter.types %}{% if not forloop.first %}|{% endif %}{{ type.title }}{% endfor %}{% if parameter.optional %}?{% endif %}{% if parameter.repeating %}...{% endif %} {% endif %}{{ parameter.name }}{% endfor %}{% endif %}{% endifequal %}{% ifequal result.type "Function" %}{% if not result.resources %}){% endif %}{% endifequal %}
                        • - {% endfor %} -
                        -
                        \ No newline at end of file diff --git a/includes/js/dojox/rpc/demos/templates/yahoo.html b/includes/js/dojox/rpc/demos/templates/yahoo.html deleted file mode 100644 index 04339d2..0000000 --- a/includes/js/dojox/rpc/demos/templates/yahoo.html +++ /dev/null @@ -1,31 +0,0 @@ -
                        - -
                          - {% for result in results.Result %} -
                        • {{ result.Title }}
                          {{ result.Summary }}
                        • - {% endfor %} -
                        - - {% if results.firstResultPosition %} - - - - - {% endif %}{% if results.totalResultsAvailable %} - - - - - {% endif %}{% if results.totalResultsReturned %} - - - - - {% endif %}{% if results.type %} - - - - - {% endif %} -
                        First Result{{ results.firstResultPosition }}
                        Total Results Available{{ results.totalResultsAvailable }}
                        Results Returned{{ results.totalResultsReturned }}
                        Type{{ results.type }}
                        -
                        diff --git a/includes/js/dojox/rpc/demos/yahoo.html b/includes/js/dojox/rpc/demos/yahoo.html deleted file mode 100644 index 39cee00..0000000 --- a/includes/js/dojox/rpc/demos/yahoo.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - Yahoo Search Demo - - - - - -

                        Yahoo Web Search

                        -
                        - - diff --git a/includes/js/dojox/rpc/documentation.smd b/includes/js/dojox/rpc/documentation.smd deleted file mode 100644 index 3ff1623..0000000 --- a/includes/js/dojox/rpc/documentation.smd +++ /dev/null @@ -1,30 +0,0 @@ -{ - envelope: "URL", - transport: "JSONP", - callbackParamName: "callback", - services: { - get: { - target: "http://redesign.dojotoolkit.org/jsdoc/jsonp", - parameters: [ - { name: "name", type: "string", optional: false }, - { name: "exact", type: "boolean", optional: true }, - { name: "recursion", type: "boolean", optional: true }, - { name: "resource", type: "string", optional: true }, - { name: "project", type: "string", optional: true }, - { name: "version", type: "string", optional: true }, - { name: "attributes", type: "array", optional: true } - ] - }, - batch: { - target: "http://redesign.dojotoolkit.org/jsdoc/jsonp/batch", - parameters: [ - { name: "names", type: "array", optional: false }, - { name: "exact", type: "boolean", optional: true }, - { name: "recursion", type: "boolean", optional: true }, - { name: "project", type: "string", optional: true }, - { name: "version", type: "string", optional: true }, - { name: "attributes", type: "array", optional: false } - ] - } - } -} \ No newline at end of file diff --git a/includes/js/dojox/rpc/test.txt b/includes/js/dojox/rpc/test.txt deleted file mode 100644 index e69de29..0000000 diff --git a/includes/js/dojox/rpc/tests/JsonReferencing.js b/includes/js/dojox/rpc/tests/JsonReferencing.js deleted file mode 100644 index 69a6782..0000000 --- a/includes/js/dojox/rpc/tests/JsonReferencing.js +++ /dev/null @@ -1,30 +0,0 @@ -if(!dojo._hasResource["dojox.rpc.tests.JsonReferencing"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.rpc.tests.JsonReferencing"] = true; -dojo.provide("dojox.rpc.tests.JsonReferencing"); -dojo.require("dojox.rpc.JsonReferencing"); - - -doh.register("dojox.rpc.tests.JsonReferencing", [ - function fromRefJson(t) { - var testStr = '{a:{$ref:"$"},id:"root",c:{d:"e",f:{$ref:"root.c"}},b:{$ref:"$.c"}}'; - - var mirrorObj = dojox.rpc.fromJson(testStr); - t.assertEqual(mirrorObj, mirrorObj.a); - t.assertEqual(mirrorObj.c, mirrorObj.c.f); - t.assertEqual(mirrorObj.c, mirrorObj.b); - }, - function toAndFromRefJson(t) { - var testObj = {a:{},b:{c:{}}}; - testObj.a.d= testObj; - testObj.b.g=testObj.a; - testObj.b.c.f = testObj.b; - testObj.b.h=testObj.a; - var mirrorObj = dojox.rpc.fromJson(dojox.rpc.toJson(testObj)); - t.assertEqual(mirrorObj.a.d, mirrorObj); - t.assertEqual(mirrorObj.b.g, mirrorObj.a); - t.assertEqual(mirrorObj.b.c.f, mirrorObj.b); - t.assertEqual(mirrorObj.b.h, mirrorObj.a); - } -]); - -} diff --git a/includes/js/dojox/rpc/tests/Service.js b/includes/js/dojox/rpc/tests/Service.js deleted file mode 100644 index 353519e..0000000 --- a/includes/js/dojox/rpc/tests/Service.js +++ /dev/null @@ -1,702 +0,0 @@ -if(!dojo._hasResource["dojox.rpc.tests.Service"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.rpc.tests.Service"] = true; -dojo.provide("dojox.rpc.tests.Service"); -dojo.require("dojo.io.script"); -dojo.require("dojox.rpc.Service"); -dojo.require("dojox.rpc.JsonRPC"); -dojo.require("dojox.rpc.Rest"); -//this is a copy of our smd in js form, so we can just share it easily -//dojo.require("dojox.rpc.tests.resources.testSmd"); - - -dojox.rpc.tests.service = new dojox.rpc.Service(dojo.moduleUrl("dojox.rpc.tests.resources", "test.smd")); - -doh.register("dojox.rpc.tests.echo", - [ - { - name: "#1 POST,URL,Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - //test when given named params - var td = this.svc.postEcho({message: this.name,foo:2}); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - { - name: "#2 POST,URL,Ordered Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.postEcho(this.name,2); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - { - name: "#3 GET,URL,Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.getEcho({message: this.name}); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - - { - name: "#3.1 REST PUT,Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - res = this.name + Math.random(); - //test when given named params - var td = this.svc.restStore.put({location: "res"},res); - td.addCallback(this, function(result){ - var td = this.svc.restStore({location: "res"}); - td.addCallback(this, function(result){ - if (result==res){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - }); - - return d; - } - }, - { - name: "#3.2 REST POST,Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - var newRes = this.name + Math.random(); - res += newRes; - //test when given named params - var td = this.svc.restStore.post({location: "res"},newRes); - td.addCallback(this, function(result){ - var td = this.svc.restStore({location: "res"}); - td.addCallback(this, function(result){ - if (result==res){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - }); - - return d; - } - }, - { - name: "#3.3 REST DELETE,Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.restStore['delete']({location: "res"}); - td.addCallback(this, function(result){ - var td = this.svc.restStore({location: "res"}); - td.addCallback(this, function(result){ - if (result=="deleted"){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - }); - - return d; - } - }, - { - name: "#3.4 GET,URL,Named Parameters, Returning Json", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.getEchoJson({message:'{"foo":"bar"}'}); - td.addCallback(this, function(result){ - if (result.foo=='bar'){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - { - name: "#3.5 GET,PATH,Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.getPathEcho({path: "pathname"}); - td.addCallback(this, function(result){ - if (result=="/path/pathname"){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - - { - name: "#4 GET,URL,Ordered Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.getEcho(this.name); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - - { - name: "#5 POST,URL,Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.postJsonEcho({message: this.name}); - td.addCallback(this, function(res){ - var result = dojo.fromJson(res); - if (result && result.message && result.message==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - - { - name: "#6 POST,JSON,Ordered Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.postJsonEcho(this.name); - td.addCallback(this, function(res){ - var result = dojo.fromJson(res); - if (result && result.message && result.message==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - { - name: "#7 JSONP,URL,Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.jsonpEcho({message: this.name}); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - { - name: "#8 JSONP,URL, Ordered Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.jsonpEcho(this.name); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - { - name: "#9 POST,JSON-RPC-1.0,Ordered Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.postJsonRpc10Echo(this.name); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - { - name: "#10 POST,JSON-RPC-1.0,Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.postJsonRpc10EchoNamed(this.name); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - { - name: "#11 POST,JSON-RPC 1.2, Ordered Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.postJsonRpc12Echo(this.name); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - { - name: "#12 POST,JSON-RPC 1.2, Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.postJsonRpc12Echo({message: this.name}); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - } - /* - ,{ - name: "#13 GET,JSON-RPC 1.2, Ordered Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.getJsonRpc12Echo(this.name); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - { - name: "#14 GET,JSON-RPC 1.2, Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.getJsonRpc12EchoNamed({message: this.name}); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - }, - ,{ - name: "#15 JSONP,JSON-RPC 1.2, Ordered Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.jsonpJsonRpc12Echo(this.name); - td.addCallback(this, function(result){ - if (result==this.name){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - - return d; - } - } - */ - ] -); - -doh.register("dojox.rpc.tests.jsonRpcForcedError", [ - { - name: "POST,JSON-RPC 1.0, Ordered Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.postJsonRpc10ForcedError(this.name); - - td.addErrback(this, function(error){ - d.callback(true); - }); - - return d; - } - }, - { - name: "POST,JSON-RPC 1.2, Ordered Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.postJsonRpc12ForcedError(this.name); - - td.addErrback(this, function(error){ - d.callback(true); - }); - - return d; - } - }, - { - name: "POST,JSON-RPC 1.2, Named Parameters", - timeout: 4000, - setUp: function(){ - //this.svc = new dojox.rpc.Service(dojox.rpc.tests.resources.testSmd); - this.svc = dojox.rpc.tests.service; - }, - runTest: function(){ - var d = new doh.Deferred(); - - if (window.location.protocol=="file:") { - var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://"); - d.errback(err); - return d; - } - - //test when given named params - var td = this.svc.postJsonRpc12ForcedError({message: this.name}); - - td.addErrback(this, function(error){ - d.callback(true); - }); - - return d; - } - } -]); - -} diff --git a/includes/js/dojox/rpc/tests/Yahoo.js b/includes/js/dojox/rpc/tests/Yahoo.js deleted file mode 100644 index 7e5dbfa..0000000 --- a/includes/js/dojox/rpc/tests/Yahoo.js +++ /dev/null @@ -1,317 +0,0 @@ -if(!dojo._hasResource["dojox.rpc.tests.Yahoo"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.rpc.tests.Yahoo"] = true; -dojo.provide("dojox.rpc.tests.Yahoo"); -dojo.require("dojo.io.script"); -dojo.require("dojox.rpc.Service"); - -dojox.rpc.tests.yahooService = new dojox.rpc.Service(dojo.moduleUrl("dojox.rpc.SMDLibrary", "yahoo.smd")); - -dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT = 8000; -dojox.rpc.tests.yahooService.TEST_METHOD_LONG_TIMEOUT = 30000; - -dojox.rpc.tests.yahooService._testMethod = function(method){ - return function(m){ - var d = new doh.Deferred(); - - if (method.name && method.parameters && method.expectedResult) { - var yd = dojox.rpc.tests.yahooService[method.name](method.parameters); - yd.addCallback(this, function(result){ - if (result[method.expectedResult]){ - d.callback(true); - }else{ - d.errback(new Error("Unexpected Return Value: ", result)); - } - }); - } - - return d; - } -}; - -doh.register("dojox.rpc.tests.yahoo", - [ - { - name: "#1, Yahoo Answers::questionSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "questionSearch", - parameters: {query: "dojo toolkit"}, - expectedResult: "all" - }) - }, - { - name: "#2, Yahoo Answers::getByCategory", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "getByCategory", - parameters: {category_name: "Computers+%26+Internet%3ESoftware"}, - expectedResult: "all" - }) - }, - { - name: "#3, Yahoo Answers::getQuestion", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "getQuestion", - parameters: {question_id: "1005120800412"}, - expectedResult: "all" - }) - }, - { - name: "#4, Yahoo Answers::getByUser", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "getByUser", - parameters: {user_id: "AA10001397"}, - expectedResult: "all" - }) - }, - { - name: "#5, Yahoo Audio::artistSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "artistSearch", - parameters: {artist: "The Beatles"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#6, Yahoo Audio::albumSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "albumSearch", - parameters: {artist: "The Beatles", album: "Magical Mystery Tour"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#7, Yahoo Audio::songSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "songSearch", - parameters: {artist: "The Beatles", album: "Magical Mystery Tour", song: "Penny Lane"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#8, Yahoo Audio::songDownloadLocation", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "songDownloadLocation", - parameters: {songid: "XXXXXXT000995691"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#9, Yahoo ContentAnalysis::contextSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "contextSearch", - parameters: { - context: "Welcome to the Book of Dojo. This book covers both versions 0.9 and 1.0, and all 1.0 extensions and changes are clearly marked for your enjoyment. Please use the forums for support questions, but if you see something missing, incomplete, or just plain wrong in this book, please leave a comment.", - query: "dojo" - }, - expectedResult: "ResultSet" - }) - }, - { - name: "#10, Yahoo Image::imageSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "imageSearch", - parameters: {query: "dojo"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#11, Yahoo Local::localSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "localSearch", - parameters: {query: "pizza", zip: "98201"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#12, Yahoo Local::collectionSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_LONG_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "collectionSearch", - parameters: {query: "dojo"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#13, Yahoo Local::getCollection", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_LONG_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - expectedResult: "getCollection", - parameters: {collection_id: "1000031487"}, - expectedResult: "Result" - }) - }, - { - name: "#14, Yahoo Local::trafficData", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_LONG_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "trafficData", - parameters: {street: "1600 Pennsylvania Ave", city: "Washington, DC"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#15, Yahoo MyWebs::urlSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_LONG_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "urlSearch", - parameters: {tag: "javascript"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#16, Yahoo MyWebs::tagSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_LONG_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "tagSearch", - parameters: {url: "dojotoolkit.org"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#17, Yahoo MyWebs::relatedTags", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_LONG_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "relatedTags", - parameters: {tag: "javascript"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#18, Yahoo NewsSearch::newsSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "newsSearch", - parameters: {query: "dojo toolkit"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#19, Yahoo Shopping::catalogListing", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "catalogListing", - parameters: {idtype: "brand,partnum", idvalue: "canon,1079B001", getspec: 1}, - expectedResult: "Catalog" - }) - }, - { - name: "#20, Yahoo Shopping::merchantSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "merchantSearch", - parameters: {merchantid: "1021849"}, - expectedResult: "Merchant" - }) - }, - { - name: "#21, Yahoo Shopping::productSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "productSearch", - parameters: {query: "dojo"}, - expectedResult: "Categories" - }) - }, - { - name: "#22, Yahoo SiteExplorer::inlinkData", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "inlinkData", - parameters: {query: "dojotoolkit.org"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#23, Yahoo SiteExplorer::pageData", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "pageData", - parameters: {query: "dojotoolkit.org"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#24, Yahoo SiteExplorer::ping", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "ping", - parameters: {sitemap: "http://www.yahoo.com"}, - expectedResult: "Success" - }) - }, - { - name: "#25, Yahoo SiteExplorer::updateNotification", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "updateNotification", - parameters: {url: "http://www.yahoo.com"}, - expectedResult: "Success" - }) - }, - { - name: "#26, Yahoo Trip::tripSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "tripSearch", - parameters: {query: "eiffel tower"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#27, Yahoo Trip::getTrip", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "getTrip", - parameters: {id: "546303"}, - expectedResult: "Result" - }) - }, - { - name: "#28, Yahoo Video::videoSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "videoSearch", - parameters: {query: "star wars kid"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#29, Yahoo Web::webSearch", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "webSearch", - parameters: {query: "dojo toolkit"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#30, Yahoo Web::spellingSuggestion", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "spellingSuggestion", - parameters: {query: "beatls"}, - expectedResult: "ResultSet" - }) - }, - { - name: "#31, Yahoo Web::relatedSuggestion", - timeout: dojox.rpc.tests.yahooService.TEST_METHOD_TIMEOUT, - runTest: dojox.rpc.tests.yahooService._testMethod({ - name: "relatedSuggestion", - parameters: {query: "dojo toolkit"}, - expectedResult: "ResultSet" - }) - } -]); - -} diff --git a/includes/js/dojox/rpc/tests/libraryTests.js b/includes/js/dojox/rpc/tests/libraryTests.js deleted file mode 100644 index 7af2ae6..0000000 --- a/includes/js/dojox/rpc/tests/libraryTests.js +++ /dev/null @@ -1,12 +0,0 @@ -if(!dojo._hasResource["dojox.rpc.tests.libraryTests"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.rpc.tests.libraryTests"] = true; -dojo.provide("dojox.rpc.tests.libraryTests"); - -try{ - dojo.require("dojox.rpc.tests.Yahoo"); -}catch(e){ - doh.debug(e); -} - - -} diff --git a/includes/js/dojox/rpc/tests/module.js b/includes/js/dojox/rpc/tests/module.js deleted file mode 100644 index 038a9ad..0000000 --- a/includes/js/dojox/rpc/tests/module.js +++ /dev/null @@ -1,13 +0,0 @@ -if(!dojo._hasResource["dojox.rpc.tests.module"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.rpc.tests.module"] = true; -dojo.provide("dojox.rpc.tests.module"); - -try{ - dojo.require("dojox.rpc.tests.Service"); - dojo.require("dojox.rpc.tests.JsonReferencing"); -}catch(e){ - doh.debug(e); -} - - -} diff --git a/includes/js/dojox/rpc/tests/resources/JSON.php b/includes/js/dojox/rpc/tests/resources/JSON.php deleted file mode 100644 index 4a21ce7..0000000 --- a/includes/js/dojox/rpc/tests/resources/JSON.php +++ /dev/null @@ -1,724 +0,0 @@ - - * @author Matt Knapp - * @author Brett Stimmerman - * @copyright 2005 Michal Migurski - * @license http://www.opensource.org/licenses/bsd-license.php - * @link http://pear.php.net/pepr/pepr-proposal-show.php?id=198 - */ - -/** - * Marker constant for Services_JSON::decode(), used to flag stack state - */ -define('SERVICES_JSON_SLICE', 1); - -/** - * Marker constant for Services_JSON::decode(), used to flag stack state - */ -define('SERVICES_JSON_IN_STR', 2); - -/** - * Marker constant for Services_JSON::decode(), used to flag stack state - */ -define('SERVICES_JSON_IN_ARR', 4); - -/** - * Marker constant for Services_JSON::decode(), used to flag stack state - */ -define('SERVICES_JSON_IN_OBJ', 8); - -/** - * Marker constant for Services_JSON::decode(), used to flag stack state - */ -define('SERVICES_JSON_IN_CMT', 16); - -/** - * Behavior switch for Services_JSON::decode() - */ -define('SERVICES_JSON_LOOSE_TYPE', 10); - -/** - * Behavior switch for Services_JSON::decode() - */ -define('SERVICES_JSON_STRICT_TYPE', 11); - -/** - * Converts to and from JSON format. - * - * Brief example of use: - * - * - * // create a new instance of Services_JSON - * $json = new Services_JSON(); - * - * // convert a complexe value to JSON notation, and send it to the browser - * $value = array('foo', 'bar', array(1, 2, 'baz'), array(3, array(4))); - * $output = $json->encode($value); - * - * print($output); - * // prints: ["foo","bar",[1,2,"baz"],[3,[4]]] - * - * // accept incoming POST data, assumed to be in JSON notation - * $input = file_get_contents('php://input', 1000000); - * $value = $json->decode($input); - * - */ -class Services_JSON -{ - /** - * constructs a new JSON instance - * - * @param int $use object behavior: when encoding or decoding, - * be loose or strict about object/array usage - * - * possible values: - * - SERVICES_JSON_STRICT_TYPE: strict typing, default. - * "{...}" syntax creates objects in decode(). - * - SERVICES_JSON_LOOSE_TYPE: loose typing. - * "{...}" syntax creates associative arrays in decode(). - */ - function Services_JSON($use = SERVICES_JSON_STRICT_TYPE) - { - $this->use = $use; - } - - /** - * convert a string from one UTF-16 char to one UTF-8 char - * - * Normally should be handled by mb_convert_encoding, but - * provides a slower PHP-only method for installations - * that lack the multibye string extension. - * - * @param string $utf16 UTF-16 character - * @return string UTF-8 character - * @access private - */ - function utf162utf8($utf16) - { - // oh please oh please oh please oh please oh please - if(function_exists('mb_convert_encoding')) - return mb_convert_encoding($utf16, 'UTF-8', 'UTF-16'); - - $bytes = (ord($utf16{0}) << 8) | ord($utf16{1}); - - switch(true) { - case ((0x7F & $bytes) == $bytes): - // this case should never be reached, because we are in ASCII range - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr(0x7F & $bytes); - - case (0x07FF & $bytes) == $bytes: - // return a 2-byte UTF-8 character - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr(0xC0 | (($bytes >> 6) & 0x1F)) - . chr(0x80 | ($bytes & 0x3F)); - - case (0xFFFF & $bytes) == $bytes: - // return a 3-byte UTF-8 character - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr(0xE0 | (($bytes >> 12) & 0x0F)) - . chr(0x80 | (($bytes >> 6) & 0x3F)) - . chr(0x80 | ($bytes & 0x3F)); - } - - // ignoring UTF-32 for now, sorry - return ''; - } - - /** - * convert a string from one UTF-8 char to one UTF-16 char - * - * Normally should be handled by mb_convert_encoding, but - * provides a slower PHP-only method for installations - * that lack the multibye string extension. - * - * @param string $utf8 UTF-8 character - * @return string UTF-16 character - * @access private - */ - function utf82utf16($utf8) - { - // oh please oh please oh please oh please oh please - if(function_exists('mb_convert_encoding')) - return mb_convert_encoding($utf8, 'UTF-16', 'UTF-8'); - - switch(strlen($utf8)) { - case 1: - // this case should never be reached, because we are in ASCII range - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return $ut8; - - case 2: - // return a UTF-16 character from a 2-byte UTF-8 char - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr(0x07 & (ord($utf8{0}) >> 2)) - . chr((0xC0 & (ord($utf8{0}) << 6)) - | (0x3F & ord($utf8{1}))); - - case 3: - // return a UTF-16 character from a 3-byte UTF-8 char - // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - return chr((0xF0 & (ord($utf8{0}) << 4)) - | (0x0F & (ord($utf8{1}) >> 2))) - . chr((0xC0 & (ord($utf8{1}) << 6)) - | (0x7F & ord($utf8{2}))); - } - - // ignoring UTF-32 for now, sorry - return ''; - } - - /** - * encodes an arbitrary variable into JSON format - * - * @param mixed $var any number, boolean, string, array, or object to be encoded. - * see argument 1 to Services_JSON() above for array-parsing behavior. - * if var is a strng, note that encode() always expects it - * to be in ASCII or UTF-8 format! - * - * @return string JSON string representation of input var - * @access public - */ - function encode($var) - { - switch (gettype($var)) { - case 'boolean': - return $var ? 'true' : 'false'; - - case 'NULL': - return 'null'; - - case 'integer': - return (int) $var; - - case 'double': - case 'float': - return (float) $var; - - case 'string': - // STRINGS ARE EXPECTED TO BE IN ASCII OR UTF-8 FORMAT - $ascii = ''; - $strlen_var = strlen($var); - - /* - * Iterate over every character in the string, - * escaping with a slash or encoding to UTF-8 where necessary - */ - for ($c = 0; $c < $strlen_var; ++$c) { - - $ord_var_c = ord($var{$c}); - - switch (true) { - case $ord_var_c == 0x08: - $ascii .= '\b'; - break; - case $ord_var_c == 0x09: - $ascii .= '\t'; - break; - case $ord_var_c == 0x0A: - $ascii .= '\n'; - break; - case $ord_var_c == 0x0C: - $ascii .= '\f'; - break; - case $ord_var_c == 0x0D: - $ascii .= '\r'; - break; - - case $ord_var_c == 0x22: - case $ord_var_c == 0x2F: - case $ord_var_c == 0x5C: - // double quote, slash, slosh - $ascii .= '\\'.$var{$c}; - break; - - case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)): - // characters U-00000000 - U-0000007F (same as ASCII) - $ascii .= $var{$c}; - break; - - case (($ord_var_c & 0xE0) == 0xC0): - // characters U-00000080 - U-000007FF, mask 110XXXXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, ord($var{$c + 1})); - $c += 1; - $utf16 = $this->utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xF0) == 0xE0): - // characters U-00000800 - U-0000FFFF, mask 1110XXXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2})); - $c += 2; - $utf16 = $this->utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xF8) == 0xF0): - // characters U-00010000 - U-001FFFFF, mask 11110XXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2}), - ord($var{$c + 3})); - $c += 3; - $utf16 = $this->utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xFC) == 0xF8): - // characters U-00200000 - U-03FFFFFF, mask 111110XX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2}), - ord($var{$c + 3}), - ord($var{$c + 4})); - $c += 4; - $utf16 = $this->utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - - case (($ord_var_c & 0xFE) == 0xFC): - // characters U-04000000 - U-7FFFFFFF, mask 1111110X - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $char = pack('C*', $ord_var_c, - ord($var{$c + 1}), - ord($var{$c + 2}), - ord($var{$c + 3}), - ord($var{$c + 4}), - ord($var{$c + 5})); - $c += 5; - $utf16 = $this->utf82utf16($char); - $ascii .= sprintf('\u%04s', bin2hex($utf16)); - break; - } - } - - return '"'.$ascii.'"'; - - case 'array': - /* - * As per JSON spec if any array key is not an integer - * we must treat the the whole array as an object. We - * also try to catch a sparsely populated associative - * array with numeric keys here because some JS engines - * will create an array with empty indexes up to - * max_index which can cause memory issues and because - * the keys, which may be relevant, will be remapped - * otherwise. - * - * As per the ECMA and JSON specification an object may - * have any string as a property. Unfortunately due to - * a hole in the ECMA specification if the key is a - * ECMA reserved word or starts with a digit the - * parameter is only accessible using ECMAScript's - * bracket notation. - */ - - // treat as a JSON object - if (is_array($var) && count($var) && (array_keys($var) !== range(0, sizeof($var) - 1))) { - return '{' . - join(',', array_map(array($this, 'name_value'), - array_keys($var), - array_values($var))) - . '}'; - } - - // treat it like a regular array - return '[' . join(',', array_map(array($this, 'encode'), $var)) . ']'; - - case 'object': - $vars = get_object_vars($var); - return '{' . - join(',', array_map(array($this, 'name_value'), - array_keys($vars), - array_values($vars))) - . '}'; - - default: - return ''; - } - } - - /** - * array-walking function for use in generating JSON-formatted name-value pairs - * - * @param string $name name of key to use - * @param mixed $value reference to an array element to be encoded - * - * @return string JSON-formatted name-value pair, like '"name":value' - * @access private - */ - function name_value($name, $value) - { - return $this->encode(strval($name)) . ':' . $this->encode($value); - } - - /** - * reduce a string by removing leading and trailing comments and whitespace - * - * @param $str string string value to strip of comments and whitespace - * - * @return string string value stripped of comments and whitespace - * @access private - */ - function reduce_string($str) - { - $str = preg_replace(array( - - // eliminate single line comments in '// ...' form - '#^\s*//(.+)$#m', - - // eliminate multi-line comments in '/* ... */' form, at start of string - '#^\s*/\*(.+)\*/#Us', - - // eliminate multi-line comments in '/* ... */' form, at end of string - '#/\*(.+)\*/\s*$#Us' - - ), '', $str); - - // eliminate extraneous space - return trim($str); - } - - /** - * decodes a JSON string into appropriate variable - * - * @param string $str JSON-formatted string - * - * @return mixed number, boolean, string, array, or object - * corresponding to given JSON input string. - * See argument 1 to Services_JSON() above for object-output behavior. - * Note that decode() always returns strings - * in ASCII or UTF-8 format! - * @access public - */ - function decode($str) - { - $str = $this->reduce_string($str); - - switch (strtolower($str)) { - case 'true': - return true; - - case 'false': - return false; - - case 'null': - return null; - - default: - if (is_numeric($str)) { - // Lookie-loo, it's a number - - // This would work on its own, but I'm trying to be - // good about returning integers where appropriate: - // return (float)$str; - - // Return float or int, as appropriate - return ((float)$str == (integer)$str) - ? (integer)$str - : (float)$str; - - } elseif (preg_match('/^("|\').*(\1)$/s', $str, $m) && $m[1] == $m[2]) { - // STRINGS RETURNED IN UTF-8 FORMAT - $delim = substr($str, 0, 1); - $chrs = substr($str, 1, -1); - $utf8 = ''; - $strlen_chrs = strlen($chrs); - - for ($c = 0; $c < $strlen_chrs; ++$c) { - - $substr_chrs_c_2 = substr($chrs, $c, 2); - $ord_chrs_c = ord($chrs{$c}); - - switch (true) { - case $substr_chrs_c_2 == '\b': - $utf8 .= chr(0x08); - ++$c; - break; - case $substr_chrs_c_2 == '\t': - $utf8 .= chr(0x09); - ++$c; - break; - case $substr_chrs_c_2 == '\n': - $utf8 .= chr(0x0A); - ++$c; - break; - case $substr_chrs_c_2 == '\f': - $utf8 .= chr(0x0C); - ++$c; - break; - case $substr_chrs_c_2 == '\r': - $utf8 .= chr(0x0D); - ++$c; - break; - - case $substr_chrs_c_2 == '\\"': - case $substr_chrs_c_2 == '\\\'': - case $substr_chrs_c_2 == '\\\\': - case $substr_chrs_c_2 == '\\/': - if (($delim == '"' && $substr_chrs_c_2 != '\\\'') || - ($delim == "'" && $substr_chrs_c_2 != '\\"')) { - $utf8 .= $chrs{++$c}; - } - break; - - case preg_match('/\\\u[0-9A-F]{4}/i', substr($chrs, $c, 6)): - // single, escaped unicode character - $utf16 = chr(hexdec(substr($chrs, ($c + 2), 2))) - . chr(hexdec(substr($chrs, ($c + 4), 2))); - $utf8 .= $this->utf162utf8($utf16); - $c += 5; - break; - - case ($ord_chrs_c >= 0x20) && ($ord_chrs_c <= 0x7F): - $utf8 .= $chrs{$c}; - break; - - case ($ord_chrs_c & 0xE0) == 0xC0: - // characters U-00000080 - U-000007FF, mask 110XXXXX - //see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $utf8 .= substr($chrs, $c, 2); - ++$c; - break; - - case ($ord_chrs_c & 0xF0) == 0xE0: - // characters U-00000800 - U-0000FFFF, mask 1110XXXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $utf8 .= substr($chrs, $c, 3); - $c += 2; - break; - - case ($ord_chrs_c & 0xF8) == 0xF0: - // characters U-00010000 - U-001FFFFF, mask 11110XXX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $utf8 .= substr($chrs, $c, 4); - $c += 3; - break; - - case ($ord_chrs_c & 0xFC) == 0xF8: - // characters U-00200000 - U-03FFFFFF, mask 111110XX - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $utf8 .= substr($chrs, $c, 5); - $c += 4; - break; - - case ($ord_chrs_c & 0xFE) == 0xFC: - // characters U-04000000 - U-7FFFFFFF, mask 1111110X - // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - $utf8 .= substr($chrs, $c, 6); - $c += 5; - break; - - } - - } - - return $utf8; - - } elseif (preg_match('/^\[.*\]$/s', $str) || preg_match('/^\{.*\}$/s', $str)) { - // array, or object notation - - if ($str{0} == '[') { - $stk = array(SERVICES_JSON_IN_ARR); - $arr = array(); - } else { - if ($this->use == SERVICES_JSON_LOOSE_TYPE) { - $stk = array(SERVICES_JSON_IN_OBJ); - $obj = array(); - } else { - $stk = array(SERVICES_JSON_IN_OBJ); - $obj = new stdClass(); - } - } - - array_push($stk, array('what' => SERVICES_JSON_SLICE, - 'where' => 0, - 'delim' => false)); - - $chrs = substr($str, 1, -1); - $chrs = $this->reduce_string($chrs); - - if ($chrs == '') { - if (reset($stk) == SERVICES_JSON_IN_ARR) { - return $arr; - - } else { - return $obj; - - } - } - - //print("\nparsing {$chrs}\n"); - - $strlen_chrs = strlen($chrs); - - for ($c = 0; $c <= $strlen_chrs; ++$c) { - - $top = end($stk); - $substr_chrs_c_2 = substr($chrs, $c, 2); - - if (($c == $strlen_chrs) || (($chrs{$c} == ',') && ($top['what'] == SERVICES_JSON_SLICE))) { - // found a comma that is not inside a string, array, etc., - // OR we've reached the end of the character list - $slice = substr($chrs, $top['where'], ($c - $top['where'])); - array_push($stk, array('what' => SERVICES_JSON_SLICE, 'where' => ($c + 1), 'delim' => false)); - //print("Found split at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); - - if (reset($stk) == SERVICES_JSON_IN_ARR) { - // we are in an array, so just push an element onto the stack - array_push($arr, $this->decode($slice)); - - } elseif (reset($stk) == SERVICES_JSON_IN_OBJ) { - // we are in an object, so figure - // out the property name and set an - // element in an associative array, - // for now - if (preg_match('/^\s*(["\'].*[^\\\]["\'])\s*:\s*(\S.*),?$/Uis', $slice, $parts)) { - // "name":value pair - $key = $this->decode($parts[1]); - $val = $this->decode($parts[2]); - - if ($this->use == SERVICES_JSON_LOOSE_TYPE) { - $obj[$key] = $val; - } else { - $obj->$key = $val; - } - } elseif (preg_match('/^\s*(\w+)\s*:\s*(\S.*),?$/Uis', $slice, $parts)) { - // name:value pair, where name is unquoted - $key = $parts[1]; - $val = $this->decode($parts[2]); - - if ($this->use == SERVICES_JSON_LOOSE_TYPE) { - $obj[$key] = $val; - } else { - $obj->$key = $val; - } - } - - } - - } elseif ((($chrs{$c} == '"') || ($chrs{$c} == "'")) && ($top['what'] != SERVICES_JSON_IN_STR)) { - // found a quote, and we are not inside a string - array_push($stk, array('what' => SERVICES_JSON_IN_STR, 'where' => $c, 'delim' => $chrs{$c})); - //print("Found start of string at {$c}\n"); - - } elseif (($chrs{$c} == $top['delim']) && - ($top['what'] == SERVICES_JSON_IN_STR) && - (($chrs{$c - 1} != '\\') || - ($chrs{$c - 1} == '\\' && $chrs{$c - 2} == '\\'))) { - // found a quote, we're in a string, and it's not escaped - array_pop($stk); - //print("Found end of string at {$c}: ".substr($chrs, $top['where'], (1 + 1 + $c - $top['where']))."\n"); - - } elseif (($chrs{$c} == '[') && - in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { - // found a left-bracket, and we are in an array, object, or slice - array_push($stk, array('what' => SERVICES_JSON_IN_ARR, 'where' => $c, 'delim' => false)); - //print("Found start of array at {$c}\n"); - - } elseif (($chrs{$c} == ']') && ($top['what'] == SERVICES_JSON_IN_ARR)) { - // found a right-bracket, and we're in an array - array_pop($stk); - //print("Found end of array at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); - - } elseif (($chrs{$c} == '{') && - in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { - // found a left-brace, and we are in an array, object, or slice - array_push($stk, array('what' => SERVICES_JSON_IN_OBJ, 'where' => $c, 'delim' => false)); - //print("Found start of object at {$c}\n"); - - } elseif (($chrs{$c} == '}') && ($top['what'] == SERVICES_JSON_IN_OBJ)) { - // found a right-brace, and we're in an object - array_pop($stk); - //print("Found end of object at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); - - } elseif (($substr_chrs_c_2 == '/*') && - in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { - // found a comment start, and we are in an array, object, or slice - array_push($stk, array('what' => SERVICES_JSON_IN_CMT, 'where' => $c, 'delim' => false)); - $c++; - //print("Found start of comment at {$c}\n"); - - } elseif (($substr_chrs_c_2 == '*/') && ($top['what'] == SERVICES_JSON_IN_CMT)) { - // found a comment end, and we're in one now - array_pop($stk); - $c++; - - for ($i = $top['where']; $i <= $c; ++$i) - $chrs = substr_replace($chrs, ' ', $i, 1); - - //print("Found end of comment at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); - - } - - } - - if (reset($stk) == SERVICES_JSON_IN_ARR) { - return $arr; - - } elseif (reset($stk) == SERVICES_JSON_IN_OBJ) { - return $obj; - - } - - } - } - } - -} - -?> \ No newline at end of file diff --git a/includes/js/dojox/rpc/tests/resources/bigQuery b/includes/js/dojox/rpc/tests/resources/bigQuery deleted file mode 100644 index e8f9429..0000000 --- a/includes/js/dojox/rpc/tests/resources/bigQuery +++ /dev/null @@ -1 +0,0 @@ -[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20] \ No newline at end of file diff --git a/includes/js/dojox/rpc/tests/resources/bigQuery5 b/includes/js/dojox/rpc/tests/resources/bigQuery5 deleted file mode 100644 index e77ca8d..0000000 --- a/includes/js/dojox/rpc/tests/resources/bigQuery5 +++ /dev/null @@ -1 +0,0 @@ -[1,2,3,4,5] \ No newline at end of file diff --git a/includes/js/dojox/rpc/tests/resources/echo.php b/includes/js/dojox/rpc/tests/resources/echo.php deleted file mode 100644 index b38a3ee..0000000 --- a/includes/js/dojox/rpc/tests/resources/echo.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/includes/js/dojox/rpc/tests/resources/echoJson.php b/includes/js/dojox/rpc/tests/resources/echoJson.php deleted file mode 100644 index 52b5d03..0000000 --- a/includes/js/dojox/rpc/tests/resources/echoJson.php +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/includes/js/dojox/rpc/tests/resources/fakestore.php b/includes/js/dojox/rpc/tests/resources/fakestore.php deleted file mode 100644 index 075926a..0000000 --- a/includes/js/dojox/rpc/tests/resources/fakestore.php +++ /dev/null @@ -1,36 +0,0 @@ - diff --git a/includes/js/dojox/rpc/tests/resources/jsonRpc10.php b/includes/js/dojox/rpc/tests/resources/jsonRpc10.php deleted file mode 100644 index fc99b75..0000000 --- a/includes/js/dojox/rpc/tests/resources/jsonRpc10.php +++ /dev/null @@ -1,47 +0,0 @@ - sudo pear install File - // Your server will also need the Pear library directory included in PHP's - // include_path configuration directive - // require_once('File.php'); - - // ensure that we don't try to send "html" down to the client - header("Content-Type: text/plain"); - - $json = new Services_JSON; - //$fp = new File(); - - $results = array(); - $results['error'] = null; - - $jsonRequest = file_get_contents('php://input'); - //$jsonRequest = '{"params":["Blah"],"method":"myecho","id":86}'; - - $req = $json->decode($jsonRequest); - - $method = $req->method; - $params = $req->params; - - switch($method) { - case "postJsonRpc10EchoNamed": - case "postJsonRpc10Echo": - $results['result']=$params[0]; - break; - default: - $results['result']=""; - $results['error']="JSON-RPC 1.0 METHOD NOT FOUND"; - break; - } - - $results['id'] = $req->id; - - $encoded = $json->encode($results); - - print $encoded; -?> diff --git a/includes/js/dojox/rpc/tests/resources/jsonRpc11.php b/includes/js/dojox/rpc/tests/resources/jsonRpc11.php deleted file mode 100644 index 1c91e51..0000000 --- a/includes/js/dojox/rpc/tests/resources/jsonRpc11.php +++ /dev/null @@ -1,52 +0,0 @@ - sudo pear install File - // Your server will also need the Pear library directory included in PHP's - // include_path configuration directive - // require_once('File.php'); - - // ensure that we don't try to send "html" down to the client - header("Content-Type: text/plain"); - - $json = new Services_JSON; - //$fp = new File(); - - $results = array(); - $results['error'] = null; - - $jsonRequest = file_get_contents('php://input'); - //$jsonRequest = '{"params":["Blah"],"method":"myecho","id":86}'; - - $req = $json->decode($jsonRequest); - - $method = $req->method; - $params = $req->params; - - switch($method) { - case "rawPostJsonRpc11Echo": - if (is_array($params)){ - $results['result']=$params; - }else{ - $results['result']=$params->message; - } - break; - default: - $results['result']=""; - $results['error']=array(); - $results['error']['code']=-32601; - $results['error']["message"]="The requested remote-procedure does not exist / is not available."; - break; - } - - $results['id'] = $req->id; - - $encoded = $json->encode($results); - - print $encoded; -?> diff --git a/includes/js/dojox/rpc/tests/resources/jsonRpc12.php b/includes/js/dojox/rpc/tests/resources/jsonRpc12.php deleted file mode 100644 index 8fad2e5..0000000 --- a/includes/js/dojox/rpc/tests/resources/jsonRpc12.php +++ /dev/null @@ -1,53 +0,0 @@ - sudo pear install File - // Your server will also need the Pear library directory included in PHP's - // include_path configuration directive - // require_once('File.php'); - - // ensure that we don't try to send "html" down to the client - header("Content-Type: text/plain"); - - $json = new Services_JSON; - //$fp = new File(); - - $results = array(); - $results['error'] = null; - - $jsonRequest = file_get_contents('php://input'); - //$jsonRequest = '{"params":["Blah"],"method":"myecho","id":86}'; - - $req = $json->decode($jsonRequest); - - $method = $req->method; - $params = $req->params; - - switch($method) { - case "postJsonRpc12Echo": - case "postJsonRpc12EchoNamed": - if (is_array($params)){ - $results['result']=$params; - }else{ - $results['result']=$params->message; - } - break; - default: - $results['result']=""; - $results['error']=array(); - $results['error']['code']=-32601; - $results['error']["message"]="The requested remote-procedure does not exist / is not available."; - break; - } - - $results['id'] = $req->id; - - $encoded = $json->encode($results); - - print $encoded; -?> diff --git a/includes/js/dojox/rpc/tests/resources/jsonRpcPostGetEcho.php b/includes/js/dojox/rpc/tests/resources/jsonRpcPostGetEcho.php deleted file mode 100644 index 7db9153..0000000 --- a/includes/js/dojox/rpc/tests/resources/jsonRpcPostGetEcho.php +++ /dev/null @@ -1,38 +0,0 @@ -decode($params); - $result = "{id:" . $id . ", 'result':'" . $p[0]. "', error:''}"; - break; - case "postJsonRpc12Echo": - case "getJsonRpc12Echo": - case "postJsonRpc12EchoNamed": - case "getJsonRpc12EchoNamed": - $p = $json->decode($params); - - if ($p->message){ - $d = $p->message; - }else{ - $d=$p[0]; - } - $result = "{id:" . $id . ", 'result':'" . $d . "'}"; - break; - default: - $result = "{id:'1','error':'Unknown Method', 'result':'this result only here for this test, shouldnt be here in real code'}"; - break; - } - - print $result; - -?> diff --git a/includes/js/dojox/rpc/tests/resources/jsonpEcho.php b/includes/js/dojox/rpc/tests/resources/jsonpEcho.php deleted file mode 100644 index 15d9aaa..0000000 --- a/includes/js/dojox/rpc/tests/resources/jsonpEcho.php +++ /dev/null @@ -1,23 +0,0 @@ - diff --git a/includes/js/dojox/rpc/tests/resources/jsonpEcho.phps b/includes/js/dojox/rpc/tests/resources/jsonpEcho.phps deleted file mode 100644 index 15d9aaa..0000000 --- a/includes/js/dojox/rpc/tests/resources/jsonpEcho.phps +++ /dev/null @@ -1,23 +0,0 @@ - diff --git a/includes/js/dojox/rpc/tests/resources/jsonpJsonRpcEcho.php b/includes/js/dojox/rpc/tests/resources/jsonpJsonRpcEcho.php deleted file mode 100644 index 251f38e..0000000 --- a/includes/js/dojox/rpc/tests/resources/jsonpJsonRpcEcho.php +++ /dev/null @@ -1,37 +0,0 @@ -decode($_REQUEST['params']); - $callback = $_REQUEST["callback"]; - - switch($method){ - case "jsonpJsonRpc10EchoNamed": - case "jsonpJsonRpc11Echo": - case "jsonpJsonRpc11EchoNamed": - case "jsonpJsonRpc10Echo": - if ( ($method=="jsonpJsonRpc10EchoNamed")||($method=="jsonpJsonRpc11EchoNamed")){ - $message = $params->message; - }else{ - $message = $params[0]; - } - if ($message){ - switch($method){ - case "jsonpJsonRpc11Echo": - case "jsonpJsonRpc11EchoNamed": - $res = "{'id': '$id', result: '$message'}"; - break; - default: - $res = "{'id': '$id', result: '$message', 'error':''}"; - break; - } - }else{ - $res = "{'id': '$id', error: {'code': 100, 'message':'no message provided'}}"; - } - } - - print "$callback($res)"; - -?> diff --git a/includes/js/dojox/rpc/tests/resources/obj1 b/includes/js/dojox/rpc/tests/resources/obj1 deleted file mode 100644 index ff02ba8..0000000 --- a/includes/js/dojox/rpc/tests/resources/obj1 +++ /dev/null @@ -1 +0,0 @@ -{"id":"obj1","name":"Object 1","updated":1202755814406,"obj":{"foo":"bar"},"obj dup":{"$ref":"obj1.obj"},"testArray":[1,2,3,4]} \ No newline at end of file diff --git a/includes/js/dojox/rpc/tests/resources/obj1testArray b/includes/js/dojox/rpc/tests/resources/obj1testArray deleted file mode 100644 index 0c624c1..0000000 --- a/includes/js/dojox/rpc/tests/resources/obj1testArray +++ /dev/null @@ -1 +0,0 @@ -[1,2,3,undefined,4] \ No newline at end of file diff --git a/includes/js/dojox/rpc/tests/resources/obj3 b/includes/js/dojox/rpc/tests/resources/obj3 deleted file mode 100644 index 21cb328..0000000 --- a/includes/js/dojox/rpc/tests/resources/obj3 +++ /dev/null @@ -1 +0,0 @@ -{"id":"obj3","name":"Object 3"} \ No newline at end of file diff --git a/includes/js/dojox/rpc/tests/resources/obj4 b/includes/js/dojox/rpc/tests/resources/obj4 deleted file mode 100644 index a429ecf..0000000 --- a/includes/js/dojox/rpc/tests/resources/obj4 +++ /dev/null @@ -1 +0,0 @@ -{"id":"obj4","name":"Object 4"} \ No newline at end of file diff --git a/includes/js/dojox/rpc/tests/resources/query b/includes/js/dojox/rpc/tests/resources/query deleted file mode 100644 index cd18d6e..0000000 --- a/includes/js/dojox/rpc/tests/resources/query +++ /dev/null @@ -1,6 +0,0 @@ -[ - {id:"obj1",name:"Object 1"}, - {id:"obj2",name:"Object 2"}, - {$ref:"obj3"}, - {$ref:"obj4"} -] \ No newline at end of file diff --git a/includes/js/dojox/rpc/tests/resources/rawEcho.php b/includes/js/dojox/rpc/tests/resources/rawEcho.php deleted file mode 100644 index e0c15c0..0000000 --- a/includes/js/dojox/rpc/tests/resources/rawEcho.php +++ /dev/null @@ -1,5 +0,0 @@ - - diff --git a/includes/js/dojox/rpc/tests/resources/res b/includes/js/dojox/rpc/tests/resources/res deleted file mode 100644 index 3c22137..0000000 --- a/includes/js/dojox/rpc/tests/resources/res +++ /dev/null @@ -1 +0,0 @@ -deleted \ No newline at end of file diff --git a/includes/js/dojox/rpc/tests/resources/store.php b/includes/js/dojox/rpc/tests/resources/store.php deleted file mode 100644 index 941e113..0000000 --- a/includes/js/dojox/rpc/tests/resources/store.php +++ /dev/null @@ -1,24 +0,0 @@ - diff --git a/includes/js/dojox/rpc/tests/resources/test.smd b/includes/js/dojox/rpc/tests/resources/test.smd deleted file mode 100644 index 6ad56be..0000000 --- a/includes/js/dojox/rpc/tests/resources/test.smd +++ /dev/null @@ -1,189 +0,0 @@ -{ - transport: "POST", - envelope: "URL", - strictParameters: false, - parameters: { - appId: {}, - outputType: { - default: "json" - }, - - ignoreErrors: { - optional: true - } - }, - - services: { - postEcho: { - target: "echo.php", - parameters: [ - {name: "message", type: "string", optional: true} - ] - }, - - getEcho: { - transport: "GET", - target: "echo.php", - - parameters: [ - {name: "message", type: "string", optional: true} - ] - }, - getEchoJson: { - transport: "GET", - target: "echoJson.php", - contentType:"application/json", - parameters: [ - {name: "message", type: "string", optional: true} - ] - }, - getPathEcho: { - transport: "GET", - envelope: "PATH", - target: "echo.php?message=", - - parameters: [ - {name: "message", type: "string", optional: true} - ] - }, - restStore: { - transport: "REST", - contentType:"text/plain", - target: "fakestore.php", - parameters: [ - {name: "location", type: "string", optional: true} - ] - }, - jsonRestStore: { - transport: "REST", - target: "fakestore.php", - contentType:"application/json", - parameters: [ - {name: "location", type: "string", optional: true} - ] - }, - - - - postJsonEcho: { - transport: "POST", - envelope: "JSON", - target: "rawEcho.php", - - parameters: [ - {name: "message", type: "string", optional: true} - ] - }, - - jsonpEcho: { - transport: "JSONP", - target: "jsonpEcho.php", - callbackParamName: "testCallbackParam", - - parameters: [ - {name: "message", type: "string", optional: true} - ] - }, - - postJsonRpc10Echo: { - transport: "POST", - envelope: "JSON-RPC-1.0", - target: "jsonRpc10.php", - - parameters: [ - {type: "string", optional: true} - ] - }, - - postJsonRpc10EchoNamed: { - transport: "POST", - envelope: "JSON-RPC-1.0", - target: "jsonRpc10.php", - - parameters: [ - {type: "string", optional: true} - ] - }, - - jsonpJsonRpc12Echo: { - transport: "JSONP", - envelope: "JSON-RPC-2.0", - target: "jsonpJsonRpcEcho.php", - - parameters: [ - {type: "string", optional: true} - ] - }, - - jsonpJsonRpc12EchoNamed: { - transport: "JSONP", - envelope: "JSON-RPC-2.0", - target: "jsonpJsonRpcEcho.php", - - parameters: [ - {name: "message", type: "string", optional: true} - ] - }, - - postJsonRpc10ForcedError: { - envelope: "JSON-RPC-1.0", - transport: "POST", - target: "jsonRpc10.php", - - parameters: [ - {type: "string", optional: true} - ] - }, - - postJsonRpc12Echo: { - transport: "POST", - envelope: "JSON-RPC-2.0", - target: "jsonRpc12.php", - - parameters: [ - {name: "message", type: "string", optional: true} - ] - }, - - getJsonRpc12Echo: { - transport: "GET", - envelope: "JSON-RPC-2.0", - target: "jsonRpcPostGetEcho.php", - - parameters: [ - {type: "string", optional: true} - ] - }, - - postJsonRpc12EchoNamed: { - transport: "POST", - envelope: "JSON-RPC-2.0", - target: "jsonRpcPostGetEcho.php", - - parameters: [ - {type: "string", optional: true} - ] - }, - - getJsonRpc12EchoNamed: { - transport: "GET", - envelope: "JSON-RPC-2.0", - target: "jsonRpcPostGetEcho.php", - - parameters: [ - {type: "string", optional: true} - ] - }, - - - postJsonRpc12ForcedError: { - envelope: "JSON-RPC-2.0", - transport: "POST", - target: "jsonRpc12.php", - - parameters: [ - {type: "string", optional: true} - ] - } - } -} diff --git a/includes/js/dojox/rpc/tests/runLibraryTests.html b/includes/js/dojox/rpc/tests/runLibraryTests.html deleted file mode 100644 index 25c88a7..0000000 --- a/includes/js/dojox/rpc/tests/runLibraryTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - Dojox Unit Test Runner - - - Redirecting to D.O.H runner. - - diff --git a/includes/js/dojox/rpc/tests/runTests.html b/includes/js/dojox/rpc/tests/runTests.html deleted file mode 100644 index bb937c6..0000000 --- a/includes/js/dojox/rpc/tests/runTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - Dojox Unit Test Runner - - - Redirecting to D.O.H runner. - - diff --git a/includes/js/dojox/rpc/tests/stores/JsonRestStore.js b/includes/js/dojox/rpc/tests/stores/JsonRestStore.js deleted file mode 100644 index 25e0fc7..0000000 --- a/includes/js/dojox/rpc/tests/stores/JsonRestStore.js +++ /dev/null @@ -1,237 +0,0 @@ -if(!dojo._hasResource["dojox.data.tests.stores.JsonRestStore"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.data.tests.stores.JsonRestStore"] = true; -dojo.provide("dojox.data.tests.stores.JsonRestStore"); -dojo.require("dojox.data.JsonRestStore"); -dojo.require("dojo.data.api.Read"); -dojo.require("dojox.rpc.Service"); - -dojox.data.tests.stores.JsonRestStore.error = function(t, d, errData){ - // summary: - // The error callback function to be used for all of the tests. - d.errback(errData); -} -var testServices = new dojox.rpc.Service(dojo.moduleUrl("dojox.rpc.tests.resources", "test.smd")); -var jsonStore = new dojox.data.JsonRestStore({service:testServices.jsonRestStore}); - -doh.register("dojox.data.tests.stores.JsonRestStore", - [ - { - name: "Fetch some items", - timeout: 10000, //10 seconds. - runTest: function(t) { - // summary: - // Simple test of a basic fetch on JsonRestStore of a simple query. - var d = new doh.Deferred(); - jsonStore.fetch({query:"query", - onComplete: function(items, request){ - t.is(4, items.length); - d.callback(true); - }, - onError: dojo.partial(dojox.data.tests.stores.JsonRestStore.error, doh, d)}); - return d; //Object - } - }, - { - name: "fetch by id", - timeout: 10000, //10 seconds. - runTest: function(t) { - // summary: - // Simple test of a basic fetch on JsonRestStore of a single item. - var d = new doh.Deferred(); - jsonStore.fetch({query:"obj1", - onComplete: function(item, request){ - t.is("Object 1", item.name); - t.t(jsonStore.hasAttribute(item,"name")); - t.is(jsonStore.getValues(item,"name").length,1); - t.t(jsonStore.isItem(item)); - d.callback(true); - }, - onError: dojo.partial(dojox.data.tests.stores.JsonRestStore.error, doh, d)}); - return d; //Object - } - }, - { - name: "Modify,save, check by id", - timeout: 10000, //10 seconds. - runTest: function(t) { - // summary: - // Fetch an item from a query, modify and save it, and check to see if it was modified correctly - var d = new doh.Deferred(); - jsonStore.fetch({query:"query", - onComplete: function(items, request){ - var now = new Date().getTime(); - jsonStore.setValue(items[0],"updated",now); - jsonStore.setValue(items[0],"obj",{foo:'bar'}); - jsonStore.setValue(items[0],"obj dup",items[0].obj); - jsonStore.setValue(items[0],"testArray",[1,2,3,4]); - jsonStore.save(); - jsonStore.fetch({query:"obj1", - onComplete: function(item, request){ - t.is("Object 1", item.name); - t.is(now, item.updated); - t.is("bar", item.obj.foo); - t.is(item.obj, item['obj dup']); - d.callback(true); - }, - onError: dojo.partial(dojox.data.tests.stores.JsonRestStore.error, doh, d)}); - }, - onError: dojo.partial(dojox.data.tests.stores.JsonRestStore.error, doh, d)}); - return d; //Object - } - }, - { - name: "Post, delete, and put", - timeout: 10000, //10 seconds. - runTest: function(t) { - // summary: - // append/post an item, delete it, sort the lists, resort the list, saving each time. - var d = new doh.Deferred(); - jsonStore.fetch({query:"obj1", - onComplete: function(item, request){ - var now = new Date().getTime(); - var testArray = item.testArray; - var newObject = {"name":"new object"}; - testArray.push(newObject); - jsonStore.save(); - jsonStore.deleteItem(newObject,{parent:testArray}); - jsonStore.save(); - testArray.sort(function(obj1,obj2) { return obj1 < obj2; }); - jsonStore.save(); - testArray.sort(function(obj1,obj2) { return obj1 > obj2; }); - jsonStore.save(); - d.callback(true); - }, - onError: dojo.partial(dojox.data.tests.stores.JsonRestStore.error, doh, d)}); - return d; //Object - } - }, - { - name: "Revert", - timeout: 10000, //10 seconds. - runTest: function(t) { - // summary: - // append/post an item, delete it, sort the lists, resort the list, saving each time. - var d = new doh.Deferred(); - jsonStore.fetch({query:"obj1", - onComplete: function(item, request){ - jsonStore.setValue(item,"name","new name"); - jsonStore.setValue(item,"newProp","new value"); - jsonStore.unsetAttribute(item,"updated"); - t.is(jsonStore.getValue(item,"name"),"new name"); - t.is(jsonStore.getValue(item,"newProp"),"new value"); - t.is(jsonStore.getValue(item,"updated"),undefined); - jsonStore.revert(); - t.is(jsonStore.getValue(item,"name"),"Object 1"); - t.is(jsonStore.getValue(item,"newProp"),undefined); - t.t(typeof jsonStore.getValue(item,"updated") == 'number'); - d.callback(true); - }, - onError: dojo.partial(dojox.data.tests.stores.JsonRestStore.error, doh, d)}); - return d; //Object - } - }, - { - name: "Lazy loading", - timeout: 10000, //10 seconds. - runTest: function(t) { - // summary: - // test lazy loading - var d = new doh.Deferred(); - jsonStore.fetch({query:"query", - onComplete: function(items, request){ - /*var item = jsonStore.getValue(items,2); // sync lazy loading - t.is(item.name == 'Object 3');*/ - jsonStore.getValue(items,3,function(item) { // async lazy loading - t.is(item.name,'Object 4'); - d.callback(true); - }); - }, - onError: dojo.partial(dojox.data.tests.stores.JsonRestStore.error, doh, d)}); - return d; //Object - } - }, - { - name: "Array manipulation", - timeout: 10000, //10 seconds. - runTest: function(t) { - // summary: - // test array manipulation - var d = new doh.Deferred(); - jsonStore.fetch({query:"obj1", - onComplete: function(item, request){ - var testArray = item.testArray; - testArray.reverse(); - testArray.unshift(testArray.pop()); - jsonStore.onSave = function(data) { - t.is(data.length,1); - d.callback(true); - jsonStore.onSave = function(){}; - }; - jsonStore.save(); - }, - onError: dojo.partial(dojox.data.tests.stores.JsonRestStore.error, doh, d)}); - return d; //Object - } - }, - - { - name: "ReadAPI: Fetch_20_Streaming", - timeout: 10000, //10 seconds. Json can sometimes be slow. - runTest: function(t) { - // summary: - // fetching with paging - - var d = new doh.Deferred(); - var count = 0; - - function onItem(item, requestObj){ - t.assertTrue(typeof item == 'number'); - count++; - } - function onComplete(items, request){ - t.is(5, count); - - t.is(null, items); - d.callback(true); - } - //Get everything... - jsonStore.fetch({ - query: "bigQuery", - onBegin: null, - count: 5, - onItem: onItem, - onComplete: onComplete, - onError: dojo.partial(dojox.data.tests.stores.JsonRestStore.error, t, d) - }); - return d; //Object - } - }, - function testReadAPI_functionConformance(t){ - // summary: - // Simple test read API conformance. Checks to see all declared functions are actual functions on the instances. - // description: - // Simple test read API conformance. Checks to see all declared functions are actual functions on the instances. - - var readApi = new dojo.data.api.Read(); - var passed = true; - - for(i in readApi){ - if(i.toString().charAt(0) !== '_') - { - var member = readApi[i]; - //Check that all the 'Read' defined functions exist on the test store. - if(typeof member === "function"){ - var testStoreMember = jsonStore [i]; - if(!(typeof testStoreMember === "function")){ - passed = false; - break; - } - } - } - } - } - ] -); - - -} diff --git a/includes/js/dojox/rpc/tests/test_dojo_data_model_persevere.html b/includes/js/dojox/rpc/tests/test_dojo_data_model_persevere.html deleted file mode 100644 index 063dc9b..0000000 --- a/includes/js/dojox/rpc/tests/test_dojo_data_model_persevere.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - dojox.Grid with Dojo.Data via binding - - - - - - - -
                        dojox.Grid using interactive PersevereRestStore
                        -
                        - - -     - -     - - - -
                        - -
                        -
                        - - diff --git a/includes/js/dojox/sketch.js b/includes/js/dojox/sketch.js deleted file mode 100644 index 6da3443..0000000 --- a/includes/js/dojox/sketch.js +++ /dev/null @@ -1,13 +0,0 @@ -if(!dojo._hasResource["dojox.sketch"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sketch"] = true; -dojo.provide("dojox.sketch"); -try{ - // fix IE image caching issue - document.execCommand("BackgroundImageCache", false, true); -}catch(e){ } -dojo.require("dojox.xml.DomParser"); -dojo.require("dojox.sketch.UndoStack"); -dojo.require("dojox.sketch.Figure"); -dojo.require("dojox.sketch.Toolbar"); - -} diff --git a/includes/js/dojox/sketch/Anchor.js b/includes/js/dojox/sketch/Anchor.js deleted file mode 100644 index de72ac0..0000000 --- a/includes/js/dojox/sketch/Anchor.js +++ /dev/null @@ -1,61 +0,0 @@ -if(!dojo._hasResource["dojox.sketch.Anchor"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sketch.Anchor"] = true; -dojo.provide("dojox.sketch.Anchor"); -dojo.require("dojox.gfx"); - -(function(){ - var ta=dojox.sketch; - ta.Anchor=function(an, id, isControl){ - var self=this; - var size=4; // .5 * size of anchor. - var rect=null; - - this.type=function(){ return "Anchor"; }; - this.annotation=an; - - this.id=id; - this._key="anchor-" + ta.Anchor.count++; - this.shape=null; - this.isControl=(isControl!=null)?isControl:true; - - this.beginEdit=function(){ - this.annotation.beginEdit(ta.CommandTypes.Modify); - }; - this.endEdit=function(){ - this.annotation.endEdit(); - }; - this.doChange=function(pt){ - if(this.isControl) this.shape.applyTransform(pt); - else{ - an.transform.dx+=pt.dx; - an.transform.dy+=pt.dy; - } - }; - this.setBinding=function(pt){ - an[id]={ x: an[id].x+pt.dx, y:an[id].y+pt.dy }; - an.draw(); - an.drawBBox(); - }; - this.setUndo=function(){ an.setUndo(); }; - - this.enable=function(){ - if(!an.shape) return; - an.figure._add(this); - rect={ x:an[id].x-size, y:an[id].y-size, width:size*2, height:size*2 }; - this.shape=an.shape.createRect(rect) - .setStroke({ color:"black", width:1 }) - .setFill([255,255,255,0.35]); - this.shape.getEventSource().setAttribute("id", self._key); - this.shape.getEventSource().setAttribute("shape-rendering", "crispEdges"); - }; - this.disable=function(){ - an.figure._remove(this); - if(an.shape) an.shape.remove(this.shape); - this.shape=null; - rect=null; - }; - }; - ta.Anchor.count=0; -})(); - -} diff --git a/includes/js/dojox/sketch/Annotation.js b/includes/js/dojox/sketch/Annotation.js deleted file mode 100644 index ea260ca..0000000 --- a/includes/js/dojox/sketch/Annotation.js +++ /dev/null @@ -1,223 +0,0 @@ -if(!dojo._hasResource["dojox.sketch.Annotation"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sketch.Annotation"] = true; -dojo.provide("dojox.sketch.Annotation"); -dojo.require("dojox.sketch.Anchor"); -dojo.require("dojox.sketch._Plugin"); - -(function(){ - var ta=dojox.sketch; - dojo.declare("dojox.sketch.AnnotationTool", ta._Plugin, { -// constructor: function(){ -//// console.log('this.shape',this.shape); -//// this.annotation=ta.tools[this.shape]; -// }, - onMouseMove: function(e,rect){ - if(this._cshape){ - this._cshape.setShape(rect); - } else { - this._cshape=this.figure.surface.createRect(rect) - .setStroke({color:"#999", width:1, style:"ShortDot"}) - .setFill([255,255,255,0.7]); - this._cshape.getEventSource().setAttribute("shape-rendering","crispEdges"); - } - }, - onMouseUp: function(e){ - var f=this.figure; - if(!(f._startPoint.x==e.pageX&&f._startPoint.y==e.pageY)){ - if(this._cshape){ - // The minimum number of pixels one has to travel before a shape - // gets drawn. - var limit=40; - if(Math.max( - limit, - Math.abs(f._absEnd.x-f._start.x), - Math.abs(f._absEnd.y-f._start.y) - )>limit){ - this._create(f._start, f._end); - } - } - } - if(this._cshape) f.surface.remove(this._cshape); - }, - _create: function(start,end){ - // create a new shape, needs to be accessible from the - // dragging functions. - var f=this.figure; - var _=f.nextKey(); - var a=new (this.annotation)(f, "annotation-"+_); - a.transform={dx:start.x/f.zoomFactor, dy:start.y/f.zoomFactor}; - a.end={ x:end.x/f.zoomFactor, y:end.y/f.zoomFactor }; - if(a.control){ - a.control={ x:Math.round((end.x/2)/f.zoomFactor),y:Math.round((end.y/2)/f.zoomFactor) }; - } - f.onBeforeCreateShape(a); - a.initialize(); - f.select(a); - f.onCreateShape(a); - f.history.add(ta.CommandTypes.Create,a); - } - }); - ta.Annotation=function(figure, id){ - // for editing stuff. - this.id=this._key=id; - this.figure=figure; - this.mode=ta.Annotation.Modes.View; - this.shape=null; // dojox.gfx.Group - this.boundingBox=null; // rect for boundaries - this.hasAnchors=true; - this.anchors={}; // ta.Anchor - this._properties={ - 'stroke':{ color:"blue", width:2 }, - 'fill': "blue", - 'label': "" - }; - - if(this.figure) this.figure.add(this); - }; - var p=ta.Annotation.prototype; - p.constructor=ta.Annotation; - p.type=function(){ return ''; }; - p.getType=function(){ return ta.Annotation; }; - - p.remove=function(){ - this.figure.history.add(ta.CommandTypes.Delete, this, this.serialize()); - }; - p.property=function(name,/*?*/value){ - var r; - name=name.toLowerCase(); - if(this._properties[name]!==undefined){ - r=this._properties[name]; - } - if(arguments.length>1){ - this._properties[name]=value; - } - if(r!=value){ - this.onPropertyChange(name,r); - } - return r; - }; - p.onPropertyChange=function(name,oldvalue){}; - p.onCreate=function(){ - this.figure.history.add(ta.CommandTypes.Create,this); - } - p.onDblClick=function(event){ - var l=prompt('Set new text:',this.property('label')); - if(l!==false){ - this.beginEdit(ta.CommandTypes.Modify); - this.property('label',l); - this.draw(); - this.endEdit(); - } - } - p.initialize=function(){ }; - p.destroy=function(){ }; - p.draw=function(){ }; - p.apply=function(obj){ }; - p.serialize=function(){ }; - p.getBBox=function(){ }; - p.beginEdit=function(type){ - this._type=type||ta.CommandTypes.Move; - this._prevState=this.serialize(); - }; - p.endEdit=function(){ - var newstep=true; - if(this._type==ta.CommandTypes.Move){ - var f=this.figure; - if(f._absEnd.x==f._start.x&&f._absEnd.y==f._start.y){ - newstep=false; - } - } - if(newstep){ - this.figure.history.add(this._type,this,this._prevState); - } - this._type=this._prevState=''; - }; - p.calculate={ - slope:function(p1, p2){ - if(!(p1.x-p2.x)) return 0; - return ((p1.y-p2.y)/(p1.x-p2.x)); - }, - dx:function(p1, p2, dy){ - var s=this.slope(p1,p2); - if(s==0) return s; - return dy/s; - }, - dy:function(p1, p2, dx){ return this.slope(p1,p2)*dx; } - }; - p.drawBBox=function(){ - var r=this.getBBox(); - if(!this.boundingBox){ - this.boundingBox=this.shape.createRect(r) - .moveToBack() - .setStroke({color:"#999", width:1, style:"Dash"}) - .setFill([238,238,238,0.3]); - this.boundingBox.getEventSource().setAttribute("id",this.id+"-boundingBox"); - this.boundingBox.getEventSource().setAttribute("shape-rendering","crispEdges"); - this.figure._add(this); - } else this.boundingBox.setShape(r); - }; - p.setBinding=function(pt){ - this.transform.dx+=pt.dx; - this.transform.dy+=pt.dy; - this.draw(); - }; - p.doChange=function(pt){ }; - p.getTextBox=function(){ - return dojox.gfx._base._getTextBox(this.property('label'),ta.Annotation.labelFont); - }; - p.setMode=function(m){ - if(this.mode==m) return; - this.mode=m; - var method="disable"; - if(m==ta.Annotation.Modes.Edit) method="enable"; - if(method=="enable"){ - // draw the bounding box - this.drawBBox(); - this.figure._add(this); - } else { - if(this.boundingBox){ - if(this.shape) this.shape.remove(this.boundingBox); - this.boundingBox=null; - } - } - for(var p in this.anchors){ this.anchors[p][method](); } - }; -// p.writeProperties=function(){ -// var ps=this._properties; -// return ""; -// }; - p.writeCommonAttrs=function(){ - return 'id="' + this.id + '" dojoxsketch:type="' + this.type() + '"' - + ' transform="translate('+ this.transform.dx + "," + this.transform.dy + ')"' - + (this.data?(' >=this.end.x) rot+=Math.PI; - var endRot=dojox.gfx.matrix.rotateAt(rot, this.end.x, this.end.y); - - // draw the shapes - this.shape=this.figure.group.createGroup(); - this.shape.getEventSource().setAttribute("id", this.id); - if(this.transform.dx||this.transform.dy) this.shape.setTransform(this.transform); - this.pathShape=this.shape.createPath( - "M"+this.start.x+" "+this.start.y+"Q"+this.control.x+" "+this.control.y+" "+this.end.x+" "+this.end.y + " l0,0" - ).setStroke(this.property('stroke')); - - this.startArrowGroup=this.shape.createGroup().setTransform({ dx:this.start.x, dy:this.start.y }); - this.startArrowGroup.applyTransform(startRot); -// console.log('startArrow',this.property('fill')); - this.startArrow=this.startArrowGroup.createPath("M0,0 l20,-5 -3,5 3,5 Z").setFill(this.property('fill')); - - this.endArrowGroup=this.shape.createGroup().setTransform(endRot); - this.endArrow=this.endArrowGroup.createPath( - "M" + this.end.x + "," + this.end.y + " l-20,-5 3,5 -3,5 Z" - ).setFill(this.property('fill')); - this.labelShape=this.shape.createText({ - x:this.textPosition.x, y:this.textPosition.y, text:this.property('label'), align:this.textAlign - }).setFont(font).setFill(this.property('fill')); - }; - p.destroy=function(){ - if(!this.shape) return; - this.startArrowGroup.remove(this.startArrow); - this.endArrowGroup.remove(this.endArrow); - this.shape.remove(this.startArrowGroup); - this.shape.remove(this.endArrowGroup); - this.shape.remove(this.pathShape); - this.shape.remove(this.labelShape); - this.figure.group.remove(this.shape); - this.shape=this.pathShape=this.labelShape=this.startArrowGroup=this.startArrow=this.endArrowGroup=this.endArrow=null; - }; - p.draw=function(obj){ - this.apply(obj); - this._rot(); - this._pos(); - // rotation matrix - var rot=this.startRotation; - if(this.control.x=this.end.x) rot+=Math.PI; - var endRot=dojox.gfx.matrix.rotateAt(rot, this.end.x, this.end.y); - - this.shape.setTransform(this.transform); - this.pathShape.setShape( - "M"+this.start.x+" "+this.start.y+" Q"+this.control.x+" "+this.control.y+" "+this.end.x+" "+this.end.y + " l0,0" - ).setStroke(this.property('stroke')); - this.startArrowGroup.setTransform({ dx:this.start.x, dy:this.start.y }); - this.startArrowGroup.applyTransform(startRot); - this.startArrow.setFill(this.property('fill')); - - this.endArrowGroup.setTransform(endRot); - this.endArrow.setShape( - "M" + this.end.x + "," + this.end.y + " l-20,-5 3,5 -3,5 Z" - ).setFill(this.property('fill')); - this.labelShape.setShape({x:this.textPosition.x, y:this.textPosition.y, text:this.property('label')}).setFill(this.property('fill')); - }; - p.getBBox=function(){ - var x=Math.min(this.start.x, this.control.x, this.end.x); - var y=Math.min(this.start.y, this.control.y, this.end.y); - var w=Math.max(this.start.x, this.control.x, this.end.x)-x; - var h=Math.max(this.start.y, this.control.y, this.end.y)-y; - return { x:x, y:y, width:w, height:h }; - }; - p.serialize=function(){ - var s=this.property('stroke'); - return '' - + '' - + '' - + '' - + '' - + '' - + '' - + '' - + '' - + this.property('label') - + '' - + ''; - }; - - ta.Annotation.register("DoubleArrow"); -})(); - -} diff --git a/includes/js/dojox/sketch/Figure.js b/includes/js/dojox/sketch/Figure.js deleted file mode 100644 index ae573bb..0000000 --- a/includes/js/dojox/sketch/Figure.js +++ /dev/null @@ -1,493 +0,0 @@ -if(!dojo._hasResource["dojox.sketch.Figure"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sketch.Figure"] = true; -dojo.provide("dojox.sketch.Figure"); -dojo.experimental("dojox.sketch"); - -dojo.require("dojox.gfx"); -dojo.require("dojox.sketch.UndoStack"); - -(function(){ - var ta=dojox.sketch; - ta.tools={}; - ta.registerTool=function(type, fn){ ta.tools[type]=fn; }; - ta.Figure = function(){ - var self=this; - var annCounter=1; - - this.shapes=[]; - this.image=null; - this.imageSrc=null; - this.size={ w:0, h:0 }; - this.surface=null; - this.group=null; - this.node=null; - - this.zoomFactor=1; // multiplier for zooming. - - this.tools=null; // toolbar reference. - this.nextKey=function(){ return annCounter++; }; - - this.obj={}; // lookup table for shapes. Not keen on this solution. - - this.initUndoStack(); - - // what is selected. - this.selected=[]; - this.hasSelections=function(){ return this.selected.length>0 }; - this.isSelected=function(obj){ - for(var i=0; i-1){ - obj.setMode(ta.Annotation.Modes.View); - self.selected.splice(idx,1); - } - return obj; - }; - this.clearSelections=function(){ - for(var i=0; i-1){ - self.selected.splice(idx,1,n); - } - }; - - // for the drag and drop handlers. - this._c=null; // current shape - this._ctr=null; // container measurements - this._lp=null; // last position - this._action=null; - this._prevState=null; - this._startPoint=null; // test to record a move. - - // if an object isn't selected and we're dragging anyways. - this._ctool=null; // hard code it. - this._start=null; - this._end=null; - this._absEnd=null; - this._cshape=null; - - this._click=function(e){ - if(self._c){ - dojo.stopEvent(e); - return; - } - var o=self._fromEvt(e); - if(!o){ - self.clearSelections(); - dojo.stopEvent(e); - } else if(!o.setMode){ - // skip me. - } else self.select(o); - }; - this._dblclick=function(e){ - var o=self._fromEvt(e); - if(o){ - self.onDblClickShape(o,e); - } - }; - - this._keydown=function(e){ - var prevent=false; - if(e.ctrlKey){ - if(e.keyCode==90){ //ctrl+z - self.undo(); - prevent = true; - }else if(e.keyCode==89){ //ctrl+y - self.redo(); - prevent = true; - } - } - - if(e.keyCode==46 || e.keyCode==8){ //delete or backspace - self._delete(self.selected); - prevent = true; - } - - if(prevent){ - dojo.stopEvent(e); - } - }; - - // drag handlers. - this._md=function(e){ - var o=self._fromEvt(e); - self._startPoint={ x:e.pageX, y:e.pageY }; - var win = dijit.getDocumentWindow(self.node.ownerDocument); - // figure out the coordinates within the iframe - self._ctr=dojo._abs(self.node); - var scroll=dojo.withGlobal(win,dojo._docScroll); - self._ctr={x:self._ctr.x-scroll.x, y:self._ctr.y-scroll.y}; - var X=e.clientX-self._ctr.x, Y=e.clientY-self._ctr.y; - self._lp={ x:X, y:Y }; - - // capture it separately - self._start={ x:X, y:Y }; - self._end={ x:X, y:Y }; - self._absEnd={ x:X, y:Y }; - if(!o){ - self.clearSelections(); - self._ctool.onMouseDown(e); - }else{ - if(o.type && o.type()!="Anchor"){ - self.select(o); - } - o.beginEdit(); - self._c=o; - } - }; - this._mm=function(e){ - if(!self._ctr) return; - var x=e.clientX-self._ctr.x; - var y=e.clientY-self._ctr.y; - var dx=x-self._lp.x; - var dy=y-self._lp.y; - self._absEnd={x:x, y:y}; - if(self._c){ - self._c.doChange({dx:Math.round(dx/self.zoomFactor), dy:Math.round(dy/self.zoomFactor)}); - self._c.setBinding({dx:Math.round(dx/self.zoomFactor), dy:Math.round(dy/self.zoomFactor)}); - self._lp={x:x, y:y}; - } - else { - self._end={x:dx, y:dy}; - var rect={ - x:Math.min(self._start.x,self._absEnd.x), - y:Math.min(self._start.y,self._absEnd.y), - width:Math.abs(self._start.x-self._absEnd.x), - height:Math.abs(self._start.y-self._absEnd.y) - } - self._ctool.onMouseMove(e,rect); - } - }; - this._mu=function(e){ - if(self._c){ - // record the event. - self._c.endEdit(); - }else{ - self._ctool.onMouseUp(e); - } - - // clear the stuff out. - self._c=self._ctr=self._lp=self._action=self._prevState=self._startPoint=null; - self._cshape=self._start=self._end=self._absEnd=null; - }; - - this._delete=function(arr,noundo){ - for(var i=0; i - this.group.createRect({ x:0, y:0, width:this.size.w, height:this.size.h }); - this.image=this.group.createImage({ width:this.size.w, height:this.size.h, src:this.imageSrc }); - }; - p.destroy=function(isLoading){ - if(!this.node){ - return; - } - if(!isLoading){ - if(this.history) this.history.destroy(); - if(this._subscribed){ - dojo.unsubscribe(this._subscribed); - delete this._subscribed; - } - } - dojo.forEach(this._cons,dojo.disconnect); - this._cons=[]; - - this.node.removeChild(this.surface.getEventSource()); - this.group=this.surface=null; - this.obj={}; - this.shapes=[]; - }; - p.draw=function(){ }; - p.zoom=function(pct){ - // first get the new dimensions - this.zoomFactor=pct/100; - var w=this.size.w*this.zoomFactor; - var h=this.size.h*this.zoomFactor; - this.surface.setDimensions(w, h); - // then scale it. - this.group.setTransform(dojox.gfx.matrix.scale(this.zoomFactor, this.zoomFactor)); - if(dojo.isIE){ - this.image.rawNode.style.width=Math.max(w,this.size.w); - this.image.rawNode.style.height=Math.max(h,this.size.h); - } - //this.rect.setShape({width:w,height:h}); - }; - p.getFit=function(){ - // assume fitting the parent node. -// var box=dojo.html.getContentBox(this.node.parentNode); - //the following should work under IE and FF, not sure about others though - var wF=(this.node.parentNode.clientWidth-5)/this.size.w; - var hF=(this.node.parentNode.clientHeight-5)/this.size.h; - return Math.min(wF, hF)*100; - }; - p.unzoom=function(){ - // restore original size. - this.zoomFactor=1; - this.surface.setDimensions(this.size.w, this.size.h); - this.group.setTransform(); - }; - - // object registry for drag handling. - p._add=function(obj){ this.obj[obj._key]=obj; }; - p._remove=function(obj){ - if(this.obj[obj._key]){ - delete this.obj[obj._key]; - } - }; - p._get=function(key){ - if(key&&key.indexOf("bounding")>-1) key=key.replace("-boundingBox",""); - return this.obj[key]; - }; - p._fromEvt=function(e){ - var key=e.target.id+""; - if(key.length==0){ - // ancestor tree until you get to the end (meaning this.surface) - var p=e.target.parentNode; - var node=this.surface.getEventSource(); - while(p && p.id.length==0 && p!=node){ - p=p.parentNode; - } - key=p.id; - } - return this._get(key); - }; - - p.add=function(annotation){ - for(var i=0; i-1) this.shapes.splice(idx, 1); - return annotation; - }; - p.get=function(id){ - for(var i=0; i' - + '' - + ''; - for(var i=0; i=1){ - x=this.end.x+this.calculate.dx(this.control, this.end, offset); - if(this.control.y>this.end.y) y=this.end.y-offset; - else y=this.end.y+offset+this.textYOffset; - } else if(slope==0){ - x=this.end.x+offset; - y=this.end.y+this.textYOffset; - } else { - if(this.start.x>this.end.x){ - x=this.end.x-offset; - this.textAlign="end"; - } else { - x=this.end.x+offset; - this.textAlign="start"; - } - if(this.start.y' - + '' - + '' - + this.property('label') - + '' - + ''; - }; - - ta.Annotation.register("Lead"); -})(); - -} diff --git a/includes/js/dojox/sketch/PreexistingAnnotation.js b/includes/js/dojox/sketch/PreexistingAnnotation.js deleted file mode 100644 index a8c123e..0000000 --- a/includes/js/dojox/sketch/PreexistingAnnotation.js +++ /dev/null @@ -1,121 +0,0 @@ -if(!dojo._hasResource["dojox.sketch.PreexistingAnnotation"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sketch.PreexistingAnnotation"] = true; -dojo.provide("dojox.sketch.PreexistingAnnotation"); - -dojo.require("dojox.sketch.Annotation"); -dojo.require("dojox.sketch.Anchor"); - -(function(){ - var ta=dojox.sketch; - ta.PreexistingAnnotation=function(figure, id){ - ta.Annotation.call(this, figure, id); - this.transform={dx:0, dy:0}; - this.start={ x:0, y:0 }; - this.end={ x:200, y:200 }; - this.radius=8; - this.textPosition={ x:196, y:196 }; - this.textOffset=4; - this.textAlign="end"; - - this.property('label',this.id); - this.rectShape=null; - this.labelShape=null; - - this.anchors.start=new ta.Anchor(this, "start"); - this.anchors.end=new ta.Anchor(this, "end"); - }; - ta.PreexistingAnnotation.prototype=new ta.Annotation; - var p=ta.PreexistingAnnotation.prototype; - p.constructor=ta.PreexistingAnnotation; - - p.type=function(){ return 'Preexisting' }; - p.getType=function(){ return ta.PreexistingAnnotation; }; - - p._pos=function(){ - var x=Math.min(this.start.x, this.end.x); - var y=Math.min(this.start.y, this.end.y); - var w=Math.max(this.start.x, this.end.x); - var h=Math.max(this.start.y, this.end.y); - this.start={ x:x, y:y }; - this.end={ x:w, y:h }; - this.textPosition={ x:this.end.x-this.textOffset, y:this.end.y-this.textOffset }; - }; - p.apply=function(obj){ - if(!obj) return; - if(obj.documentElement) obj=obj.documentElement; - this.readCommonAttrs(obj); - - for(var i=0; i' - + '' - + '' - + this.property('label') - + '' - + ''; - }; - - ta.Annotation.register("Preexisting"); -})(); - -} diff --git a/includes/js/dojox/sketch/README b/includes/js/dojox/sketch/README deleted file mode 100644 index 85b2264..0000000 --- a/includes/js/dojox/sketch/README +++ /dev/null @@ -1,58 +0,0 @@ -------------------------------------------------------------------------------- -dojox.sketch -------------------------------------------------------------------------------- -Version 0.1 -Release date: 28/01/2008 -------------------------------------------------------------------------------- -Project state: -experimental -------------------------------------------------------------------------------- -Credits - Contributed by TeamPatent (supported by National Science Foundation grant 638334) - Tom Trenka (ttrenka@gmail.com) - Heng Liu/LiuCougar (heng@teampatent.com) -------------------------------------------------------------------------------- -Project description - -A cross-browser drawing editor based on dojox.gfx. -------------------------------------------------------------------------------- -Dependencies: - -dijit (Toolbar, Button, Slider) -dojox.gfx -dojox.xml -------------------------------------------------------------------------------- -Documentation - -Currently, 5 shapes are supported: line, single arrow line, double arrow line, -underline text and text. The first 3 shapes can have optinal text associated. - -Shapes can be added, deleted, moved and modified. All of these operations can -be undo-ed or redo-ed. - -TODO: - * provide UI to change various properties on shapes (fill, stroke, text) and -allow changing of background image - * serialize/unserialize in dojox.gfx to svg (and maybe vml as well?) (or another -simplier format? such as a json based one, which is easier to parse, and then -write a convertor to convert the json format to svg or any other format?) - * Move mousedown/up/move to each shape (to prepare for the following) - * Add shapes for other primitive shapes (needs to decide which primitive -dojox.gfx.shapes are useful), and add in support for user to group any -shapes/groups to form a single "compound shape" (need to add support to set -fill/stroke properties on the entire compound shape, which shallpropagate to -all children shapes) -------------------------------------------------------------------------------- -Installation instructions - -Install dijit, dojox.gfx and dojox.xml first - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/sketch.js -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/sketch/* - -Install into the following directory structure: -/dojox/sketch/ - -...which should be at the same level as your Dojo checkout. -------------------------------------------------------------------------------- diff --git a/includes/js/dojox/sketch/SingleArrowAnnotation.js b/includes/js/dojox/sketch/SingleArrowAnnotation.js deleted file mode 100644 index 29ad7f0..0000000 --- a/includes/js/dojox/sketch/SingleArrowAnnotation.js +++ /dev/null @@ -1,183 +0,0 @@ -if(!dojo._hasResource["dojox.sketch.SingleArrowAnnotation"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sketch.SingleArrowAnnotation"] = true; -dojo.provide("dojox.sketch.SingleArrowAnnotation"); -dojo.require("dojox.sketch.Annotation"); -dojo.require("dojox.sketch.Anchor"); - -(function(){ - var ta=dojox.sketch; - ta.SingleArrowAnnotation=function(figure, id){ - ta.Annotation.call(this, figure, id); - this.transform={ dx:0, dy:0 }; - this.start={x:0, y:0}; - this.control={x:100, y:-50}; - this.end={x:200, y:0}; - this.textPosition={ x:0, y:0 }; - this.textOffset=4; - this.textAlign="middle"; - this.textYOffset=10; - this.rotation=0; - -// this.property('label',this.id); -// this.label=this.id; - this.pathShape=null; - this.arrowhead=null; - this.arrowheadGroup=null; - this.labelShape=null; - - this.anchors.start=new ta.Anchor(this, "start"); - this.anchors.control=new ta.Anchor(this, "control"); - this.anchors.end=new ta.Anchor(this, "end"); - }; - ta.SingleArrowAnnotation.prototype=new ta.Annotation; - var p=ta.SingleArrowAnnotation.prototype; - p.constructor=ta.SingleArrowAnnotation; - - p.type=function(){ return 'SingleArrow'; }; - p.getType=function(){ return ta.SingleArrowAnnotation; }; - - // helper functions - p._rot=function(){ - // arrowhead rotation - var opp=this.start.y-this.control.y; - var adj=this.start.x-this.control.x; - if(!adj) adj=1; - this.rotation=Math.atan(opp/adj); - }; - p._pos=function(){ - // text position - var offset=this.textOffset, x=0, y=0; - var slope=this.calculate.slope(this.control, this.end); - if(Math.abs(slope)>=1){ - x=this.end.x+this.calculate.dx(this.control, this.end, offset); - if(this.control.y>this.end.y) y=this.end.y-offset; - else y=this.end.y+offset+this.textYOffset; - } else if(slope==0){ - x=this.end.x+offset; - y=this.end.y+this.textYOffset; - } else { - if(this.start.x>this.end.x){ - x=this.end.x-offset; - this.textAlign="end"; - } else { - x=this.end.x+offset; - this.textAlign="start"; - } - if(this.start.y=this.end.x&&this.control.xthis.end.x) r-=180; - r=Math.round(r*Math.pow(10,4))/Math.pow(10,4); - return '' - + '' - + '' - + '' - + '' - + '' - + this.property('label') - + '' - + ''; - }; - - ta.Annotation.register("SingleArrow"); -})(); - -} diff --git a/includes/js/dojox/sketch/Slider.js b/includes/js/dojox/sketch/Slider.js deleted file mode 100644 index e014e78..0000000 --- a/includes/js/dojox/sketch/Slider.js +++ /dev/null @@ -1,31 +0,0 @@ -if(!dojo._hasResource["dojox.sketch.Slider"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sketch.Slider"] = true; -dojo.provide("dojox.sketch.Slider"); - -dojo.require("dijit.form.Slider"); -dojo.declare("dojox.sketch.Slider",dojox.sketch._Plugin,{ - _initButton: function(){ - this.slider=new dijit.form.HorizontalSlider({minimum:20,maximum:200,value:20,style:"width:200px;float:right"}); - this.connect(this.slider,'onChange','_setZoom'); - this.connect(this.slider.sliderHandle,'ondblclick','_zoomToFit'); - }, - _zoomToFit: function(){ - this.slider.setValue(this.figure.getFit(),true); - }, - _setZoom: function(v){ - if(this.figure){ - this.figure.zoom(v); - } - }, - setToolbar: function(t){ - t.addChild(this.slider); - if(!t._reset2Zoom){ - t._reset2Zoom=true; - this.connect(t,'reset','_zoomToFit'); - } - } -}); - -dojox.sketch.registerTool("Slider", dojox.sketch.Slider); - -} diff --git a/includes/js/dojox/sketch/Toolbar.js b/includes/js/dojox/sketch/Toolbar.js deleted file mode 100644 index 73dc82c..0000000 --- a/includes/js/dojox/sketch/Toolbar.js +++ /dev/null @@ -1,96 +0,0 @@ -if(!dojo._hasResource["dojox.sketch.Toolbar"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sketch.Toolbar"] = true; -dojo.provide("dojox.sketch.Toolbar"); - -dojo.require("dojox.sketch.Annotation"); -dojo.require("dijit.Toolbar"); -dojo.require("dijit.form.Button"); -dojo.require("dijit.form.Slider"); - -dojo.declare("dojox.sketch.ButtonGroup", null, { - constructor: function(){ - this._childMaps={}; - this._children=[]; - }, - add: function(/*_Plugin*/ plugin){ - this._childMaps[plugin]=plugin.connect(plugin,'onActivate',dojo.hitch(this,'_resetGroup',plugin)); - this._children.push(plugin); - }, -// remove: function(/*_Plugin*/ plugin){ -// widget.disconnect(this._childMaps[widget.id]); -// delete this._childMaps[widget.id]; -// this._children.splice(this._children.indexOf(widget.id),1); -// }, - _resetGroup: function(p){ - var cs=this._children; - dojo.forEach(cs,function(c){ - if(p!=c && c['attr']){ - c.attr('checked',false); - } - }); - } -}); - -dojo.declare("dojox.sketch.Toolbar", dijit.Toolbar, { - figure: null, - plugins: null, - postCreate: function(){ - this.inherited(arguments); - this.shapeGroup=new dojox.sketch.ButtonGroup; - - this.connect(this.figure,'onLoad','reset'); - if(!this.plugins){ - this.plugins=['Slider','Lead','SingleArrow','DoubleArrow','Underline','Preexisting']; - } - this._plugins=[]; - - dojo.forEach(this.plugins,function(obj){ - var name=dojo.isString(obj)?obj:obj.name; - var p=new dojox.sketch.tools[name](obj.args||{}); - this._plugins.push(p); - p.setFigure(this.figure); - p.setToolbar(this); - if(!this._defaultTool && p.button){ - this._defaultTool=p; - } - },this); - }, - destroy: function(){ - dojo.forEach(this._plugins,function(p){ - p.destroy(); - }); - this.inherited(arguments); - delete this._defaultTool; - delete this._plugins; - }, - addGroupItem: function(/*_Plugin*/item,group){ - if(group!='toolsGroup'){ - console.error('not supported group '+group); - return; - } - - this.shapeGroup.add(item); - }, - reset: function(){ - this._defaultTool.activate(); - }, - _setShape: function(s){ - if(!this.figure.surface) return; - // now do the action. - if(this.figure.hasSelections()){ - for(var i=0; i' - + '' - + '' - + this.property('label') - + '' - + ''; - }; - - ta.Annotation.register("Underline"); -})(); - -} diff --git a/includes/js/dojox/sketch/UndoStack.js b/includes/js/dojox/sketch/UndoStack.js deleted file mode 100644 index e711557..0000000 --- a/includes/js/dojox/sketch/UndoStack.js +++ /dev/null @@ -1,104 +0,0 @@ -if(!dojo._hasResource["dojox.sketch.UndoStack"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sketch.UndoStack"] = true; -dojo.provide("dojox.sketch.UndoStack"); -dojo.require("dojox.xml.DomParser"); - -(function(){ - var ta=dojox.sketch; - ta.CommandTypes={ Create:"Create", Move:"Move", Modify:"Modify", Delete:"Delete", Convert:"Convert"}; - - dojo.declare("dojox.sketch.UndoStack",null,{ - constructor: function(figure){ - this.figure=figure; - this._steps=[]; - this._undoedSteps=[]; - }, - apply: function(state, from, to){ - // the key here is to neutrally move from one state to another. - // we let the individual functions (i.e. undo and redo) actually - // determine the from and to; all we do here is implement it. - - // check whether this is a fullText step - if(!from && !to && state.fullText){ - this.figure.setValue(state.fullText); - return; - } - - var fromText=from.shapeText; - var toText=to.shapeText; - - if(fromText.length==0&&toText.length==0){ - // nothing to reapply? - return; - } - if(fromText.length==0){ - // We are creating. - var o=dojox.xml.DomParser.parse(toText).documentElement; - var a=this.figure._loadAnnotation(o); - if(a) this.figure._add(a); - return; - } - if(toText.length==0){ - // we are deleting. - var ann=this.figure.get(from.shapeId); - this.figure._delete([ann],true); - return; - } - - // we can simply reinit and draw from the shape itself, - // regardless of the actual command. - var nann=this.figure.get(to.shapeId); - var no=dojox.xml.DomParser.parse(toText).documentElement; - nann.draw(no); - this.figure.select(nann); - return; - }, - // stack methods. - add: function(/*String*/cmd, /*ta.Annotation?*/ann, /*String?*/before){ - var id=ann?ann.id:''; - //var bbox=ann?ann.getBBox():{}; - var after=ann?ann.serialize():""; - if(cmd==ta.CommandTypes.Delete) after=""; - - /*if(ann){ - // fix the bbox x/y coords - var t=ann.transform; - bbox.x+=t.dx; - bbox.y+=t.dy; - }*/ - var state={ - cmdname:cmd, - //bbox:bbox, -// fullText:fullText, - before:{ - shapeId: id, - shapeText:before||'' - }, - after:{ - shapeId: id, - shapeText:after - } - }; - //console.log('dojox.sketch history add',state); - this._steps.push(state); - this._undoedSteps = []; - }, - destroy: function(){}, - undo: function(){ - var state=this._steps.pop(); - if(state){ - this._undoedSteps.push(state); - this.apply(state,state.after,state.before); - } - }, - redo: function(){ - var state=this._undoedSteps.pop(); - if(state){ - this._steps.push(state); - this.apply(state,state.before,state.after); - } - } - }); -})(); - -} diff --git a/includes/js/dojox/sketch/_Plugin.js b/includes/js/dojox/sketch/_Plugin.js deleted file mode 100644 index fb7cb93..0000000 --- a/includes/js/dojox/sketch/_Plugin.js +++ /dev/null @@ -1,83 +0,0 @@ -if(!dojo._hasResource["dojox.sketch._Plugin"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sketch._Plugin"] = true; -dojo.provide("dojox.sketch._Plugin"); -//dojo.require("dojox.sketch"); -dojo.require("dijit.form.Button"); - -dojo.declare("dojox.sketch._Plugin", null, { - // summary - // This represents a "plugin" to the dojox.sketch.Figure, which is basically - // a single button on the Toolbar and some associated code - constructor: function(/*Object?*/args){ - if(args){ - dojo.mixin(this, args); - } - this._connects=[]; - }, - - figure: null, - iconClassPrefix: "dojoxSketchIcon", - itemGroup: 'toolsGroup', - button: null, - queryCommand: null, - shape: "", - useDefaultCommand: true, - buttonClass: dijit.form.ToggleButton, - _initButton: function(){ - if(this.shape.length){ - //TODO: i18n -// var label = dojox.sketch.shapes[this.shape]; - var className = this.iconClassPrefix+" "+this.iconClassPrefix + this.shape.charAt(0).toUpperCase() + this.shape.substr(1); - if(!this.button){ - var props = { - label: this.shape, - showLabel: false, - iconClass: className, - dropDown: this.dropDown, - tabIndex: "-1" - }; - this.button = new this.buttonClass(props); - this.connect(this.button,'onClick','activate'); - } - } - }, - attr: function(name,/*?*/value){ - if(arguments.length>1){ - this.button.setAttribute(name,value); - }else{ - this.button.getAttribute(name); - } - }, - onActivate: function(){}, - activate: function(/*?*/e){ - this.onActivate(); - this.figure.setTool(this); - this.attr('checked',true); - }, - onMouseDown: function(e){}, - onMouseMove: function(e){}, - onMouseUp: function(e){}, - destroy: function(f){ - dojo.forEach(this._connects,dojo.disconnect); - }, - connect: function(o,f,tf){ - this._connects.push(dojo.connect(o,f,this,tf)); - }, - setFigure: function(/*Widget*/figure){ - // FIXME: detatch from previous figure!! - this.figure = figure; - - // FIXME: prevent creating this if we don't need to (i.e., figure can't handle our command) - this._initButton(); - }, - setToolbar: function(/*Widget*/toolbar){ - if(this.button){ - toolbar.addChild(this.button); - } - if(this.itemGroup){ - toolbar.addGroupItem(this,this.itemGroup); - } - } -}); - -} diff --git a/includes/js/dojox/sketch/resources/images/icons.gif b/includes/js/dojox/sketch/resources/images/icons.gif deleted file mode 100644 index ab33b0a..0000000 Binary files a/includes/js/dojox/sketch/resources/images/icons.gif and /dev/null differ diff --git a/includes/js/dojox/sketch/resources/sketch.css b/includes/js/dojox/sketch/resources/sketch.css deleted file mode 100644 index 7451395..0000000 --- a/includes/js/dojox/sketch/resources/sketch.css +++ /dev/null @@ -1,17 +0,0 @@ -.dojoxSketchIcon{ - background-repeat:no-repeat; - height:16px; - min-width:16px; - text-align:center; - width:16px; -} -.dojoxSketchIcon { background-image:url(images/icons.gif); } -.ShowCallouts{ background-position:0px 0px; } -.PreviousCallout{ background-position:0px -16px; } -.NextCallout{ background-position:0px -32px; } -.dojoxSketchIconLead{ background-position:0px -48px; } -.dojoxSketchIconUnderline{ background-position:0px -64px; } -.dojoxSketchIconSingleArrow{ background-position:0px -80px; } -.dojoxSketchIconBrace{ background-position:0px -96px; } -.dojoxSketchIconDoubleArrow{ background-position:0px -112px; } -.dojoxSketchIconPreexisting{ background-position:0px -128px; } diff --git a/includes/js/dojox/sketch/resources/sketch.css.commented.css b/includes/js/dojox/sketch/resources/sketch.css.commented.css deleted file mode 100644 index 7451395..0000000 --- a/includes/js/dojox/sketch/resources/sketch.css.commented.css +++ /dev/null @@ -1,17 +0,0 @@ -.dojoxSketchIcon{ - background-repeat:no-repeat; - height:16px; - min-width:16px; - text-align:center; - width:16px; -} -.dojoxSketchIcon { background-image:url(images/icons.gif); } -.ShowCallouts{ background-position:0px 0px; } -.PreviousCallout{ background-position:0px -16px; } -.NextCallout{ background-position:0px -32px; } -.dojoxSketchIconLead{ background-position:0px -48px; } -.dojoxSketchIconUnderline{ background-position:0px -64px; } -.dojoxSketchIconSingleArrow{ background-position:0px -80px; } -.dojoxSketchIconBrace{ background-position:0px -96px; } -.dojoxSketchIconDoubleArrow{ background-position:0px -112px; } -.dojoxSketchIconPreexisting{ background-position:0px -128px; } diff --git a/includes/js/dojox/sketch/tests/annotation.svg b/includes/js/dojox/sketch/tests/annotation.svg deleted file mode 100644 index 9638588..0000000 --- a/includes/js/dojox/sketch/tests/annotation.svg +++ /dev/null @@ -1 +0,0 @@ -12345 \ No newline at end of file diff --git a/includes/js/dojox/sketch/tests/images/figure2.gif b/includes/js/dojox/sketch/tests/images/figure2.gif deleted file mode 100644 index 7218a4c..0000000 Binary files a/includes/js/dojox/sketch/tests/images/figure2.gif and /dev/null differ diff --git a/includes/js/dojox/sketch/tests/images/testsBodyBg.gif b/includes/js/dojox/sketch/tests/images/testsBodyBg.gif deleted file mode 100644 index 4e0b4a7..0000000 Binary files a/includes/js/dojox/sketch/tests/images/testsBodyBg.gif and /dev/null differ diff --git a/includes/js/dojox/sketch/tests/test_full.html b/includes/js/dojox/sketch/tests/test_full.html deleted file mode 100644 index b78c232..0000000 --- a/includes/js/dojox/sketch/tests/test_full.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - Annotator/Figure Testing - - - - - - - - - -

                        Annotator/Figure Testing Platform

                        -

                        This is a generic test to create a figure from an existing SVG file, to edit that figure, and to test the undo stack. Double click a shape to set new text for it.

                        -
                        -
                        -
                        -
                        -

                        Serialized output

                        - - - diff --git a/includes/js/dojox/sql.js b/includes/js/dojox/sql.js deleted file mode 100644 index d4a77ef..0000000 --- a/includes/js/dojox/sql.js +++ /dev/null @@ -1,6 +0,0 @@ -if(!dojo._hasResource["dojox.sql"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.sql"] = true; -dojo.require("dojox._sql.common"); -dojo.provide("dojox.sql"); - -} diff --git a/includes/js/dojox/storage.js b/includes/js/dojox/storage.js deleted file mode 100644 index 0fed636..0000000 --- a/includes/js/dojox/storage.js +++ /dev/null @@ -1,6 +0,0 @@ -if(!dojo._hasResource["dojox.storage"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.storage"] = true; -dojo.provide("dojox.storage"); -dojo.require("dojox.storage._common"); - -} diff --git a/includes/js/dojox/storage/AirDBStorageProvider.js b/includes/js/dojox/storage/AirDBStorageProvider.js deleted file mode 100644 index a846b94..0000000 --- a/includes/js/dojox/storage/AirDBStorageProvider.js +++ /dev/null @@ -1,252 +0,0 @@ -if(!dojo._hasResource["dojox.storage.AirDBStorageProvider"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.storage.AirDBStorageProvider"] = true; -dojo.provide("dojox.storage.AirDBStorageProvider"); -dojo.require("dojox.storage.manager"); -dojo.require("dojox.storage.Provider"); - -if (dojo.isAIR) { - (function(){ - - if (!air) { - var air = {}; - } - air.File = window.runtime.flash.filesystem.File; - air.SQLConnection = window.runtime.flash.data.SQLConnection; - air.SQLStatement = window.runtime.flash.data.SQLStatement; - - // summary: - // Storage provider that uses features in the Adobe AIR runtime to achieve - // permanent storage - dojo.declare("dojox.storage.AirDBStorageProvider", [ dojox.storage.Provider ], { - DATABASE_FILE: "dojo.db", - TABLE_NAME: "__DOJO_STORAGE", - initialized: false, - - _db: null, - - initialize: function(){ - this.initialized = false; - - // need to initialize our storage database - try{ - this._db = new air.SQLConnection(); - this._db.open(air.File.applicationStorageDirectory.resolvePath(this.DATABASE_FILE)); - - this._sql("CREATE TABLE IF NOT EXISTS " + this.TABLE_NAME + "(namespace TEXT, key TEXT, value TEXT)"); - this._sql("CREATE UNIQUE INDEX IF NOT EXISTS namespace_key_index ON " + this.TABLE_NAME + " (namespace, key)"); - - this.initialized = true; - }catch(e){ - console.debug("dojox.storage.AirDBStorageProvider.initialize:", e); - } - - // indicate that this storage provider is now loaded - dojox.storage.manager.loaded(); - }, - - _sql: function(query, params){ - var stmt = new air.SQLStatement(); - stmt.sqlConnection = this._db; - stmt.text = query; - if (params){ - for (var param in params){ - stmt.parameters[param] = params[param]; - } - } - stmt.execute(); - return stmt.getResult(); - }, - - _beginTransaction: function(){ - this._db.begin(); - }, - - _commitTransaction: function(){ - this._db.commit(); - }, - - isAvailable: function(){ - return true; - }, - - put: function(key, value, resultsHandler, namespace){ - if(this.isValidKey(key) == false){ - throw new Error("Invalid key given: " + key); - } - namespace = namespace||this.DEFAULT_NAMESPACE; - if(this.isValidKey(namespace) == false){ - throw new Error("Invalid namespace given: " + namespace); - } - - // try to store the value - try{ - this._sql("DELETE FROM " + this.TABLE_NAME + " WHERE namespace = :namespace AND key = :key", - { ":namespace":namespace, ":key":key }); - this._sql("INSERT INTO " + this.TABLE_NAME + " VALUES (:namespace, :key, :value)", - { ":namespace":namespace, ":key":key, ":value":value }); - }catch(e){ - // indicate we failed - console.debug("dojox.storage.AirDBStorageProvider.put:", e); - resultsHandler(this.FAILED, key, e.toString()); - return; - } - - if(resultsHandler){ - resultsHandler(this.SUCCESS, key, null); - } - }, - - get: function(key, namespace){ - if(this.isValidKey(key) == false){ - throw new Error("Invalid key given: " + key); - } - namespace = namespace||this.DEFAULT_NAMESPACE; - - var results = this._sql("SELECT * FROM " + this.TABLE_NAME + " WHERE namespace = :namespace AND key = :key", - { ":namespace":namespace, ":key":key }); - - if(results.data && results.data.length){ - return results.data[0].value; - } - - return null; - }, - - getNamespaces: function(){ - var results = [ this.DEFAULT_NAMESPACE ]; - var rs = this._sql("SELECT namespace FROM " + this.TABLE_NAME + " DESC GROUP BY namespace"); - if (rs.data){ - for(var i = 0; i < rs.data.length; i++){ - if(rs.data[i].namespace != this.DEFAULT_NAMESPACE){ - results.push(rs.data[i].namespace); - } - } - } - return results; - }, - - getKeys: function(namespace){ - namespace = namespace||this.DEFAULT_NAMESPACE; - if(this.isValidKey(namespace) == false){ - throw new Error("Invalid namespace given: " + namespace); - } - - var results = []; - var rs = this._sql("SELECT key FROM " + this.TABLE_NAME + " WHERE namespace = :namespace", { ":namespace":namespace }); - if (rs.data){ - for(var i = 0; i < rs.data.length; i++){ - results.push(rs.data[i].key); - } - } - return results; - }, - - clear: function(namespace){ - if(this.isValidKey(namespace) == false){ - throw new Error("Invalid namespace given: " + namespace); - } - this._sql("DELETE FROM " + this.TABLE_NAME + " WHERE namespace = :namespace", { ":namespace":namespace }); - }, - - remove: function(key, namespace){ - namespace = namespace||this.DEFAULT_NAMESPACE; - this._sql("DELETE FROM " + this.TABLE_NAME + " WHERE namespace = :namespace AND key = :key", - { ":namespace":namespace, ":key":key }); - }, - - putMultiple: function(keys, values, resultsHandler, namespace) { - if(this.isValidKeyArray(keys) === false - || ! values instanceof Array - || keys.length != values.length){ - throw new Error("Invalid arguments: keys = [" + keys + "], values = [" + values + "]"); - } - - if(namespace == null || typeof namespace == "undefined"){ - namespace = this.DEFAULT_NAMESPACE; - } - - if(this.isValidKey(namespace) == false){ - throw new Error("Invalid namespace given: " + namespace); - } - - this._statusHandler = resultsHandler; - - // try to store the value - try{ - this._beginTransaction(); - for(var i=0;i 0 : Wait until 'newDelay' ms have passed without any "put" request to flush - // -1 : Do not automatically flush - setFlushDelay: function(newDelay){ - if(newDelay === null || typeof newDelay === "undefined" || isNaN(newDelay)){ - throw new Error("Invalid argunment: " + newDelay); - } - - dojox.flash.comm.setFlushDelay(String(newDelay)); - }, - - getFlushDelay: function(){ - return Number(dojox.flash.comm.getFlushDelay()); - }, - - flush: function(namespace){ - //FIXME: is this test necessary? Just use !namespace - if(namespace == null || typeof namespace == "undefined"){ - namespace = dojox.storage.DEFAULT_NAMESPACE; - } - dojox.flash.comm.flush(namespace); - }, - - isAvailable: function(){ - return (this._available = !dojo.config["disableFlashStorage"]); - }, - - put: function(key, value, resultsHandler, namespace){ - if(!this.isValidKey(key)){ - throw new Error("Invalid key given: " + key); - } - - if(!namespace){ - namespace = dojox.storage.DEFAULT_NAMESPACE; - } - - if(!this.isValidKey(namespace)){ - throw new Error("Invalid namespace given: " + namespace); - } - - this._statusHandler = resultsHandler; - - // serialize the value; - // handle strings differently so they have better performance - if(dojo.isString(value)){ - value = "string:" + value; - }else{ - value = dojo.toJson(value); - } - - dojox.flash.comm.put(key, value, namespace); - }, - - putMultiple: function(keys, values, resultsHandler, namespace){ - if(!this.isValidKeyArray(keys) || ! values instanceof Array - || keys.length != values.length){ - throw new Error("Invalid arguments: keys = [" + keys + "], values = [" + values + "]"); - } - - if(!namespace){ - namespace = dojox.storage.DEFAULT_NAMESPACE; - } - - if(!this.isValidKey(namespace)){ - throw new Error("Invalid namespace given: " + namespace); - } - - this._statusHandler = resultsHandler; - - // Convert the arguments on strings we can pass along to Flash - var metaKey = keys.join(","); - var lengths = []; - for(var i=0;i
                        ', - - _isNode: function(/* object */wh){ - // summary: - // checks to see if wh is actually a node. - if(typeof Element == "function") { - try{ - return wh instanceof Element; // boolean - }catch(e){} - }else{ - // best-guess - return wh && !isNaN(wh.nodeType); // boolean - } - }, - - _hasParent: function(/*Node*/node){ - // summary: - // returns whether or not node is a child of another node. - return Boolean(node && node.parentNode && this._isNode(node.parentNode)); // boolean - }, - - postCreate: function() { - - // set image - if((this.iconSrc.toLowerCase().substring(this.iconSrc.length-4)==".png")&&(dojo.isIE)&&(dojo.isIE<7)){ - /* we set the id of the new fisheyeListItem to the id of the div defined in the HTML */ - if(this._hasParent(this.imgNode) && this.id != ""){ - var parent = this.imgNode.parentNode; - parent.setAttribute("id", this.id); - } - this.imgNode.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.iconSrc+"', sizingMethod='scale')"; - this.imgNode.src = this._blankImgPath.toString(); - }else{ - if(this._hasParent(this.imgNode) && this.id != ""){ - var parent = this.imgNode.parentNode; - parent.setAttribute("id", this.id); - } - this.imgNode.src = this.iconSrc; - } - - // Label - if(this.lblNode){ - this.lblNode.appendChild(document.createTextNode(this.label)); - } - dojo.setSelectable(this.domNode, false); - this.startup(); - }, - - startup: function(){ - this.parent = this.getParent(); - }, - - onMouseOver: function(/*Event*/ e){ - // summary: callback when user moves mouse over this menu item - // in conservative mode, don't activate the menu until user mouses over an icon - if(!this.parent.isOver){ - this.parent._setActive(e); - } - if(this.label != "" ){ - dojo.addClass(this.lblNode, "dojoxFishSelected"); - this.parent._positionLabel(this); - } - }, - - onMouseOut: function(/*Event*/ e){ - // summary: callback when user moves mouse off of this menu item - dojo.removeClass(this.lblNode, "dojoxFishSelected"); - }, - - onClick: function(/*Event*/ e){ - // summary: user overridable callback when user clicks this menu item - } -}); - -} diff --git a/includes/js/dojox/widget/FisheyeList/FisheyeList.css b/includes/js/dojox/widget/FisheyeList/FisheyeList.css deleted file mode 100644 index c9b78a9..0000000 --- a/includes/js/dojox/widget/FisheyeList/FisheyeList.css +++ /dev/null @@ -1,24 +0,0 @@ -.dojoxFisheyeListItemLabel { - font-family: Arial, Helvetica, sans-serif; - background-color: #eee; - border: 2px solid #666; - padding: 2px; - text-align: center; - position: absolute; - display: none; - white-space:pre; -} -.dojoxFisheyeListItemLabel.dojoxFishSelected { - display: block; -} -.dojoxFisheyeListItemImage { - border: 0px; - position: absolute; -} -.dojoxFisheyeListItem { - position: absolute; - z-index: 2; -} -.dojoxFisheyeListBar { - position: relative; -} diff --git a/includes/js/dojox/widget/FisheyeList/FisheyeList.css.commented.css b/includes/js/dojox/widget/FisheyeList/FisheyeList.css.commented.css deleted file mode 100644 index 82469d8..0000000 --- a/includes/js/dojox/widget/FisheyeList/FisheyeList.css.commented.css +++ /dev/null @@ -1,28 +0,0 @@ -.dojoxFisheyeListItemLabel { - font-family: Arial, Helvetica, sans-serif; - background-color: #eee; - border: 2px solid #666; - padding: 2px; - text-align: center; - position: absolute; - display: none; - white-space:pre; -} - -.dojoxFisheyeListItemLabel.dojoxFishSelected { - display: block; -} - -.dojoxFisheyeListItemImage { - border: 0px; - position: absolute; -} - -.dojoxFisheyeListItem { - position: absolute; - z-index: 2; -} - -.dojoxFisheyeListBar { - position: relative; -} diff --git a/includes/js/dojox/widget/FisheyeLite.js b/includes/js/dojox/widget/FisheyeLite.js deleted file mode 100644 index 34818ae..0000000 --- a/includes/js/dojox/widget/FisheyeLite.js +++ /dev/null @@ -1,135 +0,0 @@ -if(!dojo._hasResource["dojox.widget.FisheyeLite"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.widget.FisheyeLite"] = true; -dojo.provide("dojox.widget.FisheyeLite"); -dojo.experimental("dojox.widget.FisheyeLite"); - -dojo.require("dijit._Widget"); -dojo.require("dojox.fx.easing"); - -dojo.declare("dojox.widget.FisheyeLite", - dijit._Widget, - { - // summary: A Light-weight Fisheye Component, or an exhanced version - // of dojo.fx.Toggler ... - // - // description: - // A Simple FisheyeList-like widget which (in the interest of - // performance) relies on well-styled content for positioning, - // and natural page layout for rendering. - // - // use position:absolute/relative nodes to prevent layout - // changes, and use caution when seleting properties to - // scale. Negative scaling works, but some properties - // react poorly to being set to negative values, IE being - // particularly annoying in that regard. - // - // quirk: uses the domNode as the target of the animation - // unless it finds a node class="fisheyeTarget" in the container - // being turned into a FisheyeLite instance - // - // example: - // | // make all the LI's in a node Fisheye's: - // | dojo.query("#node li").forEach(function(n){ - // | new dojox.widget.FisheyeLite({},n); - // | }); - // - // duationIn: Integer - // The time (in ms) the run the show animation - durationIn: 350, - - // easeIn: Function - // An easing function to use for the show animation - easeIn: dojox.fx.easing.backOut, - - // durationOut: Integer - // The Time (in ms) to run the hide animation - durationOut: 1420, - - // easeOut: Function - // An easing function to use for the hide animation - easeOut: dojox.fx.easing.elasticOut, - - // properties: Object - // An object of "property":scale pairs - // defaults to font-size with a scale of 2.75 - properties: { - fontSize: 2.75 - }, - - // unit: String - // Sometimes, you need to specify a unit. Should be part of - // properties attrib, but was trying to shorthand the logic there - unit:"px", - - postCreate: function(){ - - this.inherited(arguments); - this._target = dojo.query(".fisheyeTarget",this.domNode)[0] || this.domNode; - this._makeAnims(); - - this.connect(this.domNode,"onmouseover","show"); - this.connect(this.domNode,"onmouseout","hide"); - this.connect(this._target,"onclick","onClick"); - - }, - - show: function(){ - // summary: - // Show this Fisheye item. - this._runningOut.stop(); - this._runningIn.play(); - }, - - hide: function(){ - // summary: - // Hide this fisheye item on mouse leave - this._runningIn.stop(); - this._runningOut.play(); - }, - - _makeAnims: function(){ - // summary: - // Pre-generate the animations - - // create two properties: objects, one for each "state" - var _in = {}; - var _out = {}; - var cs = dojo.getComputedStyle(this._target); - for(var p in this.properties){ - var v = parseInt(cs[p]); - // note: do not set negative scale for [a list of properties] for IE support - // note: filter:'s are your own issue, too ;) - _out[p] = { end: v, unit:this.unit }; - _in[p] = { end: (this.properties[p]*v), unit:this.unit }; - } - - this._runningIn = dojo.animateProperty({ - node: this._target, - easing: this.easeIn, - duration: this.durationIn, - properties: _in - }); - - this._runningOut = dojo.animateProperty({ - node: this._target, - duration: this.durationOut, - easing: this.easeOut, - properties: _out - }); - - this.connect(this._runningIn,"onEnd",dojo.hitch(this,"onSelected",this)); - }, - - onClick: function(/* Event */e){ - // summary: stub function fired when target is clicked - // connect or override to use. - }, - - onSelected: function(/* Object */e){ - // summary: stub function fired when Fisheye Item is fully visible and - // hovered. connect or override use. - } - -}); - -} diff --git a/includes/js/dojox/widget/Iterator.js b/includes/js/dojox/widget/Iterator.js deleted file mode 100644 index c2f510d..0000000 --- a/includes/js/dojox/widget/Iterator.js +++ /dev/null @@ -1,177 +0,0 @@ -if(!dojo._hasResource["dojox.widget.Iterator"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.widget.Iterator"] = true; -dojo.provide("dojox.widget.Iterator"); -dojo.require("dijit.Declaration"); - -dojo.experimental("dojox.widget.Iterator"); // level: prototype, designed for dijit.chat.demo - -/* - example: - from markup: - | - | - |
                        - |
                        - | ${name} is a ${type} - |
                        - |
                        - - example: - programmatic: - | var store = new dojo.data.ItemFileReadStore({ url: "countries.json" }); - | - | var iter = new dojox.widget.Iterator({ - | store: store, - | template: "" - | }); - | - - example: - programmatic from an array of objects: - | var dataArr = [ - | { name: "foo", valueAttr: "bar" }, - | { name: "thinger", valueAttr: "blah" } - | ]; - | - | var iter = new dojox.widget.Iterator({ - | data: dataArr, - | template: "" - | }); - - example: - programmatic from an array of strings: - | var dataArr = [ - | { name: "foo", valueAttr: "bar" }, - | { name: "thinger", valueAttr: "blah" } - | ]; - | - | var iter = new dojox.widget.Iterator({ - | data: dataArr, - | template: "" - | }); - -*/ - - -dojo.declare("dojox.widget.Iterator", - [ dijit.Declaration ], - { - - constructor: (function(){ - var ctr = 0; - return function(){ - this.attrs = []; - this.children = []; - this.widgetClass = "dojox.widget.Iterator._classes._"+(ctr++); - } - })(), - - start: 0, - fetchMax: 1000, - query: { name: "*" }, - attrs: [], - defaultValue: "", - widgetCtor: null, - dataValues: [], // an array of strings - data: null, // should be a reference to an Array - store: null, - _srcIndex: 0, - _srcParent: null, - - _setSrcIndex: function(s){ - this._srcIndex = 0; - this._srcParent = s.parentNode; - var ts = s; - while(ts.previousSibling){ - this._srcIndex++; - ts = ts.previousSibling; - }; - }, - - postscript: function(p, s){ - // figure out the position of the source node in it's parent - this._setSrcIndex(s); - // this._srcIndex = dojo.query(">", this._srcParent).indexOf(s); - - this.inherited("postscript", arguments); - var wc = this.widgetCtor = dojo.getObject(this.widgetClass); - - this.attrs = dojo.map( - wc.prototype.templateString.match(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g), - function(s){ return s.slice(2, -1); } - ); - dojo.forEach( - this.attrs, - function(m){ wc.prototype[m] = ""; } - ); - this.update(); - }, - - clear: function(){ - if(this.children.length){ - this._setSrcIndex(this.children[0].domNode); - } - dojo.forEach(this.children, "item.destroy();"); - this.children = []; - }, - - update: function(){ - if(this.store){ - // we're executing a query - this.fetch(); - }else{ - // we came from an array of objects. Easier! - this.onDataAvailable(this.data||this.dataValues); - } - }, - - _addItem: function(/*Object*/config, idx){ - if(dojo.isString(config)){ - config = { value: config }; - } - var widget = new this.widgetCtor(config); - this.children.push(widget); - dojo.place(widget.domNode, this._srcParent, this._srcIndex+idx); - }, - - getAttrValuesObj: function(item){ - var obj = {}; - if(dojo.isString(item)){ - dojo.forEach(this.attrs, function(attr){ - obj[attr] = (attr == "value") ? item : this.defaultValue; - }, this); - }else{ - dojo.forEach(this.attrs, function(attr){ - if(this.store){ - obj[attr] = this.store.getValue(item, attr)||this.defaultValue; - }else{ - obj[attr] = item[attr]||this.defaultValue; - } - }, this); - } - return obj; - }, - - onDataAvailable: function(data){ - this.clear(); - // console.debug(data); - dojo.forEach(data, function(item, idx){ - this._addItem(this.getAttrValuesObj(item), idx); - }, this); - }, - - fetch: function(query, start, end){ - this.store.fetch({ - query: query||this.query, - start: start||this.start, - count: end||this.fetchMax, - onComplete: dojo.hitch(this,"onDataAvailable") - }); - } -}); - -dojox.widget.Iterator._classes = {}; - -} diff --git a/includes/js/dojox/widget/Loader.js b/includes/js/dojox/widget/Loader.js deleted file mode 100644 index 2493d5a..0000000 --- a/includes/js/dojox/widget/Loader.js +++ /dev/null @@ -1,103 +0,0 @@ -if(!dojo._hasResource["dojox.widget.Loader"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.widget.Loader"] = true; -dojo.provide("dojox.widget.Loader"); -dojo.experimental("dojox.widget.Loader"); - -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); - -dojo.declare("dojox.widget.Loader", [dijit._Widget,dijit._Templated], { - // summary: a configurable global xhr-listener to display - // a loading message during running xhr's or to simply provide - // base-level topic to subscribe to for custom loading messages - - // loadIcon: String - // location to the icon used. - loadIcon: dojo.moduleUrl("dojox.widget.Loader","icons/loading.gif"), - - // loadMessage: String - // string to use for progress loading - loadMessage: 'Loading ...', - - // hasVisuals: Boolean - // true to display a fixed loading message in TR cornder, false to unly provide - // "Loader" topic to subscribe to for your own custom loading message. - hasVisuals: true, - - // attachToPointer - // true to use visual indicator where cursor is - attachToPointer: true, - - // duration: Integer - // time in ms to toggle in/out the visual load indicator - duration: 125, - - // _offset: Integer - // distance in px from the mouse pointer to show attachToPointer avatar - _offset: 16, - - // holder for mousemove connection - _pointerConnect: null, - _xhrStart: null, - _xhrEnd: null, - - templateString: '
                        ' - +' ' - +'
                        ', - - postCreate: function(){ - // summary: setup the loader - - if(!this.hasVisuals){ - this.loadNode.style.display = "none"; // _destroy()? - }else{ - if(this.attachToPointer){ - dojo.removeClass(this.loadNode,"dojoxLoader"); - dojo.addClass(this.loadNode,"dojoxLoaderPointer"); - } - this._hide(); - } - this._setMessage(this.loadMessage); - - // FIXME: create our connections. would be easier, and this might be redundant - // if Deferred published something - this._xhrStart = dojo.connect(dojo,"_ioSetArgs",this,"_show"); - this._xhrEnd = dojo.connect(dojo.Deferred.prototype,"_fire",this,"_hide"); - - }, - - _setMessage: function(/* String */ message){ - // summary: set's the message in the loader - this.loadMessageNode.innerHTML = message; - }, - - _putLoader: function(/* Event */ e){ - // summary: place the floating loading element based on mousemove connection position - dijit.placeOnScreen(this.loadNode,{ x: e.clientX+this._offset, y:e.clientY+this._offset }, ["TL","BR"]); - }, - - _show: function(){ - // summary: publish and show progress indicator - dojo.publish("Loader",[{ message: 'started' }]); - if(this.hasVisuals){ - if(this.attachToPointer){ - this._pointerConnect = dojo.connect(document,"onmousemove",this,"_putLoader"); - } - dojo.fadeIn({ node: this.loadNode, duration:this.duration }).play(); - } - }, - - _hide: function(){ - // summary: publish "xhr ended" and hide progress indicator - dojo.publish("Loader",[{ message: 'ended' }]); - if(this.hasVisuals){ - if(this.attachToPointer){ - dojo.disconnect(this._pointerConnect); - } - dojo.fadeOut({ node: this.loadNode, duration:this.duration }).play(); - } - } - -}); - -} diff --git a/includes/js/dojox/widget/Loader/Loader.css b/includes/js/dojox/widget/Loader/Loader.css deleted file mode 100644 index f209d70..0000000 --- a/includes/js/dojox/widget/Loader/Loader.css +++ /dev/null @@ -1,24 +0,0 @@ -.dojoxLoaderPointer { - position:absolute; - z-index:999; -} -.dojoxLoader { - float:right; - position:fixed; - height:25px; - width:100px; - top:0; - right:0; - padding:3px; - border:1px solid #ccc; - background:#fff; - min-width:42px; -} -.dojoxLoaderIcon { - height:22px; width:22px; - vertical-align:middle; -} -.dojoxLoaderMessage { - font:8pt Arial,san-serif; - color:#666; -} diff --git a/includes/js/dojox/widget/Loader/Loader.css.commented.css b/includes/js/dojox/widget/Loader/Loader.css.commented.css deleted file mode 100644 index 4b2d19c..0000000 --- a/includes/js/dojox/widget/Loader/Loader.css.commented.css +++ /dev/null @@ -1,27 +0,0 @@ -.dojoxLoaderPointer { - position:absolute; - z-index:999; -} - -.dojoxLoader { - float:right; - position:fixed; - height:25px; - width:100px; - top:0; - right:0; - padding:3px; - border:1px solid #ccc; - background:#fff; - min-width:42px; -} - -.dojoxLoaderIcon { - height:22px; width:22px; - vertical-align:middle; -} - -.dojoxLoaderMessage { - font:8pt Arial,san-serif; - color:#666; -} diff --git a/includes/js/dojox/widget/Loader/README b/includes/js/dojox/widget/Loader/README deleted file mode 100644 index df6c73d..0000000 --- a/includes/js/dojox/widget/Loader/README +++ /dev/null @@ -1,39 +0,0 @@ -------------------------------------------------------------------------------- -dojox.widget.Loader -------------------------------------------------------------------------------- -Version 0.1 -Release date: 07/15/2007 -------------------------------------------------------------------------------- -Project state: -prototype / expermental -------------------------------------------------------------------------------- -Credits: Pete Higgins (phiggins@gmail.com) -------------------------------------------------------------------------------- -Description: - a class to indicatie some xhr request - is going on via topics, with optional - eye-candy indicators either offset - from mouse pointer, or in a fixed position - node. - -------------------------------------------------------------------------------- -Dependencies: - widget: none. - test page: to enhance visual effect, a .php - file is used to slowly pass data to an xhr - request. You will need a php-enabled - webserver to view /dojox/tests/test_Loader.html - -------------------------------------------------------------------------------- -Documentation - -------------------------------------------------------------------------------- -Installation instructions - - simply dojo.require("dojox.widget.Loader") and - attach to a div: -
                        - - Configuration options can be found in the API tool. - - diff --git a/includes/js/dojox/widget/Loader/honey.php b/includes/js/dojox/widget/Loader/honey.php deleted file mode 100644 index aeb7776..0000000 --- a/includes/js/dojox/widget/Loader/honey.php +++ /dev/null @@ -1,27 +0,0 @@ -"; - $dataSent += $blockSize; - sleep(1); -} - -?> diff --git a/includes/js/dojox/widget/Loader/icons/loading.gif b/includes/js/dojox/widget/Loader/icons/loading.gif deleted file mode 100644 index 6e7c8e5..0000000 Binary files a/includes/js/dojox/widget/Loader/icons/loading.gif and /dev/null differ diff --git a/includes/js/dojox/widget/MultiComboBox.js b/includes/js/dojox/widget/MultiComboBox.js deleted file mode 100644 index 6239d8a..0000000 --- a/includes/js/dojox/widget/MultiComboBox.js +++ /dev/null @@ -1,61 +0,0 @@ -if(!dojo._hasResource["dojox.widget.MultiComboBox"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.widget.MultiComboBox"] = true; -dojo.provide("dojox.widget.MultiComboBox"); -dojo.experimental("dojox.widget.MultiComboBox"); -dojo.require("dijit.form.ComboBox"); -dojo.require("dijit.form.ValidationTextBox"); - -dojo.declare("dojox.widget.MultiComboBox", - [dijit.form.ValidationTextBox, dijit.form.ComboBoxMixin],{ - // - // summary: A ComboBox that accpets multiple inputs on a single line? - // - // delimiter: String - // The character to use to separate items in the ComboBox input - delimiter: ",", - _previousMatches: false, - - setValue: function(value){ - if (this.delimiter && value.length != 0){ - value = value+this.delimiter+" "; - arguments[0] = this._addPreviousMatches(value); - } - this.inherited(arguments); - }, - - _addPreviousMatches: function(/* String */text){ - if(this._previousMatches){ - if(!text.match(new RegExp("^"+this._previousMatches))){ - text = this._previousMatches+text; - } - text = this._cleanupDelimiters(text); - } - return text; // String - }, - - _cleanupDelimiters: function(/* String */text){ - if(this.delimiter){ - text = text.replace(new RegExp(" +"), " "); - text = text.replace(new RegExp("^ *"+this.delimiter+"* *"), ""); - text = text.replace(new RegExp(this.delimiter+" *"+this.delimiter), this.delimiter); - } - return text; - }, - - _autoCompleteText: function(/* String */text){ - arguments[0] = this._addPreviousMatches(text); - this.inherited(arguments); - }, - - _startSearch: function(/* String */text){ - text = this._cleanupDelimiters(text); - var re = new RegExp("^.*"+this.delimiter+" *"); - - if(this._previousMatches = text.match(re)){ - arguments[0] = text.replace(re, ""); - } - this.inherited(arguments); - } -}); - -} diff --git a/includes/js/dojox/widget/README b/includes/js/dojox/widget/README deleted file mode 100644 index 8e8cb60..0000000 --- a/includes/js/dojox/widget/README +++ /dev/null @@ -1,84 +0,0 @@ -------------------------------------------------------------------------------- -dojox.widget Collection -------------------------------------------------------------------------------- -Version 1.0 -Release date: 10/31/2007 -------------------------------------------------------------------------------- -Project state: -experimental | beta -------------------------------------------------------------------------------- -Credits - Peter Higgins (dante) - Karl Tiedt (ktiedt@gmail.com) - Wolfram Kriesing (http://wolfram.kriesing.de/blog/): Rating -------------------------------------------------------------------------------- -Project description - - This is a collection of standalone widgets for use in - your website. Each individual widget is independant - of the others. -------------------------------------------------------------------------------- -Dependencies: - - Each widget has it's own requirements and dependencies. - Most inherit from dijit base-classes such as dijit._Widget, - dijit._Templated, etc ... So we will assume the availablility - of dojo (core), and dijit packages. -------------------------------------------------------------------------------- -Documentation - - Please refer to the API-tool, or in-line documentation. -------------------------------------------------------------------------------- -Installation instructions - - These are standalone Widgets, so putting the [widget].js file - in your dojox/widget folder, and copying any files in the - /dojox/widget/[widget]/ folder as supplements/templates/etc - should be all you need to do. - - eg: FisheyeList: - /dojox/widget/FisheyeList.js - /dojox/widget/FisheyeList/blank.gif - /dojox/widget/FisheyeList/FisheyeList.css - - should be all you need to use the Fisheye widget. - - you can safely import the whole widget project into your - dojox/ root directory from the following SVN url: - - http://svn.dojotoolkit.org/dojo/dojox/widget - -------------------------------------------------------------------------------- -Other Notes (Brief widget list): - - * ColorPicker - Photoshop-like color picker - - * FileInput - experimental dijit-like input type="file" - - * FileInputAuto/Blind - extension to FileInput for - added flair/automation - - * FisheyeList - the classic FishEye Picker - - * Iterator - Basic array and datastore iterator class - - * Loader - an experimental Class that listens to XHR - connections in the background, and displays - a loading indicator. - - * MultiComboBox - an experimental ComboBox that allows - multiple entries bases on a separator character. - - * SortList - a degradable UL with a fixed header, scrolling, - and sorting. Can be the direct descendat of a - LayoutContainer and will size to fit. - - * TimeSpinner - a number spinner that revolves through - time constrainsts - - * Toaster - a messaging system to display non-obstrusive - alerts on screen. - - * Wizard - a StackContainer with built-in navigation to - ease in the creation of 'step-based' content. - Requires dojo >= 1.1 diff --git a/includes/js/dojox/widget/Rating.js b/includes/js/dojox/widget/Rating.js deleted file mode 100644 index 8f12d62..0000000 --- a/includes/js/dojox/widget/Rating.js +++ /dev/null @@ -1,90 +0,0 @@ -if(!dojo._hasResource["dojox.widget.Rating"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.widget.Rating"] = true; -dojo.provide("dojox.widget.Rating"); - -dojo.require("dijit.form._FormWidget"); - -dojo.declare("dojox.widget.Rating", - dijit.form._FormWidget,{ - // summary: - // A widget for rating using stars. - // - // required: Boolean - // TODO: Can be true or false, default is false. - // required: false, - - templateString: null, - - // numStars: Integer - // The number of stars to show, default is 3. - numStars: 3, - // value: Integer - // The current value of the Rating - value: 0, - - constructor:function(params){ - // Build the templateString. The number of stars is given by this.numStars, - // which is normally an attribute to the widget node. - dojo.mixin(this, params); - - // TODO actually "dijitInline" should be applied to the surrounding div, but FF2 - // screws up when we dojo.query() for the star nodes, it orders them randomly, because of the use - // of display:--moz-inline-box ... very strange bug - // Since using ul and li in combintaion with dijitInline this problem doesnt exist anymore. - - // The focusNode is normally used to store the value, i dont know if that is right here, but seems standard for _FormWidgets - var tpl = '
                        ' + - '
                          ${stars}
                        ' + - '
                        '; - // the value-attribute is used to "read" the value for processing in the widget class --> - var starTpl = '
                      1. '; - var rendered = ""; - for(var i = 0; i < this.numStars; i++){ - rendered += dojo.string.substitute(starTpl, {value:i+1}); - } - this.templateString = dojo.string.substitute(tpl, {stars:rendered}); - }, - - postCreate: function(){ - this.inherited(arguments); - this._renderStars(this.value); - }, - - _onMouse: function(evt){ - this.inherited(arguments); - if(this._hovering){ - var hoverValue = +dojo.attr(evt.target, "value"); - this.onMouseOver(evt, hoverValue); - this._renderStars(hoverValue, true); - }else{ - this._renderStars(this.value); - } - }, - - _renderStars: function(value, hover){ - // summary: Render the stars depending on the value. - dojo.query(".dojoxRatingStar", this.domNode).forEach(function(star, i){ - if(i + 1 > value){ - dojo.removeClass(star, "dojoxRatingStarHover"); - dojo.removeClass(star, "dojoxRatingStarChecked"); - }else{ - dojo.removeClass(star, "dojoxRatingStar" + (hover ? "Checked" : "Hover")); - dojo.addClass(star, "dojoxRatingStar" + (hover ? "Hover" : "Checked")); - } - }); - }, - - onStarClick:function(/* Event */evt){ -// TODOC: needs summary - var newVal = +dojo.attr(evt.target, "value"); - this.setAttribute("value", newVal == this.value ? 0 : newVal); - this._renderStars(this.value); - this.onChange(this.value); // Do I have to call this by hand? - }, - - onMouseOver: function(/*evt, value*/){ - // summary: connect here if you like to, the value is passed to this function as the second parameter! - } -}); - -} diff --git a/includes/js/dojox/widget/Rating/Rating.css b/includes/js/dojox/widget/Rating/Rating.css deleted file mode 100644 index f4c0957..0000000 --- a/includes/js/dojox/widget/Rating/Rating.css +++ /dev/null @@ -1,20 +0,0 @@ -.dojoxRating ul { - padding:0; - margin:0; -} -.dojoxRatingStar { - display:inline-block; - background-image:url(rating_empty.gif); - background-position:left center; - position:relative; - height:15px; - width:15px; - float:left; -} -.dojoxRatingStarChecked { - background-image:url(rating_full.gif); -} -.dojoxRatingStarHover { - background-image:url(rating_full.gif); - opacity:.5; -} diff --git a/includes/js/dojox/widget/Rating/Rating.css.commented.css b/includes/js/dojox/widget/Rating/Rating.css.commented.css deleted file mode 100644 index 5fcdcb4..0000000 --- a/includes/js/dojox/widget/Rating/Rating.css.commented.css +++ /dev/null @@ -1,24 +0,0 @@ -.dojoxRating ul { - padding:0; - margin:0; -} - -.dojoxRatingStar { - display:inline-block; - background-image:url(rating_empty.gif); - background-position:left center; - position:relative; - height:15px; - width:15px; - float:left; -} - -.dojoxRatingStarChecked { - background-image:url(rating_full.gif); -} - -.dojoxRatingStarHover { - background-image:url(rating_full.gif); - opacity:.5; -} - diff --git a/includes/js/dojox/widget/Rating/rating_empty.gif b/includes/js/dojox/widget/Rating/rating_empty.gif deleted file mode 100644 index 8662c43..0000000 Binary files a/includes/js/dojox/widget/Rating/rating_empty.gif and /dev/null differ diff --git a/includes/js/dojox/widget/Rating/rating_empty.png b/includes/js/dojox/widget/Rating/rating_empty.png deleted file mode 100644 index 39cd985..0000000 Binary files a/includes/js/dojox/widget/Rating/rating_empty.png and /dev/null differ diff --git a/includes/js/dojox/widget/Rating/rating_full.gif b/includes/js/dojox/widget/Rating/rating_full.gif deleted file mode 100644 index 6fe24bf..0000000 Binary files a/includes/js/dojox/widget/Rating/rating_full.gif and /dev/null differ diff --git a/includes/js/dojox/widget/Rating/rating_full.png b/includes/js/dojox/widget/Rating/rating_full.png deleted file mode 100644 index bf4c9f1..0000000 Binary files a/includes/js/dojox/widget/Rating/rating_full.png and /dev/null differ diff --git a/includes/js/dojox/widget/Rating/rating_half.png b/includes/js/dojox/widget/Rating/rating_half.png deleted file mode 100644 index 1201c85..0000000 Binary files a/includes/js/dojox/widget/Rating/rating_half.png and /dev/null differ diff --git a/includes/js/dojox/widget/SortList.js b/includes/js/dojox/widget/SortList.js deleted file mode 100644 index e50ec2b..0000000 --- a/includes/js/dojox/widget/SortList.js +++ /dev/null @@ -1,151 +0,0 @@ -if(!dojo._hasResource["dojox.widget.SortList"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.widget.SortList"] = true; -dojo.provide("dojox.widget.SortList"); -dojo.experimental("dojox.widget.SortList"); // level: prototype, designed for dijit.chat.demo - -dojo.require("dijit.layout._LayoutWidget"); -dojo.require("dijit._Templated"); - -dojo.declare("dojox.widget.SortList", - [dijit.layout._LayoutWidget, dijit._Templated], - { - // summary: A sortable unordered-list with a fixed header for use in dijit.demos.chat - // for demonstration purposes only for now. feel free to make API suggestions - // or fixes. - // - // title: String - // The title in the header - title: "", - - // heading: String - // In the event a parent container is expecting a title="" attribute, set it for the parent - // via title, and the title of this widget via heading="" ... assuming you want different - // titles for each. eg: TabContainer, AccordionContainer, etc. - heading: "", - - // descending: Boolean - // Toggle sort order based on this value. - descending: true, - - // selected: Array - // A list of the selected
                      2. nodes at any given time. - selected: null, - - // sortable: Boolean - // toggle to enable/disable sorting - sortable: true, - - // FIXME: this is really simple store support - store: "", - key: "name", - - templateString:"
                        \n\t\t
                        \n\t\t
                        \n\t\t${title}\n\t\t
                        \n\t\t
                        \n\t\t
                          \n\t
                          \n
                          \n", - - _addItem: function(item){ - var node = dojo.doc.createElement("li"); - var text = this.store.getValue(item,this.key); - node.innerHTML = text; - this.containerNode.appendChild(node); - }, - - postCreate: function(){ - if(this.store){ - this.store = dojo.getObject(this.store); - var props = { - onItem: dojo.hitch(this,"_addItem"), - onComplete: dojo.hitch(this,"onSort") - }; - this.store.fetch(props); - }else{ this.onSort(); } - this.inherited(arguments); - }, - - startup: function(){ - this.inherited(arguments); - if(this.heading){ - this.setTitle(this.heading); this.title=this.heading; - } - // we cheat, and give the browser just enough time so we know our height - setTimeout(dojo.hitch(this,"resize"),5); - if (this.sortable){ this.connect(this.titleNode,"onclick", "onSort"); } - }, - - resize: function(){ - // summary: do our additional calculations when resize() is called by or in a parent - this.inherited(arguments); - // FIXME: - // the 10 comes from the difference between the contentBox and calculated height - // because of badding and border extents. this shouldn't be done this way, a theme change will - // break it: but we also don't want to run getComputedStyle or dojo.coords() every time resize() - // is fired. - var offset = ((this._contentBox.h) - (dojo.style(this.titleNode,"height")))-10; - this.bodyWrapper.style.height = Math.abs(offset) + "px"; - }, - - onSort: function(/* Event */e){ - // summary: sort the data, and style the nodes. - - var arr = dojo.query("li",this.domNode); - if (this.sortable){ - this.descending = !this.descending; - dojo.addClass(this.titleNode,((this.descending)?"sortListDesc":"sortListAsc")); - dojo.removeClass(this.titleNode,((this.descending)?"sortListAsc":"sortListDesc")); - arr.sort(this._sorter); - if(this.descending){ arr.reverse(); } - } - var i=0; - dojo.forEach(arr,function(item){ - dojo[(i++)%2 === 0 ? "addClass" : "removeClass"](item,"sortListItemOdd"); - this.containerNode.appendChild(item); - },this); - }, - - _set: function(/* Event */e){ - // summary: set hover state - if(e.target !== this.bodyWrapper){ - dojo.addClass(e.target,"sortListItemHover"); - } - }, - - _unset: function(/* Event */e){ - // summary: remove hover state (FIXME: combine with _set?) - dojo.removeClass(e.target,"sortListItemHover"); - }, - - _handleClick: function(/* Event */e){ - // summary: click listener for data portion of widget. toggle selected state - // of node, and update this.selected array accordingly - dojo.toggleClass(e.target,"sortListItemSelected"); - e.target.focus(); - this._updateValues(e.target.innerHTML); - }, - - _updateValues: function(){ - this._selected = dojo.query("li.sortListItemSelected",this.containerNode); - this.selected = []; - dojo.forEach(this._selected,function(node){ - this.selected.push(node.innerHTML); - },this); - this.onChanged(arguments); - }, - - _sorter: function(a,b){ - // summary: a basic sort function, use query sort, or keep this? - var aStr = a.innerHTML; - var bStr = b.innerHTML; - if(aStr>bStr){ return 1; } - if(aStr -
                          -
                          - ${title} -
                          -
                          -
                            -
                            -
                          • \ No newline at end of file diff --git a/includes/js/dojox/widget/TimeSpinner.js b/includes/js/dojox/widget/TimeSpinner.js deleted file mode 100644 index a60c083..0000000 --- a/includes/js/dojox/widget/TimeSpinner.js +++ /dev/null @@ -1,48 +0,0 @@ -if(!dojo._hasResource["dojox.widget.TimeSpinner"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.widget.TimeSpinner"] = true; -dojo.provide("dojox.widget.TimeSpinner"); - -dojo.require("dijit.form._Spinner"); -dojo.require("dijit.form.NumberTextBox"); -dojo.require("dojo.date"); -dojo.require("dojo.date.locale"); -dojo.require("dojo.date.stamp"); - -dojo.declare( -"dojox.widget.TimeSpinner", -[dijit.form._Spinner], -{ - // summary: Time Spinner - // description: This widget is the same as a normal NumberSpinner, but for the time component of a date object instead - - required: false, - - adjust: function(/* Object */ val, /*Number*/ delta){ - return dojo.date.add(val, "minute", delta) - }, - - //FIXME should we allow for constraints in this widget? - isValid: function(){return true;}, - - smallDelta: 5, - - largeDelta: 30, - - timeoutChangeRate: 0.50, - - parse: function(time, locale){ - return dojo.date.locale.parse(time, {selector:"time", formatLength:"short"}); - }, - - format: function(time, locale){ - if (dojo.isString(time)) { return time; } - return dojo.date.locale.format(time, {selector:"time", formatLength:"short"}); - }, - - serialize: dojo.date.stamp.toISOString, - - value: "12:00 AM" - -}); - -} diff --git a/includes/js/dojox/widget/Toaster.js b/includes/js/dojox/widget/Toaster.js deleted file mode 100644 index 5505ede..0000000 --- a/includes/js/dojox/widget/Toaster.js +++ /dev/null @@ -1,268 +0,0 @@ -if(!dojo._hasResource["dojox.widget.Toaster"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.widget.Toaster"] = true; -dojo.provide("dojox.widget.Toaster"); - -dojo.require("dojo.fx"); -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); - -dojo.declare("dojox.widget.Toaster", [dijit._Widget, dijit._Templated], { - // summary: - // Message that slides in from the corner of the screen, used for notifications - // like "new email". - - templateString: '
                            ', - - // messageTopic: String - // Name of topic; anything published to this topic will be displayed as a message. - // Message format is either String or an object like - // {message: "hello word", type: "error", duration: 500} - messageTopic: "", - - _uniqueId: 0, - - // messageTypes: Enumeration - // Possible message types. - messageTypes: { - MESSAGE: "message", - WARNING: "warning", - ERROR: "error", - FATAL: "fatal" - }, - - // defaultType: String - // If message type isn't specified (see "messageTopic" parameter), - // then display message as this type. - // Possible values in messageTypes enumeration ("message", "warning", "error", "fatal") - defaultType: "message", - - // positionDirection: String - // Position from which message slides into screen, one of - // ["br-up", "br-left", "bl-up", "bl-right", "tr-down", "tr-left", "tl-down", "tl-right"] - positionDirection: "br-up", - - // positionDirectionTypes: Array - // Possible values for positionDirection parameter - positionDirectionTypes: ["br-up", "br-left", "bl-up", "bl-right", "tr-down", "tr-left", "tl-down", "tl-right"], - - // duration: Integer - // Number of milliseconds to show message - duration: "2000", - - //separator: String - // String used to separate messages if consecutive calls are made to setContent before previous messages go away - separator: "
                            ", - - postCreate: function(){ - this.inherited(arguments); - this.hide(); - - this.clipNode.className = "dijitToasterClip"; - this.containerNode.className += " dijitToasterContainer"; - this.contentNode.className = "dijitToasterContent"; - if(this.messageTopic){ - dojo.subscribe(this.messageTopic, this, "_handleMessage"); - } - }, - - _handleMessage: function(/*String|Object*/message){ - if(dojo.isString(message)){ - this.setContent(message); - }else{ - this.setContent(message.message, message.type, message.duration); - } - }, - - _capitalize: function(/* String */w){ - return w.substring(0,1).toUpperCase() + w.substring(1); - }, - - setContent: function(/*String*/message, /*String*/messageType, /*int?*/duration){ - // summary: - // sets and displays the given message and show duration - // message: - // the message - // messageType: - // type of message; possible values in messageTypes enumeration ("message", "warning", "error", "fatal") - // duration: - // duration in milliseconds to display message before removing it. Widget has default value. - duration = duration||this.duration; - // sync animations so there are no ghosted fades and such - if(this.slideAnim){ - if(this.slideAnim.status() != "playing"){ - this.slideAnim.stop(); - } - if(this.slideAnim.status() == "playing" || (this.fadeAnim && this.fadeAnim.status() == "playing")){ - setTimeout(dojo.hitch(this, function(){ - this.setContent(message, messageType, duration); - }), 50); - return; - } - } - - // determine type of content and apply appropriately - for(var type in this.messageTypes){ - dojo.removeClass(this.containerNode, "dijitToaster" + this._capitalize(this.messageTypes[type])); - } - - dojo.style(this.containerNode, "opacity", 1); - - if(message && this.isVisible){ - message = this.contentNode.innerHTML + this.separator + message; - } - this.contentNode.innerHTML = message; - - dojo.addClass(this.containerNode, "dijitToaster" + this._capitalize(messageType || this.defaultType)); - - // now do funky animation of widget appearing from - // bottom right of page and up - this.show(); - var nodeSize = dojo.marginBox(this.containerNode); - this._cancelHideTimer(); - if(this.isVisible){ - this._placeClip(); - //update hide timer if no sticky message in stack - if (!this._stickyMessage) - this._setHideTimer(duration); - - }else{ - var style = this.containerNode.style; - var pd = this.positionDirection; - // sets up initial position of container node and slide-out direction - if(pd.indexOf("-up") >= 0){ - style.left=0+"px"; - style.top=nodeSize.h + 10 + "px"; - }else if(pd.indexOf("-left") >= 0){ - style.left=nodeSize.w + 10 +"px"; - style.top=0+"px"; - }else if(pd.indexOf("-right") >= 0){ - style.left = 0 - nodeSize.w - 10 + "px"; - style.top = 0+"px"; - }else if(pd.indexOf("-down") >= 0){ - style.left = 0+"px"; - style.top = 0 - nodeSize.h - 10 + "px"; - }else{ - throw new Error(this.id + ".positionDirection is invalid: " + pd); - } - this.slideAnim = dojo.fx.slideTo({ - node: this.containerNode, - top: 0, left: 0, - duration: 450}); - this.connect(this.slideAnim, "onEnd", function(nodes, anim){ - //we build the fadeAnim here so we dont have to duplicate it later - // can't do a fadeHide because we're fading the - // inner node rather than the clipping node - this.fadeAnim = dojo.fadeOut({ - node: this.containerNode, - duration: 1000}); - this.connect(this.fadeAnim, "onEnd", function(evt){ - this.isVisible = false; - this.hide(); - }); - this._setHideTimer(duration); - this.connect(this, 'onSelect', function(evt){ - this._cancelHideTimer(); - //force clear sticky message - this._stickyMessage=false; - this.fadeAnim.play(); - }); - - this.isVisible = true; - }); - this.slideAnim.play(); - } - }, - - _cancelHideTimer:function(){ - if (this._hideTimer){ - clearTimeout(this._hideTimer); - this._hideTimer=null; - } - }, - - _setHideTimer:function(duration){ - this._cancelHideTimer(); - //if duration == 0 we keep the message displayed until clicked - if(duration>0){ - this._cancelHideTimer(); - this._hideTimer=setTimeout(dojo.hitch(this, function(evt){ - // we must hide the iframe in order to fade - // TODO: figure out how to fade with a BackgroundIframe - if(this.bgIframe && this.bgIframe.iframe){ - this.bgIframe.iframe.style.display="none"; - } - this._hideTimer=null; - //force clear sticky message - this._stickyMessage=false; - this.fadeAnim.play(); - }), duration); - } - else - this._stickyMessage=true; - }, - - _placeClip: function(){ - var view = dijit.getViewport(); - - var nodeSize = dojo.marginBox(this.containerNode); - - var style = this.clipNode.style; - // sets up the size of the clipping node - style.height = nodeSize.h+"px"; - style.width = nodeSize.w+"px"; - - // sets up the position of the clipping node - var pd = this.positionDirection; - if(pd.match(/^t/)){ - style.top = view.t+"px"; - }else if(pd.match(/^b/)){ - style.top = (view.h - nodeSize.h - 2 + view.t)+"px"; - } - if(pd.match(/^[tb]r-/)){ - style.left = (view.w - nodeSize.w - 1 - view.l)+"px"; - }else if(pd.match(/^[tb]l-/)){ - style.left = 0 + "px"; - } - - style.clip = "rect(0px, " + nodeSize.w + "px, " + nodeSize.h + "px, 0px)"; - if(dojo.isIE){ - if(!this.bgIframe){ - this.clipNode.id = "__dojoXToaster_"+this._uniqueId++; - this.bgIframe = new dijit.BackgroundIframe(this.clipNode); - } - var iframe = this.bgIframe.iframe; - if(iframe){ iframe.style.display="block"; } - } - }, - - onSelect: function(/*Event*/e){ - // summary: callback for when user clicks the message - }, - - show: function(){ - // summary: show the Toaster - dojo.style(this.domNode, 'display', 'block'); - - this._placeClip(); - - if(!this._scrollConnected){ - this._scrollConnected = dojo.connect(window, "onscroll", this, this._placeClip); - } - }, - - hide: function(){ - // summary: hide the Toaster - - dojo.style(this.domNode, 'display', 'none'); - - if(this._scrollConnected){ - dojo.disconnect(this._scrollConnected); - this._scrollConnected = false; - } - - dojo.style(this.containerNode, "opacity", 1); - } - } -); - -} diff --git a/includes/js/dojox/widget/Toaster/Toaster.css b/includes/js/dojox/widget/Toaster/Toaster.css deleted file mode 100644 index b898452..0000000 --- a/includes/js/dojox/widget/Toaster/Toaster.css +++ /dev/null @@ -1,39 +0,0 @@ - -.dijitToasterContent { - padding:1em; - padding-top:0.25em; - background:#73c74a; -} -.dijitToasterMessage{ - color:#fff; -} -.dijitToasterWarning{ } -.dijitToasterError, -.dijitToasterFatal{ - font-weight:bold; - color:#fff; -} -.dijitToasterWarning .dijitToasterContent{ - padding:1em; - padding-top:0.25em; - background:#d4d943; -} -.dijitToasterError .dijitToasterContent{ - padding:1em; - padding-top:0.25em; - background:#c46600; -} - -.dijitToasterClip { - position: absolute; - z-index: 5000; - overflow: hidden; -} -.dijitToasterContainer { - display: block; - position: absolute; - width: 17.5em; - margin: 0px; - font:0.75em Tahoma, Helvetica, Verdana, Arial; -} - diff --git a/includes/js/dojox/widget/Toaster/Toaster.css.commented.css b/includes/js/dojox/widget/Toaster/Toaster.css.commented.css deleted file mode 100644 index b933063..0000000 --- a/includes/js/dojox/widget/Toaster/Toaster.css.commented.css +++ /dev/null @@ -1,47 +0,0 @@ -/* main classes for dojox.widget.Toaster */ - -.dijitToasterContent { - padding:1em; - padding-top:0.25em; - background:#73c74a; -} - -.dijitToasterMessage{ - color:#fff; -} - -.dijitToasterWarning{ } -.dijitToasterError, -.dijitToasterFatal{ - font-weight:bold; - color:#fff; -} - -.dijitToasterWarning .dijitToasterContent{ - padding:1em; - padding-top:0.25em; - background:#d4d943; -} - -.dijitToasterError .dijitToasterContent{ - padding:1em; - padding-top:0.25em; - background:#c46600; -} - -/* imported from dijit.css */ - -.dijitToasterClip { - position: absolute; - z-index: 5000; - overflow: hidden; -} - -.dijitToasterContainer { - display: block; - position: absolute; - width: 17.5em; - margin: 0px; - font:0.75em Tahoma, Helvetica, Verdana, Arial; -} - diff --git a/includes/js/dojox/widget/Wizard.js b/includes/js/dojox/widget/Wizard.js deleted file mode 100644 index b8921b1..0000000 --- a/includes/js/dojox/widget/Wizard.js +++ /dev/null @@ -1,192 +0,0 @@ -if(!dojo._hasResource["dojox.widget.Wizard"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.widget.Wizard"] = true; -dojo.provide("dojox.widget.Wizard"); - -dojo.require("dijit.layout.StackContainer"); -dojo.require("dijit.layout.ContentPane"); -dojo.require("dijit.form.Button"); - -dojo.require("dojo.i18n"); -dojo.requireLocalization("dijit", "common", null, "zh,pt,da,tr,ru,de,sv,ja,he,fi,nb,el,ar,ROOT,pt-pt,cs,fr,es,ko,nl,zh-tw,pl,it,hu"); -dojo.requireLocalization("dojox.widget", "Wizard", null, "zh,pt,da,tr,ru,de,sv,ja,he,fi,nb,el,ar,pt-pt,cs,fr,es,nl,ko,zh-tw,ROOT,pl,it,hu"); - -dojo.declare( - "dojox.widget.WizardContainer", - [dijit.layout.StackContainer,dijit._Templated], - { - // summary: - // A set of panels that display sequentially, typically notating a step-by-step - // procedure like an install - // - - widgetsInTemplate: true, - templateString:"
                            \n
                            \n
                            \n \n \n \n \n
                            \n
                            \n", - - // nextButtonLabel: String - // Label override for the "Next" button. - nextButtonLabel: "", - - // previousButtonLabel: String - // Label override for the "Previous" button. - previousButtonLabel: "", - - // cancelButtonLabel: String - // Label override for the "Cancel" button. - cancelButtonLabel: "", - - // doneButtonLabel: String - // Label override for the "Done" button. - doneButtonLabel: "", - - // cancelFunction: FunctionName - // Name of function to call if user presses cancel button. - // Cancel button is not displayed if function is not specified. - cancelFunction: "", - - // hideDisabled: Boolean - // If true, disabled buttons are hidden; otherwise, they are assigned the - // "WizardButtonDisabled" CSS class - hideDisabled: false, - - postMixInProperties: function(){ - this.inherited(arguments); - var labels = dojo.mixin({cancel: dojo.i18n.getLocalization("dijit", "common", this.lang).buttonCancel}, - dojo.i18n.getLocalization("dojox.widget", "Wizard", this.lang)); - for(prop in labels){ - if(!this[prop + "ButtonLabel"]){ - this[prop + "ButtonLabel"] = labels[prop]; - } - } - }, - - startup: function(){ - this.inherited(arguments); - - this.connect(this.nextButton, "onClick", "_forward"); - this.connect(this.previousButton, "onClick", "back"); - - if(this.cancelFunction){ - this.cancelFunction = dojo.getObject(this.cancelFunction); - this.connect(this.cancelButton, "onClick", this.cancelFunction); - }else{ - this.cancelButton.domNode.style.display = "none"; - } - this.connect(this.doneButton, "onClick", "done"); - - this._subscription = dojo.subscribe(this.id+"-selectChild", dojo.hitch(this,"_checkButtons")); - this._checkButtons(); - }, - - _checkButtons: function(){ - - var sw = this.selectedChildWidget; - - var lastStep = sw.isLastChild; - this.nextButton.setAttribute("disabled", lastStep); - this._setButtonClass(this.nextButton); - if(sw.doneFunction){ - this.doneButton.domNode.style.display = ""; - if(lastStep){ - this.nextButton.domNode.style.display = "none"; - } - }else{ - // #1438 issue here. - this.doneButton.domNode.style.display = "none"; - } - this.previousButton.setAttribute("disabled", !this.selectedChildWidget.canGoBack); - this._setButtonClass(this.previousButton); - }, - - _setButtonClass: function(button){ - button.domNode.style.display = (this.hideDisabled && button.disabled) ? "none" : ""; - }, - - _forward: function(){ - // summary: callback when next button is clicked - if(this.selectedChildWidget._checkPass()){ - this.forward(); - } - }, - - done: function(){ - // summary: Finish the wizard's operation - this.selectedChildWidget.done(); - }, - - destroy: function(){ - dojo.unsubscribe(this._subscription); - this.inherited(arguments); - } -}); - -dojo.declare( - "dojox.widget.WizardPane", - dijit.layout.ContentPane, - { - // summary: a panel in a WizardContainer - // - // description: - // An extended ContentPane with additional hooks for passing named - // functions to prevent the pane from going either forward or - // backwards. - // - // canGoBack: Boolean - // If true, then can move back to a previous panel (by clicking the "Previous" button) - canGoBack: true, - - // passFunction: String - // Name of function that checks if it's OK to advance to the next panel. - // If it's not OK (for example, mandatory field hasn't been entered), then - // returns an error message (String) explaining the reason. - passFunction: "", - - // doneFunction: String - // Name of function that is run if you press the "Done" button from this panel - doneFunction: "", - - postMixInProperties: function(){ - if(this.passFunction){ - this.passFunction = dojo.getObject(this.passFunction); - } - if(this.doneFunction){ - this.doneFunction = dojo.getObject(this.doneFunction); - } - this.inherited(arguments); - }, - - startup: function(){ - this.inherited(arguments); - if(this.isFirstChild){ this.canGoBack = false; } - }, - - _checkPass: function(){ - // summary: - // Called when the user presses the "next" button. - // Calls passFunction to see if it's OK to advance to next panel, and - // if it isn't, then display error. - // Returns true to advance, false to not advance. - var r = true; - if(this.passFunction && dojo.isFunction(this.passFunction)){ - var failMessage = this.passFunction(); - switch(typeof failMessage){ - case "boolean": - r = failMessage; - break; - case "string": - alert(failMessage); - r = false; - break; - } - } - return r; - }, - - done: function(){ - if(this.doneFunction && dojo.isFunction(this.doneFunction)){ - this.doneFunction(); - } - } - -}); - -} diff --git a/includes/js/dojox/widget/Wizard/Wizard.css b/includes/js/dojox/widget/Wizard/Wizard.css deleted file mode 100644 index f1a9177..0000000 --- a/includes/js/dojox/widget/Wizard/Wizard.css +++ /dev/null @@ -1,19 +0,0 @@ -.dojoxWizard { - position:relative; -} -.dojoxWizardButtons { - position:absolute; - bottom:5px; - right:5px; -} -.tundra .dojoxWizard { - background: #eeeeee; - border: #b7b7b7 1px solid; - padding: 2px; - -moz-border-radius:3pt; - -webkit-border-radius:4pt; -} -.soria .dojoxWizard { - border:1px solid #b7b7b7; - padding:2px; -} diff --git a/includes/js/dojox/widget/Wizard/Wizard.css.commented.css b/includes/js/dojox/widget/Wizard/Wizard.css.commented.css deleted file mode 100644 index 61340f5..0000000 --- a/includes/js/dojox/widget/Wizard/Wizard.css.commented.css +++ /dev/null @@ -1,22 +0,0 @@ -.dojoxWizard { - position:relative; -} - -.dojoxWizardButtons { - position:absolute; - bottom:5px; - right:5px; -} - -.tundra .dojoxWizard { - background: #eeeeee; - border: #b7b7b7 1px solid; - padding: 2px; - -moz-border-radius:3pt; - -webkit-border-radius:4pt; -} - -.soria .dojoxWizard { - border:1px solid #b7b7b7; - padding:2px; -} diff --git a/includes/js/dojox/widget/Wizard/Wizard.html b/includes/js/dojox/widget/Wizard/Wizard.html deleted file mode 100644 index 1ae6a1e..0000000 --- a/includes/js/dojox/widget/Wizard/Wizard.html +++ /dev/null @@ -1,9 +0,0 @@ -
                            -
                            -
                            - - - - -
                            -
                            diff --git a/includes/js/dojox/widget/nls/Wizard.js b/includes/js/dojox/widget/nls/Wizard.js deleted file mode 100644 index ec10f3f..0000000 --- a/includes/js/dojox/widget/nls/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Next","done":"Done","previous":"Previous"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/ar/Wizard.js b/includes/js/dojox/widget/nls/ar/Wizard.js deleted file mode 100644 index 66209a5..0000000 --- a/includes/js/dojox/widget/nls/ar/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"تالي","done":"اتمام","previous":"سابق"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/cs/Wizard.js b/includes/js/dojox/widget/nls/cs/Wizard.js deleted file mode 100644 index 4075772..0000000 --- a/includes/js/dojox/widget/nls/cs/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Další","done":"Hotovo","previous":"Předchozí"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/da/Wizard.js b/includes/js/dojox/widget/nls/da/Wizard.js deleted file mode 100644 index a3b161f..0000000 --- a/includes/js/dojox/widget/nls/da/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Næste","done":"Udført","previous":"Foregående"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/de/Wizard.js b/includes/js/dojox/widget/nls/de/Wizard.js deleted file mode 100644 index a7f2164..0000000 --- a/includes/js/dojox/widget/nls/de/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Weiter","done":"Fertig","previous":"Zurück"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/el/Wizard.js b/includes/js/dojox/widget/nls/el/Wizard.js deleted file mode 100644 index 6a25346..0000000 --- a/includes/js/dojox/widget/nls/el/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Επόμενο","done":"Ολοκλήρωση","previous":"Προηγούμενο"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/es/Wizard.js b/includes/js/dojox/widget/nls/es/Wizard.js deleted file mode 100644 index aab5661..0000000 --- a/includes/js/dojox/widget/nls/es/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Siguiente","done":"Terminado","previous":"Anterior"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/fi/Wizard.js b/includes/js/dojox/widget/nls/fi/Wizard.js deleted file mode 100644 index ea6a9db..0000000 --- a/includes/js/dojox/widget/nls/fi/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Seuraava","done":"Valmis","previous":"Edellinen"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/fr/Wizard.js b/includes/js/dojox/widget/nls/fr/Wizard.js deleted file mode 100644 index 779919e..0000000 --- a/includes/js/dojox/widget/nls/fr/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Suivant","done":"Terminé","previous":"Précédent"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/he/Wizard.js b/includes/js/dojox/widget/nls/he/Wizard.js deleted file mode 100644 index e5ee2ee..0000000 --- a/includes/js/dojox/widget/nls/he/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"הבא","done":"סיום","previous":"הקודם"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/hu/Wizard.js b/includes/js/dojox/widget/nls/hu/Wizard.js deleted file mode 100644 index 6ad86c7..0000000 --- a/includes/js/dojox/widget/nls/hu/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Következő","done":"Kész","previous":"Előző"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/it/Wizard.js b/includes/js/dojox/widget/nls/it/Wizard.js deleted file mode 100644 index 78ea64b..0000000 --- a/includes/js/dojox/widget/nls/it/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Successivo","done":"Eseguito","previous":"Precedente"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/ja/Wizard.js b/includes/js/dojox/widget/nls/ja/Wizard.js deleted file mode 100644 index 6394cb3..0000000 --- a/includes/js/dojox/widget/nls/ja/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"次へ","done":"完了","previous":"前へ"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/ko/Wizard.js b/includes/js/dojox/widget/nls/ko/Wizard.js deleted file mode 100644 index dec3546..0000000 --- a/includes/js/dojox/widget/nls/ko/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"다음","done":"완료","previous":"이전"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/nb/Wizard.js b/includes/js/dojox/widget/nls/nb/Wizard.js deleted file mode 100644 index 0cbe813..0000000 --- a/includes/js/dojox/widget/nls/nb/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Neste","done":"Ferdig","previous":"Forrige"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/nl/Wizard.js b/includes/js/dojox/widget/nls/nl/Wizard.js deleted file mode 100644 index d5e680f..0000000 --- a/includes/js/dojox/widget/nls/nl/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Volgende","done":"Klaar","previous":"Vorige"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/pl/Wizard.js b/includes/js/dojox/widget/nls/pl/Wizard.js deleted file mode 100644 index c7dc6a1..0000000 --- a/includes/js/dojox/widget/nls/pl/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Dalej","done":"Gotowe","previous":"Wstecz"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/pt-pt/Wizard.js b/includes/js/dojox/widget/nls/pt-pt/Wizard.js deleted file mode 100644 index 2b6bb1e..0000000 --- a/includes/js/dojox/widget/nls/pt-pt/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Seguinte","done":"Concluído","previous":"Anterior"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/pt/Wizard.js b/includes/js/dojox/widget/nls/pt/Wizard.js deleted file mode 100644 index 1840985..0000000 --- a/includes/js/dojox/widget/nls/pt/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Avançar","done":"Concluído","previous":"Voltar"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/ru/Wizard.js b/includes/js/dojox/widget/nls/ru/Wizard.js deleted file mode 100644 index bbc1b51..0000000 --- a/includes/js/dojox/widget/nls/ru/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Далее","done":"Готово","previous":"Назад"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/sv/Wizard.js b/includes/js/dojox/widget/nls/sv/Wizard.js deleted file mode 100644 index ae75b03..0000000 --- a/includes/js/dojox/widget/nls/sv/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"Nästa","done":"Stäng","previous":"Föregående"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/tr/Wizard.js b/includes/js/dojox/widget/nls/tr/Wizard.js deleted file mode 100644 index 752b8ac..0000000 --- a/includes/js/dojox/widget/nls/tr/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"İleri","done":"Bitti","previous":"Geri"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/zh-tw/Wizard.js b/includes/js/dojox/widget/nls/zh-tw/Wizard.js deleted file mode 100644 index fe45203..0000000 --- a/includes/js/dojox/widget/nls/zh-tw/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"下一步","done":"完成","previous":"上一步"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/nls/zh/Wizard.js b/includes/js/dojox/widget/nls/zh/Wizard.js deleted file mode 100644 index fe45203..0000000 --- a/includes/js/dojox/widget/nls/zh/Wizard.js +++ /dev/null @@ -1 +0,0 @@ -({"next":"下一步","done":"完成","previous":"上一步"}) \ No newline at end of file diff --git a/includes/js/dojox/widget/tests/_tags.json b/includes/js/dojox/widget/tests/_tags.json deleted file mode 100644 index 421031a..0000000 --- a/includes/js/dojox/widget/tests/_tags.json +++ /dev/null @@ -1,100 +0,0 @@ -{identifier:"tag", -items: [ - {tag: "accounting"}, - {tag: "attorney"}, - {tag: "atv"}, - {tag: "backcountry"}, - {tag: "bakery"}, - {tag: "bandb"}, - {tag: "bank"}, - {tag: "bar"}, - {tag: "bicycle"}, - {tag: "cabin"}, - {tag: "cabinoutside"}, - {tag: "camp"}, - {tag: "campoutside"}, - {tag: "catering"}, - {tag: "chamber"}, - {tag: "church"}, - {tag: "city"}, - {tag: "classes"}, - {tag: "coffeehouse"}, - {tag: "condo"}, - {tag: "condooutside"}, - {tag: "conference"}, - {tag: "county"}, - {tag: "crosscountryski"}, - {tag: "dentist"}, - {tag: "dining"}, - {tag: "fishing"}, - {tag: "gallery"}, - {tag: "general"}, - {tag: "golf"}, - {tag: "graphicart"}, - {tag: "grocery"}, - {tag: "guideservice"}, - {tag: "hair"}, - {tag: "health"}, - {tag: "home"}, - {tag: "homeoutside"}, - {tag: "horse"}, - {tag: "hotel"}, - {tag: "hoteloutside"}, - {tag: "hotsprings"}, - {tag: "hotspringspool"}, - {tag: "hunting"}, - {tag: "iceclimbing"}, - {tag: "iceskating"}, - {tag: "inspection"}, - {tag: "insurance"}, - {tag: "internet"}, - {tag: "jeeping"}, - {tag: "jewelry"}, - {tag: "live"}, - {tag: "liveentertainment"}, - {tag: "lodging"}, - {tag: "manicure"}, - {tag: "manufacturing"}, - {tag: "maps"}, - {tag: "massage"}, - {tag: "menu:aboutouray"}, - {tag: "menu:recreation"}, - {tag: "minetour"}, - {tag: "mining"}, - {tag: "mountaineering"}, - {tag: "museum"}, - {tag: "nonprofit"}, - {tag: "offroad"}, - {tag: "online"}, - {tag: "ouraymuseum"}, - {tag: "park"}, - {tag: "performingarts"}, - {tag: "pet"}, - {tag: "pharmacy"}, - {tag: "photographer"}, - {tag: "photography"}, - {tag: "printing"}, - {tag: "publishing"}, - {tag: "rafting"}, - {tag: "railroad"}, - {tag: "realestate"}, - {tag: "recreation"}, - {tag: "rentals"}, - {tag: "retail"}, - {tag: "rockclimbing"}, - {tag: "rv"}, - {tag: "rvoutside"}, - {tag: "school"}, - {tag: "shop"}, - {tag: "skirentals"}, - {tag: "snowmobiling"}, - {tag: "spa"}, - {tag: "summer"}, - {tag: "tours"}, - {tag: "trails"}, - {tag: "utility"}, - {tag: "waterfall"}, - {tag: "wedding"}, - {tag: "weddingplanner"}, - {tag: "winter"} -]} diff --git a/includes/js/dojox/widget/tests/demo_FisheyeList-orig.html b/includes/js/dojox/widget/tests/demo_FisheyeList-orig.html deleted file mode 100644 index a36d32c..0000000 --- a/includes/js/dojox/widget/tests/demo_FisheyeList-orig.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - FisheyeList Widget Demonstration - - - - - -
                            -
                            -
                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            -
                            - -
                            -

                            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam facilisis enim. Pellentesque in elit et lacus euismod dignissim. Aliquam dolor pede, convallis eget, dictum a, blandit ac, urna. Pellentesque sed nunc ut justo volutpat egestas. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. In erat. Suspendisse potenti. Fusce faucibus nibh sed nisi. Phasellus faucibus, dui a cursus dapibus, mauris nulla euismod velit, a lobortis turpis arcu vel dui. Pellentesque fermentum ultrices pede. Donec auctor lectus eu arcu. Curabitur non orci eget est porta gravida. Aliquam pretium orci id nisi. Duis faucibus, mi non adipiscing venenatis, erat urna aliquet elit, eu fringilla lacus tellus quis erat. Nam tempus ornare lorem. Nullam feugiat.

                            - -

                            Sed congue. Aenean blandit sollicitudin mi. Maecenas pellentesque. Vivamus ac urna. Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia ac, vehicula laoreet, elit. Sed interdum augue sit amet quam dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec quam.

                            - -

                            Sed arcu magna, molestie at, fringilla in, sodales eu, elit. Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus ut elit convallis eleifend. Fusce tincidunt, justo quis tempus euismod, magna nulla viverra libero, sit amet lacinia odio diam id risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, consequat quis, varius interdum, nulla. Donec neque tortor, sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean ut eros sit amet ante pharetra interdum.

                            - -

                            Fusce rutrum pede eget quam. Praesent purus. Aenean at elit in sem volutpat facilisis. Nunc est augue, commodo at, pretium a, fermentum at, quam. Nam sit amet enim. Suspendisse potenti. Cras hendrerit rhoncus justo. Integer libero. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam erat volutpat. Sed adipiscing mi vel ipsum.

                            - -

                            Sed aliquam, quam consectetuer condimentum bibendum, neque libero commodo metus, non consectetuer magna risus vitae eros. Pellentesque mollis augue id libero. Morbi nonummy hendrerit dui. Morbi nisi felis, fringilla ac, euismod vitae, dictum mollis, pede. Integer suscipit, est sed posuere ullamcorper, ipsum lectus interdum nunc, quis blandit erat eros hendrerit pede. Vestibulum varius, elit id mattis mattis, nulla est feugiat ante, eget vestibulum augue eros ut odio. Maecenas euismod purus quis felis. Ut hendrerit tincidunt est. Fusce euismod, nunc eu tempus tempor, purus ligula volutpat tellus, nec lacinia sapien enim id risus. Aliquam orci turpis, condimentum sed, sollicitudin vel, placerat in, purus. Proin tortor nisl, blandit quis, imperdiet quis, scelerisque at, nisl. Maecenas suscipit fringilla erat. Curabitur consequat, dui blandit suscipit dictum, felis lectus imperdiet tellus, sit amet ornare risus mauris non ipsum. Fusce a purus. Vestibulum sodales. Sed porta ultrices nibh. Vestibulum metus.

                            - - -
                            - - - - - diff --git a/includes/js/dojox/widget/tests/demo_FisheyeList.html b/includes/js/dojox/widget/tests/demo_FisheyeList.html deleted file mode 100644 index 703fc55..0000000 --- a/includes/js/dojox/widget/tests/demo_FisheyeList.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - FisheyeList Widget Demonstration - - - - - -
                            -
                            - - - - - - - - - - - -
                            - -
                            -

                            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam facilisis enim. Pellentesque in elit et lacus euismod dignissim. Aliquam dolor pede, convallis eget, dictum a, blandit ac, urna. Pellentesque sed nunc ut justo volutpat egestas. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. In erat. Suspendisse potenti. Fusce faucibus nibh sed nisi. Phasellus faucibus, dui a cursus dapibus, mauris nulla euismod velit, a lobortis turpis arcu vel dui. Pellentesque fermentum ultrices pede. Donec auctor lectus eu arcu. Curabitur non orci eget est porta gravida. Aliquam pretium orci id nisi. Duis faucibus, mi non adipiscing venenatis, erat urna aliquet elit, eu fringilla lacus tellus quis erat. Nam tempus ornare lorem. Nullam feugiat.

                            - -

                            Sed congue. Aenean blandit sollicitudin mi. Maecenas pellentesque. Vivamus ac urna. Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia ac, vehicula laoreet, elit. Sed interdum augue sit amet quam dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec quam.

                            - -

                            Sed arcu magna, molestie at, fringilla in, sodales eu, elit. Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus ut elit convallis eleifend. Fusce tincidunt, justo quis tempus euismod, magna nulla viverra libero, sit amet lacinia odio diam id risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, consequat quis, varius interdum, nulla. Donec neque tortor, sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean ut eros sit amet ante pharetra interdum.

                            - -

                            Fusce rutrum pede eget quam. Praesent purus. Aenean at elit in sem volutpat facilisis. Nunc est augue, commodo at, pretium a, fermentum at, quam. Nam sit amet enim. Suspendisse potenti. Cras hendrerit rhoncus justo. Integer libero. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam erat volutpat. Sed adipiscing mi vel ipsum.

                            - -

                            Sed aliquam, quam consectetuer condimentum bibendum, neque libero commodo metus, non consectetuer magna risus vitae eros. Pellentesque mollis augue id libero. Morbi nonummy hendrerit dui. Morbi nisi felis, fringilla ac, euismod vitae, dictum mollis, pede. Integer suscipit, est sed posuere ullamcorper, ipsum lectus interdum nunc, quis blandit erat eros hendrerit pede. Vestibulum varius, elit id mattis mattis, nulla est feugiat ante, eget vestibulum augue eros ut odio. Maecenas euismod purus quis felis. Ut hendrerit tincidunt est. Fusce euismod, nunc eu tempus tempor, purus ligula volutpat tellus, nec lacinia sapien enim id risus. Aliquam orci turpis, condimentum sed, sollicitudin vel, placerat in, purus. Proin tortor nisl, blandit quis, imperdiet quis, scelerisque at, nisl. Maecenas suscipit fringilla erat. Curabitur consequat, dui blandit suscipit dictum, felis lectus imperdiet tellus, sit amet ornare risus mauris non ipsum. Fusce a purus. Vestibulum sodales. Sed porta ultrices nibh. Vestibulum metus.

                            - - -
                            - - - - - diff --git a/includes/js/dojox/widget/tests/demo_FisheyeLite.html b/includes/js/dojox/widget/tests/demo_FisheyeLite.html deleted file mode 100644 index e937698..0000000 --- a/includes/js/dojox/widget/tests/demo_FisheyeLite.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - A responsive Fisheye-like FisheyeLite widget | The Dojo Toolkit - - - - - - - - -
                            -
                            -

                            The Dojo Toolkit:

                            -
                            - -
                            -
                            -
                            - Dojo Pane -
                            -
                            -
                            -
                            - Dijit Pane -
                            -
                            -
                            -
                            - DojoX Pane -
                            -
                            -
                            -
                            - - - \ No newline at end of file diff --git a/includes/js/dojox/widget/tests/images/fisheye_1.png b/includes/js/dojox/widget/tests/images/fisheye_1.png deleted file mode 100644 index 7499dcc..0000000 Binary files a/includes/js/dojox/widget/tests/images/fisheye_1.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/fisheye_2.png b/includes/js/dojox/widget/tests/images/fisheye_2.png deleted file mode 100644 index 2db041b..0000000 Binary files a/includes/js/dojox/widget/tests/images/fisheye_2.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/fisheye_3.png b/includes/js/dojox/widget/tests/images/fisheye_3.png deleted file mode 100644 index 5d9cc09..0000000 Binary files a/includes/js/dojox/widget/tests/images/fisheye_3.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/fisheye_4.png b/includes/js/dojox/widget/tests/images/fisheye_4.png deleted file mode 100644 index 4e74550..0000000 Binary files a/includes/js/dojox/widget/tests/images/fisheye_4.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/icon_browser.png b/includes/js/dojox/widget/tests/images/icon_browser.png deleted file mode 100644 index 72fae26..0000000 Binary files a/includes/js/dojox/widget/tests/images/icon_browser.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/icon_calendar.png b/includes/js/dojox/widget/tests/images/icon_calendar.png deleted file mode 100644 index d9e9a22..0000000 Binary files a/includes/js/dojox/widget/tests/images/icon_calendar.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/icon_email.png b/includes/js/dojox/widget/tests/images/icon_email.png deleted file mode 100644 index 899dfa5..0000000 Binary files a/includes/js/dojox/widget/tests/images/icon_email.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/icon_texteditor.png b/includes/js/dojox/widget/tests/images/icon_texteditor.png deleted file mode 100644 index ced8c14..0000000 Binary files a/includes/js/dojox/widget/tests/images/icon_texteditor.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/icon_update.png b/includes/js/dojox/widget/tests/images/icon_update.png deleted file mode 100644 index b741cd0..0000000 Binary files a/includes/js/dojox/widget/tests/images/icon_update.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/icon_users.png b/includes/js/dojox/widget/tests/images/icon_users.png deleted file mode 100644 index 569e712..0000000 Binary files a/includes/js/dojox/widget/tests/images/icon_users.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/rating_empty.gif b/includes/js/dojox/widget/tests/images/rating_empty.gif deleted file mode 100644 index dc6ecd8..0000000 Binary files a/includes/js/dojox/widget/tests/images/rating_empty.gif and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/rating_empty.png b/includes/js/dojox/widget/tests/images/rating_empty.png deleted file mode 100644 index 3515d1a..0000000 Binary files a/includes/js/dojox/widget/tests/images/rating_empty.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/rating_full.gif b/includes/js/dojox/widget/tests/images/rating_full.gif deleted file mode 100644 index 2e816a8..0000000 Binary files a/includes/js/dojox/widget/tests/images/rating_full.gif and /dev/null differ diff --git a/includes/js/dojox/widget/tests/images/rating_full.png b/includes/js/dojox/widget/tests/images/rating_full.png deleted file mode 100644 index 86fb2e0..0000000 Binary files a/includes/js/dojox/widget/tests/images/rating_full.png and /dev/null differ diff --git a/includes/js/dojox/widget/tests/test_ColorPicker.html b/includes/js/dojox/widget/tests/test_ColorPicker.html deleted file mode 100644 index 87d173e..0000000 --- a/includes/js/dojox/widget/tests/test_ColorPicker.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - Dojox ColorPicker Test - - - - - - - - -

                            Dojox ColorPicker test

                            - -

                            defaults:

                            -
                            - -

                            no animation, no hsv, no rgb, no webSafe info:

                            -
                            - - - diff --git a/includes/js/dojox/widget/tests/test_FileInput.html b/includes/js/dojox/widget/tests/test_FileInput.html deleted file mode 100644 index caccd0f..0000000 --- a/includes/js/dojox/widget/tests/test_FileInput.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - dojox.widget.FileInput | The Dojo Toolkit - - - - - - - - - -

                            dojox FileInput widget:

                            -

                            This is a prototype of a dojo input type="file" with a FormWidget mixin, to be styled to match tundra and soria themes

                            -

                            The API is up for discussion, nor is it known to drop into forms and "just work" yet

                            -

                            FileInputAuto API is up for discussion, as well, though by use of the url="" attrib, you can basically - do all your file-processing server side, and just use the filename sent that remains in the form input

                            -

                            There are two parts. dojo.require("dojox.widget.FileInput") for just the base class, or dojo.require("dojox.widget.FileInputAuto"); - to provide the Auto Uploading widget (on blur), and the Blind Auto Upload widget.

                            -

                            Both themes are defined in the FileInput.css file, as well as basic styling needed to run

                            - -

                            A standard file input:

                            - - -

                            The default dojox.widget.FileInput:

                            -

                            - -

                            - -

                            default dojox.widget.FileInput, tundra:

                            -

                            - -

                            - -

                            dojox.widget.FileInputAuto, soria theme:

                            -

                            - -

                            - -

                            another one, tundra theme (with callback)

                            -

                            - -

                            - -

                            a blind auto upload widget, tundra:

                            -

                            - -

                            - -

                            dojox.widget.FileInputBlind - soria

                            -

                            - -

                            - -

                            dynamic, tundra, dojox.widget.FileInputAuto:

                            - -

                            -
                            - - - diff --git a/includes/js/dojox/widget/tests/test_FisheyeList.html b/includes/js/dojox/widget/tests/test_FisheyeList.html deleted file mode 100644 index 348ea13..0000000 --- a/includes/js/dojox/widget/tests/test_FisheyeList.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - FisheyeList Widget Dojo Tests - - - - - - - -

                            dojox.widget.FisheyeList test

                            -

                            HTML before

                            - -

                            HTML before

                            -

                            HTML before

                            -

                            Liberal trigger: move the mouse anywhere near the menu and it will start to expand:

                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            -
                            - -

                            HTML after

                            -

                            HTML after

                            -

                            HTML after

                            -

                            This one has strict triggering, so you actually have to mouse over the menu to make it start moving:

                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            - -
                            -
                            -
                            - - - - diff --git a/includes/js/dojox/widget/tests/test_FisheyeLite.html b/includes/js/dojox/widget/tests/test_FisheyeLite.html deleted file mode 100644 index 0935d10..0000000 --- a/includes/js/dojox/widget/tests/test_FisheyeLite.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - A responsive Fisheye-like FisheyeLite widget | The Dojo Toolkit - - - - - - - -
                            - -
                            -
                              -
                            • Dojo
                              the javascript toolkit
                            • -
                            • Dijit
                              UI y mas - themeable, plugable.
                            • -
                            • DojoX
                              extensions, experimentals, extras. innovation.
                            • -
                            • Dojo
                              the javascript toolkit
                            • -
                            • Dijit
                              UI y mas - themeable, plugable.
                            • -
                            • DojoX
                              extensions, experimentals, extras. innovation.
                            • -
                            • Dojo
                              the javascript toolkit
                            • -
                            • Dijit
                              UI y mas - themeable, plugable.
                            • -
                            -
                            - -

                            A paragraph: (with links)

                            - -

                            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. - Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla - facilisi. Maecenas luctus venenatis nulla. In sit amet dui non mi - semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum - magna. Sed vitae risus. -

                            - -

                            read the fine print:

                            - -

                            - - - - -

                            - -
                            - Aliquam vitae enim. Duis scelerisque metus auctor est venenatis - imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer - lorem nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean - id mi in massa bibendum suscipit. Integer eros. Nullam suscipit - mauris. In pellentesque. Mauris ipsum est, pharetra semper, - pharetra in, viverra quis, tellus. Etiam purus. -
                            - -

                            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. - Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla - facilisi. Maecenas luctus venenatis nulla. In sit amet dui non mi - semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum - magna. Sed vitae risus. -

                            -

                            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. - Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla - facilisi. Maecenas luctus venenatis nulla. In sit amet dui non mi - semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum - magna. Sed vitae risus. -

                            -

                            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. - Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla - facilisi. Maecenas luctus venenatis nulla. In sit amet dui non mi - semper iaculis. Sed molestie tortor at ipsum. Morbi dictum rutrum - magna. Sed vitae risus. -

                            -

                            - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean - semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. - Proin porta rutrum lacus. Etiam consequat scelerisque quam. Nulla - facilisi. Maecenas luctus venenatis nulla. In sit amet dui non mi - semper iaculis. Sed molestie tortor at ipsum. -

                            -

                            another list: (no target, or ilk)

                            -
                            -
                            -
                              -
                            • Foo
                            • -
                            • Bar
                            • -
                            • Baz
                            • -
                            • Bam
                            • -
                            -
                            -
                            - -

                            oh right, Images:

                            - -
                            - - - - - - - -
                            - -
                            -
                            -
                            -
                            -
                            -
                            -
                            - -
                            - -

                            - - Aliquam vitae enim. Duis scelerisque metus auctor est venenatis - imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer - lorem nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean - id mi in massa bibendum suscipit. Integer eros. Nullam suscipit - mauris. In pellentesque. Mauris ipsum est, pharetra semper, - pharetra in, viverra quis, tellus. Etiam purus. Quisque egestas, - tortor ac cursus lacinia, felis leo adipiscing nisi, et rhoncus - elit dolor eget eros. Fusce ut quam. Suspendisse eleifend leo vitae - ligula. Nulla facilisi. Nulla rutrum, erat vitae lacinia dictum, - pede purus imperdiet lacus, ut semper velit ante id metus. Praesent - massa dolor, porttitor sed, pulvinar in, consequat ut, leo. Nullam - nec est. Aenean id risus blandit tortor pharetra congue. - Suspendisse pulvinar. -

                            - -

                            the end

                            - -
                            - - diff --git a/includes/js/dojox/widget/tests/test_Iterator.html b/includes/js/dojox/widget/tests/test_Iterator.html deleted file mode 100644 index 7cf82ff..0000000 --- a/includes/js/dojox/widget/tests/test_Iterator.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - Dojox Iterator Test - - - - - - - - -

                            Dojox Iterator test

                            - -
                            - -

                            Data store backed Iterator

                            -
                              -
                            • before
                            • -
                            • - ${name} -
                            • -
                            • after
                            • -
                            - -

                            Array backed Iterator

                            -
                              -
                            • before
                            • - -
                            • - ${name} ${thinger} -
                            • -
                            • after
                            • -
                            - -

                            Array-property Iterator

                            -
                              -
                            • before
                            • -
                            • blah
                            • -
                            • - ${value} -
                            • -
                            • after
                            • -
                            - - - diff --git a/includes/js/dojox/widget/tests/test_Loader.html b/includes/js/dojox/widget/tests/test_Loader.html deleted file mode 100644 index 3c014a2..0000000 --- a/includes/js/dojox/widget/tests/test_Loader.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Dojo Visual Loader Test - - - - - - - -
                            - - - -

                            Dojox xhrListener test

                            - - start xhrGet demo - start xhrPost demo - -

                            No additional code is required except for the existance of a - dojoType="dojox.widget.Loader" node. It will listen for the start - and end of xhr* requests (via _ioSetArgs [ugh] and Deferred.prototype._fire .. -

                            - -
                            -
                            - -
                            spacer
                            - - - diff --git a/includes/js/dojox/widget/tests/test_MultiComboBox.html b/includes/js/dojox/widget/tests/test_MultiComboBox.html deleted file mode 100644 index 86f6c54..0000000 --- a/includes/js/dojox/widget/tests/test_MultiComboBox.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - Multi-input ComboBox widget - - - - - - -

                            dojox.widget.MultiComboBox

                            -

                            - This widget is an extension to ComboBox to allow "tag" style input using a datastore. Start typing - into the box, and your options will be presented. The default delimiter is a comma, which can be over-ridden - by the delimiter="" attrbute. -

                            - -
                            - -

                            Default:

                            - - -

                            Alternate delimiter (:)

                            - - -

                            From code:

                            -
                            - - - - - - diff --git a/includes/js/dojox/widget/tests/test_Rating.html b/includes/js/dojox/widget/tests/test_Rating.html deleted file mode 100644 index e87168f..0000000 --- a/includes/js/dojox/widget/tests/test_Rating.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - Dojox Rating Test - - - - - - - - - - - - -

                            Dojox Rating test

                            - -

                            default usage:

                            - The attribute "numStars" is not given, so the default 3 stars are shown.
                            - - The value is: 0 -

                            - -

                            5 stars:

                            - The attribute "numStars" is given and set to 5, the initial value is 3.
                            - -

                            - -

                            Customized, "my big stars":

                            - The stars are bigger, and styled this way that there is space around each. - When hovering the background color is changed too. All this is achieved via CSS, see top of this file. -
                            - The attribute "numStars" is set to 10, so we see ten stars. -
                            - - - - -

                            - The value is: 0 -
                            - The mouse is over: 0 -
                            - -

                            Spacing

                            - Surrounded by text to see that it really takes all it's space - Surrounded by text to see that it really takes all it's space - Surrounded by text to see that it really takes all it's space - Surrounded by text to see that it really takes all it's space - Surrounded by text to see that it really takes all it's space
                            - Surrounded by text to see that it really takes all it's space - Surrounded by text to see that it really takes all it's space - Surrounded by text to see that it really takes all it's space - Surrounded by text to see that it really takes all it's space -

                            - - diff --git a/includes/js/dojox/widget/tests/test_SortList.html b/includes/js/dojox/widget/tests/test_SortList.html deleted file mode 100644 index 55cb7a1..0000000 --- a/includes/js/dojox/widget/tests/test_SortList.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - Dojox SortList Test - - - - - - - - - -

                            Dojox SortList test

                            - -
                            - -

                            Simple sortable example

                            -
                              - -

                              Children of a TabContainer

                              -
                              -
                              -
                              -
                              -
                              - -

                              Child of a SplitContainer

                              -
                              -
                              -
                              -
                              -
                              - -
                              -

                              Raw, degradable UL list:

                              -
                                -
                              • one
                              • -
                              • two
                              • -
                              • three
                              • -
                              • four
                              • -
                              • five
                              • -
                              • six
                              • -
                              • four
                              • -
                              • five
                              • -
                              • six
                              • -
                              • four
                              • -
                              • five
                              • -
                              • six
                              • -
                              • four
                              • -
                              • five
                              • -
                              • six
                              • -
                              - -

                              normal ul:

                              -
                                -
                              • one
                              • one
                              • one
                              • one
                              • one
                              • one
                              • one
                              • one
                              • -
                              - - - diff --git a/includes/js/dojox/widget/tests/test_TimeSpinner.html b/includes/js/dojox/widget/tests/test_TimeSpinner.html deleted file mode 100644 index 6009f6d..0000000 --- a/includes/js/dojox/widget/tests/test_TimeSpinner.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - Dojo Spinner Widget Test - - - - - - - - - - -

                              Dojox TimeSpinner Test

                              - Try typing values, and use the up/down arrow keys and/or the arrow push - buttons to spin -
                              - -

                              time spinner

                              -
                              - - - -
                              - -
                              - - - diff --git a/includes/js/dojox/widget/tests/test_Toaster.html b/includes/js/dojox/widget/tests/test_Toaster.html deleted file mode 100644 index 015ebbe..0000000 --- a/includes/js/dojox/widget/tests/test_Toaster.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - Toaster Widget Dojo Tests - - - - - - -
                              - -
                              - - - - - -

                              dojox.widget.Toaster test

                              - -
                              - When you click any of the buttons above, the bottom right hand message will - stay on the screen until you acknowledge it by clicking inside the message - box. If you click one of the message buttons while a message is still - displayed in the bottom right corner it should append the new message below - the old one with a separator between them. -
                              -

                              - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper - sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum - lacus. Etiam consequat scelerisque quam. Nulla facilisi. Maecenas luctus - venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie - tortor at ipsum. Morbi dictum rutrum magna. Sed vitae risus. -

                              -

                              - Aliquam vitae enim. Duis scelerisque metus auctor est venenatis imperdiet. - Fusce dignissim porta augue. Nulla vestibulum. Integer lorem nunc, - ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in massa - bibendum suscipit. Integer eros. Nullam suscipit mauris. In pellentesque. - Mauris ipsum est, pharetra semper, pharetra in, viverra quis, tellus. Etiam - purus. Quisque egestas, tortor ac cursus lacinia, felis leo adipiscing - nisi, et rhoncus elit dolor eget eros. Fusce ut quam. Suspendisse eleifend - leo vitae ligula. Nulla facilisi. Nulla rutrum, erat vitae lacinia dictum, - pede purus imperdiet lacus, ut semper velit ante id metus. Praesent massa - dolor, porttitor sed, pulvinar in, consequat ut, leo. Nullam nec est. - Aenean id risus blandit tortor pharetra congue. Suspendisse pulvinar. -

                              -

                              - Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam ornare - elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque nonummy - mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus lobortis, sem - vitae nonummy lacinia, nisl est gravida magna, non cursus est quam sed - urna. Phasellus adipiscing justo in ipsum. Duis sagittis dolor sit amet - magna. Suspendisse suscipit, neque eu dictum auctor, nisi augue tincidunt - arcu, non lacinia magna purus nec magna. Praesent pretium sollicitudin - sapien. Suspendisse imperdiet. Class aptent taciti sociosqu ad litora - torquent per conubia nostra, per inceptos hymenaeos. -

                              -

                              - Mauris pharetra lorem sit amet sapien. Nulla libero metus, tristique et, - dignissim a, tempus et, metus. Ut libero. Vivamus tempus purus vel ipsum. - Quisque mauris urna, vestibulum commodo, rutrum vitae, ultrices vitae, - nisl. Class aptent taciti sociosqu ad litora torquent per conubia nostra, - per inceptos hymenaeos. Nulla id erat sit amet odio luctus eleifend. Proin - massa libero, ultricies non, tincidunt a, vestibulum non, tellus. Nunc nunc - purus, lobortis a, pulvinar at, egestas a, mi. Cras adipiscing velit a - mauris. Morbi felis. Etiam at felis. Cras eget eros et justo mattis - pulvinar. Nullam at justo id risus porttitor dignissim. Vestibulum sed - velit vel metus tincidunt tempus. Nunc euismod nisl id dolor tristique - tincidunt. Nullam placerat turpis sed odio. Curabitur in est id nibh tempus - ultrices. Aliquam consectetuer dapibus eros. Aliquam nisl. -

                              -

                              - Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean semper - sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin porta rutrum - lacus. Etiam consequat scelerisque quam. Nulla facilisi. Maecenas luctus - venenatis nulla. In sit amet dui non mi semper iaculis. Sed molestie - tortor at ipsum. Morbi dictum rutrum magna. Sed vitae risus. -

                              -

                              - Aliquam vitae enim. Duis scelerisque metus auctor est venenatis imperdiet. - Fusce dignissim porta augue. Nulla vestibulum. Integer lorem nunc, - ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in massa - bibendum suscipit. Integer eros. Nullam suscipit mauris. In pellentesque. - Mauris ipsum est, pharetra semper, pharetra in, viverra quis, tellus. Etiam - purus. Quisque egestas, tortor ac cursus lacinia, felis leo adipiscing - nisi, et rhoncus elit dolor eget eros. Fusce ut quam. Suspendisse eleifend - leo vitae ligula. Nulla facilisi. Nulla rutrum, erat vitae lacinia dictum, - pede purus imperdiet lacus, ut semper velit ante id metus. Praesent massa - dolor, porttitor sed, pulvinar in, consequat ut, leo. Nullam nec est. - Aenean id risus blandit tortor pharetra congue. Suspendisse pulvinar. -

                              -

                              - Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam ornare - elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque nonummy - mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus lobortis, sem - vitae nonummy lacinia, nisl est gravida magna, non cursus est quam sed - urna. Phasellus adipiscing justo in ipsum. Duis sagittis dolor sit amet - magna. Suspendisse suscipit, neque eu dictum auctor, nisi augue tincidunt - arcu, non lacinia magna purus nec magna. Praesent pretium sollicitudin - sapien. Suspendisse imperdiet. Class aptent taciti sociosqu ad litora - torquent per conubia nostra, per inceptos hymenaeos. -

                              - - diff --git a/includes/js/dojox/widget/tests/test_Wizard.html b/includes/js/dojox/widget/tests/test_Wizard.html deleted file mode 100644 index 5de9f02..0000000 --- a/includes/js/dojox/widget/tests/test_Wizard.html +++ /dev/null @@ -1,118 +0,0 @@ - - -Wizard Demo - - - - - - - - - - - - -
                              - -

                              dojox.widget.Wizard tests

                              - -

                              This example shows a wizard with customized button labels.

                              - -
                              -
                              -

                              Tab 1

                              -

                              Sized content, box one

                              -
                              -
                              -

                              Tab 2

                              -
                              -
                              -

                              Tab 3

                              - - You won't be able to come back, but you can finish now... -
                              -
                              -

                              Tab 4

                              - - ... and now you can't go back. -
                              -
                              -

                              Tab 5

                              - ... and now you can finish up. -
                              -
                              - -

                              The next shows the option to hide the inactive buttons, with a smaller width...

                              - -
                              -
                              -

                              Step 1 of 3

                              -

                              Lorem ipsum dolor sit amet

                              -
                              -
                              -

                              Step 2 of 3

                              -

                              consectetur adipisicing elit

                              -
                              -
                              -

                              Step 3 of 3

                              -

                              sed do eiusmod tempor incididunt ut labore et dolore magna aliqua

                              -
                              -
                              - -

                              The next shows blocking moving to the next step with a JS function...

                              - - -
                              -
                              -

                              Agreement Terms

                              - -
                              - -
                              -

                              - I accept the terms of this agreement. -

                              -
                              -
                              -
                              -

                              Complete

                              -

                              The license has been accepted.

                              -
                              -
                              -
                              - - - - - diff --git a/includes/js/dojox/wire.js b/includes/js/dojox/wire.js deleted file mode 100644 index 7eb0b85..0000000 --- a/includes/js/dojox/wire.js +++ /dev/null @@ -1,7 +0,0 @@ -if(!dojo._hasResource["dojox.wire"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire"] = true; -dojo.provide("dojox.wire"); -dojo.require("dojox.wire._base"); - - -} diff --git a/includes/js/dojox/wire/CompositeWire.js b/includes/js/dojox/wire/CompositeWire.js deleted file mode 100644 index 7d1015d..0000000 --- a/includes/js/dojox/wire/CompositeWire.js +++ /dev/null @@ -1,103 +0,0 @@ -if(!dojo._hasResource["dojox.wire.CompositeWire"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.CompositeWire"] = true; -dojo.provide("dojox.wire.CompositeWire"); - -dojo.require("dojox.wire._base"); -dojo.require("dojox.wire.Wire"); - -dojo.declare("dojox.wire.CompositeWire", dojox.wire.Wire, { - // summary: - // A Wire for composite values in object or array - // description: - // This class has multiple child Wires for object properties or array - // elements. - // When an object with Wires is specified to 'children' property, they - // are used to get or set an object with property values. - // When an array of Wiares is specified to 'children' property, they - // are used to get or set an array with element values. - - _wireClass: "dojox.wire.CompositeWire", - - constructor: function(/*Object*/args){ - // summary: - // Initialize properties - // description: - // If object properties or array elements specified in 'children' - // property are not Wires, Wires are created from them as - // arguments, with 'parent' property set to this Wire instance. - // args: - // Arguments to initialize properties - // children: - // An object or array containing child Wires - this._initializeChildren(this.children); - }, - _getValue: function(/*Object||Array*/object){ - // summary: - // Return an object with property values or an array with element - // values - // description: - // This method calls getValue() method of the child Wires with - // 'object' argument and returns an object with the values as - // properties or an arary of the values as elements. - // object: - // A root object - // returns: - // An object or array with values - if(!object || !this.children){ - return object; //Object||Array - } - - var value = (dojo.isArray(this.children) ? [] : {}); // array or object - for(var c in this.children){ - value[c] = this.children[c].getValue(object); - } - return value;//Object||Array - }, - - _setValue: function(/*Object||Array*/object, /*Object||Array*/value){ - // summary: - // Set an object properties or an array elements to an object - // desription: - // This method calls setValues() method of the child Wires with - // a corresponding property or element in 'value' argument and - // 'object' argument. - // object: - // A root object - // value: - // An object or array with values to set - // returns: - // 'object' - if(!object || !this.children){ - return object; //Object||Array - } - - for(var c in this.children){ - this.children[c].setValue(value[c], object); - } - return object; //Object||Array - }, - - _initializeChildren: function(/*Object||Array*/children){ - // summary: - // Initialize child Wires - // description: - // If object properties or array elements specified in 'children' - // argument are not Wires, Wires are created from them as - // arguments, with 'parent' property set to this Wire instance. - // children: - // An object or array containing child Wires - if(!children){ - return; //undefined - } - - for(var c in children){ - var child = children[c]; - child.parent = this; - if(!dojox.wire.isWire(child)){ - children[c] = dojox.wire.create(child); - } - } - } -}); - -} diff --git a/includes/js/dojox/wire/DataWire.js b/includes/js/dojox/wire/DataWire.js deleted file mode 100644 index ecb6223..0000000 --- a/includes/js/dojox/wire/DataWire.js +++ /dev/null @@ -1,179 +0,0 @@ -if(!dojo._hasResource["dojox.wire.DataWire"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.DataWire"] = true; -dojo.provide("dojox.wire.DataWire"); - -dojo.require("dojox.wire.Wire"); - -dojo.declare("dojox.wire.DataWire", dojox.wire.Wire, { - // summary: - // A Wire for item attributes of data stores - // description: - // This class accesses item attributes of data stores with a dotted - // notation of attribute names specified to 'attribute' property, - // using data APIs of a data store specified to 'dataStore' property. - // The root object for this class must be an item of the data store. - // Intermediate attribute names in the dotted notation specify - // attributes for child items, which are used for repeated calls to - // data APIs until reached to a descendant attribute. - // Attribute names may have an array index, such as "a[0]", to - // identify an array element of the attribute value. - - _wireClass: "dojox.wire.DataWire", - - constructor: function(/*Object*/args){ - // summary: - // Initialize properties - // description: - // If 'dataStore' property is not specified, but 'parent' property - // is specified, 'dataStore' property is copied from the parent. - // args: - // Arguments to initialize properties - // dataStore: - // A data store - // attribute: - // A dotted notation to a descendant attribute - if(!this.dataStore && this.parent){ - this.dataStore = this.parent.dataStore; - } - }, - _getValue: function(/*Object*/object){ - // summary: - // Return an attribute value of an item - // description: - // This method uses a root item passed in 'object' argument and - // 'attribute' property to call getValue() method of - // 'dataStore'. - // If an attribute name have an array suffix ("[]"), getValues() - // method is called, instead. - // If an index is specified in the array suffix, an array element - // for the index is returned, instead of the array itself. - // object: - // A root item - // returns: - // A value found, otherwise 'undefined' - if(!object || !this.attribute || !this.dataStore){ - return object; //Object - } - - var value = object; - var list = this.attribute.split('.'); - for(var i in list){ - value = this._getAttributeValue(value, list[i]); - if(!value){ - return undefined; //undefined - } - } - return value; //anything - }, - - _setValue: function(/*Object*/object, /*anything*/value){ - // summary: - // Set an attribute value to an item - // description: - // This method uses a root item passed in 'object' argument and - // 'attribute' property to identify an item. - // Then, setValue() method of 'dataStore' is called with a leaf - // attribute name and 'value' argument. - // If an attribute name have an array suffix ("[]"), setValues() - // method is called, instead. - // If an index is specified in the array suffix, an array element - // for the index is set to 'value', instead of the array itself. - // object: - // A root item - // value: - // A value to set - // returns: - // 'object', or 'undefined' for invalid attribute - if(!object || !this.attribute || !this.dataStore){ - return object; //Object - } - - var item = object; - var list = this.attribute.split('.'); - var last = list.length - 1; - for(var i = 0; i < last; i++){ - item = this._getAttributeValue(item, list[i]); - if(!item){ - return undefined; //undefined - } - } - this._setAttributeValue(item, list[last], value); - return object; //Object - }, - - _getAttributeValue: function(/*Object*/item, /*String*/attribute){ - // summary: - // Return an attribute value of an item - // description: - // This method uses an item passed in 'item' argument and - // 'attribute' argument to call getValue() method of 'dataStore'. - // If an attribute name have an array suffix ("[]"), getValues() - // method is called, instead. - // If an index is specified in the array suffix, an array element - // for the index is returned, instead of the array itself. - // item: - // An item - // attribute - // An attribute name - // returns: - // A value found, otherwise 'undefined' - var value = undefined; - var i1 = attribute.indexOf('['); - if(i1 >= 0){ - var i2 = attribute.indexOf(']'); - var index = attribute.substring(i1 + 1, i2); - attribute = attribute.substring(0, i1); - var array = this.dataStore.getValues(item, attribute); - if(array){ - if(!index){ // return array for "attribute[]" - value = array; - }else{ - value = array[index]; - } - } - }else{ - value = this.dataStore.getValue(item, attribute); - } - return value; //anything - }, - - _setAttributeValue: function(/*Object*/item, /*String*/attribute, /*anything*/value){ - // summary: - // Set an attribute value to an item - // description: - // This method uses an item passed in 'item' argument and - // 'attribute' argument to call setValue() method of 'dataStore' - // with 'value' argument. - // If an attribute name have an array suffix ("[]"), setValues() - // method is called, instead. - // If an index is specified in the array suffix, an array element - // for the index is set to 'value', instead of the array itself. - // item: - // An item - // attribute: - // An attribute name - // value: - // A value to set - var i1 = attribute.indexOf('['); - if(i1 >= 0){ - var i2 = attribute.indexOf(']'); - var index = attribute.substring(i1 + 1, i2); - attribute = attribute.substring(0, i1); - var array = null; - if(!index){ // replace whole array for "attribute[]" - array = value; - }else{ - array = this.dataStore.getValues(item, attribute); - if(!array){ - array = []; - } - array[index] = value; - } - this.dataStore.setValues(item, attribute, array); - }else{ - this.dataStore.setValue(item, attribute, value); - } - } -}); - -} diff --git a/includes/js/dojox/wire/README b/includes/js/dojox/wire/README deleted file mode 100644 index 8f3f831..0000000 --- a/includes/js/dojox/wire/README +++ /dev/null @@ -1,53 +0,0 @@ -------------------------------------------------------------------------------- -DojoX Wire -------------------------------------------------------------------------------- -Version 1.0 -Release date: 05/29/2007 -------------------------------------------------------------------------------- -Project state: stable -------------------------------------------------------------------------------- -Project authors - Jared Jurkiewicz (jared.jurkiewicz@gmail.com) -------------------------------------------------------------------------------- -Project description - -The DojoX Wire project is a set of functions that build a generic data binding -and service invocation library to simplify how data values across a wide -variety of widget and non-widget JavaScript constructs are accessed, updated, -and passed to and from services. It also provides a set of widgets -within the dojox.wire.ml package to allow for declarative data binding -definitions in addition to the programmatic APIs. - -In essense, this project is an API to provide a simplified way of doing MVC -patterns in the client. - -------------------------------------------------------------------------------- -Dependencies: - -DojoX Wire has dependencies on core dojo, the dijit widget system (for classes -in the dojox.wire.ml package), dojox.data, and the D.O.H. unit test framework. -------------------------------------------------------------------------------- -Documentation: - -See the Dojo API tool (http://dojotoolkit.org/api) -------------------------------------------------------------------------------- -Installation instructions - -Grab the following from the Dojo SVN Repository: -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/wire.js -http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/wire/* - -Install into the following directory structure: -/dojox/wire/ - -...which should be at the same level as your Dojo checkout. - -It should look like: -/dojox/wire.js -/dojox/wire/* - -Require in dojox.wire for all baseline functions (dojox.wire.connect, -dojox.wire.register, etc). For specific Wire classes, -require in the appropriate dojox.wire.. -------------------------------------------------------------------------------- - diff --git a/includes/js/dojox/wire/TableAdapter.js b/includes/js/dojox/wire/TableAdapter.js deleted file mode 100644 index 16a5280..0000000 --- a/includes/js/dojox/wire/TableAdapter.js +++ /dev/null @@ -1,88 +0,0 @@ -if(!dojo._hasResource["dojox.wire.TableAdapter"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.TableAdapter"] = true; -dojo.provide("dojox.wire.TableAdapter"); - -dojo.require("dojox.wire.CompositeWire"); - -dojo.declare("dojox.wire.TableAdapter", dojox.wire.CompositeWire, { - // summary: - // A composite Wire for table rows - // description: - // This class has multiple child Wires for object properties or array - // elements of a table row. - // The root object for this class must be an array. - // When an object with Wires is specified to 'columns' property, they - // are used to get a row object with property values. - // When an array of Wires is specified to 'columns' property, they - // are used to get a row array with element values. - // The row values are returned in an array. - // This class only supports getValue(), but not setValue(). - - _wireClass: "dojox.wire.TableAdapter", - - constructor: function(/*Object*/args){ - // summary: - // Initialize properties - // description: - // If object properties or array elements specified in 'columns' - // property are not Wires, Wires are created from them as - // arguments, with 'parent' property set to this Wire instance. - // args: - // Arguments to initialize properties - // columns: - // An object or array containing child Wires for column values - this._initializeChildren(this.columns); - }, - - _getValue: function(/*Array*/object){ - // summary: - // Return an array of table row value (object or array) - // description: - // This method iterates over an array specified to 'object' - // argument and calls getValue() method of the child Wires with - // each element of the array to get a row object or array. - // Finally, an array with the row objects or arrays are retuned. - // object: - // A root array - // returns: - // An array of table row value - if(!object || !this.columns){ - return object; //Array - } - - var array = object; - if(!dojo.isArray(array)){ - array = [array]; - } - - var rows = []; - for(var i in array){ - var row = this._getRow(array[i]); - rows.push(row); - } - return rows; //Array - }, - - _setValue: function(/*Array*/object, /*Array*/value){ - // summary: - // Not supported - throw new Error("Unsupported API: " + this._wireClass + "._setValue"); - }, - - _getRow: function(/*Object||Array*/object){ - // summary: - // Return an array or object for a table row - // description: - // This method calls getValue() method of the child Wires to - // create a row object or array. - // returns: - // An array or object for a table row - var row = (dojo.isArray(this.columns) ? [] : {}); // array or object - for(var c in this.columns){ - row[c] = this.columns[c].getValue(object); - } - return row; //Array||Object - } -}); - -} diff --git a/includes/js/dojox/wire/TextAdapter.js b/includes/js/dojox/wire/TextAdapter.js deleted file mode 100644 index 36e7f1d..0000000 --- a/includes/js/dojox/wire/TextAdapter.js +++ /dev/null @@ -1,88 +0,0 @@ -if(!dojo._hasResource["dojox.wire.TextAdapter"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.TextAdapter"] = true; -dojo.provide("dojox.wire.TextAdapter"); - -dojo.require("dojox.wire.CompositeWire"); - -dojo.declare("dojox.wire.TextAdapter", dojox.wire.CompositeWire, { - // summary: - // A composite Wire for a concatenated text - // description: - // This class has multiple child Wires for text segment values. - // Wires in 'segments' property are used to get text segments and - // values are concatenated with an optional delimiter string specified - // to 'delimiter' property. - - _wireClass: "dojox.wire.TextAdapter", - - constructor: function(/*Object*/args){ - // summary: - // Initialize properties - // description: - // If array elements specified in 'segments' are not Wires, Wires - // are created from them as arguments, with 'parent' property set - // to this Wire instance. - // args: - // Arguments to initialize properties - // segments: - // An array containing child Wires for text segment values - // delimiter: - // A delimiter string - this._initializeChildren(this.segments); - if(!this.delimiter){ - this.delimiter = ""; - } - }, - - _getValue: function(/*Object||Array*/object){ - // summary: - // Return a concatenated text - // description: - // This method calls getValue() method of the child Wires wuth - // 'object' argument and concatenate the values with 'delimiter' - // property to return. - // arg: - // A root object - // returns: - // A concatinated text - if(!object || !this.segments){ - return object; //Object||Array - } - - var text = ""; - for(var i in this.segments){ - var segment = this.segments[i].getValue(object); - text = this._addSegment(text, segment); - } - return text; //String - }, - - _setValue: function(/*Object||Array*/object, /*String*/value){ - // summary: - // Not supported - throw new Error("Unsupported API: " + this._wireClass + "._setValue"); - }, - - _addSegment: function(/*String*/text, /*String*/segment){ - // summary: - // Return a concatenated text - // description: - // This method add a text segment specified to 'segment' argument - // to a base text specified to 'text', with 'delimiter' property. - // text: - // A base text - // segment: - // A text segment to add - // returns: - // A concatinated text - if(!segment){ - return text; //String - }else if(!text){ - return segment; //String - }else{ - return text + this.delimiter + segment; //String - } - } -}); - -} diff --git a/includes/js/dojox/wire/TreeAdapter.js b/includes/js/dojox/wire/TreeAdapter.js deleted file mode 100644 index b9b16bf..0000000 --- a/includes/js/dojox/wire/TreeAdapter.js +++ /dev/null @@ -1,188 +0,0 @@ -if(!dojo._hasResource["dojox.wire.TreeAdapter"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.TreeAdapter"] = true; -dojo.provide("dojox.wire.TreeAdapter"); - -dojo.require("dojox.wire.CompositeWire"); - -dojo.declare("dojox.wire.TreeAdapter", dojox.wire.CompositeWire, { - // summary: - // A composite Wire for tree nodes - // description: - // This class has multiple child Wires for tree nodes, their title and - // child nodes. - // The root object for this class must be an array. - // 'node' Wires in 'nodes' property is used to identify an object - // representing a node. - // 'title' Wires in 'nodes' property is used to get the title string - // of a node. - // 'children' Wires in 'nodes' property is used to iterate over child - // node objects. - // The node values are returned in an array as follows: - // [ - // {title: title1, - // children: [ - // {title: title2, - // child: ...}, - // {title: title3, - // child: ...}, - // ... - // ]}, - // ... - // ] - // This class only supports getValue(), but not setValue(). - - _wireClass: "dojox.wire.TreeAdapter", - - constructor: function(/*Object*/args){ - // summary: - // Initialize properties - // description: - // If object properties ('node', 'title' and 'children') of array - // elements specified in 'nodes' property are not Wires, Wires are - // created from them as arguments, with 'parent' property set to - // this Wire instance. - // args: - // Arguments to initialize properties - // nodes: - // An array containing objects for child Wires for node values - this._initializeChildren(this.nodes); - }, - _getValue: function(/*Array*/object){ - // summary: - // Return an array of tree node values - // description: - // This method iterates over an array specified to 'object' - // argument and calls getValue() method of 'node' Wires with each - // element of the array to get object(s) that represetns nodes. - // (If 'node' Wires are omitted, the array element is used for - // further processing.) - // Then, getValue() method of 'title' Wires are called to get - // title strings for nodes. - // (If 'title' Wires are omitted, the objects representing nodes - // are used as title strings.) - // And if an array of objects with 'node' and 'title' Wires is - // specified to 'children', it is used to gather child nodes and - // their title strings in the same way recursively. - // Finally, an array of the top-level node objects are retuned. - // object: - // A root array - // returns: - // An array of tree node values - if(!object || !this.nodes){ - return object; //Array - } - - var array = object; - if(!dojo.isArray(array)){ - array = [array]; - } - - var nodes = []; - for(var i in array){ - for(var i2 in this.nodes){ - nodes = nodes.concat(this._getNodes(array[i], this.nodes[i2])); - } - } - return nodes; //Array - }, - - _setValue: function(/*Array*/object, /*Array*/value){ - // summary: - // Not supported - throw new Error("Unsupported API: " + this._wireClass + "._setValue"); - }, - - _initializeChildren: function(/*Array*/children){ - // summary: - // Initialize child Wires - // description: - // If 'node' or 'title' properties of array elements specified in - // 'children' argument are not Wires, Wires are created from them - // as arguments, with 'parent' property set to this Wire instance. - // If an array element has 'children' property, this method is - // called recursively with it. - // children: - // An array of objects containing child Wires - if(!children){ - return; //undefined - } - - for(var i in children){ - var child = children[i]; - if(child.node){ - child.node.parent = this; - if(!dojox.wire.isWire(child.node)){ - child.node = dojox.wire.create(child.node); - } - } - if(child.title){ - child.title.parent = this; - if(!dojox.wire.isWire(child.title)){ - child.title = dojox.wire.create(child.title); - } - } - if(child.children){ - this._initializeChildren(child.children); - } - } - }, - - _getNodes: function(/*Object*/object, /*Object*/child){ - // summary: - // Return an array of tree node values - // description: - // This method calls getValue() method of 'node' Wires with - // 'object' argument to get object(s) that represents nodes. - // (If 'node' Wires are omitted, 'object' is used for further - // processing.) - // Then, getValue() method of 'title' Wires are called to get - // title strings for nodes. - // (If 'title' Wires are omitted, the objects representing nodes - // are used as title strings.) - // And if an array of objects with 'node' and 'title' Wires is - // specified to 'children', it is used to gather child nodes and - // their title strings in the same way recursively. - // Finally, an array of node objects are returned. - // object: - // An object - // child: - // An object with child Wires - // returns: - var array = null; - if(child.node){ - array = child.node.getValue(object); - if(!array){ - return []; - } - if(!dojo.isArray(array)){ - array = [array]; - } - }else{ - array = [object]; - } - - var nodes = []; - for(var i in array){ - object = array[i]; - var node = {}; - if(child.title){ - node.title = child.title.getValue(object); - }else{ - node.title = object; - } - if(child.children){ - var children = []; - for(var i2 in child.children){ - children = children.concat(this._getNodes(object, child.children[i2])); - } - if(children.length > 0){ - node.children = children; - } - } - nodes.push(node); - } - return nodes; //Array - } -}); - -} diff --git a/includes/js/dojox/wire/Wire.js b/includes/js/dojox/wire/Wire.js deleted file mode 100644 index f9dde1d..0000000 --- a/includes/js/dojox/wire/Wire.js +++ /dev/null @@ -1,336 +0,0 @@ -if(!dojo._hasResource["dojox.wire.Wire"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.Wire"] = true; -dojo.provide("dojox.wire.Wire"); - -dojo.require("dojox.wire._base"); - -dojo.declare("dojox.wire.Wire", null, { - // summary: - // A default and base Wire to access an object property - // description: - // This class accesses a property of an object with a dotted notation - // specified to 'property' property, such as "a.b.c", which identifies - // a descendant property, "object.a.b.c". - // Property names in the dotted notation may have an array index, such - // as "a[0]", to identify an array element, literally, "object.a[0]". - // When a notation start with an array index, such as "[0].a", it - // specifies an array element of the root object (array), - // "object[0].a". - // This class also serves as a base class for other Wire classes, - // preparing a root object and converting a return value, so that - // sub-classes just can implement _getValue() and _setValue() called - // from getValue() and setValue() implemented by this calss. - - _wireClass: "dojox.wire.Wire", - - constructor: function(/*Object*/args){ - // summary: - // Initialize properties - // description: - // If 'converter' property is specified and is a string for - // a converter class, an instanceof the converter class is - // created. - // args: - // Arguments to initialize properties - // object: - // A root object (or another Wire to access a root object) - // property: - // A dotted notation to a descendant property - // type: - // A type of the return value (for the source Wire) - // converter: - // A converter object (or class name) to convert the return - // value (for the source Wire) - dojo.mixin(this, args); - - if(this.converter){ - if(dojo.isString(this.converter)){ - //First check the object tree for it. Might be defined variable - //name/global function (like a jsId, or just a function name). - var convertObject = dojo.getObject(this.converter); - if (dojo.isFunction(convertObject)){ - //We need to see if this is a pure function or an object constructor... - try{ - var testObj = new convertObject(); - if(testObj && !dojo.isFunction(testObj["convert"])){ - //Looks like a 'pure' function... - this.converter = {convert: convertObject}; - }else{ - this.converter = testObj; - } - }catch(e){ - //Do if this fails. - } - }else if(dojo.isObject(convertObject)){ - //It's an object, like a jsId ... see if it has a convert function - if(dojo.isFunction(convertObject["convert"])){ - this.converter = convertObject; - } - } - - //No object with that name (Converter is still a string), - //then look for a class that needs to be dynamically loaded... - if (dojo.isString(this.converter)) { - var converterClass = dojox.wire._getClass(this.converter); - if(converterClass){ - this.converter = new converterClass(); - }else{ - this.converter = undefined; - } - } - }else if(dojo.isFunction(this.converter)){ - this.converter = {convert: this.converter}; - } - } - }, - - getValue: function(/*Object||Array*/defaultObject){ - // summary: - // Return a value of an object - // description: - // This method first determins a root object as follows: - // 1. If 'object' property specified, - // 1.1 If 'object' is a Wire, its getValue() method is called to - // obtain a root object. - // 1.2 Otherwise, use 'object' as a root object. - // 2. Otherwise, use 'defaultObject' argument. - // 3. If 'property' is specified, it is used to get a property - // value. - // Then, if a sub-class implements _getValue() method, it is - // called with the root object to get the return value. - // Otherwise, the root object (typically, a property valye) is - // used for the return value. - // Finally, if 'type' property is specified, the return value is - // converted to the specified primitive type ("string", "number", - // "boolean" and "array"). - // If 'converter' property is specified, its convert() method is - // called to convert the value. - // defaultObject: - // A default root object - // returns: - // A value found - var object = undefined; - if(dojox.wire.isWire(this.object)){ - object = this.object.getValue(defaultObject); - }else{ - object = (this.object || defaultObject); - } - - if(this.property){ - var list = this.property.split('.'); - for(var i in list){ - if(!object){ - return object; //anything (null, undefined, etc) - } - object = this._getPropertyValue(object, list[i]); - } - } - - var value = undefined; - if(this._getValue){ - value = this._getValue(object); - }else{ - value = object; - } - - if(value){ - if(this.type){ - if(this.type == "string"){ - value = value.toString(); - }else if(this.type == "number"){ - value = parseInt(value); - }else if(this.type == "boolean"){ - value = (value != "false"); - }else if(this.type == "array"){ - if(!dojo.isArray(value)){ - value = [value]; - } - } - } - if(this.converter && this.converter.convert){ - value = this.converter.convert(value, this); // optional "this" context - } - } - return value; //anything - }, - - setValue: function(/*anything*/value, /*Object||Array*/defaultObject){ - // summary: - // Set a value to an object - // description: - // This method first determins a root object as follows: - // 1. If 'object' property specified, - // 1.1 If 'object' is a Wire, its getValue() method is called to - // obtain a root object. - // 1.2 Otherwise, use 'object' as a root object. - // 2. Otherwise, use 'defaultObject' argument. - // 3. If 'property' is specified, it is used to get a property - // value. - // Then, if a sub-class implements _setValue() method, it is - // called with the root object and 'value' argument to set - // the value. - // Otherwise, 'value' is set to a property specified with - // 'property' property. - // If the root object is undefined and 'object' property is a Wire - // and a new object is created and returned by _setValue() it is - // set through 'object' (setValue() method). - // value: - // A value to set - // defaultObject: - // A default root object - var object = undefined; - if(dojox.wire.isWire(this.object)){ - object = this.object.getValue(defaultObject); - }else{ - object = (this.object || defaultObject); - } - - var property = undefined; - if(this.property){ - if(!object){ - if(dojox.wire.isWire(this.object)){ - object = {}; - this.object.setValue(object, defaultObject); - }else{ - throw new Error(this._wireClass + ".setValue(): invalid object"); - } - } - var list = this.property.split('.'); - var last = list.length - 1; - for(var i = 0; i < last; i++){ - var p = list[i]; - var o = this._getPropertyValue(object, p); - if(!o){ - o = {}; - this._setPropertyValue(object, p, o); - } - object = o; - } - property = list[last]; - } - - if(this._setValue){ - if(property){ - var o = this._getPropertyValue(object, property); - if(!o){ - o = {}; - this._setPropertyValue(object, property, o); - } - object = o; - } - var newObject = this._setValue(object, value); - if(!object && newObject){ - if(dojox.wire.isWire(this.object)){ - this.object.setValue(newObject, defaultObject); - }else{ - throw new Error(this._wireClass + ".setValue(): invalid object"); - } - } - }else{ - if(property){ - this._setPropertyValue(object, property, value); - }else{ - if(dojox.wire.isWire(this.object)){ - this.object.setValue(value, defaultObject); - }else{ - throw new Error(this._wireClass + ".setValue(): invalid property"); - } - } - } - }, - - _getPropertyValue: function(/*Object||Array*/object, /*String*/property){ - // summary: - // Return a property value of an object - // description: - // A value for 'property' of 'object' is returned. - // If 'property' ends with an array index, it is used to indentify - // an element of an array property. - // If 'object' implements getPropertyValue(), it is called with - // 'property' to obtain the property value. - // If 'object' implements a getter for the property, it is called - // to obtain the property value. - // object: - // A default root object - // property: - // A property name - // returns: - // A value found, otherwise 'undefined' - var value = undefined; - var i1 = property.indexOf('['); - if(i1 >= 0){ - var i2 = property.indexOf(']'); - var index = property.substring(i1 + 1, i2); - var array = null; - if(i1 === 0){ // object is array - array = object; - }else{ - property = property.substring(0, i1); - array = this._getPropertyValue(object, property); - if(array && !dojo.isArray(array)){ - array = [array]; - } - } - if(array){ - value = array[index]; - } - }else if(object.getPropertyValue){ - value = object.getPropertyValue(property); - }else{ - var getter = "get" + property.charAt(0).toUpperCase() + property.substring(1); - if(object[getter]){ - value = object[getter](); - }else{ - value = object[property]; - } - } - return value; //anything - }, - - _setPropertyValue: function(/*Object||Array*/object, /*String*/property, /*anything*/value){ - // summary: - // Set a property value to an object - // description: - // 'value' is set to 'property' of 'object'. - // If 'property' ends with an array index, it is used to indentify - // an element of an array property to set the value. - // If 'object' implements setPropertyValue(), it is called with - // 'property' and 'value' to set the property value. - // If 'object' implements a setter for the property, it is called - // with 'value' to set the property value. - // object: - // An object - // property: - // A property name - // value: - // A value to set - var i1 = property.indexOf('['); - if(i1 >= 0){ - var i2 = property.indexOf(']'); - var index = property.substring(i1 + 1, i2); - var array = null; - if(i1 === 0){ // object is array - array = object; - }else{ - property = property.substring(0, i1); - array = this._getPropertyValue(object, property); - if(!array){ - array = []; - this._setPropertyValue(object, property, array); - } - } - array[index] = value; - }else if(object.setPropertyValue){ - object.setPropertyValue(property, value); - }else{ - var setter = "set" + property.charAt(0).toUpperCase() + property.substring(1); - if(object[setter]){ - object[setter](value); - }else{ - object[property] = value; - } - } - } -}); - -} diff --git a/includes/js/dojox/wire/XmlWire.js b/includes/js/dojox/wire/XmlWire.js deleted file mode 100644 index dc5666f..0000000 --- a/includes/js/dojox/wire/XmlWire.js +++ /dev/null @@ -1,244 +0,0 @@ -if(!dojo._hasResource["dojox.wire.XmlWire"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.XmlWire"] = true; -dojo.provide("dojox.wire.XmlWire"); - -dojo.require("dojox.data.dom"); -dojo.require("dojox.wire.Wire"); - -dojo.declare("dojox.wire.XmlWire", dojox.wire.Wire, { - // summary: - // A Wire for XML nodes or values (element, attribute and text) - // description: - // This class accesses XML nodes or value with a simplified XPath - // specified to 'path' property. - // The root object for this class must be an DOM document or element - // node. - // "@name" accesses to an attribute value of an element and "text()" - // accesses to a text value of an element. - // The hierarchy of the elements from the root node can be specified - // with slash-separated list, such as "a/b/@c", which specifies - // the value of an attribute named "c" of an element named "b" as - // a child of another element named "a" of a child of the root node. - - _wireClass: "dojox.wire.XmlWire", - - constructor: function(/*Object*/args){ - // summary: - // Initialize properties - // description: - // 'args' is just mixed in with no further processing. - // args: - // Arguments to initialize properties - // path: - // A simplified XPath to an attribute, a text or elements - }, - _getValue: function(/*Node*/object){ - // summary: - // Return an attribute value, a text value or an array of elements - // description: - // This method first uses a root node passed in 'object' argument - // and 'path' property to identify an attribute, a text or - // elements. - // If 'path' starts with a slash (absolute), the first path - // segment is ignored assuming it point to the root node. - // (That is, "/a/b/@c" and "b/@c" against a root node access - // the same attribute value, assuming the root node is an element - // with a tag name, "a".) - // object: - // A root node - // returns: - // A value found, otherwise 'undefined' - if(!object || !this.path){ - return object; //Node - } - - var node = object; - var path = this.path; - if(path.charAt(0) == '/'){ // absolute - // skip the first expression (supposed to select the top node) - var i = path.indexOf('/', 1); - path = path.substring(i + 1); - } - var list = path.split('/'); - var last = list.length - 1; - for(var i = 0; i < last; i++){ - node = this._getChildNode(node, list[i]); - if(!node){ - return undefined; //undefined - } - } - var value = this._getNodeValue(node, list[last]); - return value; //String||Array - }, - - _setValue: function(/*Node*/object, /*String*/value){ - // summary: - // Set an attribute value or a child text value to an element - // description: - // This method first uses a root node passed in 'object' argument - // and 'path' property to identify an attribute, a text or - // elements. - // If an intermediate element does not exist, it creates - // an element of the tag name in the 'path' segment as a child - // node of the current node. - // Finally, 'value' argument is set to an attribute or a text - // (a child node) of the leaf element. - // object: - // A root node - // value: - // A value to set - if(!this.path){ - return object; //Node - } - - var node = object; - var doc = this._getDocument(node); - var path = this.path; - if(path.charAt(0) == '/'){ // absolute - var i = path.indexOf('/', 1); - if(!node){ - var name = path.substring(1, i); - node = doc.createElement(name); - object = node; // to be returned as a new object - } - // skip the first expression (supposed to select the top node) - path = path.substring(i + 1); - }else{ - if(!node){ - return undefined; //undefined - } - } - - var list = path.split('/'); - var last = list.length - 1; - for(var i = 0; i < last; i++){ - var child = this._getChildNode(node, list[i]); - if(!child){ - child = doc.createElement(list[i]); - node.appendChild(child); - } - node = child; - } - this._setNodeValue(node, list[last], value); - return object; //Node - }, - - _getNodeValue: function(/*Node*/node, /*String*/exp){ - // summary: - // Return an attribute value, a text value or an array of elements - // description: - // If 'exp' starts with '@', an attribute value of the specified - // attribute is returned. - // If 'exp' is "text()", a child text value is returned. - // Otherwise, an array of child elements, the tag name of which - // match 'exp', is returned. - // node: - // A node - // exp: - // An expression for attribute, text or elements - // returns: - // A value found, otherwise 'undefined' - var value = undefined; - if(exp.charAt(0) == '@'){ - var attribute = exp.substring(1); - value = node.getAttribute(attribute); - }else if(exp == "text()"){ - var text = node.firstChild; - if(text){ - value = text.nodeValue; - } - }else{ // assume elements - value = []; - for(var i = 0; i < node.childNodes.length; i++){ - var child = node.childNodes[i]; - if(child.nodeType === 1 /* ELEMENT_NODE */ && child.nodeName == exp){ - value.push(child); - } - } - } - return value; //String||Array - }, - - _setNodeValue: function(/*Node*/node, /*String*/exp, /*String*/value){ - // summary: - // Set an attribute value or a child text value to an element - // description: - // If 'exp' starts with '@', 'value' is set to the specified - // attribute. - // If 'exp' is "text()", 'value' is set to a child text. - // node: - // A node - // exp: - // An expression for attribute or text - // value: - // A value to set - if(exp.charAt(0) == '@'){ - var attribute = exp.substring(1); - if(value){ - node.setAttribute(attribute, value); - }else{ - node.removeAttribute(attribute); - } - }else if(exp == "text()"){ - while(node.firstChild){ - node.removeChild(node.firstChild); - } - if(value){ - var text = this._getDocument(node).createTextNode(value); - node.appendChild(text); - } - } - // else not supported - }, - - _getChildNode: function(/*Node*/node, /*String*/name){ - // summary: - // Return a child node - // description: - // A child element of the tag name specified with 'name' is - // returned. - // If 'name' ends with an array index, it is used to pick up - // the corresponding element from multiple child elements. - // node: - // A parent node - // name: - // A tag name - // returns: - // A child node - var index = 1; - var i1 = name.indexOf('['); - if(i1 >= 0){ - var i2 = name.indexOf(']'); - index = name.substring(i1 + 1, i2); - name = name.substring(0, i1); - } - var count = 1; - for(var i = 0; i < node.childNodes.length; i++){ - var child = node.childNodes[i]; - if(child.nodeType === 1 /* ELEMENT_NODE */ && child.nodeName == name){ - if(count == index){ - return child; //Node - } - count++; - } - } - return null; //null - }, - - _getDocument: function(/*Node*/node){ - // summary: - // Return a DOM document - // description: - // If 'node' is specified, a DOM document of the node is returned. - // Otherwise, a DOM document is created. - // returns: - // A DOM document - if(node){ - return (node.nodeType == 9 /* DOCUMENT_NODE */ ? node : node.ownerDocument); //Document - }else{ - return dojox.data.dom.createDocument(); //Document - } - } -}); - -} diff --git a/includes/js/dojox/wire/_base.js b/includes/js/dojox/wire/_base.js deleted file mode 100644 index cc632c1..0000000 --- a/includes/js/dojox/wire/_base.js +++ /dev/null @@ -1,195 +0,0 @@ -if(!dojo._hasResource["dojox.wire._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire._base"] = true; -dojo.provide("dojox.wire._base"); - -dojox.wire._defaultWireClass = "dojox.wire.Wire"; - -dojox.wire._wireClasses = { - "attribute": "dojox.wire.DataWire", - "path": "dojox.wire.XmlWire", - "children": "dojox.wire.CompositeWire", - "columns": "dojox.wire.TableAdapter", - "nodes": "dojox.wire.TreeAdapter", - "segments": "dojox.wire.TextAdapter" -}; - -dojox.wire.register = function(/*Function||String*/wireClass, /*String*/key){ - // summary: - // Register a Wire class - // desription: - // The specified Wire class or a class name is registered with - // a key property of arguments to create a Wire - // wireClass: - // A class or full qualified class name - // key: - // A key property of arguments to create a Wire - if(!wireClass || !key){ - return; //undefined - } - if(dojox.wire._wireClasses[key]){ // key already in use - return; //undefined - } - dojox.wire._wireClasses[key] = wireClass; -}; - -dojox.wire._getClass = function(/*String*/name){ - // summary: - // Returns a class - // description: - // The class is loaded by dojo.require() and returned - // by dojo.getObject(). - // name: - // A class name - // returns: - // A class - dojo["require"](name); // use dojo["require"] instead of dojo.require to avoid a build problem - return dojo.getObject(name); //Function -}; - -dojox.wire.create = function(/*Object*/args){ - // summary: - // Create a Wire from arguments - // description: - // If 'args' specifies 'wireClass', it is used as a class or full - // qualified class name to create a Wire with 'args' as arguments. - // Otherwise, a Wire class is determined by other proeprties of 'args' - // checking if 'args' specifies a key property for a Wire class. - // If no key property found, the default Wire class is used. - // args: - // Arguments to create a Wire - // returns: - // A Wire - if(!args){ - args = {}; - } - var wireClass = args.wireClass; - if(wireClass){ - if(dojo.isString(wireClass)){ - wireClass = dojox.wire._getClass(wireClass); - } - }else{ - for(var key in args){ - if(!args[key]){ - continue; - } - wireClass = dojox.wire._wireClasses[key]; - if(wireClass){ - if(dojo.isString(wireClass)){ - wireClass = dojox.wire._getClass(wireClass); - dojox.wire._wireClasses[key] = wireClass; - } - break; - } - } - } - if(!wireClass){ - if(dojo.isString(dojox.wire._defaultWireClass)){ - dojox.wire._defaultWireClass = dojox.wire._getClass(dojox.wire._defaultWireClass); - } - wireClass = dojox.wire._defaultWireClass; - } - return new wireClass(args); //Object -}; - -dojox.wire.isWire = function(/*Object*/wire){ - // summary: - // Check if an object is a Wire - // description: - // If the specified object is a Wire, true is returned. - // Otherwise, false is returned. - // wire: - // An object to check - // returns: - // True if the object is a Wire, otherwise false - return (wire && wire._wireClass); //Boolean -}; - -dojox.wire.transfer = function(/*Wire||Object*/source, /*Wire||Object*/target, /*Object?*/defaultObject, /*Object?*/defaultTargetObject){ - // summary: - // Transfer a source value to a target value - // description: - // If 'source' and/or 'target' are not Wires, Wires are created with - // them as arguments. - // A value is got through the source Wire and set through the target - // Wire. - // 'defaultObject' is passed to Wires as a default root object. - // If 'defaultTargetObject' is specified, it is passed to the target - // Wire as a default root object, instead of 'defaultObject'. - // source: - // A Wire or arguments to create a Wire for a source value - // target: - // A Wire or arguments to create a Wire for a target value - // defaultObject: - // defaultTargetObject; - // Optional default root objects passed to Wires - if(!source || !target){ - return; //undefined - } - if(!dojox.wire.isWire(source)){ - source = dojox.wire.create(source); - } - if(!dojox.wire.isWire(target)){ - target = dojox.wire.create(target); - } - - var value = source.getValue(defaultObject); - target.setValue(value, (defaultTargetObject || defaultObject)); -}; - -dojox.wire.connect = function(/*Object*/trigger, /*Wire||Object*/source, /*Wire||Object*/target){ - // summary: - // Transfer a source value to a target value on a trigger event or - // topic - // description: - // If 'trigger' specifies 'topic', the topic is subscribed to transer - // a value on the topic. - // Otherwise, the event specified to 'event' of 'trigger' is listened - // to transfer a value. - // On the specified event or topic, transfer() is called with - // 'source', 'target' and the arguments of the event or topic (as - // default root objects). - // trigger: - // An event or topic to trigger a transfer - // source: - // A Wire or arguments to create a Wire for a source value - // target: - // A Wire or arguments to create a Wire for a target value - // returns: - // A connection handle for disconnect() - if(!trigger || !source || !target){ - return; //undefined - } - - var connection = {topic: trigger.topic}; - if(trigger.topic){ - connection.handle = dojo.subscribe(trigger.topic, function(){ - dojox.wire.transfer(source, target, arguments); - }); - }else if(trigger.event){ - connection.handle = dojo.connect(trigger.scope, trigger.event, function(){ - dojox.wire.transfer(source, target, arguments); - }); - } - return connection; //Object -}; - -dojox.wire.disconnect = function(/*Object*/connection){ - // summary: - // Remove a connection or subscription for transfer - // description: - // If 'handle' has 'topic', the topic is unsubscribed. - // Otherwise, the listener to an event is removed. - // connection: - // A connection handle returned by connect() - if(!connection || !connection.handle){ - return; //undefined - } - - if(connection.topic){ - dojo.unsubscribe(connection.handle); - }else{ - dojo.disconnect(connection.handle); - } -}; - -} diff --git a/includes/js/dojox/wire/demos/TableContainer.css b/includes/js/dojox/wire/demos/TableContainer.css deleted file mode 100644 index fded51f..0000000 --- a/includes/js/dojox/wire/demos/TableContainer.css +++ /dev/null @@ -1,25 +0,0 @@ -.tablecontainer { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; - border-collapse: separate; -} -.tablecontainer th { - text-align: left; -} -.tablecontainer tr { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; -} -.tablecontainer tr td { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; -} -.alternate { - background-color: #EEEEEE; -} diff --git a/includes/js/dojox/wire/demos/TableContainer.css.commented.css b/includes/js/dojox/wire/demos/TableContainer.css.commented.css deleted file mode 100644 index 4ee2706..0000000 --- a/includes/js/dojox/wire/demos/TableContainer.css.commented.css +++ /dev/null @@ -1,30 +0,0 @@ -.tablecontainer { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; - border-collapse: separate; -} - -.tablecontainer th { - text-align: left; -} - -.tablecontainer tr { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; -} - -.tablecontainer tr td { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; -} - -.alternate { - background-color: #EEEEEE; -} - diff --git a/includes/js/dojox/wire/demos/TableContainer.js b/includes/js/dojox/wire/demos/TableContainer.js deleted file mode 100644 index fd4ad73..0000000 --- a/includes/js/dojox/wire/demos/TableContainer.js +++ /dev/null @@ -1,68 +0,0 @@ -if(!dojo._hasResource["dojox.wire.demos.TableContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.demos.TableContainer"] = true; -dojo.provide("dojox.wire.demos.TableContainer"); - -dojo.require("dojo.parser"); -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); - -dojo.declare("dojox.wire.demos.TableContainer", [ dijit._Widget, dijit._Templated, dijit._Container ], { - // summary: - // Extremely simple 'widget' that is a table generator with an addRow function that takes an array - // as the row to add, where each entry is a cell in the row. This demo widget is for use with the - // wire demos. - - templateString: "
                              ", - rowCount: 0, - headers: "", - addRow: function(array){ - // summary: - // Function to add in a new row from the elements in the array map to cells in the row. - // array: - // Array of row values to add. - try{ - var row = document.createElement("tr"); - if((this.rowCount%2) === 0){ - dojo.addClass(row, "alternate"); - } - this.rowCount++; - for(var i in array){ - var cell = document.createElement("td"); - var text = document.createTextNode(array[i]); - cell.appendChild(text); - row.appendChild(cell); - - } - this.tableContainer.appendChild(row); - }catch(e){ console.debug(e); } - }, - - clearTable: function(){ - // summary: - // Function to clear all the current rows in the table, except for the header. - - //Always leave the first row, which is the table header. - while(this.tableContainer.firstChild.nextSibling){ - this.tableContainer.removeChild(this.tableContainer.firstChild.nextSibling); - } - this.rowCount = 0; - }, - - postCreate: function(){ - // summary: - // Widget lifecycle function to handle generation of the header elements in the table. - var headers = this.headers.split(","); - var tr = document.createElement("tr"); - for(i in headers){ - - var header = headers[i]; - var th = document.createElement("th"); - var text = document.createTextNode(header); - th.appendChild(text); - tr.appendChild(th); - } - this.tableContainer.appendChild(tr); - } -}); - -} diff --git a/includes/js/dojox/wire/demos/WidgetRepeater.js b/includes/js/dojox/wire/demos/WidgetRepeater.js deleted file mode 100644 index ad1b8b0..0000000 --- a/includes/js/dojox/wire/demos/WidgetRepeater.js +++ /dev/null @@ -1,33 +0,0 @@ -if(!dojo._hasResource["dojox.wire.demos.WidgetRepeater"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.demos.WidgetRepeater"] = true; -dojo.provide("dojox.wire.demos.WidgetRepeater") - -dojo.require("dojo.parser"); -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); -dojo.require("dijit._Container"); - -dojo.declare("dojox.wire.demos.WidgetRepeater", [ dijit._Widget, dijit._Templated, dijit._Container ], { - // summary: - // Simple widget that does generation of widgets repetatively, based on calls to - // the createNew function and contains them as child widgets. - templateString: "
                              ", - widget: null, - repeater: null, - createNew: function(obj){ - // summary: - // Function to handle the creation of a new widget and appending it into the widget tree. - // obj: - // The parameters to pass to the widget. - try{ - if(dojo.isString(this.widget)){ - dojo.require(this.widget); - this.widget = dojo.getObject(this.widget); - } - this.addChild(new this.widget(obj)); - this.repeaterNode.appendChild(document.createElement("br")); - }catch(e){ console.debug(e); } - } -}); - -} diff --git a/includes/js/dojox/wire/demos/markup/countries.json b/includes/js/dojox/wire/demos/markup/countries.json deleted file mode 100644 index ad3a07a..0000000 --- a/includes/js/dojox/wire/demos/markup/countries.json +++ /dev/null @@ -1,43 +0,0 @@ -{ identifier: 'name', - items: [ - { name:'Africa', type:'continent', - children:[{_reference:'Egypt'}, {_reference:'Kenya'}, {_reference:'Sudan'}] }, - { name:'Egypt', type:'country' }, - { name:'Kenya', type:'country', - children:[{_reference:'Nairobi'}, {_reference:'Mombasa'}] }, - { name:'Nairobi', type:'city' }, - { name:'Mombasa', type:'city' }, - { name:'Sudan', type:'country', - children:{_reference:'Khartoum'} }, - { name:'Khartoum', type:'city' }, - { name:'Asia', type:'continent', - children:[{_reference:'China'}, {_reference:'India'}, {_reference:'Russia'}, {_reference:'Mongolia'}] }, - { name:'China', type:'country' }, - { name:'India', type:'country' }, - { name:'Russia', type:'country' }, - { name:'Mongolia', type:'country' }, - { name:'Australia', type:'continent', population:'21 million', - children:{_reference:'Commonwealth of Australia'}}, - { name:'Commonwealth of Australia', type:'country', population:'21 million'}, - { name:'Europe', type:'continent', - children:[{_reference:'Germany'}, {_reference:'France'}, {_reference:'Spain'}, {_reference:'Italy'}] }, - { name:'Germany', type:'country' }, - { name:'France', type:'country' }, - { name:'Spain', type:'country' }, - { name:'Italy', type:'country' }, - { name:'North America', type:'continent', - children:[{_reference:'Mexico'}, {_reference:'Canada'}, {_reference:'United States of America'}] }, - { name:'Mexico', type:'country', population:'108 million', area:'1,972,550 sq km', - children:[{_reference:'Mexico City'}, {_reference:'Guadalajara'}] }, - { name:'Mexico City', type:'city', population:'19 million', timezone:'-6 UTC'}, - { name:'Guadalajara', type:'city', population:'4 million', timezone:'-6 UTC' }, - { name:'Canada', type:'country', population:'33 million', area:'9,984,670 sq km', - children:[{_reference:'Ottawa'}, {_reference:'Toronto'}] }, - { name:'Ottawa', type:'city', population:'0.9 million', timezone:'-5 UTC'}, - { name:'Toronto', type:'city', population:'2.5 million', timezone:'-5 UTC' }, - { name:'United States of America', type:'country' }, - { name:'South America', type:'continent', - children:[{_reference:'Brazil'}, {_reference:'Argentina'}] }, - { name:'Brazil', type:'country', population:'186 million' }, - { name:'Argentina', type:'country', population:'40 million' } -]} diff --git a/includes/js/dojox/wire/demos/markup/demo_ActionChaining.html b/includes/js/dojox/wire/demos/markup/demo_ActionChaining.html deleted file mode 100644 index 596d6ec..0000000 --- a/includes/js/dojox/wire/demos/markup/demo_ActionChaining.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - Sample Action Chaining - - - - - - - - - - Demo of Chaining Actions:

                              - This demo shows how you can chain actions together to fire in a sequence. - Such as the completion of setting one value on a widget triggers the setting of another value on the widget -
                              -
                              - - - - - - - - - - -
                              -
                              -
                              -
                              -
                              -
                              -
                              - - - - - -
                              -
                              -
                              -
                              - - -
                              -
                              -
                              -
                              - - -
                              - -
                              -
                              - - diff --git a/includes/js/dojox/wire/demos/markup/demo_ActionWiring.html b/includes/js/dojox/wire/demos/markup/demo_ActionWiring.html deleted file mode 100644 index 995b67f..0000000 --- a/includes/js/dojox/wire/demos/markup/demo_ActionWiring.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - Sample declarative data binding - - - - - - - - - -
                              -
                              - Demo Searcher (Searches on Attribute 'name'):

                              - Usage:
                              - Enter the name you want to search the store for. Wildcards * (multiple character), and ? (single character), are allowed. -
                              -
                              - - - - - -
                              -
                              Search Datastore
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              - - - - - -
                              -
                              - - -
                              -
                              -
                              -
                              - - -
                              -
                              - - -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              - - diff --git a/includes/js/dojox/wire/demos/markup/demo_BasicChildWire.html b/includes/js/dojox/wire/demos/markup/demo_BasicChildWire.html deleted file mode 100644 index f5973e7..0000000 --- a/includes/js/dojox/wire/demos/markup/demo_BasicChildWire.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - Sample Composite (Child) Wire usage. - - - - - - - -
                              -
                              - - -
                              -
                              - - -
                              -
                              - - -
                              -
                              -
                              -
                              -
                              -
                              - - diff --git a/includes/js/dojox/wire/demos/markup/demo_BasicColumnWiring.html b/includes/js/dojox/wire/demos/markup/demo_BasicColumnWiring.html deleted file mode 100644 index 48c327e..0000000 --- a/includes/js/dojox/wire/demos/markup/demo_BasicColumnWiring.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - Sample Declarative Data Binding using ColumnWire - - - - - - - - -
                              -
                              - - -
                              - - -
                              - - -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              - - diff --git a/includes/js/dojox/wire/demos/markup/demo_ConditionalActions.html b/includes/js/dojox/wire/demos/markup/demo_ConditionalActions.html deleted file mode 100644 index ea0ca64..0000000 --- a/includes/js/dojox/wire/demos/markup/demo_ConditionalActions.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - Conditional Actions Demo - - - - - - - - - - Demo of Conditional Actions:

                              - This demo shows how you can use actions to read and set widget values, as well as have actions only occur if - if certain conditions are met, such as cloning values as they are typed from the billing address over to the - shipping address if the 'Use Same Address' checkbox is checked true. -
                              -
                              -
                              - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                              - Use Same Address:
                              -
                              - Billing Address - - Shipping Address -
                              - Name:
                              -
                              - Name:
                              -
                              - Address 1:
                              -
                              - Address 1:
                              -
                              - Address 2:
                              -
                              - Address 2:
                              -
                              - City:
                              -
                              - City:
                              -
                              - State:
                              -
                              - State:
                              -
                              - Zip code:
                              -
                              - Zip code:
                              -
                              - - - - - -
                              -
                              -
                              - - - -
                              - -
                              -
                              -
                              -
                              -
                              -
                              -
                              - - -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              - -
                              -
                              -
                              -
                              - - - -
                              -
                              - - -
                              -
                              -
                              -
                              -
                              -
                              -
                              - - - diff --git a/includes/js/dojox/wire/demos/markup/demo_FlickrStoreWire.html b/includes/js/dojox/wire/demos/markup/demo_FlickrStoreWire.html deleted file mode 100644 index 54068a9..0000000 --- a/includes/js/dojox/wire/demos/markup/demo_FlickrStoreWire.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - Demo of FlickrStore - - - - - - - -

                              - DEMO: FlickrStore Search -

                              -
                              -

                              - Description: -

                              -

                              - This simple demo shows how services, such as Flickr, can be wrapped by the datastore API. In this demo, you can search public - Flickr images through a simple FlickrStore by specifying a series of tags (separated by spaces) to search on. The results - will be displayed below the search box. This demo is the same as the example demo provided in dojox/data/demos/demo_FlickrStore.html, - except that all the interactions are implemented via Wire instead of a script that runs at dojo.addOnLoad(). -

                              -

                              - For fun, search on the 3dny tag! -

                              - -
                              - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                              - Status: - -
                              -
                              - ID: - -
                              -
                              - Tags: - -
                              -
                              - Tagmode: - - -
                              - Number of Pictures: - -
                              -
                              - -
                              -
                              -
                              - -
                              -
                              - - - - - -
                              -
                              -
                              -
                              -
                              -
                              - - - -
                              - - -
                              -
                              - - - -
                              -
                              -
                              -
                              - -
                              -
                              - -
                              -
                              - - - -
                              -
                              -
                              -
                              - - -
                              -
                              -
                              - - - -
                              -
                              - -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              - - diff --git a/includes/js/dojox/wire/demos/markup/demo_TopicWiring.html b/includes/js/dojox/wire/demos/markup/demo_TopicWiring.html deleted file mode 100644 index e091e8b..0000000 --- a/includes/js/dojox/wire/demos/markup/demo_TopicWiring.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - Sample Topic Wiring - - - - - - - - - - Demo of Topic Wiring

                              - This demo shows how you can wire events to publish to a topic as well as recieve topic events -
                              -
                              - - - - - - - -
                              -
                              -
                              -
                              -
                              - - - - - -
                              -
                              -
                              - - -
                              - - diff --git a/includes/js/dojox/wire/demos/markup/flickrDemo.css b/includes/js/dojox/wire/demos/markup/flickrDemo.css deleted file mode 100644 index 793d1c6..0000000 --- a/includes/js/dojox/wire/demos/markup/flickrDemo.css +++ /dev/null @@ -1,29 +0,0 @@ -.flickrView { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; - border-collapse: separate; - width: 100%; -} -.flickrView th { - text-align: left; -} -.flickrView tr { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; -} -.flickrView tr td { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; -} -.flickrView { - background-color: #EFEFEF; -} -.flickrTitle { - background-color: #CCCCCC; -} diff --git a/includes/js/dojox/wire/demos/markup/flickrDemo.css.commented.css b/includes/js/dojox/wire/demos/markup/flickrDemo.css.commented.css deleted file mode 100644 index 7e75a5d..0000000 --- a/includes/js/dojox/wire/demos/markup/flickrDemo.css.commented.css +++ /dev/null @@ -1,35 +0,0 @@ -.flickrView { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; - border-collapse: separate; - width: 100%; -} - -.flickrView th { - text-align: left; -} - -.flickrView tr { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; -} - -.flickrView tr td { - padding: 3 3 3 3; - border-width: 1px; - border-style: solid; - border-color: #000000; -} - -.flickrView { - background-color: #EFEFEF; -} - -.flickrTitle { - background-color: #CCCCCC; -} - diff --git a/includes/js/dojox/wire/demos/markup/states.json b/includes/js/dojox/wire/demos/markup/states.json deleted file mode 100644 index bdaa609..0000000 --- a/includes/js/dojox/wire/demos/markup/states.json +++ /dev/null @@ -1,56 +0,0 @@ -{"identifier":"abbreviation", -"label": "label", -"items": [ - {"name":"Alabama", "label":"Alabama","abbreviation":"AL"}, - {"name":"Alaska", "label":"Alaska","abbreviation":"AK"}, - {"name":"American Samoa", "label":"American Samoa","abbreviation":"AS"}, - {"name":"Arizona", "label":"Arizona","abbreviation":"AZ"}, - {"name":"Arkansas", "label":"Arkansas","abbreviation":"AR"}, - {"name":"California", "label":"California","abbreviation":"CA"}, - {"name":"Colorado", "label":"Colorado","abbreviation":"CO"}, - {"name":"Connecticut", "label":"Connecticut","abbreviation":"CT"}, - {"name":"Delaware", "label":"Delaware","abbreviation":"DE"}, - {"name":"Florida", "label":"Florida","abbreviation":"FL"}, - {"name":"Georgia", "label":"Georgia","abbreviation":"GA"}, - {"name":"Hawaii", "label":"Hawaii","abbreviation":"HI"}, - {"name":"Idaho", "label":"Idaho","abbreviation":"ID"}, - {"name":"Illinois", "label":"Illinois","abbreviation":"IL"}, - {"name":"Indiana", "label":"Indiana","abbreviation":"IN"}, - {"name":"Iowa", "label":"Iowa","abbreviation":"IA"}, - {"name":"Kansas", "label":"Kansas","abbreviation":"KS"}, - {"name":"Kentucky", "label":"Kentucky","abbreviation":"KY"}, - {"name":"Louisiana", "label":"Louisiana","abbreviation":"LA"}, - {"name":"Maine", "label":"Maine","abbreviation":"ME"}, - {"name":"Marshall Islands", "label":"Marshall Islands","abbreviation":"MH"}, - {"name":"Maryland", "label":"Maryland","abbreviation":"MD"}, - {"name":"Massachusetts", "label":"Massachusetts","abbreviation":"MA"}, - {"name":"Michigan", "label":"Michigan","abbreviation":"MI"}, - {"name":"Minnesota", "label":"Minnesota","abbreviation":"MN"}, - {"name":"Mississippi", "label":"Mississippi","abbreviation":"MS"}, - {"name":"Missouri", "label":"Missouri","abbreviation":"MO"}, - {"name":"Montana", "label":"Montana","abbreviation":"MT"}, - {"name":"Nebraska", "label":"Nebraska","abbreviation":"NE"}, - {"name":"Nevada", "label":"Nevada","abbreviation":"NV"}, - {"name":"New Hampshire", "label":"New Hampshire","abbreviation":"NH"}, - {"name":"New Jersey", "label":"New Jersey","abbreviation":"NJ"}, - {"name":"New Mexico", "label":"New Mexico","abbreviation":"NM"}, - {"name":"New York", "label":"New York","abbreviation":"NY"}, - {"name":"North Carolina", "label":"North Carolina","abbreviation":"NC"}, - {"name":"North Dakota", "label":"North Dakota","abbreviation":"ND"}, - {"name":"Ohio", "label":"Ohio","abbreviation":"OH"}, - {"name":"Oklahoma", "label":"Oklahoma","abbreviation":"OK"}, - {"name":"Oregon", "label":"Oregon","abbreviation":"OR"}, - {"name":"Pennsylvania", "label":"Pennsylvania","abbreviation":"PA"}, - {"name":"Rhode Island", "label":"Rhode Island","abbreviation":"RI"}, - {"name":"South Carolina", "label":"South Carolina","abbreviation":"SC"}, - {"name":"South Dakota", "label":"South Dakota","abbreviation":"SD"}, - {"name":"Tennessee", "label":"Tennessee","abbreviation":"TN"}, - {"name":"Texas", "label":"Texas","abbreviation":"TX"}, - {"name":"Utah", "label":"Utah","abbreviation":"UT"}, - {"name":"Vermont", "label":"Vermont","abbreviation":"VT"}, - {"name":"Virginia", "label":"Virginia","abbreviation":"VA"}, - {"name":"Washington", "label":"Washington","abbreviation":"WA"}, - {"name":"West Virginia", "label":"West Virginia","abbreviation":"WV"}, - {"name":"Wisconsin", "label":"Wisconsin","abbreviation":"WI"}, - {"name":"Wyoming", "label":"Wyoming","abbreviation":"WY"} -]} \ No newline at end of file diff --git a/includes/js/dojox/wire/ml/Action.js b/includes/js/dojox/wire/ml/Action.js deleted file mode 100644 index 637de41..0000000 --- a/includes/js/dojox/wire/ml/Action.js +++ /dev/null @@ -1,225 +0,0 @@ -if(!dojo._hasResource["dojox.wire.ml.Action"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.ml.Action"] = true; -dojo.provide("dojox.wire.ml.Action"); -dojo.provide("dojox.wire.ml.ActionFilter"); - -dojo.require("dijit._Widget"); -dojo.require("dijit._Container"); -dojo.require("dojox.wire.Wire"); -dojo.require("dojox.wire.ml.util"); - -dojo.declare("dojox.wire.ml.Action", [dijit._Widget, dijit._Container], { - // summary: - // A base widget to "run" a task on an event or a topic - // description: - // This widget represents a controller task to be run when an event - // (a function) or a topic is issued. - // Sub-classes must implement _run() method to implement their tasks. - // 'trigger' specifies an event scope, an ID of a widget or an DOM - // element, or its property with the optional dotted notation. - // If this widget has child ActionFilter widgets, their filter() - // methods are called with the arguments to the event or the topic. - // If one of filter() methods returns false, run() won't be invoked. - // This widget also can serve as a composite task to run child - // Actions on an event or a topic specified to this widget. - // trigger: - // An event scope - // triggerEvent: - // An event (function) name - // triggerTopic: - // A topic name - trigger: "", - triggerEvent: "", - triggerTopic: "", - - postCreate: function(){ - // summary: - // Call _connect() - // description: - // See _connect(). - this._connect(); - }, - - _connect: function(){ - // summary: - // Connect run() method to an event or a topic - // description: - // If 'triggerEvent' and 'trigger' are specified, connect() is - // used to set up run() to be called on the event. - // If 'triggerTopic' is specified, subscribe() is used to set up - // run() to be called on the topic. - if(this.triggerEvent){ - if(this.trigger){ - var scope = dojox.wire.ml._getValue(this.trigger); - if(scope){ - if(!scope[this.triggerEvent]){ - // set a dummy function for an anonymous object - scope[this.triggerEvent] = function(){}; - } - this._triggerHandle = dojo.connect(scope, this.triggerEvent, this, "run"); - } - }else{ - var event = this.triggerEvent.toLowerCase(); - if(event == "onload"){ - var self = this; - dojo.addOnLoad(function(){ - self._run.apply(self, arguments); - }); - } - } - }else if(this.triggerTopic){ - this._triggerHandle = dojo.subscribe(this.triggerTopic, this, "run"); - } - }, - - _disconnect: function(){ - // summary: - // Disconnect run() method from an event or a topic - // description: - // If 'triggerEvent' and 'trigger' are specified, disconnect() is - // used to set up run() not to be called on the event. - // If 'triggerTopic' is specified, unsubscribe() is used to set up - // run() not to be called on the topic. - if(this._triggerHandle){ - if(this.triggerTopic){ - dojo.unsubscribe(this.triggerTopic, this._triggerHandle); - }else{ - dojo.disconnect(this._triggerHandle); - } - } - }, - - run: function(){ - // summary: - // Run a task - // description: - // This method calls filter() method of child ActionFilter - // widgets. - // If one of them returns false, this method returns. - // Otherwise, _run() method is called. - var children = this.getChildren(); - for(var i in children){ - var child = children[i]; - if(child instanceof dojox.wire.ml.ActionFilter){ - if(!child.filter.apply(child, arguments)){ - return; - } - } - } - this._run.apply(this, arguments); - }, - - _run: function(){ - // summary: - // Call run() methods of child Action widgets - // description: - // If this widget has child Action widgets, their run() methods - // are called. - var children = this.getChildren(); - for(var i in children){ - var child = children[i]; - if(child instanceof dojox.wire.ml.Action){ - child.run.apply(child, arguments); - } - } - }, - - uninitialize: function(){ - // summary: - // Over-ride of base widget unitialize function to do some connection cleanup. - this._disconnect(); - return true; - } -}); - -dojo.declare("dojox.wire.ml.ActionFilter", dijit._Widget, { - // summary: - // A widget to define a filter for the parent Action to run - // description: - // This base class checks a required property specified with - // 'required' attribute. - // If 'message' is specified, the message is set to a property - // specified with 'error'. - // Subclasses may implement their own filter() method. - // required: - // A property required - // requiredValue: - // Optional. A specific value the property is required to have. If this isn't provided - // than any non-false/non-null value of the required propery will cause this filter - // to pass. - // type: - // Optional. A specific type to compare the values as (if requiredValue is set) - // Valid values for type are boolean, int, string. Default is string. - // message: - // An error message to emit if the filter doesn't execute due to property mismatch. - // error: - // A property to store an error due to property mismatch. - required: "", - requiredValue: "", - type: "", - message: "", - error: "", - - - filter: function(){ - // summary: - // Check if a required property is specified. Also, if provided, check to see - // if the required property contains a specific value. - // description: - // If a value is undefined for a property, specified with - // 'required', this method returns false. - // If the value for a property is defined, but there isn't a requiredValue for it - // then any non-false value will cause the method to return true. - // if requiredValue is set, then filter compares that value with the value from - // the required property and returns true if and only if they match. - // The type option just allows for a way to convert the required property values - // into a proper form for comparison (boolean, number, etc). - // If 'message' is specified, it is set to a proeprty specified - // with 'error' or shown with alert(). - // If 'required' starts with "arguments", a property of - // the method arguments are checked. - // returns: - // True if a required property is specified (and if requiredValue is specified, - // that they match), otherwise false - if(this.required === ""){ - return true; //Boolean - }else{ - var value = dojox.wire.ml._getValue(this.required, arguments); - if(this.requiredValue === ""){ - //Just see if there's a value, nothing to compare it to. - if(value){ - return true; //Boolean - } - }else{ - //See if we need to type convert. - var reqValue = this.requiredValue; - if(this.type !== ""){ - var lType = this.type.toLowerCase(); - if(lType === "boolean"){ - if(reqValue.toLowerCase() === "false"){ - reqValue = false; - }else{ - reqValue = true; - } - }else if(lType === "number"){ - reqValue = parseInt(reqValue, 10); - } - } - if(value === reqValue){ - return true; //boolean - } - } - } - - if(this.message){ - if(this.error){ - dojox.wire.ml._setValue(this.error, this.message); - }else{ - alert(this.message); - } - } - return false; //Boolean - } -}); - -} diff --git a/includes/js/dojox/wire/ml/Data.js b/includes/js/dojox/wire/ml/Data.js deleted file mode 100644 index 71ab0ad..0000000 --- a/includes/js/dojox/wire/ml/Data.js +++ /dev/null @@ -1,143 +0,0 @@ -if(!dojo._hasResource["dojox.wire.ml.Data"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.ml.Data"] = true; -dojo.provide("dojox.wire.ml.Data"); -dojo.provide("dojox.wire.ml.DataProperty"); - -dojo.require("dijit._Widget"); -dojo.require("dijit._Container"); -dojo.require("dojox.wire.ml.util"); - -dojo.declare("dojox.wire.ml.Data", [dijit._Widget, dijit._Container], { - // summary: - // A widget for a data object - // description: - // This widget represents an object with '_properties' property. - // If child 'DataProperty' widgets exist, they are used to initialize - // propertiy values of '_properties' object. - - startup: function(){ - // summary: - // Call _initializeProperties() - // description: - // See _initializeProperties(). - this._initializeProperties(); - }, - - _initializeProperties: function(/*Boolean*/reset){ - // summary: - // Initialize a data object - // description: - // If this widget has child DataProperty widgets, their getValue() - // methods are called and set the return value to a property - // specified by 'name' attribute of the child widgets. - // reset: - // A boolean to reset current properties - if(!this._properties || reset){ - this._properties = {}; - } - var children = this.getChildren(); - for(var i in children){ - var child = children[i]; - if((child instanceof dojox.wire.ml.DataProperty) && child.name){ - this.setPropertyValue(child.name, child.getValue()); - } - } - }, - - getPropertyValue: function(/*String*/property){ - // summary: - // Return a property value - // description: - // This method returns the value of a property, specified with - // 'property' argument, in '_properties' object. - // property: - // A property name - // returns: - // A property value - return this._properties[property]; //anything - }, - - setPropertyValue: function(/*String*/property, /*anything*/value){ - // summary: - // Store a property value - // description: - // This method stores 'value' as a property, specified with - // 'property' argument, in '_properties' object. - // property: - // A property name - // value: - // A property value - this._properties[property] = value; - } -}); - -dojo.declare("dojox.wire.ml.DataProperty", [dijit._Widget, dijit._Container], { - // summary: - // A widget to define a data property - // description: - // Attributes of this widget are used to add a property to the parent - // Data widget. - // 'type' attribute specifies one of "string", "number", "boolean", - // "array", "object" and "element" (DOM Element) - // (default to "string"). - // If 'type' is "array" or "object", child DataProperty widgets are - // used to initialize the array elements or the object properties. - // name: - // A property name - // type: - // A property type name - // value: - // A property value - name: "", - type: "", - value: "", - - getValue: function(){ - // summary: - // Returns a property value - // description: - // If 'type' is specified, 'value' attribute is converted to - // the specified type and returned. - // Otherwise, 'value' attribute is returned as is. - // returns: - // A property value - var value = this.value; - if(this.type){ - if(this.type == "number"){ - value = parseInt(value); - }else if(this.type == "boolean"){ - value = (value == "true"); - }else if(this.type == "array"){ - value = []; - var children = this.getChildren(); - for(var i in children){ - var child = children[i]; - if(child instanceof dojox.wire.ml.DataProperty){ - value.push(child.getValue()); - } - } - }else if(this.type == "object"){ - value = {}; - var children = this.getChildren(); - for(var i in children){ - var child = children[i]; - if((child instanceof dojox.wire.ml.DataProperty) && child.name){ - value[child.name] = child.getValue(); - } - } - }else if(this.type == "element"){ - value = new dojox.wire.ml.XmlElement(value); - var children = this.getChildren(); - for(var i in children){ - var child = children[i]; - if((child instanceof dojox.wire.ml.DataProperty) && child.name){ - value.setPropertyValue(child.name, child.getValue()); - } - } - } - } - return value; //anything - } -}); - -} diff --git a/includes/js/dojox/wire/ml/DataStore.js b/includes/js/dojox/wire/ml/DataStore.js deleted file mode 100644 index e366d05..0000000 --- a/includes/js/dojox/wire/ml/DataStore.js +++ /dev/null @@ -1,116 +0,0 @@ -if(!dojo._hasResource["dojox.wire.ml.DataStore"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.ml.DataStore"] = true; -dojo.provide("dojox.wire.ml.DataStore"); - -dojo.require("dijit._Widget"); -dojo.require("dojox.wire._base"); - -dojo.declare("dojox.wire.ml.DataStore", dijit._Widget, { - // summary: - // A widget for a data store - // description: - // This widget represents a data store of 'storeClass' attribute. - // storeClass: - // A class name of a data store - storeClass: "", - - postCreate: function(){ - // summary: - // Call _createStore() - // description: - // See _createStore(). - this.store = this._createStore(); - }, - - _createStore: function(){ - // summary: - // Create a data store - // desription: - // A data store of 'storeClass' is created with arguments - // specified with attributes. - // returns: - // A data store - if(!this.storeClass){ - return null; //null - } - var storeClass = dojox.wire._getClass(this.storeClass); - if(!storeClass){ - return null; //null - } - var args = {}; - var attributes = this.domNode.attributes; - for(var i = 0; i < attributes.length; i++){ - var a = attributes.item(i); - if(a.specified && !this[a.nodeName]){ - args[a.nodeName] = a.nodeValue; - } - } - return new storeClass(args); //Object - }, - - getFeatures: function(){ - // summary: - // Call getFeatures() method of a data store - // description: - // See dojo.data.api.Read.getFeatures(). - // returns: - // A features object - return this.store.getFeatures(); //Object - }, - - fetch: function(/*Object*/request){ - // summary: - // Call fetch() method of a data store - // description: - // See dojo.data.api.Read.fetch(). - // request: - // A request object - // returns: - // A request object - return this.store.fetch(request); //Object - }, - - save: function(/*Object*/args){ - // summary: - // Call save() method of a data store - // description: - // See dojo.data.api.Write.save(). - // args: - // A save arguments object - this.store.save(args); - }, - - newItem: function(/*Object*/args){ - // summary: - // Call newItem() method of a data store - // description: - // See dojo.data.api.Write.newItem(). - // args: - // A new item arguments object - // returns: - // A new item - return this.store.newItem(args); //Object - }, - - deleteItem: function(/*Object*/item){ - // summary: - // Call deleteItem() method of a data store - // description: - // See dojo.data.api.Write.deleteItem(). - // returns: - // A boolean - return this.store.deleteItem(item); //Boolean - }, - - revert: function(){ - // summary: - // Call revert() method of a data store - // description: - // See dojo.data.api.Write.revert(). - // returns: - // A boolean - return this.store.revert(); //Boolean - } -}); - -} diff --git a/includes/js/dojox/wire/ml/Invocation.js b/includes/js/dojox/wire/ml/Invocation.js deleted file mode 100644 index 3d36623..0000000 --- a/includes/js/dojox/wire/ml/Invocation.js +++ /dev/null @@ -1,171 +0,0 @@ -if(!dojo._hasResource["dojox.wire.ml.Invocation"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.ml.Invocation"] = true; -dojo.provide("dojox.wire.ml.Invocation"); - -dojo.require("dojox.wire.ml.Action"); - -dojo.declare("dojox.wire.ml.Invocation", dojox.wire.ml.Action, { - // summary: - // A widget to invoke a method or publish a topic - // description: - // This widget represents a controller task to invoke a method or - // publish a topic when an event (a function) or a topic is issued. - // object: - // A scope of a method to invoke - // method: - // A name of a method to invoke - // topic: - // A name of a topic to publish - // parameters: - // Arguments for the method or the topic - // result: - // A property to store a return value of the method call - // error: - // A property to store an error on the method call - object: "", - method: "", - topic: "", - parameters: "", - result: "", - error: "", - - _run: function(){ - // summary: - // Invoke a method or publish a topic - // description: - // If 'topic' is specified, the topic is published with arguments - // specified to 'parameters'. - // If 'method' and 'object' are specified, the method is invoked - // with arguments specified to 'parameters' and set the return - // value to a property specified to 'result'. - // 'object', 'parameters' and 'result' can specify properties of - // a widget or an DOM element with the dotted notation. - // If 'parameters' are omitted, the arguments to this method are - // passed as is. - if(this.topic){ - var args = this._getParameters(arguments); - try{ - dojo.publish(this.topic, args); - this.onComplete(); - }catch(e){ - this.onError(e); - } - }else if(this.method){ - var scope = (this.object ? dojox.wire.ml._getValue(this.object) : dojo.global); - if(!scope){ - return; //undefined - } - var args = this._getParameters(arguments); - var func = scope[this.method]; - if(!func){ - func = scope.callMethod; - if(!func){ - return; //undefined - } - args = [this.method, args]; - } - try{ - var connected = false; - if(scope.getFeatures){ - var features = scope.getFeatures(); - if((this.method == "fetch" && features["dojo.data.api.Read"]) || - (this.method == "save" && features["dojo.data.api.Write"])){ - var arg = args[0]; - if(!arg.onComplete){ - arg.onComplete = function(){}; - } - //dojo.connect(arg, "onComplete", this, "onComplete"); - this.connect(arg, "onComplete", "onComplete"); - if(!arg.onError){ - arg.onError = function(){}; - } - //dojo.connect(arg, "onError", this, "onError"); - this.connect(arg, "onError", "onError"); - connected = true; - } - } - var r = func.apply(scope, args); - if(!connected){ - if(r && (r instanceof dojo.Deferred)){ - var self = this; - r.addCallbacks( - function(result){self.onComplete(result);}, - function(error){self.onError(error);} - ); - }else{ - this.onComplete(r); - } - } - }catch(e){ - this.onError(e); - } - } - }, - - onComplete: function(/*anything*/result){ - // summary: - // A function called when the method or the topic publish - // completed - // description: - // If 'result' attribute is specified, the result object also set - // to the specified property. - // result: - // The return value of a method or undefined for a topic - if(this.result){ - dojox.wire.ml._setValue(this.result, result); - } - if(this.error){ // clear error - dojox.wire.ml._setValue(this.error, ""); - } - }, - - onError: function(/*anything*/error){ - // summary: - // A function called on an error occurs - // description: - // If 'error' attribute is specified, the error object also set to - // the specified property. - // error: - // The exception or error occurred - if(this.error){ - if(error && error.message){ - error = error.message; - } - dojox.wire.ml._setValue(this.error, error); - } - }, - - _getParameters: function(/*Array*/args){ - // summary: - // Returns arguments to a method or topic to invoke - // description: - // This method retunrs an array of arguments specified by - // 'parameters' attribute, a comma-separated list of IDs and - // their properties in a dotted notation. - // If 'parameters' are omitted, the original arguments are - // used. - // args: - // Arguments to a trigger event or topic - if(!this.parameters){ - // use arguments as is - return args; //Array - } - var parameters = []; - var list = this.parameters.split(","); - if(list.length == 1){ - var parameter = dojox.wire.ml._getValue(dojo.trim(list[0]), args); - if(dojo.isArray(parameter)){ - parameters = parameter; - }else{ - parameters.push(parameter); - } - }else{ - for(var i in list){ - parameters.push(dojox.wire.ml._getValue(dojo.trim(list[i]), args)); - } - } - return parameters; //Array - } -}); - -} diff --git a/includes/js/dojox/wire/ml/Service.js b/includes/js/dojox/wire/ml/Service.js deleted file mode 100644 index 15f074b..0000000 --- a/includes/js/dojox/wire/ml/Service.js +++ /dev/null @@ -1,340 +0,0 @@ -if(!dojo._hasResource["dojox.wire.ml.Service"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.ml.Service"] = true; -dojo.provide("dojox.wire.ml.Service"); -dojo.provide("dojox.wire.ml.RestHandler"); -dojo.provide("dojox.wire.ml.XmlHandler"); -dojo.provide("dojox.wire.ml.JsonHandler"); - -dojo.require("dijit._Widget"); -dojo.require("dojox.data.dom"); -dojo.require("dojox.wire._base"); -dojo.require("dojox.wire.ml.util"); - -dojo.declare("dojox.wire.ml.Service", dijit._Widget, { - // summary: - // A widget for a service - // description: - // This widget represents a service defined by a service description - // specified with 'url' attribute. - // If 'serviceType' and 'serviceUrl' attributes are specified, 'url' - // attribute can be omitted. - // url: - // A URL to a service description - // serviceUrl: - // A URL to a service - // serviceType: - // A service type - // handlerClass: - // A service handler class name - url: "", - serviceUrl: "", - serviceType: "", - handlerClass: "", - preventCache: true, - - postCreate: function(){ - // summary: - // Call _createHandler() - // description: - // See _createHandler(). - this.handler = this._createHandler(); - }, - - _handlerClasses: { - "TEXT": "dojox.wire.ml.RestHandler", - "XML": "dojox.wire.ml.XmlHandler", - "JSON": "dojox.wire.ml.JsonHandler", - "JSON-RPC": "dojo.rpc.JsonService" - }, - - _createHandler: function(){ - // summary: - // Create a service handler - // desription: - // A service handler class is determined by: - // 1. 'handlerClass' attribute - // 2. 'serviceType' attribute - // 3. 'serviceType' property in a service description - // returns: - // A service handler - if(this.url){ - var self = this; - var d = dojo.xhrGet({ - url: this.url, - handleAs: "json", - sync: true - }); - d.addCallback(function(result){ - self.smd = result; - }); - if(this.smd && !this.serviceUrl){ - this.serviceUrl = (this.smd.serviceUrl || this.smd.serviceURL); - } - } - var handlerClass = undefined; - if(this.handlerClass){ - handlerClass = dojox.wire._getClass(this.handlerClass); - }else if(this.serviceType){ - handlerClass = this._handlerClasses[this.serviceType]; - if(handlerClass && dojo.isString(handlerClass)){ - handlerClass = dojox.wire._getClass(handlerClass); - this._handlerClasses[this.serviceType] = handlerClass; - } - }else if(this.smd && this.smd.serviceType){ - handlerClass = this._handlerClasses[this.smd.serviceType]; - if(handlerClass && dojo.isString(handlerClass)){ - handlerClass = dojox.wire._getClass(handlerClass); - this._handlerClasses[this.smd.serviceType] = handlerClass; - } - } - if(!handlerClass){ - return null; //null - } - return new handlerClass(); //Object - }, - - callMethod: function(method, parameters){ - // summary: - // Call a service method with parameters - // method: - // A method name - // parameters: - // An array parameters - var deferred = new dojo.Deferred(); - this.handler.bind(method, parameters, deferred, this.serviceUrl); - return deferred; - } -}); - -dojo.declare("dojox.wire.ml.RestHandler", null, { - // summary: - // A REST service handler - // description: - // This class serves as a base REST service. - // Sub-classes may override _getContent() and _getResult() to handle - // specific content types. - contentType: "text/plain", - handleAs: "text", - - bind: function(method, parameters, deferred, url){ - // summary: - // Call a service method with parameters. - // description: - // A service is called with a URL generated by _getUrl() and - // an HTTP method specified with 'method'. - // For "POST" and "PUT", a content is generated by _getContent(). - // When data is loaded, _getResult() is used to pass the result to - // Deferred.callback(). - // method: - // A method name - // parameters: - // An array of parameters - // deferred: - // 'Deferred' - // url: - // A URL for the method - method = method.toUpperCase(); - var self = this; - var args = { - url: this._getUrl(method, parameters, url), - contentType: this.contentType, - handleAs: this.handleAs, - headers: this.headers, - preventCache: this.preventCache - }; - var d = null; - if(method == "POST"){ - args.postData = this._getContent(method, parameters); - d = dojo.rawXhrPost(args); - }else if(method == "PUT"){ - args.putData = this._getContent(method, parameters); - d = dojo.rawXhrPut(args); - }else if(method == "DELETE"){ - d = dojo.xhrDelete(args); - }else{ // "GET" - d = dojo.xhrGet(args); - } - d.addCallbacks(function(result){ - deferred.callback(self._getResult(result)); - }, function(error){ - deferred.errback(error); - }); - }, - - _getUrl: function(/*String*/method, /*Array*/parameters, /*String*/url){ - // summary: - // Generate a URL - // description: - // If 'method' is "GET" or "DELETE", a query string is generated - // from a query object specified to the first parameter in - // 'parameters' and appended to 'url'. - // If 'url' contains variable seguments ("{parameter_name}"), - // they are replaced with corresponding parameter values, instead. - // method: - // A method name - // parameters: - // An array of parameters - // url: - // A base URL - // returns: - // A URL - var query; - if(method == "GET" || method == "DELETE"){ - if(parameters.length > 0){ - query = parameters[0]; - } - }else{ // "POST" || "PUT" - if(parameters.length > 1){ - query = parameters[1]; - } - } - if(query){ - var queryString = ""; - for(var name in query){ - var value = query[name]; - if(value){ - value = encodeURIComponent(value); - var variable = "{" + name + "}"; - var index = url.indexOf(variable); - if(index >= 0){ // encode in path - url = url.substring(0, index) + value + url.substring(index + variable.length); - }else{ // encode as query string - if(queryString){ - queryString += "&"; - } - queryString += (name + "=" + value); - } - } - } - if(queryString){ - url += "?" + queryString; - } - } - return url; //String - }, - - _getContent: function(/*String*/method, /*Array*/parameters){ - // summary: - // Generate a request content - // description: - // If 'method' is "POST" or "PUT", the first parameter in - // 'parameters' is returned. - // method: - // A method name - // parameters: - // An array of parameters - // returns: - // A request content - if(method == "POST" || method == "PUT"){ - return (parameters ? parameters[0] : null); //anything - }else{ - return null; //null - } - }, - - _getResult: function(/*anything*/data){ - // summary: - // Extract a result - // description: - // A response data is returned as is. - // data: - // A response data returned by a service - // returns: - // A result object - return data; //anything - } -}); - -dojo.declare("dojox.wire.ml.XmlHandler", dojox.wire.ml.RestHandler, { - // summary: - // A REST service handler for XML - // description: - // This class provides XML handling for a REST service. - contentType: "text/xml", - handleAs: "xml", - - _getContent: function(/*String*/method, /*Array*/parameters){ - // description: - // If 'method' is "POST" or "PUT", the first parameter in - // 'parameters' is used to generate an XML content. - // method: - // A method name - // parameters: - // An array of parameters - // returns: - // A request content - var content = null; - if(method == "POST" || method == "PUT"){ - var p = parameters[0]; - if(p){ - if(dojo.isString(p)){ - content = p; - }else{ - var element = p; - if(element instanceof dojox.wire.ml.XmlElement){ - element = element.element; - }else if(element.nodeType === 9 /* DOCUMENT_NODE */){ - element = element.documentElement; - } - var declaration = ""; // TODO: encoding? - content = declaration + dojox.data.dom.innerXML(element); - } - } - } - return content; - }, - - _getResult: function(/*Document*/data){ - // summary: - // Extract a result - // description: - // A response data (XML Document) is returned wrapped with - // XmlElement. - // data: - // A response data returned by a service - // returns: - // A result object - if(data){ - data = new dojox.wire.ml.XmlElement(data); - } - return data; - } -}); - -dojo.declare("dojox.wire.ml.JsonHandler", dojox.wire.ml.RestHandler, { - // summary: - // A REST service handler for JSON - // description: - // This class provides JSON handling for a REST service. - contentType: "text/json", - handleAs: "json", - headers: {"Accept": "*/json"}, - - _getContent: function(/*String*/method, /*Array*/parameters){ - // summary: - // Generate a request content - // description: - // If 'method' is "POST" or "PUT", the first parameter in - // 'parameter' is used to generate a JSON content. - // method: - // A method name - // parameters: - // An array of parameters - // returns: - // A request content - var content = null; - if(method == "POST" || method == "PUT"){ - var p = (parameters ? parameters[0] : undefined); - if(p){ - if(dojo.isString(p)){ - content = p; - }else{ - content = dojo.toJson(p); - } - } - } - return content; //String - } -}); - -} diff --git a/includes/js/dojox/wire/ml/Transfer.js b/includes/js/dojox/wire/ml/Transfer.js deleted file mode 100644 index c7780ca..0000000 --- a/includes/js/dojox/wire/ml/Transfer.js +++ /dev/null @@ -1,359 +0,0 @@ -if(!dojo._hasResource["dojox.wire.ml.Transfer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.ml.Transfer"] = true; -dojo.provide("dojox.wire.ml.Transfer"); -dojo.provide("dojox.wire.ml.ChildWire"); -dojo.provide("dojox.wire.ml.ColumnWire"); -dojo.provide("dojox.wire.ml.NodeWire"); -dojo.provide("dojox.wire.ml.SegmentWire"); - -dojo.require("dijit._Widget"); -dojo.require("dijit._Container"); -dojo.require("dojox.wire._base"); -dojo.require("dojox.wire.ml.Action"); - -dojo.declare("dojox.wire.ml.Transfer", dojox.wire.ml.Action, { - // summary: - // A widget to transfer values through source and target Wires - // description: - // This widget represents a controller task to transfer a value from - // a source to a target, through a source and a target Wires, when - // an event (a function) or a topic is issued. - // If this widget has child ChildWire widgets, their _addWire() - // methods are called to add Wire arguments to a source or a target - // Wire. - // source: - // A source object and/or property - // sourceStore: - // A data store for a source data item - // sourceAttribute: - // An attribute of a source data item - // sourcePath: - // A simplified XPath to a source property of an XML element - // type: - // A type of the value to be transferred - // converter: - // A class name of a converter for the value to be transferred - // target: - // A target object and/or property - // targetStore: - // A data store for a target data item - // targetAttribute: - // An attribute of a target data item - // targetPath: - // A simplified XPath to a target property of an XML element - source: "", - sourceStore: "", - sourceAttribute: "", - sourcePath: "", - type: "", - converter: "", - delimiter: "", - target: "", - targetStore: "", - targetAttribute: "", - targetPath: "", - - _run: function(){ - // summary: - // Transfer a value from a source to a target - // description: - // First, Wires for a source and a target are created from attributes. - // Then, a value is obtained by getValue() of the source Wire is set - // by setValue() of the target Wire. - // The arguments to this method is passed to getValue() and setValue() - // of Wires, so that they can be used to identify the root objects off - // the arguments. - var sourceWire = this._getWire("source"); - var targetWire = this._getWire("target"); - dojox.wire.transfer(sourceWire, targetWire, arguments); - }, - - _getWire: function(/*String*/which){ - // summary: - // Build Wire arguments from attributes - // description: - // Arguments object for a source or a target Wire, specified by - // 'which' argument, are build from corresponding attributes, - // including '*Store' (for 'dataStore'), '*Attribute' - // (for 'attribute), '*Path' (for 'path'), 'type' and 'converter'. - // 'source' or 'target' attribute is parsed as: - // "object_id.property_name[.sub_property_name...]" - // If 'source' or 'target' starts with "arguments", 'object' - // argument for a Wire is set to null, so that the root object is - // given as an event or topic arguments. - // If this widget has child ChildWire widgets with a corresponding - // 'which' attribute, their _addWire() methods are called to add - // additional Wire arguments and nested Wire is created, - // specifying the Wire defined by this widget to 'object' argument. - // which: - // Which Wire arguments to build, "source" or "target" - // returns: - // Wire arguments object - var args = undefined; - if(which == "source"){ - args = { - object: this.source, - dataStore: this.sourceStore, - attribute: this.sourceAttribute, - path: this.sourcePath, - type: this.type, - converter: this.converter - }; - }else{ // "target" - args = { - object: this.target, - dataStore: this.targetStore, - attribute: this.targetAttribute, - path: this.targetPath - }; - } - if(args.object){ - if(args.object.length >= 9 && args.object.substring(0, 9) == "arguments"){ - args.property = args.object.substring(9); - args.object = null; - }else{ - var i = args.object.indexOf('.'); - if(i < 0){ - args.object = dojox.wire.ml._getValue(args.object); - }else{ - args.property = args.object.substring(i + 1); - args.object = dojox.wire.ml._getValue(args.object.substring(0, i)); - } - } - } - if(args.dataStore){ - args.dataStore = dojox.wire.ml._getValue(args.dataStore); - } - var childArgs = undefined; - var children = this.getChildren(); - for(var i in children){ - var child = children[i]; - if(child instanceof dojox.wire.ml.ChildWire && child.which == which){ - if(!childArgs){ - childArgs = {}; - } - child._addWire(this, childArgs); - } - } - if(childArgs){ // make nested Wires - childArgs.object = dojox.wire.create(args); - childArgs.dataStore = args.dataStore; - args = childArgs; - } - return args; //Object - } -}); - -dojo.declare("dojox.wire.ml.ChildWire", dijit._Widget, { - // summary: - // A widget to add a child wire - // description: - // Attributes of this widget are used to add a child Wire to - // a composite Wire of the parent Transfer widget. - // which: - // Which Wire to add a child Wire, "source" or "target", default to - // "source" - // object: - // A root object for the value - // property: - // A property for the value - // type: - // A type of the value - // converter: - // A class name of a converter for the value - // attribute: - // A data item attribute for the value - // path: - // A simplified XPath for the value - // name: - // A composite property name - which: "source", - object: "", - property: "", - type: "", - converter: "", - attribute: "", - path: "", - name: "", - - _addWire: function(/*Transfer*/parent, /*Object*/args){ - // summary: - // Add a child Wire to Wire arguments - // description: - // If 'name' attribute is specified, a child Wire is added as - // the named property of 'children' object of 'args'. - // Otherwise, a child Wire is added to 'children' array of 'args'. - // parent: - // A parent Transfer widget - // args: - // Wire arguments - if(this.name){ // object - if(!args.children){ - args.children = {}; - } - args.children[this.name] = this._getWire(parent); - }else{ // array - if(!args.children){ - args.children = []; - } - args.children.push(this._getWire(parent)); - } - }, - - _getWire: function(/*Transfer*/parent){ - // summary: - // Build child Wire arguments from attributes - // description: - // Arguments object for a child Wire are build from attributes, - // including 'object', 'property', 'type', 'converter', - // 'attribute' and 'path'. - // parent: - // A parent Transfer widget - // returns: - // Wire arguments object - return { - object: (this.object ? dojox.wire.ml._getValue(this.object) : undefined), - property: this.property, - type: this.type, - converter: this.converter, - attribute: this.attribute, - path: this.path - }; //Object - } -}); - -dojo.declare("dojox.wire.ml.ColumnWire", dojox.wire.ml.ChildWire, { - // summary: - // A widget to add a column wire - // description: - // Attributes of this widget are used to add a column Wire to - // a TableAdapter of the parent Transfer widget. - // column: - // A column name - column: "", - - _addWire: function(/*Transfer*/parent, /*Object*/args){ - // summary: - // Add a column Wire to Wire arguments - // description: - // If 'column' attribute is specified, a column Wire is added as - // the named property of 'columns' object of 'args'. - // Otherwise, a column Wire is added to 'columns' array of 'args'. - // parent: - // A parent Transfer widget - // args: - // Wire arguments - if(this.column){ // object - if(!args.columns){ - args.columns = {}; - } - args.columns[this.column] = this._getWire(parent); - }else{ // array - if(!args.columns){ - args.columns = []; - } - args.columns.push(this._getWire(parent)); - } - } -}); - -dojo.declare("dojox.wire.ml.NodeWire", [dojox.wire.ml.ChildWire, dijit._Container], { - // summary: - // A widget to add node wires - // description: - // Attributes of this widget are used to add node Wires to - // a TreeAdapter of the parent Transfer widget. - // titleProperty: - // A property for the node title - // titleAttribute: - // A data item attribute for the node title - // titlePath: - // A simplified XPath for the node title - titleProperty: "", - titleAttribute: "", - titlePath: "", - - _addWire: function(/*Transfer*/parent, /*Object*/args){ - // summary: - // Add node Wires to Wire arguments - // description: - // Node Wires are added to 'nodes' array of 'args'. - // parent: - // A parent Transfer widget - // args: - // Wire arguments - if(!args.nodes){ - args.nodes = []; - } - args.nodes.push(this._getWires(parent)); - }, - - _getWires: function(/*Transfer*/parent){ - // summary: - // Build node Wires arguments from attributes - // description: - // Arguments object for 'node' Wire are build from attributes, - // including 'object', 'property', 'type', 'converter', - // 'attribute' and 'path'. - // Arguments object for 'title' Wire are build from another set of - // attributes, 'titleProperty', 'titleAttribute' and 'titlePath'. - // If this widget has child NodeWire widgets, their _getWires() - // methods are called recursively to build 'children' array of - // 'args'. - // parent: - // A parent Transfer widget - // returns: - // Wire arguments object - var args = { - node: this._getWire(parent), - title: { - type: "string", - property: this.titleProperty, - attribute: this.titleAttribute, - path: this.titlePath - } - }; - var childArgs = []; - var children = this.getChildren(); - for(var i in children){ - var child = children[i]; - if(child instanceof dojox.wire.ml.NodeWire){ - childArgs.push(child._getWires(parent)); - } - } - if(childArgs.length > 0){ - args.children = childArgs; - } - return args; //Object - } -}); - -dojo.declare("dojox.wire.ml.SegmentWire", dojox.wire.ml.ChildWire, { - // summary: - // A widget to add a segment wire - // description: - // Attributes of this widget are used to add a segment Wire to - // a TextAdapter of the parent Transfer widget. - - _addWire: function(/*Transfer*/parent, /*Object*/args){ - // summary: - // Add a segument Wire to Wire arguments - // description: - // A segment Wire is added to 'segments' array of 'args'. - // If 'parent' has 'delimiter' attribute, it is used for - // 'delimiter' property of 'args'. - // parent: - // A parent Transfer widget - // args: - // Wire arguments - if(!args.segments){ - args.segments = []; - } - args.segments.push(this._getWire(parent)); - if(parent.delimiter && !args.delimiter){ - args.delimiter = parent.delimiter; - } - } -}); - -} diff --git a/includes/js/dojox/wire/ml/util.js b/includes/js/dojox/wire/ml/util.js deleted file mode 100644 index a336b28..0000000 --- a/includes/js/dojox/wire/ml/util.js +++ /dev/null @@ -1,295 +0,0 @@ -if(!dojo._hasResource["dojox.wire.ml.util"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.ml.util"] = true; -dojo.provide("dojox.wire.ml.util"); - -dojo.require("dojox.data.dom"); -dojo.require("dojox.wire.Wire"); - -dojox.wire.ml._getValue = function(/*String*/source, /*Array*/args){ - // summary: - // Return a value - // description: - // This method obtains an object by an ID of a widget or an DOM - // element. - // If 'source' specifies a dotted notation to its property, a Wire is - // used to get the object property. - // If 'source' starts with "arguments", 'args' is used as a root - // object for the Wire. - // source: - // A string to specify an object and its property - // args: - // An optional arguments array - // returns: - // A value - if(!source){ - return undefined; //undefined - } - var property = undefined; - if(args && source.length >= 9 && source.substring(0, 9) == "arguments"){ - property = source.substring(9); - return new dojox.wire.Wire({property: property}).getValue(args); - } - var i = source.indexOf('.'); - if(i >= 0){ - property = source.substring(i + 1); - source = source.substring(0, i); - } - var object = (dijit.byId(source) || dojo.byId(source) || dojo.getObject(source)); - if(!object){ - return undefined; //undefined - } - if(!property){ - return object; //Object - }else{ - return new dojox.wire.Wire({object: object, property: property}).getValue(); //anything - } -}; - -dojox.wire.ml._setValue = function(/*String*/target, /*anything*/value){ - // summary: - // Store a value - // description: - // This method stores a value by an ID of a widget or an DOM - // element with a dotted notation to its property, using a Wire. - // target: - // A string to specify an object and its property - // value: - // A value - if(!target){ - return; //undefined - } - var i = target.indexOf('.'); - if(i < 0){ - return; //undefined - } - var object = this._getValue(target.substring(0, i)); - if(!object){ - return; //undefined - } - var property = target.substring(i + 1); - new dojox.wire.Wire({object: object, property: property}).setValue(value); -}; - -dojo.declare("dojox.wire.ml.XmlElement", null, { - // summary: - // An object wrapping an XML element - // description: - // This class represents an XML element. - - constructor: function(/*Element||String*/element){ - // summary: - // Initialize with an XML element or a tag name - // element: - // An XML element or a tag name - if(dojo.isString(element)){ - element = this._getDocument().createElement(element); - } - this.element = element; - }, - getPropertyValue: function(/*String*/property){ - // summary: - // Return a property value - // description: - // If 'property' starts with '@', the attribute value is returned. - // If 'property' specifies "text()", the value of the first child - // text is returned. - // Otherwise, child elements of the tag name specified with - // 'property' are returned. - // property: - // A property name - // returns: - // A property value - var value = undefined; - if(!this.element){ - return value; //undefined - } - if(!property){ - return value; //undefined - } - - if(property.charAt(0) == '@'){ - var attribute = property.substring(1); - value = this.element.getAttribute(attribute); - }else if(property == "text()"){ - var text = this.element.firstChild; - if(text){ - value = text.nodeValue; - } - }else{ // child elements - var elements = []; - for(var i = 0; i < this.element.childNodes.length; i++){ - var child = this.element.childNodes[i]; - if(child.nodeType === 1 /* ELEMENT_NODE */ && child.nodeName == property){ - elements.push(new dojox.wire.ml.XmlElement(child)); - } - } - if(elements.length > 0){ - if(elements.length === 1){ - value = elements[0]; - }else{ - value = elements; - } - } - } - return value; //String||Array||XmlElement - }, - - setPropertyValue: function(/*String*/property, /*String||Array||XmlElement*/value){ - // summary: - // Store a property value - // description: - // If 'property' starts with '@', 'value' is set to the attribute. - // If 'property' specifies "text()", 'value' is set as the first - // child text. - // If 'value' is a string, a child element of the tag name - // specified with 'property' is created and 'value' is set as - // the first child text of the child element. - // Otherwise, 'value' is set to as child elements. - // property: - // A property name - // value: - // A property value - if(!this.element){ - return; //undefined - } - if(!property){ - return; //undefined - } - - if(property.charAt(0) == '@'){ - var attribute = property.substring(1); - if(value){ - this.element.setAttribute(attribute, value); - }else{ - this.element.removeAttribute(attribute); - } - }else if(property == "text()"){ - while(this.element.firstChild){ - this.element.removeChild(this.element.firstChild); - } - if(value){ - var text = this._getDocument().createTextNode(value); - this.element.appendChild(text); - } - }else{ // child elements - var nextChild = null; - for(var i = this.element.childNodes.length - 1; i >= 0; i--){ - var child = this.element.childNodes[i]; - if(child.nodeType === 1 /* ELEMENT_NODE */ && child.nodeName == property){ - if(!nextChild){ - nextChild = child.nextSibling; - } - this.element.removeChild(child); - } - } - if(value){ - if(dojo.isArray(value)){ - for(var i in value){ - var e = value[i]; - if(e.element){ - this.element.insertBefore(e.element, nextChild); - } - } - }else if(value instanceof dojox.wire.ml.XmlElement){ - if(value.element){ - this.element.insertBefore(value.element, nextChild); - } - }else{ // assume string - var child = this._getDocument().createElement(property); - var text = this._getDocument().createTextNode(value); - child.appendChild(text); - this.element.insertBefore(child, nextChild); - } - } - } - }, - - toString: function(){ - // summary: - // Return a value of the first text child of the element - // description: - // A value of the first text child of the element is returned. - // returns: - // A value of the first text child of the element - var s = ""; - if(this.element){ - var text = this.element.firstChild; - if(text){ - s = text.nodeValue; - } - } - return s; //String - }, - - toObject: function(){ - // summary: - // Return an object representation of the element - // description: - // An object with properties for child elements, attributes and - // text is returned. - // returns: - // An object representation of the element - if(!this.element){ - return null; //null - } - var text = ""; - var obj = {}; - var elements = 0; - for(var i = 0; i < this.element.childNodes.length; i++){ - var child = this.element.childNodes[i]; - if(child.nodeType === 1 /* ELEMENT_NODE */){ - elements++; - var o = new dojox.wire.ml.XmlElement(child).toObject(); - var name = child.nodeName; - var p = obj[name]; - if(!p){ - obj[name] = o; - }else if(dojo.isArray(p)){ - p.push(o); - }else{ - obj[name] = [p, o]; // make them array - } - }else if(child.nodeType === 3 /* TEXT_NODE */ || - child.nodeType === 4 /* CDATA_SECTION_NODE */){ - text += child.nodeValue; - } - } - var attributes = 0; - if(this.element.nodeType === 1 /* ELEMENT_NODE */){ - attributes = this.element.attributes.length; - for(var i = 0; i < attributes; i++){ - var attr = this.element.attributes[i]; - obj["@" + attr.nodeName] = attr.nodeValue; - } - } - if(elements === 0){ - if(attributes === 0){ - // text only - return text; //String - } - // text with attributes - obj["text()"] = text; - } - // else ignore text - return obj; //Object - }, - - _getDocument: function(){ - // summary: - // Return a DOM document - // description: - // If 'element' is specified, a DOM document of the element is - // returned. - // Otherwise, a DOM document is created. - // returns: - // A DOM document - if(this.element){ - return (this.element.nodeType == 9 /* DOCUMENT_NODE */ ? - this.element : this.element.ownerDocument); //Document - }else{ - return dojox.data.dom.createDocument(); //Document - } - } -}); - -} diff --git a/includes/js/dojox/wire/tests/markup/Action.html b/includes/js/dojox/wire/tests/markup/Action.html deleted file mode 100644 index 75cbd49..0000000 --- a/includes/js/dojox/wire/tests/markup/Action.html +++ /dev/null @@ -1,147 +0,0 @@ - - -Test Action - - - - -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              - -
                              -
                              -
                              -
                              -
                              - -
                              -
                              -
                              -
                              -
                              - -
                              -
                              -
                              -
                              -
                              - - - diff --git a/includes/js/dojox/wire/tests/markup/Data.html b/includes/js/dojox/wire/tests/markup/Data.html deleted file mode 100644 index b1107c0..0000000 --- a/includes/js/dojox/wire/tests/markup/Data.html +++ /dev/null @@ -1,105 +0,0 @@ - - -Test Data - - - - -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              - - diff --git a/includes/js/dojox/wire/tests/markup/DataStore.html b/includes/js/dojox/wire/tests/markup/DataStore.html deleted file mode 100644 index 3c55f7e..0000000 --- a/includes/js/dojox/wire/tests/markup/DataStore.html +++ /dev/null @@ -1,66 +0,0 @@ - - -Test DataStore - - - - -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              - - diff --git a/includes/js/dojox/wire/tests/markup/DataStore.xml b/includes/js/dojox/wire/tests/markup/DataStore.xml deleted file mode 100644 index eeff4c2..0000000 --- a/includes/js/dojox/wire/tests/markup/DataStore.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - X1 - Y1 - Z1 - - - X2 - Y2 - Z2 - - - X3 - Y3 - Z3 - - diff --git a/includes/js/dojox/wire/tests/markup/Invocation.html b/includes/js/dojox/wire/tests/markup/Invocation.html deleted file mode 100644 index dd6f6e4..0000000 --- a/includes/js/dojox/wire/tests/markup/Invocation.html +++ /dev/null @@ -1,53 +0,0 @@ - - -Test Invocation - - - - -
                              -
                              -
                              - - diff --git a/includes/js/dojox/wire/tests/markup/Service.html b/includes/js/dojox/wire/tests/markup/Service.html deleted file mode 100644 index 0448c61..0000000 --- a/includes/js/dojox/wire/tests/markup/Service.html +++ /dev/null @@ -1,84 +0,0 @@ - - -Test Service - - - - -
                              -
                              -
                              -
                              -
                              -
                              - - diff --git a/includes/js/dojox/wire/tests/markup/Service/JSON.smd b/includes/js/dojox/wire/tests/markup/Service/JSON.smd deleted file mode 100644 index 2ac9682..0000000 --- a/includes/js/dojox/wire/tests/markup/Service/JSON.smd +++ /dev/null @@ -1,11 +0,0 @@ -{ - "serviceType": "JSON", - "serviceURL": "Service/{name}.json", - "methods": [{ - "name": "get", - "parameters": [{ - "name": "name", - "type": "str" - }] - }] -} diff --git a/includes/js/dojox/wire/tests/markup/Service/XML.smd b/includes/js/dojox/wire/tests/markup/Service/XML.smd deleted file mode 100644 index d833f88..0000000 --- a/includes/js/dojox/wire/tests/markup/Service/XML.smd +++ /dev/null @@ -1,11 +0,0 @@ -{ - "serviceType": "XML", - "serviceURL": "Service/{name}.xml", - "methods": [{ - "name": "get", - "parameters": [{ - "name": "name", - "type": "str" - }] - }] -} diff --git a/includes/js/dojox/wire/tests/markup/Service/a.json b/includes/js/dojox/wire/tests/markup/Service/a.json deleted file mode 100644 index 93fc00b..0000000 --- a/includes/js/dojox/wire/tests/markup/Service/a.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "item": { - "name": "a" - } -} diff --git a/includes/js/dojox/wire/tests/markup/Service/a.xml b/includes/js/dojox/wire/tests/markup/Service/a.xml deleted file mode 100644 index 21e4367..0000000 --- a/includes/js/dojox/wire/tests/markup/Service/a.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - a - - diff --git a/includes/js/dojox/wire/tests/markup/Transfer.html b/includes/js/dojox/wire/tests/markup/Transfer.html deleted file mode 100644 index 3ec11a4..0000000 --- a/includes/js/dojox/wire/tests/markup/Transfer.html +++ /dev/null @@ -1,157 +0,0 @@ - - -Test Transfer - - - - -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              - - diff --git a/includes/js/dojox/wire/tests/module.js b/includes/js/dojox/wire/tests/module.js deleted file mode 100644 index 17f10c3..0000000 --- a/includes/js/dojox/wire/tests/module.js +++ /dev/null @@ -1,13 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.module"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.module"] = true; -dojo.provide("dojox.wire.tests.module"); - -try{ - dojo.require("dojox.wire.tests.wire"); - dojo.require("dojox.wire.tests.wireml"); -}catch(e){ - doh.debug(e); -} - - -} diff --git a/includes/js/dojox/wire/tests/programmatic/CompositeWire.js b/includes/js/dojox/wire/tests/programmatic/CompositeWire.js deleted file mode 100644 index ae9866a..0000000 --- a/includes/js/dojox/wire/tests/programmatic/CompositeWire.js +++ /dev/null @@ -1,51 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.programmatic.CompositeWire"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.programmatic.CompositeWire"] = true; -dojo.provide("dojox.wire.tests.programmatic.CompositeWire"); - -dojo.require("dojox.wire.CompositeWire"); - -tests.register("dojox.wire.tests.programmatic.CompositeWire", [ - - function test_CompositeWire_children(t){ - var source = {a: "A", b: "B"}; - var target = {}; - var children = {x: {property: "a"}, y: {property: "b"}}; - var value = new dojox.wire.CompositeWire({object: source, children: children}).getValue(); - t.assertEqual(source.a, value.x); - t.assertEqual(source.b, value.y); - new dojox.wire.CompositeWire({object: target, children: children}).setValue(value); - t.assertEqual(source.a, target.a); - t.assertEqual(source.b, target.b); - - // with argument - target = {}; - value = new dojox.wire.CompositeWire({children: children}).getValue(source); - t.assertEqual(source.a, value.x); - t.assertEqual(source.b, value.y); - new dojox.wire.CompositeWire({children: children}).setValue(value, target); - t.assertEqual(source.a, target.a); - t.assertEqual(source.b, target.b); - - // by array - target = {}; - children = [{property: "a"}, {property: "b"}]; - value = new dojox.wire.CompositeWire({object: source, children: children}).getValue(); - t.assertEqual(source.a, value[0]); - t.assertEqual(source.b, value[1]); - new dojox.wire.CompositeWire({object: target, children: children}).setValue(value); - t.assertEqual(source.a, target.a); - t.assertEqual(source.b, target.b); - - // by array with argument - target = {}; - value = new dojox.wire.CompositeWire({children: children}).getValue(source); - t.assertEqual(source.a, value[0]); - t.assertEqual(source.b, value[1]); - new dojox.wire.CompositeWire({children: children}).setValue(value, target); - t.assertEqual(source.a, target.a); - t.assertEqual(source.b, target.b); - } - -]); - -} diff --git a/includes/js/dojox/wire/tests/programmatic/ConverterDynamic.js b/includes/js/dojox/wire/tests/programmatic/ConverterDynamic.js deleted file mode 100644 index 2665148..0000000 --- a/includes/js/dojox/wire/tests/programmatic/ConverterDynamic.js +++ /dev/null @@ -1,12 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.programmatic.ConverterDynamic"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.programmatic.ConverterDynamic"] = true; -dojo.provide("dojox.wire.tests.programmatic.ConverterDynamic"); - -dojo.declare("dojox.wire.tests.programmatic.ConverterDynamic", null, { - convert: function(v){ - return v + 1; - } -}); - - -} diff --git a/includes/js/dojox/wire/tests/programmatic/DataWire.js b/includes/js/dojox/wire/tests/programmatic/DataWire.js deleted file mode 100644 index b146901..0000000 --- a/includes/js/dojox/wire/tests/programmatic/DataWire.js +++ /dev/null @@ -1,25 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.programmatic.DataWire"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.programmatic.DataWire"] = true; -dojo.provide("dojox.wire.tests.programmatic.DataWire"); - -dojo.require("dojox.wire.DataWire"); -dojo.require("dojox.data.XmlStore"); - -tests.register("dojox.wire.tests.programmatic.DataWire", [ - - function test_DataWire_attribute(t){ - var store = new dojox.data.XmlStore(); - var item = store.newItem({tagName: "x"}); - new dojox.wire.DataWire({dataStore: store, object: item, attribute: "y"}).setValue("Y"); - var value = new dojox.wire.DataWire({dataStore: store, object: item, attribute: "y"}).getValue(); - t.assertEqual("Y", value); - - // nested attribute - new dojox.wire.DataWire({dataStore: store, object: item, attribute: "y.z"}).setValue("Z"); - value = new dojox.wire.DataWire({dataStore: store, object: item, attribute: "y.z"}).getValue(); - t.assertEqual("Z", value); - } - -]); - -} diff --git a/includes/js/dojox/wire/tests/programmatic/TableAdapter.js b/includes/js/dojox/wire/tests/programmatic/TableAdapter.js deleted file mode 100644 index 9e6adc1..0000000 --- a/includes/js/dojox/wire/tests/programmatic/TableAdapter.js +++ /dev/null @@ -1,24 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.programmatic.TableAdapter"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.programmatic.TableAdapter"] = true; -dojo.provide("dojox.wire.tests.programmatic.TableAdapter"); - -dojo.require("dojox.wire.TableAdapter"); - -tests.register("dojox.wire.tests.programmatic.TableAdapter", [ - - function test_TableAdapter_columns(t){ - var source = [ - {a: "A1", b: "B1", c: "C1"}, - {a: "A2", b: "B2", c: "C2"}, - {a: "A3", b: "B3", c: "C3"} - ]; - var columns = {x: {property: "a"}, y: {property: "b"}, z: {property: "c"}}; - var value = new dojox.wire.TableAdapter({object: source, columns: columns}).getValue(); - t.assertEqual(source[0].a, value[0].x); - t.assertEqual(source[1].b, value[1].y); - t.assertEqual(source[2].c, value[2].z); - } - -]); - -} diff --git a/includes/js/dojox/wire/tests/programmatic/TextAdapter.js b/includes/js/dojox/wire/tests/programmatic/TextAdapter.js deleted file mode 100644 index 1014b5c..0000000 --- a/includes/js/dojox/wire/tests/programmatic/TextAdapter.js +++ /dev/null @@ -1,25 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.programmatic.TextAdapter"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.programmatic.TextAdapter"] = true; -dojo.provide("dojox.wire.tests.programmatic.TextAdapter"); - -dojo.require("dojox.wire.TextAdapter"); - -tests.register("dojox.wire.tests.programmatic.TextAdapter", [ - - function test_TextAdapter_segments(t){ - var source = {a: "a", b: "b", c: "c"}; - var segments = [{property: "a"}, {property: "b"}, {property: "c"}]; - var value = new dojox.wire.TextAdapter({object: source, segments: segments}).getValue(); - t.assertEqual("abc", value); - }, - - function test_TextAdapter_delimiter(t){ - var source = {a: "a", b: "b", c: "c"}; - var segments = [{property: "a"}, {property: "b"}, {property: "c"}]; - var value = new dojox.wire.TextAdapter({object: source, segments: segments, delimiter: "/"}).getValue(); - t.assertEqual("a/b/c", value); - } - -]); - -} diff --git a/includes/js/dojox/wire/tests/programmatic/TreeAdapter.js b/includes/js/dojox/wire/tests/programmatic/TreeAdapter.js deleted file mode 100644 index e1671ed..0000000 --- a/includes/js/dojox/wire/tests/programmatic/TreeAdapter.js +++ /dev/null @@ -1,29 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.programmatic.TreeAdapter"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.programmatic.TreeAdapter"] = true; -dojo.provide("dojox.wire.tests.programmatic.TreeAdapter"); - -dojo.require("dojox.wire.TreeAdapter"); - -tests.register("dojox.wire.tests.programmatic.TreeAdapter", [ - - function test_TreeAdapter_nodes(t){ - var source = [ - {a: "A1", b: "B1", c: "C1"}, - {a: "A2", b: "B2", c: "C2"}, - {a: "A3", b: "B3", c: "C3"} - ]; - var nodes = [ - {title: {property: "a"}, children: [ - {node: {property: "b"}}, - {title: {property: "c"}} - ]} - ]; - var value = new dojox.wire.TreeAdapter({object: source, nodes: nodes}).getValue(); - t.assertEqual(source[0].a, value[0].title); - t.assertEqual(source[1].b, value[1].children[0].title); - t.assertEqual(source[2].c, value[2].children[1].title); - } - -]); - -} diff --git a/includes/js/dojox/wire/tests/programmatic/Wire.js b/includes/js/dojox/wire/tests/programmatic/Wire.js deleted file mode 100644 index 25a82ec..0000000 --- a/includes/js/dojox/wire/tests/programmatic/Wire.js +++ /dev/null @@ -1,123 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.programmatic.Wire"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.programmatic.Wire"] = true; -dojo.provide("dojox.wire.tests.programmatic.Wire"); -dojo.require("dojox.wire.Wire"); - -//Simple connverter class to try to use. -dojo.declare("dojox.wire.tests.programmatic.Wire.Converter", null, { - convert: function(v){ - return v + 1; - } -}); - -//Simple converter function to try to use. -//To get it in the global namespace, gotta assign it to the -//'window' toplevel object. Otherwise it ends up in the -//dojo NS and can't be found. -if (dojo.isBrowser) { - window["__wireTestConverterFunction"] = function(v){ - return v + 1; - }; -}else{ - var __wireTestConverterFunction = function(v){ - return v + 1; - }; -} - -tests.register("dojox.wire.tests.programmatic.Wire", [ - - function test_Wire_property(t){ - var source = {a: "A", b: {c: "B.C"}}; - var target = {a: "a", b: {c: "b.c"}}; - var value = new dojox.wire.Wire({object: source, property: "a"}).getValue(); - new dojox.wire.Wire({object: target, property: "a"}).setValue(value); - t.assertEqual(source.a, target.a); - - // child property - value = new dojox.wire.Wire({object: source, property: "b.c"}).getValue(); - new dojox.wire.Wire({object: target, property: "b.c"}).setValue(value); - t.assertEqual(source.b.c, target.b.c); - - // new property - target = {}; - value = new dojox.wire.Wire({object: source, property: "a"}).getValue(); - new dojox.wire.Wire({object: target, property: "a"}).setValue(value); - t.assertEqual(source.a, target.a); - - // new parent and child property - target.b = {}; - value = new dojox.wire.Wire({object: source, property: "b.c"}).getValue(); - new dojox.wire.Wire({object: target, property: "b.c"}).setValue(value); - t.assertEqual(source.b.c, target.b.c); - - // new parent and child property - target = {}; - value = new dojox.wire.Wire({object: source, property: "b.c"}).getValue(); - new dojox.wire.Wire({object: target, property: "b.c"}).setValue(value); - t.assertEqual(source.b.c, target.b.c); - - // new array property - source = {a: ["A"]}; - target = {}; - value = new dojox.wire.Wire({object: source, property: "a[0]"}).getValue(); - new dojox.wire.Wire({object: target, property: "a[0]"}).setValue(value); - t.assertEqual(source.a[0], target.a[0]); - - // by getter/setter - source = {getA: function() { return this._a; }, _a: "A"}; - target = {setA: function(a) { this._a = a; }}; - value = new dojox.wire.Wire({object: source, property: "a"}).getValue(); - new dojox.wire.Wire({object: target, property: "a"}).setValue(value); - t.assertEqual(source._a, target._a); - - // by get/setPropertyValue - source = {getPropertyValue: function(p) { return this["_" + p]; }, _a: "A"}; - target = {setPropertyValue: function(p, v) { this["_" + p] = v; }}; - value = new dojox.wire.Wire({object: source, property: "a"}).getValue(); - new dojox.wire.Wire({object: target, property: "a"}).setValue(value); - t.assertEqual(source._a, target._a); - }, - - function test_Wire_type(t){ - var source = {a: "1"}; - var string = new dojox.wire.Wire({object: source, property: "a"}).getValue(); - t.assertEqual("11", string + 1); - var number = new dojox.wire.Wire({object: source, property: "a", type: "number"}).getValue(); - t.assertEqual(2, number + 1); - }, - - function test_Wire_converterObject(t){ - var source = {a: "1"}; - var converter = {convert: function(v) { return v + 1; }}; - var string = new dojox.wire.Wire({object: source, property: "a", converter: converter}).getValue(); - t.assertEqual("11", string); - }, - - function test_Wire_converterFunction(t){ - var source = {a: "1"}; - var converter = {convert: function(v) { return v + 1; }}; - var number = new dojox.wire.Wire({object: source, property: "a", type: "number", converter: converter.convert}).getValue(); - t.assertEqual(2, number); - }, - - function test_Wire_converterObjectByString(t){ - var source = {a: "1"}; - var number = new dojox.wire.Wire({object: source, property: "a", type: "number", converter: "dojox.wire.tests.programmatic.Wire.Converter"}).getValue(); - t.assertEqual(2, number); - }, - - function test_Wire_converterFunctionByString(t){ - var source = {a: "1"}; - var number = new dojox.wire.Wire({object: source, property: "a", type: "number", converter: "__wireTestConverterFunction"}).getValue(); - t.assertEqual(2, number); - }, - - function test_Wire_converterObjectByStringDynamic(t){ - var source = {a: "1"}; - var number = new dojox.wire.Wire({object: source, property: "a", type: "number", converter: "dojox.wire.tests.programmatic.ConverterDynamic"}).getValue(); - t.assertEqual(2, number); - } - -]); - -} diff --git a/includes/js/dojox/wire/tests/programmatic/XmlWire.js b/includes/js/dojox/wire/tests/programmatic/XmlWire.js deleted file mode 100644 index b0772d7..0000000 --- a/includes/js/dojox/wire/tests/programmatic/XmlWire.js +++ /dev/null @@ -1,32 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.programmatic.XmlWire"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.programmatic.XmlWire"] = true; -dojo.provide("dojox.wire.tests.programmatic.XmlWire"); - -dojo.require("dojox.wire.XmlWire"); - -tests.register("dojox.wire.tests.programmatic.XmlWire", [ - - function test_XmlWire_path(t){ - var object = {}; - var wire = dojox.wire.create({object: object, property: "element"}); - new dojox.wire.XmlWire({object: wire, path: "/x/y/text()"}).setValue("Y"); - var value = new dojox.wire.XmlWire({object: object, property: "element", path: "y/text()"}).getValue(); - t.assertEqual("Y", value); - - // attribute - new dojox.wire.XmlWire({object: object, property: "element", path: "y/@z"}).setValue("Z"); - value = new dojox.wire.XmlWire({object: wire, path: "/x/y/@z"}).getValue(); - t.assertEqual("Z", value); - - // with index - var document = object.element.ownerDocument; - var element = document.createElement("y"); - element.appendChild(document.createTextNode("Y2")); - object.element.appendChild(element); - value = new dojox.wire.XmlWire({object: object.element, path: "y[2]/text()"}).getValue(); - t.assertEqual("Y2", value); - } - -]); - -} diff --git a/includes/js/dojox/wire/tests/programmatic/_base.js b/includes/js/dojox/wire/tests/programmatic/_base.js deleted file mode 100644 index 00f9abe..0000000 --- a/includes/js/dojox/wire/tests/programmatic/_base.js +++ /dev/null @@ -1,111 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.programmatic._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.programmatic._base"] = true; -dojo.provide("dojox.wire.tests.programmatic._base"); - -dojo.require("dojox.wire._base"); - -tests.register("dojox.wire.tests.programmatic._base", [ - - function test_create(t){ - var wire = dojox.wire.create({}); - t.assertTrue(wire instanceof dojox.wire.Wire); - - wire = dojox.wire.create({property: "a"}); - t.assertTrue(wire instanceof dojox.wire.Wire); - - wire = dojox.wire.create({attribute: "a"}); - t.assertTrue(wire instanceof dojox.wire.DataWire); - - wire = dojox.wire.create({path: "a"}); - t.assertTrue(wire instanceof dojox.wire.XmlWire); - - wire = dojox.wire.create({children: "a"}); - t.assertTrue(wire instanceof dojox.wire.CompositeWire); - - wire = dojox.wire.create({columns: "a"}); - t.assertTrue(wire instanceof dojox.wire.TableAdapter); - - wire = dojox.wire.create({nodes: "a"}); - t.assertTrue(wire instanceof dojox.wire.TreeAdapter); - - wire = dojox.wire.create({segments: "a"}); - t.assertTrue(wire instanceof dojox.wire.TextAdapter); - - wire = dojox.wire.create({wireClass: "dojox.wire.DataWire"}); - t.assertTrue(wire instanceof dojox.wire.DataWire); - }, - - function test_transfer(t){ - var source = {a: "A"}; - var target = {}; - dojox.wire.transfer( - {object: source, property: "a"}, - {object: target, property: "a"}); - t.assertEqual(source.a, target.a); - }, - - function test_connect(t){ - var trigger = {transfer: function() {}, transferArgument: function() {}}; - var source = {a: "A"}; - var target = {}; - dojox.wire.connect({scope: trigger, event: "transfer"}, - {object: source, property: "a"}, - {object: target, property: "a"}); - trigger.transfer(); - t.assertEqual(source.a, target.a); - - // with argument - target = {}; - dojox.wire.connect({scope: trigger, event: "transferArgument"}, - {property: "[0].a"}, - {object: target, property: "a"}); - trigger.transferArgument(source); - t.assertEqual(source.a, target.a); - - // by topic - target = {}; - dojox.wire.connect({topic: "transfer"}, - {object: source, property: "a"}, - {object: target, property: "a"}); - dojo.publish("transfer"); - t.assertEqual(source.a, target.a); - - // by topic with argument - target = {}; - dojox.wire.connect({topic: "transferArgument"}, - {property: "[0].a"}, - {object: target, property: "a"}); - dojo.publish("transferArgument", [source]); - t.assertEqual(source.a, target.a); - }, - - function test_disconnect(t){ - var trigger = {transferDisconnect: function() {}}; - var source = {a: "A"}; - var target = {}; - var connection = dojox.wire.connect({scope: trigger, event: "transferDisconnect"}, - {object: source, property: "a"}, - {object: target, property: "a"}); - trigger.transferDisconnect(); - t.assertEqual(source.a, target.a); - delete target.a; - dojox.wire.disconnect(connection); - trigger.transferDisconnect(); - t.assertEqual(undefined, target.a); - - // by topic - target = {}; - connection = dojox.wire.connect({topic: "transferDisconnect"}, - {object: source, property: "a"}, - {object: target, property: "a"}); - dojo.publish("transferDisconnect"); - t.assertEqual(source.a, target.a); - delete target.a; - dojox.wire.disconnect(connection); - dojo.publish("transferDisconnect"); - t.assertEqual(undefined, target.a); - } - -]); - -} diff --git a/includes/js/dojox/wire/tests/runTests.html b/includes/js/dojox/wire/tests/runTests.html deleted file mode 100644 index f4a51de..0000000 --- a/includes/js/dojox/wire/tests/runTests.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - Dojox.wire Unit Test Runner - - - Redirecting to D.O.H runner. - - diff --git a/includes/js/dojox/wire/tests/wire.js b/includes/js/dojox/wire/tests/wire.js deleted file mode 100644 index e4e2a21..0000000 --- a/includes/js/dojox/wire/tests/wire.js +++ /dev/null @@ -1,18 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.wire"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.wire"] = true; -dojo.provide("dojox.wire.tests.wire"); - -try{ - dojo.require("dojox.wire.tests.programmatic._base"); - dojo.require("dojox.wire.tests.programmatic.Wire"); - dojo.requireIf(dojo.isBrowser, "dojox.wire.tests.programmatic.DataWire"); - dojo.requireIf(dojo.isBrowser, "dojox.wire.tests.programmatic.XmlWire"); - dojo.require("dojox.wire.tests.programmatic.CompositeWire"); - dojo.require("dojox.wire.tests.programmatic.TableAdapter"); - dojo.require("dojox.wire.tests.programmatic.TreeAdapter"); - dojo.require("dojox.wire.tests.programmatic.TextAdapter"); -}catch(e){ - doh.debug(e); -} - -} diff --git a/includes/js/dojox/wire/tests/wireml.js b/includes/js/dojox/wire/tests/wireml.js deleted file mode 100644 index db47056..0000000 --- a/includes/js/dojox/wire/tests/wireml.js +++ /dev/null @@ -1,18 +0,0 @@ -if(!dojo._hasResource["dojox.wire.tests.wireml"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.wire.tests.wireml"] = true; -dojo.provide("dojox.wire.tests.wireml"); - -try{ - if(dojo.isBrowser){ - doh.registerUrl("dojox.wire.tests.ml.Action", dojo.moduleUrl("dojox", "wire/tests/markup/Action.html")); - doh.registerUrl("dojox.wire.tests.ml.Transfer", dojo.moduleUrl("dojox", "wire/tests/markup/Transfer.html")); - doh.registerUrl("dojox.wire.tests.ml.Invocation", dojo.moduleUrl("dojox", "wire/tests/markup/Invocation.html")); - doh.registerUrl("dojox.wire.tests.ml.Data", dojo.moduleUrl("dojox", "wire/tests/markup/Data.html")); - doh.registerUrl("dojox.wire.tests.ml.DataStore", dojo.moduleUrl("dojox", "wire/tests/markup/DataStore.html")); - doh.registerUrl("dojox.wire.tests.ml.Service", dojo.moduleUrl("dojox", "wire/tests/markup/Service.html")); - } -}catch(e){ - doh.debug(e); -} - -} diff --git a/includes/js/dojox/xml/DomParser.js b/includes/js/dojox/xml/DomParser.js deleted file mode 100644 index f61e653..0000000 --- a/includes/js/dojox/xml/DomParser.js +++ /dev/null @@ -1,379 +0,0 @@ -if(!dojo._hasResource["dojox.xml.DomParser"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.xml.DomParser"] = true; -dojo.provide("dojox.xml.DomParser"); - -dojox.xml.DomParser=new (function(){ - /********************************************************** - * The DomParser is a close-to (but not entirely) - * conforming XML parser based on regular - * expressions. It will take any XML fragment - * and return a lightweight JS structure that is - * similar to (but not exactly) the DOM specification. - * - * Getter and setter methods are NOT available; the goal - * was to keep the resulting object model entirely JS-like. - * - * All node types but document fragments are supported; - * all nodes support getElementsByTagName and - * getElementsByTagNameNS (with short names byName and - * byNameNS). The document node supports getElementById - * (byId), and all nodes support a supplimental - * childrenByName/childrenByNameNS method as well. - * - * The object model is intended to be a READONLY format; - * mutation events are NOT supported, and though you - * can change properties on a node-by-node basis, certain - * operations are not supported (such as changing the ID - * of an element). - **********************************************************/ - - // internal use only. - var nodeTypes={ ELEMENT:1, ATTRIBUTE:2, TEXT:3, CDATA_SECTION:4, PROCESSING_INSTRUCTION:7, COMMENT:8, DOCUMENT:9 }; - - // compile the regular expressions once. - var reTags=/<([^>\/\s+]*)([^>]*)>([^<]*)/g; - var reAttr=/([^=]*)="([^"]*)"/g; - var reEntity=//g; - var reCData=//g; - var reComments=//g; - var trim=/^\s+|\s+$/g; - var normalize=/\s+/g; - var egt=/\>/g; - var elt=/\</g; - var equot=/\"/g; - var eapos=/\'/g; - var eamp=/\&/g; - var dNs="_def_"; - - // create a root node. - function _doc(){ - return new (function(){ - var all={}; - this.nodeType=nodeTypes.DOCUMENT; - this.nodeName="#document"; - this.namespaces={}; - this._nsPaths={}; - this.childNodes=[]; - this.documentElement=null; - - // any element with an ID attribute will be added to the internal hashtable. - this._add=function(obj){ - if(typeof(obj.id)!="undefined"){ all[obj.id]=obj; } - }; - this._remove=function(id){ - if(all[id]){ delete all[id]; } - }; - - this.byId=this.getElementById=function(id){ return keys[id]; }; - this.byName=this.getElementsByTagName=byName; - this.byNameNS=this.getElementsByTagNameNS=byNameNS; - this.childrenByName=childrenByName; - })(); - } - - // functions attached to element nodes - function byName(name){ - // return all descendants with name. Fully qualified (i.e. svg:svg) - function __(node, name, arr){ - dojo.forEach(node.childNodes, function(c){ - if(c.nodeType==nodeTypes.ELEMENT){ - if(name=="*"){ arr.push(c); } - else if(c.nodeName==name){ arr.push(c); } - __(c, name, arr); - } - }); - } - var a=[]; - __(this, name, a); - return a; - } - function byNameNS(name, ns){ - // return all descendants with name by namespace. If no namespace passed, the default is used. - function __(node, name, ns, arr){ - dojo.forEach(node.childNodes, function(c){ - if(c.nodeType==nodeTypes.ELEMENT){ - if(name=="*"&&c.ownerDocument._nsPaths[ns]==c.namespace){ arr.push(c); } - else if(c.localName==name&&c.ownerDocument._nsPaths[ns]==c.namespace){ arr.push(c); } - __(c, name, ns, arr); - } - }); - } - if(!ns){ ns=dNs; } - var a=[]; - __(this, name, ns, a); - return a; - } - // Only child nodes with name. - function childrenByName(name){ - var a=[]; - dojo.forEach(this.childNodes, function(c){ - if(c.nodeType==nodeTypes.ELEMENT){ - if(name=="*"){ a.push(c); } - else if(c.nodeName==name){ a.push(c); } - } - }); - return a; - } - - function _createTextNode(v){ - return { - nodeType:nodeTypes.TEXT, - nodeName:"#text", - nodeValue:v.replace(normalize," ").replace(egt,">").replace(elt,"<").replace(eapos,"'").replace(equot,'"').replace(eamp,"&") - }; - } - - // attribute functions - function getAttr(name){ - for(var i=0; i0){ - return p.childNodes[i-1]; - } - } - } - return null; - } - function next(){ - var p=this.parentNode; - if(p){ - for(var i=0;i0){ - var entity, eRe=[]; - if(reEntity.test(str)){ - reEntity.lastIndex=0; - // match entities - while((entity=reEntity.exec(str))!=null){ - eRe.push({ - entity:"&"+entity[1].replace(trim,"")+";", - expression:entity[2] - }); - } - // replace instances in the document. - for(var i=0; i0) - obj.appendChild(_createTextNode(text)); - }else - - // open tags. - if(res[1].length>0){ - // figure out the type of node. - if(res[1].charAt(0)=="?"){ - // processing instruction - var name=res[1].substr(1); - var target=res[2].substr(0,res[2].length-2); - obj.childNodes.push({ - nodeType:nodeTypes.PROCESSING_INSTRUCTION, - nodeName:name, - nodeValue:target - }); - } - else if(res[1].charAt(0)=="!"){ - // CDATA; skip over any declaration elements. - if(res[1].indexOf("![CDATA[")==0){ - var val=parseInt(res[1].replace("![CDATA[","").replace("]]","")); - obj.childNodes.push({ - nodeType:nodeTypes.CDATA_SECTION, - nodeName:"#cdata-section", - nodeValue:cdSections[val] - }); - } - // Comments. - else if(res[1].substr(0,3)=="!--"){ - var val=parseInt(res[1].replace("!--","").replace("--","")); - obj.childNodes.push({ - nodeType:nodeTypes.COMMENT, - nodeName:"#comment", - nodeValue:comments[val] - }); - } - } - else { - // Elements (with attribute and text) - var name=res[1].replace(trim,""); - var o={ - nodeType:nodeTypes.ELEMENT, - nodeName:name, - localName:name, - namespace:dNs, - ownerDocument:root, - attributes:[], - parentNode:null, - childNodes:[] - }; - - // check to see if it's namespaced. - if(name.indexOf(":")>-1){ - var t=name.split(":"); - o.namespace=t[0]; - o.localName=t[1]; - } - - // set the function references. - o.byName=o.getElementsByTagName=byName; - o.byNameNS=o.getElementsByTagNameNS=byNameNS; - o.childrenByName=childrenByName; - o.getAttribute=getAttr; - o.getAttributeNS=getAttrNS; - o.setAttribute=setAttr; - o.setAttributeNS=setAttrNS; - o.previous=o.previousSibling=prev; - o.next=o.nextSibling=next; - - // parse the attribute string. - var attr; - while((attr=reAttr.exec(res[2]))!=null){ - if(attr.length>0){ - var name=attr[1].replace(trim,""); - var val=attr[2].replace(normalize," ") - .replace(egt,">") - .replace(elt,"<") - .replace(eapos,"'") - .replace(equot,'"') - .replace(eamp,"&"); - if(name.indexOf("xmlns")==0){ - if(name.indexOf(":")>0){ - var ns=name.split(":"); - root.namespaces[ns[1]]=val; - root._nsPaths[val]=ns[1]; - } else { - root.namespaces[dNs]=val; - root._nsPaths[val]=dNs; - } - } else { - var ln=name; - var ns=dNs; - if(name.indexOf(":")>0){ - var t=name.split(":"); - ln=t[1]; - ns=t[0]; - } - o.attributes.push({ - nodeType:nodeTypes.ATTRIBUTE, - nodeName:name, - localName:ln, - namespace:ns, - nodeValue:val - }); - - // only add id as a property. - if(ln=="id"){ o.id=val; } - } - } - } - root._add(o); - - if(obj){ - obj.childNodes.push(o); - o.parentNode=obj; - // if it's not a self-closing node. - if(res[2].charAt(res[2].length-1)!="/"){ - obj=o; - } - } - var text=res[3]; - if(text.length>0){ - obj.childNodes.push(_createTextNode(text)); - } - } - } - } - - // set the document element - for(var i=0; i "); - if(!byId("logBody")){ - _logBacklog.push(msg); - return; - }else if((_logBacklog.length)&&(!skip)){ - var tm; - while(tm=_logBacklog.shift()){ - sendToLogPane(tm, true); - } - } - var tn = document.createElement("div"); - tn.innerHTML = msg; - byId("logBody").appendChild(tn); - } - - doh._init = (function(oi){ - return function(){ - var lb = byId("logBody"); - if(lb){ - // clear the console before each run - while(lb.firstChild){ - lb.removeChild(lb.firstChild); - } - } - oi.apply(doh, arguments); - } - })(doh._init); - - if(this["opera"] && opera.postError){ - doh.debug = function(){ - var msg = ""; - for(var x=0; x 700)){ - _nameTimes[name] = new Date(); - var tc = document.createElement("span"); - byId("hiddenAudio").appendChild(tc); - tc.innerHTML = ''; - } - } - } - - doh._testFinished = function(group, fixture, success){ - var fn = getFixtureNode(group, fixture); - if(fn){ - fn.getElementsByTagName("td")[3].innerHTML = (fixture.endTime-fixture.startTime)+"ms"; - fn.className = (success) ? "success" : "failure"; - - if(!success){ - _playSound("doh"); - var gn = getGroupNode(group); - if(gn){ - gn.className = "failure"; - _getGroupToggler(group)(null, true); - } - } - } - this.debug(((success) ? "PASSED" : "FAILED"), "test:", fixture.name); - } - - // FIXME: move implementation to _browserRunner? - doh.registerUrl = function( /*String*/ group, - /*String*/ url, - /*Integer*/ timeout){ - var tg = new String(group); - this.register(group, { - name: url, - setUp: function(){ - doh.currentGroupName = tg; - doh.currentGroup = this; - doh.currentUrl = url; - this.d = new doh.Deferred(); - doh.currentTestDeferred = this.d; - showTestPage(); - byId("testBody").src = url; - }, - timeout: timeout||10000, // 10s - // timeout: timeout||1000, // 10s - runTest: function(){ - // FIXME: implement calling into the url's groups here!! - return this.d; - }, - tearDown: function(){ - doh.currentGroupName = null; - doh.currentGroup = null; - doh.currentTestDeferred = null; - doh.currentUrl = null; - // this.d.errback(false); - // byId("testBody").src = "about:blank"; - showLogPage(); - } - }); - } - - // - // Utility code for runner.html - // - // var isSafari = navigator.appVersion.indexOf("Safari") >= 0; - var tabzidx = 1; - var _showTab = function(toShow, toHide){ - // FIXME: I don't like hiding things this way. - byId(toHide).style.display = "none"; - with(byId(toShow).style){ - display = ""; - zIndex = ++tabzidx; - } - } - - showTestPage = function(){ - _showTab("testBody", "logBody"); - } - - showLogPage = function(){ - _showTab("logBody", "testBody"); - } - - var runAll = true; - toggleRunAll = function(){ - // would be easier w/ query...sigh - runAll = (!runAll); - if(!byId("testList")){ return; } - var tb = byId("testList").tBodies[0]; - var inputs = tb.getElementsByTagName("input"); - var x=0; var tn; - while(tn=inputs[x++]){ - tn.checked = runAll; - doh._groups[tn.group].skip = (!runAll); - } - } - - var listHeightTimer = null; - var setListHeight = function(){ - if(listHeightTimer){ - clearTimeout(listHeightTimer); - } - var tl = byId("testList"); - if(!tl){ return; } - listHeightTimer = setTimeout(function(){ - tl.style.display = "none"; - tl.style.display = ""; - - }, 10); - } - - _addOnEvt("resize", setListHeight); - _addOnEvt("load", setListHeight); - _addOnEvt("load", function(){ - if(loaded){ return; } - loaded = true; - groupTemplate = byId("groupTemplate"); - if(!groupTemplate){ - // make sure we've got an ammenable DOM structure - return; - } - groupTemplate.parentNode.removeChild(groupTemplate); - groupTemplate.style.display = ""; - testTemplate = byId("testTemplate"); - testTemplate.parentNode.removeChild(testTemplate); - testTemplate.style.display = ""; - doh._updateTestList(); - }); - - _addOnEvt("load", - function(){ - doh._onEnd = function(){ - if(doh._failureCount == 0){ - doh.debug("WOOHOO!!"); - _playSound("woohoo"); - }else{ - console.debug("doh._failureCount:", doh._failureCount); - } - if(byId("play")){ - toggleRunning(); - } - } - if(!byId("play")){ - // make sure we've got an ammenable DOM structure - return; - } - var isRunning = false; - var toggleRunning = function(){ - // ugg, this would be so much better w/ dojo.query() - if(isRunning){ - byId("play").style.display = byId("pausedMsg").style.display = ""; - byId("playingMsg").style.display = byId("pause").style.display = "none"; - isRunning = false; - }else{ - byId("play").style.display = byId("pausedMsg").style.display = "none"; - byId("playingMsg").style.display = byId("pause").style.display = ""; - isRunning = true; - } - } - doh.run = (function(oldRun){ - return function(){ - if(!doh._currentGroup){ - toggleRunning(); - } - return oldRun.apply(doh, arguments); - } - })(doh.run); - var btns = byId("toggleButtons").getElementsByTagName("span"); - var node; var idx=0; - while(node=btns[idx++]){ - node.onclick = toggleRunning; - } - } - ); - }else{ - // we're in an iframe environment. Time to mix it up a bit. - - _doh = window.parent.doh; - var _thisGroup = _doh.currentGroupName; - var _thisUrl = _doh.currentUrl; - if(_thisGroup){ - doh._testRegistered = function(group, tObj){ - _doh._updateTestList(_thisGroup, tObj); - } - doh._onEnd = function(){ - _doh._errorCount += doh._errorCount; - _doh._failureCount += doh._failureCount; - _doh._testCount += doh._testCount; - // should we be really adding raw group counts? - _doh._groupCount += doh._groupCount; - _doh.currentTestDeferred.callback(true); - } - var otr = doh._getTestObj; - doh._getTestObj = function(){ - var tObj = otr.apply(doh, arguments); - tObj.name = _thisUrl+"::"+arguments[0]+"::"+tObj.name; - return tObj; - } - doh.debug = doh.hitch(_doh, "debug"); - doh.registerUrl = doh.hitch(_doh, "registerUrl"); - doh._testStarted = function(group, fixture){ - _doh._testStarted(_thisGroup, fixture); - } - doh._testFinished = function(g, f, s){ - _doh._testFinished(_thisGroup, f, s); - } - doh._report = function(){}; - } - } - -})(); diff --git a/includes/js/util/doh/_rhinoRunner.js b/includes/js/util/doh/_rhinoRunner.js deleted file mode 100644 index ae47597..0000000 --- a/includes/js/util/doh/_rhinoRunner.js +++ /dev/null @@ -1,17 +0,0 @@ -if(this["dojo"]){ - dojo.provide("doh._rhinoRunner"); -} - -doh.debug = print; - -// Override the doh._report method to make it quit with an -// appropriate exit code in case of test failures. -(function(){ - var oldReport = doh._report; - doh._report = function(){ - oldReport.apply(doh, arguments); - if(this._failureCount > 0 || this._errorCount > 0){ - quit(1); - } - } -})(); diff --git a/includes/js/util/doh/_sounds/LICENSE b/includes/js/util/doh/_sounds/LICENSE deleted file mode 100644 index e8e11d4..0000000 --- a/includes/js/util/doh/_sounds/LICENSE +++ /dev/null @@ -1,10 +0,0 @@ -License Disclaimer: - -All contents of this directory are Copyright (c) the Dojo Foundation, with the -following exceptions: -------------------------------------------------------------------------------- - -woohoo.wav, doh.wav, dohaaa.wav: - * Copyright original authors. - Copied from: - http://simpson-homer.com/homer-simpson-soundboard.html diff --git a/includes/js/util/doh/_sounds/doh.wav b/includes/js/util/doh/_sounds/doh.wav deleted file mode 100644 index 5e8a583..0000000 Binary files a/includes/js/util/doh/_sounds/doh.wav and /dev/null differ diff --git a/includes/js/util/doh/_sounds/dohaaa.wav b/includes/js/util/doh/_sounds/dohaaa.wav deleted file mode 100644 index 2220921..0000000 Binary files a/includes/js/util/doh/_sounds/dohaaa.wav and /dev/null differ diff --git a/includes/js/util/doh/_sounds/woohoo.wav b/includes/js/util/doh/_sounds/woohoo.wav deleted file mode 100644 index eb69217..0000000 Binary files a/includes/js/util/doh/_sounds/woohoo.wav and /dev/null differ diff --git a/includes/js/util/doh/runner.html b/includes/js/util/doh/runner.html deleted file mode 100644 index dbcd68c..0000000 --- a/includes/js/util/doh/runner.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - The Dojo Unit Test Harness, $Rev$ - - - - - - - - - - - - - - - - - - -
                              -

                              D.O.H.: The Dojo Objective Harness

                              - - - - - -
                              - - - - - - Stopped - - - - - -
                              -
                              - - - - - - - - - - - - - - - - - - - - - - - -
                                - - testtime
                              -
                              -
                              -
                              -
                              -
                              
                              -						
                              - - -
                              -
                              - - - - diff --git a/includes/js/util/doh/runner.js b/includes/js/util/doh/runner.js deleted file mode 100644 index f5e47e1..0000000 --- a/includes/js/util/doh/runner.js +++ /dev/null @@ -1,948 +0,0 @@ -// FIXME: need to add async tests -// FIXME: need to handle URL wrapping and test registration/running from URLs - -// package system gunk. -try{ - dojo.provide("doh.runner"); -}catch(e){ - if(!this["doh"]){ - doh = {}; - } -} - -// -// Utility Functions and Classes -// - -doh.selfTest = false; - -doh.hitch = function(/*Object*/thisObject, /*Function|String*/method /*, ...*/){ - var args = []; - for(var x=2; x= 0)) { - this._fire(); - } - }, - - _continue: function(res){ - this._resback(res); - this._unpause(); - }, - - _resback: function(res){ - this.fired = ((res instanceof Error) ? 1 : 0); - this.results[this.fired] = res; - this._fire(); - }, - - _check: function(){ - if(this.fired != -1){ - if(!this.silentlyCancelled){ - throw new Error("already called!"); - } - this.silentlyCancelled = false; - return; - } - }, - - callback: function(res){ - this._check(); - this._resback(res); - }, - - errback: function(res){ - this._check(); - if(!(res instanceof Error)){ - res = new Error(res); - } - this._resback(res); - }, - - addBoth: function(cb, cbfn){ - var enclosed = this.getFunctionFromArgs(cb, cbfn); - if(arguments.length > 2){ - enclosed = doh.hitch(null, enclosed, arguments, 2); - } - return this.addCallbacks(enclosed, enclosed); - }, - - addCallback: function(cb, cbfn){ - var enclosed = this.getFunctionFromArgs(cb, cbfn); - if(arguments.length > 2){ - enclosed = doh.hitch(null, enclosed, arguments, 2); - } - return this.addCallbacks(enclosed, null); - }, - - addErrback: function(cb, cbfn){ - var enclosed = this.getFunctionFromArgs(cb, cbfn); - if(arguments.length > 2){ - enclosed = doh.hitch(null, enclosed, arguments, 2); - } - return this.addCallbacks(null, enclosed); - }, - - addCallbacks: function(cb, eb){ - this.chain.push([cb, eb]) - if(this.fired >= 0){ - this._fire(); - } - return this; - }, - - _fire: function(){ - var chain = this.chain; - var fired = this.fired; - var res = this.results[fired]; - var self = this; - var cb = null; - while (chain.length > 0 && this.paused == 0){ - // Array - var pair = chain.shift(); - var f = pair[fired]; - if(f == null){ - continue; - } - try { - res = f(res); - fired = ((res instanceof Error) ? 1 : 0); - if(res instanceof doh.Deferred){ - cb = function(res){ - self._continue(res); - } - this._pause(); - } - }catch(err){ - fired = 1; - res = err; - } - } - this.fired = fired; - this.results[fired] = res; - if((cb)&&(this.paused)){ - res.addBoth(cb); - } - } -}); - -// -// State Keeping and Reporting -// - -doh._testCount = 0; -doh._groupCount = 0; -doh._errorCount = 0; -doh._failureCount = 0; -doh._currentGroup = null; -doh._currentTest = null; -doh._paused = true; - -doh._init = function(){ - this._currentGroup = null; - this._currentTest = null; - this._errorCount = 0; - this._failureCount = 0; - this.debug(this._testCount, "tests to run in", this._groupCount, "groups"); -} - -// doh._urls = []; -doh._groups = {}; - -// -// Test Registration -// - -doh.registerTestNs = function(/*String*/ group, /*Object*/ ns){ - // summary: - // adds the passed namespace object to the list of objects to be - // searched for test groups. Only "public" functions (not prefixed - // with "_") will be added as tests to be run. If you'd like to use - // fixtures (setUp(), tearDown(), and runTest()), please use - // registerTest() or registerTests(). - for(var x in ns){ - if( (x.charAt(0) != "_") && - (typeof ns[x] == "function") ){ - this.registerTest(group, ns[x]); - } - } -} - -doh._testRegistered = function(group, fixture){ - // slot to be filled in -} - -doh._groupStarted = function(group){ - // slot to be filled in -} - -doh._groupFinished = function(group, success){ - // slot to be filled in -} - -doh._testStarted = function(group, fixture){ - // slot to be filled in -} - -doh._testFinished = function(group, fixture, success){ - // slot to be filled in -} - -doh.registerGroup = function( /*String*/ group, - /*Array||Function||Object*/ tests, - /*Function*/ setUp, - /*Function*/ tearDown){ - // summary: - // registers an entire group of tests at once and provides a setUp and - // tearDown facility for groups. If you call this method with only - // setUp and tearDown parameters, they will replace previously - // installed setUp or tearDown functions for the group with the new - // methods. - // group: - // string name of the group - // tests: - // either a function or an object or an array of functions/objects. If - // an object, it must contain at *least* a "runTest" method, and may - // also contain "setUp" and "tearDown" methods. These will be invoked - // on either side of the "runTest" method (respectively) when the test - // is run. If an array, it must contain objects matching the above - // description or test functions. - // setUp: a function for initializing the test group - // tearDown: a function for initializing the test group - if(tests){ - this.register(group, tests); - } - if(setUp){ - this._groups[group].setUp = setUp; - } - if(tearDown){ - this._groups[group].tearDown = tearDown; - } -} - -doh._getTestObj = function(group, test){ - var tObj = test; - if(typeof test == "string"){ - if(test.substr(0, 4)=="url:"){ - return this.registerUrl(group, test); - }else{ - tObj = { - name: test.replace("/\s/g", "_") - }; - tObj.runTest = new Function("t", test); - } - }else if(typeof test == "function"){ - // if we didn't get a fixture, wrap the function - tObj = { "runTest": test }; - if(test["name"]){ - tObj.name = test.name; - }else{ - try{ - var fStr = "function "; - var ts = tObj.runTest+""; - if(0 <= ts.indexOf(fStr)){ - tObj.name = ts.split(fStr)[1].split("(", 1)[0]; - } - // doh.debug(tObj.runTest.toSource()); - }catch(e){ - } - } - // FIXME: try harder to get the test name here - } - return tObj; -} - -doh.registerTest = function(/*String*/ group, /*Function||Object*/ test){ - // summary: - // add the provided test function or fixture object to the specified - // test group. - // group: - // string name of the group to add the test to - // test: - // either a function or an object. If an object, it must contain at - // *least* a "runTest" method, and may also contain "setUp" and - // "tearDown" methods. These will be invoked on either side of the - // "runTest" method (respectively) when the test is run. - if(!this._groups[group]){ - this._groupCount++; - this._groups[group] = []; - this._groups[group].inFlight = 0; - } - var tObj = this._getTestObj(group, test); - if(!tObj){ return; } - this._groups[group].push(tObj); - this._testCount++; - this._testRegistered(group, tObj); - return tObj; -} - -doh.registerTests = function(/*String*/ group, /*Array*/ testArr){ - // summary: - // registers a group of tests, treating each element of testArr as - // though it were being (along with group) passed to the registerTest - // method. - for(var x=0; x 1) ? "s" : "")+" to run"); -} - -doh._handleFailure = function(groupName, fixture, e){ - // this.debug("FAILED test:", fixture.name); - // mostly borrowed from JUM - this._groups[groupName].failures++; - var out = ""; - if(e instanceof this._AssertFailure){ - this._failureCount++; - if(e["fileName"]){ out += e.fileName + ':'; } - if(e["lineNumber"]){ out += e.lineNumber + ' '; } - out += e+": "+e.message; - this.debug("\t_AssertFailure:", out); - }else{ - this._errorCount++; - } - this.debug(e); - if(fixture.runTest["toSource"]){ - var ss = fixture.runTest.toSource(); - this.debug("\tERROR IN:\n\t\t", ss); - }else{ - this.debug("\tERROR IN:\n\t\t", fixture.runTest); - } - - if(e.rhinoException){ - e.rhinoException.printStackTrace(); - }else if(e.javaException){ - e.javaException.printStackTrace(); - } -} - -try{ - setTimeout(function(){}, 0); -}catch(e){ - setTimeout = function(func){ - return func(); - } -} - -doh._runFixture = function(groupName, fixture){ - var tg = this._groups[groupName]; - this._testStarted(groupName, fixture); - var threw = false; - var err = null; - // run it, catching exceptions and reporting them - try{ - // let doh reference "this.group.thinger..." which can be set by - // another test or group-level setUp function - fixture.group = tg; - // only execute the parts of the fixture we've got - if(fixture["setUp"]){ fixture.setUp(this); } - if(fixture["runTest"]){ // should we error out of a fixture doesn't have a runTest? - fixture.startTime = new Date(); - var ret = fixture.runTest(this); - fixture.endTime = new Date(); - // if we get a deferred back from the test runner, we know we're - // gonna wait for an async result. It's up to the test code to trap - // errors and give us an errback or callback. - if(ret instanceof doh.Deferred){ - - tg.inFlight++; - ret.groupName = groupName; - ret.fixture = fixture; - - ret.addErrback(function(err){ - doh._handleFailure(groupName, fixture, err); - }); - - var retEnd = function(){ - if(fixture["tearDown"]){ fixture.tearDown(doh); } - tg.inFlight--; - if((!tg.inFlight)&&(tg.iterated)){ - doh._groupFinished(groupName, (!tg.failures)); - } - doh._testFinished(groupName, fixture, ret.results[0]); - if(doh._paused){ - doh.run(); - } - } - - var timer = setTimeout(function(){ - // ret.cancel(); - // retEnd(); - ret.errback(new Error("test timeout in "+fixture.name.toString())); - }, fixture["timeout"]||1000); - - ret.addBoth(function(arg){ - clearTimeout(timer); - retEnd(); - }); - if(ret.fired < 0){ - doh.pause(); - } - return ret; - } - } - if(fixture["tearDown"]){ fixture.tearDown(this); } - }catch(e){ - threw = true; - err = e; - if(!fixture.endTime){ - fixture.endTime = new Date(); - } - } - var d = new doh.Deferred(); - setTimeout(this.hitch(this, function(){ - if(threw){ - this._handleFailure(groupName, fixture, err); - } - this._testFinished(groupName, fixture, (!threw)); - - if((!tg.inFlight)&&(tg.iterated)){ - doh._groupFinished(groupName, (!tg.failures)); - }else if(tg.inFlight > 0){ - setTimeout(this.hitch(this, function(){ - doh.runGroup(groupName); // , idx); - }), 100); - this._paused = true; - } - if(doh._paused){ - doh.run(); - } - }), 30); - doh.pause(); - return d; -} - -doh._testId = 0; -doh.runGroup = function(/*String*/ groupName, /*Integer*/ idx){ - // summary: - // runs the specified test group - - // the general structure of the algorithm is to run through the group's - // list of doh, checking before and after each of them to see if we're in - // a paused state. This can be caused by the test returning a deferred or - // the user hitting the pause button. In either case, we want to halt - // execution of the test until something external to us restarts it. This - // means we need to pickle off enough state to pick up where we left off. - - // FIXME: need to make fixture execution async!! - - var tg = this._groups[groupName]; - if(tg.skip === true){ return; } - if(this._isArray(tg)){ - if(idx<=tg.length){ - if((!tg.inFlight)&&(tg.iterated == true)){ - if(tg["tearDown"]){ tg.tearDown(this); } - doh._groupFinished(groupName, (!tg.failures)); - return; - } - } - if(!idx){ - tg.inFlight = 0; - tg.iterated = false; - tg.failures = 0; - } - doh._groupStarted(groupName); - if(!idx){ - this._setupGroupForRun(groupName, idx); - if(tg["setUp"]){ tg.setUp(this); } - } - for(var y=(idx||0); y