You are here

function httpbl_footer in http:BL 5

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

Implementation of hook_footer().

Adds a Project Honeypot link to the footer.

3 string references to 'httpbl_footer'
httpbl_admin_settings in ./httpbl.module
Implementation of hook_settings().
httpbl_requirements in ./httpbl.module
Implementation of hook_requirements().
httpbl_uninstall in ./httpbl.install
Implementation of hook_uninstall().

File

./httpbl.module, line 258
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);
  }
}