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
18
photos.php
18
photos.php
|
@ -287,6 +287,13 @@ if (isset($_REQUEST['logout'])) {
|
||||||
generatePath(getActivePath());
|
generatePath(getActivePath());
|
||||||
?>
|
?>
|
||||||
</ul>
|
</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">
|
<ul class="directory-ul">
|
||||||
<?php if (getDirectoriesCount(photoRoot . getActivePath()) > 0): ?>
|
<?php if (getDirectoriesCount(photoRoot . getActivePath()) > 0): ?>
|
||||||
<div class="photos-folder-container">
|
<div class="photos-folder-container">
|
||||||
|
@ -296,19 +303,14 @@ if (isset($_REQUEST['logout'])) {
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</ul>
|
</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): ?>
|
<?php if (getPhotoCount(photoRoot . getActivePath()) > 0): ?>
|
||||||
<div class="photos">
|
<div class="photos">
|
||||||
<?php
|
<?php
|
||||||
createPhotos(getActivePath());
|
createPhotos(getActivePath());
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
|
Loading…
Reference in a new issue