function email_admin_settings in Email Field 7
Same name and namespace in other branches
- 6 email.module \email_admin_settings()
Settings for contact form
1 string reference to 'email_admin_settings'
- email_menu in ./
email.module - Implements hook_menu().
File
- ./
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);
}