function email_admin_settings

cis7 email.module email_admin_settings()
cle7 email.module email_admin_settings()
elmsmedia7 email.module email_admin_settings()
icor7 email.module email_admin_settings()
meedjum_blog7 email.module email_admin_settings()
mooc7 email.module email_admin_settings()

Settings for contact form

1 string reference to 'email_admin_settings'
email_menu in sites/all/modules/ulmus/email/email.module
Implements hook_menu().

File

sites/all/modules/ulmus/email/email.module, line 501
Module file for the email module, which creates a email address field.

Code

function email_admin_settings() {
  $form['email_hourly_threshold'] = array(
    '#type' => 'select',
    '#title' => t('Hourly threshold for a CCK Email contact form'),
    '#options' => drupal_map_assoc(array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 40, 50)),
    '#default_value' => variable_get('email_hourly_threshold', 3),
    '#description' => t('The maximum number of contact form submissions a user can perform per hour.'),
  );
  return system_settings_form($form);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.