function elf_settings in External Links Filter 5.3
Admin settings form.
See also
1 string reference to 'elf_settings'
- elf_menu in ./
elf.module - Implementation of hook_menu().
File
- ./
elf.module, line 58
Code
function elf_settings() {
$form['#submit'] = array(
'system_settings_form_submit' => array(),
'elf_settings_submit' => array(),
);
$form['elf_domains'] = array(
'#type' => 'textarea',
'#default_value' => implode("\n", variable_get('elf_domains', array())),
'#title' => t('Internal domains'),
'#description' => t('If your site spans multiple domains, specify each of them on a new line to prevent them from being seen as external sites. Make sure to include the right protocol; !example_right, and not !example_wrong, for instance.', array(
'!example_right' => '<code>http://example.com</code>',
'!example_wrong' => '<code>example.com</code>',
)),
);
return system_settings_form($form);
}