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.26 by pjm2, Thu Mar 22 17:26:31 2001 UTC vs.
Revision 1.27 by pjm2, Thu Mar 22 17:43:02 2001 UTC

# Line 52 | Line 52 | function printAlert($machine, $alert, $small="") {
52      $alertLevel = $alertLevelNames[$alertLevelNum];
53      $initialAlertTime = strftime("%x %X", intval($initialAlertTime / 1000));
54  
55 <    if ($small == "true") {
55 >    if ($small == "on") {
56          echo <<<EOT
57              <tr>
58               <td width="50">
# Line 113 | Line 113 | function printReports($machine, $small="") {
113      include("alerts_config.inc.php");
114      $alertArray = getdirArray("$alertDirectory/$machine", 'rsort');
115    
116 <    if ($small == "true") {
116 >    if ($small == "on") {
117          echo <<<EOT
118             <table border="0" cellpadding="2" cellspacing="0">
119              <tr>
# Line 160 | Line 160 | EOT;
160          }
161      }
162      else {
163 <        if ($small != "true") {
163 >        if ($small != "on") {
164              echo "There are currently no alerts held about <b>$machine</b>";
165              printLine("");
166          }
167      }
168  
169 <    if ($small == "true") {
169 >    if ($small == "on") {
170          echo "</table>";
171      }
172      else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines