aboutsummaryrefslogtreecommitdiffstats
path: root/mod/chat.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-29 20:14:18 -0800
committerfriendica <info@friendica.com>2014-01-29 20:14:18 -0800
commit9fdee53c9a35d584de8cacd071c6608de88a18b6 (patch)
treec978f5d246c0358fd3a8d978523f22925aeff927 /mod/chat.php
parent838ebbcb62aaaca8f19e338fe89c484f9d4ececd (diff)
downloadvolse-hubzilla-9fdee53c9a35d584de8cacd071c6608de88a18b6.tar.gz
volse-hubzilla-9fdee53c9a35d584de8cacd071c6608de88a18b6.tar.bz2
volse-hubzilla-9fdee53c9a35d584de8cacd071c6608de88a18b6.zip
start on the ajax bits
Diffstat (limited to 'mod/chat.php')
-rw-r--r--mod/chat.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/chat.php b/mod/chat.php
index 42a7808d9..b8af4c1a6 100644
--- a/mod/chat.php
+++ b/mod/chat.php
@@ -61,7 +61,10 @@ function chat_content(&$a) {
$x = chatroom_enter($observer,$room_id,'online',$_SERVER['REMOTE_ADDR']);
if(! $x)
return;
- $o = replace_macros(get_markup_template('chat.tpl'),array());
+ $o = replace_macros(get_markup_template('chat.tpl'),array(
+ '$room_id' => $room_id,
+ '$submit' => t('Submit')
+ ));
return $o;
}