diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-05-22 19:47:07 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-05-22 19:47:07 +0000 |
commit | a001683b955f224fcd73b8448ba40451e0408204 (patch) | |
tree | 99e4f3804e4d7575b65816181c2f17c2a434a295 /en | |
parent | 33e9c62270cee8e528c8fbc82aa55bccc6eabaf4 (diff) | |
download | www-a001683b955f224fcd73b8448ba40451e0408204.tar www-a001683b955f224fcd73b8448ba40451e0408204.tar.gz www-a001683b955f224fcd73b8448ba40451e0408204.tar.bz2 www-a001683b955f224fcd73b8448ba40451e0408204.tar.xz www-a001683b955f224fcd73b8448ba40451e0408204.zip |
new pages for /2
Diffstat (limited to 'en')
-rw-r--r-- | en/2/download_index.php | 3 | ||||
-rw-r--r-- | en/2/index.php | 113 | ||||
-rw-r--r-- | en/2/nav.php | 46 | ||||
-rw-r--r-- | en/for-pc/index.php | 176 | ||||
-rw-r--r-- | en/for-server/index.php | 115 |
5 files changed, 451 insertions, 2 deletions
diff --git a/en/2/download_index.php b/en/2/download_index.php index 72feeba3a..a3b62f085 100644 --- a/en/2/download_index.php +++ b/en/2/download_index.php @@ -7,7 +7,7 @@ include 'locales.php'; $_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules); $_t['page_title'] = sprintf($_t['page_title'], 'Mageia 2', ''); -$_t['page_h1'] = sprintf($_t['page_h1'], 'Mageia 2', ''); +$_t['page_h1'] = '<a href="../2/">Mageia 2</a> » Download'; require '../downloads/get/lib.php'; ?> @@ -26,6 +26,7 @@ require '../downloads/get/lib.php'; <body class="release downloads"> <?php echo $hsnav; ?> <h1 id="mgnavt"><?php _e('page_h1')?></h1> + <?php include '../2/nav.php'; ?> <div id="doc4" class="yui-t7"> <div id="bd" role="main"> <div class="yui-ge bb1"> diff --git a/en/2/index.php b/en/2/index.php index 3a67345e8..25aee72a6 100644 --- a/en/2/index.php +++ b/en/2/index.php @@ -1,2 +1,113 @@ <?php -header('Location: /downloads/');
\ No newline at end of file + +define('HLANG', true); +require '../../langs.php'; +include 'locales.php'; + +$_t = array( + 'de' => array( + 'blog_url' => 'http://blog.mageia.org/de/', + 'planet_url' => 'http://planet.mageia.org/de/', + 'forum_url' => 'http://forums.mageia.org/de/', + ), + 'el' => array( + 'blog_url' => 'http://blog.mageia.org/el/', + ), + 'en' => array( + 'page_title' => 'Mageia Community', + 'page_h1' => 'Mageia Community Central', + 'blog_url' => 'http://blog.mageia.org/en/', + 'planet_url' => 'http://planet.mageia.org/en/', + 'forum_url' => 'https://forum.mageia.org/en/', + ), + 'es' => array( + 'blog_url' => 'http://blog.mageia.org/en/', + 'planet_url' => 'http://planet.mageia.org/es/' + ), + 'fr' => array( + 'page_title' => 'Communauté Mageia', + 'page_h1' => 'Portail de la communauté Mageia', + 'News' => 'Actualités', + 'How to contribute?' => 'Comment contribuer ?', + 'Toolbox' => 'Boîte à outils', + 'blog_url' => 'http://blog.mageia.org/fr/', + 'planet_url' => 'http://planet.mageia.org/fr/', + 'forum_url' => 'http://forum.mageia.org/fr/' + ), + 'it' => array( + 'blog_url' => 'http://blog.mageia.org/it/', + 'planet_url' => 'http://planet.mageia.org/it/' + ), + 'nl' => array( + 'blog_url' => 'http://blog.mageia.org/nl/', + ), + 'pl' => array( + 'blog_url' => 'http://blog.mageia.org/pl/', + ), + 'pt' => array( + 'blog_url' => 'http://blog.mageia.org/pt/', + ), + 'ro' => array( + 'blog_url' => 'http://blog.mageia.org/ro/', + ), + 'ru' => array( + 'blog_url' => 'http://blog.mageia.org/ru/' + ), + 'tr' => array( + 'blog_url' => 'http://blog.mageia.org/tr/' + ), + 'uk' => array( + 'blog_url' => 'http://blog.mageia.org/uk/' + ) +); + +$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules); +include '../../lib/news.php'; + +?> +<!DOCTYPE html> +<html lang="<?php echo $locale; ?>"> +<head> + <meta charset="utf-8"> + <title><?php _e('page_title')?></title> + <link rel="stylesheet" href="/g/style/all.css"> + <style> + .para { text-align: left; float: left; width: 250px; display: block; border-right: 1px solid #eef; border-bottom: 1px solid #eef; } + hr { margin-top: 2em; } + </style> +</head> +<body class="downloads"> + <?php echo $hsnav; ?> + <h1 id="mgnavtitle"><a href="../2/">Mageia 2</a> » <?php _e('for your server')?></h1> + <?php include '../2/nav.php'; ?> + <div class="para" style="width: 600px;"> + <section> + <img src="/g/2/images/mageia-2-desktop.jpeg" alt="Mageia 2" style="width: 550px; display: block; margin: 2em auto 3em auto; box-shadow: 0 0 5px #aaa;"> + <?php + _h('Mageia 2 is a GNU/Linux distribution for your computer, released by the <a href="%s">Mageia community</a>.', + array('../community')); + + _h("What's new?", null, 'h2'); + + _h('Too much to include here! See the <a href="https://wiki.mageia.org/en/Mageia_2_Release_Notes">release notes</a> for an extensive exposé.'); + + _h('<a href="../downloads/" style="background: #1272B1; color: white; padding: 0.9em; margin: 1em; display: inline-block; text-shadow: 0 1px 6px #000; border-radius: 3px;">Download it right away!</a>'); + + _h('Mageia in context', null, 'h2'); + + _h('Mageia is both a Community and a Linux Distribution, with Mageia 2 being our second release.'); + + _h('Since the release of <a href="../1/">Mageia 1</a>, our offering has been consistently in the <a href="%s">top 10 of Distrowatch\'s most popular distributions</a>.', + array('http://distrowatch.com/popularity')); + + _h('Mageia 2 is supported by the <a href="../about/">Mageia.org nonprofit organisation</a>, which is governed by a body of recognized and elected contributors.'); + _h('Mageia 2 has been made by more than 100 people from all around the world.'); + + _h('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 regular users, developers and businesses.'); + + _h('We welcome new contributors to any of the many different teams that go to make up Mageia the Community, and we encourage you to join us.'); + ?> + </section> + </div> +</body> +</html>
\ No newline at end of file diff --git a/en/2/nav.php b/en/2/nav.php new file mode 100644 index 000000000..e64e9b6b8 --- /dev/null +++ b/en/2/nav.php @@ -0,0 +1,46 @@ +<?php + +$_nt = array( + 'cs' => array('for-you' => 'Pro vás', 'dl' => 'Stáhnout', 'next' => 'A dále?', 'notes' => 'Poznámky'), + 'de' => array('for-you' => 'Für Sie', 'dl' => 'Download', 'next' => 'Und nun?', 'notes' => 'Release-Notes'), + 'el' => array('for-you' => 'Για εσάς', 'dl' => 'Λήψη', 'next' => 'Και μετά;', 'notes' => 'Σημειώσεις'), + 'en' => array('for-you' => 'For you', 'dl' => 'Download', 'next' => 'And next?', 'notes' => 'Notes'), + 'es' => array('for-you' => 'Para usted', 'dl' => 'Descargar', 'next' => '¿Y qué sigue?', 'notes' => 'Notas'), + 'et' => array('for-you' => 'Teie jaoks', 'dl' => 'Allalaadimine', 'next' => 'Ja mis edasi?', 'notes' => 'Märkmed'), + 'fr' => array('for-you' => 'Pour vous', 'dl' => 'Télécharger', 'next' => 'Et après ?'), + 'it' => array('for-you' => 'Per voi', 'dl' => 'Scaricare', 'next' => 'E dopo ?', 'notes' => 'Note'), + 'nb' => array('for-you' => 'For deg', 'dl' => 'Last ned', 'next' => 'Neste steg?', 'notes' => 'Merknader'), + 'nl' => array('for-you' => 'Voor u', 'dl' => 'Download', 'next' => 'En nu?', 'notes' => 'Opmerkingen'), + 'pt' => array('for-you' => 'Para si', 'dl' => 'Transferir', 'next' => 'E depois?', 'notes' => 'Notas'), + 'ro' => array('for-you' => 'Pentru voi', 'dl' => 'Descărcați', 'next' => 'Și după?', 'notes' => 'Notele ediției'), + 'tr' => array('for-you' => 'Sizin için', 'dl' => 'İndirin', 'next' => 'Peki sonra?', 'notes' => 'Notlar'), + 'uk' => array('for-you' => 'Для вас', 'dl' => 'Звантаження', 'next' => 'Що далі?', 'notes' => 'Нотатки'), + 'zh-tw' => array('for-you' => '為了您', 'dl' => '下載', 'next' => '下一步呢?', 'notes' => '通告') +); + +if (array_key_exists($locale, $_nt)) + $_nt = array_merge($_nt['en'], $_nt[$locale]); +else + $_nt = $_nt['en']; + +$nav = array( + "/{$locale}/2/" => 'Mageia 2', + "/{$locale}/downloads/" => 'Download', + "/{$locale}/for-pc/" => 'For PC', + "/{$locale}/for-server/" => 'For server', +); + +$sru = trim($_SERVER['REQUEST_URI']); + +$pnav = array(); +foreach ($nav as $k => $v) { + $pnav[] = sprintf('<li><a href="%s"%s>%s</a></li>', + $k, + $k == $sru ? ' class="sel"' : null, + $v); +} +$pnav = implode($pnav); + +echo <<<S +<div id="mgnavsub"><ul id="mgnavsubl">{$pnav}</ul></div> +S; diff --git a/en/for-pc/index.php b/en/for-pc/index.php new file mode 100644 index 000000000..387244bb8 --- /dev/null +++ b/en/for-pc/index.php @@ -0,0 +1,176 @@ +<?php + +define('HLANG', true); +require '../../langs.php'; +include 'locales.php'; + +$_t = array( + 'de' => array( + 'blog_url' => 'http://blog.mageia.org/de/', + 'planet_url' => 'http://planet.mageia.org/de/', + 'forum_url' => 'http://forums.mageia.org/de/', + ), + 'el' => array( + 'blog_url' => 'http://blog.mageia.org/el/', + ), + 'en' => array( + 'page_title' => 'Mageia Community', + 'page_h1' => 'Mageia Community Central', + 'blog_url' => 'http://blog.mageia.org/en/', + 'planet_url' => 'http://planet.mageia.org/en/', + 'forum_url' => 'https://forum.mageia.org/en/', + ), + 'es' => array( + 'blog_url' => 'http://blog.mageia.org/en/', + 'planet_url' => 'http://planet.mageia.org/es/' + ), + 'fr' => array( + 'page_title' => 'Communauté Mageia', + 'page_h1' => 'Portail de la communauté Mageia', + 'News' => 'Actualités', + 'How to contribute?' => 'Comment contribuer ?', + 'Toolbox' => 'Boîte à outils', + 'blog_url' => 'http://blog.mageia.org/fr/', + 'planet_url' => 'http://planet.mageia.org/fr/', + 'forum_url' => 'http://forum.mageia.org/fr/' + ), + 'it' => array( + 'blog_url' => 'http://blog.mageia.org/it/', + 'planet_url' => 'http://planet.mageia.org/it/' + ), + 'nl' => array( + 'blog_url' => 'http://blog.mageia.org/nl/', + ), + 'pl' => array( + 'blog_url' => 'http://blog.mageia.org/pl/', + ), + 'pt' => array( + 'blog_url' => 'http://blog.mageia.org/pt/', + ), + 'ro' => array( + 'blog_url' => 'http://blog.mageia.org/ro/', + ), + 'ru' => array( + 'blog_url' => 'http://blog.mageia.org/ru/' + ), + 'tr' => array( + 'blog_url' => 'http://blog.mageia.org/tr/' + ), + 'uk' => array( + 'blog_url' => 'http://blog.mageia.org/uk/' + ) +); + +$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules); +include '../../lib/news.php'; + +?> +<!DOCTYPE html> +<html lang="<?php echo $locale; ?>"> +<head> + <meta charset="utf-8"> + <title><?php _e('page_title')?></title> + <link rel="stylesheet" href="/g/style/all.css"> + <style> + .para { text-align: left; float: left; width: 250px; display: block; border-right: 1px solid #eef; border-bottom: 1px solid #eef; } + hr { margin-top: 2em; } + </style> +</head> +<body class="downloads"> + <?php echo $hsnav; ?> + <h1 id="mgnavtitle"><a href="../2/">Mageia 2</a> » for your personal computer</h1> + <?php include '../2/nav.php'; ?> + <div class="para" style="width: 600px;"> + <section> + <h2>Plenty</h2> + + <p>There are 19 881 packages in our repositories. + And that's just for the 64-bit branch.</p> + <p>The total number is double that – and then if you consider the backports, + and the packages in the Cauldron still testing... you'll see that + Mageia users are spoiled for choice.</p> + <p>Here's a cross-section, first of the working graphical environments, + and then of the core applications you could be using on your desktop:<p> + + <h2>Environments</h2> + + <p>Mageia 2 has all the major desktop environments:</p> + <ul> + <li>KDE4 SC 4.8.2,</li> + <li>GNOME 3.4,</li> + <li>XFCE 4.9,</li> + <li>LXDE,</li> + <li>Razor-Qt,</li> + <li>E17.</li> + </ul> + <p>And then there are the window managers, + including Openbox, WindowMaker, IceWM, Fluxbox, Fvwm2 and Awesome.</p> + + <h2>Applications →</h2> + + <p>There are many, many to choose from – including all the + most popular.</p> + + </section> + </div> + <div class="para" style="width: 300px"> + <h3>Web</h3> + <p>Choose your web browser from Firefox ESR 10.0.4, Chromium-browser + 180.1025.160, Epiphany 3.4.1 or Opera 11.64 – or one of the many others such + as Lynx or Konqueror; then pick an email client from KMail 4.8.2, Thunderbird + ESR 10.0.4, Evolution 3.4.1 or maybe Claws-Mail or Mutt.</p> + </div> + <div class="para" style="width: 300px"> + + <h3>Messaging</h3> + <p>Choose from Kopete, Pidgin, Empathy or Kadu for instant messaging; use + Quassel, Konversation, XChat-Gnome or KVIrc for IRC chat; try QuteCom or Ekiga + (or even Skype) for VOIP.</p> + </div> + <div class="para" style="width: 300px"> + + <h3>Office</h3> + <p>The two full-featured office suites LibreOffice and Calligra are there, as + well as AbiWord, and a host of text editors including Kate; for finance + there's KMyMoney, Skrooge or the professional-level GnuCash.</p> + </div> + <div class="para" style="width: 300px"> + + <h3>Image</h3> + <p>Use GIMP for powerful image manipulation, or Inkscape for vector drawing; + Blender is there for serious animation. DigiKam or Showfoto will take care of + your photos, talk to your camera and give you more basic image editing.</p> + </div> + <div class="para" style="width: 300px"> + + <h3>Sound</h3> + <p>For playing audio files, choose from Amarok 2.5.0 and Rhythmbox, among + others; use VLC, Totem or MPlayer for video and for audio, or use the XBMC + Media Center as your home entertainment system. Some packages can be found in + both the Core and Tainted repositories: The packages in the Core repository + support only non-patent-encumbered codecs and The packages in the Tainted + repository support all codecs, for users who live in countries where those + codecs don't infringe local laws.</p> + </div> + <div class="para" style="width: 300px"> + + <h3>Video</h3> + <p>For editing video files, try Avidemux, Kino or OpenShot; for subtitles, + there's Gaupol or Subtitles Composer; use MythTV, Miro, tvtime, FreetuxTV or + Me TV for watching or recording TV programmes.</p> + </div> + <div class="para" style="width: 300px"> + + <h3>Plus</h3> + <p>Then there's ZoneMinder, for CCTV Security; VirtualBox or WINE for + virtualisation; and a range of development environments such as Anjuta, + Eclipse, Netbeans or KDevelop.</p> + </div> + <div class="para"> + <p>For more information about these and other packages, + check the <a href="">Mageia 2 Release notes</a>.</p> + <p>You can take a look at the <a href="http://mageia.madb.org/">Mageia Application Database</a> + to get a more complete list of Mageia packages.</p> + </div> +</body> +</html>
\ No newline at end of file diff --git a/en/for-server/index.php b/en/for-server/index.php new file mode 100644 index 000000000..b672eb1af --- /dev/null +++ b/en/for-server/index.php @@ -0,0 +1,115 @@ +<?php + +define('HLANG', true); +require '../../langs.php'; +include 'locales.php'; + +$_t = array( + 'de' => array( + 'blog_url' => 'http://blog.mageia.org/de/', + 'planet_url' => 'http://planet.mageia.org/de/', + 'forum_url' => 'http://forums.mageia.org/de/', + ), + 'el' => array( + 'blog_url' => 'http://blog.mageia.org/el/', + ), + 'en' => array( + 'page_title' => 'Mageia Community', + 'page_h1' => 'Mageia Community Central', + 'blog_url' => 'http://blog.mageia.org/en/', + 'planet_url' => 'http://planet.mageia.org/en/', + 'forum_url' => 'https://forum.mageia.org/en/', + ), + 'es' => array( + 'blog_url' => 'http://blog.mageia.org/en/', + 'planet_url' => 'http://planet.mageia.org/es/' + ), + 'fr' => array( + 'page_title' => 'Communauté Mageia', + 'page_h1' => 'Portail de la communauté Mageia', + 'News' => 'Actualités', + 'How to contribute?' => 'Comment contribuer ?', + 'Toolbox' => 'Boîte à outils', + 'blog_url' => 'http://blog.mageia.org/fr/', + 'planet_url' => 'http://planet.mageia.org/fr/', + 'forum_url' => 'http://forum.mageia.org/fr/' + ), + 'it' => array( + 'blog_url' => 'http://blog.mageia.org/it/', + 'planet_url' => 'http://planet.mageia.org/it/' + ), + 'nl' => array( + 'blog_url' => 'http://blog.mageia.org/nl/', + ), + 'pl' => array( + 'blog_url' => 'http://blog.mageia.org/pl/', + ), + 'pt' => array( + 'blog_url' => 'http://blog.mageia.org/pt/', + ), + 'ro' => array( + 'blog_url' => 'http://blog.mageia.org/ro/', + ), + 'ru' => array( + 'blog_url' => 'http://blog.mageia.org/ru/' + ), + 'tr' => array( + 'blog_url' => 'http://blog.mageia.org/tr/' + ), + 'uk' => array( + 'blog_url' => 'http://blog.mageia.org/uk/' + ) +); + +$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules); +include '../../lib/news.php'; + +?> +<!DOCTYPE html> +<html lang="<?php echo $locale; ?>"> +<head> + <meta charset="utf-8"> + <title><?php _e('page_title')?></title> + <link rel="stylesheet" href="/g/style/all.css"> + <style> + .para { text-align: left; float: left; width: 250px; display: block; border-right: 1px solid #eef; border-bottom: 1px solid #eef; } + hr { margin-top: 2em; } + </style> +</head> +<body class="downloads"> + <?php echo $hsnav; ?> + <h1 id="mgnavtitle"><a href="../2/">Mageia 2</a> » <?php _e('for your server')?></h1> + <?php include '../2/nav.php'; ?> + <div class="para" style="width: 600px;"> + <section> + <?php + _h('Mageia 2 has all the main services and server packages you will need to run your server.'); + _h('Aside from the cross-section included here, you will find many others in the repositories: you can use rpmdrake to search for packages, or check the <a href="%s">Mageia App DB</a>.', + array('http://mageia.madb.org')); + + _h('Administration', null, 'h3'); + _h('For centralised administration, we include puppet 2.7.11; we use it widely in <a href="%s">our own infrastructure</a>.', + array('http://svnweb.mageia.org/adm/puppet/')); + + _h('The entire High Availability stack has been updated, and now includes drbd 8.3.11, Corosync 2.0.0 and Pacemaker 1.1.7.'); + + _h('Databases', null, 'h3'); + _h('Databases included are PostgreSQL 8.4.11; MariaDB, which replaces MySQL 5.5.23; BDB .'); + _h('And there are NoSQL servers too: CouchDB 1.1.1, Redis 2.4.8, Cassandra 1.4.0, MongoDB 2.0.3.'); + + _h('Servers', null, 'h3'); + _h('Web servers include Apache 2.2.22, Cherokee 1.2.101 and lighttpd 1.4.30.'); + _h('For file and directory sharing and network printing on heterogeneous networks, we have Samba 3.6.5, OpenLDAP 2.4.29 and Cups 1.5.2.'); + _h('Mail servers included with Mageia 2 are Postfix 2.8.8, Cyrus-imapd 2.4.13 and Dovecot 1.2.17.'); + ?> + </section> + </div> + <div class="para"> + <?php + _h('For more information about these and other packages, check the <a href="https://wiki.mageia.org/en/Mageia_2_Release_Notes">Mageia 2 Release notes</a>.'); + _h('You can take a look at the <a href="%s">Mageia Application Database</a> to get a more complete list of Mageia packages.', + array('http://mageia.madb.org/')); + ?> + </div> +</body> +</html>
\ No newline at end of file |