ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/latest/latest.php
(Generate patch)

Comparing projects/cms/source/reports/php/latest/latest.php (file contents):
Revision 1.3 by pjm2, Thu Mar 8 21:52:06 2001 UTC vs.
Revision 1.5 by pjm2, Thu Mar 8 21:57:18 2001 UTC

# Line 39 | Line 39 | function getdirArray($dir='./',$sort='asort') {
39  
40  
41   function showStat($title, $value, $input) {
42 <    preg_match("/$value=([^\,]*)\,/", $input, $matches);
42 >    preg_match("/$value=([^\,]*)[\,|\}]/", $input, $matches);
43      $value = $matches[1];
44      if (empty($value)) {
45          $value = "<i>unknown</i>";
# Line 102 | Line 102 | function showBar($title, $value, $max, $input) {
102   <form method="<? echo $formMethod ?>" action="<? echo $thisPage ?>">
103   <?
104  
105 <    $file_array = getdirArray($latestDirectory,'rsort');
105 >    $file_array = getdirArray($latestDirectory,'asort');
106      print "<select size=\"1\" name=\"machine\">";
107      if ($machine) { ?>
108          <option selected value="<? echo $machine ?>"><? echo $machine ?></option>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines