aboutsummaryrefslogtreecommitdiffstats
path: root/en/community
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2015-12-27 19:27:37 +0100
committerfilip <filip.komar@gmail.com>2015-12-27 19:27:37 +0100
commitf9de80a72443af9d2e2951ba06d877bd8f6a188f (patch)
tree941ff7b475ac15937a28f875a3423e2259f0e732 /en/community
parent13245808535022957688b90aade8e4f3e68d09a3 (diff)
downloadwww-f9de80a72443af9d2e2951ba06d877bd8f6a188f.tar
www-f9de80a72443af9d2e2951ba06d877bd8f6a188f.tar.gz
www-f9de80a72443af9d2e2951ba06d877bd8f6a188f.tar.bz2
www-f9de80a72443af9d2e2951ba06d877bd8f6a188f.tar.xz
www-f9de80a72443af9d2e2951ba06d877bd8f6a188f.zip
improved feed presentation
Diffstat (limited to 'en/community')
-rw-r--r--en/community/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/en/community/index.php b/en/community/index.php
index 569a6ae4f..ecd277e50 100644
--- a/en/community/index.php
+++ b/en/community/index.php
@@ -49,10 +49,10 @@ include '../../lib/news.php';
<div class="para" style="width: 400px;">
<section>
<?php
- if (_r('https://planet.mageia.org/en/') != 'https://planet.mageia.org/en/') {
- show_feed($locale, _r('News'), _r('https://planet.mageia.org/en/'), _r('https://planet.mageia.org/en/') . '?type=rss10', 9, null, true);
+ if (('en' == $locale) || (_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('https://blog.mageia.org/en/'), _r('https://blog.mageia.org/en/') . '?feed=rss', 9, null, true);
+ show_feed($locale, _r('News') . ' (' . _r('Blog') . ')', _r('https://blog.mageia.org/en/'), _r('https://blog.mageia.org/en/') . '?feed=rss', 9, null, true);
}
// don't work:
//show_feed('Mageia MLs', '', 'https://ml.mageia.org/l/rss/active_lists?count=20&for=10');