|
@@ -178,9 +178,9 @@
|
|
|
table[<?=$i?>] = '<?=$r['tab']?>';
|
|
table[<?=$i?>] = '<?=$r['tab']?>';
|
|
|
field[<?=$i?>] = '<?=$r['field']?>';
|
|
field[<?=$i?>] = '<?=$r['field']?>';
|
|
|
id[<?=$i?>] = '<?=$r['id']?>';
|
|
id[<?=$i?>] = '<?=$r['id']?>';
|
|
|
- es[<?=$i?>] = '<?=$r['es']?>';
|
|
|
|
|
- en[<?=$i?>] = '<?=$r['en']?>';
|
|
|
|
|
- eu[<?=$i?>] = '<?=$r['eu']?>';
|
|
|
|
|
|
|
+ es[<?=$i?>] = '<?=str_replace("'", "´", $r['es'])?>';
|
|
|
|
|
+ en[<?=$i?>] = '<?=str_replace("'", "´", $r['en'])?>';
|
|
|
|
|
+ eu[<?=$i?>] = '<?=str_replace("'", "´", $r['eu'])?>';
|
|
|
<?php
|
|
<?php
|
|
|
$i = $i + 1;
|
|
$i = $i + 1;
|
|
|
}
|
|
}
|
|
@@ -215,7 +215,7 @@
|
|
|
document.getElementById('t_translation').innerText = '';
|
|
document.getElementById('t_translation').innerText = '';
|
|
|
document.getElementById('t_translation').value = '';
|
|
document.getElementById('t_translation').value = '';
|
|
|
document.getElementById('t_translation').style.display = 'inline-block';
|
|
document.getElementById('t_translation').style.display = 'inline-block';
|
|
|
- document.getElementById('type').value = 'i';
|
|
|
|
|
|
|
+ document.getElementById('type').value = 't';
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -255,7 +255,6 @@
|
|
|
c = encodeURI(document.getElementById('t_translation').value);
|
|
c = encodeURI(document.getElementById('t_translation').value);
|
|
|
}
|
|
}
|
|
|
var url = "<?=$server?>/traducir/load.php?t=" + t + "&f=" + f + "&i=" + i + "&c=" + c + "&l=" + l + "&n=" + n;
|
|
var url = "<?=$server?>/traducir/load.php?t=" + t + "&f=" + f + "&i=" + i + "&c=" + c + "&l=" + l + "&n=" + n;
|
|
|
- alert(url);
|
|
|
|
|
var xhttp = new XMLHttpRequest();
|
|
var xhttp = new XMLHttpRequest();
|
|
|
xhttp.onreadystatechange = function() {
|
|
xhttp.onreadystatechange = function() {
|
|
|
// I won't notify 400 status code. I dont' want to be anoying.
|
|
// I won't notify 400 status code. I dont' want to be anoying.
|