mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 17:50:12 +02:00
Issue #435 - start of Bootstrap 3 core support. Enable by adding the following to your theme.php file:
define("BOOTSTRAP", 3); define("FONTAWESOME", 4); // optional e107::js("url", "//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"); e107::css('url', '//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css'); e107::css('url', "//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css"); // optional
This commit is contained in:
@@ -34,7 +34,7 @@ if (!e107::isInstalled('download'))
|
||||
if(deftrue('BOOTSTRAP'))
|
||||
{
|
||||
define("IMAGE_DOWNLOAD", (file_exists(THEME."images/download.png") ? THEME."images/download.png" : e_IMAGE."generic/download.png"));
|
||||
define("IMAGE_NEW", (file_exists(THEME."images/new.png") ? THEME."images/new.png" : '<i class="icon-star"></i>'));
|
||||
define("IMAGE_NEW", (file_exists(THEME."images/new.png") ? THEME."images/new.png" : e107::getParser()->toGlyph('icon-star',false)));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user