aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-25 00:58:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-25 00:58:22 +0000
commita6550398463b300e733b0f5d81d50b41f301e2b4 (patch)
treea9724a6651ab4068fdc21248e4f801b19c06ed20 /packages/tinydns
parentf74d2652d81bd1ec9e1e37c1c546d0f2917ce248 (diff)
downloadpfsense-packages-a6550398463b300e733b0f5d81d50b41f301e2b4.tar.gz
pfsense-packages-a6550398463b300e733b0f5d81d50b41f301e2b4.tar.bz2
pfsense-packages-a6550398463b300e733b0f5d81d50b41f301e2b4.zip
Only show page title on 1.2
Diffstat (limited to 'packages/tinydns')
-rw-r--r--packages/tinydns/tinydns_dhcp_filter.php8
-rw-r--r--packages/tinydns/tinydns_status.php8
2 files changed, 16 insertions, 0 deletions
diff --git a/packages/tinydns/tinydns_dhcp_filter.php b/packages/tinydns/tinydns_dhcp_filter.php
index 5f141ebd..58893a3d 100644
--- a/packages/tinydns/tinydns_dhcp_filter.php
+++ b/packages/tinydns/tinydns_dhcp_filter.php
@@ -35,10 +35,18 @@ require("guiconfig.inc");
$pgtitle = "TinyDNS: DHCP Domains";
include("head.inc");
+$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
+if(strstr($pfSversion, "1.2"))
+ $one_two = true;
+
?>
<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">
diff --git a/packages/tinydns/tinydns_status.php b/packages/tinydns/tinydns_status.php
index bba010bf..b476e18c 100644
--- a/packages/tinydns/tinydns_status.php
+++ b/packages/tinydns/tinydns_status.php
@@ -38,10 +38,18 @@ if(!$config['installedpackages']['tinydns']['config'][0])
$pgtitle = "TinyDNS: Status";
include("head.inc");
+$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
+if(strstr($pfSversion, "1.2"))
+ $one_two = true;
+
?>
<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">