Changeset 5229 for branches/1.5/bp-xprofile/bp-xprofile-template.php
- Timestamp:
- 10/10/2011 06:48:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/bp-xprofile/bp-xprofile-template.php
r5167 r5229 579 579 } else { 580 580 $day = mysql2date( 'j', $date ); 581 $month = mysql2date( 'F', $date );581 $month = mysql2date( 'F', $date, false ); // Not localized, so that selected() works below 582 582 $year = mysql2date( 'Y', $date ); 583 583 } … … 612 612 $eng_months = array( 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ); 613 613 614 $months = array( __( 'January', 'buddypress' ), __( 'February', 'buddypress' ), __( 'March', 'buddypress' ), 615 __( 'April', 'buddypress' ), __( 'May', 'buddypress' ), __( 'June', 'buddypress' ), 616 __( 'July', 'buddypress' ), __( 'August', 'buddypress' ), __( 'September', 'buddypress' ), 617 __( 'October', 'buddypress' ), __( 'November', 'buddypress' ), __( 'December', 'buddypress' ) 618 ); 614 $months = array( 615 __( 'January', 'buddypress' ), 616 __( 'February', 'buddypress' ), 617 __( 'March', 'buddypress' ), 618 __( 'April', 'buddypress' ), 619 __( 'May', 'buddypress' ), 620 __( 'June', 'buddypress' ), 621 __( 'July', 'buddypress' ), 622 __( 'August', 'buddypress' ), 623 __( 'September', 'buddypress' ), 624 __( 'October', 'buddypress' ), 625 __( 'November', 'buddypress' ), 626 __( 'December', 'buddypress' ) 627 ); 619 628 620 629 $html .= '<option value=""' . selected( $month, '', false ) . '>------</option>';
Note: See TracChangeset
for help on using the changeset viewer.