|
|
@@ -343,15 +343,17 @@ class BxDolTemplate extends BxDolFactory implements iBxDolSingleton
|
|
|
'spin.min.js',
|
|
|
'jquery.easing.js',
|
|
|
'jquery.cookie.min.js',
|
|
|
+ 'jquery.embedly.min.js',
|
|
|
'moment-with-locales.min.js',
|
|
|
'functions.js',
|
|
|
'jquery.webForms.js',
|
|
|
'jquery.dolPopup.js',
|
|
|
+ 'jquery.dolEmbedly.js',
|
|
|
'marka/marka.min.js',
|
|
|
'headroom.min.js',
|
|
|
));
|
|
|
|
|
|
- //--- Load default JS ---//
|
|
|
+ //--- Load translations in JS ---//
|
|
|
bx_import('BxDolLanguages');
|
|
|
$this->addJsTranslation(array(
|
|
|
'_are you sure?',
|
|
|
@@ -359,6 +361,12 @@ class BxDolTemplate extends BxDolFactory implements iBxDolSingleton
|
|
|
'_sys_loading',
|
|
|
));
|
|
|
|
|
|
+ //--- Load options in JS ---//
|
|
|
+ $this->addJsOption(array(
|
|
|
+ 'sys_embedly_api_key',
|
|
|
+ 'sys_embedly_api_pattern',
|
|
|
+ ));
|
|
|
+
|
|
|
//--- Load injection's cache ---//
|
|
|
if (getParam('sys_db_cache_enable')) {
|
|
|
$oDb = BxDolDb::getInstance();
|