diff options
Diffstat (limited to 'view/articlesContent.php')
-rw-r--r-- | view/articlesContent.php | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/view/articlesContent.php b/view/articlesContent.php index 5f6b587..c07ba75 100644 --- a/view/articlesContent.php +++ b/view/articlesContent.php | |||
@@ -1,7 +1,7 @@ | |||
1 | <?php | 1 | <?php |
2 | // view/articlesContent.php | 2 | // view/articlesContent.php |
3 | 3 | ||
4 | // variable $articlesContent | 4 | // tampon pour $articlesContent |
5 | ob_start(); | 5 | ob_start(); |
6 | if($_SESSION['admin'] == 1) | 6 | if($_SESSION['admin'] == 1) |
7 | { | 7 | { |
@@ -23,7 +23,7 @@ if($_SESSION['admin'] == 1) | |||
23 | <div> | 23 | <div> |
24 | <p class="boutonArticle boutonNouvelArticle" > | 24 | <p class="boutonArticle boutonNouvelArticle" > |
25 | <a href="index.php?page=<?= $page ?>&action=editor" > | 25 | <a href="index.php?page=<?= $page ?>&action=editor" > |
26 | Nouvel article | 26 | <span>Nouvel article</span> |
27 | </a> | 27 | </a> |
28 | </p> | 28 | </p> |
29 | <?php | 29 | <?php |
@@ -85,12 +85,13 @@ for($i = 0; $i < $Articles->fileListCount; $i++) | |||
85 | </div> | 85 | </div> |
86 | <p class="boutonArticle" > | 86 | <p class="boutonArticle" > |
87 | <a href="index.php?page=<?= $page ?>&action=editor&file_code=<?= $Articles->fileList[$i]['fileCode'] ?>#<?= $Articles->fileList[$i]['fileCode'] ?>" > | 87 | <a href="index.php?page=<?= $page ?>&action=editor&file_code=<?= $Articles->fileList[$i]['fileCode'] ?>#<?= $Articles->fileList[$i]['fileCode'] ?>" > |
88 | Modifier cet article | 88 | <img src="public/icone_modifier.png" ></a> |
89 | </a> | 89 | <a href="index.php?page=<?= $page ?>&action=monter&file_code=<?= $Articles->fileList[$i]['fileCode'] ?>&position=<?= $Articles->fileList[$i]['position'] ?>#<?= $Articles->fileList[$i]['fileCode'] ?>" > |
90 | <!-- un espace --> | 90 | <img src="public/icone_monter.png" ></a> |
91 | <a href="index.php?page=<?= $page ?>&action=descendre&file_code=<?= $Articles->fileList[$i]['fileCode'] ?>&position=<?= $Articles->fileList[$i]['position'] ?>#<?= $Articles->fileList[$i]['fileCode'] ?>" > | ||
92 | <img src="public/icone_descendre.png" ></a> | ||
91 | <a href="index.php?page=<?= $page ?>&action=suppression&file_code=<?= $Articles->fileList[$i]['fileCode'] ?>" onclick="confirmerSuppression()" > | 93 | <a href="index.php?page=<?= $page ?>&action=suppression&file_code=<?= $Articles->fileList[$i]['fileCode'] ?>" onclick="confirmerSuppression()" > |
92 | Supprimer cet article | 94 | <img src="public/icone_supprimer.png" ></a> |
93 | </a> | ||
94 | </p> | 95 | </p> |
95 | <?php | 96 | <?php |
96 | } | 97 | } |