diff options
author | Oliver Burger <obgr_seneca@mageia.org> | 2011-05-22 13:51:23 +0000 |
---|---|---|
committer | Oliver Burger <obgr_seneca@mageia.org> | 2011-05-22 13:51:23 +0000 |
commit | e15d325b49fe496021179501ba89872df8a18b0d (patch) | |
tree | 646d77d71e91f19b40182b36abeae0bc26597601 /contribute/contribute.php | |
parent | f6c3e9db74a4725b16760d420f4f0a1695768277 (diff) | |
download | www-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.php | 12 |
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]; +?> |