Better titles and instructions for Featured and Popular tabs
(Do not be afraid of this patch!) darcs-hash:20081211235341-7b5ce-98bae58e267b4e4b0adb5835e5a05e19cd910363.gz
This commit is contained in:
parent
0910a8915b
commit
6a0873e30d
|
@ -28,7 +28,7 @@ class FavoritedAction extends StreamAction {
|
||||||
|
|
||||||
$page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
|
$page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
|
||||||
|
|
||||||
common_show_header(_('Favorited timeline'),
|
common_show_header(_('Popular notices'),
|
||||||
array($this, 'show_header'), NULL,
|
array($this, 'show_header'), NULL,
|
||||||
array($this, 'show_top'));
|
array($this, 'show_top'));
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ class FavoritedAction extends StreamAction {
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_instructions() {
|
function get_instructions() {
|
||||||
return _('Showing most favorited notices from the last week');
|
return _('Showing recently popular notices');
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_notices($page) {
|
function show_notices($page) {
|
||||||
|
|
|
@ -29,7 +29,7 @@ class FeaturedAction extends StreamAction {
|
||||||
|
|
||||||
$page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
|
$page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
|
||||||
|
|
||||||
common_show_header(_('Featured timeline'),
|
common_show_header(_('Featured users'),
|
||||||
array($this, 'show_header'), NULL,
|
array($this, 'show_header'), NULL,
|
||||||
array($this, 'show_top'));
|
array($this, 'show_top'));
|
||||||
|
|
||||||
|
|
|
@ -38,11 +38,11 @@ class StreamAction extends PersonalAction {
|
||||||
|
|
||||||
if (count(common_config('nickname', 'featured')) > 0) {
|
if (count(common_config('nickname', 'featured')) > 0) {
|
||||||
common_menu_item(common_local_url('featured'), _('Featured'),
|
common_menu_item(common_local_url('featured'), _('Featured'),
|
||||||
_('Notices from featured Users'), $action == 'featured');
|
_('Featured users'), $action == 'featured');
|
||||||
}
|
}
|
||||||
|
|
||||||
common_menu_item(common_local_url('favorited'), _('Popular'),
|
common_menu_item(common_local_url('favorited'), _('Popular'),
|
||||||
_("Latest popular notices"), $action == 'favorited');
|
_("Popular notices"), $action == 'favorited');
|
||||||
|
|
||||||
common_element_end('ul');
|
common_element_end('ul');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user