You are here

function httpbl_footer in http:BL 6.2

Same name and namespace in other branches
  1. 5 httpbl.module \httpbl_footer()
  2. 6 httpbl.module \httpbl_footer()

Implementation of hook_footer().

Adds a Project Honeypot link to the footer.

2 string references to 'httpbl_footer'
httpbl_admin_settings in ./httpbl.module
Implementation of hook_settings().
httpbl_requirements in ./httpbl.module
Implementation of hook_requirements().

File

./httpbl.module, line 427
Implementation of http:BL for Drupal. It provides IP-based blacklisting through http:BL and allows linking to a honeypot.

Code

function httpbl_footer($main = 0) {
  if (variable_get('httpbl_footer', FALSE)) {
    $link = variable_get('httpbl_link', NULL);
    $word = variable_get('httpbl_word', 'randomness');
    return httpbl_honeylink($link, $word);
  }
}