mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Fix ongoing, bug 5400, "Accessibility modifications not propagated to themes" (OU-Bugz: 1006)
This commit is contained in:
parent
c7ae8c5da7
commit
06742c425b
1 changed files with 10 additions and 9 deletions
|
@ -17,25 +17,26 @@
|
||||||
|
|
||||||
<div id="page">
|
<div id="page">
|
||||||
|
|
||||||
<?php if ($home) { // This is what gets printed on the home page only
|
<?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">
|
||||||
<div class="headermain"><?php echo $heading ?></div>
|
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||||
<div class="headermenu"><?php echo $menu ?></div>
|
<div class="headermenu"><?php echo $menu ?></div>
|
||||||
</div>
|
</div>
|
||||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||||
?>
|
?>
|
||||||
<div id="header">
|
<div id="header" class="clearfix">
|
||||||
<div class="headermain"><?php echo $heading ?></div>
|
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||||
<div class="headermenu"><?php echo $menu ?></div>
|
<div class="headermenu"><?php echo $menu ?></div>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="clearer"> </div>
|
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
|
||||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
if ($navigation) { // This is the navigation bar with breadcrumbs ?>
|
||||||
<table class="navbar"><tr><td>
|
<div class="navbar clearfix">
|
||||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||||
<div class="navbutton"><?php echo $button; ?></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
|
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||||
?>
|
?>
|
||||||
<hr size="1" noshade="noshade" />
|
<hr size="1" noshade="noshade" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue