Changeset 1956 for trunk/bp-xprofile/bp-xprofile-templatetags.php
- Timestamp:
- 09/25/2009 10:02:17 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile/bp-xprofile-templatetags.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-templatetags.php
r1920 r1956 419 419 420 420 case 'radio': 421 $html = '<div id="field_' . $field->id . '">'; 422 421 423 for ( $k = 0; $k < count($options); $k++ ) { 422 424 $option_value = BP_XProfile_ProfileData::get_value_byid($options[$k]->parent_id); … … 436 438 $html .= apply_filters( 'bp_get_the_profile_field_options_radio', '<label><input' . $selected . ' type="radio" name="field_' . $field->id . '" id="option_' . $options[$k]->id . '" value="' . attribute_escape( $options[$k]->name ) . '"> ' . attribute_escape( $options[$k]->name ) . '</label>', $options[$k] ); 437 439 } 440 441 $html .= '</div>'; 438 442 break; 439 443
Note: See TracChangeset
for help on using the changeset viewer.