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) --- langs.php | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) (limited to 'langs.php') diff --git a/langs.php b/langs.php index 6849d781a..b3abe2d39 100644 --- a/langs.php +++ b/langs.php @@ -23,8 +23,8 @@ if ($_SERVER['HTTP_HOST'] == 'www-test.mageia.org') { //$g_app_root = realpath(dirname(__FILE__)); //define('G_APP_ROOT', $g_app_root); -$g_donate_amount = '--'; -$g_amount_remain = 'EUR 10,244.46'; +// $g_donate_amount = '--'; +// $g_amount_remain = 'EUR 10,244.46'; $G_coord_assos = << array('support/', _r('Support')), + 'nav-community' => array('community/', _r('Community')), + 'nav-about' => array('about/', _r('About Mageia.Org')) + ); + + $common_footer = '
' . PHP_EOL; + $common_footer .= '
' . PHP_EOL; + $common_footer .= '
' . PHP_EOL; + $common_footer .= ' ' . PHP_EOL; + $common_footer .= '
' . PHP_EOL; + $common_footer .= '

' . PHP_EOL; + $common_footer .= " " . _r('Sitemap') . '' . PHP_EOL; + $common_footer .= " | "; + $common_footer .= _r('Privacy policy') . '' . PHP_EOL; + $common_footer .= '

' . PHP_EOL; + $common_footer .= '
' . PHP_EOL; + $common_footer .= '
' . PHP_EOL; + + return $common_footer; +} -- cgit v1.2.1