Changeset 4770 for trunk/bp-xprofile/bp-xprofile-template.php
- Timestamp:
- 07/21/2011 10:27:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-template.php
r4678 r4770 103 103 $has_data = false; 104 104 105 for ( $i = 0 ; $i < count( $this->group->fields ); $i++) {105 for ( $i = 0, $count = count( $this->group->fields ); $i < $count; ++$i ) { 106 106 $field = &$this->group->fields[$i]; 107 107 … … 548 548 $html .= '<option value=""' . selected( $day, '', false ) . '>--</option>'; 549 549 550 for ( $i = 1; $i < 32; $i++) {550 for ( $i = 1; $i < 32; ++$i ) { 551 551 $html .= '<option value="' . $i .'"' . selected( $day, $i, false ) . '>' . $i . '</option>'; 552 552 } … … 564 564 $html .= '<option value=""' . selected( $month, '', false ) . '>------</option>'; 565 565 566 for ( $i = 0; $i < 12; $i++) {566 for ( $i = 0; $i < 12; ++$i ) { 567 567 $html .= '<option value="' . $eng_months[$i] . '"' . selected( $month, $eng_months[$i], false ) . '>' . $months[$i] . '</option>'; 568 568 } … … 634 634 635 635 $tabs = array(); 636 for ( $i = 0, $count = count( $groups ); $i < $count; $i++) {636 for ( $i = 0, $count = count( $groups ); $i < $count; ++$i ) { 637 637 if ( $group_name == $groups[$i]->name ) 638 638 $selected = ' class="current"';
Note: See TracChangeset
for help on using the changeset viewer.