mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE
This commit is contained in:
parent
220f149cfc
commit
9f7f1a74a0
48 changed files with 653 additions and 732 deletions
|
@ -1,18 +1,18 @@
|
|||
|
||||
</div> <!-- end div containerContent -->
|
||||
<!-- START OF FOOTER -->
|
||||
|
||||
<div id="footer">
|
||||
<?php
|
||||
|
||||
print_container_end(); // content container
|
||||
|
||||
print_container_start(false, '', 'footer');
|
||||
|
||||
echo '<p class="helplink">';
|
||||
echo page_doc_link(get_string('moodledocslink'));
|
||||
echo '</p>';
|
||||
|
||||
echo $loggedinas;
|
||||
echo $homelink;
|
||||
|
||||
print_container_end();
|
||||
?>
|
||||
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -19,19 +19,19 @@
|
|||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<?php print_container_start(true, '', 'header-home'); ?>
|
||||
<h1 class="headermain"><?php echo $heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php print_container_end(); ?>
|
||||
<div class="navbar">
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<?php print_container_start(true, '', 'header'); ?>
|
||||
<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>
|
||||
<?php print_container_end(); ?>
|
||||
<?php } ?>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs
|
||||
?>
|
||||
|
@ -41,4 +41,4 @@
|
|||
</div>
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
<?php print_container_start(false, '', 'content'); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue