Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
a7e4762b
Commit
a7e4762b
authored
Jan 27, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(legacy) fix html errors, remove $closehead
parent
96b0b961
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
4 additions
and
50 deletions
+4
-50
diag_logs_settings.php
src/www/diag_logs_settings.php
+1
-5
diag_smart.php
src/www/diag_smart.php
+0
-2
firewall_nat.php
src/www/firewall_nat.php
+0
-2
firewall_nat_edit.php
src/www/firewall_nat_edit.php
+0
-4
firewall_nat_out_edit.php
src/www/firewall_nat_out_edit.php
+0
-3
firewall_rules_edit.php
src/www/firewall_rules_edit.php
+0
-3
head.inc
src/www/head.inc
+1
-6
interfaces.php
src/www/interfaces.php
+0
-1
interfaces_ppps_edit.php
src/www/interfaces_ppps_edit.php
+0
-1
services_dhcp.php
src/www/services_dhcp.php
+0
-1
services_dhcp_edit.php
src/www/services_dhcp_edit.php
+1
-3
services_dhcp_relay.php
src/www/services_dhcp_relay.php
+0
-2
services_dhcpv6.php
src/www/services_dhcpv6.php
+0
-1
services_dhcpv6_relay.php
src/www/services_dhcpv6_relay.php
+0
-1
services_dnsmasq.php
src/www/services_dnsmasq.php
+0
-1
services_ntpd.php
src/www/services_ntpd.php
+1
-1
services_ntpd_gps.php
src/www/services_ntpd_gps.php
+0
-1
services_snmp.php
src/www/services_snmp.php
+0
-1
services_unbound.php
src/www/services_unbound.php
+0
-1
services_unbound_acls.php
src/www/services_unbound_acls.php
+0
-1
services_unbound_advanced.php
src/www/services_unbound_advanced.php
+0
-5
services_unbound_overrides.php
src/www/services_unbound_overrides.php
+0
-1
system_usermanager.php
src/www/system_usermanager.php
+0
-2
wizard.php
src/www/wizard.php
+0
-1
No files found.
src/www/diag_logs_settings.php
View file @
a7e4762b
...
@@ -196,14 +196,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
...
@@ -196,14 +196,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
}
legacy_html_escape_form_data
(
$pconfig
);
legacy_html_escape_form_data
(
$pconfig
);
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
<body>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
//
<!
[
CDATA
[
//
<!
[
CDATA
[
function
enable_change
(
enable_over
)
{
function
enable_change
(
enable_over
)
{
...
@@ -315,8 +313,6 @@ $(document).ready(function() {
...
@@ -315,8 +313,6 @@ $(document).ready(function() {
//]]>
//]]>
</script>
</script>
</head>
<body>
<?php
include
(
"fbegin.inc"
);
?>
<?php
include
(
"fbegin.inc"
);
?>
<section
class=
"page-content-main"
>
<section
class=
"page-content-main"
>
<div
class=
"container-fluid"
>
<div
class=
"container-fluid"
>
...
...
src/www/diag_smart.php
View file @
a7e4762b
...
@@ -38,11 +38,9 @@ $valid_test_types = array("offline", "short", "long", "conveyance");
...
@@ -38,11 +38,9 @@ $valid_test_types = array("offline", "short", "long", "conveyance");
$valid_info_types
=
array
(
"i"
,
"H"
,
"c"
,
"A"
,
"a"
);
$valid_info_types
=
array
(
"i"
,
"H"
,
"c"
,
"A"
,
"a"
);
$valid_log_types
=
array
(
"error"
,
"selftest"
);
$valid_log_types
=
array
(
"error"
,
"selftest"
);
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
</head>
<body>
<body>
<?php
<?php
...
...
src/www/firewall_nat.php
View file @
a7e4762b
...
@@ -145,8 +145,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
...
@@ -145,8 +145,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
}
}
}
}
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
legacy_html_escape_form_data
(
$a_nat
);
legacy_html_escape_form_data
(
$a_nat
);
...
...
src/www/firewall_nat_edit.php
View file @
a7e4762b
...
@@ -398,12 +398,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
...
@@ -398,12 +398,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
legacy_html_escape_form_data
(
$pconfig
);
legacy_html_escape_form_data
(
$pconfig
);
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
</head>
<body>
<body>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
...
...
src/www/firewall_nat_out_edit.php
View file @
a7e4762b
...
@@ -329,12 +329,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
...
@@ -329,12 +329,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
legacy_html_escape_form_data
(
$pconfig
);
legacy_html_escape_form_data
(
$pconfig
);
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
</head>
<body>
<body>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
...
...
src/www/firewall_rules_edit.php
View file @
a7e4762b
...
@@ -531,12 +531,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
...
@@ -531,12 +531,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
legacy_html_escape_form_data
(
$pconfig
);
legacy_html_escape_form_data
(
$pconfig
);
$page_filename
=
"firewall_rules_edit.php"
;
$page_filename
=
"firewall_rules_edit.php"
;
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
</head>
<body>
<body>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
...
...
src/www/head.inc
View file @
a7e4762b
...
@@ -137,7 +137,6 @@ $pagetitle .= sprintf(' | %s.%s', $config['system']['hostname'], $config['system
...
@@ -137,7 +137,6 @@ $pagetitle .= sprintf(' | %s.%s', $config['system']['hostname'], $config['system
?>
?>
<?php
if
(
basename
(
$_SERVER
[
"SCRIPT_FILENAME"
]
!=
"index.php"
))
:
?>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
//
<!
[
CDATA
[
//
<!
[
CDATA
[
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
...
@@ -234,8 +233,4 @@ $pagetitle .= sprintf(' | %s.%s', $config['system']['hostname'], $config['system
...
@@ -234,8 +233,4 @@ $pagetitle .= sprintf(' | %s.%s', $config['system']['hostname'], $config['system
});
});
//]]>
//]]>
</script>
</script>
</head>
<?php
endif
;
?>
<?php
if
(
!
isset
(
$closehead
)
||
!
$closehead
)
:?></
head
><?
php
endif
;
?>
src/www/interfaces.php
View file @
a7e4762b
...
@@ -1335,7 +1335,6 @@ foreach ($mediaopts as $mediaopt){
...
@@ -1335,7 +1335,6 @@ foreach ($mediaopts as $mediaopt){
}
}
}
}
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
...
...
src/www/interfaces_ppps_edit.php
View file @
a7e4762b
...
@@ -292,7 +292,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
...
@@ -292,7 +292,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
}
legacy_html_escape_form_data
(
$pconfig
);
legacy_html_escape_form_data
(
$pconfig
);
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
...
...
src/www/services_dhcp.php
View file @
a7e4762b
...
@@ -536,7 +536,6 @@ if ($act == "del") {
...
@@ -536,7 +536,6 @@ if ($act == "del") {
}
}
$service_hook
=
'dhcpd'
;
$service_hook
=
'dhcpd'
;
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
...
...
src/www/services_dhcp_edit.php
View file @
a7e4762b
...
@@ -307,12 +307,12 @@ if ($_POST) {
...
@@ -307,12 +307,12 @@ if ($_POST) {
}
}
$service_hook
=
'dhcpd'
;
$service_hook
=
'dhcpd'
;
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
<body>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
//
<!
[
CDATA
[
//
<!
[
CDATA
[
function
show_ddns_config
()
{
function
show_ddns_config
()
{
...
@@ -334,9 +334,7 @@ include("head.inc");
...
@@ -334,9 +334,7 @@ include("head.inc");
}
}
//]]>
//]]>
</script>
</script>
</head>
<body>
<?php
include
(
"fbegin.inc"
);
?>
<?php
include
(
"fbegin.inc"
);
?>
<section
class=
"page-content-main"
>
<section
class=
"page-content-main"
>
...
...
src/www/services_dhcp_relay.php
View file @
a7e4762b
...
@@ -96,10 +96,8 @@ if ($_POST) {
...
@@ -96,10 +96,8 @@ if ($_POST) {
}
}
$service_hook
=
'dhcrelay'
;
$service_hook
=
'dhcrelay'
;
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
<body>
<body>
...
...
src/www/services_dhcpv6.php
View file @
a7e4762b
...
@@ -346,7 +346,6 @@ if ($_GET['act'] == "del") {
...
@@ -346,7 +346,6 @@ if ($_GET['act'] == "del") {
}
}
$service_hook
=
'dhcpd'
;
$service_hook
=
'dhcpd'
;
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
...
...
src/www/services_dhcpv6_relay.php
View file @
a7e4762b
...
@@ -91,7 +91,6 @@ if ($_POST) {
...
@@ -91,7 +91,6 @@ if ($_POST) {
}
}
$service_hook
=
'dhcrelay6'
;
$service_hook
=
'dhcrelay6'
;
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
...
...
src/www/services_dnsmasq.php
View file @
a7e4762b
...
@@ -140,7 +140,6 @@ if ($_GET['act'] == "del") {
...
@@ -140,7 +140,6 @@ if ($_GET['act'] == "del") {
}
}
$service_hook
=
'dnsmasq'
;
$service_hook
=
'dnsmasq'
;
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
...
...
src/www/services_ntpd.php
View file @
a7e4762b
...
@@ -149,7 +149,7 @@ if ($_POST) {
...
@@ -149,7 +149,7 @@ if ($_POST) {
$savemsg
=
get_std_save_message
();
$savemsg
=
get_std_save_message
();
}
}
$closehead
=
false
;
$pconfig
=
&
$config
[
'ntpd'
];
$pconfig
=
&
$config
[
'ntpd'
];
if
(
empty
(
$pconfig
[
'interface'
]))
{
if
(
empty
(
$pconfig
[
'interface'
]))
{
$pconfig
[
'interface'
]
=
array
();
$pconfig
[
'interface'
]
=
array
();
...
...
src/www/services_ntpd_gps.php
View file @
a7e4762b
...
@@ -131,7 +131,6 @@ if ($_POST) {
...
@@ -131,7 +131,6 @@ if ($_POST) {
$pconfig
=
&
$config
[
'ntpd'
][
'gps'
];
$pconfig
=
&
$config
[
'ntpd'
][
'gps'
];
$service_hook
=
'ntpd'
;
$service_hook
=
'ntpd'
;
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
...
...
src/www/services_snmp.php
View file @
a7e4762b
...
@@ -153,7 +153,6 @@ if ($_POST) {
...
@@ -153,7 +153,6 @@ if ($_POST) {
}
}
$service_hook
=
'bsnmpd'
;
$service_hook
=
'bsnmpd'
;
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
...
...
src/www/services_unbound.php
View file @
a7e4762b
...
@@ -134,7 +134,6 @@ if ($_POST) {
...
@@ -134,7 +134,6 @@ if ($_POST) {
}
}
$service_hook
=
'unbound'
;
$service_hook
=
'unbound'
;
$closehead
=
false
;
include_once
(
"head.inc"
);
include_once
(
"head.inc"
);
...
...
src/www/services_unbound_acls.php
View file @
a7e4762b
...
@@ -157,7 +157,6 @@ if ($_POST) {
...
@@ -157,7 +157,6 @@ if ($_POST) {
}
}
$service_hook
=
'unbound'
;
$service_hook
=
'unbound'
;
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
...
...
src/www/services_unbound_advanced.php
View file @
a7e4762b
...
@@ -114,15 +114,10 @@ if ($_POST) {
...
@@ -114,15 +114,10 @@ if ($_POST) {
}
}
$service_hook
=
'unbound'
;
$service_hook
=
'unbound'
;
$closehead
=
false
;
include_once
(
"head.inc"
);
include_once
(
"head.inc"
);
?>
?>
</head>
<body>
<body>
<?php
include
(
"fbegin.inc"
);
?>
<?php
include
(
"fbegin.inc"
);
?>
...
...
src/www/services_unbound_overrides.php
View file @
a7e4762b
...
@@ -89,7 +89,6 @@ if ($_GET['act'] == "del") {
...
@@ -89,7 +89,6 @@ if ($_GET['act'] == "del") {
}
}
$service_hook
=
'unbound'
;
$service_hook
=
'unbound'
;
$closehead
=
false
;
include_once
(
"head.inc"
);
include_once
(
"head.inc"
);
...
...
src/www/system_usermanager.php
View file @
a7e4762b
...
@@ -381,8 +381,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
...
@@ -381,8 +381,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
legacy_html_escape_form_data
(
$pconfig
);
legacy_html_escape_form_data
(
$pconfig
);
legacy_html_escape_form_data
(
$a_user
);
legacy_html_escape_form_data
(
$a_user
);
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
?>
?>
...
...
src/www/wizard.php
View file @
a7e4762b
...
@@ -216,7 +216,6 @@ do {
...
@@ -216,7 +216,6 @@ do {
eval
(
$pkg
[
'step'
][
$stepid
][
'stepbeforeformdisplay'
]);
eval
(
$pkg
[
'step'
][
$stepid
][
'stepbeforeformdisplay'
]);
}
while
(
$oldstepid
!=
$stepid
);
}
while
(
$oldstepid
!=
$stepid
);
$closehead
=
false
;
include
(
"head.inc"
);
include
(
"head.inc"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment