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
ac0db57b
Commit
ac0db57b
authored
Feb 11, 2016
by
Ad Schellevis
Committed by
Franco Fichtner
Feb 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(legacy) remove onclick attributes
(cherry picked from commit
63938f7b
)
parent
44dda75a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
vpn_openvpn_csc.php
src/www/vpn_openvpn_csc.php
+5
-5
No files found.
src/www/vpn_openvpn_csc.php
View file @
ac0db57b
...
...
@@ -524,7 +524,7 @@ if ($act!="new" && $act!="edit") {
<tr>
<td
width=
"22%"
><a
id=
"help_for_dns_domain"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"DNS Default Domain"
);
?>
</td>
<td
width=
"78%"
>
<input
name=
"dns_domain_enable"
type=
"checkbox"
id=
"dns_domain_enable"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'dns_domain'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
onclick=
"dns_domain_change()"
/>
<input
name=
"dns_domain_enable"
type=
"checkbox"
id=
"dns_domain_enable"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'dns_domain'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<div
id=
"dns_domain_data"
style=
"display:none"
>
<input
name=
"dns_domain"
type=
"text"
id=
"dns_domain"
value=
"
<?=
$pconfig
[
'dns_domain'
];
?>
"
/>
</div>
...
...
@@ -536,7 +536,7 @@ if ($act!="new" && $act!="edit") {
<tr>
<td
width=
"22%"
><a
id=
"help_for_dns_server"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"DNS Servers"
);
?>
</td>
<td
width=
"78%"
>
<input
name=
"dns_server_enable"
type=
"checkbox"
id=
"dns_server_enable"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'dns_server1'
])
||
!
empty
(
$pconfig
[
'dns_server2'
])
||
!
empty
(
$pconfig
[
'dns_server3'
])
||
!
empty
(
$pconfig
[
'dns_server4'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
onclick=
"dns_server_change()"
/>
<input
name=
"dns_server_enable"
type=
"checkbox"
id=
"dns_server_enable"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'dns_server1'
])
||
!
empty
(
$pconfig
[
'dns_server2'
])
||
!
empty
(
$pconfig
[
'dns_server3'
])
||
!
empty
(
$pconfig
[
'dns_server4'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<div
id=
"dns_server_data"
style=
"display:none"
>
<?=
gettext
(
"Server #1:"
);
?>
<input
name=
"dns_server1"
type=
"text"
id=
"dns_server1"
size=
"20"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'dns_server1'
]);
?>
"
/>
...
...
@@ -555,7 +555,7 @@ if ($act!="new" && $act!="edit") {
<tr>
<td
width=
"22%"
><a
id=
"help_for_ntp_server"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"NTP Servers"
);
?>
</td>
<td
width=
"78%"
>
<input
name=
"ntp_server_enable"
type=
"checkbox"
id=
"ntp_server_enable"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'ntp_server1'
])
||
!
empty
(
$pconfig
[
'ntp_server2'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
onclick=
"ntp_server_change()"
/>
<input
name=
"ntp_server_enable"
type=
"checkbox"
id=
"ntp_server_enable"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'ntp_server1'
])
||
!
empty
(
$pconfig
[
'ntp_server2'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<div
id=
"ntp_server_data"
style=
"display:none"
>
<?=
gettext
(
"Server #1:"
);
?>
<input
name=
"ntp_server1"
type=
"text"
id=
"ntp_server1"
size=
"20"
value=
"
<?=
$pconfig
[
'ntp_server1'
];
?>
"
/>
...
...
@@ -570,7 +570,7 @@ if ($act!="new" && $act!="edit") {
<tr>
<td
width=
"22%"
><a
id=
"help_for_netbios_enable"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"NetBIOS Options"
);
?>
</td>
<td
width=
"78%"
>
<input
name=
"netbios_enable"
type=
"checkbox"
id=
"netbios_enable"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'netbios_enable'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
onclick=
"netbios_change()"
/>
<input
name=
"netbios_enable"
type=
"checkbox"
id=
"netbios_enable"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'netbios_enable'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<?=
gettext
(
"Enable NetBIOS over TCP/IP"
);
?>
<div
class=
"hidden"
for=
"help_for_netbios_enable"
>
<?=
gettext
(
"If this option is not set, all NetBIOS-over-TCP/IP options (including WINS) will be disabled"
);
?>
.
...
...
@@ -610,7 +610,7 @@ if ($act!="new" && $act!="edit") {
<tr
id=
"wins_opts"
>
<td
width=
"22%"
><a
id=
"help_for_wins_server"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"WINS Servers"
);
?>
</td>
<td
width=
"78%"
>
<input
name=
"wins_server_enable"
type=
"checkbox"
id=
"wins_server_enable"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'wins_server1'
])
||
!
empty
(
$pconfig
[
'wins_server2'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
onclick=
"wins_server_change()"
/>
<input
name=
"wins_server_enable"
type=
"checkbox"
id=
"wins_server_enable"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'wins_server1'
])
||
!
empty
(
$pconfig
[
'wins_server2'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<div
id=
"wins_server_data"
style=
"display:none"
>
<?=
gettext
(
"Server #1:"
);
?>
<input
name=
"wins_server1"
type=
"text"
id=
"wins_server1"
size=
"20"
value=
"
<?=
$pconfig
[
'wins_server1'
];
?>
"
/>
...
...
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