Ignore:
Timestamp:
01/22/07 02:09:48 (13 years ago)
Author:
ray
Message:

Ticket #916 TODO: Change plugins to use Xinha object name

Location:
trunk/plugins/ExtendedFileManager/assets
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ExtendedFileManager/assets/images.js

    r677 r681  
    1010 
    1111function i18n(str) { 
    12     return HTMLArea._lc(str, 'ExtendedFileManager'); 
     12    return Xinha._lc(str, 'ExtendedFileManager'); 
    1313} 
    1414 
  • trunk/plugins/ExtendedFileManager/assets/manager.js

    r677 r681  
    2020//Translation 
    2121function i18n(str) { 
    22     return HTMLArea._lc(str, 'ExtendedFileManager'); 
     22    return Xinha._lc(str, 'ExtendedFileManager'); 
    2323} 
    2424 
     
    5050if (manager_mode == "link") 
    5151{ 
    52     var offsetForInputs = (HTMLArea.is_ie) ? 155 : 140; 
     52    var offsetForInputs = (Xinha.is_ie) ? 155 : 140; 
    5353} 
    5454else 
    5555{ 
    56     var offsetForInputs = (HTMLArea.is_ie) ? 220 : 200; 
     56    var offsetForInputs = (Xinha.is_ie) ? 220 : 200; 
    5757}     
    5858init = function () 
     
    100100        // (when the user alters the dimensions in the picker), clean that up 
    101101        // so it looks right and we get back to a normal f_url 
    102         var rd = _resized_dir.replace(HTMLArea.RE_Specials, '\\$1'); 
    103         var rp = _resized_prefix.replace(HTMLArea.RE_Specials, '\\$1'); 
     102        var rd = _resized_dir.replace(Xinha.RE_Specials, '\\$1'); 
     103        var rp = _resized_prefix.replace(Xinha.RE_Specials, '\\$1'); 
    104104        var dreg = new RegExp('^(.*/)' + rd + '/' + rp + '_([0-9]+)x([0-9]+)_([^/]+)$'); 
    105105 
     
    321321        { 
    322322          // Yup, need to resize 
    323           var resized = HTMLArea._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); 
     323          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); 
    324324 
    325325          // alert(resized); 
     
    529529function resize() 
    530530{ 
    531         var win = HTMLArea.viewportSize(window); 
     531        var win = Xinha.viewportSize(window); 
    532532        document.getElementById('imgManager').style.height = win.y - 150 - offsetForInputs + 'px'; 
    533533         
  • trunk/plugins/ExtendedFileManager/assets/popup.js

    r677 r681  
    2424            var span = spans[i]; 
    2525            if (span.firstChild && span.firstChild.data) { 
    26                 var txt = HTMLArea._lc(span.firstChild.data, context); 
     26                var txt = Xinha._lc(span.firstChild.data, context); 
    2727                if (txt) 
    2828                    span.firstChild.data = txt; 
    2929            } 
    3030            if (span.title) { 
    31                 var txt = HTMLArea._lc(span.title, context); 
     31                var txt = Xinha._lc(span.title, context); 
    3232                if (txt) 
    3333                    span.title = txt; 
    3434            } 
    3535            if (span.alt) { 
    36                 var txt = HTMLArea._lc(span.alt, context); 
     36                var txt = Xinha._lc(span.alt, context); 
    3737                if (txt) 
    3838                    span.alt = txt; 
     
    4040        } 
    4141    } 
    42     document.title = HTMLArea._lc(document.title, context); 
     42    document.title = Xinha._lc(document.title, context); 
    4343} 
    4444 
Note: See TracChangeset for help on using the changeset viewer.