mirror of https://github.com/joomla/joomla-cms.git
[4] Module 'Feed Display': deprecated Notice (#42803)
* backport to 4.4. * backport to 4.4 * fix4ceford * adminmodule ---------
This commit is contained in:
parent
6ab1334364
commit
8ea73559b2
|
@ -56,7 +56,7 @@ if (!empty($feed) && is_string($feed)) {
|
|||
</h2>
|
||||
<?php endif;
|
||||
// Feed date
|
||||
if ($params->get('rssdate', 1)) : ?>
|
||||
if ($params->get('rssdate', 1) && ($feed->publishedDate !== null)) : ?>
|
||||
<h3>
|
||||
<?php echo HTMLHelper::_('date', $feed->publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
|
||||
</h3>
|
||||
|
@ -93,7 +93,7 @@ if (!empty($feed) && is_string($feed)) {
|
|||
<h5 class="feed-link"><?php echo trim($feed[$i]->title); ?></h5>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('rssitemdate', 0)) : ?>
|
||||
<?php if ($params->get('rssitemdate', 0) && $feed[$i]->publishedDate !== null) : ?>
|
||||
<div class="feed-item-date">
|
||||
<?php echo HTMLHelper::_('date', $feed[$i]->publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
|
||||
</div>
|
||||
|
|
|
@ -59,7 +59,7 @@ if (!empty($feed) && is_string($feed)) {
|
|||
<?php
|
||||
}
|
||||
// Feed date
|
||||
if ($params->get('rssdate', 1)) : ?>
|
||||
if ($params->get('rssdate', 1) && ($feed->publishedDate !== null)) : ?>
|
||||
<h3>
|
||||
<?php echo HTMLHelper::_('date', $feed->publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
|
||||
</h3>
|
||||
|
@ -95,7 +95,7 @@ if (!empty($feed) && is_string($feed)) {
|
|||
<span class="feed-link"><?php echo trim($feed[$i]->title); ?></span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('rssitemdate', 0)) : ?>
|
||||
<?php if ($params->get('rssitemdate', 0) && $feed[$i]->publishedDate !== null) : ?>
|
||||
<div class="feed-item-date">
|
||||
<?php echo HTMLHelper::_('date', $feed[$i]->publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue