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/ExtendedFileManager/assets
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 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() { 
Note: See TracChangeset for help on using the changeset viewer.