Changeset 1045 for trunk


Ignore:
Timestamp:
10/02/08 18:06:02 (11 years ago)
Author:
douglas
Message:

FIXED Ticket #1284 Leftover usage of _editor_url cleaned up

Location:
trunk/plugins
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/BackgroundImage/background-image.js

    r1044 r1045  
    4646 
    4747  // 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) { 
    4949 
    5050    // Replace the template line with one line per image. 
     
    5454      for (bg in backgrounds) 
    5555      { 
    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'; 
    5858        replacement += template.replace(/%thumbnail%/,thumbURL).replace(/%image%/,imageURL); 
    5959      } 
  • trunk/plugins/ImageManager/image-picker.js

    r832 r1045  
    5353}; 
    5454 
    55 ImagePicker.prototype.backend             = _editor_url + 'plugins/ImageManager/backend.php?__plugin=ImageManager&'; 
     55ImagePicker.prototype.backend             = Xinha.getPluginDir('ImageManager') + '/backend.php?__plugin=ImageManager&'; 
    5656ImagePicker.prototype.backend_data        = null; 
    5757 
  • trunk/plugins/InsertSnippet/readme.html

    r677 r1045  
    2121<h2>Usage</h2> 
    2222<p> 
    23 In order to use your own snippets you have to al least one parameter to your xinha_config: 
     23In order to use your own snippets you have to add at least one parameter to your xinha_config: 
    2424</p> 
    2525<pre> 
    26 xinha_config.InsertSnippet.snippets = _editor_url+"plugins/InsertSnippet/snippets.php"; 
     26xinha_config.InsertSnippet.snippets = Xinha.getPluginDir('InsertSnippet') + "/snippets.php"; 
    2727</pre> 
    2828<p> 
  • trunk/plugins/UnFormat/un-format.js

    r1044 r1045  
    3333  self.loading = true; 
    3434  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; }); 
    3636} 
    3737UnFormat.prototype.onUpdateToolbar = function(editor){ 
Note: See TracChangeset for help on using the changeset viewer.