diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-07 19:20:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-07 19:20:02 +0000 |
commit | d6de3a27553b815e49cbcc0bd4356b942b18882c (patch) | |
tree | e2b50a68296ba3b3d8b425faf267bff7f9d827f8 /packages/tinydns | |
parent | a52b68b2da34c284fba266fb971fa8df09d69c7b (diff) | |
download | pfsense-packages-d6de3a27553b815e49cbcc0bd4356b942b18882c.tar.gz pfsense-packages-d6de3a27553b815e49cbcc0bd4356b942b18882c.tar.bz2 pfsense-packages-d6de3a27553b815e49cbcc0bd4356b942b18882c.zip |
* For now, redirect from tinydns_filter.php directly to CoreGUI page until I write the code
* Add tabs for TinyDNS settings and TinyDNS data
Diffstat (limited to 'packages/tinydns')
-rw-r--r-- | packages/tinydns/tinydns.xml | 6 | ||||
-rw-r--r-- | packages/tinydns/tinydns_domains.xml | 9 | ||||
-rw-r--r-- | packages/tinydns/tinydns_filter.php | 4 |
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&id=0</url> <active/> - </tab> + </tab> + <tab> + <text>TinyDNS</text> + <url>/tinydns_filter.php</url> + </tab> <aftersaveredirect>/pkg_edit.php?xml=tinydns.xml&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&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 |