move html from paginate functions to template
This commit is contained in:
parent
efce5ae1b9
commit
faa510befc
3 changed files with 114 additions and 75 deletions
6
boot.php
6
boot.php
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue