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.14 by pjm2, Fri Mar 2 09:13:09 2001 UTC vs.
Revision 1.15 by pjm2, Fri Mar 2 09:25:05 2001 UTC

# Line 3 | Line 3
3   // Navigation for the i-scream reports.
4   // pjm2@ukc.ac.uk
5  
6 + # CONSTANTS
7  
8 + $minFileSize = 33;
9 +
10 +
11   function isReportEmpty($filename) {
12 <    if (filesize($filename) < 33) {
12 >    if (filesize($filename) < minFileSize) {
13          return TRUE;
14      }
15      return FALSE;
# Line 144 | Line 148 | function getdirArray($dir='./',$sort='asort') {
148              
149          <? }
150          else {
151 <            echo "<p>The report could not be found.</p>";
151 >            echo "<p>The report could not be found.  Somebody must have deleted it!</p>";
152          }
153          echo "<hr weight=\"1\" color=\"#9999ff\">";
154      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines