From 15ef4fea78803400891a68e7591bafce145eedb8 Mon Sep 17 00:00:00 2001 From: marijus Date: Thu, 11 Sep 2014 12:33:47 +0200 Subject: typo --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/photos.php b/mod/photos.php index 866d8c275..9ce8ceb50 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -758,7 +758,7 @@ function photos_content(&$a) { echo '
'; echo $ajaxout; - echo '
'; + echo '
'; echo ''; killme(); } -- cgit v1.2.3 From 5e54f470978e8208c000476faa009434fc98d3f8 Mon Sep 17 00:00:00 2001 From: marijus Date: Thu, 11 Sep 2014 12:42:16 +0200 Subject: content-complete must not be in photo-album-contents --- mod/photos.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mod/photos.php b/mod/photos.php index 9ce8ceb50..e50afd557 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -753,8 +753,11 @@ function photos_content(&$a) { } } if($_REQUEST['aj']) { - if(! $r) + if(! $r) { $ajaxout .= '
'; + echo $ajaxout; + killme(); + } echo '
'; echo $ajaxout; -- cgit v1.2.3 From 1f16bad9d97d63bfaf6f9f980de9d7a96c09ba24 Mon Sep 17 00:00:00 2001 From: marijus Date: Thu, 11 Sep 2014 13:07:08 +0200 Subject: set items/page back to 60 --- mod/photos.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/photos.php b/mod/photos.php index e50afd557..f2df894c0 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -635,7 +635,7 @@ function photos_content(&$a) { ); if(count($r)) { $a->set_pager_total(count($r)); - $a->set_pager_itemspage(30); + $a->set_pager_itemspage(60); } if($_GET['order'] === 'posted') @@ -1168,7 +1168,7 @@ function photos_content(&$a) { ); if(count($r)) { $a->set_pager_total(count($r)); - $a->set_pager_itemspage(30); + $a->set_pager_itemspage(60); } $r = q("SELECT `resource_id`, `id`, `filename`, type, `album`, max(`scale`) AS `scale` FROM `photo` -- cgit v1.2.3