mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +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:
@@ -59,7 +59,7 @@ if(isset($id))
|
||||
<textarea id="message" name="message" style="background-image: url('../<?php echo GP_LOCATE; ?>img/msg/underline.gif'); background-repeat: repeat; font-size: 12px; border: medium none; height: 258px; line-height: 16px; width: 412px; font-family: Verdana,Arial,Helvetica,sans-serif;">Message Here</textarea>
|
||||
</div>
|
||||
<p class="btn">
|
||||
<input type="image" value="submit" name="s1" id="btn_send" class="dynamic_img clicked" src="../img/admin/x.gif" alt="send" tabindex="4;">
|
||||
<button value="submit" name="s1" id="btn_send" class="trav_buttons" alt="send" tabindex="4;">Send</button>
|
||||
</p>
|
||||
<div id="read_foot" class="msg_foot"></div>
|
||||
</div>
|
||||
@@ -78,4 +78,4 @@ if(isset($id))
|
||||
else
|
||||
{
|
||||
echo "<br /><br />Not found. <a href=\"javascript: history.go(-1)\"> Go Back</a>";
|
||||
}?>
|
||||
}?>
|
||||
|
||||
@@ -40,7 +40,7 @@ if($session->access!=BANNED){
|
||||
<p>
|
||||
<input type="hidden" name="o" value="1">
|
||||
<input type="hidden" name="s" value="5">
|
||||
<input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" />
|
||||
<button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" /> Ok </button>
|
||||
</p>
|
||||
</form>
|
||||
<?php
|
||||
@@ -48,4 +48,4 @@ if($session->access!=BANNED){
|
||||
header("Location: banned.php");
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -26,5 +26,5 @@ include("alli_menu.tpl");
|
||||
<span class="error2"><?php echo $form->getError("ally2"); ?></span></td>
|
||||
</tr></tbody></table>
|
||||
|
||||
<p><input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" /></form></p>
|
||||
<p class="error"><?php echo $form->getError("perm"); ?></p>
|
||||
<p><button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" /> Ok </button></form></p>
|
||||
<p class="error"><?php echo $form->getError("perm"); ?></p>
|
||||
|
||||
@@ -21,7 +21,7 @@ include("alli_menu.tpl");
|
||||
<td><input class="name text" type="text" name="a_name" maxlength="30"><span class="error"></span></td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<p><input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" onclick="this.disabled=true;this.form.submit();"/></form> </p>
|
||||
<p><button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" onclick="this.disabled=true;this.form.submit();" /> Ok </button></form> </p>
|
||||
|
||||
<p class="error"><?php echo $form->getError("name1"); ?><br /><?php echo $form->getError("name2"); ?><br /><?php echo $form->getError("name3"); ?><br /><?php echo $form->getError("name4"); ?><br /><?php echo $form->getError("name5"); ?><br /><?php echo $form->getError("perm"); ?></p><br />
|
||||
<table cellpadding="1" cellspacing="1" id="invitations" class="small_option"><thead>
|
||||
@@ -47,4 +47,4 @@ if (count($allianceInvitations) == 0) {
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
@@ -38,7 +38,7 @@ include("alli_menu.tpl");
|
||||
<input type="hidden" name="o" value="2">
|
||||
<input type="hidden" name="s" value="5">
|
||||
<input type="hidden" name="a" value="2">
|
||||
<input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" />
|
||||
<button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" /> Ok </button>
|
||||
</p>
|
||||
</form>
|
||||
<p class="error"><?php echo $form->getError("perm"); ?></p>
|
||||
<p class="error"><?php echo $form->getError("perm"); ?></p>
|
||||
|
||||
@@ -26,5 +26,5 @@ include("alli_menu.tpl");
|
||||
</tr></tbody>
|
||||
</table>
|
||||
|
||||
<p><input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" /></p></form>
|
||||
<p class="error"><?php echo $form->getError("perm"); ?></p>
|
||||
<p><button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" /> Ok </button></p></form>
|
||||
<p class="error"><?php echo $form->getError("perm"); ?></p>
|
||||
|
||||
@@ -81,4 +81,4 @@ if ($alliance->userPermArray['opt5']==1){
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p><input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" onclick="this.disabled=true;this.form.submit();"/></p></form>
|
||||
<p><button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" onclick="this.disabled=true;this.form.submit();" /> Ok </button></p></form>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</tr></tbody>
|
||||
</table>
|
||||
|
||||
<p><input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" /></form></p><table cellpadding="1" cellspacing="1" id="join">
|
||||
<p><button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" /> Ok </button></form></p><table cellpadding="1" cellspacing="1" id="join">
|
||||
|
||||
<?php }else{ ?>
|
||||
<table cellpadding="1" cellspacing="1" id="found">
|
||||
@@ -52,4 +52,4 @@
|
||||
?></br><?php
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
@@ -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