aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-12 18:29:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-12 18:29:36 +0000
commit7828ed0e9fc96f8242ecf7b9f78bd354af2938ee (patch)
tree0180ae8de74c712addc59799ebea094529f08b00
parent3a60c08ff745dde15bcf13e4055d589acd2e367d (diff)
downloadpfsense-packages-7828ed0e9fc96f8242ecf7b9f78bd354af2938ee.tar.gz
pfsense-packages-7828ed0e9fc96f8242ecf7b9f78bd354af2938ee.tar.bz2
pfsense-packages-7828ed0e9fc96f8242ecf7b9f78bd354af2938ee.zip
Add missing tabs
-rw-r--r--packages/tinydns/tinydns.xml4
-rw-r--r--packages/tinydns/tinydns_domains.xml4
-rw-r--r--packages/tinydns/tinydns_status.php1
-rw-r--r--packages/tinydns/tinydns_sync.xml23
-rw-r--r--packages/tinydns/tinydns_view_logs.php2
5 files changed, 34 insertions, 0 deletions
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 @@
<text>Logs</text>
<url>/tinydns_view_logs.php</url>
</tab>
+ <tab>
+ <text>Sync</text>
+ <url>/pkg_edit.php?xml=tinydns_sync.xml&amp;id=0</url>
+ </tab>
</tabs>
<aftersaveredirect>/pkg_edit.php?xml=tinydns.xml&amp;id=0</aftersaveredirect>
<additional_files_needed>
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 @@
<text>Logs</text>
<url>/tinydns_view_logs.php</url>
</tab>
+ <tab>
+ <text>Sync</text>
+ <url>/pkg_edit.php?xml=tinydns_sync.xml&amp;id=0</url>
+ </tab>
</tabs>
<adddeleteeditpagefields>
<columnitem>
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);
?>
</table>
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']);
</custom_php_resync_config_command>
<include_file>/usr/local/pkg/tinydns.inc</include_file>
+ <tabs>
+ <tab>
+ <text>Settings</text>
+ <url>/pkg_edit.php?xml=tinydns.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Domains</text>
+ <url>/tinydns_filter.php</url>
+ </tab>
+ <tab>
+ <text>Status</text>
+ <url>/tinydns_status.php</url>
+ </tab>
+ <tab>
+ <text>Logs</text>
+ <url>/tinydns_view_logs.php</url>
+ </tab>
+ <tab>
+ <text>Sync</text>
+ <url>/pkg_edit.php?xml=tinydns_sync.xml&amp;id=0</url>
+ <active/>
+ </tab>
+ </tabs>
<fields>
<field>
<fieldname>ipaddress</fieldname>
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);
?>
</table>
@@ -71,3 +72,4 @@ $tinydnslogs = `cat /etc/tinydns/log/main/current | /usr/local/bin/tai64nlocal |
<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">
</body>
</html>
+