Ignore:
Timestamp:
05/28/12 10:12:38 (8 years ago)
Author:
grum
Message:

feature:2642 - Compatibility with Piwigo 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMenuManager/admin/amm_personalisedlist_edit.tpl

    r5421 r15366  
    3636    var obj=document.getElementById(input_id); 
    3737    objhidden[objnames.indexOf(input_id)][objlang.options.selectedIndex].value = obj.value; 
    38   } 
    39  
    40   function do_translation() 
    41   { 
    42     var inputid = document.getElementById('iamm_personalised_title'); 
    43     var tolang = objlang.options[objlang.options.selectedIndex].value.substr(0,2); 
    44  
    45     google_translate(inputid.value, '{/literal}{$datas.fromlang}{literal}', tolang, inputid, 'value', apply_changes, inputid.id); 
    4638  } 
    4739 
     
    120112        </td> 
    121113      </tr> 
    122       <tr> 
    123         <td></td> 
    124         <td style="font-size:80%;"> 
    125           <a style="cursor:pointer;" onclick="do_translation()">{'g002_translate'|@translate}</a> 
    126         </td> 
    127       </tr> 
    128114 
    129115      <tr> 
Note: See TracChangeset for help on using the changeset viewer.