aboutsummaryrefslogtreecommitdiffstats
path: root/en/about/constitution/index.php
blob: e736f097f39f594038e25293cd1dee7a9fc8f2d8 (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
<?php
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../../langs.php';
$rtl = is_locale_rtl($locale);
$dictionary = read_translation_file($locale, array('about/constitution', 'common_footer'));

// Note to translators: _r('Note to translators! PLEASE READ THIS LINE! YOU DON\'T NEED TO TRANSLATE IT! Please translate constitution in file "mageia.org_statutes_fr.md" or "mageia.org_statutes_en.md" as a fallback first. Check wiki for details.')

?><!DOCTYPE html>
<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
    <meta charset="utf-8">
    <title><?php _g('Mageia.Org constitution'); ?></title>
    <meta name="description" content="<?php _g('Mageia.Org constitution');?>">
    <meta name="keywords" content="<?php _g('mageia.org, association, organization, legal, constitution, statuts'); ?>">
    <meta name="author" content="Mageia">
    <?php include '../../../analytics.php'; ?>
    <?php echo common_header(); ?>
</head>
<body class="about constitution" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
    <?php echo $hsnav; ?>
    <h1 id="mgnavt"><?php _g('Mageia.Org constitution')?></h1>
    <div id="doc4" class="yui-t7" style="margin-bottom: 0px;">
        <div id="bd" role="main">
            <div class="yui-g">
                <div class="p-2">
                    <div id="preamble">
                    <p><?php echo sprintf(_r('Original and definitive version (in French) is available from %s. These <em>may</em> be improved. Do not hesitate to mail your patches; check how in the %s.'),
                        '<a href="//gitweb.mageia.org/org/constitution/tree/">gitweb.mageia.org/org/constitution</a>',
                        '<a href="//gitweb.mageia.org/org/constitution/tree/README.md">README</a>')?></p>
                    </div>
                </div>
                <div class="para">
                    <?php
                    include G_APP_ROOT . '/_nav/lib/Parsedown/Parsedown.php';
                    $Parsedown = new Parsedown();
                    if(in_array($locale, array('en', 'fr', 'sl', 'tr', 'ro', 'de', 'pt-br', 'el', 'id', 'uk', 'ru', 'es', 'eu'))) {
                        echo $Parsedown->text(file_get_contents('mageia.org_statutes_' . $locale . '.md'));
                    } else {
                        echo $Parsedown->text(file_get_contents('mageia.org_statutes_en.md'));
                    }
                    ?>
                </div>
            </div>
        </div>
    </div>
<?php echo common_footer($locale); ?>
</body>
</html>