diff options
Diffstat (limited to 'en/index.php')
-rw-r--r-- | en/index.php | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/en/index.php b/en/index.php index 7ee7499eb..a72dd5339 100644 --- a/en/index.php +++ b/en/index.php @@ -4,15 +4,7 @@ define('HLANG', true); define('ALIGNMENT', 'Center'); require '../langs.php'; -$dictionary_1 = read_translation_file($locale, 'index'); -$dictionary_2 = read_translation_file($locale, 'news'); -$dictionary = array_merge($dictionary_1, $dictionary_2); - -$nav = array( - 'nav-support' => array('support/', _r('Support')), - 'nav-community' => array('community/', _r('Community')), - 'nav-about' => array('about/', _r('About Mageia.Org')) -); +$dictionary = read_translation_file($locale, array('index', 'news', 'common_footer')); ?><!DOCTYPE html> <html dir="ltr" lang="<?php echo $locale; ?>"> @@ -141,7 +133,7 @@ $nav = array( font: 60%/1.2 Verdana,Arial,sans-serif; color: #f0f0f0; } - #fnotes a { color: #ccc; text-decoration: none; } + #fnotes a { color: #aaa; text-decoration: none; } .free-dl { color: green; font-weight: bold; } /* Landscape phones and down */ @@ -285,22 +277,7 @@ $nav = array( </div> </div> </div> -<hr> -<div id="down"> - <div class="container"> - <ul id="navb"><?php foreach ($nav as $k => $v) - echo sprintf( - '<li><a class="%s" href="%s">%s</a></li>', - $k, $v[0], $v[1] - ); - ?></ul> - <hr> - <p id="fnotes"> - <a href="/<?php echo $locale ?>/map/"><?php _g('Sitemap')?></a> - | <a href="/<?php echo $locale ?>/about/policies/privacy/"><?php _g('Privacy policy')?></a> - </p> - </div> -</div> +<?php echo common_footer($locale); ?> </body> </html> |