]> git.mjollnir.org Git - moodle.git/commitdiff
Merged changes from MOODLE_17_STABLE
authormark-nielsen <mark-nielsen>
Wed, 6 Dec 2006 02:26:28 +0000 (02:26 +0000)
committermark-nielsen <mark-nielsen>
Wed, 6 Dec 2006 02:26:28 +0000 (02:26 +0000)
mod/lesson/viewend.html

index 1e8014d151f5bb858e52981890918ea56163b796..1363ab8faf6c6048a7e99cf6db49ea96010796da 100644 (file)
 <!-- Start view end -->
         </td>
         <td>
-            <?php echo $medialink ?>
+
+<?php if (!empty($medialink)) { ?>
+
+            <table width="150px">
+                <tr><td>
+                    <?php echo $medialink ?>
+                </td></tr>
+            </table>
+
+<?php } ?>
 
 <?php if($lesson->timed and !has_capability('mod/lesson:manage', $context)) { // Display for timed lessons and for students only ?>