mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-5400 "Accessibility modifications..." - fixing the 4 themes that don't use <h1>. Merged.
This commit is contained in:
parent
b05c975e30
commit
bc8f835f0d
4 changed files with 11 additions and 9 deletions
|
@ -17,15 +17,17 @@
|
|||
<div class="cornflowersurround">
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // home page ?>
|
||||
<?php //Accessibility: warning: ALT text will need editing when logo changes. 'headermain' is now H1.
|
||||
|
||||
if ($home) { // home page ?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><img alt="" src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></div>
|
||||
<h1 class="headermain"><img alt="[ REPLACE ME ]" src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></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-home">
|
||||
<div class="headermain"><img alt="" src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></div>
|
||||
<h1 class="headermain"><img alt="[ REPLACE ME ]" src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
|
|
|
@ -20,13 +20,13 @@
|
|||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<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 class="headermain"><?php echo $heading ?></div>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<div class="navbar">
|
||||
|
@ -28,7 +28,7 @@
|
|||
<?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>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
<!-- <div class="headermenu"><div id="new-menu"><?php echo $navmenulist ?></div></div> -->
|
||||
</div>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<div class="navbar">
|
||||
|
@ -28,7 +28,7 @@
|
|||
<?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>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
<!-- <div class="headermenu"><div id="new-menu"><?php echo $navmenulist ?></div></div> -->
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue