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.16 by pjm2, Wed Mar 21 12:22:16 2001 UTC vs.
Revision 1.18 by pjm2, Wed Mar 21 16:46:08 2001 UTC

# Line 43 | Line 43 | function printAlert($machine, $alert, $small="") {
43      if ($small == "true") {
44          echo <<<EOT
45              <tr>
46 +             <td width="50">
47 +              &nbsp;
48 +             </td>
49 +             <td align="left">
50 +              <font size="2" color="$alertColour"><b>$alertLevel</b></font>
51 +             </td>
52 +             <td align="left">
53 +              <font size="2">$attributeName</font>
54 +             </td>
55               <td>
56 <              <font size="2">$attributeName <font color="$alertColour"><b>$alertLevel</b></font></font>
56 >              &nbsp;
57               </td>
58              </tr>
59   EOT;
# Line 86 | Line 95 | function printReports($machine, $small="") {
95    
96      if ($small == "true") {
97          echo <<<EOT
98 <           <table border="0" cellpadding="2" cellspacing="0" bgcolor="#ffffff" width="100%">
98 >           <table border="0" cellpadding="2" cellspacing="0">
99              <tr>
100 <             <td bgcolor="#000066">
101 <              <font color="white"><b>$machine</b></font>
100 >             <td colspan="4">
101 >              <b>$machine</b>
102               </td>
103              </tr>
104   EOT;
# Line 152 | Line 161 | EOT;
161  
162   <? include($titleHTML); ?>
163  
155 <? printLine("Latest alerts for hosts"); ?>
156
164   <? if (!$hideform) { ?>
165 +
166 + <? printLine("Latest alerts for hosts"); ?>
167  
168   <form method="<? echo $formMethod ?>" action="<? echo $thisPage ?>">
169   <?

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines