mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-29 22:57:16 +00:00
l10n: full interface translation (FR/RO/IT/ZH) + EN fallback hardening (#186)
This commit is contained in:
+11
-11
@@ -1,11 +1,11 @@
|
||||
<h1>Send Troops</h1>
|
||||
<h1><?php echo SEND_TROOPS; ?></h1>
|
||||
|
||||
<form method="POST" name="snd" action="a2b.php"><input name="timestamp" value="1278280730" type="hidden"> <input name="timestamp_checksum" value="597fa8" type="hidden"> <input name="b" value="1" type="hidden">
|
||||
|
||||
|
||||
<table id="troops" cellpadding="1" cellspacing="1">
|
||||
<tbody><tr>
|
||||
<td class="line-first column-first large"><img class="unit u1" src="img/x.gif" title="Legionnaire" onclick="document.snd.t1.value=''; return false;" alt="Legionnaire"> <input class="text" <?php if ($village->unitarray['u1']<=0) {echo ' disabled="disabled"';}?> name="t1" value="" maxlength="6" type="text">
|
||||
<td class="line-first column-first large"><img class="unit u1" src="img/x.gif" title="<?php echo U1; ?>" onclick="document.snd.t1.value=''; return false;" alt="<?php echo U1; ?>"> <input class="text" <?php if ($village->unitarray['u1']<=0) {echo ' disabled="disabled"';}?> name="t1" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u1']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t1.value=".$village->unitarray['u1']."; return false;\">(".$village->unitarray['u1'].")</a></td>";
|
||||
@@ -14,7 +14,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<td class="line-first large"><img class="unit u4" src="img/x.gif" title="Equites Legati" alt="Equites Legati"> <input class="text" <?php if ($village->unitarray['u4']<=0) {echo ' disabled="disabled"';}?> name="t4" value="" maxlength="6" type="text">
|
||||
<td class="line-first large"><img class="unit u4" src="img/x.gif" title="<?php echo U4; ?>" alt="<?php echo U4; ?>"> <input class="text" <?php if ($village->unitarray['u4']<=0) {echo ' disabled="disabled"';}?> name="t4" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u4']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t4.value=".$village->unitarray['u4']."; return false;\">(".$village->unitarray['u4'].")</a></td>";
|
||||
@@ -22,7 +22,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="line-first regular"><img class="unit u7" src="img/x.gif" title="Battering Ram" alt="Battering Ram"> <input class="text" <?php if ($village->unitarray['u7']<=0) {echo ' disabled="disabled"';}?> name="t7" value="" maxlength="6" type="text">
|
||||
<td class="line-first regular"><img class="unit u7" src="img/x.gif" title="<?php echo U7; ?>" alt="<?php echo U7; ?>"> <input class="text" <?php if ($village->unitarray['u7']<=0) {echo ' disabled="disabled"';}?> name="t7" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u7']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t7.value=".$village->unitarray['u7']."; return false;\">(".$village->unitarray['u7'].")</a></td>";
|
||||
@@ -32,7 +32,7 @@
|
||||
?>
|
||||
|
||||
|
||||
<td class="line-first column-last small"><img class="unit u9" src="img/x.gif" title="Senator" alt="Senator"> <input class="text" <?php if ($village->unitarray['u9']<=0) {echo ' disabled="disabled"';}?> name="t9" value="" maxlength="6" type="text">
|
||||
<td class="line-first column-last small"><img class="unit u9" src="img/x.gif" title="<?php echo U9; ?>" alt="<?php echo U9; ?>"> <input class="text" <?php if ($village->unitarray['u9']<=0) {echo ' disabled="disabled"';}?> name="t9" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u9']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t9.value=".$village->unitarray['u9']."; return false;\">(".$village->unitarray['u9'].")</a></td>";
|
||||
@@ -42,7 +42,7 @@
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column-first large"><img class="unit u2" src="img/x.gif" title="Praetorian" alt="Praetorian"> <input class="text" <?php if ($village->unitarray['u2']<=0) {echo ' disabled="disabled"';}?> name="t2" value="" maxlength="6" type="text">
|
||||
<td class="column-first large"><img class="unit u2" src="img/x.gif" title="<?php echo U2; ?>" alt="<?php echo U2; ?>"> <input class="text" <?php if ($village->unitarray['u2']<=0) {echo ' disabled="disabled"';}?> name="t2" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u2']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t2.value=".$village->unitarray['u2']."; return false;\">(".$village->unitarray['u2'].")</a></td>";
|
||||
@@ -51,7 +51,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<td class="large"><img class="unit u5" src="img/x.gif" title="Equites Imperatoris" alt="Equites Imperatoris"> <input class="text" <?php if ($village->unitarray['u5']<=0) {echo ' disabled="disabled"';}?> name="t5" value="" maxlength="6" type="text">
|
||||
<td class="large"><img class="unit u5" src="img/x.gif" title="<?php echo U5; ?>" alt="<?php echo U5; ?>"> <input class="text" <?php if ($village->unitarray['u5']<=0) {echo ' disabled="disabled"';}?> name="t5" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u5']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t5.value=".$village->unitarray['u5']."; return false;\">(".$village->unitarray['u5'].")</a></td>";
|
||||
@@ -59,7 +59,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="regular"><img class="unit u8" src="img/x.gif" title="Fire Catapult" alt="Fire Catapult"> <input class="text" <?php if ($village->unitarray['u8']<=0) {echo ' disabled="disabled"';}?> name="t8" value="" maxlength="6" type="text">
|
||||
<td class="regular"><img class="unit u8" src="img/x.gif" title="<?php echo U8; ?>" alt="<?php echo U8; ?>"> <input class="text" <?php if ($village->unitarray['u8']<=0) {echo ' disabled="disabled"';}?> name="t8" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u8']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t8.value=".$village->unitarray['u8']."; return false;\">(".$village->unitarray['u8'].")</a></td>";
|
||||
@@ -67,7 +67,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="column-last small"><img class="unit u10" src="img/x.gif" title="Settler" alt="Settler"> <input class="text" <?php if ($village->unitarray['u10']<=0) {echo ' disabled="disabled"';}?> name="t10" value="" maxlength="6" type="text">
|
||||
<td class="column-last small"><img class="unit u10" src="img/x.gif" title="<?php echo U10; ?>" alt="<?php echo U10; ?>"> <input class="text" <?php if ($village->unitarray['u10']<=0) {echo ' disabled="disabled"';}?> name="t10" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u10']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t10.value=".$village->unitarray['u10']."; return false;\">(".$village->unitarray['u10'].")</a></td>";
|
||||
@@ -77,7 +77,7 @@
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="line-last column-first large"><img class="unit u3" src="img/x.gif" title="Imperian" alt="Imperian"> <input class="text" <?php if ($village->unitarray['u3']<=0) {echo ' disabled="disabled"';}?> name="t3" value="" maxlength="6" type="text">
|
||||
<td class="line-last column-first large"><img class="unit u3" src="img/x.gif" title="<?php echo U3; ?>" alt="<?php echo U3; ?>"> <input class="text" <?php if ($village->unitarray['u3']<=0) {echo ' disabled="disabled"';}?> name="t3" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u3']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t3.value=".$village->unitarray['u3']."; return false;\">(".$village->unitarray['u3'].")</a></td>";
|
||||
@@ -85,7 +85,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="line-last large"><img class="unit u6" src="img/x.gif" title="Equites Caesaris" alt="Equites Caesaris"> <input class="text" <?php if ($village->unitarray['u6']<=0) {echo ' disabled="disabled"';}?> name="t6" value="" maxlength="6" type="text">
|
||||
<td class="line-last large"><img class="unit u6" src="img/x.gif" title="<?php echo U6; ?>" alt="<?php echo U6; ?>"> <input class="text" <?php if ($village->unitarray['u6']<=0) {echo ' disabled="disabled"';}?> name="t6" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u6']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t6.value=".$village->unitarray['u6']."; return false;\">(".$village->unitarray['u6'].")</a></td>";
|
||||
|
||||
Reference in New Issue
Block a user