mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Standardising the printing of content and summaries to use format_text()
This commit is contained in:
parent
7dd826818e
commit
43cbfc1999
5 changed files with 17 additions and 13 deletions
|
@ -72,12 +72,12 @@
|
|||
if (!$resource->visible) { // Show dimmed if the mod is hidden
|
||||
$table->data[] = array ($printsection,
|
||||
"<a class=\"dimmed\" $extra href=\"view.php?id=$resource->coursemodule\">$resource->name</a>",
|
||||
text_to_html($resource->summary) );
|
||||
format_text($resource->summary) );
|
||||
|
||||
} else { //Show normal if the mod is visible
|
||||
$table->data[] = array ($printsection,
|
||||
"<a $extra href=\"view.php?id=$resource->coursemodule\">$resource->name</a>",
|
||||
text_to_html($resource->summary) );
|
||||
format_text($resource->summary) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue