summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/guiconfig.inc
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #7889Steve Beaver2017-09-281-1/+1
| | | | Increase max number of characters allowed in a tab array to 256 to prevent automatic conversion to pull-down
* Allow customize of dashboard widget namesPhil Davis2017-04-271-0/+19
|
* Merge pull request #3698 from phil-davis/patch-5Renato Botelho2017-04-201-1/+1
|\
| * Do input validation on the actual array passed inPhil Davis2017-04-171-1/+1
| | | | | | I was tearing my hair out for a while. If do_input_validation() is passed some array of keys/values that has been assembled elsewhere (not $_POST, $_GET or $_REQUEST superglobals) then it does not work. The code here, for at least the last 7 years, has actually been checking the array keys in the "hard-coded" superglobals. That is a bit surprising, since the array to be checked is passed in as $postdata parameter.
* | Refactor get_configured_interface_with_descr remove unused parameterPhil Davis2017-04-161-1/+1
|/
* Merge pull request #3598 from PiBa-NL/phpsessionmanagerjim-p2017-04-031-2/+8
|\
| * phpsessionmanager, this helps starting and committing the php session ↵PiBa-NL2017-02-271-2/+8
| | | | | | | | preventing other requests from being blocked longer than required.
* | load package add-on tabs into config to avoid parsing all installed package ↵PiBa-NL2017-03-261-4/+5
| | | | | | | | xml's, fix tabgroup filter
* | Redmine #7381 Disable detail in alias popupPhil Davis2017-03-131-6/+8
| |
* | Redmine #7301 Put dot after the word breakPhil Davis2017-02-231-1/+1
| | | | | | | | Signed-off-by: Phil Davis <phil.davis@inf.org>
* | Redmine #7301 Provide word-break opportunity for dynamic DNS host namesPhil Davis2017-02-231-0/+4
|/ | | | Signed-off-by: Phil Davis <phil.davis@inf.org>
* Do POST for long tab array dropdownPhil Davis2017-02-121-1/+5
|
* GET/POST conversion firewall_rulesSteve Beaver2017-02-101-2/+2
| | | | guiconfig.php display_top_tabs supports "usepost" as an optional 4th argument
* user/local/www inc file gettext improvementsPhil Davis2017-02-061-1/+1
|
* Code with multiple %s in usr/local/wwwPhil Davis2017-02-011-1/+1
|
* Standardize rules reloading messagePhil Davis2017-01-251-2/+3
|
* Merge pull request #3369 from phil-davis/breadcrumbs_detailRenato Botelho2017-01-111-4/+28
|\
| * Breadcrumb linksPhil Davis2017-01-101-2/+13
| |
| * Breadcrumb links supportPhil Davis2017-01-091-3/+16
| |
* | Add protocol selection to Radius server configurationRenato Botelho2017-01-111-0/+6
| | | | | | | | | | | | It should fix #7111 Submitted by @ubawurinna at https://github.com/pfsense/pfsense/pull/2687
* | Merge pull request #3343 from phil-davis/retval1Renato Botelho2017-01-101-2/+29
|\ \
| * | Report problems applying changesPhil Davis2017-01-031-2/+29
| |/ | | | | | | | | | | | | 1) Strictly keep track of the accumulating $retval from calls to various functions that apply changes. 2) Use new function print_apply_result_box() to print a suitable message in a suitable severity based on $retval
* | Remove unusued $heading in genhtmltitle()Phil Davis2017-01-071-1/+1
|/ | | It came into use in https://github.com/pfsense/pfsense/commit/45eebe10a93fa1e2399c6cdf133ad88dc21ee6e7 but genhtmltitle() has changed since then and no longer uses $heading
* Be more forthcoming with errors about ALTQ interfaces in relevant areas of ↵jim-p2016-12-221-3/+10
| | | | the GUI. In particular, note when there are no capable interfaces assigned. Implements #7032
* Added STARTTLS to LDAP Auth Server Configderelict-pf2016-10-141-0/+1
|
* Declare $config as a global in guiconfig.inc csrf_startup() function, to ↵jim-p2016-09-221-0/+1
| | | | properly respect the timeouts. Ticket #6803
* Move copyright from ESF to NetgateRenato Botelho2016-09-061-1/+1
|
* Move to Apache License 2.0Renato Botelho2016-07-151-41/+9
|
* Review license / copyright on all files (final round)Renato Botelho2016-07-151-43/+42
|
* Update include() to include_once()Phil Davis2016-06-281-3/+3
| | | | | | | | | | For safety, use include_once() when including various "side" files. There are a couple of instances of include("guiconfig,inc") that I changes to use require_once() to be consistent with everywhere else. The remaining cases of include() are just (hundreds of) head.inc and footer.inc - those are only at the start/end of the ordinary top-level interactive PHP files. There is no nested interaction of those to think about, so that should be fine.
* Make rule_columns_with_alias end params optionalPhil Davis2016-05-131-1/+1
| | | Stops PHP warnings like reported in forum https://forum.pfsense.org/index.php?topic=111768.0
* Add alias display to target host and target port columnsStephen Beaver2016-05-121-1/+7
|
* Fixes corrupted display when special chars appear in the aliasStephen Beaver2016-04-041-2/+2
|
* guiconfig monitor filter reload messageNOYB2016-04-011-1/+1
|
* More icon and button inconsistencies. Should be the last batch. Ticket #5965jim-p2016-03-101-3/+6
|
* print_callout class settingPhil Davis2016-03-011-1/+1
| | | | | | | | | | | | | | | | | The last test here looks not good having just a single equals sign - if the interpreter evaluates this then $class will always get set to 'info'. In practice it should work OK, because the evaluation of boolean conditions left to right should stop when any of the other tests to the left evaluates false. So $class will only be set to 'info' if it is not already 'default' 'danger' or 'warning'. Actually the code could be: a) Obfuscated version with empty if block content: if ($class != 'default' && $class != 'danger' && $class != 'warning' && $class = 'info') { // Noop - the if test above has already set $class to 'info' as required. } or b) Clearer version without bothering with any test for $class != 'info' : if ($class != 'default' && $class != 'danger' && $class != 'warning') { $class = 'info'; }
* Merge branch 'patch-9' of https://github.com/k-paulius/pfsenseStephen Beaver2016-02-161-5/+0
|\ | | | | | | | | * 'patch-9' of https://github.com/k-paulius/pfsense: Stop generating page-header instead of hiding it. With breadcrumbs introduces it no longer serves any useful purpose.
| * Stop generating page-header instead of hiding it. With breadcrumbs ↵k-paulius2016-02-151-5/+0
| | | | | | | | introduces it no longer serves any useful purpose.
* | Add support for Bootstrap calloutsk-paulius2016-02-161-0/+27
|/
* Review alert wording.k-paulius2016-02-141-1/+1
|
* Fix RADIUS spelling. It is written in all caps.k-paulius2016-02-101-1/+1
|
* Tidy print_info_box commentsPhil Davis2016-01-261-4/+5
|
* Added some some comments to hte print_info_box area so package developers ↵Stephen Beaver2016-01-251-0/+5
| | | | will know what happeded
* Remove print_info_box_npPhil Davis2016-01-231-33/+11
| | | | | | | | | | | | Put the real code into print_info_box, adding just a $btntext parameter to the existing 3 params of print_info_box. Change the remaining print_info_box_np() calls to use print_info_box() Note: The previous code also had a "bug" - the "apply" button said "apply" literally on the UI, when it should have said "Apply changes". That is fixed so that now the "Apply changes" or other specified button text is actually displayed to the user. (In the old code it was literally displaying $name when it should have been $value)
* Restore code from bad mergeStephen Beaver2016-01-221-0/+6
|
* Fix #5794 remove print_info_box_np chackes for gettext("apply")Phil Davis2016-01-221-59/+24
| | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
|
* Move set_language() call back to guiconfig.inc since it's causing trouble on ↵Renato Botelho2016-01-221-0/+5
| | | | console
* Be more flexible on detecting the need for the Apply buttonPhil Davis2016-01-221-1/+4
| | | This is the quick fix part (1) for https://redmine.pfsense.org/issues/5794
* Internationalization graph guiconfig head indexPhil Davis2016-01-211-21/+24
|
OpenPOWER on IntegriCloud