@@ 455-463 (lines=9) @@ | ||
452 | 'desc' => esc_html__( 'Event Reports', 'event_espresso' ), |
|
453 | ); |
|
454 | } |
|
455 | if ( EE_Registry::instance()->CAP->current_user_can( 'ee_read_global_messages', 'view_filtered_messages' ) ) { |
|
456 | $related_for_icon = EEH_MSG_Template::get_message_action_icon( 'see_notifications_for' ); |
|
457 | if ( isset( $related_for_icon['css_class'] ) && isset( $related_for_icon['label'] ) ) { |
|
458 | $items['view_related_messages'] = array( |
|
459 | 'class' => $related_for_icon['css_class'], |
|
460 | 'desc' => $related_for_icon['label'], |
|
461 | ); |
|
462 | } |
|
463 | } |
|
464 | return $items; |
|
465 | } |
|
466 |
@@ 825-833 (lines=9) @@ | ||
822 | } else { |
|
823 | $fc_items['blank'] = array('class' => 'blank', 'desc' => ''); |
|
824 | } |
|
825 | if (EE_Registry::instance()->CAP->current_user_can('ee_read_global_messages', 'view_filtered_messages')) { |
|
826 | $related_for_icon = EEH_MSG_Template::get_message_action_icon('see_notifications_for'); |
|
827 | if (isset($related_for_icon['css_class']) && isset($related_for_icon['label'])) { |
|
828 | $fc_items['view_related_messages'] = array( |
|
829 | 'class' => $related_for_icon['css_class'], |
|
830 | 'desc' => $related_for_icon['label'], |
|
831 | ); |
|
832 | } |
|
833 | } |
|
834 | $sc_items = array( |
|
835 | 'approved_status' => array( |
|
836 | 'class' => 'ee-status-legend ee-status-legend-' . EEM_Registration::status_id_approved, |
@@ 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', |