| @@ 801-807 (lines=7) @@ | ||
| 798 | } |
|
| 799 | ||
| 800 | ||
| 801 | public function load_scripts_styles() |
|
| 802 | { |
|
| 803 | wp_register_style('espresso_ee_msg', EE_MSG_ASSETS_URL . 'ee_message_admin.css', EVENT_ESPRESSO_VERSION); |
|
| 804 | wp_enqueue_style('espresso_ee_msg'); |
|
| 805 | ||
| 806 | wp_register_script( |
|
| 807 | 'ee-messages-settings', |
|
| 808 | EE_MSG_ASSETS_URL . 'ee-messages-settings.js', |
|
| 809 | array('jquery-ui-droppable', 'ee-serialize-full-array'), |
|
| 810 | EVENT_ESPRESSO_VERSION, |
|
| @@ 583-593 (lines=11) @@ | ||
| 580 | /** |
|
| 581 | * Registers and enqueues any global scripts and styles for the entire admin page group. |
|
| 582 | */ |
|
| 583 | public function load_scripts_styles() |
|
| 584 | { |
|
| 585 | wp_register_style( |
|
| 586 | 'events-admin-css', |
|
| 587 | EVENTS_ASSETS_URL . 'events-admin-page.css', |
|
| 588 | array(), |
|
| 589 | EVENT_ESPRESSO_VERSION |
|
| 590 | ); |
|
| 591 | wp_register_style('ee-cat-admin', EVENTS_ASSETS_URL . 'ee-cat-admin.css', array(), EVENT_ESPRESSO_VERSION); |
|
| 592 | wp_enqueue_style('events-admin-css'); |
|
| 593 | wp_enqueue_style('ee-cat-admin'); |
|
| 594 | // todo note: we also need to load_scripts_styles per view (i.e. default/view_report/event_details |
|
| 595 | // registers for all views |
|
| 596 | // scripts |
|