minor code format

1.9.x
Francis Gonzales 12 years ago
parent 5becf16d4e
commit 1b0f416dec
  1. 42
      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();
}
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' :
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' :
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;
}

Loading…
Cancel
Save