diff options
Diffstat (limited to 'src/View/templates/galery.php')
| -rw-r--r-- | src/View/templates/galery.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/View/templates/galery.php b/src/View/templates/galery.php new file mode 100644 index 0000000..97f8cd8 --- /dev/null +++ b/src/View/templates/galery.php | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | <?php declare(strict_types=1); ?> | ||
| 2 | <section class="galery" id="<?= $this->id_node ?>"> | ||
| 3 | <h3><?= $title ?></h3> | ||
| 4 | <?= $new_article ?> | ||
| 5 | <script> | ||
| 6 | var clone<?= $this->id_node ?> = document.currentScript.previousElementSibling.cloneNode(true); | ||
| 7 | </script> | ||
| 8 | <div class="galery_photos"> | ||
| 9 | <?= $content ?> | ||
| 10 | </div> | ||
| 11 | <script>enableGaleryScroller();</script> | ||
| 12 | </section> \ No newline at end of file | ||
