Commit d3b4cc64 authored by Ayolo's avatar Ayolo

boxes

parent bf9f3a21
......@@ -836,7 +836,10 @@ class site extends interfaceweb
$sublist = new itemlist("Gestion assos/clubs","boxlist");
else
$sublist = new itemlist("Gestion assos/club","boxlist");
if($this->user->is_in_group("root"))
$sublist->add("<a href=\"".$topdir."rootplace/index.php\">Équipe informatique</a>");
if($this->user->is_in_group("moderateur_site"))
$sublist->add("<a href=\"".$topdir."ae/com.php\">Équipe com</a>");
$cts->add($sublist,true, true, "assobox", "boxlist", true, true);
}
......
......@@ -104,7 +104,10 @@ elseif($site->user->is_in_group("root") || $site->user->is_in_group("moderateur_
$sublist = new itemlist("Gestion assos/clubs","boxlist");
else
$sublist = new itemlist("Gestion assos/club","boxlist");
if($site->user->is_in_group("root"))
$sublist->add("<a href=\"".$topdir."rootplace/index.php\">Équipe informatique</a>");
if($site->user->is_in_group("moderateur_site"))
$sublist->add("<a href=\"".$topdir."ae/com.php\">Équipe com</a>");
$board->add($sublist,true);
}
......
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