From c267f73a36beaecb4dead3031336d291e158dea8 Mon Sep 17 00:00:00 2001 From: Baptiste Date: Mon, 10 Oct 2022 12:47:29 +0200 Subject: [PATCH] photos --- assets/css/page/photos.css | 5 +++++ photos.php | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/assets/css/page/photos.css b/assets/css/page/photos.css index 9339004..5ea9d3c 100644 --- a/assets/css/page/photos.css +++ b/assets/css/page/photos.css @@ -26,6 +26,11 @@ li { display: inline-block; } +.photo { + display: inline-block; + width: 100px; +} + .directory-ul { list-style: none; } diff --git a/photos.php b/photos.php index 241cab0..1a622ae 100644 --- a/photos.php +++ b/photos.php @@ -1,7 +1,7 @@
  • - + 1) { echo " - ".$photos." photos"; @@ -235,13 +235,13 @@ function generatePath($path) $currentPath = ""; $pathTitle = "Menu"; $pathLink = "?" . urlParam . "="; - echo '
  • '.$pathTitle.'
  • '; + echo '
  • '.str_replace("_", " ", $pathTitle).'
  • '; foreach ($folders as $value) { if ($value != "") { $pathTitle = $value; $currentPath .= DIRECTORY_SEPARATOR . $value; $pathLink = "?" . urlParam . "=" . $currentPath; - echo ' >
  • '.$pathTitle.'
  • '; + echo ' >
  • '.str_replace("_", " ", $pathTitle).'
  • '; } } }