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 ?>"> <a href="<?= $folderLink ?>">
<li class="directory-li"> <li class="directory-li">
<span id="folderTitle"><?= $folderTitle ?></span> <span id="folderTitle"><?= $folderTitle ?></span>
<?= " - " ?>
<span id="folderPhotos"> <span id="folderPhotos">
<?php if ($photos > 1) { <?php if ($photos > 1) {
echo $photos." photos"; echo " - ".$photos." photos";
} elseif ($photos == 1) { } elseif ($photos == 1) {
echo $photos ." photo"; echo " - ".$photos ." photo";
} else { } else {
echo "vide"; echo " - "."vide";
} ?> } ?>
</span> </span>
<?= " - " ?>
<span id="folderAlbums"> <span id="folderAlbums">
<?php if ($albums > 1) { <?php if ($albums > 1) {
echo $albums." albums"; echo " - ".$albums." albums";
} elseif ($albums == 1) { } elseif ($albums == 1) {
echo $albums." album"; echo " - ".$albums." album";
} ?> } ?>
</span> </span>
</li> </li>