function invisimail_encode_settings in Invisimail 7
Settings callback for all encoding filters.
This callback will call encoder-specific filtering if appropriate.
1 string reference to 'invisimail_encode_settings'
- invisimail_filter_info in ./
invisimail.module - Implements hook_filter_info().
File
- ./
invisimail.module, line 125 - This module provides a filter that will search content for email addresses and replace them with their ascii equivalents before display. This is not a complete protection from spam harvesters, but it is some help.
Code
function invisimail_encode_settings($form, &$form_state, $filter, $format, $defaults) {
$settings = $filter->settings + $defaults;
return invisimail_settings_form($form, $form_state, $defaults['encoder'], $settings);
}