You are here

function spaces_dashboard_nav_links in Spaces 5.2

Provides a links array suitable for use with theme_links() to the dashboard pages.

File

spaces_dashboard/spaces_dashboard.module, line 356

Code

function spaces_dashboard_nav_links() {
  $links = array();
  $links[] = array(
    'title' => t('Dashboard'),
    'href' => 'group_dashboard',
  );
  $links[] = array(
    'title' => t('Directory'),
    'href' => 'group_dashboard/group_directory',
  );
  if (module_exists('ucreate') && user_access('create users')) {
    $links[] = array(
      'title' => t('Users'),
      'href' => 'group_dashboard/team',
    );
  }
  return $links;
}