From 1f4162ea5249cd62ef32ed6b9c9bdc6fcf4e3635 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 26 Oct 2008 02:34:21 +0000 Subject: Add "TinyDNS Server logs as of $date" --- packages/tinydns/tinydns_view_logs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/tinydns') diff --git a/packages/tinydns/tinydns_view_logs.php b/packages/tinydns/tinydns_view_logs.php index 251cec2f..60af4a0d 100644 --- a/packages/tinydns/tinydns_view_logs.php +++ b/packages/tinydns/tinydns_view_logs.php @@ -33,6 +33,7 @@ require("guiconfig.inc"); if($_REQUEST['getactivity']) { $tinydnslogs = `cat /etc/tinydns/log/main/current | /usr/local/bin/tai64nlocal | php -f /usr/local/pkg/tinydns_parse_logs.php | grep -v ":0"`; + echo "TinyDNS Server logs as of " . date("D M j G:i:s T Y") . "\n\n"; echo $tinydnslogs; exit; } @@ -73,7 +74,7 @@ if ($_POST['clear']) { }); } function activitycallback(transport) { - $('tinydnslogs').innerHTML = '
' + transport.responseText  + '
'; + $('tinydnslogs').innerHTML = '
' + transport.responseText  + '
'; setTimeout('getlogactivity()', 2500); } setTimeout('getlogactivity()', 1000); -- cgit v1.2.3