aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns/tinydns_view_logs.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-25 03:21:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-25 03:21:28 +0000
commitd0a754b4c85b0ac21cfc3175b35aaae6cffbabf0 (patch)
treebd9161b5d181e3d682a590d9f7fcea57683ec613 /packages/tinydns/tinydns_view_logs.php
parent33c8c2fb9750f46ddc50afa8aebc95aaf090e93a (diff)
downloadpfsense-packages-d0a754b4c85b0ac21cfc3175b35aaae6cffbabf0.tar.gz
pfsense-packages-d0a754b4c85b0ac21cfc3175b35aaae6cffbabf0.tar.bz2
pfsense-packages-d0a754b4c85b0ac21cfc3175b35aaae6cffbabf0.zip
Only show pgtitle on 1.2
Diffstat (limited to 'packages/tinydns/tinydns_view_logs.php')
-rw-r--r--packages/tinydns/tinydns_view_logs.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/tinydns/tinydns_view_logs.php b/packages/tinydns/tinydns_view_logs.php
index 4774c7b0..e0948803 100644
--- a/packages/tinydns/tinydns_view_logs.php
+++ b/packages/tinydns/tinydns_view_logs.php
@@ -35,6 +35,10 @@ require("guiconfig.inc");
if(!$config['installedpackages']['tinydns']['config'][0])
Header("Location: /pkg_edit.php?xml=tinydns.xml&id=0");
+$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
+if(strstr($pfSversion, "1.2"))
+ $one_two = true;
+
$pgtitle = "TinyDNS: View Logs";
include("head.inc");
@@ -51,7 +55,11 @@ if ($_POST['clear']) {
?>
<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">