aboutsummaryrefslogtreecommitdiffstats
path: root/en/community/index.php
blob: eab67555d7c21611b82797a1c37c1c9e0c490fcf (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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<?php
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('community', 'news', 'common_footer'));
include '../../lib/news.php';

?>
<!DOCTYPE html>
<html lang="<?php echo $locale; ?>">
<head>
    <meta charset="utf-8">
    <title><?php _g('Mageia Community')?></title>
    <meta name="description" content="<?php _g('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 _g('mageia, community, news, tools, tasks')?>">
    <meta name="author" content="Mageia">
    <?php include '../../analytics.php'; ?>
    <?php echo common_header(); ?>
    <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; border: 1px solid #fa8; margin-bottom: 0.4em; background: #fffaf0; border-radius: .5rem;}
            #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>
</head>
<body class="community">
    <?php echo $hsnav; ?>
    <header id="mgnavt">
        <h1><?php _g('Mageia Community Central')?></h1>
        <ul>
            <li><a href="<?php _g('https://blog.mageia.org/en/')?>"><?php _g('Blog');?></a></li>
            <li><a href="<?php _g('https://planet.mageia.org/en/')?>"><?php _g('Planet');?></a></li>
            <li><a href="<?php _g('https://wiki.mageia.org/en/IRC')?>">IRC</a></li>
            <li><a href="<?php _g('https://forum.mageia.org/en/')?>"><?php _g('Forums');?></a></li>
            <li><a href="//ml.mageia.org/"><?php _g('Mailing-lists');?></a></li>
            <li><a href="<?php _g('https://wiki.mageia.org/')?>">Wiki</a></li>
            <li><a href="https://bugs.mageia.org/">Bugzilla</a></li>
            <li><a href="//madb.mageia.org"><?php _g('Mageia Applications Database')?></a></li>
            <li><a href="../calendar/"><?php _g('Calendar');?></a></li>
            <li><a href="//people.mageia.org/"><?php _g('People');?></a></li>
        </ul>
    </header>
    <div id="doc6" class="container">
    <div class="yui-ge row justify-content-center">
    <div class="col">
        <section>
            <?php
            $loc_planet_url = _r('https://planet.mageia.org/en/');
            $loc_blog_url = _r('https://blog.mageia.org/en/');
            $fresh_blog_post_titles = prepare_fresh_blog_post_titles('https://planet.mageia.org/en/', 'https://blog.mageia.org/en/', $loc_planet_url, $loc_blog_url);
            $loc_posts_title     = $fresh_blog_post_titles[0];
            $fresh_loc_posts     = $fresh_blog_post_titles[1];
            $num_fresh_loc_posts = $fresh_blog_post_titles[2];
            $eng_posts_title     = $fresh_blog_post_titles[3];
            $fresh_eng_posts     = $fresh_blog_post_titles[4];
            $num_fresh_eng_posts = count($fresh_eng_posts);

            if(0 != $num_fresh_loc_posts) {
                show_feed($locale, _r('Localised news') . " ($loc_posts_title)", $fresh_loc_posts[0]["source"], '', 0, null, true, null, $fresh_loc_posts);
            }
            if(0 != $num_fresh_eng_posts) {
                show_feed($locale, _r('News in English') . " ($eng_posts_title)", $fresh_eng_posts[0]["source"], '', 0, null, true, null, $fresh_eng_posts);
            }
            // don't work:
            //show_feed('Mageia MLs', '', 'https://ml.mageia.org/l/rss/active_lists?count=20&for=10');
            //show_feed('Mageia Forum', 'https://forum.mageia.org/en/', 'https://forums.mageia.org/en/feed.php?mode=topics_active');
            ?>
            <hr>
            <p><?php
                echo sprintf('<a href="%s">%s</a>', _r('https://planet.mageia.org/en/'), _r('Planet')) . ' | ';
                echo sprintf('<a href="%s">%s</a>', _r('https://blog.mageia.org/en/'), _r('Blog')) . ' | ';
                echo sprintf('<a href="%s">%s</a>', _r('https://forum.mageia.org/en/'), _r('Forums'));
            ?></p>
        </section>
    </div>
    <div class="col">
        <h2><a href="../contribute/"><?php _g('How to contribute?')?></a></h2>
        <ul class="hl">
            <li><a href="../contribute/"><?php echo _r('Start here')?></a>,</li>
            <li><?php _g('and meet us on <a href="https://wiki.mageia.org/en/IRC">IRC</a>.')?></li>
            <li><?php _g('You can also <a href="../donate/">support financially</a> the project!')?></li>
        </ul>
        <hr>
        <h2><?php _g('Toolbox')?></h2>
        <ul class="hl">
            <li><a href="<?php _g('https://wiki.mageia.org/')?>"><?php _g('Wiki</a> &larr; collaborative documentation')?></li>
            <li><a href="https://bugs.mageia.org/"><?php _g('Bugzilla</a> &larr; to report bugs')?></li>
            <li><a href="<?php _g('https://forum.mageia.org/en/')?>"><?php _g('Forums')?></a></li>
            <li><a href="../calendar/"><?php _g('Calendar')?></a></li>
            <li><a href="//madb.mageia.org"><?php _g('Mageia Applications Database')?></a></li>
        </ul>
        <hr>
        <h2><?php _g('For developers &amp; packagers')?></h2>
        <ul class="hl">
            <li><a href="//svnweb.mageia.org/"><?php echo _r('Subversion')?></a>,
                <a href="//gitweb.mageia.org/"><?php _g('Git</a> code repositories')?></li>
            <li><a href="//pkgsubmit.mageia.org/"><?php echo _r('Packages submission queue')?></a>,
                <a href="//pkgsubmit.mageia.org/data/unmaintained.txt"><?php _g('unmaintained packages')?></a></li>
            <li><a href="//check.mageia.org/"><?php _g('Global QA report')?></a></li>
        </ul>
    </div>
    <div class="w-100"></div>
    <div class="col">
        <h2><?php _g('Conversations')?></h2>
        <p><?php _g('... or, how to get in touch with us? Easy:')?></p>
        <ul class="hl">
            <li><a href="<?php _g('https://wiki.mageia.org/en/IRC')?>" title="Internet Relay Chat"><?php echo _r('IRC</a> on Freenode')?>,</li>
            <li><a href=<?php _g('"https://wiki.mageia.org/en/Mailing_lists" hreflang="en"')?>><?php echo _r('Mailing-lists')?></a>,</li>
            <li><a href="<?php _g('https://forum.mageia.org/en/')?>"><?php echo _r('Forums')?></a>,</li>
            <li><a href="<?php _g('https://blog.mageia.org/en/')?>"><?php echo _r('Blog')?></a>,</li>
            <li><?php _g('in real life!')?></li>
            <li><a href=<?php _g('"https://wiki.mageia.org/en/Events" hreflang="en"')?>><?php _g('during events!')?></a></li>
        </ul>
        <!-- TODO

        <section>
            <h2>People!</h2>
        </section>
        -->
    </div>
    <div class="col">
        <h2><?php _g('Teams you can join!')?></h2>
        <ul class="hl">
            <li><a href=<?php _g('"https://wiki.mageia.org/en/Atelier_team" hreflang="en"')?>><?php _g('Atelier')?></a></li>
            <li><a href=<?php _g('"https://wiki.mageia.org/en/Documentation_team" hreflang="en"')?>><?php _g('Documentation')?></a></li>
            <li><a href=<?php _g('"https://wiki.mageia.org/en/Packagers_Team" hreflang="en"')?>><?php _g('Packaging')?></a></li>
            <li><a href=<?php _g('"https://wiki.mageia.org/en/QA_Team" hreflang="en"')?>><?php _g('Testing &amp; <abbr title="Quality Assurance">QA</abbr>')?></a></li>
            <li><a href=<?php _g('"https://wiki.mageia.org/en/Internationalisation_Team_(i18n)" hreflang="en"')?>><?php _g('Translation')?></a></li>
            <li><a href=<?php _g('"https://wiki.mageia.org/en/Sysadmin_Team" hreflang="en"')?>><?php _g('Systems &amp; infrastructure administration')?></a></li>
            <li><a href=<?php _g('"https://wiki.mageia.org/en/Bugsquad" hreflang="en"')?>><?php _g('Bugs triaging')?></a></li>
        </ul>
    </div>
    <div class="col">
        <h2><?php _g('Mageia')?></h2>
        <ul class="hl">
            <li><a href="../about/"><?php _g('More about Mageia')?></a></li>
            <li><?php _g('Our <a href="../about/code-of-conduct/">code of conduct</a> and <a href="../about/values/">values</a>')?></li>
            <li><a href=<?php _g('"https://wiki.mageia.org/en/Org" hreflang="en"')?>><?php _g('Our governance model</a> and structure:')?>
                <ul>
                    <li><a href=<?php _g('"https://wiki.mageia.org/en/Special:Search?search=teams" hreflang="en"')?>><?php _g('Teams')?></a></li>
                    <li><a href=<?php _g('"https://wiki.mageia.org/en/Org_Council" hreflang="en"')?>><?php _g('the Council')?></a></li>
                    <li><a href=<?php _g('"https://wiki.mageia.org/en/Org_Board" hreflang="en"')?>><?php _g('the Board')?></a></li>
                </ul></li>
            <li><?php _g('<a href="../donate/">Donations</a> &amp; <a href="../about/reports/">reports</a>.')?></li>
        </ul>
    </div>
    <div class="w-100"></div>
    <p style="clear: both; text-align: center;"><mark class=mark"><?php _g('This page needs you! <a href="https://wiki.mageia.org/en/Web_team">Join the Web team</a>!')?></mark></p>
</div>
</div>
<?php echo common_footer($locale); ?>
</body>
</html>