fix: reinforcements sent back do not hide the reinforcements table

This commit is contained in:
Martin Ambrus
2017-11-19 02:33:07 +01:00
parent 258ba60014
commit 07e5f322e2
4 changed files with 44 additions and 17 deletions
+6 -2
View File
@@ -1,4 +1,8 @@
<div id="build" class="gid16"><a href="#" onClick="return Popup(16,4);" class="build_logo">
<?php
if (isset($_GET['refresh'])) {
$village->unitarray = $database->getUnit($village->wid, false);
}
?><div id="build" class="gid16"><a href="#" onClick="return Popup(16,4);" class="build_logo">
<img class="g16" src="img/x.gif" alt="Rally point" title="<?php echo RALLYPOINT;?>" />
</a>
<h1><?php echo RALLYPOINT;?> <span class="level"><?php echo LEVEL;?> <?php echo $village->resarray['f'.$id]; ?></span></h1>
@@ -31,7 +35,7 @@ if($units_incoming > 0 or $settlers_incoming > 0 or $oasis_incoming > 0){
<?php include("16_incomming.tpl");
}
?>
<h4><?php echo TROOPS_IN_THE_VILLAGE;?></h4>
<table class="troop_details" cellpadding="1" cellspacing="1">
<thead>