Commit 25931590 authored by Stephane Crozat's avatar Stephane Crozat

Correction bug views.php

parent 18087853
......@@ -7,6 +7,9 @@ add student.csv to data
sudo su postgres
sql/db_init.sh password
## pgcrypto module
apt install postgresql-contrib
## Test
psql -h localhost -U apisub -d apisub
......
......@@ -44,7 +44,8 @@ class Views {
public function printUser($isResp, $isAdmin) {
echo "<div class='user'><span class='name'>$this->firstname $this->surname</span> (<span class='login'>$this->utclogin</span>)</div>";
actuels if ($isResp) {
echo "<div class='menu'>";
if ($isResp) {
echo '<a href="index.php?mode=resp">[Gérer ses Api]</a> ';
}
if ($isAdmin) {
......
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