aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/tinydns/tinydns.xml6
-rw-r--r--packages/tinydns/tinydns_domains.xml9
-rw-r--r--packages/tinydns/tinydns_filter.php4
3 files changed, 18 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns.xml b/packages/tinydns/tinydns.xml
index 534ae751..00f4d857 100644
--- a/packages/tinydns/tinydns.xml
+++ b/packages/tinydns/tinydns.xml
@@ -13,7 +13,11 @@
<text>TinyDNS Settings</text>
<url>/pkg_edit.php?xml=tinydns.xml&amp;id=0</url>
<active/>
- </tab>
+ </tab>
+ <tab>
+ <text>TinyDNS</text>
+ <url>/tinydns_filter.php</url>
+ </tab>
<aftersaveredirect>/pkg_edit.php?xml=tinydns.xml&amp;id=0</aftersaveredirect>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
diff --git a/packages/tinydns/tinydns_domains.xml b/packages/tinydns/tinydns_domains.xml
index da34c2fa..9e739b5a 100644
--- a/packages/tinydns/tinydns_domains.xml
+++ b/packages/tinydns/tinydns_domains.xml
@@ -3,6 +3,15 @@
<name>tinydnsdomains</name>
<configpath>installedpackages->package->tinydnsdomains</configpath>
<include_file>/usr/local/pkg/tinydns.inc</include_file>
+ <tab>
+ <text>TinyDNS Settings</text>
+ <url>/pkg_edit.php?xml=tinydns.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>TinyDNS</text>
+ <url>/tinydns_filter.php</url>
+ <active/>
+ </tab>
<fields>
<field>
<fieldname>Hostname/Domain</fieldname>
diff --git a/packages/tinydns/tinydns_filter.php b/packages/tinydns/tinydns_filter.php
index ae0f166e..88819932 100644
--- a/packages/tinydns/tinydns_filter.php
+++ b/packages/tinydns/tinydns_filter.php
@@ -29,6 +29,10 @@
POSSIBILITY OF SUCH DAMAGE.
*/
+/* for now, redirect to unsorted raw CoreGUI page */
+Header("Location: pkg.php?xml=tinydns_domains.xml");
+exit;
+
require("/usr/local/pkg/tinydns.inc");
?> \ No newline at end of file