Commit 87b0a73b authored by Franco Fichtner's avatar Franco Fichtner

www: remove duplicated certificate tab file

parent f2768956
...@@ -345,7 +345,7 @@ function method_change() { ...@@ -345,7 +345,7 @@ function method_change() {
<section class="col-xs-12"> <section class="col-xs-12">
<? include('system_tabs.php'); ?> <? include('system_manager_tabs.php'); ?>
<div class="content-box tab-content table-responsive" style="overflow: auto;"> <div class="content-box tab-content table-responsive" style="overflow: auto;">
......
<?php <?php
$active_tab = isset($active_tab) ? $active_tab : $_SERVER['PHP_SELF'];
$tab_array = array(); $active_tab = isset($active_tab) ? $active_tab : $_SERVER['PHP_SELF'];
$tab_array[] = array(gettext("CAs"), $active_tab == "/system_camanager.php", "system_camanager.php");
$tab_array[] = array(gettext("Certificates"), $active_tab == "/system_certmanager.php", "system_certmanager.php"); $tab_array = array();
$tab_array[] = array(gettext("Certificate Revocation"), $active_tab == "/system_crlmanager.php", "system_crlmanager.php"); $tab_array[] = array(gettext("CAs"), $active_tab == "/system_camanager.php", "system_camanager.php");
display_top_tabs($tab_array); $tab_array[] = array(gettext("Certificates"), $active_tab == "/system_certmanager.php", "system_certmanager.php");
?> $tab_array[] = array(gettext("Certificate Revocation"), $active_tab == "/system_crlmanager.php", "system_crlmanager.php");
display_top_tabs($tab_array);
<?php
$active_tab = isset($active_tab) ? $active_tab : $_SERVER['PHP_SELF'];
$tab_array = array();
$tab_array[] = array(gettext("CAs"), $active_tab == "/system_camanager.php", "system_camanager.php");
$tab_array[] = array(gettext("Certificates"), $active_tab == "/system_certmanager.php", "system_certmanager.php");
$tab_array[] = array(gettext("Certificate Revocation"), $active_tab == "/system_crlmanager.php" ,"system_crlmanager.php");
display_top_tabs($tab_array);
?>
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