diff options
-rw-r--r-- | themes/default/views/tag.html.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/themes/default/views/tag.html.php b/themes/default/views/tag.html.php index 4e3934b0..27777e94 100644 --- a/themes/default/views/tag.html.php +++ b/themes/default/views/tag.html.php @@ -8,11 +8,7 @@ <ul id="gAlbumGrid"> <? foreach ($children as $i => $child): ?> - <? $album_class = ""; ?> - <? if ($child->is_album()): ?> - <? $album_class = "gAlbum "; ?> - <? endif ?> - <li class="gItem <?= $album_class ?>"> + <li class="gItem <?= $child->is_album() ? "gAlbum" : "" ?>"> <?= $theme->thumb_top($child) ?> <a href="<?= $child->url() ?>"> <img id="gPhotoId-<?= $child->id ?>" class="gThumbnail" |