aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-12-04 10:17:13 +0100
committerMario Vavti <mario@mariovavti.com>2015-12-04 10:17:13 +0100
commit8a9d743f6f518d3af35014130dcef8f148148113 (patch)
treef3660377b3daf6599623d2e4fb95b4d33c30d8cc /include/widgets.php
parent615c97132d37027833744a6a00da4ebc08840309 (diff)
downloadvolse-hubzilla-8a9d743f6f518d3af35014130dcef8f148148113.tar.gz
volse-hubzilla-8a9d743f6f518d3af35014130dcef8f148148113.tar.bz2
volse-hubzilla-8a9d743f6f518d3af35014130dcef8f148148113.zip
fix rendering of unseen forum posts count
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index d4f3d32e1..89836f90c 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -1148,7 +1148,7 @@ function widget_forums($arr) {
foreach($r1 as $rr) {
if($unseen && (! intval($rr['unseen'])))
continue;
- $o .= '<li><span class="pull-right">' . ((intval($rr['unseen'])) ? intval($rr['unseen']) : '') . '</span><a href="network?f=&pf=1&cid=' . $rr['abook_id'] . '" ><img src="' . $rr['xchan_photo_s'] . '" style="width: 16px; height: 16px;" /> ' . $rr['xchan_name'] . '</a></li>';
+ $o .= '<li><a href="network?f=&pf=1&cid=' . $rr['abook_id'] . '" ><span class="badge pull-right">' . ((intval($rr['unseen'])) ? intval($rr['unseen']) : '') . '</span><img src="' . $rr['xchan_photo_s'] . '" style="width: 16px; height: 16px;" /> ' . $rr['xchan_name'] . '</a></li>';
}
$o .= '</ul></div>';
}