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
44476dba
Commit
44476dba
authored
Jul 27, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
www: last bits of feedback
Submitted by: Curt Dox
parent
1af95608
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
crash_reporter.php
src/www/crash_reporter.php
+1
-1
diag_logs_settings.php
src/www/diag_logs_settings.php
+1
-1
services_dhcpv6.php
src/www/services_dhcpv6.php
+6
-3
No files found.
src/www/crash_reporter.php
View file @
44476dba
...
@@ -138,7 +138,7 @@ $crash_report_header = sprintf(
...
@@ -138,7 +138,7 @@ $crash_report_header = sprintf(
echo
"<p><strong>"
.
gettext
(
"Unfortunately we have detected at least one programming bug."
)
.
"</strong></p>"
;
echo
"<p><strong>"
.
gettext
(
"Unfortunately we have detected at least one programming bug."
)
.
"</strong></p>"
;
echo
"<p><br/>"
.
sprintf
(
gettext
(
"Would you like to submit this crash report to the %s developers?"
),
$g
[
'product_name'
])
.
"</p>"
;
echo
"<p><br/>"
.
sprintf
(
gettext
(
"Would you like to submit this crash report to the %s developers?"
),
$g
[
'product_name'
])
.
"</p>"
;
echo
"<p><button name=
\"
Submit
\"
type=
\"
submit
\"
class=
\"
btn btn-primary
\"
value=
\"
yes
\"
>"
.
gettext
(
'Yes'
)
.
"</button> "
;
echo
"<p><button name=
\"
Submit
\"
type=
\"
submit
\"
class=
\"
btn btn-primary
\"
value=
\"
yes
\"
>"
.
gettext
(
'Yes'
)
.
"</button> "
;
echo
"<button name=
\"
Submit
\"
type=
\"
submit
\"
class=
\"
btn btn-
primary
\"
value=
\"
no
\"
>"
.
gettext
(
'No'
)
.
"</button></p>"
;
echo
"<button name=
\"
Submit
\"
type=
\"
submit
\"
class=
\"
btn btn-
default
\"
value=
\"
no
\"
>"
.
gettext
(
'No'
)
.
"</button></p>"
;
echo
"<p><br/><i>"
.
gettext
(
"Please-double check the contents to ensure you are comfortable submitting the following information:"
)
.
"</i></p>"
;
echo
"<p><br/><i>"
.
gettext
(
"Please-double check the contents to ensure you are comfortable submitting the following information:"
)
.
"</i></p>"
;
echo
"<textarea readonly=
\"
readonly
\"
style=
\"
max-width: none;
\"
rows=
\"
24
\"
cols=
\"
80
\"
name=
\"
crashreports
\"
>
{
$crash_reports
}
</textarea></p>"
;
echo
"<textarea readonly=
\"
readonly
\"
style=
\"
max-width: none;
\"
rows=
\"
24
\"
cols=
\"
80
\"
name=
\"
crashreports
\"
>
{
$crash_reports
}
</textarea></p>"
;
}
}
...
...
src/www/diag_logs_settings.php
View file @
44476dba
...
@@ -345,7 +345,7 @@ function check_everything() {
...
@@ -345,7 +345,7 @@ function check_everything() {
<td
valign=
"top"
class=
"vtable"
>
Filter descriptions
</td>
<td
valign=
"top"
class=
"vtable"
>
Filter descriptions
</td>
<td
class=
"vtable"
>
<td
class=
"vtable"
>
<select
name=
"filterdescriptions"
id=
"filterdescriptions"
class=
"form-control"
>
<select
name=
"filterdescriptions"
id=
"filterdescriptions"
class=
"form-control"
>
<option
value=
"0"
<?=
!
isset
(
$pconfig
[
'filterdescriptions'
])
?
" selected=
\"
selected
\"
"
:
""
?>
>
Dont load
descriptions
</option>
<option
value=
"0"
<?=
!
isset
(
$pconfig
[
'filterdescriptions'
])
?
" selected=
\"
selected
\"
"
:
""
?>
>
Omit
descriptions
</option>
<option
value=
"1"
<?=
(
$pconfig
[
'filterdescriptions'
])
===
"1"
?
" selected=
\"
selected
\"
"
:
""
?>
>
Display as column
</option>
<option
value=
"1"
<?=
(
$pconfig
[
'filterdescriptions'
])
===
"1"
?
" selected=
\"
selected
\"
"
:
""
?>
>
Display as column
</option>
<option
value=
"2"
<?=
(
$pconfig
[
'filterdescriptions'
])
===
"2"
?
" selected=
\"
selected
\"
"
:
""
?>
>
Display as second row
</option>
<option
value=
"2"
<?=
(
$pconfig
[
'filterdescriptions'
])
===
"2"
?
" selected=
\"
selected
\"
"
:
""
?>
>
Display as second row
</option>
</select>
</select>
...
...
src/www/services_dhcpv6.php
View file @
44476dba
...
@@ -45,9 +45,12 @@ $if = $_GET['if'];
...
@@ -45,9 +45,12 @@ $if = $_GET['if'];
if
(
$_POST
[
'if'
])
if
(
$_POST
[
'if'
])
$if
=
$_POST
[
'if'
];
$if
=
$_POST
[
'if'
];
if
(
!
$_GET
[
'if'
])
if
(
!
$_GET
[
'if'
])
{
$savemsg
=
gettext
(
"The DHCPv6 Server can only be enabled on interfaces configured with static IP addresses"
)
.
$savemsg
=
gettext
(
gettext
(
"Only interfaces configured with a static IP will be shown"
)
.
"."
;
"The DHCPv6 Server can only be enabled on interfaces configured with static "
.
"IP addresses. Only interfaces configured with a static IP will be shown."
);
}
$iflist
=
get_configured_interface_with_descr
();
$iflist
=
get_configured_interface_with_descr
();
$iflist
=
array_merge
(
$iflist
,
get_configured_pppoe_server_interfaces
());
$iflist
=
array_merge
(
$iflist
,
get_configured_pppoe_server_interfaces
());
...
...
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