Minor - format code

pull/3681/head
Julio Montoya 5 years ago
parent 38dbc98729
commit 28db6b84da
  1. 13
      main/inc/lib/exercise.lib.php

@ -1649,9 +1649,11 @@ HOTSPOT;
/**
* Get an HTML string with the list of exercises where the given question
* is being used
* @param int $questionId The iid of the question being observed
* is being used.
*
* @param int $questionId The iid of the question being observed
* @param int $excludeTestId If defined, exclude this (current) test from the list of results
*
* @return string An HTML string containing a div and a table
*/
public static function showTestsWhereQuestionIsUsed(int $questionId, int $excludeTestId = 0)
@ -1702,18 +1704,18 @@ HOTSPOT;
get_lang('Course'),
get_lang('Session'),
get_lang('Quiz'),
get_lang('LinkToTestEdition')
get_lang('LinkToTestEdition'),
];
$title = Display::div(
get_lang('QuestionAlsoUsedInTheFollowingTests'),
[
'class' => 'section-title',
'style' => 'margin-top: 25px; border-bottom: none'
'style' => 'margin-top: 25px; border-bottom: none',
]
);
$html = $title . Display::table($headers, $result);
$html = $title.Display::table($headers, $result);
}
echo $html;
@ -6092,7 +6094,6 @@ EOT;
}
}
// Send to student.
if ($sendMessage) {
MessageManager::send_message($currentUserId, $subject, $content);

Loading…
Cancel
Save