Baptiste 1 year ago
parent
commit
013b5117ce
1 changed files with 5 additions and 7 deletions
  1. 5
    7
      photos.php

+ 5
- 7
photos.php View File

@@ -75,22 +75,20 @@ function createDirectories($path)
75 75
                 <a href="<?= $folderLink ?>">
76 76
                 <li class="directory-li">
77 77
                     <span id="folderTitle"><?= $folderTitle ?></span>
78
-                    <?= " - " ?>
79 78
                     <span id="folderPhotos">
80 79
                             <?php if ($photos > 1) {
81
-                                echo $photos." photos";
80
+                                echo " - ".$photos." photos";
82 81
                             } elseif ($photos == 1) {
83
-                                echo $photos ." photo";
82
+                                echo " - ".$photos ." photo";
84 83
                             } else {
85
-                                echo "vide";
84
+                                echo " - "."vide";
86 85
                             } ?>
87 86
                     </span>
88
-                    <?= " - " ?>
89 87
                     <span id="folderAlbums">
90 88
                         <?php if ($albums > 1) {
91
-                            echo $albums." albums";
89
+                            echo " - ".$albums." albums";
92 90
                         } elseif ($albums == 1) {
93
-                            echo $albums." album";
91
+                            echo " - ".$albums." album";
94 92
                         } ?>
95 93
                     </span>
96 94
                 </li>

Loading…
Cancel
Save