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

Comparing projects/cms/source/reports/php/historical/browser.php (file contents):
Revision 1.22 by pjm2, Fri Mar 2 09:44:57 2001 UTC vs.
Revision 1.25 by pjm2, Fri Mar 2 09:51:34 2001 UTC

# Line 75 | Line 75 | function getdirArray($dir='./',$sort='asort') {
75   <hr weight="1" color="<? echo $lineColor ?>">
76  
77   <b>Most recent reports available</b>
78 < <form method="GET" action="browser.php">
78 > <form method="<? echo $formMethod ?>" action="browser.php">
79   <?
80  
81      $file_array = getdirArray($reportDirectory,'rsort');
# Line 101 | Line 101 | function getdirArray($dir='./',$sort='asort') {
101  
102      <b>Available reports for <? echo $day ?></b>
103  
104 <    <form method="GET" action="browser.php">
104 >    <form method="<? echo $formMethod ?>" action="browser.php">
105       <select size="1" name="machine_name">
106        <? if ($machine_name) { ?>
107          <option selected value="<? echo $machine_name ?>"><? echo $machine_name ?></option>
# Line 136 | Line 136 | function getdirArray($dir='./',$sort='asort') {
136   <?
137      if ($submit == "Show" && $machine_name && $report) {
138          
139 <        include("$day/$machine_name/$report/i-maxmin.txt");
139 >        include("$day/$machine_name/$report/$reportLimitsFile");
140          
141 <        $url = escapeshellcmd("$day/$machine_name/$report/i-chart.gif");
142 <        if (isReportEmpty("$day/$machine_name/$report/i-data.txt")) {
141 >        $url = escapeshellcmd("$day/$machine_name/$report/$reportChartFile");
142 >        if (isReportEmpty("$day/$machine_name/$report/$reportChartDataFile")) {
143              echo "Host <b>$machine_name</b> did not send any information about <b>$report</b> on <b>$day</b>.  Please select another report.";
144          }
145          else if (file_exists($url)) {  ?>
# Line 170 | Line 170 | function getdirArray($dir='./',$sort='asort') {
170              
171              <b>Extra data</b>
172              <p>
173 <            <a href="<? echo "$day/$machine_name/$report/i-data.txt" ?>">Raw plot data</a><br>
174 <            <a href="<? echo "$day/$machine_name/$report/i-chart.gif" ?>">GIF chart</a><br>
175 <            <a href="<? echo "$day/$machine_name/$report/i-maxmin.txt" ?>">PHP y-axis limits include</a>
173 >            <a href="<? echo "$day/$machine_name/$report/$reportChartDataFile" ?>">Raw plot data</a><br>
174 >            <a href="<? echo "$day/$machine_name/$report/$reportChartFile" ?>">GIF chart</a><br>
175 >            <a href="<? echo "$day/$machine_name/$report/$reportLimitsFile" ?>">PHP y-axis limits include</a>
176              
177          <? }
178          else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines