mirror of
https://github.com/moodle/moodle.git
synced 2025-02-21 01:48:45 +01:00
76 lines
2.6 KiB
HTML
76 lines
2.6 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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 background="<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/images/bg.gif" <?php
|
|
echo " $bodytags";
|
|
if ($focus) {
|
|
echo " onload=\"setfocus()\"";
|
|
}
|
|
?>>
|
|
<table align="center" width="100%" border="2" cellpadding="0" cellspacing="0" bgcolor="#D0E2EE">
|
|
<tr><td>
|
|
<div id="page">
|
|
|
|
<?php if ($home) { // This is what gets printed on the home page only
|
|
?>
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
|
|
<tr>
|
|
<td>
|
|
<table background="<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/images/headerbg.jpg" width="100%" height="112" cellpadding="0" cellspacing="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td valign="top" class="headermain"><?php echo $heading ?></td>
|
|
|
|
|
|
|
|
<td align="right" style="padding-right:5px" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
|
|
|
|
</tr>
|
|
</table></tr></td>
|
|
</table>
|
|
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
|
?>
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
<table background="<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/images/headerbg.jpg" width="100%" height="112" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td valign="top"><?php echo $heading ?></td>
|
|
<td align="right" sty class="headermain"le="padding-right:5px" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
|
|
</tr>
|
|
</table>
|
|
</tr>
|
|
</td>
|
|
</table>
|
|
|
|
<?php } ?>
|
|
<div class="clearer"> </div>
|
|
|
|
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
|
<table border="0" cellpadding="3" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td><?php print_navigation("$navigation"); ?></td>
|
|
<td align="right" width="20" valign="top"><?php echo $button; ?></td>
|
|
</tr>
|
|
</table>
|
|
<img src="<?php echo $CFG->httpswwwroot?>/pix/spacer.gif" alt="" height="5" width="1" /><br />
|
|
|
|
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
|
?>
|
|
<?php } ?>
|
|
<div class="clearer"> </div>
|
|
<!-- END OF HEADER -->
|
|
<div id="content">
|