get current user in views menu
darcs-hash:20080610195920-84dde-39012658cb5f4127d667ac23ddcabd795a337f7e.gz
This commit is contained in:
parent
cd2e89e2b0
commit
02e2dfd1aa
|
@ -232,6 +232,7 @@ function common_nav_menu() {
|
|||
}
|
||||
|
||||
function common_views_menu() {
|
||||
$user = common_current_user();
|
||||
common_element_start('ul', array('id' => 'nav_views'));
|
||||
common_menu_item(common_local_url('all', array('nickname' =>
|
||||
$user->nickname)),
|
||||
|
|
Loading…
Reference in New Issue
Block a user