forked from vergnet/site-accueil-insa
tiret
This commit is contained in:
parent
e72c2f8046
commit
013b5117ce
1 changed files with 5 additions and 7 deletions
12
photos.php
12
photos.php
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue