You are here

function smiley_admin_delete_confirm in Smiley 6

1 string reference to 'smiley_admin_delete_confirm'
smiley_menu in ./smiley.module
Implementation of hook_menu().

File

./smiley.admin.inc, line 310

Code

function smiley_admin_delete_confirm(&$form_state, $smiley_id) {
  $smiley_id = $smiley_id ? $smiley_id : arg(4);
  $smiley = db_fetch_array(db_query('SELECT * FROM {smiley} WHERE id = %d', $smiley_id));
  $form = array();
  return confirm_form($form, t('Are you sure you want to delete the smiley %acronyms?', array(
    '%acronyms' => $smiley['acronyms'],
  )), 'admin/settings/smiley', t(''), t('Delete'), t('Cancel'), 'smiley_admin_delete');
}