From 27a615aefdb63875ebeb2d1657f7773e7d3bd9e8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 14 Jun 2008 08:20:38 -0400 Subject: add public tab darcs-hash:20080614122038-84dde-af7c2be04d41c1d85b62cf74724fe8e4a877a84a.gz --- lib/stream.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'lib/stream.php') diff --git a/lib/stream.php b/lib/stream.php index a50576654..2e22b3576 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -32,16 +32,20 @@ class StreamAction extends Action { $nickname = $this->trimmed('nickname'); common_element_start('ul', array('id' => 'nav_views')); + common_menu_item(common_local_url('public'), + _t('Public'), + _t('Public stream'), + $action == 'public'); + common_menu_item(common_local_url('all', array('nickname' => + $nickname)), + _t('Personal'), + (($user->fullname) ? $user->fullname : $nickname) . _t(' and friends'), + $action == 'all'); common_menu_item(common_local_url('showstream', array('nickname' => $nickname)), _t('Profile'), ($user->fullname) ? $user->fullname : $nickname, $action == 'showstream'); - common_menu_item(common_local_url('all', array('nickname' => - $nickname)), - _t('All'), - _t('All'), - $action == 'all'); common_element_end('ul'); } -- cgit v1.2.3-54-g00ecf