1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
PHP_TP3/views/v_alert.php
2020-10-16 08:26:16 +02:00

21 lines
449 B
PHP

<?php
/*
* TP PHP
* Vue alert
*
* Copyright 2016, Eric Dufour
* http://techfacile.fr
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*
* alerts: http://www.w3schools.com/bootstrap/bootstrap_alerts.asp
*/
if(isset($alert))
{
?>
<div class="alert alert-<?= isset($alert['classAlert']) ? $alert['classAlert'] : 'danger' ?>">
<strong><?= $alert['messageAlert'] ?></strong>
</div>
<?php
}