mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
modified based onf standard theme.
This commit is contained in:
parent
fbe4d5ce51
commit
27d18ac626
@ -20,27 +20,26 @@
|
||||
<?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
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div id="header-home" class="clearfix">
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div id="header" class="clearfix">
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
|
||||
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
|
||||
<div class="navbar clearfix">
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
|
Loading…
x
Reference in New Issue
Block a user