Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 4d7f1429 authored by Estéban Ristich's avatar Estéban Ristich
Browse files

Add link to admin panel

parent 81611ef4
......@@ -32,6 +32,7 @@ define('ICON_ADD_TEAM', '<span><svg width="1.2em" height="1.2em" fill="curr
define('ICON_ADD_EQUIPMENT', '<span><svg width="1.2em" height="1.2em" fill="currentColor"><title>Ajouter un appareil</title><use xlink:href="images/bootstrap-icons.svg#plus-circle"/></svg></span>');
define('ICON_ADD_USER', '<span><svg width="1.2em" height="1.2em" fill="currentColor"><title>Ajouter un utilisateur</title><use xlink:href="images/bootstrap-icons.svg#plus-circle"/></svg></span>');
define('ICON_MARK_RIGHT', '<span><svg width="1.2em" height="1.2em" fill="currentColor"><use xlink:href="images/bootstrap-icons.svg#arrow-right-square"/></svg></span>');
define('ICON_ADMIN', '<span><img src="images/app-shield-24.png"></span>');
// ---------------------------------------------------------------------
......@@ -55,6 +56,8 @@ function en_tete($titre, $find=false) {
}
$css_style = 'theme-'.$actual_theme.'.css';
?>
<!DOCTYPE html>
<html>
<head>
......@@ -147,7 +150,8 @@ function nav_bar($pdo, $prenom, $nom, $level, $logged_id, $find) {
<div class="dropdown-content">
<a href="logout.php"><?php echo ICON_LOGIN;?> Se d&eacute;connecter</a>
<a href="user-edit.php?id=<?php echo $logged_id ?>"><?php echo ICON_PERSON_PROFIL;?> Modifier le profil</a>
<a href="user-changepwd.php?id=<?php echo $logged_id ?>"><?php echo ICON_PERSON_PASWD;?> Changer le<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mot de passe</a>
<a href="user-changepwd.php?id=<?php echo $logged_id ?>"><?php echo ICON_PERSON_PASWD;?> Changer le<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mot de passe</a><?php
if ($level > 3) { echo '<a href="admin-panel.php">'.ICON_ADMIN.' Admin Panel</a>'; } ?>
<a href="user-loan.php?id=<?php echo $logged_id ?>"><?php echo ICON_LOAN_BORROWED;?> Mes emprunts</a>
</div>
</li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment