Ticket #787: 787.2.patch
File 787.2.patch, 1.7 KB (added by , 9 years ago) |
---|
-
src/bp-xprofile/classes/class-bp-xprofile-field.php
1465 1465 ?> 1466 1466 1467 1467 <div class="postbox"> 1468 <h2>< label for="do-autolink"><?php esc_html_e( 'Autolink', 'buddypress' ); ?></label></h2>1468 <h2><?php esc_html_e( 'Autolink', 'buddypress' ); ?></h2> 1469 1469 <div class="inside"> 1470 <p class="description"><?php esc_html_e( 'On user profiles, link this field to a search of the Members directory, using the field value as a search term :', 'buddypress' ); ?></p>1470 <p class="description"><?php esc_html_e( 'On user profiles, link this field to a search of the Members directory, using the field value as a search term.', 'buddypress' ); ?></p> 1471 1471 1472 1472 <p> 1473 <label> 1474 <select name="do_autolink" id="do-autolink"> 1475 <option value="on" <?php selected( $this->get_do_autolink() ); ?>><?php esc_html_e( 'Enabled', 'buddypress' ); ?></option> 1476 <option value="" <?php selected( $this->get_do_autolink(), false ); ?>><?php esc_html_e( 'Disabled', 'buddypress' ); ?></option> 1477 </select> 1478 </label> 1473 <label for="do-autolink" class="screen-reader-text"><?php esc_html_e( 'Autolink status for this field', 'buddypress' ); ?></label> 1474 <select name="do_autolink" id="do-autolink"> 1475 <option value="on" <?php selected( $this->get_do_autolink() ); ?>><?php esc_html_e( 'Enabled', 'buddypress' ); ?></option> 1476 <option value="" <?php selected( $this->get_do_autolink(), false ); ?>><?php esc_html_e( 'Disabled', 'buddypress' ); ?></option> 1477 </select> 1479 1478 </p> 1480 1479 </div> 1481 1480 </div>