Changeset 1045
- Timestamp:
- 10/02/08 13:06:02 (2 months ago)
- Location:
- trunk/plugins
- Files:
-
- 4 modified
-
BackgroundImage/background-image.js (modified) (2 diffs)
-
ImageManager/image-picker.js (modified) (1 diff)
-
InsertSnippet/readme.html (modified) (1 diff)
-
UnFormat/un-format.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/BackgroundImage/background-image.js
r1044 r1045 46 46 47 47 // When we get back from loading the dialog, we'll process our image template to handle as many images as specified. 48 Xinha._getback( _editor_url + 'plugins/BackgroundImage/dialog.html', function(getback) {48 Xinha._getback(Xinha.getPluginDir('BackgroundImage') + '/dialog.html', function(getback) { 49 49 50 50 // Replace the template line with one line per image. … … 54 54 for (bg in backgrounds) 55 55 { 56 var thumbURL = _editor_url + 'plugins/BackgroundImage/backgrounds/thumbnails/' + bg + '.jpg';57 var imageURL = _editor_url + 'plugins/BackgroundImage/backgrounds/' + bg + '.jpg';56 var thumbURL = Xinha.getPluginDir('BackgroundImage') + '/backgrounds/thumbnails/' + bg + '.jpg'; 57 var imageURL = Xinha.getPluginDir('BackgroundImage') + '/backgrounds/' + bg + '.jpg'; 58 58 replacement += template.replace(/%thumbnail%/,thumbURL).replace(/%image%/,imageURL); 59 59 } -
trunk/plugins/ImageManager/image-picker.js
r832 r1045 53 53 }; 54 54 55 ImagePicker.prototype.backend = _editor_url + 'plugins/ImageManager/backend.php?__plugin=ImageManager&';55 ImagePicker.prototype.backend = Xinha.getPluginDir('ImageManager') + '/backend.php?__plugin=ImageManager&'; 56 56 ImagePicker.prototype.backend_data = null; 57 57 -
trunk/plugins/InsertSnippet/readme.html
r677 r1045 21 21 <h2>Usage</h2> 22 22 <p> 23 In order to use your own snippets you have to a lleast one parameter to your xinha_config:23 In order to use your own snippets you have to add at least one parameter to your xinha_config: 24 24 </p> 25 25 <pre> 26 xinha_config.InsertSnippet.snippets = _editor_url+"plugins/InsertSnippet/snippets.php";26 xinha_config.InsertSnippet.snippets = Xinha.getPluginDir('InsertSnippet') + "/snippets.php"; 27 27 </pre> 28 28 <p> -
trunk/plugins/UnFormat/un-format.js
r1044 r1045 33 33 self.loading = true; 34 34 self.methodsReady = true; 35 Xinha._getback( _editor_url + 'plugins/UnFormat/dialog.html', function(getback) { self.html = getback; self.dialogReady = true; });35 Xinha._getback(Xinha.getPluginDir('UnFormat') + '/dialog.html', function(getback) { self.html = getback; self.dialogReady = true; }); 36 36 } 37 37 UnFormat.prototype.onUpdateToolbar = function(editor){
