diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-06 00:54:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-06 00:54:52 +0000 |
commit | 907e49b8c9686e9e4e8b4fc2e953607bbcc3f0de (patch) | |
tree | 2c8279085569bd6c924db874e249e42665308ea0 /usr/local/www/status_services.php | |
parent | 35923c7fe3bdaa00932d2763365e97714ce9ebe3 (diff) | |
download | pfsense-907e49b8c9686e9e4e8b4fc2e953607bbcc3f0de.zip pfsense-907e49b8c9686e9e4e8b4fc2e953607bbcc3f0de.tar.gz |
Show when no services are available
Diffstat (limited to 'usr/local/www/status_services.php')
-rwxr-xr-x | usr/local/www/status_services.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php index de66aac..efa759f 100755 --- a/usr/local/www/status_services.php +++ b/usr/local/www/status_services.php @@ -168,8 +168,12 @@ if ($dh) } echo "</center></td>"; echo "</tr>"; + $counter++; } +if($counter == 0) + echo "<tr><td colspan=5><center>Could not locate any services.</td></tr>"; + ?> <tr><td> </td></tr> |