diff options
author | friendica <info@friendica.com> | 2013-02-10 17:10:58 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-10 17:10:58 -0800 |
commit | 27c9288addb1630551633bdc4e631d4d01b5b93e (patch) | |
tree | 2b2195685b49a29c872585b9959313ba9efd4739 /mod/settings.php | |
parent | 90c1ecca244875fa915a4e5dfba3278e7c28e8d6 (diff) | |
download | volse-hubzilla-27c9288addb1630551633bdc4e631d4d01b5b93e.tar.gz volse-hubzilla-27c9288addb1630551633bdc4e631d4d01b5b93e.tar.bz2 volse-hubzilla-27c9288addb1630551633bdc4e631d4d01b5b93e.zip |
reduce itemspage for better interactive performance
Diffstat (limited to 'mod/settings.php')
-rw-r--r-- | mod/settings.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 |