Ignore:
Timestamp:
05/05/10 15:52:35 (14 years ago)
Author:
rodsouza
Message:

Ticket #1058 - Adaptando todo o expressoAdmin1_2 para não realizar reload.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/js/jscode/institutional_accounts.js

    r2707 r2712  
    2424        { 
    2525                close_lightbox(); 
    26                 write_msg(get_lang('Institutional account successful created') + '.', 'normal'); 
     26                write_msg( ExpressoLivre.translate( 'Institutional account successful created' ) + '.', 'normal'); 
    2727        } 
    2828        return; 
     
    101101        clearTimeout(finderTimeout); 
    102102        var oWait = Element("ea_span_searching"); 
    103         oWait.innerHTML = get_lang('searching') + '...'; 
     103        oWait.innerHTML =  ExpressoLivre.translate( 'searching' ) + '...'; 
    104104        finderTimeout = setTimeout("optionFinder('"+obj.id+"')",500); 
    105105} 
     
    188188function get_institutional_accounts_timeOut(input) 
    189189{ 
    190         var head_table = '<table border="0" width="90%"><tr bgcolor="#d3dce3"><td width="30%">'+get_lang("full name")+'</td><td width="30%">'+get_lang("mail")+'</td><td width="5%" align="center">'+get_lang("remove")+'</td></tr></table>'; 
     190        var head_table = '<table border="0" width="90%"><tr bgcolor="#d3dce3"><td width="30%">'+ ExpressoLivre.translate( "full name" )+'</td><td width="30%">'+ ExpressoLivre.translate( "mail" )+'</td><td width="5%" align="center">'+ ExpressoLivre.translate( "remove" )+'</td></tr></table>'; 
    191191         
    192192        if (input.length > 4) 
     
    208208                if (data.status == 'true') 
    209209                { 
    210                         var table = '<table border="0" width="90%"><tr bgcolor="#d3dce3"><td width="30%">'+get_lang("full name")+'</td><td width="30%">'+get_lang("mail")+'</td><td width="5%" align="center">'+get_lang("remove")+'</td></tr>'+data.trs+'</table>'; 
     210                        var table = '<table border="0" width="90%"><tr bgcolor="#d3dce3"><td width="30%">'+ ExpressoLivre.translate( "full name" )+'</td><td width="30%">'+ ExpressoLivre.translate( "mail" )+'</td><td width="5%" align="center">'+ ExpressoLivre.translate( "remove" )+'</td></tr>'+data.trs+'</table>'; 
    211211                        Element('institutional_accounts_content').innerHTML = table; 
    212212                } 
     
    293293                get_institutional_accounts(Element('ea_institutional_account_search').value); 
    294294                close_lightbox(); 
    295                 write_msg(get_lang('Institutional account successful saved') + '.', 'normal'); 
     295                write_msg( ExpressoLivre.translate( 'Institutional account successful saved' ) + '.', 'normal'); 
    296296        } 
    297297        return; 
     
    300300function delete_institutional_accounts(uid) 
    301301{ 
    302         if (!confirm(get_lang('Are you sure that you want to delete this institutional account') + "?")) 
     302        if (!confirm( ExpressoLivre.translate( 'Are you sure that you want to delete this institutional account' ) + "?")) 
    303303                return; 
    304304         
     
    311311                else 
    312312                { 
    313                         write_msg(get_lang('Institutional account successful deleted') + '.', 'normal'); 
     313                        write_msg( ExpressoLivre.translate( 'Institutional account successful deleted' ) + '.', 'normal'); 
    314314                        get_institutional_accounts(Element('ea_institutional_account_search').value); 
    315315                } 
Note: See TracChangeset for help on using the changeset viewer.