summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/vpn_pptp.php10
-rwxr-xr-xusr/local/www/vpn_pptp_users.php11
2 files changed, 12 insertions, 9 deletions
diff --git a/usr/local/www/vpn_pptp.php b/usr/local/www/vpn_pptp.php
index 5216ff4..feeb739 100755
--- a/usr/local/www/vpn_pptp.php
+++ b/usr/local/www/vpn_pptp.php
@@ -178,10 +178,12 @@ function enable_change(enable_over) {
<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
- <ul id="tabnav">
- <li class="tabact">Configuration</li>
- <li class="tabinact"><a href="vpn_pptp_users.php">Users</a></li>
- </ul>
+<?php
+ $tab_array = array();
+ $tab_array[0] = array("Configuration", true, "vpn_pptp.php");
+ $tab_array[1] = array("Users", false, "vpn_pptp_users.php");
+ display_top_tabs($tab_array);
+?>
</td></tr>
<tr>
<td class="tabcont">
diff --git a/usr/local/www/vpn_pptp_users.php b/usr/local/www/vpn_pptp_users.php
index 66b3cd4..45016d2 100755
--- a/usr/local/www/vpn_pptp_users.php
+++ b/usr/local/www/vpn_pptp_users.php
@@ -84,11 +84,12 @@ include("head.inc");
<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
- <ul id="tabnav">
- <li class="tabinact1"><a href="vpn_pptp.php">Configuration</a></li>
- <li class="tabact">Users</li>
- </ul>
- </td></tr>
+<?php
+ $tab_array = array();
+ $tab_array[0] = array("Configuration", false, "vpn_pptp.php");
+ $tab_array[1] = array("Users", true, "vpn_pptp_users.php");
+ display_top_tabs($tab_array);
+?> </td></tr>
<tr>
<td colspan="3" class="tabcont">
<table width="80%" border="0" cellpadding="0" cellspacing="0">
OpenPOWER on IntegriCloud