diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-25 03:21:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-25 03:21:28 +0000 |
commit | d0a754b4c85b0ac21cfc3175b35aaae6cffbabf0 (patch) | |
tree | bd9161b5d181e3d682a590d9f7fcea57683ec613 /packages/tinydns/tinydns_view_logs.php | |
parent | 33c8c2fb9750f46ddc50afa8aebc95aaf090e93a (diff) | |
download | pfsense-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.php | 8 |
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"> |