function badbehavior_page_build in Bad Behavior 7.2
Implements hook_page_build().
Adds a hidden Project Honey Pot QuickLink link to the footer of every page.
File
- ./
badbehavior.module, line 256 - Integrates Bad Behavior with Drupal
Code
function badbehavior_page_build(&$page) {
if (variable_get('badbehavior_httpbl_quicklink', '')) {
$page['page_bottom']['badbehavior'] = array(
'#type' => 'markup',
'#markup' => '<span style="display: none !important; opacity: 0.0;"><a href="' . variable_get('badbehavior_httpbl_quicklink', '') . '" rel="nofollow">' . variable_get('badbehavior_httpbl_quicklinktext', 'Customize This') . '</a></span>' . "\n",
);
}
}