diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-17 16:22:06 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-17 16:22:06 -0500 |
commit | 862e371e1bfb592ee7d8de73aaad69a34bbcc3a8 (patch) | |
tree | 82d38aaabb38c4b73c0da4050c10f2910eff3a40 | |
parent | 4dc2172250423fcd338e2dd6fe9d01dd3d110b77 (diff) | |
parent | 60d874352513a8ce678c100a1a4d6b8e760fe2cd (diff) | |
download | pfsense-862e371e1bfb592ee7d8de73aaad69a34bbcc3a8.zip pfsense-862e371e1bfb592ee7d8de73aaad69a34bbcc3a8.tar.gz |
Merge pull request #2458 from phil-davis/patch-5
-rw-r--r-- | src/usr/local/www/easyrule.php | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/src/usr/local/www/easyrule.php b/src/usr/local/www/easyrule.php index 5363adc..ceca6f7 100644 --- a/src/usr/local/www/easyrule.php +++ b/src/usr/local/www/easyrule.php @@ -87,9 +87,7 @@ if (stristr($retval, "error") == true) { $message = $retval; } -include("head.inc"); ?> - -include("fbegin.inc"); +include("head.inc"); ?> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> @@ -99,17 +97,22 @@ if ($input_errors) { print_input_errors($input_errors); } -if ($message) { ?> +if ($message) { +?> <br /> <?=gettext("Message"); ?>: <?=$message;?> <br /> -<?php } else { ?> -<?=gettext("This is the Easy Rule status page, mainly used to display errors when adding rules. " . -"If you are seeing this, there apparently was not an error, and you navigated to the " . -"page directly without telling it what to do"); ?>.<br /><br /> -<?=gettext("This page is meant to be called from the block/pass buttons on the Firewall Logs page"); ?>, <a href="status_logs_filter.php"><?=gettext("Status"); ?> > <?=gettext("System Logs, " . -"Firewall Tab"); ?></a>. -<br /> -<?php } ?> -</td></tr></table> +<?php +} else { + print_info_box( + gettext('This is the Easy Rule status page, mainly used to display errors when adding rules.') . ' ' . + gettext('If you are seeing this, there apparently was not an error, and you navigated to the page directly without telling it what to do.') . + '<br /><br />' . + gettext('This page is meant to be called from the block/pass buttons on the Firewall Logs page') . + ', <a href="status_logs_filter.php">' . gettext("Status") . ' > ' . gettext('System Logs') . ', ' . gettext('Firewall Tab') . '</a>.<br />'); +} +?> + </td> + </tr> +</table> <?php include("foot.inc"); ?> |