aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/map/index.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/en/map/index.php b/en/map/index.php
index b709c94a5..bcc06f9cc 100644
--- a/en/map/index.php
+++ b/en/map/index.php
@@ -92,17 +92,17 @@ $map = array(
)
)
);
-$t_li1 = '<li class="map-b"><h2 id="%s"><a href="%s">%s</a></h2> <ul class="map-bl">%s</ul></li>';
+$t_li1 = '<li class="col-12 col-sm-6 col-md-4 col-xl-2 list-unstyled pb-2"><h2 id="%s"><a href="%s">%s</a></h2> <ul class="p-0">%s</ul></li>';
$t_li2 = '<li><a href="%s">%s</a> %s</li> ';
-$t_li3 = '<li><a href="%s">%s</a></li> ';
+$t_li3 = '<li class="list-inline-item badge badge-info"><a class="p-1 text-white" href="%s">%s</a></li> ';
-$sMap = '<ul id="map">';
+$sMap = '<ul id="map" class="row m-0 p-0">';
foreach ($map as $k => $v) {
$l = '';
foreach ($v['i'] as $w) {
$sub = null;
if (array_key_exists('i', $w) && is_array($w['i'])) {
- $sub = '<ul>';
+ $sub = '<ul class="list-inline">';
foreach ($w['i'] as $x) {
$sub .= sprintf($t_li3,
str_replace('{L}', $locale, $x['l']), $x['t']);
@@ -125,14 +125,13 @@ $sMap .= '</ul>';
<meta name="keywords" content="<?php _g('mageia, web site, map, sitemap'); ?>">
<meta name="robots" content="noindex,nofollow,nosnippet">
<link rel="canonical" href="/<?php echo $locale; ?>/map/">
- <link rel="stylesheet" href="map.css">
- <link rel="stylesheet" type="text/css" href="/g/style/common_footer.css">
<?php include '../../analytics.php'; ?>
+ <?php echo common_header(); ?>
</head>
<body class="map">
<?php echo $hsnav; ?>
<h1 id="mgnavtitle"><?php _g('Site Map'); ?></h1>
- <div class="doc">
+ <div class="container mt-4" id="">
<?php echo $sMap; ?>
<div style="clear: both;"></div>
<hr>