5.x contact.module contact_site_page()
6.x contact.pages.inc contact_site_page()

Site-wide contact page.

1 string reference to 'contact_site_page'
contact_menu in modules/contact/contact.module
Implementation of hook_menu().


modules/contact/contact.pages.inc, line 12
User page callbacks for the contact module.


function contact_site_page() {
  global $user;
  if (!flood_is_allowed('contact', variable_get('contact_hourly_threshold', 3))) {
    $output = t("You cannot send more than %number messages per hour. Please try again later.", array(
      '%number' => variable_get('contact_hourly_threshold', 3),
  else {
    $output = drupal_get_form('contact_mail_page');
  return $output;