diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-25 00:58:22 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-25 00:58:22 +0000 |
commit | a6550398463b300e733b0f5d81d50b41f301e2b4 (patch) | |
tree | a9724a6651ab4068fdc21248e4f801b19c06ed20 /packages/tinydns | |
parent | f74d2652d81bd1ec9e1e37c1c546d0f2917ce248 (diff) | |
download | pfsense-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.php | 8 | ||||
-rw-r--r-- | packages/tinydns/tinydns_status.php | 8 |
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"> |