diff options
-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"> |