Removing hardcoded navigation from theme ... this is not the way to do this. Better to restyle the navigation block.

This commit is contained in:
Martin Dougiamas 2010-05-05 13:14:41 +00:00
parent 079d4c7dd1
commit c54c8b3563
2 changed files with 4 additions and 6 deletions

View File

@ -41,8 +41,7 @@ echo $OUTPUT->doctype() ?>
</div>
<ul id="page-navigation" class="clearfix">
<li id="first"><a href="<?php echo $CFG->wwwroot; ?>" title="Home">Home</a></li>
<li><a href="<?php echo $CFG->wwwroot; ?>" title="Courses">Courses</a></li>
&nbsp;
</ul>
<!-- END OF HEADER -->
@ -104,4 +103,4 @@ echo $OUTPUT->doctype() ?>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>
</html>

View File

@ -50,8 +50,7 @@ echo $OUTPUT->doctype() ?>
<?php if ($hasheading) { ?>
<ul id="page-navigation" class="clearfix">
<li id="first"><a href="<?php echo $CFG->wwwroot; ?>" title="Home">Home</a></li>
<li><a href="<?php echo $CFG->wwwroot; ?>" title="Courses">Courses</a></li>
&nbsp;
</ul>
<?php } ?>
@ -113,4 +112,4 @@ echo $OUTPUT->doctype() ?>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>
</html>