aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Forums.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-29 12:43:27 +0200
committerMario Vavti <mario@mariovavti.com>2017-03-29 12:43:27 +0200
commit107083e3e49ddb91de7df5133fc6771721e31e10 (patch)
tree94430200308872c4c16696f844f0f5eb8d5283d9 /Zotlabs/Widget/Forums.php
parentd7a9d22a158126889a07ba2158603aef7932be77 (diff)
downloadvolse-hubzilla-107083e3e49ddb91de7df5133fc6771721e31e10.tar.gz
volse-hubzilla-107083e3e49ddb91de7df5133fc6771721e31e10.tar.bz2
volse-hubzilla-107083e3e49ddb91de7df5133fc6771721e31e10.zip
fix widgets for bs4 again
Diffstat (limited to 'Zotlabs/Widget/Forums.php')
-rw-r--r--Zotlabs/Widget/Forums.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Forums.php b/Zotlabs/Widget/Forums.php
index 5f04a9fcc..67e498b24 100644
--- a/Zotlabs/Widget/Forums.php
+++ b/Zotlabs/Widget/Forums.php
@@ -82,12 +82,12 @@ class Forums {
if($r1) {
$o .= '<div class="widget">';
- $o .= '<h3>' . t('Forums') . '</h3><ul class="nav nav-pills nav-stacked">';
+ $o .= '<h3>' . t('Forums') . '</h3><ul class="nav nav-pills flex-column">';
foreach($r1 as $rr) {
if($unseen && (! intval($rr['unseen'])))
continue;
- $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 .= '<li class="nav-item"><a class="nav-link" href="network?f=&pf=1&cid=' . $rr['abook_id'] . '" ><span class="badge badge-default float-right">' . ((intval($rr['unseen'])) ? intval($rr['unseen']) : '') . '</span><img class ="menu-img-1" src="' . $rr['xchan_photo_s'] . '" /> ' . $rr['xchan_name'] . '</a></li>';
}
$o .= '</ul></div>';
}