You are here

function heartbeat_stream_prev_link in Heartbeat 6.4

Helper function for a more link on streams (older messages)

1 call to heartbeat_stream_prev_link()
heartbeat_messages_page in ./heartbeat.pages.inc
Page callback function to load an activity stream page.

File

./heartbeat.common.inc, line 202
Commonly functions used in heartbeat

Code

function heartbeat_stream_prev_link($access_type, $offset_time = 0) {
  $path = 'heartbeat/' . $access_type . ($offset_time == 0 ? '' : '/' . $offset_time);
  return '<div class="more previous-archive">' . l(t('Go to previous messages'), $path) . '</div>';
}