diff options
Diffstat (limited to 'application/views/header.php')
-rw-r--r-- | application/views/header.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/application/views/header.php b/application/views/header.php index 7ed605bf3..deafa1ef5 100644 --- a/application/views/header.php +++ b/application/views/header.php @@ -71,3 +71,14 @@ if (is_cli_client() && !isset($force_full_html)) { </div> <div class="container"> + <?php + if (isset($alerts)) { + foreach ($alerts as $alert) { ?> + <div class="alert alert-block alert-<?php echo $alert["type"]; ?>" style="text-align: center"> + <button type="button" class="close" data-dismiss="alert">×</button> + <?php echo $alert["message"]; ?> + </div> + <?php + } + } + ?> |