mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-25 06:20:36 +02:00
Utilisation d'un dispatcher pour gérer les redirections
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
<?php require_once "header.php" ?>
|
||||
|
||||
<h1><?= $user->getFirstName() . " " . $user->getSurname() ?></h1>
|
||||
|
||||
<?php if ($user->getRole() == Role::PARTICIPANT || $user->getRole() == Role::ENCADRANT) { ?>
|
||||
@ -64,4 +66,6 @@ elseif ($user->getRole() == Role::PARTICIPANT || $user->getRole() == Role::ENCAD
|
||||
}
|
||||
echo "$name de $first_name $surname : <a href=\"$URL_BASE/file/$file_id\">Télécharger</a><br />";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
require_once "footer.php";
|
Reference in New Issue
Block a user