From 1b0f416dec10f86bf566d60ef59888737cc2854c Mon Sep 17 00:00:00 2001 From: Francis Gonzales Date: Mon, 19 May 2014 12:07:45 -0500 Subject: [PATCH] minor code format --- main/course_progress/index.php | 50 +++++++++++++++++----------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/main/course_progress/index.php b/main/course_progress/index.php index 0d91b20432..0f687bec8e 100755 --- a/main/course_progress/index.php +++ b/main/course_progress/index.php @@ -296,40 +296,40 @@ if ($action == 'thematic_advance_add' || $action == 'thematic_advance_edit') { // Distpacher actions to controller switch ($action) { - case 'thematic_add' : - case 'thematic_edit' : - case 'thematic_delete' : - case 'thematic_delete_select' : - case 'thematic_copy' : - case 'thematic_import_select' : - case 'thematic_import' : - case 'moveup' : - case 'movedown' : + case 'thematic_add': + case 'thematic_edit': + case 'thematic_delete': + case 'thematic_delete_select': + case 'thematic_copy': + case 'thematic_import_select': + case 'thematic_import': + case 'moveup': + case 'movedown': if (!api_is_allowed_to_edit(null,true)) { - api_not_allowed(); + api_not_allowed(); } - case 'thematic_list' : - case 'thematic_export' : - case 'thematic_export_pdf' : - case 'thematic_details' : + case 'thematic_list': + case 'thematic_export': + case 'thematic_export_pdf': + case 'thematic_details': $thematic_controller->thematic($action); - break; - case 'thematic_plan_add' : - case 'thematic_plan_edit' : - case 'thematic_plan_delete' : + break; + case 'thematic_plan_add': + case 'thematic_plan_edit': + case 'thematic_plan_delete': if (!api_is_allowed_to_edit(null,true)) { api_not_allowed(); } - case 'thematic_plan_list' : + case 'thematic_plan_list': $thematic_controller->thematic_plan($action); - break; - case 'thematic_advance_add' : - case 'thematic_advance_edit' : - case 'thematic_advance_delete' : + break; + case 'thematic_advance_add': + case 'thematic_advance_edit': + case 'thematic_advance_delete': if (!api_is_allowed_to_edit(null,true)) { api_not_allowed(); } - case 'thematic_advance_list' : + case 'thematic_advance_list': $thematic_controller->thematic_advance($action); - break; + break; }