From a6550398463b300e733b0f5d81d50b41f301e2b4 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 25 Oct 2008 00:58:22 +0000 Subject: Only show page title on 1.2 --- packages/tinydns/tinydns_dhcp_filter.php | 8 ++++++++ packages/tinydns/tinydns_status.php | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'packages') 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; + ?> + +

+ +
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; + ?> + +

+ +
-- cgit v1.2.3