mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Issue #1138 - Remove e_BOOTSTRAP3_ADMIN requirement to use Bootstrap3.
This commit is contained in:
parent
984f622149
commit
3dc4ac9d02
@ -240,8 +240,8 @@ class e_jsmanager
|
||||
|
||||
if($this->isInAdmin()) // Include jquery-ui in the admin-area only - Jquery-UI to eventually be removed from e107 completely if possible.
|
||||
{
|
||||
|
||||
if(deftrue('e_BOOTSTRAP3_ADMIN')) // Test with a Bootstrap 3 admin area.
|
||||
|
||||
if(e107::getPref('admintheme')=='bootstrap3') // Bootstrap 3 admin area.
|
||||
{
|
||||
$this->_libraries['jquery'] = array(
|
||||
"http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js",
|
||||
@ -251,7 +251,7 @@ class e_jsmanager
|
||||
// "http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/themes/base/jquery-ui.css",
|
||||
);
|
||||
}
|
||||
else
|
||||
else // Bootstrap 2 admin area.
|
||||
{
|
||||
$this->_libraries['jquery'] = array(
|
||||
"http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js",
|
||||
|
@ -27,7 +27,7 @@ class themeHandler
|
||||
var $themeConfigObj = null;
|
||||
var $noLog = FALSE;
|
||||
|
||||
private $approvedAdminThemes = array('bootstrap');
|
||||
private $approvedAdminThemes = array('bootstrap','bootstrap3');
|
||||
|
||||
public $allowedCategories = array('generic',
|
||||
'adult',
|
||||
@ -57,12 +57,12 @@ class themeHandler
|
||||
global $e107cache,$pref;
|
||||
$mes = e107::getMessage();
|
||||
|
||||
|
||||
/*
|
||||
if(deftrue('e_BOOTSTRAP3_ADMIN'))
|
||||
{
|
||||
$this->approvedAdminThemes[] = 'bootstrap3';
|
||||
}
|
||||
|
||||
*/
|
||||
require_once (e_HANDLER."form_handler.php");
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user