function _geo_filter_filter_settings in Graceful Email Obfuscation Filter 6
Same name and namespace in other branches
- 7 geo_filter.module \_geo_filter_filter_settings()
Settings form for the geo_filter_filter() filter
Parameters
int $format:
Return value
array
1 call to _geo_filter_filter_settings()
- geo_filter_filter in ./
geo_filter.module - Implementation of hook_filter()
File
- ./
geo_filter.module, line 104
Code
function _geo_filter_filter_settings($format) {
$form['geo_filter_filter'] = array(
'#type' => 'fieldset',
'#title' => t('Email link obfuscator filter'),
'#collapsible' => TRUE,
);
$form['geo_filter_filter']["geo_filter_show_not_exists_{$format}"] = array(
'#type' => 'checkbox',
'#title' => t('Display notification on new email'),
'#default_value' => variable_get("geo_filter_show_not_exists_{$format}", FALSE),
'#description' => t('When this is selected, the user will be notified each time they create a mailto: link to an email address that has not been added to the contact form.'),
);
return $form;
}