mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-24 05:08:46 +02:00
Phase 1 : affichage des vidéos pour les admins
This commit is contained in:
@ -32,7 +32,7 @@
|
||||
<li><a href="<?= $URL_BASE ?>/inscription">Inscription</a></li>
|
||||
<?php }
|
||||
} else { ?>
|
||||
<li><a href="<?= $URL_BASE ?>/mon_compte">Mon compte</a></li>
|
||||
<li><a href="<?= $URL_BASE ?>/mon-compte">Mon compte</a></li>
|
||||
<?php if ($_SESSION["role"] == Role::ENCADRANT || $_SESSION["role"] == Role::PARTICIPANT) { ?>
|
||||
<?php if ($_SESSION["team"] == NULL) {
|
||||
if (date("Y-m-d H:i:s") < $CONFIG->getInscriptionDate()) { ?>
|
||||
@ -40,7 +40,7 @@
|
||||
<li><a href="<?= $URL_BASE ?>/rejoindre_equipe">Rejoindre une équipe</a></li>
|
||||
<?php }
|
||||
} else { ?>
|
||||
<li><a href="<?= $URL_BASE ?>/mon_equipe">Mon équipe</a></li>
|
||||
<li><a href="<?= $URL_BASE ?>/mon-equipe">Mon équipe</a></li>
|
||||
<?php if ($_SESSION["team"]->getValidationStatus() == ValidationStatus::VALIDATED) {
|
||||
switch (Phase::getCurrentPhase()) {
|
||||
case Phase::PHASE1: ?>
|
||||
@ -52,6 +52,7 @@
|
||||
<?php } ?>
|
||||
<?php if ($_SESSION["role"] == Role::ADMIN) { ?>
|
||||
<li><a href="<?= $URL_BASE ?>/ajouter_admin">Ajouter un administrateur</a></li>
|
||||
<li><a href="<?= $URL_BASE ?>/videos-solutions">Vidéos des solutions</a></li>
|
||||
<?php } ?>
|
||||
<li><a href="<?= $URL_BASE ?>/deconnexion">Déconnexion</a></li>
|
||||
<hr/>
|
||||
|
Reference in New Issue
Block a user