forkeado de vergnet/site-accueil-insa
arrangement repertoire photos
Este commit está contenido en:
padre
8ea59b4944
commit
fb0c3c8167
Se han modificado 1 ficheros con 18 adiciones y 14 borrados
32
photos.php
32
photos.php
|
|
@ -74,20 +74,24 @@ 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>
|
||||||
<?php if ($photos > 1): ?>
|
<span id="folderPhotos">
|
||||||
<span id="folderPhotos"><?= $photos ?> photos</span>
|
<?php if ($photos > 1) {
|
||||||
<?php elseif ($photos == 1): ?>
|
echo $photos." photos";
|
||||||
<span id="folderPhotos"><?= $photos ?> photo</span>
|
} elseif ($photos == 1) {
|
||||||
<?php else: ?>
|
echo $photos ." photo";
|
||||||
<span id="folderPhotos">vide</span>
|
} else {
|
||||||
<?php endif; ?>
|
echo "vide";
|
||||||
|
} ?>
|
||||||
<?php if ($albums > 1): ?>
|
</span>
|
||||||
<span id="folderAlbums"><?= $albums ?> albums</span>
|
<?= " - " ?>
|
||||||
<?php elseif ($albums == 1): ?>
|
<span id="folderAlbums">
|
||||||
<span id="folderAlbums"><?= $albums ?> album</span>
|
<?php if ($albums > 1) {
|
||||||
<?php endif; ?>
|
echo $albums." albums";
|
||||||
|
} elseif ($albums == 1) {
|
||||||
|
echo $albums." album";
|
||||||
|
} ?>
|
||||||
|
</span>
|
||||||
</li>
|
</li>
|
||||||
</a>
|
</a>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
||||||
Cargando…
Referenciar en una nueva incidencia