Changeset 5688 for trunk/src/templates/default/bbpress/form-topic-merge.php
- Timestamp:
- 04/19/2015 04:27:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress/form-topic-merge.php
r5563 r5688 22 22 <fieldset class="bbp-form"> 23 23 24 <legend><?php printf( __( 'Merge topic "%s"', 'bbpress' ), bbp_get_topic_title() ); ?></legend>24 <legend><?php printf( esc_html__( 'Merge topic "%s"', 'bbpress' ), bbp_get_topic_title() ); ?></legend> 25 25 26 26 <div> … … 28 28 <div class="bbp-template-notice info"> 29 29 <ul> 30 <li><?php _e( 'Select the topic to merge this one into. The destination topic will remain the lead topic, and this one will change into a reply.', 'bbpress' ); ?></li>31 <li><?php _e( 'To keep this topic as the lead, go to the other topic and use the merge tool from there instead.', 'bbpress' ); ?></li>30 <li><?php esc_html_e( 'Select the topic to merge this one into. The destination topic will remain the lead topic, and this one will change into a reply.', 'bbpress' ); ?></li> 31 <li><?php esc_html_e( 'To keep this topic as the lead, go to the other topic and use the merge tool from there instead.', 'bbpress' ); ?></li> 32 32 </ul> 33 33 </div> … … 35 35 <div class="bbp-template-notice"> 36 36 <ul> 37 <li><?php _e( 'Replies to both topics are merged chronologically, ordered by the time and date they were published. Topics may be updated to a 1 second difference to maintain chronological order based on the merge direction.', 'bbpress' ); ?></li>37 <li><?php esc_html_e( 'Replies to both topics are merged chronologically, ordered by the time and date they were published. Topics may be updated to a 1 second difference to maintain chronological order based on the merge direction.', 'bbpress' ); ?></li> 38 38 </ul> 39 39 </div> 40 40 41 41 <fieldset class="bbp-form"> 42 <legend><?php _e( 'Destination', 'bbpress' ); ?></legend>42 <legend><?php esc_html_e( 'Destination', 'bbpress' ); ?></legend> 43 43 <div> 44 44 <?php if ( bbp_has_topics( array( 'show_stickies' => false, 'post_parent' => bbp_get_topic_forum_id( bbp_get_topic_id() ), 'post__not_in' => array( bbp_get_topic_id() ) ) ) ) : ?> 45 45 46 <label for="bbp_destination_topic"><?php _e( 'Merge with this topic:', 'bbpress' ); ?></label>46 <label for="bbp_destination_topic"><?php esc_html_e( 'Merge with this topic:', 'bbpress' ); ?></label> 47 47 48 48 <?php … … 59 59 <?php else : ?> 60 60 61 <label><?php _e( 'There are no other topics in this forum to merge with.', 'bbpress' ); ?></label>61 <label><?php esc_html_e( 'There are no other topics in this forum to merge with.', 'bbpress' ); ?></label> 62 62 63 63 <?php endif; ?> … … 67 67 68 68 <fieldset class="bbp-form"> 69 <legend><?php _e( 'Topic Extras', 'bbpress' ); ?></legend>69 <legend><?php esc_html_e( 'Topic Extras', 'bbpress' ); ?></legend> 70 70 71 71 <div> … … 74 74 75 75 <input name="bbp_topic_subscribers" id="bbp_topic_subscribers" type="checkbox" value="1" checked="checked" /> 76 <label for="bbp_topic_subscribers"><?php _e( 'Merge topic subscribers', 'bbpress' ); ?></label><br />76 <label for="bbp_topic_subscribers"><?php esc_html_e( 'Merge topic subscribers', 'bbpress' ); ?></label><br /> 77 77 78 78 <?php endif; ?> 79 79 80 80 <input name="bbp_topic_favoriters" id="bbp_topic_favoriters" type="checkbox" value="1" checked="checked" /> 81 <label for="bbp_topic_favoriters"><?php _e( 'Merge topic favoriters', 'bbpress' ); ?></label><br />81 <label for="bbp_topic_favoriters"><?php esc_html_e( 'Merge topic favoriters', 'bbpress' ); ?></label><br /> 82 82 83 83 <?php if ( bbp_allow_topic_tags() ) : ?> 84 84 85 85 <input name="bbp_topic_tags" id="bbp_topic_tags" type="checkbox" value="1" checked="checked" /> 86 <label for="bbp_topic_tags"><?php _e( 'Merge topic tags', 'bbpress' ); ?></label><br />86 <label for="bbp_topic_tags"><?php esc_html_e( 'Merge topic tags', 'bbpress' ); ?></label><br /> 87 87 88 88 <?php endif; ?> … … 93 93 <div class="bbp-template-notice error"> 94 94 <ul> 95 <li><?php _e( '<strong>WARNING:</strong>This process cannot be undone.', 'bbpress' ); ?></li>95 <li><?php esc_html_e( 'This process cannot be undone.', 'bbpress' ); ?></li> 96 96 </ul> 97 97 </div> 98 98 99 99 <div class="bbp-submit-wrapper"> 100 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>100 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php esc_html_e( 'Submit', 'bbpress' ); ?></button> 101 101 </div> 102 102 </div> … … 111 111 112 112 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 113 <div class="entry-content"><?php is_user_logged_in() ? _e( 'You do not have the permissions to edit this topic!', 'bbpress' ) : _e( 'You cannot edit this topic.', 'bbpress' ); ?></div> 113 <div class="entry-content"><?php is_user_logged_in() 114 ? esc_html_e( 'You do not have the permissions to edit this topic!', 'bbpress' ) 115 : esc_html_e( 'You cannot edit this topic.', 'bbpress' ); 116 ?></div> 114 117 </div> 115 118
Note: See TracChangeset
for help on using the changeset viewer.