summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/services_unbound_acls.php22
1 files changed, 5 insertions, 17 deletions
diff --git a/usr/local/www/services_unbound_acls.php b/usr/local/www/services_unbound_acls.php
index c7568c1..9d124e8 100644
--- a/usr/local/www/services_unbound_acls.php
+++ b/usr/local/www/services_unbound_acls.php
@@ -172,24 +172,12 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<form action="services_unbound_acls.php" method="post" name="iform" id="iform">
-<?php
-if (!$savemsg) {
- $savemsg = "";
-}
+<?php if ($input_errors) print_input_errors($input_errors); ?>
+<?php if ($savemsg) print_info_box($savemsg); ?>
+<?php if (is_subsystem_dirty('unbound')): ?><br/>
+<?php print_info_box_np(gettext("The configuration of the DNS Resolver, has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));?><br />
+<?php endif; ?>
-if ($input_errors) {
- print_input_errors($input_errors);
-}
-
-if ($savemsg) {
- print_info_box($savemsg);
-}
-
-if (is_subsystem_dirty("unbound")) {
- print_info_box_np(gettext("The settings for the DNS Resolver have changed. You must apply the configuration to take affect."));
-}
-
-?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="services unbound acls">
<tbody>
<tr>
OpenPOWER on IntegriCloud