diff --git a/plugin/Gallery/view/modeGalleryCategory.php b/plugin/Gallery/view/modeGalleryCategory.php index d4a6ad82a..dd6a49b43 100644 --- a/plugin/Gallery/view/modeGalleryCategory.php +++ b/plugin/Gallery/view/modeGalleryCategory.php @@ -1,65 +1,72 @@ CategoriesRowCount; ?>
-doNotShowLiveOnCategoryList)) { - $currentCat = $_cat; - include $global['systemRootPath'] . 'plugin/Gallery/view/modeGalleryCategoryLive.php'; - } - unset($_POST['sort']); - $_POST['sort']['v.created'] = "DESC"; - $_POST['sort']['likes'] = "DESC"; - $videos = Video::getAllVideos("viewableNotUnlisted", false, !$obj->hidePrivateVideos); - if (empty($videos)) { - continue; - } - if(empty($_cat['clean_name'])){ - continue; - } - ?> -
- -

- - - -

- doNotShowLiveOnCategoryList)) { + $currentCat = $_cat; + include $global['systemRootPath'] . 'plugin/Gallery/view/modeGalleryCategoryLive.php'; + } + unset($_POST['sort']); + $_POST['sort']['v.created'] = "DESC"; + $_POST['sort']['likes'] = "DESC"; + $videos = Video::getAllVideos("viewableNotUnlisted", false, !$obj->hidePrivateVideos); + if (empty($videos)) { + continue; + } + if (empty($_cat['clean_name'])) { + continue; } - createGallerySection($videos, "", array(), true); ?> -
+
+ +

+ + + +

+ +
- +
-

- -

\ No newline at end of file + +
+ +
\ No newline at end of file