From 3329c1ea3439352e69a50fcdfa81d9b9d7eec75c Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Wed, 22 Nov 2017 15:38:23 +0100 Subject: [PATCH] feat: alt and title texts updated for fields under construction as well #321 --- Templates/field.tpl | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Templates/field.tpl b/Templates/field.tpl index 45dedbde..655a970c 100644 --- a/Templates/field.tpl +++ b/Templates/field.tpl @@ -16,14 +16,6 @@ $arrayVillage = $village->resarray; ?> procResType($arrayVillage['f'.$i.'t'])." Level ".$arrayVillage['f'.$i]."\"/>\r\n"; -} -?> - - - -
-getJobs($village->wid); $activeFields = []; if (count($jobs)) { @@ -34,6 +26,15 @@ if (count($jobs)) { } } +for ($i=1; $i<=18; $i++) { + echo " procResType($arrayVillage['f'.$i.'t'])." Level ".$arrayVillage['f'.$i].(isset($activeFields[$i]) ? ' (upgrade in progress)' : '')."\"/>\r\n"; +} +?> + + + +
+"; + echo "\"$text"; } } ?>