aboutsummaryrefslogtreecommitdiffstats
path: root/en/about/constitution/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/about/constitution/index.php')
-rw-r--r--en/about/constitution/index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/en/about/constitution/index.php b/en/about/constitution/index.php
index a5d56faa7..1b5d00519 100644
--- a/en/about/constitution/index.php
+++ b/en/about/constitution/index.php
@@ -48,7 +48,11 @@ $_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules);
<div class="para">
<?php
include G_APP_ROOT . '/lib/php-markdown/markdown.php';
- echo Markdown(file_get_contents('mageia.org_statutes_fr.md'));
+ $l = isset($_GET['l']) ? $_GET['l'] : $locale;
+ if ($l == 'fr')
+ echo Markdown(file_get_contents('mageia.org_statutes_fr.md'));
+ else
+ echo Markdown(file_get_contents('mageia.org_statutes_en.md'));
?>
</div>
</div>