aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns/tinydns_status.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tinydns/tinydns_status.php')
-rw-r--r--packages/tinydns/tinydns_status.php8
1 files changed, 8 insertions, 0 deletions
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">