Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Projet_idaw
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Liang Wu
Projet_idaw
Commits
cc496447
Commit
cc496447
authored
Apr 05, 2020
by
Liang Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
déconnecter
parent
c24a29fd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
disconnected.php
disconnected.php
+0
-0
template_header.php
template_header.php
+1
-0
template_menu.php
template_menu.php
+4
-1
No files found.
d
econnected.
.php
→
d
isconnected
.php
View file @
cc496447
File moved
template_header.php
View file @
cc496447
...
...
@@ -8,4 +8,5 @@
<link
href=
"bootstrap/css/freelancer.css"
rel=
"stylesheet"
>
</head>
<body
id=
"page-top"
>
\ No newline at end of file
template_menu.php
View file @
cc496447
...
...
@@ -6,7 +6,8 @@ $mymenu = array(
'accueil'
=>
array
(
'Accueil'
),
'profil_affichage'
=>
array
(
'Profil'
),
'aliments'
=>
array
(
'Aliments'
),
'journal'
=>
array
(
'Journal'
)
'journal'
=>
array
(
'Journal'
),
'disconnected'
=>
array
(
'Déconnexion'
)
);
function
renderMenuToHTML
(
$currentPageId
)
{
...
...
@@ -14,6 +15,8 @@ global $mymenu;
// ...
$id
=
''
;
echo
'<nav class="navbar navbar-expand-lg bg-secondary text-uppercase fixed-top" id="mainNav" > <div class="container"> <a class="navbar-brand js-scroll-trigger" href="#page-top">Manger mieux </a> <div class="collapse navbar-collapse" id="navbarResponsive"> <ul class="navbar-nav ml-auto">'
;
foreach
(
$mymenu
as
$pageId
=>
$pageParameters
)
{
if
(
$pageId
==
$currentPageId
){
$id
=
" id='active'"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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