Commit
This commit is contained in:
parent
3deb8b92b2
commit
32d3733fd6
@ -58,12 +58,8 @@
|
|||||||
<div id="main">
|
<div id="main">
|
||||||
<?php
|
<?php
|
||||||
// display flashed messages
|
// display flashed messages
|
||||||
$msgs = $this->session->getFlashedMessages();
|
foreach ($this->session->getFlashedMessages() as $msg)
|
||||||
if ($msgs)
|
|
||||||
{
|
|
||||||
foreach ($msgs as $msg)
|
|
||||||
{
|
{
|
||||||
echo "<div class=\"alert {$msg["type"]}\" role=\"alert\">{$msg["message"]}</div>";
|
echo "<div class=\"alert {$msg["type"]}\" role=\"alert\">{$msg["message"]}</div>";
|
||||||
}
|
}
|
||||||
}
|
|
||||||
?>
|
?>
|
Reference in New Issue
Block a user