diff options
author | Oliver Burger <obgr_seneca@mageia.org> | 2011-05-31 17:40:37 +0000 |
---|---|---|
committer | Oliver Burger <obgr_seneca@mageia.org> | 2011-05-31 17:40:37 +0000 |
commit | 9b00fe9c72057973a66188516da3700554882c80 (patch) | |
tree | 1107a3efbd588b73a04a38f7e92206cd8f358198 /1 | |
parent | dd44785515a60d1240f446f0e8c2f24328fda1e0 (diff) | |
download | www-9b00fe9c72057973a66188516da3700554882c80.tar www-9b00fe9c72057973a66188516da3700554882c80.tar.gz www-9b00fe9c72057973a66188516da3700554882c80.tar.bz2 www-9b00fe9c72057973a66188516da3700554882c80.tar.xz www-9b00fe9c72057973a66188516da3700554882c80.zip |
localised 1/
Diffstat (limited to '1')
-rw-r--r-- | 1/1.php | 78 | ||||
-rw-r--r-- | 1/1_locales.php | 47 |
2 files changed, 125 insertions, 0 deletions
diff --git a/1/1.php b/1/1.php new file mode 100644 index 000000000..7a0e820bd --- /dev/null +++ b/1/1.php @@ -0,0 +1,78 @@ +<?php + +$locale = explode('/', $_SERVER['REQUEST_URI']); +$locale = $locale[1]; + +require '1_locales.php'; +if (!array_key_exists($locale, $_t)) { + $locale = 'en'; +} + +$_t = $_t[$locale]; + +?> + +<!DOCTYPE html> +<html dir="ltr" lang="en"> +<head> + <meta charset="utf-8"> + <title><?php echo $_t['1_title']; ?></title> + <meta name="description" content="<?php echo $_t['1_desc']; ?>"> + <meta name="keywords" content="<?php echo $_t['1_kw']; ?>"> + <meta name="DC.date" content="2010-06-01" scheme="DCTERMS.W3CDTF"> + <link rel="canonical" href="/en/1/"> + <link rel="stylesheet" href="/g/style/all.css"> + <?php include '../../analytics.php'; ?> +</head> +<body class="release"> + <?php include '../../langs.php'; ?> + <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">1</span></h1></div> + <?php include 'nav.php'; ?> + <div id="bd" role="main"> + <div class="yui-g bb1"> + <div class="para"> + <img src="/g/1/screenshots/opt-mageia-450.jpg" alt="<?php echo $_t['img_desktop']; ?>" class="rel-desktop-home" style="float: left; margin: 0 2em 2em 0; width: 450px;"> + + <h2 class="download-btn"><a href="/downloads/"><?php echo $_t['download_it']; ?></a></h2> + + <p><?php echo $_t['mageia_is']; ?></p> + + <h3><?php echo $_t['h3_what_is']; ?></h3> + <p><?php echo $_t['plenty_see_notes']; ?></p> + + <div class="clear"></div> + + <h3><?php echo $_t['h3_context']; ?></h3> + + <p><?php echo $_t['mageia_began']; ?></p> + + <p><?php echo $_t['our_work']; ?></p> + + <p><?php echo $_t['encourage_you']; ?></p> + + <hr> + + <p><?php echo $_t['9_months']; ?></p> + <p><?php echo $_t['people']; ?></p> + <p><?php echo $_t['prereleases']; ?></p> + <p><?php echo $_t['servers']; ?></p> + <p><?php echo $_t['languages']; ?></p> + <p><?php echo $_t['distribution']; ?></p> + <p><?php echo $_t['users']; ?></p> + + <p><?php echo $_t['in_for_you']; ?></p> + + </div> + </div> + <div class="yui-g bb1"> + <div class="yui-u first rb1"> + </div> + <div class="yui-u"> + </div> + </div> + <?php include 'nav.php'; ?> + </div> + </div> +</body> +</html> diff --git a/1/1_locales.php b/1/1_locales.php new file mode 100644 index 000000000..23864b996 --- /dev/null +++ b/1/1_locales.php @@ -0,0 +1,47 @@ +<?php + +$_t = array( + 'en' => array( + '1_title' => 'Mageia 1', + '1_desc' => 'Mageia 1 is a new community-based Linux distribution.', + '1_kw' => 'mageia, 1, first release, linux, mandriva, free software', + 'img_desktop' => 'Mageia 1 KDE Desktop', + 'download_it' => 'Download it', + 'mageia_is' => 'Mageia 1 is a GNU/Linux distribution for your computer, + released by the Mageia community.', + 'h3_what_is' => 'What is in it?', + 'plenty_see_notes' => 'Plenty! See the <a href="notes/">release notes</a> for an extensive exposé.', + 'h3_context' => 'Mageia in context', + 'mageia_began' => 'Mageia began in September 2010 as + <a href="/en/about/2010-sept-announcement.html">a fork of Mandriva Linux</a>. + It is supported by a <a href="/en/about/">not-for-profit organisation</a>, + <a href="http://mageia.org/wiki/doku.php?id=org">governed by</a> + a body of recognized and elected contributors</a>, + and made by 100+ people around the world.', + 'our_work' => 'Our work adds to the excellent work of the wider Linux + and Free Software community. We aim to bring one of the best, + most stable, reliable and enjoyable experience and platform we can make; + for a regular user, a developer, or a business.', + 'encourage_you' => 'And we encourage you to <a href="/en/contribute/">be part of it</a>, + on your own time or through your professional activity.', + '9_months' => '9 months from <a href="/en/about/2010-sept-announcement.html">inception</a> we\'ve reached:', + 'people' => '<a href="">100+ contributors</a> in <a href="/wiki/doku.php?id#teams">10+ teams</a>. + <a href="/en/thank-you/">160+ generous donors</a> of + <a href="/en/donate/">8.800+ EUR</a> + with only <a href="/en/about/reports/">1.277 spent</a> so far + and 20.000 forecast for 2011.', + 'prereleases' => '5 intermediary technical releases. + 7.389 source packages, + 2 × 14.226 binary packages for 2 architectures (i586 and x86_64 + – ARM is on its way).', + 'servers' => '7 servers, 3 datacenters (Paris and Marseille, France), + <a href="http://mirrors.mageia.org/">19 mirrors worldwide</a>.', + 'languages' => '<a href="http://mageia.org/?langs">21-language</a> localized Website, + <a href="">161-languages</a> localized distribution.', + 'distribution' => 'All this for <a href="http://mageia.org/en/1/">one distribution</a>, + ready for you, now.', + 'users' => 'How many users? Time will tell.', + 'in_for_you' => 'But more important than vanity figures: <a href="/en/1/next/">what will it do for you?</a>' + ) +); +?>
\ No newline at end of file |