forked from vergnet/site-accueil-insa
on met les zip au dessus des photos
This commit is contained in:
parent
10b1ab64bb
commit
34c8e839c5
1 changed files with 10 additions and 8 deletions
14
photos.php
14
photos.php
|
@ -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,12 +303,7 @@ 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
|
||||
|
|
Loading…
Reference in a new issue