From a4ccb0a55370fb06e7b7c84dd7a9033a6e7778b2 Mon Sep 17 00:00:00 2001 From: Esenjin Date: Mon, 30 Dec 2024 22:10:46 +0100 Subject: [PATCH] ajout affichage titre/description des albums --- albums.php | 12 ++- styles.css | 292 ++++++++++++++++++++++++++++------------------------- 2 files changed, 164 insertions(+), 140 deletions(-) diff --git a/albums.php b/albums.php index 80449b5..7e4d899 100644 --- a/albums.php +++ b/albums.php @@ -12,6 +12,9 @@ if (!isSecurePath($currentPath)) { exit; } +// Récupérer les informations de l'album courant +$currentAlbumInfo = getAlbumInfo($currentPath); + // Récupérer tous les sous-dossiers $albums = []; foreach (new DirectoryIterator($currentPath) as $item) { @@ -45,7 +48,7 @@ if (!isSecurePath($parentPath)) { - Albums - ICO + <?php echo htmlspecialchars($currentAlbumInfo['title']); ?> - ICO @@ -56,6 +59,13 @@ if (!isSecurePath($parentPath)) { Retour +
+

+ +

+ +
+