function autoban_delete in Automatic IP ban (Autoban) 7
Autoban rule deletion confirm page.
See also
1 string reference to 'autoban_delete'
- autoban_menu in ./
autoban.module - Implements hook_menu().
File
- ./
autoban.admin.inc, line 402 - Configuration for autoban module.
Code
function autoban_delete($form, &$form_state, $rid) {
$form['rule_id'] = array(
'#type' => 'value',
'#value' => $rid,
);
return confirm_form($form, t('Are you sure you want to delete Autoban rules %id?', array(
'%id' => $rid,
)), AUTOBAN_BASE_URL, t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}