You are here

function spaces_dashboard_title_user in Spaces 7.3

Same name and namespace in other branches
  1. 6.3 spaces_dashboard/spaces_dashboard.module \spaces_dashboard_title_user()
  2. 7 spaces_dashboard/spaces_dashboard.module \spaces_dashboard_title_user()

Menu title callback.

1 string reference to 'spaces_dashboard_title_user'
spaces_dashboard_menu in spaces_dashboard/spaces_dashboard.module
Implements hook_menu().

File

spaces_dashboard/spaces_dashboard.module, line 153

Code

function spaces_dashboard_title_user($account) {
  global $user;
  return $user->uid == $account->uid ? t('My dashboard') : t('Dashboard');
}