Skip to:
Content

BuddyPress.org

Ticket #6531: 6531-whats-new-label.2.patch

File 6531-whats-new-label.2.patch, 1.5 KB (added by mercime, 10 years ago)
  • src/bp-templates/bp-legacy/buddypress/activity/post-form.php

     
    3434
    3535        <div id="whats-new-content">
    3636                <div id="whats-new-textarea">
     37                        <label for="whats-new" class="bp-screen-reader-text"><?php _e( 'Post what\'s new', 'buddypress' ); ?></label>
    3738                        <textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10"
    38                                 <?php if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif; ?>
    39                         ><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea>
     39                                <?php if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif; ?>>
     40                                <?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea>
    4041                </div>
    4142
    4243                <div id="whats-new-options">
     
    5051
    5152                                        <?php _e( 'Post in', 'buddypress' ); ?>:
    5253
     54                                        <label for="whats-new-post-in" class="bp-screen-reader-text"><?php _e( 'Select location of post', 'buddypress' ); ?></label>
    5355                                        <select id="whats-new-post-in" name="whats-new-post-in">
    5456                                                <option selected="selected" value="0"><?php _e( 'My Profile', 'buddypress' ); ?></option>
    5557