diff options
author | polo <ordipolo@gmx.fr> | 2023-03-03 23:44:43 +0100 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2023-03-03 23:44:43 +0100 |
commit | c0b176ae142624d6a6daa0f65ea6fead448b8b47 (patch) | |
tree | e06445897db82e0f3cddd13bb2a67860fcf9fc3c /view | |
parent | a1a9c5d80d800f6c38b900c66c77db05801a6f1d (diff) | |
download | melaine-c0b176ae142624d6a6daa0f65ea6fead448b8b47.zip |
inversion de positions
Diffstat (limited to 'view')
-rw-r--r-- | view/articlesContent.php | 15 | ||||
-rw-r--r-- | view/backup.php | 6 | ||||
-rw-r--r-- | view/discographie.php | 7 | ||||
-rw-r--r-- | view/pageArticlesSimples.php | 4 | ||||
-rw-r--r-- | view/password.php | 2 | ||||
-rw-r--r-- | view/template.php | 2 |
6 files changed, 21 insertions, 15 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 | } |
diff --git a/view/backup.php b/view/backup.php index bbea60d..ec2e947 100644 --- a/view/backup.php +++ b/view/backup.php | |||
@@ -54,8 +54,8 @@ elseif(isset($_GET['action']) && $_GET['action'] == 'restauration') | |||
54 | ob_start(); | 54 | ob_start(); |
55 | ?> | 55 | ?> |
56 | <h2>Restauration des données à partir d'une sauvegarde.</h2> | 56 | <h2>Restauration des données à partir d'une sauvegarde.</h2> |
57 | <p>Vous devez avoir créé précédemment un fichier dont le nom commence par <i>melaineDATA</i><br/> | 57 | <p>Vous devez avoir précédemment créé et téléchargé un fichier dont le nom commence par <i>melaineDATA</i><br/> |
58 | à la page <i>Sauvegarder les données.</i></p><br/> | 58 | sur la page <i>Sauvegarder les données.</i></p><br/> |
59 | 59 | ||
60 | <form method="post" enctype="multipart/form-data" action="index.php?from=<?= $from ?>&action=restauration" > | 60 | <form method="post" enctype="multipart/form-data" action="index.php?from=<?= $from ?>&action=restauration" > |
61 | <input id="archiveUpload" type="file" name="archive" accept=".zip" class="boutonBackup" onchange="sendFileSize();" ><br/> | 61 | <input id="archiveUpload" type="file" name="archive" accept=".zip" class="boutonBackup" onchange="sendFileSize();" ><br/> |
@@ -78,7 +78,7 @@ elseif(isset($_GET['action']) && $_GET['action'] == 'restauration') | |||
78 | <!-- <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> --> | 78 | <!-- <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> --> |
79 | <link rel="icon" type="image/png" href="public/mouette-logo.png" > | 79 | <link rel="icon" type="image/png" href="public/mouette-logo.png" > |
80 | <link rel="stylesheet" type="text/css" href="public/css/normalize.css" /> | 80 | <link rel="stylesheet" type="text/css" href="public/css/normalize.css" /> |
81 | <link rel="stylesheet" type="text/css" href="public/css/accueil.css" /> | 81 | <link rel="stylesheet" type="text/css" href="public/css/main.css" /> |
82 | <?php | 82 | <?php |
83 | if(isset($_GET['action']) && $_GET['action'] == 'restauration') | 83 | if(isset($_GET['action']) && $_GET['action'] == 'restauration') |
84 | { | 84 | { |
diff --git a/view/discographie.php b/view/discographie.php index 2220715..3007c86 100644 --- a/view/discographie.php +++ b/view/discographie.php | |||
@@ -81,10 +81,11 @@ if($_SESSION['admin'] == 1) | |||
81 | { | 81 | { |
82 | $style = ''; | 82 | $style = ''; |
83 | ?> | 83 | ?> |
84 | <!-- le bouton Nouvel album est considéré comme un article --> | ||
84 | <article> | 85 | <article> |
85 | <p class="boutonAlbum" > | 86 | <p class="boutonAlbum" > |
86 | <a href="index.php?page=discographie&action=edition" > | 87 | <a href="index.php?page=discographie&action=edition" > |
87 | Nouvel album | 88 | <span>Nouvel album</span> |
88 | </a> | 89 | </a> |
89 | </p> | 90 | </p> |
90 | </article> | 91 | </article> |
@@ -151,6 +152,10 @@ for($i = 0; $i < $Albums->fileListCount; $i++) | |||
151 | <a href="index.php?<?= $lienBoutonModif[$i] ?>" > | 152 | <a href="index.php?<?= $lienBoutonModif[$i] ?>" > |
152 | <img src="public/icone_modifier.png" > | 153 | <img src="public/icone_modifier.png" > |
153 | </a> | 154 | </a> |
155 | <a href="index.php?page=<?= $page ?>&action=monter&file_code=<?= $Albums->fileList[$i]['fileCode'] ?>&position=<?= $Albums->fileList[$i]['position'] ?>#<?= $Albums->fileList[$i]['fileCode'] ?>" > | ||
156 | <img src="public/icone_monter.png" ></a> | ||
157 | <a href="index.php?page=<?= $page ?>&action=descendre&file_code=<?= $Albums->fileList[$i]['fileCode'] ?>&position=<?= $Albums->fileList[$i]['position'] ?>#<?= $Albums->fileList[$i]['fileCode'] ?>" > | ||
158 | <img src="public/icone_descendre.png" ></a> | ||
154 | <a href="index.php?page=discographie&action=suppression&file_code=<?= $Albums->fileList[$i]['fileCode'] ?>" onclick="confirmerSuppression()" > | 159 | <a href="index.php?page=discographie&action=suppression&file_code=<?= $Albums->fileList[$i]['fileCode'] ?>" onclick="confirmerSuppression()" > |
155 | <img src="public/icone_supprimer.png" > | 160 | <img src="public/icone_supprimer.png" > |
156 | </a> | 161 | </a> |
diff --git a/view/pageArticlesSimples.php b/view/pageArticlesSimples.php index 34f5dca..95f8c46 100644 --- a/view/pageArticlesSimples.php +++ b/view/pageArticlesSimples.php | |||
@@ -39,9 +39,9 @@ $js = ob_get_clean(); | |||
39 | // message lecteur multimedia | 39 | // message lecteur multimedia |
40 | if($page == 'archives') | 40 | if($page == 'archives') |
41 | { | 41 | { |
42 | $explications = '<p > | 42 | $explications = '<p style="padding: 3px 3px 0 3px; background-color: white;"> |
43 | <img style="float: right;" src="public/header_images/logo_real.png" /> | 43 | <img style="float: right;" src="public/header_images/logo_real.png" /> |
44 | Certains liens vidéos nécessitent le lecteur <a href="https://www.real.com" target="_blank" >Real Media</a> (windows, android et iOS) pour être lus.</p> | 44 | Certains liens vidéos nécessitent le lecteur <a href="https://www.real.com" target="_blank" >Real Player</a> (windows, android et iOS) pour être lus.</p> |
45 | <p> | 45 | <p> |
46 | <img style="float: left;" src="public/header_images/logo_vlc.png" /> | 46 | <img style="float: left;" src="public/header_images/logo_vlc.png" /> |
47 | Vous pouvez aussi utiliser le<br/><a href="https://www.videolan.org/vlc/" target="_blank" >lecteur VLC.</a></p>'; | 47 | Vous pouvez aussi utiliser le<br/><a href="https://www.videolan.org/vlc/" target="_blank" >lecteur VLC.</a></p>'; |
diff --git a/view/password.php b/view/password.php index a72766e..93cae95 100644 --- a/view/password.php +++ b/view/password.php | |||
@@ -78,7 +78,7 @@ ob_start(); | |||
78 | <!-- <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> --> | 78 | <!-- <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> --> |
79 | <link rel="icon" type="image/png" href="public/mouette-logo.png" > | 79 | <link rel="icon" type="image/png" href="public/mouette-logo.png" > |
80 | <link rel="stylesheet" type="text/css" href="public/css/normalize.css"> | 80 | <link rel="stylesheet" type="text/css" href="public/css/normalize.css"> |
81 | <link rel="stylesheet" type="text/css" href="public/css/accueil.css" /> | 81 | <link rel="stylesheet" type="text/css" href="public/css/main.css" /> |
82 | <script type="text/javascript" src="public/main.js" ></script> | 82 | <script type="text/javascript" src="public/main.js" ></script> |
83 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | 83 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
84 | </head> | 84 | </head> |
diff --git a/view/template.php b/view/template.php index 7fafbbb..b86a41c 100644 --- a/view/template.php +++ b/view/template.php | |||
@@ -11,7 +11,7 @@ | |||
11 | <!-- <link rel="shortcut icon" type="image/x-icon" href="public/favicon.ico" /> --> | 11 | <!-- <link rel="shortcut icon" type="image/x-icon" href="public/favicon.ico" /> --> |
12 | <link rel="icon" type="image/png" href="public/mouette-logo.png" > | 12 | <link rel="icon" type="image/png" href="public/mouette-logo.png" > |
13 | <link rel="stylesheet" type="text/css" href="public/css/normalize.css"> | 13 | <link rel="stylesheet" type="text/css" href="public/css/normalize.css"> |
14 | <link rel="stylesheet" type="text/css" href="public/css/accueil.css" /> | 14 | <link rel="stylesheet" type="text/css" href="public/css/main.css" /> |
15 | <?php | 15 | <?php |
16 | if(isset($css)) // fichiers CSS supplémentaires | 16 | if(isset($css)) // fichiers CSS supplémentaires |
17 | { | 17 | { |