diff options
| author | Debulois <quentin@debulois.fr> | 2022-04-10 21:25:00 +0200 |
|---|---|---|
| committer | Debulois <quentin@debulois.fr> | 2022-04-10 21:25:00 +0200 |
| commit | 2923e6fca634231533cca11e43a9091344ff4ba5 (patch) | |
| tree | 7181e1b0e26ddb072530adec7d55f77e9e389783 /Template/Include/incl_global_notification.php | |
| parent | 9939f74c0b274ee916f742a45a32d3c843e0960b (diff) | |
Ajout d'un système de notification pour alerter les pro et finition
Diffstat (limited to 'Template/Include/incl_global_notification.php')
| -rw-r--r-- | Template/Include/incl_global_notification.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Template/Include/incl_global_notification.php b/Template/Include/incl_global_notification.php new file mode 100644 index 0000000..2c0f25b --- /dev/null +++ b/Template/Include/incl_global_notification.php @@ -0,0 +1,23 @@ +<?php + +// ############################################################################ +// # # +// # Description: Système de notification # +// # # +// ############################################################################ + +// Import du texte en fonction de la langue sélecitonnée +require_once(dirname( __FILE__ )."./".$_SESSION["lang"]."/text.php"); + +// Partie html de la notification +echo('<!-- Notification --> +<aside id="notif"> + <button type="button" onclick="toggle_notif()">✖</button> + <a onclick="redirect(\'Template/myMission\')"> + <span>🔔</span> + <h3>'.$text[basename(__FILE__, ".php")]["header"].'</h3> + <p>'.$text[basename(__FILE__, ".php")]["info"].'</p> + </a> +</aside>'); + +?>
\ No newline at end of file |
