From 919bbda416c2add0463b2ae2fcf5b802f4efd59a Mon Sep 17 00:00:00 2001 From: filip Date: Tue, 28 Jun 2016 18:33:45 +0200 Subject: 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) --- en/index.php | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) (limited to 'en/index.php') 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')); ?> @@ -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( -
-
-
- -
-

- - | -

-
-
+ -- cgit v1.2.1