Merge pull request #94 from denixue/patch-5

Update Templates/goldClub/farmlist.tpl
This commit is contained in:
yi12345
2012-08-05 17:55:07 -07:00
+2 -3
View File
@@ -95,7 +95,7 @@ $vdata = $database->getVillage($towref);
<label for="slot<?php echo $id; ?>"> <label for="slot<?php echo $id; ?>">
<?php <?php
$type = $database->getVillageType2($towref); $type = $database->getVillageType2($towref);
$oasistype = $type['oasistype']; $type = $oasistype['oasistype'];
if($oasistype != 0){ if($oasistype != 0){
?> ?>
<span class="coordinates coordinatesWithText"> <span class="coordinates coordinatesWithText">
@@ -104,8 +104,7 @@ $vdata = $database->getVillage($towref);
<span class="coordinateY">(<?php echo $x; ?></span> <span class="coordinateY">(<?php echo $x; ?></span>
<span class="coordinatePipe">|</span> <span class="coordinatePipe">|</span>
<span class="coordinateX"><?php echo $y; ?>)</span> <span class="coordinateX"><?php echo $y; ?>)</span>
</span></span> </span></span><?php}else{?>
<?php }else{ ?>
<span class="coordinates coordinatesWithText"> <span class="coordinates coordinatesWithText">
<span class="coordText"><?php echo $vdata['name']; ?></span> <span class="coordText"><?php echo $vdata['name']; ?></span>
</span> </span>