Commit 3f536704 authored by Seblu's avatar Seblu

add wiki, mailman and phpmyadmin to menubar

parent c5bf7955
......@@ -103,7 +103,7 @@ img {
position: absolute;
height: 22px;
/*width: 334px;*/
left: 200px;
/*left: 20px;*/
top: 101px;
}
......
......@@ -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;
?>
<?
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&eacute;s"><strong>Actualit&eacute;s</strong></a></li>';
$str .= '<li><a href="/?html=Videos" id="tabs_members" title="Toutes nos videos"><strong>Vid&eacute;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&eacute;connexion" : "Connexion");
$str .= '</a>';
$str .= "</div>";
$str .= '<div id="menu_right"></div>';
//$str .= '<div id="menu_right"></div>';
echo $str;
}
......
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