Improves on Paginator

This commit is contained in:
dignajar 2016-01-20 23:18:02 -03:00
parent 983dc20f60
commit 741e9c3935
2 changed files with 2 additions and 4 deletions

View File

@ -72,7 +72,7 @@ class Paginator {
}
$html .= '<li class="left">';
$html .= '<a href="'.self::urlPrevPage().'?page='.self::get('prevPage').'">'.$textPrevPage.'</a>';
$html .= '<a href="'.self::urlPrevPage().'">'.$textPrevPage.'</a>';
$html .= '</li>';
}
@ -87,7 +87,7 @@ class Paginator {
}
$html .= '<li class="right">';
$html .= '<a href="'.self::urlNextPage().'?page='.self::get('nextPage').'">'.$textNextPage.'</a>';
$html .= '<a href="'.self::urlNextPage().'">'.$textNextPage.'</a>';
$html .= '</li>';
}

View File

@ -38,5 +38,3 @@ if($Url->whereAmI()==='admin') {
else {
require(PATH_BOOT.'site.php');
}
var_dump($Url);exit;