From 7828ed0e9fc96f8242ecf7b9f78bd354af2938ee Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 12 Feb 2007 18:29:36 +0000 Subject: Add missing tabs --- packages/tinydns/tinydns.xml | 4 ++++ packages/tinydns/tinydns_domains.xml | 4 ++++ packages/tinydns/tinydns_status.php | 1 + packages/tinydns/tinydns_sync.xml | 23 +++++++++++++++++++++++ packages/tinydns/tinydns_view_logs.php | 2 ++ 5 files changed, 34 insertions(+) (limited to 'packages') diff --git a/packages/tinydns/tinydns.xml b/packages/tinydns/tinydns.xml index 74a09fdb..18454b07 100644 --- a/packages/tinydns/tinydns.xml +++ b/packages/tinydns/tinydns.xml @@ -28,6 +28,10 @@ Logs /tinydns_view_logs.php + + Sync + /pkg_edit.php?xml=tinydns_sync.xml&id=0 + /pkg_edit.php?xml=tinydns.xml&id=0 diff --git a/packages/tinydns/tinydns_domains.xml b/packages/tinydns/tinydns_domains.xml index 18b6e82e..972cfd90 100644 --- a/packages/tinydns/tinydns_domains.xml +++ b/packages/tinydns/tinydns_domains.xml @@ -22,6 +22,10 @@ Logs /tinydns_view_logs.php + + Sync + /pkg_edit.php?xml=tinydns_sync.xml&id=0 + diff --git a/packages/tinydns/tinydns_status.php b/packages/tinydns/tinydns_status.php index 2f8382d6..b82b5835 100644 --- a/packages/tinydns/tinydns_status.php +++ b/packages/tinydns/tinydns_status.php @@ -52,6 +52,7 @@ include("head.inc"); $tab_array[] = array(gettext("Domains"), false, "/tinydns_filter.php"); $tab_array[] = array(gettext("Status"), true, "/tinydns_status.php"); $tab_array[] = array(gettext("Logs"), false, "/tinydns_view_logs.php"); + $tab_array[] = array(gettext("Logs"), false, "/pkg_edit.php?xml=tinydns_sync.xml&id=0"); display_top_tabs($tab_array); ?> diff --git a/packages/tinydns/tinydns_sync.xml b/packages/tinydns/tinydns_sync.xml index aa0c853b..3e74991a 100644 --- a/packages/tinydns/tinydns_sync.xml +++ b/packages/tinydns/tinydns_sync.xml @@ -8,6 +8,29 @@ tinydns_do_xmlrpc_sync($_POST['ipaddress'], $_POST['password']); /usr/local/pkg/tinydns.inc + + + Settings + /pkg_edit.php?xml=tinydns.xml&id=0 + + + Domains + /tinydns_filter.php + + + Status + /tinydns_status.php + + + Logs + /tinydns_view_logs.php + + + Sync + /pkg_edit.php?xml=tinydns_sync.xml&id=0 + + + ipaddress diff --git a/packages/tinydns/tinydns_view_logs.php b/packages/tinydns/tinydns_view_logs.php index 470d96a0..102e3f85 100644 --- a/packages/tinydns/tinydns_view_logs.php +++ b/packages/tinydns/tinydns_view_logs.php @@ -54,6 +54,7 @@ $tinydnslogs = `cat /etc/tinydns/log/main/current | /usr/local/bin/tai64nlocal | $tab_array[] = array(gettext("Domains"), false, "/tinydns_filter.php"); $tab_array[] = array(gettext("Status"), false, "/tinydns_status.php"); $tab_array[] = array(gettext("Logs"), true, "/tinydns_view_logs.php"); + $tab_array[] = array(gettext("Logs"), false, "/pkg_edit.php?xml=tinydns_sync.xml&id=0"); display_top_tabs($tab_array); ?> @@ -71,3 +72,4 @@ $tinydnslogs = `cat /etc/tinydns/log/main/current | /usr/local/bin/tai64nlocal | + -- cgit v1.2.3