function smileys_admin_delete_confirm in Smileys 5
Same name and namespace in other branches
- 6 smileys.admin.inc \smileys_admin_delete_confirm()
1 string reference to 'smileys_admin_delete_confirm'
- smileys_menu in ./
smileys.module - Implementation of hook_menu().
File
- ./
smileys.module, line 443
Code
function smileys_admin_delete_confirm($smiley_id) {
$smiley_id = $smiley_id ? $smiley_id : arg(4);
$smiley = db_fetch_array(db_query('SELECT * FROM {smileys} 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/smileys', t(''), t('Delete'), t('Cancel'));
}