Changeset 5688 for trunk/src/templates/default/bbpress/form-reply.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-reply.php
r5563 r5688 35 35 <div class="bbp-template-notice"> 36 36 <ul> 37 <li><?php _e( 'This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></li>37 <li><?php esc_html_e( 'This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></li> 38 38 </ul> 39 39 </div> … … 45 45 <div class="bbp-template-notice"> 46 46 <ul> 47 <li><?php _e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></li>47 <li><?php esc_html_e( 'Your account has the ability to post unrestricted HTML content.', 'bbpress' ); ?></li> 48 48 </ul> 49 49 </div> … … 66 66 67 67 <p class="form-allowed-tags"> 68 <label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress' ); ?></label><br />68 <label><?php esc_html_e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','bbpress' ); ?></label><br /> 69 69 <code><?php bbp_allowed_tags(); ?></code> 70 70 </p> … … 77 77 78 78 <p> 79 <label for="bbp_topic_tags"><?php _e( 'Tags:', 'bbpress' ); ?></label><br />79 <label for="bbp_topic_tags"><?php esc_html_e( 'Tags:', 'bbpress' ); ?></label><br /> 80 80 <input type="text" value="<?php bbp_form_topic_tags(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> /> 81 81 </p> … … 95 95 <?php if ( bbp_is_reply_edit() && ( bbp_get_reply_author_id() !== bbp_get_current_user_id() ) ) : ?> 96 96 97 <label for="bbp_topic_subscription"><?php _e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label>97 <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label> 98 98 99 99 <?php else : ?> 100 100 101 <label for="bbp_topic_subscription"><?php _e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label>101 <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label> 102 102 103 103 <?php endif; ?> … … 116 116 117 117 <p class="form-reply-to"> 118 <label for="bbp_reply_to"><?php _e( 'Reply To:', 'bbpress' ); ?></label><br />118 <label for="bbp_reply_to"><?php esc_html_e( 'Reply To:', 'bbpress' ); ?></label><br /> 119 119 <?php bbp_reply_to_dropdown(); ?> 120 120 </p> … … 125 125 126 126 <p> 127 <label for="bbp_reply_status"><?php _e( 'Reply Status:', 'bbpress' ); ?></label><br />127 <label for="bbp_reply_status"><?php esc_html_e( 'Reply Status:', 'bbpress' ); ?></label><br /> 128 128 <?php bbp_form_reply_status_dropdown(); ?> 129 129 </p> … … 140 140 <legend> 141 141 <input name="bbp_log_reply_edit" id="bbp_log_reply_edit" type="checkbox" value="1" <?php bbp_form_reply_log_edit(); ?> /> 142 <label for="bbp_log_reply_edit"><?php _e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br />142 <label for="bbp_log_reply_edit"><?php esc_html_e( 'Keep a log of this edit:', 'bbpress' ); ?></label><br /> 143 143 </legend> 144 144 145 145 <div> 146 <label for="bbp_reply_edit_reason"><?php printf( __( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br />146 <label for="bbp_reply_edit_reason"><?php printf( esc_html__( 'Optional reason for editing:', 'bbpress' ), bbp_get_current_user_name() ); ?></label><br /> 147 147 <input type="text" value="<?php bbp_form_reply_edit_reason(); ?>" size="40" name="bbp_reply_edit_reason" id="bbp_reply_edit_reason" /> 148 148 </div> … … 163 163 <?php bbp_cancel_reply_to_link(); ?> 164 164 165 <button type="submit" id="bbp_reply_submit" name="bbp_reply_submit" class="button submit"><?php _e( 'Submit', 'bbpress' ); ?></button>165 <button type="submit" id="bbp_reply_submit" name="bbp_reply_submit" class="button submit"><?php esc_html_e( 'Submit', 'bbpress' ); ?></button> 166 166 167 167 <?php do_action( 'bbp_theme_after_reply_form_submit_button' ); ?> … … 187 187 <div class="bbp-template-notice"> 188 188 <ul> 189 <li><?php printf( __( 'The topic ‘%s’ is closed to new replies.', 'bbpress' ), bbp_get_topic_title() ); ?></li>189 <li><?php printf( esc_html__( 'The topic ‘%s’ is closed to new replies.', 'bbpress' ), bbp_get_topic_title() ); ?></li> 190 190 </ul> 191 191 </div> … … 197 197 <div class="bbp-template-notice"> 198 198 <ul> 199 <li><?php printf( __( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), bbp_get_forum_title( bbp_get_topic_forum_id() ) ); ?></li>199 <li><?php printf( esc_html__( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), bbp_get_forum_title( bbp_get_topic_forum_id() ) ); ?></li> 200 200 </ul> 201 201 </div> … … 207 207 <div class="bbp-template-notice"> 208 208 <ul> 209 <li><?php is_user_logged_in() ? _e( 'You cannot reply to this topic.', 'bbpress' ) : _e( 'You must be logged in to reply to this topic.', 'bbpress' ); ?></li> 209 <li><?php is_user_logged_in() 210 ? esc_html_e( 'You cannot reply to this topic.', 'bbpress' ) 211 : esc_html_e( 'You must be logged in to reply to this topic.', 'bbpress' ); 212 ?></li> 210 213 </ul> 211 214 </div>
Note: See TracChangeset
for help on using the changeset viewer.