mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-8922: Had to modify another bunch of files to fix a simple problem:
when a config block contains a form, the previous form needs to be closed properly (it was, but there were non-matching closing divs etc...).
This commit is contained in:
parent
7b44777ef7
commit
5db0cffcf6
6 changed files with 14 additions and 10 deletions
|
@ -235,7 +235,7 @@
|
|||
|
||||
$item['link'] = str_replace('&', '&', $item['link']);
|
||||
|
||||
$returnstring .= '<li><div class="link"><a href="'. $item['link'] .'" target="_blank">'. $item['title'] . "</a></div>\n";
|
||||
$returnstring .= '<li><div class="link"><a href="'. $item['link'] .'">'. $item['title'] . "</a></div>\n";
|
||||
|
||||
if ($display_description && !empty($item['description'])) {
|
||||
$item['description'] = break_up_long_words($item['description'], 30);
|
||||
|
@ -285,4 +285,4 @@
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue