1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 11:20:25 +02:00

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

This commit is contained in:
Tijn Kuyper
2019-05-09 11:32:46 +02:00
committed by GitHub
parent f880986bb0
commit 4f67a83b76

View File

@@ -227,6 +227,11 @@ class news_shortcodes extends e_shortcode
<li><a href="'.$url.'">'.e107::getParser()->toHTML($caption,false,'defs').'</a></li>
</ul>';
if(BOOTSTRAP === 4)
{
$text = '<a class="pager-button btn btn-primary hidden-print" href="'.$url.'">'.e107::getParser()->toHTML($caption,false,'defs').'</a>';
}
return $text;
}