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
07b0b347
Commit
07b0b347
authored
Jul 16, 2016
by
Fabian Franz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
translation
parent
dfd53322
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
34 deletions
+34
-34
interfaces_bridge_edit.php
src/www/interfaces_bridge_edit.php
+31
-31
services_upnp.php
src/www/services_upnp.php
+3
-3
No files found.
src/www/interfaces_bridge_edit.php
View file @
07b0b347
...
@@ -255,7 +255,7 @@ $(document).ready(function() {
...
@@ -255,7 +255,7 @@ $(document).ready(function() {
<select
name=
"members[]"
multiple=
"multiple"
class=
"selectpicker"
data-size=
"5"
data-live-search=
"true"
>
<select
name=
"members[]"
multiple=
"multiple"
class=
"selectpicker"
data-size=
"5"
data-live-search=
"true"
>
<?php
<?php
foreach
(
$ifacelist
as
$ifn
=>
$ifinfo
)
:?>
foreach
(
$ifacelist
as
$ifn
=>
$ifinfo
)
:?>
<
option
value
=
"<?=
$ifn
;?>"
<?=!
empty
(
$pconfig
[
'members'
])
&&
in_array
(
$ifn
,
$pconfig
[
'members'
])
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<
option
value
=
"<?=
$ifn
;?>"
<?=!
empty
(
$pconfig
[
'members'
])
&&
in_array
(
$ifn
,
$pconfig
[
'members'
])
?
'selected="selected"'
:
""
;
?>
>
<?=
$ifinfo
;
?>
<?=
$ifinfo
;
?>
</option>
</option>
<?php
<?php
...
@@ -298,7 +298,7 @@ $(document).ready(function() {
...
@@ -298,7 +298,7 @@ $(document).ready(function() {
<tr>
<tr>
<td
width=
"22%"
><a
id=
"help_for_enablestp"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"Enable"
);
?>
</td>
<td
width=
"22%"
><a
id=
"help_for_enablestp"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"Enable"
);
?>
</td>
<td
width=
"78%"
>
<td
width=
"78%"
>
<input
type=
"checkbox"
name=
"enablestp"
<?=
!
empty
(
$pconfig
[
'enablestp'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<input
type=
"checkbox"
name=
"enablestp"
<?=
!
empty
(
$pconfig
[
'enablestp'
])
?
'checked="checked"'
:
""
;
?>
/>
<div
class=
"hidden"
for=
"help_for_enablestp"
>
<div
class=
"hidden"
for=
"help_for_enablestp"
>
<?=
gettext
(
"Enable spanning tree options for this bridge."
);
?>
<?=
gettext
(
"Enable spanning tree options for this bridge."
);
?>
</div>
</div>
...
@@ -386,8 +386,8 @@ $(document).ready(function() {
...
@@ -386,8 +386,8 @@ $(document).ready(function() {
<td>
<td>
<input
name=
"holdcnt"
type=
"text"
value=
"
<?=
$pconfig
[
'holdcnt'
];
?>
"
/>
<input
name=
"holdcnt"
type=
"text"
value=
"
<?=
$pconfig
[
'holdcnt'
];
?>
"
/>
<div
class=
"hidden"
for=
"help_for_holdcnt"
>
<div
class=
"hidden"
for=
"help_for_holdcnt"
>
<?=
gettext
(
"Set the transmit hold count for Spanning Tree.
This is the number
"
.
<?=
gettext
(
"Set the transmit hold count for Spanning Tree.
This is the number
"
.
"
of packets transmitted before being rate limited.
The "
.
"
of packets transmitted before being rate limited.
The "
.
"default is 6. The minimum is 1 and the maximum is 10."
);
?>
"default is 6. The minimum is 1 and the maximum is 10."
);
?>
</div>
</div>
</td>
</td>
...
@@ -408,8 +408,8 @@ $(document).ready(function() {
...
@@ -408,8 +408,8 @@ $(document).ready(function() {
endforeach
;
?>
endforeach
;
?>
</table>
</table>
<div
class=
"hidden"
for=
"help_for_intf_priority"
>
<div
class=
"hidden"
for=
"help_for_intf_priority"
>
<?=
gettext
(
"Set the Spanning Tree priority of interface to value.
The
"
.
<?=
gettext
(
"Set the Spanning Tree priority of interface to value. "
.
"
default is 128. The minimum is 0 and the maximum is 240.
Increments of 16."
);
?>
"
The default is 128. The minimum is 0 and the maximum is 240.
Increments of 16."
);
?>
</div>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -538,7 +538,7 @@ $(document).ready(function() {
...
@@ -538,7 +538,7 @@ $(document).ready(function() {
<select
name=
"ptp[]"
class=
"selectpicker"
multiple=
"multiple"
size=
"3"
data-live-search=
"true"
>
<select
name=
"ptp[]"
class=
"selectpicker"
multiple=
"multiple"
size=
"3"
data-live-search=
"true"
>
<?php
<?php
foreach
(
$ifacelist
as
$ifn
=>
$ifdescr
)
:?>
foreach
(
$ifacelist
as
$ifn
=>
$ifdescr
)
:?>
<
option
value
=
"<?=
$ifn
;?>"
<?=!
empty
(
$pconfig
[
'ptp'
])
&&
in_array
(
$ifn
,
$pconfig
[
'ptp'
])
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<
option
value
=
"<?=
$ifn
;?>"
<?=!
empty
(
$pconfig
[
'ptp'
])
&&
in_array
(
$ifn
,
$pconfig
[
'ptp'
])
?
'selected="selected"'
:
""
;
?>
>
<?=
$ifdescr
;
?>
<?=
$ifdescr
;
?>
</option>
</option>
<?php
<?php
...
@@ -557,7 +557,7 @@ $(document).ready(function() {
...
@@ -557,7 +557,7 @@ $(document).ready(function() {
<select
name=
"autoptp[]"
class=
"selectpicker"
multiple=
"multiple"
size=
"3"
data-live-search=
"true"
>
<select
name=
"autoptp[]"
class=
"selectpicker"
multiple=
"multiple"
size=
"3"
data-live-search=
"true"
>
<?php
<?php
foreach
(
$ifacelist
as
$ifn
=>
$ifdescr
)
:?>
foreach
(
$ifacelist
as
$ifn
=>
$ifdescr
)
:?>
<
option
value
=
"<?=
$ifn
;?>"
<?=!
empty
(
$pconfig
[
'autoptp'
])
&&
in_array
(
$ifn
,
$pconfig
[
'autoptp'
])
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<
option
value
=
"<?=
$ifn
;?>"
<?=!
empty
(
$pconfig
[
'autoptp'
])
&&
in_array
(
$ifn
,
$pconfig
[
'autoptp'
])
?
'selected="selected"'
:
""
;
?>
>
<?=
$ifdescr
;
?>
<?=
$ifdescr
;
?>
</option>
</option>
<?php
<?php
...
@@ -585,9 +585,9 @@ $(document).ready(function() {
...
@@ -585,9 +585,9 @@ $(document).ready(function() {
endforeach
;
?>
endforeach
;
?>
</select>
</select>
<div
class=
"hidden"
for=
"help_for_static"
>
<div
class=
"hidden"
for=
"help_for_static"
>
<?=
gettext
(
"Mark an interface as a
\"
sticky
\"
interface. Dynamically learned "
.
<?=
gettext
(
'Mark an interface as a "sticky" interface. Dynamically learned '
.
"address entries are treated as static once entered into the "
.
"address entries are treated as static once entered into the
cache.
"
.
"
cache.
Sticky entries are never aged out of the cache or "
.
"Sticky entries are never aged out of the cache or "
.
"replaced, even if the address is seen on a different interface."
);
?>
"replaced, even if the address is seen on a different interface."
);
?>
</div>
</div>
</td>
</td>
...
@@ -605,7 +605,7 @@ $(document).ready(function() {
...
@@ -605,7 +605,7 @@ $(document).ready(function() {
endforeach
;
?>
endforeach
;
?>
</select>
</select>
<div
class=
"hidden"
for=
"help_for_private"
>
<div
class=
"hidden"
for=
"help_for_private"
>
<?=
gettext
(
"Mark an interface as a
\"
private
\"
interface. A private interface does not forward any traffic to any other port that is also "
.
<?=
gettext
(
'Mark an interface as a "private" interface. A private interface does not forward any traffic to any other port that is also '
.
"a private interface."
);
?>
"a private interface."
);
?>
</div>
</div>
</td>
</td>
...
...
src/www/services_upnp.php
View file @
07b0b347
...
@@ -174,7 +174,7 @@ include("head.inc");
...
@@ -174,7 +174,7 @@ include("head.inc");
<thead>
<thead>
<tr>
<tr>
<td
width=
"22%"
>
<td
width=
"22%"
>
<strong>
<?=
gettext
(
"UPnP
&
NAT-PMP Settings"
);
?>
</strong>
<strong>
<?=
gettext
(
"UPnP
and
NAT-PMP Settings"
);
?>
</strong>
</td>
</td>
<td
width=
"78%"
align=
"right"
>
<td
width=
"78%"
align=
"right"
>
<small>
<?=
gettext
(
"full help"
);
?>
</small>
<small>
<?=
gettext
(
"full help"
);
?>
</small>
...
@@ -283,7 +283,7 @@ include("head.inc");
...
@@ -283,7 +283,7 @@ include("head.inc");
<td>
<td>
<input
name=
"sysuptime"
type=
"checkbox"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'sysuptime'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<input
name=
"sysuptime"
type=
"checkbox"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'sysuptime'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<div
class=
"hidden"
for=
"help_for_sysuptime"
>
<div
class=
"hidden"
for=
"help_for_sysuptime"
>
<?=
gettext
(
"Use system uptime instead of UPnP
&
NAT-PMP service uptime?"
);
?>
<?=
gettext
(
"Use system uptime instead of UPnP
and
NAT-PMP service uptime?"
);
?>
</div>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -292,7 +292,7 @@ include("head.inc");
...
@@ -292,7 +292,7 @@ include("head.inc");
<td>
<td>
<input
name=
"permdefault"
type=
"checkbox"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'permdefault'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<input
name=
"permdefault"
type=
"checkbox"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'permdefault'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<div
class=
"hidden"
for=
"help_for_permdefault"
>
<div
class=
"hidden"
for=
"help_for_permdefault"
>
<?=
gettext
(
"By default deny access to UPnP
&
NAT-PMP?"
);
?>
<?=
gettext
(
"By default deny access to UPnP
and
NAT-PMP?"
);
?>
</div>
</div>
</td>
</td>
</tr>
</tr>
...
...
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