aboutsummaryrefslogtreecommitdiffstats
path: root/en/doc/archive.php
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2016-06-28 18:33:45 +0200
committerfilip <filip.komar@gmail.com>2016-06-28 18:33:45 +0200
commit919bbda416c2add0463b2ae2fcf5b802f4efd59a (patch)
tree7a91b14f81972daff62cfd9a817f3f91218e6f4d /en/doc/archive.php
parent80c9f1c7aef4eb6500d7f3f907357cb878df5812 (diff)
downloadwww-919bbda416c2add0463b2ae2fcf5b802f4efd59a.tar
www-919bbda416c2add0463b2ae2fcf5b802f4efd59a.tar.gz
www-919bbda416c2add0463b2ae2fcf5b802f4efd59a.tar.bz2
www-919bbda416c2add0463b2ae2fcf5b802f4efd59a.tar.xz
www-919bbda416c2add0463b2ae2fcf5b802f4efd59a.zip
start with the common footer on some pages
+ separate function for it + separate css for it + expanding i18n function for that purpose (to accept more than one gettext file)
Diffstat (limited to 'en/doc/archive.php')
-rw-r--r--en/doc/archive.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/en/doc/archive.php b/en/doc/archive.php
index f67c870eb..a873f946c 100644
--- a/en/doc/archive.php
+++ b/en/doc/archive.php
@@ -2,7 +2,7 @@
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
-$dictionary = read_translation_file($locale, 'documentation');
+$dictionary = read_translation_file($locale, array('documentation', 'common_footer'));
require 'doc.php';
?><!DOCTYPE html>
@@ -13,6 +13,7 @@ require 'doc.php';
<meta name="description" content="<?php _g('Documentation for previous releases of Mageia distribution and its tools.')?>">
<meta name="keywords" content="<?php _g('doc,documentation,help,guide,installer,installation,mageia,linux')?>">
<link rel="stylesheet" href="/g/style/all.css" type="text/css">
+ <link rel="stylesheet" type="text/css" href="/g/style/common_footer.css">
<?php include '../../analytics.php'; ?>
</head>
<body class="doc">
@@ -58,10 +59,6 @@ require 'doc.php';
</div>
</div>
</div>
- <div style="margin-left: 2em;">
- <hr>
- <p><a href="/<?php echo $locale; ?>/map/"><?php _g('Mageia sitemap')?></a>
- | <a href="/<?php echo $locale; ?>/support/"><?php _g('Support')?></a></p>
- </div>
+<?php echo common_footer($locale); ?>
</body>
</html>