From 2fd72d0fd04b3e5e8da9b92b1c3ce10c1075a81e Mon Sep 17 00:00:00 2001 From: mcpeace-maw Date: Sat, 27 Jun 2015 20:30:17 +0300 Subject: [PATCH] Update theme.php OK, added font awesome 4.3. Now the font icons are OK in forum. The theme need some css adjusts too if use old bootstrap. Maybe custom forum template files with old bootstrap classes in the theme folder? --- e107_themes/bootstrap/theme.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/e107_themes/bootstrap/theme.php b/e107_themes/bootstrap/theme.php index 8c80de200..992d593d5 100644 --- a/e107_themes/bootstrap/theme.php +++ b/e107_themes/bootstrap/theme.php @@ -3,7 +3,8 @@ if ( ! defined('e107_INIT')) { exit(); } /* * This is a 100% Pure Bootstrap Theme for e107 v2 */ -define('BOOTSTRAP',true); +define("BOOTSTRAP",true); +define("FONTAWESOME", 4); define("VIEWPORT", "width=device-width, initial-scale=1.0"); define("BODYTAG", ''); @@ -43,7 +44,7 @@ else e107::css('bootstrap','bootstrap-responsive.min.css'); e107::css('bootstrap','jquery-ui.custom.css'); -e107::css('url', "//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css"); +e107::css('url', "https://netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"); e107::css('theme', 'js/google-code-prettify/prettify.css'); e107::js('theme', "js/google-code-prettify/prettify.js"); @@ -537,4 +538,4 @@ $NEWSCAT_ITEM = "\n\n\n\n\n\n\n\n -?> \ No newline at end of file +?>