mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/sslh: style updates and sync
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Copyright (C) 2022 agh1467@protonmail.com
|
||||
* Copyright (C) 2022 agh1467 <agh1467@protonmail.com>
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -73,5 +73,4 @@ class ServiceController extends ApiMutableServiceControllerBase
|
||||
* @var string $internalServiceName
|
||||
*/
|
||||
protected static $internalServiceName = 'sslh';
|
||||
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Copyright (C) 2022 agh1467@protonmail.com
|
||||
* Copyright (C) 2022 agh1467 <agh1467@protonmail.com>
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
Copyright (C) 2022 agh1467@protonmail.com
|
||||
Copyright (C) 2022 agh1467 <agh1467@protonmail.com>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
@@ -46,19 +46,16 @@ class SettingsController extends \OPNsense\Base\IndexController
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
|
||||
// Set environment variables for within the Volt templates.
|
||||
$this->view->setVars(
|
||||
[
|
||||
// Set environment variables for within the Volt templates.
|
||||
$this->view->setVars([
|
||||
'plugin_name' => 'sslh',
|
||||
'api_name' => 'sslh',
|
||||
'this_form' => $this->getForm('settings'),
|
||||
// controllers/OPNsense/Sslh/forms/settings.xml
|
||||
]
|
||||
);
|
||||
]);
|
||||
|
||||
// pick the template as the next view to render
|
||||
$this->view->pick('OPNsense/Sslh/settings');
|
||||
// views/OPNsense/Sslh/settings.volt
|
||||
// pick the template as the next view to render
|
||||
$this->view->pick('OPNsense/Sslh/settings');
|
||||
// views/OPNsense/Sslh/settings.volt
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
Copyright (C) 2022 agh1467@protonmail.com
|
||||
Copyright (C) 2022 agh1467 <agh1467@protonmail.com>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{##
|
||||
#
|
||||
# OPNsense® is Copyright © 2014 – 2018 by Deciso B.V.
|
||||
# This file is Copyright © 2022 agh1467@protonmail.com
|
||||
{#
|
||||
# Copyright (c) 2014-2018 Deciso B.V.
|
||||
# Copyright (c) 2022 agh1467 <agh1467@protonmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,9 +23,9 @@
|
||||
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#}
|
||||
#}
|
||||
|
||||
{##
|
||||
{#
|
||||
# This is the template for the settings page.
|
||||
#
|
||||
# This is the main page for this plugin.
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{##
|
||||
#
|
||||
# OPNsense® is Copyright © 2014 – 2018 by Deciso B.V.
|
||||
# This file is Copyright © 2022 agh1467@protonmail.com
|
||||
{#
|
||||
# Copyright (c) 2014-2018 Deciso B.V.
|
||||
# Copyright (c) 2022 agh1467 <agh1467@protonmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without modification,
|
||||
@@ -24,7 +23,7 @@
|
||||
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#}
|
||||
#}
|
||||
|
||||
{#- /usr/local/etc/sslh.conf -#}
|
||||
{% set plugin_name = 'sslh' %}
|
||||
|
||||
Reference in New Issue
Block a user