diff --git a/lib/popularnoticesection.php b/lib/popularnoticesection.php index f6f27c6878..e66df8f423 100644 --- a/lib/popularnoticesection.php +++ b/lib/popularnoticesection.php @@ -69,6 +69,12 @@ class PopularNoticeSection extends NoticeSection function moreUrl() { - return common_local_url('favorited'); + if (common_config('singleuser', 'enabled')) { + $user = User::singleUser(); + common_local_url('showfavorites', array('nickname' => + $user->nickname)); + } else { + return common_local_url('favorited'); + } } } diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 360aaa0c0a..15d0abaa51 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -246,7 +246,7 @@ class OStatusPlugin extends Plugin $cur = common_current_user(); if (empty($cur)) { - $output->elementStart('li', 'entity_subscribe'); + $widget->out->elementStart('li', 'entity_subscribe'); $profile = $peopletag->getTagger(); $url = common_local_url('ostatusinit', array('group' => $group->nickname)); @@ -255,7 +255,7 @@ class OStatusPlugin extends Plugin // TRANS: Link to subscribe to a remote entity. _m('Subscribe')); - $output->elementEnd('li'); + $widget->out->elementEnd('li'); return false; }