You are here

function feedback_settings_page in Feedback 5

feedback admin center

1 string reference to 'feedback_settings_page'
feedback_menu in ./feedback.module
Implementation of hook_menu().

File

./feedback.module, line 49
Enables a site-wide feedback page.

Code

function feedback_settings_page() {
  $page = arg(3);
  if (empty($page)) {
    $output = feedback_settings_overview($page);
  }
  else {
    if (arg(4) == 'delete' && $page != 'default') {
      $output = feedback_settings_delete($page);
    }
    else {
      $output = drupal_get_form('feedback_settings_form', $page);
    }
  }
  print theme('page', $output);
}