Fix template paths
This commit is contained in:
parent
76269a821d
commit
ca7570d908
@ -65,4 +65,4 @@ catch(ExerciceNotFoundException $e)
|
||||
return "404";
|
||||
}
|
||||
|
||||
return SALT_ADMIN."/exercice";
|
||||
return "admin/exercice";
|
||||
|
@ -11,7 +11,7 @@ if (!empty($_GET["delete"]))
|
||||
else
|
||||
{
|
||||
erreur("Merci d'ajouter la variable misc_dir dans root.xml");
|
||||
return SALT_ADMIN."/users";
|
||||
return "admin/users";
|
||||
}
|
||||
|
||||
$id_team = intval($_GET["delete"]);
|
||||
@ -28,7 +28,7 @@ else if (isset($_GET["drop"]))
|
||||
else
|
||||
{
|
||||
erreur("Merci d'ajouter la variable misc_dir dans root.xml");
|
||||
return SALT_ADMIN."/users";
|
||||
return "admin/users";
|
||||
}
|
||||
|
||||
foreach(Team::get_teams() as $team)
|
||||
@ -44,4 +44,4 @@ else if (isset($_GET["drop"]))
|
||||
|
||||
$template->assign("teams", Team::get_teams());
|
||||
|
||||
return SALT_ADMIN."/users";
|
||||
return "admin/users";
|
||||
|
Loading…
Reference in New Issue
Block a user