Skip to content

Commit

Permalink
MDL-49659 theme: Removed home link and limited login info in secure.php
Browse files Browse the repository at this point in the history
Credits: Thanks go to Andreas Hruska [https://github.com/ahruska] for the original patch for this issue.
  • Loading branch information
Mary Evans committed Jun 4, 2015
1 parent 570bcd8 commit b451b66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions theme/bootstrapbase/layout/secure.php
Expand Up @@ -38,9 +38,9 @@
<header role="banner" class="navbar navbar-fixed-top moodle-has-zindex">
<nav role="navigation" class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
<span class="brand"><?php echo
format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
?></a>
?></span>
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
Expand All @@ -49,6 +49,7 @@
<div class="nav-collapse collapse">
<ul class="nav pull-right">
<li><?php echo $OUTPUT->page_heading_menu(); ?></li>
<li class="navbar-text"><?php echo $OUTPUT->login_info(false) ?></li>
</ul>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions theme/clean/layout/secure.php
Expand Up @@ -41,9 +41,9 @@
<header role="banner" class="navbar navbar-fixed-top moodle-has-zindex">
<nav role="navigation" class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
<span class="brand"><?php echo
format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
?></a>
?></span>
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
Expand Down

0 comments on commit b451b66

Please sign in to comment.