diff --git a/e107_themes/bootstrap3/theme.php b/e107_themes/bootstrap3/theme.php index 9989ee279..d495a88a7 100644 --- a/e107_themes/bootstrap3/theme.php +++ b/e107_themes/bootstrap3/theme.php @@ -136,8 +136,8 @@ class theme implements e_theme_render break; - - default: + case 'default': + case 'main': if(!empty($caption)) { @@ -150,7 +150,17 @@ class theme implements e_theme_render } echo $text; - // code to be executed if n is different from all labels; + break; + + + default: + + if(!empty($caption)) + { + echo '

'.$caption.'

'; + } + + echo $text; } return null;