You are here

function better_messages_admin_skin_delete_form in Better Messages 7.2

Form for deleting Better Messages skin.

Parameters

$style: An image style array.

See also

image_style_delete_form_submit()

1 string reference to 'better_messages_admin_skin_delete_form'
better_messages_menu in ./better_messages.module
Implements hook_menu().

File

./better_messages.admin.inc, line 484

Code

function better_messages_admin_skin_delete_form($form, $form_state, $skin) {
  $skin_settings = _better_messages_get_settings($skin);
  $form_state['skin'] = $skin_settings;
  return confirm_form($form, t('Are you sure you want to delete Better Messages skin %skin?', array(
    '%skin' => $skin_settings[$skin]['admin']['title'],
  )), 'admin/config/user-interface/better-messages', null, t('Delete'), t('Cancel'));
}