From 18418435d84f27f9e5232e7e12beebac06bc1181 Mon Sep 17 00:00:00 2001 From: Andreas Hubel Date: Fri, 17 Mar 2017 14:21:38 +0100 Subject: [PATCH] fix tables when using bootstrap3 tpl --- syntax/table.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/syntax/table.php b/syntax/table.php index fd4e5cb..658e8fa 100644 --- a/syntax/table.php +++ b/syntax/table.php @@ -391,6 +391,19 @@ function preList($clist, $data) { ''; $text .= ''; } + + // fixes for bootstrap tpl + if( isset($conf['tpl']['bootstrap3']['tableStyle'])) { + $ts = explode(',', $conf['tpl']['bootstrap3']['tableStyle']); + foreach ($ts as $class) { + if ($class == 'responsive') { + $text = str_replace('
'; // build column headers