1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-22 23:41:20 +02:00

Tweak bootstrap check

(also take into account BS4)
This commit is contained in:
Tijn Kuyper
2019-02-28 14:51:04 +01:00
parent 53b9714e6b
commit 1897fc8f42

View File

@@ -207,7 +207,7 @@
</table>";
--*/
return (defset('BOOTSTRAP') == 3 && !empty($FORUM_VIEWFORUM_TEMPLATE['iconkey'])) ? e107::getParser()->parseTemplate($FORUM_VIEWFORUM_TEMPLATE['iconkey'], true) : "
return (defset('BOOTSTRAP') && !empty($FORUM_VIEWFORUM_TEMPLATE['iconkey'])) ? e107::getParser()->parseTemplate($FORUM_VIEWFORUM_TEMPLATE['iconkey'], true) : "
<table class='table table-bordered' style='width:100%'>
<tr>
<td style='vertical-align:middle; text-align:center; width:2%'>" . IMAGE_new_small . "</td>