Changeset 5688 for trunk/src/templates/default/bbpress/form-topic-split.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-split.php
r5563 r5688 22 22 <fieldset class="bbp-form"> 23 23 24 <legend><?php printf( __( 'Split topic "%s"', 'bbpress' ), bbp_get_topic_title() ); ?></legend>24 <legend><?php printf( esc_html__( 'Split 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( 'When you split a topic, you are slicing it in half starting with the reply you just selected. Choose to use that reply as a new topic with a new title, or merge those replies into an existing topic.', 'bbpress' ); ?></li>30 <li><?php esc_html_e( 'When you split a topic, you are slicing it in half starting with the reply you just selected. Choose to use that reply as a new topic with a new title, or merge those replies into an existing topic.', 'bbpress' ); ?></li> 31 31 </ul> 32 32 </div> … … 34 34 <div class="bbp-template-notice"> 35 35 <ul> 36 <li><?php _e( 'If you use the existing topic option, replies within both topics will be merged chronologically. The order of the merged replies is based on the time and date they were posted.', 'bbpress' ); ?></li>36 <li><?php esc_html_e( 'If you use the existing topic option, replies within both topics will be merged chronologically. The order of the merged replies is based on the time and date they were posted.', 'bbpress' ); ?></li> 37 37 </ul> 38 38 </div> 39 39 40 40 <fieldset class="bbp-form"> 41 <legend><?php _e( 'Split Method', 'bbpress' ); ?></legend>41 <legend><?php esc_html_e( 'Split Method', 'bbpress' ); ?></legend> 42 42 43 43 <div> 44 44 <input name="bbp_topic_split_option" id="bbp_topic_split_option_reply" type="radio" checked="checked" value="reply" /> 45 <label for="bbp_topic_split_option_reply"><?php printf( __( 'New topic in <strong>%s</strong>titled:', 'bbpress' ), bbp_get_forum_title( bbp_get_topic_forum_id( bbp_get_topic_id() ) ) ); ?></label>46 <input type="text" id="bbp_topic_split_destination_title" value="<?php printf( __( 'Split: %s', 'bbpress' ), bbp_get_topic_title() ); ?>" size="35" name="bbp_topic_split_destination_title" />45 <label for="bbp_topic_split_option_reply"><?php printf( esc_html__( 'New topic in %s titled:', 'bbpress' ), bbp_get_forum_title( bbp_get_topic_forum_id( bbp_get_topic_id() ) ) ); ?></label> 46 <input type="text" id="bbp_topic_split_destination_title" value="<?php printf( esc_html__( 'Split: %s', 'bbpress' ), bbp_get_topic_title() ); ?>" size="35" name="bbp_topic_split_destination_title" /> 47 47 </div> 48 48 … … 51 51 <div> 52 52 <input name="bbp_topic_split_option" id="bbp_topic_split_option_existing" type="radio" value="existing" /> 53 <label for="bbp_topic_split_option_existing"><?php _e( 'Use an existing topic in this forum:', 'bbpress' ); ?></label>53 <label for="bbp_topic_split_option_existing"><?php esc_html_e( 'Use an existing topic in this forum:', 'bbpress' ); ?></label> 54 54 55 55 <?php … … 71 71 72 72 <fieldset class="bbp-form"> 73 <legend><?php _e( 'Topic Extras', 'bbpress' ); ?></legend>73 <legend><?php esc_html_e( 'Topic Extras', 'bbpress' ); ?></legend> 74 74 75 75 <div> … … 78 78 79 79 <input name="bbp_topic_subscribers" id="bbp_topic_subscribers" type="checkbox" value="1" checked="checked" /> 80 <label for="bbp_topic_subscribers"><?php _e( 'Copy subscribers to the new topic', 'bbpress' ); ?></label><br />80 <label for="bbp_topic_subscribers"><?php esc_html_e( 'Copy subscribers to the new topic', 'bbpress' ); ?></label><br /> 81 81 82 82 <?php endif; ?> 83 83 84 84 <input name="bbp_topic_favoriters" id="bbp_topic_favoriters" type="checkbox" value="1" checked="checked" /> 85 <label for="bbp_topic_favoriters"><?php _e( 'Copy favoriters to the new topic', 'bbpress' ); ?></label><br />85 <label for="bbp_topic_favoriters"><?php esc_html_e( 'Copy favoriters to the new topic', 'bbpress' ); ?></label><br /> 86 86 87 87 <?php if ( bbp_allow_topic_tags() ) : ?> 88 88 89 89 <input name="bbp_topic_tags" id="bbp_topic_tags" type="checkbox" value="1" checked="checked" /> 90 <label for="bbp_topic_tags"><?php _e( 'Copy topic tags to the new topic', 'bbpress' ); ?></label><br />90 <label for="bbp_topic_tags"><?php esc_html_e( 'Copy topic tags to the new topic', 'bbpress' ); ?></label><br /> 91 91 92 92 <?php endif; ?> … … 97 97 <div class="bbp-template-notice error" role="alert" tabindex="-1"> 98 98 <ul> 99 <li><?php _e( '<strong>WARNING:</strong>This process cannot be undone.', 'bbpress' ); ?></li>99 <li><?php esc_html_e( 'This process cannot be undone.', 'bbpress' ); ?></li> 100 100 </ul> 101 101 </div> 102 102 103 103 <div class="bbp-submit-wrapper"> 104 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>104 <button type="submit" id="bbp_merge_topic_submit" name="bbp_merge_topic_submit" class="button submit"><?php esc_html_e( 'Submit', 'bbpress' ); ?></button> 105 105 </div> 106 106 </div> … … 115 115 116 116 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 117 <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> 117 <div class="entry-content"><?php is_user_logged_in() 118 ? esc_html_e( 'You do not have the permissions to edit this topic!', 'bbpress' ) 119 : esc_html_e( 'You cannot edit this topic.', 'bbpress' ); 120 ?></div> 118 121 </div> 119 122
Note: See TracChangeset
for help on using the changeset viewer.