We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 04381435 authored by Zach Copley's avatar Zach Copley

Public tabs - only show 'Featured' tab when featured users are defined in config.php

darcs-hash:20081120213022-7b5ce-df10d289e8c0e1d06f6e10d5ff642eb93752be19.gz
parent f3b5b5de
......@@ -38,8 +38,10 @@ class StreamAction extends PersonalAction {
common_menu_item(common_local_url('tag'), _('Recent tags'),
_('Recent tags'), $action == 'tag');
common_menu_item(common_local_url('featured'), _('Featured'),
_('Notices from featured Users'), $action == 'featured');
if (count(common_config('nickname', 'featured')) > 0) {
common_menu_item(common_local_url('featured'), _('Featured'),
_('Notices from featured Users'), $action == 'featured');
}
common_menu_item(common_local_url('favorited'), _('Favorited'),
_("Most favorited notices"), $action == 'favorited');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment