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

Comparing projects/cms/source/reports/php/alerts/alerts.php (file contents):
Revision 1.25 by pjm2, Wed Mar 21 19:10:33 2001 UTC vs.
Revision 1.26 by pjm2, Thu Mar 22 17:26:31 2001 UTC

# Line 24 | Line 24 | function getValue($value, $alert) {
24  
25   function printAlert($machine, $alert, $small="") {
26  
27 +    global $fontsize;
28 +
29      include("alerts_config.inc.php");
30  
31      $alertLevelNum = getValue("alertLevel", $alert);
# Line 60 | Line 62 | function printAlert($machine, $alert, $small="") {
62                <img src="level$alertLevelNum.gif" width="41" height="9" border="0" alt="$alertLevel">
63               </td>
64               <td align="left">
65 <              <font size="3" color="$alertColour"><b>$alertLevel</b></font>
65 >              <font size="$fontsize" color="$alertColour"><b>$alertLevel</b></font>
66               </td>
67               <td align="left">
68 <              <font size="3">$attributeName</font>
68 >              <font size="$fontsize">$attributeName</font>
69               </td>
70               <td>
71                &nbsp;
# Line 105 | Line 107 | EOT;
107   }
108  
109   function printReports($machine, $small="") {
110 +    global $fontsize;
111 +
112      # Get a list of all files in the machine's directory.
113      include("alerts_config.inc.php");
114      $alertArray = getdirArray("$alertDirectory/$machine", 'rsort');
# Line 114 | Line 118 | function printReports($machine, $small="") {
118             <table border="0" cellpadding="2" cellspacing="0">
119              <tr>
120               <td colspan="5">
121 <              <font size="+1"><b><a href="alerts.php?machine=$machine" style="color: black; text-decoration: none;">$machine</a></b></font>
121 >              <font size="$fontsize"><b><a href="alerts.php?machine=$machine" style="color: black; text-decoration: none;">$machine</a></b></font>
122               </td>
123              </tr>
124   EOT;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines