aboutsummaryrefslogtreecommitdiffstats
path: root/en
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2015-05-01 00:47:34 +0200
committerfilip <filip.komar@gmail.com>2015-05-01 00:47:34 +0200
commit71d370dfa8e3f702c2c29a56fc2ac409297ea141 (patch)
tree55fbf3b545e638c8357993fe663027da0aa02bc1 /en
parent7169b7b924d3aca332309fdefe4424e039c4841d (diff)
downloadwww-71d370dfa8e3f702c2c29a56fc2ac409297ea141.tar
www-71d370dfa8e3f702c2c29a56fc2ac409297ea141.tar.gz
www-71d370dfa8e3f702c2c29a56fc2ac409297ea141.tar.bz2
www-71d370dfa8e3f702c2c29a56fc2ac409297ea141.tar.xz
www-71d370dfa8e3f702c2c29a56fc2ac409297ea141.zip
reuse news title for community page + improvement of show_feed
added some fallback move source of the news to their title
Diffstat (limited to 'en')
-rw-r--r--en/community/index.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/en/community/index.php b/en/community/index.php
index c8b13dc2e..0e927b9de 100644
--- a/en/community/index.php
+++ b/en/community/index.php
@@ -48,12 +48,11 @@ include '../../lib/news.php';
<div class="yui-ge">
<div class="para" style="width: 400px;">
<section>
- <h2><a href="<?php _g('https://blog.mageia.org/en/')?>"><?php _g('News');?></a></h2>
<?php
if (_r('https://planet.mageia.org/en/') != 'https://planet.mageia.org/en/') {
- show_feed($locale, null, _r('https://planet.mageia.org/en/'), _r('https://planet.mageia.org/en/') . '?type=rss10', 9, null, true);
+ show_feed($locale, _r('News'), _r('https://planet.mageia.org/en/'), _r('https://planet.mageia.org/en/') . '?type=rss10', 9, null, true);
} else {
- show_feed($locale, null, _r('https://blog.mageia.org/en/'), _r('https://blog.mageia.org/en/') . '?feed=rss', 9, null, true);
+ show_feed($locale, _r('News'), _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');