mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 11:26:13 +00:00
(legacy) move openvpn wizard to server page and remove tab
This commit is contained in:
parent
eed69242f4
commit
857a8dd749
@ -463,9 +463,8 @@ endif; ?>
|
||||
$tab_array[] = array(gettext("Server"), false, "vpn_openvpn_server.php");
|
||||
$tab_array[] = array(gettext("Client"), true, "vpn_openvpn_client.php");
|
||||
$tab_array[] = array(gettext("Client Specific Overrides"), false, "vpn_openvpn_csc.php");
|
||||
$tab_array[] = array(gettext("Wizards"), false, "wizard.php?xml=openvpn_wizard.xml");
|
||||
$tab_array[] = array(gettext("Client Export"), false, "vpn_openvpn_export.php");
|
||||
$tab_array[] = array(gettext("Shared Key Export"), false, "vpn_openvpn_export_shared.php");
|
||||
$tab_array[] = array(gettext("Client Export"), false, "vpn_openvpn_export.php");
|
||||
$tab_array[] = array(gettext("Shared Key Export"), false, "vpn_openvpn_export_shared.php");
|
||||
display_top_tabs($tab_array);
|
||||
?>
|
||||
|
||||
|
||||
@ -322,9 +322,8 @@ if ($act!="new" && $act!="edit") {
|
||||
$tab_array[] = array(gettext("Server"), false, "vpn_openvpn_server.php");
|
||||
$tab_array[] = array(gettext("Client"), false, "vpn_openvpn_client.php");
|
||||
$tab_array[] = array(gettext("Client Specific Overrides"), true, "vpn_openvpn_csc.php");
|
||||
$tab_array[] = array(gettext("Wizards"), false, "wizard.php?xml=openvpn_wizard.xml");
|
||||
$tab_array[] = array(gettext("Client Export"), false, "vpn_openvpn_export.php");
|
||||
$tab_array[] = array(gettext("Shared Key Export"), false, "vpn_openvpn_export_shared.php");
|
||||
$tab_array[] = array(gettext("Client Export"), false, "vpn_openvpn_export.php");
|
||||
$tab_array[] = array(gettext("Shared Key Export"), false, "vpn_openvpn_export_shared.php");
|
||||
display_top_tabs($tab_array);
|
||||
?>
|
||||
|
||||
|
||||
@ -620,7 +620,6 @@ if (isset($savemsg)) {
|
||||
$tab_array[] = array(gettext("Server"), false, "vpn_openvpn_server.php");
|
||||
$tab_array[] = array(gettext("Client"), false, "vpn_openvpn_client.php");
|
||||
$tab_array[] = array(gettext("Client Specific Overrides"), false, "vpn_openvpn_csc.php");
|
||||
$tab_array[] = array(gettext("Wizards"), false, "wizard.php?xml=openvpn_wizard.xml");
|
||||
$tab_array[] = array(gettext("Client Export"), true, "vpn_openvpn_export.php");
|
||||
$tab_array[] = array(gettext("Shared Key Export"), false, "vpn_openvpn_export_shared.php");
|
||||
display_top_tabs($tab_array);
|
||||
|
||||
@ -299,7 +299,6 @@ if (isset($savemsg)) {
|
||||
$tab_array[] = array(gettext("Server"), false, "vpn_openvpn_server.php");
|
||||
$tab_array[] = array(gettext("Client"), false, "vpn_openvpn_client.php");
|
||||
$tab_array[] = array(gettext("Client Specific Overrides"), false, "vpn_openvpn_csc.php");
|
||||
$tab_array[] = array(gettext("Wizards"), false, "wizard.php?xml=openvpn_wizard.xml");
|
||||
$tab_array[] = array(gettext("Client Export"), false, "vpn_openvpn_export.php");
|
||||
$tab_array[] = array(gettext("Shared Key Export"), true, "vpn_openvpn_export_shared.php");
|
||||
display_top_tabs($tab_array);
|
||||
|
||||
@ -715,7 +715,6 @@ function tuntap_change() {
|
||||
$tab_array[] = array(gettext("Server"), true, "vpn_openvpn_server.php");
|
||||
$tab_array[] = array(gettext("Client"), false, "vpn_openvpn_client.php");
|
||||
$tab_array[] = array(gettext("Client Specific Overrides"), false, "vpn_openvpn_csc.php");
|
||||
$tab_array[] = array(gettext("Wizards"), false, "wizard.php?xml=openvpn_wizard.xml");
|
||||
$tab_array[] = array(gettext("Client Export"), false, "vpn_openvpn_export.php");
|
||||
$tab_array[] = array(gettext("Shared Key Export"), false, "vpn_openvpn_export_shared.php");
|
||||
display_top_tabs($tab_array);
|
||||
@ -1746,8 +1745,14 @@ else :
|
||||
$i++;
|
||||
endforeach;
|
||||
?>
|
||||
<tr style="display:none;"><td></td></tr>
|
||||
<tr><td colspan="5"> </td></tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr><td colspan="5">
|
||||
<a href="wizard.php?xml=openvpn_wizard.xml" class="btn btn-default btn-xs"><span class="fa fa-magic"></span></a>
|
||||
<?=gettext("use a wizard to setup a new server");?>
|
||||
</td></tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user