Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
feeds.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
11 ?>
12 <table class="data table rss">
13  <caption class="table-caption"><?= $block->escapeHtml(__('Feed')) ?></caption>
14  <tbody>
15  <th colspan="2" scope="col"><?= $block->escapeHtml(__('Miscellaneous Feeds')) ?></th>
16  <?php foreach ($block->getFeeds() as $feed): ?>
17  <?php if (!isset($feed['group'])): ?>
18  <tr>
19  <td class="col feed"><?= $block->escapeHtml($feed['label']) ?></td>
20  <td class="col action">
21  <a href="<?= $block->escapeUrl($feed['link']) ?>" class="action get"><span><?= $block->escapeHtml(__('Get Feed')) ?></span></a>
22  </td>
23  </tr>
24  <?php else: ?>
25  <th colspan="2" scope="col"><?= $block->escapeHtml($feed['group']) ?></th>
26  <?php foreach ($feed['feeds'] as $item) :?>
27  <tr>
28  <td class="col feed"><?= $block->escapeHtml($item['label']) ?></td>
29  <td class="col action">
30  <a href="<?= $block->escapeUrl($item['link']) ?>" class="action get"><span><?= $block->escapeHtml(__('Get Feed')) ?></span></a>
31  </td>
32  </tr>
33  <?php endforeach; ?>
34  <?php endif; ?>
35  <?php endforeach; ?>
36  </tbody>
37 </table>
endif
Definition: feeds.phtml:34
__()
Definition: __.php:13
$block
Definition: block.php:8
endforeach
Definition: feeds.phtml:35