mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
navigation MDL-14632 Deprecate print_header menu argument and provide PAGE method
This commit is contained in:
parent
b7510c3aa8
commit
e120c61d24
7 changed files with 33 additions and 18 deletions
|
@ -14,8 +14,8 @@
|
|||
<div id="header-home" class="clearfix">
|
||||
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu"><?php
|
||||
if ($menu) {
|
||||
echo $menu;
|
||||
if ($PAGE->headingmenu) {
|
||||
echo $PAGE->headingmenu;
|
||||
} else {
|
||||
echo $OUTPUT->login_info();
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<?php if ($PAGE->heading) { ?>
|
||||
<div id="header" class="clearfix">
|
||||
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
<div class="headermenu"><?php echo $PAGE->headingmenu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<?php if ($PAGE->heading) { ?>
|
||||
<div id="header" class="clearfix">
|
||||
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
<div class="headermenu"><?php echo $PAGE->headingmenu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<?php if ($PAGE->heading) { ?>
|
||||
<div id="header" class="clearfix">
|
||||
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
<div class="headermenu"><?php echo $PAGE->headingmenu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue