mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
DOn't show intro on first page of single view
This commit is contained in:
parent
3f9672d37c
commit
9e08cf6ed1
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@
|
|||
echo '<div style="clear:both;"></div>';
|
||||
}
|
||||
|
||||
if ($data->intro and empty($page) and empty($record)) {
|
||||
if ($data->intro and empty($page) and empty($record) and $mode != 'single') {
|
||||
print_simple_box(format_text($data->intro), 'center', '70%', '', 5, 'generalbox', 'intro');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue