mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-17 01:56:07 +00:00
Buttons replace (#535)
* Updating buttons * Update assignpos.tpl * Update changename.tpl * Update kick.tpl * Update kick.tpl * Update linkforum.tpl * Update search.tpl * Update 18_create.tpl * Update invite.tpl * Update option.tpl * Update newdorf.tpl
This commit is contained in:
@@ -78,7 +78,7 @@ echo '</pre>';
|
||||
<?php
|
||||
if ($wood>749 && $clay>749 && $iron>749 && $crop>749) {
|
||||
?>
|
||||
<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>";
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user