DOn't show intro on first page of single view

This commit is contained in:
moodler 2006-04-15 06:02:21 +00:00
parent 3f9672d37c
commit 9e08cf6ed1

View file

@ -186,7 +186,7 @@
echo '<div style="clear:both;"></div>'; 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'); print_simple_box(format_text($data->intro), 'center', '70%', '', 5, 'generalbox', 'intro');
} }