aboutsummaryrefslogtreecommitdiffstats
path: root/contribute/contribute.php
blob: 204f792faa2e2f7d5dbceaec3774b0b6559eaf9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?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>