Varous tweaks, mostly navbar

This commit is contained in:
moodler 2005-04-02 12:44:04 +00:00
parent 1a86378a73
commit 61bff7e5ec
4 changed files with 21 additions and 3 deletions

View File

@ -33,7 +33,7 @@
<div class="clearer">&nbsp;</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

View File

@ -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&'.

View File

@ -15,7 +15,10 @@
</p>
<?php } ?>
</div>
</div>
<?php echo $navmenulist ?>
</body>
</html>

View File

@ -32,10 +32,10 @@
<?php } ?>
<div class="clearer">&nbsp;</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" />