diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-07-18 21:47:51 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-07-18 21:47:51 +0000 |
commit | c8cfd9d7d35ccd431096d992e86a3ad2ec07b248 (patch) | |
tree | 8763b48014136f3c01258426a998ec09eeb984e8 /en/downloads/index.php | |
parent | 32c0fbfde89524f945d57e4fb86c60e6f7fd3952 (diff) | |
download | www-c8cfd9d7d35ccd431096d992e86a3ad2ec07b248.tar www-c8cfd9d7d35ccd431096d992e86a3ad2ec07b248.tar.gz www-c8cfd9d7d35ccd431096d992e86a3ad2ec07b248.tar.bz2 www-c8cfd9d7d35ccd431096d992e86a3ad2ec07b248.tar.xz www-c8cfd9d7d35ccd431096d992e86a3ad2ec07b248.zip |
reorganize downloads code
Diffstat (limited to 'en/downloads/index.php')
-rw-r--r-- | en/downloads/index.php | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/en/downloads/index.php b/en/downloads/index.php index a04ad8428..cbf8a696e 100644 --- a/en/downloads/index.php +++ b/en/downloads/index.php @@ -1,7 +1,16 @@ -<?php require '../../downloads.php'; +<?php + +define('HLANG', true); +require '../../langs.php'; +require 'locales.php'; + +$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules); $_t['page_h1'] = sprintf($_t['page_h1'], '<em class="tag">Mageia 1</em>'); $_t['page_title'] = sprintf($_t['page_title'], 'Mageia 1'); + +require 'lib.php'; + ?> <!DOCTYPE html> <html lang="<?php echo $locale; ?>"> @@ -15,7 +24,7 @@ $_t['page_title'] = sprintf($_t['page_title'], 'Mageia 1'); <?php include '../../analytics.php'; ?> </head> <body class="release"> - <?php include '../../langs.php'; ?> + <?php echo $hsnav; ?> <div id="doc" class="yui-t7"> <div id="hd" role="banner"><h1><a id="logo" href="/"><span>Mageia</span></a> <span class="lsep">|</span> <span class="subh"><?php echo $_t['page_h1']; ?></span></h1></div> <div id="bd" role="main"> |