diff options
Diffstat (limited to 'src/view/templates')
-rw-r--r-- | src/view/templates/article.php | 1 | ||||
-rw-r--r-- | src/view/templates/blog.php | 8 | ||||
-rw-r--r-- | src/view/templates/galery.php | 7 | ||||
-rw-r--r-- | src/view/templates/grid.php | 6 |
4 files changed, 14 insertions, 8 deletions
diff --git a/src/view/templates/article.php b/src/view/templates/article.php index f3ab32f..c57c1cb 100644 --- a/src/view/templates/article.php +++ b/src/view/templates/article.php | |||
@@ -10,5 +10,4 @@ | |||
10 | <?= $admin_buttons ?> | 10 | <?= $admin_buttons ?> |
11 | </div> | 11 | </div> |
12 | </div> | 12 | </div> |
13 | |||
14 | </article> \ No newline at end of file | 13 | </article> \ No newline at end of file |
diff --git a/src/view/templates/blog.php b/src/view/templates/blog.php index 35cac8b..e2066c8 100644 --- a/src/view/templates/blog.php +++ b/src/view/templates/blog.php | |||
@@ -1,6 +1,10 @@ | |||
1 | <section class="blog"> | 1 | <section class="blog" id="<?= $this->id_node ?>"> |
2 | <h3><?= $title ?></h3> | 2 | <h3><?= $title ?></h3> |
3 | <?= $new_article ?> | 3 | <?= $new_article ?> |
4 | <?= $new_article_admin_buttons ?> | 4 | <script> |
5 | var clone<?= $this->id_node ?> = document.currentScript.previousElementSibling.cloneNode(true); | ||
6 | </script> | ||
7 | <div> | ||
5 | <?= $content ?> | 8 | <?= $content ?> |
9 | </div> | ||
6 | </section> \ No newline at end of file | 10 | </section> \ No newline at end of file |
diff --git a/src/view/templates/galery.php b/src/view/templates/galery.php index 306526f..246c4dd 100644 --- a/src/view/templates/galery.php +++ b/src/view/templates/galery.php | |||
@@ -1,9 +1,10 @@ | |||
1 | <section class="galery"> | 1 | <section class="galery" id="<?= $this->id_node ?>"> |
2 | <h3><?= $title ?></h3> | 2 | <h3><?= $title ?></h3> |
3 | <?= $new_article ?> | 3 | <?= $new_article ?> |
4 | <?= $new_article_admin_buttons ?> | 4 | <script> |
5 | var clone<?= $this->id_node ?> = document.currentScript.previousElementSibling.cloneNode(true); | ||
6 | </script> | ||
5 | <div class="galery_photos"> | 7 | <div class="galery_photos"> |
6 | <a><p></p></a> | ||
7 | <?= $content ?> | 8 | <?= $content ?> |
8 | </div> | 9 | </div> |
9 | <script>enableGaleryScroller();</script> | 10 | <script>enableGaleryScroller();</script> |
diff --git a/src/view/templates/grid.php b/src/view/templates/grid.php index a09ed40..f9e441d 100644 --- a/src/view/templates/grid.php +++ b/src/view/templates/grid.php | |||
@@ -1,7 +1,9 @@ | |||
1 | <section class="grid"> | 1 | <section class="grid" id="<?= $this->id_node ?>"> |
2 | <h3><?= $title ?></h3> | 2 | <h3><?= $title ?></h3> |
3 | <?= $new_article ?> | 3 | <?= $new_article ?> |
4 | <?= $new_article_admin_buttons ?> | 4 | <script> |
5 | var clone<?= $this->id_node ?> = document.currentScript.previousElementSibling.cloneNode(true); | ||
6 | </script> | ||
5 | <div class="grid_columns"> | 7 | <div class="grid_columns"> |
6 | <?= $content ?> | 8 | <?= $content ?> |
7 | </div> | 9 | </div> |