Ignore:
Timestamp:
05/01/08 16:21:20 (12 years ago)
Author:
ray
Message:

#1195 Allow to specify an external url to load a plugin from

Location:
trunk/plugins/SpellChecker
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/SpellChecker/spell-check-logic.cgi

    r21 r999  
    99# This notice MUST stay intact for use (see license.txt). 
    1010# 
    11 # $Id$ 
     11# $Id:spell-check-logic.cgi 21 2005-02-19 05:23:56Z gogo $ 
    1212 
    1313use strict; 
  • trunk/plugins/SpellChecker/spell-check-ui.html

    r987 r999  
    1515   This notice MUST stay intact for use (see license.txt). 
    1616 
    17    $Id$ 
     17   $Id:spell-check-ui.html 987 2008-04-12 12:39:04Z ray $ 
    1818 
    1919--> 
  • trunk/plugins/SpellChecker/spell-check-ui.js

    r987 r999  
    77// This notice MUST stay intact for use (see license.txt). 
    88// 
    9 // $Id$ 
     9// $Id:spell-check-ui.js 987M 2008-04-12 12:39:04Z (local) $ 
    1010 
    1111// internationalization file was already loaded in parent ;-) 
     
    7676    } 
    7777    // 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); 
    7979    window.close(); 
    8080  } 
     
    216216  if(editor.config.SpellChecker.backend == 'php') 
    217217  { 
    218     field.form.action = _editor_url + '/plugins/SpellChecker/spell-check-logic.php'; 
     218    field.form.action = Xinha.getPluginDir("SpellChecker") + '/spell-check-logic.php'; 
    219219  } 
    220220  if(editor.config.SpellChecker.utf8_to_entities) 
  • trunk/plugins/SpellChecker/spell-checker.js

    r856 r999  
    77// This notice MUST stay intact for use (see license.txt). 
    88// 
    9 // $Id$ 
     9// $Id:spell-checker.js 856M 2007-06-13 18:34:34Z (local) $ 
    1010 
    1111Xinha.Config.prototype.SpellChecker = { 'backend': 'php', 'personalFilesDir' : '', 'defaultDictionary' : 'en_GB', 'utf8_to_entities' : true }; 
     
    5454    SpellChecker.editor = editor; 
    5555    SpellChecker.init = true; 
    56     var uiurl = _editor_url + "plugins/SpellChecker/spell-check-ui.html"; 
     56    var uiurl = Xinha.getPluginDir("SpellChecker") + "/spell-check-ui.html"; 
    5757    var win; 
    5858    if (Xinha.is_ie) { 
Note: See TracChangeset for help on using the changeset viewer.