This commit is contained in:
friendica 2013-06-21 05:02:43 -07:00
commit 407473f2ce
15 changed files with 16717 additions and 19493 deletions

View file

@ -635,7 +635,11 @@ if(! class_exists('App')) {
function set_pager_itemspage($n) {
$this->pager['itemspage'] = ((intval($n) > 0) ? intval($n) : 0);
$this->pager['start'] = ($this->pager['page'] * $this->pager['itemspage']) - $this->pager['itemspage'];
}
function set_pager_page($n) {
$this->pager['page'] = $n;
$this->pager['start'] = ($this->pager['page'] * $this->pager['itemspage']) - $this->pager['itemspage'];
}
function init_pagehead() {