This commit is contained in:
iopietro
2018-04-29 00:49:32 +02:00
10 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ echo '</pre>';
<?php
if ($wood >= 750 && $clay >= 750 && $iron >= 750 && $crop >= 750) {
?>
<input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" alt="OK" src="img/x.gif" onclick="this.disabled=true;this.form.submit();"/>
<button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" onclick="this.disabled=true;this.form.submit();" /> Ok </button>
<?php
} else {
echo "<span class=\"c2\"><b>Not enough resource</b></span>";
+1 -1
View File
@@ -52,7 +52,7 @@ $coor['y']=$form->getValue("y");
</tr>
</tbody></table>
<input value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" type="image" onclick="this.disabled=true;this.form.submit();">
<button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" onclick="this.disabled=true;this.form.submit();" /> Ok </button>
</form>
<p class="error"><?php echo $form->getError("error"); ?></p>
</div>