diff --git a/bl-kernel/helpers/paginator.class.php b/bl-kernel/helpers/paginator.class.php index 18f901bb..7a533f6e 100644 --- a/bl-kernel/helpers/paginator.class.php +++ b/bl-kernel/helpers/paginator.class.php @@ -141,6 +141,55 @@ class Paginator { return $html; } + public static function numberedPageHTML() { + global $L; + $maxDistance = 2; + + if (self::get('numberOfPages') <= 1) { + return ""; + } + + $html = '
'; + $html .= ''; + $html .= '
'; + + return $html; + } + /* * Bootstrap Pagination */