diff options
Diffstat (limited to 'en/contribute/index.php')
-rw-r--r-- | en/contribute/index.php | 140 |
1 files changed, 139 insertions, 1 deletions
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> |