You are here

function feedback_footer in Feedback 6.2

Same name and namespace in other branches
  1. 5.2 feedback.module \feedback_footer()

Implementation of hook_footer().

File

./feedback.module, line 78
Allows site visitors and users to report issues about this site.

Code

function feedback_footer($main = 0) {
  if (user_access('access feedback form') && $_GET['q'] != 'admin/reports/feedback') {
    $block = (object) module_invoke('feedback', 'block', 'view', 'form');
    $block->module = 'feedback';
    $block->delta = 'form';
    $block->region = 'footer';
    return theme('block', $block);
  }
}