diff options
Diffstat (limited to 'src/view/templates')
-rw-r--r-- | src/view/templates/news_block.php (renamed from src/view/templates/blog.php) | 4 | ||||
-rw-r--r-- | src/view/templates/post.php (renamed from src/view/templates/article.php) | 0 | ||||
-rw-r--r-- | src/view/templates/post_block.php (renamed from src/view/templates/grid.php) | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/view/templates/blog.php b/src/view/templates/news_block.php index dfb65b5..d88d780 100644 --- a/src/view/templates/blog.php +++ b/src/view/templates/news_block.php | |||
@@ -1,11 +1,11 @@ | |||
1 | <?php declare(strict_types=1); ?> | 1 | <?php declare(strict_types=1); ?> |
2 | <section class="blog" id="<?= $this->id_node ?>"> | 2 | <section class="<?= $section_class ?>" id="<?= $this->id_node ?>"> |
3 | <h3><?= $title ?></h3> | 3 | <h3><?= $title ?></h3> |
4 | <?= $new_article ?> | 4 | <?= $new_article ?> |
5 | <script> | 5 | <script> |
6 | var clone<?= $this->id_node ?> = document.currentScript.previousElementSibling.cloneNode(true); | 6 | var clone<?= $this->id_node ?> = document.currentScript.previousElementSibling.cloneNode(true); |
7 | </script> | 7 | </script> |
8 | <div> | 8 | <div class="<?= $section_child_class ?>"> |
9 | <?= $content ?> | 9 | <?= $content ?> |
10 | </div> | 10 | </div> |
11 | </section> \ No newline at end of file | 11 | </section> \ No newline at end of file |
diff --git a/src/view/templates/article.php b/src/view/templates/post.php index 5cf35c2..5cf35c2 100644 --- a/src/view/templates/article.php +++ b/src/view/templates/post.php | |||
diff --git a/src/view/templates/grid.php b/src/view/templates/post_block.php index 71c052b..d88d780 100644 --- a/src/view/templates/grid.php +++ b/src/view/templates/post_block.php | |||
@@ -1,11 +1,11 @@ | |||
1 | <?php declare(strict_types=1); ?> | 1 | <?php declare(strict_types=1); ?> |
2 | <section class="grid" id="<?= $this->id_node ?>"> | 2 | <section class="<?= $section_class ?>" id="<?= $this->id_node ?>"> |
3 | <h3><?= $title ?></h3> | 3 | <h3><?= $title ?></h3> |
4 | <?= $new_article ?> | 4 | <?= $new_article ?> |
5 | <script> | 5 | <script> |
6 | var clone<?= $this->id_node ?> = document.currentScript.previousElementSibling.cloneNode(true); | 6 | var clone<?= $this->id_node ?> = document.currentScript.previousElementSibling.cloneNode(true); |
7 | </script> | 7 | </script> |
8 | <div class="grid_columns"> | 8 | <div class="<?= $section_child_class ?>"> |
9 | <?= $content ?> | 9 | <?= $content ?> |
10 | </div> | 10 | </div> |
11 | </section> \ No newline at end of file | 11 | </section> \ No newline at end of file |