You are here

function shoutbox_user_page in Shoutbox 6.2

Same name and namespace in other branches
  1. 7.2 shoutbox_user/shoutbox_user.module \shoutbox_user_page()
  2. 7 shoutbox_user/shoutbox_user.module \shoutbox_user_page()

Page callback for user shoutbox page

1 string reference to 'shoutbox_user_page'
shoutbox_user_menu in shoutbox_user/shoutbox_user.module
Implementation of hook_menu()

File

shoutbox_user/shoutbox_user.module, line 30

Code

function shoutbox_user_page($user) {

  // Set the title with the user's name
  drupal_set_title(t('!name\'s shout box', array(
    '!name' => l($user->name, "user/{$user->uid}"),
  )));

  // Return normal shoutbox page
  return shoutbox_view();
}