diff options
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 |
