Changeset 12105 for branches/3.0/src/bp-templates/bp-nouveau/includes/notifications/template-tags.php
- Timestamp:
- 05/21/2018 01:01:35 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/src/bp-templates/bp-nouveau/includes/notifications/template-tags.php
r12082 r12105 84 84 <span class="notifications-order-actions"> 85 85 <a href="<?php echo esc_url( $desc ); ?>" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Newest First', 'buddypress' ); ?>" aria-label="<?php esc_attr_e( 'Newest First', 'buddypress' ); ?>" data-bp-notifications-order="DESC"><span class="dashicons dashicons-arrow-down" aria-hidden="true"></span></a> 86 <a href="<?php echo esc_url( $asc ); ?>" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Olde r First', 'buddypress' ); ?>" aria-label="<?php esc_attr_e( 'OlderFirst', 'buddypress' ); ?>" data-bp-notifications-order="ASC"><span class="dashicons dashicons-arrow-up" aria-hidden="true"></span></a>86 <a href="<?php echo esc_url( $asc ); ?>" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Oldest First', 'buddypress' ); ?>" aria-label="<?php esc_attr_e( 'Oldest First', 'buddypress' ); ?>" data-bp-notifications-order="ASC"><span class="dashicons dashicons-arrow-up" aria-hidden="true"></span></a> 87 87 </span> 88 88 … … 101 101 102 102 <label class="bp-screen-reader-text" for="notification-select"><?php 103 /* translators: accessibility text */ 104 _e( 'Select Bulk Action', 'buddypress' ); 103 esc_html_e( 'Select Bulk Action', 'buddypress' ); 105 104 ?></label> 106 105 107 106 <select name="notification_bulk_action" id="notification-select"> 108 <option value="" selected="selected"><?php _e( 'Bulk Actions', 'buddypress' ); ?></option>107 <option value="" selected="selected"><?php echo esc_html( 'Bulk Actions', 'buddypress' ); ?></option> 109 108 110 109 <?php if ( bp_is_current_action( 'unread' ) ) : ?> 111 <option value="read"><?php _e( 'Mark read', 'buddypress' ); ?></option>110 <option value="read"><?php echo esc_html_x( 'Mark read', 'button', 'buddypress' ); ?></option> 112 111 <?php elseif ( bp_is_current_action( 'read' ) ) : ?> 113 <option value="unread"><?php _e( 'Mark unread', 'buddypress' ); ?></option>112 <option value="unread"><?php echo esc_html_x( 'Mark unread', 'button', 'buddypress' ); ?></option> 114 113 <?php endif; ?> 115 <option value="delete"><?php _e( 'Delete', 'buddypress' ); ?></option>114 <option value="delete"><?php echo esc_html_x( 'Delete', 'button', 'buddypress' ); ?></option> 116 115 </select> 117 116 … … 120 119 </div><!-- // .select-wrap --> 121 120 122 <input type="submit" id="notification-bulk-manage" class="button action" value="<?php e sc_attr_e( 'Apply', 'buddypress' ); ?>">121 <input type="submit" id="notification-bulk-manage" class="button action" value="<?php echo esc_attr_x( 'Apply', 'button', 'buddypress' ); ?>"> 123 122 <?php 124 123 }
Note: See TracChangeset
for help on using the changeset viewer.