- Timestamp:
- 05/18/11 09:39:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php
r4431 r4437 3510 3510 $elem['boxname'] = mb_convert_encoding( $name_box, "ISO_8859-1", "UTF7-IMAP" ); 3511 3511 $elem['uid'] = $new_search; 3512 /* compare dates in ordering */ 3513 $elem['udatecomp'] = substr ($elem['udate'], -4) ."-". substr ($elem['udate'], 3, 2) ."-". substr ($elem['udate'], 0, 2); 3512 3514 $retorno[] = $elem; 3513 3515 } … … 3553 3555 $elem['boxname'] = mb_convert_encoding( $name_box, "ISO_8859-1", "UTF7-IMAP" ); 3554 3556 $elem['uid'] = $new_search; 3557 /* compare dates in ordering */ 3558 $elem['udatecomp'] = substr ($elem['udate'], -4) ."-". substr ($elem['udate'], 3, 2) ."-". substr ($elem['udate'], 0, 2); 3555 3559 $retorno[] = $elem; 3556 3560 } … … 3568 3572 3569 3573 /* Comparison functions, descendent is ascendent with parms inverted */ 3570 function SORTDATE($a, $b){ return ($a['udate '] < $b['udate']); }3574 function SORTDATE($a, $b){ return ($a['udatecomp'] < $b['udatecomp']); } 3571 3575 function SORTDATE_REVERSE($b, $a) { return SORTDATE($a,$b); } 3572 3576
Note: See TracChangeset
for help on using the changeset viewer.