aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-31 13:21:48 +0200
committerMario Vavti <mario@mariovavti.com>2016-03-31 13:21:48 +0200
commit3fdd110e0775113d2246a9db16c6c920ecddf19d (patch)
tree923312a2ca85025b230d7b331bae2ec211eb64ea /include/widgets.php
parent1cd3b4182595b838a535dd6b6990251db05d49e6 (diff)
downloadvolse-hubzilla-3fdd110e0775113d2246a9db16c6c920ecddf19d.tar.gz
volse-hubzilla-3fdd110e0775113d2246a9db16c6c920ecddf19d.tar.bz2
volse-hubzilla-3fdd110e0775113d2246a9db16c6c920ecddf19d.zip
mod chat rework continued
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 014160867..50e4cb184 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -809,6 +809,14 @@ function widget_chatroom_list($arr) {
}
}
+function widget_chatroom_members() {
+ $o = replace_macros(get_markup_template('chatroom_members.tpl'), array(
+ '$header' => t('Chatroom Members')
+ ));
+
+ return $o;
+}
+
function widget_bookmarkedchats($arr) {
$h = get_observer_hash();
if(! $h)