Improves on Paginator
This commit is contained in:
parent
983dc20f60
commit
741e9c3935
2 changed files with 2 additions and 4 deletions
|
@ -72,7 +72,7 @@ class Paginator {
|
||||||
}
|
}
|
||||||
|
|
||||||
$html .= '<li class="left">';
|
$html .= '<li class="left">';
|
||||||
$html .= '<a href="'.self::urlPrevPage().'?page='.self::get('prevPage').'">'.$textPrevPage.'</a>';
|
$html .= '<a href="'.self::urlPrevPage().'">'.$textPrevPage.'</a>';
|
||||||
$html .= '</li>';
|
$html .= '</li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ class Paginator {
|
||||||
}
|
}
|
||||||
|
|
||||||
$html .= '<li class="right">';
|
$html .= '<li class="right">';
|
||||||
$html .= '<a href="'.self::urlNextPage().'?page='.self::get('nextPage').'">'.$textNextPage.'</a>';
|
$html .= '<a href="'.self::urlNextPage().'">'.$textNextPage.'</a>';
|
||||||
$html .= '</li>';
|
$html .= '</li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,5 +38,3 @@ if($Url->whereAmI()==='admin') {
|
||||||
else {
|
else {
|
||||||
require(PATH_BOOT.'site.php');
|
require(PATH_BOOT.'site.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
var_dump($Url);exit;
|
|
||||||
|
|
Loading…
Reference in a new issue