the proposed patch creates a hook_delete_confirm, which is called from node_delete during the
confirmation cycle. this hook allows modules to inject custom control structures into the deletion
process, as they don't currently have this ability. this is needed, for example, in the
eventrepeat.module that i'm creating, which handles repeating/recurring events for event.module.
without a solution such as this, there is no way for the module to put in options for different
kinds of deletions--ex. 'this occurance only', 'this and all future occurances', 'all occurances'.
click here for a screenshot of what this hook looks like in action...
i've tested this patch and it works great, even when multiple modules are calling
hook_delete_confirm. i'd also be happy to write the documentation for hook_delete_confirm if this
patch gets accepted.