function xnpbookGetDownloadConfirmationBlock($item_id, $download_file_id)
{
    $detail = xnpbookGetDetailInformation($item_id);
    return xnpGetDownloadConfirmationBlock($item_id, $download_file_id, $detail['attachment_dl_notify']['value'], false, false, false);
}
function xnppresentationGetDownloadConfirmationBlock($item_id, $download_file_id)
{
    $detail = xnppresentationGetDetailInformation($item_id);
    return xnpGetDownloadConfirmationBlock($item_id, $download_file_id, $detail['attachment_dl_notify'], true, $detail['use_cc'], $detail['rights']);
}