HTML linking
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html<?php echo $direction ?>> <head>
<?php echo $meta ?> <meta name="keywords" content="moodle, <?php echo $title ?> " /> <title><?php echo $title ?></title> <link rel="shortcut icon" href="<?php echo $CFG->themewww .'/'. current_theme() ?>/favicon.ico" /> <?php include("$CFG->javascript"); ?>
</head>
<body<?php
echo " $bodytags"; if ($focus) { echo " onload=\"setfocus()\""; } ?>>
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
<?php print_container_start(true, ”, ‘header-home’); ?>
<img src=”<?php echo $CFG->themewww .’/’. current_theme() ?>/pix/sed.png” alt=”Institutions Logo” /> <?php echo $heading ?>
<?php print_container_end(); ?>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="980" height="300" id="intro" align="middle">
<param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="<?php echo $CFG->themewww.'/'.current_theme() ?>/flash/intro.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <embed src="<?php echo $CFG->themewww.'/'.current_theme() ?>/flash/intro.swf" quality="high" bgcolor="#ffffff" width="980" height="300" name="intro" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
<?php print_container_start(true, , 'header'); ?>
<?php echo $heading ?>
<?php print_container_end(); ?>
<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?><?php } ?><?php print_container_start(false, , 'content'); ?>