12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- // @codingStandardsIgnoreFile
- /** @var \Magento\Rss\Block\Feeds $block */
- ?>
- <table class="data table rss">
- <caption class="table-caption"><?= $block->escapeHtml(__('Feed')) ?></caption>
- <tbody>
- <th colspan="2" scope="col"><?= $block->escapeHtml(__('Miscellaneous Feeds')) ?></th>
- <?php foreach ($block->getFeeds() as $feed): ?>
- <?php if (!isset($feed['group'])): ?>
- <tr>
- <td class="col feed"><?= $block->escapeHtml($feed['label']) ?></td>
- <td class="col action">
- <a href="<?= $block->escapeUrl($feed['link']) ?>" class="action get"><span><?= $block->escapeHtml(__('Get Feed')) ?></span></a>
- </td>
- </tr>
- <?php else: ?>
- <th colspan="2" scope="col"><?= $block->escapeHtml($feed['group']) ?></th>
- <?php foreach ($feed['feeds'] as $item) :?>
- <tr>
- <td class="col feed"><?= $block->escapeHtml($item['label']) ?></td>
- <td class="col action">
- <a href="<?= $block->escapeUrl($item['link']) ?>" class="action get"><span><?= $block->escapeHtml(__('Get Feed')) ?></span></a>
- </td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- <?php endforeach; ?>
- </tbody>
- </table>
|