Changeset 999
- Timestamp:
- 05/01/08 16:21:20 (5 years ago)
- Location:
- trunk
- Files:
-
- 81 modified
-
XinhaCore.js (modified) (23 diffs)
-
examples/ExtendedDemo.html (modified) (1 diff)
-
examples/Newbie.html (modified) (1 diff)
-
examples/XinhaConfig.js (modified) (1 diff)
-
examples/files/custom.css (modified) (1 diff)
-
examples/files/dynamic.css (modified) (1 diff)
-
examples/files/ext_example-body.html (modified) (1 diff)
-
examples/files/ext_example-menu.php (modified) (1 diff)
-
examples/files/full_example.css (modified) (1 diff)
-
examples/files/stylist.css (modified) (1 diff)
-
examples/testbed.html (modified) (1 diff)
-
htmlarea.js (modified) (1 diff)
-
modules/CreateLink/link.js (modified) (1 diff)
-
modules/Dialogs/dialog.js (modified) (1 diff)
-
modules/Dialogs/inline-dialog.js (modified) (1 diff)
-
modules/Gecko/Gecko.js (modified) (2 diffs)
-
modules/GetHtml/DOMwalk.js (modified) (2 diffs)
-
modules/InsertImage/insert_image.js (modified) (1 diff)
-
modules/InternetExplorer/InternetExplorer.js (modified) (2 diffs)
-
modules/Opera/Opera.js (modified) (2 diffs)
-
modules/WebKit/WebKit.js (modified) (2 diffs)
-
plugins/Abbreviation/abbreviation.js (modified) (1 diff)
-
plugins/BackgroundImage/popups/bgimage.html (modified) (2 diffs)
-
plugins/CSS/css.js (modified) (1 diff)
-
plugins/ContextMenu/context-menu.js (modified) (2 diffs)
-
plugins/DefinitionList/definition-list.js (modified) (1 diff)
-
plugins/Equation/equation.js (modified) (2 diffs)
-
plugins/ExtendedFileManager/Classes/ExtendedFileManager.php (modified) (1 diff)
-
plugins/ExtendedFileManager/assets/dialog.js (modified) (1 diff)
-
plugins/ExtendedFileManager/assets/images.js (modified) (1 diff)
-
plugins/ExtendedFileManager/assets/manager.js (modified) (2 diffs)
-
plugins/ExtendedFileManager/assets/popup.js (modified) (1 diff)
-
plugins/ExtendedFileManager/extended-file-manager.js (modified) (2 diffs)
-
plugins/ExtendedFileManager/resizer.php (modified) (1 diff)
-
plugins/Filter/filter.js (modified) (1 diff)
-
plugins/FormOperations/form-operations.js (modified) (4 diffs)
-
plugins/Forms/forms.js (modified) (1 diff)
-
plugins/FullPage/full-page.js (modified) (1 diff)
-
plugins/HtmlEntities/html-entities.js (modified) (1 diff)
-
plugins/HtmlTidy/html-tidy.js (modified) (1 diff)
-
plugins/ImageManager/Classes/Files.php (modified) (2 diffs)
-
plugins/ImageManager/Classes/GD.php (modified) (1 diff)
-
plugins/ImageManager/Classes/IM.php (modified) (1 diff)
-
plugins/ImageManager/Classes/ImageEditor.php (modified) (2 diffs)
-
plugins/ImageManager/Classes/ImageManager.php (modified) (2 diffs)
-
plugins/ImageManager/Classes/NetPBM.php (modified) (1 diff)
-
plugins/ImageManager/Classes/Thumbnail.php (modified) (2 diffs)
-
plugins/ImageManager/Classes/Transform.php (modified) (1 diff)
-
plugins/ImageManager/assets/dialog.js (modified) (1 diff)
-
plugins/ImageManager/assets/editor.js (modified) (1 diff)
-
plugins/ImageManager/assets/editorFrame.js (modified) (1 diff)
-
plugins/ImageManager/assets/images.js (modified) (1 diff)
-
plugins/ImageManager/assets/manager.js (modified) (1 diff)
-
plugins/ImageManager/assets/popup.js (modified) (1 diff)
-
plugins/ImageManager/config.inc.php (modified) (1 diff)
-
plugins/ImageManager/editor.php (modified) (1 diff)
-
plugins/ImageManager/editorFrame.php (modified) (1 diff)
-
plugins/ImageManager/image-manager.js (modified) (2 diffs)
-
plugins/ImageManager/images.php (modified) (1 diff)
-
plugins/ImageManager/manager.php (modified) (1 diff)
-
plugins/ImageManager/resizer.php (modified) (1 diff)
-
plugins/ImageManager/thumbs.php (modified) (1 diff)
-
plugins/InsertAnchor/insert-anchor.js (modified) (2 diffs)
-
plugins/InsertPicture/insert-picture.js (modified) (1 diff)
-
plugins/InsertSmiley/popups/insertsmiley.html (modified) (1 diff)
-
plugins/InsertSnippet/insert-snippet.js (modified) (1 diff)
-
plugins/LangMarks/lang-marks.js (modified) (1 diff)
-
plugins/Linker/linker.js (modified) (4 diffs)
-
plugins/PasteText/paste-text.js (modified) (1 diff)
-
plugins/PreserveScripts/preserve-scripts.js (modified) (2 diffs)
-
plugins/SaveSubmit/save-submit.js (modified) (1 diff)
-
plugins/SetId/set-id.js (modified) (1 diff)
-
plugins/SmartReplace/smart-replace.js (modified) (3 diffs)
-
plugins/SpellChecker/spell-check-logic.cgi (modified) (1 diff)
-
plugins/SpellChecker/spell-check-ui.html (modified) (1 diff)
-
plugins/SpellChecker/spell-check-ui.js (modified) (3 diffs)
-
plugins/SpellChecker/spell-checker.js (modified) (2 diffs)
-
plugins/SuperClean/super-clean.js (modified) (3 diffs)
-
plugins/TableOperations/table-operations.js (modified) (1 diff)
-
plugins/Template/template.js (modified) (1 diff)
-
popups/popup.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r998 r999 27 27 -- included in the top 10 lines of the file (see the embedded edit mode) 28 28 -- 29 -- $HeadURL $30 -- $LastChangedDate $31 -- $LastChangedRevision $32 -- $LastChangedBy $29 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/XinhaCore.js $ 30 -- $LastChangedDate:2008-05-01 14:33:36 +0200 (Do, 01 Mai 2008) $ 31 -- $LastChangedRevision:998M $ 32 -- $LastChangedBy:(local) $ 33 33 --------------------------------------------------------------------------*/ 34 34 … … 36 36 { 37 37 'Release' : 'Trunk', 38 'Head' : '$HeadURL $'.replace(/^[^:]*: (.*) \$$/, '$1'),39 'Date' : '$LastChangedDate $'.replace(/^[^:]*: ([0-9-]*) ([0-9:]*) ([+0-9]*) \((.*)\) \$/, '$4 $2 $3'),40 'Revision' : '$LastChangedRevision $'.replace(/^[^:]*: (.*) \$$/, '$1'),41 'RevisionBy': '$LastChangedBy $'.replace(/^[^:]*: (.*) \$$/, '$1')38 'Head' : '$HeadURL:http://svn.xinha.webfactional.com/trunk/XinhaCore.js $'.replace(/^[^:]*: (.*) \$$/, '$1'), 39 'Date' : '$LastChangedDate:2008-05-01 14:33:36 +0200 (Do, 01 Mai 2008) $'.replace(/^[^:]*: ([0-9-]*) ([0-9:]*) ([+0-9]*) \((.*)\) \$/, '$4 $2 $3'), 40 'Revision' : '$LastChangedRevision:998M $'.replace(/^[^:]*: (.*) \$$/, '$1'), 41 'RevisionBy': '$LastChangedBy:(local) $'.replace(/^[^:]*: (.*) \$$/, '$1') 42 42 }; 43 43 … … 208 208 209 209 /** Creates a new Xinha object 210 * @version $Rev $ $LastChangedDate$210 * @version $Rev:998M $ $LastChangedDate:2008-05-01 14:33:36 +0200 (Do, 01 Mai 2008) $ 211 211 * @constructor 212 212 * @param {String|DomNode} textarea the textarea to replace; can be either only the id or the DOM object as returned by document.getElementById() … … 470 470 * This class creates an object that can be passed to the Xinha constructor as a parameter. 471 471 * Set the object's properties as you need to configure the editor (toolbar etc.) 472 * @version $Rev $ $LastChangedDate$472 * @version $Rev:998M $ $LastChangedDate:2008-05-01 14:33:36 +0200 (Do, 01 Mai 2008) $ 473 473 * @constructor 474 474 */ … … 2060 2060 { 2061 2061 url = _editor_url + 'modules/InternetExplorer/InternetExplorer.js'; 2062 if ( !Xinha.loadPlugins([ "InternetExplorer"], function() { editor.generate(); }, url) )2062 if ( !Xinha.loadPlugins([{plugin:"InternetExplorer",url:url}], function() { editor.generate(); } ) ) 2063 2063 { 2064 2064 return false; … … 2069 2069 { 2070 2070 url = _editor_url + 'modules/WebKit/WebKit.js'; 2071 if ( !Xinha.loadPlugins([ "WebKit"], function() { editor.generate(); }, url) )2071 if ( !Xinha.loadPlugins([{plugin:"WebKit",url:url}], function() { editor.generate(); } ) ) 2072 2072 { 2073 2073 … … 2079 2079 { 2080 2080 url = _editor_url + 'modules/Opera/Opera.js'; 2081 if ( !Xinha.loadPlugins([ "Opera"], function() { editor.generate(); }, url) )2081 if ( !Xinha.loadPlugins([{plugin:"Opera",url:url}], function() { editor.generate(); } ) ) 2082 2082 { 2083 2083 return false; … … 2088 2088 { 2089 2089 url = _editor_url + 'modules/Gecko/Gecko.js'; 2090 if ( !Xinha.loadPlugins([ "Gecko"], function() { editor.generate(); }, url) )2090 if ( !Xinha.loadPlugins([{plugin:"Gecko",url:url}], function() { editor.generate(); } ) ) 2091 2091 { 2092 2092 return false; … … 2106 2106 2107 2107 url = _editor_url + 'modules/FullScreen/full-screen.js'; 2108 if ( !Xinha.loadPlugins([ "FullScreen"], function() { editor.generate(); }, url))2108 if ( !Xinha.loadPlugins([{plugin:"FullScreen",url:url}], function() { editor.generate(); } )) 2109 2109 { 2110 2110 return false; … … 2112 2112 2113 2113 url = _editor_url + 'modules/ColorPicker/ColorPicker.js'; 2114 if ( !Xinha.loadPlugins([ "ColorPicker"], function() { editor.generate(); } , url) )2114 if ( !Xinha.loadPlugins([{plugin:"ColorPicker",url:url}], function() { editor.generate(); } ) ) 2115 2115 { 2116 2116 return false; … … 2130 2130 case "insertimage": 2131 2131 url = _editor_url + 'modules/InsertImage/insert_image.js'; 2132 if ( typeof Xinha.prototype._insertImage == 'undefined' && !Xinha.loadPlugins([ "InsertImage"], function() { editor.generate(); } , url) )2132 if ( typeof Xinha.prototype._insertImage == 'undefined' && !Xinha.loadPlugins([{plugin:"InsertImage",url:url}], function() { editor.generate(); } ) ) 2133 2133 { 2134 2134 return false; … … 2138 2138 case "createlink": 2139 2139 url = _editor_url + 'modules/CreateLink/link.js'; 2140 if ( typeof Linker == 'undefined' && !Xinha.loadPlugins([ "CreateLink"], function() { editor.generate(); } , url))2140 if ( typeof Linker == 'undefined' && !Xinha.loadPlugins([{plugin:"CreateLink",url:url}], function() { editor.generate(); } )) 2141 2141 { 2142 2142 return false; … … 2146 2146 case "inserttable": 2147 2147 url = _editor_url + 'modules/InsertTable/insert_table.js'; 2148 if ( !Xinha.loadPlugins([ "InsertTable"], function() { editor.generate(); } , url) )2148 if ( !Xinha.loadPlugins([{plugin:"InsertTable",url:url}], function() { editor.generate(); } ) ) 2149 2149 { 2150 2150 return false; … … 2159 2159 if ( Xinha.is_gecko && editor.config.mozParaHandler != 'built-in' ) 2160 2160 { 2161 if ( !Xinha.loadPlugins([ "EnterParagraphs"], function() { editor.generate(); }, _editor_url + 'modules/Gecko/paraHandlerBest.js') )2161 if ( !Xinha.loadPlugins([{plugin:"EnterParagraphs",url: _editor_url + 'modules/Gecko/paraHandlerBest.js'}], function() { editor.generate(); } ) ) 2162 2162 { 2163 2163 return false; … … 2181 2181 } 2182 2182 2183 if ( !Xinha.loadPlugins([ "GetHtmlImplementation"], function() { editor.generate(); } , getHtmlMethodPlugin))2183 if ( !Xinha.loadPlugins([{plugin:"GetHtmlImplementation",url:getHtmlMethodPlugin}], function() { editor.generate(); })) 2184 2184 { 2185 2185 return false; … … 3299 3299 * @returns {String} path to plugin 3300 3300 */ 3301 Xinha.getPluginDir = function(pluginName) 3302 { 3303 return _editor_url + "plugins/" + pluginName; 3304 }; 3301 Xinha.getPluginDir = function(plugin) 3302 { 3303 if (Xinha.externalPlugins[plugin]) 3304 { 3305 return Xinha.externalPlugins[plugin][0]; 3306 } 3307 else 3308 { 3309 return _editor_url + "plugins/" + plugin ; 3310 } 3311 } 3305 3312 /** Static function that loads the given plugin 3306 3313 * @param {String} pluginName … … 3341 3348 Xinha._pluginLoadStatus = {}; 3342 3349 3350 Xinha.externalPlugins = {}; 3351 3343 3352 /** Static function that loads the plugins (see xinha_plugins in NewbieGuide) 3344 3353 * @param {Array} plugins … … 3351 3360 if ( !Xinha.isSupportedBrowser ) return; 3352 3361 Xinha.setLoadingMessage (Xinha._lc("Loading plugins")); 3362 var m; 3363 for (var i=0;i<plugins.length;i++) 3364 { 3365 if (typeof plugins[i] == 'object') 3366 { 3367 m = plugins[i].url.match(/(.*)(\/[^\/]*)$/); 3368 Xinha.externalPlugins[plugins[i].plugin] = [m[1],m[2]]; 3369 plugins[i] = plugins[i].plugin; 3370 } 3371 } 3372 3353 3373 // Rip the ones that are loaded and look for ones that have failed 3354 3374 var retVal = true; … … 3358 3378 { 3359 3379 var p = nuPlugins.pop(); 3360 if (p == 'FullScreen' && !url ) continue; //prevent trying to load FullScreen plugin from the plugins folder 3380 if (p == 'FullScreen' && !Xinha.externalPlugins['FullScreen'] ) continue; //prevent trying to load FullScreen plugin from the plugins folder 3381 3361 3382 if ( typeof Xinha._pluginLoadStatus[p] == 'undefined' ) 3362 3383 { … … 3379 3400 Xinha._pluginLoadStatus[plugin] = 'failed'; 3380 3401 } 3381 }, url3402 },(Xinha.externalPlugins[p] ? Xinha.externalPlugins[p][0]+Xinha.externalPlugins[p][1] : url) 3382 3403 ); 3383 3404 retVal = false; … … 5754 5775 var plugin = RegExp.$1; 5755 5776 var popup = RegExp.$2; 5756 if ( ! ( /\. html$/.test(popup) ) )5777 if ( ! ( /\.(html?|php)$/.test(popup) ) ) 5757 5778 { 5758 5779 popup += ".html"; 5759 5780 } 5760 url = _editor_url + "plugins/" + plugin+ "/popups/" + popup;5781 url = Xinha.getPluginDir(plugin) + "/popups/" + popup; 5761 5782 } 5762 5783 else if ( file.match(/^\/.*?/) || file.match(/^https?:\/\//)) … … 5770 5791 return url; 5771 5792 }; 5793 5794 5772 5795 5773 5796 /** FIX: Internet Explorer returns an item having the _name_ equal to the given … … 6322 6345 if ( context != 'Xinha') 6323 6346 { 6324 url = _editor_url+"plugins/"+context+"/lang/"+_editor_lang+".js";6347 url = Xinha.getPluginDir(context)+"/lang/"+_editor_lang+".js"; 6325 6348 } 6326 6349 else -
trunk/examples/ExtendedDemo.html
r962 r999 4 4 -- Xinha example frameset. 5 5 -- 6 -- $HeadURL $7 -- $LastChangedDate $8 -- $LastChangedRevision $9 -- $LastChangedBy $6 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/ExtendedDemo.html $ 7 -- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $ 8 -- $LastChangedRevision:962 $ 9 -- $LastChangedBy:ray $ 10 10 ---------------------------------------------------------------------------> 11 11 -
trunk/examples/Newbie.html
r962 r999 8 8 <script type="text/javascript"> 9 9 _editor_url = "../" // (preferably absolute) URL (including trailing slash) where Xinha is installed 10 _editor_lang = " en"; // And the language we need to use in the editor.10 _editor_lang = "de"; // And the language we need to use in the editor. 11 11 _editor_skin = "silva"; // If you want use skin, add the name here 12 12 </script> -
trunk/examples/XinhaConfig.js
r962 r999 39 39 'CharacterMap', 40 40 'ContextMenu', 41 'SmartReplace', 41 { plugin: 'SmartReplace',url: '/xff3/xSmartReplace/smart-replace.js' }, 42 //'SmartReplace', 42 43 'Stylist', 43 44 'Linker', 44 45 'SuperClean', 45 'TableOperations' 46 'TableOperations', 47 'SetId', 48 'FullScreen' 46 49 ]; 47 50 -
trunk/examples/files/custom.css
r962 r999 4 4 -- @TODO Make this CSS more useful. 5 5 -- 6 -- $HeadURL $7 -- $LastChangedDate $8 -- $LastChangedRevision $9 -- $LastChangedBy $6 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/files/custom.css $ 7 -- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $ 8 -- $LastChangedRevision:962 $ 9 -- $LastChangedBy:ray $ 10 10 --------------------------------------------------------------------------*/ 11 11 -
trunk/examples/files/dynamic.css
r962 r999 4 4 -- @TODO Make this CSS more useful. 5 5 -- 6 -- $HeadURL $7 -- $LastChangedDate $8 -- $LastChangedRevision $9 -- $LastChangedBy $6 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/files/dynamic.css $ 7 -- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $ 8 -- $LastChangedRevision:962 $ 9 -- $LastChangedBy:ray $ 10 10 --------------------------------------------------------------------------*/ 11 11 -
trunk/examples/files/ext_example-body.html
r962 r999 4 4 5 5 <!-- --------------------------------------------------------------------- 6 -- $HeadURL $7 -- $LastChangedDate $8 -- $LastChangedRevision $9 -- $LastChangedBy $6 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/files/ext_example-body.html $ 7 -- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $ 8 -- $LastChangedRevision:962 $ 9 -- $LastChangedBy:ray $ 10 10 ------------------------------------------------------------------------ --> 11 11 -
trunk/examples/files/ext_example-menu.php
r993 r999 11 11 -- full_example-body.html, and full_example.js. 12 12 -- 13 -- $HeadURL $14 -- $LastChangedDate $15 -- $LastChangedRevision $16 -- $LastChangedBy $13 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/files/ext_example-menu.php $ 14 -- $LastChangedDate:2008-04-12 23:23:17 +0200 (Sa, 12 Apr 2008) $ 15 -- $LastChangedRevision:993 $ 16 -- $LastChangedBy:ray $ 17 17 ---------------------------------------------------------------------------> 18 18 -
trunk/examples/files/full_example.css
r962 r999 2 2 -- Xinha example CSS file. This is ripped from Trac ;) 3 3 -- 4 -- $HeadURL $5 -- $LastChangedDate $6 -- $LastChangedRevision $7 -- $LastChangedBy $4 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/files/full_example.css $ 5 -- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $ 6 -- $LastChangedRevision:962 $ 7 -- $LastChangedBy:ray $ 8 8 --------------------------------------------------------------------------*/ 9 9 -
trunk/examples/files/stylist.css
r962 r999 3 3 -- when the Stylist plugin is included in an auto-generated example. 4 4 -- 5 -- $HeadURL $6 -- $LastChangedDate $7 -- $LastChangedRevision $8 -- $LastChangedBy $5 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/files/stylist.css $ 6 -- $LastChangedDate:2008-02-04 01:43:21 +0100 (Mo, 04 Feb 2008) $ 7 -- $LastChangedRevision:962 $ 8 -- $LastChangedBy:ray $ 9 9 --------------------------------------------------------------------------*/ 10 10 -
trunk/examples/testbed.html
r987 r999 14 14 -- use of the file as a boilerplate. 15 15 -- 16 -- $HeadURL $17 -- $LastChangedDate $18 -- $LastChangedRevision $19 -- $LastChangedBy $16 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/examples/testbed.html $ 17 -- $LastChangedDate:2008-04-12 14:39:04 +0200 (Sa, 12 Apr 2008) $ 18 -- $LastChangedRevision:987 $ 19 -- $LastChangedBy:ray $ 20 20 ---------------------------------------------------------------------------> 21 21 -
trunk/htmlarea.js
r659 r999 4 4 -- htmlarea.js is now XinhaCore.js 5 5 -- 6 -- $HeadURL $7 -- $LastChangedDate $8 -- $LastChangedRevision $9 -- $LastChangedBy $6 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/htmlarea.js $ 7 -- $LastChangedDate:2007-01-15 15:28:57 +0100 (Mo, 15 Jan 2007) $ 8 -- $LastChangedRevision:659 $ 9 -- $LastChangedBy:gogo $ 10 10 --------------------------------------------------------------------------*/ 11 11 -
trunk/modules/CreateLink/link.js
r990 r999 19 19 -- 20 20 -- 21 -- $HeadURL $22 -- $LastChangedDate $23 -- $LastChangedRevision $24 -- $LastChangedBy $21 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/modules/CreateLink/link.js $ 22 -- $LastChangedDate:2008-04-12 19:10:04 +0200 (Sa, 12 Apr 2008) $ 23 -- $LastChangedRevision:990 $ 24 -- $LastChangedBy:ray $ 25 25 --------------------------------------------------------------------------*/ 26 26 CreateLink._pluginInfo = { 27 27 name : "CreateLink", 28 28 origin : "Xinha Core", 29 version : "$LastChangedRevision $".replace(/^[^:]*: (.*) \$$/, '$1'),29 version : "$LastChangedRevision:990 $".replace(/^[^:]*: (.*) \$$/, '$1'), 30 30 developer : "The Xinha Core Developer Team", 31 developer_url : "$HeadURL $".replace(/^[^:]*: (.*) \$$/, '$1'),31 developer_url : "$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/CreateLink/link.js $".replace(/^[^:]*: (.*) \$$/, '$1'), 32 32 sponsor : "", 33 33 sponsor_url : "", -
trunk/modules/Dialogs/dialog.js
r978 r999 17 17 -- 18 18 -- 19 -- $HeadURL $20 -- $LastChangedDate $21 -- $LastChangedRevision $22 -- $LastChangedBy $19 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/modules/Dialogs/dialog.js $ 20 -- $LastChangedDate:2008-03-20 13:09:09 +0100 (Do, 20 Mrz 2008) $ 21 -- $LastChangedRevision:978 $ 22 -- $LastChangedBy:ray $ 23 23 --------------------------------------------------------------------------*/ 24 24 -
trunk/modules/Dialogs/inline-dialog.js
r990 r999 18 18 -- 19 19 -- 20 -- $HeadURL $21 -- $LastChangedDate $22 -- $LastChangedRevision $23 -- $LastChangedBy $20 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/modules/Dialogs/inline-dialog.js $ 21 -- $LastChangedDate:2008-04-12 19:10:04 +0200 (Sa, 12 Apr 2008) $ 22 -- $LastChangedRevision:990 $ 23 -- $LastChangedBy:ray $ 24 24 --------------------------------------------------------------------------*/ 25 25 Xinha.Dialog = function(editor, html, localizer) -
trunk/modules/Gecko/Gecko.js
r998 r999 26 26 -- that way. 27 27 -- 28 -- $HeadURL $29 -- $LastChangedDate $30 -- $LastChangedRevision $31 -- $LastChangedBy $28 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/modules/Gecko/Gecko.js $ 29 -- $LastChangedDate:2008-05-01 14:33:36 +0200 (Do, 01 Mai 2008) $ 30 -- $LastChangedRevision:998 $ 31 -- $LastChangedBy:ray $ 32 32 --------------------------------------------------------------------------*/ 33 33 … … 35 35 name : "Gecko", 36 36 origin : "Xinha Core", 37 version : "$LastChangedRevision $".replace(/^[^:]*: (.*) \$$/, '$1'),37 version : "$LastChangedRevision:998 $".replace(/^[^:]*: (.*) \$$/, '$1'), 38 38 developer : "The Xinha Core Developer Team", 39 developer_url : "$HeadURL $".replace(/^[^:]*: (.*) \$$/, '$1'),39 developer_url : "$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/Gecko/Gecko.js $".replace(/^[^:]*: (.*) \$$/, '$1'), 40 40 sponsor : "", 41 41 sponsor_url : "", -
trunk/modules/GetHtml/DOMwalk.js
r961 r999 16 16 -- 17 17 -- 18 -- $HeadURL $19 -- $LastChangedDate $20 -- $LastChangedRevision $21 -- $LastChangedBy $18 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/modules/GetHtml/DOMwalk.js $ 19 -- $LastChangedDate:2008-02-02 19:30:42 +0100 (Sa, 02 Feb 2008) $ 20 -- $LastChangedRevision:961 $ 21 -- $LastChangedBy:ray $ 22 22 --------------------------------------------------------------------------*/ 23 23 function GetHtmlImplementation(editor) { … … 28 28 name : "GetHtmlImplementation DOMwalk", 29 29 origin : "Xinha Core", 30 version : "$LastChangedRevision $".replace(/^[^:]*: (.*) \$$/, '$1'),30 version : "$LastChangedRevision:961 $".replace(/^[^:]*: (.*) \$$/, '$1'), 31 31 developer : "The Xinha Core Developer Team", 32 developer_url : "$HeadURL $".replace(/^[^:]*: (.*) \$$/, '$1'),32 developer_url : "$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/GetHtml/DOMwalk.js $".replace(/^[^:]*: (.*) \$$/, '$1'), 33 33 sponsor : "", 34 34 sponsor_url : "", -
trunk/modules/InsertImage/insert_image.js
r992 r999 14 14 -- 15 15 -- 16 -- $HeadURL $17 -- $LastChangedDate $18 -- $LastChangedRevision $19 -- $LastChangedBy $16 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/modules/InsertImage/insert_image.js $ 17 -- $LastChangedDate:2008-04-12 23:02:13 +0200 (Sa, 12 Apr 2008) $ 18 -- $LastChangedRevision:992 $ 19 -- $LastChangedBy:ray $ 20 20 --------------------------------------------------------------------------*/ 21 21 InsertImage._pluginInfo = { 22 22 name : "InsertImage", 23 23 origin : "Xinha Core", 24 version : "$LastChangedRevision $".replace(/^[^:]*: (.*) \$$/, '$1'),24 version : "$LastChangedRevision:992 $".replace(/^[^:]*: (.*) \$$/, '$1'), 25 25 developer : "The Xinha Core Developer Team", 26 developer_url : "$HeadURL $".replace(/^[^:]*: (.*) \$$/, '$1'),26 developer_url : "$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/InsertImage/insert_image.js $".replace(/^[^:]*: (.*) \$$/, '$1'), 27 27 sponsor : "", 28 28 sponsor_url : "", -
trunk/modules/InternetExplorer/InternetExplorer.js
r980 r999 26 26 -- namespace that way. 27 27 -- 28 -- $HeadURL $29 -- $LastChangedDate $30 -- $LastChangedRevision $31 -- $LastChangedBy $28 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/modules/InternetExplorer/InternetExplorer.js $ 29 -- $LastChangedDate:2008-03-21 18:16:28 +0100 (Fr, 21 Mrz 2008) $ 30 -- $LastChangedRevision:980 $ 31 -- $LastChangedBy:ray $ 32 32 --------------------------------------------------------------------------*/ 33 33 … … 35 35 name : "Internet Explorer", 36 36 origin : "Xinha Core", 37 version : "$LastChangedRevision $".replace(/^[^:]*: (.*) \$$/, '$1'),37 version : "$LastChangedRevision:980 $".replace(/^[^:]*: (.*) \$$/, '$1'), 38 38 developer : "The Xinha Core Developer Team", 39 developer_url : "$HeadURL $".replace(/^[^:]*: (.*) \$$/, '$1'),39 developer_url : "$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/InternetExplorer/InternetExplorer.js $".replace(/^[^:]*: (.*) \$$/, '$1'), 40 40 sponsor : "", 41 41 sponsor_url : "", -
trunk/modules/Opera/Opera.js
r970 r999 26 26 -- that way. 27 27 -- 28 -- $HeadURL $29 -- $LastChangedDate $30 -- $LastChangedRevision $31 -- $LastChangedBy $28 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/modules/Opera/Opera.js $ 29 -- $LastChangedDate:2008-02-07 14:11:35 +0100 (Do, 07 Feb 2008) $ 30 -- $LastChangedRevision:970 $ 31 -- $LastChangedBy:gogo $ 32 32 --------------------------------------------------------------------------*/ 33 33 … … 35 35 name : "Opera", 36 36 origin : "Xinha Core", 37 version : "$LastChangedRevision $".replace(/^[^:]*: (.*) \$$/, '$1'),37 version : "$LastChangedRevision:970 $".replace(/^[^:]*: (.*) \$$/, '$1'), 38 38 developer : "The Xinha Core Developer Team", 39 developer_url : "$HeadURL $".replace(/^[^:]*: (.*) \$$/, '$1'),39 developer_url : "$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/Opera/Opera.js $".replace(/^[^:]*: (.*) \$$/, '$1'), 40 40 sponsor : "Gogo Internet Services Limited", 41 41 sponsor_url : "http://www.gogo.co.nz/", -
trunk/modules/WebKit/WebKit.js
r998 r999 25 25 -- that way. 26 26 -- 27 -- $HeadURL $28 -- $LastChangedDate $29 -- $LastChangedRevision $30 -- $LastChangedBy $27 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/modules/WebKit/WebKit.js $ 28 -- $LastChangedDate:2008-05-01 14:33:36 +0200 (Do, 01 Mai 2008) $ 29 -- $LastChangedRevision:998 $ 30 -- $LastChangedBy:ray $ 31 31 --------------------------------------------------------------------------*/ 32 32 … … 34 34 name : "WebKit", 35 35 origin : "Xinha Core", 36 version : "$LastChangedRevision $".replace(/^[^:]*: (.*) \$$/, '$1'),36 version : "$LastChangedRevision:998 $".replace(/^[^:]*: (.*) \$$/, '$1'), 37 37 developer : "The Xinha Core Developer Team", 38 developer_url : "$HeadURL $".replace(/^[^:]*: (.*) \$$/, '$1'),38 developer_url : "$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/WebKit/WebKit.js $".replace(/^[^:]*: (.*) \$$/, '$1'), 39 39 sponsor : "", 40 40 sponsor_url : "", -
trunk/plugins/Abbreviation/abbreviation.js
r893 r999 41 41 42 42 Abbreviation.prototype.onGenerate = function() { 43 this.editor.addEditorStylesheet( _editor_url + 'plugins/Abbreviation/abbreviation.css');43 this.editor.addEditorStylesheet(Xinha.getPluginDir('Abbreviation') + '/abbreviation.css'); 44 44 }; 45 45 -
trunk/plugins/BackgroundImage/popups/bgimage.html
r987 r999 11 11 __dlg_translate("BackgroundImage"); 12 12 __dlg_init(); 13 14 13 } 15 14 … … 20 19 21 20 function insertbg(image) { 22 __dlg_close(window.opener. _editor_url + "/plugins/BackgroundImage/backgrounds/" + image);21 __dlg_close(window.opener.Xinha.getPluginDir('BackgroundImage') + "/backgrounds/" + image); 23 22 return false; 24 23 } -
trunk/plugins/CSS/css.js
r856 r999 7 7 // This notice MUST stay intact for use (see license.txt). 8 8 // 9 // $Id $9 // $Id:css.js 856 2007-06-13 18:34:34Z wymsy $ 10 10 // @TODO This is the default and won't be very useful to others. 11 11 // We should make this better. -
trunk/plugins/ContextMenu/context-menu.js
r988 r999 7 7 // This notice MUST stay intact for use (see license.txt). 8 8 // 9 // $Id $9 // $Id:context-menu.js 988M 2008-04-12 13:46:09Z (local) $ 10 10 11 11 Xinha.loadStyle("menu.css", "ContextMenu"); … … 345 345 doc = popup.document; 346 346 doc.open(); 347 doc.write("<html><head><style type='text/css'>@import url(" + _editor_url + "plugins/ContextMenu/menu.css); html, body { padding: 0px; margin: 0px; overflow: hidden; border: 0px; }</style></head><body unselectable='yes'></body></html>");347 doc.write("<html><head><style type='text/css'>@import url(" + Xinha.getPluginDir('ContextMenu') + "/menu.css); html, body { padding: 0px; margin: 0px; overflow: hidden; border: 0px; }</style></head><body unselectable='yes'></body></html>"); 348 348 doc.close(); 349 349 } -
trunk/plugins/DefinitionList/definition-list.js
r893 r999 50 50 51 51 DefinitionList.prototype.onGenerate = function() { 52 this.editor.addEditorStylesheet( _editor_url + 'plugins/DefinitionList/definition-list.css');52 this.editor.addEditorStylesheet(Xinha.getPluginDir('DefinitionList') + '/definition-list.css'); 53 53 }; 54 54 -
trunk/plugins/Equation/equation.js
r957 r999 56 56 if (typeof AMprocessNode != "function") 57 57 { 58 Xinha._loadback( _editor_url + "plugins/Equation/ASCIIMathML.js", function () { translate(); });58 Xinha._loadback(Xinha.getPluginDir('Equation') + "/ASCIIMathML.js", function () { translate(); }); 59 59 } 60 60 } … … 185 185 args["editedNode"] = parent; 186 186 } 187 Dialog( _editor_url + "plugins/Equation/popups/dialog.html", function(params) {187 Dialog(Xinha.getPluginDir('Equation') + "/popups/dialog.html", function(params) { 188 188 self.insert(params); 189 189 }, args); -
trunk/plugins/ExtendedFileManager/Classes/ExtendedFileManager.php
r957 r999 17 17 /** 18 18 * ExtendedFileManager Class. 19 * @author $Author $20 * @author $Author $21 * @version $Id $19 * @author $Author:ray $ 20 * @author $Author:ray $ 21 * @version $Id:ExtendedFileManager.php 957 2008-02-01 22:44:49Z ray $ 22 22 */ 23 23 class ExtendedFileManager -
trunk/plugins/ExtendedFileManager/assets/dialog.js
r929 r999 10 10 // http://dynarch.com/mishoo 11 11 // 12 // $Id $12 // $Id:dialog.js 929 2008-01-09 21:10:59Z ray $ 13 13 14 14 // Though "Dialog" looks like an object, it isn't really an object. Instead -
trunk/plugins/ExtendedFileManager/assets/images.js
r799 r999 308 308 { 309 309 window.parent.document.getElementById('f_preview').src = 310 f_url ? window.parent._backend_url + '__function=thumbs&img=' + f_url :window.parent.opener. _editor_url+'plugins/ExtendedFileManager/img/1x1_transparent.gif';310 f_url ? window.parent._backend_url + '__function=thumbs&img=' + f_url :window.parent.opener.Xinha.getPluginDir('ExtendedFileManager')+'/img/1x1_transparent.gif'; 311 311 } 312 312 -
trunk/plugins/ExtendedFileManager/assets/manager.js
r962 r999 261 261 262 262 var img = document.createElement('img'); 263 img.src = window.opener. _editor_url+'plugins/ExtendedFileManager/img/edit_paste.gif';263 img.src = window.opener.Xinha.getPluginDir('ExtendedFileManager')+'/img/edit_paste.gif'; 264 264 img.alt = i18n('Paste'); 265 265 a.appendChild(img); … … 326 326 { 327 327 // Yup, need to resize 328 var resized = Xinha._geturlcontent(window.opener. _editor_url + 'plugins/ExtendedFileManager/' + _backend_url + '&__function=resizer&img=' + encodeURIComponent(document.getElementById('f_url').value) + '&width=' + param.f_width + '&height=' + param.f_height);328 var resized = Xinha._geturlcontent(window.opener.Xinha.getPluginDir('ExtendedFileManager') + '/' + _backend_url + '&__function=resizer&img=' + encodeURIComponent(document.getElementById('f_url').value) + '&width=' + param.f_width + '&height=' + param.f_height); 329 329 330 330 // alert(resized); -
trunk/plugins/ExtendedFileManager/assets/popup.js
r939 r999 10 10 // http://dynarch.com/mishoo 11 11 // 12 // $Id $12 // $Id:popup.js 939 2008-01-22 21:11:43Z ray $ 13 13 14 14 function __dlg_onclose() { -
trunk/plugins/ExtendedFileManager/extended-file-manager.js
r937 r999 28 28 id : "linkfile", 29 29 tooltip : Xinha._lc("Insert File Link",'ExtendedFileManager'), 30 image : _editor_url + 'plugins/ExtendedFileManager/img/ed_linkfile.gif',30 image : Xinha.getPluginDir('ExtendedFileManager') + '/img/ed_linkfile.gif', 31 31 textMode : false, 32 32 action : function(editor) { … … 69 69 { 70 70 'use_linker': true, 71 'backend' : _editor_url + 'plugins/ExtendedFileManager/backend.php?__plugin=ExtendedFileManager&',71 'backend' : Xinha.getPluginDir('ExtendedFileManager') + '/backend.php?__plugin=ExtendedFileManager&', 72 72 'backend_data' : null, 73 73 // deprecated keys, use passing data through e.g. xinha_pass_to_php_backend() -
trunk/plugins/ExtendedFileManager/resizer.php
r922 r999 7 7 * relative to the base_dir given in config.inc.php 8 8 * This is pretty much just thumbs.php with some mods, I'm too lazy to do it properly 9 * @author $Author $10 * @version $Id $9 * @author $Author:ray $ 10 * @version $Id:resizer.php 922 2007-12-30 14:35:46Z ray $ 11 11 * @package ImageManager 12 12 */ -
trunk/plugins/Filter/filter.js
r849 r999 42 42 Filter.prototype.add = function(filterName) { 43 43 if(eval('typeof ' + filterName) == 'undefined') { 44 var filter = _editor_url + "plugins/filter/filters/" + filterName + ".js";44 var filter = Xinha.getPluginDir('Filter') + "/filters/" + filterName + ".js"; 45 45 var head = document.getElementsByTagName("head")[0]; 46 46 var evt = Xinha.is_ie ? "onreadystatechange" : "onload"; -
trunk/plugins/FormOperations/form-operations.js
r715 r999 3 3 -- FormOperations Plugin 4 4 -- 5 -- $HeadURL $6 -- $LastChangedDate $7 -- $LastChangedRevision $8 -- $LastChangedBy $5 -- $HeadURL:http://svn.xinha.webfactional.com/trunk/plugins/FormOperations/form-operations.js $ 6 -- $LastChangedDate:2007-02-07 20:12:42 +0100 (Mi, 07 Feb 2007) $ 7 -- $LastChangedRevision:715M $ 8 -- $LastChangedBy:(local) $ 9 9 --------------------------------------------------------------------------*/ 10 10 … … 16 16 'multiple_field_format': 'php', 17 17 'allow_edit_form' : false, 18 'default_form_action' : _editor_url + 'plugins/FormOperations/formmail.php',19 'default_form_html' : Xinha._geturlcontent( _editor_url + 'plugins/FormOperations/default_form.html')18 'default_form_action' : Xinha.getPluginDir('FormOperations') + '/formmail.php', 19 'default_form_html' : Xinha._geturlcontent(Xinha.getPluginDir('FormOperations') + '/default_form.html') 20 20 }; 21 21 … … 42 42 43 43 44 editor.config.pageStyleSheets.push( _editor_url + 'plugins/FormOperations/iframe.css');44 editor.config.pageStyleSheets.push(Xinha.getPluginDir('FormOperations') + '/iframe.css'); 45 45 46 46 var toolbar = … … 188 188 { 189 189 190 Xinha._getback( _editor_url + 'plugins/FormOperations/panel.html',190 Xinha._getback(Xinha.getPluginDir('FormOperations') + '/panel.html', 191 191 function(txt) 192 192 { -
trunk/plugins/Forms/forms.js
r893 r999 76 76 77 77 Forms.prototype.onGenerate = function() { 78 this.editor.addEditorStylesheet( _editor_url + 'plugins/Forms/forms.css');78 this.editor.addEditorStylesheet(Xinha.getPluginDir("Forms") + '/forms.css'); 79 79 }; 80 80 -
trunk/plugins/FullPage/full-page.js
r856 r999 11 11 // http://dynarch.com/mishoo 12 12 // 13 // $Id $13 // $Id:full-page.js 856 2007-06-13 18:34:34Z wymsy $ 14 14 15 15 function FullPage(editor) { -
trunk/plugins/HtmlEntities/html-entities.js
r743 r999 35 35 { 36 36 Encoding : 'iso-8859-1', 37 EntitiesFile : _editor_url + "plugins/HtmlEntities/Entities.js"37 EntitiesFile : Xinha.getPluginDir("HtmlEntities") + "/Entities.js" 38 38 } 39 39 HtmlEntities.prototype.onGenerate = function() { 40 40 var e = this.editor; 41 var url = (e.config.HtmlEntities.Encoding) ? _editor_url + "plugins/HtmlEntities/"+e.config.HtmlEntities.Encoding+".js" : e.config.HtmlEntities.EntitiesFile;41 var url = (e.config.HtmlEntities.Encoding) ? Xinha.getPluginDir("HtmlEntities") + "/"+e.config.HtmlEntities.Encoding+".js" : e.config.HtmlEntities.EntitiesFile; 42 42 var callback = function (getback) { 43 43 var specialReplacements = e.config.specialReplacements; -
trunk/plugins/HtmlTidy/html-tidy.js
r856 r999 93 93 if(oldhtml=="") break; //don't clean empty text 94 94 // Ask the server for some nice new html, based on the old... 95 Xinha._postback( _editor_url + 'plugins/HtmlTidy/html-tidy-logic.php', {'htisource_name' : oldhtml},95 Xinha._postback(Xinha.getPluginDir("HtmlTidy") + '/html-tidy-logic.php', {'htisource_name' : oldhtml}, 96 96 function(javascriptResponse) { eval(javascriptResponse) }); 97 97 } -
trunk/plugins/ImageManager/Classes/Files.php
r841 r999 2 2 /** 3 3 * File Utilities. 4 * @author $Author $5 * @version $Id $4 * @author $Author:koto $ 5 * @version $Id:Files.php 841 2007-05-27 13:31:51Z koto $ 6 6 * @package ImageManager 7 7 */ … … 15 15 /** 16 16 * File Utilities 17 * @author $Author $18 * @version $Id $17 * @author $Author:koto $ 18 * @version $Id:Files.php 841 2007-05-27 13:31:51Z koto $ 19 19 * @package ImageManager 20 20 * @subpackage files -
trunk/plugins/ImageManager/Classes/GD.php
r938 r999 38 38 // 39 39 // 40 // $Id $40 // $Id:GD.php 938 2008-01-22 20:13:47Z ray $ 41 41 // 42 42 // Image Transformation interface using the GD library -
trunk/plugins/ImageManager/Classes/IM.php
r937 r999 26 26 // +----------------------------------------------------------------------+ 27 27 // 28 // $Id $28 // $Id:IM.php 937 2008-01-20 23:13:25Z ray $ 29 29 // 30 30 // Image Transformation interface using command line ImageMagick -
trunk/plugins/ImageManager/Classes/ImageEditor.php
r938 r999 2 2 /** 3 3 * Image Editor. Editing tools, crop, rotate, scale and save. 4 * @author $Author $5 * @version $Id $4 * @author $Author:ray $ 5 * @version $Id:ImageEditor.php 938 2008-01-22 20:13:47Z ray $ 6 6 * @package ImageManager 7 7 */ … … 11 11 /** 12 12 * Handles the basic image editing capbabilities. 13 * @author $Author $14 * @version $Id $13 * @author $Author:ray $ 14 * @version $Id:ImageEditor.php 938 2008-01-22 20:13:47Z ray $ 15 15 * @package ImageManager 16 16 * @subpackage Editor -
trunk/plugins/ImageManager/Classes/ImageManager.php
r709 r999 2 2 /** 3 3 * ImageManager, list images, directories, and thumbnails. 4 * @author $Author $5 * @version $Id $4 * @author $Author:ray $ 5 * @version $Id:ImageManager.php 709 2007-01-30 23:22:04Z ray $ 6 6 * @package ImageManager 7 7 */ … … 15 15 /** 16 16 * ImageManager Class. 17 * @author $Author $18 * @version $Id $17 * @author $Author:ray $ 18 * @version $Id:ImageManager.php 709 2007-01-30 23:22:04Z ray $ 19 19 */ 20 20 class ImageManager -
trunk/plugins/ImageManager/Classes/NetPBM.php
r709 r999 25 25 // +----------------------------------------------------------------------+ 26 26 // 27 // $Id $27 // $Id:NetPBM.php 709 2007-01-30 23:22:04Z ray $ 28 28 // 29 29 // Image Transformation interface using command line NetPBM -
trunk/plugins/ImageManager/Classes/Thumbnail.php
r709 r999 2 2 /** 3 3 * Create thumbnails. 4 * @author $Author $5 * @version $Id $4 * @author $Author:ray $ 5 * @version $Id:Thumbnail.php 709 2007-01-30 23:22:04Z ray $ 6 6 * @package ImageManager 7 7 */ … … 12 12 /** 13 13 * Thumbnail creation 14 * @author $Author $15 * @version $Id $14 * @author $Author:ray $ 15 * @version $Id:Thumbnail.php 709 2007-01-30 23:22:04Z ray $ 16 16 * @package ImageManager 17 17 * @subpackage Images -
trunk/plugins/ImageManager/Classes/Transform.php
r709 r999 32 32 // +----------------------------------------------------------------------+ 33 33 // 34 // $Id $34 // $Id:Transform.php 709 2007-01-30 23:22:04Z ray $ 35 35 // 36 36 // Image Transformation interface -
trunk/plugins/ImageManager/assets/dialog.js
r929 r999 10 10 // http://dynarch.com/mishoo 11 11 // 12 // $Id $12 // $Id:dialog.js 929 2008-01-09 21:10:59Z ray $ 13 13 14 14 // Though "Dialog" looks like an object, it isn't really an object. Instead -
trunk/plugins/ImageManager/assets/editor.js
r677 r999 1 1 /** 2 2 * Functions for the ImageEditor interface, used by editor.php only 3 * @author $Author $4 * @version $Id $3 * @author $Author:ray $ 4 * @version $Id:editor.js 677 2007-01-19 22:24:36Z ray $ 5 5 * @package ImageManager 6 6 */ -
trunk/plugins/ImageManager/assets/editorFrame.js
r677 r999 1 1 /** 2 2 * Javascript used by the editorFrame.php, it basically initializes the frame. 3 * @author $Author $4 * @version $Id $3 * @author $Author:ray $ 4 * @version $Id:editorFrame.js 677 2007-01-19 22:24:36Z ray $ 5 5 * @package ImageManager 6 6 */ -
trunk/plugins/ImageManager/assets/images.js
r927 r999 1 1 /** 2 2 * Functions for the image listing, used by images.php only 3 * @author $Author $4 * @version $Id $3 * @author $Author:gogo $ 4 * @version $Id:images.js 927 2008-01-08 03:40:02Z gogo $ 5 5 * @package ImageManager 6 6 */ -
trunk/plugins/ImageManager/assets/manager.js
r877 r999 1 1 /** 2 2 * Functions for the ImageManager, used by manager.php only 3 * @author $Author $4 * @version $Id $3 * @author $Author:gogo $ 4 * @version $Id:manager.js 877 2007-08-12 15:50:03Z gogo $ 5 5 * @package ImageManager 6 6 */ -
trunk/plugins/ImageManager/assets/popup.js
r856 r999 10 10 // http://dynarch.com/mishoo 11 11 // 12 // $Id $12 // $Id:popup.js 856 2007-06-13 18:34:34Z wymsy $ 13 13 14 14 // Override the ordinary popup.js translation to add translation for a few other HTML elements. -
trunk/plugins/ImageManager/config.inc.php
r830 r999 2 2 /** 3 3 * Image Manager configuration file. 4 * @author $Author $5 * @version $Id $4 * @author $Author:gogo $ 5 * @version $Id:config.inc.php 830 2007-05-09 13:27:34Z gogo $ 6 6 * @package ImageManager 7 7 * -
trunk/plugins/ImageManager/editor.php
r987 r999 2 2 /** 3 3 * The PHP Image Editor user interface. 4 * @author $Author $5 * @version $Id $4 * @author $Author:ray $ 5 * @version $Id:editor.php 987 2008-04-12 12:39:04Z ray $ 6 6 * @package ImageManager 7 7 */ -
trunk/plugins/ImageManager/editorFrame.php
r677 r999 2 2 /** 3 3 * The frame that contains the image to be edited. 4 * @author $Author $5 * @version $Id $4 * @author $Author:ray $ 5 * @version $Id:editorFrame.php 677 2007-01-19 22:24:36Z ray $ 6 6 * @package ImageManager 7 7 */ -
trunk/plugins/ImageManager/image-manager.js
r856 r999 1 1 /** 2 2 * The ImageManager plugin javascript. 3 * @author $Author $4 * @version $Id $3 * @author $Author:(local) $ 4 * @version $Id:image-manager.js 856M 2007-06-13 18:34:34Z (local) $ 5 5 * @package ImageManager 6 6 */ … … 66 66 Xinha.Config.prototype.ImageManager = 67 67 { 68 'backend' : _editor_url + 'plugins/ImageManager/backend.php?__plugin=ImageManager&',68 'backend' : Xinha.getPluginDir("ImageManager") + '/backend.php?__plugin=ImageManager&', 69 69 'backend_data' : null, 70 70 -
trunk/plugins/ImageManager/images.php
r987 r999 2 2 /** 3 3 * Show a list of images in a long horizontal table. 4 * @author $Author $5 * @version $Id $4 * @author $Author:ray $ 5 * @version $Id:images.php 987 2008-04-12 12:39:04Z ray $ 6 6 * @package ImageManager 7 7 */ -
trunk/plugins/ImageManager/manager.php
r987 r999 2 2 /** 3 3 * The main GUI for the ImageManager. 4 * @author $Author $5 * @version $Id $4 * @author $Author:ray $ 5 * @version $Id:manager.php 987 2008-04-12 12:39:04Z ray $ 6 6 * @package ImageManager 7 7 */ -
trunk/plugins/ImageManager/resizer.php
r922 r999 7 7 * relative to the base_dir given in config.inc.php 8 8 * This is pretty much just thumbs.php with some mods, I'm too lazy to do it properly 9 * @author $Author $10 * @version $Id $9 * @author $Author:ray $ 10 * @version $Id:resizer.php 922 2007-12-30 14:35:46Z ray $ 11 11 * @package ImageManager 12 12 */ -
trunk/plugins/ImageManager/thumbs.php
r677 r999 4 4 * Creates thumbnails given by thumbs.php?img=/relative/path/to/image.jpg 5 5 * relative to the base_dir given in config.inc.php 6 * @author $Author $7 * @version $Id $6 * @author $Author:ray $ 7 * @version $Id:thumbs.php 677 2007-01-19 22:24:36Z ray $ 8 8 * @package ImageManager 9 9 */ -
trunk/plugins/InsertAnchor/insert-anchor.js
r981 r999 4 4 var self = this; 5 5 6 this.placeholderImg = '<img class="IA_placeholder" src="'+ _editor_url+'plugins/InsertAnchor/img/placeholder.gif" />';6 this.placeholderImg = '<img class="IA_placeholder" src="'+Xinha.getPluginDir("InsertAnchor")+'/img/placeholder.gif" />'; 7 7 8 8 // register the toolbar buttons provided by this plugin … … 36 36 37 37 InsertAnchor.prototype.onGenerate = function() { 38 this.editor.addEditorStylesheet( _editor_url + 'plugins/InsertAnchor/insert-anchor.css');38 this.editor.addEditorStylesheet(Xinha.getPluginDir("InsertAnchor") + '/insert-anchor.css'); 39 39 40 40 }; -
trunk/plugins/InsertPicture/insert-picture.js
r686 r999 8 8 function InsertPicture(editor) { 9 9 if ( typeof _editor_picturePath !== "string" ) 10 _editor_picturePath = _editor_url + "plugins/InsertPicture/demo_pictures/";10 _editor_picturePath = Xinha.getPluginDir("InsertPicture") + "/demo_pictures/"; 11 11 InsertPicture.Scripting = "php"; //else "asp" 12 12 editor.config.URIs.insert_image = '../plugins/InsertPicture/InsertPicture.' + InsertPicture.Scripting + '?picturepath=' + _editor_picturePath; -
trunk/plugins/InsertSmiley/popups/insertsmiley.html
r987 r999 16 16 param = window.dialogArguments; 17 17 editor = param['editor']; 18 var smileyList = Xinha._geturlcontent( _editor_url + 'plugins/InsertSmiley/smileys.txt');18 var smileyList = Xinha._geturlcontent(Xinha.getPluginDir("InsertSmiley") + '/smileys.txt'); 19 19 smileyList = smileyList.match(/^.+$/mg); 20 20 var smileyURL = editor.config.InsertSmiley.smileyURL; -
trunk/plugins/InsertSnippet/insert-snippet.js
r893 r999 60 60 61 61 InsertSnippet.prototype.onGenerate = function() { 62 this.editor.addEditorStylesheet( _editor_url + 'plugins/InsertSnippet/InsertSnippet.css');62 this.editor.addEditorStylesheet(Xinha.getPluginDir("InsertSnippet") + '/InsertSnippet.css'); 63 63 }; 64 64 65 65 Xinha.Config.prototype.InsertSnippet = 66 66 { 67 'snippets' : _editor_url+"plugins/InsertSnippet/demosnippets.js", // purely demo purposes, you should change this67 'snippets' : Xinha.getPluginDir("InsertSnippet")+"/demosnippets.js", // purely demo purposes, you should change this 68 68 'css' : ['../InsertSnippet.css'], //deprecated, CSS is now pulled from xinha_config 69 69 'showInsertVariable': false, -
trunk/plugins/LangMarks/lang-marks.js
r991 r999 51 51 52 52 LangMarks.prototype.onGenerate = function() { 53 this.editor.addEditorStylesheet( _editor_url + 'plugins/LangMarks/lang-marks.css');53 this.editor.addEditorStylesheet(Xinha.getPluginDir("LangMarks") + '/lang-marks.css'); 54 54 }; 55 55 -
trunk/plugins/Linker/linker.js
r997 r999 17 17 { 18 18 'treeCaption' : document.location.host, 19 'backend' : _editor_url + 'plugins/Linker/scan.php',19 'backend' : Xinha.getPluginDir("Linker") + '/scan.php', 20 20 'backend_data' : null, 21 21 'files' : null … … 327 327 if(typeof dTree == 'undefined') 328 328 { 329 Xinha._loadback( _editor_url + 'plugins/Linker/dTree/dtree.js',329 Xinha._loadback(Xinha.getPluginDir("Linker") + '/dTree/dtree.js', 330 330 function() {lDialog._prepareDialog(); } 331 331 ); … … 360 360 if(this.html == false) 361 361 { 362 Xinha._getback( _editor_url + 'plugins/Linker/dialog.html', function(txt) { lDialog.html = txt; lDialog._prepareDialog(); });362 Xinha._getback(Xinha.getPluginDir("Linker") + '/dialog.html', function(txt) { lDialog.html = txt; lDialog._prepareDialog(); }); 363 363 return; 364 364 } … … 369 369 var dTreeName = Xinha.uniq('dTree_'); 370 370 371 this.dTree = new dTree(dTreeName, _editor_url + 'plugins/Linker/dTree/');371 this.dTree = new dTree(dTreeName, Xinha.getPluginDir("Linker") + '/dTree/'); 372 372 eval(dTreeName + ' = this.dTree'); 373 373 -
trunk/plugins/PasteText/paste-text.js
r718 r999 72 72 } 73 73 } 74 Dialog( _editor_url+ "plugins/PasteText/popups/paste_text.html", action, outparam);74 Dialog( Xinha.getPluginDir("PasteText")+ "/popups/paste_text.html", action, outparam); 75 75 }; -
trunk/plugins/PreserveScripts/preserve-scripts.js
r916 r999 38 38 { 39 39 s.storage['PreserveScripts_'+i] = m; 40 var r = '<img title="PHP" id="PreserveScripts_'+i+'" src="'+ _editor_url+'plugins/PreserveScripts/php.png" />';40 var r = '<img title="PHP" id="PreserveScripts_'+i+'" src="'+Xinha.getPluginDir("PreserveScripts")+'/php.png" />'; 41 41 i++; 42 42 return r; … … 53 53 { 54 54 s.storage['PreserveScripts_'+i] = m; 55 var r = '<img title="JavaScript" id="PreserveScripts_'+i+'" src="' + _editor_url + 'plugins/PreserveScripts/js.png" />';55 var r = '<img title="JavaScript" id="PreserveScripts_'+i+'" src="' + Xinha.getPluginDir("PreserveScripts") + '/js.png" />'; 56 56 i++; 57 57 return r; -
trunk/plugins/SaveSubmit/save-submit.js
r943 r999 14 14 this.textarea = this.editor._textArea; 15 15 16 this.image_changed = _editor_url+"plugins/SaveSubmit/img/ed_save_red.gif";17 this.image_unchanged = _editor_url+"plugins/SaveSubmit/img/ed_save_green.gif";16 this.image_changed = Xinha.getPluginDir("SaveSubmit")+"/img/ed_save_red.gif"; 17 this.image_unchanged = Xinha.getPluginDir("SaveSubmit")+"/img/ed_save_green.gif"; 18 18 cfg.registerButton({ 19 19 id : "savesubmit", -
trunk/plugins/SetId/set-id.js
r893 r999 34 34 35 35 SetId.prototype.onGenerate = function() { 36 this.editor.addEditorStylesheet( _editor_url + 'plugins/SetId/set-id.css');36 this.editor.addEditorStylesheet(Xinha.getPluginDir("SetId") + '/set-id.css'); 37 37 }; 38 38 -
trunk/plugins/SmartReplace/smart-replace.js
r990 r999 15 15 id : "smartreplace", 16 16 tooltip : this._lc("SmartReplace"), 17 image : _editor_url+"plugins/SmartReplace/img/smartquotes.gif",17 image : Xinha.getPluginDir('SmartReplace')+"/img/smartquotes.gif", 18 18 textMode : false, 19 19 action : function(e, objname, obj) { self.buttonPress(null, obj); } … … 276 276 } 277 277 var init = this; 278 Dialog( _editor_url+'plugins/SmartReplace/popups/dialog.html', action, init);278 Dialog(Xinha.getPluginDir('SmartReplace')+'/popups/dialog.html', action, init); 279 279 } 280 280 … … 336 336 if(this.html == false) 337 337 { 338 Xinha._getback( _editor_url + 'plugins/SmartReplace/dialog.html', function(getback) { pluginDialogObject.html = getback; pluginDialogObject._prepareDialog(); });338 Xinha._getback(Xinha.getPluginDir('SmartReplace') + '/dialog.html', function(getback) { pluginDialogObject.html = getback; pluginDialogObject._prepareDialog(); }); 339 339 return; 340 340 } -
trunk/plugins/SpellChecker/spell-check-logic.cgi
r21 r999 9 9 # This notice MUST stay intact for use (see license.txt). 10 10 # 11 # $Id $11 # $Id:spell-check-logic.cgi 21 2005-02-19 05:23:56Z gogo $ 12 12 13 13 use strict; -
trunk/plugins/SpellChecker/spell-check-ui.html
r987 r999 15 15 This notice MUST stay intact for use (see license.txt). 16 16 17 $Id $17 $Id:spell-check-ui.html 987 2008-04-12 12:39:04Z ray $ 18 18 19 19 --> -
trunk/plugins/SpellChecker/spell-check-ui.js
r987 r999 7 7 // This notice MUST stay intact for use (see license.txt). 8 8 // 9 // $Id $9 // $Id:spell-check-ui.js 987M 2008-04-12 12:39:04Z (local) $ 10 10 11 11 // internationalization file was already loaded in parent ;-) … … 76 76 } 77 77 // var win = window; 78 window.opener.Xinha._postback( _editor_url + '/plugins/SpellChecker/spell-check-savedicts.php', data);78 window.opener.Xinha._postback(Xinha.getPluginDir("SpellChecker") + '/spell-check-savedicts.php', data); 79 79 window.close(); 80 80 } … … 216 216 if(editor.config.SpellChecker.backend == 'php') 217 217 { 218 field.form.action = _editor_url + '/plugins/SpellChecker/spell-check-logic.php';218 field.form.action = Xinha.getPluginDir("SpellChecker") + '/spell-check-logic.php'; 219 219 } 220 220 if(editor.config.SpellChecker.utf8_to_entities) -
trunk/plugins/SpellChecker/spell-checker.js
r856 r999 7 7 // This notice MUST stay intact for use (see license.txt). 8 8 // 9 // $Id $9 // $Id:spell-checker.js 856M 2007-06-13 18:34:34Z (local) $ 10 10 11 11 Xinha.Config.prototype.SpellChecker = { 'backend': 'php', 'personalFilesDir' : '', 'defaultDictionary' : 'en_GB', 'utf8_to_entities' : true }; … … 54 54 SpellChecker.editor = editor; 55 55 SpellChecker.init = true; 56 var uiurl = _editor_url + "plugins/SpellChecker/spell-check-ui.html";56 var uiurl = Xinha.getPluginDir("SpellChecker") + "/spell-check-ui.html"; 57 57 var win; 58 58 if (Xinha.is_ie) { -
trunk/plugins/SuperClean/super-clean.js
r744 r999 111 111 // editor.setHTML('<strong>Tidied Html</strong>') 112 112 // it's called through XMLHTTPRequest 113 'tidy_handler': _editor_url + 'plugins/SuperClean/tidy.php',113 'tidy_handler': Xinha.getPluginDir("SuperClean") + '/tidy.php', 114 114 115 115 //avaliable filters (these are built-in filters) … … 219 219 else 220 220 { 221 Xinha._getback( _editor_url + 'plugins/SuperClean/filters/'+filter+'.js',221 Xinha._getback(Xinha.getPluginDir("SuperClean") + '/filters/'+filter+'.js', 222 222 function(func) { 223 223 eval('SuperClean.filterFunctions.'+filter+'='+func+';'); … … 256 256 if(this.html == false) 257 257 { 258 Xinha._getback( _editor_url + 'plugins/SuperClean/dialog.html', function(txt) { lDialog.html = txt; lDialog._prepareDialog(); });258 Xinha._getback(Xinha.getPluginDir("SuperClean") + '/dialog.html', function(txt) { lDialog.html = txt; lDialog._prepareDialog(); }); 259 259 return; 260 260 } -
trunk/plugins/TableOperations/table-operations.js
r988 r999 11 11 // http://dynarch.com/mishoo 12 12 // 13 // $Id $13 // $Id:table-operations.js 988 2008-04-12 13:46:09Z ray $ 14 14 15 15 // Object that will encapsulate all the table operations provided by -
trunk/plugins/Template/template.js
r893 r999 35 35 36 36 Template.prototype.onGenerate = function() { 37 this.editor.addEditorStylesheet( _editor_url + 'plugins/Template/template.css');37 this.editor.addEditorStylesheet(Xinha.getPluginDir("Template") + '/template.css'); 38 38 }; 39 39 -
trunk/popups/popup.js
r929 r999 10 10 // http://dynarch.com/mishoo 11 11 // 12 // $Id $12 // $Id:popup.js 929 2008-01-09 21:10:59Z ray $ 13 13 if(typeof Xinha == 'undefined') 14 14 Xinha = window.opener.Xinha;
