New bootstrap-based layout #30
@ -31,7 +31,11 @@ class MainNavBar extends NavBar
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#', $this->innerMenuId, '" aria-controls="', $this->innerMenuId, '" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
</button>';
|
||||
|
||||
if (Registry::get('user')->isLoggedIn())
|
||||
{
|
||||
echo '
|
||||
<div class="collapse navbar-collapse justify-content-end" id="', $this->innerMenuId, '">
|
||||
<ul class="navbar-nav mb-2 mb-lg-0">';
|
||||
|
||||
@ -49,7 +53,10 @@ class MainNavBar extends NavBar
|
||||
|
||||
echo '
|
||||
</ul>
|
||||
</div>
|
||||
</div>';
|
||||
}
|
||||
|
||||
echo '
|
||||
</div>
|
||||
</nav>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user