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

Issue #4332 Bootstrap5 styling.

This commit is contained in:
Cameron
2021-02-23 09:38:04 -08:00
parent 223ed8fc0a
commit 973a446bb4

View File

@@ -207,10 +207,10 @@ class news_shortcodes extends e_shortcode
$url = e107::getUrl()->create('news/list/category', $this->news_item);
}
$caption = vartrue($parm['text'],LAN_BACK);
$caption = vartrue($parm['text'], LAN_BACK);
$text = '<ul class="pager hidden-print">
<li><a href="'.$url.'">'.e107::getParser()->toHTML($caption,false,'defs').'</a></li>
$text = '<ul class="pagination hidden-print">
<li class="page-item"><a class="page-link" href="'.$url.'">'.e107::getParser()->toHTML($caption,false,'defs').'</a></li>
</ul>';
if(defined('BOOTSTRAP') && BOOTSTRAP === 4)