aboutsummaryrefslogtreecommitdiffstats
path: root/contribute/contribute.php
diff options
context:
space:
mode:
authorOliver Burger <obgr_seneca@mageia.org>2011-05-22 13:51:23 +0000
committerOliver Burger <obgr_seneca@mageia.org>2011-05-22 13:51:23 +0000
commite15d325b49fe496021179501ba89872df8a18b0d (patch)
tree646d77d71e91f19b40182b36abeae0bc26597601 /contribute/contribute.php
parentf6c3e9db74a4725b16760d420f4f0a1695768277 (diff)
downloadwww-e15d325b49fe496021179501ba89872df8a18b0d.tar
www-e15d325b49fe496021179501ba89872df8a18b0d.tar.gz
www-e15d325b49fe496021179501ba89872df8a18b0d.tar.bz2
www-e15d325b49fe496021179501ba89872df8a18b0d.tar.xz
www-e15d325b49fe496021179501ba89872df8a18b0d.zip
added contribute page including internationalisation
Diffstat (limited to 'contribute/contribute.php')
-rw-r--r--contribute/contribute.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/contribute/contribute.php b/contribute/contribute.php
new file mode 100644
index 000000000..e564bc6e1
--- /dev/null
+++ b/contribute/contribute.php
@@ -0,0 +1,12 @@
+<?php
+
+$locale = explode('/', $_SERVER['REQUEST_URI']);
+$locale = $locale[1];
+
+include 'contribute_locales.php';
+if (!array_key_exists($locale, $_t)) {
+ $locale = 'en';
+}
+
+$_t = $_t[$locale];
+?>