From: moodler Date: Fri, 9 Jan 2004 06:52:54 +0000 (+0000) Subject: More tweaks when displaying embedded resources X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1b4ccb8a92a5b25e0da7101c7acc878cb0269181;p=moodle.git More tweaks when displaying embedded resources --- diff --git a/mod/resource/view.php b/mod/resource/view.php index 248121483e..8dff3fa494 100644 --- a/mod/resource/view.php +++ b/mod/resource/view.php @@ -233,9 +233,6 @@ "", "", true, update_module_button($cm->id, $course->id, $strresource), navmenu($course, $cm, "self")); } - if ($resource->summary) { - print_simple_box(format_text($resource->summary), 'center'); - } if ($resourcetype == "image") { echo "

"; @@ -246,19 +243,23 @@ echo "

"; echo ''; + echo ' width="600" height="70" id="mp3player" align="">'; echo "wwwroot/lib/mp3player.swf?src=$fullurl&autostart=yes\">"; echo ''; echo ''; echo "wwwroot/lib/mp3player.swf?src=$fullurl&autostart=yes\" "; - echo " quality=high bgcolor=\"#333333\" width=\"600\" height=\"100\" name=\"mp3player\" "; + echo " quality=high bgcolor=\"#333333\" width=\"600\" height=\"70\" name=\"mp3player\" "; echo ' type="application/x-shockwave-flash" '; echo ' pluginspage="http://www.macromedia.com/go/getflashplayer">'; echo ''; echo ''; echo "

"; } + if ($resource->summary) { + print_simple_box(format_text($resource->summary), 'center'); + } if (!$inpopup) { + print_spacer(20,20); print_footer($course); }