You are here

function duplicate_denied_post in Spam 5.3

1 string reference to 'duplicate_denied_post'
duplicate_menu in filters/duplicate/duplicate.module
Drupal _menu() hook.

File

filters/duplicate/duplicate.module, line 364

Code

function duplicate_denied_post() {
  $message = strtr(variable_get('duplicate_post_message', t('<p>You have attempted to post the same identical content multiple times, causing your posts to be flagged as potential spam.  If this has happened in error, please report this error along with your IP address (%IP) to a @site site administrator.  We apologize for any inconvenience.</p>')), array(
    '@site' => variable_get('site_name', 'Drupal'),
    '%IP' => $_SERVER['REMOTE_ADDR'],
  ));
  spam_denied_page($message, t('You have attempted to post the same content multiple times.'));
}