| 1 |
<?php |
| 2 |
if (!defined('ABSPATH')) { |
| 3 |
die('Access denied.'); |
| 4 |
} |
| 5 |
?> |
| 6 |
<?php foreach ($this->get_notifications() as $key => $notify) { ?> |
| 7 |
<?php if ($notify['type'] === 'update') { ?> |
| 8 |
<div id="message" class="updated e2pdf-notice"> |
| 9 |
<?php echo $notify['text']; ?> |
| 10 |
</div> |
| 11 |
<?php } elseif ($notify['type'] === 'error') { ?> |
| 12 |
<div id="message" class="error e2pdf-notice"> |
| 13 |
<?php echo $notify['text']; ?> |
| 14 |
</div> |
| 15 |
<?php } elseif ($notify['type'] === 'notice') { ?> |
| 16 |
<div id="message" class="notice e2pdf-notice"> |
| 17 |
<?php echo $notify['text']; ?> |
| 18 |
</div> |
| 19 |
<?php } ?> |
| 20 |
<?php } ?> |