summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/wizard.php
Commit message (Collapse)AuthorAgeFilesLines
* Rather than setting the value directly, minimize exposure to eval() in ↵RELENG_2_3_2jim-p2017-02-071-2/+5
| | | | update_config_field() from wizard.php by constructing a variable reference, then set the value using the reference rather than passing user input through eval(). Fixes #7230
* Code style and commentsPhil Davis2016-08-161-2/+2
| | | | | | No functional change - just making style consistent (cherry picked from commit 9d3e8723171c727cf43338bd8e95ab2bb7e6a66c)
* Review license / copyright on all files (final round)Renato Botelho2016-07-151-41/+39
|
* Always use require_oncePhil Davis2016-06-271-4/+4
| | | | | | | | | The usage of require() and require_once() throughout the system is inconsistent, and "bugs" come up now and then when the order of "requires" is a bit different and some require() happens after the include file is already included/required. It seems to me that there is no harm at all in always using require_once().
* Fixed #6095 remove logo from wizardsJared Dillard2016-04-201-3/+0
|
* More icon/button inconsistencies. Ticket #5965jim-p2016-03-101-2/+4
|
* Quote the 1st parameter (constant name) when calling define()NewEraCracker2016-02-181-1/+1
|
* Review alert wording. End sentence with period, remove redundant 'Warning', ↵k-paulius2016-02-141-4/+4
| | | | 'Error', etc. prefixes, since alerts are now color coded. Remove <b> tags.
* Fixes the GUI URL in the last step of the setup wizard.Luiz Otavio O Souza2016-01-251-1/+1
| | | | The SERVER_NAME variable is not available anymore, use HTTP_HOST instead.
* Fix #5794 remove print_info_box_np chackes for gettext("apply")Phil Davis2016-01-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | 1) Get rid of the stristr() checks to "guess" if an apply button should be used. 2) Change print_info_box() so it can take a button name of "close" , "apply" or none to decide which button to show. 3) Delete function print_info_box_np_undo() - nothing calls it. 4) Add new function print_apply_box() to provide an easy wrapper for print_info_box() with the parameters to be 'warning' level and 'apply' button. 5) Change print_info_box_np() calls to just print_info_box() or print_apply_box() as appropriate. There is 1 direct call to print_info_box_np() from vpn_ipsec_mobile.php remaining. That tries to make a "create" button. It was not working before this change. It needs to be sorted out and fixed separately. After this change there is no dependency on a string containing text like "apply" to make the apply button appear. Then we can work on re-engineering the internal code of print_info_box_np() print_info_box() and print_apply_box() to fit together however we like. It should be easy to preserving the current API to print_info_box() and print_apply_box().
* Replaced jQuery to $ in same filesFrancisco Cavalcante2016-01-221-2/+2
|
* All simple php echo to shortNewEraCracker2016-01-141-1/+1
| | | | Short version is far more used than long php echo. This brings all code to same standard where possible.
* HTML Compliance - Wizard / pfSense Taffic Shaper /NOYB2016-01-101-6/+7
| | | | | | | | | | | | | | | Empty heading. <h1 class="page-header"> The align attribute on the img element is obsolete. Use CSS instead. <img border="0" src="logo-black.png" alt="logo-black" align="middle" height="45" width="180" /> The border attribute is obsolete. Consider specifying img { border: 0; } in CSS instead. <img border="0" src="logo-black.png" alt="logo-black" align="middle" height="45" width="180" /> Bad value FieldValidate(this.value, ^[0-9]+$, ) for attribute onchange on element input: syntax error <input class="form-control" name="numberofconnections" id="numberofconnections" type="text" value="1" onchange="FieldValidate(this.value, ^[0-9]+$, )"> <input class="form-control" name="numberoflocalinterfaces" id="numberoflocalinterfaces" type="text" value="1" onchange="FieldValidate(this.value, ^[0-9]+$, )">
* Bug #5527 wizard breadcrumb Concept heper2015-12-231-2/+2
| | | | This would require some minor adjustments to the wizards xml , for it to make sense everywhere.
* Encode hostname before printing; remove some related dead code.jim-p2015-12-211-5/+0
|
* Merge pull request #2300 from ExolonDX/branch_02Renato Botelho2015-12-211-1/+1
|\
| * Use Bootstraps text alignment classesColin Fleming2015-12-191-1/+1
| | | | | | | | | | As per "http://getbootstrap.com/css/#type-alignment", use CLASS statement instead in inline STYLE statement (much tidier)
* | Remove $closehead variableColin Fleming2015-12-191-1/+0
|/ | | | Remove unused variable $closehead
* Code style v wPhil Davis2015-12-171-7/+10
|
* Address a potential LFI in pkg.php and wizard.php without breaking the ↵jim-p2015-12-041-2/+8
| | | | ability to pass relative paths Restricts them to files under their intended base directories.
* Fix some variable re-use and other issues to correct the OpenVPN wizard ↵jim-p2015-12-011-8/+8
| | | | behavior when using pre-existing CAs and Certs
* Calling all of these "Page" in the privilege name is redundant since they ↵jim-p2015-11-251-1/+1
| | | | are all pages and the "WebCfg" prefix implies they are pages.
* Change Form_TextArea to Form_TextareaStephen Beaver2015-11-231-1/+1
| | | | (autoload now makes the classes case sensitive)
* Added use of class autoloading (GUI stuff only)Doug Wollison2015-11-231-2/+0
| | | | | Any GUI script that loads the guiconfig.inc file will have access to the autoloader.
* Fixes #5380Stephen Beaver2015-11-091-1/+1
|
* Copyright and license cleanupRenato Botelho2015-11-091-1/+0
| | | | | | - Remove personal copyright from people who assigned it to employer (ESF) - Remove $Id$ - Remove extra spaces
* EOL whitespace and header consistency for wwwPhil Davis2015-11-091-1/+0
|
* Comment typoStephen Beaver2015-10-191-1/+1
|
* Fixed #5316Stephen Beaver2015-10-191-3/+8
|
* Corrected invalid "onchange" handlingStephen Beaver2015-10-171-4/+4
|
* Partial fix to #5310Stephen Beaver2015-10-161-26/+36
| | | | | | wizard.php updated to generate jquery not javascript traffic_shaper_dedicated.xml and .inc updated to correct multiple "Next" buttons and other display issues. (Need to do same for the other TS wizard)
* Remove /usr/share/zoneinfo.tgz and use FreeBSD stock zoneinfo. It fixes #4726Renato Botelho2015-09-301-3/+2
|
* Corrected logo hyperlinkStephen Beaver2015-09-301-1/+1
| | | | Changed Jumbotron font to white so you can actually read the text
* Wizard system completed and tested agains all wizard filesStephen Beaver2015-09-301-461/+312
| | | | Progress bar added to show progess through wizard steps
* Bootstrap conversion mostly complete.Stephen Beaver2015-09-291-272/+368
| | | | Tested with setupwizard.xml and looks good. Couple more thankgs to check so don't test yet please.
* Move main pfSense content to src/Renato Botelho2015-08-251-0/+1061
OpenPOWER on IntegriCloud