mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 09:10:23 +02:00
Fix for Admin -> Sitelinks -> Sublink Generator. (no SEF URL support yet).
Bootstrap
This commit is contained in:
@@ -14,8 +14,21 @@ define('VIEWPORT', "width=device-width, initial-scale=1.0");
|
||||
// use https if e107 is using https.
|
||||
|
||||
e107::js("url", "https://cdn.jsdelivr.net/bootstrap/3.3.6/js/bootstrap.min.js", 'jquery', 2);
|
||||
e107::css('url', 'https://cdn.jsdelivr.net/bootstrap/3.3.6/css/bootstrap.min.css');
|
||||
e107::css('url', 'https://cdn.jsdelivr.net/fontawesome/4.5.0/css/font-awesome.min.css');
|
||||
|
||||
if($bootswatch = e107::pref('theme', 'bootswatch',false))
|
||||
{
|
||||
e107::css('url', 'https://maxcdn.bootstrapcdn.com/bootswatch/3.3.6/'.$bootswatch.'/bootstrap.min.css');
|
||||
}
|
||||
else
|
||||
{
|
||||
e107::css('url', 'https://cdn.jsdelivr.net/bootstrap/3.3.6/css/bootstrap.min.css');
|
||||
}
|
||||
|
||||
e107::css('url', 'https://cdn.jsdelivr.net/fontawesome/4.5.0/css/font-awesome.min.css');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* @example prefetch */
|
||||
//e107::link(array('rel'=>'prefetch', 'href'=>THEME.'images/browsers.png'));
|
||||
|
Reference in New Issue
Block a user