get current user in views menu

darcs-hash:20080610195920-84dde-39012658cb5f4127d667ac23ddcabd795a337f7e.gz
This commit is contained in:
Evan Prodromou 2008-06-10 15:59:20 -04:00
parent cd2e89e2b0
commit 02e2dfd1aa

View File

@ -232,6 +232,7 @@ function common_nav_menu() {
} }
function common_views_menu() { function common_views_menu() {
$user = common_current_user();
common_element_start('ul', array('id' => 'nav_views')); common_element_start('ul', array('id' => 'nav_views'));
common_menu_item(common_local_url('all', array('nickname' => common_menu_item(common_local_url('all', array('nickname' =>
$user->nickname)), $user->nickname)),