aboutsummaryrefslogtreecommitdiffstats
path: root/en/5
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/5
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/5')
-rwxr-xr-xen/5/download_index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/en/5/download_index.php b/en/5/download_index.php
index 058653ddd..1b01b5e98 100755
--- a/en/5/download_index.php
+++ b/en/5/download_index.php
@@ -13,7 +13,7 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
-$dictionary = read_translation_file($locale, "5");
+$dictionary = read_translation_file($locale, array('5', 'common_footer'));
function get_mageia($name, $version, $release)
{
@@ -133,6 +133,7 @@ input[type="radio"], input[type="submit"] {
border-radius: 6px;
}
</style>
+<link rel="stylesheet" type="text/css" href="/g/style/common_footer.css">
</head>
<body class="release downloads">
<?php echo $hsnav; ?>
@@ -140,7 +141,7 @@ input[type="radio"], input[type="submit"] {
<h1 id="mgnavt"><?php echo sprintf(_g('Download') . ' <strong>%s %s %s</strong>',$name, $version, $release)?></h1>
<?php include '../5/nav.php'; ?>
- <div id="doc4" class="yui-t7">
+ <div id="doc4" class="yui-t7" style="margin-bottom: 0px;">
<div id="bd" role="main">
<div class="yui-ge bb1">
<div class="yui-u first rb1">
@@ -626,5 +627,6 @@ $('img.lazy').each(function(){
});
</script>
+<?php echo common_footer($locale); ?>
</body>
</html>