Use _SERVER['HTTP_HOST'] instead of lanip Resolves #157
Rework includes. Ticket #170
Resolves #170. Yet again include fallout changes.
Resolves #170. This is really a fallout from include changes. Pointy-hat: sullrich@
Remove support for all_interfaces from wizard.php it is not used anywhere. Convert the interfaces_selection to use the interface API.
Add alias completion support to wizard. Resolves #25
Fix some typos in wizard.php code introduced by previous commit.Add 'displayname' even to option fields of select.Convert traffic_shaper_wizard to use display better names with the introduced 'displayname'
Add a 'displayname' field to make it easier to print better labels for inputs.
Inculde wizard.css if it exists
Include wizard.css or all.css, wizard.css being the first
Include wizard.css if it exists after all.css
Requested-by: Holger
Set css
Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls2) Accurate generation of privilege definitions from source3) Merging the user and group privileges into a single set4) Allow any privilege to be added to users or groups w/ inheritance...
traffic shaping wizards are no longer special and they never should be!
Make scripts XSS input safe.
Pointed-out: by hoopercharles@gmail.com
Switch over to array style page titles. Obtained-from: m0n0wall
Correctly display POST messages
Fixup color code
Suggested-by: DSH
Move ending </body> and </html> down to end.
Noticed-by Daniel S
Kill carriage returns on timezone list
During the traffic shaping wizard turn the logo into a "abort" button. Clicking this will whipe the previous steps configuration.
MFC 10652Make wizard work on described OPT interfaces
MFC: For next snapshot
MFC 9611Ticket #792 - fix 6 month old shaper bug that caused erratic speeds and latencies. With a 10Mbit queue and 4 iperf jobs running through it in default and otherL queues, I can get an icmp through in otherH with a mere 25ms additional latency on average.
During traffic shaper wizard rewire the logo to remove shaper rules to basically abort the incremental shaper process
Remove #!/usr/local/bin/php
MFC 7995Add FieldValidate() JS function back - accidently removed in 1.28
MFC 7244Allow the wizard to send the user error messages
MFC 7243Make interface code look the same as other fields
MFC 7049Fix protocol detection for $myurl Stop $myurl from putting : in url when no alternate port is selected
Spell interfaces correctly
If the wizard step title is Reload in progress then set the top image url to the LAN ip so that it matches what the system will try to access in 120 seconds.
Add interface_selection box widget
Remove extra #
Change color to #333333
Suggested-by: hoba
Change rounded corner color to match the rest of the items
Round the corners
Use a white background
updating files to use theme imagesremoving images from /usr/local/wwwadding specific images into the correct theme directories
Code cleanup
include head.inc and round corners on tabs
use parse_xml_config_pkg()
Correctly popultae $myurl and friends
Fixes Ticket #179
xmlparse.inc is included already in config.inc which is included in guiconfig.inc
no more xmlparse_pkg.inc
No more xml_parse_config_pkg.
Restore form state upon loading.
Correctly handle checkboxes in the wizard
Add greyout support. This is still very experimental ;)
Allow for <warning> tag
If the field type is checkbox then set the value in config.xml to TRUE if its "on"
$config['lan']['ip'] -> $config['interfaces']['lan']['ip']
Make $myurl a global variable
This fixes Ticket #39
Redirect to the correct URL/IP after the wizard
Add $Id$ tag
remove hardcoded pathremove assumption that if $xml is set that the file must exist - die gracefully now
Add upload progress bar tracking support to php (as a module)
use relative url
Client side input validation for the wizardFix invalid domain name bug
Add variable substitutions: $wanip, $lanip to wizard and pkg_edit facilities.
Expand the usage of $myurl in wizard fields and pkg_edit
Move the stepsubmitphpaction out of the field collection. It was not setting the root password correctly.
Fix eval bug.
Fix checkbox bug where checkboxes are not enabled in the wizards properly.
Correctly restore SelectedType selection on wizard load and correctly save out the selected type setting.
Add stepsubmitbeforesave tag which will process text before saving.
Add enable and disable fields feature to XML language. Fix the TYPE dropdown.
Clean up arraynum handling.
Move the "User has been added." save message to the XML file where it belongs.
Add arraynum flag which is used when there is an array of values.
Example would be:<dnsserver>X.X.X.X</dnsserver><dnsserver>Y.Y.Y.Y</dnsserver>
Dont forget to output the fields description if it exists.
The wizard system now works!
Dont forget closing name '.
Wizard now will walk through entire step process.
TODO: Save posted items correctly.
Introduce wizard system.