diff options
author | filip <filip.komar@gmail.com> | 2016-06-30 22:18:45 +0200 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2016-06-30 22:18:45 +0200 |
commit | 435d9d0f5e1e25edf579071703d458375a975ef9 (patch) | |
tree | 16d88b5435ffc167b1e2ec351997ee0fff95afe9 /404.php | |
parent | b95ca1348944895976c63ee0502e3eec3e709407 (diff) | |
download | www-435d9d0f5e1e25edf579071703d458375a975ef9.tar www-435d9d0f5e1e25edf579071703d458375a975ef9.tar.gz www-435d9d0f5e1e25edf579071703d458375a975ef9.tar.bz2 www-435d9d0f5e1e25edf579071703d458375a975ef9.tar.xz www-435d9d0f5e1e25edf579071703d458375a975ef9.zip |
common footer added to last two active pages +
+ small fix for local locale parse error
Diffstat (limited to '404.php')
-rw-r--r-- | 404.php | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,10 +2,10 @@ define('HLANG', true); define('ALIGNMENT', 'Center'); require 'langs.php'; // needs absolute path in some form to be link depth independent -$dictionary = read_translation_file($locale, '404'); +$locale = ($locale == '404.php' ? 'en' : $locale); +$dictionary = read_translation_file($locale, array('404', 'common_footer')); header('HTTP/1.0 404 Not Found'); header('Status: 404 Not Found'); -$locale = ($locale == '404' ? 'en' : $locale); ?><!DOCTYPE html> <html dir="ltr" lang="<?php echo $locale; ?>"> <head> @@ -15,12 +15,13 @@ $locale = ($locale == '404' ? 'en' : $locale); <meta name="robots" content="noindex, nofollow"> <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> <?php echo $hsnav; ?> <h1 id="mgnavt"><?php _g('Sorry, we could not find this page.')?></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 values"> @@ -32,5 +33,6 @@ $locale = ($locale == '404' ? 'en' : $locale); </div> </div> </div> +<?php echo common_footer($locale); ?> </body> </html> |