芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/tixpeual2124.gob.mx/modules/mod_feed/tmpl/default.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Filter\OutputFilter; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; // Check if feed URL has been set if (empty ($rssurl)) { echo '
' . Text::_('MOD_FEED_ERR_NO_URL') . '
'; return; } if (!empty($feed) && is_string($feed)) { echo $feed; } else { $lang = $app->getLanguage(); $myrtl = $params->get('rssrtl', 0); $direction = ' '; $isRtl = $lang->isRtl(); if ($isRtl && $myrtl == 0) { $direction = ' redirect-rtl'; } // Feed description elseif ($isRtl && $myrtl == 1) { $direction = ' redirect-ltr'; } elseif ($isRtl && $myrtl == 2) { $direction = ' redirect-rtl'; } elseif ($myrtl == 0) { $direction = ' redirect-ltr'; } elseif ($myrtl == 1) { $direction = ' redirect-ltr'; } elseif ($myrtl == 2) { $direction = ' redirect-rtl'; } if ($feed !== false) { ?>
title !== null && $params->get('rsstitle', 1)) { ?>
title; ?>
get('rssdate', 1)) : ?>
publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
get('rssdesc', 1)) { ?> description; ?> image && $params->get('rssimage', 1)) : ?>
get('rssitems', 3)); $i < $max; $i++) { ?> uri || !$feed[$i]->isPermaLink ? trim($feed[$i]->uri) : trim($feed[$i]->guid); $uri = !$uri || stripos($uri, 'http') !== 0 ? $rssurl : $uri; $text = $feed[$i]->content !== '' ? trim($feed[$i]->content) : ''; ?>
title); ?>
title); ?>
get('rssitemdate', 0)) : ?>
publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
get('rssitemdesc', 1) && $text !== '') : ?>
get('word_count', 0)); echo str_replace(''', "'", $text); ?>