mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Issue #4332 Bootstrap5 styling.
This commit is contained in:
@@ -207,10 +207,10 @@ class news_shortcodes extends e_shortcode
|
|||||||
$url = e107::getUrl()->create('news/list/category', $this->news_item);
|
$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">
|
$text = '<ul class="pagination hidden-print">
|
||||||
<li><a href="'.$url.'">'.e107::getParser()->toHTML($caption,false,'defs').'</a></li>
|
<li class="page-item"><a class="page-link" href="'.$url.'">'.e107::getParser()->toHTML($caption,false,'defs').'</a></li>
|
||||||
</ul>';
|
</ul>';
|
||||||
|
|
||||||
if(defined('BOOTSTRAP') && BOOTSTRAP === 4)
|
if(defined('BOOTSTRAP') && BOOTSTRAP === 4)
|
||||||
|
Reference in New Issue
Block a user