"altpager" is now the standard value and can be disabled. Depending upon the user reactions we can disable it in an upcoming version.
This commit is contained in:
parent
f620834d97
commit
1d48ab0191
6 changed files with 17 additions and 17 deletions
|
@ -627,7 +627,7 @@ die("ss");
|
|||
|
||||
}
|
||||
else {
|
||||
if( (! get_config('alt_pager', 'global')) && (! get_pconfig(local_user(),'system','alt_pager')) ) {
|
||||
if(get_config('system', 'old_pager')) {
|
||||
$r = q("SELECT COUNT(*) AS `total`
|
||||
FROM $sql_table $sql_post_table INNER JOIN `contact` ON `contact`.`id` = $sql_table.`contact-id`
|
||||
AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0
|
||||
|
@ -815,10 +815,9 @@ die("ss");
|
|||
$o .= conversation($a,$items,$mode,$update);
|
||||
|
||||
if(!$update) {
|
||||
if( get_config('alt_pager', 'global') || get_pconfig(local_user(),'system','alt_pager') ) {
|
||||
if(!get_config('system', 'old_pager')) {
|
||||
$o .= alt_pager($a,count($items));
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$o .= paginate($a);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue