From: moodler Date: Sat, 15 Apr 2006 06:02:21 +0000 (+0000) Subject: DOn't show intro on first page of single view X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9e08cf6ed121923fb2a8e21db3b62c0eb1afdd04;p=moodle.git DOn't show intro on first page of single view --- diff --git a/mod/data/view.php b/mod/data/view.php index f195763516..5f0fa85e3a 100755 --- a/mod/data/view.php +++ b/mod/data/view.php @@ -186,7 +186,7 @@ echo '
'; } - 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'); }