@@ 506-516 (lines=11) @@ | ||
503 | ||
504 | ||
505 | ||
506 | public function load_scripts_styles() { |
|
507 | ||
508 | wp_register_style('events-admin-css', EVENTS_ASSETS_URL . 'events-admin-page.css', array(), EVENT_ESPRESSO_VERSION); |
|
509 | wp_register_style('ee-cat-admin', EVENTS_ASSETS_URL . 'ee-cat-admin.css', array(), EVENT_ESPRESSO_VERSION ); |
|
510 | wp_enqueue_style('events-admin-css'); |
|
511 | wp_enqueue_style('ee-cat-admin'); |
|
512 | //todo note: we also need to load_scripts_styles per view (i.e. default/view_report/event_details |
|
513 | //registers for all views |
|
514 | //scripts |
|
515 | wp_register_script('event_editor_js', EVENTS_ASSETS_URL . 'event_editor.js', array('ee_admin_js', 'jquery-ui-slider', 'jquery-ui-timepicker-addon'), EVENT_ESPRESSO_VERSION, TRUE); |
|
516 | } |
|
517 | ||
518 | /** |
|
519 | * enqueuing scripts and styles specific to this view |
@@ 614-620 (lines=7) @@ | ||
611 | ||
612 | ||
613 | ||
614 | public function load_scripts_styles() { |
|
615 | wp_register_style('espresso_ee_msg', EE_MSG_ASSETS_URL . 'ee_message_admin.css', EVENT_ESPRESSO_VERSION ); |
|
616 | wp_enqueue_style('espresso_ee_msg'); |
|
617 | ||
618 | wp_register_script('ee-messages-settings', EE_MSG_ASSETS_URL . 'ee-messages-settings.js', array('jquery-ui-droppable', 'ee-serialize-full-array'), EVENT_ESPRESSO_VERSION, true ); |
|
619 | wp_register_script( 'ee-msg-list-table-js', EE_MSG_ASSETS_URL. 'ee_message_admin_list_table.js', array( 'ee-dialog' ), EVENT_ESPRESSO_VERSION ); |
|
620 | } |
|
621 | ||
622 | ||
623 |