Changeset 12104 for trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php
- Timestamp:
- 05/21/2018 01:00:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php
r12082 r12104 36 36 37 37 <div class="submit"> 38 <input type="button" id="bp-messages-send" class="button bp-primary-action" value="<?php e sc_attr_e( 'Send', 'buddypress' ); ?>"/>39 <input type="button" id="bp-messages-reset" class="text-button small bp-secondary-action" value="<?php e sc_attr_e( 'Reset', 'buddypress' ); ?>"/>38 <input type="button" id="bp-messages-send" class="button bp-primary-action" value="<?php echo esc_attr_x( 'Send', 'button', 'buddypress' ); ?>"/> 39 <input type="button" id="bp-messages-reset" class="text-button small bp-secondary-action" value="<?php echo esc_attr_x( 'Reset', 'form reset button', 'buddypress' ); ?>"/> 40 40 </div> 41 41 </script> … … 60 60 ) 61 61 ); 62 62 63 // Remove the temporary filter on editor buttons 63 64 remove_filter( 'mce_buttons', 'bp_nouveau_messages_mce_buttons', 10, 1 ); … … 69 70 <button id="bp-messages-prev-page"class="button messages-button"> 70 71 <span class="dashicons dashicons-arrow-left"></span> 71 <span class="bp-screen-reader-text"><?php e sc_html_e( 'Prev', 'buddypress' ); ?></span>72 <span class="bp-screen-reader-text"><?php echo esc_html_x( 'Previous page', 'link', 'buddypress' ); ?></span> 72 73 </button> 73 74 <# } #> … … 76 77 <button id="bp-messages-next-page"class="button messages-button"> 77 78 <span class="dashicons dashicons-arrow-right"></span> 78 <span class="bp-screen-reader-text"><?php e sc_html_e( 'Next', 'buddypress' ); ?></span>79 <span class="bp-screen-reader-text"><?php echo esc_html_x( 'Next page', 'link', 'buddypress' ); ?></span> 79 80 </button> 80 81 <# } #> … … 88 89 <?php _e( 'Search Messages', 'buddypress' ); ?> 89 90 </label> 90 <input type="search" id="user_messages_search" placeholder="<?php e sc_attr_e( 'Search', 'buddypress' ); ?>"/>91 <input type="search" id="user_messages_search" placeholder="<?php echo esc_attr_x( 'Search', 'search placeholder text', 'buddypress' ); ?>"/> 91 92 <button type="submit" id="user_messages_search_submit"> 92 93 <span class="dashicons dashicons-search" aria-hidden="true"></span> 93 <span class="bp-screen-reader-text"><?php e sc_html_e( 'Search', 'buddypress' ); ?></span>94 <span class="bp-screen-reader-text"><?php echo esc_html_x( 'Search', 'button', 'buddypress' ); ?></span> 94 95 </button> 95 96 </form> … … 114 115 <span class="select-arrow" aria-hidden="true"></span> 115 116 </div> 116 <button class="messages-button bulk-apply bp-tooltip" type="submit" data-bp-tooltip="<?php echo esc_attr ( 'Apply', 'buddypress' ); ?>">117 <button class="messages-button bulk-apply bp-tooltip" type="submit" data-bp-tooltip="<?php echo esc_attr_x( 'Apply', 'button', 'buddypress' ); ?>"> 117 118 <span class="dashicons dashicons-yes" aria-hidden="true"></span> 118 <span class="bp-screen-reader-text"><?php e sc_html_e( 'Apply', 'buddypress' ); ?></span>119 <span class="bp-screen-reader-text"><?php echo esc_html_x( 'Apply', 'button', 'buddypress' ); ?></span> 119 120 </button> 120 121 </div> … … 302 303 <?php bp_loggedin_user_avatar( 'type=thumb&height=30&width=30' ); ?> 303 304 304 <strong><?php _e( 'Send a Reply', 'buddypress' ); ?></strong>305 <strong><?php esc_html_e( 'Send a Reply', 'buddypress' ); ?></strong> 305 306 </div> 306 307 … … 319 320 320 321 <div class="submit"> 321 <input type="submit" name="send" value="<?php e sc_attr_e( 'Send Reply', 'buddypress' ); ?>" id="send_reply_button"/>322 <input type="submit" name="send" value="<?php echo esc_attr_x( 'Send Reply', 'button', 'buddypress' ); ?>" id="send_reply_button"/> 322 323 </div> 323 324
Note: See TracChangeset
for help on using the changeset viewer.