aboutsummaryrefslogtreecommitdiffstats
path: root/lib.php
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2017-11-19 22:35:30 +0100
committerManuel Hiebel <leuhmanu@mageia.org>2017-11-19 22:35:30 +0100
commitd0d7da93b18a928da4b3023d567acba44ce4df4c (patch)
tree0aa319519e85f6133cf899f8e7a302efb4a240e1 /lib.php
parentc74c43d5d1e30ca575c71ed2a9f2806d6097ee59 (diff)
downloadnav-d0d7da93b18a928da4b3023d567acba44ce4df4c.tar
nav-d0d7da93b18a928da4b3023d567acba44ce4df4c.tar.gz
nav-d0d7da93b18a928da4b3023d567acba44ce4df4c.tar.bz2
nav-d0d7da93b18a928da4b3023d567acba44ce4df4c.tar.xz
nav-d0d7da93b18a928da4b3023d567acba44ce4df4c.zip
Adapt to Bootstrap 4 beta2
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib.php b/lib.php
index 563561d..676c479 100644
--- a/lib.php
+++ b/lib.php
@@ -325,11 +325,11 @@ function _mgnav_html($wrap = false, $lang = 'en', $inject = null, $vhost = 'www.
$s = implode($s);
$h = sprintf('<!--googleoff: all-->
<div class="mganav">
- <nav id="mgnav" class="container navbar navbar-toggleable-md navbar-light">
- <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
+ <nav id="mgnav" class="container navbar navbar-expand-lg navbar-light">
+ <a class="navbar-brand text-hide" href="//'. $vhost .'/'. $lang. '">Mageia</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
- <a class="navbar-brand text-hide" href="//'. $vhost .'/'. $lang. '">Mageia</a>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav mr-auto">%s</ul>
</div>