aboutsummaryrefslogtreecommitdiffstats
path: root/en/support
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/support
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/support')
-rw-r--r--en/support/index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/en/support/index.php b/en/support/index.php
index 9d41238cb..fd298062c 100644
--- a/en/support/index.php
+++ b/en/support/index.php
@@ -2,7 +2,7 @@
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
-$dictionary = read_translation_file($locale, 'support');
+$dictionary = read_translation_file($locale, array('support', 'common_footer'));
?><!DOCTYPE html>
<html dir="ltr" lang="<?php echo $locale; ?>">
@@ -13,6 +13,7 @@ $dictionary = read_translation_file($locale, 'support');
<meta name="keywords" content="<?php _g('mageia, linux, support, help, hardware, qa, test')?>">
<meta name="author" content="Mageia">
<link rel="stylesheet" type="text/css" href="/g/style/all.css">
+ <link rel="stylesheet" type="text/css" href="/g/style/common_footer.css">
<?php include '../../analytics.php'; ?>
</head>
<body class="support">
@@ -29,7 +30,7 @@ $dictionary = read_translation_file($locale, 'support');
<li><a href="//bugs.mageia.org/"><?php _g('Bugs Reports')?></a></li>
</ul>
</header>
- <div id="doc" class="yui-t7">
+ <div id="doc" class="yui-t7" style="margin-bottom: 0px;">
<div id="bd" role="main">
<div class="yui-g">
<div class="para donate" style="padding-top: 2em;">
@@ -103,5 +104,6 @@ $dictionary = read_translation_file($locale, 'support');
</div>
</div>
</div>
+<?php echo common_footer($locale); ?>
</body>
</html>