diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-05-31 21:23:03 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-05-31 21:23:03 +0000 |
commit | 500764ac6053e731235be458112b9d50ec72d319 (patch) | |
tree | 536126e9b06d1f267bea1bc4dce16b48d9a41dc2 | |
parent | 89b1a64e07b3519575e579be5c1dc1b9d286f0d6 (diff) | |
download | www-500764ac6053e731235be458112b9d50ec72d319.tar www-500764ac6053e731235be458112b9d50ec72d319.tar.gz www-500764ac6053e731235be458112b9d50ec72d319.tar.bz2 www-500764ac6053e731235be458112b9d50ec72d319.tar.xz www-500764ac6053e731235be458112b9d50ec72d319.zip |
moving things around
-rw-r--r-- | 1/1.php | 78 | ||||
-rw-r--r-- | 1/index.php | 5 | ||||
-rw-r--r-- | 1/migrate/migrate.php | 117 | ||||
-rw-r--r-- | contribute/contribute.php | 139 | ||||
l--------- | cs/1 | 1 | ||||
l--------- | de/1 | 1 | ||||
l--------- | el/1 | 1 | ||||
-rw-r--r-- | en/1/index.php | 78 | ||||
-rw-r--r-- | en/1/locales.php (renamed from 1/1_locales.php) | 1 | ||||
-rw-r--r-- | en/1/migrate/index.php | 117 | ||||
-rw-r--r-- | en/1/migrate/locales.php (renamed from 1/migrate/migrate_locales.php) | 1 | ||||
-rw-r--r-- | en/1/next/index.php | 2 | ||||
-rw-r--r-- | en/contribute/index.php | 140 | ||||
-rw-r--r-- | en/contribute/locales.php (renamed from contribute/contribute_locales.php) | 1 | ||||
l--------- | es/1 | 1 | ||||
l--------- | et/1 | 1 | ||||
l--------- | fi/1 | 1 | ||||
l--------- | fr/1 | 1 | ||||
l--------- | it/1 | 1 | ||||
l--------- | lv/1 | 1 | ||||
-rw-r--r-- | migrate/index.php (renamed from 1/migrate/index.php) | 3 | ||||
l--------- | nb/1 | 1 | ||||
l--------- | nl/1 | 1 | ||||
l--------- | pl/1 | 1 | ||||
l--------- | pt/1 | 1 | ||||
l--------- | ro/1 | 1 | ||||
l--------- | ru/1 | 1 | ||||
l--------- | sl/1 | 1 | ||||
l--------- | tr/1 | 1 | ||||
l--------- | uk/1 | 1 | ||||
l--------- | zh-cn/1 | 1 | ||||
l--------- | zh-tw/1 | 1 |
32 files changed, 354 insertions, 348 deletions
diff --git a/1/1.php b/1/1.php deleted file mode 100644 index 7a0e820bd..000000000 --- a/1/1.php +++ /dev/null @@ -1,78 +0,0 @@ -<?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/index.php b/1/index.php index 71509d358..04f7301c6 100644 --- a/1/index.php +++ b/1/index.php @@ -1,7 +1,4 @@ <?php require_once '../langs.inc.php'; -$langs = array( - 'en' => 'English' -); -relocate($langs, '1/');
\ No newline at end of file +relocate($langs, '1/'); diff --git a/1/migrate/migrate.php b/1/migrate/migrate.php deleted file mode 100644 index e034cf953..000000000 --- a/1/migrate/migrate.php +++ /dev/null @@ -1,117 +0,0 @@ -<?php - -$locale = explode('/', $_SERVER['REQUEST_URI']); -$locale = $locale[1]; - -require 'migrate_locales.php'; -if (!array_key_exists($locale, $_t)) { - $locale = 'en'; -} - -$_t = $_t[$locale]; - -?> - -<!DOCTYPE html> -<html lang="<?php echo $locale; ?>"> -<head> - <meta charset="utf-8" /> - <title><?php echo $_t['page_title']; ?></title> - <meta name="description" content="<?php echo $_t['page_desc']; ?>" /> - <meta name="keywords" content="<?php echo $_t['page_kw']; ?>" /> - <meta name="author" content="Mageia" /> - <link rel="stylesheet" type="text/css" 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"><?php echo $_t['page_h1']; ?></span></h1></div> - <div id="bd" role="main"> - <div class="yui-g"> - <?php include '../nav.php'; ?> - <div class="para"> - <p><?php echo $_t['upgrading_general']; ?></p> - <ul> - <?php foreach ( $_t['upgrading_general_array'] as $anItem ) { - echo '<li>'.$anItem.'</li>'; - } ?> - </ul> - <p><?php echo $_t['upgrading_ways']; ?></p> - <ul> - <li><?php echo $_t['upgrading_ways_dvd']; ?></li> - <li><?php echo $_t['upgrading_ways_inline']; ?></li> - </ul> - <hr> - <h2 id="dvd"><?php echo $_t['h2_dvd']; ?></h2> - <p><?php echo $_t['dvd_clean_install']; ?></p> - <p><?php echo $_t['to_upgrade']; ?></p> - <ul> - <?php foreach ( $_t['to_upgrade_array'] as $anItem ) { - echo '<li>'.$anItem.'</li>'; - } ?> - </ul> - <p><?php echo $_t['recommended']; ?></p> - <hr> - <h2 id="inline"><?php echo $_t['h2_inline']; ?></h2> - <p><?php echo $_t['inline_1']; ?></p> - <p><?php echo $_t['inline_2']; ?></p> - - <p style="text-align: center;"><a href="/en/downloads/dl.php?product=mgaonline" rel="nofollow" title="Download mgaonline"><img src="/g/images/oxygen/application-x-rpm.png" alt="mgaonline"><br> - mgaonline<br> - <br><?php echo $_t['mgaonline_image_title']; ?></a></p> - - <br> - <p><?php echo $_t['inline_3']; ?></p> - - <p><?php echo $_t['a_or_b']; ?></p> - <br> - <h2 id="mgaonline"><?php echo $_t['h2_a']; ?></h2> - <p><?php echo $_t['popup_window_1']; ?></p> - <img src="/g/1/mgaonline/mgaonline8.png" alt="mgaonline pop-up" class="screen-copy"> - - <p><?php echo $_t['popup_window_2']; ?></p> - <img src="/g/1/mgaonline/mgaonline2.png" alt="mgaonline pop-up" class="screen-copy"> - - <p><?php echo $_t['as_soon_complete']; ?></p> - - <br> - <h2 id="urpmi"><?php echo $_t['h2_b']; ?></h2> - <p><?php echo $_t['cli_1']; ?></p> - <ul> - <li><p><?php echo $_t['cli_2']; ?></p> - <p><code class="term">$ su<br /> - # urpmi.removemedia -a</code></p></li> - <li><p><?php echo $_t['cli_3']; ?></p> - <ul> - <li><p><?php echo $_t['cli_4']; ?></p> - <p><code class="term">$ su<br /> - # urpmi.addmedia --distrib --mirrorlist</code></p> - </li> - <li><p><?php echo $_t['cli_5']; ?></p> - <p><code class="term">$ su<br /> - # urpmi.addmedia --distrib <media_url></code></p> - </li> - </ul> - </li> - </ul> - <hr> - <h2><?php echo $_t['h2_thats_it']; ?></h2> - </div></div> - <hr> - <div class="yui-g"> - <div class="yui-u first"><div class="para" style="padding-right: 0;"> - <h3><?php echo $_t['h3_question']; ?></h3> - <p><?php echo $_t['join_and_ask']; ?></p> - - </div></div> - <div class="yui-u"><div class="para"> - <h3><?php echo $_t['h3_feedback']; ?></h3> - <p><?php echo $_t['tweet_it']; ?></p> - </div></div> - </div> - </div> - </div> -</body> -</html> diff --git a/contribute/contribute.php b/contribute/contribute.php deleted file mode 100644 index 204f792fa..000000000 --- a/contribute/contribute.php +++ /dev/null @@ -1,139 +0,0 @@ -<?php - -$locale = explode('/', $_SERVER['REQUEST_URI']); -$locale = $locale[1]; - -require 'contribute_locales.php'; -if (!array_key_exists($locale, $_t)) { - $locale = 'en'; -} - -$_t = $_t[$locale]; - -?> -<!DOCTYPE html> -<html lang="<?php echo $locale; ?>"> -<head> - <meta charset="utf-8"> - <title><?php echo $_t['page_title']; ?></title> - <meta name="description" content="<?php echo $_t['page_desc']; ?>"> - <meta name="keywords" content="<?php echo $_t['page_kw']; ?>"> - <meta name="author" content="Mageia"> - <link rel="stylesheet" type="text/css" href="/g/style/all.css"> - <link rel="canonical" href="/<?php echo $locale; ?>/contribute/"> - <?php include '../../analytics.php'; ?> -</head> -<body id="top"> - <?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"><?php echo $_t['page_h1']; ?></span></h1></div> - <div id="bd" role="main"> - <div class="yui-g"> - <div class="para"> - <p><?php echo $_t['mageia_intro']; ?></p> - - <p><?php echo $_t['contribute_intro']; ?></p> - - <p><?php echo $_t['check_can_do']; ?></p> - - <ul id="contrib-sel"> - <li id=""><a href="#by-role"><?php echo $_t['browse_role']; ?></a></li> - <li id=""><a href="#by-time"><?php echo $_t['browse_time']; ?></a></li> - </ul> - - <div id="by-role"> - <h2><?php echo $_t['h2_role']; ?></h2> - <ul id="contrib-roles" class="contrib-list"> - <li id="support"> - <h3><?php echo $_t['h3_support']; ?></h3> - <p><?php echo $_t['text_support']; ?></p> - </li> - <li id="docu"> - <h3><a href="/wiki/doku.php?id=documentation"><?php echo $_t['h3_docu']; ?></a></h3> - <p><?php echo $_t['text_docu']; ?></p> - </li> - <li id="i18n"> - <h3><a href="/wiki/doku.php?id=translators"><?php echo $_t['h3_i18n']; ?></a></h3> - <p><?php echo $_t['text_i18n']; ?></p> - </li> - <li id="triage"> - <h3><a href="/wiki/doku.php?id=triage"><?php echo $_t['h3_triage']; ?></a></h3> - <p><?php echo $_t['text_triage']; ?></p> - </li> - <li id="qa"> - <h3><a href="/wiki/doku.php?id=qateam"><?php echo $_t['h3_qa']; ?></a></h3> - <p><?php echo $_t['text_qa']; ?></p> - </li> - <li id="marketing"> - <h3><a href="/wiki/doku.php?id=marketing"><?php echo $_t['h3_marketing']; ?></a></h3> - <p><?php echo $_t['text_marketing']; ?></p> - </li> - <li id="graphic"> - <h3><a href="/wiki/doku.php?id=designers"><?php echo $_t['h3_graphic']; ?></a></h3> - <p><?php echo $_t['text_graphic']; ?></p> - </li> - <li id="dev"> - <h3><a href="/wiki/doku.php?id=packagers"><?php echo $_t['h3_dev']; ?></a></h3> - <p><?php echo $_t['text_dev']; ?></p> - </li> - <li id="web"> - <h3><a href="/wiki/doku.php?id=web"><?php echo $_t['h3_web']; ?></a></h3> - <p><?php echo $_t['text_web']; ?></p> - </li> - <li id="mirror"> - <h3><?php echo $_t['h3_mirror']; ?></h3> - <p><?php echo $_t['text_mirror']; ?></p> - </li> - <li id="donation"> - <h3><a href="/en/donate/"><?php echo $_t['h3_donation']; ?></a></h3> - <p><?php echo $_t['text_donation']; ?></p> - </li> - <hr> - <li id="data"> - <h3><?php echo $_t['h3_data']; ?></h3> - <p><?php echo $_t['text_data']; ?></p> - </li> - <li id="design"> - <h3><?php echo $_t['h3_design']; ?></h3> - <p><?php echo $_t['text_design']; ?></p> - </li> - </ul> - <hr> - </div> - <div id="by-time"> - <h2><?php echo $_t['h2_time']; ?></h2> - <p><?php echo $_t['intro_time']; ?></p> - <ul id="contrib-time" class="contrib-list"> - <li> - <h3><?php echo $_t['h3_minutes']; ?></h3> - <ul class="contrib-act"> - <?php foreach ($_t['array_minutes'] as $item) { - echo sprintf('<li>%s</li>', $item); - } ?> - </ul> - </li> - <li> - <h3><?php echo $_t['h3_hours']; ?></h3> - <ul class="contrib-act"> - <?php foreach ($_t['array_hours'] as $item) { - echo sprintf('<li>%s</li>', $item); - } ?> - </ul> - </li> - <li> - <h3><?php echo $_t['h3_weeks']; ?></h3> - <ul class="contrib-act"> - <?php foreach ($_t['array_weeks'] as $item) { - echo sprintf('<li>%s</li>', $item); - } ?> - </ul> - </li> - </ul> - <hr> - </div> - </div> - </div> - </div> - </div> -</body> -</html> @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file diff --git a/en/1/index.php b/en/1/index.php index 6e64cad99..942564bf6 100644 --- a/en/1/index.php +++ b/en/1/index.php @@ -1 +1,77 @@ -<?php require '../../1/1.php'; ?>
\ No newline at end of file +<?php + +$locale = explode('/', $_SERVER['REQUEST_URI']); +$locale = $locale[1]; + +require 'locales.php'; +if (!array_key_exists($locale, $_t)) { + $locale = 'en'; +} + +$_t = $_t[$locale]; + +?> +<!DOCTYPE html> +<html dir="ltr" lang="<?php echo $locale; ?>"> +<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="/<?php echo $locale; ?>/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/en/1/locales.php index 16b4b4299..755e6ff79 100644 --- a/1/1_locales.php +++ b/en/1/locales.php @@ -217,4 +217,3 @@ $_t = array( 'in_for_you' => 'Mais il y a plus important que tous ces chiffres : <a href="/en/1/next/">que fera Mageia pour vous ?</a>' ) ); -?>
\ No newline at end of file diff --git a/en/1/migrate/index.php b/en/1/migrate/index.php index 96776ab51..99f7bb3d8 100644 --- a/en/1/migrate/index.php +++ b/en/1/migrate/index.php @@ -1 +1,116 @@ -<?php require '../../../1/migrate/migrate.php'; ?> +<?php + +$locale = explode('/', $_SERVER['REQUEST_URI']); +$locale = $locale[1]; + +require 'locales.php'; +if (!array_key_exists($locale, $_t)) { + $locale = 'en'; +} + +$_t = $_t[$locale]; + +?> + +<!DOCTYPE html> +<html lang="<?php echo $locale; ?>"> +<head> + <meta charset="utf-8" /> + <title><?php echo $_t['page_title']; ?></title> + <meta name="description" content="<?php echo $_t['page_desc']; ?>" /> + <meta name="keywords" content="<?php echo $_t['page_kw']; ?>" /> + <meta name="author" content="Mageia" /> + <link rel="stylesheet" type="text/css" 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"><?php echo $_t['page_h1']; ?></span></h1></div> + <div id="bd" role="main"> + <div class="yui-g"> + <?php include '../nav.php'; ?> + <div class="para"> + <p><?php echo $_t['upgrading_general']; ?></p> + <ul> + <?php foreach ( $_t['upgrading_general_array'] as $anItem ) { + echo '<li>'.$anItem.'</li>'; + } ?> + </ul> + <p><?php echo $_t['upgrading_ways']; ?></p> + <ul> + <li><?php echo $_t['upgrading_ways_dvd']; ?></li> + <li><?php echo $_t['upgrading_ways_inline']; ?></li> + </ul> + <hr> + <h2 id="dvd"><?php echo $_t['h2_dvd']; ?></h2> + <p><?php echo $_t['dvd_clean_install']; ?></p> + <p><?php echo $_t['to_upgrade']; ?></p> + <ul> + <?php foreach ( $_t['to_upgrade_array'] as $anItem ) { + echo '<li>'.$anItem.'</li>'; + } ?> + </ul> + <p><?php echo $_t['recommended']; ?></p> + <hr> + <h2 id="inline"><?php echo $_t['h2_inline']; ?></h2> + <p><?php echo $_t['inline_1']; ?></p> + <p><?php echo $_t['inline_2']; ?></p> + + <p style="text-align: center;"><a href="/en/downloads/dl.php?product=mgaonline" rel="nofollow" title="Download mgaonline"><img src="/g/images/oxygen/application-x-rpm.png" alt="mgaonline"><br> + mgaonline<br> + <?php echo $_t['mgaonline_image_title']; ?></a></p> + + <br> + <p><?php echo $_t['inline_3']; ?></p> + <p><?php echo $_t['a_or_b']; ?></p> + <br> + <h2 id="mgaonline"><?php echo $_t['h2_a']; ?></h2> + <p><?php echo $_t['popup_window_1']; ?></p> + <img src="/g/1/mgaonline/mgaonline8.png" alt="mgaonline pop-up" class="screen-copy"> + + <p><?php echo $_t['popup_window_2']; ?></p> + <img src="/g/1/mgaonline/mgaonline2.png" alt="mgaonline pop-up" class="screen-copy"> + + <p><?php echo $_t['as_soon_complete']; ?></p> + + <br> + <h2 id="urpmi"><?php echo $_t['h2_b']; ?></h2> + <p><?php echo $_t['cli_1']; ?></p> + <ul> + <li><p><?php echo $_t['cli_2']; ?></p> + <p><code class="term">$ su<br /> + # urpmi.removemedia -a</code></p></li> + <li><p><?php echo $_t['cli_3']; ?></p> + <ul> + <li><p><?php echo $_t['cli_4']; ?></p> + <p><code class="term">$ su<br /> + # urpmi.addmedia --distrib --mirrorlist</code></p> + </li> + <li><p><?php echo $_t['cli_5']; ?></p> + <p><code class="term">$ su<br /> + # urpmi.addmedia --distrib <media_url></code></p> + </li> + </ul> + </li> + </ul> + <hr> + <h2><?php echo $_t['h2_thats_it']; ?></h2> + </div></div> + <hr> + <div class="yui-g"> + <div class="yui-u first"><div class="para" style="padding-right: 0;"> + <h3><?php echo $_t['h3_question']; ?></h3> + <p><?php echo $_t['join_and_ask']; ?></p> + + </div></div> + <div class="yui-u"><div class="para"> + <h3><?php echo $_t['h3_feedback']; ?></h3> + <p><?php echo $_t['tweet_it']; ?></p> + </div></div> + </div> + </div> + </div> +</body> +</html> diff --git a/1/migrate/migrate_locales.php b/en/1/migrate/locales.php index 29d08d3a8..b265706ae 100644 --- a/1/migrate/migrate_locales.php +++ b/en/1/migrate/locales.php @@ -59,4 +59,3 @@ $_t = array( 'tweet_it' => 'Just <a href="http://twitter.com/mageia_org">tweet it to @mageia_org</a>.' ) ); -?>
\ No newline at end of file diff --git a/en/1/next/index.php b/en/1/next/index.php index 272bd63c0..18424b205 100644 --- a/en/1/next/index.php +++ b/en/1/next/index.php @@ -42,7 +42,7 @@ $_t = array( </div><div class="para"> - <h2>What will <strong>we</strong> do from there?</h2> + <h2>Where will <strong>we</strong> go from there?</h2> <p>You can <a href="/en/contribute/">join us</a> and help us improve.</p> diff --git a/en/contribute/index.php b/en/contribute/index.php index 810bed6d0..dc7197725 100644 --- a/en/contribute/index.php +++ b/en/contribute/index.php @@ -1 +1,139 @@ -<?php require '../../contribute/contribute.php';
\ No newline at end of file +<?php + +$locale = explode('/', $_SERVER['REQUEST_URI']); +$locale = $locale[1]; + +require 'locales.php'; +if (!array_key_exists($locale, $_t)) { + $locale = 'en'; +} + +$_t = $_t[$locale]; + +?> +<!DOCTYPE html> +<html lang="<?php echo $locale; ?>"> +<head> + <meta charset="utf-8"> + <title><?php echo $_t['page_title']; ?></title> + <meta name="description" content="<?php echo $_t['page_desc']; ?>"> + <meta name="keywords" content="<?php echo $_t['page_kw']; ?>"> + <meta name="author" content="Mageia"> + <link rel="stylesheet" type="text/css" href="/g/style/all.css"> + <link rel="canonical" href="/<?php echo $locale; ?>/contribute/"> + <?php include '../../analytics.php'; ?> +</head> +<body id="top"> + <?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"><?php echo $_t['page_h1']; ?></span></h1></div> + <div id="bd" role="main"> + <div class="yui-g"> + <div class="para"> + <p><?php echo $_t['mageia_intro']; ?></p> + + <p><?php echo $_t['contribute_intro']; ?></p> + + <p><?php echo $_t['check_can_do']; ?></p> + + <ul id="contrib-sel"> + <li id=""><a href="#by-role"><?php echo $_t['browse_role']; ?></a></li> + <li id=""><a href="#by-time"><?php echo $_t['browse_time']; ?></a></li> + </ul> + + <div id="by-role"> + <h2><?php echo $_t['h2_role']; ?></h2> + <ul id="contrib-roles" class="contrib-list"> + <li id="support"> + <h3><?php echo $_t['h3_support']; ?></h3> + <p><?php echo $_t['text_support']; ?></p> + </li> + <li id="docu"> + <h3><a href="/wiki/doku.php?id=documentation"><?php echo $_t['h3_docu']; ?></a></h3> + <p><?php echo $_t['text_docu']; ?></p> + </li> + <li id="i18n"> + <h3><a href="/wiki/doku.php?id=translators"><?php echo $_t['h3_i18n']; ?></a></h3> + <p><?php echo $_t['text_i18n']; ?></p> + </li> + <li id="triage"> + <h3><a href="/wiki/doku.php?id=triage"><?php echo $_t['h3_triage']; ?></a></h3> + <p><?php echo $_t['text_triage']; ?></p> + </li> + <li id="qa"> + <h3><a href="/wiki/doku.php?id=qateam"><?php echo $_t['h3_qa']; ?></a></h3> + <p><?php echo $_t['text_qa']; ?></p> + </li> + <li id="marketing"> + <h3><a href="/wiki/doku.php?id=marketing"><?php echo $_t['h3_marketing']; ?></a></h3> + <p><?php echo $_t['text_marketing']; ?></p> + </li> + <li id="graphic"> + <h3><a href="/wiki/doku.php?id=designers"><?php echo $_t['h3_graphic']; ?></a></h3> + <p><?php echo $_t['text_graphic']; ?></p> + </li> + <li id="dev"> + <h3><a href="/wiki/doku.php?id=packagers"><?php echo $_t['h3_dev']; ?></a></h3> + <p><?php echo $_t['text_dev']; ?></p> + </li> + <li id="web"> + <h3><a href="/wiki/doku.php?id=web"><?php echo $_t['h3_web']; ?></a></h3> + <p><?php echo $_t['text_web']; ?></p> + </li> + <li id="mirror"> + <h3><?php echo $_t['h3_mirror']; ?></h3> + <p><?php echo $_t['text_mirror']; ?></p> + </li> + <li id="donation"> + <h3><a href="/en/donate/"><?php echo $_t['h3_donation']; ?></a></h3> + <p><?php echo $_t['text_donation']; ?></p> + </li> + <hr> + <li id="data"> + <h3><?php echo $_t['h3_data']; ?></h3> + <p><?php echo $_t['text_data']; ?></p> + </li> + <li id="design"> + <h3><?php echo $_t['h3_design']; ?></h3> + <p><?php echo $_t['text_design']; ?></p> + </li> + </ul> + <hr> + </div> + <div id="by-time"> + <h2><?php echo $_t['h2_time']; ?></h2> + <p><?php echo $_t['intro_time']; ?></p> + <ul id="contrib-time" class="contrib-list"> + <li> + <h3><?php echo $_t['h3_minutes']; ?></h3> + <ul class="contrib-act"> + <?php foreach ($_t['array_minutes'] as $item) { + echo sprintf('<li>%s</li>', $item); + } ?> + </ul> + </li> + <li> + <h3><?php echo $_t['h3_hours']; ?></h3> + <ul class="contrib-act"> + <?php foreach ($_t['array_hours'] as $item) { + echo sprintf('<li>%s</li>', $item); + } ?> + </ul> + </li> + <li> + <h3><?php echo $_t['h3_weeks']; ?></h3> + <ul class="contrib-act"> + <?php foreach ($_t['array_weeks'] as $item) { + echo sprintf('<li>%s</li>', $item); + } ?> + </ul> + </li> + </ul> + <hr> + </div> + </div> + </div> + </div> + </div> +</body> +</html> diff --git a/contribute/contribute_locales.php b/en/contribute/locales.php index df21f1d38..4cd93218d 100644 --- a/contribute/contribute_locales.php +++ b/en/contribute/locales.php @@ -1173,4 +1173,3 @@ $_t = array( nu trebuie neapărat să studiați informatica pentru a face acest lucru.') ), ); -?> @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file diff --git a/1/migrate/index.php b/migrate/index.php index e91a55f26..185152847 100644 --- a/1/migrate/index.php +++ b/migrate/index.php @@ -1,7 +1,4 @@ <?php require_once '../langs.inc.php'; -$langs = array( - 'en' => 'English' -); relocate($langs, '1/migrate/'); @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file @@ -0,0 +1 @@ +../en/1
\ No newline at end of file diff --git a/zh-cn/1 b/zh-cn/1 new file mode 120000 index 000000000..1b16703f3 --- /dev/null +++ b/zh-cn/1 @@ -0,0 +1 @@ +../en/1
\ No newline at end of file diff --git a/zh-tw/1 b/zh-tw/1 new file mode 120000 index 000000000..1b16703f3 --- /dev/null +++ b/zh-tw/1 @@ -0,0 +1 @@ +../en/1
\ No newline at end of file |