diff --git a/e107_admin/menus.php b/e107_admin/menus.php index 2654c9814..2c626b29c 100644 --- a/e107_admin/menus.php +++ b/e107_admin/menus.php @@ -1249,7 +1249,7 @@ if(e_IFRAME) //<-- Check config and delete buttons if modifying //e107::js('core','bootstrap/js/bootstrap.min.js'); //e107::css('core','bootstrap/css/bootstrap.min.css'); - e107::css('url','{e_THEME}/bootstrap/admin_style.css'); + e107::css('url','{e_THEME}/bootstrap3/admin_style.css'); } diff --git a/e107_admin/plugin.php b/e107_admin/plugin.php index 65eb3a7e3..d770e06d6 100644 --- a/e107_admin/plugin.php +++ b/e107_admin/plugin.php @@ -788,12 +788,13 @@ class pluginManager{ e107::getLog()->add('PLUGMAN_03', $logInfo, E_LOG_INFORMATIVE, ''); } - if($_POST['delete_files']) + if(!empty($_POST['delete_files']) && ($plug['plugin_installflag'] == true)) { - include_once(e_HANDLER.'file_class.php'); - $fi = new e_file; - $result = $fi->rmtree(e_PLUGIN.$eplug_folder); - $text .= ($result ? '
'.EPL_ADLAN_86.e_PLUGIN.$eplug_folder : '
'.EPL_ADLAN_87.'
'.EPL_ADLAN_31.' '.e_PLUGIN.$eplug_folder.' '.EPL_ADLAN_32); + if(!empty($eplug_folder)) + { + $result = e107::getFile()->rmtree(e_PLUGIN.$eplug_folder); + $text .= ($result ? '
'.EPL_ADLAN_86.e_PLUGIN.$eplug_folder : '
'.EPL_ADLAN_87.'
'.EPL_ADLAN_31.' '.e_PLUGIN.$eplug_folder.' '.EPL_ADLAN_32); + } } else { diff --git a/e107_core/sql/core_sql.php b/e107_core/sql/core_sql.php index dd1b8cddc..84dff041c 100644 --- a/e107_core/sql/core_sql.php +++ b/e107_core/sql/core_sql.php @@ -303,7 +303,7 @@ CREATE TABLE news ( news_title varchar(255) NOT NULL default '', news_sef varchar(200) NOT NULL default '', news_body longtext NOT NULL, - news_extended text NOT NULL, + news_extended longtext NOT NULL, news_meta_keywords varchar(255) NOT NULL default '', news_meta_description text NOT NULL, news_datestamp int(10) unsigned NOT NULL default '0', diff --git a/e107_core/templates/footer_default.php b/e107_core/templates/footer_default.php index ebd41f43f..b061d1f85 100644 --- a/e107_core/templates/footer_default.php +++ b/e107_core/templates/footer_default.php @@ -277,11 +277,11 @@ if (isset($footer_js) && is_array($footer_js)) } } -// Load e_footer.php files. -if (is_array($pref['e_footer_list'])) +// Load e_footer.php files. +if (!empty($pref['e_footer_list']) && is_array($pref['e_footer_list'])) { - ob_start(); - + //ob_start(); // sometimes raw HTML needs to be added at the bottom of every page. eg.