| Versionen | |
|---|---|
| drupal6 – drupal7 | contact_admin_delete(&$form_state, $contact) |
Category delete page.
modules/
<?php
function contact_admin_delete(&$form_state, $contact) {
$form['contact'] = array(
'#type' => 'value',
'#value' => $contact,
);
return confirm_form($form, t('Are you sure you want to delete %category?', array('%category' => $contact['category'])), 'admin/build/contact', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}
?>
Kommentare
Kommentar hinzufügen