mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
src: style sweep for cp changes
This commit is contained in:
parent
9a250a26f3
commit
ffc5d4ae65
@ -130,7 +130,7 @@ function captiveportal_firewall($fw)
|
||||
);
|
||||
|
||||
// Allow access to the captive portal
|
||||
$proto = $to_port === '443' ? 'https': 'http';
|
||||
$proto = $to_port === '443' ? 'https' : 'http';
|
||||
$fw->registerFilterRule(
|
||||
2,
|
||||
[
|
||||
|
||||
@ -299,8 +299,10 @@ class AccessController extends ApiControllerBase
|
||||
*/
|
||||
public function apiAction()
|
||||
{
|
||||
if ($this->request->isGet() &&
|
||||
$this->request->getHeader("accept") == "application/captive+json") {
|
||||
if (
|
||||
$this->request->isGet() &&
|
||||
$this->request->getHeader("accept") == "application/captive+json"
|
||||
) {
|
||||
$result = [];
|
||||
$zoneId = $this->request->getHeader("zoneid");
|
||||
$clientSession = $this->clientSession($zoneId);
|
||||
|
||||
@ -240,7 +240,7 @@ class Plugin
|
||||
$result .= " quick";
|
||||
}
|
||||
if (!empty($anchor['ifs'])) {
|
||||
$ifs = array_filter(array_map(function($if) {
|
||||
$ifs = array_filter(array_map(function ($if) {
|
||||
return $this->interfaceMapping[$if]['if'] ?? null;
|
||||
}, explode(',', $anchor['ifs'])));
|
||||
|
||||
|
||||
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/css/bootstrap-theme.min.css
vendored
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/css/bootstrap-theme.min.css
vendored
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/css/bootstrap.min.css
vendored
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/css/bootstrap.min.css
vendored
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/css/signin.css
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/css/signin.css
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/exclude.list
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/exclude.list
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/fonts/glyphicons-halflings-regular.eot
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/fonts/glyphicons-halflings-regular.eot
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/fonts/glyphicons-halflings-regular.svg
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/fonts/glyphicons-halflings-regular.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/fonts/glyphicons-halflings-regular.ttf
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/fonts/glyphicons-halflings-regular.ttf
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/fonts/glyphicons-halflings-regular.woff
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/fonts/glyphicons-halflings-regular.woff
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/fonts/glyphicons-halflings-regular.woff2
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/fonts/glyphicons-halflings-regular.woff2
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/images/default-logo.svg
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/images/default-logo.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/images/favicon.png
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/images/favicon.png
Normal file → Executable file
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/index.html
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/index.html
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/js/bootstrap.min.js
vendored
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/js/bootstrap.min.js
vendored
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/js/jquery-1.11.2.min.js
vendored
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/htdocs_default/js/jquery-1.11.2.min.js
vendored
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/lib/pf.py
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/lib/pf.py
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/sql/init.sql
Normal file → Executable file
0
src/opnsense/scripts/OPNsense/CaptivePortal/sql/init.sql
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user