1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 22:53:01 +02:00

Issue #4332 - Bootstrap 5 styling fixes.

This commit is contained in:
Cameron
2021-02-23 11:11:35 -08:00
parent 973a446bb4
commit 76af210666
8 changed files with 19 additions and 51 deletions

View File

@@ -56,12 +56,12 @@ if(!defined("USER_WIDTH") && !deftrue('BOOTSTRAP'))
}
/* define images */
if(deftrue('BOOTSTRAP') && BOOTSTRAP === 3)
if(deftrue('BOOTSTRAP') === 3)
{
define("IMAGE_DOWNLOAD", (file_exists(THEME . "images/download.png") ? THEME . "images/download.png" : 'icon-download.glyph'));
define("IMAGE_NEW", (file_exists(THEME . "images/new.png") ? THEME . "images/new.png" : 'icon-star.glyph'));
}
elseif(deftrue('BOOTSTRAP') && BOOTSTRAP === 4)
elseif(deftrue('BOOTSTRAP') > 3)
{
define("IMAGE_DOWNLOAD", (file_exists(THEME . "images/download.png") ? THEME . "images/download.png" : 'fa-download.glyph'));
define("IMAGE_NEW", (file_exists(THEME . "images/new.png") ? THEME . "images/new.png" : 'fa-star.glyph'));