diff --git a/components/com_newsfeeds/views/newsfeed/tmpl/default.php b/components/com_newsfeeds/views/newsfeed/tmpl/default.php index afe2de65f3f2f..0198d7743f96b 100644 --- a/components/com_newsfeeds/views/newsfeed/tmpl/default.php +++ b/components/com_newsfeeds/views/newsfeed/tmpl/default.php @@ -8,16 +8,15 @@ */ defined('_JEXEC') or die; -?> -msg)) { echo $this->msg; } else { - $lang = JFactory::getLanguage(); - $myrtl = $this->newsfeed->rtl; + $lang = JFactory::getLanguage(); + $myrtl = $this->newsfeed->rtl; $direction = " "; if ($lang->isRTL() && $myrtl == 0) @@ -26,7 +25,7 @@ } elseif ($lang->isRTL() && $myrtl == 1) { - $direction = " redirect-ltr"; + $direction = " redirect-ltr"; } elseif ($lang->isRTL() && $myrtl == 2) { @@ -44,7 +43,7 @@ { $direction = " redirect-rtl"; } - $images = json_decode($this->item->images); + $images = json_decode($this->item->images); ?>
params->get('display_num')) : ?> @@ -84,7 +83,7 @@ src="image_second); ?>" alt="image_second_alt); ?>"/>
-item->description; ?> + item->description; ?> params->get('show_feed_description')) : ?> @@ -104,7 +103,7 @@ rssDoc[0])) { ?>
    item->numarticles; $i++) { ?> - + rssDoc[$i])) { break; } ?> rssDoc[$i]->guid) || !is_null($this->rssDoc[$i]->guid) ? $this->rssDoc[$i]->guid : $this->rssDoc[$i]->uri; $uri = substr($uri, 0, 4) != 'http' ? $this->item->link : $uri; @@ -126,7 +125,6 @@ $text = JHtml::_('string.truncate', $text, $this->params->get('feed_character_count')); echo str_replace(''', "'", $text); ?> -