You are here

function ginvite_user_page_title in Group 7

Title callback for user/%user/group/invite.

1 string reference to 'ginvite_user_page_title'
ginvite_menu in modules/ginvite/ginvite.router.inc
Implements hook_menu().

File

modules/ginvite/ginvite.router.inc, line 108
Contains all router functions for the Group invite module.

Code

function ginvite_user_page_title($account) {
  global $user;
  if ($user->uid == $account->uid) {
    return t('My invites');
  }
  return t("@user's invites", array(
    '@user' => format_username($account),
  ));
}