Commit ba1d8319 authored by Nigel McNie's avatar Nigel McNie
Browse files

Add the class 'pagination' to the enclosing div for pagination, and allow adding other classes.

parent e21dea59
......@@ -1941,11 +1941,11 @@ function build_pagination($params) {
}
// Begin building the output
$output = '<div id="' . $params['id'] . '"';
$output = '<div id="' . $params['id'] . '" class="pagination';
if (isset($params['class'])) {
$output .= ' class="' . hsc($params['class']) . '"';
$output .= ' ' . hsc($params['class']);
}
$output .= '>';
$output .= '">';
if ($params['limit'] <= $params['count']) {
$pages = ceil($params['count'] / $params['limit']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment