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