mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-20636 Review and fix the format parameter to all calls to format_text.
This commit is contained in:
parent
a18fda20c4
commit
22cebed503
20 changed files with 100 additions and 69 deletions
|
@ -1123,10 +1123,9 @@ class quiz_question_bank_view extends question_bank_view {
|
|||
echo '<div class="categoryinfo"><div class="categorynamefieldcontainer">' .
|
||||
$strcategory;
|
||||
echo ': <span class="categorynamefield">';
|
||||
echo shorten_text(strip_tags(format_text($category->name, FORMAT_MOODLE,
|
||||
$formatoptions, $this->course->id)), 60);
|
||||
echo shorten_text(strip_tags(format_string($category->name)), 60);
|
||||
echo '</span></div><div class="categoryinfofieldcontainer"><span class="categoryinfofield">';
|
||||
echo shorten_text(strip_tags(format_text($category->info, FORMAT_MOODLE,
|
||||
echo shorten_text(strip_tags(format_text($category->info, $category->infoformat,
|
||||
$formatoptions, $this->course->id)), 200);
|
||||
echo '</span></div></div>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue