diff options
author | polo <ordipolo@gmx.fr> | 2025-10-09 01:35:52 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-10-09 01:35:52 +0200 |
commit | 15cbf5d56b4644151d59fee512f5f8fbe496caa3 (patch) | |
tree | 0da411f4aff53a0249cf3d59ea13f3786897b740 /src/view/templates/news_block.php | |
parent | 9f88389d78755d7c69c29e9db8f114fd1dbef034 (diff) | |
download | cms-15cbf5d56b4644151d59fee512f5f8fbe496caa3.zip |
pagination partie 2, nouvelles fonctions + renommage dans Director, ArticleController::fetch, et en JS: fetchArticles, insertLocalDates, modifs dans changePaginationLimit, dans les vues
Diffstat (limited to 'src/view/templates/news_block.php')
-rw-r--r-- | src/view/templates/news_block.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/templates/news_block.php b/src/view/templates/news_block.php index 9d01513..43dbe01 100644 --- a/src/view/templates/news_block.php +++ b/src/view/templates/news_block.php | |||
@@ -1,5 +1,5 @@ | |||
1 | <?php declare(strict_types=1); ?> | 1 | <?php declare(strict_types=1); ?> |
2 | <section class="<?= $section_class ?>" id="<?= $this->id_node ?>"> | 2 | <section class="<?= $section_class ?>" block-type="<?= $node->getName() ?>" id="<?= $this->id_node ?>"> |
3 | <h3><?= $title ?></h3> | 3 | <h3><?= $title ?></h3> |
4 | <?= $new_article ?> | 4 | <?= $new_article ?> |
5 | <script> | 5 | <script> |
@@ -8,4 +8,7 @@ | |||
8 | <div class="section_child" style="<?= $cols_min_width ?>"> | 8 | <div class="section_child" style="<?= $cols_min_width ?>"> |
9 | <?= $content ?> | 9 | <?= $content ?> |
10 | </div> | 10 | </div> |
11 | <div class="fetch_articles"> | ||
12 | <button class="<?= $fetch_button_hidden ?>" onclick="fetchArticles(<?= $this->id_node ?>)">Articles suivants</button> | ||
13 | </div> | ||
11 | </section> \ No newline at end of file | 14 | </section> \ No newline at end of file |