mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Changes to styles used in nav-bar (no longer id, now a class) including
renaming - please check other themes!!! Also the footer can now use all the same PHP variables as the headero $heading - the heading of the page $menu - the menu if any (sometimes it's the "logged in as" string) $title - the title of the page $navigation - the navigation string $button - a button, if any $home - true if on home page, otherwise false
This commit is contained in:
parent
47819c85d2
commit
d2c6555d40
@ -2,12 +2,20 @@
|
||||
</div> <!-- end div containerContent -->
|
||||
<!-- START OF FOOTER -->
|
||||
<div id="footer">
|
||||
<hr size="1" noshade="noshade" />
|
||||
|
||||
<?php if (!$home and $heading) { // Most pages with heading, except home page ?>
|
||||
<div class="navbar">
|
||||
<div class="breadcrumb"><?php print_navigation("$navigation"); ?></div>
|
||||
<div class="menu"><?php echo $menu; ?></div>
|
||||
</div>
|
||||
<div class="clearer"> </div>
|
||||
<?php } ?>
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<p class="homelink"><?php echo $homelink ?></p>
|
||||
|
||||
|
||||
<?php if (isadmin()) { ?>
|
||||
<br />
|
||||
<hr size="1" noshade="noshade" />
|
||||
<p align="center">
|
||||
<a href="http://validator.w3.org/check?verbose=1&ss=1&uri=<?php echo urlencode(qualified_me()) ?>">Validate HTML</a> |
|
||||
|
@ -32,9 +32,9 @@
|
||||
<?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 class="navbar">
|
||||
<div class="breadcrumb"><?php print_navigation("$navigation"); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
|
@ -142,7 +142,7 @@ h4 {
|
||||
font-size:1.3em;
|
||||
}
|
||||
|
||||
#breadcrumb {
|
||||
.breadcrumb {
|
||||
font-size:0.9em;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
@ -205,17 +205,18 @@ table.formtable tbody th
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
#nav-bar {
|
||||
.navbar {
|
||||
padding:3px 0.5em;
|
||||
height:1.3em;
|
||||
}
|
||||
|
||||
#breadcrumb {
|
||||
.navbar .breadcrumb {
|
||||
float:left;
|
||||
margin:0.2em 0em;
|
||||
}
|
||||
|
||||
#navbutton {
|
||||
.navbar .navbutton,
|
||||
.navbar .menu {
|
||||
float:right;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user