This commit is contained in:
Baptiste 2022-06-21 13:53:13 +02:00
parent e72c2f8046
commit 013b5117ce

View file

@ -75,22 +75,20 @@ function createDirectories($path)
<a href="<?= $folderLink ?>">
<li class="directory-li">
<span id="folderTitle"><?= $folderTitle ?></span>
<?= " - " ?>
<span id="folderPhotos">
<?php if ($photos > 1) {
echo $photos." photos";
echo " - ".$photos." photos";
} elseif ($photos == 1) {
echo $photos ." photo";
echo " - ".$photos ." photo";
} else {
echo "vide";
echo " - "."vide";
} ?>
</span>
<?= " - " ?>
<span id="folderAlbums">
<?php if ($albums > 1) {
echo $albums." albums";
echo " - ".$albums." albums";
} elseif ($albums == 1) {
echo $albums." album";
echo " - ".$albums." album";
} ?>
</span>
</li>