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/modify_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/modify_block.php')
-rw-r--r-- | src/view/templates/modify_block.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/view/templates/modify_block.php b/src/view/templates/modify_block.php index 1d097e0..3620100 100644 --- a/src/view/templates/modify_block.php +++ b/src/view/templates/modify_block.php | |||
@@ -47,4 +47,11 @@ if(Blocks::hasPresentation($child_node->getName())){ | |||
47 | <?php | 47 | <?php |
48 | } | 48 | } |
49 | ?> | 49 | ?> |
50 | <div class="pagination_limit"> | ||
51 | <label for="pagination_limit_<?= $child_node->getId() ?>"> | ||
52 | Nombre max d'articles affichés | ||
53 | <input type="number" id="pagination_limit_<?= $child_node->getId() ?>" name="pagination_limit" onchange="changePaginationLimit(<?= $child_node->getId() ?>)" min="0" max="30" value="<?= $child_node->getNodeData()->getPaginationLimit() ?>"> | ||
54 | <i>(mettre 0 désactive la pagination)</i> | ||
55 | </label> | ||
56 | </div> | ||
50 | </div> \ No newline at end of file | 57 | </div> \ No newline at end of file |