diff --git a/admin.php b/admin.php index ebca5ff..e10c8da 100644 --- a/admin.php +++ b/admin.php @@ -1,4 +1,5 @@ Se connecter + + + + \ No newline at end of file diff --git a/arbre-img-prive.php b/arbre-img-prive.php index fe8a3de..b57264e 100644 --- a/arbre-img-prive.php +++ b/arbre-img-prive.php @@ -301,5 +301,6 @@ $currentAlbumInfo = getAlbumInfo($currentPath); // Initialisation : masquer les boutons au chargement document.addEventListener('DOMContentLoaded', updateActionButtons); + \ No newline at end of file diff --git a/arbre-img.php b/arbre-img.php index 8c3b6b2..2a263a5 100644 --- a/arbre-img.php +++ b/arbre-img.php @@ -600,5 +600,6 @@ $images = array_map(function($img) { + diff --git a/arbre-prive.php b/arbre-prive.php index 57f6e0e..c56b88a 100644 --- a/arbre-prive.php +++ b/arbre-prive.php @@ -431,5 +431,6 @@ function generatePrivateTree($path, $currentPath) { }, 2000); } + \ No newline at end of file diff --git a/arbre.php b/arbre.php index 217b57e..291f08f 100644 --- a/arbre.php +++ b/arbre.php @@ -350,5 +350,6 @@ function generateTree($path, $currentPath) { } } + \ No newline at end of file diff --git a/clefs.php b/clefs.php index ea4b108..782cc5c 100644 --- a/clefs.php +++ b/clefs.php @@ -240,5 +240,6 @@ while ($row = $albumsResult->fetchArray(SQLITE3_ASSOC)) { window.location.href = url; } + \ No newline at end of file diff --git a/fonctions.php b/fonctions.php index 2ea7bc6..d124a68 100644 --- a/fonctions.php +++ b/fonctions.php @@ -342,4 +342,16 @@ function cleanExpiredShareKeys() { return $db->changes(); } + +/** + * Récupère la version actuelle du projet + * @return string La version du projet + */ +function getVersion() { + $versionFile = __DIR__ . '/version.txt'; + if (file_exists($versionFile)) { + return trim(file_get_contents($versionFile)); + } + return 'inconnue'; // Version par défaut si le fichier n'existe pas +} ?> \ No newline at end of file diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..0269817 --- /dev/null +++ b/footer.php @@ -0,0 +1,12 @@ + + \ No newline at end of file diff --git a/galeries-privees.php b/galeries-privees.php index 5a77f4b..38b9680 100644 --- a/galeries-privees.php +++ b/galeries-privees.php @@ -168,5 +168,6 @@ if (empty($shareKey)) { } + \ No newline at end of file diff --git a/galeries.php b/galeries.php index 86d2c02..55b017f 100644 --- a/galeries.php +++ b/galeries.php @@ -141,5 +141,6 @@ if (!isSecurePath($parentPath)) { } } + \ No newline at end of file diff --git a/index.php b/index.php index 9ac581c..f9e4611 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,6 @@ Accéder aux galeries + + - - - - - - - - - Partager l'image - ICO - - - -
@@ -161,6 +62,8 @@ $filename = basename($imageUrl);
+ + + \ No newline at end of file diff --git a/version.txt b/version.txt new file mode 100644 index 0000000..afaf360 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +1.0.0 \ No newline at end of file