/[hr-web]/inc/util.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /inc/util.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by dpavlin, Fri Apr 20 08:25:32 2001 UTC revision 1.2 by ravilov, Wed Jun 19 18:32:42 2002 UTC
# Line 1  Line 1 
1  <?php  <?php
2          function sort_name($a, $b) {          function sort_name($a, $b) {
3                  $x = strtolower($a["name"]);                  return strcasecmp($a["name"], $b["name"]);
                 $y = strtolower($b["name"]);  
                 if ($x == $y) return 0;  
                 return ($x > $y) ? 1 : -1;  
4          }          }
5  ?>  ?>

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26