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
8b23648d
Commit
8b23648d
authored
Jan 01, 2015
by
Jos Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small menu updates
parent
9094a660
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
fbegin.inc
src/www/fbegin.inc
+3
-6
services_dhcp.php
src/www/services_dhcp.php
+1
-2
No files found.
src/www/fbegin.inc
View file @
8b23648d
...
@@ -31,9 +31,6 @@ require_once("functions.inc");
...
@@ -31,9 +31,6 @@ require_once("functions.inc");
require_once
(
"shortcuts.inc"
);
require_once
(
"shortcuts.inc"
);
require_once
(
"service-utils.inc"
);
require_once
(
"service-utils.inc"
);
/* $Id$ */
/* Determine automated help URL. Should output the page name and
/* Determine automated help URL. Should output the page name and
parameters separately */
parameters separately */
$uri_split
=
""
;
$uri_split
=
""
;
...
@@ -108,7 +105,7 @@ function output_menu($arrayitem, $target = null) {
...
@@ -108,7 +105,7 @@ function output_menu($arrayitem, $target = null) {
$class
=
"list-group-item"
;
$class
=
"list-group-item"
;
$check
=
substr
(
$item
[
1
],
1
,
-
4
);
$check
=
substr
(
$item
[
1
],
1
,
-
3
);
if
(
stripos
(
$_SERVER
[
'PHP_SELF'
],
$check
)
!==
false
)
{
if
(
stripos
(
$_SERVER
[
'PHP_SELF'
],
$check
)
!==
false
)
{
$class
.=
" active"
;
$class
.=
" active"
;
}
}
...
@@ -132,7 +129,7 @@ function active_menu($arrayitem, $pagename) {
...
@@ -132,7 +129,7 @@ function active_menu($arrayitem, $pagename) {
$pagename
=
"/"
.
ltrim
(
$pagename
,
"/"
);
$pagename
=
"/"
.
ltrim
(
$pagename
,
"/"
);
foreach
(
$arrayitem
as
$item
)
{
foreach
(
$arrayitem
as
$item
)
{
$check
=
substr
(
$item
[
1
],
1
,
-
4
);
$check
=
substr
(
$item
[
1
],
1
,
-
3
);
if
(
stripos
(
$pagename
,
$check
)
!==
false
)
{
if
(
stripos
(
$pagename
,
$check
)
!==
false
)
{
return
true
;
return
true
;
...
@@ -228,7 +225,7 @@ $vpn_menu = msort(array_merge($vpn_menu, return_ext_menu("VPN")),0);
...
@@ -228,7 +225,7 @@ $vpn_menu = msort(array_merge($vpn_menu, return_ext_menu("VPN")),0);
// Status
// Status
$status_menu
=
array
();
$status_menu
=
array
();
if
(
count
(
$config
[
'captiveportal'
])
>
0
)
//
if (count($config['captiveportal']) > 0)
$status_menu
[]
=
array
(
gettext
(
"Captive Portal"
),
"/status_captiveportal.php"
);
$status_menu
[]
=
array
(
gettext
(
"Captive Portal"
),
"/status_captiveportal.php"
);
$status_menu
[]
=
array
(
gettext
(
"CARP (failover)"
),
"/carp_status.php"
);
$status_menu
[]
=
array
(
gettext
(
"CARP (failover)"
),
"/carp_status.php"
);
$status_menu
[]
=
array
(
gettext
(
"Dashboard"
),
"/index.php"
);
$status_menu
[]
=
array
(
gettext
(
"Dashboard"
),
"/index.php"
);
...
...
src/www/services_dhcp.php
View file @
8b23648d
...
@@ -570,6 +570,7 @@ include("head.inc");
...
@@ -570,6 +570,7 @@ include("head.inc");
?>
?>
<body>
<script
type=
"text/javascript"
src=
"/javascript/row_helper.js"
>
<script
type=
"text/javascript"
src=
"/javascript/row_helper.js"
>
</script>
</script>
...
@@ -685,9 +686,7 @@ include("head.inc");
...
@@ -685,9 +686,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"
>
...
...
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