Commit d0870c25 authored by Ayolo's avatar Ayolo

boxes

parent a9c997db
......@@ -81,7 +81,7 @@ $req = new requete($site->db,
"ORDER BY asso.`nom_asso`");
if ( $req->lines > 0 )
{
if( $this->user->is_in_group("root") )
if( $site->user->is_in_group("root") )
$sublist = new itemlist("Gestion assos/clubs","boxlist");
elseif( $req->lines == 0 )
$sublist = new itemlist("Gestion assos/club","boxlist");
......@@ -96,7 +96,7 @@ if ( $req->lines > 0 )
$board->add($sublist,true);
}
elseif($this->user->is_in_group("root"))
elseif($site->user->is_in_group("root"))
{
$sublist = new itemlist("Gestion assos/club","boxlist");
$sublist->add("<a href=\"".$topdir."rootplace/index.php\">Équipe informatique</a>");
......
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