aboutsummaryrefslogtreecommitdiffstats
path: root/en/map
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2017-07-05 14:03:17 +0200
committerManuel Hiebel <leuhmanu@mageia.org>2017-07-05 14:03:17 +0200
commit99e19363adb47ce69244bc4d73e70feb10b0bad5 (patch)
tree7cc3244495063f03d4c99af3683f5359cba51bfb /en/map
parentd3cca0de75e43d83648aefdef50c3599c51e12cd (diff)
downloadwww-99e19363adb47ce69244bc4d73e70feb10b0bad5.tar
www-99e19363adb47ce69244bc4d73e70feb10b0bad5.tar.gz
www-99e19363adb47ce69244bc4d73e70feb10b0bad5.tar.bz2
www-99e19363adb47ce69244bc4d73e70feb10b0bad5.tar.xz
www-99e19363adb47ce69244bc4d73e70feb10b0bad5.zip
adapt to bootstrap
swiych from custom map.css to bootstrap class
Diffstat (limited to 'en/map')
-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>