From 7dd131ea1278bcfd4893cc03c171c26beda9efa6 Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Tue, 3 Oct 2017 15:28:43 +0200 Subject: [PATCH] Minor - format code --- main/inc/lib/exercise.lib.php | 4 +- .../template/default/auth/session_catalog.tpl | 91 +++++++++---------- 2 files changed, 45 insertions(+), 50 deletions(-) diff --git a/main/inc/lib/exercise.lib.php b/main/inc/lib/exercise.lib.php index 21c906128b..85aa1cbd3f 100644 --- a/main/inc/lib/exercise.lib.php +++ b/main/inc/lib/exercise.lib.php @@ -4162,9 +4162,7 @@ EOT; } if ($show_all_but_expected_answer) { - $exercise_content .= "
".get_lang( - "ExerciseWithFeedbackWithoutCorrectionComment" - )."
"; + $exercise_content .= "
".get_lang('ExerciseWithFeedbackWithoutCorrectionComment')."
"; } // Remove audio auto play from questions on results page - refs BT#7939 diff --git a/main/template/default/auth/session_catalog.tpl b/main/template/default/auth/session_catalog.tpl index 839ce794c0..02bd2a1eb5 100644 --- a/main/template/default/auth/session_catalog.tpl +++ b/main/template/default/auth/session_catalog.tpl @@ -1,7 +1,7 @@ {% extends template ~ "/layout/page.tpl" %} {% block body %} - + return content; + } + }); + {% endif %} @@ -223,4 +220,4 @@ {{ catalog_pagination }} -{% endblock %} +{% endblock %} \ No newline at end of file