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
b891dc9f
Commit
b891dc9f
authored
Jun 11, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
system: only two sections for general settings now
parent
05e52517
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
30 deletions
+24
-30
system_general.php
src/www/system_general.php
+24
-30
No files found.
src/www/system_general.php
View file @
b891dc9f
...
...
@@ -332,9 +332,6 @@ include("head.inc");
</div>
</td>
</tr>
<tr>
<th
colspan=
"2"
valign=
"top"
class=
"listtopic"
>
<?=
gettext
(
"Firmware"
);
?>
</th>
</tr>
<tr>
<td><a
id=
"help_for_language"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"Language"
);
?>
</td>
<td>
...
...
@@ -375,7 +372,30 @@ include("head.inc");
</td>
</tr>
<tr>
<th
colspan=
"2"
valign=
"top"
class=
"listtopic"
>
<?=
gettext
(
"Name resolution"
);
?>
</th>
<th
colspan=
"2"
valign=
"top"
class=
"listtopic"
>
<?=
gettext
(
"Networking"
);
?>
</th>
</tr>
<tr>
<td><a
id=
"help_for_prefer_ipv4"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"Prefer IPv4 over IPv6"
);
?>
</td>
<td>
<input
name=
"prefer_ipv4"
type=
"checkbox"
id=
"prefer_ipv4"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'prefer_ipv4'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<strong>
<?=
gettext
(
"Prefer to use IPv4 even if IPv6 is available"
);
?>
</strong>
<div
class=
"hidden"
for=
"help_for_prefer_ipv4"
>
<?=
gettext
(
"By default, if a hostname resolves IPv6 and IPv4 addresses "
.
"IPv6 will be used, if you check this option, IPv4 will be "
.
"used instead of IPv6."
);
?>
</div>
</td>
</tr>
<tr>
<td><a
id=
"help_for_gw_switch_default"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"Gateway switching"
);
?>
</td>
<td>
<input
name=
"gw_switch_default"
type=
"checkbox"
id=
"gw_switch_default"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'gw_switch_default'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<strong>
<?=
gettext
(
"Allow default gateway switching"
);
?>
</strong><br
/>
<div
class=
"hidden"
for=
"help_for_gw_switch_default"
>
<?=
gettext
(
"If the link where the default gateway resides fails "
.
"switch the default gateway to another available one."
);
?>
</div>
</td>
</tr>
<tr>
<td><a
id=
"help_for_dnsservers"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"DNS servers"
);
?>
</td>
...
...
@@ -456,32 +476,6 @@ include("head.inc");
</div>
</td>
</tr>
<tr>
<th
colspan=
"2"
valign=
"top"
class=
"listtopic"
>
<?=
gettext
(
"Networking"
);
?>
</th>
</tr>
<tr>
<td><a
id=
"help_for_prefer_ipv4"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"Prefer IPv4 over IPv6"
);
?>
</td>
<td>
<input
name=
"prefer_ipv4"
type=
"checkbox"
id=
"prefer_ipv4"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'prefer_ipv4'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<strong>
<?=
gettext
(
"Prefer to use IPv4 even if IPv6 is available"
);
?>
</strong>
<div
class=
"hidden"
for=
"help_for_prefer_ipv4"
>
<?=
gettext
(
"By default, if a hostname resolves IPv6 and IPv4 addresses "
.
"IPv6 will be used, if you check this option, IPv4 will be "
.
"used instead of IPv6."
);
?>
</div>
</td>
</tr>
<tr>
<td><a
id=
"help_for_gw_switch_default"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"Gateway switching"
);
?>
</td>
<td>
<input
name=
"gw_switch_default"
type=
"checkbox"
id=
"gw_switch_default"
value=
"yes"
<?=
!
empty
(
$pconfig
[
'gw_switch_default'
])
?
"checked=
\"
checked
\"
"
:
""
;
?>
/>
<strong>
<?=
gettext
(
"Allow default gateway switching"
);
?>
</strong><br
/>
<div
class=
"hidden"
for=
"help_for_gw_switch_default"
>
<?=
gettext
(
"If the link where the default gateway resides fails "
.
"switch the default gateway to another available one."
);
?>
</div>
</td>
</tr>
<tr>
<td></td>
<td>
...
...
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