on met les zip au dessus des photos

This commit is contained in:
Baptiste 2022-10-26 09:08:38 +02:00
parent 10b1ab64bb
commit 34c8e839c5

View file

@ -287,6 +287,13 @@ if (isset($_REQUEST['logout'])) {
generatePath(getActivePath());
?>
</ul>
<?php if (isAlbumAvailable(getActivePath())): ?>
<a download="" href="photos_folders/photos<?php echo getActivePath().DIRECTORY_SEPARATOR.GetActiveFolder(getActivePath()); ?>.zip" id="downloadAlbum">
<span id="downloadText">Télécharger</span>
<span id="albumPhotoCount"><?php echo getTotalPhotoCount(photoRoot . getActivePath()) ?> photos</span>
</a>
<?php endif; ?>
<ul class="directory-ul">
<?php if (getDirectoriesCount(photoRoot . getActivePath()) > 0): ?>
<div class="photos-folder-container">
@ -296,19 +303,14 @@ if (isset($_REQUEST['logout'])) {
</div>
<?php endif; ?>
</ul>
<?php if (isAlbumAvailable(getActivePath())): ?>
<a download="" href="photos_folders/photos<?php echo getActivePath().DIRECTORY_SEPARATOR.GetActiveFolder(getActivePath()); ?>.zip" id="downloadAlbum">
<span id="downloadText">Télécharger</span>
<span id="albumPhotoCount"><?php echo getTotalPhotoCount(photoRoot . getActivePath()) ?> photos</span>
</a>
<?php endif; ?>
<?php if (getPhotoCount(photoRoot . getActivePath()) > 0): ?>
<div class="photos">
<?php
createPhotos(getActivePath());
?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
</section>
</div>
<br>