Photo test v10.3

This commit is contained in:
Arthur 2019-08-28 19:20:41 +02:00
parent 2485b3dc4b
commit ef4b948d27

View file

@ -163,7 +163,7 @@ function getTotalAlbumCount($path)
$total += getTotalAlbumCount($path . DIRECTORY_SEPARATOR . $value);
}
return $total;
}
}
function getTotalPhotoCount($path)
{
@ -237,7 +237,9 @@ function generatePath($path)
<div id="leftButton" onclick="displayNext(-1)">
<i class="fas fa-arrow-left"></i>
</div>
<a id="downloadButton" download="" href="">
<i class="fas fa-download"></i>
</a>
<div id="closeButton">
<i class="fas fa-times" onclick="closeBig()"></i>
</div>
@ -259,7 +261,7 @@ function generatePath($path)
generatePath(getActivePath());
?>
</ul>
</div>
</div>
<div id="photoContainer">
<?php if (getDirectoriesCount(photoRoot . getActivePath()) > 0): ?>
<div class="photos-folder-container">
@ -283,10 +285,10 @@ function generatePath($path)
?>
</div>
<?php endif; ?>
</div>
</div>
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/photos.css">
<?php
$pageContent = ob_get_clean(); // Store html content in variable
@ -295,4 +297,3 @@ $pageScripts = "<script src=\"assets/js/photos.js\"></script><script type=\"text
include("includes/template.php"); // Display template with variable content
?>