diff options
Diffstat (limited to 'en/community/index.php')
-rw-r--r-- | en/community/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/en/community/index.php b/en/community/index.php index ecd277e50..4745f70d8 100644 --- a/en/community/index.php +++ b/en/community/index.php @@ -49,7 +49,7 @@ include '../../lib/news.php'; <div class="para" style="width: 400px;"> <section> <?php - if (('en' == $locale) || (_r('https://planet.mageia.org/en/') != 'https://planet.mageia.org/en/')) { + if ((strpos($locale, 'en') === 0) || (_r('https://planet.mageia.org/en/') != 'https://planet.mageia.org/en/')) { show_feed($locale, _r('News') . ' (' . _r('Planet') . ')', _r('https://planet.mageia.org/en/'), _r('https://planet.mageia.org/en/') . '?type=rss10', 9, null, true); } else { show_feed($locale, _r('News') . ' (' . _r('Blog') . ')', _r('https://blog.mageia.org/en/'), _r('https://blog.mageia.org/en/') . '?feed=rss', 9, null, true); |