You are here

function theme_hearbeat_activity_remain_link in Heartbeat 6.4

Theme function for the heartbeat activity remain link.

1 theme call to theme_hearbeat_activity_remain_link()
HeartbeatActivity::create_grouped_message in includes/heartbeatactivity.inc

File

./heartbeat.module, line 1890

Code

function theme_hearbeat_activity_remain_link($beat, $count) {
  $attributes = array(
    'attributes' => array(
      'absolute' => TRUE,
      'onclick' => 'javascript:$(\'#' . $beat . '-remaining\').toggle(\'slow\'); return false;',
    ),
    'fragment' => $beat,
  );
  return ' ' . l(t('@num more', array(
    '@num' => $count,
  )), $GLOBALS['base_url'] . request_uri(), $attributes);
}