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.18 by pjm2, Tue Mar 13 18:46:26 2001 UTC vs.
Revision 1.20 by pjm2, Tue Mar 13 20:08:53 2001 UTC

# Line 13 | Line 13 | include("latest_config.inc.php");
13   include("iutils.inc.php");
14  
15   function printLine($title) {
16 <    echo "<hr color=\"#9999ff\">";
16 >    echo "<hr style=\"color:#9999ff;\">";
17      echo "<b>$title</b>";
18   }
19  
# Line 32 | Line 32 | function showStat($title, $value, $input) {
32            </tr>
33          </table>
34      <?
35 + }
36 +
37 +
38 + function linkToHistory($report) {
39 +    global $machine;
40 +    $yesterday = date("Y-m-d", time() - 86400);
41 +    echo <<<EOT
42 +        <a href="browser.php?machine_name=$machine&report=$report&day=$yesterday&submit=Show"><img src="historical.gif" width="20" height="20" border="0"></a>
43 + EOT;
44   }
45  
46  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines