You are here

function getclicky_block_view in Clicky - Web Analytics in Real Time 8

Same name and namespace in other branches
  1. 7 getclicky.module \getclicky_block_view()

Implements hook_block_view().

File

./getclicky.module, line 230

Code

function getclicky_block_view($delta = '') {
  switch ($delta) {
    case "getclicky_banner":
      $block = array(
        'content' => variable_get('getclicky_banner_image_html_code_for_copying', '<a title="Clicky Web Analytics" href="http://getclicky.com/' . trim(variable_get('getclicky_site_id_number', '')) . '"><img alt="Clicky Web Analytics" src="http://static.getclicky.com/media/links/badge.gif" border="0" /></a>'),
      );
      break;
  }
  return $block;
}