1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 15:46:44 +02:00

#2962 #2969 - Replace 'pager' class in BS4

This commit is contained in:
Tijn Kuyper
2019-05-09 12:19:54 +02:00
committed by GitHub
parent f67e2f1111
commit 86ea2a55f0

View File

@@ -2189,6 +2189,11 @@ class e_form
return '';
}
if(BOOTSTRAP === 4)
{
return '<a class="pager-button btn btn-primary" href="'.$url.'">'.$total.'</a>';
}
if(!is_numeric($total))
{
return '<ul class="pager"><li><a href="'.$url.'">'.$total.'</a></li></ul>';