aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dspam
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2006-07-22 16:03:50 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2006-07-22 16:03:50 +0000
commit501266a8ab0b54de5c1f7cb0f909a5bf4f205727 (patch)
tree560db88db5d89a2c68f783686f2cccfa4c8a5b3c /packages/dspam
parentf5677ec853ffade569095b7feeaadbeebee9929e (diff)
downloadpfsense-packages-501266a8ab0b54de5c1f7cb0f909a5bf4f205727.tar.gz
pfsense-packages-501266a8ab0b54de5c1f7cb0f909a5bf4f205727.tar.bz2
pfsense-packages-501266a8ab0b54de5c1f7cb0f909a5bf4f205727.zip
- added CDATA wrapper
Diffstat (limited to 'packages/dspam')
-rw-r--r--packages/dspam/www/wizards/dspam_wizard.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/dspam/www/wizards/dspam_wizard.xml b/packages/dspam/www/wizards/dspam_wizard.xml
index 659eaff1..32508279 100644
--- a/packages/dspam/www/wizards/dspam_wizard.xml
+++ b/packages/dspam/www/wizards/dspam_wizard.xml
@@ -12,6 +12,7 @@
<javascriptafterformdisplay />
-->
<copyright>
+<![CDATA[
/*
dspam_wizard.xml
part of pfSense (http://www.pfsense.org/)
@@ -19,6 +20,7 @@
Copyright (C) 2006 Daniel S. Haischt
All rights reserved.
*/
+]]>
</copyright>
<totalsteps>15</totalsteps>
<title>Services: DSPAM: DSPAM Wizard</title>
@@ -116,6 +118,7 @@ do this with Postfix.
</field>
</fields>
<stepsubmitphpaction>
+ <![CDATA[
if($_POST['dspamprofile'] != "") {
/* set default trusted users */
@@ -224,6 +227,7 @@ do this with Postfix.
write_config();
}
+ ]]>
</stepsubmitphpaction>
</step>
<step>
@@ -517,6 +521,7 @@ do this with Postfix.
</field>
</fields>
<stepsubmitphpaction>
+ <![CDATA[
if ($_POST['storagedriver'] == "mysql") {
/* ============================================================================================= */
/* == SQLite == */
@@ -697,8 +702,10 @@ do this with Postfix.
unset($config['installedpackages']['dspam']['config'][0]['dbsettings'][0]['ora-password']);
unset($config['installedpackages']['dspam']['config'][0]['dbsettings'][0]['ora-schema']);
}
+ ]]>
</stepsubmitphpaction>
<javascriptafterformdisplay>
+ <![CDATA[
function toggleDBSettings(idx) {
if (idx)
idx = idx;
@@ -1088,6 +1095,7 @@ do this with Postfix.
}
toggleDBSettings(0);
+ ]]>
</javascriptafterformdisplay>
</step>
<step>
@@ -1137,6 +1145,7 @@ do this with Postfix.
<name>dspamc</name>
<description>Use &lt;code&gt;dspamc&lt;/code&gt; instead of &lt;code&gt;dspam&lt;/code&gt; to locally deliver mails from the MTA to the user's mailbox (this pulls in DSPAM client/server settings).</description>
<type>checkbox</type>
+ <bindstofield>installedpackages->dspam->config->0->thin-client</bindstofield>
</field>
<field>
<donotdisable>true</donotdisable>
@@ -1207,6 +1216,7 @@ do this with Postfix.
</field>
</fields>
<stepsubmitphpaction>
+ <![CDATA[
if($_POST['dspamc'] != "") {
/* DSPAM server settings */
$config['installedpackages']['dspam']['config'][0]['dspam-server-port'] = "24";
@@ -1230,6 +1240,7 @@ do this with Postfix.
$config['installedpackages']['dspam']['config'][0]['dspam-client-id'] = "secret@Relay1";
write_config();
}
+ ]]>
</stepsubmitphpaction>
</step>
<step>
@@ -1819,12 +1830,16 @@ do this with Postfix.
You can click on the icon above to access the site more quickly.
</description>
<javascriptafterformdisplay>
+ <![CDATA[
window.setTimeout('window.location.href = "/dspam-settings.php"', 120000);
+ ]]>
</javascriptafterformdisplay>
<stepafterformdisplay>
+ <![CDATA[
dspam_configure();
mwexec("/usr/local/etc/rc.d/spamd.sh stop");
mwexec("/usr/local/etc/rc.d/spamd.sh start");
+ ]]>
</stepafterformdisplay>
</step>
</pfsensewizard>