1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Improved check for Bootstrap3

This commit is contained in:
Cameron
2013-12-24 02:24:14 -08:00
parent 7ac3f78dbf
commit 2e7232aa9a
4 changed files with 6 additions and 6 deletions

View File

@@ -2678,7 +2678,7 @@ class e_parser
$cls = str_replace('icon-', 'fa fa-', $cls);
}
$text = (deftrue('BOOTSTRAP') == 3) ? "<span class='".$cls."'></span>" : "<i class='".$cls."'></i>"; // retain space.
$text = (deftrue('BOOTSTRAP') === 3) ? "<span class='".$cls."'></span>" : "<i class='".$cls."'></i>"; // retain space.
$text .= ($space !== false) ? $space : "";
return $text;