diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/tinydns/tinydns.xml | 4 | ||||
-rw-r--r-- | packages/tinydns/tinydns_dhcp_filter.php | 8 | ||||
-rw-r--r-- | packages/tinydns/tinydns_domains.xml | 4 | ||||
-rw-r--r-- | packages/tinydns/tinydns_status.php | 1 | ||||
-rw-r--r-- | packages/tinydns/tinydns_sync.xml | 4 | ||||
-rw-r--r-- | packages/tinydns/tinydns_view_logs.php | 1 |
6 files changed, 7 insertions, 15 deletions
diff --git a/packages/tinydns/tinydns.xml b/packages/tinydns/tinydns.xml index 4afffdba..0e5f06a0 100644 --- a/packages/tinydns/tinydns.xml +++ b/packages/tinydns/tinydns.xml @@ -69,10 +69,6 @@ <active/> </tab> <tab> - <text>View Records</text> - <url>/tinydns_dhcp_filter.php</url> - </tab> - <tab> <text>Add/Edit Record</text> <url>/tinydns_filter.php</url> </tab> diff --git a/packages/tinydns/tinydns_dhcp_filter.php b/packages/tinydns/tinydns_dhcp_filter.php index f96554ac..3467bcae 100644 --- a/packages/tinydns/tinydns_dhcp_filter.php +++ b/packages/tinydns/tinydns_dhcp_filter.php @@ -29,6 +29,13 @@ POSSIBILITY OF SUCH DAMAGE. */ +##|+PRIV +##|*IDENT=page-tinydns-dhcp-filter +##|*NAME=TinyDNS: DHCP Domains +##|*DESCR=Allow access to the TinyDNS View Domains page +##|*MATCH=tinydns_dhcp_filter* +##|-PRIV + require("/usr/local/pkg/tinydns.inc"); require("guiconfig.inc"); @@ -54,7 +61,6 @@ if(strstr($pfSversion, "1.2")) <?php $tab_array = array(); $tab_array[] = array(gettext("Settings"), false, "/pkg_edit.php?xml=tinydns.xml&id=0"); - $tab_array[] = array(gettext("View Records"), true, "/tinydns_dhcp_filter.php"); $tab_array[] = array(gettext("Add/Edit Record"), false, "/tinydns_filter.php"); $tab_array[] = array(gettext("Status"), false, "/tinydns_status.php"); $tab_array[] = array(gettext("Logs"), false, "/tinydns_view_logs.php"); diff --git a/packages/tinydns/tinydns_domains.xml b/packages/tinydns/tinydns_domains.xml index de514c3b..ddaec61a 100644 --- a/packages/tinydns/tinydns_domains.xml +++ b/packages/tinydns/tinydns_domains.xml @@ -51,10 +51,6 @@ <url>/pkg_edit.php?xml=tinydns.xml&id=0</url> </tab> <tab> - <text>View Records</text> - <url>/tinydns_dhcp_filter.php</url> - </tab> - <tab> <text>Add/Edit Record</text> <url>/tinydns_filter.php</url> <active/> diff --git a/packages/tinydns/tinydns_status.php b/packages/tinydns/tinydns_status.php index 1ea7fb7d..41b33f8b 100644 --- a/packages/tinydns/tinydns_status.php +++ b/packages/tinydns/tinydns_status.php @@ -60,7 +60,6 @@ if(strstr($pfSversion, "1.2")) <?php $tab_array = array(); $tab_array[] = array(gettext("Settings"), false, "/pkg_edit.php?xml=tinydns.xml&id=0"); - $tab_array[] = array(gettext("View Records"), false, "/tinydns_dhcp_filter.php"); $tab_array[] = array(gettext("Add/Edit Record"), false, "/tinydns_filter.php"); $tab_array[] = array(gettext("Status"), true, "/tinydns_status.php"); $tab_array[] = array(gettext("Logs"), false, "/tinydns_view_logs.php"); diff --git a/packages/tinydns/tinydns_sync.xml b/packages/tinydns/tinydns_sync.xml index d5eb6722..ca7af41d 100644 --- a/packages/tinydns/tinydns_sync.xml +++ b/packages/tinydns/tinydns_sync.xml @@ -51,10 +51,6 @@ <url>/pkg_edit.php?xml=tinydns.xml&id=0</url> </tab> <tab> - <text>View Records</text> - <url>/tinydns_dhcp_filter.php</url> - </tab> - <tab> <text>Add/Edit Record</text> <url>/tinydns_filter.php</url> </tab> diff --git a/packages/tinydns/tinydns_view_logs.php b/packages/tinydns/tinydns_view_logs.php index 78841d18..4774c7b0 100644 --- a/packages/tinydns/tinydns_view_logs.php +++ b/packages/tinydns/tinydns_view_logs.php @@ -59,7 +59,6 @@ if ($_POST['clear']) { <?php $tab_array = array(); $tab_array[] = array(gettext("Settings"), false, "/pkg_edit.php?xml=tinydns.xml&id=0"); - $tab_array[] = array(gettext("View Records"), false, "/tinydns_dhcp_filter.php"); $tab_array[] = array(gettext("Add/Edit Record"), false, "/tinydns_filter.php"); $tab_array[] = array(gettext("Status"), false, "/tinydns_status.php"); $tab_array[] = array(gettext("Logs"), true, "/tinydns_view_logs.php"); |