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/map/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/map/index.php')
-rw-r--r-- | en/map/index.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/en/map/index.php b/en/map/index.php index af3c263af..3fe54c3a9 100644 --- a/en/map/index.php +++ b/en/map/index.php @@ -2,7 +2,7 @@ define('HLANG', true); define('ALIGNMENT', 'Center'); require '../../langs.php'; -$dictionary = read_translation_file($locale, 'map'); +$dictionary = read_translation_file($locale, array('map', 'common_footer')); $map = array( 'about' => array( @@ -126,6 +126,7 @@ $sMap .= '</ul>'; <meta name="robots" content="noindex,nofollow,nosnippet"> <link rel="canonical" href="/<?php echo $locale; ?>/map/"> <link rel="stylesheet" href="map.css"> + <link rel="stylesheet" type="text/css" href="/g/style/common_footer.css"> <?php include '../../analytics.php'; ?> </head> <body class="map"> @@ -141,5 +142,6 @@ $sMap .= '</ul>'; <p><form><input type="search"><input type="submit"></form></p> --> </div> +<?php echo common_footer($locale); ?> </body> </html> |