mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Varous tweaks, mostly navbar
This commit is contained in:
parent
1a86378a73
commit
61bff7e5ec
@ -33,7 +33,7 @@
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation("$navigation"); ?></div>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
|
@ -79,6 +79,21 @@ $THEME->langsheets = false;
|
||||
/// directory. This allows different languages to provide
|
||||
/// different styles.
|
||||
|
||||
$THEME->navmenuwidth = 50;
|
||||
|
||||
/// You can use this to control the cutoff point for strings
|
||||
/// in the navmenus (list of activities in popup menu etc)
|
||||
/// Default is 50 characters wide.
|
||||
|
||||
|
||||
$THEME->makenavmenulist = false;
|
||||
|
||||
/// By setting this to true, then you will have access to a
|
||||
/// new variable in your header.html and footer.html called
|
||||
/// $navmenulist ... this contains a simple XHTML menu of
|
||||
/// all activities in the current course, mostly useful for
|
||||
/// creating popup navigation menus and so on.
|
||||
|
||||
|
||||
$THEME->resource_mp3player_colors =
|
||||
'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
|
||||
|
@ -15,7 +15,10 @@
|
||||
</p>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php echo $navmenulist ?>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -32,10 +32,10 @@
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<div class="navbar">
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user