function nodesinblock_settings_clear_confirm in Nodes In Block 6
Same name and namespace in other branches
- 7 nodesinblock.admin.inc \nodesinblock_settings_clear_confirm()
Menu callback: show confirmation screen to clear nodes in block settings.
1 string reference to 'nodesinblock_settings_clear_confirm'
- nodesinblock_menu in ./
nodesinblock.module - Implementation of hook_menu().
File
- ./
nodesinblock.admin.inc, line 175 - Administration page for nodes in block.
Code
function nodesinblock_settings_clear_confirm() {
$form = array();
return confirm_form($form, t('Do you want to clear the settings for nodes in block?'), 'admin/settings/nodesinblock', t('Warning, you will loose all settings including all entries in the nodesinblock table and the blocks generated by your previous configuration.'), t('Clear configuration'), t('Cancel'));
}