aboutsummaryrefslogtreecommitdiff
path: root/src/router.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/router.php')
-rw-r--r--src/router.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/router.php b/src/router.php
index 04441a9..3c3c773 100644
--- a/src/router.php
+++ b/src/router.php
@@ -156,9 +156,12 @@ elseif($_SERVER['REQUEST_METHOD'] === 'POST'){
156 elseif($_GET['menu_edit'] === 'switch_positions' && isset($json['id1']) && isset($json['id2'])){ 156 elseif($_GET['menu_edit'] === 'switch_positions' && isset($json['id1']) && isset($json['id2'])){
157 MenuAndPathsController::switchPositions($entityManager, $json); 157 MenuAndPathsController::switchPositions($entityManager, $json);
158 } 158 }
159 elseif($_GET['menu_edit'] === 'displayInMenu' && isset($json['id']) && isset($json['checked'])){ 159 elseif($_GET['menu_edit'] === 'display_in_menu' && isset($json['id']) && isset($json['checked'])){
160 MenuAndPathsController::displayInMenu($entityManager, $json); 160 MenuAndPathsController::displayInMenu($entityManager, $json);
161 } 161 }
162 elseif($_GET['menu_edit'] === 'edit_url_entry' && isset($json['id']) && isset($json['url_input'])){
163 MenuAndPathsController::editUrlEntry($entityManager, $json);
164 }
162 } 165 }
163 166
164 /* -- mode Modification d'une page -- */ 167 /* -- mode Modification d'une page -- */