Fix template paths

This commit is contained in:
nemunaire 2014-11-05 17:18:07 +01:00
parent 76269a821d
commit ca7570d908
2 changed files with 4 additions and 4 deletions

View File

@ -65,4 +65,4 @@ catch(ExerciceNotFoundException $e)
return "404";
}
return SALT_ADMIN."/exercice";
return "admin/exercice";

View File

@ -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";