diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-06-01 15:56:23 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-06-01 15:56:23 +0000 |
commit | 77f32826af5f2944ba141b76dba69f0b7a8c41a4 (patch) | |
tree | 67c945b1f71dfe3e683f5b3c14a302954f39c554 /en | |
parent | f1cd9147eb22da421213565ee7fd17f3ed45a015 (diff) | |
download | www-77f32826af5f2944ba141b76dba69f0b7a8c41a4.tar www-77f32826af5f2944ba141b76dba69f0b7a8c41a4.tar.gz www-77f32826af5f2944ba141b76dba69f0b7a8c41a4.tar.bz2 www-77f32826af5f2944ba141b76dba69f0b7a8c41a4.tar.xz www-77f32826af5f2944ba141b76dba69f0b7a8c41a4.zip |
fix
Diffstat (limited to 'en')
-rw-r--r-- | en/downloads/dl_twitter.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/en/downloads/dl_twitter.php b/en/downloads/dl_twitter.php index 7061c3e08..76310d716 100644 --- a/en/downloads/dl_twitter.php +++ b/en/downloads/dl_twitter.php @@ -8,6 +8,9 @@ function dl_twitter($locale) 'en' => 'I just downloaded Mageia 1, a new Linux distribution! Try it out!', 'fr' => 'Je viens de télécharger Mageia 1, nouvelle distribution Linux. À vous d\'essayer !' ); + if (!array_key_exists($locale, $langs)) + $locale = 'en'; + $s = <<<S <a href="http://twitter.com/share" |