forked from rebillar/site-accueil-insa
Photo test v10.3
This commit is contained in:
parent
2485b3dc4b
commit
ef4b948d27
1 changed files with 140 additions and 139 deletions
|
@ -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
|
||||
?>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue