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:
@@ -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'));
|
||||
|
Reference in New Issue
Block a user