aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound/unbound_status.php
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2011-06-12 16:09:39 +0200
committerWarren Baker <warren@decoy.co.za>2011-06-12 16:09:39 +0200
commitec437bd2e056cf2cbce378c30a88ac56a2c55d2e (patch)
tree6d844ed7c4e71b03119f465d31b529146fefbb3d /config/unbound/unbound_status.php
parentd1a76d47f2564975c5c6c852acfccfd405cd80fd (diff)
downloadpfsense-packages-ec437bd2e056cf2cbce378c30a88ac56a2c55d2e.tar.gz
pfsense-packages-ec437bd2e056cf2cbce378c30a88ac56a2c55d2e.tar.bz2
pfsense-packages-ec437bd2e056cf2cbce378c30a88ac56a2c55d2e.zip
Cater for Advanced page.
Diffstat (limited to 'config/unbound/unbound_status.php')
-rw-r--r--config/unbound/unbound_status.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/config/unbound/unbound_status.php b/config/unbound/unbound_status.php
index 52dfc49d..405b24d4 100644
--- a/config/unbound/unbound_status.php
+++ b/config/unbound/unbound_status.php
@@ -39,10 +39,6 @@ if(!is_process_running("unbound")) {
$pgtitle = "Services: Unbound DNS Forwarder: Status";
include("head.inc");
-$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
-if(strstr($pfSversion, "1.2"))
- $one_two = true;
-
function doCmdT($title, $command, $rows) {
echo "<p>\n";
echo "<a name=\"" . $title . "\">\n";
@@ -121,10 +117,6 @@ function execCmds() {
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<?php if($one_two): ?>
-<p class="pgtitle"><?=$pgtitle?></font></p>
-<?php endif; ?>
-
<?php if ($savemsg) print_info_box($savemsg); ?>
<div id="mainlevel">
@@ -134,9 +126,10 @@ function execCmds() {
<?php
$tab_array = array();
$tab_array[] = array(gettext("Unbound DNS Settings"), false, "/pkg_edit.php?xml=unbound.xml&amp;id=0");
+ $tab_array[] = array(gettext("Unbound DNS Advanced Settings"), false, "/pkg_edit.php?xml=unbound_advanced.xml&amp;id=0");
$tab_array[] = array(gettext("Unbound DNS ACLs"), false, "/pkg.php?xml=unbound_acls.xml");
$tab_array[] = array(gettext("Unbound DNS Status"), true, "/unbound_status.php");
- display_top_tabs($tab_array);
+ display_top_tabs($tab_array, true);
?>
</td>
</tr>