]> git.mjollnir.org Git - moodle.git/commitdiff
DOn't show intro on first page of single view
authormoodler <moodler>
Sat, 15 Apr 2006 06:02:21 +0000 (06:02 +0000)
committermoodler <moodler>
Sat, 15 Apr 2006 06:02:21 +0000 (06:02 +0000)
mod/data/view.php

index f19576351637b12f16c40d013aa73ae97e7b7374..5f0fa85e3abd1b0ca5b489d4670c30ee94223e5b 100755 (executable)
         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');
     }