<?php 
must_have_access();

$notification_id = (int) $params['notification_id'];
$notification_module = $params['notification_module'];
?>

<?php
if ($notification_module === 'contact_form') :
?>
<module type="contact_form/view" notification_id="<?php echo $notification_id; ?>" />
<?php endif; ?>

<?php
if ($notification_module === 'comments') :
?>
<module type="comments/view" notification_id="<?php echo $notification_id; ?>" />
<?php endif; ?>