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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
|
<?php
define('HLANG', true);
require '../../langs.php';
$_t = array(
'de' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/de/',
'http://planet.mageia.org/en/' => 'http://planet.mageia.org/de/',
'https://forum.mageia.org/en/' => 'http://forums.mageia.org/de/',
),
'el' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/el/',
),
'en' => array(
'Mageia Community' => 'Mageia Community',
'Mageia Community Central' => 'Mageia Community Central',
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/en/',
'http://planet.mageia.org/en/' => 'http://planet.mageia.org/en/',
'https://forum.mageia.org/en/' => 'https://forum.mageia.org/en/',
),
'es' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/en/',
'http://planet.mageia.org/en/' => 'http://planet.mageia.org/es/'
),
'fr' => array(
'Mageia Community' => 'Communauté Mageia',
'Mageia Community Central' => 'Portail de la communauté Mageia',
'News' => 'Actualités',
'How to contribute?' => 'Comment contribuer ?',
'Toolbox' => 'Boîte à outils',
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/fr/',
'http://planet.mageia.org/en/' => 'http://planet.mageia.org/fr/',
'https://forum.mageia.org/en/' => 'http://forum.mageia.org/fr/'
),
'it' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/it/',
'http://planet.mageia.org/en/' => 'http://planet.mageia.org/it/'
),
'nl' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/nl/',
),
'pl' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/pl/',
),
'pt' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/pt/',
),
'pt-br' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/pt/',
'https://forum.mageia.org/en/' => 'http://forum.mageiabr.org/',
'http://wiki.mageia.org/' => 'http://wiki.mageiabr.org/'
),
'ro' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/ro/',
),
'ru' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/ru/'
),
'tr' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/tr/'
),
'uk' => array(
'http://blog.mageia.org/en/' => 'http://blog.mageia.org/uk/'
)
);
$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules); // remove when function show_feed will shows correct output in all languages
_lang_load($locale, 'community');
include '../../lib/news.php';
?>
<!DOCTYPE html>
<html lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _e('Mageia Community')?></title>
<meta name="description" content="<?php _e('Mageia Community Central is the place where all contributors and users can find the latest news about Mageia and learn more about what to do in the project.')?>">
<meta name="keywords" content="<?php _e('mageia, community, news, tools, tasks')?>">
<meta name="author" content="Mageia">
<link rel="stylesheet" type="text/css" href="/g/style/all.css">
<link rel="icon" type="image/png" href="/g/favicon.png" /> <style>
#newslist { list-style: none; margin: 0; padding: 0; }
#newslist > li { list-style: none; padding: 0.6em 0.9em; }
#newslist li:first-child { font-weight: bold; outline: 1px solid #fa8; margin-bottom: 0.4em; background: #fffaf0; }
#newslist > li .dt { display: block; font-size: 80%; color: #888; }
.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>
<?php include '../../analytics.php'; ?>
</head>
<body class="community">
<?php echo $hsnav; ?>
<header id="mgnavt">
<h1><?php _e('Mageia Community Central')?></h1>
<ul>
<li><a href="<?php _e('http://blog.mageia.org/en/')?>"><?php _e('Blog');?></a></li>
<li><a href="<?php _e('http://planet.mageia.org/en/')?>"><?php _e('Planet');?></a></li>
<li><a href="/en/calendar/"><?php _e('Calendar');?></a></li>
<li><a href="https://wiki.mageia.org/en/IRC">IRC</a></li>
<li><a href="<?php _e('https://forum.mageia.org/en/')?>"><?php _e('Forums');?></a></li>
<li><a href="http://ml.mageia.org/">Mailing-lists</a></li>
<li><a href="<?php _e('http://wiki.mageia.org/')?>">Wiki</a></li>
<li><a href="https://bugs.mageia.org/">Bugzilla</a></li>
</ul>
</header>
<div class="para" style="width: 400px;">
<section>
<h2><a href="<?php _e('http://blog.mageia.org/en/')?>"><?php _e('News');?></a></h2>
<?php
if (_d('http://planet.mageia.org/en/') != 'http://planet.mageia.org/en/') {
show_feed($locale, null, _d('http://planet.mageia.org/en/'), _d('http://planet.mageia.org/en/') . '?type=rss10', 9, null, true);
} elseif (_d('http://blog.mageia.org/en/') != 'http://blog.mageia.org/en/') {
show_feed($locale, null, _d('http://blog.mageia.org/en/'), _d('http://blog.mageia.org/en/') . '?feed=rss', 9, null, true);
}
// don't work:
//show_feed('Mageia MLs', '', 'https://ml.mageia.org/l/rss/active_lists?count=20&for=10');
//show_feed('Mageia Forum', 'http://forum.mageia.org/en/', 'https://forums.mageia.org/en/feed.php?mode=topics_active');
?>
<hr>
<p><?php
$s = array();
$feeds = array(
'Planet' => 'http://planet.mageia.org/en/',
'Blog' => 'http://blog.mageia.org/en/',
'Forum' => 'https://forum.mageia.org/en/'
);
foreach ($feeds as $k => $v)
if (_t($v) != $v)
$s[] = sprintf('<a href="%s">%s</a>', _t($v), _t($k));
echo implode(' | ', $s);
?></p>
</section>
</div>
<div class="para" style="width: 300px">
<h2><a href="../contribute/"><?php _e('How to contribute?')?></a></h2>
<ul class="hl">
<li><a href="../contribute/"><?php _e('Start here')?></a>,</li>
<li><?php _e('and meet us on <a href="http://wiki.mageia.org/en/IRC">IRC</a>.')?></li>
<li><?php _e('You can also <a href="../donate/">support financially</a> the project!')?></li>
</ul>
<hr>
<h2><?php _e('Toolbox')?></h2>
<ul class="hl">
<li><a href="<?php _e('http://wiki.mageia.org/')?>"><?php _e('Wiki</a> ← collaborative documentation')?></li>
<li><a href="http://bugs.mageia.org/"><?php _e('Bugzilla</a> ← to report bugs')?></li>
<li><a href="<?php _e('https://forum.mageia.org/en/')?>"><?php _e('Forum')?></a></li>
<li><a href="/en/calendar/"><?php _e('Calendar')?></a></li>
<li><a href="http://mageia.madb.org"><?php _e('Mageia Applications Database')?></a></li>
</ul>
<hr>
<h2><?php _e('For developers & packagers')?></h2>
<ul class="hl">
<li><a href="http://svn.mageia.org/"><?php _e('Subversion')?></a>,
<a href="http://gitweb.mageia.org/"><?php _e('Git</a> code repositories')?></li>
<li><a href="http://pkgsubmit.mageia.org/"><?php _e('Packages submission queue')?></a>,
<a href="http://pkgsubmit.mageia.org/data/unmaintained.txt"><?php _e('unmaintained packages')?></a></li>
<li><a href="http://check.mageia.org/"><?php _e('Global QA report')?></a></li>
</ul>
</div>
<div class="para">
<h2><?php _e('Conversations')?></h2>
<p><?php _e('... or, how to get in touch with us? Easy:')?></p>
<ul class="hl">
<li><a href="https://wiki.mageia.org/en/IRC" title="Internet Relay Chat"><?php _e('IRC</a> on Freenode')?>,</li>
<li><a href="/mailman/"><?php _e('mailing-lists 1</a> & <a href="http://ml.mageia.org/">2')?></a>,</li>
<li><a href="<?php _e('https://forum.mageia.org/en/')?>"><?php _e('Forum')?></a>,</li>
<li><a href="<?php _e('http://blog.mageia.org/en/')?>"><?php _e('Blog')?></a>,</li>
<li><?php _e('in real life!')?></li>
<li><?php _e('during events!')?></li>
</ul>
<hr>
<h2><?php _e('Teams you can join!')?></h2>
<ul class="hl">
<li><a href="https://wiki.mageia.org/en/Atelier_Team" hreflang="en"><?php _e('Atelier')?></a></li>
<li><a href="https://wiki.mageia.org/en/Documentation_team" hreflang="en"><?php _e('Documentation')?></a></li>
<li><a href="https://wiki.mageia.org/en/Packagers_Team" hreflang="en"><?php _e('Packaging')?></a></li>
<li><a href="https://wiki.mageia.org/en/QA_Team" hreflang="en"><?php _e('Testing & <abbr title="Quality Assurance">QA</abbr>')?></a></li>
<li><a href="https://wiki.mageia.org/en/Internationalisation_Team_(i18n)" hreflang="en"><?php _e('Translation')?></a></li>
<li><a href="https://wiki.mageia.org/en/Sysadmin_Team" hreflang="en"><?php _e('Systems & infrastructure administration')?></a></li>
</ul>
<hr>
<!-- TODO
<section>
<h2>People!</h2>
</section>
-->
</div>
<div class="para">
<h2><?php _e('Mageia')?></h2>
<ul class="hl">
<li><a href="../about/"><?php _e('More about Mageia')?></a></li>
<li><?php _e('Our <a href="../about/code-of-conduct/">code of conduct</a> and <a href="../about/values/">values</a>')?></li>
<li><a href="http://wiki.mageia.org/en/Org"><?php _e('Our governance model</a> and structure:')?>
<ul>
<li><a href="https://wiki.mageia.org/en/Special:Search?search=teams"><?php _e('Teams')?></a></li>
<li><a href="http://wiki.mageia.org/en/Org_Council"><?php _e('the Council')?></a></li>
<li><a href="http://wiki.mageia.org/en/Org_Board"><?php _e('the Board')?></a></li>
</ul></li>
<li><?php _e('<a href="../donate/">Donations</a> & <a href="/en/about/reports/">reports</a>.')?></li>
</ul>
</div>
<p style="clear: both; text-align: right;"><mark><?php _e('This page needs you! <a href="https://wiki.mageia.org/en/Web_team">Join the Web team</a>!')?></mark></p>
</body>
</html>
|