zoneminder/web/app/Plugin/BoostCake/View/Elements/alert.ctp

14 lines
279 B
Plaintext
Raw Normal View History

2013-09-13 08:00:57 +08:00
<?php
if (!isset($class)) {
$class = false;
}
if (!isset($close)) {
$close = true;
}
?>
<div class="alert<?php echo ($class) ? ' ' . $class : null; ?>">
<?php if ($close): ?>
<a class="close" data-dismiss="alert" href="#">×</a>
<?php endif; ?>
<?php echo $message; ?>
</div>