diff options
author | filip <filip.komar@gmail.com> | 2016-06-28 18:33:45 +0200 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2016-06-28 18:33:45 +0200 |
commit | 919bbda416c2add0463b2ae2fcf5b802f4efd59a (patch) | |
tree | 7a91b14f81972daff62cfd9a817f3f91218e6f4d /en/doc/index.php | |
parent | 80c9f1c7aef4eb6500d7f3f907357cb878df5812 (diff) | |
download | www-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/index.php')
-rw-r--r-- | en/doc/index.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/en/doc/index.php b/en/doc/index.php index 880b2549d..12027bfb5 100644 --- a/en/doc/index.php +++ b/en/doc/index.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'; @@ -15,6 +15,7 @@ require 'doc.php'; <meta name="description" content="<?php _g('Documentation for 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"> @@ -41,10 +42,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> |