| @@ 458-466 (lines=9) @@ | ||
| 455 | EE_Registry::instance()->load_helper('MSG_Template'); |
|
| 456 | $items = array(); |
|
| 457 | ||
| 458 | if (EE_Registry::instance()->CAP->current_user_can('ee_read_global_messages', 'view_filtered_messages')) { |
|
| 459 | $related_for_icon = EEH_MSG_Template::get_message_action_icon('see_notifications_for'); |
|
| 460 | if (isset($related_for_icon['css_class']) && isset($related_for_icon['label'])) { |
|
| 461 | $items['view_related_messages'] = array( |
|
| 462 | 'class' => $related_for_icon['css_class'], |
|
| 463 | 'desc' => $related_for_icon['label'], |
|
| 464 | ); |
|
| 465 | } |
|
| 466 | } |
|
| 467 | ||
| 468 | $items = apply_filters( |
|
| 469 | 'FHEE__Transactions_Admin_Page___transaction_legend_items__items', |
|
| @@ 469-477 (lines=9) @@ | ||
| 466 | 'desc' => esc_html__('Event Reports', 'event_espresso'), |
|
| 467 | ); |
|
| 468 | } |
|
| 469 | if (EE_Registry::instance()->CAP->current_user_can('ee_read_global_messages', 'view_filtered_messages')) { |
|
| 470 | $related_for_icon = EEH_MSG_Template::get_message_action_icon('see_notifications_for'); |
|
| 471 | if (isset($related_for_icon['css_class']) && isset($related_for_icon['label'])) { |
|
| 472 | $items['view_related_messages'] = array( |
|
| 473 | 'class' => $related_for_icon['css_class'], |
|
| 474 | 'desc' => $related_for_icon['label'], |
|
| 475 | ); |
|
| 476 | } |
|
| 477 | } |
|
| 478 | return $items; |
|
| 479 | } |
|
| 480 | ||
| @@ 799-807 (lines=9) @@ | ||
| 796 | } else { |
|
| 797 | $fc_items['blank'] = array('class' => 'blank', 'desc' => ''); |
|
| 798 | } |
|
| 799 | if (EE_Registry::instance()->CAP->current_user_can('ee_read_global_messages', 'view_filtered_messages')) { |
|
| 800 | $related_for_icon = EEH_MSG_Template::get_message_action_icon('see_notifications_for'); |
|
| 801 | if (isset($related_for_icon['css_class']) && isset($related_for_icon['label'])) { |
|
| 802 | $fc_items['view_related_messages'] = array( |
|
| 803 | 'class' => $related_for_icon['css_class'], |
|
| 804 | 'desc' => $related_for_icon['label'], |
|
| 805 | ); |
|
| 806 | } |
|
| 807 | } |
|
| 808 | $sc_items = array( |
|
| 809 | 'approved_status' => array( |
|
| 810 | 'class' => 'ee-status-legend ee-status-legend-' . EEM_Registration::status_id_approved, |
|