diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-29 12:43:27 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-29 12:43:27 +0200 |
commit | 107083e3e49ddb91de7df5133fc6771721e31e10 (patch) | |
tree | 94430200308872c4c16696f844f0f5eb8d5283d9 /Zotlabs/Widget/Activity.php | |
parent | d7a9d22a158126889a07ba2158603aef7932be77 (diff) | |
download | volse-hubzilla-107083e3e49ddb91de7df5133fc6771721e31e10.tar.gz volse-hubzilla-107083e3e49ddb91de7df5133fc6771721e31e10.tar.bz2 volse-hubzilla-107083e3e49ddb91de7df5133fc6771721e31e10.zip |
fix widgets for bs4 again
Diffstat (limited to 'Zotlabs/Widget/Activity.php')
-rw-r--r-- | Zotlabs/Widget/Activity.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Activity.php b/Zotlabs/Widget/Activity.php index 72a27bdf1..7264a3360 100644 --- a/Zotlabs/Widget/Activity.php +++ b/Zotlabs/Widget/Activity.php @@ -47,10 +47,10 @@ class Activity { if($arr) { $o .= '<div class="widget">'; - $o .= '<h3>' . t('Activity','widget') . '</h3><ul class="nav nav-pills nav-stacked">'; + $o .= '<h3>' . t('Activity','widget') . '</h3><ul class="nav nav-pills flex-column">'; foreach($arr as $rv) { - $o .= '<li><a href="network?f=&xchan=' . urlencode($rv['author_xchan']) . '" ><span class="badge pull-right">' . ((intval($rv['total'])) ? intval($rv['total']) : '') . '</span><img src="' . $rv['author']['xchan_photo_s'] . '" style="width: 16px; height: 16px;" /> ' . $rv['author']['xchan_name'] . '</a></li>'; + $o .= '<li class="nav-item"><a class="nav-link" href="network?f=&xchan=' . urlencode($rv['author_xchan']) . '" ><span class="badge badge-default float-right">' . ((intval($rv['total'])) ? intval($rv['total']) : '') . '</span><img src="' . $rv['author']['xchan_photo_s'] . '" class="menu-img-1" /> ' . $rv['author']['xchan_name'] . '</a></li>'; } $o .= '</ul></div>'; } |