summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_captiveportal_hostname.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-12-16 22:19:45 +0545
committerPhil Davis <phil.davis@inf.org>2015-12-16 22:19:45 +0545
commit8e048cc13a6eae2ab72f08f4c5d6fdc94ddf7a8a (patch)
treef63965a3be0f6c551cc973fe327d0b2fe58bf7e7 /src/usr/local/www/services_captiveportal_hostname.php
parent2eb5a0bf9d69fbedc6d4e9c1b5665ce9e6396c2a (diff)
downloadpfsense-8e048cc13a6eae2ab72f08f4c5d6fdc94ddf7a8a.zip
pfsense-8e048cc13a6eae2ab72f08f4c5d6fdc94ddf7a8a.tar.gz
Code style services captive portal
Diffstat (limited to 'src/usr/local/www/services_captiveportal_hostname.php')
-rw-r--r--src/usr/local/www/services_captiveportal_hostname.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/usr/local/www/services_captiveportal_hostname.php b/src/usr/local/www/services_captiveportal_hostname.php
index ca2d884..c40694a 100644
--- a/src/usr/local/www/services_captiveportal_hostname.php
+++ b/src/usr/local/www/services_captiveportal_hostname.php
@@ -130,8 +130,9 @@ if ($_GET['act'] == "del" && !empty($cpzone) && isset($cpzoneid)) {
include("head.inc");
-if ($savemsg)
+if ($savemsg) {
print_info_box($savemsg);
+}
$tab_array = array();
$tab_array[] = array(gettext("Configuration"), false, "services_captiveportal.php?zone={$cpzone}");
@@ -175,11 +176,11 @@ $i++;
endforeach; ?>
<tbody>
</table>
- <?=$directionicons['to'] . ' = ' . sprintf(gettext('All connections %sto%s the hostname are allowed'), '<u>','</u>') . ', '?>
- <?=$directionicons['from'] . ' = ' . sprintf(gettext('All connections %sfrom%s the hostname are allowed'), '<u>','</u>') . ', '?>
- <?=$directionicons['both'] . ' = ' . sprintf(gettext('All connections %sto or from%s are allowed'), '<u>','</u>')?>
+ <?=$directionicons['to'] . ' = ' . sprintf(gettext('All connections %sto%s the hostname are allowed'), '<u>', '</u>') . ', '?>
+ <?=$directionicons['from'] . ' = ' . sprintf(gettext('All connections %sfrom%s the hostname are allowed'), '<u>', '</u>') . ', '?>
+ <?=$directionicons['both'] . ' = ' . sprintf(gettext('All connections %sto or from%s are allowed'), '<u>', '</u>')?>
<?php
-else :
+else:
?>
</tbody>
</table>
OpenPOWER on IntegriCloud