09-04-2022

-localization work fine
-prepare for $_SESSION
This commit is contained in:
2022-04-09 15:30:38 +02:00
parent 01ee106fcf
commit 629d9fd711
5 changed files with 181 additions and 252 deletions

View File

@@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Insert photos in Sqlite base</title>
<title><?php gettext('Insert photos in Sqlite base'; ?></title>
<link rel="stylesheet" href="css/sls.css" />
<link rel='stylesheet' href='css/lc_lightbox.min.css' />
@@ -118,7 +118,6 @@ foreach($dir as $file){
}
$mod = isset($exif['IFD0']['Model']) ? $exif['IFD0']['Model'] : '';
//_pr($exif);
# YYYY-MM-DD HH:MM:SS.SSS - 2019:10:01 14:03:12
$da = isset($exif['EXIF']['DateTimeOriginal']) ? $exif['EXIF']['DateTimeOriginal'] : '';
@@ -388,7 +387,7 @@ $nb_avant = (isset($avant)) ? $avant : 0;
echo '<h3>' . gettext('Creation of thumbnails') . ' ('. $th_w . 'px x ' . $th_h . 'px) ' . gettext('in the folder') . ' <i>photos/thumb/</i>.</h3>';
//$b = ($z > 1) ? 'nouvelles images' : 'nouvelle image';
$b = ($z > 1) ? gettext('new images') : gettext('new image');
echo '<h3>' . gettext('Insertion of ') . $z . ' ' . $b . gettext(' in database') . '...</h3>';
@@ -481,7 +480,7 @@ try {
//$row = $stmt->fetchAll(PDO::FETCH_ASSOC);
//_pr($result);
echo '<h3>Lecture des photos ajoutées:</h3>';
echo '<h3>' . gettext('Reading added photos') . ':</h3>';
echo '<div id="add_to_bdd">';
echo '<table class="styled-table">';
echo '<thead>';