summaryrefslogtreecommitdiff
path: root/Template/Include/incl_global_notification.php
blob: 5edc9bdd03098d3f30f5806a5ebb55320af08b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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()">&#10006;</button>
    <a onclick="redirect(\'Template/myMission\')">
        <span>&#128276;</span>
        <h3>'.$text[basename(__FILE__, ".php")]["header"].'</h3>
        <p>'.$text[basename(__FILE__, ".php")]["info"].'</p>
    </a>
</aside>');

?>