diff --git a/404.html b/404.html new file mode 100644 index 0000000..9d8a78e --- /dev/null +++ b/404.html @@ -0,0 +1,44 @@ + + +
Sorry, but the page you were trying to view does not exist.
It looks like this was the result of either:
+ // | ... + // | ... + // | + // |
hi
This file is used in Dojo's back/fwd button management.
+ * // 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); + *
+{ + /* global application dependencies */ + "dependencies": [ + "dojox/mobile/Heading", + "dojo/mobile/RoundRect", + "my/custom/module" + ], + + /* Application Modules. These are implicitly added to the above set of dependencies */ + modules: [ + "dojox/app/module/history", + "my/custom/appModule" + ], + + /* The html template for the application itself */ + template: "example.html", + + /* the view to start on by default */ + "defaultView": "home", + + /* transition to use if none has been provided */ + "defaultTransition": "slide", + + /* Views and Scenes */ + "views": { + + /* home is a top level dojox.app.view */ + "home": { + + /* class to instantiate this view as */ + "type": "dojox.app.view", + + /* dependencies specific to this view */ + "dependencies: [ + "dojox/mobile/ListItem", + "dojox/mobile/EdgeToEdgeCategory" + ], + + /* template to use for this view */ + template: "views/home.html" + }, + + /* tabscene is a dojox.app.scene, and it contains three child views */ + + "tabscene": { + /* class to instantiate, a scene in this case */ + "type": "dojox.app.scene", + + /* the scene's template */ + "template": "tabScene.html", + + /* the default view within this scene */ + "defaultView": "tab1", + + /* when transitioning between tabs, use a flip animation by default */ + "defaultTransition": "flip", + + //the views available to this scene + "views": { + "tab1":{ + "template": "views/tabs/tab1.html" + }, + "tab2":{ + "template": "views/tabs/tab2.html" + }, + "tab3":{ + "template": "views/tabs/tab3.html" + } + }, + + /* dependencies specific to this scene */ + "dependencies":["dojox/mobile/RoundRectList","dojox/mobile/ListItem", "dojox/mobile/EdgeToEdgeCategory"], + } + + } +} + +
+ require(["dojo/_base/html","dojox/app/main", "dojo/text!app/config.json"],function(dojo,Application,config){ + app = Application(json.parse(config)); + }); +
+ + Tab Scene + + Tab 1 + Tab 2 + Tab 3 + + +
{ext:{timesync:{tc:12345567890,l:23,o:4567},...},...}
+ * A cometd server that supports timesync, should respond only if the + * measured accuracy value is greater than accuracy target. The response + * will be an ext field like: {ext:{timesync:{tc:12345567890,ts:1234567900,p:123,a:3},...},...} + * where:
{ext:{timesync:{tc:12345567890,ts:1234567900,p:123,a:3},...},...}
"+_5+"
and s + var output = []; + var dh = dd.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 + "
tags. Also fixes indent/outdent of lists to work properly. This is new + and has been tested, but not extensively. Therefore it is currently classed as experimental. + +dojox.editor.plugins.Breadcrumb: + Status: Experimental (unsupported). + A plugin that adds a breadcrumb toolbar to the bottom of the editor. Useful for seeing + where you aren and what operations you can perform. This is new and has been tested, but not + extensively. Therefore it is currently classed as experimental. + +dojox.editor.plugins.FindReplace: + Status: Experimental (unsupported). + A plugin that adds a togglable Find/Replace toolbar to the editor. Useful for searching + and replacing text strings in the editor content. Only works on FF, IE, and WebKit. No Opera + support. This is new and has been tested, but not extensively. Therefore it is currently + classed as experimental. + +dojox.editor.plugins.CollapsibleToolbar: + Status: Supported (Stable). + A plugin that modified the header node of the editor so that it is 'collapsible'. Meaning that + it can be closed (reduced), and reopened. Useful for increasing editor real-estate. + +dojox.editor.plugins.Blockquote: + Status: Supported (Stable). + A plugin that puts a button on the toolbar that allows users to select text for a semantic + 'blockquote' tag-wrap action. It toggles on and off during state changes to determine if + the current section is contained within a blockquote. + +dojox.editor.plugins.PasteFromWord: + Status: Beta (unsupported). + A plugin that puts a button that opens a dialog to paste in content from Word and similar + programs like wordpad. It will then filter out extraneous and bad html from the content + before injecting it into the RTE. Experimental as the filter list may not be complete yet. + Feedback is welcome and appreciated. Filters will be updated based on it. + +dojox.editor.plugins.InsertAnchor: + Status: Stable (supported). + A plugin that allows anchor points to be inserted into the document being edited. + The anchors are styled in the doc to make them easily visible/editable in the document. + +dojox.editor.plugins.TextColor: + Status: Experimental (unsupported). + A plugin that makes use of the dojox.widget.ColorPicker widget in lieu of the + dijit.ColorPalette. + +dojox.editor.plugins.NormalizeStyle: + Status: Experimental (unsupported). + A plugin that tries to normalize the output from the editor as either CSS styled or semantic (, , etc) + style. + +dojox.editor.plugins.StatusBar: + Status: Experimental (unsupported). + A plugin that adds a status bar and an optional resize handle to the footer of the editor. + +dojox.editor.plugins.LocalImage + Status: Beta + A plugin that adds local image upload and edit capability to the editor. + +dojox.editor.plugins.AutoUrlLink + Status: Experimental (Unsupported) + A plugin that adds auto url link creation capability as a headless plugin to the editor + +dojox.editor.plugins.ResizeColumnPlugin + Status: Experimental (Unsupported) + A plugin that adds column resize to the editor table plugins. + +dojox.editor.plugins.AutoSave + Status: Experimental (Unsupported) + A plugin that provides 'auto-save' capablity, eg, post back to some url at an interval. + +dojox.editor.plugins.SpellCheck + Status: Experimental (Unsupported) + A plugin that provides server-side spell-check support. + + +dojox.editor.plugins.SafePaste + Status: Beta (Supported) + A plugin that provides a safer paste function to the editor. It strips out script tags, + tries to fix up odd input from Word, Wordpad, etc. Very similar to PasteFromWord except that + it takes complete control of paste in dijit.Editor instead of being an alternate paste icon. + +------------------------------------------------------------------------------- +Dependencies: + +dijit +dojox.form +dojox.html.format +dojox.widget.ColorPicker +dojox.layout.ResizeHandle + +------------------------------------------------------------------------------- +Documentation + +The plugins directory contains extensions which work with dijit.Editor. + +See also: + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/TablePlugins.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/PrettyPrint.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/PageBreak.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/ShowBlockNodes.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/Preview.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/Save.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/ToolbarLineBreak.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/InsertEntity.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/NormalizeIndentOutdent.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/Breadcrumb.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/FindReplace.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/CollapsibleToolbar.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/Blockquote.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/PasteFromWord.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/InsertAnchor.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/TextColor.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/NormalizeStyle.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/StatusBar.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/LocalImage.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/AutoUrlLink.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/ResizeTableColumn.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/AutoSave.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/SpellCheck.html + http://dojotoolkit.org/reference-guide/dojox/editor/plugins/SafePaste.html +.html + +------------------------------------------------------------------------------- +Plugin Installation instructions + +Get dojo and dijit from svn. Include the Editor and plugins in your page: + +dojo.require("dijit.Editor"); + +For the TablePlugins: + dojo.require("dojox.editor.plugins.TablePlugins"); + and CSS: + + +For the UploadImage plugin: + dojo.require("dojox.editor.plugins.UploadImage"); + and CSS: + + + +For the PrettyPrint plugin: + dojo.require("dojox.editor.plugins.PrettyPrint"); + and CSS: + No CSS required. + +For the PageBreak plugin: + dojo.require("dojox.editor.plugins.PageBreak"); + and CSS: + + +For the ShowBlockNodes plugin: + dojo.require("dojox.editor.plugins.ShowBockNodes"); + and CSS: + + +For the Preview plugin: + dojo.require("dojox.editor.plugins.Preview"); + and CSS: + + +For the Save plugin: + dojo.require("dojox.editor.plugins.Save"); + and CSS: + + +For the ToolbarLineBreak plugin: + dojo.require("dojox.editor.plugins.ToolbarLineBreak"); + and CSS: + No CSS required. + +For the InsertEntity plugin: + dojo.require("dojox.editor.plugins.InsertEntity"); + and CSS: + + +For the NormalizeIndentOutdent plugin: + dojo.require("dojox.editor.plugins.NormalizeIndentOutdent"); + and CSS: + No CSS required. + +For the Breadcrumb plugin: + dojo.require("dojox.editor.plugins.Breadcrumb"); + and CSS: + + +For the FindReplace plugin: + dojo.require("dojox.editor.plugins.FindReplace"); + and CSS: + + +For the CollapsibleToolbar plugin: + dojo.require("dojox.editor.plugins.CollapsibleToolbar"); + and CSS: + + +For the Blockquote plugin: + dojo.require("dojox.editor.plugins.Blockquote"); + and CSS: + + +For the PasteFromWord plugin: + dojo.require("dojox.editor.plugins.PasteFromWord"); + and CSS: + + +For the InsertAnchor plugin: + dojo.require("dojox.editor.plugins.InsertAnchor"); + and CSS: + + +For the TextColor plugin: + dojo.require("dojox.editor.plugins.TextColor"); + and CSS: + + +For the NormalizeStyle plugin: + dojo.require("dojox.editor.plugins.NormalizeStyle"); + and CSS: + No CSS required. + +For the StatusBar plugin: + dojo.require("dojox.editor.plugins.StatusBar"); + and CSS: + + +For the LocalImage plugin: + dojo.require("dojox.editor.plugins.LocalImage"); + and CSS: + + +For the AutoUrlLink plugin: + dojo.require("dojox.editor.plugins.AutoUrlLink"); + and CSS: + No CSS required. + +For the ResizeTableColumn plugin: + dojo.require("dojox.editor.plugins.ResizeTableColumn"); + and CSS: + No CSS required in addition to the table plugins css. + +For the AutoSave plugin: + dojo.require("dojox.editor.plugins.AutoSave"); + and CSS: + + +For the SpellCheck plugin: + dojo.require("dojox.editor.plugins.SpellCheck"); + and CSS: + + +For the SafePaste plugin: + dojo.require("dojox.editor.plugins.SafePaste"); + and CSS: + + +See tests for examples: + dojox/editor/tests/editorTablePlugs.html + dojox/editor/tests/editorUploadPlug.html + dojox/editor/tests/editorPrettyPrint.html + dojox/editor/tests/editorPageBreak.html + dojox/editor/tests/editorShowBlockNodes.html + dojox/editor/tests/editorPreview.html + dojox/editor/tests/editorSave.html + dojox/editor/tests/editorToolbarLineBreak.html + dojox/editor/tests/editorInsertEntity.html + dojox/editor/tests/editorNormalizeIndentOutdent.html + dojox/editor/tests/editorBreadcrumb.html + dojox/editor/tests/editorFindReplace.html + dojox/editor/tests/editorCollapsibleToolbar.html + dojox/editor/tests/editorBlockquote.html + dojox/editor/tests/editorPasteFromWord.html + dojox/editor/tests/editorInsertAnchor.html + dojox/editor/tests/editorTextColor.html + dojox/editor/tests/editorNormalizeStyle.html + dojox/editor/tests/editorStatusBar.html + dojox/editor/tests/editorLocalImage.html + dojox/editor/tests/editorAutoUrlLink.html + dojox/editor/tests/editorResizeTableColumn.html + dojox/editor/tests/editorAutoSave.html + dojox/editor/tests/editorSpellCheck.html + dojox/editor/tests/editorSafePaste.html + dojox/editor/tests/testPluginsAll.html diff --git a/js/libs/dojox/editor/plugins/AutoSave.js b/js/libs/dojox/editor/plugins/AutoSave.js new file mode 100644 index 0000000..82c3514 --- /dev/null +++ b/js/libs/dojox/editor/plugins/AutoSave.js @@ -0,0 +1,151 @@ +//>>built +define("dojox/editor/plugins/AutoSave",["dojo","dijit","dojox","dijit/_base/manager","dijit/_base/popup","dijit/_Widget","dijit/_TemplatedMixin","dijit/_WidgetsInTemplateMixin","dijit/Dialog","dijit/MenuItem","dijit/Menu","dijit/form/Button","dijit/form/ComboButton","dijit/form/ComboBox","dijit/form/_TextBoxMixin","dijit/form/TextBox","dijit/TooltipDialog","dijit/_editor/_Plugin","dojo/_base/connect","dojo/_base/declare","dojo/date/locale","dojo/i18n","dojo/string","dojox/editor/plugins/Save","dojo/i18n!dojox/editor/plugins/nls/AutoSave"],function(_1,_2,_3){ +_1.experimental("dojox.editor.plugins.AutoSave"); +_1.declare("dojox.editor.plugins._AutoSaveSettingDialog",[_2._Widget,_2._TemplatedMixin,_2._WidgetsInTemplateMixin],{dialogTitle:"",dialogDescription:"",paramName:"",paramLabel:"",btnOk:"",btnCancel:"",widgetsInTemplate:true,templateString:""+"