diff options
author | Matthew Grooms <mgrooms@pfsense.org> | 2008-09-16 17:41:22 +0000 |
---|---|---|
committer | Matthew Grooms <mgrooms@pfsense.org> | 2008-09-16 17:41:22 +0000 |
commit | b63f2e8b294527f2fd860899fdc2906fddb0c2f7 (patch) | |
tree | 6b7f930a4e5d1d53007e22eb73ce914e0974d78d /usr/local/www/vpn_openvpn_server.php | |
parent | 2e814e0d6935452d0bcc5246336705db5222dcbe (diff) | |
download | pfsense-b63f2e8b294527f2fd860899fdc2906fddb0c2f7.zip pfsense-b63f2e8b294527f2fd860899fdc2906fddb0c2f7.tar.gz |
Make it possible for pakages to insert additional tabbed pages into an
existing tab group. This requires that each page in the tab group call
add_package_tabs() with the tab group name before display_top_tabs() so
pages can be inserted. While far from optimal, this system is really a
stop-gap measure until a more intelligent menu/tab system can be
implemented. Discussed with Scott on IRC.
Diffstat (limited to 'usr/local/www/vpn_openvpn_server.php')
-rw-r--r-- | usr/local/www/vpn_openvpn_server.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php index d5c5810..c56bc81 100644 --- a/usr/local/www/vpn_openvpn_server.php +++ b/usr/local/www/vpn_openvpn_server.php @@ -472,6 +472,7 @@ function netbios_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"); + add_package_tabs("OpenVPN", $tab_array); display_top_tabs($tab_array); ?> </ul> @@ -486,7 +487,7 @@ function netbios_change() { <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> <td colspan="2" valign="top" class="listtopic">General information</td> - </tr> + </tr> <tr> <td width="22%" valign="top" class="vncellreq">Disabled</td> <td width="78%" class="vtable"> |