File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
plugins/bc-front/templates/plugin/BcCustomContent/CustomContent/default Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * baserCMS : Based Website Development Project <https://basercms.net>
4+ * Copyright (c) NPO baser foundation <https://baserfoundation.org/>
5+ *
6+ * @copyright Copyright (c) NPO baser foundation
7+ * @link https://basercms.net baserCMS Project
8+ * @since 5.0.0
9+ * @license https://basercms.net/license/index.html MIT License
10+ */
11+
12+ /**
13+ * カスタムコンテンツエントリー一覧
14+ *
15+ * @var \BcCustomContent\View\CustomContentFrontAppView $this
16+ * @var \Cake\ORM\ResultSet $customEntries
17+ * @var \BcCustomContent\Model\Entity\CustomContent $customContent
18+ * @checked
19+ * @noTodo
20+ * @unitTest
21+ */
22+ ?>
23+
24+
25+ <section class="bs-cc-entries">
26+ <?php if ($ customEntries ): ?>
27+ <?php foreach ($ customEntries as $ entry ): ?>
28+ <article class="bs-cc-entries__item clearfix">
29+ <span class="bs-cc-entries__item-title">
30+ <?php $ this ->BcBaser ->customEntryTitle ($ entry ) ?>
31+ </span>
32+ <span class="bs-cc-entries__item-date">
33+ 公開日:<?php $ this ->BcBaser ->customEntryPublished ($ entry ) ?>
34+ </span>
35+ </article>
36+ <?php endforeach ?>
37+ <?php else : ?>
38+ <p><?php echo __d ('baser_core ' , 'エントリーが存在しません。 ' ) ?> </p>
39+ <?php endif ?>
40+ </section>
You can’t perform that action at this time.
0 commit comments