summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_ipsec_mobile.php
Commit message (Collapse)AuthorAgeFilesLines
* Standardize print_apply_box usagePhil Davis2016-01-271-1/+1
| | | | | | | | | | 1) For the translators, it should be better to do it consistently. Then they only need to have 1 translation of "You must apply the changes in order for them to take effect" and can translate each of the other custom sentences individually. 2) The full-stop should always go at the end of the sentence, inside the gettext(). There are some languages where the full-stop is not the same as European. e.g. In Nepal we use the vertical bar for end of sentence.
* Remove print_info_box_npPhil Davis2016-01-231-1/+1
| | | | | | | | | | | | 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-1/+2
|
* Fix #5794 remove print_info_box_np chackes for gettext("apply")Phil Davis2016-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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().
* Fixed #5789Stephen Beaver2016-01-211-2/+2
|
* Redmine #5759 print_info_box stylePhil Davis2016-01-111-1/+1
| | | | Define the 'success' 'info' etc style of calls to print_info_box()
* Code style v wPhil Davis2015-12-171-30/+49
|
* Standardize VPN IPsec breadcrumbsPhil Davis2015-12-071-3/+3
|
* 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.
* Added use of class autoloading (GUI stuff only)Doug Wollison2015-11-231-1/+0
| | | | | Any GUI script that loads the guiconfig.inc file will have access to the autoloader.
* Remove the last usage cases of $config['ipsec']['enable'].Luiz Otavio O Souza2015-11-221-1/+1
| | | | IPSEC is always on in 2.3, where necessary (IPSEC rules, IPSEC daemon), we check the existence of phase 1 entries.
* Copyright updates Batch 2 of 3Stephen Beaver2015-11-061-25/+54
|
* Don't allow IPsec mobile clients user auth source to not be a RADIUS server ifMatt Smith2015-11-031-0/+17
| | | | | the phase1 auth method is EAP-RADIUS. Properly handle selection of multiple RADIUS servers when using EAP-RADIUS. Fixes #5219.
* Add support for an IPv6 pool for mobile clients.Matt Smith2015-10-071-1/+65
|
* bootstrap, use require_once for classes/Form.class.phpPiBa-NL2015-08-311-1/+1
|
* Merge branch 'master' into bootstrapRenato Botelho2015-08-261-437/+308
|
* Move main pfSense content to src/Renato Botelho2015-08-251-0/+740
OpenPOWER on IntegriCloud