Ticket #5500: 5500.3.patch
| File 5500.3.patch, 3.7 KB (added by , 10 years ago) |
|---|
-
src/bp-xprofile/admin/css/admin-rtl.css
320 320 padding-right: 100px; 321 321 } 322 322 323 #bp-xprofile-add-field select#fieldtype { 324 max-width: 100%; 325 word-wrap: break-word; 326 word-break: break-all; /* e.g. Chinese, Japanese, Korean chars */ 327 } 328 323 329 @media screen and (max-width: 782px) { 324 330 .bp-date-formats .bp-date-format-option:first-of-type { 325 331 margin-top: 1em; -
src/bp-xprofile/admin/css/admin.css
320 320 padding-left: 100px; 321 321 } 322 322 323 #bp-xprofile-add-field select#fieldtype { 324 max-width: 100%; 325 word-wrap: break-word; 326 word-break: break-all; /* e.g. Chinese, Japanese, Korean chars */ 327 } 328 323 329 @media screen and (max-width: 782px) { 324 330 .bp-date-formats .bp-date-format-option:first-of-type { 325 331 margin-top: 1em; -
src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php
493 493 <span class="date-format-label"><?php esc_html_e( 'Custom:', 'buddypress' ); ?></span> 494 494 </label> 495 495 <label for="date-format-custom-value" class="screen-reader-text"><?php esc_html_e( 'Enter custom time format', 'buddypress' ); ?></label> 496 <input type="text" name="field-settings[date_format_custom]" id="date-format-custom-value" class="date-format-custom-value" value="<?php echo esc_attr( $settings['date_format_custom'] ); ?>" aria-describedby="date-format-custom- value-info" /> <span class="screen-reader-text"><?php esc_html_e( 'Example:', 'buddypress' ); ?></span><span class="date-format-custom-sample" id="date-format-custom-sample"><?php if ( $settings['date_format_custom'] ) : ?><?php echo esc_html( date( $settings['date_format_custom'] ) ); endif; ?></span><span class="spinner" id="date-format-custom-spinner" aria-hidden="true"></span>496 <input type="text" name="field-settings[date_format_custom]" id="date-format-custom-value" class="date-format-custom-value" value="<?php echo esc_attr( $settings['date_format_custom'] ); ?>" aria-describedby="date-format-custom-example" /> <span class="screen-reader-text"><?php esc_html_e( 'Example:', 'buddypress' ); ?></span><span class="date-format-custom-example" id="date-format-custom-sample"><?php if ( $settings['date_format_custom'] ) : ?><?php echo esc_html( date( $settings['date_format_custom'] ) ); endif; ?></span><span class="spinner" id="date-format-custom-spinner" aria-hidden="true"></span> 497 497 498 498 <p><a href="https://codex.wordpress.org/Formatting_Date_and_Time"><?php esc_html_e( 'Documentation on date and time formatting', 'buddypress' ); ?></a></p> 499 499 </div> -
src/bp-xprofile/classes/class-bp-xprofile-field.php
1525 1525 <div class="postbox"> 1526 1526 <h2><label for="fieldtype"><?php esc_html_e( 'Type', 'buddypress'); ?></label></h2> 1527 1527 <div class="inside"> 1528 <select name="fieldtype" id="fieldtype" onchange="show_options(this.value)" style="width: 30%">1528 <select name="fieldtype" id="fieldtype" onchange="show_options(this.value)"> 1529 1529 1530 1530 <?php bp_xprofile_admin_form_field_types( $this->type ); ?> 1531 1531
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)