system_actions_delete_form
modules/system/system.module, строка 1514
- Версии
- 6
system_actions_delete_form($form_state, $action)
Create the form for confirmation of deleting an action.
See also
Связанные темы
Код
<?php
function system_actions_delete_form($form_state, $action) {
$form['aid'] = array(
'#type' => 'hidden',
'#value' => $action->aid,
);
return confirm_form($form,
t('Are you sure you want to delete the action %action?', array('%action' => $action->description)),
'admin/settings/actions/manage',
t('This cannot be undone.'),
t('Delete'), t('Cancel')
);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии