Changeset 8643 for trunk/src/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 07/17/2014 07:37:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-classes.php
r8635 r8643 2704 2704 $no_scheme = preg_replace( '#^https?://#', '', rtrim( $link, '/' ) ); 2705 2705 $url_text = str_replace( $link, $no_scheme, $field_value ); 2706 $retval = '<a href="' . esc_url( $field_value ) . '" rel="nofollow">' . esc_html( $url_text ) . '</a>'; 2707 return $field_value; 2706 return '<a href="' . esc_url( $field_value ) . '" rel="nofollow">' . esc_html( $url_text ) . '</a>'; 2708 2707 } 2709 2708 } … … 3035 3034 ?> 3036 3035 3037 < p class="sortable">3038 <span > Ξ </span>3036 <div id="<?php echo esc_attr( "{$type}_div{$j}" ); ?>" class="bp-option sortable"> 3037 <span class="bp-option-icon grabber"></span> 3039 3038 <input type="text" name="<?php echo esc_attr( "{$type}_option[{$j}]" ); ?>" id="<?php echo esc_attr( "{$type}_option{$j}" ); ?>" value="<?php echo esc_attr( $options[$i]->name ); ?>" /> 3040 <input type="<?php echo esc_attr( $control_type ); ?>" name="<?php echo esc_attr( "isDefault_{$type}_option{$default_name}" ); ?>" <?php checked( $options[$i]->is_default_option, true ); ?> value="<?php echo esc_attr( $j ); ?>" /> 3041 <span><?php _e( 'Default Value', 'buddypress' ); ?></span> 3042 </p> 3039 <label> 3040 <input type="<?php echo esc_attr( $control_type ); ?>" name="<?php echo esc_attr( "isDefault_{$type}_option{$default_name}" ); ?>" <?php checked( $options[$i]->is_default_option, true ); ?> value="<?php echo esc_attr( $j ); ?>" /> 3041 <?php _e( 'Default Value', 'buddypress' ); ?> 3042 </label> 3043 3044 <?php if ( 1 !== $j ) : ?> 3045 <div class ="delete-button"> 3046 <a href='javascript:hide("<?php echo esc_attr( "{$type}_div{$j}" ); ?>")' class="delete"><?php esc_html_e( 'Delete', 'buddypress' ); ?></a> 3047 </div> 3048 <?php endif; ?> 3049 3050 </div> 3051 3043 3052 <?php endfor; ?> 3044 3053
Note: See TracChangeset
for help on using the changeset viewer.