diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/network.php | 2 | ||||
-rw-r--r-- | mod/settings.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/network.php b/mod/network.php index 1a3989b69..88c7520dd 100644 --- a/mod/network.php +++ b/mod/network.php @@ -561,7 +561,7 @@ function network_content(&$a, $update = 0, $load = false) { } else { $itemspage = get_pconfig(local_user(),'system','itemspage'); - $a->set_pager_itemspage(((intval($itemspage)) ? $itemspage : 30)); + $a->set_pager_itemspage(((intval($itemspage)) ? $itemspage : 20)); $pager_sql = sprintf(" LIMIT %d, %d ",intval($a->pager['start']), intval($a->pager['itemspage'])); } diff --git a/mod/settings.php b/mod/settings.php index d2dd57b18..7bfc90f55 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -209,7 +209,7 @@ function settings_post(&$a) { if($browser_update < 10000) $browser_update = 10000; - $itemspage = ((x($_POST,'itemspage')) ? intval($_POST['itemspage']) : 40); + $itemspage = ((x($_POST,'itemspage')) ? intval($_POST['itemspage']) : 20); if($itemspage > 100) $itemspage = 100; @@ -813,7 +813,7 @@ function settings_content(&$a) { $browser_update = (($browser_update == 0) ? 40 : $browser_update / 1000); // default if not set: 40 seconds $itemspage = intval(get_pconfig(local_user(), 'system','itemspage')); - $itemspage = (($itemspage > 0 && $itemspage < 101) ? $itemspage : 40); // default if not set: 40 items + $itemspage = (($itemspage > 0 && $itemspage < 101) ? $itemspage : 20); // default if not set: 20 items $nosmile = get_pconfig(local_user(),'system','no_smilies'); $nosmile = (($nosmile===false)? '0': $nosmile); // default if not set: 0 |