function _nofollowlist_settings_form in Nofollow List 7
2 calls to _nofollowlist_settings_form()
- nofollowlist_admin_settings_form in ./
nofollowlist.admin.inc - _nofollowlist_filter_filter_nofollow_settings in ./
nofollowlist.module - Implements hook_filter_FILTER_settings().
File
- ./
nofollowlist.module, line 182 - Provides a nofollowlist filter.
Code
function _nofollowlist_settings_form() {
$form = array();
$form['nofollowlist_option'] = array(
'#type' => 'radios',
'#title' => t('Hosts list option'),
'#description' => t('If you choose the whitelist option, be sure to add your own site to the list!'),
'#options' => array(
'black' => t('Blacklist: Add rel="nofollow" to links leading to the listed hosts.'),
'white' => t('Whitelist: Add rel="nofollow" to all links <b>except</b> the listed hosts.'),
),
);
$form['nofollowlist_hosts'] = array(
'#type' => 'textarea',
'#title' => t('Nofollowlist hosts'),
'#description' => t('Add one host per line. Ex: en.wikipedia.org'),
);
return $form;
}