aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-28 06:33:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-28 06:33:34 +0000
commitaec02e121f347a0217bb0bb81cbe2ef6d68f8cac (patch)
treeca19f9195d0e2f41241ca04ce52508ff8263b252
parentf14bf6559dbbdf033bd1cbd38b8d9a4da54bad20 (diff)
downloadpfsense-packages-aec02e121f347a0217bb0bb81cbe2ef6d68f8cac.tar.gz
pfsense-packages-aec02e121f347a0217bb0bb81cbe2ef6d68f8cac.tar.bz2
pfsense-packages-aec02e121f347a0217bb0bb81cbe2ef6d68f8cac.zip
* Enable aftersaveredirect
* Lock settings down to first record
-rw-r--r--packages/spamd.xml2
-rw-r--r--packages/spamd_settings.xml5
-rw-r--r--packages/spamd_whitelist.xml2
3 files changed, 5 insertions, 4 deletions
diff --git a/packages/spamd.xml b/packages/spamd.xml
index de219b4f..af736f83 100644
--- a/packages/spamd.xml
+++ b/packages/spamd.xml
@@ -27,7 +27,7 @@
</tab>
<tab>
<text>SpamD Settings</text>
- <url>/pkg.php?xml=spamd_settings.xml</url>
+ <url>/pkg.php?xml=spamd_settings.xml&amp;id=0</url>
</tab>
</tabs>
<additional_files_needed>
diff --git a/packages/spamd_settings.xml b/packages/spamd_settings.xml
index c335d243..b3b7c534 100644
--- a/packages/spamd_settings.xml
+++ b/packages/spamd_settings.xml
@@ -3,7 +3,8 @@
<name>spamdsettings</name>
<version>0.1.0</version>
<include_file>/usr/local/pkg/spamd.inc</include_file>
- <title></title>
+ <title>SpamD Settings</title>
+ <aftersaveredirect>pkg_edit.php?xml=ntop.xml&amp;id=0</aftersaveredirect>
<!-- Menu is where this packages menu will appear -->
<menu>
<name>SpamD</name>
@@ -26,7 +27,7 @@
</tab>
<tab>
<text>SpamD Settings</text>
- <url>/pkg.php?xml=spamd_settings.xml</url>
+ <url>/pkg.php?xml=spamd_settings.xml&amp;id=0</url>
<active/>
</tab>
</tabs>
diff --git a/packages/spamd_whitelist.xml b/packages/spamd_whitelist.xml
index 04c6c046..bf8f2df2 100644
--- a/packages/spamd_whitelist.xml
+++ b/packages/spamd_whitelist.xml
@@ -22,7 +22,7 @@
</tab>
<tab>
<text>SpamD Settings</text>
- <url>/pkg.php?xml=spamd_settings.xml</url>
+ <url>/pkg.php?xml=spamd_settings.xml&amp;id=0</url>
</tab>
</tabs>
<!-- configpath gets expanded out automatically and config items will be