diff options
author | Colin Fleming <cj_fleming@sky.com> | 2015-11-20 21:52:11 +0000 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-21 13:15:18 -0500 |
commit | ea792608e8aab65bdb8635783a394c17de5ddd17 (patch) | |
tree | c6ff2ccd206c6804eed5770c6381e7d87e740ff4 /src/usr/local/www/widgets | |
parent | 5cc910f3fc75ead325c4272df2a7ea8981c953b8 (diff) | |
download | pfsense-ea792608e8aab65bdb8635783a394c17de5ddd17.zip pfsense-ea792608e8aab65bdb8635783a394c17de5ddd17.tar.gz |
Tidy up "services_status.widget.php"
Update code style
Close TH tags properly
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r-- | src/usr/local/www/widgets/widgets/services_status.widget.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/local/www/widgets/widgets/services_status.widget.php b/src/usr/local/www/widgets/widgets/services_status.widget.php index d942c10..f1dbe6b 100644 --- a/src/usr/local/www/widgets/widgets/services_status.widget.php +++ b/src/usr/local/www/widgets/widgets/services_status.widget.php @@ -65,11 +65,11 @@ require_once("/usr/local/www/widgets/include/services_status.inc"); $services = get_services(); -if(isset($_POST['servicestatusfilter'])) { +if (isset($_POST['servicestatusfilter'])) { $validNames = array(); - foreach ($services as $service) + foreach ($services as $service) { array_push($validNames, $service['name']); - + } $config['widgets']['servicestatusfilter'] = implode(',', array_intersect($validNames, $_POST['servicestatusfilter'])); write_config("Saved Service Status Filter via Dashboard"); header("Location: /"); @@ -79,9 +79,9 @@ if(isset($_POST['servicestatusfilter'])) { <thead> <tr> <th></th> - <th>Service</td> - <th>Description</td> - <th>Action</td> + <th>Service</th> + <th>Description</th> + <th>Action</th> </tr> </thead> <tbody> |