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
cc1c8eb2
Commit
cc1c8eb2
authored
Sep 16, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
certificates: tabs to submenu
parent
f763c7cd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
24 deletions
+12
-24
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+11
-5
system_camanager.php
src/www/system_camanager.php
+0
-3
system_certificates_tabs.inc
src/www/system_certificates_tabs.inc
+0
-10
system_certmanager.php
src/www/system_certmanager.php
+0
-3
system_crlmanager.php
src/www/system_crlmanager.php
+1
-3
No files found.
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
cc1c8eb2
...
...
@@ -5,11 +5,17 @@
<Logout
VisibleName=
"Logout"
url=
"/index.php?logout"
/>
</User>
<System
order=
"1"
VisibleName=
"System"
cssClass=
"glyphicon glyphicon-dashboard"
>
<Certificates
url=
"/system_certmanager.php"
>
<Certificates
url=
"/system_certmanager.php*"
/>
<CertificateAuthority
VisibleName=
"Certificate Authority"
url=
"/system_camanager.php*"
/>
<CertificationRevocation
VisibleName=
"Certification Revocation"
url=
"/system_crlmanager.php*"
/>
</Certificates>
<CertificateManager
VisibleName=
"Certificate Manager"
cssClass=
"fa fa-certificate"
>
<Certificates
url=
"/system_certmanager.php"
>
<workAround
url=
"/system_certmanager.php*"
/>
</Certificates>
<Authorities
url=
"/system_camanager.php"
>
<workAround
url=
"/system_camanager.php*"
/>
</Authorities>
<Revocation
url=
"/system_crlmanager.php"
>
<workAround
url=
"/system_crlmanager.php*"
/>
</Revocation>
</CertificateManager>
<ConfigManager
VisibleName=
"Config Manager"
cssClass=
"fa fa-history"
>
<History
url=
"/diag_confbak.php"
>
<none
url=
"/diag_confbak.php*"
/>
...
...
src/www/system_camanager.php
View file @
cc1c8eb2
...
...
@@ -470,9 +470,6 @@ function method_change() {
?>
<section class="
col
-
xs
-
12
">
<? include('system_certificates_tabs.inc'); ?>
<div class="
content
-
box
tab
-
content
table
-
responsive
" style="
overflow
:
auto
;
">
<?php if (
$act
== "
new
" ||
$act
== "
edit
" ||
$act
== gettext("
Save
") || isset(
$input_errors
)) :
...
...
src/www/system_certificates_tabs.inc
deleted
100644 → 0
View file @
f763c7cd
<?php
$active_tab
=
isset
(
$active_tab
)
?
$active_tab
:
$_SERVER
[
'PHP_SELF'
];
$tab_array
=
array
();
$tab_array
[]
=
array
(
gettext
(
"Certificates"
),
$active_tab
==
"/system_certmanager.php"
,
"system_certmanager.php"
);
$tab_array
[]
=
array
(
gettext
(
"Certificate Authority"
),
$active_tab
==
"/system_camanager.php"
,
"system_camanager.php"
);
$tab_array
[]
=
array
(
gettext
(
"Certificate Revocation"
),
$active_tab
==
"/system_crlmanager.php"
,
"system_crlmanager.php"
);
display_top_tabs
(
$tab_array
);
src/www/system_certmanager.php
View file @
cc1c8eb2
...
...
@@ -665,9 +665,6 @@ endif; ?>
}
?>
<section
class=
"col-xs-12"
>
<?php
include
(
'system_certificates_tabs.inc'
);
?>
<div
class=
"content-box tab-content table-responsive"
>
<?php
if
(
$act
==
"new"
||
((
isset
(
$_POST
[
'save'
])
&&
$_POST
[
'save'
]
==
gettext
(
"Save"
))
&&
$input_errors
))
:
...
...
src/www/system_crlmanager.php
View file @
cc1c8eb2
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2010 Jim Pingle
...
...
@@ -357,9 +358,6 @@ include("head.inc");
}
?>
<section
class=
"col-xs-12"
>
<?
include
(
'system_certificates_tabs.inc'
);
?>
<div
class=
"content-box tab-content"
>
<?php
if
(
$act
==
"new"
||
$act
==
gettext
(
"Save"
)
||
(
isset
(
$input_errors
)
&&
count
(
$input_errors
))
)
:
...
...
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