Move timeout value to PHP definition for easier modification
If webguicss is not yet specified then default to pfSense
On systems where webguicss (the theme) was not yet set in the config, the selection here was defaulting to other than pfSense.Now that pfSense-dark has come along, it happened to be first in the list. When I changed something else in General Setup today, my them went to pfSense-dark because I did not notice the (accidentally) selected value that was in the field....
Redmine #5492 case of acronyms in widget names
I am not sure how else to do this. If someone in future writes a widget about "Smart Carp" (an intelligent species of fish) then it will get turned into "SMART CARP". The other strings are not English words, or parts of English words, so not likely to be matched wrongly in future....
Fix widgetname variables
These were wrong. But actually I don't think any widgets use this mechanism of $config['widgets']['mywidget-config'] - they seem to do their own thing making names for the keys they use in $config['widgets'] to store their settings. So I didn't find anything actually broken because of this.
PEAR.inc is already required by radius.inc
Break long lines
Delete code that is commented out since 2005
Remove debug leftover
Fix #5329
Since PHP 5.6, fsockopen() is checking SSL certificates, xmlrpc_clientis used only for HA today so it's safe to disable this check.
Since fsockopen() doesn't provide a way to disable it, move code to usestream_socket_client()
Remove unused function http_post()
View revisions
Also available in: Atom