|
@@ -1820,6 +1820,8 @@ function loadTheme($id_theme = 0, $initialize = true)
|
|
loadJavascriptFile('https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js', array(), 'jquery');
|
|
loadJavascriptFile('https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js', array(), 'jquery');
|
|
elseif (isset($modSettings['jquery_source']) && $modSettings['jquery_source'] == 'local')
|
|
elseif (isset($modSettings['jquery_source']) && $modSettings['jquery_source'] == 'local')
|
|
loadJavascriptFile('jquery-1.7.1.min.js', array('default_theme' => true, 'seed' => false), 'jquery');
|
|
loadJavascriptFile('jquery-1.7.1.min.js', array('default_theme' => true, 'seed' => false), 'jquery');
|
|
|
|
+ elseif (isset($modSettings['jquery_source'], $modSettings['jquery_custom']) && $modSettings['jquery_source'] == 'custom')
|
|
|
|
+ loadJavascriptFile($modSettings['jquery_custom'], array(), 'jquery');
|
|
// Auto loading? template_javascript() will take care of the local half of this.
|
|
// Auto loading? template_javascript() will take care of the local half of this.
|
|
else
|
|
else
|
|
loadJavascriptFile('https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js', array(), 'jquery');
|
|
loadJavascriptFile('https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js', array(), 'jquery');
|