summaryrefslogtreecommitdiffstats
path: root/pages/chat.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-01-25 20:31:34 -0600
committerBlueRaja <BlueRaja.admin@gmail.com>2013-01-25 20:31:34 -0600
commit1e65273d68ffdec07f49c14e929499af21f7776a (patch)
treeb96bc71d1645a66cc2754996fcecba71dfcd596c /pages/chat.php
parentf20d2221d1da6f7e1d3b7126261ee320ed0158b2 (diff)
parent8a276a1857bc28677ac43c083d44a0ce5bf63343 (diff)
downloadpathery-1e65273d68ffdec07f49c14e929499af21f7776a.tar.xz
Merge branch 'doin_shit_on_laptop'
Conflicts: includes/datas.php also fixed some stuffs
Diffstat (limited to 'pages/chat.php')
-rw-r--r--pages/chat.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/pages/chat.php b/pages/chat.php
index 094f86a..5ecbaab 100644
--- a/pages/chat.php
+++ b/pages/chat.php
@@ -247,10 +247,11 @@ function htmlEncode(value){
<div class='chatContainer2'>
<form id='sendChat' onsubmit="return false">
- <input type="hidden" name="stuff" value="1724">
- <input class='chatButton' type="button" class="send" id='chatSendBtn' value='Send' onClick="sendChat();">
- <input class='chatInputMessage' type="text" name="message" id="message" value="" maxlength="255" autocomplete="off" >
-
+ <? if($accepted) { /*Only show the chat button if we're logged in*/ ?>
+ <input type="hidden" name="stuff" value="1724">
+ <input class='chatButton' type="button" class="send" id='chatSendBtn' value='Send' onClick="sendChat();">
+ <input class='chatInputMessage' type="text" name="message" id="message" value="" maxlength="255" autocomplete="off" >
+ <? } ?>
</form>
<div id='chatContainer'>