summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorsostler <sbostler@gmail.com>2010-01-29 01:51:48 -0500
committersostler <sbostler@gmail.com>2010-01-29 01:51:48 -0500
commit65f06c8d8593881f10d767dd0610ca6f63569f56 (patch)
tree62b1dfe4650a0ecce5fe1131a447c44756d37fd9 /template
parent99cc0ef49a1d087401dbd8e1cfabc7c8d5cc2104 (diff)
Added upload to main chat
Diffstat (limited to 'template')
-rwxr-xr-xtemplate/chat.st10
1 files changed, 9 insertions, 1 deletions
diff --git a/template/chat.st b/template/chat.st
index cea2004..bf9a1ba 100755
--- a/template/chat.st
+++ b/template/chat.st
@@ -27,6 +27,14 @@
<script src="http://widgets.getclicky.com/tally/?site_id=170656&sitekey=736f7dd41a0612d8d50797c65768e71a&width=175&height=250&title=Visitors" type="text/javascript"></script>
$endif$
<script src="/static/away.js"></script>
+ <script src="/static/js/ajaxupload.js"></script>
+ <script>
+ if (Nick) {
+ jQuery(document).ready(function() {
+ setupUpload('upload', Room);
+ });
+ }
+ </script>
</head>
<body>
$banner()$
@@ -58,7 +66,7 @@
<input id="msgInput" class="msgInput" type="input" />
<input id="msgSubmit" type="submit" value="Send Image URL"
/>
- <input id="upload" value="Upload" type="submit">
+ <input id="upload" value="Upload" type="submit">
</div>
$endif$
</div>