Commit cc1c8eb2 authored by Franco Fichtner's avatar Franco Fichtner

certificates: tabs to submenu

parent f763c7cd
......@@ -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*"/>
......
......@@ -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)) :
......
<?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);
......@@ -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)) :
......
<?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)) ) :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment