17be567191
For an overvies of the DIV framework and the DIVs in the header and footer please look at http://moodle.org/mod/wiki/view.php?id=2935&userid=0&groupid=0&wikipage=CoursePage The CSS is not yet well structured - it's just working for a starting. For the offical release I'll have to rebuild the CSS to match the final needs. It's lacking an easy CSS for beginners too. Please tell me, if you find some bugs or have some remarks - or if you just like it ;-) Thank you Urs
49 lines
1.7 KiB
HTML
49 lines
1.7 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="stylesheet" type="text/css" href="<?php echo $styles ?>" />
|
|
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
|
<?php include("$CFG->javascript"); ?>
|
|
</head>
|
|
|
|
<body<?php
|
|
echo " $bodytags";
|
|
if ($focus) {
|
|
echo " onload=\"setfocus()\"";
|
|
}
|
|
echo " bgcolor=\"$THEME->body\">";
|
|
?>
|
|
|
|
<div id="wrapper">
|
|
|
|
<?php if ($home) { // This is what gets printed on the home page only
|
|
?>
|
|
<div id="header-home">
|
|
<div class="headermain"><?php echo $heading ?></div>
|
|
<div class="headermenu"><?php echo $menu ?></div>
|
|
</div>
|
|
<div class="clearer"></div>
|
|
<div id="nav-bar">
|
|
<div id="breadcrumb"> </div>
|
|
<div id="navbutton"> </div>
|
|
</div>
|
|
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
|
?>
|
|
<div id="header">
|
|
<div class="headermain"><?php echo $heading ?></div>
|
|
<div class="headermenu"><?php echo $menu ?></div>
|
|
</div>
|
|
<?php } ?>
|
|
<div class="clearer"></div>
|
|
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
|
<div id="nav-bar">
|
|
<div id="breadcrumb"><?php print_navigation("$navigation"); ?></div>
|
|
<div id="navbutton"><?php echo $button; ?></div>
|
|
</div>
|
|
<?php } ?>
|
|
<div class="clearer"></div>
|
|
<!-- END OF HEADER -->
|
|
<div id="containerContent"> |