summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-18 20:24:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-18 20:24:50 +0000
commite48fc17dce36492e61fc7be6d953813953fd82cd (patch)
tree6615a2b732c8bf37c910fd4f2c7b62dd9aa31008 /usr/local/www/wizards
parent57333fa05a7270f0d6e51c78f64b7e1ab968b7ce (diff)
downloadpfsense-e48fc17dce36492e61fc7be6d953813953fd82cd.zip
pfsense-e48fc17dce36492e61fc7be6d953813953fd82cd.tar.gz
The wizard system now works!
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/setup_wizard.xml25
1 files changed, 15 insertions, 10 deletions
diff --git a/usr/local/www/wizards/setup_wizard.xml b/usr/local/www/wizards/setup_wizard.xml
index 8baec75..1eca410 100644
--- a/usr/local/www/wizards/setup_wizard.xml
+++ b/usr/local/www/wizards/setup_wizard.xml
@@ -1,13 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
-<pfSenseWizard>
+<pfsensewizard>
<totalsteps>2</totalsteps>
<step>
<id>1</id>
<title>pfSense Setup Wizard</title>
<description>This wizard will guide you through installing pfSense initially.</description>
<fields>
- <name>Next</name>
- <type>submit</type>
+ <field>
+ <name>Next</name>
+ <type>submit</type>
+ </field>
</fields>
</step>
<step>
@@ -18,10 +20,14 @@
<field>
<name>Primary DNS Server</name>
<type>input</type>
+ <bindstofield>system->dnsserver</bindstofield>
+ <!-- we must unset the fields because this is an array. -->
+ <unsetfield>yes</unsetfield>
</field>
<field>
<name>Secondary DNS Server</name>
<type>input</type>
+ <bindstofield>system->dnsserver</bindstofield>
</field>
<field>
<name>Next</name>
@@ -1696,16 +1702,16 @@
</field>
</fields>
<stepsubmitphpaction>
- mwxec("date " . $_POST['Date'] . $_POST['Time']);
+ system("date " . $_POST['Date'] . $_POST['Time']);
</stepsubmitphpaction>
</step>
<step>
<id>4</id>
- <title>Configure WAN</title>
+ <title>Configure WAN Interface</title>
<description>On this screen we will configure the Wide Area Network information.</description>
<fields>
<field>
- <name>WAN IP Address:</name>
+ <name>WAN IP Address</name>
<type>input</type>
</field>
<field>
@@ -1850,11 +1856,11 @@
</step>
<step>
<id>5</id>
- <title>Configure LAN</title>
+ <title>Configure LAN Interface</title>
<description>On this screen we will configure the Local Area Network information.</description>
<fields>
<field>
- <name>LAN IP Address:</name>
+ <name>LAN IP Address</name>
<type>input</type>
</field>
<field>
@@ -1989,7 +1995,6 @@
<name>32</name>
<value>32</value>
</option>
-
</options>
</field>
</fields>
@@ -2020,4 +2025,4 @@
</field>
</fields>
</step>
-</pfSenseWizard> \ No newline at end of file
+</pfsensewizard> \ No newline at end of file
OpenPOWER on IntegriCloud