caffeinated/modules/event_single_caff/EED_Event_Single_Caff.module.php 1 location
|
@@ 76-81 (lines=6) @@
|
| 73 |
|
|
| 74 |
|
|
| 75 |
|
|
| 76 |
|
public static function enqueue_scripts_styles() { |
| 77 |
|
wp_register_style( 'eed-event-single-sortable', EVENT_SINGLE_CAFF_ASSETS_URL . 'eed_event_single_sortable.css', array(), EVENT_ESPRESSO_VERSION ); |
| 78 |
|
wp_enqueue_style( 'eed-event-single-sortable' ); |
| 79 |
|
wp_register_script( 'eed-event-single-sortable', EVENT_SINGLE_CAFF_ASSETS_URL . 'eed_event_single_sortable.js', array( 'jquery-ui-sortable' ), EVENT_ESPRESSO_VERSION, true ); |
| 80 |
|
wp_enqueue_script( 'eed-event-single-sortable' ); |
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
|
| 84 |
|
|
core/EE_PUE.core.php 1 location
|
@@ 207-213 (lines=7) @@
|
| 204 |
|
* enqueue scripts/styles needed for data collection optin |
| 205 |
|
* @return void |
| 206 |
|
*/ |
| 207 |
|
function espresso_data_collection_enqueue_scripts() { |
| 208 |
|
wp_register_script( 'ee-data-optin-js', EE_GLOBAL_ASSETS_URL . 'scripts/ee-data-optin.js', array('jquery'), EVENT_ESPRESSO_VERSION, TRUE ); |
| 209 |
|
wp_register_style( 'ee-data-optin-css', EE_GLOBAL_ASSETS_URL . 'css/ee-data-optin.css', array(), EVENT_ESPRESSO_VERSION ); |
| 210 |
|
|
| 211 |
|
wp_enqueue_script('ee-data-optin-js'); |
| 212 |
|
wp_enqueue_style('ee-data-optin-css'); |
| 213 |
|
} |
| 214 |
|
|
| 215 |
|
|
| 216 |
|
|
core/libraries/form_sections/strategies/display/EE_Checkbox_Dropdown_Selector_Display_Strategy.strategy.php 1 location
|
@@ 23-40 (lines=18) @@
|
| 20 |
|
/** |
| 21 |
|
* enqueues css and js, so that this can be called statically |
| 22 |
|
*/ |
| 23 |
|
public static function enqueue_styles_and_scripts() |
| 24 |
|
{ |
| 25 |
|
wp_register_style( |
| 26 |
|
'checkbox_dropdown_selector', |
| 27 |
|
EE_GLOBAL_ASSETS_URL . 'css/checkbox_dropdown_selector.css', |
| 28 |
|
array('espresso_default'), |
| 29 |
|
EVENT_ESPRESSO_VERSION |
| 30 |
|
); |
| 31 |
|
wp_enqueue_style('checkbox_dropdown_selector'); |
| 32 |
|
wp_register_script( |
| 33 |
|
'checkbox_dropdown_selector', |
| 34 |
|
EE_GLOBAL_ASSETS_URL . 'scripts/checkbox_dropdown_selector.js', |
| 35 |
|
array('jquery'), |
| 36 |
|
EVENT_ESPRESSO_VERSION, |
| 37 |
|
true |
| 38 |
|
); |
| 39 |
|
wp_enqueue_script('checkbox_dropdown_selector'); |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
|
| 43 |
|
|
admin_pages/maintenance/Maintenance_Admin_Page.core.php 1 location
|
@@ 640-648 (lines=9) @@
|
| 637 |
|
|
| 638 |
|
|
| 639 |
|
|
| 640 |
|
public function load_scripts_styles() |
| 641 |
|
{ |
| 642 |
|
wp_enqueue_script('ee_admin_js'); |
| 643 |
|
// wp_enqueue_media(); |
| 644 |
|
// wp_enqueue_script('media-upload'); |
| 645 |
|
wp_enqueue_script('ee-maintenance', EE_MAINTENANCE_ASSETS_URL . '/ee-maintenance.js', array('jquery'), |
| 646 |
|
EVENT_ESPRESSO_VERSION, true); |
| 647 |
|
wp_register_style('espresso_maintenance', EE_MAINTENANCE_ASSETS_URL . 'ee-maintenance.css', array(), |
| 648 |
|
EVENT_ESPRESSO_VERSION); |
| 649 |
|
wp_enqueue_style('espresso_maintenance'); |
| 650 |
|
} |
| 651 |
|
|
admin_pages/general_settings/General_Settings_Admin_Page.core.php 1 location
|
@@ 292-299 (lines=8) @@
|
| 289 |
|
/** |
| 290 |
|
* Enqueue scripts and styles for the country settings route. |
| 291 |
|
*/ |
| 292 |
|
public function load_scripts_styles_country_settings() |
| 293 |
|
{ |
| 294 |
|
//scripts |
| 295 |
|
wp_register_script( |
| 296 |
|
'gen_settings_countries', |
| 297 |
|
GEN_SET_ASSETS_URL . 'gen_settings_countries.js', |
| 298 |
|
array('ee_admin_js'), |
| 299 |
|
EVENT_ESPRESSO_VERSION, |
| 300 |
|
true |
| 301 |
|
); |
| 302 |
|
wp_register_style('organization-css', GEN_SET_ASSETS_URL . 'organization.css', array(), EVENT_ESPRESSO_VERSION); |
caffeinated/admin/extend/events/Extend_Events_Admin_Page.core.php 1 location
|
@@ 321-335 (lines=15) @@
|
| 318 |
|
/** |
| 319 |
|
* Enqueue scripts and styles for the event editor. |
| 320 |
|
*/ |
| 321 |
|
public function load_scripts_styles_edit() |
| 322 |
|
{ |
| 323 |
|
wp_register_script( |
| 324 |
|
'ee-event-editor-heartbeat', |
| 325 |
|
EVENTS_CAF_ASSETS_URL . 'event-editor-heartbeat.js', |
| 326 |
|
array('ee_admin_js', 'heartbeat'), |
| 327 |
|
EVENT_ESPRESSO_VERSION, |
| 328 |
|
true |
| 329 |
|
); |
| 330 |
|
wp_enqueue_script('ee-accounting'); |
| 331 |
|
//styles |
| 332 |
|
wp_enqueue_style('espresso-ui-theme'); |
| 333 |
|
wp_enqueue_script('event_editor_js'); |
| 334 |
|
wp_enqueue_script('ee-event-editor-heartbeat'); |
| 335 |
|
} |
| 336 |
|
|
| 337 |
|
|
| 338 |
|
/** |