forked from halo-battle/game
27 lines
1.2 KiB
Smarty
27 lines
1.2 KiB
Smarty
{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> <input name="msg" id="msg" type="text" size="50" maxlength="250" /> <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'} |