Changeset 3491:9aba899e5494 for admin/preferences.php
- Timestamp:
- 01/02/17 17:03:59 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/preferences.php
r3443 r3491 678 678 echo '<h5 class="pretty-title">'.__('Other available favorites').'</h5>'; 679 679 $count = 0; 680 function cmp($a,$b) { 681 if ($a['title'] == $b['title']) { 682 return 0; 683 } 684 return ($a['title'] < $b['title']) ? -1 : 1; 685 } 686 uasort($avail_fav,'cmp'); 680 uasort($avail_fav,function($a,$b) { 681 return strcoll( 682 strtolower(dcUtils::removeDiacritics($a['title'])), 683 strtolower(dcUtils::removeDiacritics($b['title']))); 684 }); 687 685 688 686 foreach ($avail_fav as $k => $v) {
Note: See TracChangeset
for help on using the changeset viewer.