aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-27 17:07:11 -0800
committerfriendica <info@friendica.com>2014-02-27 17:07:11 -0800
commit642da17b86cce8f6455a68d2d863a288d3c125c8 (patch)
tree4c5b55da0c27aba069bbab5971139bb9ba76c9f1 /view
parent402d44e2f4a7db97236d1999076ef57b69cec4b9 (diff)
downloadvolse-hubzilla-642da17b86cce8f6455a68d2d863a288d3c125c8.tar.gz
volse-hubzilla-642da17b86cce8f6455a68d2d863a288d3c125c8.tar.bz2
volse-hubzilla-642da17b86cce8f6455a68d2d863a288d3c125c8.zip
chatroom suggestions
Diffstat (limited to 'view')
-rw-r--r--view/pdl/mod_chat.pdl2
-rw-r--r--view/tpl/bookmarkedchats.tpl10
2 files changed, 12 insertions, 0 deletions
diff --git a/view/pdl/mod_chat.pdl b/view/pdl/mod_chat.pdl
index 6b1d2a15e..afc849868 100644
--- a/view/pdl/mod_chat.pdl
+++ b/view/pdl/mod_chat.pdl
@@ -1,3 +1,5 @@
[region=aside]
[widget=profile][/widget]
+[widget=bookmarkedchats][/widget]
+[widget=suggestededchats][/widget]
[/region]
diff --git a/view/tpl/bookmarkedchats.tpl b/view/tpl/bookmarkedchats.tpl
new file mode 100644
index 000000000..7635bb826
--- /dev/null
+++ b/view/tpl/bookmarkedchats.tpl
@@ -0,0 +1,10 @@
+{{if $rooms}}
+<div class="widget">
+<h3>{{$header}}</h3>
+<ul class="bookmarkchat">
+{{foreach $rooms as $room}}
+<li><a href="{{$room.xchat_url}}">{{$room.xchat_desc}}</a></li>
+{{/foreach}}
+</ul>
+</div>
+{{/if}} \ No newline at end of file