Changeset 5688 for trunk/src/templates/default/bbpress/form-reply-move.php
- Timestamp:
- 04/19/2015 04:27:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress/form-reply-move.php
r5563 r5688 22 22 <fieldset class="bbp-form"> 23 23 24 <legend><?php printf( __( 'Move reply "%s"', 'bbpress' ), bbp_get_reply_title() ); ?></legend>24 <legend><?php printf( esc_html__( 'Move reply "%s"', 'bbpress' ), bbp_get_reply_title() ); ?></legend> 25 25 26 26 <div> … … 28 28 <div class="bbp-template-notice info"> 29 29 <ul> 30 <li><?php _e( 'You can either make this reply a new topic with a new title, or merge it into an existing topic.', 'bbpress' ); ?></li>30 <li><?php esc_html_e( 'You can either make this reply a new topic with a new title, or merge it 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 choose an existing topic, replies will be ordered by the time and date they were created.', 'bbpress' ); ?></li>36 <li><?php esc_html_e( 'If you choose an existing topic, replies will be ordered by the time and date they were created.', 'bbpress' ); ?></li> 37 37 </ul> 38 38 </div> 39 39 40 40 <fieldset class="bbp-form"> 41 <legend><?php _e( 'Move Method', 'bbpress' ); ?></legend>41 <legend><?php esc_html_e( 'Move Method', 'bbpress' ); ?></legend> 42 42 43 43 <div> 44 44 <input name="bbp_reply_move_option" id="bbp_reply_move_option_reply" type="radio" checked="checked" value="topic" /> 45 <label for="bbp_reply_move_option_reply"><?php printf( __( 'New topic in <strong>%s</strong>titled:', 'bbpress' ), bbp_get_forum_title( bbp_get_reply_forum_id( bbp_get_reply_id() ) ) ); ?></label>46 <input type="text" id="bbp_reply_move_destination_title" value="<?php printf( __( 'Moved: %s', 'bbpress' ), bbp_get_reply_title() ); ?>" size="35" name="bbp_reply_move_destination_title" />45 <label for="bbp_reply_move_option_reply"><?php printf( esc_html__( 'New topic in %s titled:', 'bbpress' ), bbp_get_forum_title( bbp_get_reply_forum_id( bbp_get_reply_id() ) ) ); ?></label> 46 <input type="text" id="bbp_reply_move_destination_title" value="<?php printf( esc_html__( 'Moved: %s', 'bbpress' ), bbp_get_reply_title() ); ?>" size="35" name="bbp_reply_move_destination_title" /> 47 47 </div> 48 48 … … 51 51 <div> 52 52 <input name="bbp_reply_move_option" id="bbp_reply_move_option_existing" type="radio" value="existing" /> 53 <label for="bbp_reply_move_option_existing"><?php _e( 'Use an existing topic in this forum:', 'bbpress' ); ?></label>53 <label for="bbp_reply_move_option_existing"><?php esc_html_e( 'Use an existing topic in this forum:', 'bbpress' ); ?></label> 54 54 55 55 <?php … … 71 71 <div class="bbp-template-notice error" role="alert" tabindex="-1"> 72 72 <ul> 73 <li><?php _e( '<strong>WARNING:</strong>This process cannot be undone.', 'bbpress' ); ?></li>73 <li><?php esc_html_e( 'This process cannot be undone.', 'bbpress' ); ?></li> 74 74 </ul> 75 75 </div> 76 76 77 77 <div class="bbp-submit-wrapper"> 78 <button type="submit" id="bbp_move_reply_submit" name="bbp_move_reply_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>78 <button type="submit" id="bbp_move_reply_submit" name="bbp_move_reply_submit" class="button submit"><?php esc_html_e( 'Submit', 'bbpress' ); ?></button> 79 79 </div> 80 80 </div> … … 89 89 90 90 <div id="no-reply-<?php bbp_reply_id(); ?>" class="bbp-no-reply"> 91 <div class="entry-content"><?php is_user_logged_in() ? _e( 'You do not have the permissions to edit this reply!', 'bbpress' ) : _e( 'You cannot edit this reply.', 'bbpress' ); ?></div> 91 <div class="entry-content"><?php is_user_logged_in() 92 ? esc_html_e( 'You do not have the permissions to edit this reply!', 'bbpress' ) 93 : esc_html_e( 'You cannot edit this reply.', 'bbpress' ); 94 ?></div> 92 95 </div> 93 96
Note: See TracChangeset
for help on using the changeset viewer.