Changeset 4959 for trunk/includes/extend/buddypress/group.php
- Timestamp:
- 05/27/2013 08:25:05 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/extend/buddypress/group.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/extend/buddypress/group.php
r4817 r4959 266 266 $checked = is_admin() ? bp_group_is_forum_enabled( $group ) : bp_get_new_group_enable_forum() || bp_group_is_forum_enabled( bp_get_group_id() ); ?> 267 267 268 <h4><?php _e( 'Group Forum Settings', 'bbpress' ); ?></h4>268 <h4><?php esc_html_e( 'Group Forum Settings', 'bbpress' ); ?></h4> 269 269 270 270 <fieldset> 271 <legend class="screen-reader-text"><?php _e( 'Group Forum Settings', 'bbpress' ); ?></legend>272 <p><?php _e( 'Create a discussion forum to allow members of this group to communicate in a structured, bulletin-board style fashion.', 'bbpress' ); ?></p>271 <legend class="screen-reader-text"><?php esc_html_e( 'Group Forum Settings', 'bbpress' ); ?></legend> 272 <p><?php esc_html_e( 'Create a discussion forum to allow members of this group to communicate in a structured, bulletin-board style fashion.', 'bbpress' ); ?></p> 273 273 274 274 <div class="field-group"> 275 275 <div class="checkbox"> 276 <label><input type="checkbox" name="bbp-edit-group-forum" id="bbp-edit-group-forum" value="1"<?php checked( $checked ); ?> /> <?php _e( 'Yes. I want this group to have a forum.', 'bbpress' ); ?></label>276 <label><input type="checkbox" name="bbp-edit-group-forum" id="bbp-edit-group-forum" value="1"<?php checked( $checked ); ?> /> <?php esc_html_e( 'Yes. I want this group to have a forum.', 'bbpress' ); ?></label> 277 277 </div> 278 278 279 <p class="description"><?php _e( 'Saying no will not delete existing forum content.', 'bbpress' ); ?></p>279 <p class="description"><?php esc_html_e( 'Saying no will not delete existing forum content.', 'bbpress' ); ?></p> 280 280 </div> 281 281 282 282 <?php if ( bbp_is_user_keymaster() ) : ?> 283 283 <div class="field-group"> 284 <label for="bbp_group_forum_id"><?php _e( 'Group Forum:', 'bbpress' ); ?></label>284 <label for="bbp_group_forum_id"><?php esc_html_e( 'Group Forum:', 'bbpress' ); ?></label> 285 285 <?php 286 286 bbp_dropdown( array( … … 290 290 ) ); 291 291 ?> 292 <p class="description"><?php _e( 'Network administrators can reconfigure which forum belongs to this group.', 'bbpress' ); ?></p>292 <p class="description"><?php esc_html_e( 'Network administrators can reconfigure which forum belongs to this group.', 'bbpress' ); ?></p> 293 293 </div> 294 294 <?php endif; ?> … … 464 464 $checked = bp_get_new_group_enable_forum() || groups_get_groupmeta( bp_get_new_group_id(), 'forum_id' ); ?> 465 465 466 <h4><?php _e( 'Group Forum', 'bbpress' ); ?></h4>467 468 <p><?php _e( 'Create a discussion forum to allow members of this group to communicate in a structured, bulletin-board style fashion.', 'bbpress' ); ?></p>466 <h4><?php esc_html_e( 'Group Forum', 'bbpress' ); ?></h4> 467 468 <p><?php esc_html_e( 'Create a discussion forum to allow members of this group to communicate in a structured, bulletin-board style fashion.', 'bbpress' ); ?></p> 469 469 470 470 <div class="checkbox"> 471 <label><input type="checkbox" name="bbp-create-group-forum" id="bbp-create-group-forum" value="1"<?php checked( $checked ); ?> /> <?php _e( 'Yes. I want this group to have a forum.', 'bbpress' ); ?></label>471 <label><input type="checkbox" name="bbp-create-group-forum" id="bbp-create-group-forum" value="1"<?php checked( $checked ); ?> /> <?php esc_html_e( 'Yes. I want this group to have a forum.', 'bbpress' ); ?></label> 472 472 </div> 473 473 … … 755 755 756 756 <div id="message" class="info"> 757 <p><?php _e( 'This group does not currently have a forum.', 'bbpress' ); ?></p>757 <p><?php esc_html_e( 'This group does not currently have a forum.', 'bbpress' ); ?></p> 758 758 </div> 759 759 … … 1020 1020 1021 1021 <p> 1022 <label for="bbp_forum_id"><?php _e( 'Forum:', 'bbpress' ); ?></label><br />1022 <label for="bbp_forum_id"><?php esc_html_e( 'Forum:', 'bbpress' ); ?></label><br /> 1023 1023 <?php bbp_dropdown( array( 'include' => $forum_ids, 'selected' => bbp_get_form_topic_forum() ) ); ?> 1024 1024 </p>
Note: See TracChangeset
for help on using the changeset viewer.