From d0a754b4c85b0ac21cfc3175b35aaae6cffbabf0 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 25 Oct 2008 03:21:28 +0000 Subject: Only show pgtitle on 1.2 --- packages/tinydns/tinydns_view_logs.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'packages/tinydns/tinydns_view_logs.php') 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']) { ?> + +

+ +
-- cgit v1.2.3