From 4f67a83b765ebfa03dd19196454ea1c777446673 Mon Sep 17 00:00:00 2001 From: Tijn Kuyper Date: Thu, 9 May 2019 11:32:46 +0200 Subject: [PATCH] #2962 #2969 - Replace 'pager' class in BS4 in newsnav --- e107_core/shortcodes/batch/news_shortcodes.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/e107_core/shortcodes/batch/news_shortcodes.php b/e107_core/shortcodes/batch/news_shortcodes.php index b4f337bad..afd58d03c 100644 --- a/e107_core/shortcodes/batch/news_shortcodes.php +++ b/e107_core/shortcodes/batch/news_shortcodes.php @@ -227,6 +227,11 @@ class news_shortcodes extends e_shortcode
  • '.e107::getParser()->toHTML($caption,false,'defs').'
  • '; + if(BOOTSTRAP === 4) + { + $text = ''.e107::getParser()->toHTML($caption,false,'defs').''; + } + return $text; }