diff options
| author | polo <ordipolo@gmx.fr> | 2026-10-23 00:47:32 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-10-23 00:47:32 +0200 |
| commit | f27cca08ff786ceff1870147f6d6bad14d71117f (patch) | |
| tree | d36597a72025313d6faf4ed228755fa267ebe2f6 /src/View/templates/news_block.php | |
| parent | c7309f900ef05bd5cb313110ec159b761af394ec (diff) | |
| download | cms-f27cca08ff786ceff1870147f6d6bad14d71117f.tar.gz cms-f27cca08ff786ceff1870147f6d6bad14d71117f.tar.bz2 cms-f27cca08ff786ceff1870147f6d6bad14d71117f.zip | |
dossiers avec majuscule, namespace pour toutes les classes, autoload psr-4, UserDataService::createZip déplacé dans Backup
Diffstat (limited to 'src/View/templates/news_block.php')
| -rw-r--r-- | src/View/templates/news_block.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/View/templates/news_block.php b/src/View/templates/news_block.php new file mode 100644 index 0000000..43dbe01 --- /dev/null +++ b/src/View/templates/news_block.php | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | <?php declare(strict_types=1); ?> | ||
| 2 | <section class="<?= $section_class ?>" block-type="<?= $node->getName() ?>" 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="section_child" style="<?= $cols_min_width ?>"> | ||
| 9 | <?= $content ?> | ||
| 10 | </div> | ||
| 11 | <div class="fetch_articles"> | ||
| 12 | <button class="<?= $fetch_button_hidden ?>" onclick="fetchArticles(<?= $this->id_node ?>)">Articles suivants</button> | ||
| 13 | </div> | ||
| 14 | </section> \ No newline at end of file | ||
