17 lines
433 B
PHP
17 lines
433 B
PHP
|
<?php
|
||
|
/**
|
||
|
* @var \App\View\AppView $this
|
||
|
* @var array $params
|
||
|
* @var string $message
|
||
|
*/
|
||
|
if (!isset($params['escape']) || $params['escape'] !== false) {
|
||
|
$message = h($message);
|
||
|
}
|
||
|
?>
|
||
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||
|
<?= $message ?>
|
||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||
|
<span aria-hidden="true">×</span>
|
||
|
</button>
|
||
|
</div>
|