summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-04-26 04:38:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-04-26 04:38:01 +0000
commitbe3911ca51b8b76b7908ee55cae19dbe3a2e70d1 (patch)
tree8b9af5c70217363ed2a93ebb7314710f2d7070f2 /usr
parent27ee38274551a84f683aaef10eac794a1044b424 (diff)
downloadpfsense-be3911ca51b8b76b7908ee55cae19dbe3a2e70d1.zip
pfsense-be3911ca51b8b76b7908ee55cae19dbe3a2e70d1.tar.gz
Do not hard code tab numbers
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/vpn_openvpn_certs_create.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/vpn_openvpn_certs_create.php b/usr/local/www/vpn_openvpn_certs_create.php
index 81701d3..3439052 100644
--- a/usr/local/www/vpn_openvpn_certs_create.php
+++ b/usr/local/www/vpn_openvpn_certs_create.php
@@ -185,11 +185,11 @@ function edit_mode() {
<tr><td colspan="2">
<?php
$tab_array = array();
- $tab_array[0] = array("Server", false, "pkg.php?xml=openvpn.xml");
- $tab_array[1] = array("Client", false, "pkg.php?xml=openvpn_cli.xml");
- $tab_array[2] = array("Client-specific overrides", false, "pkg.php?xml=openvpn_csc.xml");
- $tab_array[3] = array("Certificate Authority", true, "vpn_openvpn_certs.php");
- $tab_array[3] = array("Users", true, "vpn_openvpn_users.php");
+ $tab_array[] = array("Server", false, "pkg.php?xml=openvpn.xml");
+ $tab_array[] = array("Client", false, "pkg.php?xml=openvpn_cli.xml");
+ $tab_array[] = array("Client-specific overrides", false, "pkg.php?xml=openvpn_csc.xml");
+ $tab_array[] = array("Certificate Authority", true, "vpn_openvpn_certs.php");
+ $tab_array[] = array("Users", true, "vpn_openvpn_users.php");
display_top_tabs($tab_array);
?>
</td></tr>
OpenPOWER on IntegriCloud