aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
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