diff --git a/index.php b/index.php index 3666b68..50e675a 100644 --- a/index.php +++ b/index.php @@ -316,11 +316,8 @@ if (isset($filters_id[$default_part])) { '&part=' . $default_part . '#record'; - $pager = new pager($sorts->page, $counter->f(0), $sorts->nb, 10); - $pager->html_prev = __('«prev.'); - $pager->html_next = __('next»'); + $pager = new dcPager($sorts->page, $counter->f(0), $sorts->nb, 10); $pager->base_url = sprintf($pager_url, $sorts->sortby, $sorts->order, '%s'); - $pager->var_page = 'page'; } catch (Exception $e) { $core->error->add($e->getMessage()); } @@ -332,8 +329,10 @@ if (isset($filters_id[$default_part])) { echo '
' . __('No record') . '
'; } else { echo ' -