HB/onyx2/tpl/game/alliance/chat_ajax.tpl

27 lines
1.2 KiB
Smarty
Raw Normal View History

2020-11-15 15:12:30 +00:00
{include file='game/header.tpl'}
<h2>Chat</h2>
<noscript><div id="erreur" style="color: red;">Vous devez activer le JavaScript pour pouvoir utiliser le chat !</div></noscript>
{if $planete->permissions_alliance &256}
<form method="post" action="{$menu.chat_alli}" onsubmit="return chat_sendMessage();">
<label for="msg">Réponse :</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="msg" id="msg" type="text" size="50" maxlength="250" />&nbsp;&nbsp;&nbsp;&nbsp;<input value="GO" class="submit" type="submit" /> <input value="MAJ" onclick="chat_MAJ();" class="submit" type="button" />
</form>
<br />
{/if}
<div style="height: 550px; overflow: auto; width: 99%;">
<table style="width: 100%; margin: 0px;">
<tbody id="chat">
<tr>
<td colspan="2">Vous vous connectez au chat</td>
</tr>
</tbody>
<thead>
<tr>
<th style="width: 172px;">[pseudo] heure</td>
<th style="width: 536px;">Message</td>
</tr>
</thead>
</table>
</div>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/chat.js"></script>
{include file='game/footer.tpl'}