You are here

function countdown_block_view in Countdown 7

Implement hook_block_view().

File

./countdown.module, line 144
Count to, or from, a specified date and display the output in a block

Code

function countdown_block_view($delta = '') {
  if (user_access('access content') && $delta == 0) {
    $block['subject'] = variable_get('countdown_block_title', t('Countdown'));
    $block['content'] = theme('countdown');
    return $block;
  }
}