summaryrefslogtreecommitdiff
path: root/view/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/template.php')
-rw-r--r--view/template.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/view/template.php b/view/template.php
index 4cf0e52..0b084f6 100644
--- a/view/template.php
+++ b/view/template.php
@@ -45,7 +45,7 @@ echo($content);
45<?php 45<?php
46 46
47// section courriel sur toutes les pages sauf accueil 47// section courriel sur toutes les pages sauf accueil
48if($page_actuelle != "accueil") 48if($page != "accueil")
49{ 49{
50 echo "\n"; 50 echo "\n";
51 require("view/courriel.php"); 51 require("view/courriel.php");
@@ -57,7 +57,7 @@ if($_SESSION['admin'] == 0)
57{ 57{
58?> 58?>
59 <div id="lienModeAdmin" > 59 <div id="lienModeAdmin" >
60 <p><a href="index.php?page=connexion&from=<?= $page_actuelle ?>" >Mode Administrateur</a></p> 60 <p><a href="index.php?page=connexion&from=<?= $page ?>" >Mode Administrateur</a></p>
61 </div> 61 </div>
62<?php 62<?php
63} 63}
@@ -72,14 +72,14 @@ if($_SESSION['admin'] == 1)
72 <div id="modeAdmin" > 72 <div id="modeAdmin" >
73 <p>Vous êtes en mode administrateur. 73 <p>Vous êtes en mode administrateur.
74 <!-- <button id="boutonOptions" >Options</button> --> 74 <!-- <button id="boutonOptions" >Options</button> -->
75 <button><a href="index.php?page=<?= $page_actuelle ?>&action=deconnexion" >Déconnexion</a></button> 75 <button><a href="index.php?page=<?= $page ?>&action=deconnexion" >Déconnexion</a></button>
76 </p> 76 </p>
77 <div id="options" > 77 <div id="options" >
78 <button class="boutonBackup" ><a href="index.php?from=<?= $page_actuelle ?>&action=modif_mdp" > 78 <button class="boutonBackup" ><a href="index.php?from=<?= $page ?>&action=modif_mdp" >
79 Changer de mot de passe</a></button> 79 Changer de mot de passe</a></button>
80 <button class="boutonBackup" ><a href="index.php?from=<?= $page_actuelle ?>&action=sauvegarde" > 80 <button class="boutonBackup" ><a href="index.php?from=<?= $page ?>&action=sauvegarde" >
81 Sauvegarder les données</a></button> 81 Sauvegarder les données</a></button>
82 <button class="boutonBackup" ><a href="index.php?from=<?= $page_actuelle ?>&action=restauration" >Les restaurer avec une sauvegarde</a></button> 82 <button class="boutonBackup" ><a href="index.php?from=<?= $page ?>&action=restauration" >Les restaurer avec une sauvegarde</a></button>
83 <button class="boutonBackup" ><a href="data/melainePHP.zip" > 83 <button class="boutonBackup" ><a href="data/melainePHP.zip" >
84 Télécharger le code PHP 84 Télécharger le code PHP
85 </a></button> 85 </a></button>