Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
apisub
Commits
25931590
Commit
25931590
authored
Apr 10, 2019
by
Stephane Crozat
Browse files
Correction bug views.php
parent
18087853
Changes
2
Hide whitespace changes
Inline
Side-by-side
INSTALL
View file @
25931590
...
...
@@ -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
...
...
lib/views.php
View file @
25931590
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment