summaryrefslogtreecommitdiff
path: root/template/chat.st
diff options
context:
space:
mode:
authorsostler <sbostler@gmail.com>2010-01-12 00:36:33 -0500
committersostler <sbostler@gmail.com>2010-01-12 00:36:33 -0500
commit54d552f0376f5e58d9998c2ace860e80d2fd49ba (patch)
tree0c7b51a08d8b085b7f320c68bcb468e45436ebe7 /template/chat.st
parent7aa611019b6adb1bce5fd83c1ad90de406f6ea85 (diff)
Added browser template
Diffstat (limited to 'template/chat.st')
-rwxr-xr-xtemplate/chat.st6
1 files changed, 5 insertions, 1 deletions
diff --git a/template/chat.st b/template/chat.st
index 5c97275..701dd92 100755
--- a/template/chat.st
+++ b/template/chat.st
@@ -9,7 +9,11 @@
var Room = $json_room_key$;
var Timestamp = $timestamp$;
var PostedMessages = [];
- var IsAdmin = $if(isadmin)$ true $else$ false $endif$
+ $if(isadmin)$
+ var IsAdmin = true;
+ $else$
+ var IsAdmin = false;
+ $endif$
</script>
$if(isadminroom)$