aboutsummaryrefslogtreecommitdiffstats
path: root/en/about
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/about
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/about')
-rw-r--r--en/about/index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/en/about/index.php b/en/about/index.php
index 62043c885..4eadd7490 100644
--- a/en/about/index.php
+++ b/en/about/index.php
@@ -3,7 +3,7 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
-$dictionary = read_translation_file($locale, "about");
+$dictionary = read_translation_file($locale, array('about', 'common_footer'));
?><!DOCTYPE html>
<html dir="ltr" lang="<?php echo $locale ?>">
@@ -22,11 +22,12 @@ $dictionary = read_translation_file($locale, "about");
width: 500px;
}
</style>
+ <link rel="stylesheet" type="text/css" href="/g/style/common_footer.css">
</head>
<body class="about">
<?php echo $hsnav; ?>
<h1 id="mgnavtitle"><?php _g('About Mageia')?></h1>
- <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" style="padding-top: 2em;">
<img src="/g/media/logo/mageia-2013.svg" id="abtlg" alt="Mageia">
@@ -92,5 +93,6 @@ $dictionary = read_translation_file($locale, "about");
</div></div>
</div>
</div>
+<?php echo common_footer($locale); ?>
</body>
</html>