summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal_vouchers.php
Commit message (Collapse)AuthorAgeFilesLines
* Cancel button after input errorPhil Davis2015-07-131-1/+6
| | | | | | | | | | | If there is an input error then the edit page is redrawn showing the input errors. The HTTP_REFERER becomes the current page, rather than the true original referer. Then if you click Cancel the current page is just redrawn. This change makes the code remember the original referer, so if the user enters some invalid data, presses Save, reads the input error messages then presses Cancel they are taken back out to the original page - the same as if Cancel was used before Save.
* Code spacingPhil Davis2015-06-151-7/+7
| | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* Code style www services captive portalPhil Davis2015-05-241-221/+268
|
* Fix lineup of copyright linesPhil Davis2015-01-011-1/+3
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* Change copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* Remove almost all calls to history.back() and make Cancel button back to ↵Renato Botelho2014-09-121-1/+3
| | | | HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work
* Tidy up misc. XHTMLColin Fleming2014-06-231-1/+2
| | | | | | | | | | | | | | | | | | | "diag_dns.php" Tidy up "equals sign" "services_captiveportal.php" Add space to OPTION tag Update HTML Boolean operator Close INPUT and BR tags "services_captiveportal_hostname.php" Update ALIGN to MIDDLE "services_captiveportal_vouchers.php" Move closing TD tag outside the PHP IF statement "system_crlmanager.php" Close TR tags correctly
* Update services_captiveportal_couchers.phpColin Fleming2014-05-191-1/+1
| | | Move NOWRAP to class statement
* Tidy up "services_captiveportal_vouchers" XHTMLColin Fleming2014-04-031-28/+30
| | | | | | | | | | | Add closehead varaiable, move script into HEAD and close HEAD manually Add BODY Remove unordered list tag Update HTML Boolean Operators Close INPUT Deprecate ampersand Close IMG and add ALT Add CDATA sections to script
* xhtml Complianceayvis2014-03-141-17/+17
| | | replaced <br>, <br/> and </br> with <br />
* Fix #3521, show correct field descrRenato Botelho2014-03-141-1/+1
|
* Use descr prepended to voucher fields containing descriptions to have them ↵Ermal2014-03-121-14/+12
| | | | encoded as CDATA. Fixes #3441
* Improve checks for params 'id', 'dup' and other similar ones to make sure ↵Renato Botelho2014-03-121-1/+1
| | | | they are numeric integer, also, pass them through htmlspecialchars() before print
* Properly use key here.Ermal2014-03-071-1/+2
|
* Fix openssl pathRenato Botelho2014-01-241-3/+3
|
* Fix saving of voucher sync settings.jim-p2013-12-161-11/+12
|
* Remove call-time pass by reference for do_input_validation, helps ticket #2565Renato Botelho2013-09-121-1/+1
|
* Use same tab name on all pagesRenato Botelho2013-09-121-1/+1
|
* Change 'Pass-through MAC' tab name to reflect current realityRenato Botelho2013-09-121-1/+1
|
* s/require/require_once/g for filter.inc to avoid redeclaration errors in ↵jim-p2013-08-281-1/+1
| | | | some rare cases.
* Fixes #3001, Check the protocol of the webgui to determine if https is being ↵Ermal2013-05-281-1/+6
| | | | used for custom ports.
* Revert "Correct URL creation for xmlrpc as well as some error checking"Ermal2013-02-061-34/+32
| | | | This reverts commit 9ea2463a5b982dff170d7e081b896ca79de19ad7.
* Correct URL creation for xmlrpc as well as some error checkingErmal2013-02-061-32/+34
|
* Do not do double checks for thisErmal2013-01-291-1/+1
|
* Change order of cpzone checkbcyrill2013-01-271-9/+9
|
* Fixup paths when executing OpenSSL.jim-p2013-01-271-3/+3
|
* Convert all captiveportal code to not use ipfw_set_context since its not ↵Ermal2013-01-231-1/+1
| | | | needed anymore. Also add code to validate cpzone on webgui pages before being used
* If entering an action take the redir and exit even though the action was not ↵Ermal2013-01-211-5/+6
| | | | successful to avoid any issue
* Validate the cpzone parameter passed that it actually is a valid zoneErmal2013-01-211-1/+9
|
* Use a random exponent for the RSA generation of keys. Its is questionable if ↵Ermal2012-11-061-1/+17
| | | | its needed to be saved as a value?
* Activate new shortcuts/status in the rest of the areas that are currently setup.jim-p2012-08-101-3/+1
|
* Resolves #2330. Check if there is a previous voucher config before wipingErmal2012-04-131-1/+4
|
* Unset previously set voucher sync informationErmal2012-02-061-0/+4
|
* Don't let the browser auto-fill username and password on voucher config, as ↵jim-p2011-12-211-2/+2
| | | | it can interfere with the settings being properly saved if sync isn't fully configured, which this can make happen accidentally.
* Removing scriptaculous effects, now we use jQuery UI for visual effectsVinicius Coque2011-11-211-2/+2
|
* Converting javascript code from prototype to jQueryVinicius Coque2011-10-241-14/+14
|
* Add zone. Fixes #1945Scott Ullrich2011-10-101-1/+1
|
* Add the multi instance CP to master branch. This allows to define CP with ↵Ermal2011-09-071-95/+112
| | | | different properties on different interfaces.
* Revert "fix text"Chris Buechler2011-07-231-1/+1
| | | | This reverts commit 423023b6dff620fe790c09bd0398ba4fad9ee444.
* fix textChris Buechler2011-07-231-1/+1
|
* makes correct use of printf and gettextVinicius Coque2011-07-181-1/+1
| | | | removes variables names and replace it with '%s'
* Fixes #1327. Trigger synching of vouchers to config through ↵Ermal2011-06-101-21/+2
| | | | check_reload_status. Retire the saveinterval option since it is not useful anymore. Use the prune process of captiveportal to sync vouchers as well to fix issues as reported-by: http://forum.pfsense.org/index.php/topic,37636.0.html
* Add note about voucher sync (only enable on slave nodes).Scott Ullrich2011-05-271-1/+2
|
* * Add is_ipaddr_configured() so that people do not need to reinvent the ↵Scott Ullrich2011-05-251-0/+2
| | | | | | wheel for this task * Check to make sure the administrator is not entering the IP address of the same host preventing a issue where the firewall will sync the voucher database to itself and cause the webConfigurator to crash.
* Disable csrf checks when posting from scripts.Ermal2011-05-251-0/+2
|
* Provide a voucher_expire function so that voucher can be expired through a POST.Ermal2011-05-251-0/+6
|
* Update some code to be more readble and more compliant to php5Ermal2011-05-251-2/+1
|
* Properly set/unset voucher enable/disable bit.jim-p2011-04-151-3/+6
|
* Correctly synchronize the db of vouchers from master. Also correctly write ↵Ermal2011-03-251-49/+51
| | | | it to the files since before it is only allowed during bootup and not from xmlrpc.
OpenPOWER on IntegriCloud