Merge pull request #157 from armando1980/patch-53

fix lang tempalte/build by: Armando
This commit is contained in:
Shadow
2014-05-12 08:41:53 +03:00
+10 -10
View File
@@ -2,16 +2,16 @@
include("next.tpl");
?>
<div id="build" class="gid7"><a href="#" onClick="return Popup(7,4);" class="build_logo">
<img class="building g7" src="img/x.gif" alt="Iron Foundry" title="Iron Foundry" />
<img class="building g7" src="img/x.gif" alt="Iron Foundry" title="<?php echo IRONFOUNDRY; ?>" />
</a>
<h1>Iron Foundry <span class="level">Level <?php echo $village->resarray['f'.$id]; ?></span></h1>
<p class="build_desc">Iron is smelted here. Based on its level your Iron Foundry can increase your iron production by up to 25 percent.</p>
<h1><?php echo IRONFOUNDRY; ?> <span class="level"><?php echo LEVEL; ?> <?php echo $village->resarray['f'.$id]; ?></span></h1>
<p class="build_desc"><?php echo IRONFOUNDRY_DESC; ?></p>
<table cellpadding="1" cellspacing="1" id="build_value">
<tr>
<th>Current iron bonus:</th>
<td><b><?php echo $bid7[$village->resarray['f'.$id]]['attri']; ?></b> Percent</td>
<th><?php echo CURRENT_IRON_BONUS; ?></th>
<td><b><?php echo $bid7[$village->resarray['f'.$id]]['attri']; ?></b> <?php echo PERCENT; ?></td>
</tr>
<tr>
<?php
@@ -19,13 +19,13 @@ include("next.tpl");
$next = $village->resarray['f'.$id]+1+$loopsame+$doublebuild+$master;
if($next<=5){
?>
<th>Iron bonus at level <?php echo $next; ?>:</th>
<td><b><?php echo $bid7[$next]['attri']; ?></b> Percent</td>
<th><?php echo IRON_BONUS_LEVEL; ?> <?php echo $next; ?>:</th>
<td><b><?php echo $bid7[$next]['attri']; ?></b> <?php echo PERCENT; ?></td>
<?php
}else{
?>
<th>Iron bonus at level 5:</th>
<td><b><?php echo $bid7[5]['attri']; ?></b> Percent</td>
<th><?php echo IRON_BONUS_LEVEL; ?> 5:</th>
<td><b><?php echo $bid7[5]['attri']; ?></b> <?php echo PERCENT; ?></td>
<?php
}}
?>
@@ -34,4 +34,4 @@ include("next.tpl");
<?php
include("upgrade.tpl");
?>
</p></div>
</p></div>