diff options
author | Phil Davis <phil.davis@inf.org> | 2015-12-17 08:56:27 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-12-17 08:56:27 +0545 |
commit | 20db3e1adb437d8e094077e33e402ff805122a82 (patch) | |
tree | f6804fef026b9cae9c7391d897f220a84cf203e4 /src/usr/local/www/services_ntpd_pps.php | |
parent | 8152403354e59b40c518414523383c11fdc1a155 (diff) | |
download | pfsense-20db3e1adb437d8e094077e33e402ff805122a82.zip pfsense-20db3e1adb437d8e094077e33e402ff805122a82.tar.gz |
Code style services
Diffstat (limited to 'src/usr/local/www/services_ntpd_pps.php')
-rw-r--r-- | src/usr/local/www/services_ntpd_pps.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/local/www/services_ntpd_pps.php b/src/usr/local/www/services_ntpd_pps.php index 615c5d7..98c1b37 100644 --- a/src/usr/local/www/services_ntpd_pps.php +++ b/src/usr/local/www/services_ntpd_pps.php @@ -137,11 +137,13 @@ $pgtitle = array(gettext("Services"), gettext("NTP"), gettext("PPS")); $shortcut_section = "ntp"; include("head.inc"); -if ($input_errors) +if ($input_errors) { print_input_errors($input_errors); +} -if ($savemsg) +if ($savemsg) { print_info_box($savemsg, 'success'); +} $tab_array = array(); $tab_array[] = array(gettext("NTP"), false, "services_ntpd.php"); @@ -168,7 +170,7 @@ if (!empty($serialports)) { $splist = array(); foreach ($serialports as $port) { - $shortport = substr($port,5); + $shortport = substr($port, 5); $splist[$shortport] = $shortport; } |