remove bootstrap-js and require-jquery as theme options
This commit is contained in:
parent
3db09add7e
commit
9dca1e09c0
@ -47,8 +47,6 @@ class DauxHelper
|
||||
'css' => [],
|
||||
'js' => [],
|
||||
'fonts' => [],
|
||||
'require-jquery' => false,
|
||||
'bootstrap-js' => false,
|
||||
'favicon' => '<base_url>themes/daux/img/favicon.png',
|
||||
'templates' => $theme_folder . DIRECTORY_SEPARATOR . 'templates',
|
||||
];
|
||||
|
@ -41,11 +41,7 @@
|
||||
|
||||
|
||||
<!-- jQuery -->
|
||||
<?php
|
||||
if ($params['theme']['require-jquery']) {
|
||||
echo '<script src="' . $base_url . 'themes/daux/js/jquery-1.11.3.min.js' . '"></script>';
|
||||
}
|
||||
?>
|
||||
<?= '<script src="' . $base_url . 'themes/daux/js/jquery-1.11.3.min.js' . '"></script>' ?>
|
||||
|
||||
<!-- hightlight.js -->
|
||||
<script src="<?= $base_url; ?>themes/daux/js/highlight.min.js"></script>
|
||||
|
@ -2,7 +2,5 @@
|
||||
"favicon": "<theme_url>img/favicon-blue.png",
|
||||
"css": ["<theme_url>css/theme.css"],
|
||||
"fonts": ["//fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700&subset=latin,cyrillic-ext,cyrillic"],
|
||||
"js": [],
|
||||
"require-jquery": true,
|
||||
"bootstrap-js": false
|
||||
"js": []
|
||||
}
|
||||
|
@ -2,7 +2,5 @@
|
||||
"favicon": "<theme_url>img/favicon-green.png",
|
||||
"css": ["<theme_url>css/theme.css"],
|
||||
"fonts": ["//fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700&subset=latin,cyrillic-ext,cyrillic"],
|
||||
"js": [],
|
||||
"require-jquery": true,
|
||||
"bootstrap-js": false
|
||||
"js": []
|
||||
}
|
||||
|
@ -2,7 +2,5 @@
|
||||
"favicon": "<theme_url>img/favicon-navy.png",
|
||||
"css": ["<theme_url>css/theme.css"],
|
||||
"fonts": ["//fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700&subset=latin,cyrillic-ext,cyrillic"],
|
||||
"js": [],
|
||||
"require-jquery": true,
|
||||
"bootstrap-js": false
|
||||
"js": []
|
||||
}
|
||||
|
@ -2,7 +2,5 @@
|
||||
"favicon": "<theme_url>img/favicon-red.png",
|
||||
"css": ["<theme_url>css/theme.css"],
|
||||
"fonts": ["//fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700&subset=latin,cyrillic-ext,cyrillic"],
|
||||
"js": [],
|
||||
"require-jquery": true,
|
||||
"bootstrap-js": false
|
||||
"js": []
|
||||
}
|
||||
|
@ -2,7 +2,5 @@
|
||||
"favicon": "<theme_url>img/favicon.png",
|
||||
"css": ["<theme_url>css/theme.css"],
|
||||
"fonts": ["//fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700&subset=latin,cyrillic-ext,cyrillic"],
|
||||
"js": [],
|
||||
"require-jquery": true,
|
||||
"bootstrap-js": false
|
||||
"js": []
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user