Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
eptv.fr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
epita
eptv.fr
Commits
3f536704
Commit
3f536704
authored
Jul 03, 2010
by
Seblu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add wiki, mailman and phpmyadmin to menubar
parent
c5bf7955
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
default.css
css/default.css
+1
-1
global.php
include/global.php
+4
-3
menu.php
include/menu.php
+9
-3
No files found.
css/default.css
View file @
3f536704
...
...
@@ -103,7 +103,7 @@ img {
position
:
absolute
;
height
:
22px
;
/*width: 334px;*/
left
:
200px
;
/*left: 20px;*/
top
:
101px
;
}
...
...
include/global.php
View file @
3f536704
...
...
@@ -12,10 +12,11 @@ $GLOBALS["EPTV"] = 7;
/* New vars */
$GLOBALS
[
"ANONYM"
]
=
0
;
$GLOBALS
[
"FAN"
]
=
2
;
$GLOBALS
[
"EPI"
]
=
4
;
$GLOBALS
[
"
VIP"
]
=
6
;
$GLOBALS
[
"FAN"
]
=
1
;
$GLOBALS
[
"EPI"
]
=
2
;
$GLOBALS
[
"
GUEST"
]
=
3
;
$GLOBALS
[
"MEMBRE"
]
=
10
;
$GLOBALS
[
"BUREAU"
]
=
15
;
$GLOBALS
[
"ROOT"
]
=
20
;
?>
include/menu.php
View file @
3f536704
<?
function
dispMenu
()
{
$str
=
'<div id="menu_left"></div>'
;
//
$str = '<div id="menu_left"></div>';
$str
.=
'<div id="menu"><ul>'
;
$str
.=
'<li><a href="/" id="tabs_home" title="Accueil du site"><strong>Home</strong></a></li>'
;
$str
.=
'<li><a href="/?html=News" id="tabs_members" title="Toute l\'actualités"><strong>Actualités</strong></a></li>'
;
$str
.=
'<li><a href="/?html=Videos" id="tabs_members" title="Toutes nos videos"><strong>Vidéos</strong></a></li>'
;
//$str .= '<li><a id="tabs_cours" title="Fan"><strong>Fans</strong></a></li>';
if
(
$_SESSION
[
"user_right"
]
>=
7
)
if
(
$_SESSION
[
"user_right"
]
>=
10
)
{
$str
.=
'<li><a href="/wiki/" id="tabs_members" title="Wiki" target=new><strong>Wiki</strong></a></li>'
;
$str
.=
'<li><a href="/mailman/listinfo" id="tabs_members" title="Les listes de diffusions" target=new><strong>ML</strong></a></li>'
;
}
if
(
$_SESSION
[
"user_right"
]
>=
20
)
{
$str
.=
'<li><a href="/?html=AdminHome" id="tabs_cours" title="Administration"><strong>Admin</strong></a></li>'
;
$str
.=
'<li><a href="/phpmyadmin/" id="tabs_cours" title="PhpMyAdmin"><strong>PhpMyAdmin</strong></a></li>'
;
}
$str
.=
'<li><a href="/?html=Members" id="tabs_cours" title="Membres"><strong>Membres</strong></a></li>'
;
$str
.=
'<li><a href="/?html=Contacts" id="tabs_releases" title="Contactez-nous"><strong>Contact</strong></a></li>'
;
$str
.=
'</ul>'
;
...
...
@@ -17,7 +23,7 @@ function dispMenu() {
$str
.=
((
$_SESSION
[
"user_right"
]
>
$GLOBALS
[
"ANONYM"
])
?
"Déconnexion"
:
"Connexion"
);
$str
.=
'</a>'
;
$str
.=
"</div>"
;
$str
.=
'<div id="menu_right"></div>'
;
//
$str .= '<div id="menu_right"></div>';
echo
$str
;
}
...
...
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