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

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

Location:
trunk/plugins/ExtendedFileManager
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ExtendedFileManager/Classes/ExtendedFileManager.php

    r957 r999  
    1717/** 
    1818 * 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 $ 
    2222 */ 
    2323class ExtendedFileManager  
  • trunk/plugins/ExtendedFileManager/assets/dialog.js

    r929 r999  
    1010//   http://dynarch.com/mishoo 
    1111// 
    12 // $Id$ 
     12// $Id:dialog.js 929 2008-01-09 21:10:59Z ray $ 
    1313 
    1414// Though "Dialog" looks like an object, it isn't really an object.  Instead 
  • trunk/plugins/ExtendedFileManager/assets/images.js

    r799 r999  
    308308{ 
    309309    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'; 
    311311} 
    312312 
  • trunk/plugins/ExtendedFileManager/assets/manager.js

    r962 r999  
    261261                         
    262262                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'; 
    264264                        img.alt = i18n('Paste'); 
    265265                        a.appendChild(img); 
     
    326326        { 
    327327          // 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); 
    329329 
    330330          // alert(resized); 
  • trunk/plugins/ExtendedFileManager/assets/popup.js

    r939 r999  
    1010//   http://dynarch.com/mishoo 
    1111// 
    12 // $Id$ 
     12// $Id:popup.js 939 2008-01-22 21:11:43Z ray $ 
    1313 
    1414function __dlg_onclose() { 
  • trunk/plugins/ExtendedFileManager/extended-file-manager.js

    r937 r999  
    2828            id        : "linkfile", 
    2929            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', 
    3131            textMode  : false, 
    3232            action    : function(editor) { 
     
    6969{ 
    7070  'use_linker': true, 
    71   'backend'    : _editor_url + 'plugins/ExtendedFileManager/backend.php?__plugin=ExtendedFileManager&', 
     71  'backend'    : Xinha.getPluginDir('ExtendedFileManager') + '/backend.php?__plugin=ExtendedFileManager&', 
    7272  'backend_data' : null, 
    7373  // deprecated keys, use passing data through e.g. xinha_pass_to_php_backend() 
  • trunk/plugins/ExtendedFileManager/resizer.php

    r922 r999  
    77 * relative to the base_dir given in config.inc.php 
    88 * 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 $ 
    1111 * @package ImageManager 
    1212 */ 
Note: See TracChangeset for help on using the changeset viewer.