You are here

function heartbeat_activity_title in Heartbeat 6.4

Callback for the title of the message page

1 string reference to 'heartbeat_activity_title'
heartbeat_menu in ./heartbeat.module
Implementation of hook_menu().

File

./heartbeat.module, line 1679

Code

function heartbeat_activity_title($uaid) {
  $object = db_fetch_object(db_query("SELECT u.name FROM {heartbeat_activity} ha\n    INNER JOIN {users} u ON u.uid = ha.uid WHERE ha.uaid = %d", $uaid));
  return t('Activity of @username', array(
    '@username' => $object->name,
  ));
}